@aiquants/markdown 11.8.0 → 11.8.2
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 +28 -17
- package/dist/{abnfDiagram-VRR7QNED-D0szZwCG.js → abnfDiagram-VRR7QNED-BVKLANg1.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-BRLoCRPQ.cjs → abnfDiagram-VRR7QNED-Bv6iQTPf.cjs} +1 -1
- package/dist/{arc-Ccu-ayCl.js → arc-C0_ZFMbn.js} +1 -1
- package/dist/{arc-CGdR0Tca.cjs → arc-XvdQv3_X.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-CymyNYQt.cjs → architectureDiagram-ZJ3FMSHR-Ba2ARwzf.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-DbyMuPGS.js → architectureDiagram-ZJ3FMSHR-D4WEA8bR.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-BweUb7Yr.js → blockDiagram-677ZJIJ3-BI9MniQl.js} +3 -3
- package/dist/{blockDiagram-677ZJIJ3-C5Bgybj5.cjs → blockDiagram-677ZJIJ3-J9p7hRr-.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-CyU1DB7u.cjs → c4Diagram-LMCZKHZV-B2vWx9OJ.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-B-plSCun.js → c4Diagram-LMCZKHZV-C5yuw9y4.js} +2 -2
- package/dist/{channel-Dt_QTXba.js → channel-BuUKRvwz.js} +1 -1
- package/dist/{channel-sZHrsGkH.cjs → channel-D4RNSR4m.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-BFW9-EFd.cjs → chunk-2Q5K7J3B-Da82f-JV.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-DVELPkUd.js → chunk-2Q5K7J3B-mP7m0aTi.js} +1 -1
- package/dist/{chunk-32BRIVSS-BYv4yrgE.js → chunk-32BRIVSS-CY47jInE.js} +1 -1
- package/dist/{chunk-32BRIVSS-Bv7iucyx.cjs → chunk-32BRIVSS-QL8wikEz.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-BTvnGnD9.js → chunk-5VM5RSS4-C2ibgWcT.js} +1 -1
- package/dist/{chunk-5VM5RSS4-C-QhjdCT.cjs → chunk-5VM5RSS4-Dw1sZ2dK.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-DIz76KTe.cjs → chunk-EX3LRPZG-CZYqHwqR.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-C1wirHA1.js → chunk-EX3LRPZG-DH1eP-Pi.js} +4 -4
- package/dist/{chunk-JWPE2WC7-wPRhy6DD.cjs → chunk-JWPE2WC7-8-O6I23F.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-CIP0B4rb.js → chunk-JWPE2WC7-CI8vElJl.js} +1 -1
- package/dist/{chunk-MOJQB5TN-B8kQ7QBv.js → chunk-MOJQB5TN-CnalNinv.js} +1 -1
- package/dist/{chunk-MOJQB5TN-DJHPNeE6.cjs → chunk-MOJQB5TN-DSUj8oTw.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-CXaWXKzP.js → chunk-PUDLZKDR-BonU-X-L.js} +6 -6
- package/dist/{chunk-PUDLZKDR-BMqwFM4U.cjs → chunk-PUDLZKDR-JOq1Wp-f.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-DN0nHxeS.js → chunk-RYQCIY6F-4EL63XFL.js} +1 -1
- package/dist/{chunk-RYQCIY6F-D6GElisB.cjs → chunk-RYQCIY6F-DuFhIn5O.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-BkzlEZEh.js → chunk-V7JOEXUC-BZ6cldra.js} +5 -5
- package/dist/{chunk-V7JOEXUC-gqTNmuW9.cjs → chunk-V7JOEXUC-Di_E9qbZ.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-CyTLAItX.cjs → chunk-VR4S4FIN-D-5k7LYg.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-ByNupH5L.js → chunk-VR4S4FIN-Dz0-pMsF.js} +1 -1
- package/dist/{chunk-XXDRQBXY-B7S9DRdA.js → chunk-XXDRQBXY-B9ZdRyQ3.js} +1 -1
- package/dist/{chunk-XXDRQBXY-CgzsAH2g.cjs → chunk-XXDRQBXY-DBz3b8lw.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-iZDNWC3p.cjs → classDiagram-OUVF2IWQ-BitRXfny.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-qEEmq_N1.js → classDiagram-OUVF2IWQ-C3mqCNeB.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-iZDNWC3p.cjs → classDiagram-v2-EOCWNBFH-BitRXfny.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-qEEmq_N1.js → classDiagram-v2-EOCWNBFH-C3mqCNeB.js} +2 -2
- package/dist/components/spreadsheetModel.d.ts +2 -2
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-BC9tS5MT.cjs → cose-bilkent-JH36ORCC-B04yjbiX.cjs} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-B9kDKj52.js → cose-bilkent-JH36ORCC-BP9FPPl5.js} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-BBg2Q9NY.js → cynefinDiagram-TSTJHNR4-C9Su2eDY.js} +2 -2
- package/dist/{cynefinDiagram-TSTJHNR4-BzKqmiB9.cjs → cynefinDiagram-TSTJHNR4-Czf82C5l.cjs} +1 -1
- package/dist/{dagre-VKFMJZFB-CP0cdqfa.js → dagre-VKFMJZFB-CHzg8A4L.js} +2 -2
- package/dist/{dagre-VKFMJZFB-CVJUvTgg.cjs → dagre-VKFMJZFB-CNHo3ePy.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-33efQjLc.js → diagram-FQU43EPY-DPOANLfh.js} +2 -2
- package/dist/{diagram-FQU43EPY-Cs3KiLAR.cjs → diagram-FQU43EPY-SBbc6A-V.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-pCYa0vLf.js → diagram-G47NLZAW-DcmugHso.js} +3 -3
- package/dist/{diagram-G47NLZAW-Ct9GLYhL.cjs → diagram-G47NLZAW-qINOCq2i.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-Ctf29Uap.js → diagram-NH7WQ7WH-B-H4sDOs.js} +2 -2
- package/dist/{diagram-NH7WQ7WH-DeWtXWMF.cjs → diagram-NH7WQ7WH-CqLkXrhA.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-CRHNZJgP.js → diagram-OA4YK3LP-CFPQUn99.js} +3 -3
- package/dist/{diagram-OA4YK3LP-Dl10bj_J.cjs → diagram-OA4YK3LP-Cx_mMF_k.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-DRPAcUmi.cjs → diagram-WEI45ONY-BCp3CEPx.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-CVQyU8fK.js → diagram-WEI45ONY-DtIWiRZh.js} +2 -2
- package/dist/{ebnfDiagram-CCIWWBDH-De1OMC2F.js → ebnfDiagram-CCIWWBDH-BkyB7GDl.js} +3 -3
- package/dist/{ebnfDiagram-CCIWWBDH-Db6prqk1.cjs → ebnfDiagram-CCIWWBDH-ae7r9sJj.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-zGb8olbj.js → erDiagram-Q63AITRT-C3frz5_E.js} +4 -4
- package/dist/{erDiagram-Q63AITRT-CguKyqIU.cjs → erDiagram-Q63AITRT-Uob9EKIP.cjs} +1 -1
- package/dist/{extractHeadings-D7tO9C9J.js → extractHeadings-CSIST70N.js} +59 -58
- package/dist/{extractHeadings-B1LB4zhj.cjs → extractHeadings-q9-nMjxZ.cjs} +4 -4
- package/dist/flowDiagram-23GEKE2U-B9QWrcsx.js +7 -0
- package/dist/flowDiagram-23GEKE2U-C3jd6i7t.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-pApIVY9T.js → ganttDiagram-NO4QXBWP-Br8K8yMC.js} +2 -2
- package/dist/{ganttDiagram-NO4QXBWP-D_nIC1Sz.cjs → ganttDiagram-NO4QXBWP-C0Yd_Jgw.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-C4cYiyhf.js → gitGraphDiagram-IHSO6WYX-D9mGopoc.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-CXerlZ1J.cjs → gitGraphDiagram-IHSO6WYX-wea6OW4b.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-Dafu4DNq.cjs → infoDiagram-FWYZ7A6U-DG5lOgKP.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-B12v6TQm.js → infoDiagram-FWYZ7A6U-DJP2-3Wv.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-mVvwMUjE.js → ishikawaDiagram-FXEZZL3T-B5RTeC2V.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-BQ3duedr.cjs → ishikawaDiagram-FXEZZL3T-D103ENwS.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-D4o8Kisa.js → journeyDiagram-5HDEW3XC-BhIlJSFf.js} +4 -4
- package/dist/{journeyDiagram-5HDEW3XC-F9fHvE_H.cjs → journeyDiagram-5HDEW3XC-CljsyWWe.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-D2JvIxFM.cjs → kanban-definition-HUTT4EX6-XYVjcLiT.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-COvoG4Ef.js → kanban-definition-HUTT4EX6-i_ZeGNw5.js} +2 -2
- package/dist/{linear-swMXNRJe.cjs → linear-B7pKd8FB.cjs} +1 -1
- package/dist/{linear-IRzgUsX6.js → linear-CDbnw2fg.js} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-BQjkbPh3.js → mindmap-definition-LN4V7U3C-0_lr0tHS.js} +3 -3
- package/dist/{mindmap-definition-LN4V7U3C-BI1CE_Mc.cjs → mindmap-definition-LN4V7U3C-1vdq3Rlm.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-1serdfbX.cjs → pegDiagram-2B236MQR-19B9d_Bh.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-DiDY9Q7V.js → pegDiagram-2B236MQR-BJd-RgxS.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-BGzLw6_P.js → pieDiagram-ENE6RG2P-D4bPhOA3.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-B74_uAlk.cjs → pieDiagram-ENE6RG2P-D_3kijCk.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-7ngvnGR1.js → quadrantDiagram-ABIIQ3AL-D2IKj61w.js} +2 -2
- package/dist/{quadrantDiagram-ABIIQ3AL-BhbRyrlZ.cjs → quadrantDiagram-ABIIQ3AL-chTKMnmP.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DxDf1uxD.js → railroadDiagram-RFXS5EU6-CshSitep.js} +3 -3
- package/dist/{railroadDiagram-RFXS5EU6-DuK82cbx.cjs → railroadDiagram-RFXS5EU6-Dj2mjq2m.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-Dz4lCKWI.js → requirementDiagram-TGXJPOKE-Cr-WsvUU.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-Bd7N5F3Y.cjs → requirementDiagram-TGXJPOKE-IqVUXu-f.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-BMsqImpH.js → sankeyDiagram-HTMAVEWB-BS8HE-f9.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-BniIuUi3.cjs → sankeyDiagram-HTMAVEWB-DKcAsCkg.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-DTHNdY45.cjs → sequenceDiagram-DBY2YBRQ-BhMjkZuk.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-DwHaD7-c.js → sequenceDiagram-DBY2YBRQ-oBPBZr8W.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-Da3YemnW.js → sizeCapture-X5ZJPWSS-CzAWlgIJ.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-LxU3KRAq.cjs → sizeCapture-X5ZJPWSS-DSOrfCCU.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-BAS68jdw.cjs → stateDiagram-2N3HPSRC-DGf-34Vz.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-By5PazjH.js → stateDiagram-2N3HPSRC-DUgJ1fpB.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-jDdm1piw.cjs → stateDiagram-v2-6OUMAXLB-BlMEhtRV.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-BLQ-Gra0.js → stateDiagram-v2-6OUMAXLB-DTLP-Rp0.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-C0T52byw.cjs → swimlanes-5IMT3BWC-DxH3ensQ.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-BRn0fddL.js → swimlanes-5IMT3BWC-HUe2Zb14.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-B7enxCzC.cjs → swimlanesDiagram-G3AALYLV-Bmxs1DxC.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-S9bhVeu0.js → swimlanesDiagram-G3AALYLV-DZUE8SZP.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-CZw2QDDv.js → timeline-definition-FHXFAJF6-7mi78EDG.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-BnAYKzLC.cjs → timeline-definition-FHXFAJF6-Bhi-eZDC.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-1fjdrem0.cjs → vennDiagram-L72KCM5P-8WRB9PMl.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-CLXIXfUp.js → vennDiagram-L72KCM5P-BfVSqh6A.js} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-sqtxUsgg.cjs → wardleyDiagram-EHGQE667-0bPs97A3.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-D_g_ISum.js → wardleyDiagram-EHGQE667-Ck9IAPXj.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-C4ndsEIu.cjs → xychartDiagram-FW5EYKEG-BzTVzWqQ.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-DN9AiaS8.js → xychartDiagram-FW5EYKEG-CltjynUS.js} +2 -2
- package/package.json +7 -7
- package/dist/flowDiagram-23GEKE2U-Cnor0ut6.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-mYhfOVXB.js +0 -7
package/README.md
CHANGED
|
@@ -632,7 +632,7 @@ Total 17,600 MT
|
|
|
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
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,
|
|
635
|
+
| `tapscroll=N` | 0, 1 | 0 | 1 shows the grid's tap-scroll circle on this table, 24 CSS px across (WCAG 2.5.8's minimum target), 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) |
|
|
636
636
|
|
|
637
637
|
- **Options are strict**: words are `key=value` separated by white space, each key at most once, each value a decimal integer
|
|
638
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
|
|
@@ -663,13 +663,19 @@ Total 17,600 MT
|
|
|
663
663
|
first shows it, so the page does not shift when the grid replaces it (a block that mounts after the grid has loaded draws
|
|
664
664
|
the grid at once) and a reader without JavaScript still sees the data: the column letters (A to Z, more than the box shows
|
|
665
665
|
at the default 100 px width) above the 64 px band of row numbers (both `aria-hidden`), 24 px rows, the header rows in
|
|
666
|
-
`<thead>` as `th scope="col"`, and the footer rows at the bottom when the table holds more rows than the box shows
|
|
667
|
-
|
|
666
|
+
`<thead>` as `th scope="col"`, and the footer rows at the bottom when the table holds more rows than the box shows (the
|
|
667
|
+
box goes to the header rows first, as in the grid, and the footer rows get what they leave), painted from the same
|
|
668
|
+
`--aqsp-*` variables as the grid. It follows the options as the grid will: the block's zoom (CSS `zoom`, so
|
|
668
669
|
the box keeps the grid's height), no letters or numbers with `headings=0`, every row in a box that shows them all, and with
|
|
669
670
|
`autofit=1` each column at the width of its widest text plus the grid's 9 px (a column without text in the rows drawn keeps
|
|
670
671
|
100 px; the plain table measures only the rows it draws, so a column may shift a little when the grid, which measures
|
|
671
|
-
every row, replaces it). Before the grid loads the box takes the column's width, with the plain table at its start
|
|
672
|
-
|
|
672
|
+
every row, replaces it). Before the grid loads the box takes the column's width, with the plain table at its start,
|
|
673
|
+
always shows the vertical scroll bar, and draws its bars as thick as the grid's 12 px (scaled by the zoom) where a
|
|
674
|
+
stylesheet can size them (`::-webkit-scrollbar`, with an inherited `scrollbar-color` reset on the box, since Chromium
|
|
675
|
+
ignores the pseudo-element under one), so a table wider than its box keeps its last row, its frame and its lines where
|
|
676
|
+
the grid's will be. Elsewhere (Firefox) the box draws the browser's thin bar, which does not scale with the zoom and may
|
|
677
|
+
cover the bottom of the last row at small zooms until the grid loads. A failed load keeps the plain table and shows the
|
|
678
|
+
error with a retry button.
|
|
673
679
|
- **The frame** (`frame=N`): the grid's range frame (`@aiquants/spreadsheet` 0.18's `frame`) around the table's body — never
|
|
674
680
|
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
681
|
grows when a reader types past it — in `--aqsp-frame-color` (the text's ink: `#1f2937` light, `#f3f4f6` dark, so the frame
|
|
@@ -679,21 +685,26 @@ Total 17,600 MT
|
|
|
679
685
|
view is not drawn, as in Excel) and joins across the frozen panes. The plain table draws the same line before the grid
|
|
680
686
|
loads (an `::after` over the table, inside the letters and numbers when the headings show), so the frame stays in place
|
|
681
687
|
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
|
|
683
|
-
|
|
688
|
+
part of the rows (a footer is drawn at the bottom, so a table with one closes it), the top when the footer rows fill a
|
|
689
|
+
box without header rows (only they are drawn), the end when the table has more columns than A to Z — as the grid leaves
|
|
690
|
+
those edges to a scroll. The frame sits under the active cell's frame, so the focus
|
|
684
691
|
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
692
|
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
693
|
colours (a border). It is decoration only: no role, no name, nothing announced.
|
|
687
694
|
- **The tap-scroll circle**: `spreadsheetTapScrollCircle` on `MarkdownRenderer` and `MarkdownViewer` gives the tables of a
|
|
688
695
|
document the look and the speeds of the grid's tap-scroll circle (the grid's `tapScrollCircleOptions`, a
|
|
689
696
|
`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
|
|
691
|
-
(
|
|
692
|
-
|
|
693
|
-
(a file preview) passes the circle as `tapScrollCircle`, shown
|
|
694
|
-
`"options"` applies the document's rule (the tables
|
|
695
|
-
the
|
|
696
|
-
|
|
697
|
+
document's table shows the circle only when its options say `tapscroll=1`, and then 24 CSS px across, the minimum
|
|
698
|
+
target of WCAG 2.5.8 (AA): the circle takes a press anywhere in its square box, only its look being round, so the
|
|
699
|
+
criterion's 24 × 24 square lies within it. The look's `enabled` and `size` are not read. A host
|
|
700
|
+
that renders `SpreadsheetBlock` itself to show one table (a file preview) passes the circle as `tapScrollCircle`, shown
|
|
701
|
+
as given (`tapScrollCircleShownBy`, `"host"` by default); `"options"` applies the document's rule (the tables
|
|
702
|
+
MarkdownRenderer and the mdast path's `CodeNode` draw use it — the mdast path has no prop for the look, so its tables
|
|
703
|
+
show the grid's own). Keep the circle's identity across renders: the viewer draws the document again when it changes,
|
|
704
|
+
and MarkdownRenderer draws every table's grid again. The circle is below 2.5.5's 44 px (AAA), the size of the block's
|
|
705
|
+
controls and of the grid's own circle, and that criterion's exceptions do not cover it: it floats over the cells,
|
|
706
|
+
which are targets themselves, and the table's scroll bars are 12 px. It is an aid a writer opts into per table; the
|
|
707
|
+
table scrolls without it by a finger's drag, the wheel and the keys.
|
|
697
708
|
- **Reading**: a read-only table (the default) is the grid's `readOnly` — every cell refuses edits and is announced as
|
|
698
709
|
read-only — while selection, Ctrl+C (the grid's own copy: TSV in Excel's clipboard form and the interop HTML table),
|
|
699
710
|
scrolling, the zoom, Excel's Ctrl+Arrow data edges, column and row sizes, the active row and column bands (on by default),
|
|
@@ -781,7 +792,7 @@ Total 17,600 MT
|
|
|
781
792
|
(`save-with-bom`) with the menu's place `data-aqmd-control-menu` (`start`, `end` or `inside`), `data-aqmd-spreadsheet-size`,
|
|
782
793
|
`data-aqmd-spreadsheet-box`, `data-aqmd-spreadsheet-static` (with `data-aqmd-spreadsheet-static-letters` and
|
|
783
794
|
`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`
|
|
795
|
+
by: `-headings`, `-earlier-rows`, `-more-rows` and `-more-columns`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
|
|
785
796
|
or `load`), `data-aqmd-spreadsheet-retry`, and the state attributes `data-aqmd-spreadsheet-editable` and
|
|
786
797
|
`data-aqmd-spreadsheet-fullscreen` (a host gives the double-click and the keys inside an editable or full-screen table to
|
|
787
798
|
the grid).
|
|
@@ -1018,8 +1029,8 @@ read as text only), `SPREADSHEETS_LANGUAGE`, `parseSpreadsheetOptions` (the one
|
|
|
1018
1029
|
word throws `SpreadsheetOptionsError`, a `RangeError` whose `word` names it), `SPREADSHEET_OPTION_RULES` (each option's
|
|
1019
1030
|
field, range, the only values it takes inside the range — `steps`, `null` for any — and value when absent),
|
|
1020
1031
|
`SPREADSHEET_ZOOM_STEP_PERCENTS` (the percents `zoom=` takes: the grid's zoom steps as the toolbar shows them) and the
|
|
1021
|
-
limits `DEFAULT_SPREADSHEET_VISIBLE_ROWS` (15), `MAX_SPREADSHEET_VISIBLE_ROWS` (1000)
|
|
1022
|
-
(128). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
|
|
1032
|
+
limits `DEFAULT_SPREADSHEET_VISIBLE_ROWS` (15), `MAX_SPREADSHEET_VISIBLE_ROWS` (1000), `MAX_SPREADSHEET_FROZEN_TRACKS`
|
|
1033
|
+
(128) and `MAX_SPREADSHEET_FRAME_WIDTH_PX` (3). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
|
|
1023
1034
|
It also holds the table block's label catalogs (`SPREADSHEET_BLOCK_LABEL_CATALOGS`) and the placeholders each label's
|
|
1024
1035
|
text takes (`SPREADSHEET_BLOCK_LABEL_PLACEHOLDERS`), so a host can derive its own label keys and texts from them.
|
|
1025
1036
|
|
|
@@ -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-CnalNinv.js";
|
|
2
|
+
import { p as f } from "./chunk-JWPE2WC7-CI8vElJl.js";
|
|
3
|
+
import { _ as n, U as o } from "./extractHeadings-CSIST70N.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-DSUj8oTw.cjs"),u=require("./chunk-JWPE2WC7-8-O6I23F.cjs"),n=require("./extractHeadings-q9-nMjxZ.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-CSIST70N.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-q9-nMjxZ.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;
|