@mermaid-js/mermaid-zenuml 0.1.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.
@@ -0,0 +1,3 @@
1
+ import type { ExternalDiagramDefinition } from 'mermaid';
2
+ declare const plugin: ExternalDiagramDefinition;
3
+ export default plugin;
@@ -0,0 +1,17 @@
1
+ const id = "zenuml";
2
+ const regexp = /^\s*zenuml/;
3
+ const detector = (txt) => {
4
+ return txt.match(regexp) !== null;
5
+ };
6
+ const loader = async () => {
7
+ const { diagram } = await import("./zenuml-definition-981ee032.js");
8
+ return { id, diagram };
9
+ };
10
+ const plugin = {
11
+ id,
12
+ detector,
13
+ loader
14
+ };
15
+ export {
16
+ plugin as default
17
+ };
@@ -0,0 +1,11 @@
1
+ const n = "zenuml", e = /^\s*zenuml/, o = (t) => t.match(e) !== null, r = async () => {
2
+ const { diagram: t } = await import("./zenuml-definition-b4b159b2.js");
3
+ return { id: n, diagram: t };
4
+ }, a = {
5
+ id: n,
6
+ detector: o,
7
+ loader: r
8
+ };
9
+ export {
10
+ a as default
11
+ };
@@ -0,0 +1,17 @@
1
+ const id = "zenuml";
2
+ const regexp = /^\s*zenuml/;
3
+ const detector = (txt) => {
4
+ return txt.match(regexp) !== null;
5
+ };
6
+ const loader = async () => {
7
+ const { diagram } = await import("./zenuml-definition-23066775.js");
8
+ return { id, diagram };
9
+ };
10
+ const plugin = {
11
+ id,
12
+ detector,
13
+ loader
14
+ };
15
+ export {
16
+ plugin as default
17
+ };