@supersoniks/concorde 4.9.98-visual-stack.0 → 4.9.98-visual-stack.2
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/.gitlab-ci.yml +0 -13
- package/build-infos.json +1 -1
- package/concorde-3d.bundle.js +201 -152
- package/concorde-3d.es.js +14688 -13906
- package/concorde-core.bundle.js +557 -622
- package/concorde-core.es.js +6025 -5575
- package/concorde-hugging-face-infer.bundle.js +1 -1
- package/concorde-hugging-face-infer.es.js +1 -1
- package/concorde-interactive.bundle.js +1162 -0
- package/concorde-interactive.es.js +10723 -0
- package/concorde-shader.bundle.js +31 -20
- package/concorde-shader.es.js +2773 -2547
- package/concorde-webgpu.bundle.js +43 -32
- package/concorde-webgpu.es.js +1819 -1553
- package/dist/concorde-3d.bundle.js +201 -152
- package/dist/concorde-3d.es.js +14688 -13906
- package/dist/concorde-core.bundle.js +557 -622
- package/dist/concorde-core.es.js +6025 -5575
- package/dist/concorde-hugging-face-infer.bundle.js +1 -1
- package/dist/concorde-hugging-face-infer.es.js +1 -1
- package/dist/concorde-interactive.bundle.js +1162 -0
- package/dist/concorde-interactive.es.js +10723 -0
- package/dist/concorde-shader.bundle.js +31 -20
- package/dist/concorde-shader.es.js +2773 -2547
- package/dist/concorde-webgpu.bundle.js +43 -32
- package/dist/concorde-webgpu.es.js +1819 -1553
- package/dist/docs-mock-api-sw.js +5 -1
- package/dist/docs-mock-api-sw.js.map +2 -2
- package/dist/js/addons/interactive.js +6 -0
- package/dist/js/addons/interactive.js.map +1 -0
- package/dist/js/core/components/functional/3d/3d.js +90 -2
- package/dist/js/core/components/functional/3d/3d.js.map +1 -1
- package/dist/js/core/components/functional/3d/constants.js +1 -0
- package/dist/js/core/components/functional/3d/constants.js.map +1 -1
- package/dist/js/core/components/functional/3d/ensure.js +6 -3
- package/dist/js/core/components/functional/3d/ensure.js.map +1 -1
- package/dist/js/core/components/functional/3d/form-params.js +2 -0
- package/dist/js/core/components/functional/3d/form-params.js.map +1 -1
- package/dist/js/core/components/functional/3d/life.js +2 -1
- package/dist/js/core/components/functional/3d/life.js.map +1 -1
- package/dist/js/core/components/functional/3d/out-publish.js +3 -2
- package/dist/js/core/components/functional/3d/out-publish.js.map +1 -1
- package/dist/js/core/components/functional/3d/playback.js +6 -1
- package/dist/js/core/components/functional/3d/playback.js.map +1 -1
- package/dist/js/core/components/functional/3d/post-bind.js +207 -0
- package/dist/js/core/components/functional/3d/post-bind.js.map +1 -0
- package/dist/js/core/components/functional/3d/post-channels.js +39 -0
- package/dist/js/core/components/functional/3d/post-channels.js.map +1 -0
- package/dist/js/core/components/functional/3d/post-fx.js +495 -0
- package/dist/js/core/components/functional/3d/post-fx.js.map +1 -0
- package/dist/js/core/components/functional/3d/props.js +142 -0
- package/dist/js/core/components/functional/3d/props.js.map +1 -1
- package/dist/js/core/components/functional/3d/reload.js +2 -0
- package/dist/js/core/components/functional/3d/reload.js.map +1 -1
- package/dist/js/core/components/functional/3d/runtime.js +80 -3
- package/dist/js/core/components/functional/3d/runtime.js.map +1 -1
- package/dist/js/core/components/functional/3d/scene-runtime.js +1 -1
- package/dist/js/core/components/functional/3d/scene-runtime.js.map +1 -1
- package/dist/js/core/components/functional/3d/tune.js +21 -0
- package/dist/js/core/components/functional/3d/tune.js.map +1 -1
- package/dist/js/core/components/functional/3d/updated.js +13 -1
- package/dist/js/core/components/functional/3d/updated.js.map +1 -1
- package/dist/js/core/components/functional/if/if.js +65 -7
- package/dist/js/core/components/functional/if/if.js.map +1 -1
- package/dist/js/core/components/functional/interactive/action.js +96 -0
- package/dist/js/core/components/functional/interactive/action.js.map +1 -0
- package/dist/js/core/components/functional/interactive/gamepad.js +206 -0
- package/dist/js/core/components/functional/interactive/gamepad.js.map +1 -0
- package/dist/js/core/components/functional/interactive/gesture.js +148 -0
- package/dist/js/core/components/functional/interactive/gesture.js.map +1 -0
- package/dist/js/core/components/functional/interactive/helpers.js +82 -0
- package/dist/js/core/components/functional/interactive/helpers.js.map +1 -0
- package/dist/js/core/components/functional/interactive/index.js +20 -0
- package/dist/js/core/components/functional/interactive/index.js.map +1 -0
- package/dist/js/core/components/functional/interactive/keyboard.js +183 -0
- package/dist/js/core/components/functional/interactive/keyboard.js.map +1 -0
- package/dist/js/core/components/functional/interactive/matrix.js +201 -0
- package/dist/js/core/components/functional/interactive/matrix.js.map +1 -0
- package/dist/js/core/components/functional/interactive/registry.js +28 -0
- package/dist/js/core/components/functional/interactive/registry.js.map +1 -0
- package/dist/js/core/components/functional/interactive/store.js +264 -0
- package/dist/js/core/components/functional/interactive/store.js.map +1 -0
- package/dist/js/core/components/functional/interactive/ticker.js +182 -0
- package/dist/js/core/components/functional/interactive/ticker.js.map +1 -0
- package/dist/js/core/components/functional/shader/gl-runtime.js +128 -14
- package/dist/js/core/components/functional/shader/gl-runtime.js.map +1 -1
- package/dist/js/core/components/functional/shader/shader.js +154 -57
- package/dist/js/core/components/functional/shader/shader.js.map +1 -1
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js +39 -5
- package/dist/js/core/components/functional/shader/shadertoy-prelude.js.map +1 -1
- package/dist/js/core/components/functional/shader/types.js +58 -7
- package/dist/js/core/components/functional/shader/types.js.map +1 -1
- package/dist/js/core/components/functional/value/value.js +49 -4
- package/dist/js/core/components/functional/value/value.js.map +1 -1
- package/dist/js/core/components/functional/webgpu/gl-fallback.js +27 -6
- package/dist/js/core/components/functional/webgpu/gl-fallback.js.map +1 -1
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js +115 -13
- package/dist/js/core/components/functional/webgpu/gpu-runtime.js.map +1 -1
- package/dist/js/core/components/functional/webgpu/helpers.js +8 -2
- package/dist/js/core/components/functional/webgpu/helpers.js.map +1 -1
- package/dist/js/core/components/functional/webgpu/webgpu.js +34 -1
- package/dist/js/core/components/functional/webgpu/webgpu.js.map +1 -1
- package/dist/js/core/components/ui/_css/rounded.js +34 -0
- package/dist/js/core/components/ui/_css/rounded.js.map +1 -0
- package/dist/js/core/components/ui/_css/type.js +44 -0
- package/dist/js/core/components/ui/_css/type.js.map +1 -1
- package/dist/js/core/components/ui/_i18n/ui-aria-labels.js +95 -0
- package/dist/js/core/components/ui/_i18n/ui-aria-labels.js.map +1 -0
- package/dist/js/core/components/ui/alert/alert.js +72 -87
- package/dist/js/core/components/ui/alert/alert.js.map +1 -1
- package/dist/js/core/components/ui/alert-messages/alert-messages.js +1 -0
- package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +1 -1
- package/dist/js/core/components/ui/badge/badge.js +29 -80
- package/dist/js/core/components/ui/badge/badge.js.map +1 -1
- package/dist/js/core/components/ui/button/button.js +8 -7
- package/dist/js/core/components/ui/button/button.js.map +1 -1
- package/dist/js/core/components/ui/card/card-header.js +7 -2
- package/dist/js/core/components/ui/card/card-header.js.map +1 -1
- package/dist/js/core/components/ui/divider/divider.js +1 -1
- package/dist/js/core/components/ui/divider/divider.js.map +1 -1
- package/dist/js/core/components/ui/form/checkbox/checkbox.js +4 -20
- package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +1 -1
- package/dist/js/core/components/ui/form/fieldset/legend-description.js +1 -1
- package/dist/js/core/components/ui/form/fieldset/legend.js +1 -1
- package/dist/js/core/components/ui/form/input/input.js +12 -15
- package/dist/js/core/components/ui/form/input/input.js.map +1 -1
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +363 -158
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +1 -1
- package/dist/js/core/components/ui/form/radio/radio.js +1 -1
- package/dist/js/core/components/ui/form/select/select.js +3 -6
- package/dist/js/core/components/ui/form/select/select.js.map +1 -1
- package/dist/js/core/components/ui/form/textarea/textarea.js +1 -2
- package/dist/js/core/components/ui/form/textarea/textarea.js.map +1 -1
- package/dist/js/core/components/ui/image/image.js +9 -37
- package/dist/js/core/components/ui/image/image.js.map +1 -1
- package/dist/js/core/components/ui/link/link.js +25 -26
- package/dist/js/core/components/ui/link/link.js.map +1 -1
- package/dist/js/core/components/ui/modal/modal-close.js +3 -12
- package/dist/js/core/components/ui/modal/modal-close.js.map +1 -1
- package/dist/js/core/components/ui/modal/modal.js +18 -18
- package/dist/js/core/components/ui/modal/modal.js.map +1 -1
- package/dist/js/core/components/ui/pop/pop.js +131 -112
- package/dist/js/core/components/ui/pop/pop.js.map +1 -1
- package/dist/js/core/components/ui/table/table.js.map +1 -1
- package/dist/js/core/components/ui/theme/theme.js +1 -1
- package/dist/js/core/components/ui/toast/dismissed.js +9 -0
- package/dist/js/core/components/ui/toast/dismissed.js.map +1 -0
- package/dist/js/core/components/ui/toast/render-content.js +14 -0
- package/dist/js/core/components/ui/toast/render-content.js.map +1 -0
- package/dist/js/core/components/ui/toast/toast-item.js +150 -96
- package/dist/js/core/components/ui/toast/toast-item.js.map +1 -1
- package/dist/js/core/components/ui/toast/toast.js +41 -13
- package/dist/js/core/components/ui/toast/toast.js.map +1 -1
- package/dist/js/core/components/ui/tooltip/tooltip.js +144 -143
- package/dist/js/core/components/ui/tooltip/tooltip.js.map +1 -1
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +1 -1
- package/dist/js/core/decorators/subscriber/derive.js +3 -1
- package/dist/js/core/decorators/subscriber/derive.js.map +1 -1
- package/dist/js/core/mixins/Fetcher.js.map +1 -1
- package/dist/js/core/mixins/FormCheckable.js +1 -8
- package/dist/js/core/mixins/FormCheckable.js.map +1 -1
- package/dist/js/core/mixins/FormElement.js +26 -53
- package/dist/js/core/mixins/FormElement.js.map +1 -1
- package/dist/js/core/utils/AncestorAttributeObserver.js +130 -55
- package/dist/js/core/utils/AncestorAttributeObserver.js.map +1 -1
- package/dist/js/core/utils/LocationHandler.js +1 -1
- package/dist/js/core/utils/LocationHandler.js.map +1 -1
- package/dist/js/core/utils/dismissed.js +23 -0
- package/dist/js/core/utils/dismissed.js.map +1 -0
- package/dist/js/core/utils/mediaRef.js +37 -0
- package/dist/js/core/utils/mediaRef.js.map +1 -1
- package/dist/js/core/utils/positioning.js +110 -0
- package/dist/js/core/utils/positioning.js.map +1 -0
- package/dist/js/directives.js +1 -2
- package/dist/js/directives.js.map +1 -1
- package/dist/types/addons/interactive.d.ts +6 -0
- package/dist/types/addons/interactive.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/3d.d.ts +26 -3
- package/dist/types/core/components/functional/3d/3d.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/constants.d.ts +1 -1
- package/dist/types/core/components/functional/3d/constants.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/ensure.d.ts +3 -0
- package/dist/types/core/components/functional/3d/ensure.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/form-params.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/life.d.ts +2 -0
- package/dist/types/core/components/functional/3d/life.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/out-publish.d.ts +1 -0
- package/dist/types/core/components/functional/3d/out-publish.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/playback.d.ts +9 -0
- package/dist/types/core/components/functional/3d/playback.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/post-bind.d.ts +52 -0
- package/dist/types/core/components/functional/3d/post-bind.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/post-channels.d.ts +40 -0
- package/dist/types/core/components/functional/3d/post-channels.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/post-fx.d.ts +73 -0
- package/dist/types/core/components/functional/3d/post-fx.d.ts.map +1 -0
- package/dist/types/core/components/functional/3d/props.d.ts +42 -0
- package/dist/types/core/components/functional/3d/props.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/reload.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/runtime.d.ts +16 -1
- package/dist/types/core/components/functional/3d/runtime.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts +1 -1
- package/dist/types/core/components/functional/3d/scene-runtime.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/tune.d.ts +5 -0
- package/dist/types/core/components/functional/3d/tune.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/types.d.ts +9 -0
- package/dist/types/core/components/functional/3d/types.d.ts.map +1 -1
- package/dist/types/core/components/functional/3d/updated.d.ts.map +1 -1
- package/dist/types/core/components/functional/if/if.d.ts +14 -5
- package/dist/types/core/components/functional/if/if.d.ts.map +1 -1
- package/dist/types/core/components/functional/interactive/action.d.ts +22 -0
- package/dist/types/core/components/functional/interactive/action.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/gamepad.d.ts +37 -0
- package/dist/types/core/components/functional/interactive/gamepad.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/gesture.d.ts +26 -0
- package/dist/types/core/components/functional/interactive/gesture.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/helpers.d.ts +23 -0
- package/dist/types/core/components/functional/interactive/helpers.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/index.d.ts +20 -0
- package/dist/types/core/components/functional/interactive/index.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/keyboard.d.ts +37 -0
- package/dist/types/core/components/functional/interactive/keyboard.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/matrix.d.ts +31 -0
- package/dist/types/core/components/functional/interactive/matrix.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/registry.d.ts +23 -0
- package/dist/types/core/components/functional/interactive/registry.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/store.d.ts +46 -0
- package/dist/types/core/components/functional/interactive/store.d.ts.map +1 -0
- package/dist/types/core/components/functional/interactive/ticker.d.ts +33 -0
- package/dist/types/core/components/functional/interactive/ticker.d.ts.map +1 -0
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts +33 -1
- package/dist/types/core/components/functional/shader/gl-runtime.d.ts.map +1 -1
- package/dist/types/core/components/functional/shader/shader.d.ts +28 -7
- package/dist/types/core/components/functional/shader/shader.d.ts.map +1 -1
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts +16 -2
- package/dist/types/core/components/functional/shader/shadertoy-prelude.d.ts.map +1 -1
- package/dist/types/core/components/functional/shader/types.d.ts +29 -5
- package/dist/types/core/components/functional/shader/types.d.ts.map +1 -1
- package/dist/types/core/components/functional/value/value.d.ts +6 -0
- package/dist/types/core/components/functional/value/value.d.ts.map +1 -1
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts +4 -0
- package/dist/types/core/components/functional/webgpu/gl-fallback.d.ts.map +1 -1
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts +14 -0
- package/dist/types/core/components/functional/webgpu/gpu-runtime.d.ts.map +1 -1
- package/dist/types/core/components/functional/webgpu/helpers.d.ts +1 -0
- package/dist/types/core/components/functional/webgpu/helpers.d.ts.map +1 -1
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts +7 -1
- package/dist/types/core/components/functional/webgpu/webgpu.d.ts.map +1 -1
- package/dist/types/core/components/ui/_css/rounded.d.ts +3 -0
- package/dist/types/core/components/ui/_css/rounded.d.ts.map +1 -0
- package/dist/types/core/components/ui/_css/type.d.ts +13 -0
- package/dist/types/core/components/ui/_css/type.d.ts.map +1 -1
- package/dist/types/core/components/ui/_i18n/ui-aria-labels.d.ts +83 -0
- package/dist/types/core/components/ui/_i18n/ui-aria-labels.d.ts.map +1 -0
- package/dist/types/core/components/ui/alert/alert.d.ts +14 -12
- package/dist/types/core/components/ui/alert/alert.d.ts.map +1 -1
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +1 -1
- package/dist/types/core/components/ui/badge/badge.d.ts +1 -1
- package/dist/types/core/components/ui/badge/badge.d.ts.map +1 -1
- package/dist/types/core/components/ui/button/button.d.ts +13 -29
- package/dist/types/core/components/ui/button/button.d.ts.map +1 -1
- package/dist/types/core/components/ui/card/card-header.d.ts.map +1 -1
- package/dist/types/core/components/ui/divider/divider.d.ts +2 -1
- package/dist/types/core/components/ui/divider/divider.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +25 -73
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/input/input.d.ts +14 -29
- package/dist/types/core/components/ui/form/input/input.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +63 -65
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/radio/radio.d.ts +1 -1
- package/dist/types/core/components/ui/form/select/select.d.ts +3 -5
- package/dist/types/core/components/ui/form/select/select.d.ts.map +1 -1
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +12 -28
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +1 -1
- package/dist/types/core/components/ui/image/image.d.ts +2 -1
- package/dist/types/core/components/ui/image/image.d.ts.map +1 -1
- package/dist/types/core/components/ui/link/link.d.ts +10 -9
- package/dist/types/core/components/ui/link/link.d.ts.map +1 -1
- package/dist/types/core/components/ui/modal/modal-close.d.ts +2 -2
- package/dist/types/core/components/ui/modal/modal-close.d.ts.map +1 -1
- package/dist/types/core/components/ui/pop/pop.d.ts +12 -4
- package/dist/types/core/components/ui/pop/pop.d.ts.map +1 -1
- package/dist/types/core/components/ui/table/table.d.ts +2 -1
- package/dist/types/core/components/ui/table/table.d.ts.map +1 -1
- package/dist/types/core/components/ui/toast/dismissed.d.ts +3 -0
- package/dist/types/core/components/ui/toast/dismissed.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/render-content.d.ts +7 -0
- package/dist/types/core/components/ui/toast/render-content.d.ts.map +1 -0
- package/dist/types/core/components/ui/toast/toast-item.d.ts +26 -9
- package/dist/types/core/components/ui/toast/toast-item.d.ts.map +1 -1
- package/dist/types/core/components/ui/toast/toast.d.ts +6 -3
- package/dist/types/core/components/ui/toast/toast.d.ts.map +1 -1
- package/dist/types/core/components/ui/toast/types.d.ts +12 -2
- package/dist/types/core/components/ui/toast/types.d.ts.map +1 -1
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts +19 -11
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +3 -4
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +1 -1
- package/dist/types/core/decorators/subscriber/derive.d.ts.map +1 -1
- package/dist/types/core/mixins/FormCheckable.d.ts +10 -27
- package/dist/types/core/mixins/FormCheckable.d.ts.map +1 -1
- package/dist/types/core/mixins/FormElement.d.ts +21 -10
- package/dist/types/core/mixins/FormElement.d.ts.map +1 -1
- package/dist/types/core/mixins/FormInput.d.ts +11 -27
- package/dist/types/core/mixins/FormInput.d.ts.map +1 -1
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts +17 -9
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +1 -1
- package/dist/types/core/utils/LocationHandler.d.ts +3 -2
- package/dist/types/core/utils/LocationHandler.d.ts.map +1 -1
- package/dist/types/core/utils/dismissed.d.ts +3 -0
- package/dist/types/core/utils/dismissed.d.ts.map +1 -0
- package/dist/types/core/utils/mediaRef.d.ts +15 -0
- package/dist/types/core/utils/mediaRef.d.ts.map +1 -1
- package/dist/types/core/utils/positioning.d.ts +44 -0
- package/dist/types/core/utils/positioning.d.ts.map +1 -0
- package/dist/types/directives.d.ts +1 -3
- package/dist/types/directives.d.ts.map +1 -1
- package/dist/types/mixins.d.ts +22 -55
- package/dist/types/mixins.d.ts.map +1 -1
- package/docs/assets/{index-FmK4JaIM.js → index-D8MVWqY6.js} +946 -687
- package/docs/assets/index-DiD0qYvE.css +1 -0
- package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +17 -85
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +1 -1
- package/docs/crawl/hubs/form-components.html +13 -11
- package/docs/docs-mock-api-sw.js +5 -1
- package/docs/docs-mock-api-sw.js.map +2 -2
- package/docs/index.html +2 -2
- package/docs/llms-full.txt +12 -38
- package/docs/llms.txt +1 -1
- package/docs/src/core/components/functional/sdui/sdui.md +0 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +14 -118
- package/docs/src/docs/_getting-started/create-a-component.md +0 -0
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +1 -1
- package/docs/src/docs/search/docs-search.json +195 -200
- package/docs/src/tsconfig.json +324 -0
- package/gitlab/job_tests.sh +25 -12
- package/index.html +3 -3
- package/package.json +217 -9
- package/public/docs-mock-api-sw.js +5 -1
- package/public/docs-mock-api-sw.js.map +2 -2
- package/scripts/build-addons.mjs +2 -2
- package/scripts/post-build.mjs +9 -0
- package/src/addons/interactive.ts +5 -0
- package/src/core/components/functional/3d/3d.md +34 -1
- package/src/core/components/functional/3d/3d.spec.ts +42 -0
- package/src/core/components/functional/3d/3d.ts +101 -3
- package/src/core/components/functional/3d/constants.ts +1 -0
- package/src/core/components/functional/3d/ensure.ts +11 -3
- package/src/core/components/functional/3d/form-params.ts +2 -0
- package/src/core/components/functional/3d/life.ts +4 -1
- package/src/core/components/functional/3d/out-publish.ts +4 -3
- package/src/core/components/functional/3d/playback.ts +13 -1
- package/src/core/components/functional/3d/post-bind.ts +262 -0
- package/src/core/components/functional/3d/post-channels.spec.ts +36 -0
- package/src/core/components/functional/3d/post-channels.ts +69 -0
- package/src/core/components/functional/3d/post-fx.ts +594 -0
- package/src/core/components/functional/3d/props.ts +45 -0
- package/src/core/components/functional/3d/reload.ts +2 -0
- package/src/core/components/functional/3d/runtime.ts +93 -4
- package/src/core/components/functional/3d/scene-runtime.ts +3 -0
- package/src/core/components/functional/3d/tune.ts +21 -0
- package/src/core/components/functional/3d/types.ts +9 -0
- package/src/core/components/functional/3d/updated.ts +17 -1
- package/src/core/components/functional/if/if.ts +54 -7
- package/src/core/components/functional/interactive/action.ts +84 -0
- package/src/core/components/functional/interactive/gamepad.ts +197 -0
- package/src/core/components/functional/interactive/gesture.ts +136 -0
- package/src/core/components/functional/interactive/helpers.spec.ts +50 -0
- package/src/core/components/functional/interactive/helpers.ts +97 -0
- package/src/core/components/functional/interactive/index.ts +25 -0
- package/src/core/components/functional/interactive/interactive.md +33 -0
- package/src/core/components/functional/interactive/keyboard.ts +171 -0
- package/src/core/components/functional/interactive/matrix.ts +185 -0
- package/src/core/components/functional/interactive/registry.ts +46 -0
- package/src/core/components/functional/interactive/store.ts +264 -0
- package/src/core/components/functional/interactive/ticker.ts +171 -0
- package/src/core/components/functional/list/list.ts +0 -0
- package/src/core/components/functional/shader/gl-runtime.ts +169 -12
- package/src/core/components/functional/shader/shader.md +27 -4
- package/src/core/components/functional/shader/shader.spec.ts +267 -0
- package/src/core/components/functional/shader/shader.ts +177 -55
- package/src/core/components/functional/shader/shadertoy-prelude.ts +49 -5
- package/src/core/components/functional/shader/types.ts +89 -12
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/functional/value/value.ts +44 -4
- package/src/core/components/functional/webgpu/gl-fallback.ts +28 -4
- package/src/core/components/functional/webgpu/gpu-runtime.ts +154 -18
- package/src/core/components/functional/webgpu/helpers.ts +8 -2
- package/src/core/components/functional/webgpu/webgpu.md +13 -2
- package/src/core/components/functional/webgpu/webgpu.spec.ts +37 -0
- package/src/core/components/functional/webgpu/webgpu.ts +39 -1
- package/src/core/components/ui/_css/rounded.ts +36 -0
- package/src/core/components/ui/_css/type.ts +49 -0
- package/src/core/components/ui/_i18n/ui-aria-labels.ts +104 -0
- package/src/core/components/ui/alert/alert.md +128 -72
- package/src/core/components/ui/alert/alert.spec.ts +145 -0
- package/src/core/components/ui/alert/alert.ts +86 -91
- package/src/core/components/ui/alert-messages/alert-messages.ts +1 -1
- package/src/core/components/ui/badge/badge.md +126 -78
- package/src/core/components/ui/badge/badge.ts +29 -81
- package/src/core/components/ui/button/button.md +1 -0
- package/src/core/components/ui/button/button.ts +12 -10
- package/src/core/components/ui/card/card-header.ts +7 -2
- package/src/core/components/ui/card/card.md +120 -65
- package/src/core/components/ui/divider/divider.ts +4 -9
- 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/fieldset/legend-description.ts +1 -1
- package/src/core/components/ui/form/fieldset/legend.ts +1 -1
- package/src/core/components/ui/form/input/input.md +1 -1
- package/src/core/components/ui/form/input/input.ts +25 -27
- 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.md +1 -1
- package/src/core/components/ui/form/textarea/textarea.ts +1 -2
- package/src/core/components/ui/image/image.md +147 -53
- package/src/core/components/ui/image/image.ts +10 -44
- package/src/core/components/ui/link/link.md +2 -2
- package/src/core/components/ui/link/link.ts +42 -37
- package/src/core/components/ui/modal/modal-close.ts +8 -12
- package/src/core/components/ui/modal/modal.ts +18 -18
- package/src/core/components/ui/pop/pop.md +105 -1
- package/src/core/components/ui/pop/pop.ts +145 -141
- package/src/core/components/ui/table/table.ts +2 -8
- package/src/core/components/ui/theme/theme.ts +1 -1
- package/src/core/components/ui/toast/dismissed.ts +14 -0
- package/src/core/components/ui/toast/render-content.ts +13 -0
- package/src/core/components/ui/toast/toast-item.ts +179 -103
- package/src/core/components/ui/toast/toast.ts +58 -21
- package/src/core/components/ui/toast/types.ts +14 -2
- package/src/core/components/ui/tooltip/tooltip.ts +176 -154
- package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +26 -0
- package/src/core/decorators/subscriber/ancestorAttribute.ts +3 -4
- 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/mixins/Subscriber.ts +0 -0
- package/src/core/utils/AncestorAttributeObserver.ts +183 -70
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/LocationHandler.ts +12 -5
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/dismissed.ts +22 -0
- package/src/core/utils/mediaRef.spec.ts +25 -0
- package/src/core/utils/mediaRef.ts +45 -0
- package/src/core/utils/positioning.spec.ts +208 -0
- package/src/core/utils/positioning.ts +183 -0
- package/src/directives.ts +1 -3
- package/src/docs/_core-concept/dataFlow.md +1 -1
- package/src/docs/_decorators/ancestor-attribute.md +3 -2
- package/src/docs/_getting-started/concorde-outside.md +3 -3
- package/src/docs/_misc/formelement-subscriber-removal.md +115 -0
- package/src/docs/_misc/html-integration.md +2 -0
- package/src/docs/_misc/visual-stack.md +19 -1
- package/src/docs/code.ts +3 -1
- package/src/docs/components/docs-demo-sources.ts +88 -0
- package/src/docs/docs.ts +3 -0
- package/src/docs/example/docs-3d-post-depth-demo.ts +68 -0
- package/src/docs/example/docs-3d-webgpu-live-demo.ts +83 -0
- package/src/docs/example/docs-harris-webgpu-demo.ts +53 -55
- 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 -0
- package/src/docs/search/docs-search.json +922 -1762
- package/src/docs/tailwind/css/tailwind.css +13 -6
- package/src/tsconfig.json +162 -6
- package/src/tsconfig.tsbuildinfo +1 -1
- package/tailwind.config.js +50 -3
- package/vite/config.js +23 -35
- package/vite.config.mts +5 -0
- package/vitest.setup.ts +49 -13
- package/docs/assets/index-BZiZXMU-.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import { ShaderExtractItem, ShaderExtractOutput, ShaderHoverParam, ShaderMouseMode, ShaderRoi } from "./types";
|
|
2
|
+
import { ReleaseOffscreen, ShaderBufferFormat, ShaderExtractItem, ShaderExtractOutput, ShaderHoverParam, ShaderMouseMode, ShaderRoi } from "./types";
|
|
3
3
|
declare const tagName = "sonic-shader";
|
|
4
4
|
/** Valeur canal depuis DP : string (url, buffer-a, #id) | MediaRef → url | { element }. */
|
|
5
5
|
declare function channelFormValue(value: unknown): string | undefined;
|
|
@@ -69,11 +69,19 @@ export declare class SonicShader extends LitElement {
|
|
|
69
69
|
/** Vitesse d’easing hover on/off (1/s, défaut 10). */
|
|
70
70
|
hoverSpeed: number;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* Hors viewport : libère textures/FBO (garde le contexte).
|
|
73
|
+
* `auto` (défaut) : ne libère pas si une passe lit `self`.
|
|
74
|
+
* `true` / `false` forcent le comportement.
|
|
74
75
|
*/
|
|
75
|
-
releaseOffscreen:
|
|
76
|
+
releaseOffscreen: ReleaseOffscreen;
|
|
76
77
|
dprMax: number;
|
|
78
|
+
/**
|
|
79
|
+
* Format des buffers A–D : `rgba8` (défaut) | `rgba16f` | `rgba32f`.
|
|
80
|
+
* Attribut reflété `active-buffer-format` = format réellement utilisé.
|
|
81
|
+
*/
|
|
82
|
+
bufferFormat: ShaderBufferFormat | string;
|
|
83
|
+
/** Format actif après repli éventuel (lecture seule, reflect). */
|
|
84
|
+
activeBufferFormat: ShaderBufferFormat;
|
|
77
85
|
/** Generic float uniforms `uParam0`…`uParam3` (no shader rebuild). */
|
|
78
86
|
param0: number;
|
|
79
87
|
param1: number;
|
|
@@ -155,6 +163,9 @@ export declare class SonicShader extends LitElement {
|
|
|
155
163
|
private resizeObserver;
|
|
156
164
|
private intersectionObserver;
|
|
157
165
|
private rebuildToken;
|
|
166
|
+
/** Annule un `rebindChannels` en vol si rebuild / release intervient. */
|
|
167
|
+
private rebindToken;
|
|
168
|
+
private frameConsumers;
|
|
158
169
|
private ready;
|
|
159
170
|
private formPublisher;
|
|
160
171
|
private outPublisher;
|
|
@@ -209,6 +220,16 @@ export declare class SonicShader extends LitElement {
|
|
|
209
220
|
private buildChannels;
|
|
210
221
|
private collectUrls;
|
|
211
222
|
private collectElementKeys;
|
|
223
|
+
/** Enregistre les producteurs live (`sonic-3d`…) pour play-offscreen auto. */
|
|
224
|
+
private syncFrameConsumers;
|
|
225
|
+
/** Map canaux courante (tous les passes). */
|
|
226
|
+
private collectPassChannels;
|
|
227
|
+
/** `true` si hors viewport on doit libérer textures/FBO. */
|
|
228
|
+
private wantsReleaseOffscreen;
|
|
229
|
+
/**
|
|
230
|
+
* Re-lie les canaux sans recompiler ni vider les FBO (Vague A Lot 2).
|
|
231
|
+
*/
|
|
232
|
+
private rebindChannels;
|
|
212
233
|
private rebuild;
|
|
213
234
|
private emitError;
|
|
214
235
|
private shouldAnimate;
|
|
@@ -271,12 +292,12 @@ export declare class SonicShader extends LitElement {
|
|
|
271
292
|
private onPointerLeave;
|
|
272
293
|
render(): import("lit-html").TemplateResult<1>;
|
|
273
294
|
}
|
|
274
|
-
export { parseChannelSource, ShaderToyRuntime, shouldUploadElementFrame } from "./gl-runtime";
|
|
295
|
+
export { parseChannelSource, ShaderToyRuntime, shouldUploadElementFrame, resolveBufferGlFormat, resetBufferFormatWarnFlag } from "./gl-runtime";
|
|
275
296
|
export { buildFragmentSource } from "./shadertoy-prelude";
|
|
276
|
-
export type { ChannelSource, ShaderExtractItem, ShaderExtractOutput, ShaderExtractPass, ShaderHoverParam, ShaderMouseMode, ShaderParamSlot, ShaderPassId, ShaderPeak, ShaderRoi, ShaderSources, SonicShaderConfig, SonicShaderOutput, } from "./types";
|
|
297
|
+
export type { ChannelSource, ReleaseOffscreen, ShaderBufferFormat, ShaderExtractItem, ShaderExtractOutput, ShaderExtractPass, ShaderHoverParam, ShaderMouseMode, ShaderParamSlot, ShaderPassId, ShaderPeak, ShaderRoi, ShaderSources, SonicShaderConfig, SonicShaderOutput, } from "./types";
|
|
277
298
|
export type { SonicMediaRef, SonicFrameSource, } from "@supersoniks/concorde/core/utils/mediaRef";
|
|
278
299
|
export { toMediaUrl, cloneMediaRef, isFrameSource, mediaElementKey, } from "@supersoniks/concorde/core/utils/mediaRef";
|
|
279
|
-
export { findPeaks, meanRgba, parseExtractPass, parseHoverParam, roiToPixels, ShaderCompileError, } from "./types";
|
|
300
|
+
export { channelsUseSelf, findPeaks, meanRgba, parseBufferFormat, parseExtractPass, parseHoverParam, parseReleaseOffscreen, roiToPixels, rgbaToUint8, shouldReleaseWhenOffscreen, ShaderCompileError, } from "./types";
|
|
280
301
|
declare global {
|
|
281
302
|
interface HTMLElementTagNameMap {
|
|
282
303
|
[tagName]: SonicShader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shader.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/shader/shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAS5C,OAAO,
|
|
1
|
+
{"version":3,"file":"shader.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/shader/shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAS5C,OAAO,EAEL,gBAAgB,EAChB,kBAAkB,EAElB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAEf,SAAS,EAaV,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,OAAO,iBAAiB,CAAC;AAsH/B,2FAA2F;AAC3F,iBAAS,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAY5D;AAED,yBAAyB;AACzB,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAqE5B;;;;;;GAMG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BA8BX;IAEU,KAAK,SAAM;IACc,OAAO,SAAM;IACb,OAAO,SAAM;IACb,OAAO,SAAM;IACb,OAAO,SAAM;IACtC,MAAM,SAAM;IAEZ,QAAQ,SAAM;IACd,QAAQ,SAAM;IACd,QAAQ,SAAM;IACd,QAAQ,SAAM;IAEY,QAAQ,SAAM;IACd,QAAQ,SAAM;IACd,QAAQ,SAAM;IACd,QAAQ,SAAM;IA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AAc,CAYpB;IAEF,MAAM;CAQP;AAED,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAChJ,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,aAAa,EACb,gBAAgB,GACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,eAAe,EACf,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;KACxB;CACF"}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* ShaderToy-compatible GLSL ES 3.0 prelude (fragment body, sans `#version`).
|
|
3
|
+
* - `sonic-shader` préfixe `#version 300 es` via `buildFragmentSource`.
|
|
4
|
+
* - `sonic-3d` post passe le corps à Three `RawShaderMaterial` (GLSL3).
|
|
5
|
+
*/
|
|
6
|
+
export declare const GLSL_VERSION_300 = "#version 300 es\n";
|
|
7
|
+
/** Corps des uniforms / out (sans version). */
|
|
8
|
+
export declare const SHADERTOY_FRAGMENT_BODY = "precision highp float;\nprecision highp int;\nprecision mediump sampler2D;\n\nuniform vec3 iResolution;\nuniform float iTime;\nuniform float iTimeDelta;\nuniform float iFrameRate;\nuniform int iFrame;\nuniform float iChannelTime[4];\nuniform vec3 iChannelResolution[4];\nuniform vec4 iMouse;\nuniform vec4 iDate;\nuniform float iSampleRate;\nuniform sampler2D iChannel0;\nuniform sampler2D iChannel1;\nuniform sampler2D iChannel2;\nuniform sampler2D iChannel3;\nuniform float uParam0;\nuniform float uParam1;\nuniform float uParam2;\nuniform float uParam3;\n/** Near / far cam\u00E9ra (0 dans sonic-shader standalone). */\nuniform float uNear;\nuniform float uFar;\n\nout vec4 sonicFragColor;\n\n/** Profondeur lin\u00E9aire monde depuis une DepthTexture (0\u20131). */\nfloat sonicLinearDepth(float d) {\n float z = d * 2.0 - 1.0;\n float n = max(uNear, 1e-4);\n float f = max(uFar, n + 1e-4);\n return (2.0 * n * f) / (f + n - z * (f - n));\n}\n\n";
|
|
9
|
+
/** @deprecated Préférer SHADERTOY_FRAGMENT_BODY + buildFragmentSource. */
|
|
10
|
+
export declare const SHADERTOY_FRAGMENT_PRELUDE: string;
|
|
3
11
|
export declare const SHADERTOY_FRAGMENT_EPILOGUE = "\nvoid main() {\n mainImage(sonicFragColor, gl_FragCoord.xy);\n}\n";
|
|
4
12
|
export declare const FULLSCREEN_VERTEX = "#version 300 es\nprecision highp float;\nlayout(location = 0) in vec2 aPos;\nvoid main() {\n gl_Position = vec4(aPos, 0.0, 1.0);\n}\n";
|
|
13
|
+
/** Vertex Three RawShaderMaterial GLSL3 (fullscreen triangle via PlaneGeometry 2×2). */
|
|
14
|
+
export declare const THREE_FULLSCREEN_VERTEX = "precision highp float;\nin vec3 position;\nvoid main() {\n gl_Position = vec4(position.xy, 0.0, 1.0);\n}\n";
|
|
15
|
+
export declare function buildFragmentBody(common: string, userCode: string): string;
|
|
16
|
+
/** Source fragment WebGL2 native (`sonic-shader`). */
|
|
5
17
|
export declare function buildFragmentSource(common: string, userCode: string): string;
|
|
18
|
+
/** Source fragment pour Three RawShaderMaterial (GLSL3, sans #version). */
|
|
19
|
+
export declare function buildThreeFragmentSource(common: string, userCode: string): string;
|
|
6
20
|
//# sourceMappingURL=shadertoy-prelude.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadertoy-prelude.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/shader/shadertoy-prelude.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"shadertoy-prelude.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/shader/shadertoy-prelude.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB,sBAC5B,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,uBAAuB,ogCAoCnC,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,QACK,CAAC;AAE7C,eAAO,MAAM,2BAA2B,wEAIvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,2IAM7B,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,uBAAuB,gHAKnC,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAQ1E;AAED,sDAAsD;AACtD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE5E;AAED,2EAA2E;AAC3E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GACf,MAAM,CAER"}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
export type ShaderPassId = "image" | "bufferA" | "bufferB" | "bufferC" | "bufferD";
|
|
2
|
+
/** Format interne des buffers A–D (Image = toujours le canvas RGBA8). */
|
|
3
|
+
export type ShaderBufferFormat = "rgba8" | "rgba16f" | "rgba32f";
|
|
4
|
+
export declare function parseBufferFormat(value: string | null | undefined): ShaderBufferFormat;
|
|
5
|
+
/**
|
|
6
|
+
* Hors viewport : libérer textures/FBO ?
|
|
7
|
+
* - `true` / `false` — forcé
|
|
8
|
+
* - `auto` (défaut) — libère sauf si une passe lit `self` (état conservé)
|
|
9
|
+
*/
|
|
10
|
+
export type ReleaseOffscreen = boolean | "auto";
|
|
11
|
+
export declare function parseReleaseOffscreen(value: string | null | undefined): ReleaseOffscreen;
|
|
12
|
+
/** Au moins un canal `self` (feedback frame précédente). */
|
|
13
|
+
export declare function channelsUseSelf(channels: Iterable<readonly ChannelSource[]>): boolean;
|
|
14
|
+
export declare function shouldReleaseWhenOffscreen(mode: ReleaseOffscreen, usesSelf: boolean): boolean;
|
|
2
15
|
export type ChannelSource = {
|
|
3
16
|
kind: "url";
|
|
4
17
|
url: string;
|
|
@@ -141,10 +154,17 @@ export type SonicShaderConfig = {
|
|
|
141
154
|
aspectRatio?: string;
|
|
142
155
|
dprMax?: number;
|
|
143
156
|
/**
|
|
144
|
-
*
|
|
157
|
+
* Format des buffers A–D : `rgba8` (défaut) \| `rgba16f` \| `rgba32f`.
|
|
158
|
+
* Requis pour des valeurs signées / hors [0,1] (ex. tenseur Harris).
|
|
159
|
+
* Repli auto en `rgba8` si `EXT_color_buffer_float` manque.
|
|
160
|
+
*/
|
|
161
|
+
bufferFormat?: ShaderBufferFormat;
|
|
162
|
+
/**
|
|
163
|
+
* Hors viewport : libère textures/FBO, sans loseContext.
|
|
164
|
+
* `auto` (défaut) : ne libère pas si une passe lit `self`.
|
|
145
165
|
* Le slot navigateur est libéré au disconnect.
|
|
146
166
|
*/
|
|
147
|
-
releaseOffscreen?:
|
|
167
|
+
releaseOffscreen?: ReleaseOffscreen;
|
|
148
168
|
};
|
|
149
169
|
/** Parse `hover-param` → slot ou `null` si désactivé / invalide. */
|
|
150
170
|
export declare function parseHoverParam(value: string | number | null | undefined): ShaderParamSlot | null;
|
|
@@ -231,15 +251,17 @@ export type ReadRectResult = {
|
|
|
231
251
|
y: number;
|
|
232
252
|
width: number;
|
|
233
253
|
height: number;
|
|
234
|
-
|
|
254
|
+
/** `Uint8Array` (RGBA8) ou `Float32Array` (buffers flottants). */
|
|
255
|
+
data: Uint8Array | Float32Array;
|
|
235
256
|
};
|
|
236
257
|
/** Parse `extract-source` / `extract-mask` → pass id ou null. */
|
|
237
258
|
export declare function parseExtractPass(value: string | null | undefined): ShaderPassId | null;
|
|
238
259
|
/**
|
|
239
260
|
* NMS simple sur canal R (RGBA row-major, origine bas-gauche comme WebGL).
|
|
240
261
|
* Retourne peaks triés par score décroissant.
|
|
262
|
+
* Accepte Uint8 (0–255) ou Float32 (scores déjà dans ~[0,1]).
|
|
241
263
|
*/
|
|
242
|
-
export declare function findPeaks(data: Uint8Array, width: number, height: number, options?: FindPeaksOptions): ShaderPeak[];
|
|
264
|
+
export declare function findPeaks(data: Uint8Array | Float32Array, width: number, height: number, options?: FindPeaksOptions): ShaderPeak[];
|
|
243
265
|
/** Clamp + convertit un ROI normalisé en pixels drawing-buffer. */
|
|
244
266
|
export declare function roiToPixels(roi: ShaderRoi, bufW: number, bufH: number, defaultPatchPx: number, maxPatchPx?: number): {
|
|
245
267
|
x: number;
|
|
@@ -247,13 +269,15 @@ export declare function roiToPixels(roi: ShaderRoi, bufW: number, bufH: number,
|
|
|
247
269
|
w: number;
|
|
248
270
|
h: number;
|
|
249
271
|
} | null;
|
|
250
|
-
export declare function meanRgba(data: Uint8Array): {
|
|
272
|
+
export declare function meanRgba(data: Uint8Array | Float32Array): {
|
|
251
273
|
r: number;
|
|
252
274
|
g: number;
|
|
253
275
|
b: number;
|
|
254
276
|
a: number;
|
|
255
277
|
luma: number;
|
|
256
278
|
};
|
|
279
|
+
/** Convertit un buffer RGBA (byte ou float 0–1) en Uint8 pour canvas / blob. */
|
|
280
|
+
export declare function rgbaToUint8(data: Uint8Array | Float32Array): Uint8Array;
|
|
257
281
|
export declare class ShaderCompileError extends Error {
|
|
258
282
|
readonly pass: ShaderPassId | "vertex" | "link";
|
|
259
283
|
readonly infoLog: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/shader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,aAAa,GACrB;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;CAAE,GAC1D;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;AAClB,sEAAsE;GACpE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;CACd,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAC7D,CAAC;AAEF,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IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA6CvD;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,GAAG;IACzD,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CA2BA;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CACzB,IAAI,EAAE,UAAU,GAAG,YAAY,GAC9B,UAAU,CAOZ;AAED,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,MAAM;aACtC,OAAO,EAAE,MAAM;gBAF/B,OAAO,EAAE,MAAM,EACC,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,MAAM,EACtC,OAAO,EAAE,MAAM;CAKlC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
declare const SonicValue_base: (new (...args: import("../../../_types/types").MixinArgsType[]) => import("../../../mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* Affiche une valeur du DataProvider (`key`).
|
|
5
|
+
* `format="00000"` pad numérique, ou `format="intl:fr-FR"` / `format="intl:fr-FR:currency:EUR"`.
|
|
6
|
+
*/
|
|
3
7
|
export declare class SonicValue extends SonicValue_base {
|
|
8
|
+
format: string;
|
|
4
9
|
connectedCallback(): void;
|
|
10
|
+
private formatted;
|
|
5
11
|
render(): import("lit-html").TemplateResult<1>;
|
|
6
12
|
}
|
|
7
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/value/value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;;
|
|
1
|
+
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/value/value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAO,MAAM,KAAK,CAAC;;AAOrC;;;GAGG;AACH,qBACa,UAAW,SAAQ,eAAsB;IAC1B,MAAM,SAAM;IAEtC,iBAAiB,IAAI,IAAI;IAKzB,OAAO,CAAC,SAAS;IA6BjB,MAAM;CAQP"}
|
|
@@ -10,8 +10,10 @@ export declare class WebGl2FallbackRuntime {
|
|
|
10
10
|
private lastTime;
|
|
11
11
|
private disposed;
|
|
12
12
|
private channelQueue;
|
|
13
|
+
private elementResolver;
|
|
13
14
|
private constructor();
|
|
14
15
|
static create(canvas: HTMLCanvasElement): WebGl2FallbackRuntime;
|
|
16
|
+
setElementResolver(fn: ((key: string) => Element | null) | null): void;
|
|
15
17
|
/** WGSL ignoré — effet GLSL fixe (canaux / params OK). */
|
|
16
18
|
setShader(_userBody: string): Promise<void>;
|
|
17
19
|
setChannel(index: 0 | 1 | 2 | 3, url: string): Promise<void>;
|
|
@@ -23,8 +25,10 @@ export declare class WebGl2FallbackRuntime {
|
|
|
23
25
|
height: number;
|
|
24
26
|
} | null;
|
|
25
27
|
resize(width: number, height: number): void;
|
|
28
|
+
updateLiveChannels(resolveEl: (key: string) => Element | null): void;
|
|
26
29
|
draw(state: WebGpuFrameState): void;
|
|
27
30
|
dispose(loseContext?: boolean): void;
|
|
31
|
+
private ensureChannelAssets;
|
|
28
32
|
private applySources;
|
|
29
33
|
private assertAlive;
|
|
30
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gl-fallback.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/gl-fallback.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA8BtD;;GAEG;AACH,qBAAa,qBAAqB;IAChC,QAA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AO,CAAC,IAAI,CAAC;IAexE,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAIrE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAKpC,kBAAkB,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI;IAK7D,IAAI,CAAC,KAAK,EAAE,gBAAgB;IAmB5B,OAAO,CAAC,WAAW,UAAO;YAMZ,mBAAmB;IAQjC,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,WAAW;CAGpB"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/** `true` si la texture existante peut être réécrite (même taille). */
|
|
2
|
+
export declare function channelTextureNeedsRecreate(current: {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
} | null | undefined, nextW: number, nextH: number): boolean;
|
|
1
6
|
/** Adapter WebGPU : high-performance → low-power → défaut. */
|
|
2
7
|
export declare function requestBestAdapter(gpu?: GPU): Promise<GPUAdapter | null>;
|
|
3
8
|
export type WebGpuFrameState = {
|
|
@@ -24,6 +29,8 @@ export declare class WebGpuRuntime {
|
|
|
24
29
|
private channelViews;
|
|
25
30
|
private channelSizes;
|
|
26
31
|
private channelUrls;
|
|
32
|
+
private channelLastSeq;
|
|
33
|
+
private channelLastSrc;
|
|
27
34
|
private placeholder;
|
|
28
35
|
private placeholderView;
|
|
29
36
|
private bindGroup;
|
|
@@ -39,6 +46,11 @@ export declare class WebGpuRuntime {
|
|
|
39
46
|
static create(canvas: HTMLCanvasElement): Promise<WebGpuRuntime>;
|
|
40
47
|
setShader(userBody: string): Promise<void>;
|
|
41
48
|
setChannel(index: 0 | 1 | 2 | 3, url: string): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Upload live des canaux `#id` / FrameSource / video / canvas.
|
|
51
|
+
* Recrée la texture seulement si la taille change (pas de createTexture chaque frame).
|
|
52
|
+
*/
|
|
53
|
+
updateLiveChannels(resolveEl: (key: string) => Element | null): void;
|
|
42
54
|
getTextureSize(url: string): {
|
|
43
55
|
width: number;
|
|
44
56
|
height: number;
|
|
@@ -46,6 +58,8 @@ export declare class WebGpuRuntime {
|
|
|
46
58
|
resize(width: number, height: number): void;
|
|
47
59
|
draw(state: WebGpuFrameState): void;
|
|
48
60
|
dispose(destroyDevice?: boolean): void;
|
|
61
|
+
private bindElementChannel;
|
|
62
|
+
private uploadExternal;
|
|
49
63
|
private writeUniforms;
|
|
50
64
|
private destroyChannel;
|
|
51
65
|
private assertAlive;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gpu-runtime.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/gpu-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gpu-runtime.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/gpu-runtime.ts"],"names":[],"mappings":"AAaA,uEAAuE;AACvE,wBAAgB,2BAA2B,CACzC,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,EAC7D,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ,OAAO,CAGT;AA6BD,8DAA8D;AAC9D,wBAAsB,kBAAkB,CACtC,GAAG,GAAE,GAAoB,GACxB,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAM5B;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,MAAM,EAAE,CAAC,MAAM,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K,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAMrE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAcpC,IAAI,CAAC,KAAK,EAAE,gBAAgB;IA+C5B,OAAO,CAAC,aAAa,UAAQ;IA2B7B,OAAO,CAAC,kBAAkB;IA8B1B,OAAO,CAAC,cAAc;IAwCtB,OAAO,CAAC,aAAa;IAkBrB,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,WAAW;CAGpB"}
|
|
@@ -5,5 +5,6 @@ export declare const CHANNEL_FORM_KEYS: readonly ["channel0", "channel1", "chann
|
|
|
5
5
|
export declare const FRAME_OUT_KEYS: readonly ["frameUrl", "snapshot"];
|
|
6
6
|
export declare function prefersReducedMotion(): boolean;
|
|
7
7
|
export declare function toNum(v: unknown, fallback: number): number;
|
|
8
|
+
/** string (url / #id) | MediaRef → url | { element }. */
|
|
8
9
|
export declare function channelFormValue(value: unknown): string | undefined;
|
|
9
10
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAE3C,eAAO,MAAM,aAAa,4DAMhB,CAAC;AAEX,eAAO,MAAM,cAAc,mDAAoD,CAAC;AAEhF,eAAO,MAAM,iBAAiB,2DAKpB,CAAC;AAEX,eAAO,MAAM,cAAc,mCAAoC,CAAC;AAEhE,wBAAgB,oBAAoB,IAAI,OAAO,CAK9C;AAED,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mBAAmB,CAAC;AAE3C,eAAO,MAAM,aAAa,4DAMhB,CAAC;AAEX,eAAO,MAAM,cAAc,mDAAoD,CAAC;AAEhF,eAAO,MAAM,iBAAiB,2DAKpB,CAAC;AAEX,eAAO,MAAM,cAAc,mCAAoC,CAAC;AAEhE,wBAAgB,oBAAoB,IAAI,OAAO,CAK9C;AAED,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED,yDAAyD;AACzD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAYnE"}
|
|
@@ -72,6 +72,7 @@ export declare class SonicWebGpu extends LitElement {
|
|
|
72
72
|
private resizeObserver;
|
|
73
73
|
private intersectionObserver;
|
|
74
74
|
private rebuildToken;
|
|
75
|
+
private frameConsumers;
|
|
75
76
|
ready: boolean;
|
|
76
77
|
/** Évite deux boots concurrents (IO + rAF) qui disposent le fallback. */
|
|
77
78
|
private boot;
|
|
@@ -98,7 +99,11 @@ export declare class SonicWebGpu extends LitElement {
|
|
|
98
99
|
private ensureCanvas;
|
|
99
100
|
/** Jette le canvas (verrouillé webgpu/webgl) et en crée un neuf. */
|
|
100
101
|
private replaceCanvas;
|
|
102
|
+
/** Résout `#id` dans getRootNode() puis document ; clés live `__sonic_frame_`. */
|
|
103
|
+
private lookupElement;
|
|
101
104
|
private releaseRuntime;
|
|
105
|
+
/** Enregistre les producteurs live pour play-offscreen auto. */
|
|
106
|
+
private syncFrameConsumers;
|
|
102
107
|
private rebuild;
|
|
103
108
|
private syncSize;
|
|
104
109
|
private syncVisibility;
|
|
@@ -120,8 +125,9 @@ export declare class SonicWebGpu extends LitElement {
|
|
|
120
125
|
export type { SonicWebGpuBackend, SonicWebGpuBackendPrefer, SonicWebGpuConfig, SonicWebGpuKernel, SonicWebGpuOutput, } from "./types";
|
|
121
126
|
export { parseBackendPrefer, parseKernel, WebGpuCompileError } from "./types";
|
|
122
127
|
export { buildWgslSource, DEFAULT_MAIN_IMAGE } from "./wgsl-prelude";
|
|
123
|
-
export { WebGpuRuntime } from "./gpu-runtime";
|
|
128
|
+
export { WebGpuRuntime, channelTextureNeedsRecreate } from "./gpu-runtime";
|
|
124
129
|
export { WebGl2FallbackRuntime } from "./gl-fallback";
|
|
125
130
|
export { Canvas2dFallbackRuntime } from "./canvas2d-fallback";
|
|
126
131
|
export { ParticlesRuntime } from "./particles-runtime";
|
|
132
|
+
export { channelFormValue } from "./helpers";
|
|
127
133
|
//# sourceMappingURL=webgpu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webgpu.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/webgpu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"webgpu.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/webgpu/webgpu.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAK/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAKjB,KAAK,UAAU,GACX,aAAa,GACb,qBAAqB,GACrB,uBAAuB,GACvB,gBAAgB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,UAAU;IAWlB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,SAAS;IAuCjB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,eAAe;IAIvB,2DAA2D;IAC3D,cAAc,IAAI,iBAAiB,GAAG,IAAI;IAK1C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,aAAa,CACc;IACnC,OAAO,CAAC,aAAa,CACc;IACnC,OAAO,CAAC,WAAW,CAAqC;IACxD,OAAO,CAAC,cAAc,CAAwC;IAC9D,OAAO,CAAC,cAAc,CAAwC;IAE9D,MAAM;CAUP;AAED,YAAY,EACV,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rounded.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/_css/rounded.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,OAAO,GAAG,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhF,eAAO,MAAM,WAAW,yBA+BvB,CAAC"}
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/** Icônes pour les composants à `status` (API messages, alert, toast). */
|
|
2
|
+
export declare const statusIcon: {
|
|
3
|
+
default: string;
|
|
4
|
+
info: string;
|
|
5
|
+
success: string;
|
|
6
|
+
warning: string;
|
|
7
|
+
error: string;
|
|
8
|
+
};
|
|
9
|
+
export type StatusIconKey = keyof typeof statusIcon;
|
|
10
|
+
export declare function toStatus(value?: string): StatusIconKey | undefined;
|
|
11
|
+
export declare function statusAriaRole(status?: StatusIconKey): "alert" | "status";
|
|
12
|
+
export declare function statusAriaLive(status?: StatusIconKey): "polite" | null;
|
|
13
|
+
export declare const statusColor: import("lit").CSSResult;
|
|
1
14
|
export declare const typeColor: import("lit").CSSResult;
|
|
2
15
|
export declare const typesBg: import("lit").CSSResult;
|
|
3
16
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/_css/type.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,yBAyBrB,CAAC;AAEF,eAAO,MAAM,OAAO,yBA+DnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/_css/type.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,eAAO,MAAM,UAAU;;;;;;CAMtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,UAAU,CAAC;AAEpD,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAIlE;AAED,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,GAAG,QAAQ,CAEzE;AAED,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,QAAQ,GAAG,IAAI,CAEtE;AAED,eAAO,MAAM,WAAW,yBAsBvB,CAAC;AAEF,eAAO,MAAM,SAAS,yBAyBrB,CAAC;AAEF,eAAO,MAAM,OAAO,yBA+DnB,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/** Langues supportées pour les libellés ARIA UI (anglais par défaut). */
|
|
2
|
+
export type UiLang = "en" | "fr" | "de" | "nl" | "es" | "it";
|
|
3
|
+
export type UiLabelDict = Partial<Record<UiLang, string>> & {
|
|
4
|
+
en: string;
|
|
5
|
+
};
|
|
6
|
+
/** Lit la langue courante à chaque appel (pas d'état par composant). */
|
|
7
|
+
export declare function resolveUiLabel(dict: UiLabelDict, lang?: string): string;
|
|
8
|
+
export declare const uiAriaLabels: {
|
|
9
|
+
readonly closeWindow: {
|
|
10
|
+
readonly en: "Close window";
|
|
11
|
+
readonly fr: "Fermer la fenêtre";
|
|
12
|
+
readonly de: "Fenster schließen";
|
|
13
|
+
readonly nl: "Venster sluiten";
|
|
14
|
+
readonly es: "Cerrar ventana";
|
|
15
|
+
readonly it: "Chiudi finestra";
|
|
16
|
+
};
|
|
17
|
+
readonly closeAlert: {
|
|
18
|
+
readonly en: "Close";
|
|
19
|
+
readonly fr: "Fermer";
|
|
20
|
+
readonly de: "Schließen";
|
|
21
|
+
readonly nl: "Sluiten";
|
|
22
|
+
readonly es: "Cerrar";
|
|
23
|
+
readonly it: "Chiudi";
|
|
24
|
+
};
|
|
25
|
+
readonly showPassword: {
|
|
26
|
+
readonly en: "Show password";
|
|
27
|
+
readonly fr: "Afficher le mot de passe";
|
|
28
|
+
readonly de: "Passwort anzeigen";
|
|
29
|
+
readonly nl: "Wachtwoord tonen";
|
|
30
|
+
readonly es: "Mostrar contraseña";
|
|
31
|
+
readonly it: "Mostra password";
|
|
32
|
+
};
|
|
33
|
+
readonly hidePassword: {
|
|
34
|
+
readonly en: "Hide password";
|
|
35
|
+
readonly fr: "Masquer le mot de passe";
|
|
36
|
+
readonly de: "Passwort ausblenden";
|
|
37
|
+
readonly nl: "Wachtwoord verbergen";
|
|
38
|
+
readonly es: "Ocultar contraseña";
|
|
39
|
+
readonly it: "Nascondi password";
|
|
40
|
+
};
|
|
41
|
+
readonly closeToast: {
|
|
42
|
+
readonly en: "Close notification";
|
|
43
|
+
readonly fr: "Fermer la notification";
|
|
44
|
+
readonly de: "Benachrichtigung schließen";
|
|
45
|
+
readonly nl: "Melding sluiten";
|
|
46
|
+
readonly es: "Cerrar notificación";
|
|
47
|
+
readonly it: "Chiudi notifica";
|
|
48
|
+
};
|
|
49
|
+
readonly closeToastError: {
|
|
50
|
+
readonly en: "Close error message";
|
|
51
|
+
readonly fr: "Fermer le message d'erreur";
|
|
52
|
+
readonly de: "Fehlermeldung schließen";
|
|
53
|
+
readonly nl: "Foutmelding sluiten";
|
|
54
|
+
readonly es: "Cerrar mensaje de error";
|
|
55
|
+
readonly it: "Chiudi messaggio di errore";
|
|
56
|
+
};
|
|
57
|
+
readonly closeToastWarning: {
|
|
58
|
+
readonly en: "Close warning";
|
|
59
|
+
readonly fr: "Fermer l'avertissement";
|
|
60
|
+
readonly de: "Warnung schließen";
|
|
61
|
+
readonly nl: "Waarschuwing sluiten";
|
|
62
|
+
readonly es: "Cerrar advertencia";
|
|
63
|
+
readonly it: "Chiudi avviso";
|
|
64
|
+
};
|
|
65
|
+
readonly closeToastSuccess: {
|
|
66
|
+
readonly en: "Close success message";
|
|
67
|
+
readonly fr: "Fermer le message de succès";
|
|
68
|
+
readonly de: "Erfolgsmeldung schließen";
|
|
69
|
+
readonly nl: "Succesmelding sluiten";
|
|
70
|
+
readonly es: "Cerrar mensaje de éxito";
|
|
71
|
+
readonly it: "Chiudi messaggio di successo";
|
|
72
|
+
};
|
|
73
|
+
readonly closeToastInfo: {
|
|
74
|
+
readonly en: "Close information message";
|
|
75
|
+
readonly fr: "Fermer l'information";
|
|
76
|
+
readonly de: "Information schließen";
|
|
77
|
+
readonly nl: "Informatie sluiten";
|
|
78
|
+
readonly es: "Cerrar información";
|
|
79
|
+
readonly it: "Chiudi informazione";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare function resolveToastCloseLabel(status?: string): string;
|
|
83
|
+
//# sourceMappingURL=ui-aria-labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-aria-labels.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/_i18n/ui-aria-labels.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,MAAM,MAAM,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAI3E,wEAAwE;AACxE,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAMvE;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEuB,CAAC;AASjD,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAG9D"}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
1
|
+
import { LitElement, PropertyValues } from "lit";
|
|
2
2
|
import { Size } from "@supersoniks/concorde/core/components/ui/_css/size";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
success: string;
|
|
6
|
-
error: string;
|
|
7
|
-
info: string;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
export type AlertStatus = keyof typeof icon;
|
|
3
|
+
import { StatusIconKey } from "@supersoniks/concorde/core/components/ui/_css/type";
|
|
4
|
+
export type AlertStatus = StatusIconKey;
|
|
11
5
|
/**
|
|
12
6
|
* Affiche un message en ligne.
|
|
13
7
|
* Soit par ses simples attributs "label" et "text", soit par son slot pour des messages plus complexes.
|
|
@@ -15,7 +9,7 @@ export type AlertStatus = keyof typeof icon;
|
|
|
15
9
|
export declare class Alert extends LitElement {
|
|
16
10
|
static styles: import("lit").CSSResult[];
|
|
17
11
|
/**
|
|
18
|
-
* Titre du message
|
|
12
|
+
* Titre du message (texte brut, utiliser le slot pour du contenu riche)
|
|
19
13
|
*/
|
|
20
14
|
label: string;
|
|
21
15
|
noIcon: boolean;
|
|
@@ -23,15 +17,23 @@ export declare class Alert extends LitElement {
|
|
|
23
17
|
* Peut être renseigné dans le slot pour créer des messages plus complexes
|
|
24
18
|
*/
|
|
25
19
|
text: string;
|
|
26
|
-
id: string;
|
|
27
20
|
size?: Size;
|
|
28
21
|
dismissible: boolean;
|
|
29
22
|
background: boolean;
|
|
30
23
|
status: AlertStatus;
|
|
24
|
+
/**
|
|
25
|
+
* Mémorise la fermeture dans le localStorage. Nécessite un `id`.
|
|
26
|
+
*/
|
|
31
27
|
dismissForever: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Annonce le message aux lecteurs d'écran (role alert/status).
|
|
30
|
+
* À activer pour les messages injectés dynamiquement, pas pour une alerte déjà dans la page.
|
|
31
|
+
*/
|
|
32
|
+
announce: boolean;
|
|
32
33
|
connectedCallback(): void;
|
|
34
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
35
|
+
private _syncAnnounceA11y;
|
|
33
36
|
render(): import("lit-html").TemplateResult<1>;
|
|
34
37
|
close(): void;
|
|
35
38
|
}
|
|
36
|
-
export {};
|
|
37
39
|
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,cAAc,EAAE,MAAM,KAAK,CAAC;AAErE,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,aAAa,EAKd,MAAM,oDAAoD,CAAC;AAU5D,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC;AAIxC;;;GAGG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BAyDX;IACF;;OAEG;IACyB,KAAK,SAAM;IAEK,MAAM,UAAS;IAE3D;;OAEG;IACyB,IAAI,SAAM;IAEK,IAAI,CAAC,EAAE,IAAI,CAAC;IAEX,WAAW,UAAS;IAEpB,UAAU,UAAS;IAEpB,MAAM,EAAE,WAAW,CAAa;IAE3E;;OAEG;IACyC,cAAc,UAAS;IAEnE;;;OAGG;IACyC,QAAQ,UAAS;IAE7D,iBAAiB;IAWjB,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC;IAMxC,OAAO,CAAC,iBAAiB;IAYzB,MAAM;IA6BN,KAAK;CASN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-messages.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert-messages/alert-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,OAAO,EAAO,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"alert-messages.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert-messages/alert-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,OAAO,EAAO,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,mEAAmE,CAAC;;AAK9F,qBACa,aAAc,SAAQ,kBAAuC;IAC5C,IAAI,EAAE,IAAI,CAAQ;IACjB,UAAU,UAAS;IACnB,MAAM,UAAS;IAE5C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAM;IAE9B,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM;CAkBP"}
|
|
@@ -10,7 +10,7 @@ export declare class Badge extends LitElement {
|
|
|
10
10
|
/**
|
|
11
11
|
* Le type change surtout la couleur composant
|
|
12
12
|
*/
|
|
13
|
-
type: "default" | "primary" | "warning" | "danger" | "success" | "info" | "
|
|
13
|
+
type: "default" | "primary" | "warning" | "danger" | "success" | "info" | "neutral";
|
|
14
14
|
/**
|
|
15
15
|
* Le composant par defaut sans se paramètre à forte afordance
|
|
16
16
|
* * ghost : composant super léger visuellement
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAE5C,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAE5C,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAI5D;;;;GAIG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BA2FX;IAEF;;OAEG;IAEH,IAAI,EACA,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,GACN,SAAS,CAAa;IAC1B;;;;OAIG;IACwC,OAAO,EAC9C,SAAS,GACT,SAAS,GACT,OAAO,CAAa;IAExB;;OAEG;IACwC,IAAI,CAAC,EAAE,IAAI,CAAC;IACX,QAAQ,UAAS;IAE7D,MAAM;CAOP"}
|