@aiquants/markdown 11.7.0 → 11.8.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 +33 -6
- package/dist/{abnfDiagram-VRR7QNED-Sj5_On-R.cjs → abnfDiagram-VRR7QNED-BRLoCRPQ.cjs} +1 -1
- package/dist/{abnfDiagram-VRR7QNED-VkbT6HBV.js → abnfDiagram-VRR7QNED-D0szZwCG.js} +3 -3
- package/dist/{arc-NrIs4nU8.cjs → arc-CGdR0Tca.cjs} +1 -1
- package/dist/{arc-py7gf0Yq.js → arc-Ccu-ayCl.js} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-CF9WQzks.cjs → architectureDiagram-ZJ3FMSHR-CymyNYQt.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-Cvyg96_8.js → architectureDiagram-ZJ3FMSHR-DbyMuPGS.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-B0dz9ipf.js → blockDiagram-677ZJIJ3-BweUb7Yr.js} +3 -3
- package/dist/{blockDiagram-677ZJIJ3-B_KNNdhw.cjs → blockDiagram-677ZJIJ3-C5Bgybj5.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-BQzHQ6Ki.js → c4Diagram-LMCZKHZV-B-plSCun.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-DENxDmBD.cjs → c4Diagram-LMCZKHZV-CyU1DB7u.cjs} +1 -1
- package/dist/{channel-yrSFSkk7.js → channel-Dt_QTXba.js} +1 -1
- package/dist/{channel-CQu5cMzm.cjs → channel-sZHrsGkH.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-CEWViFa1.cjs → chunk-2Q5K7J3B-BFW9-EFd.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-Ba5deuY_.js → chunk-2Q5K7J3B-DVELPkUd.js} +1 -1
- package/dist/{chunk-32BRIVSS-DLM-9Wyu.js → chunk-32BRIVSS-BYv4yrgE.js} +1 -1
- package/dist/{chunk-32BRIVSS-BYyLfwQB.cjs → chunk-32BRIVSS-Bv7iucyx.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-DpH_qorY.js → chunk-5VM5RSS4-BTvnGnD9.js} +1 -1
- package/dist/{chunk-5VM5RSS4-DGj0DWcq.cjs → chunk-5VM5RSS4-C-QhjdCT.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-BE4lnjVR.js → chunk-EX3LRPZG-C1wirHA1.js} +4 -4
- package/dist/{chunk-EX3LRPZG-BLmf1YD_.cjs → chunk-EX3LRPZG-DIz76KTe.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-BHosXdjj.js → chunk-JWPE2WC7-CIP0B4rb.js} +1 -1
- package/dist/{chunk-JWPE2WC7-BDTwSGLy.cjs → chunk-JWPE2WC7-wPRhy6DD.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-C8oU3vWm.js → chunk-MOJQB5TN-B8kQ7QBv.js} +1 -1
- package/dist/{chunk-MOJQB5TN-BpnxyFLL.cjs → chunk-MOJQB5TN-DJHPNeE6.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-D58buO98.cjs → chunk-PUDLZKDR-BMqwFM4U.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-DrHNv9n4.js → chunk-PUDLZKDR-CXaWXKzP.js} +6 -6
- package/dist/{chunk-RYQCIY6F-DIVXolrM.cjs → chunk-RYQCIY6F-D6GElisB.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-8tnNpneu.js → chunk-RYQCIY6F-DN0nHxeS.js} +1 -1
- package/dist/{chunk-V7JOEXUC-C0-NE8tl.js → chunk-V7JOEXUC-BkzlEZEh.js} +5 -5
- package/dist/{chunk-V7JOEXUC-BmodhLLH.cjs → chunk-V7JOEXUC-gqTNmuW9.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-9-hfI-5e.js → chunk-VR4S4FIN-ByNupH5L.js} +1 -1
- package/dist/{chunk-VR4S4FIN-Dcwfx0Xd.cjs → chunk-VR4S4FIN-CyTLAItX.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-BoKfIRNl.js → chunk-XXDRQBXY-B7S9DRdA.js} +1 -1
- package/dist/{chunk-XXDRQBXY-0hmJ1rrX.cjs → chunk-XXDRQBXY-CgzsAH2g.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-DajSJJi9.cjs → classDiagram-OUVF2IWQ-iZDNWC3p.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-CEQZaGZr.js → classDiagram-OUVF2IWQ-qEEmq_N1.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-DajSJJi9.cjs → classDiagram-v2-EOCWNBFH-iZDNWC3p.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-CEQZaGZr.js → classDiagram-v2-EOCWNBFH-qEEmq_N1.js} +2 -2
- package/dist/{code-blocks-Gfo7U6nu.js → code-blocks-UwfqjHr4.js} +134 -125
- package/dist/code-blocks-_AnVEB6v.cjs +4 -0
- package/dist/code-blocks.cjs +1 -1
- package/dist/code-blocks.d.ts +4 -1
- package/dist/code-blocks.js +16 -15
- package/dist/components/MarkdownRenderer.d.ts +3 -1
- package/dist/components/MarkdownViewer.d.ts +3 -1
- package/dist/components/SpreadsheetBlock.d.ts +5 -1
- package/dist/components/spreadsheetModel.d.ts +1 -0
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-CJfephTa.js → cose-bilkent-JH36ORCC-B9kDKj52.js} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-WVMY9rAf.cjs → cose-bilkent-JH36ORCC-BC9tS5MT.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-qBuinPMY.js → cynefinDiagram-TSTJHNR4-BBg2Q9NY.js} +2 -2
- package/dist/{cynefinDiagram-TSTJHNR4-CyHYL4Fv.cjs → cynefinDiagram-TSTJHNR4-BzKqmiB9.cjs} +1 -1
- package/dist/{dagre-VKFMJZFB-BGwiWDIl.js → dagre-VKFMJZFB-CP0cdqfa.js} +2 -2
- package/dist/{dagre-VKFMJZFB-Bxvx3U_t.cjs → dagre-VKFMJZFB-CVJUvTgg.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-C5Fvw5Tn.js → diagram-FQU43EPY-33efQjLc.js} +2 -2
- package/dist/{diagram-FQU43EPY-BwN3uoVa.cjs → diagram-FQU43EPY-Cs3KiLAR.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-CnMUSlXY.cjs → diagram-G47NLZAW-Ct9GLYhL.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-CvGw3XtN.js → diagram-G47NLZAW-pCYa0vLf.js} +3 -3
- package/dist/{diagram-NH7WQ7WH-D7-uO-bT.js → diagram-NH7WQ7WH-Ctf29Uap.js} +2 -2
- package/dist/{diagram-NH7WQ7WH-HR3GmiFi.cjs → diagram-NH7WQ7WH-DeWtXWMF.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-Cr51HmOj.js → diagram-OA4YK3LP-CRHNZJgP.js} +3 -3
- package/dist/{diagram-OA4YK3LP-CUZPu2NV.cjs → diagram-OA4YK3LP-Dl10bj_J.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-CJ_UXgas.js → diagram-WEI45ONY-CVQyU8fK.js} +2 -2
- package/dist/{diagram-WEI45ONY-DW5TKPfj.cjs → diagram-WEI45ONY-DRPAcUmi.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-DhgLuRam.cjs → ebnfDiagram-CCIWWBDH-Db6prqk1.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-DTWPepW4.js → ebnfDiagram-CCIWWBDH-De1OMC2F.js} +3 -3
- package/dist/{erDiagram-Q63AITRT-K888jRhT.cjs → erDiagram-Q63AITRT-CguKyqIU.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-i4-z9VHv.js → erDiagram-Q63AITRT-zGb8olbj.js} +4 -4
- package/dist/{extractHeadings-C5f3OovB.cjs → extractHeadings-B1LB4zhj.cjs} +66 -66
- package/dist/{extractHeadings-BlTc-7J2.js → extractHeadings-D7tO9C9J.js} +6186 -6147
- package/dist/flowDiagram-23GEKE2U-Cnor0ut6.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-mYhfOVXB.js +7 -0
- package/dist/{ganttDiagram-NO4QXBWP-Bv5IHau7.cjs → ganttDiagram-NO4QXBWP-D_nIC1Sz.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-C4xkpIAZ.js → ganttDiagram-NO4QXBWP-pApIVY9T.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX--LfKa8VN.js → gitGraphDiagram-IHSO6WYX-C4cYiyhf.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-CergKBJL.cjs → gitGraphDiagram-IHSO6WYX-CXerlZ1J.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +1 -1
- package/dist/index.client.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{infoDiagram-FWYZ7A6U-BPjBgSCd.js → infoDiagram-FWYZ7A6U-B12v6TQm.js} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-BncN8Ibs.cjs → infoDiagram-FWYZ7A6U-Dafu4DNq.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-Bunjpof6.cjs → ishikawaDiagram-FXEZZL3T-BQ3duedr.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-qvB590dl.js → ishikawaDiagram-FXEZZL3T-mVvwMUjE.js} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-96BtcW1Q.js → journeyDiagram-5HDEW3XC-D4o8Kisa.js} +4 -4
- package/dist/{journeyDiagram-5HDEW3XC-B3fF1ZcO.cjs → journeyDiagram-5HDEW3XC-F9fHvE_H.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-D79Ulrl0.js → kanban-definition-HUTT4EX6-COvoG4Ef.js} +2 -2
- package/dist/{kanban-definition-HUTT4EX6-BGX92Pg4.cjs → kanban-definition-HUTT4EX6-D2JvIxFM.cjs} +1 -1
- package/dist/{linear-Du8Ad8fL.js → linear-IRzgUsX6.js} +1 -1
- package/dist/{linear-C3cIVEcf.cjs → linear-swMXNRJe.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-dxTmV8jM.cjs → mindmap-definition-LN4V7U3C-BI1CE_Mc.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-IHeW6T5W.js → mindmap-definition-LN4V7U3C-BQjkbPh3.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-CCKva8a7.cjs → pegDiagram-2B236MQR-1serdfbX.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-C8WdPYuB.js → pegDiagram-2B236MQR-DiDY9Q7V.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-DDFYPeoq.cjs → pieDiagram-ENE6RG2P-B74_uAlk.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P--iua_PNq.js → pieDiagram-ENE6RG2P-BGzLw6_P.js} +3 -3
- package/dist/{quadrantDiagram-ABIIQ3AL-B1vBDypi.js → quadrantDiagram-ABIIQ3AL-7ngvnGR1.js} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-GNHupaaC.cjs → quadrantDiagram-ABIIQ3AL-BhbRyrlZ.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DGrvdfLv.cjs → railroadDiagram-RFXS5EU6-DuK82cbx.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DxVBMmTY.js → railroadDiagram-RFXS5EU6-DxDf1uxD.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-Dx1G8Vm4.cjs → requirementDiagram-TGXJPOKE-Bd7N5F3Y.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-CwzAm7N1.js → requirementDiagram-TGXJPOKE-Dz4lCKWI.js} +3 -3
- package/dist/{sankeyDiagram-HTMAVEWB-B02naxnk.js → sankeyDiagram-HTMAVEWB-BMsqImpH.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-LZRPX9hl.cjs → sankeyDiagram-HTMAVEWB-BniIuUi3.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-DYCLYvHB.cjs → sequenceDiagram-DBY2YBRQ-DTHNdY45.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-Dl6_8Nxh.js → sequenceDiagram-DBY2YBRQ-DwHaD7-c.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-BXRn1Qce.js → sizeCapture-X5ZJPWSS-Da3YemnW.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-BEN184OG.cjs → sizeCapture-X5ZJPWSS-LxU3KRAq.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-_5ZWQtfK.cjs → stateDiagram-2N3HPSRC-BAS68jdw.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-B3gQQMYs.js → stateDiagram-2N3HPSRC-By5PazjH.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-D7sTymg2.js → stateDiagram-v2-6OUMAXLB-BLQ-Gra0.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-Df1IAtWl.cjs → stateDiagram-v2-6OUMAXLB-jDdm1piw.cjs} +1 -1
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-BZOp3NpP.js → swimlanes-5IMT3BWC-BRn0fddL.js} +3 -3
- package/dist/{swimlanes-5IMT3BWC-X71bAiMk.cjs → swimlanes-5IMT3BWC-C0T52byw.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-CdGsaAq-.cjs → swimlanesDiagram-G3AALYLV-B7enxCzC.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-Cmbz9m9s.js → swimlanesDiagram-G3AALYLV-S9bhVeu0.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-0ZZxKj9x.cjs → timeline-definition-FHXFAJF6-BnAYKzLC.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-CW8ARSsj.js → timeline-definition-FHXFAJF6-CZw2QDDv.js} +2 -2
- package/dist/{vennDiagram-L72KCM5P-RkXD11Pi.cjs → vennDiagram-L72KCM5P-1fjdrem0.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-BJI6ndSG.js → vennDiagram-L72KCM5P-CLXIXfUp.js} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-CxZ0GBm_.js → wardleyDiagram-EHGQE667-D_g_ISum.js} +2 -2
- package/dist/{wardleyDiagram-EHGQE667-CoQXacHo.cjs → wardleyDiagram-EHGQE667-sqtxUsgg.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-tj9Y_Wzq.cjs → xychartDiagram-FW5EYKEG-C4ndsEIu.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-P_PV9PCQ.js → xychartDiagram-FW5EYKEG-DN9AiaS8.js} +2 -2
- package/package.json +9 -9
- package/dist/code-blocks-Cpo2S9jm.cjs +0 -4
- package/dist/flowDiagram-23GEKE2U-CoPy7PrM.js +0 -7
- package/dist/flowDiagram-23GEKE2U-De-TVBgx.cjs +0 -1
package/README.md
CHANGED
|
@@ -610,10 +610,10 @@ Total 200 235
|
|
|
610
610
|
````
|
|
611
611
|
|
|
612
612
|
A table drawn as on its original print — no toolbar, no column letters or row numbers, the columns fitted to their text,
|
|
613
|
-
at 71 % and every row shown, with the page scrolling past it:
|
|
613
|
+
at 71 % and every row shown, framed as the print frames it, with the page scrolling past it:
|
|
614
614
|
|
|
615
615
|
````markdown
|
|
616
|
-
```spreadsheets header=1 footer=1 toolbar=0 headings=0 autofit=1 zoom=71 height=1000
|
|
616
|
+
```spreadsheets header=1 footer=1 toolbar=0 headings=0 autofit=1 zoom=71 height=1000 frame=2
|
|
617
617
|
Region Demand Note
|
|
618
618
|
Kanto 17,600 MT The largest market, served from three ports
|
|
619
619
|
Total 17,600 MT
|
|
@@ -631,6 +631,8 @@ Total 17,600 MT
|
|
|
631
631
|
| `toolbar=N` | 0, 1 | 1 | 0 leaves out the toolbar and the table's size; the grid's own keys stay (Ctrl+C, Ctrl+Alt+`=` / `-` / `0`, Alt+wheel, Alt+Shift+Arrow and Alt+Shift+`=`), while full screen, saving and the size buttons go with it, and the table starts without the highlight bands (only the toolbar's toggle turns them off) |
|
|
632
632
|
| `headings=N` | 0, 1 | 1 | 0 leaves out the column letters, the row numbers and their corner, in the grid and in the plain table (Excel's "headings"; `header=` is the table's own header rows) |
|
|
633
633
|
| `autofit=N` | 0, 1 | 0 | 1 fits every column to the widest text of all its rows (header rows in bold) when the grid loads, when the table or the options change, and when a web font of the cells' families finishes loading; a column without text keeps its width |
|
|
634
|
+
| `frame=N` | 0–3 | 0 | N from 1 draws a line N CSS px wide (at 100 %) just inside the outer edges of the table's body, the frame a printed table has (see the frame below); 0 draws none |
|
|
635
|
+
| `tapscroll=N` | 0, 1 | 0 | 1 shows the grid's tap-scroll circle on this table, half a control's 44 px target across, in the look the host passes; 0 leaves it out, so a reader scrolling the page past a document's tables meets a circle only where its author asked for one (see the circle below) |
|
|
634
636
|
|
|
635
637
|
- **Options are strict**: words are `key=value` separated by white space, each key at most once, each value a decimal integer
|
|
636
638
|
without a sign or leading zeros. An unknown key, a repeated key, a malformed word, a value out of range or a `zoom` that is
|
|
@@ -668,6 +670,30 @@ Total 17,600 MT
|
|
|
668
670
|
100 px; the plain table measures only the rows it draws, so a column may shift a little when the grid, which measures
|
|
669
671
|
every row, replaces it). Before the grid loads the box takes the column's width, with the plain table at its start. A
|
|
670
672
|
failed load keeps the plain table and shows the error with a retry button.
|
|
673
|
+
- **The frame** (`frame=N`): the grid's range frame (`@aiquants/spreadsheet` 0.18's `frame`) around the table's body — never
|
|
674
|
+
around the spare row and column an editable table grows into, so the frame is the edge of the table written back, and it
|
|
675
|
+
grows when a reader types past it — in `--aqsp-frame-color` (the text's ink: `#1f2937` light, `#f3f4f6` dark, so the frame
|
|
676
|
+
reads darker than the inner lines, as on a print) and `--aqsp-frame-width` (the block writes `Npx` on its box). It lies
|
|
677
|
+
inside the cells' outer edges, so the layout does not move, scales with the zoom like the cells' lines (the frame belongs
|
|
678
|
+
to the table's picture: at `zoom=71` a 2 px frame is 1.42 px on screen), scrolls with the cells (an edge scrolled out of
|
|
679
|
+
view is not drawn, as in Excel) and joins across the frozen panes. The plain table draws the same line before the grid
|
|
680
|
+
loads (an `::after` over the table, inside the letters and numbers when the headings show), so the frame stays in place
|
|
681
|
+
when the grid replaces it, and leaves open an edge the table runs on past what it draws — the bottom when the box shows
|
|
682
|
+
part of the rows (a footer is drawn at the bottom, so a table with one closes it), the end when the table has more columns
|
|
683
|
+
than A to Z — as the grid leaves those edges to a scroll. The frame sits under the active cell's frame, so the focus
|
|
684
|
+
indicator is never covered (WCAG 2.4.11–2.4.13), keeps 3:1 or more on every surface it lies on (WCAG 1.4.11; light
|
|
685
|
+
14.68:1 on the cells and 13.34:1 on the header rows and bands, dark 16.13:1 and 13.33:1), and stays visible under forced
|
|
686
|
+
colours (a border). It is decoration only: no role, no name, nothing announced.
|
|
687
|
+
- **The tap-scroll circle**: `spreadsheetTapScrollCircle` on `MarkdownRenderer` and `MarkdownViewer` gives the tables of a
|
|
688
|
+
document the look and the speeds of the grid's tap-scroll circle (the grid's `tapScrollCircleOptions`, a
|
|
689
|
+
`ScrollBarTapCircleOptions`, such as `@aiquants/virtualscroll`'s sample visual; the grid's own look when absent). A
|
|
690
|
+
document's table shows the circle only when its options say `tapscroll=1`, and then 22 CSS px across
|
|
691
|
+
(`SPREADSHEET_DOCUMENT_TAP_SCROLL_CIRCLE_SIZE_PX`, half the 44 px target of the block's controls and of the grid's own
|
|
692
|
+
circle), so the look's `enabled` and `size` are not read. A host that renders `SpreadsheetBlock` itself to show one table
|
|
693
|
+
(a file preview) passes the circle as `tapScrollCircle`, shown as given (`tapScrollCircleShownBy`, `"host"` by default);
|
|
694
|
+
`"options"` applies the document's rule (the tables MarkdownRenderer and the mdast path's `CodeNode` draw use it). Keep
|
|
695
|
+
the circle's identity across renders: the viewer draws the document again when it changes. The 22 px circle is below
|
|
696
|
+
WCAG 2.5.5's 44 px target; the same scrolling stays with dragging the table, the wheel, the keys and the scroll bars.
|
|
671
697
|
- **Reading**: a read-only table (the default) is the grid's `readOnly` — every cell refuses edits and is announced as
|
|
672
698
|
read-only — while selection, Ctrl+C (the grid's own copy: TSV in Excel's clipboard form and the interop HTML table),
|
|
673
699
|
scrolling, the zoom, Excel's Ctrl+Arrow data edges, column and row sizes, the active row and column bands (on by default),
|
|
@@ -742,8 +768,8 @@ Total 17,600 MT
|
|
|
742
768
|
variables on the block's root, for the light scheme (the grid's own defaults) and the dark one (`.dark` or
|
|
743
769
|
`[data-theme="dark"]` on an ancestor): every text keeps 7:1 on every surface it sits on (the selection, the bands and the
|
|
744
770
|
error fill composited in), and every mark that carries meaning keeps 3:1 on its surfaces (the selection border, the note
|
|
745
|
-
and comment markers, the reference and fill-preview outlines, the freeze divider, the popovers' input border —
|
|
746
|
-
pairs the grid checks for itself). The toolbar, the menu, the errors and the focus ring use the controls' palette shared
|
|
771
|
+
and comment markers, the reference and fill-preview outlines, the freeze divider, the frame, the popovers' input border —
|
|
772
|
+
the same pairs the grid checks for itself). The toolbar, the menu, the errors and the focus ring use the controls' palette shared
|
|
747
773
|
with Mermaid.
|
|
748
774
|
- **Hooks**: `data-aqmd-spreadsheet` (the root, which carries `data-source-lines` and the palette's CSS variables) with its
|
|
749
775
|
layout `data-aqmd-spreadsheet-layout` (`inline` or `fill`), `data-aqmd-spreadsheet-dialog`, `data-aqmd-spreadsheet-toolbar`,
|
|
@@ -754,7 +780,8 @@ Total 17,600 MT
|
|
|
754
780
|
`decreaseRowHeight`, `increaseRowHeight`), `data-aqmd-spreadsheet-menu` and `data-aqmd-spreadsheet-menu-item`
|
|
755
781
|
(`save-with-bom`) with the menu's place `data-aqmd-control-menu` (`start`, `end` or `inside`), `data-aqmd-spreadsheet-size`,
|
|
756
782
|
`data-aqmd-spreadsheet-box`, `data-aqmd-spreadsheet-static` (with `data-aqmd-spreadsheet-static-letters` and
|
|
757
|
-
`data-aqmd-spreadsheet-static-number
|
|
783
|
+
`data-aqmd-spreadsheet-static-number`, and on a framed table `data-aqmd-spreadsheet-static-frame` with the edges it draws
|
|
784
|
+
by: `-headings`, `-more-rows` and `-more-columns`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
|
|
758
785
|
or `load`), `data-aqmd-spreadsheet-retry`, and the state attributes `data-aqmd-spreadsheet-editable` and
|
|
759
786
|
`data-aqmd-spreadsheet-fullscreen` (a host gives the double-click and the keys inside an editable or full-screen table to
|
|
760
787
|
the grid).
|
|
@@ -963,7 +990,7 @@ placeholder without a value stays as written, so a misspelt one shows rather tha
|
|
|
963
990
|
| `cellAnnouncement`, `readOnlyCellAnnouncement`, `emptyCell` | A cell's announcement (`{cell}` as `B2`, `{value}`) and an empty cell's value | {cell}, {value} / {cell}, {value}, read-only / blank | {cell}、{value} / {cell}、{value}、読み取り専用 / 空白 |
|
|
964
991
|
| `selectionAnnouncement` | A selection's announcement (`{range}` as `A1` or `A1:C3`) | {range} selected | {range} を選択 |
|
|
965
992
|
| `readOnly`, `formatRefused`, `fenceRefused`, `editConflict`, `unwritable` | The notices of a refused edit | Why the edit was not saved, one text per reason | 同じ |
|
|
966
|
-
| `optionsError` | The error of an option that cannot be read (`{word}`, `{frozenMax}`, `{heightMax}`, `{zoomSteps}`) | The table option “{word}” cannot be read. … | 表の指定「{word}」を読めません。… |
|
|
993
|
+
| `optionsError` | The error of an option that cannot be read (`{word}`, `{frozenMax}`, `{heightMax}`, `{zoomSteps}`, `{frameMax}`) | The table option “{word}” cannot be read. … | 表の指定「{word}」を読めません。… |
|
|
967
994
|
| `tooLarge` | The error of a table past the budget (`{cells}`, `{max}`) | This table has {cells} cells, more than the {max} a table shows. Its text is still in the document. | この表のセルは {cells} 個で、表が見せられる {max} 個を超えます。表の文字は文書の中にあります。 |
|
|
968
995
|
| `loadFailed`, `retry` | The error of a failed load and its retry button | Could not load the spreadsheet. Check the connection and retry. / Retry | 表を読み込めませんでした。接続を確かめて再試行してください。 / 再試行 |
|
|
969
996
|
|
|
@@ -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-DJHPNeE6.cjs"),u=require("./chunk-JWPE2WC7-wPRhy6DD.cjs"),n=require("./extractHeadings-B1LB4zhj.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,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-B8kQ7QBv.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-CIP0B4rb.js";
|
|
3
|
+
import { _ as n, U as o } from "./extractHeadings-D7tO9C9J.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";const n=require("./extractHeadings-
|
|
1
|
+
"use strict";const n=require("./extractHeadings-B1LB4zhj.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-D7tO9C9J.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|