@heycys/gallery 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +50 -2
- package/THIRD-PARTY-NOTICES.md +3303 -0
- package/assets/writing-preferences.md +107 -0
- package/bin/gallery.mjs +10 -0
- package/browser/editor/components/bookmark/icons.mjs +6 -0
- package/browser/editor/components/bookmark/index.mjs +80 -0
- package/browser/editor/components/bookmark/page.mjs +147 -0
- package/browser/editor/components/builders.mjs +19 -0
- package/browser/editor/components/callout/index.mjs +64 -0
- package/browser/editor/components/code/index.mjs +327 -0
- package/browser/editor/components/code/page.mjs +561 -0
- package/browser/editor/components/colors.mjs +50 -0
- package/browser/editor/components/columns/index.mjs +104 -0
- package/browser/editor/components/columns/page.mjs +310 -0
- package/browser/editor/components/details/index.mjs +73 -0
- package/browser/editor/components/details/page.mjs +86 -0
- package/browser/editor/components/dialog/index.mjs +84 -0
- package/browser/editor/components/dialog/page.mjs +201 -0
- package/browser/editor/components/divider/index.mjs +48 -0
- package/browser/editor/components/embed/icons.mjs +11 -0
- package/browser/editor/components/embed/index.mjs +123 -0
- package/browser/editor/components/embed/page.mjs +309 -0
- package/browser/editor/components/figure/index.mjs +87 -0
- package/browser/editor/components/figure/page.mjs +42 -0
- package/browser/editor/components/file/icons.mjs +14 -0
- package/browser/editor/components/file/index.mjs +77 -0
- package/browser/editor/components/file/page.mjs +114 -0
- package/browser/editor/components/flowchart/add.mjs +123 -0
- package/browser/editor/components/flowchart/index.mjs +246 -0
- package/browser/editor/components/flowchart/page.mjs +453 -0
- package/browser/editor/components/heading/index.mjs +53 -0
- package/browser/editor/components/heading/page.mjs +6 -0
- package/browser/editor/components/highlight/index.mjs +63 -0
- package/browser/editor/components/icon/index.mjs +57 -0
- package/browser/editor/components/icon/page.mjs +286 -0
- package/browser/editor/components/icons.mjs +48 -0
- package/browser/editor/components/image/crop.mjs +189 -0
- package/browser/editor/components/image/index.mjs +104 -0
- package/browser/editor/components/image/page.mjs +385 -0
- package/browser/editor/components/image/viewer.mjs +213 -0
- package/browser/editor/components/installed/index.mjs +179 -0
- package/browser/editor/components/installed/page.mjs +523 -0
- package/browser/editor/components/installed/served.mjs +35 -0
- package/browser/editor/components/kit.mjs +67 -0
- package/browser/editor/components/list/index.mjs +194 -0
- package/browser/editor/components/list/join.mjs +68 -0
- package/browser/editor/components/list/numbers.mjs +107 -0
- package/browser/editor/components/list/page.mjs +632 -0
- package/browser/editor/components/math/index.mjs +88 -0
- package/browser/editor/components/math/page.mjs +236 -0
- package/browser/editor/components/math/tex-logo.mjs +6 -0
- package/browser/editor/components/media/icons.mjs +19 -0
- package/browser/editor/components/media/page.mjs +192 -0
- package/browser/editor/components/media/parts.mjs +60 -0
- package/browser/editor/components/media/size.mjs +20 -0
- package/browser/editor/components/media/toolbar.mjs +37 -0
- package/browser/editor/components/media/write.mjs +7 -0
- package/browser/editor/components/pages.mjs +46 -0
- package/browser/editor/components/paragraph/index.mjs +43 -0
- package/browser/editor/components/paragraph/page.mjs +52 -0
- package/browser/editor/components/placeholder-bar.mjs +17 -0
- package/browser/editor/components/placeholder.mjs +128 -0
- package/browser/editor/components/quote/index.mjs +33 -0
- package/browser/editor/components/registry.mjs +859 -0
- package/browser/editor/components/rows.mjs +16 -0
- package/browser/editor/components/section/index.mjs +42 -0
- package/browser/editor/components/section/page.mjs +141 -0
- package/browser/editor/components/set-apart.mjs +24 -0
- package/browser/editor/components/sheets/index.mjs +137 -0
- package/browser/editor/components/sheets/page.mjs +227 -0
- package/browser/editor/components/sheets/pills.mjs +226 -0
- package/browser/editor/components/table/grid.mjs +73 -0
- package/browser/editor/components/table/index.mjs +308 -0
- package/browser/editor/components/table/page.mjs +683 -0
- package/browser/editor/components/table/slots.mjs +41 -0
- package/browser/editor/components/widget/index.mjs +50 -0
- package/browser/editor/page/annotate/anchors.mjs +230 -0
- package/browser/editor/page/annotate/card.mjs +102 -0
- package/browser/editor/page/annotate/index.mjs +1656 -0
- package/browser/editor/page/at-menu/index.mjs +317 -0
- package/browser/editor/page/autosave.mjs +1023 -0
- package/browser/editor/page/beside.mjs +21 -0
- package/browser/editor/page/block-info.mjs +63 -0
- package/browser/editor/page/block-menu/colors.mjs +84 -0
- package/browser/editor/page/block-menu/index.mjs +217 -0
- package/browser/editor/page/blocks.mjs +255 -0
- package/browser/editor/page/caret.mjs +682 -0
- package/browser/editor/page/changes/bar.mjs +102 -0
- package/browser/editor/page/changes/ghost.mjs +206 -0
- package/browser/editor/page/changes/gone-words.mjs +94 -0
- package/browser/editor/page/changes/index.mjs +447 -0
- package/browser/editor/page/changes/words.mjs +27 -0
- package/browser/editor/page/chip-fills.mjs +126 -0
- package/browser/editor/page/clipboard/import/colors.mjs +192 -0
- package/browser/editor/page/clipboard/import/html.mjs +792 -0
- package/browser/editor/page/clipboard/import/inline.mjs +232 -0
- package/browser/editor/page/clipboard/import/languages.mjs +42 -0
- package/browser/editor/page/clipboard/import/markdown.mjs +760 -0
- package/browser/editor/page/clipboard/import/math.mjs +100 -0
- package/browser/editor/page/clipboard/import/office.mjs +245 -0
- package/browser/editor/page/clipboard/import/read.mjs +120 -0
- package/browser/editor/page/clipboard/import/rich.mjs +29 -0
- package/browser/editor/page/clipboard/import/to-blocks.mjs +290 -0
- package/browser/editor/page/clipboard/index.mjs +816 -0
- package/browser/editor/page/clipboard/own/blocks.mjs +211 -0
- package/browser/editor/page/clipboard/own/chart-keys.mjs +58 -0
- package/browser/editor/page/clipboard/own/describe.mjs +124 -0
- package/browser/editor/page/clipboard/own/export.mjs +167 -0
- package/browser/editor/page/clipboard/own/ids.mjs +39 -0
- package/browser/editor/page/clipboard/own/index.mjs +13 -0
- package/browser/editor/page/clipboard/own/rules.mjs +44 -0
- package/browser/editor/page/clipboard/own/selection.mjs +159 -0
- package/browser/editor/page/clipboard/own/writers.mjs +315 -0
- package/browser/editor/page/columns/index.mjs +360 -0
- package/browser/editor/page/commit.mjs +1813 -0
- package/browser/editor/page/conflicts.mjs +249 -0
- package/browser/editor/page/convert.mjs +831 -0
- package/browser/editor/page/core.mjs +1693 -0
- package/browser/editor/page/drag/drop.mjs +307 -0
- package/browser/editor/page/drag/index.mjs +351 -0
- package/browser/editor/page/drag/preview.mjs +126 -0
- package/browser/editor/page/edge-scroll.mjs +50 -0
- package/browser/editor/page/editor.mjs +1780 -0
- package/browser/editor/page/emoji-picker/emoji-tab.mjs +287 -0
- package/browser/editor/page/emoji-picker/glyph-html.mjs +26 -0
- package/browser/editor/page/emoji-picker/grid.mjs +81 -0
- package/browser/editor/page/emoji-picker/icon-tab.mjs +217 -0
- package/browser/editor/page/emoji-picker/icons.mjs +31 -0
- package/browser/editor/page/emoji-picker/index.mjs +166 -0
- package/browser/editor/page/emoji-picker/styles.mjs +161 -0
- package/browser/editor/page/emoji-picker/support.mjs +204 -0
- package/browser/editor/page/emoji-picker/upload.mjs +236 -0
- package/browser/editor/page/export-report.mjs +23 -0
- package/browser/editor/page/fills.mjs +62 -0
- package/browser/editor/page/find/index.mjs +107 -0
- package/browser/editor/page/flags.mjs +70 -0
- package/browser/editor/page/fold/index.mjs +348 -0
- package/browser/editor/page/fold/rule.mjs +125 -0
- package/browser/editor/page/folded.mjs +23 -0
- package/browser/editor/page/format-bar/bar.mjs +449 -0
- package/browser/editor/page/format-bar/brush.mjs +77 -0
- package/browser/editor/page/format-bar/colors.mjs +46 -0
- package/browser/editor/page/format-bar/index.mjs +404 -0
- package/browser/editor/page/formula/index.mjs +236 -0
- package/browser/editor/page/formula/panel.mjs +336 -0
- package/browser/editor/page/formula/symbols.mjs +156 -0
- package/browser/editor/page/frame.mjs +74 -0
- package/browser/editor/page/frames.mjs +196 -0
- package/browser/editor/page/geometry.mjs +402 -0
- package/browser/editor/page/gesture.mjs +45 -0
- package/browser/editor/page/handle/index.mjs +650 -0
- package/browser/editor/page/handle-sizes.mjs +14 -0
- package/browser/editor/page/hints/index.mjs +84 -0
- package/browser/editor/page/history.mjs +401 -0
- package/browser/editor/page/insert/index.mjs +256 -0
- package/browser/editor/page/kept.mjs +38 -0
- package/browser/editor/page/links/address.mjs +40 -0
- package/browser/editor/page/links/index.mjs +866 -0
- package/browser/editor/page/links/pages.mjs +131 -0
- package/browser/editor/page/links/views.mjs +369 -0
- package/browser/editor/page/long-runs.mjs +75 -0
- package/browser/editor/page/look.mjs +77 -0
- package/browser/editor/page/made.mjs +24 -0
- package/browser/editor/page/margin.mjs +373 -0
- package/browser/editor/page/markdown/index.mjs +88 -0
- package/browser/editor/page/markdown/rules.mjs +33 -0
- package/browser/editor/page/marks.mjs +377 -0
- package/browser/editor/page/media-menu/index.mjs +158 -0
- package/browser/editor/page/menu.mjs +544 -0
- package/browser/editor/page/merge.mjs +124 -0
- package/browser/editor/page/notices.mjs +142 -0
- package/browser/editor/page/offered.mjs +32 -0
- package/browser/editor/page/outline/folds.mjs +53 -0
- package/browser/editor/page/outline/index.mjs +783 -0
- package/browser/editor/page/outline/list.mjs +184 -0
- package/browser/editor/page/outline/read.mjs +201 -0
- package/browser/editor/page/outline/strip.mjs +287 -0
- package/browser/editor/page/outline/tree.mjs +248 -0
- package/browser/editor/page/overlay-layer.mjs +227 -0
- package/browser/editor/page/overlays.mjs +205 -0
- package/browser/editor/page/own.mjs +28 -0
- package/browser/editor/page/pads.mjs +71 -0
- package/browser/editor/page/page-objects.mjs +105 -0
- package/browser/editor/page/panel.mjs +65 -0
- package/browser/editor/page/placement.mjs +58 -0
- package/browser/editor/page/post.mjs +41 -0
- package/browser/editor/page/present-links.mjs +50 -0
- package/browser/editor/page/quiet.mjs +48 -0
- package/browser/editor/page/resize/index.mjs +327 -0
- package/browser/editor/page/select-all/index.mjs +262 -0
- package/browser/editor/page/selection/delete.mjs +61 -0
- package/browser/editor/page/selection/index.mjs +164 -0
- package/browser/editor/page/selection/marquee.mjs +174 -0
- package/browser/editor/page/session.mjs +168 -0
- package/browser/editor/page/slash-menu/index.mjs +291 -0
- package/browser/editor/page/storage.mjs +48 -0
- package/browser/editor/page/sync-state.mjs +267 -0
- package/browser/editor/page/table/aligns.mjs +29 -0
- package/browser/editor/page/table/cell-bar.mjs +141 -0
- package/browser/editor/page/table/cells.mjs +527 -0
- package/browser/editor/page/table/icons.mjs +40 -0
- package/browser/editor/page/table/index.mjs +990 -0
- package/browser/editor/page/table/lists.mjs +187 -0
- package/browser/editor/page/table/widths.mjs +313 -0
- package/browser/editor/page/tex.mjs +32 -0
- package/browser/editor/page/text-select/index.mjs +671 -0
- package/browser/editor/page/tooltip.mjs +98 -0
- package/browser/editor/page/type-grid.mjs +83 -0
- package/browser/editor/page/typing/code-edges.mjs +274 -0
- package/browser/editor/page/typing/index.mjs +282 -0
- package/browser/editor/page/typing/leave.mjs +68 -0
- package/browser/editor/page/ui.mjs +160 -0
- package/browser/shared/annotations.mjs +569 -0
- package/browser/shared/code-folds.mjs +14 -0
- package/browser/shared/code-languages.mjs +70 -0
- package/browser/shared/code-lines.mjs +30 -0
- package/browser/shared/colors.mjs +30 -0
- package/browser/shared/component-catalog.mjs +573 -0
- package/browser/shared/components/bookmark.mjs +26 -0
- package/browser/shared/components/callout.mjs +9 -0
- package/browser/shared/components/chart.mjs +20 -0
- package/browser/shared/components/code.mjs +37 -0
- package/browser/shared/components/columns.mjs +16 -0
- package/browser/shared/components/details.mjs +15 -0
- package/browser/shared/components/dialog.mjs +28 -0
- package/browser/shared/components/diff.mjs +18 -0
- package/browser/shared/components/divider.mjs +6 -0
- package/browser/shared/components/embed.mjs +25 -0
- package/browser/shared/components/figure.mjs +14 -0
- package/browser/shared/components/file.mjs +23 -0
- package/browser/shared/components/heading.mjs +6 -0
- package/browser/shared/components/highlight.mjs +9 -0
- package/browser/shared/components/icon.mjs +18 -0
- package/browser/shared/components/image.mjs +39 -0
- package/browser/shared/components/index.mjs +396 -0
- package/browser/shared/components/installed.mjs +232 -0
- package/browser/shared/components/list.mjs +146 -0
- package/browser/shared/components/math.mjs +49 -0
- package/browser/shared/components/mention.mjs +33 -0
- package/browser/shared/components/page.mjs +46 -0
- package/browser/shared/components/paragraph.mjs +9 -0
- package/browser/shared/components/quote.mjs +6 -0
- package/browser/shared/components/section.mjs +8 -0
- package/browser/shared/components/sheets.mjs +80 -0
- package/browser/shared/components/state.mjs +20 -0
- package/browser/shared/components/table.mjs +49 -0
- package/browser/shared/components/text.mjs +14 -0
- package/browser/shared/components/widget.mjs +10 -0
- package/browser/shared/copy-ids.mjs +72 -0
- package/browser/shared/css-references.mjs +110 -0
- package/browser/shared/document-look.mjs +178 -0
- package/browser/shared/emoji/custom.mjs +91 -0
- package/browser/shared/emoji/data/LICENSE-lucide.txt +43 -0
- package/browser/shared/emoji/data/LICENSE-mingcute.txt +202 -0
- package/browser/shared/emoji/data/LICENSE-tabler.txt +21 -0
- package/browser/shared/emoji/data/README.md +28 -0
- package/browser/shared/emoji/data/categories.json +1 -0
- package/browser/shared/emoji/data/icons.json +1 -0
- package/browser/shared/emoji/data/keywords-en.json +1 -0
- package/browser/shared/emoji/data/keywords-zh.json +1 -0
- package/browser/shared/emoji/data/names.json +1 -0
- package/browser/shared/emoji/data/positions.json +1 -0
- package/browser/shared/emoji/data/twemoji-index.json +1 -0
- package/browser/shared/emoji/data/twemoji-svg.bin +0 -0
- package/browser/shared/emoji/data.mjs +194 -0
- package/browser/shared/emoji/emoji.mjs +38 -0
- package/browser/shared/emoji/glyphs.mjs +134 -0
- package/browser/shared/emoji/icon-value.mjs +91 -0
- package/browser/shared/escape.mjs +20 -0
- package/browser/shared/export-wrap.mjs +89 -0
- package/browser/shared/files.mjs +33 -0
- package/browser/shared/html-tree.mjs +59 -0
- package/browser/shared/http.mjs +22 -0
- package/browser/shared/i18n/en.mjs +1223 -0
- package/browser/shared/i18n/index.mjs +132 -0
- package/browser/shared/ids.mjs +24 -0
- package/browser/shared/import-types.mjs +23 -0
- package/browser/shared/inline-spacing.mjs +97 -0
- package/browser/shared/layers.mjs +42 -0
- package/browser/shared/long-runs.mjs +39 -0
- package/browser/shared/media.mjs +162 -0
- package/browser/shared/new-names.mjs +67 -0
- package/browser/shared/number-reading.mjs +92 -0
- package/browser/shared/old-names.mjs +143 -0
- package/browser/shared/outline.mjs +194 -0
- package/browser/shared/page-address.mjs +140 -0
- package/browser/shared/page-links.mjs +86 -0
- package/browser/shared/paths.mjs +73 -0
- package/browser/shared/preferences.mjs +116 -0
- package/browser/shared/preview-server.mjs +247 -0
- package/browser/shared/qa-levels.mjs +93 -0
- package/browser/shared/reading-place.mjs +91 -0
- package/browser/shared/renamed-storage.mjs +220 -0
- package/browser/shared/reports.mjs +46 -0
- package/browser/shared/search.mjs +85 -0
- package/browser/shared/session.mjs +77 -0
- package/browser/shared/table-chart.mjs +113 -0
- package/browser/shared/table-hides.mjs +120 -0
- package/browser/shared/table-slots.mjs +75 -0
- package/browser/shared/words.mjs +23 -0
- package/browser/shared/workspace-look.mjs +91 -0
- package/browser/shared/workspace.mjs +535 -0
- package/browser/shared/writing-preferences.mjs +68 -0
- package/browser/shared/zoom.mjs +57 -0
- package/dist/chunk-2B5E4CDJ.mjs +2 -0
- package/dist/chunk-342HXE3Q.mjs +2 -0
- package/dist/chunk-3HIRPVLU.mjs +2 -0
- package/dist/chunk-43B75J5T.mjs +2 -0
- package/dist/chunk-4FS7Z7WR.mjs +2 -0
- package/dist/chunk-4K5KC6V2.mjs +2 -0
- package/dist/chunk-5L7RYZCL.mjs +2 -0
- package/dist/chunk-5MHMDLZD.mjs +4 -0
- package/dist/chunk-5ZKJ3H4P.mjs +8 -0
- package/dist/chunk-64K7IPLO.mjs +255 -0
- package/dist/chunk-6QXGZM36.mjs +8 -0
- package/dist/chunk-6RGJOMJP.mjs +16 -0
- package/dist/chunk-742D2WWJ.mjs +19 -0
- package/dist/chunk-7DTINW6U.mjs +48 -0
- package/dist/chunk-A55HN5OK.mjs +2 -0
- package/dist/chunk-AGDILNWB.mjs +2 -0
- package/dist/chunk-AJ73XJF3.mjs +2 -0
- package/dist/chunk-AUZGSZJH.mjs +13 -0
- package/dist/chunk-BFE45AKL.mjs +2 -0
- package/dist/chunk-BGGDRNYQ.mjs +10 -0
- package/dist/chunk-BXO2ZY5P.mjs +2 -0
- package/dist/chunk-C564NU2H.mjs +77 -0
- package/dist/chunk-CEH4MRCC.mjs +2 -0
- package/dist/chunk-CY2FNNAB.mjs +16 -0
- package/dist/chunk-DFUDV4LX.mjs +2 -0
- package/dist/chunk-DKXG4XDG.mjs +2 -0
- package/dist/chunk-E7LWZRXY.mjs +4 -0
- package/dist/chunk-EZQ34M3F.mjs +124 -0
- package/dist/chunk-EZY3WC6Z.mjs +15 -0
- package/dist/chunk-FDLXYYG4.mjs +4 -0
- package/dist/chunk-FUKQNOQS.mjs +9 -0
- package/dist/chunk-GB5SOYQJ.mjs +7 -0
- package/dist/chunk-GRAXKKG4.mjs +2 -0
- package/dist/chunk-HYMEEXKN.mjs +4 -0
- package/dist/chunk-IVDLMMBD.mjs +2 -0
- package/dist/chunk-JPOSLGOC.mjs +6 -0
- package/dist/chunk-JVHHHGEA.mjs +3 -0
- package/dist/chunk-L3QKH4OK.mjs +26 -0
- package/dist/chunk-LAE5NQ4B.mjs +2 -0
- package/dist/chunk-LCTHTZIL.mjs +960 -0
- package/dist/chunk-LEF6DRCK.mjs +59 -0
- package/dist/chunk-LKX55H76.mjs +2 -0
- package/dist/chunk-LS4F7JUM.mjs +2 -0
- package/dist/chunk-MAFIGVXY.mjs +2 -0
- package/dist/chunk-NO5NJCHO.mjs +2 -0
- package/dist/chunk-NQPVAU63.mjs +2 -0
- package/dist/chunk-NSKUTQ5J.mjs +5 -0
- package/dist/chunk-O35FIXRB.mjs +2 -0
- package/dist/chunk-P2CAZPDP.mjs +3 -0
- package/dist/chunk-PL6GHLGD.mjs +15 -0
- package/dist/chunk-QAIHRH3I.mjs +13 -0
- package/dist/chunk-QJIR2BLP.mjs +6 -0
- package/dist/chunk-QR6A54KJ.mjs +3 -0
- package/dist/chunk-QUPLVPB2.mjs +7 -0
- package/dist/chunk-R7BNENLY.mjs +4 -0
- package/dist/chunk-S6O4UHLC.mjs +2 -0
- package/dist/chunk-SGJWQKEI.mjs +2 -0
- package/dist/chunk-SYGN7GLU.mjs +2 -0
- package/dist/chunk-TMYZB6AV.mjs +2 -0
- package/dist/chunk-TX6JH7TR.mjs +2 -0
- package/dist/chunk-TYK6VNAB.mjs +10 -0
- package/dist/chunk-U3SSPL4K.mjs +8 -0
- package/dist/chunk-U6KNPJPR.mjs +2 -0
- package/dist/chunk-UALRNVSE.mjs +4 -0
- package/dist/chunk-UH4SIXTR.mjs +2 -0
- package/dist/chunk-UMHUSOPJ.mjs +2 -0
- package/dist/chunk-V3HXVQEM.mjs +2 -0
- package/dist/chunk-V5JTW2LH.mjs +27 -0
- package/dist/chunk-V5VXUJKG.mjs +2 -0
- package/dist/chunk-V6XZ4VIR.mjs +2 -0
- package/dist/chunk-VBXMADMP.mjs +2 -0
- package/dist/chunk-VNV55RUA.mjs +2 -0
- package/dist/chunk-VPD2PS35.mjs +2 -0
- package/dist/chunk-W3BGBJQW.mjs +2 -0
- package/dist/chunk-W4VKN3GF.mjs +7 -0
- package/dist/chunk-W5BXXPDJ.mjs +3 -0
- package/dist/chunk-W7XHE4CT.mjs +2 -0
- package/dist/chunk-XNROSH2T.mjs +4 -0
- package/dist/chunk-XUNHRCOG.mjs +6 -0
- package/dist/chunk-Y34NR5JL.mjs +2 -0
- package/dist/chunk-Y6RLRPG3.mjs +3 -0
- package/dist/chunk-YEY3RSFQ.mjs +2 -0
- package/dist/cli.mjs +2 -0
- package/dist/server.mjs +2 -0
- package/dist/worker.mjs +5 -0
- package/kit/charts.js +355 -0
- package/kit/code.js +164 -0
- package/kit/dialogs.js +157 -0
- package/kit/math.js +2004 -0
- package/kit/report.css +2932 -0
- package/kit/runtime.js +1782 -0
- package/kit/sheets.js +123 -0
- package/kit/state.js +217 -0
- package/kit/tables.js +1499 -0
- package/kit/tokens.js +29 -0
- package/kit/ui.js +658 -0
- package/package.json +41 -4
- package/release.json +25 -0
- package/sdk/column-widths.d.ts +56 -0
- package/sdk/doc-charts.d.ts +82 -0
- package/sdk/doc-code.d.ts +28 -0
- package/sdk/doc-dialogs.d.ts +4 -0
- package/sdk/doc-kit.d.ts +147 -0
- package/sdk/doc-math.d.ts +3 -0
- package/sdk/doc-sheets.d.ts +15 -0
- package/sdk/doc-state.d.ts +41 -0
- package/sdk/doc-tables.d.ts +24 -0
- package/sdk/doc-tokens.d.ts +22 -0
- package/sdk/index.d.ts +30 -0
- package/skill/SKILL.md +150 -0
- package/skill/agents/openai.yaml +5 -0
- package/skill/references/building-components.md +367 -0
- package/skill/references/example-report.html +356 -0
- package/skill/references/writing-html.md +187 -0
- package/skill/sdk/column-widths.d.ts +56 -0
- package/skill/sdk/doc-charts.d.ts +82 -0
- package/skill/sdk/doc-code.d.ts +28 -0
- package/skill/sdk/doc-dialogs.d.ts +4 -0
- package/skill/sdk/doc-kit.d.ts +147 -0
- package/skill/sdk/doc-math.d.ts +3 -0
- package/skill/sdk/doc-sheets.d.ts +15 -0
- package/skill/sdk/doc-state.d.ts +41 -0
- package/skill/sdk/doc-tables.d.ts +24 -0
- package/skill/sdk/doc-tokens.d.ts +22 -0
- package/skill/sdk/index.d.ts +30 -0
- package/starter/doc.html +21 -0
- package/starter/doc.json +5 -0
- package/vendor/d3.v7.9.0.min.js +2 -0
- package/vendor/katex/auto-render.min.js +1 -0
- package/vendor/katex/contrib/mhchem.min.js +1 -0
- package/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/vendor/katex/katex.min.css +1 -0
- package/vendor/katex/katex.min.js +1 -0
- package/vendor/pdfjs/LICENSE +177 -0
- package/vendor/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/vendor/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/vendor/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/vendor/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/vendor/pdfjs/cmaps/LICENSE +36 -0
- package/vendor/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Roman.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/vendor/pdfjs/legacy/build/pdf.min.mjs +27 -0
- package/vendor/pdfjs/legacy/build/pdf.worker.min.mjs +27 -0
- package/vendor/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
- package/vendor/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/vendor/types/@types/d3/LICENSE +21 -0
- package/vendor/types/@types/d3/index.d.ts +39 -0
- package/vendor/types/@types/d3/package.json +81 -0
- package/vendor/types/@types/d3-array/LICENSE +21 -0
- package/vendor/types/@types/d3-array/index.d.ts +1118 -0
- package/vendor/types/@types/d3-array/package.json +56 -0
- package/vendor/types/@types/d3-axis/LICENSE +21 -0
- package/vendor/types/@types/d3-axis/index.d.ts +293 -0
- package/vendor/types/@types/d3-axis/package.json +47 -0
- package/vendor/types/@types/d3-brush/LICENSE +21 -0
- package/vendor/types/@types/d3-brush/index.d.ts +255 -0
- package/vendor/types/@types/d3-brush/package.json +42 -0
- package/vendor/types/@types/d3-chord/LICENSE +21 -0
- package/vendor/types/@types/d3-chord/index.d.ts +471 -0
- package/vendor/types/@types/d3-chord/package.json +40 -0
- package/vendor/types/@types/d3-color/LICENSE +21 -0
- package/vendor/types/@types/d3-color/index.d.ts +669 -0
- package/vendor/types/@types/d3-color/package.json +55 -0
- package/vendor/types/@types/d3-contour/LICENSE +21 -0
- package/vendor/types/@types/d3-contour/index.d.ts +222 -0
- package/vendor/types/@types/d3-contour/package.json +38 -0
- package/vendor/types/@types/d3-delaunay/LICENSE +21 -0
- package/vendor/types/@types/d3-delaunay/index.d.ts +316 -0
- package/vendor/types/@types/d3-delaunay/package.json +30 -0
- package/vendor/types/@types/d3-dispatch/LICENSE +21 -0
- package/vendor/types/@types/d3-dispatch/index.d.ts +96 -0
- package/vendor/types/@types/d3-dispatch/package.json +51 -0
- package/vendor/types/@types/d3-drag/LICENSE +21 -0
- package/vendor/types/@types/d3-drag/index.d.ts +395 -0
- package/vendor/types/@types/d3-drag/package.json +42 -0
- package/vendor/types/@types/d3-dsv/LICENSE +21 -0
- package/vendor/types/@types/d3-dsv/index.d.ts +482 -0
- package/vendor/types/@types/d3-dsv/package.json +45 -0
- package/vendor/types/@types/d3-ease/LICENSE +21 -0
- package/vendor/types/@types/d3-ease/index.d.ts +316 -0
- package/vendor/types/@types/d3-ease/package.json +40 -0
- package/vendor/types/@types/d3-fetch/LICENSE +21 -0
- package/vendor/types/@types/d3-fetch/index.d.ts +282 -0
- package/vendor/types/@types/d3-fetch/package.json +37 -0
- package/vendor/types/@types/d3-force/LICENSE +21 -0
- package/vendor/types/@types/d3-force/index.d.ts +899 -0
- package/vendor/types/@types/d3-force/package.json +45 -0
- package/vendor/types/@types/d3-format/LICENSE +21 -0
- package/vendor/types/@types/d3-format/index.d.ts +337 -0
- package/vendor/types/@types/d3-format/package.json +45 -0
- package/vendor/types/@types/d3-geo/LICENSE +21 -0
- package/vendor/types/@types/d3-geo/index.d.ts +1371 -0
- package/vendor/types/@types/d3-geo/package.json +48 -0
- package/vendor/types/@types/d3-hierarchy/LICENSE +21 -0
- package/vendor/types/@types/d3-hierarchy/index.d.ts +928 -0
- package/vendor/types/@types/d3-hierarchy/package.json +50 -0
- package/vendor/types/@types/d3-interpolate/LICENSE +21 -0
- package/vendor/types/@types/d3-interpolate/index.d.ts +387 -0
- package/vendor/types/@types/d3-interpolate/package.json +47 -0
- package/vendor/types/@types/d3-path/LICENSE +21 -0
- package/vendor/types/@types/d3-path/index.d.ts +108 -0
- package/vendor/types/@types/d3-path/package.json +41 -0
- package/vendor/types/@types/d3-polygon/LICENSE +21 -0
- package/vendor/types/@types/d3-polygon/index.d.ts +41 -0
- package/vendor/types/@types/d3-polygon/package.json +40 -0
- package/vendor/types/@types/d3-quadtree/LICENSE +21 -0
- package/vendor/types/@types/d3-quadtree/index.d.ts +204 -0
- package/vendor/types/@types/d3-quadtree/package.json +45 -0
- package/vendor/types/@types/d3-random/LICENSE +21 -0
- package/vendor/types/@types/d3-random/index.d.ts +313 -0
- package/vendor/types/@types/d3-random/package.json +41 -0
- package/vendor/types/@types/d3-scale/LICENSE +21 -0
- package/vendor/types/@types/d3-scale/index.d.ts +2669 -0
- package/vendor/types/@types/d3-scale/package.json +53 -0
- package/vendor/types/@types/d3-scale-chromatic/LICENSE +21 -0
- package/vendor/types/@types/d3-scale-chromatic/index.d.ts +520 -0
- package/vendor/types/@types/d3-scale-chromatic/package.json +46 -0
- package/vendor/types/@types/d3-selection/LICENSE +21 -0
- package/vendor/types/@types/d3-selection/index.d.ts +1210 -0
- package/vendor/types/@types/d3-selection/package.json +56 -0
- package/vendor/types/@types/d3-shape/LICENSE +21 -0
- package/vendor/types/@types/d3-shape/index.d.ts +2792 -0
- package/vendor/types/@types/d3-shape/package.json +53 -0
- package/vendor/types/@types/d3-time/LICENSE +21 -0
- package/vendor/types/@types/d3-time/index.d.ts +697 -0
- package/vendor/types/@types/d3-time/package.json +46 -0
- package/vendor/types/@types/d3-time-format/LICENSE +21 -0
- package/vendor/types/@types/d3-time-format/index.d.ts +202 -0
- package/vendor/types/@types/d3-time-format/package.json +40 -0
- package/vendor/types/@types/d3-timer/LICENSE +21 -0
- package/vendor/types/@types/d3-timer/index.d.ts +68 -0
- package/vendor/types/@types/d3-timer/package.json +45 -0
- package/vendor/types/@types/d3-transition/LICENSE +21 -0
- package/vendor/types/@types/d3-transition/index.d.ts +664 -0
- package/vendor/types/@types/d3-transition/package.json +47 -0
- package/vendor/types/@types/d3-zoom/LICENSE +21 -0
- package/vendor/types/@types/d3-zoom/index.d.ts +611 -0
- package/vendor/types/@types/d3-zoom/package.json +48 -0
- package/vendor/types/@types/geojson/LICENSE +21 -0
- package/vendor/types/@types/geojson/index.d.ts +202 -0
- package/vendor/types/@types/geojson/package.json +46 -0
- package/vendor/typescript/LICENSE.txt +55 -0
- package/vendor/typescript/lib.decorators.d.ts +384 -0
- package/vendor/typescript/lib.decorators.legacy.d.ts +22 -0
- package/vendor/typescript/lib.dom.d.ts +39429 -0
- package/vendor/typescript/lib.dom.iterable.d.ts +571 -0
- package/vendor/typescript/lib.es2015.collection.d.ts +147 -0
- package/vendor/typescript/lib.es2015.core.d.ts +597 -0
- package/vendor/typescript/lib.es2015.d.ts +28 -0
- package/vendor/typescript/lib.es2015.generator.d.ts +77 -0
- package/vendor/typescript/lib.es2015.iterable.d.ts +605 -0
- package/vendor/typescript/lib.es2015.promise.d.ts +81 -0
- package/vendor/typescript/lib.es2015.proxy.d.ts +128 -0
- package/vendor/typescript/lib.es2015.reflect.d.ts +144 -0
- package/vendor/typescript/lib.es2015.symbol.d.ts +46 -0
- package/vendor/typescript/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/vendor/typescript/lib.es2016.array.include.d.ts +116 -0
- package/vendor/typescript/lib.es2016.d.ts +21 -0
- package/vendor/typescript/lib.es2016.intl.d.ts +31 -0
- package/vendor/typescript/lib.es2017.arraybuffer.d.ts +21 -0
- package/vendor/typescript/lib.es2017.d.ts +26 -0
- package/vendor/typescript/lib.es2017.date.d.ts +31 -0
- package/vendor/typescript/lib.es2017.intl.d.ts +44 -0
- package/vendor/typescript/lib.es2017.object.d.ts +49 -0
- package/vendor/typescript/lib.es2017.sharedmemory.d.ts +135 -0
- package/vendor/typescript/lib.es2017.string.d.ts +45 -0
- package/vendor/typescript/lib.es2017.typedarrays.d.ts +53 -0
- package/vendor/typescript/lib.es2018.asyncgenerator.d.ts +77 -0
- package/vendor/typescript/lib.es2018.asynciterable.d.ts +53 -0
- package/vendor/typescript/lib.es2018.d.ts +24 -0
- package/vendor/typescript/lib.es2018.intl.d.ts +83 -0
- package/vendor/typescript/lib.es2018.promise.d.ts +30 -0
- package/vendor/typescript/lib.es2018.regexp.d.ts +37 -0
- package/vendor/typescript/lib.es2019.array.d.ts +79 -0
- package/vendor/typescript/lib.es2019.d.ts +24 -0
- package/vendor/typescript/lib.es2019.intl.d.ts +23 -0
- package/vendor/typescript/lib.es2019.object.d.ts +33 -0
- package/vendor/typescript/lib.es2019.string.d.ts +37 -0
- package/vendor/typescript/lib.es2019.symbol.d.ts +24 -0
- package/vendor/typescript/lib.es2020.bigint.d.ts +765 -0
- package/vendor/typescript/lib.es2020.d.ts +27 -0
- package/vendor/typescript/lib.es2020.date.d.ts +42 -0
- package/vendor/typescript/lib.es2020.intl.d.ts +474 -0
- package/vendor/typescript/lib.es2020.number.d.ts +28 -0
- package/vendor/typescript/lib.es2020.promise.d.ts +47 -0
- package/vendor/typescript/lib.es2020.sharedmemory.d.ts +99 -0
- package/vendor/typescript/lib.es2020.string.d.ts +44 -0
- package/vendor/typescript/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/vendor/typescript/lib.es2021.d.ts +23 -0
- package/vendor/typescript/lib.es2021.intl.d.ts +166 -0
- package/vendor/typescript/lib.es2021.promise.d.ts +48 -0
- package/vendor/typescript/lib.es2021.string.d.ts +33 -0
- package/vendor/typescript/lib.es2021.weakref.d.ts +78 -0
- package/vendor/typescript/lib.es2022.array.d.ts +121 -0
- package/vendor/typescript/lib.es2022.d.ts +25 -0
- package/vendor/typescript/lib.es2022.error.d.ts +75 -0
- package/vendor/typescript/lib.es2022.intl.d.ts +145 -0
- package/vendor/typescript/lib.es2022.object.d.ts +26 -0
- package/vendor/typescript/lib.es2022.regexp.d.ts +39 -0
- package/vendor/typescript/lib.es2022.string.d.ts +25 -0
- package/vendor/typescript/lib.es5.d.ts +4601 -0
- package/vendor/typescript/package.json +4 -0
- package/vendor/typescript/typescript.js +446 -0
- package/web/assets/index-Bh74DfsV.css +1 -0
- package/web/assets/index-UW0RyFFt.js +13 -0
- package/web/index.html +14 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/d3-color",
|
|
3
|
+
"version": "3.1.3",
|
|
4
|
+
"description": "TypeScript definitions for d3-color",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-color",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Tom Wanzek",
|
|
10
|
+
"githubUsername": "tomwanzek",
|
|
11
|
+
"url": "https://github.com/tomwanzek"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Alex Ford",
|
|
15
|
+
"githubUsername": "gustavderdrache",
|
|
16
|
+
"url": "https://github.com/gustavderdrache"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Boris Yankov",
|
|
20
|
+
"githubUsername": "borisyankov",
|
|
21
|
+
"url": "https://github.com/borisyankov"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "denisname",
|
|
25
|
+
"githubUsername": "denisname",
|
|
26
|
+
"url": "https://github.com/denisname"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Hugues Stefanski",
|
|
30
|
+
"githubUsername": "ledragon",
|
|
31
|
+
"url": "https://github.com/ledragon"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Nathan Bierema",
|
|
35
|
+
"githubUsername": "Methuselah96",
|
|
36
|
+
"url": "https://github.com/Methuselah96"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Fil",
|
|
40
|
+
"githubUsername": "Fil",
|
|
41
|
+
"url": "https://github.com/Fil"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"main": "",
|
|
45
|
+
"types": "index.d.ts",
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
49
|
+
"directory": "types/d3-color"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {},
|
|
52
|
+
"dependencies": {},
|
|
53
|
+
"typesPublisherContentHash": "89cf9357324cddaa31cfb539b1c33d118648ed55319f2a0d26f24b004975a947",
|
|
54
|
+
"typeScriptVersion": "4.5"
|
|
55
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// Last module patch version validated against: 3.0.1
|
|
2
|
+
|
|
3
|
+
import { ThresholdCountGenerator, ThresholdNumberArrayGenerator } from "d3-array";
|
|
4
|
+
import { MultiPolygon } from "geojson";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* An extended GeoJSON MultiPolygon representing a contour.
|
|
8
|
+
*/
|
|
9
|
+
export interface ContourMultiPolygon extends MultiPolygon {
|
|
10
|
+
/**
|
|
11
|
+
* Threshold value of the contour.
|
|
12
|
+
*/
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A contour generator which computes contour polygons by applying marching squares to a rectangular array of numeric values.
|
|
18
|
+
*
|
|
19
|
+
* For each threshold value, the contour generator constructs a GeoJSON MultiPolygon geometry object representing the area
|
|
20
|
+
* where the input values are greater than or equal to the threshold value.
|
|
21
|
+
* The geometry is in planar coordinates, where ⟨i + 0.5, j + 0.5⟩ corresponds to element i + jn in the input values array.
|
|
22
|
+
*/
|
|
23
|
+
export interface Contours {
|
|
24
|
+
/**
|
|
25
|
+
* Computes the contours for the given array of values, returning an array of GeoJSON MultiPolygon geometry objects.
|
|
26
|
+
* Each geometry object represents the area where the input values are greater than or equal to the corresponding threshold value;
|
|
27
|
+
* the threshold value for each geometry object is exposed as geometry.value.
|
|
28
|
+
*
|
|
29
|
+
* The returned geometry objects are typically passed to d3.geoPath to display,
|
|
30
|
+
* using null or d3.geoIdentity as the associated projection
|
|
31
|
+
*
|
|
32
|
+
* @param values Array of input values. The input values must be an array of length n×m where [n, m] is the contour generator’s size;
|
|
33
|
+
* furthermore, each values[i + jn] must represent the value at the position ⟨i, j⟩.
|
|
34
|
+
*/
|
|
35
|
+
(values: number[]): ContourMultiPolygon[];
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Computes a single contour, returning a GeoJSON MultiPolygon geometry object.
|
|
39
|
+
* This geometry object represents the area where the input values are greater than or equal to the given threshold value;
|
|
40
|
+
* the threshold value for the geometry object is exposed as geometry.value.
|
|
41
|
+
*
|
|
42
|
+
* @param values Array of input values. The input values must be an array of length n×m where [n, m] is the contour generator’s size;
|
|
43
|
+
* furthermore, each values[i + jn] must represent the value at the position ⟨i, j⟩.
|
|
44
|
+
* @param threshold Threshold value.
|
|
45
|
+
*/
|
|
46
|
+
contour(values: number[], threshold: number): ContourMultiPolygon;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Return the expected size of the input values grid, which defaults to [1,1].
|
|
50
|
+
*/
|
|
51
|
+
size(): [number, number];
|
|
52
|
+
/**
|
|
53
|
+
* Sets the expected size of the input values grid to the contour generator and returns the contour generator.
|
|
54
|
+
*
|
|
55
|
+
* @param size Size of the input values grid specified as an array [n, m]
|
|
56
|
+
* where n is the number of columns in the grid and m is the number of rows; n and m must be positive integers.
|
|
57
|
+
*/
|
|
58
|
+
size(size: [number, number]): this;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Returns the current smoothing flag, which defaults to true.
|
|
62
|
+
*/
|
|
63
|
+
smooth(): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Sets whether or not the generated contour polygons are smoothed using linear interpolation and returns the contour generator.
|
|
66
|
+
*
|
|
67
|
+
* @param smooth Flag to enable linear interpolation. The default is "true".
|
|
68
|
+
*/
|
|
69
|
+
smooth(smooth: boolean): this;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Returns the current threshold generator, which by default implements Sturges’ formula.
|
|
73
|
+
*/
|
|
74
|
+
thresholds(): ThresholdCountGenerator<number> | ThresholdNumberArrayGenerator<number>;
|
|
75
|
+
/**
|
|
76
|
+
* Sets the threshold generator to the specified function or array and returns this contour generator.
|
|
77
|
+
* Thresholds are defined as an array of values [x0, x1, …].
|
|
78
|
+
* The first generated contour corresponds to the area where the input values are greater than or equal to x0;
|
|
79
|
+
* the second contour corresponds to the area where the input values are greater than or equal to x1, and so on.
|
|
80
|
+
* Thus, there is exactly one generated MultiPolygon geometry object for each specified threshold value; the threshold value is exposed as geometry.value.
|
|
81
|
+
* If a count is specified instead of an array of thresholds, then the input values’ extent will be uniformly divided into approximately count bins; see d3.ticks.
|
|
82
|
+
*/
|
|
83
|
+
thresholds(
|
|
84
|
+
thresholds: number | number[] | ThresholdCountGenerator<number> | ThresholdNumberArrayGenerator<number>,
|
|
85
|
+
): this;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Construct a new contour generator with the default settings.
|
|
90
|
+
*/
|
|
91
|
+
export function contours(): Contours;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* A contour generator for density estimates.
|
|
95
|
+
*
|
|
96
|
+
* The generic refers to the data type of an element in the data array
|
|
97
|
+
* used with the density contour generator. If omitted, the default setting assumes that,
|
|
98
|
+
* the elements of the data array used with the density contour generator are two-element arrays.
|
|
99
|
+
* The first element corresponds to the x-dimension, the second to the y-dimension.
|
|
100
|
+
*/
|
|
101
|
+
export interface ContourDensity<Datum = [number, number]> {
|
|
102
|
+
/**
|
|
103
|
+
* Estimates the density contours for the given array of data, returning an array of GeoJSON MultiPolygon geometry objects.
|
|
104
|
+
* Each geometry object represents the area where the estimated number of points per square pixel is greater than or equal to
|
|
105
|
+
* the corresponding threshold value; the threshold value for each geometry object is exposed as geometry.value.
|
|
106
|
+
* The returned geometry objects are typically passed to d3.geoPath to display, using null or d3.geoIdentity as the associated projection.
|
|
107
|
+
* See also d3.contours.
|
|
108
|
+
*
|
|
109
|
+
* The x- and y-coordinate for each data point are computed using density.x and density.y.
|
|
110
|
+
* The generated contours are only accurate within the estimator’s defined size.
|
|
111
|
+
*
|
|
112
|
+
* @param data Array of input data.
|
|
113
|
+
*/
|
|
114
|
+
(data: Datum[]): ContourMultiPolygon[];
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns the current x-coordinate accessor.
|
|
118
|
+
* The default x-coordinate accessor is a functions which accepts as input a two-element array of numbers
|
|
119
|
+
* and returns the element at index 0.
|
|
120
|
+
*/
|
|
121
|
+
x(): (d: Datum) => number;
|
|
122
|
+
/**
|
|
123
|
+
* Sets the x-coordinate accessor and returns the density contour estimator.
|
|
124
|
+
*
|
|
125
|
+
* @param x An x-coordinate accessor function, which accepts as input an element of the input data array and returns the
|
|
126
|
+
* x-coordinate.
|
|
127
|
+
*/
|
|
128
|
+
x(x: (d: Datum) => number): this;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Returns the current y-coordinate accessor.
|
|
132
|
+
* The default y-coordinate accessor is a functions which accepts as input a two-element array of numbers
|
|
133
|
+
* and returns the element at index 1.
|
|
134
|
+
*/
|
|
135
|
+
y(): (d: Datum) => number;
|
|
136
|
+
/**
|
|
137
|
+
* Sets the y-coordinate accessor and returns the density contour estimator.
|
|
138
|
+
*
|
|
139
|
+
* @param y An y-coordinate accessor function, which accepts as input an element of the input data array and returns the
|
|
140
|
+
* y-coordinate.
|
|
141
|
+
*/
|
|
142
|
+
y(y: (d: Datum) => number): this;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Returns the current point weight accessor.
|
|
146
|
+
*/
|
|
147
|
+
weight(): (d: Datum) => number;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Sets the point weight accessor and returns the density contour estimator.
|
|
151
|
+
*
|
|
152
|
+
* @param weight A point weight accessor function.
|
|
153
|
+
*/
|
|
154
|
+
weight(weight: (d: Datum) => number): this;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Returns the current size, which defaults to [960, 500].
|
|
158
|
+
*/
|
|
159
|
+
size(): [number, number];
|
|
160
|
+
/**
|
|
161
|
+
* Sets the size of the density estimator to the specified bounds and returns the density contour estimator.
|
|
162
|
+
*
|
|
163
|
+
* @param size The size is specified as an array [width, height], where width is the maximum x-value and height is the maximum y-value.
|
|
164
|
+
*/
|
|
165
|
+
size(size: [number, number]): this;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Returns the current cell size, which defaults to 4.
|
|
169
|
+
*/
|
|
170
|
+
cellSize(): number;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the size of individual cells in the underlying bin grid to the specified positive integer and returns the density contour estimator.
|
|
173
|
+
*
|
|
174
|
+
* The cell size is rounded down to the nearest power of two. Smaller cells produce more detailed contour polygons, but are more expensive to compute.
|
|
175
|
+
*
|
|
176
|
+
* @param cellSize Cell size, a positive integer.
|
|
177
|
+
*/
|
|
178
|
+
cellSize(cellSize: number): this;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Returns the current threshold generator, which by default generates about twenty nicely-rounded density thresholds.
|
|
182
|
+
*/
|
|
183
|
+
thresholds(): ThresholdCountGenerator<number> | ThresholdNumberArrayGenerator<number>;
|
|
184
|
+
/**
|
|
185
|
+
* Sets the threshold generator to the specified function or array and returns this contour generator.
|
|
186
|
+
* Thresholds are defined as an array of values [x0, x1, …].
|
|
187
|
+
* The first generated density contour corresponds to the area where the estimated density is greater than or equal to x0;
|
|
188
|
+
* the second contour corresponds to the area where the estimated density is greater than or equal to x1, and so on.
|
|
189
|
+
* Thus, there is exactly one generated MultiPolygon geometry object for each specified threshold value; the threshold value is exposed as geometry.value.
|
|
190
|
+
* The first value x0 should typically be greater than zero.
|
|
191
|
+
* If a count is specified instead of an array of thresholds, then approximately count uniformly-spaced nicely-rounded thresholds will be generated; see d3.ticks.
|
|
192
|
+
*/
|
|
193
|
+
thresholds(
|
|
194
|
+
thresholds: number | number[] | ThresholdCountGenerator<number> | ThresholdNumberArrayGenerator<number>,
|
|
195
|
+
): this;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Returns the current bandwidth, which defaults to 20.4939….
|
|
199
|
+
*/
|
|
200
|
+
bandwidth(): number;
|
|
201
|
+
/**
|
|
202
|
+
* Sets the bandwidth (the standard deviation) of the Gaussian kernel and returns the density contour estimator.
|
|
203
|
+
*
|
|
204
|
+
* @param bandwidth Bandwidth (the standard deviation) of the Gaussian kernel.
|
|
205
|
+
* The specified bandwidth is currently rounded to the nearest supported value by this implementation, and must be nonnegative.
|
|
206
|
+
*/
|
|
207
|
+
bandwidth(bandwidth: number): this;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Construct a new contour generator for density estimates.
|
|
212
|
+
*
|
|
213
|
+
* The generic refers to the data type of an element in the data array
|
|
214
|
+
* used with the density contour generator. If omitted, the default setting assumes that,
|
|
215
|
+
* the elements of the data array used with the density contour generator are two-element arrays.
|
|
216
|
+
* The first element corresponds to the x-dimension, the second to the y-dimension.
|
|
217
|
+
*
|
|
218
|
+
* Important: ensure that the x- and y-accessor functions are configured to
|
|
219
|
+
* match the data type used for the generic Datum.
|
|
220
|
+
*/
|
|
221
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
222
|
+
export function contourDensity<Datum = [number, number]>(): ContourDensity<Datum>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@types/d3-contour",
|
|
3
|
+
"version": "3.0.6",
|
|
4
|
+
"description": "TypeScript definitions for d3-contour",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-contour",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Tom Wanzek",
|
|
10
|
+
"githubUsername": "tomwanzek",
|
|
11
|
+
"url": "https://github.com/tomwanzek"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Hugues Stefanski",
|
|
15
|
+
"githubUsername": "Ledragon",
|
|
16
|
+
"url": "https://github.com/Ledragon"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Nathan Bierema",
|
|
20
|
+
"githubUsername": "Methuselah96",
|
|
21
|
+
"url": "https://github.com/Methuselah96"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"main": "",
|
|
25
|
+
"types": "index.d.ts",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
29
|
+
"directory": "types/d3-contour"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@types/d3-array": "*",
|
|
34
|
+
"@types/geojson": "*"
|
|
35
|
+
},
|
|
36
|
+
"typesPublisherContentHash": "a2a836bf53d1aa8ce0ab664fbae003884449208333886bc8a93937935bc3df4e",
|
|
37
|
+
"typeScriptVersion": "4.5"
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delaunay triangulation
|
|
3
|
+
*/
|
|
4
|
+
export class Delaunay<P> {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the Delaunay triangulation for the given flat array [x0, y0, x1, y1, …] of points.
|
|
7
|
+
*/
|
|
8
|
+
constructor(points: ArrayLike<number>);
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Returns the Delaunay triangulation for the given array or iterable of points where each point is an array in the form: [x, y].
|
|
12
|
+
*/
|
|
13
|
+
static from(points: ArrayLike<Delaunay.Point> | Iterable<Delaunay.Point>): Delaunay<Delaunay.Point>;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the Delaunay triangulation for the given array or iterable of points.
|
|
16
|
+
* Otherwise, the getX and getY functions are invoked for each point in order, and must return the respective x- and y-coordinate for each point.
|
|
17
|
+
* If that is specified, the functions getX and getY are invoked with that as this.
|
|
18
|
+
* (See Array.from for reference.)
|
|
19
|
+
*/
|
|
20
|
+
static from<P>(
|
|
21
|
+
points: ArrayLike<P> | Iterable<P>,
|
|
22
|
+
getX: Delaunay.GetCoordinate<P, ArrayLike<P> | Iterable<P>>,
|
|
23
|
+
getY: Delaunay.GetCoordinate<P, ArrayLike<P> | Iterable<P>>,
|
|
24
|
+
that?: any,
|
|
25
|
+
): Delaunay<P>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The coordinates of the points as an array [x0, y0, x1, y1, ...].
|
|
29
|
+
* Typically, this is a Float64Array, however you can use any array-like type in the constructor.
|
|
30
|
+
*/
|
|
31
|
+
points: ArrayLike<number>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The halfedge indices as an Int32Array [j0, j1, ...].
|
|
35
|
+
* For each index 0 <= i < halfedges.length, there is a halfedge from triangle vertex j = halfedges[i] to triangle vertex i.
|
|
36
|
+
*/
|
|
37
|
+
halfedges: Int32Array;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* An Int32Array of point indexes that form the convex hull in counterclockwise order.
|
|
41
|
+
* If the points are collinear, returns them ordered.
|
|
42
|
+
*/
|
|
43
|
+
hull: Uint32Array;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The triangle vertex indices as an Uint32Array [i0, j0, k0, i1, j1, k1, ...].
|
|
47
|
+
* Each contiguous triplet of indices i, j, k forms a counterclockwise triangle.
|
|
48
|
+
* The coordinates of the triangle's points can be found by going through 'points'.
|
|
49
|
+
*/
|
|
50
|
+
triangles: Uint32Array;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The incoming halfedge indexes as a Int32Array [e0, e1, e2, ...].
|
|
54
|
+
* For each point i, inedges[i] is the halfedge index e of an incoming halfedge.
|
|
55
|
+
* For coincident points, the halfedge index is -1; for points on the convex hull, the incoming halfedge is on the convex hull; for other points, the choice of incoming halfedge is arbitrary.
|
|
56
|
+
*/
|
|
57
|
+
inedges: Int32Array;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Returns the index of the input point that is closest to the specified point ⟨x, y⟩.
|
|
61
|
+
* The search is started at the specified point i. If i is not specified, it defaults to zero.
|
|
62
|
+
*/
|
|
63
|
+
find(x: number, y: number, i?: number): number;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Returns an iterable over the indexes of the neighboring points to the specified point i.
|
|
67
|
+
* The iterable is empty if i is a coincident point.
|
|
68
|
+
*/
|
|
69
|
+
neighbors(i: number): IterableIterator<number>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Renders the edges of the Delaunay triangulation to an SVG path string.
|
|
73
|
+
*/
|
|
74
|
+
render(): string;
|
|
75
|
+
/**
|
|
76
|
+
* Renders the edges of the Delaunay triangulation to the specified context.
|
|
77
|
+
* The specified context must implement the context.moveTo and context.lineTo methods from the CanvasPathMethods API.
|
|
78
|
+
*/
|
|
79
|
+
render(context: Delaunay.MoveContext & Delaunay.LineContext): void;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Renders the convex hull of the Delaunay triangulation to an SVG path string.
|
|
83
|
+
*/
|
|
84
|
+
renderHull(): string;
|
|
85
|
+
/**
|
|
86
|
+
* Renders the convex hull of the Delaunay triangulation to the specified context.
|
|
87
|
+
* The specified context must implement the context.moveTo and context.lineTo methods from the CanvasPathMethods API.
|
|
88
|
+
*/
|
|
89
|
+
renderHull(context: Delaunay.MoveContext & Delaunay.LineContext): void;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Renders triangle i of the Delaunay triangulation to an SVG path string.
|
|
93
|
+
*/
|
|
94
|
+
renderTriangle(i: number): string;
|
|
95
|
+
/**
|
|
96
|
+
* Renders triangle i of the Delaunay triangulation to the specified context.
|
|
97
|
+
* The specified context must implement the context.moveTo, context.lineTo and context.closePath methods from the CanvasPathMethods API.
|
|
98
|
+
*/
|
|
99
|
+
renderTriangle(i: number, context: Delaunay.MoveContext & Delaunay.LineContext & Delaunay.ClosableContext): void;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Renders the input points of the Delaunay triangulation to an SVG path string as circles with radius 2.
|
|
103
|
+
*/
|
|
104
|
+
renderPoints(): string;
|
|
105
|
+
/**
|
|
106
|
+
* Renders the input points of the Delaunay triangulation to an SVG path string as circles with the specified radius.
|
|
107
|
+
*/
|
|
108
|
+
renderPoints(context: undefined, radius: number): string;
|
|
109
|
+
/**
|
|
110
|
+
* Renders the input points of the Delaunay triangulation to the specified context as circles with the specified radius.
|
|
111
|
+
* If radius is not specified, it defaults to 2.
|
|
112
|
+
* The specified context must implement the context.moveTo and context.arc methods from the CanvasPathMethods API.
|
|
113
|
+
*/
|
|
114
|
+
renderPoints(context: Delaunay.MoveContext & Delaunay.ArcContext, radius?: number): void;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns the closed polygon [[x0, y0], [x1, y1], ..., [x0, y0]] representing the convex hull.
|
|
118
|
+
*/
|
|
119
|
+
hullPolygon(): Delaunay.Polygon;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Returns the closed polygon [[x0, y0], [x1, y1], [x2, y2], [x0, y0]] representing the triangle i.
|
|
123
|
+
*/
|
|
124
|
+
trianglePolygon(i: number): Delaunay.Triangle;
|
|
125
|
+
/**
|
|
126
|
+
* Returns an iterable over the polygons for each triangle, in order.
|
|
127
|
+
*/
|
|
128
|
+
trianglePolygons(): IterableIterator<Delaunay.Triangle>;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Updates the triangulation after the points have been modified in-place.
|
|
132
|
+
*/
|
|
133
|
+
update(): this;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Returns the Voronoi diagram for the associated points.
|
|
137
|
+
* When rendering, the diagram will be clipped to the specified bounds = [xmin, ymin, xmax, ymax].
|
|
138
|
+
* If bounds is not specified, it defaults to [0, 0, 960, 500].
|
|
139
|
+
* See To Infinity and Back Again for an interactive explanation of Voronoi cell clipping.
|
|
140
|
+
*/
|
|
141
|
+
voronoi(bounds?: Delaunay.Bounds): Voronoi<P>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace Delaunay {
|
|
145
|
+
/**
|
|
146
|
+
* A point represented as an array tuple [x, y].
|
|
147
|
+
*/
|
|
148
|
+
type Point = [number, number];
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* A closed polygon [[x0, y0], [x1, y1], [x2, y2], [x0, y0]] representing a triangle.
|
|
152
|
+
*/
|
|
153
|
+
type Triangle = Point[];
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* A closed polygon [[x0, y0], [x1, y1], ..., [x0, y0]].
|
|
157
|
+
*/
|
|
158
|
+
type Polygon = Point[];
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* A rectangular area [x, y, width, height].
|
|
162
|
+
*/
|
|
163
|
+
type Bounds = [number, number, number, number];
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* A function to extract a x- or y-coordinate from the specified point.
|
|
167
|
+
*/
|
|
168
|
+
type GetCoordinate<P, PS> = (point: P, i: number, points: PS) => number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* An interface for the rect() method of the CanvasPathMethods API.
|
|
172
|
+
*/
|
|
173
|
+
interface RectContext {
|
|
174
|
+
/**
|
|
175
|
+
* rect() method of the CanvasPathMethods API.
|
|
176
|
+
*/
|
|
177
|
+
rect(x: number, y: number, width: number, height: number): void;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* An interface for the moveTo() method of the CanvasPathMethods API.
|
|
182
|
+
*/
|
|
183
|
+
interface MoveContext {
|
|
184
|
+
/**
|
|
185
|
+
* moveTo() method of the CanvasPathMethods API.
|
|
186
|
+
*/
|
|
187
|
+
moveTo(x: number, y: number): void;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* An interface for the lineTo() method of the CanvasPathMethods API.
|
|
192
|
+
*/
|
|
193
|
+
interface LineContext {
|
|
194
|
+
/**
|
|
195
|
+
* lineTo() method of the CanvasPathMethods API.
|
|
196
|
+
*/
|
|
197
|
+
lineTo(x: number, y: number): void;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* An interface for the arc() method of the CanvasPathMethods API.
|
|
202
|
+
*/
|
|
203
|
+
interface ArcContext {
|
|
204
|
+
/**
|
|
205
|
+
* arc() method of the CanvasPathMethods API.
|
|
206
|
+
*/
|
|
207
|
+
arc(
|
|
208
|
+
x: number,
|
|
209
|
+
y: number,
|
|
210
|
+
radius: number,
|
|
211
|
+
startAngle: number,
|
|
212
|
+
endAngle: number,
|
|
213
|
+
counterclockwise?: boolean,
|
|
214
|
+
): void;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* An interface for the closePath() method of the CanvasPathMethods API.
|
|
219
|
+
*/
|
|
220
|
+
interface ClosableContext {
|
|
221
|
+
/**
|
|
222
|
+
* closePath() method of the CanvasPathMethods API.
|
|
223
|
+
*/
|
|
224
|
+
closePath(): void;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Voronoi regions
|
|
230
|
+
*/
|
|
231
|
+
export class Voronoi<P> {
|
|
232
|
+
/**
|
|
233
|
+
* The Voronoi diagram’s associated Delaunay triangulation.
|
|
234
|
+
*/
|
|
235
|
+
delaunay: Delaunay<P>;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The circumcenters of the Delaunay triangles [cx0, cy0, cx1, cy1, ...].
|
|
239
|
+
* Each contiguous pair of coordinates cx, cy is the circumcenter for the corresponding triangle.
|
|
240
|
+
* These circumcenters form the coordinates of the Voronoi cell polygons.
|
|
241
|
+
*/
|
|
242
|
+
circumcenters: Float64Array;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* An array [vx0, vy0, wx0, wy0, ...] where each non-zero quadruple describes an open (infinite) cell
|
|
246
|
+
* on the outer hull, giving the directions of two open half-lines.
|
|
247
|
+
*/
|
|
248
|
+
vectors: Float64Array;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The bounds of the viewport [xmin, ymin, xmax, ymax] for rendering the Voronoi diagram.
|
|
252
|
+
* These values only affect the rendering methods (voronoi.render, voronoi.renderBounds, cell.render).
|
|
253
|
+
*/
|
|
254
|
+
xmin: number;
|
|
255
|
+
ymin: number;
|
|
256
|
+
xmax: number;
|
|
257
|
+
ymax: number;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Returns true if the cell with the specified index i contains the specified point ⟨x, y⟩.
|
|
261
|
+
* (This method is not affected by the associated Voronoi diagram’s viewport bounds.)
|
|
262
|
+
*/
|
|
263
|
+
contains(i: number, x: number, y: number): boolean;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Returns an iterable over the indexes of the cells that share a common edge with the specified cell i.
|
|
267
|
+
* Voronoi neighbors are always neighbors on the Delaunay graph, but the converse is false when the common edge has been clipped out by the Voronoi diagram’s viewport.
|
|
268
|
+
*/
|
|
269
|
+
neighbors(i: number): Iterable<number>;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Renders the mesh of Voronoi cells to an SVG path string.
|
|
273
|
+
*/
|
|
274
|
+
render(): string;
|
|
275
|
+
/**
|
|
276
|
+
* Renders the mesh of Voronoi cells to the specified context.
|
|
277
|
+
* The specified context must implement the context.moveTo and context.lineTo methods from the CanvasPathMethods API.
|
|
278
|
+
*/
|
|
279
|
+
render(context: Delaunay.MoveContext & Delaunay.LineContext): void;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Renders the viewport extent to an SVG path string.
|
|
283
|
+
*/
|
|
284
|
+
renderBounds(): string;
|
|
285
|
+
/**
|
|
286
|
+
* Renders the viewport extent to the specified context.
|
|
287
|
+
* The specified context must implement the context.rect method from the CanvasPathMethods API.
|
|
288
|
+
* Equivalent to context.rect(voronoi.xmin, voronoi.ymin, voronoi.xmax - voronoi.xmin, voronoi.ymax - voronoi.ymin).
|
|
289
|
+
*/
|
|
290
|
+
renderBounds(context: Delaunay.RectContext): void;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Renders the cell with the specified index i to an SVG path string.
|
|
294
|
+
*/
|
|
295
|
+
renderCell(i: number): string;
|
|
296
|
+
/**
|
|
297
|
+
* Renders the cell with the specified index i to the specified context.
|
|
298
|
+
* The specified context must implement the context.moveTo, context.lineTo, and context.closePath methods from the CanvasPathMethods API.
|
|
299
|
+
*/
|
|
300
|
+
renderCell(i: number, context: Delaunay.MoveContext & Delaunay.LineContext & Delaunay.ClosableContext): void;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Returns an iterable over the non-empty polygons for each cell, with the cell index as property.
|
|
304
|
+
*/
|
|
305
|
+
cellPolygons(): IterableIterator<Delaunay.Polygon & { index: number }>;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Returns the convex, closed polygon [[x0, y0], [x1, y1], ..., [x0, y0]] representing the cell for the specified point i.
|
|
309
|
+
*/
|
|
310
|
+
cellPolygon(i: number): Delaunay.Polygon;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Updates the Voronoi diagram and underlying triangulation after the points have been modified in-place — useful for Lloyd’s relaxation.
|
|
314
|
+
*/
|
|
315
|
+
update(): this;
|
|
316
|
+
}
|