@despia-native/kernel 0.0.0-coming-soon.0 → 0.3.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/LICENSE +202 -0
- package/NOTICE +1414 -0
- package/README.md +16 -1
- package/dist/.dsx-build-stamp.json +7 -0
- package/dist/api-cohort.d.ts +27 -0
- package/dist/api-cohort.d.ts.map +1 -0
- package/dist/api-cohort.js +94 -0
- package/dist/api-cohort.js.map +1 -0
- package/dist/api.d.ts +454 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +2442 -0
- package/dist/api.js.map +1 -0
- package/dist/app-consts.d.ts +10 -0
- package/dist/app-consts.d.ts.map +1 -0
- package/dist/app-consts.js +39 -0
- package/dist/app-consts.js.map +1 -0
- package/dist/app-update.d.ts +12 -0
- package/dist/app-update.d.ts.map +1 -0
- package/dist/app-update.js +32 -0
- package/dist/app-update.js.map +1 -0
- package/dist/aria.d.ts +152 -0
- package/dist/aria.d.ts.map +1 -0
- package/dist/aria.js +524 -0
- package/dist/aria.js.map +1 -0
- package/dist/audio-core.d.ts +260 -0
- package/dist/audio-core.d.ts.map +1 -0
- package/dist/audio-core.js +1440 -0
- package/dist/audio-core.js.map +1 -0
- package/dist/audio-edit.d.ts +100 -0
- package/dist/audio-edit.d.ts.map +1 -0
- package/dist/audio-edit.js +489 -0
- package/dist/audio-edit.js.map +1 -0
- package/dist/audio-mix.d.ts +84 -0
- package/dist/audio-mix.d.ts.map +1 -0
- package/dist/audio-mix.js +393 -0
- package/dist/audio-mix.js.map +1 -0
- package/dist/auth-proof.d.ts +145 -0
- package/dist/auth-proof.d.ts.map +1 -0
- package/dist/auth-proof.js +644 -0
- package/dist/auth-proof.js.map +1 -0
- package/dist/availability-explain.d.ts +3 -0
- package/dist/availability-explain.d.ts.map +1 -0
- package/dist/availability-explain.js +322 -0
- package/dist/availability-explain.js.map +1 -0
- package/dist/availability.d.ts +246 -0
- package/dist/availability.d.ts.map +1 -0
- package/dist/availability.js +615 -0
- package/dist/availability.js.map +1 -0
- package/dist/background.d.ts +116 -0
- package/dist/background.d.ts.map +1 -0
- package/dist/background.js +235 -0
- package/dist/background.js.map +1 -0
- package/dist/boot-tables-flag.d.ts +2 -0
- package/dist/boot-tables-flag.d.ts.map +1 -0
- package/dist/boot-tables-flag.js +16 -0
- package/dist/boot-tables-flag.js.map +1 -0
- package/dist/boot-tables.d.ts +40 -0
- package/dist/boot-tables.d.ts.map +1 -0
- package/dist/boot-tables.js +102 -0
- package/dist/boot-tables.js.map +1 -0
- package/dist/border-edges.d.ts +5 -0
- package/dist/border-edges.d.ts.map +1 -0
- package/dist/border-edges.js +47 -0
- package/dist/border-edges.js.map +1 -0
- package/dist/bus.d.ts +1203 -0
- package/dist/bus.d.ts.map +1 -0
- package/dist/bus.js +2647 -0
- package/dist/bus.js.map +1 -0
- package/dist/calendar-core.d.ts +143 -0
- package/dist/calendar-core.d.ts.map +1 -0
- package/dist/calendar-core.js +372 -0
- package/dist/calendar-core.js.map +1 -0
- package/dist/call-value.d.ts +16 -0
- package/dist/call-value.d.ts.map +1 -0
- package/dist/call-value.js +54 -0
- package/dist/call-value.js.map +1 -0
- package/dist/camera-core.d.ts +222 -0
- package/dist/camera-core.d.ts.map +1 -0
- package/dist/camera-core.js +980 -0
- package/dist/camera-core.js.map +1 -0
- package/dist/canvas-core.d.ts +404 -0
- package/dist/canvas-core.d.ts.map +1 -0
- package/dist/canvas-core.js +2186 -0
- package/dist/canvas-core.js.map +1 -0
- package/dist/capture-core.d.ts +74 -0
- package/dist/capture-core.d.ts.map +1 -0
- package/dist/capture-core.js +158 -0
- package/dist/capture-core.js.map +1 -0
- package/dist/compile/codegen.d.ts +146 -0
- package/dist/compile/codegen.d.ts.map +1 -0
- package/dist/compile/codegen.js +1949 -0
- package/dist/compile/codegen.js.map +1 -0
- package/dist/compile/jstier.d.ts +44 -0
- package/dist/compile/jstier.d.ts.map +1 -0
- package/dist/compile/jstier.js +181 -0
- package/dist/compile/jstier.js.map +1 -0
- package/dist/compile/tier-door.d.ts +41 -0
- package/dist/compile/tier-door.d.ts.map +1 -0
- package/dist/compile/tier-door.js +167 -0
- package/dist/compile/tier-door.js.map +1 -0
- package/dist/compile/tier-realm.d.ts +49 -0
- package/dist/compile/tier-realm.d.ts.map +1 -0
- package/dist/compile/tier-realm.js +368 -0
- package/dist/compile/tier-realm.js.map +1 -0
- package/dist/compile/tier.d.ts +23 -0
- package/dist/compile/tier.d.ts.map +1 -0
- package/dist/compile/tier.js +157 -0
- package/dist/compile/tier.js.map +1 -0
- package/dist/compose-core.d.ts +86 -0
- package/dist/compose-core.d.ts.map +1 -0
- package/dist/compose-core.js +112 -0
- package/dist/compose-core.js.map +1 -0
- package/dist/config-validate.d.ts +31 -0
- package/dist/config-validate.d.ts.map +1 -0
- package/dist/config-validate.js +147 -0
- package/dist/config-validate.js.map +1 -0
- package/dist/config-values.d.ts +106 -0
- package/dist/config-values.d.ts.map +1 -0
- package/dist/config-values.js +340 -0
- package/dist/config-values.js.map +1 -0
- package/dist/contacts-core.d.ts +127 -0
- package/dist/contacts-core.d.ts.map +1 -0
- package/dist/contacts-core.js +211 -0
- package/dist/contacts-core.js.map +1 -0
- package/dist/content-transition.d.ts +58 -0
- package/dist/content-transition.d.ts.map +1 -0
- package/dist/content-transition.js +94 -0
- package/dist/content-transition.js.map +1 -0
- package/dist/controls-core.d.ts +227 -0
- package/dist/controls-core.d.ts.map +1 -0
- package/dist/controls-core.js +652 -0
- package/dist/controls-core.js.map +1 -0
- package/dist/cookies.d.ts +78 -0
- package/dist/cookies.d.ts.map +1 -0
- package/dist/cookies.js +265 -0
- package/dist/cookies.js.map +1 -0
- package/dist/corner-shape-core.d.ts +69 -0
- package/dist/corner-shape-core.d.ts.map +1 -0
- package/dist/corner-shape-core.js +261 -0
- package/dist/corner-shape-core.js.map +1 -0
- package/dist/crypto-core.d.ts +57 -0
- package/dist/crypto-core.d.ts.map +1 -0
- package/dist/crypto-core.js +128 -0
- package/dist/crypto-core.js.map +1 -0
- package/dist/dataviz.d.ts +436 -0
- package/dist/dataviz.d.ts.map +1 -0
- package/dist/dataviz.js +956 -0
- package/dist/dataviz.js.map +1 -0
- package/dist/debug.d.ts +293 -0
- package/dist/debug.d.ts.map +1 -0
- package/dist/debug.js +767 -0
- package/dist/debug.js.map +1 -0
- package/dist/device-ownership.d.ts +50 -0
- package/dist/device-ownership.d.ts.map +1 -0
- package/dist/device-ownership.js +105 -0
- package/dist/device-ownership.js.map +1 -0
- package/dist/effects.d.ts +86 -0
- package/dist/effects.d.ts.map +1 -0
- package/dist/effects.js +98 -0
- package/dist/effects.js.map +1 -0
- package/dist/element.d.ts +108 -0
- package/dist/element.d.ts.map +1 -0
- package/dist/element.js +63 -0
- package/dist/element.js.map +1 -0
- package/dist/file-watch.d.ts +16 -0
- package/dist/file-watch.d.ts.map +1 -0
- package/dist/file-watch.js +49 -0
- package/dist/file-watch.js.map +1 -0
- package/dist/filepaths.d.ts +72 -0
- package/dist/filepaths.d.ts.map +1 -0
- package/dist/filepaths.js +271 -0
- package/dist/filepaths.js.map +1 -0
- package/dist/film.d.ts +264 -0
- package/dist/film.d.ts.map +1 -0
- package/dist/film.js +313 -0
- package/dist/film.js.map +1 -0
- package/dist/fonts.d.ts +66 -0
- package/dist/fonts.d.ts.map +1 -0
- package/dist/fonts.js +135 -0
- package/dist/fonts.js.map +1 -0
- package/dist/forms.d.ts +191 -0
- package/dist/forms.d.ts.map +1 -0
- package/dist/forms.js +663 -0
- package/dist/forms.js.map +1 -0
- package/dist/geo.d.ts +289 -0
- package/dist/geo.d.ts.map +1 -0
- package/dist/geo.js +460 -0
- package/dist/geo.js.map +1 -0
- package/dist/handler-announce.d.ts +46 -0
- package/dist/handler-announce.d.ts.map +1 -0
- package/dist/handler-announce.js +96 -0
- package/dist/handler-announce.js.map +1 -0
- package/dist/handoff.d.ts +71 -0
- package/dist/handoff.d.ts.map +1 -0
- package/dist/handoff.js +250 -0
- package/dist/handoff.js.map +1 -0
- package/dist/identity-durability.d.ts +76 -0
- package/dist/identity-durability.d.ts.map +1 -0
- package/dist/identity-durability.js +150 -0
- package/dist/identity-durability.js.map +1 -0
- package/dist/image-core.d.ts +240 -0
- package/dist/image-core.d.ts.map +1 -0
- package/dist/image-core.js +618 -0
- package/dist/image-core.js.map +1 -0
- package/dist/image-schemes.d.ts +10 -0
- package/dist/image-schemes.d.ts.map +1 -0
- package/dist/image-schemes.js +28 -0
- package/dist/image-schemes.js.map +1 -0
- package/dist/index.d.ts +143 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +299 -0
- package/dist/index.js.map +1 -0
- package/dist/ink-core.d.ts +53 -0
- package/dist/ink-core.d.ts.map +1 -0
- package/dist/ink-core.js +119 -0
- package/dist/ink-core.js.map +1 -0
- package/dist/input.d.ts +148 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/input.js +358 -0
- package/dist/input.js.map +1 -0
- package/dist/integrity.d.ts +63 -0
- package/dist/integrity.d.ts.map +1 -0
- package/dist/integrity.js +150 -0
- package/dist/integrity.js.map +1 -0
- package/dist/intents.d.ts +95 -0
- package/dist/intents.d.ts.map +1 -0
- package/dist/intents.js +282 -0
- package/dist/intents.js.map +1 -0
- package/dist/interpolate-core.d.ts +37 -0
- package/dist/interpolate-core.d.ts.map +1 -0
- package/dist/interpolate-core.js +443 -0
- package/dist/interpolate-core.js.map +1 -0
- package/dist/jse/color.d.ts +12 -0
- package/dist/jse/color.d.ts.map +1 -0
- package/dist/jse/color.js +196 -0
- package/dist/jse/color.js.map +1 -0
- package/dist/jse/core.d.ts +54 -0
- package/dist/jse/core.d.ts.map +1 -0
- package/dist/jse/core.js +1519 -0
- package/dist/jse/core.js.map +1 -0
- package/dist/jse/dispatch.d.ts +28 -0
- package/dist/jse/dispatch.d.ts.map +1 -0
- package/dist/jse/dispatch.js +116 -0
- package/dist/jse/dispatch.js.map +1 -0
- package/dist/jse/highlight-grammar.d.ts +15 -0
- package/dist/jse/highlight-grammar.d.ts.map +1 -0
- package/dist/jse/highlight-grammar.js +161 -0
- package/dist/jse/highlight-grammar.js.map +1 -0
- package/dist/jse/highlight-grammars.generated.d.ts +2 -0
- package/dist/jse/highlight-grammars.generated.d.ts.map +1 -0
- package/dist/jse/highlight-grammars.generated.js +4 -0
- package/dist/jse/highlight-grammars.generated.js.map +1 -0
- package/dist/jse/highlight.d.ts +37 -0
- package/dist/jse/highlight.d.ts.map +1 -0
- package/dist/jse/highlight.js +323 -0
- package/dist/jse/highlight.js.map +1 -0
- package/dist/jse/jse.d.ts +674 -0
- package/dist/jse/jse.d.ts.map +1 -0
- package/dist/jse/jse.js +5841 -0
- package/dist/jse/jse.js.map +1 -0
- package/dist/jse/pathmatch.d.ts +10 -0
- package/dist/jse/pathmatch.d.ts.map +1 -0
- package/dist/jse/pathmatch.js +73 -0
- package/dist/jse/pathmatch.js.map +1 -0
- package/dist/jse/regex.d.ts +33 -0
- package/dist/jse/regex.d.ts.map +1 -0
- package/dist/jse/regex.js +375 -0
- package/dist/jse/regex.js.map +1 -0
- package/dist/jse/stdlib.d.ts +8 -0
- package/dist/jse/stdlib.d.ts.map +1 -0
- package/dist/jse/stdlib.js +765 -0
- package/dist/jse/stdlib.js.map +1 -0
- package/dist/jse/tokens.d.ts +102 -0
- package/dist/jse/tokens.d.ts.map +1 -0
- package/dist/jse/tokens.js +982 -0
- package/dist/jse/tokens.js.map +1 -0
- package/dist/jse/values.d.ts +206 -0
- package/dist/jse/values.d.ts.map +1 -0
- package/dist/jse/values.js +846 -0
- package/dist/jse/values.js.map +1 -0
- package/dist/keyboard.d.ts +196 -0
- package/dist/keyboard.d.ts.map +1 -0
- package/dist/keyboard.js +186 -0
- package/dist/keyboard.js.map +1 -0
- package/dist/label-choices.d.ts +3 -0
- package/dist/label-choices.d.ts.map +1 -0
- package/dist/label-choices.js +168 -0
- package/dist/label-choices.js.map +1 -0
- package/dist/language.d.ts +33 -0
- package/dist/language.d.ts.map +1 -0
- package/dist/language.js +50 -0
- package/dist/language.js.map +1 -0
- package/dist/length-units.d.ts +30 -0
- package/dist/length-units.d.ts.map +1 -0
- package/dist/length-units.js +83 -0
- package/dist/length-units.js.map +1 -0
- package/dist/lightsensor.d.ts +48 -0
- package/dist/lightsensor.d.ts.map +1 -0
- package/dist/lightsensor.js +97 -0
- package/dist/lightsensor.js.map +1 -0
- package/dist/link-refresh.d.ts +27 -0
- package/dist/link-refresh.d.ts.map +1 -0
- package/dist/link-refresh.js +166 -0
- package/dist/link-refresh.js.map +1 -0
- package/dist/link.d.ts +57 -0
- package/dist/link.d.ts.map +1 -0
- package/dist/link.js +333 -0
- package/dist/link.js.map +1 -0
- package/dist/linkpreview.d.ts +114 -0
- package/dist/linkpreview.d.ts.map +1 -0
- package/dist/linkpreview.js +439 -0
- package/dist/linkpreview.js.map +1 -0
- package/dist/list-presence.d.ts +32 -0
- package/dist/list-presence.d.ts.map +1 -0
- package/dist/list-presence.js +48 -0
- package/dist/list-presence.js.map +1 -0
- package/dist/live-stream.d.ts +27 -0
- package/dist/live-stream.d.ts.map +1 -0
- package/dist/live-stream.js +274 -0
- package/dist/live-stream.js.map +1 -0
- package/dist/livelogs.d.ts +134 -0
- package/dist/livelogs.d.ts.map +1 -0
- package/dist/livelogs.js +409 -0
- package/dist/livelogs.js.map +1 -0
- package/dist/logs.d.ts +80 -0
- package/dist/logs.d.ts.map +1 -0
- package/dist/logs.js +206 -0
- package/dist/logs.js.map +1 -0
- package/dist/mcp/apps.d.ts +82 -0
- package/dist/mcp/apps.d.ts.map +1 -0
- package/dist/mcp/apps.js +219 -0
- package/dist/mcp/apps.js.map +1 -0
- package/dist/mcp/entities.d.ts +25 -0
- package/dist/mcp/entities.d.ts.map +1 -0
- package/dist/mcp/entities.js +71 -0
- package/dist/mcp/entities.js.map +1 -0
- package/dist/mcp/result.d.ts +73 -0
- package/dist/mcp/result.d.ts.map +1 -0
- package/dist/mcp/result.js +119 -0
- package/dist/mcp/result.js.map +1 -0
- package/dist/mcp/webmcp.d.ts +162 -0
- package/dist/mcp/webmcp.d.ts.map +1 -0
- package/dist/mcp/webmcp.js +214 -0
- package/dist/mcp/webmcp.js.map +1 -0
- package/dist/mcp.d.ts +5 -0
- package/dist/mcp.d.ts.map +1 -0
- package/dist/mcp.js +14 -0
- package/dist/mcp.js.map +1 -0
- package/dist/media-core.d.ts +191 -0
- package/dist/media-core.d.ts.map +1 -0
- package/dist/media-core.js +446 -0
- package/dist/media-core.js.map +1 -0
- package/dist/media-timeline-core.d.ts +94 -0
- package/dist/media-timeline-core.d.ts.map +1 -0
- package/dist/media-timeline-core.js +620 -0
- package/dist/media-timeline-core.js.map +1 -0
- package/dist/message.d.ts +42 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.js +582 -0
- package/dist/message.js.map +1 -0
- package/dist/missing-element.d.ts +29 -0
- package/dist/missing-element.d.ts.map +1 -0
- package/dist/missing-element.js +76 -0
- package/dist/missing-element.js.map +1 -0
- package/dist/motion-core.d.ts +160 -0
- package/dist/motion-core.d.ts.map +1 -0
- package/dist/motion-core.js +752 -0
- package/dist/motion-core.js.map +1 -0
- package/dist/motion-pose.d.ts +65 -0
- package/dist/motion-pose.d.ts.map +1 -0
- package/dist/motion-pose.js +143 -0
- package/dist/motion-pose.js.map +1 -0
- package/dist/motion.d.ts +132 -0
- package/dist/motion.d.ts.map +1 -0
- package/dist/motion.js +260 -0
- package/dist/motion.js.map +1 -0
- package/dist/mount-core.d.ts +203 -0
- package/dist/mount-core.d.ts.map +1 -0
- package/dist/mount-core.js +437 -0
- package/dist/mount-core.js.map +1 -0
- package/dist/net-core.d.ts +110 -0
- package/dist/net-core.d.ts.map +1 -0
- package/dist/net-core.js +225 -0
- package/dist/net-core.js.map +1 -0
- package/dist/notify.d.ts +399 -0
- package/dist/notify.d.ts.map +1 -0
- package/dist/notify.js +964 -0
- package/dist/notify.js.map +1 -0
- package/dist/orientation-binding.d.ts +39 -0
- package/dist/orientation-binding.d.ts.map +1 -0
- package/dist/orientation-binding.js +64 -0
- package/dist/orientation-binding.js.map +1 -0
- package/dist/orientation.d.ts +55 -0
- package/dist/orientation.d.ts.map +1 -0
- package/dist/orientation.js +89 -0
- package/dist/orientation.js.map +1 -0
- package/dist/ota.d.ts +52 -0
- package/dist/ota.d.ts.map +1 -0
- package/dist/ota.js +122 -0
- package/dist/ota.js.map +1 -0
- package/dist/passkeys.d.ts +91 -0
- package/dist/passkeys.d.ts.map +1 -0
- package/dist/passkeys.js +307 -0
- package/dist/passkeys.js.map +1 -0
- package/dist/payment.d.ts +85 -0
- package/dist/payment.d.ts.map +1 -0
- package/dist/payment.js +270 -0
- package/dist/payment.js.map +1 -0
- package/dist/pending-presenter.d.ts +31 -0
- package/dist/pending-presenter.d.ts.map +1 -0
- package/dist/pending-presenter.js +119 -0
- package/dist/pending-presenter.js.map +1 -0
- package/dist/permission-core.d.ts +59 -0
- package/dist/permission-core.d.ts.map +1 -0
- package/dist/permission-core.js +102 -0
- package/dist/permission-core.js.map +1 -0
- package/dist/persist.d.ts +169 -0
- package/dist/persist.d.ts.map +1 -0
- package/dist/persist.js +361 -0
- package/dist/persist.js.map +1 -0
- package/dist/phase-plan.d.ts +114 -0
- package/dist/phase-plan.d.ts.map +1 -0
- package/dist/phase-plan.js +837 -0
- package/dist/phase-plan.js.map +1 -0
- package/dist/playback-core.d.ts +64 -0
- package/dist/playback-core.d.ts.map +1 -0
- package/dist/playback-core.js +176 -0
- package/dist/playback-core.js.map +1 -0
- package/dist/player-sources.d.ts +12 -0
- package/dist/player-sources.d.ts.map +1 -0
- package/dist/player-sources.js +44 -0
- package/dist/player-sources.js.map +1 -0
- package/dist/proxy-denylist.d.ts +11 -0
- package/dist/proxy-denylist.d.ts.map +1 -0
- package/dist/proxy-denylist.js +44 -0
- package/dist/proxy-denylist.js.map +1 -0
- package/dist/public-config.d.ts +20 -0
- package/dist/public-config.d.ts.map +1 -0
- package/dist/public-config.js +109 -0
- package/dist/public-config.js.map +1 -0
- package/dist/qoe-core.d.ts +72 -0
- package/dist/qoe-core.d.ts.map +1 -0
- package/dist/qoe-core.js +113 -0
- package/dist/qoe-core.js.map +1 -0
- package/dist/reactive-request.d.ts +80 -0
- package/dist/reactive-request.d.ts.map +1 -0
- package/dist/reactive-request.js +192 -0
- package/dist/reactive-request.js.map +1 -0
- package/dist/read-cache.d.ts +129 -0
- package/dist/read-cache.d.ts.map +1 -0
- package/dist/read-cache.js +566 -0
- package/dist/read-cache.js.map +1 -0
- package/dist/recorder-core.d.ts +57 -0
- package/dist/recorder-core.d.ts.map +1 -0
- package/dist/recorder-core.js +136 -0
- package/dist/recorder-core.js.map +1 -0
- package/dist/ref.d.ts +41 -0
- package/dist/ref.d.ts.map +1 -0
- package/dist/ref.js +98 -0
- package/dist/ref.js.map +1 -0
- package/dist/refusal.d.ts +82 -0
- package/dist/refusal.d.ts.map +1 -0
- package/dist/refusal.js +218 -0
- package/dist/refusal.js.map +1 -0
- package/dist/region-insets.d.ts +61 -0
- package/dist/region-insets.d.ts.map +1 -0
- package/dist/region-insets.js +67 -0
- package/dist/region-insets.js.map +1 -0
- package/dist/rive-core.d.ts +323 -0
- package/dist/rive-core.d.ts.map +1 -0
- package/dist/rive-core.js +677 -0
- package/dist/rive-core.js.map +1 -0
- package/dist/runner.d.ts +595 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +4094 -0
- package/dist/runner.js.map +1 -0
- package/dist/scene/a11y.d.ts +11 -0
- package/dist/scene/a11y.d.ts.map +1 -0
- package/dist/scene/a11y.js +67 -0
- package/dist/scene/a11y.js.map +1 -0
- package/dist/scene/anim.d.ts +149 -0
- package/dist/scene/anim.d.ts.map +1 -0
- package/dist/scene/anim.js +396 -0
- package/dist/scene/anim.js.map +1 -0
- package/dist/scene/bind.d.ts +33 -0
- package/dist/scene/bind.d.ts.map +1 -0
- package/dist/scene/bind.js +66 -0
- package/dist/scene/bind.js.map +1 -0
- package/dist/scene/collide.d.ts +56 -0
- package/dist/scene/collide.d.ts.map +1 -0
- package/dist/scene/collide.js +146 -0
- package/dist/scene/collide.js.map +1 -0
- package/dist/scene/frame.d.ts +22 -0
- package/dist/scene/frame.d.ts.map +1 -0
- package/dist/scene/frame.js +57 -0
- package/dist/scene/frame.js.map +1 -0
- package/dist/scene/gltf.d.ts +79 -0
- package/dist/scene/gltf.d.ts.map +1 -0
- package/dist/scene/gltf.js +409 -0
- package/dist/scene/gltf.js.map +1 -0
- package/dist/scene/ir.d.ts +293 -0
- package/dist/scene/ir.d.ts.map +1 -0
- package/dist/scene/ir.js +692 -0
- package/dist/scene/ir.js.map +1 -0
- package/dist/scene/math.d.ts +50 -0
- package/dist/scene/math.d.ts.map +1 -0
- package/dist/scene/math.js +180 -0
- package/dist/scene/math.js.map +1 -0
- package/dist/scene/orbit.d.ts +19 -0
- package/dist/scene/orbit.d.ts.map +1 -0
- package/dist/scene/orbit.js +60 -0
- package/dist/scene/orbit.js.map +1 -0
- package/dist/scene/physics.d.ts +228 -0
- package/dist/scene/physics.d.ts.map +1 -0
- package/dist/scene/physics.js +1500 -0
- package/dist/scene/physics.js.map +1 -0
- package/dist/scene/registry.d.ts +85 -0
- package/dist/scene/registry.d.ts.map +1 -0
- package/dist/scene/registry.js +75 -0
- package/dist/scene/registry.js.map +1 -0
- package/dist/scene/skin.d.ts +82 -0
- package/dist/scene/skin.d.ts.map +1 -0
- package/dist/scene/skin.js +351 -0
- package/dist/scene/skin.js.map +1 -0
- package/dist/scene/sprite.d.ts +36 -0
- package/dist/scene/sprite.d.ts.map +1 -0
- package/dist/scene/sprite.js +107 -0
- package/dist/scene/sprite.js.map +1 -0
- package/dist/scene/viewer.d.ts +96 -0
- package/dist/scene/viewer.d.ts.map +1 -0
- package/dist/scene/viewer.js +235 -0
- package/dist/scene/viewer.js.map +1 -0
- package/dist/scoped-slots.d.ts +9 -0
- package/dist/scoped-slots.d.ts.map +1 -0
- package/dist/scoped-slots.js +42 -0
- package/dist/scoped-slots.js.map +1 -0
- package/dist/screen.d.ts +109 -0
- package/dist/screen.d.ts.map +1 -0
- package/dist/screen.js +309 -0
- package/dist/screen.js.map +1 -0
- package/dist/scroll.d.ts +525 -0
- package/dist/scroll.d.ts.map +1 -0
- package/dist/scroll.js +1226 -0
- package/dist/scroll.js.map +1 -0
- package/dist/settings-plane.d.ts +58 -0
- package/dist/settings-plane.d.ts.map +1 -0
- package/dist/settings-plane.js +86 -0
- package/dist/settings-plane.js.map +1 -0
- package/dist/share-inbox.d.ts +56 -0
- package/dist/share-inbox.d.ts.map +1 -0
- package/dist/share-inbox.js +114 -0
- package/dist/share-inbox.js.map +1 -0
- package/dist/shared-transition.d.ts +152 -0
- package/dist/shared-transition.d.ts.map +1 -0
- package/dist/shared-transition.js +257 -0
- package/dist/shared-transition.js.map +1 -0
- package/dist/sheet-content-padding.d.ts +24 -0
- package/dist/sheet-content-padding.d.ts.map +1 -0
- package/dist/sheet-content-padding.js +32 -0
- package/dist/sheet-content-padding.js.map +1 -0
- package/dist/shot-devices.d.ts +36 -0
- package/dist/shot-devices.d.ts.map +1 -0
- package/dist/shot-devices.js +90 -0
- package/dist/shot-devices.js.map +1 -0
- package/dist/shot-guards.d.ts +100 -0
- package/dist/shot-guards.d.ts.map +1 -0
- package/dist/shot-guards.js +260 -0
- package/dist/shot-guards.js.map +1 -0
- package/dist/shot-scope.d.ts +140 -0
- package/dist/shot-scope.d.ts.map +1 -0
- package/dist/shot-scope.js +302 -0
- package/dist/shot-scope.js.map +1 -0
- package/dist/slot-partition.d.ts +9 -0
- package/dist/slot-partition.d.ts.map +1 -0
- package/dist/slot-partition.js +38 -0
- package/dist/slot-partition.js.map +1 -0
- package/dist/snackbar.d.ts +165 -0
- package/dist/snackbar.d.ts.map +1 -0
- package/dist/snackbar.js +220 -0
- package/dist/snackbar.js.map +1 -0
- package/dist/socket.d.ts +96 -0
- package/dist/socket.d.ts.map +1 -0
- package/dist/socket.js +370 -0
- package/dist/socket.js.map +1 -0
- package/dist/spotlight.d.ts +77 -0
- package/dist/spotlight.d.ts.map +1 -0
- package/dist/spotlight.js +174 -0
- package/dist/spotlight.js.map +1 -0
- package/dist/state-primitive.d.ts +37 -0
- package/dist/state-primitive.d.ts.map +1 -0
- package/dist/state-primitive.js +91 -0
- package/dist/state-primitive.js.map +1 -0
- package/dist/store-query.d.ts +25 -0
- package/dist/store-query.d.ts.map +1 -0
- package/dist/store-query.js +88 -0
- package/dist/store-query.js.map +1 -0
- package/dist/store-value.d.ts +48 -0
- package/dist/store-value.d.ts.map +1 -0
- package/dist/store-value.js +264 -0
- package/dist/store-value.js.map +1 -0
- package/dist/store-versioning.d.ts +70 -0
- package/dist/store-versioning.d.ts.map +1 -0
- package/dist/store-versioning.js +188 -0
- package/dist/store-versioning.js.map +1 -0
- package/dist/store.d.ts +282 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +1144 -0
- package/dist/store.js.map +1 -0
- package/dist/strings.d.ts +141 -0
- package/dist/strings.d.ts.map +1 -0
- package/dist/strings.js +581 -0
- package/dist/strings.js.map +1 -0
- package/dist/telemetry.d.ts +95 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +255 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/transform-core.d.ts +228 -0
- package/dist/transform-core.d.ts.map +1 -0
- package/dist/transform-core.js +921 -0
- package/dist/transform-core.js.map +1 -0
- package/dist/transition-core.d.ts +58 -0
- package/dist/transition-core.d.ts.map +1 -0
- package/dist/transition-core.js +352 -0
- package/dist/transition-core.js.map +1 -0
- package/dist/trim-trailing.d.ts +3 -0
- package/dist/trim-trailing.d.ts.map +1 -0
- package/dist/trim-trailing.js +14 -0
- package/dist/trim-trailing.js.map +1 -0
- package/dist/upload.d.ts +51 -0
- package/dist/upload.d.ts.map +1 -0
- package/dist/upload.js +68 -0
- package/dist/upload.js.map +1 -0
- package/dist/vendor-face.d.ts +44 -0
- package/dist/vendor-face.d.ts.map +1 -0
- package/dist/vendor-face.js +80 -0
- package/dist/vendor-face.js.map +1 -0
- package/dist/vendor-session.d.ts +166 -0
- package/dist/vendor-session.d.ts.map +1 -0
- package/dist/vendor-session.js +423 -0
- package/dist/vendor-session.js.map +1 -0
- package/dist/vendor-surface.d.ts +290 -0
- package/dist/vendor-surface.d.ts.map +1 -0
- package/dist/vendor-surface.js +439 -0
- package/dist/vendor-surface.js.map +1 -0
- package/dist/version-rules.generated.d.ts +17 -0
- package/dist/version-rules.generated.d.ts.map +1 -0
- package/dist/version-rules.generated.js +99 -0
- package/dist/version-rules.generated.js.map +1 -0
- package/dist/view-transition-core.d.ts +99 -0
- package/dist/view-transition-core.d.ts.map +1 -0
- package/dist/view-transition-core.js +127 -0
- package/dist/view-transition-core.js.map +1 -0
- package/dist/view-transition-door.d.ts +26 -0
- package/dist/view-transition-door.d.ts.map +1 -0
- package/dist/view-transition-door.js +88 -0
- package/dist/view-transition-door.js.map +1 -0
- package/dist/window-identity.d.ts +3 -0
- package/dist/window-identity.d.ts.map +1 -0
- package/dist/window-identity.js +27 -0
- package/dist/window-identity.js.map +1 -0
- package/package.json +141 -2
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/** The five content modes, `cover` first because it is the default and today's behaviour. */
|
|
2
|
+
export type ContentFit = "cover" | "contain" | "fill" | "none" | "scaleDown";
|
|
3
|
+
export declare const CONTENT_FITS: readonly ContentFit[];
|
|
4
|
+
/** The four cache policies. `memoryDisk` is the default; the legacy `cache="none"` folds to `none`. */
|
|
5
|
+
export type CachePolicy = "memory" | "disk" | "memoryDisk" | "none";
|
|
6
|
+
export declare const CACHE_POLICIES: readonly CachePolicy[];
|
|
7
|
+
/** Where a decoded image came from — reported to `on:load` and, crucially, the transition gate. */
|
|
8
|
+
export type CacheType = "memory" | "disk" | "none";
|
|
9
|
+
/** Fetch priority. A hero is `high`, an offscreen row is `low`; the queue is per-renderer. */
|
|
10
|
+
export type ImagePriority = "low" | "normal" | "high";
|
|
11
|
+
export declare const IMAGE_PRIORITIES: readonly ImagePriority[];
|
|
12
|
+
/** The transition vocabulary. `crossDissolve` is the default and the only one every target
|
|
13
|
+
* realises natively; the flips and curls degrade to a cross-dissolve where they cannot. */
|
|
14
|
+
export type TransitionEffect = "none" | "crossDissolve" | "flipFromLeft" | "flipFromRight" | "flipFromTop" | "flipFromBottom" | "curlUp" | "curlDown";
|
|
15
|
+
export declare const TRANSITION_EFFECTS: readonly TransitionEffect[];
|
|
16
|
+
export interface ImageSize {
|
|
17
|
+
readonly width: number;
|
|
18
|
+
readonly height: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ImageRect {
|
|
21
|
+
readonly x: number;
|
|
22
|
+
readonly y: number;
|
|
23
|
+
readonly width: number;
|
|
24
|
+
readonly height: number;
|
|
25
|
+
/** The factor the source was multiplied by. 0 for `fill`, whose aspect ratio is not preserved. */
|
|
26
|
+
readonly scale: number;
|
|
27
|
+
}
|
|
28
|
+
export declare const CONTENT_FIT_DEFAULT: ContentFit;
|
|
29
|
+
export declare const CONTENT_POSITION_DEFAULT = "center";
|
|
30
|
+
export declare const CACHE_POLICY_DEFAULT: CachePolicy;
|
|
31
|
+
export declare const TRANSITION_DURATION_DEFAULT = 200;
|
|
32
|
+
/** The named anchors, as fractions of the free space. Twin of the Kotlin/Swift tables. */
|
|
33
|
+
export declare const POSITION_ANCHORS: {
|
|
34
|
+
readonly [name: string]: {
|
|
35
|
+
readonly x: number;
|
|
36
|
+
readonly y: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
/** Unknown word folds to `cover` — an image is never not drawn because a token was misspelled. */
|
|
40
|
+
export declare function resolveContentFit(fit: string | null | undefined): ContentFit;
|
|
41
|
+
/**
|
|
42
|
+
* `contentPosition` → the anchor fractions the drawn rect is placed at. A named anchor, or an
|
|
43
|
+
* `x y` pair in percentages or 0…1 fractions. Anything unparseable is `center`, because an
|
|
44
|
+
* off-screen image is a worse failure than a mis-anchored one.
|
|
45
|
+
*/
|
|
46
|
+
export declare function resolveContentPosition(position: string | null | undefined): {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* THE GEOMETRY SOLVER. Given the source and the container, what rect is drawn?
|
|
52
|
+
*
|
|
53
|
+
* A negative x/y is the crop offset `cover` needs — the same sign convention CSS
|
|
54
|
+
* `object-position` uses, so the web mapping is an identity and the two natives translate one
|
|
55
|
+
* subtraction. Any non-positive dimension yields the empty rect rather than a NaN that
|
|
56
|
+
* propagates into a layout pass.
|
|
57
|
+
*/
|
|
58
|
+
export declare function solveImageRect(fit: string | null | undefined, position: string | null | undefined, source: ImageSize, container: ImageSize): ImageRect;
|
|
59
|
+
export interface CacheResolution {
|
|
60
|
+
readonly policy: CachePolicy;
|
|
61
|
+
readonly memory: boolean;
|
|
62
|
+
readonly disk: boolean;
|
|
63
|
+
/** `none` means REVALIDATE — the bytes still ride the content plane, they are never read back. */
|
|
64
|
+
readonly revalidate: boolean;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The cache-policy ladder. `cachePolicy` wins when it names one of the four words; otherwise
|
|
68
|
+
* the legacy binary `cache` decides, so every app written against `cache="none"` keeps its
|
|
69
|
+
* behaviour byte for byte. An unrecognised `cachePolicy` falls through to the legacy read
|
|
70
|
+
* rather than disabling caching, because a typo must never turn a feed into a download loop.
|
|
71
|
+
*/
|
|
72
|
+
export declare function resolveCachePolicy(cachePolicy: string | null | undefined, cache?: string | null): CacheResolution;
|
|
73
|
+
/** What `on:load` reports, given where the bytes were actually found. */
|
|
74
|
+
export declare function cacheTypeFor(policy: CacheResolution, found: {
|
|
75
|
+
memory?: boolean;
|
|
76
|
+
disk?: boolean;
|
|
77
|
+
}): CacheType;
|
|
78
|
+
export interface TransitionResolution {
|
|
79
|
+
readonly duration: number;
|
|
80
|
+
readonly effect: TransitionEffect;
|
|
81
|
+
}
|
|
82
|
+
/** `transition` accepts a number of ms, a numeric string, an effect word, or `{duration,effect}`. */
|
|
83
|
+
export type TransitionSpec = number | string | null | undefined | {
|
|
84
|
+
duration?: unknown;
|
|
85
|
+
effect?: unknown;
|
|
86
|
+
};
|
|
87
|
+
export declare function resolveTransition(spec: TransitionSpec): TransitionResolution;
|
|
88
|
+
/**
|
|
89
|
+
* THE RULE THAT MAKES A FAST APP LOOK FAST: an image already decoded in memory appears in the
|
|
90
|
+
* same frame, with no fade. Fading in something that was instantly available is the tell that
|
|
91
|
+
* an app is doing theatre instead of work.
|
|
92
|
+
*/
|
|
93
|
+
export declare function shouldTransition(transition: TransitionResolution, cacheType: CacheType): boolean;
|
|
94
|
+
export interface DecodeSize {
|
|
95
|
+
readonly width: number;
|
|
96
|
+
readonly height: number;
|
|
97
|
+
readonly downscaled: boolean;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* `allowDownscaling` — decode at display size, the single biggest memory win in list-heavy
|
|
101
|
+
* apps. A 4000 px hero in a 48 pt avatar decodes at 96 px on a @2x screen: 64 KB instead of
|
|
102
|
+
* 64 MB. Never upscales (a factor above 1 is clamped), and an unknown display size decodes at
|
|
103
|
+
* source rather than guessing.
|
|
104
|
+
*/
|
|
105
|
+
export declare function resolveDecodeSize(args: {
|
|
106
|
+
fit?: string | null;
|
|
107
|
+
source: ImageSize;
|
|
108
|
+
display: ImageSize;
|
|
109
|
+
scale?: number;
|
|
110
|
+
allowDownscaling?: boolean;
|
|
111
|
+
}): DecodeSize;
|
|
112
|
+
export type PlaceholderKind = "none" | "blurhash" | "thumbhash" | "color" | "asset";
|
|
113
|
+
export interface PlaceholderResolution {
|
|
114
|
+
readonly kind: PlaceholderKind;
|
|
115
|
+
readonly value: string;
|
|
116
|
+
}
|
|
117
|
+
/** The semantic colour words `placeholder` may name. Hexes and `rgb(a)()` are recognised by shape. */
|
|
118
|
+
export declare const PLACEHOLDER_COLOR_TOKENS: readonly string[];
|
|
119
|
+
/** A blurhash carries its own component count, so the length check is exact — not a heuristic. */
|
|
120
|
+
export declare function isBlurhash(text: string): boolean;
|
|
121
|
+
/** Byte length of a well-formed base64 payload, or -1. Used to tell a thumbhash from an asset name. */
|
|
122
|
+
export declare function base64ByteLength(text: string): number;
|
|
123
|
+
/**
|
|
124
|
+
* `placeholder` is one attribute carrying four different things, so the classification has to
|
|
125
|
+
* be deterministic rather than clever: an explicit `blurhash:` / `thumbhash:` prefix always
|
|
126
|
+
* wins, then colour by shape, then a blurhash by its self-describing length, then a thumbhash
|
|
127
|
+
* by being well-formed base64 of at least the 5-byte header, and an asset name otherwise.
|
|
128
|
+
*/
|
|
129
|
+
export declare function classifyPlaceholder(value: string | null | undefined): PlaceholderResolution;
|
|
130
|
+
export interface RecyclingResolution {
|
|
131
|
+
readonly key: string;
|
|
132
|
+
readonly clear: boolean;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* `recyclingKey` — the fix for the bug every list in every app has: row A shows image 1, the
|
|
136
|
+
* row is reused for item 47, and image 1 stays on screen under item 47's text until the new
|
|
137
|
+
* bytes land. The identity ladder is author key → the list's row key (set automatically, so
|
|
138
|
+
* the correct behaviour is the default) → src → asset.
|
|
139
|
+
*/
|
|
140
|
+
export declare function resolveRecycling(args: {
|
|
141
|
+
recyclingKey?: string | null;
|
|
142
|
+
rowKey?: string | null;
|
|
143
|
+
src?: string | null;
|
|
144
|
+
asset?: string | null;
|
|
145
|
+
previousKey?: string | null;
|
|
146
|
+
}): RecyclingResolution;
|
|
147
|
+
export interface DecodedPixels {
|
|
148
|
+
readonly width: number;
|
|
149
|
+
readonly height: number;
|
|
150
|
+
readonly rgba: Uint8ClampedArray;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Decode a BlurHash to RGBA at an arbitrary size. Returns null for a malformed hash rather
|
|
154
|
+
* than throwing: a bad placeholder must degrade to no placeholder, never to a crashed row.
|
|
155
|
+
*/
|
|
156
|
+
export declare function decodeBlurhash(hash: string, width: number, height: number, punch?: number): DecodedPixels | null;
|
|
157
|
+
/**
|
|
158
|
+
* Decode a ThumbHash to RGBA. Unlike a blurhash the size is not the caller's choice — the hash
|
|
159
|
+
* carries its own aspect ratio and the decode is defined at ≤32 px on the long edge, which is
|
|
160
|
+
* exactly why it is worth the extra bytes over a blurhash: the placeholder has the right shape.
|
|
161
|
+
* `hash` is the base64 transport form (with or without the `thumbhash:` prefix).
|
|
162
|
+
*/
|
|
163
|
+
export declare function decodeThumbhash(hash: string): DecodedPixels | null;
|
|
164
|
+
/** Decode whatever kind of hash `placeholder` turned out to be, at the size the caller wants. */
|
|
165
|
+
export declare function decodePlaceholder(placeholder: PlaceholderResolution, width?: number, height?: number): DecodedPixels | null;
|
|
166
|
+
/** `priority` — unknown words are `normal`, never a silent demotion to `low`. */
|
|
167
|
+
export declare function resolveImagePriority(priority: string | null | undefined): ImagePriority;
|
|
168
|
+
/**
|
|
169
|
+
* One candidate of a `sources=` list: a URL and the intrinsic width of the pixels behind it.
|
|
170
|
+
*
|
|
171
|
+
* THE VALUE SYNTAX IS NOT NEW. `sources` is the comma separated `key:value` list the readers
|
|
172
|
+
* already parse, the one `validate=` rides in forms.ts:560-563 (split on `,`, then the FIRST
|
|
173
|
+
* `:` splits the key from its argument). The key here is the intrinsic WIDTH and the value is
|
|
174
|
+
* the URL, in that order, precisely because the split is on the first colon and every http URL
|
|
175
|
+
* contains one: width first is the only order that needs no escaping rule.
|
|
176
|
+
*
|
|
177
|
+
* sources="400:https://cdn.example/hero-400.jpg, 800:https://cdn.example/hero-800.jpg"
|
|
178
|
+
*
|
|
179
|
+
* A WIDTH LIST, NEVER A DENSITY LIST. HTML carries both and the two mean different things in the
|
|
180
|
+
* same attribute, which is most of why `srcset` is hard to read. A width list is the strictly
|
|
181
|
+
* richer one: a density is `box x scale`, which every lane already computes, while a width
|
|
182
|
+
* cannot be recovered from a density without knowing the box. So the platform carries one
|
|
183
|
+
* contract, and it is intrinsic width in pixels.
|
|
184
|
+
*/
|
|
185
|
+
export interface ImageSourceCandidate {
|
|
186
|
+
readonly url: string;
|
|
187
|
+
readonly width: number;
|
|
188
|
+
}
|
|
189
|
+
/** At most this many candidates are read from one list. A longer list is an authoring mistake,
|
|
190
|
+
* and an unbounded loop over an interpolated attribute is a denial of service surface. */
|
|
191
|
+
export declare const IMAGE_SOURCES_MAX = 16;
|
|
192
|
+
/**
|
|
193
|
+
* Parse `sources=` into candidates, ascending by width.
|
|
194
|
+
*
|
|
195
|
+
* Everything unreadable is DROPPED rather than refused: a malformed entry must not cost the
|
|
196
|
+
* author the image, because `src` is still there to paint. A list that resolves to nothing is
|
|
197
|
+
* the same as no list at all.
|
|
198
|
+
*/
|
|
199
|
+
export declare function parseImageSources(raw: string | null | undefined): ImageSourceCandidate[];
|
|
200
|
+
/**
|
|
201
|
+
* The candidate the two native lanes fetch: the NARROWEST one at least `boxWidth x scale` wide,
|
|
202
|
+
* the widest when none reaches it, and `fallback` (the author's `src`) when there is no list.
|
|
203
|
+
*
|
|
204
|
+
* `allow-downscaling="false"` takes the widest candidate and the full decode beside it. The
|
|
205
|
+
* attribute means one thing on all three lanes — do not settle for fewer pixels than the file
|
|
206
|
+
* holds — and on a lane that chooses its source that has to include the choice, or the words
|
|
207
|
+
* would disagree with themselves.
|
|
208
|
+
*
|
|
209
|
+
* AN UNMEASURED BOX FALLS BACK rather than guessing. A box of zero (or a scale of zero) is a
|
|
210
|
+
* layout that has not happened yet, and picking the widest there would download the hero to
|
|
211
|
+
* measure it; picking the narrowest would paint a blurry one. `src` is what the author already
|
|
212
|
+
* chose for that case, which is the whole reason it stays the fallback.
|
|
213
|
+
*/
|
|
214
|
+
export declare function pickImageSource(candidates: readonly ImageSourceCandidate[], boxWidth: number, scale: number, fallback: string | null | undefined, allowDownscaling?: boolean): string;
|
|
215
|
+
/**
|
|
216
|
+
* The `srcset` the WEB emits: the same candidates in the `w` descriptor form the browser reads.
|
|
217
|
+
* Empty for an empty list, and the adapter writes no attribute at all in that case.
|
|
218
|
+
*/
|
|
219
|
+
export declare function imageSrcsetValue(candidates: readonly ImageSourceCandidate[]): string;
|
|
220
|
+
/**
|
|
221
|
+
* The `sizes` hint beside it. The adapter knows the layout width only once the element has been
|
|
222
|
+
* laid out, so a measured box is reported in CSS pixels and an unmeasured one says `auto`, which
|
|
223
|
+
* is the HTML spelling of "use this element's own layout width" and the honest answer for a box
|
|
224
|
+
* nobody has measured. Never `100vw`: a guess that is wrong for every thumbnail on the page.
|
|
225
|
+
*/
|
|
226
|
+
export declare function imageSizesValue(clientWidth: number): string;
|
|
227
|
+
/** The `on:load` payload, assembled in one place so all three renderers report the same shape. */
|
|
228
|
+
export interface ImageLoadPayload {
|
|
229
|
+
readonly width: number;
|
|
230
|
+
readonly height: number;
|
|
231
|
+
readonly mediaType: string;
|
|
232
|
+
readonly cacheType: CacheType;
|
|
233
|
+
/** The URL whose bytes were PAINTED, which is not the authored `src` once a list resolves.
|
|
234
|
+
* The web reports `currentSrc` (the browser's own name for the candidate it chose) and the
|
|
235
|
+
* two natives report the candidate the ladder above picked. */
|
|
236
|
+
readonly source: string;
|
|
237
|
+
}
|
|
238
|
+
/** Map the sniffed container to the media type `on:load` reports. Unknown bytes stay unknown. */
|
|
239
|
+
export declare function imageMediaType(extensionOrType: string | null | undefined): string;
|
|
240
|
+
//# sourceMappingURL=image-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-core.d.ts","sourceRoot":"","sources":["../src/image-core.ts"],"names":[],"mappings":"AAsBA,6FAA6F;AAC7F,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;AAC7E,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EAAsD,CAAC;AAErG,uGAAuG;AACvG,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC;AACpE,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAA6C,CAAC;AAE/F,mGAAmG;AACnG,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD,8FAA8F;AAC9F,M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