@aiquants/markdown 11.8.0 → 11.8.1

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.
Files changed (122) hide show
  1. package/README.md +26 -16
  2. package/dist/{abnfDiagram-VRR7QNED-D0szZwCG.js → abnfDiagram-VRR7QNED-C4drt50B.js} +3 -3
  3. package/dist/{abnfDiagram-VRR7QNED-BRLoCRPQ.cjs → abnfDiagram-VRR7QNED-Czh6_Pzi.cjs} +1 -1
  4. package/dist/{arc-Ccu-ayCl.js → arc-BTGvYLLb.js} +1 -1
  5. package/dist/{arc-CGdR0Tca.cjs → arc-C3J7MsS-.cjs} +1 -1
  6. package/dist/{architectureDiagram-ZJ3FMSHR-DbyMuPGS.js → architectureDiagram-ZJ3FMSHR-BzIcctpT.js} +2 -2
  7. package/dist/{architectureDiagram-ZJ3FMSHR-CymyNYQt.cjs → architectureDiagram-ZJ3FMSHR-p1zMWwLB.cjs} +1 -1
  8. package/dist/{blockDiagram-677ZJIJ3-BweUb7Yr.js → blockDiagram-677ZJIJ3-B3_YHl9k.js} +3 -3
  9. package/dist/{blockDiagram-677ZJIJ3-C5Bgybj5.cjs → blockDiagram-677ZJIJ3-UEjZ1p8f.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-B-plSCun.js → c4Diagram-LMCZKHZV-BZD1wV5v.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-CyU1DB7u.cjs → c4Diagram-LMCZKHZV-mO_6E_Mo.cjs} +1 -1
  12. package/dist/{channel-Dt_QTXba.js → channel-DDXAAlrM.js} +1 -1
  13. package/dist/{channel-sZHrsGkH.cjs → channel-DRm-jj0B.cjs} +1 -1
  14. package/dist/{chunk-2Q5K7J3B-DVELPkUd.js → chunk-2Q5K7J3B-B7GjFRMy.js} +1 -1
  15. package/dist/{chunk-2Q5K7J3B-BFW9-EFd.cjs → chunk-2Q5K7J3B-Bww2nx_J.cjs} +1 -1
  16. package/dist/{chunk-32BRIVSS-Bv7iucyx.cjs → chunk-32BRIVSS-BGG0Vzrz.cjs} +1 -1
  17. package/dist/{chunk-32BRIVSS-BYv4yrgE.js → chunk-32BRIVSS-BbdXHOu9.js} +1 -1
  18. package/dist/{chunk-5VM5RSS4-C-QhjdCT.cjs → chunk-5VM5RSS4-BQjhv0-n.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-BTvnGnD9.js → chunk-5VM5RSS4-BcmPxhYv.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-DIz76KTe.cjs → chunk-EX3LRPZG-B1YZ1vFU.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-C1wirHA1.js → chunk-EX3LRPZG-BSTSkQtz.js} +4 -4
  22. package/dist/{chunk-JWPE2WC7-wPRhy6DD.cjs → chunk-JWPE2WC7-BDRWCymR.cjs} +1 -1
  23. package/dist/{chunk-JWPE2WC7-CIP0B4rb.js → chunk-JWPE2WC7-DtersqR-.js} +1 -1
  24. package/dist/{chunk-MOJQB5TN-DJHPNeE6.cjs → chunk-MOJQB5TN-0CuDPxrC.cjs} +1 -1
  25. package/dist/{chunk-MOJQB5TN-B8kQ7QBv.js → chunk-MOJQB5TN-Dd8CHqwB.js} +1 -1
  26. package/dist/{chunk-PUDLZKDR-BMqwFM4U.cjs → chunk-PUDLZKDR-BXSC8Gu_.cjs} +1 -1
  27. package/dist/{chunk-PUDLZKDR-CXaWXKzP.js → chunk-PUDLZKDR-Ct8nN5La.js} +6 -6
  28. package/dist/{chunk-RYQCIY6F-D6GElisB.cjs → chunk-RYQCIY6F-DBhmy79i.cjs} +1 -1
  29. package/dist/{chunk-RYQCIY6F-DN0nHxeS.js → chunk-RYQCIY6F-DNmPOMS7.js} +1 -1
  30. package/dist/{chunk-V7JOEXUC-gqTNmuW9.cjs → chunk-V7JOEXUC-66-yF1A-.cjs} +1 -1
  31. package/dist/{chunk-V7JOEXUC-BkzlEZEh.js → chunk-V7JOEXUC-CE_C6Omz.js} +5 -5
  32. package/dist/{chunk-VR4S4FIN-ByNupH5L.js → chunk-VR4S4FIN-D6vnTTVa.js} +1 -1
  33. package/dist/{chunk-VR4S4FIN-CyTLAItX.cjs → chunk-VR4S4FIN-D_UlARjR.cjs} +1 -1
  34. package/dist/{chunk-XXDRQBXY-CgzsAH2g.cjs → chunk-XXDRQBXY-CHQ4xjvz.cjs} +1 -1
  35. package/dist/{chunk-XXDRQBXY-B7S9DRdA.js → chunk-XXDRQBXY-DxM09ngj.js} +1 -1
  36. package/dist/{classDiagram-OUVF2IWQ-iZDNWC3p.cjs → classDiagram-OUVF2IWQ-B9uxI2fl.cjs} +1 -1
  37. package/dist/{classDiagram-v2-EOCWNBFH-qEEmq_N1.js → classDiagram-OUVF2IWQ-jJ6UuE0G.js} +2 -2
  38. package/dist/{classDiagram-v2-EOCWNBFH-iZDNWC3p.cjs → classDiagram-v2-EOCWNBFH-B9uxI2fl.cjs} +1 -1
  39. package/dist/{classDiagram-OUVF2IWQ-qEEmq_N1.js → classDiagram-v2-EOCWNBFH-jJ6UuE0G.js} +2 -2
  40. package/dist/components/spreadsheetModel.d.ts +1 -1
  41. package/dist/converter.wasm +0 -0
  42. package/dist/{cose-bilkent-JH36ORCC-BC9tS5MT.cjs → cose-bilkent-JH36ORCC-D-Rvw8OU.cjs} +1 -1
  43. package/dist/{cose-bilkent-JH36ORCC-B9kDKj52.js → cose-bilkent-JH36ORCC-DSGG9PcV.js} +1 -1
  44. package/dist/{cynefinDiagram-TSTJHNR4-BBg2Q9NY.js → cynefinDiagram-TSTJHNR4-BN2nXEP2.js} +2 -2
  45. package/dist/{cynefinDiagram-TSTJHNR4-BzKqmiB9.cjs → cynefinDiagram-TSTJHNR4-CkUvJf5H.cjs} +1 -1
  46. package/dist/{dagre-VKFMJZFB-CP0cdqfa.js → dagre-VKFMJZFB-CYXkN1j9.js} +2 -2
  47. package/dist/{dagre-VKFMJZFB-CVJUvTgg.cjs → dagre-VKFMJZFB-D8vl7WVr.cjs} +1 -1
  48. package/dist/{diagram-FQU43EPY-33efQjLc.js → diagram-FQU43EPY-D41uDSK6.js} +2 -2
  49. package/dist/{diagram-FQU43EPY-Cs3KiLAR.cjs → diagram-FQU43EPY-ZPLGb9C6.cjs} +1 -1
  50. package/dist/{diagram-G47NLZAW-pCYa0vLf.js → diagram-G47NLZAW-Ci3cml6W.js} +3 -3
  51. package/dist/{diagram-G47NLZAW-Ct9GLYhL.cjs → diagram-G47NLZAW-DoacQX3V.cjs} +1 -1
  52. package/dist/{diagram-NH7WQ7WH-Ctf29Uap.js → diagram-NH7WQ7WH-BjQoQdx9.js} +2 -2
  53. package/dist/{diagram-NH7WQ7WH-DeWtXWMF.cjs → diagram-NH7WQ7WH-Dur-6Qn_.cjs} +1 -1
  54. package/dist/{diagram-OA4YK3LP-Dl10bj_J.cjs → diagram-OA4YK3LP-BoW9bfT5.cjs} +1 -1
  55. package/dist/{diagram-OA4YK3LP-CRHNZJgP.js → diagram-OA4YK3LP-C8Q_MhOG.js} +3 -3
  56. package/dist/{diagram-WEI45ONY-DRPAcUmi.cjs → diagram-WEI45ONY-BZ4uT0Rj.cjs} +1 -1
  57. package/dist/{diagram-WEI45ONY-CVQyU8fK.js → diagram-WEI45ONY-D6_yZfox.js} +2 -2
  58. package/dist/{ebnfDiagram-CCIWWBDH-De1OMC2F.js → ebnfDiagram-CCIWWBDH-C_UgNn4T.js} +3 -3
  59. package/dist/{ebnfDiagram-CCIWWBDH-Db6prqk1.cjs → ebnfDiagram-CCIWWBDH-DyfIyzed.cjs} +1 -1
  60. package/dist/{erDiagram-Q63AITRT-zGb8olbj.js → erDiagram-Q63AITRT-BVdSd8EE.js} +4 -4
  61. package/dist/{erDiagram-Q63AITRT-CguKyqIU.cjs → erDiagram-Q63AITRT-SEbTPzis.cjs} +1 -1
  62. package/dist/{extractHeadings-B1LB4zhj.cjs → extractHeadings-CqycFjyp.cjs} +4 -4
  63. package/dist/{extractHeadings-D7tO9C9J.js → extractHeadings-DtF_vPft.js} +58 -57
  64. package/dist/flowDiagram-23GEKE2U-CgjlFL88.cjs +1 -0
  65. package/dist/flowDiagram-23GEKE2U-DQQK2XS7.js +7 -0
  66. package/dist/{ganttDiagram-NO4QXBWP-D_nIC1Sz.cjs → ganttDiagram-NO4QXBWP-BvJvjgBB.cjs} +1 -1
  67. package/dist/{ganttDiagram-NO4QXBWP-pApIVY9T.js → ganttDiagram-NO4QXBWP-NSu09usT.js} +2 -2
  68. package/dist/{gitGraphDiagram-IHSO6WYX-C4cYiyhf.js → gitGraphDiagram-IHSO6WYX-BdrX1fNr.js} +3 -3
  69. package/dist/{gitGraphDiagram-IHSO6WYX-CXerlZ1J.cjs → gitGraphDiagram-IHSO6WYX-DGlo8M5c.cjs} +1 -1
  70. package/dist/index.cjs +1 -1
  71. package/dist/index.client.cjs +1 -1
  72. package/dist/index.client.js +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/{infoDiagram-FWYZ7A6U-Dafu4DNq.cjs → infoDiagram-FWYZ7A6U-BQ2KDHn7.cjs} +1 -1
  75. package/dist/{infoDiagram-FWYZ7A6U-B12v6TQm.js → infoDiagram-FWYZ7A6U-Cpllo8Ay.js} +1 -1
  76. package/dist/{ishikawaDiagram-FXEZZL3T-mVvwMUjE.js → ishikawaDiagram-FXEZZL3T-CfBqlZkJ.js} +1 -1
  77. package/dist/{ishikawaDiagram-FXEZZL3T-BQ3duedr.cjs → ishikawaDiagram-FXEZZL3T-R7t7PhdN.cjs} +1 -1
  78. package/dist/{journeyDiagram-5HDEW3XC-F9fHvE_H.cjs → journeyDiagram-5HDEW3XC-CYUivBFg.cjs} +1 -1
  79. package/dist/{journeyDiagram-5HDEW3XC-D4o8Kisa.js → journeyDiagram-5HDEW3XC-nQjiMpo7.js} +4 -4
  80. package/dist/{kanban-definition-HUTT4EX6-COvoG4Ef.js → kanban-definition-HUTT4EX6-BaEn9yzf.js} +2 -2
  81. package/dist/{kanban-definition-HUTT4EX6-D2JvIxFM.cjs → kanban-definition-HUTT4EX6-DzbcpTUx.cjs} +1 -1
  82. package/dist/{linear-swMXNRJe.cjs → linear-BVaigPve.cjs} +1 -1
  83. package/dist/{linear-IRzgUsX6.js → linear-DrsVMCn4.js} +1 -1
  84. package/dist/{mindmap-definition-LN4V7U3C-BI1CE_Mc.cjs → mindmap-definition-LN4V7U3C-CC2tcG-4.cjs} +1 -1
  85. package/dist/{mindmap-definition-LN4V7U3C-BQjkbPh3.js → mindmap-definition-LN4V7U3C-E15w3-v0.js} +3 -3
  86. package/dist/{pegDiagram-2B236MQR-DiDY9Q7V.js → pegDiagram-2B236MQR-CPhG0wNC.js} +3 -3
  87. package/dist/{pegDiagram-2B236MQR-1serdfbX.cjs → pegDiagram-2B236MQR-DoXfoNeB.cjs} +1 -1
  88. package/dist/{pieDiagram-ENE6RG2P-BGzLw6_P.js → pieDiagram-ENE6RG2P-26xvDL8o.js} +3 -3
  89. package/dist/{pieDiagram-ENE6RG2P-B74_uAlk.cjs → pieDiagram-ENE6RG2P-DHSRfUNz.cjs} +1 -1
  90. package/dist/{quadrantDiagram-ABIIQ3AL-7ngvnGR1.js → quadrantDiagram-ABIIQ3AL-D2EwNK8g.js} +2 -2
  91. package/dist/{quadrantDiagram-ABIIQ3AL-BhbRyrlZ.cjs → quadrantDiagram-ABIIQ3AL-Dj1A1uBX.cjs} +1 -1
  92. package/dist/{railroadDiagram-RFXS5EU6-DxDf1uxD.js → railroadDiagram-RFXS5EU6-CmVRTon6.js} +3 -3
  93. package/dist/{railroadDiagram-RFXS5EU6-DuK82cbx.cjs → railroadDiagram-RFXS5EU6-D3lv2Q7P.cjs} +1 -1
  94. package/dist/{requirementDiagram-TGXJPOKE-Bd7N5F3Y.cjs → requirementDiagram-TGXJPOKE-6PGtnf7B.cjs} +1 -1
  95. package/dist/{requirementDiagram-TGXJPOKE-Dz4lCKWI.js → requirementDiagram-TGXJPOKE-yhmaA3r-.js} +3 -3
  96. package/dist/{sankeyDiagram-HTMAVEWB-BniIuUi3.cjs → sankeyDiagram-HTMAVEWB-B_gesApw.cjs} +1 -1
  97. package/dist/{sankeyDiagram-HTMAVEWB-BMsqImpH.js → sankeyDiagram-HTMAVEWB-CsXNXTxz.js} +1 -1
  98. package/dist/{sequenceDiagram-DBY2YBRQ-DwHaD7-c.js → sequenceDiagram-DBY2YBRQ-B_DxbfeO.js} +3 -3
  99. package/dist/{sequenceDiagram-DBY2YBRQ-DTHNdY45.cjs → sequenceDiagram-DBY2YBRQ-CHt5e7ke.cjs} +1 -1
  100. package/dist/{sizeCapture-X5ZJPWSS-LxU3KRAq.cjs → sizeCapture-X5ZJPWSS-BGyd1yDZ.cjs} +1 -1
  101. package/dist/{sizeCapture-X5ZJPWSS-Da3YemnW.js → sizeCapture-X5ZJPWSS-CxOxfLQd.js} +1 -1
  102. package/dist/{stateDiagram-2N3HPSRC-By5PazjH.js → stateDiagram-2N3HPSRC-B8E7AUic.js} +2 -2
  103. package/dist/{stateDiagram-2N3HPSRC-BAS68jdw.cjs → stateDiagram-2N3HPSRC-CpVGMgGl.cjs} +1 -1
  104. package/dist/{stateDiagram-v2-6OUMAXLB-BLQ-Gra0.js → stateDiagram-v2-6OUMAXLB-CR_tgxph.js} +2 -2
  105. package/dist/{stateDiagram-v2-6OUMAXLB-jDdm1piw.cjs → stateDiagram-v2-6OUMAXLB-DoWuQSH4.cjs} +1 -1
  106. package/dist/styles/markdown.css +1 -1
  107. package/dist/styles/markdown.standalone.css +1 -1
  108. package/dist/{swimlanes-5IMT3BWC-BRn0fddL.js → swimlanes-5IMT3BWC-B_3S7vnw.js} +3 -3
  109. package/dist/{swimlanes-5IMT3BWC-C0T52byw.cjs → swimlanes-5IMT3BWC-Bk23bqC6.cjs} +1 -1
  110. package/dist/{swimlanesDiagram-G3AALYLV-S9bhVeu0.js → swimlanesDiagram-G3AALYLV-97jT_0Hp.js} +2 -2
  111. package/dist/{swimlanesDiagram-G3AALYLV-B7enxCzC.cjs → swimlanesDiagram-G3AALYLV-ceN3ky5F.cjs} +1 -1
  112. package/dist/{timeline-definition-FHXFAJF6-BnAYKzLC.cjs → timeline-definition-FHXFAJF6-CeUhiH1R.cjs} +1 -1
  113. package/dist/{timeline-definition-FHXFAJF6-CZw2QDDv.js → timeline-definition-FHXFAJF6-DHAwiGfl.js} +2 -2
  114. package/dist/{vennDiagram-L72KCM5P-1fjdrem0.cjs → vennDiagram-L72KCM5P-BAaXPRE4.cjs} +1 -1
  115. package/dist/{vennDiagram-L72KCM5P-CLXIXfUp.js → vennDiagram-L72KCM5P-pDhfNh49.js} +1 -1
  116. package/dist/{wardleyDiagram-EHGQE667-sqtxUsgg.cjs → wardleyDiagram-EHGQE667-DtSf7K6m.cjs} +1 -1
  117. package/dist/{wardleyDiagram-EHGQE667-D_g_ISum.js → wardleyDiagram-EHGQE667-iGNiJ2-c.js} +2 -2
  118. package/dist/{xychartDiagram-FW5EYKEG-C4ndsEIu.cjs → xychartDiagram-FW5EYKEG-CT9EuFCG.cjs} +1 -1
  119. package/dist/{xychartDiagram-FW5EYKEG-DN9AiaS8.js → xychartDiagram-FW5EYKEG-Cb5wTif8.js} +2 -2
  120. package/package.json +7 -7
  121. package/dist/flowDiagram-23GEKE2U-Cnor0ut6.cjs +0 -1
  122. package/dist/flowDiagram-23GEKE2U-mYhfOVXB.js +0 -7
