mdts 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -2
- package/dist/frontend/bundle.js +5751 -5603
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_architecture-O4VJ6CD3_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_architecture-U656AL7Q_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_gitGraph-ZV4HHKMB_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_gitGraph-F6HP7TQM_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_info-63CPKGFF_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_info-NVLQJR56_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_packet-HUATNLJX_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_packet-BFZMPI3H_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_pie-WTHONI2E_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_pie-7BOR55EZ_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_radar-NJJJXTRR_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_radar-NHE76QYJ_mjs.bundle.js} +6 -6
- package/dist/frontend/{node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_treemap-75Q7IDZK_mjs.bundle.js → node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_treemap-KMMF4GRG_mjs.bundle.js} +6 -6
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-2ON5EDUG_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-WZHVMYZB_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-S2PKOQOG_mjs.bundle.js +32 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-WHAUD3N6_mjs.bundle.js +22 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-ADFJNKIX_mjs.bundle.js +32 -0
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-4FDKWEC3_mjs.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter/refractor-core-import.bundle.js +62 -376
- package/dist/frontend/react-syntax-highlighter_languages_refractor_abap.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_abnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_actionscript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ada.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_agda.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_al.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_antlr4.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apacheconf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apex.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_apl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_applescript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_aql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arduino.bundle.js +22 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arff.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_armasm.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_arturo.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asciidoc.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asm6502.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_asmatmel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_aspnet.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_autohotkey.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_autoit.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_avisynth.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_avroIdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_awk.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bash.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_basic.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_batch.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bbcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bbj.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bicep.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_birb.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bison.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bqn.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_brainfuck.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_brightscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bro.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_bsl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_c.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cfscript.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_chaiscript.bundle.js +22 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cil.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cilkc.bundle.js +42 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cilkcpp.bundle.js +52 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_clike.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_clojure.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cmake.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cobol.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_coffeescript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_concurnas.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cooklang.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_coq.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cpp.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_crystal.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cshtml.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_css.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cssExtras.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_csv.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cue.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_cypher.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_d.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dart.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dataweave.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dax.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dhall.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_diff.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_django.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dnsZoneFile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_docker.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_dot.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ebnf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_editorconfig.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_eiffel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ejs.bundle.js +21 -11
- package/dist/frontend/react-syntax-highlighter_languages_refractor_elixir.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_elm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_erb.bundle.js +18 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_erlang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_etlua.bundle.js +8 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_excelFormula.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_factor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_falselang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_firestoreSecurityRules.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_flow.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_fortran.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_fsharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ftl.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gap.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gdscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gedcom.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gettext.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gherkin.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_git.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_glsl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gml.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gn.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_go.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_goModule.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_gradle.bundle.js +32 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_graphql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_groovy.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haml.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_handlebars.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haskell.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_haxe.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hcl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hlsl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hoon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hpkp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_hsts.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_http.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ichigojam.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_icon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_icuMessageFormat.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_idris.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_iecst.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ignore.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_inform7.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ini.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_io.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_j.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_java.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javadoc.bundle.js +32 -12
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javadoclike.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javascript.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_javastacktrace.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jexl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jolie.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jq.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsExtras.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsTemplates.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsdoc.bundle.js +8 -18
- package/dist/frontend/react-syntax-highlighter_languages_refractor_json.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_json5.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsonp.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsstacktrace.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_jsx.bundle.js +17 -7
- package/dist/frontend/react-syntax-highlighter_languages_refractor_julia.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_keepalived.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_keyman.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kotlin.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kumir.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_kusto.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_latex.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_latte.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_less.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lilypond.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_linkerScript.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_liquid.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lisp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_livescript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_llvm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_log.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lolcode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_lua.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_magma.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_makefile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markdown.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markup.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_markupTemplating.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mata.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_matlab.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_maxscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mel.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mermaid.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_metafont.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mizar.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_mongodb.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_monkey.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_moonscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_n1ql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_n4js.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nand2tetrisHdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_naniscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_neon.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nevod.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nginx.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nim.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nix.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_nsis.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_objectivec.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ocaml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_odin.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_opencl.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_openqasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_oz.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_parigp.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_parser.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pascal.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pascaligo.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pcaxis.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_peoplecode.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_perl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_php.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_phpExtras.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_phpdoc.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_plantUml.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_plsql.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_powerquery.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_powershell.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_processing.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_prolog.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_promql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_properties.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_protobuf.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_psl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pug.bundle.js +34 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_puppet.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_pure.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_purebasic.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_purescript.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_python.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_q.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qml.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qore.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_qsharp.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_r.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_racket.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_reason.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_regex.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rego.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_renpy.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rescript.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rest.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rip.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_roboconf.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_robotframework.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_ruby.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_rust.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sas.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sass.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scala.bundle.js +18 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scheme.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_scss.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_shellSession.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smali.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smalltalk.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_smarty.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_solidity.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_solutionFile.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_soy.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sparql.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_splunkSpl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sqf.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_sql.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_squirrel.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stan.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stata.bundle.js +62 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_stylus.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_supercollider.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_swift.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_systemd.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Cs.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Templating.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_t4Vb.bundle.js +16 -16
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tap.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tcl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_textile.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_toml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tremor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tsx.bundle.js +4 -24
- package/dist/frontend/react-syntax-highlighter_languages_refractor_tt2.bundle.js +11 -11
- package/dist/frontend/react-syntax-highlighter_languages_refractor_turtle.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_twig.bundle.js +4 -14
- package/dist/frontend/react-syntax-highlighter_languages_refractor_typescript.bundle.js +24 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_typoscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_unrealscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_uorazor.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_uri.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_v.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vala.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vbnet.bundle.js +8 -8
- package/dist/frontend/react-syntax-highlighter_languages_refractor_velocity.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_verilog.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vhdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_vim.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_visualBasic.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_warpscript.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wasm.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_webIdl.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wgsl.bundle.js +22 -0
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wiki.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wolfram.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_wren.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xeora.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xmlDoc.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xojo.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_xquery.bundle.js +14 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_yaml.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_yang.bundle.js +4 -4
- package/dist/frontend/react-syntax-highlighter_languages_refractor_zig.bundle.js +4 -4
- package/dist/frontend/vendors-node_modules_cytoscape_dist_cytoscape_esm_mjs.bundle.js +4 -4
- package/dist/frontend/vendors-node_modules_dagre-d3-es_src_dagre_index_js.bundle.js +203 -203
- package/dist/frontend/vendors-node_modules_dagre-d3-es_src_graphlib_index_js.bundle.js +9 -9
- package/dist/frontend/vendors-node_modules_lodash-es__baseClone_js-node_modules_lodash-es__baseFlatten_js-node_modu-64f2a5.bundle.js +252 -252
- package/dist/frontend/vendors-node_modules_lodash-es__basePickBy_js-node_modules_lodash-es__hasUnicode_js-node_modu-b1bc3b.bundle.js +66 -66
- package/dist/frontend/vendors-node_modules_mermaid-js_parser_dist_mermaid-parser_core_mjs.bundle.js +489 -489
- package/dist/frontend/{vendors-node_modules_mermaid_dist_chunks_mermaid_core_architectureDiagram-KFL7JDKH_mjs.bundle.js → vendors-node_modules_mermaid_dist_chunks_mermaid_core_architectureDiagram-VXUJARFQ_mjs.bundle.js} +20 -20
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-VD42YOAC_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-YG6GDRKO_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-B4BG7PRW_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-DI55MBZ5_mjs.bundle.js +42 -0
- package/dist/frontend/{vendors-node_modules_mermaid_dist_chunks_mermaid_core_mindmap-definition-LNHGMQRG_mjs.bundle.js → vendors-node_modules_mermaid_dist_chunks_mermaid_core_cose-bilkent-S5V4N54A_mjs.bundle.js} +17 -17
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_dagre-6UL2VRFP_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-PSM6KHXK_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-QEK2KX5R_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-Q2GNP2WA_mjs.bundle.js +52 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-NV44I4VS_mjs.bundle.js +62 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_ganttDiagram-JELNMOA3_mjs.bundle.js +62 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-NY62KEGX_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-XKPGCS4Q_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-3W4ZIXB7_mjs.bundle.js +32 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_mindmap-definition-VGOIOE7T_mjs.bundle.js +102 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-AYHSOK5B_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_requirementDiagram-UZGBJVZJ_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-TZEHDZUN_mjs.bundle.js +162 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-WL72ISMW_mjs.bundle.js +42 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-FKZM4ZOC_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_timeline-definition-IT6M3QCI_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-PRI3JC2R_mjs.bundle.js +22 -0
- package/dist/frontend/vendors-node_modules_refractor_lang_jsx_js.bundle.js +32 -0
- package/dist/server/routes/plantuml.js +21 -16
- package/package.json +3 -2
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-3BZAVTQC_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-QTMF73CY_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-GUPCWM2R_mjs.bundle.js +0 -32
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-DDUCL6P7_mjs.bundle.js +0 -22
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-DBDJKBY4_mjs.bundle.js +0 -32
- package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-EYPG3UTE_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-ZYB65J3Q_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAMF2YG6_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-JBRWN2VN_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-LXBSTHXV_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_dagre-2BBEFEWP_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-4IRLE6MV_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-RP2FKANI_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-HZWUO2LU_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-THRYKUMA_mjs.bundle.js +0 -62
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_ganttDiagram-WV7ZQ7D5_mjs.bundle.js +0 -52
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-OJR772UL_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-FFXJYRFH_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-KOZQBZVT_mjs.bundle.js +0 -32
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-YPSRARAO_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_requirementDiagram-EGVEC5DT_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-HRAUVNP4_mjs.bundle.js +0 -162
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-4MX5Z3NR_mjs.bundle.js +0 -42
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-UUKSUZ4H_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_timeline-definition-3HZDQTIS_mjs.bundle.js +0 -22
- package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-FDP5SA34_mjs.bundle.js +0 -22
|
@@ -14,29 +14,34 @@ const express_1 = require("express");
|
|
|
14
14
|
const logger_1 = require("../../utils/logger");
|
|
15
15
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
16
16
|
const plantuml = require('node-plantuml-back');
|
|
17
|
-
const
|
|
17
|
+
const createSvgGenerator = (plantumlModule) => (diagram) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
+
const svg = yield new Promise((resolve, reject) => {
|
|
19
|
+
const gen = plantumlModule.generate({ format: 'svg' });
|
|
20
|
+
let svgData = '';
|
|
21
|
+
gen.out.on('data', (chunk) => {
|
|
22
|
+
svgData += chunk.toString();
|
|
23
|
+
});
|
|
24
|
+
gen.out.on('end', () => {
|
|
25
|
+
resolve(svgData);
|
|
26
|
+
});
|
|
27
|
+
gen.out.on('error', (error) => {
|
|
28
|
+
reject(error);
|
|
29
|
+
});
|
|
30
|
+
gen.in.write(diagram);
|
|
31
|
+
gen.in.end();
|
|
32
|
+
});
|
|
33
|
+
return svg;
|
|
34
|
+
});
|
|
35
|
+
const plantumlRouter = (plantumlModule = plantuml) => {
|
|
18
36
|
const router = (0, express_1.Router)();
|
|
37
|
+
const generateSvg = createSvgGenerator(plantumlModule);
|
|
19
38
|
router.post('/svg', (req, res) => __awaiter(void 0, void 0, void 0, function* () {
|
|
20
39
|
const { diagram } = req.body;
|
|
21
40
|
if (!diagram) {
|
|
22
41
|
return res.status(400).send('diagram body parameter is required.');
|
|
23
42
|
}
|
|
24
43
|
try {
|
|
25
|
-
const svg = yield
|
|
26
|
-
const gen = plantuml.generate({ format: 'svg' });
|
|
27
|
-
let svgData = '';
|
|
28
|
-
gen.out.on('data', (chunk) => {
|
|
29
|
-
svgData += chunk.toString();
|
|
30
|
-
});
|
|
31
|
-
gen.out.on('end', () => {
|
|
32
|
-
resolve(svgData);
|
|
33
|
-
});
|
|
34
|
-
gen.out.on('error', (error) => {
|
|
35
|
-
reject(error);
|
|
36
|
-
});
|
|
37
|
-
gen.in.write(diagram);
|
|
38
|
-
gen.in.end();
|
|
39
|
-
});
|
|
44
|
+
const svg = yield generateSvg(diagram);
|
|
40
45
|
res.setHeader('Content-Type', 'image/svg+xml');
|
|
41
46
|
res.send(svg);
|
|
42
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"packageManager": "npm@11.5.1",
|
|
4
5
|
"description": "A markdown preview server.",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"github-slugger": "^2.0.0",
|
|
72
73
|
"markdown-it": "^14.1.0",
|
|
73
74
|
"node-plantuml-back": "^1.1.4",
|
|
74
|
-
"open": "^
|
|
75
|
+
"open": "^11.0.0",
|
|
75
76
|
"plantuml": "^0.0.2",
|
|
76
77
|
"plantuml-encoder": "^1.4.0",
|
|
77
78
|
"simple-git": "^3.28.0",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-3BZAVTQC_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-3BZAVTQC.mjs":
|
|
13
|
-
/*!*********************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-3BZAVTQC.mjs ***!
|
|
15
|
-
\*********************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-JBRWN2VN.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-JBRWN2VN.mjs\");\n/* harmony import */ var _chunk_GLLZNHP4_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLLZNHP4.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-GLLZNHP4.mjs\");\n/* harmony import */ var _chunk_WVR4S24B_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-WVR4S24B.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WVR4S24B.mjs\");\n/* harmony import */ var _chunk_NRVI72HA_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-NRVI72HA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NRVI72HA.mjs\");\n/* harmony import */ var _chunk_NXG7ZM6U_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-NXG7ZM6U.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NXG7ZM6U.mjs\");\n/* harmony import */ var _chunk_NCRKNZAS_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./chunk-NCRKNZAS.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NCRKNZAS.mjs\");\n/* harmony import */ var _chunk_WH6PBGIT_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./chunk-WH6PBGIT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WH6PBGIT.mjs\");\n/* harmony import */ var _chunk_CV3G5MRU_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./chunk-CV3G5MRU.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-CV3G5MRU.mjs\");\n/* harmony import */ var _chunk_JSVUIEYQ_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./chunk-JSVUIEYQ.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-JSVUIEYQ.mjs\");\n/* harmony import */ var _chunk_7RNWAQOT_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chunk-7RNWAQOT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-7RNWAQOT.mjs\");\n/* harmony import */ var _chunk_62K37W7T_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./chunk-62K37W7T.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-62K37W7T.mjs\");\n/* harmony import */ var _chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./chunk-U37J5Y7L.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// src/diagrams/class/classDiagram.ts\nvar diagram = {\n parser: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.classDiagram_default,\n get db() {\n return new _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.ClassDB();\n },\n renderer: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.classRenderer_v3_unified_default,\n styles: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.styles_default,\n init: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_12__.__name)((cnf) => {\n if (!cnf.class) {\n cnf.class = {};\n }\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n }, \"init\")\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-3BZAVTQC.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ })
|
|
21
|
-
|
|
22
|
-
}]);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-QTMF73CY_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-QTMF73CY.mjs":
|
|
13
|
-
/*!************************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-QTMF73CY.mjs ***!
|
|
15
|
-
\************************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-JBRWN2VN.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-JBRWN2VN.mjs\");\n/* harmony import */ var _chunk_GLLZNHP4_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-GLLZNHP4.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-GLLZNHP4.mjs\");\n/* harmony import */ var _chunk_WVR4S24B_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-WVR4S24B.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WVR4S24B.mjs\");\n/* harmony import */ var _chunk_NRVI72HA_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-NRVI72HA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NRVI72HA.mjs\");\n/* harmony import */ var _chunk_NXG7ZM6U_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-NXG7ZM6U.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NXG7ZM6U.mjs\");\n/* harmony import */ var _chunk_NCRKNZAS_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./chunk-NCRKNZAS.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NCRKNZAS.mjs\");\n/* harmony import */ var _chunk_WH6PBGIT_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./chunk-WH6PBGIT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WH6PBGIT.mjs\");\n/* harmony import */ var _chunk_CV3G5MRU_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./chunk-CV3G5MRU.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-CV3G5MRU.mjs\");\n/* harmony import */ var _chunk_JSVUIEYQ_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./chunk-JSVUIEYQ.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-JSVUIEYQ.mjs\");\n/* harmony import */ var _chunk_7RNWAQOT_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chunk-7RNWAQOT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-7RNWAQOT.mjs\");\n/* harmony import */ var _chunk_62K37W7T_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./chunk-62K37W7T.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-62K37W7T.mjs\");\n/* harmony import */ var _chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./chunk-U37J5Y7L.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// src/diagrams/class/classDiagram-v2.ts\nvar diagram = {\n parser: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.classDiagram_default,\n get db() {\n return new _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.ClassDB();\n },\n renderer: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.classRenderer_v3_unified_default,\n styles: _chunk_JBRWN2VN_mjs__WEBPACK_IMPORTED_MODULE_0__.styles_default,\n init: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_12__.__name)((cnf) => {\n if (!cnf.class) {\n cnf.class = {};\n }\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n }, \"init\")\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-QTMF73CY.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ })
|
|
21
|
-
|
|
22
|
-
}]);
|
package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-GUPCWM2R_mjs.bundle.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_diagram-GUPCWM2R_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs":
|
|
13
|
-
/*!**************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs ***!
|
|
15
|
-
\**************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ populateCommonDb: () => (/* binding */ populateCommonDb)\n/* harmony export */ });\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n\n\n// src/diagrams/common/populateCommonDb.ts\nfunction populateCommonDb(ast, db) {\n if (ast.accDescr) {\n db.setAccDescription?.(ast.accDescr);\n }\n if (ast.accTitle) {\n db.setAccTitle?.(ast.accTitle);\n }\n if (ast.title) {\n db.setDiagramTitle?.(ast.title);\n }\n}\n(0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_0__.__name)(populateCommonDb, \"populateCommonDb\");\n\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ }),
|
|
21
|
-
|
|
22
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/diagram-GUPCWM2R.mjs":
|
|
23
|
-
/*!****************************************************************************!*\
|
|
24
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/diagram-GUPCWM2R.mjs ***!
|
|
25
|
-
\****************************************************************************/
|
|
26
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
27
|
-
|
|
28
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_ANTBXLJU_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-ANTBXLJU.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs\");\n/* harmony import */ var _chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-U37J5Y7L.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.mjs\");\n/* harmony import */ var _chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-T57MJCP2.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-T57MJCP2.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n/* harmony import */ var _mermaid_js_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mermaid-js/parser */ \"./node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs\");\n\n\n\n\n\n// src/diagrams/packet/db.ts\nvar DEFAULT_PACKET_CONFIG = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.defaultConfig_default.packet;\nvar PacketDB = class {\n constructor() {\n this.packet = [];\n this.setAccTitle = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setAccTitle;\n this.getAccTitle = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getAccTitle;\n this.setDiagramTitle = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setDiagramTitle;\n this.getDiagramTitle = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getDiagramTitle;\n this.getAccDescription = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getAccDescription;\n this.setAccDescription = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setAccDescription;\n }\n static {\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(this, \"PacketDB\");\n }\n getConfig() {\n const config = (0,_chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__.cleanAndMerge)({\n ...DEFAULT_PACKET_CONFIG,\n ...(0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getConfig)().packet\n });\n if (config.showBits) {\n config.paddingY += 10;\n }\n return config;\n }\n getPacket() {\n return this.packet;\n }\n pushWord(word) {\n if (word.length > 0) {\n this.packet.push(word);\n }\n }\n clear() {\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.clear)();\n this.packet = [];\n }\n};\n\n// src/diagrams/packet/parser.ts\n\nvar maxPacketSize = 1e4;\nvar populate = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((ast, db) => {\n (0,_chunk_ANTBXLJU_mjs__WEBPACK_IMPORTED_MODULE_0__.populateCommonDb)(ast, db);\n let lastBit = -1;\n let word = [];\n let row = 1;\n const { bitsPerRow } = db.getConfig();\n for (let { start, end, bits, label } of ast.blocks) {\n if (start !== void 0 && end !== void 0 && end < start) {\n throw new Error(`Packet block ${start} - ${end} is invalid. End must be greater than start.`);\n }\n start ??= lastBit + 1;\n if (start !== lastBit + 1) {\n throw new Error(\n `Packet block ${start} - ${end ?? start} is not contiguous. It should start from ${lastBit + 1}.`\n );\n }\n if (bits === 0) {\n throw new Error(`Packet block ${start} is invalid. Cannot have a zero bit field.`);\n }\n end ??= start + (bits ?? 1) - 1;\n bits ??= end - start + 1;\n lastBit = end;\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.log.debug(`Packet block ${start} - ${lastBit} with label ${label}`);\n while (word.length <= bitsPerRow + 1 && db.getPacket().length < maxPacketSize) {\n const [block, nextBlock] = getNextFittingBlock({ start, end, bits, label }, row, bitsPerRow);\n word.push(block);\n if (block.end + 1 === row * bitsPerRow) {\n db.pushWord(word);\n word = [];\n row++;\n }\n if (!nextBlock) {\n break;\n }\n ({ start, end, bits, label } = nextBlock);\n }\n }\n db.pushWord(word);\n}, \"populate\");\nvar getNextFittingBlock = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((block, row, bitsPerRow) => {\n if (block.start === void 0) {\n throw new Error(\"start should have been set during first phase\");\n }\n if (block.end === void 0) {\n throw new Error(\"end should have been set during first phase\");\n }\n if (block.start > block.end) {\n throw new Error(`Block start ${block.start} is greater than block end ${block.end}.`);\n }\n if (block.end + 1 <= row * bitsPerRow) {\n return [block, void 0];\n }\n const rowEnd = row * bitsPerRow - 1;\n const rowStart = row * bitsPerRow;\n return [\n {\n start: block.start,\n end: rowEnd,\n label: block.label,\n bits: rowEnd - block.start\n },\n {\n start: rowStart,\n end: block.end,\n label: block.label,\n bits: block.end - rowStart\n }\n ];\n}, \"getNextFittingBlock\");\nvar parser = {\n // @ts-expect-error - PacketDB is not assignable to DiagramDB\n parser: { yy: void 0 },\n parse: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(async (input) => {\n const ast = await (0,_mermaid_js_parser__WEBPACK_IMPORTED_MODULE_4__.parse)(\"packet\", input);\n const db = parser.parser?.yy;\n if (!(db instanceof PacketDB)) {\n throw new Error(\n \"parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.\"\n );\n }\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.log.debug(ast);\n populate(ast, db);\n }, \"parse\")\n};\n\n// src/diagrams/packet/renderer.ts\nvar draw = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((_text, id, _version, diagram2) => {\n const db = diagram2.db;\n const config = db.getConfig();\n const { rowHeight, paddingY, bitWidth, bitsPerRow } = config;\n const words = db.getPacket();\n const title = db.getDiagramTitle();\n const totalRowHeight = rowHeight + paddingY;\n const svgHeight = totalRowHeight * (words.length + 1) - (title ? 0 : rowHeight);\n const svgWidth = bitWidth * bitsPerRow + 2;\n const svg = (0,_chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_2__.selectSvgElement)(id);\n svg.attr(\"viewbox\", `0 0 ${svgWidth} ${svgHeight}`);\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.configureSvgSize)(svg, svgHeight, svgWidth, config.useMaxWidth);\n for (const [word, packet] of words.entries()) {\n drawWord(svg, packet, word, config);\n }\n svg.append(\"text\").text(title).attr(\"x\", svgWidth / 2).attr(\"y\", svgHeight - totalRowHeight / 2).attr(\"dominant-baseline\", \"middle\").attr(\"text-anchor\", \"middle\").attr(\"class\", \"packetTitle\");\n}, \"draw\");\nvar drawWord = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((svg, word, rowNumber, { rowHeight, paddingX, paddingY, bitWidth, bitsPerRow, showBits }) => {\n const group = svg.append(\"g\");\n const wordY = rowNumber * (rowHeight + paddingY) + paddingY;\n for (const block of word) {\n const blockX = block.start % bitsPerRow * bitWidth + 1;\n const width = (block.end - block.start + 1) * bitWidth - paddingX;\n group.append(\"rect\").attr(\"x\", blockX).attr(\"y\", wordY).attr(\"width\", width).attr(\"height\", rowHeight).attr(\"class\", \"packetBlock\");\n group.append(\"text\").attr(\"x\", blockX + width / 2).attr(\"y\", wordY + rowHeight / 2).attr(\"class\", \"packetLabel\").attr(\"dominant-baseline\", \"middle\").attr(\"text-anchor\", \"middle\").text(block.label);\n if (!showBits) {\n continue;\n }\n const isSingleBlock = block.end === block.start;\n const bitNumberY = wordY - 2;\n group.append(\"text\").attr(\"x\", blockX + (isSingleBlock ? width / 2 : 0)).attr(\"y\", bitNumberY).attr(\"class\", \"packetByte start\").attr(\"dominant-baseline\", \"auto\").attr(\"text-anchor\", isSingleBlock ? \"middle\" : \"start\").text(block.start);\n if (!isSingleBlock) {\n group.append(\"text\").attr(\"x\", blockX + width).attr(\"y\", bitNumberY).attr(\"class\", \"packetByte end\").attr(\"dominant-baseline\", \"auto\").attr(\"text-anchor\", \"end\").text(block.end);\n }\n }\n}, \"drawWord\");\nvar renderer = { draw };\n\n// src/diagrams/packet/styles.ts\nvar defaultPacketStyleOptions = {\n byteFontSize: \"10px\",\n startByteColor: \"black\",\n endByteColor: \"black\",\n labelColor: \"black\",\n labelFontSize: \"12px\",\n titleColor: \"black\",\n titleFontSize: \"14px\",\n blockStrokeColor: \"black\",\n blockStrokeWidth: \"1\",\n blockFillColor: \"#efefef\"\n};\nvar styles = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(({ packet } = {}) => {\n const options = (0,_chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__.cleanAndMerge)(defaultPacketStyleOptions, packet);\n return `\n\t.packetByte {\n\t\tfont-size: ${options.byteFontSize};\n\t}\n\t.packetByte.start {\n\t\tfill: ${options.startByteColor};\n\t}\n\t.packetByte.end {\n\t\tfill: ${options.endByteColor};\n\t}\n\t.packetLabel {\n\t\tfill: ${options.labelColor};\n\t\tfont-size: ${options.labelFontSize};\n\t}\n\t.packetTitle {\n\t\tfill: ${options.titleColor};\n\t\tfont-size: ${options.titleFontSize};\n\t}\n\t.packetBlock {\n\t\tstroke: ${options.blockStrokeColor};\n\t\tstroke-width: ${options.blockStrokeWidth};\n\t\tfill: ${options.blockFillColor};\n\t}\n\t`;\n}, \"styles\");\n\n// src/diagrams/packet/diagram.ts\nvar diagram = {\n parser,\n get db() {\n return new PacketDB();\n },\n renderer,\n styles\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/diagram-GUPCWM2R.mjs?\n}");
|
|
29
|
-
|
|
30
|
-
/***/ })
|
|
31
|
-
|
|
32
|
-
}]);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-DDUCL6P7_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-DDUCL6P7.mjs":
|
|
13
|
-
/*!********************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-DDUCL6P7.mjs ***!
|
|
15
|
-
\********************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_4HWIWPIY_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-4HWIWPIY.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-4HWIWPIY.mjs\");\n/* harmony import */ var _chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-T57MJCP2.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-T57MJCP2.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n/* harmony import */ var _mermaid_js_parser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @mermaid-js/parser */ \"./node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs\");\n\n\n\n\n// src/diagrams/info/infoParser.ts\n\nvar parser = {\n parse: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.__name)(async (input) => {\n const ast = await (0,_mermaid_js_parser__WEBPACK_IMPORTED_MODULE_3__.parse)(\"info\", input);\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.log.debug(ast);\n }, \"parse\")\n};\n\n// src/diagrams/info/infoDb.ts\nvar DEFAULT_INFO_DB = {\n version: _chunk_4HWIWPIY_mjs__WEBPACK_IMPORTED_MODULE_0__.package_default.version + ( true ? \"\" : 0)\n};\nvar getVersion = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.__name)(() => DEFAULT_INFO_DB.version, \"getVersion\");\nvar db = {\n getVersion\n};\n\n// src/diagrams/info/infoRenderer.ts\nvar draw = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.__name)((text, id, version) => {\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.log.debug(\"rendering info diagram\\n\" + text);\n const svg = (0,_chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_1__.selectSvgElement)(id);\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_2__.configureSvgSize)(svg, 100, 400, true);\n const group = svg.append(\"g\");\n group.append(\"text\").attr(\"x\", 100).attr(\"y\", 40).attr(\"class\", \"version\").attr(\"font-size\", 32).style(\"text-anchor\", \"middle\").text(`v${version}`);\n}, \"draw\");\nvar renderer = { draw };\n\n// src/diagrams/info/infoDiagram.ts\nvar diagram = {\n parser,\n db,\n renderer\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-DDUCL6P7.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ })
|
|
21
|
-
|
|
22
|
-
}]);
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-DBDJKBY4_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs":
|
|
13
|
-
/*!**************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs ***!
|
|
15
|
-
\**************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ populateCommonDb: () => (/* binding */ populateCommonDb)\n/* harmony export */ });\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n\n\n// src/diagrams/common/populateCommonDb.ts\nfunction populateCommonDb(ast, db) {\n if (ast.accDescr) {\n db.setAccDescription?.(ast.accDescr);\n }\n if (ast.accTitle) {\n db.setAccTitle?.(ast.accTitle);\n }\n if (ast.title) {\n db.setDiagramTitle?.(ast.title);\n }\n}\n(0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_0__.__name)(populateCommonDb, \"populateCommonDb\");\n\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ }),
|
|
21
|
-
|
|
22
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DBDJKBY4.mjs":
|
|
23
|
-
/*!*******************************************************************************!*\
|
|
24
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DBDJKBY4.mjs ***!
|
|
25
|
-
\*******************************************************************************/
|
|
26
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
27
|
-
|
|
28
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_ANTBXLJU_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-ANTBXLJU.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-ANTBXLJU.mjs\");\n/* harmony import */ var _chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-U37J5Y7L.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.mjs\");\n/* harmony import */ var _chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-T57MJCP2.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-T57MJCP2.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n/* harmony import */ var _mermaid_js_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @mermaid-js/parser */ \"./node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs\");\n/* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! d3 */ \"./node_modules/d3/src/index.js\");\n\n\n\n\n\n// src/diagrams/pie/pieParser.ts\n\n\n// src/diagrams/pie/pieDb.ts\nvar DEFAULT_PIE_CONFIG = _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.defaultConfig_default.pie;\nvar DEFAULT_PIE_DB = {\n sections: /* @__PURE__ */ new Map(),\n showData: false,\n config: DEFAULT_PIE_CONFIG\n};\nvar sections = DEFAULT_PIE_DB.sections;\nvar showData = DEFAULT_PIE_DB.showData;\nvar config = structuredClone(DEFAULT_PIE_CONFIG);\nvar getConfig2 = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(() => structuredClone(config), \"getConfig\");\nvar clear2 = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(() => {\n sections = /* @__PURE__ */ new Map();\n showData = DEFAULT_PIE_DB.showData;\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.clear)();\n}, \"clear\");\nvar addSection = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(({ label, value }) => {\n if (value < 0) {\n throw new Error(\n `\"${label}\" has invalid value: ${value}. Negative values are not allowed in pie charts. All slice values must be >= 0.`\n );\n }\n if (!sections.has(label)) {\n sections.set(label, value);\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.log.debug(`added new section: ${label}, with value: ${value}`);\n }\n}, \"addSection\");\nvar getSections = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(() => sections, \"getSections\");\nvar setShowData = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((toggle) => {\n showData = toggle;\n}, \"setShowData\");\nvar getShowData = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(() => showData, \"getShowData\");\nvar db = {\n getConfig: getConfig2,\n clear: clear2,\n setDiagramTitle: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setDiagramTitle,\n getDiagramTitle: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getDiagramTitle,\n setAccTitle: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setAccTitle,\n getAccTitle: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getAccTitle,\n setAccDescription: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.setAccDescription,\n getAccDescription: _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getAccDescription,\n addSection,\n getSections,\n setShowData,\n getShowData\n};\n\n// src/diagrams/pie/pieParser.ts\nvar populateDb = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((ast, db2) => {\n (0,_chunk_ANTBXLJU_mjs__WEBPACK_IMPORTED_MODULE_0__.populateCommonDb)(ast, db2);\n db2.setShowData(ast.showData);\n ast.sections.map(db2.addSection);\n}, \"populateDb\");\nvar parser = {\n parse: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)(async (input) => {\n const ast = await (0,_mermaid_js_parser__WEBPACK_IMPORTED_MODULE_4__.parse)(\"pie\", input);\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.log.debug(ast);\n populateDb(ast, db);\n }, \"parse\")\n};\n\n// src/diagrams/pie/pieStyles.ts\nvar getStyles = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((options) => `\n .pieCircle{\n stroke: ${options.pieStrokeColor};\n stroke-width : ${options.pieStrokeWidth};\n opacity : ${options.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${options.pieOuterStrokeColor};\n stroke-width: ${options.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${options.pieTitleTextSize};\n fill: ${options.pieTitleTextColor};\n font-family: ${options.fontFamily};\n }\n .slice {\n font-family: ${options.fontFamily};\n fill: ${options.pieSectionTextColor};\n font-size:${options.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${options.pieLegendTextColor};\n font-family: ${options.fontFamily};\n font-size: ${options.pieLegendTextSize};\n }\n`, \"getStyles\");\nvar pieStyles_default = getStyles;\n\n// src/diagrams/pie/pieRenderer.ts\n\nvar createPieArcs = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((sections2) => {\n const sum = [...sections2.values()].reduce((acc, val) => acc + val, 0);\n const pieData = [...sections2.entries()].map(([label, value]) => ({ label, value })).filter((d) => d.value / sum * 100 >= 1).sort((a, b) => b.value - a.value);\n const pie = (0,d3__WEBPACK_IMPORTED_MODULE_5__.pie)().value((d) => d.value);\n return pie(pieData);\n}, \"createPieArcs\");\nvar draw = /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.__name)((text, id, _version, diagObj) => {\n _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.log.debug(\"rendering pie chart\\n\" + text);\n const db2 = diagObj.db;\n const globalConfig = (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.getConfig2)();\n const pieConfig = (0,_chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__.cleanAndMerge)(db2.getConfig(), globalConfig.pie);\n const MARGIN = 40;\n const LEGEND_RECT_SIZE = 18;\n const LEGEND_SPACING = 4;\n const height = 450;\n const pieWidth = height;\n const svg = (0,_chunk_T57MJCP2_mjs__WEBPACK_IMPORTED_MODULE_2__.selectSvgElement)(id);\n const group = svg.append(\"g\");\n group.attr(\"transform\", \"translate(\" + pieWidth / 2 + \",\" + height / 2 + \")\");\n const { themeVariables } = globalConfig;\n let [outerStrokeWidth] = (0,_chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_1__.parseFontSize)(themeVariables.pieOuterStrokeWidth);\n outerStrokeWidth ??= 2;\n const textPosition = pieConfig.textPosition;\n const radius = Math.min(pieWidth, height) / 2 - MARGIN;\n const arcGenerator = (0,d3__WEBPACK_IMPORTED_MODULE_5__.arc)().innerRadius(0).outerRadius(radius);\n const labelArcGenerator = (0,d3__WEBPACK_IMPORTED_MODULE_5__.arc)().innerRadius(radius * textPosition).outerRadius(radius * textPosition);\n group.append(\"circle\").attr(\"cx\", 0).attr(\"cy\", 0).attr(\"r\", radius + outerStrokeWidth / 2).attr(\"class\", \"pieOuterCircle\");\n const sections2 = db2.getSections();\n const arcs = createPieArcs(sections2);\n const myGeneratedColors = [\n themeVariables.pie1,\n themeVariables.pie2,\n themeVariables.pie3,\n themeVariables.pie4,\n themeVariables.pie5,\n themeVariables.pie6,\n themeVariables.pie7,\n themeVariables.pie8,\n themeVariables.pie9,\n themeVariables.pie10,\n themeVariables.pie11,\n themeVariables.pie12\n ];\n let sum = 0;\n sections2.forEach((section) => {\n sum += section;\n });\n const filteredArcs = arcs.filter((datum) => (datum.data.value / sum * 100).toFixed(0) !== \"0\");\n const color = (0,d3__WEBPACK_IMPORTED_MODULE_5__.scaleOrdinal)(myGeneratedColors);\n group.selectAll(\"mySlices\").data(filteredArcs).enter().append(\"path\").attr(\"d\", arcGenerator).attr(\"fill\", (datum) => {\n return color(datum.data.label);\n }).attr(\"class\", \"pieCircle\");\n group.selectAll(\"mySlices\").data(filteredArcs).enter().append(\"text\").text((datum) => {\n return (datum.data.value / sum * 100).toFixed(0) + \"%\";\n }).attr(\"transform\", (datum) => {\n return \"translate(\" + labelArcGenerator.centroid(datum) + \")\";\n }).style(\"text-anchor\", \"middle\").attr(\"class\", \"slice\");\n group.append(\"text\").text(db2.getDiagramTitle()).attr(\"x\", 0).attr(\"y\", -(height - 50) / 2).attr(\"class\", \"pieTitleText\");\n const allSectionData = [...sections2.entries()].map(([label, value]) => ({\n label,\n value\n }));\n const legend = group.selectAll(\".legend\").data(allSectionData).enter().append(\"g\").attr(\"class\", \"legend\").attr(\"transform\", (_datum, index) => {\n const height2 = LEGEND_RECT_SIZE + LEGEND_SPACING;\n const offset = height2 * allSectionData.length / 2;\n const horizontal = 12 * LEGEND_RECT_SIZE;\n const vertical = index * height2 - offset;\n return \"translate(\" + horizontal + \",\" + vertical + \")\";\n });\n legend.append(\"rect\").attr(\"width\", LEGEND_RECT_SIZE).attr(\"height\", LEGEND_RECT_SIZE).style(\"fill\", (d) => color(d.label)).style(\"stroke\", (d) => color(d.label));\n legend.append(\"text\").attr(\"x\", LEGEND_RECT_SIZE + LEGEND_SPACING).attr(\"y\", LEGEND_RECT_SIZE - LEGEND_SPACING).text((d) => {\n if (db2.getShowData()) {\n return `${d.label} [${d.value}]`;\n }\n return d.label;\n });\n const longestTextWidth = Math.max(\n ...legend.selectAll(\"text\").nodes().map((node) => node?.getBoundingClientRect().width ?? 0)\n );\n const totalWidth = pieWidth + MARGIN + LEGEND_RECT_SIZE + LEGEND_SPACING + longestTextWidth;\n svg.attr(\"viewBox\", `0 0 ${totalWidth} ${height}`);\n (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_3__.configureSvgSize)(svg, height, totalWidth, pieConfig.useMaxWidth);\n}, \"draw\");\nvar renderer = { draw };\n\n// src/diagrams/pie/pieDiagram.ts\nvar diagram = {\n parser,\n db,\n renderer,\n styles: pieStyles_default\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DBDJKBY4.mjs?\n}");
|
|
29
|
-
|
|
30
|
-
/***/ })
|
|
31
|
-
|
|
32
|
-
}]);
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
|
5
|
-
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
7
|
-
* or disable the default devtool with "devtool: false".
|
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
9
|
-
*/
|
|
10
|
-
(self["webpackChunk_mdts_frontend"] = self["webpackChunk_mdts_frontend"] || []).push([["node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-EYPG3UTE_mjs"],{
|
|
11
|
-
|
|
12
|
-
/***/ "./node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-EYPG3UTE.mjs":
|
|
13
|
-
/*!************************************************************************************!*\
|
|
14
|
-
!*** ./node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-EYPG3UTE.mjs ***!
|
|
15
|
-
\************************************************************************************/
|
|
16
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17
|
-
|
|
18
|
-
eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ diagram: () => (/* binding */ diagram)\n/* harmony export */ });\n/* harmony import */ var _chunk_LXBSTHXV_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-LXBSTHXV.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-LXBSTHXV.mjs\");\n/* harmony import */ var _chunk_WVR4S24B_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-WVR4S24B.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WVR4S24B.mjs\");\n/* harmony import */ var _chunk_NRVI72HA_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-NRVI72HA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NRVI72HA.mjs\");\n/* harmony import */ var _chunk_NXG7ZM6U_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-NXG7ZM6U.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NXG7ZM6U.mjs\");\n/* harmony import */ var _chunk_NCRKNZAS_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./chunk-NCRKNZAS.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-NCRKNZAS.mjs\");\n/* harmony import */ var _chunk_WH6PBGIT_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./chunk-WH6PBGIT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-WH6PBGIT.mjs\");\n/* harmony import */ var _chunk_CV3G5MRU_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./chunk-CV3G5MRU.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-CV3G5MRU.mjs\");\n/* harmony import */ var _chunk_JSVUIEYQ_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./chunk-JSVUIEYQ.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-JSVUIEYQ.mjs\");\n/* harmony import */ var _chunk_7RNWAQOT_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./chunk-7RNWAQOT.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-7RNWAQOT.mjs\");\n/* harmony import */ var _chunk_62K37W7T_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./chunk-62K37W7T.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-62K37W7T.mjs\");\n/* harmony import */ var _chunk_U37J5Y7L_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./chunk-U37J5Y7L.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.mjs\");\n/* harmony import */ var _chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./chunk-VIW5F6AA.mjs */ \"./node_modules/mermaid/dist/chunks/mermaid.core/chunk-VIW5F6AA.mjs\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n// src/diagrams/state/stateDiagram-v2.ts\nvar diagram = {\n parser: _chunk_LXBSTHXV_mjs__WEBPACK_IMPORTED_MODULE_0__.stateDiagram_default,\n get db() {\n return new _chunk_LXBSTHXV_mjs__WEBPACK_IMPORTED_MODULE_0__.StateDB(2);\n },\n renderer: _chunk_LXBSTHXV_mjs__WEBPACK_IMPORTED_MODULE_0__.stateRenderer_v3_unified_default,\n styles: _chunk_LXBSTHXV_mjs__WEBPACK_IMPORTED_MODULE_0__.styles_default,\n init: /* @__PURE__ */ (0,_chunk_VIW5F6AA_mjs__WEBPACK_IMPORTED_MODULE_11__.__name)((cnf) => {\n if (!cnf.state) {\n cnf.state = {};\n }\n cnf.state.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n }, \"init\")\n};\n\n\n\n//# sourceURL=webpack://@mdts/frontend/./node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-EYPG3UTE.mjs?\n}");
|
|
19
|
-
|
|
20
|
-
/***/ })
|
|
21
|
-
|
|
22
|
-
}]);
|