@react-x11/components 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +105 -38
- package/dist/charts/node.d.ts +12 -2
- package/dist/charts/node.d.ts.map +1 -1
- package/dist/charts/node.js +50 -16
- package/dist/charts/node.js.map +1 -1
- package/dist/charts/render.d.ts +12 -3
- package/dist/charts/render.d.ts.map +1 -1
- package/dist/charts/render.js +94 -25
- package/dist/charts/render.js.map +1 -1
- package/dist/code/index.d.ts.map +1 -1
- package/dist/code/index.js +3 -1
- package/dist/code/index.js.map +1 -1
- package/dist/code-editor/completion.d.ts.map +1 -1
- package/dist/code-editor/completion.js +3 -2
- package/dist/code-editor/completion.js.map +1 -1
- package/dist/code-editor/index.d.ts.map +1 -1
- package/dist/code-editor/index.js +19 -0
- package/dist/code-editor/index.js.map +1 -1
- package/dist/code-editor/node.d.ts +177 -7
- package/dist/code-editor/node.d.ts.map +1 -1
- package/dist/code-editor/node.js +1329 -164
- package/dist/code-editor/node.js.map +1 -1
- package/dist/code-language/languages/glsl.d.ts.map +1 -1
- package/dist/code-language/languages/glsl.js +10 -2
- package/dist/code-language/languages/glsl.js.map +1 -1
- package/dist/code-language/languages/javascript.d.ts.map +1 -1
- package/dist/code-language/languages/javascript.js +18 -3
- package/dist/code-language/languages/javascript.js.map +1 -1
- package/dist/code-language/languages/json.d.ts.map +1 -1
- package/dist/code-language/languages/json.js +10 -2
- package/dist/code-language/languages/json.js.map +1 -1
- package/dist/code-language/languages/shell.d.ts.map +1 -1
- package/dist/code-language/languages/shell.js +10 -2
- package/dist/code-language/languages/shell.js.map +1 -1
- package/dist/code-language/languages/sql.d.ts.map +1 -1
- package/dist/code-language/languages/sql.js +20 -2
- package/dist/code-language/languages/sql.js.map +1 -1
- package/dist/code-language/stream.d.ts +22 -0
- package/dist/code-language/stream.d.ts.map +1 -1
- package/dist/code-language/stream.js +259 -9
- package/dist/code-language/stream.js.map +1 -1
- package/dist/code-language/types.d.ts +5 -4
- package/dist/code-language/types.d.ts.map +1 -1
- package/dist/codeblock/index.d.ts +13 -2
- package/dist/codeblock/index.d.ts.map +1 -1
- package/dist/codeblock/index.js +20 -3
- package/dist/codeblock/index.js.map +1 -1
- package/dist/embed/client.d.ts +48 -3
- package/dist/embed/client.d.ts.map +1 -1
- package/dist/embed/client.js +79 -5
- package/dist/embed/client.js.map +1 -1
- package/dist/embed/index.d.ts +1 -1
- package/dist/embed/index.d.ts.map +1 -1
- package/dist/embed/index.js +1 -1
- package/dist/embed/index.js.map +1 -1
- package/dist/flow/draw.d.ts +50 -0
- package/dist/flow/draw.d.ts.map +1 -1
- package/dist/flow/draw.js +132 -33
- package/dist/flow/draw.js.map +1 -1
- package/dist/flow/gl/color.d.ts +13 -0
- package/dist/flow/gl/color.d.ts.map +1 -0
- package/dist/flow/gl/color.js +82 -0
- package/dist/flow/gl/color.js.map +1 -0
- package/dist/flow/gl/index.d.ts +60 -0
- package/dist/flow/gl/index.d.ts.map +1 -0
- package/dist/flow/gl/index.js +283 -0
- package/dist/flow/gl/index.js.map +1 -0
- package/dist/flow/gl/pack.d.ts +133 -0
- package/dist/flow/gl/pack.d.ts.map +1 -0
- package/dist/flow/gl/pack.js +408 -0
- package/dist/flow/gl/pack.js.map +1 -0
- package/dist/flow/gl/renderer.d.ts +95 -0
- package/dist/flow/gl/renderer.d.ts.map +1 -0
- package/dist/flow/gl/renderer.js +459 -0
- package/dist/flow/gl/renderer.js.map +1 -0
- package/dist/flow/gl/shaders.d.ts +79 -0
- package/dist/flow/gl/shaders.d.ts.map +1 -0
- package/dist/flow/gl/shaders.js +346 -0
- package/dist/flow/gl/shaders.js.map +1 -0
- package/dist/flow/gl/text.d.ts +318 -0
- package/dist/flow/gl/text.d.ts.map +1 -0
- package/dist/flow/gl/text.js +1103 -0
- package/dist/flow/gl/text.js.map +1 -0
- package/dist/flow/index.d.ts +1 -1
- package/dist/flow/index.d.ts.map +1 -1
- package/dist/flow/index.js +619 -64
- package/dist/flow/index.js.map +1 -1
- package/dist/flow/node.d.ts +621 -72
- package/dist/flow/node.d.ts.map +1 -1
- package/dist/flow/node.js +2253 -1018
- package/dist/flow/node.js.map +1 -1
- package/dist/flow/paint.d.ts +35 -0
- package/dist/flow/paint.d.ts.map +1 -0
- package/dist/flow/paint.js +393 -0
- package/dist/flow/paint.js.map +1 -0
- package/dist/flow/paths.d.ts +14 -0
- package/dist/flow/paths.d.ts.map +1 -1
- package/dist/flow/paths.js +45 -19
- package/dist/flow/paths.js.map +1 -1
- package/dist/flow/scene.d.ts +584 -0
- package/dist/flow/scene.d.ts.map +1 -0
- package/dist/flow/scene.js +1453 -0
- package/dist/flow/scene.js.map +1 -0
- package/dist/flow/types.d.ts +111 -1
- package/dist/flow/types.d.ts.map +1 -1
- package/dist/html/controls.d.ts +28 -0
- package/dist/html/controls.d.ts.map +1 -1
- package/dist/html/controls.js +52 -2
- package/dist/html/controls.js.map +1 -1
- package/dist/html/css/calc.d.ts +14 -0
- package/dist/html/css/calc.d.ts.map +1 -0
- package/dist/html/css/calc.js +344 -0
- package/dist/html/css/calc.js.map +1 -0
- package/dist/html/css/cascade.d.ts +240 -6
- package/dist/html/css/cascade.d.ts.map +1 -1
- package/dist/html/css/cascade.js +1327 -66
- package/dist/html/css/cascade.js.map +1 -1
- package/dist/html/css/color.d.ts +23 -0
- package/dist/html/css/color.d.ts.map +1 -0
- package/dist/html/css/color.js +740 -0
- package/dist/html/css/color.js.map +1 -0
- package/dist/html/css/content.d.ts +92 -0
- package/dist/html/css/content.d.ts.map +1 -0
- package/dist/html/css/content.js +388 -0
- package/dist/html/css/content.js.map +1 -0
- package/dist/html/css/counter-styles.d.ts +76 -0
- package/dist/html/css/counter-styles.d.ts.map +1 -0
- package/dist/html/css/counter-styles.js +893 -0
- package/dist/html/css/counter-styles.js.map +1 -0
- package/dist/html/css/decode.d.ts +12 -0
- package/dist/html/css/decode.d.ts.map +1 -0
- package/dist/html/css/decode.js +116 -0
- package/dist/html/css/decode.js.map +1 -0
- package/dist/html/css/parse.d.ts +110 -10
- package/dist/html/css/parse.d.ts.map +1 -1
- package/dist/html/css/parse.js +1473 -180
- package/dist/html/css/parse.js.map +1 -1
- package/dist/html/css/style.d.ts +498 -15
- package/dist/html/css/style.d.ts.map +1 -1
- package/dist/html/css/style.js +3698 -206
- package/dist/html/css/style.js.map +1 -1
- package/dist/html/css/ua.d.ts.map +1 -1
- package/dist/html/css/ua.js +57 -11
- package/dist/html/css/ua.js.map +1 -1
- package/dist/html/css/values.d.ts +37 -3
- package/dist/html/css/values.d.ts.map +1 -1
- package/dist/html/css/values.js +122 -48
- package/dist/html/css/values.js.map +1 -1
- package/dist/html/css/vars.d.ts +52 -0
- package/dist/html/css/vars.d.ts.map +1 -0
- package/dist/html/css/vars.js +358 -0
- package/dist/html/css/vars.js.map +1 -0
- package/dist/html/dom.d.ts +30 -4
- package/dist/html/dom.d.ts.map +1 -1
- package/dist/html/dom.js +278 -17
- package/dist/html/dom.js.map +1 -1
- package/dist/html/fonts.d.ts +106 -0
- package/dist/html/fonts.d.ts.map +1 -0
- package/dist/html/fonts.js +565 -0
- package/dist/html/fonts.js.map +1 -0
- package/dist/html/gif.d.ts +15 -0
- package/dist/html/gif.d.ts.map +1 -0
- package/dist/html/gif.js +229 -0
- package/dist/html/gif.js.map +1 -0
- package/dist/html/index.d.ts +50 -11
- package/dist/html/index.d.ts.map +1 -1
- package/dist/html/index.js +115 -9
- package/dist/html/index.js.map +1 -1
- package/dist/html/layout/block.d.ts +226 -3
- package/dist/html/layout/block.d.ts.map +1 -1
- package/dist/html/layout/block.js +2937 -197
- package/dist/html/layout/block.js.map +1 -1
- package/dist/html/layout/boxes.d.ts +340 -17
- package/dist/html/layout/boxes.d.ts.map +1 -1
- package/dist/html/layout/boxes.js +1714 -182
- package/dist/html/layout/boxes.js.map +1 -1
- package/dist/html/layout/cache.d.ts +58 -0
- package/dist/html/layout/cache.d.ts.map +1 -0
- package/dist/html/layout/cache.js +224 -0
- package/dist/html/layout/cache.js.map +1 -0
- package/dist/html/layout/collapse.d.ts +45 -0
- package/dist/html/layout/collapse.d.ts.map +1 -0
- package/dist/html/layout/collapse.js +246 -0
- package/dist/html/layout/collapse.js.map +1 -0
- package/dist/html/layout/css-grid.d.ts +7 -0
- package/dist/html/layout/css-grid.d.ts.map +1 -0
- package/dist/html/layout/css-grid.js +900 -0
- package/dist/html/layout/css-grid.js.map +1 -0
- package/dist/html/layout/flex.d.ts.map +1 -1
- package/dist/html/layout/flex.js +1025 -89
- package/dist/html/layout/flex.js.map +1 -1
- package/dist/html/layout/floats.d.ts +45 -6
- package/dist/html/layout/floats.d.ts.map +1 -1
- package/dist/html/layout/floats.js +113 -14
- package/dist/html/layout/floats.js.map +1 -1
- package/dist/html/layout/grid-lines.d.ts +39 -0
- package/dist/html/layout/grid-lines.d.ts.map +1 -0
- package/dist/html/layout/grid-lines.js +119 -0
- package/dist/html/layout/grid-lines.js.map +1 -0
- package/dist/html/layout/grid.d.ts +53 -0
- package/dist/html/layout/grid.d.ts.map +1 -0
- package/dist/html/layout/grid.js +153 -0
- package/dist/html/layout/grid.js.map +1 -0
- package/dist/html/layout/inline.d.ts +151 -1
- package/dist/html/layout/inline.d.ts.map +1 -1
- package/dist/html/layout/inline.js +3375 -174
- package/dist/html/layout/inline.js.map +1 -1
- package/dist/html/layout/shaping.d.ts +6 -0
- package/dist/html/layout/shaping.d.ts.map +1 -0
- package/dist/html/layout/shaping.js +100 -0
- package/dist/html/layout/shaping.js.map +1 -0
- package/dist/html/layout/table.d.ts +3 -0
- package/dist/html/layout/table.d.ts.map +1 -1
- package/dist/html/layout/table.js +681 -175
- package/dist/html/layout/table.js.map +1 -1
- package/dist/html/layout/tracks.d.ts +44 -0
- package/dist/html/layout/tracks.d.ts.map +1 -0
- package/dist/html/layout/tracks.js +349 -0
- package/dist/html/layout/tracks.js.map +1 -0
- package/dist/html/node.d.ts +172 -5
- package/dist/html/node.d.ts.map +1 -1
- package/dist/html/node.js +1336 -103
- package/dist/html/node.js.map +1 -1
- package/dist/html/paint.d.ts +92 -3
- package/dist/html/paint.d.ts.map +1 -1
- package/dist/html/paint.js +3503 -141
- package/dist/html/paint.js.map +1 -1
- package/dist/html/resources.d.ts +60 -14
- package/dist/html/resources.d.ts.map +1 -1
- package/dist/html/resources.js +122 -36
- package/dist/html/resources.js.map +1 -1
- package/dist/html/surfaces.d.ts +23 -0
- package/dist/html/surfaces.d.ts.map +1 -0
- package/dist/html/surfaces.js +68 -0
- package/dist/html/surfaces.js.map +1 -0
- package/dist/html/svg.d.ts +80 -0
- package/dist/html/svg.d.ts.map +1 -0
- package/dist/html/svg.js +435 -0
- package/dist/html/svg.js.map +1 -0
- package/dist/html/url.d.ts +23 -0
- package/dist/html/url.d.ts.map +1 -0
- package/dist/html/url.js +80 -0
- package/dist/html/url.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/collate.d.ts +3 -0
- package/dist/internal/collate.d.ts.map +1 -0
- package/dist/internal/collate.js +11 -0
- package/dist/internal/collate.js.map +1 -0
- package/dist/{markdown → internal/markdown}/ast.d.ts +23 -0
- package/dist/internal/markdown/ast.d.ts.map +1 -0
- package/dist/internal/markdown/ast.js +22 -0
- package/dist/internal/markdown/ast.js.map +1 -0
- package/dist/internal/markdown/parse.d.ts.map +1 -0
- package/dist/{markdown → internal/markdown}/parse.js +221 -30
- package/dist/internal/markdown/parse.js.map +1 -0
- package/dist/internal/markdown/stringify.d.ts +4 -0
- package/dist/internal/markdown/stringify.d.ts.map +1 -0
- package/dist/internal/markdown/stringify.js +684 -0
- package/dist/internal/markdown/stringify.js.map +1 -0
- package/dist/internal/markdown/tags.d.ts.map +1 -0
- package/dist/internal/markdown/tags.js.map +1 -0
- package/dist/internal/prewarm.d.ts +18 -0
- package/dist/internal/prewarm.d.ts.map +1 -0
- package/dist/internal/prewarm.js +42 -0
- package/dist/internal/prewarm.js.map +1 -0
- package/dist/internal/scroll.d.ts +3 -2
- package/dist/internal/scroll.d.ts.map +1 -1
- package/dist/internal/scroll.js +1 -0
- package/dist/internal/scroll.js.map +1 -1
- package/dist/internal/sdf.d.ts +20 -0
- package/dist/internal/sdf.d.ts.map +1 -0
- package/dist/internal/sdf.js +216 -0
- package/dist/internal/sdf.js.map +1 -0
- package/dist/internal/splice.d.ts +12 -0
- package/dist/internal/splice.d.ts.map +1 -0
- package/dist/internal/splice.js +23 -0
- package/dist/internal/splice.js.map +1 -0
- package/dist/internal/window.d.ts +12 -0
- package/dist/internal/window.d.ts.map +1 -1
- package/dist/internal/window.js +23 -6
- package/dist/internal/window.js.map +1 -1
- package/dist/maps/anchors.d.ts +103 -0
- package/dist/maps/anchors.d.ts.map +1 -0
- package/dist/maps/anchors.js +790 -0
- package/dist/maps/anchors.js.map +1 -0
- package/dist/maps/controller.d.ts +340 -0
- package/dist/maps/controller.d.ts.map +1 -0
- package/dist/maps/controller.js +822 -0
- package/dist/maps/controller.js.map +1 -0
- package/dist/maps/gl/buckets.d.ts +99 -0
- package/dist/maps/gl/buckets.d.ts.map +1 -0
- package/dist/maps/gl/buckets.js +365 -0
- package/dist/maps/gl/buckets.js.map +1 -0
- package/dist/maps/gl/build-worker.d.ts +15 -0
- package/dist/maps/gl/build-worker.d.ts.map +1 -0
- package/dist/maps/gl/build-worker.js +44 -0
- package/dist/maps/gl/build-worker.js.map +1 -0
- package/dist/maps/gl/color.d.ts +8 -0
- package/dist/maps/gl/color.d.ts.map +1 -0
- package/dist/maps/gl/color.js +57 -0
- package/dist/maps/gl/color.js.map +1 -0
- package/dist/maps/gl/cover.d.ts +70 -0
- package/dist/maps/gl/cover.d.ts.map +1 -0
- package/dist/maps/gl/cover.js +137 -0
- package/dist/maps/gl/cover.js.map +1 -0
- package/dist/maps/gl/index.d.ts +3 -0
- package/dist/maps/gl/index.d.ts.map +1 -0
- package/dist/maps/gl/index.js +20 -0
- package/dist/maps/gl/index.js.map +1 -0
- package/dist/maps/gl/markers.d.ts +28 -0
- package/dist/maps/gl/markers.d.ts.map +1 -0
- package/dist/maps/gl/markers.js +60 -0
- package/dist/maps/gl/markers.js.map +1 -0
- package/dist/maps/gl/overlays.d.ts +68 -0
- package/dist/maps/gl/overlays.d.ts.map +1 -0
- package/dist/maps/gl/overlays.js +300 -0
- package/dist/maps/gl/overlays.js.map +1 -0
- package/dist/maps/gl/pane.d.ts +12 -0
- package/dist/maps/gl/pane.d.ts.map +1 -0
- package/dist/maps/gl/pane.js +37 -0
- package/dist/maps/gl/pane.js.map +1 -0
- package/dist/maps/gl/placement.d.ts +124 -0
- package/dist/maps/gl/placement.d.ts.map +1 -0
- package/dist/maps/gl/placement.js +642 -0
- package/dist/maps/gl/placement.js.map +1 -0
- package/dist/maps/gl/renderer.d.ts +384 -0
- package/dist/maps/gl/renderer.d.ts.map +1 -0
- package/dist/maps/gl/renderer.js +1184 -0
- package/dist/maps/gl/renderer.js.map +1 -0
- package/dist/maps/gl/shaders.d.ts +121 -0
- package/dist/maps/gl/shaders.d.ts.map +1 -0
- package/dist/maps/gl/shaders.js +453 -0
- package/dist/maps/gl/shaders.js.map +1 -0
- package/dist/maps/gl/store.d.ts +125 -0
- package/dist/maps/gl/store.d.ts.map +1 -0
- package/dist/maps/gl/store.js +512 -0
- package/dist/maps/gl/store.js.map +1 -0
- package/dist/maps/gl/text.d.ts +283 -0
- package/dist/maps/gl/text.d.ts.map +1 -0
- package/dist/maps/gl/text.js +698 -0
- package/dist/maps/gl/text.js.map +1 -0
- package/dist/maps/gl/view.d.ts +345 -0
- package/dist/maps/gl/view.d.ts.map +1 -0
- package/dist/maps/gl/view.js +1209 -0
- package/dist/maps/gl/view.js.map +1 -0
- package/dist/maps/icons.d.ts +32 -0
- package/dist/maps/icons.d.ts.map +1 -0
- package/dist/maps/icons.js +151 -0
- package/dist/maps/icons.js.map +1 -0
- package/dist/maps/index.d.ts +3 -1
- package/dist/maps/index.d.ts.map +1 -1
- package/dist/maps/index.js +218 -52
- package/dist/maps/index.js.map +1 -1
- package/dist/maps/labels.d.ts +91 -18
- package/dist/maps/labels.d.ts.map +1 -1
- package/dist/maps/labels.js +376 -140
- package/dist/maps/labels.js.map +1 -1
- package/dist/maps/node.d.ts +179 -56
- package/dist/maps/node.d.ts.map +1 -1
- package/dist/maps/node.js +663 -537
- package/dist/maps/node.js.map +1 -1
- package/dist/maps/overlay.d.ts +72 -9
- package/dist/maps/overlay.d.ts.map +1 -1
- package/dist/maps/overlay.js +108 -28
- package/dist/maps/overlay.js.map +1 -1
- package/dist/maps/paint.d.ts +3 -0
- package/dist/maps/paint.d.ts.map +1 -1
- package/dist/maps/paint.js.map +1 -1
- package/dist/maps/proj.d.ts +62 -0
- package/dist/maps/proj.d.ts.map +1 -1
- package/dist/maps/proj.js +101 -0
- package/dist/maps/proj.js.map +1 -1
- package/dist/maps/renderer.d.ts +69 -0
- package/dist/maps/renderer.d.ts.map +1 -0
- package/dist/maps/renderer.js +66 -0
- package/dist/maps/renderer.js.map +1 -0
- package/dist/maps/sources.d.ts +30 -6
- package/dist/maps/sources.d.ts.map +1 -1
- package/dist/maps/sources.js +22 -3
- package/dist/maps/sources.js.map +1 -1
- package/dist/maps/style.d.ts +35 -0
- package/dist/maps/style.d.ts.map +1 -1
- package/dist/maps/style.js.map +1 -1
- package/dist/maps/styles.d.ts +12 -0
- package/dist/maps/styles.d.ts.map +1 -1
- package/dist/maps/styles.js +120 -6
- package/dist/maps/styles.js.map +1 -1
- package/dist/maps/theme.d.ts +19 -0
- package/dist/maps/theme.d.ts.map +1 -0
- package/dist/maps/theme.js +44 -0
- package/dist/maps/theme.js.map +1 -0
- package/dist/maps/tiles.d.ts +147 -27
- package/dist/maps/tiles.d.ts.map +1 -1
- package/dist/maps/tiles.js +221 -54
- package/dist/maps/tiles.js.map +1 -1
- package/dist/maps/types.d.ts +213 -21
- package/dist/maps/types.d.ts.map +1 -1
- package/dist/markdown/expressions.d.ts +1 -1
- package/dist/markdown/expressions.d.ts.map +1 -1
- package/dist/markdown/expressions.js.map +1 -1
- package/dist/markdown/index.d.ts +7 -6
- package/dist/markdown/index.d.ts.map +1 -1
- package/dist/markdown/index.js +121 -50
- package/dist/markdown/index.js.map +1 -1
- package/dist/markdown/spans.d.ts +1 -1
- package/dist/markdown/spans.d.ts.map +1 -1
- package/dist/markdown/spans.js +6 -0
- package/dist/markdown/spans.js.map +1 -1
- package/dist/media-player/index.d.ts +11 -3
- package/dist/media-player/index.d.ts.map +1 -1
- package/dist/media-player/index.js +13 -2
- package/dist/media-player/index.js.map +1 -1
- package/dist/qml/containers.d.ts.map +1 -1
- package/dist/qml/containers.js +6 -1
- package/dist/qml/containers.js.map +1 -1
- package/dist/qml/interaction.d.ts.map +1 -1
- package/dist/qml/interaction.js +38 -5
- package/dist/qml/interaction.js.map +1 -1
- package/dist/qml/layouts.d.ts.map +1 -1
- package/dist/qml/layouts.js +21 -6
- package/dist/qml/layouts.js.map +1 -1
- package/dist/qml/qtquick.d.ts.map +1 -1
- package/dist/qml/qtquick.js +9 -2
- package/dist/qml/qtquick.js.map +1 -1
- package/dist/qml/react.d.ts.map +1 -1
- package/dist/qml/react.js +9 -7
- package/dist/qml/react.js.map +1 -1
- package/dist/reorder/clock.d.ts +7 -0
- package/dist/reorder/clock.d.ts.map +1 -0
- package/dist/reorder/clock.js +26 -0
- package/dist/reorder/clock.js.map +1 -0
- package/dist/reorder/index.d.ts +25 -3
- package/dist/reorder/index.d.ts.map +1 -1
- package/dist/reorder/index.js +64 -19
- package/dist/reorder/index.js.map +1 -1
- package/dist/rich-text-editor/clipboard.d.ts +23 -0
- package/dist/rich-text-editor/clipboard.d.ts.map +1 -0
- package/dist/rich-text-editor/clipboard.js +307 -0
- package/dist/rich-text-editor/clipboard.js.map +1 -0
- package/dist/rich-text-editor/collab.d.ts +32 -0
- package/dist/rich-text-editor/collab.d.ts.map +1 -0
- package/dist/rich-text-editor/collab.js +55 -0
- package/dist/rich-text-editor/collab.js.map +1 -0
- package/dist/rich-text-editor/commands.d.ts +50 -0
- package/dist/rich-text-editor/commands.d.ts.map +1 -0
- package/dist/rich-text-editor/commands.js +376 -0
- package/dist/rich-text-editor/commands.js.map +1 -0
- package/dist/rich-text-editor/drag.d.ts +68 -0
- package/dist/rich-text-editor/drag.d.ts.map +1 -0
- package/dist/rich-text-editor/drag.js +148 -0
- package/dist/rich-text-editor/drag.js.map +1 -0
- package/dist/rich-text-editor/html.d.ts +145 -0
- package/dist/rich-text-editor/html.d.ts.map +1 -0
- package/dist/rich-text-editor/html.js +516 -0
- package/dist/rich-text-editor/html.js.map +1 -0
- package/dist/rich-text-editor/index.d.ts +252 -0
- package/dist/rich-text-editor/index.d.ts.map +1 -0
- package/dist/rich-text-editor/index.js +856 -0
- package/dist/rich-text-editor/index.js.map +1 -0
- package/dist/rich-text-editor/inline.d.ts +94 -0
- package/dist/rich-text-editor/inline.d.ts.map +1 -0
- package/dist/rich-text-editor/inline.js +252 -0
- package/dist/rich-text-editor/inline.js.map +1 -0
- package/dist/rich-text-editor/keymap.d.ts +71 -0
- package/dist/rich-text-editor/keymap.d.ts.map +1 -0
- package/dist/rich-text-editor/keymap.js +394 -0
- package/dist/rich-text-editor/keymap.js.map +1 -0
- package/dist/rich-text-editor/keys.d.ts +40 -0
- package/dist/rich-text-editor/keys.d.ts.map +1 -0
- package/dist/rich-text-editor/keys.js +202 -0
- package/dist/rich-text-editor/keys.js.map +1 -0
- package/dist/rich-text-editor/look.d.ts +71 -0
- package/dist/rich-text-editor/look.d.ts.map +1 -0
- package/dist/rich-text-editor/look.js +342 -0
- package/dist/rich-text-editor/look.js.map +1 -0
- package/dist/rich-text-editor/markdown.d.ts +18 -0
- package/dist/rich-text-editor/markdown.d.ts.map +1 -0
- package/dist/rich-text-editor/markdown.js +496 -0
- package/dist/rich-text-editor/markdown.js.map +1 -0
- package/dist/rich-text-editor/marks.d.ts +9 -0
- package/dist/rich-text-editor/marks.d.ts.map +1 -0
- package/dist/rich-text-editor/marks.js +83 -0
- package/dist/rich-text-editor/marks.js.map +1 -0
- package/dist/rich-text-editor/nodes.d.ts +135 -0
- package/dist/rich-text-editor/nodes.d.ts.map +1 -0
- package/dist/rich-text-editor/nodes.js +397 -0
- package/dist/rich-text-editor/nodes.js.map +1 -0
- package/dist/rich-text-editor/render.d.ts +68 -0
- package/dist/rich-text-editor/render.d.ts.map +1 -0
- package/dist/rich-text-editor/render.js +518 -0
- package/dist/rich-text-editor/render.js.map +1 -0
- package/dist/rich-text-editor/schema.d.ts +16 -0
- package/dist/rich-text-editor/schema.d.ts.map +1 -0
- package/dist/rich-text-editor/schema.js +386 -0
- package/dist/rich-text-editor/schema.js.map +1 -0
- package/dist/rich-text-editor/store.d.ts +11 -0
- package/dist/rich-text-editor/store.d.ts.map +1 -0
- package/dist/rich-text-editor/store.js +43 -0
- package/dist/rich-text-editor/store.js.map +1 -0
- package/dist/rich-text-editor/suggest.d.ts +127 -0
- package/dist/rich-text-editor/suggest.d.ts.map +1 -0
- package/dist/rich-text-editor/suggest.js +0 -0
- package/dist/rich-text-editor/suggest.js.map +1 -0
- package/dist/rich-text-editor/tables.d.ts +41 -0
- package/dist/rich-text-editor/tables.d.ts.map +1 -0
- package/dist/rich-text-editor/tables.js +204 -0
- package/dist/rich-text-editor/tables.js.map +1 -0
- package/dist/rich-text-editor/toolbar.d.ts +58 -0
- package/dist/rich-text-editor/toolbar.d.ts.map +1 -0
- package/dist/rich-text-editor/toolbar.js +548 -0
- package/dist/rich-text-editor/toolbar.js.map +1 -0
- package/dist/rich-text-editor/view.d.ts +368 -0
- package/dist/rich-text-editor/view.d.ts.map +1 -0
- package/dist/rich-text-editor/view.js +1968 -0
- package/dist/rich-text-editor/view.js.map +1 -0
- package/dist/rich-text-editor/virtual.d.ts +54 -0
- package/dist/rich-text-editor/virtual.d.ts.map +1 -0
- package/dist/rich-text-editor/virtual.js +279 -0
- package/dist/rich-text-editor/virtual.js.map +1 -0
- package/dist/richtext/node.d.ts +71 -4
- package/dist/richtext/node.d.ts.map +1 -1
- package/dist/richtext/node.js +233 -28
- package/dist/richtext/node.js.map +1 -1
- package/dist/richtext/runs.d.ts +13 -8
- package/dist/richtext/runs.d.ts.map +1 -1
- package/dist/richtext/runs.js +18 -8
- package/dist/richtext/runs.js.map +1 -1
- package/dist/table/index.d.ts.map +1 -1
- package/dist/table/index.js +23 -0
- package/dist/table/index.js.map +1 -1
- package/dist/table/rows.d.ts +3 -2
- package/dist/table/rows.d.ts.map +1 -1
- package/dist/table/rows.js +20 -6
- package/dist/table/rows.js.map +1 -1
- package/dist/terminal/backends.d.ts +4 -1
- package/dist/terminal/backends.d.ts.map +1 -1
- package/dist/terminal/backends.js.map +1 -1
- package/dist/terminal/index.d.ts +18 -7
- package/dist/terminal/index.d.ts.map +1 -1
- package/dist/terminal/index.js +32 -11
- package/dist/terminal/index.js.map +1 -1
- package/dist/terminal/vt/pty.d.ts +13 -2
- package/dist/terminal/vt/pty.d.ts.map +1 -1
- package/dist/terminal/vt/pty.js +18 -3
- package/dist/terminal/vt/pty.js.map +1 -1
- package/dist/terminal-output/index.d.ts.map +1 -1
- package/dist/terminal-output/index.js +6 -1
- package/dist/terminal-output/index.js.map +1 -1
- package/dist/three/canvas.d.ts.map +1 -1
- package/dist/three/canvas.js +85 -7
- package/dist/three/canvas.js.map +1 -1
- package/dist/three/events.d.ts +22 -4
- package/dist/three/events.d.ts.map +1 -1
- package/dist/three/events.js +34 -4
- package/dist/three/events.js.map +1 -1
- package/dist/tree/index.d.ts.map +1 -1
- package/dist/tree/index.js +17 -0
- package/dist/tree/index.js.map +1 -1
- package/package.json +59 -31
- package/src/charts/node.ts +68 -28
- package/src/charts/render.ts +120 -30
- package/src/code/index.ts +3 -1
- package/src/code-editor/completion.ts +3 -2
- package/src/code-editor/index.ts +19 -0
- package/src/code-editor/node.ts +1574 -184
- package/src/code-language/languages/glsl.ts +12 -2
- package/src/code-language/languages/javascript.ts +21 -4
- package/src/code-language/languages/json.ts +12 -2
- package/src/code-language/languages/shell.ts +12 -2
- package/src/code-language/languages/sql.ts +22 -2
- package/src/code-language/stream.ts +257 -17
- package/src/code-language/types.ts +5 -4
- package/src/codeblock/index.ts +20 -3
- package/src/embed/client.ts +102 -8
- package/src/embed/index.ts +2 -0
- package/src/flow/draw.ts +167 -41
- package/src/flow/gl/color.ts +85 -0
- package/src/flow/gl/index.ts +342 -0
- package/src/flow/gl/pack.ts +585 -0
- package/src/flow/gl/renderer.ts +679 -0
- package/src/flow/gl/shaders.ts +371 -0
- package/src/flow/gl/text.ts +1295 -0
- package/src/flow/index.ts +794 -67
- package/src/flow/node.ts +2496 -1256
- package/src/flow/paint.ts +511 -0
- package/src/flow/paths.ts +80 -15
- package/src/flow/scene.ts +2199 -0
- package/src/flow/types.ts +113 -1
- package/src/html/controls.ts +73 -2
- package/src/html/css/calc.ts +385 -0
- package/src/html/css/cascade.ts +1403 -62
- package/src/html/css/color.ts +755 -0
- package/src/html/css/content.ts +417 -0
- package/src/html/css/counter-styles.ts +973 -0
- package/src/html/css/decode.ts +130 -0
- package/src/html/css/parse.ts +1514 -160
- package/src/html/css/style.ts +4102 -222
- package/src/html/css/ua.ts +58 -12
- package/src/html/css/values.ts +150 -50
- package/src/html/css/vars.ts +348 -0
- package/src/html/dom.ts +284 -17
- package/src/html/fonts.ts +641 -0
- package/src/html/gif.ts +233 -0
- package/src/html/index.ts +180 -20
- package/src/html/layout/block.ts +3456 -230
- package/src/html/layout/boxes.ts +2100 -190
- package/src/html/layout/cache.ts +289 -0
- package/src/html/layout/collapse.ts +317 -0
- package/src/html/layout/css-grid.ts +1063 -0
- package/src/html/layout/flex.ts +1115 -106
- package/src/html/layout/floats.ts +128 -14
- package/src/html/layout/grid-lines.ts +141 -0
- package/src/html/layout/grid.ts +181 -0
- package/src/html/layout/inline.ts +3943 -192
- package/src/html/layout/shaping.ts +140 -0
- package/src/html/layout/table.ts +696 -186
- package/src/html/layout/tracks.ts +437 -0
- package/src/html/node.ts +1486 -121
- package/src/html/paint.ts +4293 -169
- package/src/html/resources.ts +161 -50
- package/src/html/surfaces.ts +81 -0
- package/src/html/svg.ts +493 -0
- package/src/html/url.ts +86 -0
- package/src/index.ts +4 -0
- package/src/internal/collate.ts +12 -0
- package/src/{markdown → internal/markdown}/ast.ts +35 -7
- package/src/{markdown → internal/markdown}/parse.ts +288 -35
- package/src/internal/markdown/stringify.ts +772 -0
- package/src/internal/prewarm.ts +45 -0
- package/src/internal/scroll.ts +5 -3
- package/src/internal/sdf.ts +227 -0
- package/src/internal/splice.ts +25 -0
- package/src/internal/window.ts +36 -5
- package/src/maps/anchors.ts +913 -0
- package/src/maps/controller.ts +1084 -0
- package/src/maps/gl/buckets.ts +461 -0
- package/src/maps/gl/build-worker.ts +66 -0
- package/src/maps/gl/color.ts +62 -0
- package/src/maps/gl/cover.ts +205 -0
- package/src/maps/gl/index.ts +23 -0
- package/src/maps/gl/markers.ts +83 -0
- package/src/maps/gl/overlays.ts +379 -0
- package/src/maps/gl/pane.ts +42 -0
- package/src/maps/gl/placement.ts +968 -0
- package/src/maps/gl/renderer.ts +1660 -0
- package/src/maps/gl/shaders.ts +489 -0
- package/src/maps/gl/store.ts +615 -0
- package/src/maps/gl/text.ts +868 -0
- package/src/maps/gl/view.ts +1489 -0
- package/src/maps/icons.ts +183 -0
- package/src/maps/index.ts +274 -81
- package/src/maps/labels.ts +457 -144
- package/src/maps/node.ts +832 -665
- package/src/maps/overlay.ts +148 -43
- package/src/maps/paint.ts +3 -0
- package/src/maps/proj.ts +118 -0
- package/src/maps/renderer.ts +155 -0
- package/src/maps/sources.ts +43 -6
- package/src/maps/style.ts +32 -0
- package/src/maps/styles.ts +215 -4
- package/src/maps/theme.ts +51 -0
- package/src/maps/tiles.ts +253 -62
- package/src/maps/types.ts +213 -21
- package/src/markdown/expressions.ts +5 -1
- package/src/markdown/index.ts +163 -78
- package/src/markdown/spans.ts +6 -1
- package/src/media-player/index.ts +18 -4
- package/src/qml/containers.tsx +6 -1
- package/src/qml/interaction.tsx +42 -5
- package/src/qml/layouts.tsx +21 -6
- package/src/qml/qtquick.tsx +9 -2
- package/src/qml/react.tsx +7 -5
- package/src/reorder/clock.ts +27 -0
- package/src/reorder/index.ts +100 -27
- package/src/rich-text-editor/clipboard.ts +439 -0
- package/src/rich-text-editor/collab.ts +91 -0
- package/src/rich-text-editor/commands.ts +448 -0
- package/src/rich-text-editor/dom-globals.d.ts +23 -0
- package/src/rich-text-editor/drag.ts +211 -0
- package/src/rich-text-editor/html.ts +619 -0
- package/src/rich-text-editor/index.ts +1364 -0
- package/src/rich-text-editor/inline.ts +345 -0
- package/src/rich-text-editor/keymap.ts +510 -0
- package/src/rich-text-editor/keys.ts +228 -0
- package/src/rich-text-editor/look.ts +427 -0
- package/src/rich-text-editor/markdown.ts +653 -0
- package/src/rich-text-editor/marks.ts +101 -0
- package/src/rich-text-editor/nodes.ts +497 -0
- package/src/rich-text-editor/render.ts +837 -0
- package/src/rich-text-editor/schema.ts +431 -0
- package/src/rich-text-editor/store.ts +39 -0
- package/src/rich-text-editor/suggest.ts +597 -0
- package/src/rich-text-editor/tables.ts +272 -0
- package/src/rich-text-editor/toolbar.ts +724 -0
- package/src/rich-text-editor/view.ts +2287 -0
- package/src/rich-text-editor/virtual.ts +372 -0
- package/src/richtext/node.ts +294 -44
- package/src/richtext/runs.ts +23 -12
- package/src/table/index.ts +29 -0
- package/src/table/rows.ts +18 -8
- package/src/terminal/backends.ts +4 -1
- package/src/terminal/index.ts +47 -15
- package/src/terminal/vt/pty.ts +16 -2
- package/src/terminal-output/index.ts +6 -1
- package/src/three/canvas.ts +102 -8
- package/src/three/events.ts +49 -9
- package/src/tree/index.ts +19 -0
- package/dist/markdown/ast.d.ts.map +0 -1
- package/dist/markdown/ast.js +0 -17
- package/dist/markdown/ast.js.map +0 -1
- package/dist/markdown/parse.d.ts.map +0 -1
- package/dist/markdown/parse.js.map +0 -1
- package/dist/markdown/tags.d.ts.map +0 -1
- package/dist/markdown/tags.js.map +0 -1
- /package/dist/{markdown → internal/markdown}/parse.d.ts +0 -0
- /package/dist/{markdown → internal/markdown}/tags.d.ts +0 -0
- /package/dist/{markdown → internal/markdown}/tags.js +0 -0
- /package/src/{markdown → internal/markdown}/tags.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { OverlayPalette } from './overlay.js';
|
|
2
|
+
import type { MapStyle } from './style.js';
|
|
3
|
+
/**
|
|
4
|
+
* The style a map with no `mapStyle` is drawn in: `shortbreadStyle()` in the
|
|
5
|
+
* theme's light or dark palette. Made once each — a style's identity is
|
|
6
|
+
* what decides whether the GL renderer rebuilds its tiles.
|
|
7
|
+
*/
|
|
8
|
+
export declare function defaultStyleFor(dark: boolean): MapStyle;
|
|
9
|
+
/**
|
|
10
|
+
* Whether a theme is dark — the luminance of the surface the map sits on,
|
|
11
|
+
* the same reading `src/code-editor/`'s token themes make, rather than a flag
|
|
12
|
+
* nobody sets. A map inside a dark application that stays light is the thing
|
|
13
|
+
* everyone notices first.
|
|
14
|
+
*/
|
|
15
|
+
export declare function isDarkTheme(theme: unknown): boolean;
|
|
16
|
+
/** The colours a marker, an overlay and the attribution use where they do
|
|
17
|
+
* not name one. */
|
|
18
|
+
export declare function overlayPalette(theme: unknown): OverlayPalette;
|
|
19
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/maps/theme.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAK3C;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAOvD;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CASnD;AAED;oBACoB;AACpB,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAO7D"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { shortbreadStyle } from './styles.js';
|
|
2
|
+
const defaults = new Map();
|
|
3
|
+
/**
|
|
4
|
+
* The style a map with no `mapStyle` is drawn in: `shortbreadStyle()` in the
|
|
5
|
+
* theme's light or dark palette. Made once each — a style's identity is
|
|
6
|
+
* what decides whether the GL renderer rebuilds its tiles.
|
|
7
|
+
*/
|
|
8
|
+
export function defaultStyleFor(dark) {
|
|
9
|
+
let style = defaults.get(dark);
|
|
10
|
+
if (!style) {
|
|
11
|
+
style = shortbreadStyle({ dark });
|
|
12
|
+
defaults.set(dark, style);
|
|
13
|
+
}
|
|
14
|
+
return style;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Whether a theme is dark — the luminance of the surface the map sits on,
|
|
18
|
+
* the same reading `src/code-editor/`'s token themes make, rather than a flag
|
|
19
|
+
* nobody sets. A map inside a dark application that stays light is the thing
|
|
20
|
+
* everyone notices first.
|
|
21
|
+
*/
|
|
22
|
+
export function isDarkTheme(theme) {
|
|
23
|
+
const background = theme?.background;
|
|
24
|
+
if (typeof background !== 'string')
|
|
25
|
+
return false;
|
|
26
|
+
const hex = background.trim();
|
|
27
|
+
if (!hex.startsWith('#') || hex.length < 7)
|
|
28
|
+
return false;
|
|
29
|
+
const r = parseInt(hex.slice(1, 3), 16);
|
|
30
|
+
const g = parseInt(hex.slice(3, 5), 16);
|
|
31
|
+
const b = parseInt(hex.slice(5, 7), 16);
|
|
32
|
+
return 0.2126 * r + 0.7152 * g + 0.0722 * b < 128;
|
|
33
|
+
}
|
|
34
|
+
/** The colours a marker, an overlay and the attribution use where they do
|
|
35
|
+
* not name one. */
|
|
36
|
+
export function overlayPalette(theme) {
|
|
37
|
+
const t = theme;
|
|
38
|
+
return {
|
|
39
|
+
accent: t?.accent ?? '#2d6cdf',
|
|
40
|
+
background: t?.background ?? '#ffffff',
|
|
41
|
+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AAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACxC,OAAO,MAAM,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,GAAG,CAAC;AACpD,CAAC;AAED;oBACoB;AACpB,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,MAAM,CAAC,GAAG,KAA4C,CAAC;IACvD,OAAO;QACL,MAAM,EAAG,CAAC,EAAE,MAAiB,IAAI,SAAS;QAC1C,UAAU,EAAG,CAAC,EAAE,UAAqB,IAAI,SAAS;QAClD,IAAI,EAAG,CAAC,EAAE,IAAe,IAAI,SAAS;KACvC,CAAC;AACJ,CAAC"}
|
package/dist/maps/tiles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PreparedStyle } from './paint.js';
|
|
2
2
|
import type { VectorTile } from './mvt.js';
|
|
3
|
-
import type { TileId } from './proj.js';
|
|
3
|
+
import type { TileCell, TileId } from './proj.js';
|
|
4
4
|
import type { MapSource } from './sources.js';
|
|
5
5
|
/** The slice of `react-x11/ntk`'s `Surface` this uses. Structural because
|
|
6
6
|
* the same object is an X pixmap on one backend and a CoreGraphics bitmap
|
|
@@ -49,6 +49,14 @@ export interface TileRender {
|
|
|
49
49
|
zoom: number;
|
|
50
50
|
/** The cache generation it was drawn under. */
|
|
51
51
|
generation: number;
|
|
52
|
+
/**
|
|
53
|
+
* Whether its pixels depend on the style. A vector tile's do — they are
|
|
54
|
+
* the style, rasterized — and a raster tile's do not: they are the
|
|
55
|
+
* provider's image, uploaded as it arrived. So an unstyled rendering
|
|
56
|
+
* belongs to every generation, and a restyle neither redraws it nor stops
|
|
57
|
+
* showing it.
|
|
58
|
+
*/
|
|
59
|
+
styled: boolean;
|
|
52
60
|
/** The next style run to draw, or `-1` when it is finished. */
|
|
53
61
|
progress: number;
|
|
54
62
|
/** …and how far into that run's active layers, because a run is not a
|
|
@@ -65,6 +73,12 @@ export interface TileRender {
|
|
|
65
73
|
*/
|
|
66
74
|
export interface TileDataEntry {
|
|
67
75
|
readonly key: string;
|
|
76
|
+
/** Who answers for it — and so which provider the bytes came from,
|
|
77
|
+
* since tiles are filed under the source object. */
|
|
78
|
+
readonly source: MapSource;
|
|
79
|
+
/** What that source is called: the `sourceId` its `load` requests carry
|
|
80
|
+
* and `onError` reports. */
|
|
81
|
+
readonly sourceId: string;
|
|
68
82
|
readonly tile: TileId;
|
|
69
83
|
status: TileStatus;
|
|
70
84
|
error: unknown;
|
|
@@ -115,7 +129,15 @@ export declare class CachedTile {
|
|
|
115
129
|
* keeps being composited until it is ready to be replaced.
|
|
116
130
|
*/
|
|
117
131
|
shown: TileRender | null;
|
|
118
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* The rendering being drawn, or null when there is nothing to draw.
|
|
134
|
+
*
|
|
135
|
+
* Finished ones do not usually stay: a draft is {@link TileCache.promote}d
|
|
136
|
+
* in the frame it is done. The exception is a restyle, which holds the
|
|
137
|
+
* previous style's whole picture up until the view is redrawn — so there
|
|
138
|
+
* a finished draft waits here until {@link TileCache.swap} puts every one
|
|
139
|
+
* on screen at once.
|
|
140
|
+
*/
|
|
119
141
|
drawing: TileRender | null;
|
|
120
142
|
/** Frame counter of the last frame that wanted it — what eviction sorts
|
|
121
143
|
* on. */
|
|
@@ -162,30 +184,52 @@ export declare class TileCache {
|
|
|
162
184
|
private readonly _entries;
|
|
163
185
|
/** The source's own tiles, shared by every rendering that draws one. */
|
|
164
186
|
private readonly _data;
|
|
187
|
+
/** The key prefix of each source object — per object and not per id,
|
|
188
|
+
* for the reason at the top of this file. */
|
|
189
|
+
private readonly _prefixes;
|
|
190
|
+
private _prefixCount;
|
|
165
191
|
private readonly _options;
|
|
166
192
|
private _frame;
|
|
167
193
|
private _surfaceBytes;
|
|
168
194
|
/** Bumped by a style change, which retires every surface without
|
|
169
195
|
* touching the data behind it. */
|
|
170
196
|
private _generation;
|
|
197
|
+
/** The key of every tile with a picture, and of its ancestors up to
|
|
198
|
+
* `FILL_DEPTH` levels above it — see {@link descendantsWithSurface}.
|
|
199
|
+
* Built when first asked, and dropped whenever a picture comes or goes. */
|
|
200
|
+
private _below;
|
|
171
201
|
constructor(options?: TileCacheOptions);
|
|
172
202
|
/** Bumped once per paint; `lastUsed` is stamped from it. */
|
|
173
203
|
beginFrame(): number;
|
|
174
204
|
get generation(): number;
|
|
175
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* Every styled surface is stale: a new style, or `refresh()` after an
|
|
207
|
+
* edit to one. The data behind them stays, and so does a raster tile's
|
|
208
|
+
* rendering, which no style drew (see {@link TileRender.styled}).
|
|
209
|
+
*
|
|
210
|
+
* A new display scale needs none of this, because a rendering's size is
|
|
211
|
+
* already part of what makes it valid. And nothing on screen is thrown
|
|
212
|
+
* away here: each picture stays until its replacement is finished —
|
|
213
|
+
* {@link promote} for one tile, {@link swap} for the whole view at once.
|
|
214
|
+
*/
|
|
176
215
|
invalidateStyle(): void;
|
|
177
216
|
/** How much the rendered surfaces are holding, in bytes. */
|
|
178
217
|
get surfaceBytes(): number;
|
|
179
218
|
get size(): number;
|
|
180
|
-
|
|
181
|
-
|
|
219
|
+
/** What a source's tile is filed under: a prefix of the source object's
|
|
220
|
+
* own, then `z/x/y`. The id is in the prefix only so that a key reads
|
|
221
|
+
* well in a debugger; two objects with one id get two prefixes. */
|
|
222
|
+
key(source: MapSource, tile: TileId): string;
|
|
223
|
+
peek(source: MapSource, tile: TileId): CachedTile | undefined;
|
|
182
224
|
/**
|
|
183
225
|
* The entry for a tile the cover asked for, and the data behind it,
|
|
184
226
|
* asking the source for that data if nothing has yet.
|
|
185
227
|
*
|
|
186
|
-
* `
|
|
187
|
-
*
|
|
188
|
-
*
|
|
228
|
+
* Filed under `source`; `sourceId` is only what it is called. `dataTile`
|
|
229
|
+
* is the tile whose bytes serve this one — itself, until the cover goes
|
|
230
|
+
* deeper than the source cuts. Marks both used by the current frame,
|
|
231
|
+
* which is what keeps them out of the next eviction — and a load still
|
|
232
|
+
* in flight from being cancelled by {@link sweep}.
|
|
189
233
|
*/
|
|
190
234
|
want(source: MapSource, sourceId: string, tile: TileId, dataTile?: TileId, sub?: {
|
|
191
235
|
x: number;
|
|
@@ -203,10 +247,14 @@ export declare class TileCache {
|
|
|
203
247
|
* under the fine one until it arrives — which is the difference between a
|
|
204
248
|
* map that fills in and a map that flashes empty. Bounded, because
|
|
205
249
|
* scaling one tile over sixteen screenfuls is worse than the hole.
|
|
250
|
+
*
|
|
251
|
+
* With a `generation`, only a picture drawn in it counts: a map showing
|
|
252
|
+
* one style must not cover a hole with a tile drawn in another.
|
|
206
253
|
*/
|
|
207
|
-
ancestorWithSurface(
|
|
254
|
+
ancestorWithSurface(source: MapSource, tile: TileId, levels?: number, generation?: number): CachedTile | null;
|
|
208
255
|
/**
|
|
209
|
-
* The finished **descendants** of a tile,
|
|
256
|
+
* The finished **descendants** of a tile, where each sits inside it, and
|
|
257
|
+
* the gaps they leave.
|
|
210
258
|
*
|
|
211
259
|
* The mirror of {@link ancestorWithSurface}, and the half a map needs
|
|
212
260
|
* when it zooms *out*: the tiles already in hand are then the target's
|
|
@@ -215,16 +263,33 @@ export declare class TileCache {
|
|
|
215
263
|
* over it, which is exactly as odd as it sounds — until the coarser tile
|
|
216
264
|
* has been fetched, rasterized and composited.
|
|
217
265
|
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
266
|
+
* Each quarter of the square is taken from the nearest level that has it,
|
|
267
|
+
* down to `FILL_DEPTH` — see `fillFromBelow`. The first cut took one
|
|
268
|
+
* level for the whole square, the nearest with anything in it, and looked
|
|
269
|
+
* two down. Both left the view blank where a zoom out needs it most: the
|
|
270
|
+
* edges, where the level the map came from covers only part of a coarser
|
|
271
|
+
* tile and the rest is one level further down or nowhere; and a zoom out
|
|
272
|
+
* of more than two levels, which a flick of the wheel is.
|
|
273
|
+
*
|
|
274
|
+
* The search goes only where {@link _heldBelow} says there is something,
|
|
275
|
+
* so a hole with nothing under it — every tile of a zoom *in* — costs four
|
|
276
|
+
* lookups rather than three hundred.
|
|
277
|
+
*
|
|
278
|
+
* `generation` as for {@link ancestorWithSurface}.
|
|
221
279
|
*/
|
|
222
|
-
descendantsWithSurface(
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
280
|
+
descendantsWithSurface(source: MapSource, tile: TileId, generation?: number): {
|
|
281
|
+
pieces: (TileCell & {
|
|
282
|
+
tile: TileId;
|
|
283
|
+
value: CachedTile;
|
|
284
|
+
})[];
|
|
285
|
+
gaps: TileCell[];
|
|
286
|
+
};
|
|
287
|
+
/** The keys of every tile with a picture and of its ancestors up to
|
|
288
|
+
* `FILL_DEPTH` levels above — so a search under a hole can tell where
|
|
289
|
+
* there is nothing without asking for each tile there. A superset where
|
|
290
|
+
* a picture is of another generation, which only costs the search a
|
|
291
|
+
* level. */
|
|
292
|
+
private _heldBelow;
|
|
228
293
|
/**
|
|
229
294
|
* The rendering this tile should be drawn into, or null when what is on
|
|
230
295
|
* screen is already right.
|
|
@@ -241,25 +306,72 @@ export declare class TileCache {
|
|
|
241
306
|
* the tile is blank for the several frames it takes to redraw, which
|
|
242
307
|
* above a source's `maxZoom` happens at every integer zoom — the same
|
|
243
308
|
* z14 tile serves 15, 16, 17 and on.
|
|
309
|
+
*
|
|
310
|
+
* A draft that is finished but not yet promoted — a restyle holding the
|
|
311
|
+
* old style up until the whole view is ready — matches like any other and
|
|
312
|
+
* comes back as it is, so it is not drawn twice.
|
|
244
313
|
*/
|
|
245
|
-
beginRender(entry: CachedTile, size: number, zoom: number, make: SurfaceFactory
|
|
314
|
+
beginRender(entry: CachedTile, size: number, zoom: number, make: SurfaceFactory,
|
|
315
|
+
/** False for a raster tile, whose pixels are the provider's and no
|
|
316
|
+
* style's — see {@link TileRender.styled}. */
|
|
317
|
+
styled?: boolean): TileRender | null;
|
|
246
318
|
private _matches;
|
|
247
319
|
/** The finished draft becomes what is on screen, and the old one goes.
|
|
248
320
|
* True when that happened, which is the one moment a tile's pixels
|
|
249
321
|
* change and therefore the one moment worth claiming damage for. */
|
|
250
322
|
promote(entry: CachedTile): boolean;
|
|
323
|
+
/**
|
|
324
|
+
* Put the current generation on screen in one go: every finished draft
|
|
325
|
+
* becomes its tile's picture, and every picture and draft of an earlier
|
|
326
|
+
* generation is released — apart from a raster tile's, which no style
|
|
327
|
+
* drew.
|
|
328
|
+
*
|
|
329
|
+
* The other half of a restyle. While the element holds the previous style
|
|
330
|
+
* up it does not {@link promote}, so finished drafts wait in `drawing`,
|
|
331
|
+
* and this is the frame they all land in. What is released is more than
|
|
332
|
+
* what they replace: a tile off screen still holds whatever it was last
|
|
333
|
+
* drawn in, which is now a picture of a style the map has left — never
|
|
334
|
+
* composited again, and otherwise kept until eviction got round to it.
|
|
335
|
+
*/
|
|
336
|
+
swap(): void;
|
|
251
337
|
/** Note where a tile's rasterization stopped: at run `run`, having
|
|
252
338
|
* finished `layer` of its active layers (`-1` for all of them). */
|
|
253
339
|
advance(render: TileRender, run: number, layer: number, style: PreparedStyle): void;
|
|
254
340
|
/**
|
|
255
|
-
* Drop what is no longer worth keeping.
|
|
341
|
+
* Drop what is no longer worth keeping. Called once a frame, after every
|
|
342
|
+
* tile the frame still needs has been through {@link want}.
|
|
256
343
|
*
|
|
257
|
-
*
|
|
344
|
+
* A load the frame did not want is cancelled outright (see
|
|
345
|
+
* `_cancelUnwanted`). What has arrived is kept on budgets instead:
|
|
346
|
+
* surfaces first and by least-recently-wanted, because they are two
|
|
258
347
|
* orders of magnitude larger than the data behind them and much cheaper
|
|
259
|
-
* to lose
|
|
260
|
-
* network request.
|
|
348
|
+
* to lose — a dropped surface is one re-rasterization, a dropped tile is
|
|
349
|
+
* a network request.
|
|
261
350
|
*/
|
|
262
351
|
sweep(): void;
|
|
352
|
+
/**
|
|
353
|
+
* Cancel every load the frame just drawn did not ask for.
|
|
354
|
+
*
|
|
355
|
+
* A tile panned or zoomed out of the cover — or every tile of a source
|
|
356
|
+
* taken out of `sources` — would otherwise load to the end: a request
|
|
357
|
+
* nobody is waiting for, then a full-pane repaint when it lands, because
|
|
358
|
+
* a landing tile is an `onChange`. The cover is padded, so a tile just off
|
|
359
|
+
* screen is still wanted and keeps loading. That is also the contract on
|
|
360
|
+
* the element: it wants the whole cover on every frame, clipped and
|
|
361
|
+
* mid-gesture ones included, or what it skipped is aborted here and
|
|
362
|
+
* fetched again.
|
|
363
|
+
*
|
|
364
|
+
* Only loads: data that has arrived stays on the budgets above, and is
|
|
365
|
+
* what makes panning back, or switching back to a provider, free.
|
|
366
|
+
*
|
|
367
|
+
* And forgotten rather than parked. An aborted load never settles
|
|
368
|
+
* (`settle` ignores it), so an entry left in `_data` would say `'loading'`
|
|
369
|
+
* forever and never be asked for again; its renderings go with it, since
|
|
370
|
+
* each reads through to the same entry for life, and none has a surface to
|
|
371
|
+
* lose. The next frame that wants the tile starts over, with a new request
|
|
372
|
+
* and a new signal.
|
|
373
|
+
*/
|
|
374
|
+
private _cancelUnwanted;
|
|
263
375
|
private _dropSurface;
|
|
264
376
|
private _release;
|
|
265
377
|
private _drop;
|
|
@@ -270,11 +382,19 @@ export declare class TileCache {
|
|
|
270
382
|
destroy(): void;
|
|
271
383
|
/** Every entry — for a test, and for the `onTiles` diagnostic. */
|
|
272
384
|
entries(): IterableIterator<CachedTile>;
|
|
273
|
-
/** Every source tile whose bytes are held
|
|
274
|
-
*
|
|
275
|
-
* source
|
|
385
|
+
/** Every source tile whose bytes are held — including those of sources no
|
|
386
|
+
* longer on the map, which is what makes switching back free and why a
|
|
387
|
+
* reader filters on `source`. What labels are collected from: a label
|
|
388
|
+
* belongs to the tile the data came from, and past a source's depth many
|
|
389
|
+
* renderings share one of those. */
|
|
276
390
|
dataEntries(): IterableIterator<TileDataEntry>;
|
|
277
391
|
}
|
|
392
|
+
/**
|
|
393
|
+
* Whether a rendering can be shown for `generation`: any can when none is
|
|
394
|
+
* given, which is `progressive`; one no style drew — a raster tile's — can
|
|
395
|
+
* in every generation; any other only in the one it was drawn under.
|
|
396
|
+
*/
|
|
397
|
+
export declare function drawnFor(render: TileRender, generation: number | undefined): boolean;
|
|
278
398
|
export declare function pyramid(source: MapSource): {
|
|
279
399
|
minZoom: number;
|
|
280
400
|
maxZoom: number;
|
package/dist/maps/tiles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../src/maps/tiles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../src/maps/tiles.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,cAAc,CAAC;AAExD;;mDAEmD;AACnD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IACpD,KAAK,IAAI,OAAO,CAAC;IACjB,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;2CAC2C;AAC3C,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,WAAW,GAAG,IAAI,CAAC;AAElE,+BAA+B;AAC/B,MAAM,MAAM,UAAU;AACpB,uBAAuB;AACrB,MAAM;AACR,iDAAiD;GAC/C,SAAS;AACX,oBAAoB;GAClB,OAAO;AACT;yEACyE;GACvE,OAAO;AACT,yEAAyE;GACvE,OAAO,CAAC;AAEZ;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,WAA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