package/README.md CHANGED
@@ -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, painted
667
- from the same `--aqsp-*` variables as the grid. It follows the options as the grid will: the block's zoom (CSS `zoom`, so
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. A
672
- failed load keeps the plain table and shows the error with a retry button.
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,25 @@ 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 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
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 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.
697
+ document's table shows the circle only when its options say `tapscroll=1`, and then 22 CSS px across (half the 44 px
698
+ target of the block's controls and of the grid's own circle), so the look's `enabled` and `size` are not read. A host
699
+ that renders `SpreadsheetBlock` itself to show one table (a file preview) passes the circle as `tapScrollCircle`, shown
700
+ as given (`tapScrollCircleShownBy`, `"host"` by default); `"options"` applies the document's rule (the tables
701
+ MarkdownRenderer and the mdast path's `CodeNode` draw use it — the mdast path has no prop for the look, so its tables
702
+ show the grid's own). Keep the circle's identity across renders: the viewer draws the document again when it changes,
703
+ and MarkdownRenderer draws every table's grid again. The 22 px circle is below both WCAG target sizes, 2.5.8's 24 px
704
+ (AA) and 2.5.5's 44 px (AAA), and no exception of theirs covers it: it floats over the cells, which are targets
705
+ themselves, and the table's scroll bars are 12 px. It is an aid a writer opts into per table; the table scrolls without
706
+ it by a finger's drag, the wheel and the keys.
697
707
  - **Reading**: a read-only table (the default) is the grid's `readOnly` — every cell refuses edits and is announced as
