@supersoniks/concorde 4.9.96 → 4.9.97-visual-stack.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 +34 -17
- package/build-infos.json +1 -1
- package/concorde-3d.bundle.js +3911 -0
- package/concorde-3d.es.js +32635 -0
- package/concorde-core.bundle.js +147 -147
- package/concorde-core.es.js +4375 -4282
- package/concorde-hugging-face-infer.bundle.js +32 -0
- package/concorde-hugging-face-infer.es.js +2952 -0
- package/concorde-shader.bundle.js +105 -0
- package/concorde-shader.es.js +7982 -0
- package/concorde-webgpu.bundle.js +296 -0
- package/concorde-webgpu.es.js +8268 -0
- package/dist/concorde-3d.bundle.js +3911 -0
- package/dist/concorde-3d.es.js +32635 -0
- package/dist/concorde-core.bundle.js +147 -147
- package/dist/concorde-core.es.js +4375 -4282
- package/dist/concorde-hugging-face-infer.bundle.js +32 -0
- package/dist/concorde-hugging-face-infer.es.js +2952 -0
- package/dist/concorde-shader.bundle.js +105 -0
- package/dist/concorde-shader.es.js +7982 -0
- package/dist/concorde-webgpu.bundle.js +296 -0
- package/dist/concorde-webgpu.es.js +8268 -0
- 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 +6 -0
- package/dist/js/addons/3d.js.map +1 -0
- package/dist/js/addons/hugging-face-infer.js +8 -0
- package/dist/js/addons/hugging-face-infer.js.map +1 -0
- package/dist/js/addons/shader.js +6 -0
- package/dist/js/addons/shader.js.map +1 -0
- package/dist/js/addons/webgpu.js +7 -0
- package/dist/js/addons/webgpu.js.map +1 -0
- package/dist/js/components.js +12 -0
- package/dist/js/components.js.map +1 -0
- package/dist/js/concorde-loaded.js +5 -0
- package/dist/js/concorde-loaded.js.map +1 -0
- package/dist/js/core/_types/endpoint.js +5 -0
- package/dist/js/core/_types/endpoint.js.map +1 -0
- package/dist/js/core/_types/key.js +2 -0
- package/dist/js/core/_types/key.js.map +1 -0
- package/dist/js/core/_types/types.js +3 -0
- package/dist/js/core/_types/types.js.map +1 -0
- package/dist/js/core/components/functional/3d/3d.js +151 -0
- package/dist/js/core/components/functional/3d/3d.js.map +1 -0
- package/dist/js/core/components/functional/3d/asset.js +20 -0
- package/dist/js/core/components/functional/3d/asset.js.map +1 -0
- package/dist/js/core/components/functional/3d/boot.js +47 -0
- package/dist/js/core/components/functional/3d/boot.js.map +1 -0
- package/dist/js/core/components/functional/3d/constants.js +88 -0
- package/dist/js/core/components/functional/3d/constants.js.map +1 -0
- package/dist/js/core/components/functional/3d/demo-content.js +38 -0
- package/dist/js/core/components/functional/3d/demo-content.js.map +1 -0
- package/dist/js/core/components/functional/3d/ensure.js +73 -0
- package/dist/js/core/components/functional/3d/ensure.js.map +1 -0
- package/dist/js/core/components/functional/3d/form-bind.js +25 -0
- package/dist/js/core/components/functional/3d/form-bind.js.map +1 -0
- package/dist/js/core/components/functional/3d/form-fields.js +76 -0
- package/dist/js/core/components/functional/3d/form-fields.js.map +1 -0
- package/dist/js/core/components/functional/3d/form-params.js +67 -0
- package/dist/js/core/components/functional/3d/form-params.js.map +1 -0
- package/dist/js/core/components/functional/3d/frame-capture.js +108 -0
- package/dist/js/core/components/functional/3d/frame-capture.js.map +1 -0
- package/dist/js/core/components/functional/3d/gl.js +34 -0
- package/dist/js/core/components/functional/3d/gl.js.map +1 -0
- package/dist/js/core/components/functional/3d/life.js +55 -0
- package/dist/js/core/components/functional/3d/life.js.map +1 -0
- package/dist/js/core/components/functional/3d/load.js +109 -0
- package/dist/js/core/components/functional/3d/load.js.map +1 -0
- package/dist/js/core/components/functional/3d/ops.js +78 -0
- package/dist/js/core/components/functional/3d/ops.js.map +1 -0
- package/dist/js/core/components/functional/3d/opts.js +2 -0
- package/dist/js/core/components/functional/3d/opts.js.map +1 -0
- package/dist/js/core/components/functional/3d/orbit.js +136 -0
- package/dist/js/core/components/functional/3d/orbit.js.map +1 -0
- package/dist/js/core/components/functional/3d/out-publish.js +103 -0
- package/dist/js/core/components/functional/3d/out-publish.js.map +1 -0
- package/dist/js/core/components/functional/3d/parse.js +95 -0
- package/dist/js/core/components/functional/3d/parse.js.map +1 -0
- package/dist/js/core/components/functional/3d/pick.js +62 -0
- package/dist/js/core/components/functional/3d/pick.js.map +1 -0
- package/dist/js/core/components/functional/3d/playback.js +56 -0
- package/dist/js/core/components/functional/3d/playback.js.map +1 -0
- package/dist/js/core/components/functional/3d/pointer.js +58 -0
- package/dist/js/core/components/functional/3d/pointer.js.map +1 -0
- package/dist/js/core/components/functional/3d/props.js +105 -0
- package/dist/js/core/components/functional/3d/props.js.map +1 -0
- package/dist/js/core/components/functional/3d/publisher-listen.js +6 -0
- package/dist/js/core/components/functional/3d/publisher-listen.js.map +1 -0
- package/dist/js/core/components/functional/3d/reload.js +60 -0
- package/dist/js/core/components/functional/3d/reload.js.map +1 -0
- package/dist/js/core/components/functional/3d/runtime.js +116 -0
- package/dist/js/core/components/functional/3d/runtime.js.map +1 -0
- package/dist/js/core/components/functional/3d/scene-runtime.js +6 -0
- package/dist/js/core/components/functional/3d/scene-runtime.js.map +1 -0
- package/dist/js/core/components/functional/3d/snapshot.js +47 -0
- package/dist/js/core/components/functional/3d/snapshot.js.map +1 -0
- package/dist/js/core/components/functional/3d/styles.js +38 -0
- package/dist/js/core/components/functional/3d/styles.js.map +1 -0
- package/dist/js/core/components/functional/3d/tune.js +42 -0
- package/dist/js/core/components/functional/3d/tune.js.map +1 -0
- package/dist/js/core/components/functional/3d/types.js +8 -0
- package/dist/js/core/components/functional/3d/types.js.map +1 -0
- package/dist/js/core/components/functional/3d/updated.js +58 -0
- package/dist/js/core/components/functional/3d/updated.js.map +1 -0
- package/dist/js/core/components/functional/3d/view.js +40 -0
- package/dist/js/core/components/functional/3d/view.js.map +1 -0
- package/dist/js/core/components/functional/3d/wire.js +34 -0
- package/dist/js/core/components/functional/3d/wire.js.map +1 -0
- package/dist/js/core/components/functional/date/date.js +272 -0
- package/dist/js/core/components/functional/date/date.js.map +1 -0
- package/dist/js/core/components/functional/example/example.js +44 -0
- package/dist/js/core/components/functional/example/example.js.map +1 -0
- package/dist/js/core/components/functional/fetch/fetch.js +79 -0
- package/dist/js/core/components/functional/fetch/fetch.js.map +1 -0
- package/dist/js/core/components/functional/functional.js +18 -0
- package/dist/js/core/components/functional/functional.js.map +1 -0
- package/dist/js/core/components/functional/if/if.js +39 -0
- package/dist/js/core/components/functional/if/if.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-cache.js +183 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-cache.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-config.js +50 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-config.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-controller.js +460 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-controller.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-engine.js +116 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-engine.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-input.js +170 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-input.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-protocol.js +2 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-protocol.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-registry.js +367 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-registry.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-schema.js +288 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-schema.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-worker-runtime.js +309 -0
- package/dist/js/core/components/functional/infer/hugging-face/hf-worker-runtime.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face-infer.js +213 -0
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face-infer.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face.js +76 -0
- package/dist/js/core/components/functional/infer/hugging-face/hugging-face.js.map +1 -0
- package/dist/js/core/components/functional/infer/hugging-face/types.js +62 -0
- package/dist/js/core/components/functional/infer/hugging-face/types.js.map +1 -0
- package/dist/js/core/components/functional/jsonata/jsonata.js +119 -0
- package/dist/js/core/components/functional/jsonata/jsonata.js.map +1 -0
- package/dist/js/core/components/functional/list/list.js +341 -0
- package/dist/js/core/components/functional/list/list.js.map +1 -0
- package/dist/js/core/components/functional/mix/mix.js +103 -0
- package/dist/js/core/components/functional/mix/mix.js.map +1 -0
- package/dist/js/core/components/functional/queue/queue.js +450 -0
- package/dist/js/core/components/functional/queue/queue.js.map +1 -0
- package/dist/js/core/components/functional/router/redirect.js +54 -0
- package/dist/js/core/components/functional/router/redirect.js.map +1 -0
- package/dist/js/core/components/functional/router/router.js +179 -0
- package/dist/js/core/components/functional/router/router.js.map +1 -0
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +216 -0
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +1 -0
- package/dist/js/core/components/functional/sdui/default-library.json +108 -0
- package/dist/js/core/components/functional/sdui/sdui-utils.js +64 -0
- package/dist/js/core/components/functional/sdui/sdui-utils.js.map +1 -0
- package/dist/js/core/components/functional/sdui/sdui.js +271 -0
- package/dist/js/core/components/functional/sdui/sdui.js.map +1 -0
- package/dist/js/core/components/functional/sdui/types.js +2 -0
- package/dist/js/core/components/functional/sdui/types.js.map +1 -0
- package/dist/js/core/components/functional/shader/gl-runtime.js +603 -0
- package/dist/js/core/components/functional/shader/gl-runtime.js.map +1 -0
- package/dist/js/core/components/functional/shader/shader.js +1593 -0
- package/dist/js/core/components/functional/shader/shader.js.map +1 -0
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js +48 -0
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js.map +1 -0
- package/dist/js/core/components/functional/shader/types.js +179 -0
- package/dist/js/core/components/functional/shader/types.js.map +1 -0
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +22 -0
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +1 -0
- package/dist/js/core/components/functional/states/states.js +172 -0
- package/dist/js/core/components/functional/states/states.js.map +1 -0
- package/dist/js/core/components/functional/submit/submit.js +284 -0
- package/dist/js/core/components/functional/submit/submit.js.map +1 -0
- package/dist/js/core/components/functional/subscriber/subscriber.js +39 -0
- package/dist/js/core/components/functional/subscriber/subscriber.js.map +1 -0
- package/dist/js/core/components/functional/translation/translation.js +28 -0
- package/dist/js/core/components/functional/translation/translation.js.map +1 -0
- package/dist/js/core/components/functional/value/value.js +28 -0
- package/dist/js/core/components/functional/value/value.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/canvas2d-fallback.js +117 -0
- package/dist/js/core/components/functional/webgpu/canvas2d-fallback.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/form-bind.js +92 -0
- package/dist/js/core/components/functional/webgpu/form-bind.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/gl-fallback.js +135 -0
- package/dist/js/core/components/functional/webgpu/gl-fallback.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js +305 -0
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/helpers.js +44 -0
- package/dist/js/core/components/functional/webgpu/helpers.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/out-frame.js +117 -0
- package/dist/js/core/components/functional/webgpu/out-frame.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/particles-runtime.js +407 -0
- package/dist/js/core/components/functional/webgpu/particles-runtime.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/pointer.js +56 -0
- package/dist/js/core/components/functional/webgpu/pointer.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/types.js +24 -0
- package/dist/js/core/components/functional/webgpu/types.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/webgpu.js +667 -0
- package/dist/js/core/components/functional/webgpu/webgpu.js.map +1 -0
- package/dist/js/core/components/functional/webgpu/wgsl-prelude.js +77 -0
- package/dist/js/core/components/functional/webgpu/wgsl-prelude.js.map +1 -0
- package/dist/js/core/components/ui/_css/scroll.js +27 -0
- package/dist/js/core/components/ui/_css/scroll.js.map +1 -0
- package/dist/js/core/components/ui/_css/shadow.js +22 -0
- package/dist/js/core/components/ui/_css/shadow.js.map +1 -0
- package/dist/js/core/components/ui/_css/size.js +36 -0
- package/dist/js/core/components/ui/_css/size.js.map +1 -0
- package/dist/js/core/components/ui/_css/type.js +92 -0
- package/dist/js/core/components/ui/_css/type.js.map +1 -0
- package/dist/js/core/components/ui/alert/alert.js +213 -0
- package/dist/js/core/components/ui/alert/alert.js.map +1 -0
- package/dist/js/core/components/ui/alert-messages/alert-messages.js +68 -0
- package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +1 -0
- package/dist/js/core/components/ui/badge/badge.js +199 -0
- package/dist/js/core/components/ui/badge/badge.js.map +1 -0
- package/dist/js/core/components/ui/button/button.js +697 -0
- package/dist/js/core/components/ui/button/button.js.map +1 -0
- package/dist/js/core/components/ui/captcha/altchaStyles.js +226 -0
- package/dist/js/core/components/ui/captcha/altchaStyles.js.map +1 -0
- package/dist/js/core/components/ui/captcha/captcha.js +167 -0
- package/dist/js/core/components/ui/captcha/captcha.js.map +1 -0
- package/dist/js/core/components/ui/card/card-footer.js +26 -0
- package/dist/js/core/components/ui/card/card-footer.js.map +1 -0
- package/dist/js/core/components/ui/card/card-header-descripton.js +30 -0
- package/dist/js/core/components/ui/card/card-header-descripton.js.map +1 -0
- package/dist/js/core/components/ui/card/card-header.js +79 -0
- package/dist/js/core/components/ui/card/card-header.js.map +1 -0
- package/dist/js/core/components/ui/card/card-main.js +26 -0
- package/dist/js/core/components/ui/card/card-main.js.map +1 -0
- package/dist/js/core/components/ui/card/card.js +67 -0
- package/dist/js/core/components/ui/card/card.js.map +1 -0
- package/dist/js/core/components/ui/divider/divider.js +200 -0
- package/dist/js/core/components/ui/divider/divider.js.map +1 -0
- package/dist/js/core/components/ui/form/checkbox/checkbox.js +257 -0
- package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +1 -0
- package/dist/js/core/components/ui/form/css/form-control.js +393 -0
- package/dist/js/core/components/ui/form/css/form-control.js.map +1 -0
- package/dist/js/core/components/ui/form/fieldset/fieldset.js +124 -0
- package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +1 -0
- package/dist/js/core/components/ui/form/fieldset/legend-description.js +38 -0
- package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +1 -0
- package/dist/js/core/components/ui/form/fieldset/legend.js +130 -0
- package/dist/js/core/components/ui/form/fieldset/legend.js.map +1 -0
- package/dist/js/core/components/ui/form/form-actions/form-actions.js +47 -0
- package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +1 -0
- package/dist/js/core/components/ui/form/form-layout/form-layout.js +84 -0
- package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +1 -0
- package/dist/js/core/components/ui/form/input/input.js +316 -0
- package/dist/js/core/components/ui/form/input/input.js.map +1 -0
- package/dist/js/core/components/ui/form/input/password-helper.js +134 -0
- package/dist/js/core/components/ui/form/input/password-helper.js.map +1 -0
- package/dist/js/core/components/ui/form/input/same-value-helper.js +85 -0
- package/dist/js/core/components/ui/form/input/same-value-helper.js.map +1 -0
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +405 -0
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +1 -0
- package/dist/js/core/components/ui/form/radio/radio.js +63 -0
- package/dist/js/core/components/ui/form/radio/radio.js.map +1 -0
- package/dist/js/core/components/ui/form/select/select.js +323 -0
- package/dist/js/core/components/ui/form/select/select.js.map +1 -0
- package/dist/js/core/components/ui/form/switch/switch.js +90 -0
- package/dist/js/core/components/ui/form/switch/switch.js.map +1 -0
- package/dist/js/core/components/ui/form/textarea/textarea.js +162 -0
- package/dist/js/core/components/ui/form/textarea/textarea.js.map +1 -0
- package/dist/js/core/components/ui/group/group.js +128 -0
- package/dist/js/core/components/ui/group/group.js.map +1 -0
- package/dist/js/core/components/ui/icon/icon.js +145 -0
- package/dist/js/core/components/ui/icon/icon.js.map +1 -0
- package/dist/js/core/components/ui/icon/icons.js +184 -0
- package/dist/js/core/components/ui/icon/icons.js.map +1 -0
- package/dist/js/core/components/ui/icon/icons.json +1 -0
- package/dist/js/core/components/ui/image/image.js +160 -0
- package/dist/js/core/components/ui/image/image.js.map +1 -0
- package/dist/js/core/components/ui/link/link.js +125 -0
- package/dist/js/core/components/ui/link/link.js.map +1 -0
- package/dist/js/core/components/ui/loader/loader.js +106 -0
- package/dist/js/core/components/ui/loader/loader.js.map +1 -0
- package/dist/js/core/components/ui/loader/styles/fixed.js +56 -0
- package/dist/js/core/components/ui/loader/styles/fixed.js.map +1 -0
- package/dist/js/core/components/ui/loader/styles/inline.js +70 -0
- package/dist/js/core/components/ui/loader/styles/inline.js.map +1 -0
- package/dist/js/core/components/ui/menu/menu-item.js +35 -0
- package/dist/js/core/components/ui/menu/menu-item.js.map +1 -0
- package/dist/js/core/components/ui/menu/menu.js +436 -0
- package/dist/js/core/components/ui/menu/menu.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-actions.js +44 -0
- package/dist/js/core/components/ui/modal/modal-actions.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-close.js +56 -0
- package/dist/js/core/components/ui/modal/modal-close.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-content.js +27 -0
- package/dist/js/core/components/ui/modal/modal-content.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-subtitle.js +34 -0
- package/dist/js/core/components/ui/modal/modal-subtitle.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-title.js +35 -0
- package/dist/js/core/components/ui/modal/modal-title.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal-utils.js +32 -0
- package/dist/js/core/components/ui/modal/modal-utils.js.map +1 -0
- package/dist/js/core/components/ui/modal/modal.js +568 -0
- package/dist/js/core/components/ui/modal/modal.js.map +1 -0
- package/dist/js/core/components/ui/pop/pop.js +337 -0
- package/dist/js/core/components/ui/pop/pop.js.map +1 -0
- package/dist/js/core/components/ui/progress/progress.js +164 -0
- package/dist/js/core/components/ui/progress/progress.js.map +1 -0
- package/dist/js/core/components/ui/table/table-caption.js +29 -0
- package/dist/js/core/components/ui/table/table-caption.js.map +1 -0
- package/dist/js/core/components/ui/table/table-tbody.js +41 -0
- package/dist/js/core/components/ui/table/table-tbody.js.map +1 -0
- package/dist/js/core/components/ui/table/table-td.js +69 -0
- package/dist/js/core/components/ui/table/table-td.js.map +1 -0
- package/dist/js/core/components/ui/table/table-tfoot.js +28 -0
- package/dist/js/core/components/ui/table/table-tfoot.js.map +1 -0
- package/dist/js/core/components/ui/table/table-th.js +80 -0
- package/dist/js/core/components/ui/table/table-th.js.map +1 -0
- package/dist/js/core/components/ui/table/table-thead.js +26 -0
- package/dist/js/core/components/ui/table/table-thead.js.map +1 -0
- package/dist/js/core/components/ui/table/table-tr.js +67 -0
- package/dist/js/core/components/ui/table/table-tr.js.map +1 -0
- package/dist/js/core/components/ui/table/table.js +106 -0
- package/dist/js/core/components/ui/table/table.js.map +1 -0
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +74 -0
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +1 -0
- package/dist/js/core/components/ui/theme/theme-collection/dark.js +39 -0
- package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +1 -0
- package/dist/js/core/components/ui/theme/theme-collection/light.js +32 -0
- package/dist/js/core/components/ui/theme/theme-collection/light.js.map +1 -0
- package/dist/js/core/components/ui/theme/theme.js +150 -0
- package/dist/js/core/components/ui/theme/theme.js.map +1 -0
- package/dist/js/core/components/ui/toast/message-subscriber.js +41 -0
- package/dist/js/core/components/ui/toast/message-subscriber.js.map +1 -0
- package/dist/js/core/components/ui/toast/toast-item.js +379 -0
- package/dist/js/core/components/ui/toast/toast-item.js.map +1 -0
- package/dist/js/core/components/ui/toast/toast.js +269 -0
- package/dist/js/core/components/ui/toast/toast.js.map +1 -0
- package/dist/js/core/components/ui/toast/types.js +2 -0
- package/dist/js/core/components/ui/toast/types.js.map +1 -0
- package/dist/js/core/components/ui/tooltip/tooltip.js +219 -0
- package/dist/js/core/components/ui/tooltip/tooltip.js.map +1 -0
- package/dist/js/core/components/ui/ui.js +41 -0
- package/dist/js/core/components/ui/ui.js.map +1 -0
- package/dist/js/core/core.js +14 -0
- package/dist/js/core/core.js.map +1 -0
- package/dist/js/core/decorators/Subscriber.js +10 -0
- package/dist/js/core/decorators/Subscriber.js.map +1 -0
- package/dist/js/core/decorators/api.js +806 -0
- package/dist/js/core/decorators/api.js.map +1 -0
- package/dist/js/core/decorators/lifecycle.js +67 -0
- package/dist/js/core/decorators/lifecycle.js.map +1 -0
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js +27 -0
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +1 -0
- package/dist/js/core/decorators/subscriber/autoFill.js +26 -0
- package/dist/js/core/decorators/subscriber/autoFill.js.map +1 -0
- package/dist/js/core/decorators/subscriber/autoSubscribe.js +46 -0
- package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +1 -0
- package/dist/js/core/decorators/subscriber/bind.js +150 -0
- package/dist/js/core/decorators/subscriber/bind.js.map +1 -0
- package/dist/js/core/decorators/subscriber/common.js +44 -0
- package/dist/js/core/decorators/subscriber/common.js.map +1 -0
- package/dist/js/core/decorators/subscriber/derive.js +60 -0
- package/dist/js/core/decorators/subscriber/derive.js.map +1 -0
- package/dist/js/core/decorators/subscriber/dynamicPath.js +75 -0
- package/dist/js/core/decorators/subscriber/dynamicPath.js.map +1 -0
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +138 -0
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +1 -0
- package/dist/js/core/decorators/subscriber/handle.js +22 -0
- package/dist/js/core/decorators/subscriber/handle.js.map +1 -0
- package/dist/js/core/decorators/subscriber/onAssign.js +199 -0
- package/dist/js/core/decorators/subscriber/onAssign.js.map +1 -0
- package/dist/js/core/decorators/subscriber/publish.js +108 -0
- package/dist/js/core/decorators/subscriber/publish.js.map +1 -0
- package/dist/js/core/decorators/subscriber/publisherPath.js +16 -0
- package/dist/js/core/decorators/subscriber/publisherPath.js.map +1 -0
- package/dist/js/core/decorators/subscriber/subscribe.js +20 -0
- package/dist/js/core/decorators/subscriber/subscribe.js.map +1 -0
- package/dist/js/core/directives/DataProvider.js +127 -0
- package/dist/js/core/directives/DataProvider.js.map +1 -0
- package/dist/js/core/directives/Wording.js +221 -0
- package/dist/js/core/directives/Wording.js.map +1 -0
- package/dist/js/core/mixins/Fetcher.js +325 -0
- package/dist/js/core/mixins/Fetcher.js.map +1 -0
- package/dist/js/core/mixins/FormCheckable.js +313 -0
- package/dist/js/core/mixins/FormCheckable.js.map +1 -0
- package/dist/js/core/mixins/FormElement.js +304 -0
- package/dist/js/core/mixins/FormElement.js.map +1 -0
- package/dist/js/core/mixins/FormInput.js +82 -0
- package/dist/js/core/mixins/FormInput.js.map +1 -0
- package/dist/js/core/mixins/Subscriber.js +354 -0
- package/dist/js/core/mixins/Subscriber.js.map +1 -0
- package/dist/js/core/mixins/TemplatesContainer.js +70 -0
- package/dist/js/core/mixins/TemplatesContainer.js.map +1 -0
- package/dist/js/core/mixins/mixins.js +7 -0
- package/dist/js/core/mixins/mixins.js.map +1 -0
- package/dist/js/core/utils/AncestorAttributeObserver.js +140 -0
- package/dist/js/core/utils/AncestorAttributeObserver.js.map +1 -0
- package/dist/js/core/utils/Arrays.js +141 -0
- package/dist/js/core/utils/Arrays.js.map +1 -0
- package/dist/js/core/utils/DataBindObserver.js +265 -0
- package/dist/js/core/utils/DataBindObserver.js.map +1 -0
- package/dist/js/core/utils/Electron.js +14 -0
- package/dist/js/core/utils/Electron.js.map +1 -0
- package/dist/js/core/utils/Format.js +43 -0
- package/dist/js/core/utils/Format.js.map +1 -0
- package/dist/js/core/utils/HTML.js +307 -0
- package/dist/js/core/utils/HTML.js.map +1 -0
- package/dist/js/core/utils/LocationHandler.js +143 -0
- package/dist/js/core/utils/LocationHandler.js.map +1 -0
- package/dist/js/core/utils/Objects.js +111 -0
- package/dist/js/core/utils/Objects.js.map +1 -0
- package/dist/js/core/utils/PublisherProxy.js +970 -0
- package/dist/js/core/utils/PublisherProxy.js.map +1 -0
- package/dist/js/core/utils/SafariScrollGuard.js +384 -0
- package/dist/js/core/utils/SafariScrollGuard.js.map +1 -0
- package/dist/js/core/utils/Utils.js +19 -0
- package/dist/js/core/utils/Utils.js.map +1 -0
- package/dist/js/core/utils/aesCrypto.js +98 -0
- package/dist/js/core/utils/aesCrypto.js.map +1 -0
- package/dist/js/core/utils/api.js +595 -0
- package/dist/js/core/utils/api.js.map +1 -0
- package/dist/js/core/utils/dataProviderKey.js +64 -0
- package/dist/js/core/utils/dataProviderKey.js.map +1 -0
- package/dist/js/core/utils/derive.js +246 -0
- package/dist/js/core/utils/derive.js.map +1 -0
- package/dist/js/core/utils/endpoint.js +74 -0
- package/dist/js/core/utils/endpoint.js.map +1 -0
- package/dist/js/core/utils/jsonataHelpers.js +84 -0
- package/dist/js/core/utils/jsonataHelpers.js.map +1 -0
- package/dist/js/core/utils/jsonataRuntime.js +75 -0
- package/dist/js/core/utils/jsonataRuntime.js.map +1 -0
- package/dist/js/core/utils/mediaRef.js +120 -0
- package/dist/js/core/utils/mediaRef.js.map +1 -0
- package/dist/js/core/utils/route.js +149 -0
- package/dist/js/core/utils/route.js.map +1 -0
- package/dist/js/core/utils/similarity.js +44 -0
- package/dist/js/core/utils/similarity.js.map +1 -0
- package/dist/js/core/utils/url-pattern.js +3 -0
- package/dist/js/core/utils/url-pattern.js.map +1 -0
- package/dist/js/dataprovider.js +2 -0
- package/dist/js/dataprovider.js.map +1 -0
- package/dist/js/decorators.js +43 -0
- package/dist/js/decorators.js.map +1 -0
- package/dist/js/directives.js +30 -0
- package/dist/js/directives.js.map +1 -0
- package/dist/js/index.js +8 -0
- package/dist/js/index.js.map +1 -0
- package/dist/js/mixins.js +23 -0
- package/dist/js/mixins.js.map +1 -0
- package/dist/js/test-utils/TestUtils.js +10 -0
- package/dist/js/test-utils/TestUtils.js.map +1 -0
- package/dist/js/utils.js +46 -0
- package/dist/js/utils.js.map +1 -0
- package/dist/types/addons/3d.d.ts +6 -0
- package/dist/types/addons/3d.d.ts.map +1 -0
- package/dist/types/addons/hugging-face-infer.d.ts +8 -0
- package/dist/types/addons/hugging-face-infer.d.ts.map +1 -0
- package/dist/types/addons/shader.d.ts +6 -0
- package/dist/types/addons/shader.d.ts.map +1 -0
- package/dist/types/addons/webgpu.d.ts +7 -0
- package/dist/types/addons/webgpu.d.ts.map +1 -0
- package/dist/types/components.d.ts +5 -0
- package/dist/types/components.d.ts.map +1 -0
- package/dist/types/concorde-loaded.d.ts +2 -0
- package/dist/types/concorde-loaded.d.ts.map +1 -0
- package/dist/types/core/_types/endpoint.d.ts +5 -0
- package/dist/types/core/_types/endpoint.d.ts.map +1 -0
- package/dist/types/core/_types/key.d.ts +2 -0
- package/dist/types/core/_types/key.d.ts.map +1 -0
- package/dist/types/core/_types/types.d.ts +28 -0
- package/dist/types/core/_types/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/3d.d.ts +66 -0
- package/dist/types/core/components/functional/3d/3d.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/asset.d.ts +12 -0
- package/dist/types/core/components/functional/3d/asset.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/boot.d.ts +23 -0
- package/dist/types/core/components/functional/3d/boot.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/constants.d.ts +43 -0
- package/dist/types/core/components/functional/3d/constants.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/demo-content.d.ts +10 -0
- package/dist/types/core/components/functional/3d/demo-content.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/ensure.d.ts +36 -0
- package/dist/types/core/components/functional/3d/ensure.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/form-bind.d.ts +20 -0
- package/dist/types/core/components/functional/3d/form-bind.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/form-fields.d.ts +14 -0
- package/dist/types/core/components/functional/3d/form-fields.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/form-params.d.ts +37 -0
- package/dist/types/core/components/functional/3d/form-params.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/frame-capture.d.ts +33 -0
- package/dist/types/core/components/functional/3d/frame-capture.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/gl.d.ts +4 -0
- package/dist/types/core/components/functional/3d/gl.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/life.d.ts +41 -0
- package/dist/types/core/components/functional/3d/life.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/load.d.ts +36 -0
- package/dist/types/core/components/functional/3d/load.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/ops.d.ts +48 -0
- package/dist/types/core/components/functional/3d/ops.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/opts.d.ts +16 -0
- package/dist/types/core/components/functional/3d/opts.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/orbit.d.ts +55 -0
- package/dist/types/core/components/functional/3d/orbit.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/out-publish.d.ts +47 -0
- package/dist/types/core/components/functional/3d/out-publish.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/parse.d.ts +23 -0
- package/dist/types/core/components/functional/3d/parse.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/pick.d.ts +32 -0
- package/dist/types/core/components/functional/3d/pick.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/playback.d.ts +26 -0
- package/dist/types/core/components/functional/3d/playback.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/pointer.d.ts +27 -0
- package/dist/types/core/components/functional/3d/pointer.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/props.d.ts +30 -0
- package/dist/types/core/components/functional/3d/props.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/publisher-listen.d.ts +8 -0
- package/dist/types/core/components/functional/3d/publisher-listen.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/reload.d.ts +35 -0
- package/dist/types/core/components/functional/3d/reload.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/runtime.d.ts +75 -0
- package/dist/types/core/components/functional/3d/runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts +6 -0
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/snapshot.d.ts +29 -0
- package/dist/types/core/components/functional/3d/snapshot.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/styles.d.ts +2 -0
- package/dist/types/core/components/functional/3d/styles.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/tune.d.ts +32 -0
- package/dist/types/core/components/functional/3d/tune.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/types.d.ts +133 -0
- package/dist/types/core/components/functional/3d/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/updated.d.ts +7 -0
- package/dist/types/core/components/functional/3d/updated.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/view.d.ts +25 -0
- package/dist/types/core/components/functional/3d/view.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/wire.d.ts +32 -0
- package/dist/types/core/components/functional/3d/wire.d.ts.map +1 -0
- package/dist/types/core/components/functional/date/date.d.ts +52 -0
- package/dist/types/core/components/functional/date/date.d.ts.map +1 -0
- package/dist/types/core/components/functional/example/example.d.ts +15 -0
- package/dist/types/core/components/functional/example/example.d.ts.map +1 -0
- package/dist/types/core/components/functional/fetch/fetch.d.ts +102 -0
- package/dist/types/core/components/functional/fetch/fetch.d.ts.map +1 -0
- package/dist/types/core/components/functional/functional.d.ts +18 -0
- package/dist/types/core/components/functional/functional.d.ts.map +1 -0
- package/dist/types/core/components/functional/if/if.d.ts +13 -0
- package/dist/types/core/components/functional/if/if.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-cache.d.ts +21 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-cache.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-config.d.ts +133 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-config.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-controller.d.ts +79 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-controller.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-engine.d.ts +43 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-engine.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-input.d.ts +47 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-input.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-protocol.d.ts +95 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-protocol.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-registry.d.ts +77 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-registry.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-schema.d.ts +1251 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-schema.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-worker-runtime.d.ts +56 -0
- package/dist/types/core/components/functional/infer/hugging-face/hf-worker-runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face-infer.d.ts +67 -0
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face-infer.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face.d.ts +116 -0
- package/dist/types/core/components/functional/infer/hugging-face/hugging-face.d.ts.map +1 -0
- package/dist/types/core/components/functional/infer/hugging-face/types.d.ts +167 -0
- package/dist/types/core/components/functional/infer/hugging-face/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts +29 -0
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +1 -0
- package/dist/types/core/components/functional/list/list.d.ts +149 -0
- package/dist/types/core/components/functional/list/list.d.ts.map +1 -0
- package/dist/types/core/components/functional/mix/mix.d.ts +23 -0
- package/dist/types/core/components/functional/mix/mix.d.ts.map +1 -0
- package/dist/types/core/components/functional/queue/queue.d.ts +93 -0
- package/dist/types/core/components/functional/queue/queue.d.ts.map +1 -0
- package/dist/types/core/components/functional/router/redirect.d.ts +19 -0
- package/dist/types/core/components/functional/router/redirect.d.ts.map +1 -0
- package/dist/types/core/components/functional/router/router.d.ts +46 -0
- package/dist/types/core/components/functional/router/router.d.ts.map +1 -0
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +59 -0
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +1 -0
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +6 -0
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +1 -0
- package/dist/types/core/components/functional/sdui/sdui.d.ts +148 -0
- package/dist/types/core/components/functional/sdui/sdui.d.ts.map +1 -0
- package/dist/types/core/components/functional/sdui/types.d.ts +38 -0
- package/dist/types/core/components/functional/sdui/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts +71 -0
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/shader/shader.d.ts +274 -0
- package/dist/types/core/components/functional/shader/shader.d.ts.map +1 -0
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts +6 -0
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts.map +1 -0
- package/dist/types/core/components/functional/shader/types.d.ts +256 -0
- package/dist/types/core/components/functional/shader/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +6 -0
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +1 -0
- package/dist/types/core/components/functional/states/states.d.ts +42 -0
- package/dist/types/core/components/functional/states/states.d.ts.map +1 -0
- package/dist/types/core/components/functional/submit/submit.d.ts +37 -0
- package/dist/types/core/components/functional/submit/submit.d.ts.map +1 -0
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts +13 -0
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +1 -0
- package/dist/types/core/components/functional/translation/translation.d.ts +7 -0
- package/dist/types/core/components/functional/translation/translation.d.ts.map +1 -0
- package/dist/types/core/components/functional/value/value.d.ts +8 -0
- package/dist/types/core/components/functional/value/value.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/canvas2d-fallback.d.ts +29 -0
- package/dist/types/core/components/functional/webgpu/canvas2d-fallback.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/form-bind.d.ts +43 -0
- package/dist/types/core/components/functional/webgpu/form-bind.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts +31 -0
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts +53 -0
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/helpers.d.ts +9 -0
- package/dist/types/core/components/functional/webgpu/helpers.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/out-frame.d.ts +29 -0
- package/dist/types/core/components/functional/webgpu/out-frame.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/particles-runtime.d.ts +37 -0
- package/dist/types/core/components/functional/webgpu/particles-runtime.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/pointer.d.ts +41 -0
- package/dist/types/core/components/functional/webgpu/pointer.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/types.d.ts +75 -0
- package/dist/types/core/components/functional/webgpu/types.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts +123 -0
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts.map +1 -0
- package/dist/types/core/components/functional/webgpu/wgsl-prelude.d.ts +8 -0
- package/dist/types/core/components/functional/webgpu/wgsl-prelude.d.ts.map +1 -0
- package/dist/types/core/components/ui/_css/scroll.d.ts +2 -0
- package/dist/types/core/components/ui/_css/scroll.d.ts.map +1 -0
- package/dist/types/core/components/ui/_css/shadow.d.ts +3 -0
- package/dist/types/core/components/ui/_css/shadow.d.ts.map +1 -0
- package/dist/types/core/components/ui/_css/size.d.ts +3 -0
- package/dist/types/core/components/ui/_css/size.d.ts.map +1 -0
- package/dist/types/core/components/ui/_css/type.d.ts +3 -0
- package/dist/types/core/components/ui/_css/type.d.ts.map +1 -0
- package/dist/types/core/components/ui/alert/alert.d.ts +37 -0
- package/dist/types/core/components/ui/alert/alert.d.ts.map +1 -0
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +15 -0
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +1 -0
- package/dist/types/core/components/ui/badge/badge.d.ts +27 -0
- package/dist/types/core/components/ui/badge/badge.d.ts.map +1 -0
- package/dist/types/core/components/ui/button/button.d.ts +180 -0
- package/dist/types/core/components/ui/button/button.d.ts.map +1 -0
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +2 -0
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +1 -0
- package/dist/types/core/components/ui/captcha/captcha.d.ts +30 -0
- package/dist/types/core/components/ui/captcha/captcha.d.ts.map +1 -0
- package/dist/types/core/components/ui/card/card-footer.d.ts +6 -0
- package/dist/types/core/components/ui/card/card-footer.d.ts.map +1 -0
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts +6 -0
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +1 -0
- package/dist/types/core/components/ui/card/card-header.d.ts +9 -0
- package/dist/types/core/components/ui/card/card-header.d.ts.map +1 -0
- package/dist/types/core/components/ui/card/card-main.d.ts +6 -0
- package/dist/types/core/components/ui/card/card-main.d.ts.map +1 -0
- package/dist/types/core/components/ui/card/card.d.ts +13 -0
- package/dist/types/core/components/ui/card/card.d.ts.map +1 -0
- package/dist/types/core/components/ui/divider/divider.d.ts +16 -0
- package/dist/types/core/components/ui/divider/divider.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +176 -0
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/css/form-control.d.ts +5 -0
- package/dist/types/core/components/ui/form/css/form-control.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +24 -0
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +6 -0
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts +17 -0
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +8 -0
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +13 -0
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/input/input.d.ts +123 -0
- package/dist/types/core/components/ui/form/input/input.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/input/password-helper.d.ts +26 -0
- package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +17 -0
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +155 -0
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/radio/radio.d.ts +15 -0
- package/dist/types/core/components/ui/form/radio/radio.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/select/select.d.ts +59 -0
- package/dist/types/core/components/ui/form/select/select.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/switch/switch.d.ts +6 -0
- package/dist/types/core/components/ui/form/switch/switch.d.ts.map +1 -0
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +94 -0
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +1 -0
- package/dist/types/core/components/ui/group/group.d.ts +17 -0
- package/dist/types/core/components/ui/group/group.d.ts.map +1 -0
- package/dist/types/core/components/ui/icon/icon.d.ts +30 -0
- package/dist/types/core/components/ui/icon/icon.d.ts.map +1 -0
- package/dist/types/core/components/ui/icon/icons.d.ts +13 -0
- package/dist/types/core/components/ui/icon/icons.d.ts.map +1 -0
- package/dist/types/core/components/ui/image/image.d.ts +16 -0
- package/dist/types/core/components/ui/image/image.d.ts.map +1 -0
- package/dist/types/core/components/ui/link/link.d.ts +30 -0
- package/dist/types/core/components/ui/link/link.d.ts.map +1 -0
- package/dist/types/core/components/ui/loader/loader.d.ts +24 -0
- package/dist/types/core/components/ui/loader/loader.d.ts.map +1 -0
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts +2 -0
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +1 -0
- package/dist/types/core/components/ui/loader/styles/inline.d.ts +2 -0
- package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +1 -0
- package/dist/types/core/components/ui/menu/menu-item.d.ts +6 -0
- package/dist/types/core/components/ui/menu/menu-item.d.ts.map +1 -0
- package/dist/types/core/components/ui/menu/menu.d.ts +52 -0
- package/dist/types/core/components/ui/menu/menu.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-actions.d.ts +9 -0
- package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-close.d.ts +11 -0
- package/dist/types/core/components/ui/modal/modal-close.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-content.d.ts +6 -0
- package/dist/types/core/components/ui/modal/modal-content.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +6 -0
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-title.d.ts +6 -0
- package/dist/types/core/components/ui/modal/modal-title.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal-utils.d.ts +4 -0
- package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +1 -0
- package/dist/types/core/components/ui/modal/modal.d.ts +79 -0
- package/dist/types/core/components/ui/modal/modal.d.ts.map +1 -0
- package/dist/types/core/components/ui/pop/pop.d.ts +42 -0
- package/dist/types/core/components/ui/pop/pop.d.ts.map +1 -0
- package/dist/types/core/components/ui/progress/progress.d.ts +12 -0
- package/dist/types/core/components/ui/progress/progress.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-caption.d.ts +6 -0
- package/dist/types/core/components/ui/table/table-caption.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-tbody.d.ts +6 -0
- package/dist/types/core/components/ui/table/table-tbody.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-td.d.ts +13 -0
- package/dist/types/core/components/ui/table/table-td.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-tfoot.d.ts +6 -0
- package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-th.d.ts +12 -0
- package/dist/types/core/components/ui/table/table-th.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-thead.d.ts +6 -0
- package/dist/types/core/components/ui/table/table-thead.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table-tr.d.ts +14 -0
- package/dist/types/core/components/ui/table/table-tr.d.ts.map +1 -0
- package/dist/types/core/components/ui/table/table.d.ts +18 -0
- package/dist/types/core/components/ui/table/table.d.ts.map +1 -0
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +2 -0
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +1 -0
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +2 -0
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +1 -0
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +2 -0
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +1 -0
- package/dist/types/core/components/ui/theme/theme.d.ts +20 -0
- package/dist/types/core/components/ui/theme/theme.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts +19 -0
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/toast-item.d.ts +41 -0
- package/dist/types/core/components/ui/toast/toast-item.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/toast.d.ts +28 -0
- package/dist/types/core/components/ui/toast/toast.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/types.d.ts +12 -0
- package/dist/types/core/components/ui/toast/types.d.ts.map +1 -0
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts +21 -0
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +1 -0
- package/dist/types/core/components/ui/ui.d.ts +35 -0
- package/dist/types/core/components/ui/ui.d.ts.map +1 -0
- package/dist/types/core/core.d.ts +5 -0
- package/dist/types/core/core.d.ts.map +1 -0
- package/dist/types/core/decorators/Subscriber.d.ts +13 -0
- package/dist/types/core/decorators/Subscriber.d.ts.map +1 -0
- package/dist/types/core/decorators/api.d.ts +155 -0
- package/dist/types/core/decorators/api.d.ts.map +1 -0
- package/dist/types/core/decorators/lifecycle.d.ts +19 -0
- package/dist/types/core/decorators/lifecycle.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +11 -0
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/autoFill.d.ts +2 -0
- package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +2 -0
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/bind.d.ts +28 -0
- package/dist/types/core/decorators/subscriber/bind.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/common.d.ts +14 -0
- package/dist/types/core/decorators/subscriber/common.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/derive.d.ts +30 -0
- package/dist/types/core/decorators/subscriber/derive.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +23 -0
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +42 -0
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/handle.d.ts +74 -0
- package/dist/types/core/decorators/subscriber/handle.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/onAssign.d.ts +53 -0
- package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/publish.d.ts +23 -0
- package/dist/types/core/decorators/subscriber/publish.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts +3 -0
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +1 -0
- package/dist/types/core/decorators/subscriber/subscribe.d.ts +20 -0
- package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +1 -0
- package/dist/types/core/directives/DataProvider.d.ts +45 -0
- package/dist/types/core/directives/DataProvider.d.ts.map +1 -0
- package/dist/types/core/directives/Wording.d.ts +44 -0
- package/dist/types/core/directives/Wording.d.ts.map +1 -0
- package/dist/types/core/mixins/Fetcher.d.ts +108 -0
- package/dist/types/core/mixins/Fetcher.d.ts.map +1 -0
- package/dist/types/core/mixins/FormCheckable.d.ts +95 -0
- package/dist/types/core/mixins/FormCheckable.d.ts.map +1 -0
- package/dist/types/core/mixins/FormElement.d.ts +37 -0
- package/dist/types/core/mixins/FormElement.d.ts.map +1 -0
- package/dist/types/core/mixins/FormInput.d.ts +79 -0
- package/dist/types/core/mixins/FormInput.d.ts.map +1 -0
- package/dist/types/core/mixins/Subscriber.d.ts +38 -0
- package/dist/types/core/mixins/Subscriber.d.ts.map +1 -0
- package/dist/types/core/mixins/TemplatesContainer.d.ts +14 -0
- package/dist/types/core/mixins/TemplatesContainer.d.ts.map +1 -0
- package/dist/types/core/mixins/mixins.d.ts +7 -0
- package/dist/types/core/mixins/mixins.d.ts.map +1 -0
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts +38 -0
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +1 -0
- package/dist/types/core/utils/Arrays.d.ts +98 -0
- package/dist/types/core/utils/Arrays.d.ts.map +1 -0
- package/dist/types/core/utils/DataBindObserver.d.ts +84 -0
- package/dist/types/core/utils/DataBindObserver.d.ts.map +1 -0
- package/dist/types/core/utils/Electron.d.ts +8 -0
- package/dist/types/core/utils/Electron.d.ts.map +1 -0
- package/dist/types/core/utils/Format.d.ts +13 -0
- package/dist/types/core/utils/Format.d.ts.map +1 -0
- package/dist/types/core/utils/HTML.d.ts +59 -0
- package/dist/types/core/utils/HTML.d.ts.map +1 -0
- package/dist/types/core/utils/LocationHandler.d.ts +48 -0
- package/dist/types/core/utils/LocationHandler.d.ts.map +1 -0
- package/dist/types/core/utils/Objects.d.ts +31 -0
- package/dist/types/core/utils/Objects.d.ts.map +1 -0
- package/dist/types/core/utils/PublisherProxy.d.ts +230 -0
- package/dist/types/core/utils/PublisherProxy.d.ts.map +1 -0
- package/dist/types/core/utils/SafariScrollGuard.d.ts +36 -0
- package/dist/types/core/utils/SafariScrollGuard.d.ts.map +1 -0
- package/dist/types/core/utils/Utils.d.ts +6 -0
- package/dist/types/core/utils/Utils.d.ts.map +1 -0
- package/dist/types/core/utils/aesCrypto.d.ts +53 -0
- package/dist/types/core/utils/aesCrypto.d.ts.map +1 -0
- package/dist/types/core/utils/api.d.ts +173 -0
- package/dist/types/core/utils/api.d.ts.map +1 -0
- package/dist/types/core/utils/dataProviderKey.d.ts +56 -0
- package/dist/types/core/utils/dataProviderKey.d.ts.map +1 -0
- package/dist/types/core/utils/derive.d.ts +40 -0
- package/dist/types/core/utils/derive.d.ts.map +1 -0
- package/dist/types/core/utils/endpoint.d.ts +37 -0
- package/dist/types/core/utils/endpoint.d.ts.map +1 -0
- package/dist/types/core/utils/jsonataHelpers.d.ts +15 -0
- package/dist/types/core/utils/jsonataHelpers.d.ts.map +1 -0
- package/dist/types/core/utils/jsonataRuntime.d.ts +13 -0
- package/dist/types/core/utils/jsonataRuntime.d.ts.map +1 -0
- package/dist/types/core/utils/mediaRef.d.ts +34 -0
- package/dist/types/core/utils/mediaRef.d.ts.map +1 -0
- package/dist/types/core/utils/route.d.ts +41 -0
- package/dist/types/core/utils/route.d.ts.map +1 -0
- package/dist/types/core/utils/similarity.d.ts +15 -0
- package/dist/types/core/utils/similarity.d.ts.map +1 -0
- package/dist/types/core/utils/url-pattern.d.ts +3 -0
- package/dist/types/core/utils/url-pattern.d.ts.map +1 -0
- package/dist/types/dataprovider.d.ts +2 -0
- package/dist/types/dataprovider.d.ts.map +1 -0
- package/dist/types/decorators.d.ts +30 -0
- package/dist/types/decorators.d.ts.map +1 -0
- package/dist/types/directives.d.ts +21 -0
- package/dist/types/directives.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/mixins.d.ts +204 -0
- package/dist/types/mixins.d.ts.map +1 -0
- package/dist/types/test-utils/TestUtils.d.ts +4 -0
- package/dist/types/test-utils/TestUtils.d.ts.map +1 -0
- package/dist/types/utils.d.ts +20 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/package.json +1780 -382
- 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 +26 -0
- package/scripts/gen-shader-depth.mjs +85 -0
- package/scripts/gen-shader-harris-video.mjs +17 -0
- package/scripts/gen-shader-harris-video.py +84 -0
- package/scripts/hf-vendor.mjs +154 -0
- package/scripts/post-build.mjs +116 -10
- package/scripts/pre-build.mjs +119 -36
- package/scripts/pre-publish.mjs +76 -54
- package/src/addons/3d.ts +5 -0
- package/src/addons/hugging-face-infer.ts +11 -0
- package/src/addons/shader.ts +5 -0
- package/src/addons/webgpu.ts +15 -0
- package/src/core/components/functional/3d/3d.md +118 -0
- package/src/core/components/functional/3d/3d.spec.ts +171 -0
- package/src/core/components/functional/3d/3d.ts +175 -0
- package/src/core/components/functional/3d/asset.ts +22 -0
- package/src/core/components/functional/3d/boot.ts +77 -0
- package/src/core/components/functional/3d/constants.ts +98 -0
- package/src/core/components/functional/3d/demo-content.ts +45 -0
- package/src/core/components/functional/3d/ensure.ts +99 -0
- package/src/core/components/functional/3d/form-bind.ts +40 -0
- package/src/core/components/functional/3d/form-fields.ts +80 -0
- package/src/core/components/functional/3d/form-params.ts +97 -0
- package/src/core/components/functional/3d/frame-capture.spec.ts +72 -0
- package/src/core/components/functional/3d/frame-capture.ts +135 -0
- package/src/core/components/functional/3d/gl.ts +35 -0
- package/src/core/components/functional/3d/life.ts +101 -0
- package/src/core/components/functional/3d/load.ts +129 -0
- package/src/core/components/functional/3d/ops.ts +126 -0
- package/src/core/components/functional/3d/opts.ts +16 -0
- package/src/core/components/functional/3d/orbit.ts +185 -0
- package/src/core/components/functional/3d/out-publish.ts +140 -0
- package/src/core/components/functional/3d/parse.ts +95 -0
- package/src/core/components/functional/3d/pick.ts +92 -0
- package/src/core/components/functional/3d/playback.ts +70 -0
- package/src/core/components/functional/3d/pointer.ts +79 -0
- package/src/core/components/functional/3d/props.ts +50 -0
- package/src/core/components/functional/3d/publisher-listen.ts +13 -0
- package/src/core/components/functional/3d/reload.ts +88 -0
- package/src/core/components/functional/3d/runtime.ts +148 -0
- package/src/core/components/functional/3d/scene-runtime.ts +9 -0
- package/src/core/components/functional/3d/snapshot.ts +73 -0
- package/src/core/components/functional/3d/styles.ts +38 -0
- package/src/core/components/functional/3d/tune.ts +72 -0
- package/src/core/components/functional/3d/types.ts +145 -0
- package/src/core/components/functional/3d/updated.ts +70 -0
- package/src/core/components/functional/3d/view.ts +63 -0
- package/src/core/components/functional/3d/wire.ts +65 -0
- package/src/core/components/functional/infer/hugging-face/hf-cache.ts +198 -0
- package/src/core/components/functional/infer/hugging-face/hf-config.ts +188 -0
- package/src/core/components/functional/infer/hugging-face/hf-controller.spec.ts +350 -0
- package/src/core/components/functional/infer/hugging-face/hf-controller.ts +622 -0
- package/src/core/components/functional/infer/hugging-face/hf-engine.ts +178 -0
- package/src/core/components/functional/infer/hugging-face/hf-input.spec.ts +99 -0
- package/src/core/components/functional/infer/hugging-face/hf-input.ts +218 -0
- package/src/core/components/functional/infer/hugging-face/hf-protocol.ts +76 -0
- package/src/core/components/functional/infer/hugging-face/hf-registry.ts +457 -0
- package/src/core/components/functional/infer/hugging-face/hf-schema.spec.ts +124 -0
- package/src/core/components/functional/infer/hugging-face/hf-schema.ts +390 -0
- package/src/core/components/functional/infer/hugging-face/hf-worker-runtime.spec.ts +147 -0
- package/src/core/components/functional/infer/hugging-face/hf-worker-runtime.ts +381 -0
- package/src/core/components/functional/infer/hugging-face/hugging-face-infer.md +304 -0
- package/src/core/components/functional/infer/hugging-face/hugging-face-infer.ts +202 -0
- package/src/core/components/functional/infer/hugging-face/hugging-face.ts +282 -0
- package/src/core/components/functional/infer/hugging-face/types.ts +325 -0
- package/src/core/components/functional/jsonata/jsonata.md +4 -2
- package/src/core/components/functional/sdui/sdui.md +2 -2
- package/src/core/components/functional/sdui/sdui.ts +40 -29
- package/src/core/components/functional/shader/gl-runtime.ts +782 -0
- package/src/core/components/functional/shader/shader.md +207 -0
- package/src/core/components/functional/shader/shader.spec.ts +288 -0
- package/src/core/components/functional/shader/shader.ts +1569 -0
- package/src/core/components/functional/shader/shadertoy-prelude.ts +52 -0
- package/src/core/components/functional/shader/types.ts +446 -0
- package/src/core/components/functional/webgpu/canvas2d-fallback.ts +125 -0
- package/src/core/components/functional/webgpu/form-bind.ts +116 -0
- package/src/core/components/functional/webgpu/gl-fallback.ts +158 -0
- package/src/core/components/functional/webgpu/gpu-runtime.ts +349 -0
- package/src/core/components/functional/webgpu/helpers.ts +47 -0
- package/src/core/components/functional/webgpu/out-frame.ts +137 -0
- package/src/core/components/functional/webgpu/particles-runtime.ts +426 -0
- package/src/core/components/functional/webgpu/pointer.ts +85 -0
- package/src/core/components/functional/webgpu/types.ts +96 -0
- package/src/core/components/functional/webgpu/webgpu.md +75 -0
- package/src/core/components/functional/webgpu/webgpu.spec.ts +141 -0
- package/src/core/components/functional/webgpu/webgpu.ts +659 -0
- package/src/core/components/functional/webgpu/wgsl-prelude.ts +81 -0
- package/src/core/mixins/Fetcher.ts +1 -1
- package/src/core/utils/HTML.ts +107 -74
- package/src/core/utils/PublisherProxy.ts +29 -6
- package/src/core/utils/jsonataHelpers.ts +36 -0
- package/src/core/utils/mediaRef.spec.ts +85 -0
- package/src/core/utils/mediaRef.ts +130 -0
- package/src/core/utils/similarity.spec.ts +34 -0
- package/src/core/utils/similarity.ts +54 -0
- package/src/docs/_core-concept/dataFlow.md +2 -0
- package/src/docs/_getting-started/cdn-addons.md +73 -0
- package/src/docs/_getting-started/create-a-component.md +1 -1
- package/src/docs/_misc/visual-stack.md +49 -0
- package/src/docs/components/docs-demo-sources.ts +359 -39
- package/src/docs/docs.ts +6 -0
- package/src/docs/example/docs-3d-demos.ts +8 -0
- package/src/docs/example/docs-3d-form.ts +95 -0
- package/src/docs/example/docs-3d-orbit.ts +44 -0
- package/src/docs/example/docs-3d-out.ts +56 -0
- package/src/docs/example/docs-3d-shared.ts +15 -0
- package/src/docs/example/docs-harris-webgpu-demo.ts +482 -0
- package/src/docs/example/docs-hugging-face-demos.ts +516 -0
- package/src/docs/example/docs-shader-demos.ts +357 -0
- package/src/docs/example/docs-visual-stack-demo.ts +394 -0
- package/src/docs/example/docs-webgpu-demo.ts +77 -0
- package/src/docs/navigation/navigation.ts +25 -0
- package/src/docs/search/docs-search.json +899 -2319
- package/src/tsconfig.json +481 -301
- package/src/tsconfig.tsbuildinfo +1 -1
- package/vite/config.js +42 -30
- package/vite.config.mts +51 -12
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contrôleur d'une inférence : relie des DataProviders (entrée, sortie,
|
|
3
|
+
* statut, déclencheur, consentement) au registre de modèles.
|
|
4
|
+
*
|
|
5
|
+
* Utilisé par l'élément `sonic-hugging-face-infer` et par l'API TypeScript
|
|
6
|
+
* `createHuggingFace().infer()`. Aucune dépendance au moteur : tout passe par
|
|
7
|
+
* le registre (qui délègue au worker).
|
|
8
|
+
*/
|
|
9
|
+
import { PublisherManager, } from "@supersoniks/concorde/core/utils/PublisherProxy";
|
|
10
|
+
import Objects from "@supersoniks/concorde/core/utils/Objects";
|
|
11
|
+
import { resolveStaticPublisherPath, } from "@supersoniks/concorde/core/utils/dataProviderKey";
|
|
12
|
+
import { deriveStateKey, } from "@supersoniks/concorde/core/utils/derive";
|
|
13
|
+
import { readResult, resultKey, writeResult } from "./hf-cache";
|
|
14
|
+
import { normalizeInput, realign, } from "./hf-input";
|
|
15
|
+
import { getHuggingFaceRegistry, HfError, } from "./hf-registry";
|
|
16
|
+
import { validateCallOptions } from "./hf-schema";
|
|
17
|
+
import { attachMediaUrls, revokeMediaUrls, } from "@supersoniks/concorde/core/utils/mediaRef";
|
|
18
|
+
import { HF_POSITIONAL_ARGS, HF_TASK_INPUT_KIND, } from "./types";
|
|
19
|
+
const BYTES_PER_MIB = 1024 * 1024;
|
|
20
|
+
const IDLE_PRELOAD_TIMEOUT_MS = 5_000;
|
|
21
|
+
const VISIBLE_FALLBACK_DELAY_MS = 1_500;
|
|
22
|
+
/* ------------------------------------------------------------------ */
|
|
23
|
+
/* Utilitaires */
|
|
24
|
+
/* ------------------------------------------------------------------ */
|
|
25
|
+
function resolvePublisher(path) {
|
|
26
|
+
const parts = path.split(".");
|
|
27
|
+
const root = parts.shift();
|
|
28
|
+
let pub = PublisherManager.get(root);
|
|
29
|
+
if (parts.length)
|
|
30
|
+
pub = Objects.traverse(pub, parts);
|
|
31
|
+
return pub;
|
|
32
|
+
}
|
|
33
|
+
function isAccepted(value) {
|
|
34
|
+
return (value === true ||
|
|
35
|
+
value === 1 ||
|
|
36
|
+
value === "accepted" ||
|
|
37
|
+
value === "true" ||
|
|
38
|
+
value === "1" ||
|
|
39
|
+
value === "on");
|
|
40
|
+
}
|
|
41
|
+
const MODEL_WAIT_STATES = {
|
|
42
|
+
checking: "loading",
|
|
43
|
+
"awaiting-consent": "awaiting-consent",
|
|
44
|
+
declined: "declined",
|
|
45
|
+
downloading: "downloading",
|
|
46
|
+
loading: "loading",
|
|
47
|
+
ready: "ready",
|
|
48
|
+
error: "error",
|
|
49
|
+
unsupported: "unsupported",
|
|
50
|
+
idle: "idle",
|
|
51
|
+
};
|
|
52
|
+
function toDeriveState(state, output) {
|
|
53
|
+
switch (state) {
|
|
54
|
+
case "downloading":
|
|
55
|
+
case "loading":
|
|
56
|
+
case "running":
|
|
57
|
+
return { status: "loading", error: null };
|
|
58
|
+
case "done":
|
|
59
|
+
return {
|
|
60
|
+
status: output === null ||
|
|
61
|
+
output === undefined ||
|
|
62
|
+
(Array.isArray(output) && output.length === 0)
|
|
63
|
+
? "empty"
|
|
64
|
+
: "ready",
|
|
65
|
+
error: null,
|
|
66
|
+
};
|
|
67
|
+
case "error":
|
|
68
|
+
case "invalid-input":
|
|
69
|
+
return { status: "error", error: null };
|
|
70
|
+
default:
|
|
71
|
+
return { status: "empty", error: null };
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/* ------------------------------------------------------------------ */
|
|
75
|
+
/* Contrôleur */
|
|
76
|
+
/* ------------------------------------------------------------------ */
|
|
77
|
+
export function createHfInferController(options, registryOverride) {
|
|
78
|
+
const registry = registryOverride ?? getHuggingFaceRegistry();
|
|
79
|
+
if (!registry) {
|
|
80
|
+
throw new HfError("not-allowed", "[sonic-hugging-face-infer] configureHuggingFace() n'a pas été appelé.");
|
|
81
|
+
}
|
|
82
|
+
const model = registry.model(options.model);
|
|
83
|
+
const task = model.task;
|
|
84
|
+
const defaults = registry.resolvedConfig.defaults;
|
|
85
|
+
const policy = options.load ?? defaults.load;
|
|
86
|
+
const trigger = options.trigger ?? defaults.trigger;
|
|
87
|
+
const debounceMs = options.debounceMs ?? defaults.debounceMs;
|
|
88
|
+
const emptyValue = options.emptyValue ?? null;
|
|
89
|
+
const onInvalid = options.onInvalid ?? "keep";
|
|
90
|
+
// Un descripteur SDUI peut abaisser les limites, jamais les relever.
|
|
91
|
+
const limit = (value, max) => value === undefined ? max : options.untrusted ? Math.min(value, max) : value;
|
|
92
|
+
const maxItems = limit(options.maxItems, defaults.maxItems);
|
|
93
|
+
const maxChars = limit(options.maxChars, defaults.maxChars);
|
|
94
|
+
const timeoutMs = limit(options.timeoutMs, defaults.timeoutMs);
|
|
95
|
+
const persistResults = options.persistResults ?? false;
|
|
96
|
+
const runtimeVersion = registry.resolvedConfig.runtime.version;
|
|
97
|
+
const inputPath = resolveStaticPublisherPath(options.input);
|
|
98
|
+
const outputPath = resolveStaticPublisherPath(options.output);
|
|
99
|
+
if (inputPath === outputPath ||
|
|
100
|
+
outputPath.startsWith(inputPath + ".") ||
|
|
101
|
+
inputPath.startsWith(outputPath + ".")) {
|
|
102
|
+
throw new Error(`[sonic-hugging-face-infer] la sortie "${outputPath}" chevauche l'entrée "${inputPath}".`);
|
|
103
|
+
}
|
|
104
|
+
const statusPath = options.status
|
|
105
|
+
? resolveStaticPublisherPath(options.status)
|
|
106
|
+
: null;
|
|
107
|
+
const outputPub = resolvePublisher(outputPath);
|
|
108
|
+
const statePub = PublisherManager.get(deriveStateKey(outputPath));
|
|
109
|
+
const statusPub = statusPath ? resolvePublisher(statusPath) : null;
|
|
110
|
+
// Options d'appel : défauts du modèle + options de l'instance. Les options
|
|
111
|
+
// non fiables (SDUI) sont validées ; une erreur est publiée dans le statut.
|
|
112
|
+
let callError = null;
|
|
113
|
+
let call = { ...(model.defaults ?? {}) };
|
|
114
|
+
try {
|
|
115
|
+
const instanceCall = options.untrusted
|
|
116
|
+
? validateCallOptions(task, options.call)
|
|
117
|
+
: (options.call ?? {});
|
|
118
|
+
call = { ...call, ...instanceCall };
|
|
119
|
+
}
|
|
120
|
+
catch (err) {
|
|
121
|
+
callError = err instanceof Error ? err.message : String(err);
|
|
122
|
+
}
|
|
123
|
+
const positional = HF_POSITIONAL_ARGS[task];
|
|
124
|
+
const batch = task === "feature-extraction" && !!call.pooling && call.pooling !== "none";
|
|
125
|
+
let ctrl = "idle";
|
|
126
|
+
let modelState = registry.state(options.model);
|
|
127
|
+
let lastError;
|
|
128
|
+
let lastRunMs;
|
|
129
|
+
let skipped;
|
|
130
|
+
let warnings;
|
|
131
|
+
let fromResultsCache = false;
|
|
132
|
+
let lastOutput = undefined;
|
|
133
|
+
let mediaUrls = [];
|
|
134
|
+
let generation = 0;
|
|
135
|
+
let stopped = false;
|
|
136
|
+
let timer = null;
|
|
137
|
+
let pendingManual = false;
|
|
138
|
+
let modelRequested = false;
|
|
139
|
+
const currentState = () => {
|
|
140
|
+
switch (ctrl) {
|
|
141
|
+
case "empty":
|
|
142
|
+
return "empty";
|
|
143
|
+
case "invalid-input":
|
|
144
|
+
return "invalid-input";
|
|
145
|
+
case "running":
|
|
146
|
+
return "running";
|
|
147
|
+
case "done":
|
|
148
|
+
return "done";
|
|
149
|
+
case "error":
|
|
150
|
+
return "error";
|
|
151
|
+
default:
|
|
152
|
+
return MODEL_WAIT_STATES[modelState.phase] ?? "idle";
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const publishStatus = () => {
|
|
156
|
+
if (stopped)
|
|
157
|
+
return;
|
|
158
|
+
const state = currentState();
|
|
159
|
+
statePub.set(toDeriveState(state, lastOutput));
|
|
160
|
+
if (!statusPub)
|
|
161
|
+
return;
|
|
162
|
+
const modelError = !["done", "running", "empty", "invalid-input"].includes(state) &&
|
|
163
|
+
modelState.error
|
|
164
|
+
? modelState.error
|
|
165
|
+
: undefined;
|
|
166
|
+
const status = {
|
|
167
|
+
state,
|
|
168
|
+
model: {
|
|
169
|
+
alias: model.alias,
|
|
170
|
+
task,
|
|
171
|
+
repo: model.repo,
|
|
172
|
+
revision: model.revision,
|
|
173
|
+
label: model.label,
|
|
174
|
+
description: model.description,
|
|
175
|
+
},
|
|
176
|
+
// Toujours un objet (jamais null) : les liaisons `size.totalMB` restent stables.
|
|
177
|
+
size: {
|
|
178
|
+
totalBytes: modelState.size?.totalBytes ?? null,
|
|
179
|
+
totalMB: modelState.size?.totalBytes == null
|
|
180
|
+
? null
|
|
181
|
+
: Math.round(modelState.size.totalBytes / BYTES_PER_MIB),
|
|
182
|
+
fromCache: modelState.size?.fromCache ?? false,
|
|
183
|
+
},
|
|
184
|
+
progress: modelState.progress,
|
|
185
|
+
backend: modelState.backend,
|
|
186
|
+
persisted: modelState.persisted,
|
|
187
|
+
skipped,
|
|
188
|
+
warnings,
|
|
189
|
+
timings: { loadMs: modelState.loadMs, lastRunMs },
|
|
190
|
+
fromResultsCache,
|
|
191
|
+
error: lastError ?? modelError,
|
|
192
|
+
};
|
|
193
|
+
statusPub.set(JSON.parse(JSON.stringify(status)));
|
|
194
|
+
};
|
|
195
|
+
const setOutput = (value) => {
|
|
196
|
+
revokeMediaUrls(mediaUrls);
|
|
197
|
+
mediaUrls = [];
|
|
198
|
+
const enriched = attachMediaUrls(value, mediaUrls);
|
|
199
|
+
lastOutput = enriched;
|
|
200
|
+
outputPub.set(enriched);
|
|
201
|
+
};
|
|
202
|
+
const ensureModel = async (reason) => {
|
|
203
|
+
modelRequested = true;
|
|
204
|
+
await registry.ensureLoaded(options.model, reason);
|
|
205
|
+
};
|
|
206
|
+
/** Validation + cache — sort si terminé (early exit). */
|
|
207
|
+
const prepareCompute = async (gen) => {
|
|
208
|
+
if (callError) {
|
|
209
|
+
ctrl = "error";
|
|
210
|
+
lastError = { code: "invalid-input", message: callError };
|
|
211
|
+
publishStatus();
|
|
212
|
+
return null;
|
|
213
|
+
}
|
|
214
|
+
const value = resolvePublisher(inputPath).get();
|
|
215
|
+
const input = normalizeInput(value, {
|
|
216
|
+
kind: HF_TASK_INPUT_KIND[task],
|
|
217
|
+
text: options.text,
|
|
218
|
+
maxItems,
|
|
219
|
+
maxChars,
|
|
220
|
+
});
|
|
221
|
+
if (input.kind === "empty") {
|
|
222
|
+
ctrl = "empty";
|
|
223
|
+
skipped = undefined;
|
|
224
|
+
warnings = undefined;
|
|
225
|
+
setOutput(emptyValue);
|
|
226
|
+
publishStatus();
|
|
227
|
+
return null;
|
|
228
|
+
}
|
|
229
|
+
if (input.kind === "invalid") {
|
|
230
|
+
ctrl = "invalid-input";
|
|
231
|
+
lastError = { code: input.code, message: input.message };
|
|
232
|
+
if (onInvalid === "clear")
|
|
233
|
+
setOutput(emptyValue);
|
|
234
|
+
publishStatus();
|
|
235
|
+
return null;
|
|
236
|
+
}
|
|
237
|
+
if (positional && (call[positional] === undefined || call[positional] === "")) {
|
|
238
|
+
ctrl = "invalid-input";
|
|
239
|
+
lastError = {
|
|
240
|
+
code: "invalid-input",
|
|
241
|
+
message: `options.call.${positional} est requis pour la tâche "${task}".`,
|
|
242
|
+
};
|
|
243
|
+
publishStatus();
|
|
244
|
+
return null;
|
|
245
|
+
}
|
|
246
|
+
skipped = input.skipped || undefined;
|
|
247
|
+
warnings = input.warnings.length ? input.warnings : undefined;
|
|
248
|
+
const key = await resultKey({
|
|
249
|
+
payloads: input.payloads,
|
|
250
|
+
positions: input.positions,
|
|
251
|
+
length: input.length,
|
|
252
|
+
many: input.many,
|
|
253
|
+
alias: model.alias,
|
|
254
|
+
repo: model.repo,
|
|
255
|
+
revision: model.revision,
|
|
256
|
+
options: model.options,
|
|
257
|
+
runtime: runtimeVersion,
|
|
258
|
+
call,
|
|
259
|
+
});
|
|
260
|
+
if (gen !== generation || stopped)
|
|
261
|
+
return null;
|
|
262
|
+
const cached = await readResult(key, persistResults, options.resultsTtlMs);
|
|
263
|
+
if (gen !== generation || stopped)
|
|
264
|
+
return null;
|
|
265
|
+
if (cached.hit) {
|
|
266
|
+
ctrl = "done";
|
|
267
|
+
fromResultsCache = true;
|
|
268
|
+
setOutput(cached.value);
|
|
269
|
+
publishStatus();
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
if (policy === "manual" && modelState.phase !== "ready") {
|
|
273
|
+
ctrl = "waiting-model";
|
|
274
|
+
pendingManual = true;
|
|
275
|
+
publishStatus();
|
|
276
|
+
return null;
|
|
277
|
+
}
|
|
278
|
+
return { input, key };
|
|
279
|
+
};
|
|
280
|
+
const runInference = async (gen, input, key) => {
|
|
281
|
+
ctrl = "waiting-model";
|
|
282
|
+
publishStatus();
|
|
283
|
+
try {
|
|
284
|
+
await ensureModel(policy);
|
|
285
|
+
}
|
|
286
|
+
catch (err) {
|
|
287
|
+
if (gen !== generation || stopped)
|
|
288
|
+
return;
|
|
289
|
+
ctrl = "waiting-model";
|
|
290
|
+
if (lastOutput === undefined)
|
|
291
|
+
setOutput(emptyValue);
|
|
292
|
+
if (!(err instanceof HfError) || err.code === "runtime")
|
|
293
|
+
lastError = {
|
|
294
|
+
code: err instanceof HfError ? err.code : "runtime",
|
|
295
|
+
message: err instanceof Error ? err.message : String(err),
|
|
296
|
+
};
|
|
297
|
+
publishStatus();
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
if (gen !== generation || stopped)
|
|
301
|
+
return;
|
|
302
|
+
ctrl = "running";
|
|
303
|
+
publishStatus();
|
|
304
|
+
const t0 = performance.now();
|
|
305
|
+
try {
|
|
306
|
+
const results = await registry.run({
|
|
307
|
+
alias: model.alias,
|
|
308
|
+
inputs: input.payloads,
|
|
309
|
+
call,
|
|
310
|
+
positional,
|
|
311
|
+
batch,
|
|
312
|
+
}, timeoutMs);
|
|
313
|
+
if (gen !== generation || stopped)
|
|
314
|
+
return;
|
|
315
|
+
const output = input.many ? realign(input, results) : (results[0] ?? null);
|
|
316
|
+
lastRunMs = Math.round(performance.now() - t0);
|
|
317
|
+
ctrl = "done";
|
|
318
|
+
setOutput(output);
|
|
319
|
+
publishStatus();
|
|
320
|
+
void writeResult(key, output, persistResults, defaults.resultsCacheBytes);
|
|
321
|
+
}
|
|
322
|
+
catch (err) {
|
|
323
|
+
if (gen !== generation || stopped)
|
|
324
|
+
return;
|
|
325
|
+
ctrl = "error";
|
|
326
|
+
lastError = {
|
|
327
|
+
code: err instanceof HfError ? err.code : "runtime",
|
|
328
|
+
message: err instanceof Error ? err.message : String(err),
|
|
329
|
+
};
|
|
330
|
+
publishStatus();
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
const compute = async () => {
|
|
334
|
+
if (stopped)
|
|
335
|
+
return;
|
|
336
|
+
const gen = ++generation;
|
|
337
|
+
lastError = undefined;
|
|
338
|
+
fromResultsCache = false;
|
|
339
|
+
const prepared = await prepareCompute(gen);
|
|
340
|
+
if (!prepared || gen !== generation || stopped)
|
|
341
|
+
return;
|
|
342
|
+
await runInference(gen, prepared.input, prepared.key);
|
|
343
|
+
};
|
|
344
|
+
const schedule = (delay = debounceMs) => {
|
|
345
|
+
if (stopped)
|
|
346
|
+
return;
|
|
347
|
+
if (timer)
|
|
348
|
+
clearTimeout(timer);
|
|
349
|
+
timer = setTimeout(() => {
|
|
350
|
+
timer = null;
|
|
351
|
+
void compute();
|
|
352
|
+
}, delay);
|
|
353
|
+
};
|
|
354
|
+
/* ---------------- abonnements ---------------- */
|
|
355
|
+
const unsubscribers = [];
|
|
356
|
+
const watch = (path, handler) => {
|
|
357
|
+
const pub = resolvePublisher(path);
|
|
358
|
+
pub.onInternalMutation(handler);
|
|
359
|
+
unsubscribers.push(() => pub.offInternalMutation(handler));
|
|
360
|
+
};
|
|
361
|
+
unsubscribers.push(registry.subscribe(options.model, (state) => {
|
|
362
|
+
modelState = state;
|
|
363
|
+
publishStatus();
|
|
364
|
+
if (state.phase === "ready" && pendingManual) {
|
|
365
|
+
pendingManual = false;
|
|
366
|
+
schedule(0);
|
|
367
|
+
}
|
|
368
|
+
}));
|
|
369
|
+
if (trigger === "mutation") {
|
|
370
|
+
watch(inputPath, () => schedule());
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
// État initial publié (vide / idle) sans calcul.
|
|
374
|
+
publishStatus();
|
|
375
|
+
}
|
|
376
|
+
if (options.triggerProvider) {
|
|
377
|
+
const triggerPath = resolveStaticPublisherPath(options.triggerProvider);
|
|
378
|
+
let first = true;
|
|
379
|
+
let previous = "";
|
|
380
|
+
watch(triggerPath, () => {
|
|
381
|
+
const current = JSON.stringify(resolvePublisher(triggerPath).get() ?? null);
|
|
382
|
+
if (first) {
|
|
383
|
+
first = false;
|
|
384
|
+
previous = current;
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
if (current === previous)
|
|
388
|
+
return;
|
|
389
|
+
previous = current;
|
|
390
|
+
if (current !== "null")
|
|
391
|
+
schedule(0);
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
if (options.consentProvider) {
|
|
395
|
+
const consentPath = resolveStaticPublisherPath(options.consentProvider);
|
|
396
|
+
watch(consentPath, () => {
|
|
397
|
+
const value = resolvePublisher(consentPath).get();
|
|
398
|
+
if (isAccepted(value))
|
|
399
|
+
registry.accept(options.model);
|
|
400
|
+
else if (value === "declined")
|
|
401
|
+
registry.decline(options.model);
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
/* ---------------- préchargement selon la politique ---------------- */
|
|
405
|
+
const preload = (reason) => {
|
|
406
|
+
if (stopped || modelRequested)
|
|
407
|
+
return;
|
|
408
|
+
ensureModel(reason).catch(() => {
|
|
409
|
+
/* l'état du modèle porte l'erreur */
|
|
410
|
+
});
|
|
411
|
+
};
|
|
412
|
+
if (policy === "auto")
|
|
413
|
+
preload("auto");
|
|
414
|
+
else if (policy === "idle") {
|
|
415
|
+
const ric = globalThis.requestIdleCallback;
|
|
416
|
+
if (ric)
|
|
417
|
+
ric(() => preload("idle"), { timeout: IDLE_PRELOAD_TIMEOUT_MS });
|
|
418
|
+
else
|
|
419
|
+
setTimeout(() => preload("idle"), VISIBLE_FALLBACK_DELAY_MS);
|
|
420
|
+
}
|
|
421
|
+
else if (policy === "visible") {
|
|
422
|
+
if (options.whenVisible)
|
|
423
|
+
options.whenVisible().then(() => preload("visible"));
|
|
424
|
+
else
|
|
425
|
+
setTimeout(() => preload("visible"), VISIBLE_FALLBACK_DELAY_MS);
|
|
426
|
+
}
|
|
427
|
+
else {
|
|
428
|
+
// first-use / consent / manual : on peut déjà connaître la taille (en-têtes seulement).
|
|
429
|
+
registry.inspect(options.model).catch(() => undefined);
|
|
430
|
+
}
|
|
431
|
+
return {
|
|
432
|
+
stop() {
|
|
433
|
+
if (stopped)
|
|
434
|
+
return;
|
|
435
|
+
stopped = true;
|
|
436
|
+
if (timer)
|
|
437
|
+
clearTimeout(timer);
|
|
438
|
+
for (const unsubscribe of unsubscribers)
|
|
439
|
+
unsubscribe();
|
|
440
|
+
revokeMediaUrls(mediaUrls);
|
|
441
|
+
mediaUrls = [];
|
|
442
|
+
},
|
|
443
|
+
run() {
|
|
444
|
+
if (timer)
|
|
445
|
+
clearTimeout(timer);
|
|
446
|
+
timer = null;
|
|
447
|
+
return compute();
|
|
448
|
+
},
|
|
449
|
+
async load() {
|
|
450
|
+
await ensureModel("manual");
|
|
451
|
+
},
|
|
452
|
+
accept() {
|
|
453
|
+
registry.accept(options.model);
|
|
454
|
+
},
|
|
455
|
+
decline() {
|
|
456
|
+
registry.decline(options.model);
|
|
457
|
+
},
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
//# sourceMappingURL=hf-controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hf-controller.js","sourceRoot":"","sources":["../../../../../../../src/core/components/functional/infer/hugging-face/hf-controller.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EACL,gBAAgB,GAEjB,MAAM,iDAAiD,CAAC;AACzD,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,EACL,0BAA0B,GAE3B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,cAAc,GAEf,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EACL,cAAc,EACd,OAAO,GAGR,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,sBAAsB,EACtB,OAAO,GAGR,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,eAAe,EACf,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,SAAS,CAAC;AAEjB,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,CAAC;AAClC,MAAM,uBAAuB,GAAG,KAAK,CAAC;AACtC,MAAM,yBAAyB,GAAG,KAAK,CAAC;AAuGxC,wEAAwE;AACxE,yEAAyE;AACzE,wEAA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AAE,CAAC;QACjB,CAAC;QACD,GAAG;YACD,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,KAAK,GAAG,IAAI,CAAC;YACb,OAAO,OAAO,EAAE,CAAC;QACnB,CAAC;QACD,KAAK,CAAC,IAAI;YACR,MAAM,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC9B,CAAC;QACD,MAAM;YACJ,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;QACD,OAAO;YACL,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { buildHfWorkerSource } from "./hf-worker-runtime";
|
|
2
|
+
export class HfEngineError extends Error {
|
|
3
|
+
constructor(code, message) {
|
|
4
|
+
super(message);
|
|
5
|
+
this.code = code;
|
|
6
|
+
this.name = "HfEngineError";
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export class HfWorkerEngine {
|
|
10
|
+
constructor(createWorker) {
|
|
11
|
+
this.createWorker = createWorker;
|
|
12
|
+
this.worker = null;
|
|
13
|
+
this.nextId = 1;
|
|
14
|
+
this.pending = new Map();
|
|
15
|
+
this.progressListeners = new Map();
|
|
16
|
+
this.fatal = null;
|
|
17
|
+
}
|
|
18
|
+
/** Worker « blob » qui importe Transformers.js depuis une URL figée. */
|
|
19
|
+
static fromUrl(libraryUrl) {
|
|
20
|
+
let blobUrl = null;
|
|
21
|
+
const engine = new HfWorkerEngine(() => {
|
|
22
|
+
const source = buildHfWorkerSource(libraryUrl);
|
|
23
|
+
blobUrl = URL.createObjectURL(new Blob([source], { type: "text/javascript" }));
|
|
24
|
+
return new Worker(blobUrl, { type: "module", name: "concorde-hf" });
|
|
25
|
+
});
|
|
26
|
+
const dispose = engine.dispose.bind(engine);
|
|
27
|
+
engine.dispose = () => {
|
|
28
|
+
dispose();
|
|
29
|
+
if (blobUrl)
|
|
30
|
+
URL.revokeObjectURL(blobUrl);
|
|
31
|
+
};
|
|
32
|
+
return engine;
|
|
33
|
+
}
|
|
34
|
+
ensureWorker() {
|
|
35
|
+
if (this.fatal)
|
|
36
|
+
throw this.fatal;
|
|
37
|
+
if (this.worker)
|
|
38
|
+
return this.worker;
|
|
39
|
+
const worker = this.createWorker();
|
|
40
|
+
worker.addEventListener("message", (event) => this.onMessage(event.data));
|
|
41
|
+
worker.addEventListener("error", (event) => {
|
|
42
|
+
this.failAll(new HfEngineError("runtime", `Worker Hugging Face : ${event.message || "erreur de chargement (CSP worker-src / script-src ?)"}`));
|
|
43
|
+
});
|
|
44
|
+
this.worker = worker;
|
|
45
|
+
return worker;
|
|
46
|
+
}
|
|
47
|
+
onMessage(msg) {
|
|
48
|
+
if ("type" in msg) {
|
|
49
|
+
if (msg.type === "progress") {
|
|
50
|
+
this.progressListeners.get(msg.alias)?.(msg.progress);
|
|
51
|
+
}
|
|
52
|
+
else if (msg.type === "fatal") {
|
|
53
|
+
this.failAll(new HfEngineError("runtime", msg.message));
|
|
54
|
+
}
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const pending = this.pending.get(msg.id);
|
|
58
|
+
if (!pending)
|
|
59
|
+
return;
|
|
60
|
+
this.pending.delete(msg.id);
|
|
61
|
+
if (msg.ok)
|
|
62
|
+
pending.resolve(msg.result);
|
|
63
|
+
else
|
|
64
|
+
pending.reject(new HfEngineError(msg.error.code, msg.error.message));
|
|
65
|
+
}
|
|
66
|
+
failAll(error) {
|
|
67
|
+
this.fatal = error;
|
|
68
|
+
for (const pending of this.pending.values())
|
|
69
|
+
pending.reject(error);
|
|
70
|
+
this.pending.clear();
|
|
71
|
+
}
|
|
72
|
+
request(body) {
|
|
73
|
+
let worker;
|
|
74
|
+
try {
|
|
75
|
+
worker = this.ensureWorker();
|
|
76
|
+
}
|
|
77
|
+
catch (err) {
|
|
78
|
+
return Promise.reject(err);
|
|
79
|
+
}
|
|
80
|
+
const id = this.nextId++;
|
|
81
|
+
return new Promise((resolve, reject) => {
|
|
82
|
+
this.pending.set(id, {
|
|
83
|
+
resolve: resolve,
|
|
84
|
+
reject,
|
|
85
|
+
});
|
|
86
|
+
worker.postMessage({ ...body, id });
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async configure(env) {
|
|
90
|
+
await this.request({ type: "configure", env });
|
|
91
|
+
}
|
|
92
|
+
inspect(model) {
|
|
93
|
+
return this.request({ type: "inspect", model });
|
|
94
|
+
}
|
|
95
|
+
async load(model, devices, onProgress) {
|
|
96
|
+
this.progressListeners.set(model.alias, onProgress);
|
|
97
|
+
try {
|
|
98
|
+
return await this.request({ type: "load", model, devices });
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
this.progressListeners.delete(model.alias);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
run(request) {
|
|
105
|
+
return this.request({ type: "run", request });
|
|
106
|
+
}
|
|
107
|
+
async clear(model) {
|
|
108
|
+
await this.request({ type: "clear", model });
|
|
109
|
+
}
|
|
110
|
+
dispose() {
|
|
111
|
+
this.failAll(new HfEngineError("runtime", "Moteur arrêté."));
|
|
112
|
+
this.worker?.terminate();
|
|
113
|
+
this.worker = null;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=hf-engine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hf-engine.js","sourceRoot":"","sources":["../../../../../../../src/core/components/functional/infer/hugging-face/hf-engine.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAe1D,MAAM,OAAO,aAAc,SAAQ,KAAK;IACtC,YACkB,IAAiB,EACjC,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QAHC,SAAI,GAAJ,IAAI,CAAa;QAIjC,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAC9B,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