@aiquants/markdown 11.3.0 → 11.5.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 -9
- package/dist/{abnfDiagram-VRR7QNED-BeF2m43m.js → abnfDiagram-VRR7QNED-3l3Qz5_v.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-z9PQz34c.cjs → abnfDiagram-VRR7QNED-C1KjRxNX.cjs} +1 -1
- package/dist/{arc-DVv-chqL.js → arc-CG3tcebk.js} +1 -1
- package/dist/{arc-xerpbkWV.cjs → arc-CUNOcrsN.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-BbhKAjY1.cjs → architectureDiagram-ZJ3FMSHR-CQ5LUL3X.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-DziLxKGU.js → architectureDiagram-ZJ3FMSHR-_Ar4fBHD.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-BE9toHXL.cjs → blockDiagram-677ZJIJ3-CwCBFYKA.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-BT6gMOEE.js → blockDiagram-677ZJIJ3-DaJDTgl3.js} +3 -3
- package/dist/{c4Diagram-LMCZKHZV-0_pnNAW1.cjs → c4Diagram-LMCZKHZV-B4HVzr4N.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-DLjj1mUU.js → c4Diagram-LMCZKHZV-DTj08TSx.js} +2 -2
- package/dist/{channel-BZ_MerpF.cjs → channel-DeoL6x9I.cjs} +1 -1
- package/dist/{channel-GmFRsEfU.js → channel-DfG_8w-f.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-R9eJ__01.cjs → chunk-2Q5K7J3B-CqlpKri1.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-B7o1xlre.js → chunk-2Q5K7J3B-DdH7dEhc.js} +1 -1
- package/dist/{chunk-32BRIVSS-BudTBoqS.cjs → chunk-32BRIVSS-BYlIy0bD.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-CFyR9274.js → chunk-32BRIVSS-rallHOKW.js} +1 -1
- package/dist/{chunk-5VM5RSS4-POYkcQny.js → chunk-5VM5RSS4-BJT-kSEK.js} +1 -1
- package/dist/{chunk-5VM5RSS4-CMQUCJJO.cjs → chunk-5VM5RSS4-BcxAihy5.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-BzW1LAku.cjs → chunk-EX3LRPZG-TXhG_MZW.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-pn3k2_mC.js → chunk-EX3LRPZG-fu3aLPcS.js} +4 -4
- package/dist/{chunk-JWPE2WC7-fEYsRZ39.cjs → chunk-JWPE2WC7-CGTSmMeV.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-CvNpq2Dn.js → chunk-JWPE2WC7-DSejuCSZ.js} +1 -1
- package/dist/{chunk-MOJQB5TN-Bn7BQ7kl.js → chunk-MOJQB5TN-BQVuH2Cr.js} +1 -1
- package/dist/{chunk-MOJQB5TN-CjVzlnml.cjs → chunk-MOJQB5TN-_xGQHEPZ.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-xcx8OM2R.js → chunk-PUDLZKDR-8Sfu1EQC.js} +6 -6
- package/dist/{chunk-PUDLZKDR-BobvD5Go.cjs → chunk-PUDLZKDR-B_Fc_l2w.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-DOnA9ySw.js → chunk-RYQCIY6F-BgKKNc1t.js} +1 -1
- package/dist/{chunk-RYQCIY6F-DTEci8k9.cjs → chunk-RYQCIY6F-Drt1rQqM.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-CWBKCtnP.js → chunk-V7JOEXUC-B2FjbeBt.js} +5 -5
- package/dist/{chunk-V7JOEXUC-BlnXlLuz.cjs → chunk-V7JOEXUC-JVzkpmfB.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-Cu6o180B.cjs → chunk-VR4S4FIN-CTXLaOIl.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-CUhNDIJC.js → chunk-VR4S4FIN-P5Qd79H0.js} +1 -1
- package/dist/{chunk-XXDRQBXY-BljQ697X.js → chunk-XXDRQBXY-Bn6LJsS6.js} +1 -1
- package/dist/{chunk-XXDRQBXY-DbOPhA9H.cjs → chunk-XXDRQBXY-CCzdNsMv.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-VaejQYwI.cjs → classDiagram-OUVF2IWQ-Bes0dCT5.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-BBgwk_XP.js → classDiagram-OUVF2IWQ-DO6Mv0uZ.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-VaejQYwI.cjs → classDiagram-v2-EOCWNBFH-Bes0dCT5.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-BBgwk_XP.js → classDiagram-v2-EOCWNBFH-DO6Mv0uZ.js} +2 -2
- package/dist/components/toolbar.d.ts +12 -0
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-DLDZAmwu.cjs → cose-bilkent-JH36ORCC-BPOsm7yP.cjs} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-B9kCeAhN.js → cose-bilkent-JH36ORCC-CoX_wSme.js} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-f8TPoM2I.cjs → cynefinDiagram-TSTJHNR4-CK9h-uWI.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-1SLdTc8J.js → cynefinDiagram-TSTJHNR4-C_D9ZWpP.js} +2 -2
- package/dist/{dagre-VKFMJZFB-JVRHYOgy.cjs → dagre-VKFMJZFB-BKFUx2WF.cjs} +1 -1
- package/dist/{dagre-VKFMJZFB-Cy4uEjUS.js → dagre-VKFMJZFB-CBzUft2X.js} +2 -2
- package/dist/{diagram-FQU43EPY-DgIV-WCB.js → diagram-FQU43EPY-CXexgfZz.js} +2 -2
- package/dist/{diagram-FQU43EPY-CsXwb5wa.cjs → diagram-FQU43EPY-DLrn-MaQ.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-kyM05TuO.cjs → diagram-G47NLZAW-CEmxs2Sz.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-CBcS3zVm.js → diagram-G47NLZAW-CT-fNK7m.js} +3 -3
- package/dist/{diagram-NH7WQ7WH-DMaPIfEU.cjs → diagram-NH7WQ7WH-BnhBfTFA.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-DY0ifoMa.js → diagram-NH7WQ7WH-Dc7J93KZ.js} +2 -2
- package/dist/{diagram-OA4YK3LP-I3x24OIe.cjs → diagram-OA4YK3LP-BMYf0qqF.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-DVx73wx0.js → diagram-OA4YK3LP-BRNtvGeu.js} +3 -3
- package/dist/{diagram-WEI45ONY-CJtAUskt.js → diagram-WEI45ONY-COy0YYkY.js} +2 -2
- package/dist/{diagram-WEI45ONY-epGzu1nR.cjs → diagram-WEI45ONY-DpTXA_7h.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-2ijWeTrW.cjs → ebnfDiagram-CCIWWBDH-Ce1oqWBl.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-CvFnz51O.js → ebnfDiagram-CCIWWBDH-DxJioh0Y.js} +3 -3
- package/dist/{erDiagram-Q63AITRT-FSDxCDSt.js → erDiagram-Q63AITRT-B7sO8mgg.js} +4 -4
- package/dist/{erDiagram-Q63AITRT-BDzCTiHo.cjs → erDiagram-Q63AITRT-BsW683ct.cjs} +1 -1
- package/dist/{extractHeadings-Bza52qly.cjs → extractHeadings-C2UT0oKs.cjs} +76 -76
- package/dist/{extractHeadings-DCOCUzhN.js → extractHeadings-DsF6Ytus.js} +4797 -4762
- package/dist/flowDiagram-23GEKE2U-B2vsHW9j.js +7 -0
- package/dist/flowDiagram-23GEKE2U-D3Y9K6RM.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-5pOFmgBZ.js → ganttDiagram-NO4QXBWP-CcTXFJsJ.js} +2 -2
- package/dist/{ganttDiagram-NO4QXBWP-bD4zBw8I.cjs → ganttDiagram-NO4QXBWP-kpbuGngd.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-BIc0pTB3.js → gitGraphDiagram-IHSO6WYX-DDCtdlhT.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-rROFDTsW.cjs → gitGraphDiagram-IHSO6WYX-DdiwT2YX.cjs} +1 -1
- 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-DFKEM7LV.cjs → infoDiagram-FWYZ7A6U-CfNWVNlm.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-DhTRU4_g.js → infoDiagram-FWYZ7A6U-DSTZ1Dol.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-CYN0eWUu.js → ishikawaDiagram-FXEZZL3T-BoUotyUM.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-DREhAN6W.cjs → ishikawaDiagram-FXEZZL3T-kdySio36.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-BFcCFydc.js → journeyDiagram-5HDEW3XC-BLmjiJUX.js} +4 -4
- package/dist/{journeyDiagram-5HDEW3XC-wh4cEokA.cjs → journeyDiagram-5HDEW3XC-Bd31lpv3.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-T2ch6_fu.cjs → kanban-definition-HUTT4EX6-CgyQpxuL.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-DUKjgxOb.js → kanban-definition-HUTT4EX6-ySH6rz13.js} +2 -2
- package/dist/{linear-C-tJG02v.js → linear-CgquB1f5.js} +1 -1
- package/dist/{linear-CeH9hz3W.cjs → linear-DV03QvY3.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-DBzwfxML.js → mindmap-definition-LN4V7U3C-DRivy1QE.js} +3 -3
- package/dist/{mindmap-definition-LN4V7U3C-D9OA5nBQ.cjs → mindmap-definition-LN4V7U3C-aDCMEoit.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-D6cTyqKd.cjs → pegDiagram-2B236MQR-87adEUpC.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-BHuZzOGn.js → pegDiagram-2B236MQR-CQjS0QqO.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-4zJR-Rxs.js → pieDiagram-ENE6RG2P-86BHVYSs.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-O7KG67we.cjs → pieDiagram-ENE6RG2P-DuyGtiSe.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-CGZVeuBW.js → quadrantDiagram-ABIIQ3AL-DE-2T9tr.js} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-CjPInyW4.cjs → quadrantDiagram-ABIIQ3AL-DW5PL3vH.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-C7g90jvH.js → railroadDiagram-RFXS5EU6-ByWgV3yx.js} +3 -3
- package/dist/{railroadDiagram-RFXS5EU6-BSqAF8yH.cjs → railroadDiagram-RFXS5EU6-CNK83OVV.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-B_rVj87i.js → requirementDiagram-TGXJPOKE-C_HDFyTl.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-D4HAfEXd.cjs → requirementDiagram-TGXJPOKE-Ogodc8r_.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-Kh00NLoF.cjs → sankeyDiagram-HTMAVEWB-B5tOdHX0.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-RjDINztl.js → sankeyDiagram-HTMAVEWB-CrAWgbcA.js} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-CPHDsiyC.cjs → sequenceDiagram-DBY2YBRQ-B8iic05R.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-C8GGLaka.js → sequenceDiagram-DBY2YBRQ-Cbm9ZkF1.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-CsqWQvT7.cjs → sizeCapture-X5ZJPWSS-BuMEpXfl.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-i1oI1gCf.js → sizeCapture-X5ZJPWSS-C16tTVRV.js} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-g7pEw9fc.cjs → stateDiagram-2N3HPSRC-D1YCPRk6.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-C2heZ3Mv.js → stateDiagram-2N3HPSRC-DlGJFj8u.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-B3Ohqiwm.cjs → stateDiagram-v2-6OUMAXLB-C6NhqahV.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-CPhVBWW3.js → stateDiagram-v2-6OUMAXLB-CpFS_9hZ.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-DJUZ4d9B.cjs → swimlanes-5IMT3BWC-B4NiSeAu.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-DF44ln1f.js → swimlanes-5IMT3BWC-XX42VhKt.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-CvIDy8QL.js → swimlanesDiagram-G3AALYLV-BKETQ8kd.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-DYsRMOrz.cjs → swimlanesDiagram-G3AALYLV-CTB5wS8F.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-DuHFAvAd.cjs → timeline-definition-FHXFAJF6-BXjVhVTi.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-DIBwpFvl.js → timeline-definition-FHXFAJF6-D4JsJNMN.js} +2 -2
- package/dist/{vennDiagram-L72KCM5P-DBpsLKf-.cjs → vennDiagram-L72KCM5P-BXqC5uwk.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-BUMlGoKi.js → vennDiagram-L72KCM5P-CeQPM7cS.js} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-BCowwfdI.cjs → wardleyDiagram-EHGQE667-BTVb-Zre.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-uGh9tvhq.js → wardleyDiagram-EHGQE667-DCnCWYaP.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-bhSUxFht.js → xychartDiagram-FW5EYKEG-B483pmnn.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-D5alUig9.cjs → xychartDiagram-FW5EYKEG-IHIgLsPb.cjs} +1 -1
- package/package.json +9 -9
- package/dist/flowDiagram-23GEKE2U-Caq5LuWz.js +0 -7
- package/dist/flowDiagram-23GEKE2U-nmpL2NN0.cjs +0 -1
package/README.md
CHANGED
|
@@ -583,8 +583,11 @@ Mermaid draws in that element and the component shows the result in the slot, so
|
|
|
583
583
|
While a finger or pen pans or pinches the drawing, the frame cancels the default action of its `touchmove` events, so the browser starts no momentum scroll and the next tap on a control is never spent stopping one. That non-passive listener is bound only while the drawing overflows its frame: over a fitting diagram a finger scrolls without the browser waiting for the page's script.
|
|
584
584
|
- **Keyboard**: the frame takes focus (`tabindex="0"`, `role="group"`) and is named by the `diagram` label, which a hidden element carries with its own `lang`, so the drawing's text is not marked with it. On the frame itself, not on a link inside it and not with Ctrl, Meta or Alt held, the arrow keys pan the view by 25.9 % of the frame (only when the view can move; otherwise the page scrolls), `+` and `=` zoom in, `-` zooms out and `0` resets.
|
|
585
585
|
When an element inside the drawing takes the focus (a node's link, by Tab), the view pans by the least distance that brings the element's box inside the frame, because the clipping frame is no scroll container the browser could scroll to it.
|
|
586
|
-
- **Pan buttons**: four buttons (`pan-left`, `pan-up`, `pan-down`, `pan-right`)
|
|
587
|
-
- **Sizes**: under every pointer (a mouse, a pen or a finger) every control is 44 × 44 px and each menu item and the retry button at least 44 px tall (WCAG 2.2 enhanced target size). The toolbar is a wrapping row above the frame,
|
|
586
|
+
- **Pan buttons**: four buttons (`pan-left`, `pan-up`, `pan-down`, `pan-right`) lead the toolbar and are shown only while the drawing overflows its frame, so panning never needs a drag (WCAG 2.5.7); at fit they keep their slots hidden (`visibility: hidden`: not focusable, not exposed), so zooming never adds a toolbar row or moves the frame; each moves the view by the same step as the arrow keys.
|
|
587
|
+
- **Sizes**: under every pointer (a mouse, a pen or a finger) every control is 44 × 44 px and each menu item and the retry button at least 44 px tall (WCAG 2.2 enhanced target size). The toolbar is a wrapping row above the frame, aligned to the row's end, so the controls never cover the drawing.
|
|
588
|
+
The pan buttons come first in it, so the controls always shown (the mode menu, zoom in, zoom out and reset) stay at the row's end while the hidden pan buttons keep their slots.
|
|
589
|
+
The pan buttons and the other controls are two groups that each wrap as a whole, so a narrow column puts each group on a row of its own instead of dropping one control to the next row.
|
|
590
|
+
The menu opens below its button within the toolbar's row and the viewport: at the button's start edge, else at its end edge, else moved inside the row as near the button as it allows and narrowed to the row when the row is narrower (`data-aqmd-control-menu`: `start`, `end` or `inside`), so it stays over the diagram.
|
|
588
591
|
- **Tall diagrams**: under a coarse pointer the frame is at most `calc(100svh - 2 * 2.75rem)` tall, so two 44 px bands of the page stay outside it wherever it sits and a finger can scroll the page past the diagram; the clipped drawing then overflows and pans by finger.
|
|
589
592
|
- **Touch menu**: under a coarse pointer the menu button is named by `interactionModeTouch` and the menu lists four items, `none`, `zoom`, `pan` and `both`, worded for touch (see [Labels and languages](#labels-and-languages)); the checked item is the touch counterpart of the mode in force (`pan-shift` shows `pan`, `both-shift` shows `both`), and choosing an item sets that mode. Escape closes a menu and returns the focus to its button.
|
|
590
593
|
- **Colours and focus ring**: the controls, the menu items, the checked item, the error message and the retry button reach 7:1 against their surfaces in both schemes (dark when `.dark` or `[data-theme="dark"]` is on an ancestor). The focus ring of the frame, the toolbar controls and the retry button is a 2 px `#003abc` outline with a white 4 px halo, 9:1 apart, so some part of it stands out on any background (WCAG 2.4.13, 1.4.11); the menu items draw it inset. The ring's rules sit outside every cascade layer, so the controls' `shadow` utility cannot replace the halo.
|
|
@@ -647,12 +650,15 @@ Total 200 235
|
|
|
647
650
|
double. A column's width and a row's height change by dragging a header's 6 px edge (a double-click fits the column),
|
|
648
651
|
by Alt+Shift+Arrow and Alt+Shift+`=` (fit), or by the toolbar's size controls.
|
|
649
652
|
- **Toolbar** (44 × 44 px controls in a wrapping row above the box, the Mermaid toolbar's look; one tab stop whose controls
|
|
650
|
-
the arrow keys, Home and End walk, the APG toolbar):
|
|
651
|
-
control is as wide as the widest percent, 400 %, so the row never
|
|
652
|
-
(`aria-pressed`), the size controls, copy the whole table, save as TSV (no
|
|
653
|
-
one, for Excel) and full screen
|
|
654
|
-
|
|
655
|
-
|
|
653
|
+
the arrow keys, Home and End walk, the APG toolbar): the table's size at the row's start, and at its end zoom in, zoom
|
|
654
|
+
out, the zoom in percent, which returns it to 100 % (the control is as wide as the widest percent, 400 %, so the row never
|
|
655
|
+
shifts as the zoom changes), the bands toggle (`aria-pressed`), the size controls, copy the whole table, save as TSV (no
|
|
656
|
+
byte order mark; the menu next to it saves with one, for Excel) and full screen. The size sits at the start so that its
|
|
657
|
+
text growing with the table never moves a control, and the controls wrap in groups (the zoom, the bands and the sizes,
|
|
658
|
+
the copy and the saves, full screen), so a narrow column never parts the percent from its zoom buttons or the menu from
|
|
659
|
+
its save. The size control discloses a row of five 44 × 44 px buttons under the toolbar, at the row's end too, that
|
|
660
|
+
narrow, widen and fit the active column and make the active row shorter or taller, named after that column's letter and
|
|
661
|
+
that row's number — the grid's keyboard size commands for a pointer, so no size needs a drag
|
|
656
662
|
(WCAG 2.5.7); Escape in the row closes it and returns the focus to its control. The copy writes what the grid's own Ctrl+C
|
|
657
663
|
writes: TSV in Excel's clipboard form as `text/plain` (only a cell holding a tab or a line break is quoted, so a
|
|
658
664
|
plain-text target receives the cells as typed) and the interop HTML table, which carries the grid's own payload, as
|
|
@@ -718,7 +724,7 @@ Total 200 235
|
|
|
718
724
|
`data-aqmd-spreadsheet-zoom-widest`), `data-aqmd-spreadsheet-track-size` (the row of size controls) and
|
|
719
725
|
`data-aqmd-spreadsheet-track-size-control` (`decreaseColumnWidth`, `increaseColumnWidth`, `autoFitColumnWidth`,
|
|
720
726
|
`decreaseRowHeight`, `increaseRowHeight`), `data-aqmd-spreadsheet-menu` and `data-aqmd-spreadsheet-menu-item`
|
|
721
|
-
(`save-with-bom`) with the menu's
|
|
727
|
+
(`save-with-bom`) with the menu's place `data-aqmd-control-menu` (`start`, `end` or `inside`), `data-aqmd-spreadsheet-size`,
|
|
722
728
|
`data-aqmd-spreadsheet-box`, `data-aqmd-spreadsheet-static` (with `data-aqmd-spreadsheet-static-letters` and
|
|
723
729
|
`data-aqmd-spreadsheet-static-number`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
|
|
724
730
|
or `load`), `data-aqmd-spreadsheet-retry`, and the state attributes `data-aqmd-spreadsheet-editable` and
|
|
@@ -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-BQVuH2Cr.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-DSejuCSZ.js";
|
|
3
|
+
import { _ as n, U as o } from "./extractHeadings-DsF6Ytus.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-_xGQHEPZ.cjs"),u=require("./chunk-JWPE2WC7-CGTSmMeV.cjs"),n=require("./extractHeadings-C2UT0oKs.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,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-DsF6Ytus.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./extractHeadings-
|
|
1
|
+
"use strict";const n=require("./extractHeadings-C2UT0oKs.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;
|