698
708
  read-only — while selection, Ctrl+C (the grid's own copy: TSV in Excel's clipboard form and the interop HTML table),
699
709
  scrolling, the zoom, Excel's Ctrl+Arrow data edges, column and row sizes, the active row and column bands (on by default),
@@ -781,7 +791,7 @@ Total 17,600 MT
781
791
  (`save-with-bom`) with the menu's place `data-aqmd-control-menu` (`start`, `end` or `inside`), `data-aqmd-spreadsheet-size`,
782
792
  `data-aqmd-spreadsheet-box`, `data-aqmd-spreadsheet-static` (with `data-aqmd-spreadsheet-static-letters` and
783
793
  `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`
794
+ by: `-headings`, `-earlier-rows`, `-more-rows` and `-more-columns`), `data-aqmd-spreadsheet-notice`, `data-aqmd-spreadsheet-error` (`options`, `size`
785
795
  or `load`), `data-aqmd-spreadsheet-retry`, and the state attributes `data-aqmd-spreadsheet-editable` and
786
796
  `data-aqmd-spreadsheet-fullscreen` (a host gives the double-click and the keys inside an editable or full-screen table to
787
797
  the grid).
@@ -1018,8 +1028,8 @@ read as text only), `SPREADSHEETS_LANGUAGE`, `parseSpreadsheetOptions` (the one
1018
1028
  word throws `SpreadsheetOptionsError`, a `RangeError` whose `word` names it), `SPREADSHEET_OPTION_RULES` (each option's
1019
1029
  field, range, the only values it takes inside the range — `steps`, `null` for any — and value when absent),
