@aiquants/markdown 11.1.1 → 11.2.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/README.md +15 -8
- package/dist/{abnfDiagram-VRR7QNED-B9EKZZCe.js → abnfDiagram-VRR7QNED-BKDymcgU.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-BUUUWvsh.cjs → abnfDiagram-VRR7QNED-BrysG8di.cjs} +1 -1
- package/dist/{arc-BdyZzyRm.cjs → arc-BB8-GmvF.cjs} +1 -1
- package/dist/{arc-BWBxoAtH.js → arc-HSlzHLN5.js} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-C82P-Or8.js → architectureDiagram-ZJ3FMSHR-Cw5TsOQY.js} +2 -2
- package/dist/{architectureDiagram-ZJ3FMSHR-C-j7rcTN.cjs → architectureDiagram-ZJ3FMSHR-DUr8yu65.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-B28l1266.cjs → blockDiagram-677ZJIJ3-3fEMZifU.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-DQwdwRWd.js → blockDiagram-677ZJIJ3-B4QKTXoS.js} +3 -3
- package/dist/{c4Diagram-LMCZKHZV-BKS-5aGN.js → c4Diagram-LMCZKHZV-BF-7sSPW.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-BHj3qRWp.cjs → c4Diagram-LMCZKHZV-Cr3HwHd7.cjs} +1 -1
- package/dist/{channel-CItIM75V.js → channel-0qa8ce6Q.js} +1 -1
- package/dist/{channel-C_cP5iR1.cjs → channel-CHciNRIB.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-B0pXO2t7.cjs → chunk-2Q5K7J3B-3IUhxfJe.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-D52R-aDh.js → chunk-2Q5K7J3B-BhPb31Ds.js} +1 -1
- package/dist/{chunk-32BRIVSS-DUlLCGoQ.js → chunk-32BRIVSS-BGg_X4L2.js} +1 -1
- package/dist/{chunk-32BRIVSS-e82Hm1LK.cjs → chunk-32BRIVSS-D5djvojF.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-DmYNlEib.cjs → chunk-5VM5RSS4-BZ3BilMv.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-WjZ3Kfp-.js → chunk-5VM5RSS4-BiHk_ZMt.js} +1 -1
- package/dist/{chunk-EX3LRPZG-VOMDBd7V.cjs → chunk-EX3LRPZG-C-ow5sUu.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-CZeIl-CM.js → chunk-EX3LRPZG-C5kdwLBO.js} +4 -4
- package/dist/{chunk-JWPE2WC7-XtdP0lPA.js → chunk-JWPE2WC7-DdePg2tx.js} +1 -1
- package/dist/{chunk-JWPE2WC7-DqZGyZxO.cjs → chunk-JWPE2WC7-e5NtU9tE.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-C-I6Np3F.cjs → chunk-MOJQB5TN-BLSnD3t7.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-BGmMcnEb.js → chunk-MOJQB5TN-Dbd1TEnx.js} +1 -1
- package/dist/{chunk-PUDLZKDR-CVDCE8CQ.js → chunk-PUDLZKDR-BsiVpD8V.js} +6 -6
- package/dist/{chunk-PUDLZKDR-BU0xXgGZ.cjs → chunk-PUDLZKDR-hGJNph5n.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-CazlBHVq.js → chunk-RYQCIY6F-BUXnC2bE.js} +1 -1
- package/dist/{chunk-RYQCIY6F-CzgqsQUG.cjs → chunk-RYQCIY6F-DX34sli0.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-DjZLR1xm.js → chunk-V7JOEXUC-BQueT2fh.js} +5 -5
- package/dist/{chunk-V7JOEXUC-BHcjsh4X.cjs → chunk-V7JOEXUC-CWk-EdL4.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-DKCdFxYZ.cjs → chunk-VR4S4FIN-6fMMVlwy.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-BdHVIRqw.js → chunk-VR4S4FIN-DI4PTMge.js} +1 -1
- package/dist/{chunk-XXDRQBXY-Z_rLeBGt.js → chunk-XXDRQBXY-0FVYkVuP.js} +1 -1
- package/dist/{chunk-XXDRQBXY-DqQWFq5n.cjs → chunk-XXDRQBXY-DcL_rCNu.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-HX7id7VH.cjs → classDiagram-OUVF2IWQ-CEZdsWvZ.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-x_3zaG1u.js → classDiagram-OUVF2IWQ-DRGfIZdE.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-HX7id7VH.cjs → classDiagram-v2-EOCWNBFH-CEZdsWvZ.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-x_3zaG1u.js → classDiagram-v2-EOCWNBFH-DRGfIZdE.js} +2 -2
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-Cyz8e4tp.js → cose-bilkent-JH36ORCC-3kBRwN8L.js} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-CWD_TQFn.cjs → cose-bilkent-JH36ORCC-DjBFwUgZ.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-DEFr3c5a.cjs → cynefinDiagram-TSTJHNR4-CHqP9wNf.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-uBcUSDG3.js → cynefinDiagram-TSTJHNR4-COFBfMTD.js} +2 -2
- package/dist/{dagre-VKFMJZFB-Bbd2N7Iu.js → dagre-VKFMJZFB-BiBZp1UZ.js} +2 -2
- package/dist/{dagre-VKFMJZFB-DByE8-C9.cjs → dagre-VKFMJZFB-CfOPJOfT.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DPEX0cuZ.cjs → diagram-FQU43EPY-BWf-0ZaX.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-CgQwvhUg.js → diagram-FQU43EPY-DE88GkFP.js} +2 -2
- package/dist/{diagram-G47NLZAW-BZsnXoS1.js → diagram-G47NLZAW-AGqBg4BW.js} +3 -3
- package/dist/{diagram-G47NLZAW-50nFSHRv.cjs → diagram-G47NLZAW-BmGTMih1.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-eHSJPLfa.js → diagram-NH7WQ7WH-C_OQJCoz.js} +2 -2
- package/dist/{diagram-NH7WQ7WH-TShr7BQh.cjs → diagram-NH7WQ7WH-avUTm6At.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-Dphe8PdD.js → diagram-OA4YK3LP-BcG8oYQH.js} +3 -3
- package/dist/{diagram-OA4YK3LP-r5leQ0jD.cjs → diagram-OA4YK3LP-v4R9pnOp.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-pgeZBaVl.js → diagram-WEI45ONY-B3f9-St7.js} +2 -2
- package/dist/{diagram-WEI45ONY-BaT3chSs.cjs → diagram-WEI45ONY-DMANh2pW.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-Hf655Cjt.js → ebnfDiagram-CCIWWBDH-DHMH95Qm.js} +3 -3
- package/dist/{ebnfDiagram-CCIWWBDH-D3EvTRKP.cjs → ebnfDiagram-CCIWWBDH-DViSMuU5.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-YkVu4ce1.js → erDiagram-Q63AITRT-DrY-YSX7.js} +4 -4
- package/dist/{erDiagram-Q63AITRT-fnT4vBqH.cjs → erDiagram-Q63AITRT-HV9x1ciI.cjs} +1 -1
- package/dist/{extractHeadings-B8u8yqfC.js → extractHeadings-Boz4pTVy.js} +3542 -3513
- package/dist/{extractHeadings-DLNXUqAG.cjs → extractHeadings-UK9m7d29.cjs} +49 -49
- package/dist/flowDiagram-23GEKE2U-Cw3lE3iu.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-DeQftLq7.js +7 -0
- package/dist/{ganttDiagram-NO4QXBWP-D-SkIoPg.js → ganttDiagram-NO4QXBWP-BrcUlnJH.js} +2 -2
- package/dist/{ganttDiagram-NO4QXBWP-DC3d7PwO.cjs → ganttDiagram-NO4QXBWP-XbcZyqEG.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-DFUHvrlM.cjs → gitGraphDiagram-IHSO6WYX-DDgZkg3G.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-CjYttPlh.js → gitGraphDiagram-IHSO6WYX-Dqk3F0Su.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-CM_qocjy.cjs → infoDiagram-FWYZ7A6U-DM1S6-Hc.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-DpELmEdt.js → infoDiagram-FWYZ7A6U-a32XjwX5.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-uPR_QB-P.cjs → ishikawaDiagram-FXEZZL3T-CHzSqzMH.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-doZ6ry1Q.js → ishikawaDiagram-FXEZZL3T-DWsA1PP7.js} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-DKxRZGZY.cjs → journeyDiagram-5HDEW3XC-Cis5Fa71.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-B3Gvqmgz.js → journeyDiagram-5HDEW3XC-CkVTUCEp.js} +4 -4
- package/dist/{kanban-definition-HUTT4EX6-XEl_CQHs.js → kanban-definition-HUTT4EX6-B30ORUDT.js} +2 -2
- package/dist/{kanban-definition-HUTT4EX6-CmEtZdgP.cjs → kanban-definition-HUTT4EX6-DcANcb4G.cjs} +1 -1
- package/dist/{linear-BJeuATkk.cjs → linear-CAd-44F2.cjs} +1 -1
- package/dist/{linear-CJwjH-8_.js → linear-uw6vQWir.js} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-B9zpExvk.cjs → mindmap-definition-LN4V7U3C-CP0bNnn-.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-Cd2v2Y8Z.js → mindmap-definition-LN4V7U3C-D-yIE9Kv.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-DFYHpIqe.js → pegDiagram-2B236MQR-BOdy4HUA.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-DWCHB7kd.cjs → pegDiagram-2B236MQR-Brh5cxKw.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-CD581vqD.js → pieDiagram-ENE6RG2P-1cY-R9MG.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-LLQzK8bv.cjs → pieDiagram-ENE6RG2P-CEaHvWUM.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-DjC_l1Fw.cjs → quadrantDiagram-ABIIQ3AL-C5CTuaUm.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-BhzJSnax.js → quadrantDiagram-ABIIQ3AL-CbZZ5GEh.js} +2 -2
- package/dist/{railroadDiagram-RFXS5EU6-C1tKXwxN.cjs → railroadDiagram-RFXS5EU6-C6-tc-QZ.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DmVOfohB.js → railroadDiagram-RFXS5EU6-DThY6dTL.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-DDpRa8G1.js → requirementDiagram-TGXJPOKE-BwtXYJtb.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-DkGh_vLW.cjs → requirementDiagram-TGXJPOKE-h_ZfNqUh.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-CkCLaKDd.cjs → sankeyDiagram-HTMAVEWB-DalNC8XY.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-3UuuubkA.js → sankeyDiagram-HTMAVEWB-DkwdXFCH.js} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-DcWj7JMz.cjs → sequenceDiagram-DBY2YBRQ-BE2rVf2w.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-CRC__bVC.js → sequenceDiagram-DBY2YBRQ-CZHBSmBp.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-Wb9vgGKU.cjs → sizeCapture-X5ZJPWSS-CiSkHK1v.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-DuxhTDeu.js → sizeCapture-X5ZJPWSS-o-wx7oGH.js} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-DGfmIJEN.js → stateDiagram-2N3HPSRC-C2yZajhM.js} +2 -2
- package/dist/{stateDiagram-2N3HPSRC-CMBwcQE6.cjs → stateDiagram-2N3HPSRC-Cts12p59.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-7UPtJqUO.cjs → stateDiagram-v2-6OUMAXLB-B8p1-c97.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-ZyMZ4vTG.js → stateDiagram-v2-6OUMAXLB-VE-c3q_l.js} +2 -2
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-CZzTj7hi.cjs → swimlanes-5IMT3BWC-DeNuvXGa.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-CpPHvYma.js → swimlanes-5IMT3BWC-TTTBHYYv.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-ISXX19Uv.js → swimlanesDiagram-G3AALYLV-Buup5yvb.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-By4sYWRa.cjs → swimlanesDiagram-G3AALYLV-Bxz106Lt.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-YNTe1gIW.js → timeline-definition-FHXFAJF6-C_zjmLAX.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-CLuuXV7h.cjs → timeline-definition-FHXFAJF6-c15QQTDf.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-DFt6CSPi.cjs → vennDiagram-L72KCM5P-CjX3W2Ne.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-B2jRtjMe.js → vennDiagram-L72KCM5P-DNLnBVJ_.js} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-ZOmJLYv5.js → wardleyDiagram-EHGQE667-CjE65uje.js} +2 -2
- package/dist/{wardleyDiagram-EHGQE667-B1RAAbXU.cjs → wardleyDiagram-EHGQE667-UlY3HJxP.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-D1mJfFkC.cjs → xychartDiagram-FW5EYKEG-DDVfULUl.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-JwURYtLn.js → xychartDiagram-FW5EYKEG-DziQHnEA.js} +2 -2
- package/package.json +7 -7
- package/dist/flowDiagram-23GEKE2U-B5AFLHup.js +0 -7
- package/dist/flowDiagram-23GEKE2U-BaQLONgC.cjs +0 -1
package/README.md
CHANGED
|
@@ -492,8 +492,8 @@ A block rendered without such a sheet shows plain inherited text: the components
|
|
|
492
492
|
|
|
493
493
|
Give `MarkdownViewer` or `MarkdownRenderer` a reader of image sources (`imageSource`, a `MarkdownImageSourceReader`),
|
|
494
494
|
and every storage SVG image that stands alone in its paragraph shows its source a press away: a toolbar above the image
|
|
495
|
-
whose **Source** toggle swaps the image for the text of its file, as written, and back
|
|
496
|
-
renders as written.
|
|
495
|
+
whose **Source** toggle swaps the image for the text of its file, as written, and back, and whose **Copy** puts that
|
|
496
|
+
text on the clipboard. Without a reader every image renders as written.
|
|
497
497
|
|
|
498
498
|
- **Which images**: a paragraph whose only child (besides white space) is an `img` that, as the allow list keeps it,
|
|
499
499
|
carries a `data-asset-src` ending in `.svg` (any ASCII letter case), a `src`, and no `data-asset-exists="false"`, in a
|
|
@@ -513,12 +513,19 @@ renders as written.
|
|
|
513
513
|
or the block goes away. Until the answer it shows a loading line; then the text in a `<pre>` that wraps (a one-line
|
|
514
514
|
SVG never runs out sideways), never interprets it, takes the focus (the keyboard scrolls it) and is capped at the
|
|
515
515
|
viewport height less 2 × 44 px (`--aqmd-viewport-cap`, as the diagram and table boxes are) with its own scrolling. A
|
|
516
|
-
source the host cut gets a note under it
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
516
|
+
source the host cut gets a note under it. A failure shows its text, with **Try again** when it may pass (the focus
|
|
517
|
+
moves to the toggle as the button goes). The press keeps the focus on the toggle (`aria-pressed`); the choice is not
|
|
518
|
+
kept, so the block opens on the image.
|
|
519
|
+
- **Copying**: **Copy** shows while the image shows and while the whole source shows, and tells the outcome in the
|
|
520
|
+
block's status line. With the source shown it writes the text exactly as read. With the image shown it reads the file
|
|
521
|
+
through the reader and hands the clipboard that read as a `ClipboardItem` within the press, so a browser that only
|
|
522
|
+
writes during a press (Safari) takes it too; a file the host cut, or a read that fails, copies nothing and says it
|
|
523
|
+
could not copy, as does a browser without `ClipboardItem`. A source the host cut never offers Copy, so the clipboard
|
|
524
|
+
never gets part of a file. Leaving the block aborts the read.
|
|
525
|
+
- **Toolbar**: 44 × 44 px controls in a wrapping row at the inline end that never covers the image, Copy first and the
|
|
526
|
+
Source toggle at the row's end (so the toggle stays put whether Copy shows or not), one tab stop whose controls the
|
|
527
|
+
arrow keys, Home and End walk, and the palette and focus ring the Mermaid and spreadsheet toolbars share
|
|
528
|
+
(`markdown.css`).
|
|
522
529
|
- **Layout**: the block replaces the paragraph with a `div` that holds the toolbar and, while the image shows, the
|
|
523
530
|
original paragraph (so the image keeps the paragraph's spacing). The root carries the paragraph's `data-source-lines`;
|
|
524
531
|
the paragraph inside it carries none.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-
|
|
2
|
-
import { p as f } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as n, U as o } from "./extractHeadings-
|
|
1
|
+
import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-Dbd1TEnx.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-DdePg2tx.js";
|
|
3
|
+
import { _ as n, U as o } from "./extractHeadings-Boz4pTVy.js";
|
|
4
4
|
import { M as c, b as d } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
5
5
|
var v = d().RailroadAbnf.parser.LangiumParser, i = /* @__PURE__ */ n((e) => {
|
|
6
6
|
const r = e.alternatives.map(g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-BLSnD3t7.cjs"),u=require("./chunk-JWPE2WC7-e5NtU9tE.cjs"),n=require("./extractHeadings-UK9m7d29.cjs"),i=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var p=i.createRailroadAbnfServices().RailroadAbnf.parser.LangiumParser,o=n.__name(e=>{const r=e.alternatives.map(c);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),c=n.__name(e=>{const r=e.elements.map(d);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),f=n.__name(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),d=n.__name(e=>{const r=b(e.primary);if(!e.repeat)return r;const{min:t,max:s}=f(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),b=n.__name(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return o(e.element);case"AbnfOptionalGroup":return{type:"optional",element:o(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),g=n.__name(e=>({name:e.name,definition:o(e.definition)}),"transformRule"),v=n.__name(e=>{u.populateCommonDb(e,a.db),e.title&&a.db.setTitle(e.title),e.rules.map(r=>a.db.addRule(g(r)))},"populateDb"),y={parse:n.__name(e=>{a.db.clear(),n.log.debug("[ABNF Parser] Starting Langium parse");const r=p.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new i.MermaidParseError(r);const t=r.value;n.log.debug("[ABNF Parser] Parsed rules:",t.rules.length),v(t),n.log.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a.db}},_={parser:y,db:a.db,renderer:a.renderer,styles:a.getStyles};exports.diagram=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./extractHeadings-
|
|
1
|
+
"use strict";const n=require("./extractHeadings-UK9m7d29.cjs");function $(o){return o.innerRadius}function b(o){return o.outerRadius}function k(o){return o.startAngle}function _(o){return o.endAngle}function nn(o){return o&&o.padAngle}function en(o,x,D,P,h,v,S,s){var E=D-o,r=P-x,e=S-h,p=s-v,i=p*E-e*r;if(!(i*i<n.epsilon))return i=(e*(x-v)-p*(o-h))/i,[o+i*E,x+i*r]}function M(o,x,D,P,h,v,S){var s=o-D,E=x-P,r=(S?v:-v)/n.sqrt(s*s+E*E),e=r*E,p=-r*s,i=o+e,u=x+p,c=D+e,f=P+p,j=(i+c)/2,l=(u+f)/2,y=c-i,g=f-u,A=y*y+g*g,R=h-v,T=i*f-c*u,H=(g<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),I=(T*g-y*H)/A,O=(-T*y-g*H)/A,q=(T*g+y*H)/A,d=(-T*y+g*H)/A,m=I-j,a=O-l,t=q-j,z=d-l;return m*m+a*a>t*t+z*z&&(I=q,O=d),{cx:I,cy:O,x01:-e,y01:-p,x11:I*(h/R-1),y11:O*(h/R-1)}}function an(){var o=$,x=b,D=n.constant(0),P=null,h=k,v=_,S=nn,s=null,E=n.withPath(r);function r(){var e,p,i=+o.apply(this,arguments),u=+x.apply(this,arguments),c=h.apply(this,arguments)-n.halfPi,f=v.apply(this,arguments)-n.halfPi,j=n.abs(f-c),l=f>c;if(s||(s=e=E()),u<i&&(p=u,u=i,i=p),!(u>n.epsilon))s.moveTo(0,0);else if(j>n.tau-n.epsilon)s.moveTo(u*n.cos(c),u*n.sin(c)),s.arc(0,0,u,c,f,!l),i>n.epsilon&&(s.moveTo(i*n.cos(f),i*n.sin(f)),s.arc(0,0,i,f,c,l));else{var y=c,g=f,A=c,R=f,T=j,H=j,I=S.apply(this,arguments)/2,O=I>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(i*i+u*u)),q=n.min(n.abs(u-i)/2,+D.apply(this,arguments)),d=q,m=q,a,t;if(O>n.epsilon){var z=n.asin(O/i*n.sin(I)),F=n.asin(O/u*n.sin(I));(T-=z*2)>n.epsilon?(z*=l?1:-1,A+=z,R-=z):(T=0,A=R=(c+f)/2),(H-=F*2)>n.epsilon?(F*=l?1:-1,y+=F,g-=F):(H=0,y=g=(c+f)/2)}var B=u*n.cos(y),C=u*n.sin(y),G=i*n.cos(R),J=i*n.sin(R);if(q>n.epsilon){var K=u*n.cos(g),L=u*n.sin(g),N=i*n.cos(A),Q=i*n.sin(A),w;if(j<n.pi)if(w=en(B,C,N,Q,K,L,G,J)){var U=B-w[0],V=C-w[1],W=K-w[0],X=L-w[1],Y=1/n.sin(n.acos((U*W+V*X)/(n.sqrt(U*U+V*V)*n.sqrt(W*W+X*X)))/2),Z=n.sqrt(w[0]*w[0]+w[1]*w[1]);d=n.min(q,(i-Z)/(Y-1)),m=n.min(q,(u-Z)/(Y+1))}else d=m=0}H>n.epsilon?m>n.epsilon?(a=M(N,Q,B,C,u,m,l),t=M(K,L,G,J,u,m,l),s.moveTo(a.cx+a.x01,a.cy+a.y01),m<q?s.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(t.y01,t.x01),!l):(s.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),s.arc(0,0,u,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(t.cy+t.y11,t.cx+t.x11),!l),s.arc(t.cx,t.cy,m,n.atan2(t.y11,t.x11),n.atan2(t.y01,t.x01),!l))):(s.moveTo(B,C),s.arc(0,0,u,y,g,!l)):s.moveTo(B,C),!(i>n.epsilon)||!(T>n.epsilon)?s.lineTo(G,J):d>n.epsilon?(a=M(G,J,K,L,i,-d,l),t=M(B,C,N,Q,i,-d,l),s.lineTo(a.cx+a.x01,a.cy+a.y01),d<q?s.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(t.y01,t.x01),!l):(s.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),s.arc(0,0,i,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(t.cy+t.y11,t.cx+t.x11),l),s.arc(t.cx,t.cy,d,n.atan2(t.y11,t.x11),n.atan2(t.y01,t.x01),!l))):s.arc(0,0,i,R,A,l)}if(s.closePath(),e)return s=null,e+""||null}return r.centroid=function(){var e=(+o.apply(this,arguments)+ +x.apply(this,arguments))/2,p=(+h.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(p)*e,n.sin(p)*e]},r.innerRadius=function(e){return arguments.length?(o=typeof e=="function"?e:n.constant(+e),r):o},r.outerRadius=function(e){return arguments.length?(x=typeof e=="function"?e:n.constant(+e),r):x},r.cornerRadius=function(e){return arguments.length?(D=typeof e=="function"?e:n.constant(+e),r):D},r.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:n.constant(+e),r):P},r.startAngle=function(e){return arguments.length?(h=typeof e=="function"?e:n.constant(+e),r):h},r.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:n.constant(+e),r):v},r.padAngle=function(e){return arguments.length?(S=typeof e=="function"?e:n.constant(+e),r):S},r.context=function(e){return arguments.length?(s=e??null,r):s},r}exports.d3arc=an;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aF as ln, aG as an, aH as y, aI as tn, aJ as M, aK as I, aL as _, aM as un, aN as rn, aO as j, aP as o, aQ as H, aR as sn, aS as on, aT as fn } from "./extractHeadings-
|
|
1
|
+
import { aF as ln, aG as an, aH as y, aI as tn, aJ as M, aK as I, aL as _, aM as un, aN as rn, aO as j, aP as o, aQ as H, aR as sn, aS as on, aT as fn } from "./extractHeadings-Boz4pTVy.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
package/dist/{architectureDiagram-ZJ3FMSHR-C82P-Or8.js → architectureDiagram-ZJ3FMSHR-Cw5TsOQY.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Ze } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { bN as qe, _ as gt, an as Qe, aD as Je, U as Fe, O as Ke, K as je, a8 as _e, a9 as tr, J as er, G as rr, ae as ir, ak as ar, ai as nr, al as or, Q as Ee, bG as Te, aZ as pe, Y as sr, R as hr, ad as lr, a_ as fr, bO as cr } from "./extractHeadings-
|
|
1
|
+
import { p as Ze } from "./chunk-JWPE2WC7-DdePg2tx.js";
|
|
2
|
+
import { bN as qe, _ as gt, an as Qe, aD as Je, U as Fe, O as Ke, K as je, a8 as _e, a9 as tr, J as er, G as rr, ae as ir, ak as ar, ai as nr, al as or, Q as Ee, bG as Te, aZ as pe, Y as sr, R as hr, ad as lr, a_ as fr, bO as cr } from "./extractHeadings-Boz4pTVy.js";
|
|
3
3
|
import { p as gr } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
4
4
|
import { c as be } from "./cytoscape.esm-kVAWcYoG.js";
|
|
5
5
|
var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, ur = fe.exports, Oe;
|