@supersoniks/concorde 4.9.98-visual-stack.1 → 5.0.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 +17 -34
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +311 -293
- package/concorde-core.es.js +5195 -5129
- package/dist/concorde-core.bundle.js +311 -293
- package/dist/concorde-core.es.js +5195 -5129
- package/dist/docs-mock-api-sw.js +5 -1
- package/dist/docs-mock-api-sw.js.map +2 -2
- package/package.json +384 -1826
- package/public/docs-mock-api-sw.js +5 -1
- package/public/docs-mock-api-sw.js.map +2 -2
- package/scripts/post-build.mjs +10 -116
- package/scripts/pre-build.mjs +36 -119
- package/scripts/pre-publish.mjs +54 -76
- package/src/core/components/functional/jsonata/jsonata.md +2 -4
- package/src/core/components/functional/sdui/sdui.md +2 -2
- package/src/core/components/functional/sdui/sdui.ts +29 -40
- package/src/core/components/ui/button/button.ts +1 -2
- package/src/core/components/ui/form/checkbox/checkbox.md +1 -1
- package/src/core/components/ui/form/checkbox/checkbox.ts +4 -20
- package/src/core/components/ui/form/input/input.ts +7 -13
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +14 -118
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +419 -187
- package/src/core/components/ui/form/radio/radio.ts +1 -1
- package/src/core/components/ui/form/select/select.ts +3 -6
- package/src/core/components/ui/form/textarea/textarea.ts +1 -2
- package/src/core/components/ui/pop/pop.ts +9 -0
- package/src/core/components/ui/toast/render-content.ts +13 -0
- package/src/core/components/ui/toast/toast-item.ts +40 -12
- package/src/core/components/ui/toast/toast.ts +54 -14
- package/src/core/components/ui/toast/types.ts +14 -2
- package/src/core/decorators/subscriber/derive.ts +3 -3
- package/src/core/mixins/Fetcher.ts +1 -1
- package/src/core/mixins/FormCheckable.ts +1 -8
- package/src/core/mixins/FormElement.ts +74 -76
- package/src/core/utils/HTML.ts +74 -107
- package/src/core/utils/PublisherProxy.ts +6 -29
- package/src/core/utils/jsonataHelpers.ts +0 -36
- package/src/docs/_core-concept/dataFlow.md +1 -3
- package/src/docs/_getting-started/create-a-component.md +1 -1
- package/src/docs/_misc/formelement-subscriber-removal.md +115 -0
- package/src/docs/_misc/html-integration.md +2 -0
- package/src/docs/components/docs-demo-sources.ts +75 -377
- package/src/docs/docs.ts +1 -9
- package/src/docs/example/docs-input-autocomplete-demos.ts +110 -0
- package/src/docs/mock-api/router.ts +17 -1
- package/src/docs/navigation/navigation.ts +4 -25
- package/src/docs/search/docs-search.json +864 -2584
- package/src/tsconfig.json +313 -517
- package/src/tsconfig.tsbuildinfo +1 -1
- package/vite/config.js +30 -42
- package/vite.config.mts +12 -51
- package/dist/concorde-3d.bundle.js +0 -3960
- package/dist/concorde-3d.es.js +0 -33433
- package/dist/concorde-hugging-face-infer.bundle.js +0 -32
- package/dist/concorde-hugging-face-infer.es.js +0 -2952
- package/dist/concorde-shader.bundle.js +0 -116
- package/dist/concorde-shader.es.js +0 -8353
- package/dist/concorde-webgpu.bundle.js +0 -307
- package/dist/concorde-webgpu.es.js +0 -8627
- package/dist/docs/hf-samples/beach.jpg +0 -0
- package/dist/docs/hf-samples/cats.jpg +0 -0
- package/dist/docs/hf-samples/corgi.jpg +0 -0
- package/dist/docs/hf-samples/portrait.jpg +0 -0
- package/dist/docs/hf-samples/scene.jpg +0 -0
- package/dist/docs/hf-samples/singer.jpg +0 -0
- package/dist/docs/shader-samples/color.jpg +0 -0
- package/dist/docs/shader-samples/depth.png +0 -0
- package/dist/docs/shader-samples/impact.jpg +0 -0
- package/dist/docs/shader-samples/video.webm +0 -0
- package/dist/js/addons/3d.js +0 -6
- package/dist/js/addons/3d.js.map +0 -1
- package/dist/js/addons/hugging-face-infer.js +0 -8
- package/dist/js/addons/hugging-face-infer.js.map +0 -1
- package/dist/js/addons/shader.js +0 -6
- package/dist/js/addons/shader.js.map +0 -1
- package/dist/js/addons/webgpu.js +0 -7
- package/dist/js/addons/webgpu.js.map +0 -1
- package/dist/js/components.js +0 -12
- package/dist/js/components.js.map +0 -1
- package/dist/js/concorde-loaded.js +0 -5
- package/dist/js/concorde-loaded.js.map +0 -1
- package/dist/js/core/_types/endpoint.js +0 -5
- package/dist/js/core/_types/endpoint.js.map +0 -1
- package/dist/js/core/_types/key.js +0 -2
- package/dist/js/core/_types/key.js.map +0 -1
- package/dist/js/core/_types/types.js +0 -3
- package/dist/js/core/_types/types.js.map +0 -1
- package/dist/js/core/components/functional/3d/3d.js +0 -249
- package/dist/js/core/components/functional/3d/3d.js.map +0 -1
- package/dist/js/core/components/functional/3d/asset.js +0 -20
- package/dist/js/core/components/functional/3d/asset.js.map +0 -1
- package/dist/js/core/components/functional/3d/boot.js +0 -47
- package/dist/js/core/components/functional/3d/boot.js.map +0 -1
- package/dist/js/core/components/functional/3d/constants.js +0 -91
- package/dist/js/core/components/functional/3d/constants.js.map +0 -1
- package/dist/js/core/components/functional/3d/demo-content.js +0 -38
- package/dist/js/core/components/functional/3d/demo-content.js.map +0 -1
- package/dist/js/core/components/functional/3d/ensure.js +0 -76
- package/dist/js/core/components/functional/3d/ensure.js.map +0 -1
- package/dist/js/core/components/functional/3d/form-bind.js +0 -25
- package/dist/js/core/components/functional/3d/form-bind.js.map +0 -1
- package/dist/js/core/components/functional/3d/form-fields.js +0 -76
- package/dist/js/core/components/functional/3d/form-fields.js.map +0 -1
- package/dist/js/core/components/functional/3d/form-params.js +0 -69
- package/dist/js/core/components/functional/3d/form-params.js.map +0 -1
- package/dist/js/core/components/functional/3d/frame-capture.js +0 -108
- package/dist/js/core/components/functional/3d/frame-capture.js.map +0 -1
- package/dist/js/core/components/functional/3d/frame-source.js +0 -22
- package/dist/js/core/components/functional/3d/frame-source.js.map +0 -1
- package/dist/js/core/components/functional/3d/gl.js +0 -34
- package/dist/js/core/components/functional/3d/gl.js.map +0 -1
- package/dist/js/core/components/functional/3d/life.js +0 -56
- package/dist/js/core/components/functional/3d/life.js.map +0 -1
- package/dist/js/core/components/functional/3d/load.js +0 -109
- package/dist/js/core/components/functional/3d/load.js.map +0 -1
- package/dist/js/core/components/functional/3d/ops.js +0 -78
- package/dist/js/core/components/functional/3d/ops.js.map +0 -1
- package/dist/js/core/components/functional/3d/opts.js +0 -2
- package/dist/js/core/components/functional/3d/opts.js.map +0 -1
- package/dist/js/core/components/functional/3d/orbit.js +0 -136
- package/dist/js/core/components/functional/3d/orbit.js.map +0 -1
- package/dist/js/core/components/functional/3d/out-publish.js +0 -104
- package/dist/js/core/components/functional/3d/out-publish.js.map +0 -1
- package/dist/js/core/components/functional/3d/parse.js +0 -95
- package/dist/js/core/components/functional/3d/parse.js.map +0 -1
- package/dist/js/core/components/functional/3d/pick.js +0 -62
- package/dist/js/core/components/functional/3d/pick.js.map +0 -1
- package/dist/js/core/components/functional/3d/playback.js +0 -61
- package/dist/js/core/components/functional/3d/playback.js.map +0 -1
- package/dist/js/core/components/functional/3d/pointer.js +0 -58
- package/dist/js/core/components/functional/3d/pointer.js.map +0 -1
- package/dist/js/core/components/functional/3d/post-bind.js +0 -207
- package/dist/js/core/components/functional/3d/post-bind.js.map +0 -1
- package/dist/js/core/components/functional/3d/post-channels.js +0 -39
- package/dist/js/core/components/functional/3d/post-channels.js.map +0 -1
- package/dist/js/core/components/functional/3d/post-fx.js +0 -495
- package/dist/js/core/components/functional/3d/post-fx.js.map +0 -1
- package/dist/js/core/components/functional/3d/props.js +0 -247
- package/dist/js/core/components/functional/3d/props.js.map +0 -1
- package/dist/js/core/components/functional/3d/publisher-listen.js +0 -6
- package/dist/js/core/components/functional/3d/publisher-listen.js.map +0 -1
- package/dist/js/core/components/functional/3d/reload.js +0 -65
- package/dist/js/core/components/functional/3d/reload.js.map +0 -1
- package/dist/js/core/components/functional/3d/runtime.js +0 -193
- package/dist/js/core/components/functional/3d/runtime.js.map +0 -1
- package/dist/js/core/components/functional/3d/scene-runtime.js +0 -6
- package/dist/js/core/components/functional/3d/scene-runtime.js.map +0 -1
- package/dist/js/core/components/functional/3d/snapshot.js +0 -47
- package/dist/js/core/components/functional/3d/snapshot.js.map +0 -1
- package/dist/js/core/components/functional/3d/styles.js +0 -38
- package/dist/js/core/components/functional/3d/styles.js.map +0 -1
- package/dist/js/core/components/functional/3d/tune.js +0 -63
- package/dist/js/core/components/functional/3d/tune.js.map +0 -1
- package/dist/js/core/components/functional/3d/types.js +0 -8
- package/dist/js/core/components/functional/3d/types.js.map +0 -1
- package/dist/js/core/components/functional/3d/updated.js +0 -70
- package/dist/js/core/components/functional/3d/updated.js.map +0 -1
- package/dist/js/core/components/functional/3d/view.js +0 -40
- package/dist/js/core/components/functional/3d/view.js.map +0 -1
- package/dist/js/core/components/functional/3d/wire.js +0 -34
- package/dist/js/core/components/functional/3d/wire.js.map +0 -1
- package/dist/js/core/components/functional/date/date.js +0 -272
- package/dist/js/core/components/functional/date/date.js.map +0 -1
- package/dist/js/core/components/functional/example/example.js +0 -44
- package/dist/js/core/components/functional/example/example.js.map +0 -1
- package/dist/js/core/components/functional/fetch/fetch.js +0 -79
- package/dist/js/core/components/functional/fetch/fetch.js.map +0 -1
- package/dist/js/core/components/functional/functional.js +0 -18
- package/dist/js/core/components/functional/functional.js.map +0 -1
- package/dist/js/core/components/functional/if/if.js +0 -39
- package/dist/js/core/components/functional/if/if.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-cache.js +0 -183
- package/dist/js/core/components/functional/infer/hugging-face/hf-cache.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-config.js +0 -50
- package/dist/js/core/components/functional/infer/hugging-face/hf-config.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-controller.js +0 -460
- package/dist/js/core/components/functional/infer/hugging-face/hf-controller.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-engine.js +0 -116
- package/dist/js/core/components/functional/infer/hugging-face/hf-engine.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-input.js +0 -170
- package/dist/js/core/components/functional/infer/hugging-face/hf-input.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-protocol.js +0 -2
- package/dist/js/core/components/functional/infer/hugging-face/hf-protocol.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-registry.js +0 -367
- package/dist/js/core/components/functional/infer/hugging-face/hf-registry.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-schema.js +0 -288
- package/dist/js/core/components/functional/infer/hugging-face/hf-schema.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hf-worker-runtime.js +0 -309
- package/dist/js/core/components/functional/infer/hugging-face/hf-worker-runtime.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face-infer.js +0 -213
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face-infer.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face.js +0 -76
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face.js.map +0 -1
- package/dist/js/core/components/functional/infer/hugging-face/types.js +0 -62
- package/dist/js/core/components/functional/infer/hugging-face/types.js.map +0 -1
- package/dist/js/core/components/functional/jsonata/jsonata.js +0 -119
- package/dist/js/core/components/functional/jsonata/jsonata.js.map +0 -1
- package/dist/js/core/components/functional/list/list.js +0 -341
- package/dist/js/core/components/functional/list/list.js.map +0 -1
- package/dist/js/core/components/functional/mix/mix.js +0 -103
- package/dist/js/core/components/functional/mix/mix.js.map +0 -1
- package/dist/js/core/components/functional/queue/queue.js +0 -450
- package/dist/js/core/components/functional/queue/queue.js.map +0 -1
- package/dist/js/core/components/functional/router/redirect.js +0 -54
- package/dist/js/core/components/functional/router/redirect.js.map +0 -1
- package/dist/js/core/components/functional/router/router.js +0 -179
- package/dist/js/core/components/functional/router/router.js.map +0 -1
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -216
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +0 -1
- package/dist/js/core/components/functional/sdui/default-library.json +0 -108
- package/dist/js/core/components/functional/sdui/sdui-utils.js +0 -64
- package/dist/js/core/components/functional/sdui/sdui-utils.js.map +0 -1
- package/dist/js/core/components/functional/sdui/sdui.js +0 -271
- package/dist/js/core/components/functional/sdui/sdui.js.map +0 -1
- package/dist/js/core/components/functional/sdui/types.js +0 -2
- package/dist/js/core/components/functional/sdui/types.js.map +0 -1
- package/dist/js/core/components/functional/shader/gl-runtime.js +0 -852
- package/dist/js/core/components/functional/shader/gl-runtime.js.map +0 -1
- package/dist/js/core/components/functional/shader/shader.js +0 -1739
- package/dist/js/core/components/functional/shader/shader.js.map +0 -1
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js +0 -82
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js.map +0 -1
- package/dist/js/core/components/functional/shader/types.js +0 -230
- package/dist/js/core/components/functional/shader/types.js.map +0 -1
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +0 -22
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +0 -1
- package/dist/js/core/components/functional/states/states.js +0 -172
- package/dist/js/core/components/functional/states/states.js.map +0 -1
- package/dist/js/core/components/functional/submit/submit.js +0 -284
- package/dist/js/core/components/functional/submit/submit.js.map +0 -1
- package/dist/js/core/components/functional/subscriber/subscriber.js +0 -39
- package/dist/js/core/components/functional/subscriber/subscriber.js.map +0 -1
- package/dist/js/core/components/functional/translation/translation.js +0 -28
- package/dist/js/core/components/functional/translation/translation.js.map +0 -1
- package/dist/js/core/components/functional/value/value.js +0 -28
- package/dist/js/core/components/functional/value/value.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/canvas2d-fallback.js +0 -117
- package/dist/js/core/components/functional/webgpu/canvas2d-fallback.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/form-bind.js +0 -92
- package/dist/js/core/components/functional/webgpu/form-bind.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/gl-fallback.js +0 -156
- package/dist/js/core/components/functional/webgpu/gl-fallback.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js +0 -407
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/helpers.js +0 -50
- package/dist/js/core/components/functional/webgpu/helpers.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/out-frame.js +0 -117
- package/dist/js/core/components/functional/webgpu/out-frame.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/particles-runtime.js +0 -407
- package/dist/js/core/components/functional/webgpu/particles-runtime.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/pointer.js +0 -56
- package/dist/js/core/components/functional/webgpu/pointer.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/types.js +0 -24
- package/dist/js/core/components/functional/webgpu/types.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/webgpu.js +0 -709
- package/dist/js/core/components/functional/webgpu/webgpu.js.map +0 -1
- package/dist/js/core/components/functional/webgpu/wgsl-prelude.js +0 -77
- package/dist/js/core/components/functional/webgpu/wgsl-prelude.js.map +0 -1
- package/dist/js/core/components/ui/_css/scroll.js +0 -27
- package/dist/js/core/components/ui/_css/scroll.js.map +0 -1
- package/dist/js/core/components/ui/_css/shadow.js +0 -22
- package/dist/js/core/components/ui/_css/shadow.js.map +0 -1
- package/dist/js/core/components/ui/_css/size.js +0 -36
- package/dist/js/core/components/ui/_css/size.js.map +0 -1
- package/dist/js/core/components/ui/_css/type.js +0 -92
- package/dist/js/core/components/ui/_css/type.js.map +0 -1
- package/dist/js/core/components/ui/alert/alert.js +0 -213
- package/dist/js/core/components/ui/alert/alert.js.map +0 -1
- package/dist/js/core/components/ui/alert-messages/alert-messages.js +0 -68
- package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +0 -1
- package/dist/js/core/components/ui/badge/badge.js +0 -199
- package/dist/js/core/components/ui/badge/badge.js.map +0 -1
- package/dist/js/core/components/ui/button/button.js +0 -697
- package/dist/js/core/components/ui/button/button.js.map +0 -1
- package/dist/js/core/components/ui/captcha/altchaStyles.js +0 -226
- package/dist/js/core/components/ui/captcha/altchaStyles.js.map +0 -1
- package/dist/js/core/components/ui/captcha/captcha.js +0 -167
- package/dist/js/core/components/ui/captcha/captcha.js.map +0 -1
- package/dist/js/core/components/ui/card/card-footer.js +0 -26
- package/dist/js/core/components/ui/card/card-footer.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header-descripton.js +0 -30
- package/dist/js/core/components/ui/card/card-header-descripton.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header.js +0 -79
- package/dist/js/core/components/ui/card/card-header.js.map +0 -1
- package/dist/js/core/components/ui/card/card-main.js +0 -26
- package/dist/js/core/components/ui/card/card-main.js.map +0 -1
- package/dist/js/core/components/ui/card/card.js +0 -67
- package/dist/js/core/components/ui/card/card.js.map +0 -1
- package/dist/js/core/components/ui/divider/divider.js +0 -200
- package/dist/js/core/components/ui/divider/divider.js.map +0 -1
- package/dist/js/core/components/ui/form/checkbox/checkbox.js +0 -257
- package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +0 -1
- package/dist/js/core/components/ui/form/css/form-control.js +0 -393
- package/dist/js/core/components/ui/form/css/form-control.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/fieldset.js +0 -124
- package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend-description.js +0 -38
- package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend.js +0 -130
- package/dist/js/core/components/ui/form/fieldset/legend.js.map +0 -1
- package/dist/js/core/components/ui/form/form-actions/form-actions.js +0 -47
- package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +0 -1
- package/dist/js/core/components/ui/form/form-layout/form-layout.js +0 -84
- package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +0 -1
- package/dist/js/core/components/ui/form/input/input.js +0 -316
- package/dist/js/core/components/ui/form/input/input.js.map +0 -1
- package/dist/js/core/components/ui/form/input/password-helper.js +0 -134
- package/dist/js/core/components/ui/form/input/password-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input/same-value-helper.js +0 -85
- package/dist/js/core/components/ui/form/input/same-value-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -405
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +0 -1
- package/dist/js/core/components/ui/form/radio/radio.js +0 -63
- package/dist/js/core/components/ui/form/radio/radio.js.map +0 -1
- package/dist/js/core/components/ui/form/select/select.js +0 -323
- package/dist/js/core/components/ui/form/select/select.js.map +0 -1
- package/dist/js/core/components/ui/form/switch/switch.js +0 -90
- package/dist/js/core/components/ui/form/switch/switch.js.map +0 -1
- package/dist/js/core/components/ui/form/textarea/textarea.js +0 -162
- package/dist/js/core/components/ui/form/textarea/textarea.js.map +0 -1
- package/dist/js/core/components/ui/group/group.js +0 -128
- package/dist/js/core/components/ui/group/group.js.map +0 -1
- package/dist/js/core/components/ui/icon/icon.js +0 -145
- package/dist/js/core/components/ui/icon/icon.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.js +0 -184
- package/dist/js/core/components/ui/icon/icons.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.json +0 -1
- package/dist/js/core/components/ui/image/image.js +0 -160
- package/dist/js/core/components/ui/image/image.js.map +0 -1
- package/dist/js/core/components/ui/link/link.js +0 -125
- package/dist/js/core/components/ui/link/link.js.map +0 -1
- package/dist/js/core/components/ui/loader/loader.js +0 -106
- package/dist/js/core/components/ui/loader/loader.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/fixed.js +0 -56
- package/dist/js/core/components/ui/loader/styles/fixed.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/inline.js +0 -70
- package/dist/js/core/components/ui/loader/styles/inline.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu-item.js +0 -35
- package/dist/js/core/components/ui/menu/menu-item.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu.js +0 -436
- package/dist/js/core/components/ui/menu/menu.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-actions.js +0 -44
- package/dist/js/core/components/ui/modal/modal-actions.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-close.js +0 -56
- package/dist/js/core/components/ui/modal/modal-close.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-content.js +0 -27
- package/dist/js/core/components/ui/modal/modal-content.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-subtitle.js +0 -34
- package/dist/js/core/components/ui/modal/modal-subtitle.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-title.js +0 -35
- package/dist/js/core/components/ui/modal/modal-title.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-utils.js +0 -32
- package/dist/js/core/components/ui/modal/modal-utils.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal.js +0 -568
- package/dist/js/core/components/ui/modal/modal.js.map +0 -1
- package/dist/js/core/components/ui/pop/pop.js +0 -337
- package/dist/js/core/components/ui/pop/pop.js.map +0 -1
- package/dist/js/core/components/ui/progress/progress.js +0 -164
- package/dist/js/core/components/ui/progress/progress.js.map +0 -1
- package/dist/js/core/components/ui/table/table-caption.js +0 -29
- package/dist/js/core/components/ui/table/table-caption.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tbody.js +0 -41
- package/dist/js/core/components/ui/table/table-tbody.js.map +0 -1
- package/dist/js/core/components/ui/table/table-td.js +0 -69
- package/dist/js/core/components/ui/table/table-td.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tfoot.js +0 -28
- package/dist/js/core/components/ui/table/table-tfoot.js.map +0 -1
- package/dist/js/core/components/ui/table/table-th.js +0 -80
- package/dist/js/core/components/ui/table/table-th.js.map +0 -1
- package/dist/js/core/components/ui/table/table-thead.js +0 -26
- package/dist/js/core/components/ui/table/table-thead.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tr.js +0 -67
- package/dist/js/core/components/ui/table/table-tr.js.map +0 -1
- package/dist/js/core/components/ui/table/table.js +0 -106
- package/dist/js/core/components/ui/table/table.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +0 -74
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/dark.js +0 -39
- package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/light.js +0 -32
- package/dist/js/core/components/ui/theme/theme-collection/light.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme.js +0 -150
- package/dist/js/core/components/ui/theme/theme.js.map +0 -1
- package/dist/js/core/components/ui/toast/message-subscriber.js +0 -41
- package/dist/js/core/components/ui/toast/message-subscriber.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast-item.js +0 -379
- package/dist/js/core/components/ui/toast/toast-item.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast.js +0 -269
- package/dist/js/core/components/ui/toast/toast.js.map +0 -1
- package/dist/js/core/components/ui/toast/types.js +0 -2
- package/dist/js/core/components/ui/toast/types.js.map +0 -1
- package/dist/js/core/components/ui/tooltip/tooltip.js +0 -219
- package/dist/js/core/components/ui/tooltip/tooltip.js.map +0 -1
- package/dist/js/core/components/ui/ui.js +0 -41
- package/dist/js/core/components/ui/ui.js.map +0 -1
- package/dist/js/core/core.js +0 -14
- package/dist/js/core/core.js.map +0 -1
- package/dist/js/core/decorators/Subscriber.js +0 -10
- package/dist/js/core/decorators/Subscriber.js.map +0 -1
- package/dist/js/core/decorators/api.js +0 -806
- package/dist/js/core/decorators/api.js.map +0 -1
- package/dist/js/core/decorators/lifecycle.js +0 -67
- package/dist/js/core/decorators/lifecycle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js +0 -27
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoFill.js +0 -26
- package/dist/js/core/decorators/subscriber/autoFill.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoSubscribe.js +0 -46
- package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +0 -1
- package/dist/js/core/decorators/subscriber/bind.js +0 -150
- package/dist/js/core/decorators/subscriber/bind.js.map +0 -1
- package/dist/js/core/decorators/subscriber/common.js +0 -44
- package/dist/js/core/decorators/subscriber/common.js.map +0 -1
- package/dist/js/core/decorators/subscriber/derive.js +0 -60
- package/dist/js/core/decorators/subscriber/derive.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPath.js +0 -75
- package/dist/js/core/decorators/subscriber/dynamicPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +0 -138
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +0 -1
- package/dist/js/core/decorators/subscriber/handle.js +0 -22
- package/dist/js/core/decorators/subscriber/handle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/onAssign.js +0 -199
- package/dist/js/core/decorators/subscriber/onAssign.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publish.js +0 -108
- package/dist/js/core/decorators/subscriber/publish.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publisherPath.js +0 -16
- package/dist/js/core/decorators/subscriber/publisherPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/subscribe.js +0 -20
- package/dist/js/core/decorators/subscriber/subscribe.js.map +0 -1
- package/dist/js/core/directives/DataProvider.js +0 -127
- package/dist/js/core/directives/DataProvider.js.map +0 -1
- package/dist/js/core/directives/Wording.js +0 -221
- package/dist/js/core/directives/Wording.js.map +0 -1
- package/dist/js/core/mixins/Fetcher.js +0 -325
- package/dist/js/core/mixins/Fetcher.js.map +0 -1
- package/dist/js/core/mixins/FormCheckable.js +0 -313
- package/dist/js/core/mixins/FormCheckable.js.map +0 -1
- package/dist/js/core/mixins/FormElement.js +0 -304
- package/dist/js/core/mixins/FormElement.js.map +0 -1
- package/dist/js/core/mixins/FormInput.js +0 -82
- package/dist/js/core/mixins/FormInput.js.map +0 -1
- package/dist/js/core/mixins/Subscriber.js +0 -354
- package/dist/js/core/mixins/Subscriber.js.map +0 -1
- package/dist/js/core/mixins/TemplatesContainer.js +0 -70
- package/dist/js/core/mixins/TemplatesContainer.js.map +0 -1
- package/dist/js/core/mixins/mixins.js +0 -7
- package/dist/js/core/mixins/mixins.js.map +0 -1
- package/dist/js/core/utils/AncestorAttributeObserver.js +0 -140
- package/dist/js/core/utils/AncestorAttributeObserver.js.map +0 -1
- package/dist/js/core/utils/Arrays.js +0 -141
- package/dist/js/core/utils/Arrays.js.map +0 -1
- package/dist/js/core/utils/DataBindObserver.js +0 -265
- package/dist/js/core/utils/DataBindObserver.js.map +0 -1
- package/dist/js/core/utils/Electron.js +0 -14
- package/dist/js/core/utils/Electron.js.map +0 -1
- package/dist/js/core/utils/Format.js +0 -43
- package/dist/js/core/utils/Format.js.map +0 -1
- package/dist/js/core/utils/HTML.js +0 -307
- package/dist/js/core/utils/HTML.js.map +0 -1
- package/dist/js/core/utils/LocationHandler.js +0 -143
- package/dist/js/core/utils/LocationHandler.js.map +0 -1
- package/dist/js/core/utils/Objects.js +0 -111
- package/dist/js/core/utils/Objects.js.map +0 -1
- package/dist/js/core/utils/PublisherProxy.js +0 -970
- package/dist/js/core/utils/PublisherProxy.js.map +0 -1
- package/dist/js/core/utils/SafariScrollGuard.js +0 -384
- package/dist/js/core/utils/SafariScrollGuard.js.map +0 -1
- package/dist/js/core/utils/Utils.js +0 -19
- package/dist/js/core/utils/Utils.js.map +0 -1
- package/dist/js/core/utils/aesCrypto.js +0 -98
- package/dist/js/core/utils/aesCrypto.js.map +0 -1
- package/dist/js/core/utils/api.js +0 -595
- package/dist/js/core/utils/api.js.map +0 -1
- package/dist/js/core/utils/dataProviderKey.js +0 -64
- package/dist/js/core/utils/dataProviderKey.js.map +0 -1
- package/dist/js/core/utils/derive.js +0 -246
- package/dist/js/core/utils/derive.js.map +0 -1
- package/dist/js/core/utils/endpoint.js +0 -74
- package/dist/js/core/utils/endpoint.js.map +0 -1
- package/dist/js/core/utils/jsonataHelpers.js +0 -84
- package/dist/js/core/utils/jsonataHelpers.js.map +0 -1
- package/dist/js/core/utils/jsonataRuntime.js +0 -75
- package/dist/js/core/utils/jsonataRuntime.js.map +0 -1
- package/dist/js/core/utils/mediaRef.js +0 -206
- package/dist/js/core/utils/mediaRef.js.map +0 -1
- package/dist/js/core/utils/route.js +0 -149
- package/dist/js/core/utils/route.js.map +0 -1
- package/dist/js/core/utils/similarity.js +0 -44
- package/dist/js/core/utils/similarity.js.map +0 -1
- package/dist/js/core/utils/url-pattern.js +0 -3
- package/dist/js/core/utils/url-pattern.js.map +0 -1
- package/dist/js/dataprovider.js +0 -2
- package/dist/js/dataprovider.js.map +0 -1
- package/dist/js/decorators.js +0 -43
- package/dist/js/decorators.js.map +0 -1
- package/dist/js/directives.js +0 -30
- package/dist/js/directives.js.map +0 -1
- package/dist/js/index.js +0 -8
- package/dist/js/index.js.map +0 -1
- package/dist/js/mixins.js +0 -23
- package/dist/js/mixins.js.map +0 -1
- package/dist/js/test-utils/TestUtils.js +0 -10
- package/dist/js/test-utils/TestUtils.js.map +0 -1
- package/dist/js/utils.js +0 -46
- package/dist/js/utils.js.map +0 -1
- package/dist/types/addons/3d.d.ts +0 -6
- package/dist/types/addons/3d.d.ts.map +0 -1
- package/dist/types/addons/hugging-face-infer.d.ts +0 -8
- package/dist/types/addons/hugging-face-infer.d.ts.map +0 -1
- package/dist/types/addons/shader.d.ts +0 -6
- package/dist/types/addons/shader.d.ts.map +0 -1
- package/dist/types/addons/webgpu.d.ts +0 -7
- package/dist/types/addons/webgpu.d.ts.map +0 -1
- package/dist/types/components.d.ts +0 -5
- package/dist/types/components.d.ts.map +0 -1
- package/dist/types/concorde-loaded.d.ts +0 -2
- package/dist/types/concorde-loaded.d.ts.map +0 -1
- package/dist/types/core/_types/endpoint.d.ts +0 -5
- package/dist/types/core/_types/endpoint.d.ts.map +0 -1
- package/dist/types/core/_types/key.d.ts +0 -2
- package/dist/types/core/_types/key.d.ts.map +0 -1
- package/dist/types/core/_types/types.d.ts +0 -28
- package/dist/types/core/_types/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/3d.d.ts +0 -94
- package/dist/types/core/components/functional/3d/3d.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/asset.d.ts +0 -12
- package/dist/types/core/components/functional/3d/asset.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/boot.d.ts +0 -23
- package/dist/types/core/components/functional/3d/boot.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/constants.d.ts +0 -43
- package/dist/types/core/components/functional/3d/constants.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/demo-content.d.ts +0 -10
- package/dist/types/core/components/functional/3d/demo-content.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/ensure.d.ts +0 -39
- package/dist/types/core/components/functional/3d/ensure.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/form-bind.d.ts +0 -20
- package/dist/types/core/components/functional/3d/form-bind.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/form-fields.d.ts +0 -14
- package/dist/types/core/components/functional/3d/form-fields.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/form-params.d.ts +0 -37
- package/dist/types/core/components/functional/3d/form-params.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/frame-capture.d.ts +0 -33
- package/dist/types/core/components/functional/3d/frame-capture.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/frame-source.d.ts +0 -23
- package/dist/types/core/components/functional/3d/frame-source.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/gl.d.ts +0 -4
- package/dist/types/core/components/functional/3d/gl.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/life.d.ts +0 -43
- package/dist/types/core/components/functional/3d/life.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/load.d.ts +0 -36
- package/dist/types/core/components/functional/3d/load.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/ops.d.ts +0 -48
- package/dist/types/core/components/functional/3d/ops.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/opts.d.ts +0 -16
- package/dist/types/core/components/functional/3d/opts.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/orbit.d.ts +0 -55
- package/dist/types/core/components/functional/3d/orbit.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/out-publish.d.ts +0 -48
- package/dist/types/core/components/functional/3d/out-publish.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/parse.d.ts +0 -23
- package/dist/types/core/components/functional/3d/parse.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/pick.d.ts +0 -32
- package/dist/types/core/components/functional/3d/pick.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/playback.d.ts +0 -35
- package/dist/types/core/components/functional/3d/playback.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/pointer.d.ts +0 -27
- package/dist/types/core/components/functional/3d/pointer.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/post-bind.d.ts +0 -52
- package/dist/types/core/components/functional/3d/post-bind.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/post-channels.d.ts +0 -40
- package/dist/types/core/components/functional/3d/post-channels.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/post-fx.d.ts +0 -73
- package/dist/types/core/components/functional/3d/post-fx.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/props.d.ts +0 -72
- package/dist/types/core/components/functional/3d/props.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/publisher-listen.d.ts +0 -8
- package/dist/types/core/components/functional/3d/publisher-listen.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/reload.d.ts +0 -38
- package/dist/types/core/components/functional/3d/reload.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/runtime.d.ts +0 -90
- package/dist/types/core/components/functional/3d/runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts +0 -6
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/snapshot.d.ts +0 -29
- package/dist/types/core/components/functional/3d/snapshot.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/styles.d.ts +0 -2
- package/dist/types/core/components/functional/3d/styles.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/tune.d.ts +0 -37
- package/dist/types/core/components/functional/3d/tune.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/types.d.ts +0 -149
- package/dist/types/core/components/functional/3d/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/updated.d.ts +0 -7
- package/dist/types/core/components/functional/3d/updated.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/view.d.ts +0 -25
- package/dist/types/core/components/functional/3d/view.d.ts.map +0 -1
- package/dist/types/core/components/functional/3d/wire.d.ts +0 -32
- package/dist/types/core/components/functional/3d/wire.d.ts.map +0 -1
- package/dist/types/core/components/functional/date/date.d.ts +0 -52
- package/dist/types/core/components/functional/date/date.d.ts.map +0 -1
- package/dist/types/core/components/functional/example/example.d.ts +0 -15
- package/dist/types/core/components/functional/example/example.d.ts.map +0 -1
- package/dist/types/core/components/functional/fetch/fetch.d.ts +0 -102
- package/dist/types/core/components/functional/fetch/fetch.d.ts.map +0 -1
- package/dist/types/core/components/functional/functional.d.ts +0 -18
- package/dist/types/core/components/functional/functional.d.ts.map +0 -1
- package/dist/types/core/components/functional/if/if.d.ts +0 -13
- package/dist/types/core/components/functional/if/if.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-cache.d.ts +0 -21
- package/dist/types/core/components/functional/infer/hugging-face/hf-cache.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-config.d.ts +0 -133
- package/dist/types/core/components/functional/infer/hugging-face/hf-config.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-controller.d.ts +0 -79
- package/dist/types/core/components/functional/infer/hugging-face/hf-controller.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-engine.d.ts +0 -43
- package/dist/types/core/components/functional/infer/hugging-face/hf-engine.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-input.d.ts +0 -47
- package/dist/types/core/components/functional/infer/hugging-face/hf-input.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-protocol.d.ts +0 -95
- package/dist/types/core/components/functional/infer/hugging-face/hf-protocol.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-registry.d.ts +0 -77
- package/dist/types/core/components/functional/infer/hugging-face/hf-registry.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-schema.d.ts +0 -1251
- package/dist/types/core/components/functional/infer/hugging-face/hf-schema.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hf-worker-runtime.d.ts +0 -56
- package/dist/types/core/components/functional/infer/hugging-face/hf-worker-runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face-infer.d.ts +0 -67
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face-infer.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face.d.ts +0 -116
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face.d.ts.map +0 -1
- package/dist/types/core/components/functional/infer/hugging-face/types.d.ts +0 -167
- package/dist/types/core/components/functional/infer/hugging-face/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts +0 -29
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +0 -1
- package/dist/types/core/components/functional/list/list.d.ts +0 -149
- package/dist/types/core/components/functional/list/list.d.ts.map +0 -1
- package/dist/types/core/components/functional/mix/mix.d.ts +0 -23
- package/dist/types/core/components/functional/mix/mix.d.ts.map +0 -1
- package/dist/types/core/components/functional/queue/queue.d.ts +0 -93
- package/dist/types/core/components/functional/queue/queue.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/redirect.d.ts +0 -19
- package/dist/types/core/components/functional/router/redirect.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/router.d.ts +0 -46
- package/dist/types/core/components/functional/router/router.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -59
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +0 -6
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui.d.ts +0 -148
- package/dist/types/core/components/functional/sdui/sdui.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/types.d.ts +0 -38
- package/dist/types/core/components/functional/sdui/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts +0 -122
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/shader/shader.d.ts +0 -306
- package/dist/types/core/components/functional/shader/shader.d.ts.map +0 -1
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts +0 -20
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts.map +0 -1
- package/dist/types/core/components/functional/shader/types.d.ts +0 -286
- package/dist/types/core/components/functional/shader/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -6
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +0 -1
- package/dist/types/core/components/functional/states/states.d.ts +0 -42
- package/dist/types/core/components/functional/states/states.d.ts.map +0 -1
- package/dist/types/core/components/functional/submit/submit.d.ts +0 -37
- package/dist/types/core/components/functional/submit/submit.d.ts.map +0 -1
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts +0 -13
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +0 -1
- package/dist/types/core/components/functional/translation/translation.d.ts +0 -7
- package/dist/types/core/components/functional/translation/translation.d.ts.map +0 -1
- package/dist/types/core/components/functional/value/value.d.ts +0 -8
- package/dist/types/core/components/functional/value/value.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/canvas2d-fallback.d.ts +0 -29
- package/dist/types/core/components/functional/webgpu/canvas2d-fallback.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/form-bind.d.ts +0 -43
- package/dist/types/core/components/functional/webgpu/form-bind.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts +0 -35
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts +0 -67
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/helpers.d.ts +0 -10
- package/dist/types/core/components/functional/webgpu/helpers.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/out-frame.d.ts +0 -29
- package/dist/types/core/components/functional/webgpu/out-frame.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/particles-runtime.d.ts +0 -37
- package/dist/types/core/components/functional/webgpu/particles-runtime.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/pointer.d.ts +0 -41
- package/dist/types/core/components/functional/webgpu/pointer.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/types.d.ts +0 -75
- package/dist/types/core/components/functional/webgpu/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts +0 -133
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts.map +0 -1
- package/dist/types/core/components/functional/webgpu/wgsl-prelude.d.ts +0 -8
- package/dist/types/core/components/functional/webgpu/wgsl-prelude.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/scroll.d.ts +0 -2
- package/dist/types/core/components/ui/_css/scroll.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/shadow.d.ts +0 -3
- package/dist/types/core/components/ui/_css/shadow.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/size.d.ts +0 -3
- package/dist/types/core/components/ui/_css/size.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/type.d.ts +0 -3
- package/dist/types/core/components/ui/_css/type.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert/alert.d.ts +0 -37
- package/dist/types/core/components/ui/alert/alert.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +0 -15
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +0 -1
- package/dist/types/core/components/ui/badge/badge.d.ts +0 -27
- package/dist/types/core/components/ui/badge/badge.d.ts.map +0 -1
- package/dist/types/core/components/ui/button/button.d.ts +0 -180
- package/dist/types/core/components/ui/button/button.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +0 -2
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/captcha.d.ts +0 -30
- package/dist/types/core/components/ui/captcha/captcha.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-footer.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-footer.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header.d.ts +0 -9
- package/dist/types/core/components/ui/card/card-header.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-main.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-main.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card.d.ts +0 -13
- package/dist/types/core/components/ui/card/card.d.ts.map +0 -1
- package/dist/types/core/components/ui/divider/divider.d.ts +0 -16
- package/dist/types/core/components/ui/divider/divider.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +0 -176
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/css/form-control.d.ts +0 -5
- package/dist/types/core/components/ui/form/css/form-control.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +0 -24
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +0 -6
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts +0 -17
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +0 -8
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +0 -13
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/input.d.ts +0 -123
- package/dist/types/core/components/ui/form/input/input.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/password-helper.d.ts +0 -26
- package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +0 -17
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -155
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/radio/radio.d.ts +0 -15
- package/dist/types/core/components/ui/form/radio/radio.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/select/select.d.ts +0 -59
- package/dist/types/core/components/ui/form/select/select.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/switch/switch.d.ts +0 -6
- package/dist/types/core/components/ui/form/switch/switch.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +0 -94
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +0 -1
- package/dist/types/core/components/ui/group/group.d.ts +0 -17
- package/dist/types/core/components/ui/group/group.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icon.d.ts +0 -30
- package/dist/types/core/components/ui/icon/icon.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icons.d.ts +0 -13
- package/dist/types/core/components/ui/icon/icons.d.ts.map +0 -1
- package/dist/types/core/components/ui/image/image.d.ts +0 -16
- package/dist/types/core/components/ui/image/image.d.ts.map +0 -1
- package/dist/types/core/components/ui/link/link.d.ts +0 -30
- package/dist/types/core/components/ui/link/link.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/loader.d.ts +0 -24
- package/dist/types/core/components/ui/loader/loader.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/inline.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu-item.d.ts +0 -6
- package/dist/types/core/components/ui/menu/menu-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu.d.ts +0 -52
- package/dist/types/core/components/ui/menu/menu.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-actions.d.ts +0 -9
- package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-close.d.ts +0 -11
- package/dist/types/core/components/ui/modal/modal-close.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-content.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-content.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-title.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-title.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-utils.d.ts +0 -4
- package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal.d.ts +0 -79
- package/dist/types/core/components/ui/modal/modal.d.ts.map +0 -1
- package/dist/types/core/components/ui/pop/pop.d.ts +0 -42
- package/dist/types/core/components/ui/pop/pop.d.ts.map +0 -1
- package/dist/types/core/components/ui/progress/progress.d.ts +0 -12
- package/dist/types/core/components/ui/progress/progress.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-caption.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-caption.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tbody.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tbody.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-td.d.ts +0 -13
- package/dist/types/core/components/ui/table/table-td.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tfoot.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-th.d.ts +0 -12
- package/dist/types/core/components/ui/table/table-th.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-thead.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-thead.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tr.d.ts +0 -14
- package/dist/types/core/components/ui/table/table-tr.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table.d.ts +0 -18
- package/dist/types/core/components/ui/table/table.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme.d.ts +0 -20
- package/dist/types/core/components/ui/theme/theme.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts +0 -19
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast-item.d.ts +0 -41
- package/dist/types/core/components/ui/toast/toast-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast.d.ts +0 -28
- package/dist/types/core/components/ui/toast/toast.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/types.d.ts +0 -12
- package/dist/types/core/components/ui/toast/types.d.ts.map +0 -1
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts +0 -21
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +0 -1
- package/dist/types/core/components/ui/ui.d.ts +0 -35
- package/dist/types/core/components/ui/ui.d.ts.map +0 -1
- package/dist/types/core/core.d.ts +0 -5
- package/dist/types/core/core.d.ts.map +0 -1
- package/dist/types/core/decorators/Subscriber.d.ts +0 -13
- package/dist/types/core/decorators/Subscriber.d.ts.map +0 -1
- package/dist/types/core/decorators/api.d.ts +0 -155
- package/dist/types/core/decorators/api.d.ts.map +0 -1
- package/dist/types/core/decorators/lifecycle.d.ts +0 -19
- package/dist/types/core/decorators/lifecycle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +0 -11
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoFill.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/bind.d.ts +0 -28
- package/dist/types/core/decorators/subscriber/bind.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/common.d.ts +0 -14
- package/dist/types/core/decorators/subscriber/common.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/derive.d.ts +0 -30
- package/dist/types/core/decorators/subscriber/derive.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +0 -42
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/handle.d.ts +0 -74
- package/dist/types/core/decorators/subscriber/handle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/onAssign.d.ts +0 -53
- package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publish.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/publish.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts +0 -3
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/subscribe.d.ts +0 -20
- package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +0 -1
- package/dist/types/core/directives/DataProvider.d.ts +0 -45
- package/dist/types/core/directives/DataProvider.d.ts.map +0 -1
- package/dist/types/core/directives/Wording.d.ts +0 -44
- package/dist/types/core/directives/Wording.d.ts.map +0 -1
- package/dist/types/core/mixins/Fetcher.d.ts +0 -108
- package/dist/types/core/mixins/Fetcher.d.ts.map +0 -1
- package/dist/types/core/mixins/FormCheckable.d.ts +0 -95
- package/dist/types/core/mixins/FormCheckable.d.ts.map +0 -1
- package/dist/types/core/mixins/FormElement.d.ts +0 -37
- package/dist/types/core/mixins/FormElement.d.ts.map +0 -1
- package/dist/types/core/mixins/FormInput.d.ts +0 -79
- package/dist/types/core/mixins/FormInput.d.ts.map +0 -1
- package/dist/types/core/mixins/Subscriber.d.ts +0 -38
- package/dist/types/core/mixins/Subscriber.d.ts.map +0 -1
- package/dist/types/core/mixins/TemplatesContainer.d.ts +0 -14
- package/dist/types/core/mixins/TemplatesContainer.d.ts.map +0 -1
- package/dist/types/core/mixins/mixins.d.ts +0 -7
- package/dist/types/core/mixins/mixins.d.ts.map +0 -1
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts +0 -38
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Arrays.d.ts +0 -98
- package/dist/types/core/utils/Arrays.d.ts.map +0 -1
- package/dist/types/core/utils/DataBindObserver.d.ts +0 -84
- package/dist/types/core/utils/DataBindObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Electron.d.ts +0 -8
- package/dist/types/core/utils/Electron.d.ts.map +0 -1
- package/dist/types/core/utils/Format.d.ts +0 -13
- package/dist/types/core/utils/Format.d.ts.map +0 -1
- package/dist/types/core/utils/HTML.d.ts +0 -59
- package/dist/types/core/utils/HTML.d.ts.map +0 -1
- package/dist/types/core/utils/LocationHandler.d.ts +0 -48
- package/dist/types/core/utils/LocationHandler.d.ts.map +0 -1
- package/dist/types/core/utils/Objects.d.ts +0 -31
- package/dist/types/core/utils/Objects.d.ts.map +0 -1
- package/dist/types/core/utils/PublisherProxy.d.ts +0 -230
- package/dist/types/core/utils/PublisherProxy.d.ts.map +0 -1
- package/dist/types/core/utils/SafariScrollGuard.d.ts +0 -36
- package/dist/types/core/utils/SafariScrollGuard.d.ts.map +0 -1
- package/dist/types/core/utils/Utils.d.ts +0 -6
- package/dist/types/core/utils/Utils.d.ts.map +0 -1
- package/dist/types/core/utils/aesCrypto.d.ts +0 -53
- package/dist/types/core/utils/aesCrypto.d.ts.map +0 -1
- package/dist/types/core/utils/api.d.ts +0 -173
- package/dist/types/core/utils/api.d.ts.map +0 -1
- package/dist/types/core/utils/dataProviderKey.d.ts +0 -56
- package/dist/types/core/utils/dataProviderKey.d.ts.map +0 -1
- package/dist/types/core/utils/derive.d.ts +0 -40
- package/dist/types/core/utils/derive.d.ts.map +0 -1
- package/dist/types/core/utils/endpoint.d.ts +0 -37
- package/dist/types/core/utils/endpoint.d.ts.map +0 -1
- package/dist/types/core/utils/jsonataHelpers.d.ts +0 -15
- package/dist/types/core/utils/jsonataHelpers.d.ts.map +0 -1
- package/dist/types/core/utils/jsonataRuntime.d.ts +0 -13
- package/dist/types/core/utils/jsonataRuntime.d.ts.map +0 -1
- package/dist/types/core/utils/mediaRef.d.ts +0 -68
- package/dist/types/core/utils/mediaRef.d.ts.map +0 -1
- package/dist/types/core/utils/route.d.ts +0 -41
- package/dist/types/core/utils/route.d.ts.map +0 -1
- package/dist/types/core/utils/similarity.d.ts +0 -15
- package/dist/types/core/utils/similarity.d.ts.map +0 -1
- package/dist/types/core/utils/url-pattern.d.ts +0 -3
- package/dist/types/core/utils/url-pattern.d.ts.map +0 -1
- package/dist/types/dataprovider.d.ts +0 -2
- package/dist/types/dataprovider.d.ts.map +0 -1
- package/dist/types/decorators.d.ts +0 -30
- package/dist/types/decorators.d.ts.map +0 -1
- package/dist/types/directives.d.ts +0 -21
- package/dist/types/directives.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/mixins.d.ts +0 -204
- package/dist/types/mixins.d.ts.map +0 -1
- package/dist/types/test-utils/TestUtils.d.ts +0 -4
- package/dist/types/test-utils/TestUtils.d.ts.map +0 -1
- package/dist/types/utils.d.ts +0 -20
- package/dist/types/utils.d.ts.map +0 -1
- package/public/docs/hf-samples/beach.jpg +0 -0
- package/public/docs/hf-samples/cats.jpg +0 -0
- package/public/docs/hf-samples/corgi.jpg +0 -0
- package/public/docs/hf-samples/portrait.jpg +0 -0
- package/public/docs/hf-samples/scene.jpg +0 -0
- package/public/docs/hf-samples/singer.jpg +0 -0
- package/public/docs/shader-samples/color.jpg +0 -0
- package/public/docs/shader-samples/depth.png +0 -0
- package/public/docs/shader-samples/impact.jpg +0 -0
- package/public/docs/shader-samples/video.webm +0 -0
- package/scripts/build-addons.mjs +0 -26
- package/scripts/gen-shader-depth.mjs +0 -85
- package/scripts/gen-shader-harris-video.mjs +0 -17
- package/scripts/gen-shader-harris-video.py +0 -84
- package/scripts/hf-vendor.mjs +0 -154
- package/src/addons/3d.ts +0 -5
- package/src/addons/hugging-face-infer.ts +0 -11
- package/src/addons/shader.ts +0 -5
- package/src/addons/webgpu.ts +0 -15
- package/src/core/components/functional/3d/3d.md +0 -161
- package/src/core/components/functional/3d/3d.spec.ts +0 -213
- package/src/core/components/functional/3d/3d.ts +0 -284
- package/src/core/components/functional/3d/asset.ts +0 -22
- package/src/core/components/functional/3d/boot.ts +0 -77
- package/src/core/components/functional/3d/constants.ts +0 -101
- package/src/core/components/functional/3d/demo-content.ts +0 -45
- package/src/core/components/functional/3d/ensure.ts +0 -107
- package/src/core/components/functional/3d/form-bind.ts +0 -40
- package/src/core/components/functional/3d/form-fields.ts +0 -80
- package/src/core/components/functional/3d/form-params.ts +0 -99
- package/src/core/components/functional/3d/frame-capture.spec.ts +0 -72
- package/src/core/components/functional/3d/frame-capture.ts +0 -135
- package/src/core/components/functional/3d/frame-source.ts +0 -30
- package/src/core/components/functional/3d/gl.ts +0 -35
- package/src/core/components/functional/3d/life.ts +0 -104
- package/src/core/components/functional/3d/load.ts +0 -129
- package/src/core/components/functional/3d/ops.ts +0 -126
- package/src/core/components/functional/3d/opts.ts +0 -16
- package/src/core/components/functional/3d/orbit.ts +0 -185
- package/src/core/components/functional/3d/out-publish.ts +0 -141
- package/src/core/components/functional/3d/parse.ts +0 -95
- package/src/core/components/functional/3d/pick.ts +0 -92
- package/src/core/components/functional/3d/playback.ts +0 -82
- package/src/core/components/functional/3d/pointer.ts +0 -79
- package/src/core/components/functional/3d/post-bind.ts +0 -262
- package/src/core/components/functional/3d/post-channels.spec.ts +0 -36
- package/src/core/components/functional/3d/post-channels.ts +0 -69
- package/src/core/components/functional/3d/post-fx.ts +0 -594
- package/src/core/components/functional/3d/props.ts +0 -95
- package/src/core/components/functional/3d/publisher-listen.ts +0 -13
- package/src/core/components/functional/3d/reload.ts +0 -96
- package/src/core/components/functional/3d/runtime.ts +0 -237
- package/src/core/components/functional/3d/scene-runtime.ts +0 -12
- package/src/core/components/functional/3d/snapshot.ts +0 -73
- package/src/core/components/functional/3d/styles.ts +0 -38
- package/src/core/components/functional/3d/tune.ts +0 -93
- package/src/core/components/functional/3d/types.ts +0 -159
- package/src/core/components/functional/3d/updated.ts +0 -86
- package/src/core/components/functional/3d/view.ts +0 -63
- package/src/core/components/functional/3d/wire.ts +0 -65
- package/src/core/components/functional/infer/hugging-face/hf-cache.ts +0 -198
- package/src/core/components/functional/infer/hugging-face/hf-config.ts +0 -188
- package/src/core/components/functional/infer/hugging-face/hf-controller.spec.ts +0 -350
- package/src/core/components/functional/infer/hugging-face/hf-controller.ts +0 -622
- package/src/core/components/functional/infer/hugging-face/hf-engine.ts +0 -178
- package/src/core/components/functional/infer/hugging-face/hf-input.spec.ts +0 -99
- package/src/core/components/functional/infer/hugging-face/hf-input.ts +0 -218
- package/src/core/components/functional/infer/hugging-face/hf-protocol.ts +0 -76
- package/src/core/components/functional/infer/hugging-face/hf-registry.ts +0 -457
- package/src/core/components/functional/infer/hugging-face/hf-schema.spec.ts +0 -124
- package/src/core/components/functional/infer/hugging-face/hf-schema.ts +0 -390
- package/src/core/components/functional/infer/hugging-face/hf-worker-runtime.spec.ts +0 -147
- package/src/core/components/functional/infer/hugging-face/hf-worker-runtime.ts +0 -381
- package/src/core/components/functional/infer/hugging-face/hugging-face-infer.md +0 -304
- package/src/core/components/functional/infer/hugging-face/hugging-face-infer.ts +0 -202
- package/src/core/components/functional/infer/hugging-face/hugging-face.ts +0 -282
- package/src/core/components/functional/infer/hugging-face/types.ts +0 -325
- package/src/core/components/functional/shader/gl-runtime.ts +0 -1120
- package/src/core/components/functional/shader/shader.md +0 -232
- package/src/core/components/functional/shader/shader.spec.ts +0 -635
- package/src/core/components/functional/shader/shader.ts +0 -1746
- package/src/core/components/functional/shader/shadertoy-prelude.ts +0 -96
- package/src/core/components/functional/shader/types.ts +0 -525
- package/src/core/components/functional/webgpu/canvas2d-fallback.ts +0 -125
- package/src/core/components/functional/webgpu/form-bind.ts +0 -116
- package/src/core/components/functional/webgpu/gl-fallback.ts +0 -182
- package/src/core/components/functional/webgpu/gpu-runtime.ts +0 -485
- package/src/core/components/functional/webgpu/helpers.ts +0 -53
- package/src/core/components/functional/webgpu/out-frame.ts +0 -137
- package/src/core/components/functional/webgpu/particles-runtime.ts +0 -426
- package/src/core/components/functional/webgpu/pointer.ts +0 -85
- package/src/core/components/functional/webgpu/types.ts +0 -96
- package/src/core/components/functional/webgpu/webgpu.md +0 -86
- package/src/core/components/functional/webgpu/webgpu.spec.ts +0 -178
- package/src/core/components/functional/webgpu/webgpu.ts +0 -706
- package/src/core/components/functional/webgpu/wgsl-prelude.ts +0 -81
- package/src/core/utils/mediaRef.spec.ts +0 -146
- package/src/core/utils/mediaRef.ts +0 -238
- package/src/core/utils/similarity.spec.ts +0 -34
- package/src/core/utils/similarity.ts +0 -54
- package/src/docs/_getting-started/cdn-addons.md +0 -73
- package/src/docs/_misc/visual-stack.md +0 -83
- package/src/docs/example/docs-3d-demos.ts +0 -8
- package/src/docs/example/docs-3d-form.ts +0 -95
- package/src/docs/example/docs-3d-orbit.ts +0 -44
- package/src/docs/example/docs-3d-out.ts +0 -56
- package/src/docs/example/docs-3d-post-depth-demo.ts +0 -68
- package/src/docs/example/docs-3d-shader-live-demo.ts +0 -98
- package/src/docs/example/docs-3d-shared.ts +0 -15
- package/src/docs/example/docs-3d-webgpu-live-demo.ts +0 -83
- package/src/docs/example/docs-harris-webgpu-demo.ts +0 -480
- package/src/docs/example/docs-hugging-face-demos.ts +0 -516
- package/src/docs/example/docs-shader-demos.ts +0 -357
- package/src/docs/example/docs-visual-stack-demo.ts +0 -394
- package/src/docs/example/docs-webgpu-demo.ts +0 -77
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import { DEFAULT_EXPOSURE, DEFAULT_FOV, DEFAULT_MAX_DISTANCE, DEFAULT_MAX_POLAR_DEG, DEFAULT_MIN_DISTANCE, DEFAULT_MIN_POLAR_DEG, DEFAULT_OUT_INTERVAL_MS, DEFAULT_SNAPSHOT_INTERVAL_MS, Sonic3dCameraMode, } from "./constants";
|
|
10
|
-
/** Attributs / propriétés Lit de `sonic-3d`. */
|
|
11
|
-
export class Sonic3dProps extends LitElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.src = "";
|
|
15
|
-
this.asset = null;
|
|
16
|
-
this.camera = Sonic3dCameraMode.Orbit;
|
|
17
|
-
this.fov = DEFAULT_FOV;
|
|
18
|
-
this.exposure = DEFAULT_EXPOSURE;
|
|
19
|
-
this.minDistance = DEFAULT_MIN_DISTANCE;
|
|
20
|
-
this.maxDistance = DEFAULT_MAX_DISTANCE;
|
|
21
|
-
this.minPolar = DEFAULT_MIN_POLAR_DEG;
|
|
22
|
-
this.maxPolar = DEFAULT_MAX_POLAR_DEG;
|
|
23
|
-
this.autoRotate = false;
|
|
24
|
-
this.fit = true;
|
|
25
|
-
this.pick = false;
|
|
26
|
-
this.play = true;
|
|
27
|
-
this.playOnHover = false;
|
|
28
|
-
/**
|
|
29
|
-
* Garde le RAF / runtime hors viewport (pont live `#id`).
|
|
30
|
-
* Aussi auto si un consommateur a appelé `registerFrameConsumer`.
|
|
31
|
-
*/
|
|
32
|
-
this.playOffscreen = false;
|
|
33
|
-
this.releaseOffscreen = true;
|
|
34
|
-
/**
|
|
35
|
-
* Inertie OrbitControls (`dampingFactor`). `0` = pas d’inertie.
|
|
36
|
-
* Défaut `0.08`.
|
|
37
|
-
*/
|
|
38
|
-
this.damping = 0.08;
|
|
39
|
-
this.dprMax = 2;
|
|
40
|
-
this.aspectRatio = "";
|
|
41
|
-
this.dataProvider = "";
|
|
42
|
-
this.outDataProvider = "";
|
|
43
|
-
this.outInterval = DEFAULT_OUT_INTERVAL_MS;
|
|
44
|
-
this.snapshotInterval = DEFAULT_SNAPSHOT_INTERVAL_MS;
|
|
45
|
-
/** Publie `frameUrl` / `snapshot` (canvas) pour chaînage shader / jsonata. */
|
|
46
|
-
this.frameOut = false;
|
|
47
|
-
/* —— Post FX (Lot 2) : passes ShaderToy dans le contexte Three —— */
|
|
48
|
-
this.postImage = "";
|
|
49
|
-
this.postBufferA = "";
|
|
50
|
-
this.postBufferB = "";
|
|
51
|
-
this.postBufferC = "";
|
|
52
|
-
this.postBufferD = "";
|
|
53
|
-
this.postCommon = "";
|
|
54
|
-
this.postImageCh0 = "";
|
|
55
|
-
this.postImageCh1 = "";
|
|
56
|
-
this.postImageCh2 = "";
|
|
57
|
-
this.postImageCh3 = "";
|
|
58
|
-
this.postBufferACh0 = "";
|
|
59
|
-
this.postBufferACh1 = "";
|
|
60
|
-
this.postBufferACh2 = "";
|
|
61
|
-
this.postBufferACh3 = "";
|
|
62
|
-
this.postBufferBCh0 = "";
|
|
63
|
-
this.postBufferBCh1 = "";
|
|
64
|
-
this.postBufferBCh2 = "";
|
|
65
|
-
this.postBufferBCh3 = "";
|
|
66
|
-
this.postBufferCCh0 = "";
|
|
67
|
-
this.postBufferCCh1 = "";
|
|
68
|
-
this.postBufferCCh2 = "";
|
|
69
|
-
this.postBufferCCh3 = "";
|
|
70
|
-
this.postBufferDCh0 = "";
|
|
71
|
-
this.postBufferDCh1 = "";
|
|
72
|
-
this.postBufferDCh2 = "";
|
|
73
|
-
this.postBufferDCh3 = "";
|
|
74
|
-
this.param0 = 0;
|
|
75
|
-
this.param1 = 0;
|
|
76
|
-
this.param2 = 0;
|
|
77
|
-
this.param3 = 0;
|
|
78
|
-
/** Échelle des cibles post (0.25–1, défaut 1). */
|
|
79
|
-
this.postScale = 1;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
__decorate([
|
|
83
|
-
property()
|
|
84
|
-
], Sonic3dProps.prototype, "src", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
property({ attribute: false })
|
|
87
|
-
], Sonic3dProps.prototype, "asset", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
property({ reflect: true })
|
|
90
|
-
], Sonic3dProps.prototype, "camera", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
property({ type: Number })
|
|
93
|
-
], Sonic3dProps.prototype, "fov", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
property({ type: Number })
|
|
96
|
-
], Sonic3dProps.prototype, "exposure", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
property({ type: Number, attribute: "min-distance" })
|
|
99
|
-
], Sonic3dProps.prototype, "minDistance", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
property({ type: Number, attribute: "max-distance" })
|
|
102
|
-
], Sonic3dProps.prototype, "maxDistance", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
property({ type: Number, attribute: "min-polar" })
|
|
105
|
-
], Sonic3dProps.prototype, "minPolar", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
property({ type: Number, attribute: "max-polar" })
|
|
108
|
-
], Sonic3dProps.prototype, "maxPolar", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
property({ type: Boolean, attribute: "auto-rotate" })
|
|
111
|
-
], Sonic3dProps.prototype, "autoRotate", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
property({ type: Boolean })
|
|
114
|
-
], Sonic3dProps.prototype, "fit", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
property({ type: Boolean })
|
|
117
|
-
], Sonic3dProps.prototype, "pick", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
property({ type: Boolean, reflect: true })
|
|
120
|
-
], Sonic3dProps.prototype, "play", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
property({ type: Boolean, attribute: "play-on-hover" })
|
|
123
|
-
], Sonic3dProps.prototype, "playOnHover", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
property({ type: Boolean, attribute: "play-offscreen" })
|
|
126
|
-
], Sonic3dProps.prototype, "playOffscreen", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
property({ type: Boolean, attribute: "release-offscreen" })
|
|
129
|
-
], Sonic3dProps.prototype, "releaseOffscreen", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
property({ type: Number })
|
|
132
|
-
], Sonic3dProps.prototype, "damping", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
property({ type: Number, attribute: "dpr-max" })
|
|
135
|
-
], Sonic3dProps.prototype, "dprMax", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
property({ type: String, attribute: "aspect-ratio" })
|
|
138
|
-
], Sonic3dProps.prototype, "aspectRatio", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
property({ type: String })
|
|
141
|
-
], Sonic3dProps.prototype, "dataProvider", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
property({ type: String, attribute: "out-data-provider" })
|
|
144
|
-
], Sonic3dProps.prototype, "outDataProvider", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
property({ type: Number, attribute: "out-interval" })
|
|
147
|
-
], Sonic3dProps.prototype, "outInterval", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
property({ type: Number, attribute: "snapshot-interval" })
|
|
150
|
-
], Sonic3dProps.prototype, "snapshotInterval", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
property({ type: Boolean, attribute: "frame-out" })
|
|
153
|
-
], Sonic3dProps.prototype, "frameOut", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
property({ attribute: "post-image" })
|
|
156
|
-
], Sonic3dProps.prototype, "postImage", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
property({ attribute: "post-buffer-a" })
|
|
159
|
-
], Sonic3dProps.prototype, "postBufferA", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
property({ attribute: "post-buffer-b" })
|
|
162
|
-
], Sonic3dProps.prototype, "postBufferB", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
property({ attribute: "post-buffer-c" })
|
|
165
|
-
], Sonic3dProps.prototype, "postBufferC", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
property({ attribute: "post-buffer-d" })
|
|
168
|
-
], Sonic3dProps.prototype, "postBufferD", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
property({ attribute: "post-common" })
|
|
171
|
-
], Sonic3dProps.prototype, "postCommon", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
property({ attribute: "post-image-ch0" })
|
|
174
|
-
], Sonic3dProps.prototype, "postImageCh0", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
property({ attribute: "post-image-ch1" })
|
|
177
|
-
], Sonic3dProps.prototype, "postImageCh1", void 0);
|
|
178
|
-
__decorate([
|
|
179
|
-
property({ attribute: "post-image-ch2" })
|
|
180
|
-
], Sonic3dProps.prototype, "postImageCh2", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
property({ attribute: "post-image-ch3" })
|
|
183
|
-
], Sonic3dProps.prototype, "postImageCh3", void 0);
|
|
184
|
-
__decorate([
|
|
185
|
-
property({ attribute: "post-buffer-a-ch0" })
|
|
186
|
-
], Sonic3dProps.prototype, "postBufferACh0", void 0);
|
|
187
|
-
__decorate([
|
|
188
|
-
property({ attribute: "post-buffer-a-ch1" })
|
|
189
|
-
], Sonic3dProps.prototype, "postBufferACh1", void 0);
|
|
190
|
-
__decorate([
|
|
191
|
-
property({ attribute: "post-buffer-a-ch2" })
|
|
192
|
-
], Sonic3dProps.prototype, "postBufferACh2", void 0);
|
|
193
|
-
__decorate([
|
|
194
|
-
property({ attribute: "post-buffer-a-ch3" })
|
|
195
|
-
], Sonic3dProps.prototype, "postBufferACh3", void 0);
|
|
196
|
-
__decorate([
|
|
197
|
-
property({ attribute: "post-buffer-b-ch0" })
|
|
198
|
-
], Sonic3dProps.prototype, "postBufferBCh0", void 0);
|
|
199
|
-
__decorate([
|
|
200
|
-
property({ attribute: "post-buffer-b-ch1" })
|
|
201
|
-
], Sonic3dProps.prototype, "postBufferBCh1", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
property({ attribute: "post-buffer-b-ch2" })
|
|
204
|
-
], Sonic3dProps.prototype, "postBufferBCh2", void 0);
|
|
205
|
-
__decorate([
|
|
206
|
-
property({ attribute: "post-buffer-b-ch3" })
|
|
207
|
-
], Sonic3dProps.prototype, "postBufferBCh3", void 0);
|
|
208
|
-
__decorate([
|
|
209
|
-
property({ attribute: "post-buffer-c-ch0" })
|
|
210
|
-
], Sonic3dProps.prototype, "postBufferCCh0", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
property({ attribute: "post-buffer-c-ch1" })
|
|
213
|
-
], Sonic3dProps.prototype, "postBufferCCh1", void 0);
|
|
214
|
-
__decorate([
|
|
215
|
-
property({ attribute: "post-buffer-c-ch2" })
|
|
216
|
-
], Sonic3dProps.prototype, "postBufferCCh2", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
property({ attribute: "post-buffer-c-ch3" })
|
|
219
|
-
], Sonic3dProps.prototype, "postBufferCCh3", void 0);
|
|
220
|
-
__decorate([
|
|
221
|
-
property({ attribute: "post-buffer-d-ch0" })
|
|
222
|
-
], Sonic3dProps.prototype, "postBufferDCh0", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
property({ attribute: "post-buffer-d-ch1" })
|
|
225
|
-
], Sonic3dProps.prototype, "postBufferDCh1", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
property({ attribute: "post-buffer-d-ch2" })
|
|
228
|
-
], Sonic3dProps.prototype, "postBufferDCh2", void 0);
|
|
229
|
-
__decorate([
|
|
230
|
-
property({ attribute: "post-buffer-d-ch3" })
|
|
231
|
-
], Sonic3dProps.prototype, "postBufferDCh3", void 0);
|
|
232
|
-
__decorate([
|
|
233
|
-
property({ type: Number })
|
|
234
|
-
], Sonic3dProps.prototype, "param0", void 0);
|
|
235
|
-
__decorate([
|
|
236
|
-
property({ type: Number })
|
|
237
|
-
], Sonic3dProps.prototype, "param1", void 0);
|
|
238
|
-
__decorate([
|
|
239
|
-
property({ type: Number })
|
|
240
|
-
], Sonic3dProps.prototype, "param2", void 0);
|
|
241
|
-
__decorate([
|
|
242
|
-
property({ type: Number })
|
|
243
|
-
], Sonic3dProps.prototype, "param3", void 0);
|
|
244
|
-
__decorate([
|
|
245
|
-
property({ type: Number, attribute: "post-scale" })
|
|
246
|
-
], Sonic3dProps.prototype, "postScale", void 0);
|
|
247
|
-
//# sourceMappingURL=props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/props.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,aAAa,CAAC;AAGrB,gDAAgD;AAChD,MAAM,OAAO,YAAa,SAAQ,UAAU;IAA5C;;QACc,QAAG,GAAG,EAAE,CAAC;QACW,UAAK,GAAwB,IAAI,CAAC;QAElE,WAAM,GAAsB,iBAAiB,CAAC,KAAK,CAAC;QACxB,QAAG,GAAG,WAAW,CAAC;QAClB,aAAQ,GAAG,gBAAgB,CAAC;QAExD,gBAAW,GAAG,oBAAoB,CAAC;QAEnC,gBAAW,GAAG,oBAAoB,CAAC;QAEnC,aAAQ,GAAG,qBAAqB,CAAC;QAEjC,aAAQ,GAAG,qBAAqB,CAAC;QACsB,e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AE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACpB;IAA7C,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;oDAAqB;AACtC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAY;AACX;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAY;AACX;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAY;AACX;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAY;AAEc;IAApD,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+CAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-listen.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/publisher-listen.ts"],"names":[],"mappings":"AAAA,sEAAsE;AAMtE,MAAM,UAAU,yBAAyB,CACvC,GAAqB,EACrB,GAAW;IAEX,MAAM,KAAK,GAAG,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IACvC,OAAO,CAAC,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { asset } from "./asset";
|
|
2
|
-
import { frameSource } from "./frame-source";
|
|
3
|
-
import { postBind } from "./post-bind";
|
|
4
|
-
import { playback } from "./playback";
|
|
5
|
-
function degToRad(deg) {
|
|
6
|
-
return ((Number.isFinite(deg) ? deg : 0) * Math.PI) / 180;
|
|
7
|
-
}
|
|
8
|
-
async function run(host) {
|
|
9
|
-
if (!host.runtime)
|
|
10
|
-
return;
|
|
11
|
-
const token = ++host.loadToken;
|
|
12
|
-
host.errorMessage = "";
|
|
13
|
-
try {
|
|
14
|
-
await host.runtime.load(asset.resolve(host, host.formPublisher));
|
|
15
|
-
if (token !== host.loadToken)
|
|
16
|
-
return;
|
|
17
|
-
host.ready = true;
|
|
18
|
-
host.startTime = performance.now();
|
|
19
|
-
host.frame = 0;
|
|
20
|
-
host.lastFormOrbit = null;
|
|
21
|
-
host.onFormMutation();
|
|
22
|
-
playback.syncAutoRotate(host);
|
|
23
|
-
host.runtime.render();
|
|
24
|
-
host.frameSeq++;
|
|
25
|
-
host.syncPlayback();
|
|
26
|
-
postBind.applyConfig(host);
|
|
27
|
-
frameSource.maybePublish(host);
|
|
28
|
-
host.dispatchEvent(new CustomEvent("ready", {
|
|
29
|
-
detail: { ready: true },
|
|
30
|
-
bubbles: true,
|
|
31
|
-
composed: true,
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
catch (err) {
|
|
35
|
-
if (token !== host.loadToken)
|
|
36
|
-
return;
|
|
37
|
-
host.ready = !!host.runtime?.ready;
|
|
38
|
-
emitError(host, err);
|
|
39
|
-
host.syncPlayback();
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
function applyOrbitLimits(host) {
|
|
43
|
-
host.runtime?.setOrbitLimits({
|
|
44
|
-
minDistance: host.minDistance,
|
|
45
|
-
maxDistance: host.maxDistance,
|
|
46
|
-
minPolar: degToRad(host.minPolar),
|
|
47
|
-
maxPolar: degToRad(host.maxPolar),
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function emitError(host, err) {
|
|
51
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
52
|
-
host.errorMessage = message;
|
|
53
|
-
host.dispatchEvent(new CustomEvent("error", {
|
|
54
|
-
detail: { message },
|
|
55
|
-
bubbles: true,
|
|
56
|
-
composed: true,
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
export const reload = {
|
|
60
|
-
run,
|
|
61
|
-
applyOrbitLimits,
|
|
62
|
-
emitError,
|
|
63
|
-
degToRad,
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=reload.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reload.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/reload.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,SAAS,QAAQ,CAAC,GAAW;IAC3B,OAAO,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;AAC5D,CAAC;AAyBD,KAAK,UAAU,GAAG,CAAC,IAAgB;IACjC,IAAI,CAAC,IAAI,CAAC,OAAO;QAAE,OAAO;IAC1B,MAAM,KAAK,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC;IAC/B,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;IACvB,IAAI,CAAC;QACH,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;QACjE,IAAI,KAAK,KAAK,IAAI,CAAC,SAAS;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,CAAC,CAAC;AACL,CAAC;AAED,SAAS,SAAS,CAAC,IAAgB,EAAE,GAAY;IAC/C,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACjE,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,OAAO,EAAE;QACvB,MAAM,EAAE,EAAE,OAAO,EAAE;QACnB,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;KACf,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG;IACH,gBAAgB;IAChB,SAAS;IACT,QAAQ;CACA,CAAC"}
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
|
|
3
|
-
import { bootScene } from "./boot";
|
|
4
|
-
import { ops } from "./ops";
|
|
5
|
-
import { PostFxCompileError, PostFxPipeline, } from "./post-fx";
|
|
6
|
-
import { tune } from "./tune";
|
|
7
|
-
import { view } from "./view";
|
|
8
|
-
export { PostFxCompileError };
|
|
9
|
-
/**
|
|
10
|
-
* Runtime Three.js encapsulé : renderer, scène, caméra, load, fit, pick, post FX.
|
|
11
|
-
* Le composant Lit gère RAF / viewport / DP.
|
|
12
|
-
*/
|
|
13
|
-
export class SceneRuntime {
|
|
14
|
-
constructor(opts) {
|
|
15
|
-
this.controls = null;
|
|
16
|
-
this.unbindWheelRelay = null;
|
|
17
|
-
this.content = null;
|
|
18
|
-
this.loader = new GLTFLoader();
|
|
19
|
-
this.loadToken = 0;
|
|
20
|
-
this.blobUrl = null;
|
|
21
|
-
this.bbox = new THREE.Box3();
|
|
22
|
-
this.target = new THREE.Vector3();
|
|
23
|
-
this._ready = false;
|
|
24
|
-
this._loading = false;
|
|
25
|
-
this.lastError = null;
|
|
26
|
-
this.raycaster = new THREE.Raycaster();
|
|
27
|
-
this.pointerNdc = new THREE.Vector2();
|
|
28
|
-
this.highlighted = null;
|
|
29
|
-
this.prevEmissive = new THREE.Color();
|
|
30
|
-
this.prevEmissiveIntensity = 0;
|
|
31
|
-
this.lastCssW = 1;
|
|
32
|
-
this.lastCssH = 1;
|
|
33
|
-
this.damping = 0.08;
|
|
34
|
-
this.postFrame = {
|
|
35
|
-
time: 0,
|
|
36
|
-
timeDelta: 1 / 60,
|
|
37
|
-
frame: 0,
|
|
38
|
-
mouse: [0, 0, 0, 0],
|
|
39
|
-
params: [0, 0, 0, 0],
|
|
40
|
-
near: 0.1,
|
|
41
|
-
far: 100,
|
|
42
|
-
};
|
|
43
|
-
this.asTuneCtx = () => this;
|
|
44
|
-
this.asViewCtx = () => this;
|
|
45
|
-
this.asOpsCtx = () => this;
|
|
46
|
-
const b = bootScene(opts);
|
|
47
|
-
this.scene = b.scene;
|
|
48
|
-
this.renderer = b.renderer;
|
|
49
|
-
this.canvas = b.canvas;
|
|
50
|
-
this.perspCam = b.perspCam;
|
|
51
|
-
this.orthoCam = b.orthoCam;
|
|
52
|
-
this.activeCam = b.activeCam;
|
|
53
|
-
this.root = b.root;
|
|
54
|
-
this.lights = b.lights;
|
|
55
|
-
this.dprMax = b.dprMax;
|
|
56
|
-
this.mode = b.mode;
|
|
57
|
-
this.fov = b.fov;
|
|
58
|
-
this.fitEnabled = b.fitEnabled;
|
|
59
|
-
this.limits = b.limits;
|
|
60
|
-
this.postFx = new PostFxPipeline(this.renderer);
|
|
61
|
-
this.applyCameraMode(this.mode);
|
|
62
|
-
if (b.autoRotate)
|
|
63
|
-
this.setAutoRotate(true);
|
|
64
|
-
void [
|
|
65
|
-
this.canvas,
|
|
66
|
-
this.perspCam,
|
|
67
|
-
this.orthoCam,
|
|
68
|
-
this.root,
|
|
69
|
-
this.content,
|
|
70
|
-
this.lights,
|
|
71
|
-
this.loader,
|
|
72
|
-
this.loadToken,
|
|
73
|
-
this.blobUrl,
|
|
74
|
-
this.dprMax,
|
|
75
|
-
this.fov,
|
|
76
|
-
this.fitEnabled,
|
|
77
|
-
this.limits,
|
|
78
|
-
this.bbox,
|
|
79
|
-
this.target,
|
|
80
|
-
this.raycaster,
|
|
81
|
-
this.pointerNdc,
|
|
82
|
-
this.highlighted,
|
|
83
|
-
this.prevEmissive,
|
|
84
|
-
this.prevEmissiveIntensity,
|
|
85
|
-
this.unbindWheelRelay,
|
|
86
|
-
];
|
|
87
|
-
}
|
|
88
|
-
get ready() {
|
|
89
|
-
return this._ready;
|
|
90
|
-
}
|
|
91
|
-
get loading() {
|
|
92
|
-
return this._loading;
|
|
93
|
-
}
|
|
94
|
-
get error() {
|
|
95
|
-
return this.lastError;
|
|
96
|
-
}
|
|
97
|
-
get isLost() {
|
|
98
|
-
return this.renderer.getContext()?.isContextLost?.() ?? false;
|
|
99
|
-
}
|
|
100
|
-
get hasPostFx() {
|
|
101
|
-
return this.postFx.isEnabled;
|
|
102
|
-
}
|
|
103
|
-
setDprMax(v) {
|
|
104
|
-
tune.setDprMax(this.asTuneCtx(), v);
|
|
105
|
-
}
|
|
106
|
-
setExposure(v) {
|
|
107
|
-
tune.setExposure(this.asTuneCtx(), v);
|
|
108
|
-
}
|
|
109
|
-
setFov(v) {
|
|
110
|
-
tune.setFov(this.asTuneCtx(), v);
|
|
111
|
-
}
|
|
112
|
-
setFit(v) {
|
|
113
|
-
tune.setFit(this.asTuneCtx(), v);
|
|
114
|
-
}
|
|
115
|
-
setAutoRotate(v) {
|
|
116
|
-
tune.setAutoRotate(this.asTuneCtx(), v);
|
|
117
|
-
}
|
|
118
|
-
setDamping(v) {
|
|
119
|
-
this.damping = Number.isFinite(v) ? Math.max(0, v) : 0.08;
|
|
120
|
-
tune.setDamping(this.asTuneCtx(), this.damping);
|
|
121
|
-
}
|
|
122
|
-
/** Coupe autoRotate + inertie OrbitControls. */
|
|
123
|
-
stopMotion() {
|
|
124
|
-
tune.setAutoRotate(this.asTuneCtx(), false);
|
|
125
|
-
tune.stopMotion(this.asTuneCtx());
|
|
126
|
-
}
|
|
127
|
-
setOrbitLimits(opts) {
|
|
128
|
-
tune.setOrbitLimits(this.asTuneCtx(), opts);
|
|
129
|
-
}
|
|
130
|
-
setOrbitSpherical(yaw, pitch, distance) {
|
|
131
|
-
tune.setOrbitSpherical(this.asTuneCtx(), yaw, pitch, distance);
|
|
132
|
-
}
|
|
133
|
-
applyCameraMode(mode) {
|
|
134
|
-
view.applyCameraMode(this.asViewCtx(), mode);
|
|
135
|
-
tune.setDamping(this.asTuneCtx(), this.damping);
|
|
136
|
-
}
|
|
137
|
-
resize(cssW, cssH) {
|
|
138
|
-
this.lastCssW = cssW;
|
|
139
|
-
this.lastCssH = cssH;
|
|
140
|
-
view.resize(this.asViewCtx(), cssW, cssH);
|
|
141
|
-
const dpr = Math.min(typeof window !== "undefined" ? window.devicePixelRatio || 1 : 1, this.dprMax);
|
|
142
|
-
this.postFx.resize(cssW * dpr, cssH * dpr);
|
|
143
|
-
}
|
|
144
|
-
async load(asset) {
|
|
145
|
-
return ops.runLoad(this.asOpsCtx(), asset);
|
|
146
|
-
}
|
|
147
|
-
fitToContent() {
|
|
148
|
-
ops.fitToContent(this.asOpsCtx());
|
|
149
|
-
}
|
|
150
|
-
setPostConfig(config) {
|
|
151
|
-
this.postFx.setConfig(config);
|
|
152
|
-
if (config && this.lastCssW > 0) {
|
|
153
|
-
this.resize(this.lastCssW, this.lastCssH);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
setPostElementResolver(fn) {
|
|
157
|
-
this.postFx.setElementResolver(fn);
|
|
158
|
-
}
|
|
159
|
-
setPostFrame(frame) {
|
|
160
|
-
Object.assign(this.postFrame, frame);
|
|
161
|
-
const cam = this.activeCam;
|
|
162
|
-
if ("near" in cam && "far" in cam) {
|
|
163
|
-
this.postFrame.near = cam.near;
|
|
164
|
-
this.postFrame.far = cam.far;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
render() {
|
|
168
|
-
this.controls?.update();
|
|
169
|
-
if (this.postFx.isEnabled) {
|
|
170
|
-
this.postFx.render(this.scene, this.activeCam, this.postFrame);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
this.renderer.render(this.scene, this.activeCam);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
pick(normX, normY) {
|
|
177
|
-
return ops.pick(this.asOpsCtx(), normX, normY);
|
|
178
|
-
}
|
|
179
|
-
setHoverAt(normX, normY) {
|
|
180
|
-
return ops.setHoverAt(this.asOpsCtx(), normX, normY);
|
|
181
|
-
}
|
|
182
|
-
clearHighlight() {
|
|
183
|
-
ops.clearHighlight(this.asOpsCtx());
|
|
184
|
-
}
|
|
185
|
-
snapshot(base) {
|
|
186
|
-
return ops.buildSnapshot(this.asOpsCtx(), base);
|
|
187
|
-
}
|
|
188
|
-
dispose(loseContext = false) {
|
|
189
|
-
this.postFx.dispose();
|
|
190
|
-
ops.dispose(this.asOpsCtx(), loseContext);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
//# sourceMappingURL=runtime.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,GAAG,EAAe,MAAM,OAAO,CAAC;AAGzC,OAAO,EACL,kBAAkB,EAClB,cAAc,GAGf,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,IAAI,EAAgB,MAAM,QAAQ,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAgB,MAAM,QAAQ,CAAC;AAG5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AA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WAAW,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { Sonic3dCameraMode } from "./constants";
|
|
3
|
-
function build(ctx, base) {
|
|
4
|
-
const cam = ctx.activeCam.position;
|
|
5
|
-
const t = ctx.controls?.target ?? ctx.target;
|
|
6
|
-
const offset = new THREE.Vector3().subVectors(cam, t);
|
|
7
|
-
const distance = offset.length();
|
|
8
|
-
const yaw = Math.atan2(offset.x, offset.z);
|
|
9
|
-
const pitch = Math.atan2(offset.y, Math.hypot(offset.x, offset.z));
|
|
10
|
-
const out = {
|
|
11
|
-
time: base.time,
|
|
12
|
-
frame: base.frame,
|
|
13
|
-
ready: ctx.ready ? 1 : 0,
|
|
14
|
-
loading: ctx.loading ? 1 : 0,
|
|
15
|
-
hovering: base.hovering,
|
|
16
|
-
pointerX: base.pointerX,
|
|
17
|
-
pointerY: base.pointerY,
|
|
18
|
-
camX: cam.x,
|
|
19
|
-
camY: cam.y,
|
|
20
|
-
camZ: cam.z,
|
|
21
|
-
targetX: t.x,
|
|
22
|
-
targetY: t.y,
|
|
23
|
-
targetZ: t.z,
|
|
24
|
-
fov: ctx.mode === Sonic3dCameraMode.Ortho ? 0 : ctx.perspCam.fov,
|
|
25
|
-
zoom: ctx.mode === Sonic3dCameraMode.Ortho ? ctx.orthoCam.zoom : 1,
|
|
26
|
-
distance,
|
|
27
|
-
yaw,
|
|
28
|
-
pitch,
|
|
29
|
-
};
|
|
30
|
-
if (!ctx.bbox.isEmpty()) {
|
|
31
|
-
out.bboxMinX = ctx.bbox.min.x;
|
|
32
|
-
out.bboxMinY = ctx.bbox.min.y;
|
|
33
|
-
out.bboxMinZ = ctx.bbox.min.z;
|
|
34
|
-
out.bboxMaxX = ctx.bbox.max.x;
|
|
35
|
-
out.bboxMaxY = ctx.bbox.max.y;
|
|
36
|
-
out.bboxMaxZ = ctx.bbox.max.z;
|
|
37
|
-
}
|
|
38
|
-
if (base.hit) {
|
|
39
|
-
out.hitX = base.hit.x;
|
|
40
|
-
out.hitY = base.hit.y;
|
|
41
|
-
out.hitZ = base.hit.z;
|
|
42
|
-
out.hitObjectId = base.hit.objectId;
|
|
43
|
-
}
|
|
44
|
-
return out;
|
|
45
|
-
}
|
|
46
|
-
export const snapshot = { build };
|
|
47
|
-
//# sourceMappingURL=snapshot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAgBhD,SAAS,KAAK,CACZ,GAAgB,EAChB,IAOC;IAED,MAAM,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC;IACnC,MAAM,CAAC,GAAG,GAAG,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC;IAC7C,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;IACjC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC3C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,MAAM,GAAG,GAAkB;QACzB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxB,OAA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,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,CAAC;IACD,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;QACb,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QACtB,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QACtB,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QACtB,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;IACtC,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,KAAK,EAAW,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
export const sonic3dStyles = css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 100%;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
height: auto;
|
|
9
|
-
aspect-ratio: var(--sonic-3d-ar, 16 / 9);
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
background: #0a0a0a;
|
|
12
|
-
color: #f87171;
|
|
13
|
-
font: 12px/1.4 ui-monospace, monospace;
|
|
14
|
-
touch-action: none;
|
|
15
|
-
cursor: grab;
|
|
16
|
-
}
|
|
17
|
-
:host(:active) {
|
|
18
|
-
cursor: grabbing;
|
|
19
|
-
}
|
|
20
|
-
canvas {
|
|
21
|
-
position: absolute;
|
|
22
|
-
inset: 0;
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
display: block;
|
|
26
|
-
}
|
|
27
|
-
.err {
|
|
28
|
-
position: absolute;
|
|
29
|
-
inset: 0;
|
|
30
|
-
z-index: 1;
|
|
31
|
-
padding: 0.75rem;
|
|
32
|
-
background: rgba(0, 0, 0, 0.85);
|
|
33
|
-
white-space: pre-wrap;
|
|
34
|
-
overflow: auto;
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC/B,CAAC"}
|