@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,76 +0,0 @@
|
|
|
1
|
-
import { parse } from "./parse";
|
|
2
|
-
import { playback, wantsOffscreenPlay } from "./playback";
|
|
3
|
-
import { reload } from "./reload";
|
|
4
|
-
import { SceneRuntime } from "./scene-runtime";
|
|
5
|
-
function getCanvas(host) {
|
|
6
|
-
return (host.renderRoot?.querySelector("canvas") ??
|
|
7
|
-
null);
|
|
8
|
-
}
|
|
9
|
-
async function ensureRuntime(host) {
|
|
10
|
-
if (host.releasing || host.runtime)
|
|
11
|
-
return;
|
|
12
|
-
const canvas = getCanvas(host);
|
|
13
|
-
if (!canvas)
|
|
14
|
-
return;
|
|
15
|
-
try {
|
|
16
|
-
host.runtime = new SceneRuntime({
|
|
17
|
-
canvas,
|
|
18
|
-
dprMax: host.dprMax,
|
|
19
|
-
camera: parse.cameraMode(host.camera),
|
|
20
|
-
fov: host.fov,
|
|
21
|
-
exposure: host.exposure,
|
|
22
|
-
autoRotate: false,
|
|
23
|
-
fit: host.fit,
|
|
24
|
-
minDistance: host.minDistance,
|
|
25
|
-
maxDistance: host.maxDistance,
|
|
26
|
-
minPolar: reload.degToRad(host.minPolar),
|
|
27
|
-
maxPolar: reload.degToRad(host.maxPolar),
|
|
28
|
-
});
|
|
29
|
-
host.runtime.setDamping(host.damping);
|
|
30
|
-
reload.applyOrbitLimits(host);
|
|
31
|
-
syncSize(host);
|
|
32
|
-
await reload.run(host);
|
|
33
|
-
}
|
|
34
|
-
catch (err) {
|
|
35
|
-
reload.emitError(host, err);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function releaseRuntime(host) {
|
|
39
|
-
host.loadToken++;
|
|
40
|
-
playback.stopLoop(host);
|
|
41
|
-
host.ready = false;
|
|
42
|
-
host.releasing = true;
|
|
43
|
-
host.runtime?.dispose(false);
|
|
44
|
-
host.runtime = null;
|
|
45
|
-
host.releasing = false;
|
|
46
|
-
}
|
|
47
|
-
function syncVisibility(host) {
|
|
48
|
-
const keepOffscreen = wantsOffscreenPlay(host);
|
|
49
|
-
if (!host.inView && host.releaseOffscreen && !keepOffscreen) {
|
|
50
|
-
releaseRuntime(host);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if ((!host.runtime || host.runtime.isLost) &&
|
|
54
|
-
(host.inView || keepOffscreen || !host.releaseOffscreen)) {
|
|
55
|
-
void ensureRuntime(host);
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
host.syncPlayback();
|
|
59
|
-
}
|
|
60
|
-
function syncSize(host) {
|
|
61
|
-
if (!host.runtime)
|
|
62
|
-
return;
|
|
63
|
-
const rect = host.getBoundingClientRect();
|
|
64
|
-
const cssW = Math.max(rect.width, host.clientWidth, 1);
|
|
65
|
-
const cssH = Math.max(rect.height, host.clientHeight, 1);
|
|
66
|
-
host.runtime.resize(cssW, cssH);
|
|
67
|
-
if (host.ready)
|
|
68
|
-
host.runtime.render();
|
|
69
|
-
}
|
|
70
|
-
export const ensure = {
|
|
71
|
-
ensureRuntime,
|
|
72
|
-
releaseRuntime,
|
|
73
|
-
syncVisibility,
|
|
74
|
-
syncSize,
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=ensure.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ensure.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/ensure.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AA4B/C,SAAS,SAAS,CAAC,IAAgB;IACjC,OAAO,CACJ,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC,QAAQ,CAA8B;QACtE,IAAI,CACL,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,aAAa,CAAC,IAAgB;IAC3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO;QAAE,OAAO;IAC3C,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAC/B,IAAI,CAAC,MAAM;QAAE,OAAO;IACpB,IAAI,CAAC;QACH,IAAI,CAAC,OAAO,GAAG,IAAI,YAAY,CAAC;YAC9B,MAAM;YACN,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,MAAM,EA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M,IAAI,IAAI,CAAC,gBAAgB,IAAI,CAAC,aAAa,EAAE,CAAC;QAC5D,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,OAAO;IACT,CAAC;IACD,IACE,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACtC,CAAC,IAAI,CAAC,MAAM,IAAI,aAAa,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,EACxD,CAAC;QACD,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC;QACzB,OAAO;IACT,CAAC;IACD,IAAI,CAAC,YAAY,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,QAAQ,CAAC,IAAgB;IAChC,IAAI,CAAC,IAAI,CAAC,OAAO;QAAE,OAAO;IAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC1C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAChC,IAAI,IAAI,CAAC,KAAK;QAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;AACxC,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,aAAa;IACb,cAAc;IACd,cAAc;IACd,QAAQ;CACA,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import HTML from "@supersoniks/concorde/core/utils/HTML";
|
|
2
|
-
import { asset } from "./asset";
|
|
3
|
-
import { formParams, } from "./form-params";
|
|
4
|
-
function resolveFormProviderId(el, dataProvider) {
|
|
5
|
-
const own = dataProvider?.trim();
|
|
6
|
-
if (own)
|
|
7
|
-
return own;
|
|
8
|
-
return (HTML.getAncestorAttributeValue(el, "dataProvider") ||
|
|
9
|
-
HTML.getAncestorAttributeValue(el, "formDataProvider") ||
|
|
10
|
-
"");
|
|
11
|
-
}
|
|
12
|
-
function resolveOutProviderId(el, outDataProvider, dataProvider) {
|
|
13
|
-
const own = outDataProvider?.trim();
|
|
14
|
-
if (own)
|
|
15
|
-
return own;
|
|
16
|
-
return resolveFormProviderId(el, dataProvider);
|
|
17
|
-
}
|
|
18
|
-
/** Form DP resolve + apply. Paths: `formBind.asset.*`, `formBind.formParams.*`. */
|
|
19
|
-
export const formBind = {
|
|
20
|
-
resolveFormProviderId,
|
|
21
|
-
resolveOutProviderId,
|
|
22
|
-
asset,
|
|
23
|
-
formParams,
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=form-bind.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-bind.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/form-bind.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,uCAAuC,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACL,UAAU,GAGX,MAAM,eAAe,CAAC;AAIvB,SAAS,qBAAqB,CAC5B,EAAe,EACf,YAAoB;IAEpB,MAAM,GAAG,GAAG,YAAY,EAAE,IAAI,EAAE,CAAC;IACjC,IAAI,GAAG;QAAE,OAAO,GAAG,CAAC;IACpB,OAAO,CACL,IAAI,CAAC,yBAAyB,CAAC,EAAE,EAAE,cAAc,CAAC;QAClD,IAAI,CAAC,yBAAyB,CAAC,EAAE,EAAE,kBAAkB,CAAC;QACtD,EAAE,CACH,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAC3B,EAAe,EACf,eAAuB,EACvB,YAAoB;IAEpB,MAAM,GAAG,GAAG,eAAe,EAAE,IAAI,EAAE,CAAC;IACpC,IAAI,GAAG;QAAE,OAAO,GAAG,CAAC;IACpB,OAAO,qBAAqB,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;AACjD,CAAC;AAED,mFAAmF;AACnF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,qBAAqB;IACrB,oBAAoB;IACpB,KAAK;IACL,UAAU;CACF,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { parse } from "./parse";
|
|
2
|
-
import { playback } from "./playback";
|
|
3
|
-
import { reload } from "./reload";
|
|
4
|
-
/** Applique les scalaires / flags form → propriétés host. */
|
|
5
|
-
function applyScalars(host, data) {
|
|
6
|
-
if ("fov" in data)
|
|
7
|
-
host.fov = parse.toNum(data.fov, host.fov);
|
|
8
|
-
if ("exposure" in data) {
|
|
9
|
-
host.exposure = parse.toNum(data.exposure, host.exposure);
|
|
10
|
-
}
|
|
11
|
-
if ("minDistance" in data) {
|
|
12
|
-
host.minDistance = parse.toNum(data.minDistance, host.minDistance);
|
|
13
|
-
}
|
|
14
|
-
if ("maxDistance" in data) {
|
|
15
|
-
host.maxDistance = parse.toNum(data.maxDistance, host.maxDistance);
|
|
16
|
-
}
|
|
17
|
-
if ("minPolar" in data) {
|
|
18
|
-
host.minPolar = parse.toNum(data.minPolar, host.minPolar);
|
|
19
|
-
}
|
|
20
|
-
if ("maxPolar" in data) {
|
|
21
|
-
host.maxPolar = parse.toNum(data.maxPolar, host.maxPolar);
|
|
22
|
-
}
|
|
23
|
-
if ("autoRotate" in data) {
|
|
24
|
-
host.autoRotate = parse.isFormFlagOn(data.autoRotate);
|
|
25
|
-
}
|
|
26
|
-
if ("camera" in data && typeof data.camera === "string") {
|
|
27
|
-
host.camera = parse.cameraMode(data.camera);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
/** Asset / src → host ; retourne true si reload requis. */
|
|
31
|
-
function applyAsset(host, data) {
|
|
32
|
-
let reload = false;
|
|
33
|
-
if ("asset" in data) {
|
|
34
|
-
const a = parse.asset(data.asset);
|
|
35
|
-
if (a) {
|
|
36
|
-
host.asset = a;
|
|
37
|
-
reload = true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
if ("src" in data && typeof data.src === "string" && !("asset" in data)) {
|
|
41
|
-
if (host.src !== data.src) {
|
|
42
|
-
host.src = data.src;
|
|
43
|
-
reload = true;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return reload;
|
|
47
|
-
}
|
|
48
|
-
function orbitLimitsTouched(data) {
|
|
49
|
-
return ("minDistance" in data ||
|
|
50
|
-
"maxDistance" in data ||
|
|
51
|
-
"minPolar" in data ||
|
|
52
|
-
"maxPolar" in data ||
|
|
53
|
-
"camera" in data);
|
|
54
|
-
}
|
|
55
|
-
/** Pousse les champs déjà appliqués vers le runtime live. */
|
|
56
|
-
function pushToRuntime(host, data) {
|
|
57
|
-
if (!host.runtime)
|
|
58
|
-
return;
|
|
59
|
-
if ("exposure" in data)
|
|
60
|
-
host.runtime.setExposure(host.exposure);
|
|
61
|
-
if ("fov" in data)
|
|
62
|
-
host.runtime.setFov(host.fov);
|
|
63
|
-
if ("camera" in data) {
|
|
64
|
-
host.runtime.applyCameraMode(parse.cameraMode(host.camera));
|
|
65
|
-
}
|
|
66
|
-
if (orbitLimitsTouched(data))
|
|
67
|
-
reload.applyOrbitLimits(host);
|
|
68
|
-
if ("autoRotate" in data)
|
|
69
|
-
playback.syncAutoRotate(host);
|
|
70
|
-
}
|
|
71
|
-
export const formFields = {
|
|
72
|
-
applyScalars,
|
|
73
|
-
applyAsset,
|
|
74
|
-
pushToRuntime,
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=form-fields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-fields.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/form-fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACt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CAAC,CAAC;IAChE,IAAI,KAAK,IAAI,IAAI;QAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACjD,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,CAAC;IACD,IAAI,kBAAkB,CAAC,IAAI,CAAC;QAAE,MAAM,CAAC,gBAAgB,CAAC,IAAa,CAAC,CAAC;IACrE,IAAI,YAAY,IAAI,IAAI;QAAE,QAAQ,CAAC,cAAc,CAAC,IAAa,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,YAAY;IACZ,UAAU;IACV,aAAa;CACL,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ORBIT_CHANGE_EPSILON } from "./constants";
|
|
2
|
-
import { formFields } from "./form-fields";
|
|
3
|
-
import { parse } from "./parse";
|
|
4
|
-
import { playback } from "./playback";
|
|
5
|
-
import { postBind } from "./post-bind";
|
|
6
|
-
import { reload } from "./reload";
|
|
7
|
-
function orbitChanged(prev, next) {
|
|
8
|
-
if (!prev)
|
|
9
|
-
return true;
|
|
10
|
-
return (Math.abs(prev.yaw - next.yaw) > ORBIT_CHANGE_EPSILON ||
|
|
11
|
-
Math.abs(prev.pitch - next.pitch) > ORBIT_CHANGE_EPSILON ||
|
|
12
|
-
Math.abs(prev.distance - next.distance) > ORBIT_CHANGE_EPSILON);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Orbit depuis le form : uniquement si yaw/pitch/distance ont changé
|
|
16
|
-
* (sinon chaque mutation télémétrie / checkbox réapplique et combat autoRotate).
|
|
17
|
-
*/
|
|
18
|
-
function readOrbit(host, data) {
|
|
19
|
-
const cur = host.runtime.snapshot({
|
|
20
|
-
time: 0,
|
|
21
|
-
frame: host.frame,
|
|
22
|
-
hovering: host.hovering ? 1 : 0,
|
|
23
|
-
pointerX: host.pointerX,
|
|
24
|
-
pointerY: host.pointerY,
|
|
25
|
-
});
|
|
26
|
-
return {
|
|
27
|
-
yaw: "yaw" in data ? parse.toNum(data.yaw, cur.yaw) : cur.yaw,
|
|
28
|
-
pitch: "pitch" in data ? parse.toNum(data.pitch, cur.pitch) : cur.pitch,
|
|
29
|
-
distance: "distance" in data
|
|
30
|
-
? parse.toNum(data.distance, cur.distance)
|
|
31
|
-
: cur.distance,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function applyFormOrbit(host, data) {
|
|
35
|
-
if (!host.runtime)
|
|
36
|
-
return;
|
|
37
|
-
if (!("distance" in data || "yaw" in data || "pitch" in data))
|
|
38
|
-
return;
|
|
39
|
-
const next = readOrbit(host, data);
|
|
40
|
-
const prev = host.lastFormOrbit;
|
|
41
|
-
if (!orbitChanged(prev, next))
|
|
42
|
-
return;
|
|
43
|
-
host.lastFormOrbit = next;
|
|
44
|
-
if (host.autoRotate && prev) {
|
|
45
|
-
host.autoRotate = false;
|
|
46
|
-
playback.syncAutoRotate(host);
|
|
47
|
-
}
|
|
48
|
-
host.runtime.setOrbitSpherical(next.yaw, next.pitch, next.distance);
|
|
49
|
-
host.runtime.render();
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Auto-bind form → viewer : champs `FORM_CONTROL_KEYS` sur le DP / form ancêtre.
|
|
53
|
-
*/
|
|
54
|
-
function applyFormParams(host, data) {
|
|
55
|
-
formFields.applyScalars(host, data);
|
|
56
|
-
const needReload = formFields.applyAsset(host, data);
|
|
57
|
-
if (!host.runtime) {
|
|
58
|
-
if (needReload)
|
|
59
|
-
void reload.run(host);
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
formFields.pushToRuntime(host, data);
|
|
63
|
-
applyFormOrbit(host, data);
|
|
64
|
-
postBind.applyFormPost(host, data);
|
|
65
|
-
if (needReload)
|
|
66
|
-
void reload.run(host);
|
|
67
|
-
}
|
|
68
|
-
export const formParams = { applyFormParams, applyFormOrbit };
|
|
69
|
-
//# sourceMappingURL=form-params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form-params.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/form-params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA0BlC,SAAS,YAAY,CAAC,IAAsB,EAAE,IAAe;IAC3D,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IACvB,OAAO,CACL,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,oBAAoB;QACpD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,oBAAoB;QACxD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,oBAAoB,CAC/D,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,SAAS,CAChB,IAAkB,EAClB,IAA6B;IAE7B,MAAM,GAAG,GAAG,IAAI,CAAC,OAAQ,CAAC,QAAQ,CAAC;QACjC,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/B,QAAQ,EAAE,IAAI,CAAC,QA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,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;AACxB,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CAAC,IAAkB,EAAE,IAA6B;IACxE,UAAU,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACpC,MAAM,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAErD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QAClB,IAAI,UAAU;YAAE,KAAK,MAAM,CAAC,GAAG,CAAC,IAAa,CAAC,CAAC;QAC/C,OAAO;IACT,CAAC;IAED,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACrC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,QAAQ,CAAC,aAAa,CAAC,IAAa,EAAE,IAAI,CAAC,CAAC;IAC5C,IAAI,UAAU;QAAE,KAAK,MAAM,CAAC,GAAG,CAAC,IAAa,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,eAAe,EAAE,cAAc,EAAW,CAAC"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { revokeMediaUrls } from "@supersoniks/concorde/core/utils/mediaRef";
|
|
2
|
-
import { DEFAULT_SNAPSHOT_INTERVAL_MS, MIN_SNAPSHOT_INTERVAL_MS, SNAPSHOT_JPEG_MIME, SNAPSHOT_JPEG_QUALITY, } from "./constants";
|
|
3
|
-
import { publisherFieldHasListener } from "./publisher-listen";
|
|
4
|
-
const FRAME_KEYS = ["frameUrl", "snapshot"];
|
|
5
|
-
function wantsFrameCapture(host) {
|
|
6
|
-
if (!host.outPublisher)
|
|
7
|
-
return false;
|
|
8
|
-
if (host.frameOut)
|
|
9
|
-
return true;
|
|
10
|
-
for (const key of FRAME_KEYS) {
|
|
11
|
-
if (publisherFieldHasListener(host.outPublisher, key))
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
function mediaFromBlob(canvas, blob) {
|
|
17
|
-
const url = URL.createObjectURL(blob);
|
|
18
|
-
return {
|
|
19
|
-
url,
|
|
20
|
-
blob,
|
|
21
|
-
width: canvas.width,
|
|
22
|
-
height: canvas.height,
|
|
23
|
-
mime: blob.type || SNAPSHOT_JPEG_MIME,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function canvasToMedia(canvas) {
|
|
27
|
-
return new Promise((resolve) => {
|
|
28
|
-
if (typeof canvas.toBlob !== "function") {
|
|
29
|
-
resolve(null);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
const onBlob = (blob) => {
|
|
33
|
-
if (!blob) {
|
|
34
|
-
resolve(null);
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
resolve(mediaFromBlob(canvas, blob));
|
|
38
|
-
};
|
|
39
|
-
try {
|
|
40
|
-
canvas.toBlob(onBlob, SNAPSHOT_JPEG_MIME, SNAPSHOT_JPEG_QUALITY);
|
|
41
|
-
}
|
|
42
|
-
catch {
|
|
43
|
-
resolve(null);
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function writeFrameFields(host, media) {
|
|
48
|
-
const pub = host.outPublisher;
|
|
49
|
-
if (!pub)
|
|
50
|
-
return;
|
|
51
|
-
try {
|
|
52
|
-
pub.frameUrl.set(media.url);
|
|
53
|
-
}
|
|
54
|
-
catch {
|
|
55
|
-
/* leaf manquant */
|
|
56
|
-
}
|
|
57
|
-
try {
|
|
58
|
-
pub.snapshot.set(media);
|
|
59
|
-
}
|
|
60
|
-
catch {
|
|
61
|
-
/* leaf manquant */
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Si un consommateur écoute `frameUrl` / `snapshot`, capture le canvas
|
|
66
|
-
* (throttlé, async). Révoque l’ObjectURL précédent.
|
|
67
|
-
*/
|
|
68
|
-
function maybeCapture(host, now) {
|
|
69
|
-
if (host.snapshotBusy)
|
|
70
|
-
return;
|
|
71
|
-
if (!host.runtime)
|
|
72
|
-
return;
|
|
73
|
-
if (!wantsFrameCapture(host))
|
|
74
|
-
return;
|
|
75
|
-
const interval = Math.max(MIN_SNAPSHOT_INTERVAL_MS, Number.isFinite(host.snapshotInterval) && host.snapshotInterval > 0
|
|
76
|
-
? host.snapshotInterval
|
|
77
|
-
: DEFAULT_SNAPSHOT_INTERVAL_MS);
|
|
78
|
-
if (now - host.lastSnapshotAt < interval)
|
|
79
|
-
return;
|
|
80
|
-
host.lastSnapshotAt = now;
|
|
81
|
-
host.snapshotBusy = true;
|
|
82
|
-
const seq = ++host.snapshotSeq;
|
|
83
|
-
const canvas = host.runtime.renderer.domElement;
|
|
84
|
-
void canvasToMedia(canvas).then((media) => {
|
|
85
|
-
host.snapshotBusy = false;
|
|
86
|
-
if (!media || seq !== host.snapshotSeq) {
|
|
87
|
-
if (media)
|
|
88
|
-
revokeMediaUrls([media.url]);
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
revokeMediaUrls(host.frameUrls);
|
|
92
|
-
host.frameUrls = [media.url];
|
|
93
|
-
writeFrameFields(host, media);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
function revokeAll(host) {
|
|
97
|
-
host.snapshotSeq++;
|
|
98
|
-
host.snapshotBusy = false;
|
|
99
|
-
revokeMediaUrls(host.frameUrls);
|
|
100
|
-
host.frameUrls = [];
|
|
101
|
-
}
|
|
102
|
-
export const frameCapture = {
|
|
103
|
-
wantsFrameCapture,
|
|
104
|
-
maybeCapture,
|
|
105
|
-
revokeAll,
|
|
106
|
-
FRAME_KEYS,
|
|
107
|
-
};
|
|
108
|
-
//# sourceMappingURL=frame-capture.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frame-capture.js","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CAAC,cAAc,GAAG,QAAQ;QAAE,OAAO;IACjD,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC1B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IACzB,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC;IAC/B,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;IAChD,KAAK,aAAa,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;QACxC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,IAAI,CAAC,KAAK,IAAI,GAAG,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;YACvC,IAAI,KAAK;gBAAE,eAAe,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;YACxC,OAAO;QACT,CAAC;QACD,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC7B,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,SAAS,CAAC,IAAsB;IACvC,IAAI,CAAC,WAAW,EAAE,CAAC;IACnB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;IAC1B,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAChC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,iBAAiB;IACjB,YAAY;IACZ,SAAS;IACT,UAAU;CACF,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { publisherFieldHasListener } from "./publisher-listen";
|
|
2
|
-
/**
|
|
3
|
-
* Publie `{ element: host }` une fois au ready si un lecteur écoute `frameSource`.
|
|
4
|
-
* Aucun coût pendant l’animation.
|
|
5
|
-
*/
|
|
6
|
-
function maybePublish(host) {
|
|
7
|
-
if (!host.ready)
|
|
8
|
-
return;
|
|
9
|
-
if (!host.outPublisher)
|
|
10
|
-
host.bindOutPublisher();
|
|
11
|
-
const pub = host.outPublisher;
|
|
12
|
-
if (!pub || !publisherFieldHasListener(pub, "frameSource"))
|
|
13
|
-
return;
|
|
14
|
-
try {
|
|
15
|
-
pub.frameSource?.set({ element: host });
|
|
16
|
-
}
|
|
17
|
-
catch {
|
|
18
|
-
/* leaf manquant */
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export const frameSource = { maybePublish };
|
|
22
|
-
//# sourceMappingURL=frame-source.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frame-source.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/frame-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAa/D;;;GAGG;AACH,SAAS,YAAY,CAAC,IAA+B;IACnD,IAAI,CAAC,IAAI,CAAC,KAAK;QAAE,OAAO;IACxB,IAAI,CAAC,IAAI,CAAC,YAAY;QAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAChD,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC;IAC9B,IAAI,CAAC,GAAG,IAAI,CAAC,yBAAyB,CAAC,GAAG,EAAE,aAAa,CAAC;QAAE,OAAO;IACnE,IAAI,CAAC;QACH,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1C,CAAC;IAAC,MAAM,CAAC;QACP,mBAAmB;IACrB,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,YAAY,EAAW,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
const WEBGL_UNAVAILABLE_MSG = "WebGL indisponible — sonic-3d nécessite WebGL.";
|
|
3
|
-
/** Crée un WebGLRenderer ou lève si WebGL indisponible (jsdom / GPU). */
|
|
4
|
-
export function createRenderer(canvas) {
|
|
5
|
-
const probe = document.createElement("canvas");
|
|
6
|
-
const gl = probe.getContext("webgl2") || probe.getContext("webgl");
|
|
7
|
-
if (!gl || typeof gl.getParameter !== "function") {
|
|
8
|
-
throw new Error(WEBGL_UNAVAILABLE_MSG);
|
|
9
|
-
}
|
|
10
|
-
const rendererOpts = {
|
|
11
|
-
canvas,
|
|
12
|
-
antialias: true,
|
|
13
|
-
alpha: false,
|
|
14
|
-
/**
|
|
15
|
-
* Requis pour `toBlob` / snapshot async après `render()` (pont shader via DP).
|
|
16
|
-
*/
|
|
17
|
-
preserveDrawingBuffer: true,
|
|
18
|
-
powerPreference: "high-performance",
|
|
19
|
-
};
|
|
20
|
-
let renderer;
|
|
21
|
-
try {
|
|
22
|
-
renderer = new THREE.WebGLRenderer(rendererOpts);
|
|
23
|
-
}
|
|
24
|
-
catch (err) {
|
|
25
|
-
const msg = err instanceof Error ? err.message : String(err);
|
|
26
|
-
throw new Error(`${WEBGL_UNAVAILABLE_MSG} (${msg})`);
|
|
27
|
-
}
|
|
28
|
-
if (!renderer.getContext()) {
|
|
29
|
-
renderer.dispose();
|
|
30
|
-
throw new Error(WEBGL_UNAVAILABLE_MSG);
|
|
31
|
-
}
|
|
32
|
-
return renderer;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=gl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gl.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/gl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,qBAAqB,GACzB,gDAAgD,CAAC;AAEnD,yEAAyE;AACzE,MAAM,UAAU,cAAc,CAAC,MAAyB;IACtD,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,IAAI,OAAQ,EAA4B,CAAC,YAAY,KAAK,UAAU,EAAE,CAAC;QAC5E,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,YAAY,GAAG;QACnB,MAAM;QACN,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,KAAK;QACZ;;WAEG;QACH,qBAAqB,EAAE,IAAI;QAC3B,eAAe,EAAE,kBAA2B;KAC7C,CAAC;IACF,IAAI,QAA6B,CAAC;IAClC,IAAI,CAAC;QACH,QAAQ,GAAG,IAAI,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IACnD,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,GAAG,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC7D,MAAM,IAAI,KAAK,CAAC,GAAG,qBAAqB,KAAK,GAAG,GAAG,CAAC,CAAC;IACvD,CAAC;IACD,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,EAAE,CAAC;QAC3B,QAAQ,CAAC,OAAO,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { PublisherManager } from "@supersoniks/concorde/utils";
|
|
2
|
-
import { ensure } from "./ensure";
|
|
3
|
-
import { formBind } from "./form-bind";
|
|
4
|
-
import { wantsOffscreenPlay } from "./playback";
|
|
5
|
-
function applyAspectRatio(host) {
|
|
6
|
-
const forced = host.aspectRatio.trim();
|
|
7
|
-
if (forced) {
|
|
8
|
-
host.style.setProperty("--sonic-3d-ar", forced.includes("/") ? forced : forced.replace(":", " / "));
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
host.style.removeProperty("--sonic-3d-ar");
|
|
12
|
-
}
|
|
13
|
-
function unbindFormProvider(host) {
|
|
14
|
-
if (host.formPublisher) {
|
|
15
|
-
host.formPublisher.offInternalMutation(host.onFormMutation);
|
|
16
|
-
host.formPublisher = null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function bindFormProvider(host) {
|
|
20
|
-
unbindFormProvider(host);
|
|
21
|
-
const id = formBind.resolveFormProviderId(host, host.dataProvider);
|
|
22
|
-
if (!id)
|
|
23
|
-
return;
|
|
24
|
-
host.formPublisher = PublisherManager.get(id);
|
|
25
|
-
host.formPublisher.onInternalMutation(host.onFormMutation);
|
|
26
|
-
host.onFormMutation();
|
|
27
|
-
}
|
|
28
|
-
function bindOutPublisher(host) {
|
|
29
|
-
const id = formBind.resolveOutProviderId(host, host.outDataProvider, host.dataProvider);
|
|
30
|
-
host.outPublisher = id ? PublisherManager.get(id) : null;
|
|
31
|
-
}
|
|
32
|
-
function firstUpdated(host) {
|
|
33
|
-
applyAspectRatio(host);
|
|
34
|
-
host.resizeObserver = new ResizeObserver(() => ensure.syncSize(host));
|
|
35
|
-
host.resizeObserver.observe(host);
|
|
36
|
-
host.intersectionObserver = new IntersectionObserver((entries) => {
|
|
37
|
-
host.inView = entries.some((e) => e.isIntersecting);
|
|
38
|
-
ensure.syncVisibility(host);
|
|
39
|
-
}, { threshold: 0 });
|
|
40
|
-
host.intersectionObserver.observe(host);
|
|
41
|
-
bindFormProvider(host);
|
|
42
|
-
bindOutPublisher(host);
|
|
43
|
-
requestAnimationFrame(() => {
|
|
44
|
-
if (host.inView || !host.releaseOffscreen || wantsOffscreenPlay(host)) {
|
|
45
|
-
void ensure.ensureRuntime(host);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
export const life = {
|
|
50
|
-
applyAspectRatio,
|
|
51
|
-
unbindFormProvider,
|
|
52
|
-
bindFormProvider,
|
|
53
|
-
bindOutPublisher,
|
|
54
|
-
firstUpdated,
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=life.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"life.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/life.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA+BhD,SAAS,gBAAgB,CAAC,IAAc;IACtC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IACvC,IAAI,MAAM,EAAE,CAAC;QACX,IAAI,CAAC,KAAK,CAAC,WAAW,CACpB,eAAe,EACf,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAC3D,CAAC;QACF,OAAO;IACT,CAAC;IACD,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;AAC7C,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAc;IACxC,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;QACvB,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC5D,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5B,CAAC;AACH,CAAC;AAED,SAAS,gBAAgB,CAAC,IAAc;IACtC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACzB,MAAM,EAAE,GAAG,QAAQ,CAAC,qBAAqB,CACvC,IAA8B,EAC9B,I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;IACvB,qBAAqB,CAAC,GAAG,EAAE;QACzB,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;YACtE,KAAK,MAAM,CAAC,aAAa,CAAC,IAAa,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;CACJ,CAAC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { parse } from "./parse";
|
|
2
|
-
import { demoContent } from "./demo-content";
|
|
3
|
-
import { pick } from "./pick";
|
|
4
|
-
function revokeBlob(ctx) {
|
|
5
|
-
if (ctx.blobUrl) {
|
|
6
|
-
try {
|
|
7
|
-
URL.revokeObjectURL(ctx.blobUrl);
|
|
8
|
-
}
|
|
9
|
-
catch {
|
|
10
|
-
/* ignore */
|
|
11
|
-
}
|
|
12
|
-
ctx.blobUrl = null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function clearContent(ctx) {
|
|
16
|
-
pick.clearHighlight(ctx);
|
|
17
|
-
if (!ctx.content)
|
|
18
|
-
return;
|
|
19
|
-
ctx.root.remove(ctx.content);
|
|
20
|
-
ctx.content.traverse((obj) => {
|
|
21
|
-
const mesh = obj;
|
|
22
|
-
if (mesh.isMesh) {
|
|
23
|
-
mesh.geometry?.dispose();
|
|
24
|
-
const mats = Array.isArray(mesh.material)
|
|
25
|
-
? mesh.material
|
|
26
|
-
: [mesh.material];
|
|
27
|
-
for (const m of mats)
|
|
28
|
-
m?.dispose?.();
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
ctx.content = null;
|
|
32
|
-
ctx.bbox.makeEmpty();
|
|
33
|
-
}
|
|
34
|
-
function updateBBox(ctx) {
|
|
35
|
-
ctx.bbox.makeEmpty();
|
|
36
|
-
if (ctx.content)
|
|
37
|
-
ctx.bbox.setFromObject(ctx.content);
|
|
38
|
-
}
|
|
39
|
-
function applyMorphTargets(root, weights) {
|
|
40
|
-
root.traverse((obj) => {
|
|
41
|
-
const mesh = obj;
|
|
42
|
-
if (!mesh.isMesh || !mesh.morphTargetDictionary || !mesh.morphTargetInfluences)
|
|
43
|
-
return;
|
|
44
|
-
for (const [name, w] of Object.entries(weights)) {
|
|
45
|
-
const idx = mesh.morphTargetDictionary[name];
|
|
46
|
-
if (idx !== undefined) {
|
|
47
|
-
mesh.morphTargetInfluences[idx] = w;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Charge un asset (URL / blob) ou affiche le cube de démo si vide.
|
|
54
|
-
* Retourne `{ ready, error }` ; lève si load échoue après fallback démo.
|
|
55
|
-
*/
|
|
56
|
-
async function asset(ctx, asset, token, isCurrent) {
|
|
57
|
-
clearContent(ctx);
|
|
58
|
-
try {
|
|
59
|
-
let url = asset?.url?.trim() ?? "";
|
|
60
|
-
if (!url && asset?.blob) {
|
|
61
|
-
revokeBlob(ctx);
|
|
62
|
-
ctx.blobUrl = URL.createObjectURL(asset.blob);
|
|
63
|
-
url = ctx.blobUrl;
|
|
64
|
-
}
|
|
65
|
-
if (!url) {
|
|
66
|
-
ctx.content = demoContent.create();
|
|
67
|
-
ctx.root.add(ctx.content);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
const kind = asset?.kind ?? parse.guessKind(url);
|
|
71
|
-
if (kind === "obj" || kind === "ply") {
|
|
72
|
-
throw new Error(`Format "${kind}" non supporté en V1 — utilisez glTF/GLB.`);
|
|
73
|
-
}
|
|
74
|
-
const gltf = await ctx.loader.loadAsync(url);
|
|
75
|
-
if (!isCurrent(token))
|
|
76
|
-
return { ready: false, error: null };
|
|
77
|
-
ctx.content = gltf.scene;
|
|
78
|
-
ctx.root.add(ctx.content);
|
|
79
|
-
if (asset?.morphTargets) {
|
|
80
|
-
applyMorphTargets(ctx.content, asset.morphTargets);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
if (!isCurrent(token))
|
|
84
|
-
return { ready: false, error: null };
|
|
85
|
-
updateBBox(ctx);
|
|
86
|
-
if (ctx.fitEnabled)
|
|
87
|
-
ctx.fitToContent();
|
|
88
|
-
return { ready: true, error: null };
|
|
89
|
-
}
|
|
90
|
-
catch (err) {
|
|
91
|
-
if (!isCurrent(token))
|
|
92
|
-
return { ready: false, error: null };
|
|
93
|
-
const error = err instanceof Error ? err.message : String(err);
|
|
94
|
-
ctx.content = demoContent.create();
|
|
95
|
-
ctx.root.add(ctx.content);
|
|
96
|
-
updateBBox(ctx);
|
|
97
|
-
if (ctx.fitEnabled)
|
|
98
|
-
ctx.fitToContent();
|
|
99
|
-
throw err instanceof Error ? err : new Error(error);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export const load = {
|
|
103
|
-
asset,
|
|
104
|
-
applyMorphTargets,
|
|
105
|
-
clearContent,
|
|
106
|
-
updateBBox,
|
|
107
|
-
revokeBlob,
|
|
108
|
-
};
|
|
109
|
-
//# sourceMappingURL=load.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../../../../src/core/components/functional/3d/load.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAqB,MAAM,QAAQ,CAAC;AAYjD,SAAS,UAAU,CAAC,GAA+B;IACjD,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,IAAI,CAAC;YACH,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACnC,CAAC;QAAC,MAAM,CAAC;YACP,YAAY;QACd,CAAC;QACD,GAAG,CAAC,OAAO,G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