@elmethis/core 1.0.0-alpha.143 → 1.0.0-alpha.145
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/{Bash-BYALHxBA.js → Bash-aFIJDfx0.js} +1 -1
- package/dist/{Css-B_lIFKfr.js → Css-aYNwv_jI.js} +1 -1
- package/dist/{ElmShikiHighlighter-g41rU8iG.js → ElmShikiHighlighter--ESSD5xl.js} +1 -1
- package/dist/{Rust-DinaeL7B.js → Rust-CcTG3HST.js} +1 -1
- package/dist/{_basePickBy-Cu6p_7XW.js → _basePickBy-q3OsvEq8.js} +3 -3
- package/dist/{_baseUniq-EFAhWRZ_.js → _baseUniq-DXyFBvJx.js} +2 -2
- package/dist/{arc-XU5WZqau.js → arc-BLiqnhIS.js} +1 -1
- package/dist/{architecture-I3QFYML2-B3DQFv0i.js → architecture-4AB2E3PP-CJBMa096.js} +1 -1
- package/dist/{architectureDiagram-PQUH6ZAG-C8VLuNh-.js → architectureDiagram-IEHRJDOE-BmZLGcAR.js} +4 -4
- package/dist/{blockDiagram-5JUZGEFE-Oz114lB1.js → blockDiagram-JOT3LUYC-CirZxs50.js} +4 -4
- package/dist/{c4Diagram-7JAJQR3Y-HFTedFjh.js → c4Diagram-VJAJSXHY-CT04iVyI.js} +2 -2
- package/dist/{channel-CZoD2q3F.js → channel-DJoWX82m.js} +1 -1
- package/dist/{chunk-IUKPXING-3BMeQhuQ.js → chunk-4BMEZGHF-DbrRFQBV.js} +1 -1
- package/dist/{chunk-5V4FS25O-BgKN92Ak.js → chunk-A2AXSNBT-8nnxOxzM.js} +2 -2
- package/dist/{chunk-4IRHCMPZ-gjkKBXZH.js → chunk-AEK57VVT-BuA3ibij.js} +2 -2
- package/dist/{chunk-PLTTB2RT-C5TfzwCE.js → chunk-D6G4REZN-C3CadGUl.js} +1 -1
- package/dist/{chunk-2O5F6CEG-_P2-sobY.js → chunk-RZ5BOZE2-bPOa0Bzk.js} +1 -1
- package/dist/{chunk-66XRIAFR-DuWbXcnI.js → chunk-XZIHB7SX-tSNzo5Pm.js} +1 -1
- package/dist/{classDiagram-v2-JRWBCVM4-DoPWwUsO.js → classDiagram-GIVACNV2-Ikn0C8nj.js} +2 -2
- package/dist/{classDiagram-L266QK7U-DoPWwUsO.js → classDiagram-v2-COTLJTTW-Ikn0C8nj.js} +2 -2
- package/dist/{clone-D41a067H.js → clone-KYMNdRyb.js} +1 -1
- package/dist/components/headings/ElmHeading1.vue.d.ts +7 -1
- package/dist/components/headings/ElmHeading2.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading3.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading4.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading5.vue.d.ts +6 -0
- package/dist/components/headings/ElmHeading6.vue.d.ts +6 -0
- package/dist/{dagre-QXRM2OYR-B5ENZ7-y.js → dagre-OKDRZEBW-Dd5I26Ao.js} +6 -6
- package/dist/diagram-SSKATNLV-DZNkfESc.js +221 -0
- package/dist/{diagram-DHSB7DV3-Dqr8CsWn.js → diagram-VNBRO52H-CEw-lSHb.js} +3 -3
- package/dist/elmethis.js +2 -2
- package/dist/{erDiagram-MVNNDQJ5-CXPSajpL.js → erDiagram-Q7BY3M3F-Bi-5rbd2.js} +3 -3
- package/dist/{flowDiagram-27HWSH3H-DDg__sQI.js → flowDiagram-4HSFHLVR-Bep2tb38.js} +8 -5
- package/dist/{ganttDiagram-ZCE2YOAT-ItVuJVUp.js → ganttDiagram-APWFNJXF-MiSNV5UX.js} +2 -2
- package/dist/{gitGraph-YCYPL57B-CxR8jlxB.js → gitGraph-O2Q2CXLX-2aBB3Qlu.js} +1 -1
- package/dist/{gitGraphDiagram-ISGV4O2Y-DhGxfQ9h.js → gitGraphDiagram-7IBYFJ6S-BeIrUUuR.js} +4 -4
- package/dist/{graph-C5-dvh3P.js → graph-BN6Ja3dj.js} +2 -2
- package/dist/{index-BxVt53X-.js → index-DzMRhuTS.js} +923 -906
- package/dist/info-4N47QTOZ-MlaygFtp.js +5 -0
- package/dist/{infoDiagram-SDLB2J7W-BkEUp5pe.js → infoDiagram-PH2N3AL5-CLDi4hXF.js} +2 -2
- package/dist/{journeyDiagram-D7A75E63-ByRCBusL.js → journeyDiagram-U35MCT3I-DF_hle8P.js} +3 -3
- package/dist/{kanban-definition-4GR4SRK3-C9FjXyfa.js → kanban-definition-NDS4AKOZ-D2HjB3aQ.js} +1 -1
- package/dist/{layout-DMOm3fPE.js → layout-eoX7qCNd.js} +5 -5
- package/dist/{linear-vosxqUwV.js → linear-CjVlzhPx.js} +1 -1
- package/dist/{mermaid-parser.core-num6RVDI.js → mermaid-parser.core-Cnk6H5Tf.js} +3505 -3145
- package/dist/{mermaid.core-CUpbGzSU.js → mermaid.core-CVg1AOGh.js} +3100 -2994
- package/dist/{mindmap-definition-7EJRZJGK-BS0DECYa.js → mindmap-definition-ALO5MXBD-RsXchRow.js} +1 -1
- package/dist/{packet-W2GHVCYJ-BGxlha7O.js → packet-KVYON367-B0ibT50B.js} +1 -1
- package/dist/pie-R6RNRRYF-eieuCIEv.js +5 -0
- package/dist/{pieDiagram-OC6WZ2SS-DyaIY5eh.js → pieDiagram-IB7DONF6-z3HiYOHT.js} +4 -4
- package/dist/{quadrantDiagram-OT6RYTWY-KqGbwtVf.js → quadrantDiagram-7GDLP6J5-DKNPBuF7.js} +2 -2
- package/dist/radar-MK3ICKWK-EavvS0dk.js +5 -0
- package/dist/{requirementDiagram-BKGUWIPO-B8gVW9iZ.js → requirementDiagram-KVF5MWMF-CVtQbDO9.js} +4 -3
- package/dist/{sankeyDiagram-3MH5UGAL-CxuzhDHO.js → sankeyDiagram-QLVOVGJD-Bv56p0v8.js} +1 -1
- package/dist/{sequenceDiagram-C4VUPXDP-B5QnHsap.js → sequenceDiagram-X6HHIX6F-B6HsmiCo.js} +3 -3
- package/dist/{stateDiagram-BVO7J4UH-C5UzuGHi.js → stateDiagram-DGXRK772-DisyN0eE.js} +4 -4
- package/dist/{stateDiagram-v2-WR7QG3WR-DlgZMlRM.js → stateDiagram-v2-YXO3MK2T-DLdp-rnZ.js} +2 -2
- package/dist/{timeline-definition-WOTUTIAU-CmmAwmKk.js → timeline-definition-BDJGKUSR-BXC_uTuM.js} +2 -2
- package/dist/{xychartDiagram-NJOKMNIP-DqY2kGQA.js → xychartDiagram-VJFVF3MP-CkPa_K58.js} +2 -2
- package/package.json +17 -17
- package/dist/info-46DW6VJ7-CzTI5cDT.js +0 -5
- package/dist/pie-BEWT4RHE-DWWPbog1.js +0 -5
|
@@ -2,7 +2,7 @@ var gn = Object.defineProperty;
|
|
|
2
2
|
var yn = (n, e, t) => e in n ? gn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var d = (n, e, t) => yn(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { defineComponent as _n, ref as bn, onMounted as Sn, createElementBlock as Cn, openBlock as wn, normalizeClass as kn, createElementVNode as vn } from "vue";
|
|
5
|
-
import { _ as Rn } from "./index-
|
|
5
|
+
import { _ as Rn } from "./index-DzMRhuTS.js";
|
|
6
6
|
let P = class extends Error {
|
|
7
7
|
constructor(e) {
|
|
8
8
|
super(e), this.name = "ShikiError";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as t, createElementVNode as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-DzMRhuTS.js";
|
|
3
3
|
const s = {}, r = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
viewBox: "0 0 128 128",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as b, e as m, k as O, g as P, h as p, j as w, l as v, t as N, m as c } from "./_baseUniq-
|
|
2
|
-
import { aK as g, aq as A, aL as M, aM as E, aN as F, aO as x, aP as _, aQ as $, aR as y } from "./mermaid.core-
|
|
3
|
-
import { i as I, a as B, b as T } from "./index-
|
|
1
|
+
import { c as b, e as m, k as O, g as P, h as p, j as w, l as v, t as N, m as c } from "./_baseUniq-DXyFBvJx.js";
|
|
2
|
+
import { aK as g, aq as A, aL as M, aM as E, aN as F, aO as x, aP as _, aQ as $, aR as y } from "./mermaid.core-CVg1AOGh.js";
|
|
3
|
+
import { i as I, a as B, b as T } from "./index-DzMRhuTS.js";
|
|
4
4
|
var L = /\s/;
|
|
5
5
|
function R(n) {
|
|
6
6
|
for (var r = n.length; r-- && L.test(n.charAt(r)); )
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as h, i as tn, t as Pn, S as w, c as L, a as In, d as Sn } from "./index-
|
|
2
|
-
import { b9 as Ln, ba as Rn, aO as an, bb as xn, bc as fn, bd as x, aM as N, be as Mn, bf as sn, bg as mn, bh as v, b7 as un, bi as R, aK as gn, bj as Cn, bk as D, bl as Fn, bm as Dn, bn as $, aR as Gn, bo as Nn, aN as Un, bp as Z, bq as Bn, br as Kn, aQ as jn, aP as on, b5 as Hn, bs as m } from "./mermaid.core-
|
|
1
|
+
import { b as h, i as tn, t as Pn, S as w, c as L, a as In, d as Sn } from "./index-DzMRhuTS.js";
|
|
2
|
+
import { b9 as Ln, ba as Rn, aO as an, bb as xn, bc as fn, bd as x, aM as N, be as Mn, bf as sn, bg as mn, bh as v, b7 as un, bi as R, aK as gn, bj as Cn, bk as D, bl as Fn, bm as Dn, bn as $, aR as Gn, bo as Nn, aN as Un, bp as Z, bq as Bn, br as Kn, aQ as jn, aP as on, b5 as Hn, bs as m } from "./mermaid.core-CVg1AOGh.js";
|
|
3
3
|
function qn() {
|
|
4
4
|
}
|
|
5
5
|
function ln(n, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ln, N as an, O as Y, P as O, Q, R as un, S as y, T as tn, V as j, W as _, X as rn, Y as o, Z as sn, $ as on, a0 as fn } from "./mermaid.core-
|
|
1
|
+
import { M as ln, N as an, O as Y, P as O, Q, R as un, S as y, T as tn, V as j, W as _, X as rn, Y as o, Z as sn, $ as on, a0 as fn } from "./mermaid.core-CVg1AOGh.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
package/dist/{architectureDiagram-PQUH6ZAG-C8VLuNh-.js → architectureDiagram-IEHRJDOE-BmZLGcAR.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aG as qe, _ as nt, g as Je, s as Qe, a as Ke, b as je, t as _e, q as tr, K as er, ab as rr, z as ir, l as Pe, al as Le, c as ge, aH as me, d as ar, H as nr, aI as or, aJ as sr } from "./mermaid.core-
|
|
2
|
-
import { p as hr } from "./chunk-
|
|
3
|
-
import { I as lr } from "./chunk-
|
|
4
|
-
import { p as fr } from "./mermaid-parser.core-
|
|
1
|
+
import { aG as qe, _ as nt, g as Je, s as Qe, a as Ke, b as je, t as _e, q as tr, K as er, ab as rr, z as ir, l as Pe, al as Le, c as ge, aH as me, d as ar, H as nr, aI as or, aJ as sr } from "./mermaid.core-CVg1AOGh.js";
|
|
2
|
+
import { p as hr } from "./chunk-4BMEZGHF-DbrRFQBV.js";
|
|
3
|
+
import { I as lr } from "./chunk-XZIHB7SX-tSNzo5Pm.js";
|
|
4
|
+
import { p as fr } from "./mermaid-parser.core-Cnk6H5Tf.js";
|
|
5
5
|
import { c as Ge } from "./cytoscape.esm-aRg21b6u.js";
|
|
6
6
|
var le = { exports: {} }, fe = { exports: {} }, ce = { exports: {} }, cr = ce.exports, xe;
|
|
7
7
|
function ur() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as d, G as at, d as R, e as de, l as L, z as ge, B as ue, c as z, aj as pe, a8 as fe, a9 as xe, ak as Z, al as Yt, am as ye, u as tt, k as be, an as we, ao as xt, ap as me, i as Tt } from "./mermaid.core-
|
|
2
|
-
import { c as Le } from "./clone-
|
|
3
|
-
import { G as Se } from "./graph-
|
|
4
|
-
import { c as ve } from "./channel-
|
|
1
|
+
import { _ as d, G as at, d as R, e as de, l as L, z as ge, B as ue, c as z, aj as pe, a8 as fe, a9 as xe, ak as Z, al as Yt, am as ye, u as tt, k as be, an as we, ao as xt, ap as me, i as Tt } from "./mermaid.core-CVg1AOGh.js";
|
|
2
|
+
import { c as Le } from "./clone-KYMNdRyb.js";
|
|
3
|
+
import { G as Se } from "./graph-BN6Ja3dj.js";
|
|
4
|
+
import { c as ve } from "./channel-DJoWX82m.js";
|
|
5
5
|
var yt = function() {
|
|
6
6
|
var e = /* @__PURE__ */ d(function(N, x, g, u) {
|
|
7
7
|
for (g = g || {}, u = N.length; u--; g[N[u]] = x) ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Se, d as De } from "./chunk-
|
|
2
|
-
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./mermaid.core-
|
|
1
|
+
import { g as Se, d as De } from "./chunk-D6G4REZN-C3CadGUl.js";
|
|
2
|
+
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./mermaid.core-CVg1AOGh.js";
|
|
3
3
|
var Ft = function() {
|
|
4
4
|
var e = /* @__PURE__ */ g(function(_t, x, m, v) {
|
|
5
5
|
for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as l } from "./mermaid.core-
|
|
1
|
+
import { _ as l } from "./mermaid.core-CVg1AOGh.js";
|
|
2
2
|
function m(e, c) {
|
|
3
3
|
var i, t, o;
|
|
4
4
|
e.accDescr && ((i = c.setAccDescription) == null || i.call(c, e.accDescr)), e.accTitle && ((t = c.setAccTitle) == null || t.call(c, e.accTitle)), e.title && ((o = c.setDiagramTitle) == null || o.call(c, e.title));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as et, s as tt } from "./chunk-
|
|
2
|
-
import { _ as f, l as Oe, c as F, p as st, r as it, u as we, d as $, b as at, a as nt, s as rt, g as ut, q as lt, t as ct, k as v, z as ot, y as ht, i as dt, a7 as R } from "./mermaid.core-
|
|
1
|
+
import { g as et, s as tt } from "./chunk-RZ5BOZE2-bPOa0Bzk.js";
|
|
2
|
+
import { _ as f, l as Oe, c as F, p as st, r as it, u as we, d as $, b as at, a as nt, s as rt, g as ut, q as lt, t as ct, k as v, z as ot, y as ht, i as dt, a7 as R } from "./mermaid.core-CVg1AOGh.js";
|
|
3
3
|
var Ve = function() {
|
|
4
4
|
var s = /* @__PURE__ */ f(function(I, c, h, p) {
|
|
5
5
|
for (h = h || {}, p = I.length; p--; h[I[p]] = c) ;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var re = Object.defineProperty;
|
|
2
2
|
var ae = (e, t, s) => t in e ? re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
3
|
var b = (e, t, s) => ae(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { g as ne, s as le } from "./chunk-
|
|
5
|
-
import { _ as p, l as v, c as A, r as oe, u as ce, aa as he, k as j, z as ue, a as de, b as fe, g as pe, s as Se, q as ye, t as ge } from "./mermaid.core-
|
|
4
|
+
import { g as ne, s as le } from "./chunk-RZ5BOZE2-bPOa0Bzk.js";
|
|
5
|
+
import { _ as p, l as v, c as A, r as oe, u as ce, aa as he, k as j, z as ue, a as de, b as fe, g as pe, s as Se, q as ye, t as ge } from "./mermaid.core-CVg1AOGh.js";
|
|
6
6
|
var bt = function() {
|
|
7
7
|
var e = /* @__PURE__ */ p(function(P, l, h, a) {
|
|
8
8
|
for (h = h || {}, a = P.length; a--; h[P[a]] = l) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, n as o, j as l } from "./mermaid.core-
|
|
1
|
+
import { _ as n, n as o, j as l } from "./mermaid.core-CVg1AOGh.js";
|
|
2
2
|
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, d as r, e as d, l as g } from "./mermaid.core-
|
|
1
|
+
import { _ as n, d as r, e as d, l as g } from "./mermaid.core-CVg1AOGh.js";
|
|
2
2
|
var u = /* @__PURE__ */ n((e, t) => {
|
|
3
3
|
let o;
|
|
4
4
|
return t === "sandbox" && (o = r("#i" + e)), (t === "sandbox" ? r(o.nodes()[0].contentDocument.body) : r("body")).select(`[id="${e}"]`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-
|
|
2
|
-
import { _ as l } from "./mermaid.core-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-8nnxOxzM.js";
|
|
2
|
+
import { _ as l } from "./mermaid.core-CVg1AOGh.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-
|
|
2
|
-
import { _ as l } from "./mermaid.core-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-8nnxOxzM.js";
|
|
2
|
+
import { _ as l } from "./mermaid.core-CVg1AOGh.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -13,10 +13,16 @@ export interface ElmHeading1Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading1Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading1Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
26
|
target: HTMLHeadingElement;
|
|
21
|
-
},
|
|
27
|
+
}, any>;
|
|
22
28
|
export default _default;
|
|
@@ -13,9 +13,15 @@ export interface ElmHeading2Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading2Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading2Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
26
|
target: HTMLHeadingElement;
|
|
21
27
|
}, any>;
|
|
@@ -13,9 +13,15 @@ export interface ElmHeading3Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading3Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading3Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
26
|
target: HTMLHeadingElement;
|
|
21
27
|
}, any>;
|
|
@@ -13,8 +13,14 @@ export interface ElmHeading4Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading4Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading4Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
26
|
export default _default;
|
|
@@ -13,8 +13,14 @@ export interface ElmHeading5Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading5Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading5Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
26
|
export default _default;
|
|
@@ -13,8 +13,14 @@ export interface ElmHeading6Props {
|
|
|
13
13
|
* Default is kebab-cased `text`. (using lodash)
|
|
14
14
|
*/
|
|
15
15
|
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to disable fragment identifier.
|
|
18
|
+
* Default is `false`.
|
|
19
|
+
*/
|
|
20
|
+
disableFragmentIdentifier?: boolean;
|
|
16
21
|
}
|
|
17
22
|
declare const _default: import('vue').DefineComponent<ElmHeading6Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmHeading6Props> & Readonly<{}>, {
|
|
18
23
|
size: Property.FontSize;
|
|
24
|
+
disableFragmentIdentifier: boolean;
|
|
19
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
26
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as X, av as F, aw as Y, ax as _, ay as H, l as i, c as V, az as z, aA as U, ah as $, am as q, ai as P, ag as K, aB as Q, aC as W, aD as Z } from "./mermaid.core-
|
|
2
|
-
import { G as B } from "./graph-
|
|
3
|
-
import { l as I } from "./layout-
|
|
4
|
-
import { i as x } from "./_baseUniq-
|
|
5
|
-
import { c as L } from "./clone-
|
|
6
|
-
import { m as A } from "./_basePickBy-
|
|
1
|
+
import { _ as X, av as F, aw as Y, ax as _, ay as H, l as i, c as V, az as z, aA as U, ah as $, am as q, ai as P, ag as K, aB as Q, aC as W, aD as Z } from "./mermaid.core-CVg1AOGh.js";
|
|
2
|
+
import { G as B } from "./graph-BN6Ja3dj.js";
|
|
3
|
+
import { l as I } from "./layout-eoX7qCNd.js";
|
|
4
|
+
import { i as x } from "./_baseUniq-DXyFBvJx.js";
|
|
5
|
+
import { c as L } from "./clone-KYMNdRyb.js";
|
|
6
|
+
import { m as A } from "./_basePickBy-q3OsvEq8.js";
|
|
7
7
|
function p(e) {
|
|
8
8
|
var t = {
|
|
9
9
|
options: {
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { p as k } from "./chunk-4BMEZGHF-DbrRFQBV.js";
|
|
2
|
+
import { _ as l, s as R, g as F, t as I, q as _, a as E, b as D, K as G, z, F as y, G as C, H as P, l as H, a1 as V } from "./mermaid.core-CVg1AOGh.js";
|
|
3
|
+
import { p as W } from "./mermaid-parser.core-Cnk6H5Tf.js";
|
|
4
|
+
var x = {
|
|
5
|
+
showLegend: !0,
|
|
6
|
+
ticks: 5,
|
|
7
|
+
max: null,
|
|
8
|
+
min: 0,
|
|
9
|
+
graticule: "circle"
|
|
10
|
+
}, w = {
|
|
11
|
+
axes: [],
|
|
12
|
+
curves: [],
|
|
13
|
+
options: x
|
|
14
|
+
}, h = structuredClone(w), B = P.radar, j = /* @__PURE__ */ l(() => y({
|
|
15
|
+
...B,
|
|
16
|
+
...C().radar
|
|
17
|
+
}), "getConfig"), b = /* @__PURE__ */ l(() => h.axes, "getAxes"), q = /* @__PURE__ */ l(() => h.curves, "getCurves"), K = /* @__PURE__ */ l(() => h.options, "getOptions"), N = /* @__PURE__ */ l((a) => {
|
|
18
|
+
h.axes = a.map((t) => ({
|
|
19
|
+
name: t.name,
|
|
20
|
+
label: t.label ?? t.name
|
|
21
|
+
}));
|
|
22
|
+
}, "setAxes"), U = /* @__PURE__ */ l((a) => {
|
|
23
|
+
h.curves = a.map((t) => ({
|
|
24
|
+
name: t.name,
|
|
25
|
+
label: t.label ?? t.name,
|
|
26
|
+
entries: X(t.entries)
|
|
27
|
+
}));
|
|
28
|
+
}, "setCurves"), X = /* @__PURE__ */ l((a) => {
|
|
29
|
+
if (a[0].axis == null)
|
|
30
|
+
return a.map((e) => e.value);
|
|
31
|
+
const t = b();
|
|
32
|
+
if (t.length === 0)
|
|
33
|
+
throw new Error("Axes must be populated before curves for reference entries");
|
|
34
|
+
return t.map((e) => {
|
|
35
|
+
const r = a.find((s) => {
|
|
36
|
+
var o;
|
|
37
|
+
return ((o = s.axis) == null ? void 0 : o.$refText) === e.name;
|
|
38
|
+
});
|
|
39
|
+
if (r === void 0)
|
|
40
|
+
throw new Error("Missing entry for axis " + e.label);
|
|
41
|
+
return r.value;
|
|
42
|
+
});
|
|
43
|
+
}, "computeCurveEntries"), Y = /* @__PURE__ */ l((a) => {
|
|
44
|
+
var e, r, s, o, i;
|
|
45
|
+
const t = a.reduce(
|
|
46
|
+
(n, c) => (n[c.name] = c, n),
|
|
47
|
+
{}
|
|
48
|
+
);
|
|
49
|
+
h.options = {
|
|
50
|
+
showLegend: ((e = t.showLegend) == null ? void 0 : e.value) ?? x.showLegend,
|
|
51
|
+
ticks: ((r = t.ticks) == null ? void 0 : r.value) ?? x.ticks,
|
|
52
|
+
max: ((s = t.max) == null ? void 0 : s.value) ?? x.max,
|
|
53
|
+
min: ((o = t.min) == null ? void 0 : o.value) ?? x.min,
|
|
54
|
+
graticule: ((i = t.graticule) == null ? void 0 : i.value) ?? x.graticule
|
|
55
|
+
};
|
|
56
|
+
}, "setOptions"), Z = /* @__PURE__ */ l(() => {
|
|
57
|
+
z(), h = structuredClone(w);
|
|
58
|
+
}, "clear"), $ = {
|
|
59
|
+
getAxes: b,
|
|
60
|
+
getCurves: q,
|
|
61
|
+
getOptions: K,
|
|
62
|
+
setAxes: N,
|
|
63
|
+
setCurves: U,
|
|
64
|
+
setOptions: Y,
|
|
65
|
+
getConfig: j,
|
|
66
|
+
clear: Z,
|
|
67
|
+
setAccTitle: D,
|
|
68
|
+
getAccTitle: E,
|
|
69
|
+
setDiagramTitle: _,
|
|
70
|
+
getDiagramTitle: I,
|
|
71
|
+
getAccDescription: F,
|
|
72
|
+
setAccDescription: R
|
|
73
|
+
}, J = /* @__PURE__ */ l((a) => {
|
|
74
|
+
k(a, $);
|
|
75
|
+
const { axes: t, curves: e, options: r } = a;
|
|
76
|
+
$.setAxes(t), $.setCurves(e), $.setOptions(r);
|
|
77
|
+
}, "populate"), Q = {
|
|
78
|
+
parse: /* @__PURE__ */ l(async (a) => {
|
|
79
|
+
const t = await W("radar", a);
|
|
80
|
+
H.debug(t), J(t);
|
|
81
|
+
}, "parse")
|
|
82
|
+
}, tt = /* @__PURE__ */ l((a, t, e, r) => {
|
|
83
|
+
const s = r.db, o = s.getAxes(), i = s.getCurves(), n = s.getOptions(), c = s.getConfig(), d = s.getDiagramTitle(), p = G(t), u = et(p, c), g = n.max ?? Math.max(...i.map((f) => Math.max(...f.entries))), m = n.min, v = Math.min(c.width, c.height) / 2;
|
|
84
|
+
at(u, o, v, n.ticks, n.graticule), rt(u, o, v, c), M(u, o, i, m, g, n.graticule, c), T(u, i, n.showLegend, c), u.append("text").attr("class", "radarTitle").text(d).attr("x", 0).attr("y", -c.height / 2 - c.marginTop);
|
|
85
|
+
}, "draw"), et = /* @__PURE__ */ l((a, t) => {
|
|
86
|
+
const e = t.width + t.marginLeft + t.marginRight, r = t.height + t.marginTop + t.marginBottom, s = {
|
|
87
|
+
x: t.marginLeft + t.width / 2,
|
|
88
|
+
y: t.marginTop + t.height / 2
|
|
89
|
+
};
|
|
90
|
+
return a.attr("viewbox", `0 0 ${e} ${r}`).attr("width", e).attr("height", r), a.append("g").attr("transform", `translate(${s.x}, ${s.y})`);
|
|
91
|
+
}, "drawFrame"), at = /* @__PURE__ */ l((a, t, e, r, s) => {
|
|
92
|
+
if (s === "circle")
|
|
93
|
+
for (let o = 0; o < r; o++) {
|
|
94
|
+
const i = e * (o + 1) / r;
|
|
95
|
+
a.append("circle").attr("r", i).attr("class", "radarGraticule");
|
|
96
|
+
}
|
|
97
|
+
else if (s === "polygon") {
|
|
98
|
+
const o = t.length;
|
|
99
|
+
for (let i = 0; i < r; i++) {
|
|
100
|
+
const n = e * (i + 1) / r, c = t.map((d, p) => {
|
|
101
|
+
const u = 2 * p * Math.PI / o - Math.PI / 2, g = n * Math.cos(u), m = n * Math.sin(u);
|
|
102
|
+
return `${g},${m}`;
|
|
103
|
+
}).join(" ");
|
|
104
|
+
a.append("polygon").attr("points", c).attr("class", "radarGraticule");
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}, "drawGraticule"), rt = /* @__PURE__ */ l((a, t, e, r) => {
|
|
108
|
+
const s = t.length;
|
|
109
|
+
for (let o = 0; o < s; o++) {
|
|
110
|
+
const i = t[o].label, n = 2 * o * Math.PI / s - Math.PI / 2;
|
|
111
|
+
a.append("line").attr("x1", 0).attr("y1", 0).attr("x2", e * r.axisScaleFactor * Math.cos(n)).attr("y2", e * r.axisScaleFactor * Math.sin(n)).attr("class", "radarAxisLine"), a.append("text").text(i).attr("x", e * r.axisLabelFactor * Math.cos(n)).attr("y", e * r.axisLabelFactor * Math.sin(n)).attr("class", "radarAxisLabel");
|
|
112
|
+
}
|
|
113
|
+
}, "drawAxes");
|
|
114
|
+
function M(a, t, e, r, s, o, i) {
|
|
115
|
+
const n = t.length, c = Math.min(i.width, i.height) / 2;
|
|
116
|
+
e.forEach((d, p) => {
|
|
117
|
+
if (d.entries.length !== n)
|
|
118
|
+
return;
|
|
119
|
+
const u = d.entries.map((g, m) => {
|
|
120
|
+
const v = 2 * Math.PI * m / n - Math.PI / 2, f = A(g, r, s, c), O = f * Math.cos(v), S = f * Math.sin(v);
|
|
121
|
+
return { x: O, y: S };
|
|
122
|
+
});
|
|
123
|
+
o === "circle" ? a.append("path").attr("d", L(u, i.curveTension)).attr("class", `radarCurve-${p}`) : o === "polygon" && a.append("polygon").attr("points", u.map((g) => `${g.x},${g.y}`).join(" ")).attr("class", `radarCurve-${p}`);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
l(M, "drawCurves");
|
|
127
|
+
function A(a, t, e, r) {
|
|
128
|
+
const s = Math.min(Math.max(a, t), e);
|
|
129
|
+
return r * (s - t) / (e - t);
|
|
130
|
+
}
|
|
131
|
+
l(A, "relativeRadius");
|
|
132
|
+
function L(a, t) {
|
|
133
|
+
const e = a.length;
|
|
134
|
+
let r = `M${a[0].x},${a[0].y}`;
|
|
135
|
+
for (let s = 0; s < e; s++) {
|
|
136
|
+
const o = a[(s - 1 + e) % e], i = a[s], n = a[(s + 1) % e], c = a[(s + 2) % e], d = {
|
|
137
|
+
x: i.x + (n.x - o.x) * t,
|
|
138
|
+
y: i.y + (n.y - o.y) * t
|
|
139
|
+
}, p = {
|
|
140
|
+
x: n.x - (c.x - i.x) * t,
|
|
141
|
+
y: n.y - (c.y - i.y) * t
|
|
142
|
+
};
|
|
143
|
+
r += ` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`;
|
|
144
|
+
}
|
|
145
|
+
return `${r} Z`;
|
|
146
|
+
}
|
|
147
|
+
l(L, "closedRoundCurve");
|
|
148
|
+
function T(a, t, e, r) {
|
|
149
|
+
if (!e)
|
|
150
|
+
return;
|
|
151
|
+
const s = (r.width / 2 + r.marginRight) * 3 / 4, o = -(r.height / 2 + r.marginTop) * 3 / 4, i = 20;
|
|
152
|
+
t.forEach((n, c) => {
|
|
153
|
+
const d = a.append("g").attr("transform", `translate(${s}, ${o + c * i})`);
|
|
154
|
+
d.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${c}`), d.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(n.label);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
l(T, "drawLegend");
|
|
158
|
+
var st = { draw: tt }, nt = /* @__PURE__ */ l((a, t) => {
|
|
159
|
+
let e = "";
|
|
160
|
+
for (let r = 0; r < a.THEME_COLOR_LIMIT; r++) {
|
|
161
|
+
const s = a[`cScale${r}`];
|
|
162
|
+
e += `
|
|
163
|
+
.radarCurve-${r} {
|
|
164
|
+
color: ${s};
|
|
165
|
+
fill: ${s};
|
|
166
|
+
fill-opacity: ${t.curveOpacity};
|
|
167
|
+
stroke: ${s};
|
|
168
|
+
stroke-width: ${t.curveStrokeWidth};
|
|
169
|
+
}
|
|
170
|
+
.radarLegendBox-${r} {
|
|
171
|
+
fill: ${s};
|
|
172
|
+
fill-opacity: ${t.curveOpacity};
|
|
173
|
+
stroke: ${s};
|
|
174
|
+
}
|
|
175
|
+
`;
|
|
176
|
+
}
|
|
177
|
+
return e;
|
|
178
|
+
}, "genIndexStyles"), ot = /* @__PURE__ */ l((a) => {
|
|
179
|
+
const t = V(), e = C(), r = y(t, e.themeVariables), s = y(r.radar, a);
|
|
180
|
+
return { themeVariables: r, radarOptions: s };
|
|
181
|
+
}, "buildRadarStyleOptions"), it = /* @__PURE__ */ l(({ radar: a } = {}) => {
|
|
182
|
+
const { themeVariables: t, radarOptions: e } = ot(a);
|
|
183
|
+
return `
|
|
184
|
+
.radarTitle {
|
|
185
|
+
font-size: ${t.fontSize};
|
|
186
|
+
color: ${t.titleColor};
|
|
187
|
+
dominant-baseline: hanging;
|
|
188
|
+
text-anchor: middle;
|
|
189
|
+
}
|
|
190
|
+
.radarAxisLine {
|
|
191
|
+
stroke: ${e.axisColor};
|
|
192
|
+
stroke-width: ${e.axisStrokeWidth};
|
|
193
|
+
}
|
|
194
|
+
.radarAxisLabel {
|
|
195
|
+
dominant-baseline: middle;
|
|
196
|
+
text-anchor: middle;
|
|
197
|
+
font-size: ${e.axisLabelFontSize}px;
|
|
198
|
+
color: ${e.axisColor};
|
|
199
|
+
}
|
|
200
|
+
.radarGraticule {
|
|
201
|
+
fill: ${e.graticuleColor};
|
|
202
|
+
fill-opacity: ${e.graticuleOpacity};
|
|
203
|
+
stroke: ${e.graticuleColor};
|
|
204
|
+
stroke-width: ${e.graticuleStrokeWidth};
|
|
205
|
+
}
|
|
206
|
+
.radarLegendText {
|
|
207
|
+
text-anchor: start;
|
|
208
|
+
font-size: ${e.legendFontSize}px;
|
|
209
|
+
dominant-baseline: hanging;
|
|
210
|
+
}
|
|
211
|
+
${nt(t, e)}
|
|
212
|
+
`;
|
|
213
|
+
}, "styles"), ut = {
|
|
214
|
+
parser: Q,
|
|
215
|
+
db: $,
|
|
216
|
+
renderer: st,
|
|
217
|
+
styles: it
|
|
218
|
+
};
|
|
219
|
+
export {
|
|
220
|
+
ut as diagram
|
|
221
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as w } from "./chunk-
|
|
2
|
-
import { _ as n, s as B, g as S, t as F, q as z, a as P, b as W, F as x, K as T, e as D, z as _, G as A, H as E, l as m } from "./mermaid.core-
|
|
3
|
-
import { p as N } from "./mermaid-parser.core-
|
|
1
|
+
import { p as w } from "./chunk-4BMEZGHF-DbrRFQBV.js";
|
|
2
|
+
import { _ as n, s as B, g as S, t as F, q as z, a as P, b as W, F as x, K as T, e as D, z as _, G as A, H as E, l as m } from "./mermaid.core-CVg1AOGh.js";
|
|
3
|
+
import { p as N } from "./mermaid-parser.core-Cnk6H5Tf.js";
|
|
4
4
|
var C = {
|
|
5
5
|
packet: []
|
|
6
6
|
}, v = structuredClone(C), L = E.packet, Y = /* @__PURE__ */ n(() => {
|