1020
1030
  `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) and `MAX_SPREADSHEET_FROZEN_TRACKS`
1022
- (128). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
1031
+ limits `DEFAULT_SPREADSHEET_VISIBLE_ROWS` (15), `MAX_SPREADSHEET_VISIBLE_ROWS` (1000), `MAX_SPREADSHEET_FROZEN_TRACKS`
1032
+ (128) and `MAX_SPREADSHEET_FRAME_WIDTH_PX` (3). A host's own sanitizer keeps `data-code-meta` on `code` with this name.
1023
1033
  It also holds the table block's label catalogs (`SPREADSHEET_BLOCK_LABEL_CATALOGS`) and the placeholders each label's
1024
1034
  text takes (`SPREADSHEET_BLOCK_LABEL_PLACEHOLDERS`), so a host can derive its own label keys and texts from them.
1025
1035
 
@@ -1,6 +1,6 @@
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";
1
+ import { g as p, r as u, d as a } from "./chunk-MOJQB5TN-Dd8CHqwB.js";
2
+ import { p as f } from "./chunk-JWPE2WC7-DtersqR-.js";
3
+ import { _ as n, U as o } from "./extractHeadings-DtF_vPft.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-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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-0CuDPxrC.cjs"),u=require("./chunk-JWPE2WC7-BDRWCymR.cjs"),n=require("./extractHeadings-CqycFjyp.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-D7tO9C9J.js";
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-DtF_vPft.js";
2
2
  function cn(l) {
3
3
  return l.innerRadius;
4
4
  }
@@ -1 +1 @@
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
+ "use strict";const n=require("./extractHeadings-CqycFjyp.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,5 +1,5 @@
1
- import { p as Ze } from "./chunk-JWPE2WC7-CIP0B4rb.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-D7tO9C9J.js";
1
+ import { p as Ze } from "./chunk-JWPE2WC7-DtersqR-.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-DtF_vPft.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;