@elmethis/core 1.0.0-alpha.149 → 1.0.0-alpha.150
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/index.d.ts +2 -3
- package/dist/index.mjs +119 -121
- package/package.json +1 -1
- package/dist/_virtual/_commonjsHelpers.mjs +0 -6
- package/dist/_virtual/advancedFormat.mjs +0 -7
- package/dist/_virtual/advancedFormat2.mjs +0 -4
- package/dist/_virtual/cancellation.mjs +0 -5
- package/dist/_virtual/cancellation2.mjs +0 -4
- package/dist/_virtual/constants.mjs +0 -4
- package/dist/_virtual/cose-base.mjs +0 -4
- package/dist/_virtual/cose-base2.mjs +0 -4
- package/dist/_virtual/customParseFormat.mjs +0 -7
- package/dist/_virtual/customParseFormat2.mjs +0 -4
- package/dist/_virtual/cytoscape-cose-bilkent.mjs +0 -7
- package/dist/_virtual/cytoscape-cose-bilkent2.mjs +0 -4
- package/dist/_virtual/cytoscape-fcose.mjs +0 -7
- package/dist/_virtual/cytoscape-fcose2.mjs +0 -4
- package/dist/_virtual/dayjs.min.mjs +0 -7
- package/dist/_virtual/dayjs.min2.mjs +0 -4
- package/dist/_virtual/events.mjs +0 -5
- package/dist/_virtual/events2.mjs +0 -4
- package/dist/_virtual/index.mjs +0 -5
- package/dist/_virtual/index2.mjs +0 -4
- package/dist/_virtual/is.mjs +0 -4
- package/dist/_virtual/isoWeek.mjs +0 -7
- package/dist/_virtual/isoWeek2.mjs +0 -4
- package/dist/_virtual/layout-base.mjs +0 -4
- package/dist/_virtual/layout-base2.mjs +0 -4
- package/dist/_virtual/ral.mjs +0 -4
- package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue.d.ts +0 -8
- package/dist/components/code/ElmMermaid.vue.mjs +0 -6
- package/dist/components/code/ElmMermaid.vue2.mjs +0 -56
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -20
- package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +0 -76
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -57
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -220
- package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -64
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -101
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -45
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -693
- package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -39
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -14
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -10
- package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -15
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -15
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -28
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -54
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -17
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -27
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -24
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -120
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -33
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -10
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -29
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -41
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +0 -541
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +0 -46
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +0 -42
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +0 -34
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +0 -6
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -115
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -531
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +0 -393
- package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -42
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -12
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -42
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -87
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -161
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -416
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -47
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -41
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -424
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -22
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -48
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -387
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -40
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -83
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -181
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -69
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -270
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -59
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -128
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -38
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -323
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -434
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -251
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -167
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -19
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -720
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -11
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -552
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -214
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -115
- package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
- package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +0 -1090
- package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +0 -2555
- package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +0 -374
- package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +0 -1278
- package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +0 -29469
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +0 -47
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +0 -51
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +0 -94
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +0 -338
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +0 -95
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +0 -70
- package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +0 -37
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +0 -82
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +0 -29
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +0 -4
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +0 -43
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +0 -59
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +0 -73
- package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +0 -88
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +0 -326
- package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +0 -56
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +0 -95
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +0 -61
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +0 -38
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +0 -34
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +0 -46
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +0 -76
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +0 -31
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +0 -88
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +0 -19
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +0 -17
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +0 -24
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +0 -4
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +0 -45
- package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +0 -133
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +0 -66
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +0 -63
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +0 -50
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +0 -49
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +0 -43
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +0 -73
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +0 -69
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +0 -57
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +0 -83
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +0 -75
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +0 -63
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +0 -39
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +0 -99
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +0 -59
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +0 -41
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +0 -32
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +0 -19
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +0 -55
- package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +0 -10
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +0 -542
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +0 -34
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +0 -26
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +0 -61
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +0 -26
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +0 -27
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +0 -54
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +0 -66
- package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +0 -45
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +0 -96
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +0 -21
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +0 -5
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +0 -9
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +0 -39
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +0 -55
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +0 -42
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +0 -14
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +0 -15
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +0 -16
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +0 -68
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +0 -11
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +0 -23
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +0 -13
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +0 -125
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +0 -20
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +0 -24
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +0 -8
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +0 -47
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +0 -18
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +0 -25
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +0 -22
- package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +0 -64
- package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +0 -45
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -55
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -49
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -97
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -344
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -94
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -69
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -25
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -54
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -51
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -30
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -84
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -47
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -66
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +0 -296
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -45
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -29
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -148
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -30
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -164
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -33
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +0 -2
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +0 -2
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -7
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -420
- package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -47
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +0 -286
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +0 -58
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +0 -133
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +0 -37
- package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +0 -965
- package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +0 -43
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +0 -131
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +0 -5
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +0 -24
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +0 -40
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +0 -50
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +0 -39
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +0 -172
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +0 -33
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +0 -13
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +0 -15
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +0 -13
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +0 -12
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +0 -8
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +0 -12
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +0 -7
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +0 -10
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +0 -20
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +0 -18
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +0 -95
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +0 -11
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +0 -14
- package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +0 -10
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +0 -87
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +0 -74
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -17
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -62
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -478
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -725
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -20
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +0 -11
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -13
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -233
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -17
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -453
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +0 -72
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -336
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +0 -105
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +0 -111
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +0 -139
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +0 -19
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +0 -80
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +0 -70
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +0 -62
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +0 -60
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -256
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -202
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +0 -69
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +0 -73
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -159
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +0 -137
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +0 -177
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -126
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +0 -12
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +0 -12
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -33
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -377
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -56
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -239
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +0 -466
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -37
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +0 -236
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -142
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -75
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -43
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +0 -81
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -328
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +0 -210
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -15
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -74
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -64
- package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -106
- package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +0 -3197
- package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +0 -3745
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -24
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -83
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -45
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +0 -35
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -19
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -27
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -61
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +0 -46
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -23
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +0 -50
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +0 -59
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +0 -50
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -4
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -25
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -34
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +0 -25
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -43
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -17
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -14
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -21
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -20
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -16
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -18
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -4
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +0 -35
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -13
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +0 -11
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -22
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +0 -12
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -8
- package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +0 -2152
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +0 -1093
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +0 -3598
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +0 -2487
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +0 -143
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +0 -2696
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +0 -19
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +0 -1828
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +0 -1961
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +0 -332
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +0 -109
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +0 -78
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +0 -5018
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +0 -696
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +0 -557
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +0 -38
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +0 -57
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +0 -107
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +0 -17
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +0 -3052
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +0 -662
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +0 -306
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +0 -191
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +0 -1168
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +0 -2339
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +0 -2104
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +0 -1215
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +0 -31
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +0 -1201
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +0 -1055
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +0 -1195
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +0 -188
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +0 -1340
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +0 -1168
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +0 -670
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +0 -3419
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +0 -477
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +0 -27
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +0 -1232
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +0 -1778
- package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +0 -1222
- package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +0 -1001
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +0 -16
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +0 -164
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +0 -29
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +0 -156
- package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +0 -38
- package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +0 -42
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +0 -95
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +0 -133
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +0 -40
- package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +0 -28
- package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +0 -225
- package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +0 -1262
- package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +0 -344
|
@@ -1,1093 +0,0 @@
|
|
|
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
|
-
};
|