@elmethis/core 1.0.0-alpha.147 → 1.0.0-alpha.149
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/_virtual/_commonjsHelpers.mjs +6 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/_virtual/advancedFormat.mjs +7 -0
- package/dist/_virtual/advancedFormat2.mjs +4 -0
- package/dist/_virtual/cancellation.mjs +5 -0
- package/dist/_virtual/cancellation2.mjs +4 -0
- package/dist/_virtual/constants.mjs +4 -0
- package/dist/_virtual/cose-base.mjs +4 -0
- package/dist/_virtual/cose-base2.mjs +4 -0
- package/dist/_virtual/customParseFormat.mjs +7 -0
- package/dist/_virtual/customParseFormat2.mjs +4 -0
- package/dist/_virtual/cytoscape-cose-bilkent.mjs +7 -0
- package/dist/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
- package/dist/_virtual/cytoscape-fcose.mjs +7 -0
- package/dist/_virtual/cytoscape-fcose2.mjs +4 -0
- package/dist/_virtual/dayjs.min.mjs +7 -0
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/events.mjs +5 -0
- package/dist/_virtual/events2.mjs +4 -0
- package/dist/_virtual/index.mjs +5 -0
- package/dist/_virtual/index2.mjs +4 -0
- package/dist/_virtual/is.mjs +4 -0
- package/dist/_virtual/isoWeek.mjs +7 -0
- package/dist/_virtual/isoWeek2.mjs +4 -0
- package/dist/_virtual/layout-base.mjs +4 -0
- package/dist/_virtual/layout-base2.mjs +4 -0
- package/dist/_virtual/ral.mjs +4 -0
- package/dist/components/badge/ElmBadge.vue.mjs +10 -0
- package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
- package/dist/components/badge/ElmBadge.vue3.mjs +14 -0
- package/dist/components/badge/ElmTag.vue.mjs +10 -0
- package/dist/components/badge/ElmTag.vue2.mjs +39 -0
- package/dist/components/badge/ElmTag.vue3.mjs +14 -0
- package/dist/components/code/ElmCodeBlock.vue.mjs +10 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +86 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +18 -0
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +46 -0
- package/dist/components/code/ElmKatex.vue3.mjs +8 -0
- package/dist/components/code/ElmMermaid.vue.mjs +6 -0
- package/dist/components/code/ElmMermaid.vue2.mjs +56 -0
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +11 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +44 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumn.vue.mjs +10 -0
- package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumn.vue3.mjs +8 -0
- package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
- package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumnList.vue3.mjs +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
- package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
- package/dist/components/containments/ElmDesktopWindow.vue3.mjs +14 -0
- package/dist/components/containments/ElmModal.vue.mjs +10 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +11 -0
- package/dist/components/containments/ElmParallax.vue.mjs +10 -0
- package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
- package/dist/components/containments/ElmParallax.vue3.mjs +8 -0
- package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbar.vue2.mjs +39 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +14 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +7 -0
- package/dist/components/containments/ElmToggle.vue.mjs +10 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +71 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +17 -0
- package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +8 -0
- package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
- package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
- package/dist/components/data/ElmMultiProgress.vue3.mjs +11 -0
- package/dist/components/data/ElmProgress.vue.mjs +10 -0
- package/dist/components/data/ElmProgress.vue2.mjs +53 -0
- package/dist/components/data/ElmProgress.vue3.mjs +20 -0
- package/dist/components/data/ElmStatusMessage.vue.mjs +10 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +75 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +11 -0
- package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
- package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
- package/dist/components/fallback/ElmBlockFallback.vue3.mjs +6 -0
- package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
- package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
- package/dist/components/fallback/ElmRectangleWave.vue3.mjs +9 -0
- package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
- package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
- package/dist/components/fallback/ElmSpinner.vue3.mjs +12 -0
- package/dist/components/form/ElmButton.vue.mjs +10 -0
- package/dist/components/form/ElmButton.vue2.mjs +57 -0
- package/dist/components/form/ElmButton.vue3.mjs +20 -0
- package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
- package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
- package/dist/components/form/ElmCheckbox.vue3.mjs +22 -0
- package/dist/components/form/ElmSwitch.vue.mjs +10 -0
- package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
- package/dist/components/form/ElmSwitch.vue3.mjs +16 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +124 -0
- package/dist/components/form/ElmTextField.vue3.mjs +34 -0
- package/dist/components/form/ElmTotp.vue.mjs +10 -0
- package/dist/components/form/ElmTotp.vue2.mjs +102 -0
- package/dist/components/form/ElmTotp.vue3.mjs +22 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue2.mjs +54 -0
- package/dist/components/headings/ElmFragmentIdentifier.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading1.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading1.vue2.mjs +43 -0
- package/dist/components/headings/ElmHeading1.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading2.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading2.vue2.mjs +49 -0
- package/dist/components/headings/ElmHeading2.vue3.mjs +11 -0
- package/dist/components/headings/ElmHeading3.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading3.vue2.mjs +39 -0
- package/dist/components/headings/ElmHeading3.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading4.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading4.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading4.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading5.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading5.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading5.vue3.mjs +8 -0
- package/dist/components/headings/ElmHeading6.vue.mjs +10 -0
- package/dist/components/headings/ElmHeading6.vue2.mjs +31 -0
- package/dist/components/headings/ElmHeading6.vue3.mjs +8 -0
- package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
- package/dist/components/icon/ElmArrowIcon.vue3.mjs +17 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +45 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +15 -0
- package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
- package/dist/components/icon/ElmCubeIcon.vue3.mjs +12 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +14 -0
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +11 -0
- package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +37 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +8 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +8 -0
- package/dist/components/icon/languages/Bash.vue.mjs +31 -0
- package/dist/components/icon/languages/Bash.vue2.mjs +8 -0
- package/dist/components/icon/languages/Css.vue.mjs +19 -0
- package/dist/components/icon/languages/Rust.vue.mjs +17 -0
- package/dist/components/inline/ElmInlineLink.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineLink.vue2.mjs +53 -0
- package/dist/components/inline/ElmInlineLink.vue3.mjs +11 -0
- package/dist/components/inline/ElmInlineRuby.vue.mjs +29 -0
- package/dist/components/inline/ElmInlineRuby.vue2.mjs +4 -0
- package/dist/components/inline/ElmInlineText.vue.mjs +10 -0
- package/dist/components/inline/ElmInlineText.vue2.mjs +57 -0
- package/dist/components/inline/ElmInlineText.vue3.mjs +11 -0
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +77 -0
- package/dist/components/media/ElmFile.vue3.mjs +14 -0
- package/dist/components/media/ElmImage.vue.mjs +10 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +18 -0
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +32 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +18 -0
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +18 -0
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +14 -0
- package/dist/components/others/ElmColorSample.vue.mjs +10 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +9 -0
- package/dist/components/others/ElmColorTable.vue.mjs +10 -0
- package/dist/components/others/ElmColorTable.vue2.mjs +45 -0
- package/dist/components/others/ElmColorTable.vue3.mjs +10 -0
- package/dist/components/renderer/ElmJsonRenderer.vue.mjs +96 -0
- package/dist/components/renderer/ElmJsonRenderer.vue2.mjs +4 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue.mjs +24 -0
- package/dist/components/renderer/ElmJsonRendererAsync.vue2.mjs +4 -0
- package/dist/components/table/ElmTable.vue.mjs +6 -0
- package/dist/components/table/ElmTable.vue2.mjs +22 -0
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue3.mjs +5 -0
- package/dist/components/table/ElmTableCell.vue.mjs +6 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +22 -0
- package/dist/components/table/ElmTableHeader.vue.mjs +15 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +5 -0
- package/dist/components/table/ElmTableRow.vue.mjs +14 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +4 -0
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +27 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +8 -0
- package/dist/components/typography/ElmBulletedList.vue.mjs +27 -0
- package/dist/components/typography/ElmBulletedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +14 -0
- package/dist/components/typography/ElmDivider.vue.mjs +10 -0
- package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
- package/dist/components/typography/ElmDivider.vue3.mjs +8 -0
- package/dist/components/typography/ElmListItem.vue.mjs +10 -0
- package/dist/components/typography/ElmListItem.vue2.mjs +16 -0
- package/dist/components/typography/ElmListItem.vue3.mjs +8 -0
- package/dist/components/typography/ElmNumberedList.vue.mjs +27 -0
- package/dist/components/typography/ElmNumberedList.vue3.mjs +5 -0
- package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
- package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
- package/dist/components/typography/ElmParagraph.vue3.mjs +8 -0
- package/dist/hooks/useElmethisTheme.mjs +43 -0
- package/dist/hooks/useTyping.mjs +37 -0
- package/dist/index.mjs +150 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +76 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +57 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +220 -0
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +64 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +101 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +45 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +693 -0
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +39 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +14 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +10 -0
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +28 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +54 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +17 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +120 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +33 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +29 -0
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +41 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +541 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +46 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +42 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +34 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +6 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +115 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +531 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +393 -0
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +12 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +4 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +42 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +87 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +161 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +60 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +416 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +47 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +41 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +24 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +424 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +22 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +48 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +387 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +40 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +83 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +181 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +25 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +69 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +270 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +59 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +128 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +38 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +323 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +434 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +251 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +167 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +19 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +720 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +11 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +552 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +214 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +20 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +115 -0
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +88 -0
- package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +1090 -0
- package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +2555 -0
- package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +374 -0
- package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
- package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +29469 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +47 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +51 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +94 -0
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +338 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
- package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +82 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +29 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +326 -0
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +56 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +95 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +38 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +7 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +46 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +76 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +31 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +88 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +12 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +17 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +28 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +4 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +133 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +49 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +39 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +59 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +41 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +32 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +19 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +55 -0
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +10 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +542 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +34 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +61 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +26 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +27 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +54 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +66 -0
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +45 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +96 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +21 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +5 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +39 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +55 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +42 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +14 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +16 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +68 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +23 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +13 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +125 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +20 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +24 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +8 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +47 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +18 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +25 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +22 -0
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +64 -0
- package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +55 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +97 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +344 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +94 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +25 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +54 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +51 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +84 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +47 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +296 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +45 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +148 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +30 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +164 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +33 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +2 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +7 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +420 -0
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +47 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +286 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +58 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +133 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
- package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +965 -0
- package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +43 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +131 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +5 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +24 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +40 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +50 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +39 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +172 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +33 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +15 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +8 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +12 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +7 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +10 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +20 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +18 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +95 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +11 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +14 -0
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +10 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +87 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +478 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +725 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +20 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +11 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +13 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +233 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +17 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +453 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +72 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +336 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +105 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +111 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +139 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +19 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +80 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +70 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +62 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +60 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +256 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +202 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +69 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +73 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +159 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +137 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +177 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +126 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +12 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +33 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +377 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +56 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +239 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +466 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +37 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +236 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +142 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +75 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +43 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +81 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +328 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +210 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +15 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +74 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +64 -0
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +106 -0
- package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +3197 -0
- package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +3745 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +24 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +83 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +45 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +27 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +61 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +46 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +23 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +59 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +50 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +34 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +25 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +43 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +21 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +35 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +22 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +8 -0
- package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +2152 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +1093 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +3598 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +2487 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +143 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +2696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +19 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +1828 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +1961 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +332 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +109 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +78 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +5018 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +696 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +557 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +38 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +57 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +107 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +17 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +3052 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +662 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +306 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +191 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +2339 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +2104 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +1215 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +31 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +1201 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +1055 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +1195 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +188 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +1340 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +1168 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +670 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +3419 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +477 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +27 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +1232 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +1778 -0
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +1222 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/index.browser.mjs +13 -0
- package/dist/node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.mjs +4 -0
- package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +16 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +164 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +29 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +156 -0
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +38 -0
- package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +42 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +95 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +133 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +40 -0
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +28 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +225 -0
- package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +1262 -0
- package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +344 -0
- package/package.json +27 -25
- package/dist/Bash-aFIJDfx0.js +0 -30
- package/dist/Css-aYNwv_jI.js +0 -18
- package/dist/ElmShikiHighlighter--ESSD5xl.js +0 -7531
- package/dist/Rust-CcTG3HST.js +0 -16
- package/dist/_basePickBy-q3OsvEq8.js +0 -152
- package/dist/_baseUniq-DXyFBvJx.js +0 -583
- package/dist/abap-BPxeDPn4.js +0 -6
- package/dist/actionscript-3-Cjb604Dt.js +0 -6
- package/dist/ada-BSgRrxrM.js +0 -6
- package/dist/andromeeda-uXNdzNpk.js +0 -4
- package/dist/angular-html-Zg5oS4-1.js +0 -32
- package/dist/angular-ts-NgJ-y-q8.js +0 -21
- package/dist/apache-Cyj7Ib-S.js +0 -6
- package/dist/apex-DAAiMqi-.js +0 -6
- package/dist/apl-DxZdCuNa.js +0 -16
- package/dist/applescript-CroEtIVQ.js +0 -6
- package/dist/ara-9AczF2vY.js +0 -6
- package/dist/arc-BLiqnhIS.js +0 -83
- package/dist/architecture-4AB2E3PP-CJBMa096.js +0 -5
- package/dist/architectureDiagram-IEHRJDOE-BmZLGcAR.js +0 -4633
- package/dist/asciidoc-raFNDrGb.js +0 -6
- package/dist/asm-C8ld_M07.js +0 -6
- package/dist/astro-DVLPOVeH.js +0 -16
- package/dist/aurora-x-BwoVEUWZ.js +0 -4
- package/dist/awk-gc4Y_RTq.js +0 -6
- package/dist/ayu-dark-CxPZkpb2.js +0 -4
- package/dist/ballerina-CML1q4Hw.js +0 -6
- package/dist/bat-BVW1L4ug.js +0 -6
- package/dist/beancount-DYEC72C_.js +0 -6
- package/dist/berry-VTah6p7n.js +0 -6
- package/dist/bibtex-Bqt_3AVI.js +0 -6
- package/dist/bicep-DGk9_2l4.js +0 -6
- package/dist/blade-kJIUE9Xv.js +0 -20
- package/dist/blockDiagram-JOT3LUYC-CirZxs50.js +0 -2247
- package/dist/bsl-tt9CYf2I.js +0 -8
- package/dist/c-Cb-M0LQR.js +0 -6
- package/dist/c4Diagram-VJAJSXHY-CT04iVyI.js +0 -1581
- package/dist/cadence-Di4VMBdJ.js +0 -6
- package/dist/cairo-CNbjbPRN.js +0 -8
- package/dist/catppuccin-frappe-MQ6irQtC.js +0 -4
- package/dist/catppuccin-latte-UMitw0Sv.js +0 -4
- package/dist/catppuccin-macchiato-CpTwm6bY.js +0 -4
- package/dist/catppuccin-mocha-DAcVHoH1.js +0 -4
- package/dist/channel-DJoWX82m.js +0 -5
- package/dist/chunk-4BMEZGHF-DbrRFQBV.js +0 -9
- package/dist/chunk-A2AXSNBT-8nnxOxzM.js +0 -1372
- package/dist/chunk-AEK57VVT-BuA3ibij.js +0 -1415
- package/dist/chunk-D6G4REZN-C3CadGUl.js +0 -64
- package/dist/chunk-RZ5BOZE2-bPOa0Bzk.js +0 -24
- package/dist/chunk-XZIHB7SX-tSNzo5Pm.js +0 -15
- package/dist/clarity-WOA8trQj.js +0 -6
- package/dist/classDiagram-GIVACNV2-Ikn0C8nj.js +0 -16
- package/dist/classDiagram-v2-COTLJTTW-Ikn0C8nj.js +0 -16
- package/dist/clojure-r3NcJ8yt.js +0 -6
- package/dist/clone-KYMNdRyb.js +0 -8
- package/dist/cmake-CQmEhYbr.js +0 -6
- package/dist/cobol-DpscMYyB.js +0 -10
- package/dist/codeowners-Bt9yU6NX.js +0 -6
- package/dist/codeql-2Dcm6WNF.js +0 -6
- package/dist/coffee-cT6mLyjo.js +0 -8
- package/dist/common-lisp-DuX5KqId.js +0 -6
- package/dist/coq-DboLktjX.js +0 -6
- package/dist/cpp-Dfuj7FgN.js +0 -18
- package/dist/crystal-Cu359yzW.js +0 -18
- package/dist/csharp-xQvxkZxj.js +0 -6
- package/dist/css-BnL1064W.js +0 -6
- package/dist/csv-CmYOceLb.js +0 -6
- package/dist/cue-ByErcpN2.js +0 -6
- package/dist/cypher-DEVyrV5b.js +0 -6
- package/dist/cytoscape.esm-aRg21b6u.js +0 -18120
- package/dist/d-CBVqdj3C.js +0 -6
- package/dist/dagre-OKDRZEBW-Dd5I26Ao.js +0 -447
- package/dist/dark-plus-pUHDTVV0.js +0 -4
- package/dist/dart-u2fD-sKr.js +0 -6
- package/dist/dax-Crz9Wv4y.js +0 -6
- package/dist/desktop-DNXSD5qJ.js +0 -6
- package/dist/diagram-SSKATNLV-DZNkfESc.js +0 -221
- package/dist/diagram-VNBRO52H-CEw-lSHb.js +0 -126
- package/dist/diff-DOdUfPSR.js +0 -6
- package/dist/docker-CsHqm9tx.js +0 -6
- package/dist/dotenv-BYL4tpZA.js +0 -6
- package/dist/dracula-BtZx2Kac.js +0 -4
- package/dist/dracula-soft-BKa-aqBv.js +0 -4
- package/dist/dream-maker-kevRUHRs.js +0 -6
- package/dist/edge-D-R-hhaT.js +0 -12
- package/dist/elixir-DuneT2DZ.js +0 -8
- package/dist/elm-DdPFQYmH.js +0 -8
- package/dist/elmethis.js +0 -70
- package/dist/emacs-lisp-Bwasiep6.js +0 -6
- package/dist/erDiagram-Q7BY3M3F-Bi-5rbd2.js +0 -841
- package/dist/erb-BDkUfiWc.js +0 -10
- package/dist/erlang-CxpbZUOc.js +0 -6
- package/dist/everforest-dark-DMCBqXCK.js +0 -4
- package/dist/everforest-light-BbXl82Em.js +0 -4
- package/dist/fennel-B1x5pKr1.js +0 -6
- package/dist/fish-BjbXctXH.js +0 -6
- package/dist/flowDiagram-4HSFHLVR-Bep2tb38.js +0 -1622
- package/dist/fluent-DCuHrNR-.js +0 -6
- package/dist/fortran-fixed-form-muAGtm2V.js +0 -8
- package/dist/fortran-free-form-Db8k5H7x.js +0 -6
- package/dist/fsharp-D3TfYvtR.js +0 -8
- package/dist/ganttDiagram-APWFNJXF-MiSNV5UX.js +0 -2493
- package/dist/gdresource-C22851qr.js +0 -10
- package/dist/gdscript-C-C99PjI.js +0 -6
- package/dist/gdshader-0TihrSQl.js +0 -6
- package/dist/genie-MtKmcmPo.js +0 -6
- package/dist/gherkin-AzJBtK0J.js +0 -6
- package/dist/git-commit-Cdscfa4x.js +0 -8
- package/dist/git-rebase-BkertWzk.js +0 -8
- package/dist/gitGraph-O2Q2CXLX-2aBB3Qlu.js +0 -5
- package/dist/gitGraphDiagram-7IBYFJ6S-BeIrUUuR.js +0 -712
- package/dist/github-dark-DenFmJkN.js +0 -4
- package/dist/github-dark-default-BJPUVz4H.js +0 -4
- package/dist/github-dark-dimmed-DUshB20C.js +0 -4
- package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
- package/dist/github-light-JYsPkUQd.js +0 -4
- package/dist/github-light-default-D99KPAby.js +0 -4
- package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
- package/dist/gleam-BoJB89vF.js +0 -6
- package/dist/glimmer-js-DEzcmBLn.js +0 -14
- package/dist/glimmer-ts-CfoDm2Ms.js +0 -14
- package/dist/glsl-BcGeWDoy.js +0 -8
- package/dist/gnuplot-DgGnPAp8.js +0 -6
- package/dist/go-Cw0OOp5U.js +0 -6
- package/dist/graph-BN6Ja3dj.js +0 -247
- package/dist/graphql-BA9S3A0F.js +0 -14
- package/dist/groovy-45PuQEhl.js +0 -6
- package/dist/gruvbox-dark-hard-BDGmrmYl.js +0 -4
- package/dist/gruvbox-dark-medium-D7OrvcL5.js +0 -4
- package/dist/gruvbox-dark-soft-D_75PUdg.js +0 -4
- package/dist/gruvbox-light-hard-DhQt1gbs.js +0 -4
- package/dist/gruvbox-light-medium-DNXV_Sw8.js +0 -4
- package/dist/gruvbox-light-soft-C7ZspGxH.js +0 -4
- package/dist/hack-B5c1rmdK.js +0 -10
- package/dist/haml-CknjlTyn.js +0 -10
- package/dist/handlebars-DxZCQ1Ls.js +0 -14
- package/dist/haskell-ClRE648j.js +0 -6
- package/dist/haxe-CClgwBXY.js +0 -6
- package/dist/hcl-JJeBEFYE.js +0 -6
- package/dist/hjson-BollGKL_.js +0 -6
- package/dist/hlsl-b3kI2reZ.js +0 -6
- package/dist/houston-BDYrDoDW.js +0 -4
- package/dist/html-Iy9EJBkL.js +0 -10
- package/dist/html-derivative-BfM_d1x5.js +0 -8
- package/dist/http-Q-2xEgRf.js +0 -14
- package/dist/hxml-C2bnoXd-.js +0 -8
- package/dist/hy-S8dYOqS_.js +0 -6
- package/dist/imba-DzSSVziz.js +0 -6
- package/dist/index-DzMRhuTS.js +0 -17481
- package/dist/info-4N47QTOZ-MlaygFtp.js +0 -5
- package/dist/infoDiagram-PH2N3AL5-CLDi4hXF.js +0 -22
- package/dist/ini-Cw62c0sR.js +0 -6
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/java-DNw9zkk2.js +0 -6
- package/dist/javascript-CXHlxgtu.js +0 -6
- package/dist/jinja-D3ov3d_Q.js +0 -11
- package/dist/jison-bKZ_ygkY.js +0 -8
- package/dist/journeyDiagram-U35MCT3I-DF_hle8P.js +0 -809
- package/dist/json-D4cXEhM0.js +0 -6
- package/dist/json5-QDX9y-Y9.js +0 -6
- package/dist/jsonc-Bph7GQf8.js +0 -6
- package/dist/jsonl-CCrMgdQc.js +0 -6
- package/dist/jsonnet-SAcLllmN.js +0 -6
- package/dist/jssm-f8vsTkbr.js +0 -6
- package/dist/jsx-BYrS51r7.js +0 -6
- package/dist/julia-k0_CCOLn.js +0 -16
- package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
- package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
- package/dist/kanagawa-wave-CQwozSzG.js +0 -4
- package/dist/kanban-definition-NDS4AKOZ-D2HjB3aQ.js +0 -719
- package/dist/kotlin-DZs3CUXT.js +0 -6
- package/dist/kusto-gqgW0Ct6.js +0 -6
- package/dist/laserwave-6a00oqik.js +0 -4
- package/dist/latex-ixPYeODw.js +0 -8
- package/dist/layout-eoX7qCNd.js +0 -1325
- package/dist/lean-DM2VgJqL.js +0 -6
- package/dist/less-I_XXVOZl.js +0 -6
- package/dist/light-plus-CZuVqSLX.js +0 -4
- package/dist/linear-CjVlzhPx.js +0 -423
- package/dist/liquid-DQYM4OUl.js +0 -14
- package/dist/llvm-D3Vjgx0u.js +0 -6
- package/dist/log-D-MzYv1Z.js +0 -6
- package/dist/logo-D1k-IeHX.js +0 -6
- package/dist/lua-DcPVWcJ7.js +0 -8
- package/dist/luau-B3dL2bb0.js +0 -6
- package/dist/make-CR9bkdqJ.js +0 -6
- package/dist/markdown-w3MmBOPg.js +0 -6
- package/dist/marko-Dou6ix2a.js +0 -14
- package/dist/material-theme-D6KBX41T.js +0 -4
- package/dist/material-theme-darker-CkRroheE.js +0 -4
- package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
- package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
- package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
- package/dist/matlab-Dj6qX5si.js +0 -6
- package/dist/mdc-Df47nGTR.js +0 -12
- package/dist/mdx-COYqLMfv.js +0 -6
- package/dist/mermaid-parser.core-Cnk6H5Tf.js +0 -12836
- package/dist/mermaid-qIAHIJes.js +0 -6
- package/dist/mermaid.core-CVg1AOGh.js +0 -15467
- package/dist/min-dark-C7ak0t6c.js +0 -4
- package/dist/min-light-CKFxVcPp.js +0 -4
- package/dist/mindmap-definition-ALO5MXBD-RsXchRow.js +0 -3220
- package/dist/mipsasm-BJbuoeDX.js +0 -6
- package/dist/mojo-BFkEE7I6.js +0 -6
- package/dist/monokai-C1KBYcO0.js +0 -4
- package/dist/move-DhZIVzw9.js +0 -6
- package/dist/narrat-Cru3p5ML.js +0 -6
- package/dist/nextflow-JJGGygxI.js +0 -6
- package/dist/nginx-Chu4HPUZ.js +0 -8
- package/dist/night-owl-Bm2rzalh.js +0 -4
- package/dist/nim-m3ClKyoA.js +0 -20
- package/dist/nix-DeKhqLCs.js +0 -6
- package/dist/nord-CC5OiUXg.js +0 -4
- package/dist/nushell-vZ0whCpp.js +0 -6
- package/dist/objective-c-DLUrAoO7.js +0 -6
- package/dist/objective-cpp-BR9pz3Y7.js +0 -6
- package/dist/ocaml-JmaGD6hS.js +0 -6
- package/dist/one-dark-pro-DTA3VF0_.js +0 -4
- package/dist/one-light-D9sNaUtq.js +0 -4
- package/dist/ordinal-DfAQgscy.js +0 -61
- package/dist/packet-KVYON367-B0ibT50B.js +0 -5
- package/dist/pascal-NVmycfDo.js +0 -6
- package/dist/perl-Dvb6TR9K.js +0 -16
- package/dist/php-CJHnp_ft.js +0 -18
- package/dist/pie-R6RNRRYF-eieuCIEv.js +0 -5
- package/dist/pieDiagram-IB7DONF6-z3HiYOHT.js +0 -161
- package/dist/plastic-CSTz3KZp.js +0 -4
- package/dist/plsql-DMWd0imC.js +0 -6
- package/dist/po-GS6uwG3N.js +0 -6
- package/dist/poimandres-C-VADXHD.js +0 -4
- package/dist/polar-kLOnm3TU.js +0 -6
- package/dist/postcss-BHhGrjb8.js +0 -6
- package/dist/powerquery-CMfeLaGU.js +0 -6
- package/dist/powershell-D1mvJxDs.js +0 -6
- package/dist/prisma-pUoUFT3i.js +0 -6
- package/dist/prolog-DY7WzwMi.js +0 -6
- package/dist/proto-CNCp3VWu.js +0 -6
- package/dist/pug-CUZjrycK.js +0 -12
- package/dist/puppet-B0mgPBqt.js +0 -6
- package/dist/purescript-Go548NjJ.js +0 -6
- package/dist/python-x6NdgKMy.js +0 -6
- package/dist/qml-BZvDVi14.js +0 -8
- package/dist/qmldir-BInDYbpo.js +0 -6
- package/dist/qss-8QkBlVEn.js +0 -6
- package/dist/quadrantDiagram-7GDLP6J5-DKNPBuF7.js +0 -1024
- package/dist/r-HSnR3oil.js +0 -6
- package/dist/racket-N6wCNCGC.js +0 -6
- package/dist/radar-MK3ICKWK-EavvS0dk.js +0 -5
- package/dist/raku-DIMO1_4D.js +0 -6
- package/dist/razor-B0naKaWH.js +0 -10
- package/dist/red-7y8PH7HH.js +0 -4
- package/dist/reg-6UpU0EA6.js +0 -6
- package/dist/regexp-DHtjPxOp.js +0 -6
- package/dist/rel-DBIoUiKW.js +0 -6
- package/dist/requirementDiagram-KVF5MWMF-CVtQbDO9.js +0 -851
- package/dist/riscv-DpWk9ieM.js +0 -6
- package/dist/rose-pine-4uTOzEpE.js +0 -4
- package/dist/rose-pine-dawn-GMd81k-m.js +0 -4
- package/dist/rose-pine-moon-CIFp_3PJ.js +0 -4
- package/dist/rst-B64R6T0G.js +0 -22
- package/dist/ruby-DfrpdncG.js +0 -30
- package/dist/rust-B-KPd2nT.js +0 -6
- package/dist/sankeyDiagram-QLVOVGJD-Bv56p0v8.js +0 -808
- package/dist/sas-CJQBty5v.js +0 -8
- package/dist/sass-Zos2Blmo.js +0 -6
- package/dist/scala-7cAMYIqn.js +0 -6
- package/dist/scheme-BQZQETGI.js +0 -6
- package/dist/scss-SeF7XgZE.js +0 -8
- package/dist/sdbl-67k1U2sQ.js +0 -6
- package/dist/sequenceDiagram-X6HHIX6F-B6HsmiCo.js +0 -2281
- package/dist/shaderlab-D-UIeqfT.js +0 -8
- package/dist/shellscript-DmhSIIKI.js +0 -6
- package/dist/shellsession-DJoY56qV.js +0 -8
- package/dist/slack-dark-i7wN4OET.js +0 -4
- package/dist/slack-ochin-ndHf0LoP.js +0 -4
- package/dist/smalltalk-WltKgyq1.js +0 -6
- package/dist/snazzy-light-BlSJXAu4.js +0 -4
- package/dist/solarized-dark-UTmkh7lw.js +0 -4
- package/dist/solarized-light-BheCkDPT.js +0 -4
- package/dist/solidity-C04s0Yy3.js +0 -6
- package/dist/soy-BLRDPjcE.js +0 -8
- package/dist/sparql-DTCaWUmB.js +0 -8
- package/dist/splunk-SGh_QiTm.js +0 -6
- package/dist/sql-CsvhJWkt.js +0 -6
- package/dist/ssh-config-D4I637-k.js +0 -6
- package/dist/stata-CoSdWLbd.js +0 -8
- package/dist/stateDiagram-DGXRK772-DisyN0eE.js +0 -270
- package/dist/stateDiagram-v2-YXO3MK2T-DLdp-rnZ.js +0 -16
- package/dist/stylus-C0YS3cII.js +0 -6
- package/dist/svelte-D5kfh286.js +0 -14
- package/dist/swift-DvTgPjC_.js +0 -6
- package/dist/synthwave-84-NU3C_KFZ.js +0 -4
- package/dist/system-verilog-NDUJ-OOt.js +0 -6
- package/dist/systemd-WbxZvB8q.js +0 -6
- package/dist/talonscript-CL368eRB.js +0 -6
- package/dist/tasl-Dz-WwaLH.js +0 -6
- package/dist/tcl-DlZIgGJq.js +0 -6
- package/dist/templ-BeQ_faiG.js +0 -12
- package/dist/terraform-BlQVOgpk.js +0 -6
- package/dist/tex-D5wZQANC.js +0 -8
- package/dist/timeline-definition-BDJGKUSR-BXC_uTuM.js +0 -804
- package/dist/tokyo-night-DP4TmcQl.js +0 -4
- package/dist/toml-DMRYbshZ.js +0 -6
- package/dist/ts-tags-BhMM8FHa.js +0 -41
- package/dist/tsv-BtvSkaG0.js +0 -6
- package/dist/tsx-D0IYuDPS.js +0 -6
- package/dist/turtle-p-VV8DEc.js +0 -6
- package/dist/twig-B7P5Ovvl.js +0 -18
- package/dist/typescript-DKfvlBCw.js +0 -6
- package/dist/typespec-CTme0-JL.js +0 -6
- package/dist/typst-Dn4vyooU.js +0 -6
- package/dist/v-D7ebitkb.js +0 -6
- package/dist/vala-TRtLMDHC.js +0 -6
- package/dist/vb-B47FrOmA.js +0 -6
- package/dist/verilog-B2TLsC4I.js +0 -6
- package/dist/vesper-BckBta1U.js +0 -4
- package/dist/vhdl-CU5AEtCN.js +0 -6
- package/dist/viml-D-fUhqVn.js +0 -6
- package/dist/vitesse-black-BoGvW84i.js +0 -4
- package/dist/vitesse-dark-Cym-eLtO.js +0 -4
- package/dist/vitesse-light-CcmG315c.js +0 -4
- package/dist/vue-CdwmeZFh.js +0 -31
- package/dist/vue-html-C-PRGoQQ.js +0 -10
- package/dist/vyper-C03y8CZF.js +0 -6
- package/dist/wasm-Bq8UuFo1.js +0 -6
- package/dist/wasm-DQxwEHae.js +0 -7
- package/dist/wenyan-DZPWEYbu.js +0 -6
- package/dist/wgsl-De1GPYf9.js +0 -6
- package/dist/wikitext-C-THcCj2.js +0 -6
- package/dist/wit-BanP67gl.js +0 -6
- package/dist/wolfram-CUT_U39K.js +0 -6
- package/dist/xml-jRL-qgj-.js +0 -8
- package/dist/xsl-CZWICAVO.js +0 -8
- package/dist/xychartDiagram-VJFVF3MP-CkPa_K58.js +0 -1304
- package/dist/yaml-DcQhbMrL.js +0 -6
- package/dist/zenscript-8JCzLCTe.js +0 -6
- package/dist/zig-DhdgDxkm.js +0 -6
|
@@ -0,0 +1,1093 @@
|
|
|
1
|
+
import { getIconSVG, registerIconPacks, unknownIcon } from "./chunk-H2D2JQ3I.mjs";
|
|
2
|
+
import { createText } from "./chunk-C3MQ5ANM.mjs";
|
|
3
|
+
import { populateCommonDb } from "./chunk-4BMEZGHF.mjs";
|
|
4
|
+
import { ImperativeState } from "./chunk-XZIHB7SX.mjs";
|
|
5
|
+
import "./chunk-O4NI6UNU.mjs";
|
|
6
|
+
import { selectSvgElement } from "./chunk-7B677QYD.mjs";
|
|
7
|
+
import { __name, getAccDescription, setAccDescription, getAccTitle, setAccTitle, getDiagramTitle, setDiagramTitle, setupGraphViewbox, clear, log, getConfig2, defaultConfig_default } from "./chunk-YTJNT7DU.mjs";
|
|
8
|
+
import { parse } from "../../../../../../@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs";
|
|
9
|
+
import cytoscape from "../../../../../../cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs";
|
|
10
|
+
import fcose from "../../../../../../../../_virtual/cytoscape-fcose.mjs";
|
|
11
|
+
import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
|
|
12
|
+
import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
|
|
13
|
+
import select from "../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs";
|
|
14
|
+
var ArchitectureDirectionName = {
|
|
15
|
+
L: "left",
|
|
16
|
+
R: "right",
|
|
17
|
+
T: "top",
|
|
18
|
+
B: "bottom"
|
|
19
|
+
};
|
|
20
|
+
var ArchitectureDirectionArrow = {
|
|
21
|
+
L: /* @__PURE__ */ __name((scale) => `${scale},${scale / 2} 0,${scale} 0,0`, "L"),
|
|
22
|
+
R: /* @__PURE__ */ __name((scale) => `0,${scale / 2} ${scale},0 ${scale},${scale}`, "R"),
|
|
23
|
+
T: /* @__PURE__ */ __name((scale) => `0,0 ${scale},0 ${scale / 2},${scale}`, "T"),
|
|
24
|
+
B: /* @__PURE__ */ __name((scale) => `${scale / 2},0 ${scale},${scale} 0,${scale}`, "B")
|
|
25
|
+
};
|
|
26
|
+
var ArchitectureDirectionArrowShift = {
|
|
27
|
+
L: /* @__PURE__ */ __name((orig, arrowSize) => orig - arrowSize + 2, "L"),
|
|
28
|
+
R: /* @__PURE__ */ __name((orig, _arrowSize) => orig - 2, "R"),
|
|
29
|
+
T: /* @__PURE__ */ __name((orig, arrowSize) => orig - arrowSize + 2, "T"),
|
|
30
|
+
B: /* @__PURE__ */ __name((orig, _arrowSize) => orig - 2, "B")
|
|
31
|
+
};
|
|
32
|
+
var getOppositeArchitectureDirection = /* @__PURE__ */ __name(function(x) {
|
|
33
|
+
if (isArchitectureDirectionX(x)) {
|
|
34
|
+
return x === "L" ? "R" : "L";
|
|
35
|
+
} else {
|
|
36
|
+
return x === "T" ? "B" : "T";
|
|
37
|
+
}
|
|
38
|
+
}, "getOppositeArchitectureDirection");
|
|
39
|
+
var isArchitectureDirection = /* @__PURE__ */ __name(function(x) {
|
|
40
|
+
const temp = x;
|
|
41
|
+
return temp === "L" || temp === "R" || temp === "T" || temp === "B";
|
|
42
|
+
}, "isArchitectureDirection");
|
|
43
|
+
var isArchitectureDirectionX = /* @__PURE__ */ __name(function(x) {
|
|
44
|
+
const temp = x;
|
|
45
|
+
return temp === "L" || temp === "R";
|
|
46
|
+
}, "isArchitectureDirectionX");
|
|
47
|
+
var isArchitectureDirectionY = /* @__PURE__ */ __name(function(x) {
|
|
48
|
+
const temp = x;
|
|
49
|
+
return temp === "T" || temp === "B";
|
|
50
|
+
}, "isArchitectureDirectionY");
|
|
51
|
+
var isArchitectureDirectionXY = /* @__PURE__ */ __name(function(a, b) {
|
|
52
|
+
const aX_bY = isArchitectureDirectionX(a) && isArchitectureDirectionY(b);
|
|
53
|
+
const aY_bX = isArchitectureDirectionY(a) && isArchitectureDirectionX(b);
|
|
54
|
+
return aX_bY || aY_bX;
|
|
55
|
+
}, "isArchitectureDirectionXY");
|
|
56
|
+
var isArchitecturePairXY = /* @__PURE__ */ __name(function(pair) {
|
|
57
|
+
const lhs = pair[0];
|
|
58
|
+
const rhs = pair[1];
|
|
59
|
+
const aX_bY = isArchitectureDirectionX(lhs) && isArchitectureDirectionY(rhs);
|
|
60
|
+
const aY_bX = isArchitectureDirectionY(lhs) && isArchitectureDirectionX(rhs);
|
|
61
|
+
return aX_bY || aY_bX;
|
|
62
|
+
}, "isArchitecturePairXY");
|
|
63
|
+
var isValidArchitectureDirectionPair = /* @__PURE__ */ __name(function(x) {
|
|
64
|
+
return x !== "LL" && x !== "RR" && x !== "TT" && x !== "BB";
|
|
65
|
+
}, "isValidArchitectureDirectionPair");
|
|
66
|
+
var getArchitectureDirectionPair = /* @__PURE__ */ __name(function(sourceDir, targetDir) {
|
|
67
|
+
const pair = `${sourceDir}${targetDir}`;
|
|
68
|
+
return isValidArchitectureDirectionPair(pair) ? pair : void 0;
|
|
69
|
+
}, "getArchitectureDirectionPair");
|
|
70
|
+
var shiftPositionByArchitectureDirectionPair = /* @__PURE__ */ __name(function([x, y], pair) {
|
|
71
|
+
const lhs = pair[0];
|
|
72
|
+
const rhs = pair[1];
|
|
73
|
+
if (isArchitectureDirectionX(lhs)) {
|
|
74
|
+
if (isArchitectureDirectionY(rhs)) {
|
|
75
|
+
return [x + (lhs === "L" ? -1 : 1), y + (rhs === "T" ? 1 : -1)];
|
|
76
|
+
} else {
|
|
77
|
+
return [x + (lhs === "L" ? -1 : 1), y];
|
|
78
|
+
}
|
|
79
|
+
} else {
|
|
80
|
+
if (isArchitectureDirectionX(rhs)) {
|
|
81
|
+
return [x + (rhs === "L" ? 1 : -1), y + (lhs === "T" ? 1 : -1)];
|
|
82
|
+
} else {
|
|
83
|
+
return [x, y + (lhs === "T" ? 1 : -1)];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, "shiftPositionByArchitectureDirectionPair");
|
|
87
|
+
var getArchitectureDirectionXYFactors = /* @__PURE__ */ __name(function(pair) {
|
|
88
|
+
if (pair === "LT" || pair === "TL") {
|
|
89
|
+
return [1, 1];
|
|
90
|
+
} else if (pair === "BL" || pair === "LB") {
|
|
91
|
+
return [1, -1];
|
|
92
|
+
} else if (pair === "BR" || pair === "RB") {
|
|
93
|
+
return [-1, -1];
|
|
94
|
+
} else {
|
|
95
|
+
return [-1, 1];
|
|
96
|
+
}
|
|
97
|
+
}, "getArchitectureDirectionXYFactors");
|
|
98
|
+
var getArchitectureDirectionAlignment = /* @__PURE__ */ __name(function(a, b) {
|
|
99
|
+
if (isArchitectureDirectionXY(a, b)) {
|
|
100
|
+
return "bend";
|
|
101
|
+
} else if (isArchitectureDirectionX(a)) {
|
|
102
|
+
return "horizontal";
|
|
103
|
+
}
|
|
104
|
+
return "vertical";
|
|
105
|
+
}, "getArchitectureDirectionAlignment");
|
|
106
|
+
var isArchitectureService = /* @__PURE__ */ __name(function(x) {
|
|
107
|
+
const temp = x;
|
|
108
|
+
return temp.type === "service";
|
|
109
|
+
}, "isArchitectureService");
|
|
110
|
+
var isArchitectureJunction = /* @__PURE__ */ __name(function(x) {
|
|
111
|
+
const temp = x;
|
|
112
|
+
return temp.type === "junction";
|
|
113
|
+
}, "isArchitectureJunction");
|
|
114
|
+
var edgeData = /* @__PURE__ */ __name((edge) => {
|
|
115
|
+
return edge.data();
|
|
116
|
+
}, "edgeData");
|
|
117
|
+
var nodeData = /* @__PURE__ */ __name((node) => {
|
|
118
|
+
return node.data();
|
|
119
|
+
}, "nodeData");
|
|
120
|
+
var DEFAULT_ARCHITECTURE_CONFIG = defaultConfig_default.architecture;
|
|
121
|
+
var state = new ImperativeState(() => ({
|
|
122
|
+
nodes: {},
|
|
123
|
+
groups: {},
|
|
124
|
+
edges: [],
|
|
125
|
+
registeredIds: {},
|
|
126
|
+
config: DEFAULT_ARCHITECTURE_CONFIG,
|
|
127
|
+
dataStructures: void 0,
|
|
128
|
+
elements: {}
|
|
129
|
+
}));
|
|
130
|
+
var clear2 = /* @__PURE__ */ __name(() => {
|
|
131
|
+
state.reset();
|
|
132
|
+
clear();
|
|
133
|
+
}, "clear");
|
|
134
|
+
var addService = /* @__PURE__ */ __name(function({
|
|
135
|
+
id,
|
|
136
|
+
icon,
|
|
137
|
+
in: parent,
|
|
138
|
+
title,
|
|
139
|
+
iconText
|
|
140
|
+
}) {
|
|
141
|
+
if (state.records.registeredIds[id] !== void 0) {
|
|
142
|
+
throw new Error(
|
|
143
|
+
`The service id [${id}] is already in use by another ${state.records.registeredIds[id]}`
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
if (parent !== void 0) {
|
|
147
|
+
if (id === parent) {
|
|
148
|
+
throw new Error(`The service [${id}] cannot be placed within itself`);
|
|
149
|
+
}
|
|
150
|
+
if (state.records.registeredIds[parent] === void 0) {
|
|
151
|
+
throw new Error(
|
|
152
|
+
`The service [${id}]'s parent does not exist. Please make sure the parent is created before this service`
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
if (state.records.registeredIds[parent] === "node") {
|
|
156
|
+
throw new Error(`The service [${id}]'s parent is not a group`);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
state.records.registeredIds[id] = "node";
|
|
160
|
+
state.records.nodes[id] = {
|
|
161
|
+
id,
|
|
162
|
+
type: "service",
|
|
163
|
+
icon,
|
|
164
|
+
iconText,
|
|
165
|
+
title,
|
|
166
|
+
edges: [],
|
|
167
|
+
in: parent
|
|
168
|
+
};
|
|
169
|
+
}, "addService");
|
|
170
|
+
var getServices = /* @__PURE__ */ __name(() => Object.values(state.records.nodes).filter(isArchitectureService), "getServices");
|
|
171
|
+
var addJunction = /* @__PURE__ */ __name(function({ id, in: parent }) {
|
|
172
|
+
state.records.registeredIds[id] = "node";
|
|
173
|
+
state.records.nodes[id] = {
|
|
174
|
+
id,
|
|
175
|
+
type: "junction",
|
|
176
|
+
edges: [],
|
|
177
|
+
in: parent
|
|
178
|
+
};
|
|
179
|
+
}, "addJunction");
|
|
180
|
+
var getJunctions = /* @__PURE__ */ __name(() => Object.values(state.records.nodes).filter(isArchitectureJunction), "getJunctions");
|
|
181
|
+
var getNodes = /* @__PURE__ */ __name(() => Object.values(state.records.nodes), "getNodes");
|
|
182
|
+
var getNode = /* @__PURE__ */ __name((id) => state.records.nodes[id], "getNode");
|
|
183
|
+
var addGroup = /* @__PURE__ */ __name(function({ id, icon, in: parent, title }) {
|
|
184
|
+
if (state.records.registeredIds[id] !== void 0) {
|
|
185
|
+
throw new Error(
|
|
186
|
+
`The group id [${id}] is already in use by another ${state.records.registeredIds[id]}`
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
if (parent !== void 0) {
|
|
190
|
+
if (id === parent) {
|
|
191
|
+
throw new Error(`The group [${id}] cannot be placed within itself`);
|
|
192
|
+
}
|
|
193
|
+
if (state.records.registeredIds[parent] === void 0) {
|
|
194
|
+
throw new Error(
|
|
195
|
+
`The group [${id}]'s parent does not exist. Please make sure the parent is created before this group`
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
if (state.records.registeredIds[parent] === "node") {
|
|
199
|
+
throw new Error(`The group [${id}]'s parent is not a group`);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
state.records.registeredIds[id] = "group";
|
|
203
|
+
state.records.groups[id] = {
|
|
204
|
+
id,
|
|
205
|
+
icon,
|
|
206
|
+
title,
|
|
207
|
+
in: parent
|
|
208
|
+
};
|
|
209
|
+
}, "addGroup");
|
|
210
|
+
var getGroups = /* @__PURE__ */ __name(() => {
|
|
211
|
+
return Object.values(state.records.groups);
|
|
212
|
+
}, "getGroups");
|
|
213
|
+
var addEdge = /* @__PURE__ */ __name(function({
|
|
214
|
+
lhsId,
|
|
215
|
+
rhsId,
|
|
216
|
+
lhsDir,
|
|
217
|
+
rhsDir,
|
|
218
|
+
lhsInto,
|
|
219
|
+
rhsInto,
|
|
220
|
+
lhsGroup,
|
|
221
|
+
rhsGroup,
|
|
222
|
+
title
|
|
223
|
+
}) {
|
|
224
|
+
if (!isArchitectureDirection(lhsDir)) {
|
|
225
|
+
throw new Error(
|
|
226
|
+
`Invalid direction given for left hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${lhsDir}`
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
if (!isArchitectureDirection(rhsDir)) {
|
|
230
|
+
throw new Error(
|
|
231
|
+
`Invalid direction given for right hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${rhsDir}`
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
if (state.records.nodes[lhsId] === void 0 && state.records.groups[lhsId] === void 0) {
|
|
235
|
+
throw new Error(
|
|
236
|
+
`The left-hand id [${lhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
if (state.records.nodes[rhsId] === void 0 && state.records.groups[lhsId] === void 0) {
|
|
240
|
+
throw new Error(
|
|
241
|
+
`The right-hand id [${rhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
const lhsGroupId = state.records.nodes[lhsId].in;
|
|
245
|
+
const rhsGroupId = state.records.nodes[rhsId].in;
|
|
246
|
+
if (lhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
|
|
247
|
+
throw new Error(
|
|
248
|
+
`The left-hand id [${lhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
if (rhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
|
|
252
|
+
throw new Error(
|
|
253
|
+
`The right-hand id [${rhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
const edge = {
|
|
257
|
+
lhsId,
|
|
258
|
+
lhsDir,
|
|
259
|
+
lhsInto,
|
|
260
|
+
lhsGroup,
|
|
261
|
+
rhsId,
|
|
262
|
+
rhsDir,
|
|
263
|
+
rhsInto,
|
|
264
|
+
rhsGroup,
|
|
265
|
+
title
|
|
266
|
+
};
|
|
267
|
+
state.records.edges.push(edge);
|
|
268
|
+
if (state.records.nodes[lhsId] && state.records.nodes[rhsId]) {
|
|
269
|
+
state.records.nodes[lhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
|
|
270
|
+
state.records.nodes[rhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
|
|
271
|
+
}
|
|
272
|
+
}, "addEdge");
|
|
273
|
+
var getEdges = /* @__PURE__ */ __name(() => state.records.edges, "getEdges");
|
|
274
|
+
var getDataStructures = /* @__PURE__ */ __name(() => {
|
|
275
|
+
if (state.records.dataStructures === void 0) {
|
|
276
|
+
const groupAlignments = {};
|
|
277
|
+
const adjList = Object.entries(state.records.nodes).reduce((prevOuter, [id, service]) => {
|
|
278
|
+
prevOuter[id] = service.edges.reduce((prevInner, edge) => {
|
|
279
|
+
var _a, _b;
|
|
280
|
+
const lhsGroupId = (_a = getNode(edge.lhsId)) == null ? void 0 : _a.in;
|
|
281
|
+
const rhsGroupId = (_b = getNode(edge.rhsId)) == null ? void 0 : _b.in;
|
|
282
|
+
if (lhsGroupId && rhsGroupId && lhsGroupId !== rhsGroupId) {
|
|
283
|
+
const alignment = getArchitectureDirectionAlignment(edge.lhsDir, edge.rhsDir);
|
|
284
|
+
if (alignment !== "bend") {
|
|
285
|
+
groupAlignments[lhsGroupId] ?? (groupAlignments[lhsGroupId] = {});
|
|
286
|
+
groupAlignments[lhsGroupId][rhsGroupId] = alignment;
|
|
287
|
+
groupAlignments[rhsGroupId] ?? (groupAlignments[rhsGroupId] = {});
|
|
288
|
+
groupAlignments[rhsGroupId][lhsGroupId] = alignment;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
if (edge.lhsId === id) {
|
|
292
|
+
const pair = getArchitectureDirectionPair(edge.lhsDir, edge.rhsDir);
|
|
293
|
+
if (pair) {
|
|
294
|
+
prevInner[pair] = edge.rhsId;
|
|
295
|
+
}
|
|
296
|
+
} else {
|
|
297
|
+
const pair = getArchitectureDirectionPair(edge.rhsDir, edge.lhsDir);
|
|
298
|
+
if (pair) {
|
|
299
|
+
prevInner[pair] = edge.lhsId;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
return prevInner;
|
|
303
|
+
}, {});
|
|
304
|
+
return prevOuter;
|
|
305
|
+
}, {});
|
|
306
|
+
const firstId = Object.keys(adjList)[0];
|
|
307
|
+
const visited = { [firstId]: 1 };
|
|
308
|
+
const notVisited = Object.keys(adjList).reduce(
|
|
309
|
+
(prev, id) => id === firstId ? prev : { ...prev, [id]: 1 },
|
|
310
|
+
{}
|
|
311
|
+
);
|
|
312
|
+
const BFS = /* @__PURE__ */ __name((startingId) => {
|
|
313
|
+
const spatialMap = { [startingId]: [0, 0] };
|
|
314
|
+
const queue = [startingId];
|
|
315
|
+
while (queue.length > 0) {
|
|
316
|
+
const id = queue.shift();
|
|
317
|
+
if (id) {
|
|
318
|
+
visited[id] = 1;
|
|
319
|
+
delete notVisited[id];
|
|
320
|
+
const adj = adjList[id];
|
|
321
|
+
const [posX, posY] = spatialMap[id];
|
|
322
|
+
Object.entries(adj).forEach(([dir, rhsId]) => {
|
|
323
|
+
if (!visited[rhsId]) {
|
|
324
|
+
spatialMap[rhsId] = shiftPositionByArchitectureDirectionPair(
|
|
325
|
+
[posX, posY],
|
|
326
|
+
dir
|
|
327
|
+
);
|
|
328
|
+
queue.push(rhsId);
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
return spatialMap;
|
|
334
|
+
}, "BFS");
|
|
335
|
+
const spatialMaps = [BFS(firstId)];
|
|
336
|
+
while (Object.keys(notVisited).length > 0) {
|
|
337
|
+
spatialMaps.push(BFS(Object.keys(notVisited)[0]));
|
|
338
|
+
}
|
|
339
|
+
state.records.dataStructures = {
|
|
340
|
+
adjList,
|
|
341
|
+
spatialMaps,
|
|
342
|
+
groupAlignments
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
return state.records.dataStructures;
|
|
346
|
+
}, "getDataStructures");
|
|
347
|
+
var setElementForId = /* @__PURE__ */ __name((id, element) => {
|
|
348
|
+
state.records.elements[id] = element;
|
|
349
|
+
}, "setElementForId");
|
|
350
|
+
var getElementById = /* @__PURE__ */ __name((id) => state.records.elements[id], "getElementById");
|
|
351
|
+
var db = {
|
|
352
|
+
clear: clear2,
|
|
353
|
+
setDiagramTitle,
|
|
354
|
+
getDiagramTitle,
|
|
355
|
+
setAccTitle,
|
|
356
|
+
getAccTitle,
|
|
357
|
+
setAccDescription,
|
|
358
|
+
getAccDescription,
|
|
359
|
+
addService,
|
|
360
|
+
getServices,
|
|
361
|
+
addJunction,
|
|
362
|
+
getJunctions,
|
|
363
|
+
getNodes,
|
|
364
|
+
getNode,
|
|
365
|
+
addGroup,
|
|
366
|
+
getGroups,
|
|
367
|
+
addEdge,
|
|
368
|
+
getEdges,
|
|
369
|
+
setElementForId,
|
|
370
|
+
getElementById,
|
|
371
|
+
getDataStructures
|
|
372
|
+
};
|
|
373
|
+
function getConfigField(field) {
|
|
374
|
+
const arch = getConfig2().architecture;
|
|
375
|
+
if (arch == null ? void 0 : arch[field]) {
|
|
376
|
+
return arch[field];
|
|
377
|
+
}
|
|
378
|
+
return DEFAULT_ARCHITECTURE_CONFIG[field];
|
|
379
|
+
}
|
|
380
|
+
__name(getConfigField, "getConfigField");
|
|
381
|
+
var populateDb = /* @__PURE__ */ __name((ast, db2) => {
|
|
382
|
+
populateCommonDb(ast, db2);
|
|
383
|
+
ast.groups.map(db2.addGroup);
|
|
384
|
+
ast.services.map((service) => db2.addService({ ...service, type: "service" }));
|
|
385
|
+
ast.junctions.map((service) => db2.addJunction({ ...service, type: "junction" }));
|
|
386
|
+
ast.edges.map(db2.addEdge);
|
|
387
|
+
}, "populateDb");
|
|
388
|
+
var parser = {
|
|
389
|
+
parse: /* @__PURE__ */ __name(async (input) => {
|
|
390
|
+
const ast = await parse("architecture", input);
|
|
391
|
+
log.debug(ast);
|
|
392
|
+
populateDb(ast, db);
|
|
393
|
+
}, "parse")
|
|
394
|
+
};
|
|
395
|
+
var getStyles = /* @__PURE__ */ __name((options) => `
|
|
396
|
+
.edge {
|
|
397
|
+
stroke-width: ${options.archEdgeWidth};
|
|
398
|
+
stroke: ${options.archEdgeColor};
|
|
399
|
+
fill: none;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.arrow {
|
|
403
|
+
fill: ${options.archEdgeArrowColor};
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.node-bkg {
|
|
407
|
+
fill: none;
|
|
408
|
+
stroke: ${options.archGroupBorderColor};
|
|
409
|
+
stroke-width: ${options.archGroupBorderWidth};
|
|
410
|
+
stroke-dasharray: 8;
|
|
411
|
+
}
|
|
412
|
+
.node-icon-text {
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.node-icon-text > div {
|
|
418
|
+
color: #fff;
|
|
419
|
+
margin: 1px;
|
|
420
|
+
height: fit-content;
|
|
421
|
+
text-align: center;
|
|
422
|
+
overflow: hidden;
|
|
423
|
+
display: -webkit-box;
|
|
424
|
+
-webkit-box-orient: vertical;
|
|
425
|
+
}
|
|
426
|
+
`, "getStyles");
|
|
427
|
+
var architectureStyles_default = getStyles;
|
|
428
|
+
var wrapIcon = /* @__PURE__ */ __name((icon) => {
|
|
429
|
+
return `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${icon}</g>`;
|
|
430
|
+
}, "wrapIcon");
|
|
431
|
+
var architectureIcons = {
|
|
432
|
+
prefix: "mermaid-architecture",
|
|
433
|
+
height: 80,
|
|
434
|
+
width: 80,
|
|
435
|
+
icons: {
|
|
436
|
+
database: {
|
|
437
|
+
body: wrapIcon(
|
|
438
|
+
'<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
|
|
439
|
+
)
|
|
440
|
+
},
|
|
441
|
+
server: {
|
|
442
|
+
body: wrapIcon(
|
|
443
|
+
'<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>'
|
|
444
|
+
)
|
|
445
|
+
},
|
|
446
|
+
disk: {
|
|
447
|
+
body: wrapIcon(
|
|
448
|
+
'<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>'
|
|
449
|
+
)
|
|
450
|
+
},
|
|
451
|
+
internet: {
|
|
452
|
+
body: wrapIcon(
|
|
453
|
+
'<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
|
|
454
|
+
)
|
|
455
|
+
},
|
|
456
|
+
cloud: {
|
|
457
|
+
body: wrapIcon(
|
|
458
|
+
'<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
|
|
459
|
+
)
|
|
460
|
+
},
|
|
461
|
+
unknown: unknownIcon,
|
|
462
|
+
blank: {
|
|
463
|
+
body: wrapIcon("")
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
var drawEdges = /* @__PURE__ */ __name(async function(edgesEl, cy) {
|
|
468
|
+
const padding = getConfigField("padding");
|
|
469
|
+
const iconSize = getConfigField("iconSize");
|
|
470
|
+
const halfIconSize = iconSize / 2;
|
|
471
|
+
const arrowSize = iconSize / 6;
|
|
472
|
+
const halfArrowSize = arrowSize / 2;
|
|
473
|
+
await Promise.all(
|
|
474
|
+
cy.edges().map(async (edge) => {
|
|
475
|
+
var _a, _b;
|
|
476
|
+
const {
|
|
477
|
+
source,
|
|
478
|
+
sourceDir,
|
|
479
|
+
sourceArrow,
|
|
480
|
+
sourceGroup,
|
|
481
|
+
target,
|
|
482
|
+
targetDir,
|
|
483
|
+
targetArrow,
|
|
484
|
+
targetGroup,
|
|
485
|
+
label
|
|
486
|
+
} = edgeData(edge);
|
|
487
|
+
let { x: startX, y: startY } = edge[0].sourceEndpoint();
|
|
488
|
+
const { x: midX, y: midY } = edge[0].midpoint();
|
|
489
|
+
let { x: endX, y: endY } = edge[0].targetEndpoint();
|
|
490
|
+
const groupEdgeShift = padding + 4;
|
|
491
|
+
if (sourceGroup) {
|
|
492
|
+
if (isArchitectureDirectionX(sourceDir)) {
|
|
493
|
+
startX += sourceDir === "L" ? -groupEdgeShift : groupEdgeShift;
|
|
494
|
+
} else {
|
|
495
|
+
startY += sourceDir === "T" ? -groupEdgeShift : groupEdgeShift + 18;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
if (targetGroup) {
|
|
499
|
+
if (isArchitectureDirectionX(targetDir)) {
|
|
500
|
+
endX += targetDir === "L" ? -groupEdgeShift : groupEdgeShift;
|
|
501
|
+
} else {
|
|
502
|
+
endY += targetDir === "T" ? -groupEdgeShift : groupEdgeShift + 18;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
if (!sourceGroup && ((_a = db.getNode(source)) == null ? void 0 : _a.type) === "junction") {
|
|
506
|
+
if (isArchitectureDirectionX(sourceDir)) {
|
|
507
|
+
startX += sourceDir === "L" ? halfIconSize : -halfIconSize;
|
|
508
|
+
} else {
|
|
509
|
+
startY += sourceDir === "T" ? halfIconSize : -halfIconSize;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
if (!targetGroup && ((_b = db.getNode(target)) == null ? void 0 : _b.type) === "junction") {
|
|
513
|
+
if (isArchitectureDirectionX(targetDir)) {
|
|
514
|
+
endX += targetDir === "L" ? halfIconSize : -halfIconSize;
|
|
515
|
+
} else {
|
|
516
|
+
endY += targetDir === "T" ? halfIconSize : -halfIconSize;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
if (edge[0]._private.rscratch) {
|
|
520
|
+
const g = edgesEl.insert("g");
|
|
521
|
+
g.insert("path").attr("d", `M ${startX},${startY} L ${midX},${midY} L${endX},${endY} `).attr("class", "edge");
|
|
522
|
+
if (sourceArrow) {
|
|
523
|
+
const xShift = isArchitectureDirectionX(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startX, arrowSize) : startX - halfArrowSize;
|
|
524
|
+
const yShift = isArchitectureDirectionY(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startY, arrowSize) : startY - halfArrowSize;
|
|
525
|
+
g.insert("polygon").attr("points", ArchitectureDirectionArrow[sourceDir](arrowSize)).attr("transform", `translate(${xShift},${yShift})`).attr("class", "arrow");
|
|
526
|
+
}
|
|
527
|
+
if (targetArrow) {
|
|
528
|
+
const xShift = isArchitectureDirectionX(targetDir) ? ArchitectureDirectionArrowShift[targetDir](endX, arrowSize) : endX - halfArrowSize;
|
|
529
|
+
const yShift = isArchitectureDirectionY(targetDir) ? ArchitectureDirectionArrowShift[targetDir](endY, arrowSize) : endY - halfArrowSize;
|
|
530
|
+
g.insert("polygon").attr("points", ArchitectureDirectionArrow[targetDir](arrowSize)).attr("transform", `translate(${xShift},${yShift})`).attr("class", "arrow");
|
|
531
|
+
}
|
|
532
|
+
if (label) {
|
|
533
|
+
const axis = !isArchitectureDirectionXY(sourceDir, targetDir) ? isArchitectureDirectionX(sourceDir) ? "X" : "Y" : "XY";
|
|
534
|
+
let width = 0;
|
|
535
|
+
if (axis === "X") {
|
|
536
|
+
width = Math.abs(startX - endX);
|
|
537
|
+
} else if (axis === "Y") {
|
|
538
|
+
width = Math.abs(startY - endY) / 1.5;
|
|
539
|
+
} else {
|
|
540
|
+
width = Math.abs(startX - endX) / 2;
|
|
541
|
+
}
|
|
542
|
+
const textElem = g.append("g");
|
|
543
|
+
await createText(
|
|
544
|
+
textElem,
|
|
545
|
+
label,
|
|
546
|
+
{
|
|
547
|
+
useHtmlLabels: false,
|
|
548
|
+
width,
|
|
549
|
+
classes: "architecture-service-label"
|
|
550
|
+
},
|
|
551
|
+
getConfig2()
|
|
552
|
+
);
|
|
553
|
+
textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
|
|
554
|
+
if (axis === "X") {
|
|
555
|
+
textElem.attr("transform", "translate(" + midX + ", " + midY + ")");
|
|
556
|
+
} else if (axis === "Y") {
|
|
557
|
+
textElem.attr("transform", "translate(" + midX + ", " + midY + ") rotate(-90)");
|
|
558
|
+
} else if (axis === "XY") {
|
|
559
|
+
const pair = getArchitectureDirectionPair(sourceDir, targetDir);
|
|
560
|
+
if (pair && isArchitecturePairXY(pair)) {
|
|
561
|
+
const bboxOrig = textElem.node().getBoundingClientRect();
|
|
562
|
+
const [x, y] = getArchitectureDirectionXYFactors(pair);
|
|
563
|
+
textElem.attr("dominant-baseline", "auto").attr("transform", `rotate(${-1 * x * y * 45})`);
|
|
564
|
+
const bboxNew = textElem.node().getBoundingClientRect();
|
|
565
|
+
textElem.attr(
|
|
566
|
+
"transform",
|
|
567
|
+
`
|
|
568
|
+
translate(${midX}, ${midY - bboxOrig.height / 2})
|
|
569
|
+
translate(${x * bboxNew.width / 2}, ${y * bboxNew.height / 2})
|
|
570
|
+
rotate(${-1 * x * y * 45}, 0, ${bboxOrig.height / 2})
|
|
571
|
+
`
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
})
|
|
578
|
+
);
|
|
579
|
+
}, "drawEdges");
|
|
580
|
+
var drawGroups = /* @__PURE__ */ __name(async function(groupsEl, cy) {
|
|
581
|
+
const padding = getConfigField("padding");
|
|
582
|
+
const groupIconSize = padding * 0.75;
|
|
583
|
+
const fontSize = getConfigField("fontSize");
|
|
584
|
+
const iconSize = getConfigField("iconSize");
|
|
585
|
+
const halfIconSize = iconSize / 2;
|
|
586
|
+
await Promise.all(
|
|
587
|
+
cy.nodes().map(async (node) => {
|
|
588
|
+
const data = nodeData(node);
|
|
589
|
+
if (data.type === "group") {
|
|
590
|
+
const { h, w, x1, y1 } = node.boundingBox();
|
|
591
|
+
groupsEl.append("rect").attr("x", x1 + halfIconSize).attr("y", y1 + halfIconSize).attr("width", w).attr("height", h).attr("class", "node-bkg");
|
|
592
|
+
const groupLabelContainer = groupsEl.append("g");
|
|
593
|
+
let shiftedX1 = x1;
|
|
594
|
+
let shiftedY1 = y1;
|
|
595
|
+
if (data.icon) {
|
|
596
|
+
const bkgElem = groupLabelContainer.append("g");
|
|
597
|
+
bkgElem.html(
|
|
598
|
+
`<g>${await getIconSVG(data.icon, { height: groupIconSize, width: groupIconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
|
|
599
|
+
);
|
|
600
|
+
bkgElem.attr(
|
|
601
|
+
"transform",
|
|
602
|
+
"translate(" + (shiftedX1 + halfIconSize + 1) + ", " + (shiftedY1 + halfIconSize + 1) + ")"
|
|
603
|
+
);
|
|
604
|
+
shiftedX1 += groupIconSize;
|
|
605
|
+
shiftedY1 += fontSize / 2 - 1 - 2;
|
|
606
|
+
}
|
|
607
|
+
if (data.label) {
|
|
608
|
+
const textElem = groupLabelContainer.append("g");
|
|
609
|
+
await createText(
|
|
610
|
+
textElem,
|
|
611
|
+
data.label,
|
|
612
|
+
{
|
|
613
|
+
useHtmlLabels: false,
|
|
614
|
+
width: w,
|
|
615
|
+
classes: "architecture-service-label"
|
|
616
|
+
},
|
|
617
|
+
getConfig2()
|
|
618
|
+
);
|
|
619
|
+
textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start");
|
|
620
|
+
textElem.attr(
|
|
621
|
+
"transform",
|
|
622
|
+
"translate(" + (shiftedX1 + halfIconSize + 4) + ", " + (shiftedY1 + halfIconSize + 2) + ")"
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
})
|
|
627
|
+
);
|
|
628
|
+
}, "drawGroups");
|
|
629
|
+
var drawServices = /* @__PURE__ */ __name(async function(db2, elem, services) {
|
|
630
|
+
for (const service of services) {
|
|
631
|
+
const serviceElem = elem.append("g");
|
|
632
|
+
const iconSize = getConfigField("iconSize");
|
|
633
|
+
if (service.title) {
|
|
634
|
+
const textElem = serviceElem.append("g");
|
|
635
|
+
await createText(
|
|
636
|
+
textElem,
|
|
637
|
+
service.title,
|
|
638
|
+
{
|
|
639
|
+
useHtmlLabels: false,
|
|
640
|
+
width: iconSize * 1.5,
|
|
641
|
+
classes: "architecture-service-label"
|
|
642
|
+
},
|
|
643
|
+
getConfig2()
|
|
644
|
+
);
|
|
645
|
+
textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
|
|
646
|
+
textElem.attr("transform", "translate(" + iconSize / 2 + ", " + iconSize + ")");
|
|
647
|
+
}
|
|
648
|
+
const bkgElem = serviceElem.append("g");
|
|
649
|
+
if (service.icon) {
|
|
650
|
+
bkgElem.html(
|
|
651
|
+
`<g>${await getIconSVG(service.icon, { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
|
|
652
|
+
);
|
|
653
|
+
} else if (service.iconText) {
|
|
654
|
+
bkgElem.html(
|
|
655
|
+
`<g>${await getIconSVG("blank", { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
|
|
656
|
+
);
|
|
657
|
+
const textElemContainer = bkgElem.append("g");
|
|
658
|
+
const fo = textElemContainer.append("foreignObject").attr("width", iconSize).attr("height", iconSize);
|
|
659
|
+
const divElem = fo.append("div").attr("class", "node-icon-text").attr("style", `height: ${iconSize}px;`).append("div").html(service.iconText);
|
|
660
|
+
const fontSize = parseInt(
|
|
661
|
+
window.getComputedStyle(divElem.node(), null).getPropertyValue("font-size").replace(/\D/g, "")
|
|
662
|
+
) ?? 16;
|
|
663
|
+
divElem.attr("style", `-webkit-line-clamp: ${Math.floor((iconSize - 2) / fontSize)};`);
|
|
664
|
+
} else {
|
|
665
|
+
bkgElem.append("path").attr("class", "node-bkg").attr("id", "node-" + service.id).attr(
|
|
666
|
+
"d",
|
|
667
|
+
`M0 ${iconSize} v${-iconSize} q0,-5 5,-5 h${iconSize} q5,0 5,5 v${iconSize} H0 Z`
|
|
668
|
+
);
|
|
669
|
+
}
|
|
670
|
+
serviceElem.attr("class", "architecture-service");
|
|
671
|
+
const { width, height } = serviceElem._groups[0][0].getBBox();
|
|
672
|
+
service.width = width;
|
|
673
|
+
service.height = height;
|
|
674
|
+
db2.setElementForId(service.id, serviceElem);
|
|
675
|
+
}
|
|
676
|
+
return 0;
|
|
677
|
+
}, "drawServices");
|
|
678
|
+
var drawJunctions = /* @__PURE__ */ __name(function(db2, elem, junctions) {
|
|
679
|
+
junctions.forEach((junction) => {
|
|
680
|
+
const junctionElem = elem.append("g");
|
|
681
|
+
const iconSize = getConfigField("iconSize");
|
|
682
|
+
const bkgElem = junctionElem.append("g");
|
|
683
|
+
bkgElem.append("rect").attr("id", "node-" + junction.id).attr("fill-opacity", "0").attr("width", iconSize).attr("height", iconSize);
|
|
684
|
+
junctionElem.attr("class", "architecture-junction");
|
|
685
|
+
const { width, height } = junctionElem._groups[0][0].getBBox();
|
|
686
|
+
junctionElem.width = width;
|
|
687
|
+
junctionElem.height = height;
|
|
688
|
+
db2.setElementForId(junction.id, junctionElem);
|
|
689
|
+
});
|
|
690
|
+
}, "drawJunctions");
|
|
691
|
+
registerIconPacks([
|
|
692
|
+
{
|
|
693
|
+
name: architectureIcons.prefix,
|
|
694
|
+
icons: architectureIcons
|
|
695
|
+
}
|
|
696
|
+
]);
|
|
697
|
+
cytoscape.use(fcose);
|
|
698
|
+
function addServices(services, cy) {
|
|
699
|
+
services.forEach((service) => {
|
|
700
|
+
cy.add({
|
|
701
|
+
group: "nodes",
|
|
702
|
+
data: {
|
|
703
|
+
type: "service",
|
|
704
|
+
id: service.id,
|
|
705
|
+
icon: service.icon,
|
|
706
|
+
label: service.title,
|
|
707
|
+
parent: service.in,
|
|
708
|
+
width: getConfigField("iconSize"),
|
|
709
|
+
height: getConfigField("iconSize")
|
|
710
|
+
},
|
|
711
|
+
classes: "node-service"
|
|
712
|
+
});
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
__name(addServices, "addServices");
|
|
716
|
+
function addJunctions(junctions, cy) {
|
|
717
|
+
junctions.forEach((junction) => {
|
|
718
|
+
cy.add({
|
|
719
|
+
group: "nodes",
|
|
720
|
+
data: {
|
|
721
|
+
type: "junction",
|
|
722
|
+
id: junction.id,
|
|
723
|
+
parent: junction.in,
|
|
724
|
+
width: getConfigField("iconSize"),
|
|
725
|
+
height: getConfigField("iconSize")
|
|
726
|
+
},
|
|
727
|
+
classes: "node-junction"
|
|
728
|
+
});
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
__name(addJunctions, "addJunctions");
|
|
732
|
+
function positionNodes(db2, cy) {
|
|
733
|
+
cy.nodes().map((node) => {
|
|
734
|
+
const data = nodeData(node);
|
|
735
|
+
if (data.type === "group") {
|
|
736
|
+
return;
|
|
737
|
+
}
|
|
738
|
+
data.x = node.position().x;
|
|
739
|
+
data.y = node.position().y;
|
|
740
|
+
const nodeElem = db2.getElementById(data.id);
|
|
741
|
+
nodeElem.attr("transform", "translate(" + (data.x || 0) + "," + (data.y || 0) + ")");
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
__name(positionNodes, "positionNodes");
|
|
745
|
+
function addGroups(groups, cy) {
|
|
746
|
+
groups.forEach((group) => {
|
|
747
|
+
cy.add({
|
|
748
|
+
group: "nodes",
|
|
749
|
+
data: {
|
|
750
|
+
type: "group",
|
|
751
|
+
id: group.id,
|
|
752
|
+
icon: group.icon,
|
|
753
|
+
label: group.title,
|
|
754
|
+
parent: group.in
|
|
755
|
+
},
|
|
756
|
+
classes: "node-group"
|
|
757
|
+
});
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
__name(addGroups, "addGroups");
|
|
761
|
+
function addEdges(edges, cy) {
|
|
762
|
+
edges.forEach((parsedEdge) => {
|
|
763
|
+
const { lhsId, rhsId, lhsInto, lhsGroup, rhsInto, lhsDir, rhsDir, rhsGroup, title } = parsedEdge;
|
|
764
|
+
const edgeType = isArchitectureDirectionXY(parsedEdge.lhsDir, parsedEdge.rhsDir) ? "segments" : "straight";
|
|
765
|
+
const edge = {
|
|
766
|
+
id: `${lhsId}-${rhsId}`,
|
|
767
|
+
label: title,
|
|
768
|
+
source: lhsId,
|
|
769
|
+
sourceDir: lhsDir,
|
|
770
|
+
sourceArrow: lhsInto,
|
|
771
|
+
sourceGroup: lhsGroup,
|
|
772
|
+
sourceEndpoint: lhsDir === "L" ? "0 50%" : lhsDir === "R" ? "100% 50%" : lhsDir === "T" ? "50% 0" : "50% 100%",
|
|
773
|
+
target: rhsId,
|
|
774
|
+
targetDir: rhsDir,
|
|
775
|
+
targetArrow: rhsInto,
|
|
776
|
+
targetGroup: rhsGroup,
|
|
777
|
+
targetEndpoint: rhsDir === "L" ? "0 50%" : rhsDir === "R" ? "100% 50%" : rhsDir === "T" ? "50% 0" : "50% 100%"
|
|
778
|
+
};
|
|
779
|
+
cy.add({
|
|
780
|
+
group: "edges",
|
|
781
|
+
data: edge,
|
|
782
|
+
classes: edgeType
|
|
783
|
+
});
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
__name(addEdges, "addEdges");
|
|
787
|
+
function getAlignments(db2, spatialMaps, groupAlignments) {
|
|
788
|
+
const flattenAlignments = /* @__PURE__ */ __name((alignmentObj, alignmentDir) => {
|
|
789
|
+
return Object.entries(alignmentObj).reduce(
|
|
790
|
+
(prev, [dir, alignments2]) => {
|
|
791
|
+
var _a;
|
|
792
|
+
let cnt = 0;
|
|
793
|
+
const arr = Object.entries(alignments2);
|
|
794
|
+
if (arr.length === 1) {
|
|
795
|
+
prev[dir] = arr[0][1];
|
|
796
|
+
return prev;
|
|
797
|
+
}
|
|
798
|
+
for (let i = 0; i < arr.length - 1; i++) {
|
|
799
|
+
for (let j = i + 1; j < arr.length; j++) {
|
|
800
|
+
const [aGroupId, aNodeIds] = arr[i];
|
|
801
|
+
const [bGroupId, bNodeIds] = arr[j];
|
|
802
|
+
const alignment = (_a = groupAlignments[aGroupId]) == null ? void 0 : _a[bGroupId];
|
|
803
|
+
if (alignment === alignmentDir) {
|
|
804
|
+
prev[dir] ?? (prev[dir] = []);
|
|
805
|
+
prev[dir] = [...prev[dir], ...aNodeIds, ...bNodeIds];
|
|
806
|
+
} else if (aGroupId === "default" || bGroupId === "default") {
|
|
807
|
+
prev[dir] ?? (prev[dir] = []);
|
|
808
|
+
prev[dir] = [...prev[dir], ...aNodeIds, ...bNodeIds];
|
|
809
|
+
} else {
|
|
810
|
+
const keyA = `${dir}-${cnt++}`;
|
|
811
|
+
prev[keyA] = aNodeIds;
|
|
812
|
+
const keyB = `${dir}-${cnt++}`;
|
|
813
|
+
prev[keyB] = bNodeIds;
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
return prev;
|
|
818
|
+
},
|
|
819
|
+
{}
|
|
820
|
+
);
|
|
821
|
+
}, "flattenAlignments");
|
|
822
|
+
const alignments = spatialMaps.map((spatialMap) => {
|
|
823
|
+
const horizontalAlignments = {};
|
|
824
|
+
const verticalAlignments = {};
|
|
825
|
+
Object.entries(spatialMap).forEach(([id, [x, y]]) => {
|
|
826
|
+
var _a, _b, _c;
|
|
827
|
+
const nodeGroup = ((_a = db2.getNode(id)) == null ? void 0 : _a.in) ?? "default";
|
|
828
|
+
horizontalAlignments[y] ?? (horizontalAlignments[y] = {});
|
|
829
|
+
(_b = horizontalAlignments[y])[nodeGroup] ?? (_b[nodeGroup] = []);
|
|
830
|
+
horizontalAlignments[y][nodeGroup].push(id);
|
|
831
|
+
verticalAlignments[x] ?? (verticalAlignments[x] = {});
|
|
832
|
+
(_c = verticalAlignments[x])[nodeGroup] ?? (_c[nodeGroup] = []);
|
|
833
|
+
verticalAlignments[x][nodeGroup].push(id);
|
|
834
|
+
});
|
|
835
|
+
return {
|
|
836
|
+
horiz: Object.values(flattenAlignments(horizontalAlignments, "horizontal")).filter(
|
|
837
|
+
(arr) => arr.length > 1
|
|
838
|
+
),
|
|
839
|
+
vert: Object.values(flattenAlignments(verticalAlignments, "vertical")).filter(
|
|
840
|
+
(arr) => arr.length > 1
|
|
841
|
+
)
|
|
842
|
+
};
|
|
843
|
+
});
|
|
844
|
+
const [horizontal, vertical] = alignments.reduce(
|
|
845
|
+
([prevHoriz, prevVert], { horiz, vert }) => {
|
|
846
|
+
return [
|
|
847
|
+
[...prevHoriz, ...horiz],
|
|
848
|
+
[...prevVert, ...vert]
|
|
849
|
+
];
|
|
850
|
+
},
|
|
851
|
+
[[], []]
|
|
852
|
+
);
|
|
853
|
+
return {
|
|
854
|
+
horizontal,
|
|
855
|
+
vertical
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
__name(getAlignments, "getAlignments");
|
|
859
|
+
function getRelativeConstraints(spatialMaps) {
|
|
860
|
+
const relativeConstraints = [];
|
|
861
|
+
const posToStr = /* @__PURE__ */ __name((pos) => `${pos[0]},${pos[1]}`, "posToStr");
|
|
862
|
+
const strToPos = /* @__PURE__ */ __name((pos) => pos.split(",").map((p) => parseInt(p)), "strToPos");
|
|
863
|
+
spatialMaps.forEach((spatialMap) => {
|
|
864
|
+
const invSpatialMap = Object.fromEntries(
|
|
865
|
+
Object.entries(spatialMap).map(([id, pos]) => [posToStr(pos), id])
|
|
866
|
+
);
|
|
867
|
+
const queue = [posToStr([0, 0])];
|
|
868
|
+
const visited = {};
|
|
869
|
+
const directions = {
|
|
870
|
+
L: [-1, 0],
|
|
871
|
+
R: [1, 0],
|
|
872
|
+
T: [0, 1],
|
|
873
|
+
B: [0, -1]
|
|
874
|
+
};
|
|
875
|
+
while (queue.length > 0) {
|
|
876
|
+
const curr = queue.shift();
|
|
877
|
+
if (curr) {
|
|
878
|
+
visited[curr] = 1;
|
|
879
|
+
const currId = invSpatialMap[curr];
|
|
880
|
+
if (currId) {
|
|
881
|
+
const currPos = strToPos(curr);
|
|
882
|
+
Object.entries(directions).forEach(([dir, shift]) => {
|
|
883
|
+
const newPos = posToStr([currPos[0] + shift[0], currPos[1] + shift[1]]);
|
|
884
|
+
const newId = invSpatialMap[newPos];
|
|
885
|
+
if (newId && !visited[newPos]) {
|
|
886
|
+
queue.push(newPos);
|
|
887
|
+
relativeConstraints.push({
|
|
888
|
+
[ArchitectureDirectionName[dir]]: newId,
|
|
889
|
+
[ArchitectureDirectionName[getOppositeArchitectureDirection(dir)]]: currId,
|
|
890
|
+
gap: 1.5 * getConfigField("iconSize")
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
return relativeConstraints;
|
|
899
|
+
}
|
|
900
|
+
__name(getRelativeConstraints, "getRelativeConstraints");
|
|
901
|
+
function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMaps, groupAlignments }) {
|
|
902
|
+
return new Promise((resolve) => {
|
|
903
|
+
const renderEl = select("body").append("div").attr("id", "cy").attr("style", "display:none");
|
|
904
|
+
const cy = cytoscape({
|
|
905
|
+
container: document.getElementById("cy"),
|
|
906
|
+
style: [
|
|
907
|
+
{
|
|
908
|
+
selector: "edge",
|
|
909
|
+
style: {
|
|
910
|
+
"curve-style": "straight",
|
|
911
|
+
label: "data(label)",
|
|
912
|
+
"source-endpoint": "data(sourceEndpoint)",
|
|
913
|
+
"target-endpoint": "data(targetEndpoint)"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
selector: "edge.segments",
|
|
918
|
+
style: {
|
|
919
|
+
"curve-style": "segments",
|
|
920
|
+
"segment-weights": "0",
|
|
921
|
+
"segment-distances": [0.5],
|
|
922
|
+
// @ts-ignore Incorrect library types
|
|
923
|
+
"edge-distances": "endpoints",
|
|
924
|
+
"source-endpoint": "data(sourceEndpoint)",
|
|
925
|
+
"target-endpoint": "data(targetEndpoint)"
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
selector: "node",
|
|
930
|
+
style: {
|
|
931
|
+
// @ts-ignore Incorrect library types
|
|
932
|
+
"compound-sizing-wrt-labels": "include"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
selector: "node[label]",
|
|
937
|
+
style: {
|
|
938
|
+
"text-valign": "bottom",
|
|
939
|
+
"text-halign": "center",
|
|
940
|
+
"font-size": `${getConfigField("fontSize")}px`
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
selector: ".node-service",
|
|
945
|
+
style: {
|
|
946
|
+
label: "data(label)",
|
|
947
|
+
width: "data(width)",
|
|
948
|
+
height: "data(height)"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
selector: ".node-junction",
|
|
953
|
+
style: {
|
|
954
|
+
width: "data(width)",
|
|
955
|
+
height: "data(height)"
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
selector: ".node-group",
|
|
960
|
+
style: {
|
|
961
|
+
// @ts-ignore Incorrect library types
|
|
962
|
+
padding: `${getConfigField("padding")}px`
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
});
|
|
967
|
+
renderEl.remove();
|
|
968
|
+
addGroups(groups, cy);
|
|
969
|
+
addServices(services, cy);
|
|
970
|
+
addJunctions(junctions, cy);
|
|
971
|
+
addEdges(edges, cy);
|
|
972
|
+
const alignmentConstraint = getAlignments(db2, spatialMaps, groupAlignments);
|
|
973
|
+
const relativePlacementConstraint = getRelativeConstraints(spatialMaps);
|
|
974
|
+
const layout = cy.layout({
|
|
975
|
+
name: "fcose",
|
|
976
|
+
quality: "proof",
|
|
977
|
+
styleEnabled: false,
|
|
978
|
+
animate: false,
|
|
979
|
+
nodeDimensionsIncludeLabels: false,
|
|
980
|
+
// Adjust the edge parameters if it passes through the border of a group
|
|
981
|
+
// Hacky fix for: https://github.com/iVis-at-Bilkent/cytoscape.js-fcose/issues/67
|
|
982
|
+
idealEdgeLength(edge) {
|
|
983
|
+
const [nodeA, nodeB] = edge.connectedNodes();
|
|
984
|
+
const { parent: parentA } = nodeData(nodeA);
|
|
985
|
+
const { parent: parentB } = nodeData(nodeB);
|
|
986
|
+
const elasticity = parentA === parentB ? 1.5 * getConfigField("iconSize") : 0.5 * getConfigField("iconSize");
|
|
987
|
+
return elasticity;
|
|
988
|
+
},
|
|
989
|
+
edgeElasticity(edge) {
|
|
990
|
+
const [nodeA, nodeB] = edge.connectedNodes();
|
|
991
|
+
const { parent: parentA } = nodeData(nodeA);
|
|
992
|
+
const { parent: parentB } = nodeData(nodeB);
|
|
993
|
+
const elasticity = parentA === parentB ? 0.45 : 1e-3;
|
|
994
|
+
return elasticity;
|
|
995
|
+
},
|
|
996
|
+
alignmentConstraint,
|
|
997
|
+
relativePlacementConstraint
|
|
998
|
+
});
|
|
999
|
+
layout.one("layoutstop", () => {
|
|
1000
|
+
var _a;
|
|
1001
|
+
function getSegmentWeights(source, target, pointX, pointY) {
|
|
1002
|
+
let W, D;
|
|
1003
|
+
const { x: sX, y: sY } = source;
|
|
1004
|
+
const { x: tX, y: tY } = target;
|
|
1005
|
+
D = (pointY - sY + (sX - pointX) * (sY - tY) / (sX - tX)) / Math.sqrt(1 + Math.pow((sY - tY) / (sX - tX), 2));
|
|
1006
|
+
W = Math.sqrt(Math.pow(pointY - sY, 2) + Math.pow(pointX - sX, 2) - Math.pow(D, 2));
|
|
1007
|
+
const distAB = Math.sqrt(Math.pow(tX - sX, 2) + Math.pow(tY - sY, 2));
|
|
1008
|
+
W = W / distAB;
|
|
1009
|
+
let delta1 = (tX - sX) * (pointY - sY) - (tY - sY) * (pointX - sX);
|
|
1010
|
+
switch (true) {
|
|
1011
|
+
case delta1 >= 0:
|
|
1012
|
+
delta1 = 1;
|
|
1013
|
+
break;
|
|
1014
|
+
case delta1 < 0:
|
|
1015
|
+
delta1 = -1;
|
|
1016
|
+
break;
|
|
1017
|
+
}
|
|
1018
|
+
let delta2 = (tX - sX) * (pointX - sX) + (tY - sY) * (pointY - sY);
|
|
1019
|
+
switch (true) {
|
|
1020
|
+
case delta2 >= 0:
|
|
1021
|
+
delta2 = 1;
|
|
1022
|
+
break;
|
|
1023
|
+
case delta2 < 0:
|
|
1024
|
+
delta2 = -1;
|
|
1025
|
+
break;
|
|
1026
|
+
}
|
|
1027
|
+
D = Math.abs(D) * delta1;
|
|
1028
|
+
W = W * delta2;
|
|
1029
|
+
return {
|
|
1030
|
+
distances: D,
|
|
1031
|
+
weights: W
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
__name(getSegmentWeights, "getSegmentWeights");
|
|
1035
|
+
cy.startBatch();
|
|
1036
|
+
for (const edge of Object.values(cy.edges())) {
|
|
1037
|
+
if ((_a = edge.data) == null ? void 0 : _a.call(edge)) {
|
|
1038
|
+
const { x: sX, y: sY } = edge.source().position();
|
|
1039
|
+
const { x: tX, y: tY } = edge.target().position();
|
|
1040
|
+
if (sX !== tX && sY !== tY) {
|
|
1041
|
+
const sEP = edge.sourceEndpoint();
|
|
1042
|
+
const tEP = edge.targetEndpoint();
|
|
1043
|
+
const { sourceDir } = edgeData(edge);
|
|
1044
|
+
const [pointX, pointY] = isArchitectureDirectionY(sourceDir) ? [sEP.x, tEP.y] : [tEP.x, sEP.y];
|
|
1045
|
+
const { weights, distances } = getSegmentWeights(sEP, tEP, pointX, pointY);
|
|
1046
|
+
edge.style("segment-distances", distances);
|
|
1047
|
+
edge.style("segment-weights", weights);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
cy.endBatch();
|
|
1052
|
+
layout.run();
|
|
1053
|
+
});
|
|
1054
|
+
layout.run();
|
|
1055
|
+
cy.ready((e) => {
|
|
1056
|
+
log.info("Ready", e);
|
|
1057
|
+
resolve(cy);
|
|
1058
|
+
});
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
__name(layoutArchitecture, "layoutArchitecture");
|
|
1062
|
+
var draw = /* @__PURE__ */ __name(async (text, id, _version, diagObj) => {
|
|
1063
|
+
const db2 = diagObj.db;
|
|
1064
|
+
const services = db2.getServices();
|
|
1065
|
+
const junctions = db2.getJunctions();
|
|
1066
|
+
const groups = db2.getGroups();
|
|
1067
|
+
const edges = db2.getEdges();
|
|
1068
|
+
const ds = db2.getDataStructures();
|
|
1069
|
+
const svg = selectSvgElement(id);
|
|
1070
|
+
const edgesElem = svg.append("g");
|
|
1071
|
+
edgesElem.attr("class", "architecture-edges");
|
|
1072
|
+
const servicesElem = svg.append("g");
|
|
1073
|
+
servicesElem.attr("class", "architecture-services");
|
|
1074
|
+
const groupElem = svg.append("g");
|
|
1075
|
+
groupElem.attr("class", "architecture-groups");
|
|
1076
|
+
await drawServices(db2, servicesElem, services);
|
|
1077
|
+
drawJunctions(db2, servicesElem, junctions);
|
|
1078
|
+
const cy = await layoutArchitecture(services, junctions, groups, edges, db2, ds);
|
|
1079
|
+
await drawEdges(edgesElem, cy);
|
|
1080
|
+
await drawGroups(groupElem, cy);
|
|
1081
|
+
positionNodes(db2, cy);
|
|
1082
|
+
setupGraphViewbox(void 0, svg, getConfigField("padding"), getConfigField("useMaxWidth"));
|
|
1083
|
+
}, "draw");
|
|
1084
|
+
var renderer = { draw };
|
|
1085
|
+
var diagram = {
|
|
1086
|
+
parser,
|
|
1087
|
+
db,
|
|
1088
|
+
renderer,
|
|
1089
|
+
styles: architectureStyles_default
|
|
1090
|
+
};
|
|
1091
|
+
export {
|
|
1092
|
+
diagram
|
|
1093
|
+
};
|