@supersoniks/concorde 4.8.0 → 4.9.1
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/.github/workflows/ci.yml +21 -0
- package/.github-export-ignore +30 -0
- package/.gitlab-ci.yml +13 -0
- package/CONTRIBUTING.md +59 -0
- package/DEV.md +54 -0
- package/LICENSE +21 -0
- package/OPEN_SOURCE_CHECKPOINT.md +133 -0
- package/README.md +29 -15
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +271 -271
- package/concorde-core.es.js +4503 -4389
- package/dist/concorde-core.bundle.js +271 -271
- package/dist/concorde-core.es.js +4503 -4389
- package/dist/docs-mock-api-sw.js +3 -2
- package/dist/docs-mock-api-sw.js.map +2 -2
- 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/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 +17 -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/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 +386 -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 +266 -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/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/ui/_css/scroll.js +25 -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 +129 -0
- package/dist/js/core/components/ui/icon/icon.js.map +1 -0
- package/dist/js/core/components/ui/icon/icons.js +163 -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 +9 -0
- package/dist/js/core/decorators/Subscriber.js.map +1 -0
- package/dist/js/core/decorators/api.js +611 -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/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 +248 -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 +946 -0
- package/dist/js/core/utils/PublisherProxy.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 +574 -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/endpoint.js +74 -0
- package/dist/js/core/utils/endpoint.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/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 +39 -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 +41 -0
- package/dist/js/utils.js.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/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 +17 -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/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 +79 -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 +145 -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/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/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 +28 -0
- package/dist/types/core/components/ui/icon/icon.d.ts.map +1 -0
- package/dist/types/core/components/ui/icon/icons.d.ts +11 -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 +11 -0
- package/dist/types/core/decorators/Subscriber.d.ts.map +1 -0
- package/dist/types/core/decorators/api.d.ts +119 -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/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 +64 -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/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/endpoint.d.ts +37 -0
- package/dist/types/core/utils/endpoint.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/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 +28 -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 +17 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/docs/assets/{index-t0-i22oI.css → index-CZLTFws2.css} +1 -1
- package/docs/assets/{index-wyNMyWT9.js → index-nkkwC13U.js} +781 -506
- package/docs/index.html +2 -3
- package/docs/src/core/components/functional/date/date.md +290 -0
- package/docs/src/core/components/functional/fetch/fetch.md +125 -0
- package/docs/src/core/components/functional/if/if.md +9 -0
- package/docs/src/core/components/functional/list/list.md +65 -0
- package/docs/src/core/components/functional/mix/mix.md +41 -0
- package/docs/src/core/components/functional/queue/queue.md +72 -0
- package/docs/src/core/components/functional/router/router.md +94 -0
- package/docs/src/core/components/functional/sdui/default-library.json +108 -0
- package/docs/src/core/components/functional/sdui/example.json +99 -0
- package/docs/src/core/components/functional/sdui/sdui.md +356 -0
- package/docs/src/core/components/functional/states/states.md +87 -0
- package/docs/src/core/components/functional/submit/submit.md +114 -0
- package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
- package/docs/src/core/components/functional/value/value.md +35 -0
- package/docs/src/core/components/ui/alert/alert.md +121 -0
- package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/docs/src/core/components/ui/badge/badge.md +127 -0
- package/docs/src/core/components/ui/button/button.md +182 -0
- package/docs/src/core/components/ui/captcha/captcha.md +12 -0
- package/docs/src/core/components/ui/card/card.md +97 -0
- package/docs/src/core/components/ui/divider/divider.md +35 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +77 -0
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +44 -0
- package/docs/src/core/components/ui/form/input/input.md +142 -0
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +133 -0
- package/docs/src/core/components/ui/form/radio/radio.md +57 -0
- package/docs/src/core/components/ui/form/select/select.md +71 -0
- package/docs/src/core/components/ui/form/switch/switch.md +57 -0
- package/docs/src/core/components/ui/form/textarea/textarea.md +65 -0
- package/docs/src/core/components/ui/group/group.md +75 -0
- package/docs/src/core/components/ui/icon/icon.md +125 -0
- package/docs/src/core/components/ui/icon/icons.json +1 -0
- package/docs/src/core/components/ui/image/image.md +107 -0
- package/docs/src/core/components/ui/link/link.md +43 -0
- package/docs/src/core/components/ui/loader/loader.md +55 -0
- package/docs/src/core/components/ui/menu/menu.md +329 -0
- package/docs/src/core/components/ui/modal/modal.md +119 -0
- package/docs/src/core/components/ui/pop/pop.md +96 -0
- package/docs/src/core/components/ui/progress/progress.md +63 -0
- package/docs/src/core/components/ui/table/table.md +455 -0
- package/docs/src/core/components/ui/toast/toast.md +166 -0
- package/docs/src/core/components/ui/tooltip/tooltip.md +82 -0
- package/docs/src/docs/_core-concept/dataFlow.md +79 -0
- package/docs/src/docs/_core-concept/overview.md +57 -0
- package/docs/src/docs/_core-concept/subscriber.md +75 -0
- package/docs/src/docs/_decorators/ancestor-attribute.md +127 -0
- package/docs/src/docs/_decorators/auto-subscribe.md +202 -0
- package/docs/src/docs/_decorators/bind.md +167 -0
- package/docs/src/docs/_decorators/get.md +77 -0
- package/docs/src/docs/_decorators/handle.md +175 -0
- package/docs/src/docs/_decorators/on-assign.md +390 -0
- package/docs/src/docs/_decorators/patch.md +45 -0
- package/docs/src/docs/_decorators/post.md +93 -0
- package/docs/src/docs/_decorators/publish.md +55 -0
- package/docs/src/docs/_decorators/put.md +43 -0
- package/docs/src/docs/_decorators/subscribe.md +100 -0
- package/docs/src/docs/_decorators/wait-for-ancestors.md +163 -0
- package/docs/src/docs/_directives/sub.md +91 -0
- package/docs/src/docs/_getting-started/ai-agents.md +56 -0
- package/docs/src/docs/_getting-started/concorde-manual-install.md +133 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +33 -0
- package/docs/src/docs/_getting-started/create-a-component.md +139 -0
- package/docs/src/docs/_getting-started/my-first-component.md +236 -0
- package/docs/src/docs/_getting-started/my-first-subscriber.md +120 -0
- package/docs/src/docs/_getting-started/pubsub.md +37 -0
- package/docs/src/docs/_getting-started/start.md +47 -0
- package/docs/src/docs/_getting-started/theming.md +91 -0
- package/docs/src/docs/_misc/api-configuration.md +81 -0
- package/docs/src/docs/_misc/dataProviderKey.md +168 -0
- package/docs/src/docs/_misc/docs-mock-api.md +60 -0
- package/docs/src/docs/_misc/dynamic-path.md +71 -0
- package/docs/src/docs/_misc/endpoint.md +45 -0
- package/docs/src/docs/_misc/html-integration.md +13 -0
- package/docs/src/docs/search/docs-search.json +9117 -0
- package/docs/src/tag-list.json +1 -0
- package/docs/src/tsconfig-model.json +23 -0
- package/docs/src/tsconfig.declarations.json +22 -0
- package/docs/src/tsconfig.emit.json +23 -0
- package/docs/src/tsconfig.json +837 -0
- package/gitlab/job_github_mirror.sh +39 -0
- package/index.html +0 -1
- package/package.json +1084 -364
- package/public/docs-mock-api-sw.js +3 -2
- package/public/docs-mock-api-sw.js.map +2 -2
- package/scripts/github-export.mjs +150 -0
- package/scripts/post-build.mjs +43 -0
- package/scripts/pre-build.mjs +32 -4
- package/scripts/pre-publish.mjs +2 -0
- package/src/core/components/functional/queue/queue.ts +2 -2
- package/src/core/components/ui/modal/modal.ts +1 -1
- package/src/core/decorators/Subscriber.ts +1 -0
- package/src/core/decorators/api.spec.ts +74 -4
- package/src/core/decorators/api.ts +111 -30
- package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +197 -0
- package/src/core/decorators/subscriber/ancestorAttribute.ts +40 -7
- package/src/core/decorators/subscriber/autoSubscribe.ts +7 -3
- package/src/core/mixins/Fetcher.ts +12 -6
- package/src/core/utils/AncestorAttributeObserver.ts +199 -0
- package/src/core/utils/HTML.ts +3 -11
- package/src/core/utils/PublisherProxy.ts +28 -37
- package/src/core/utils/api.ts +10 -10
- package/src/css.d.ts +19 -0
- package/src/directives.ts +3 -2
- package/src/docs/_decorators/ancestor-attribute.md +56 -8
- package/src/docs/_decorators/get.md +47 -1
- package/src/docs/components/docs-demo-sources.ts +20 -3
- package/src/docs/example/decorators-demo-geo.ts +5 -0
- package/src/docs/example/decorators-demo-subscribe-publish-get-demos.ts +72 -31
- package/src/docs/example/decorators-demo.ts +164 -8
- package/src/docs/mock-api/router.ts +3 -1
- package/src/docs/search/docs-search.json +92 -2
- package/src/tsconfig.declarations.json +22 -0
- package/src/tsconfig.emit.json +23 -0
- package/src/tsconfig.json +3 -285
- package/src/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { LitElement, nothing } from "lit";
|
|
2
|
+
import "@supersoniks/concorde/core/components/ui/toast/types";
|
|
3
|
+
import { ToastStatus } from "@supersoniks/concorde/core/components/ui/toast/types";
|
|
4
|
+
export declare class SonicToastItem extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
title: string;
|
|
7
|
+
id: string;
|
|
8
|
+
text: string;
|
|
9
|
+
status: ToastStatus;
|
|
10
|
+
ghost: boolean;
|
|
11
|
+
preserve: boolean;
|
|
12
|
+
dismissForever: boolean;
|
|
13
|
+
maxHeight: string;
|
|
14
|
+
visible: boolean;
|
|
15
|
+
private _titleId;
|
|
16
|
+
/**
|
|
17
|
+
* Retourne le rôle ARIA approprié selon le statut du toast
|
|
18
|
+
* - "alert" pour les erreurs (messages critiques) - implique déjà aria-live="assertive"
|
|
19
|
+
* - "status" pour les autres (messages informatifs)
|
|
20
|
+
*/
|
|
21
|
+
getAriaRole(): "alert" | "status";
|
|
22
|
+
/**
|
|
23
|
+
* Retourne la valeur aria-live appropriée selon le statut
|
|
24
|
+
* - null pour les erreurs car role="alert" implique déjà aria-live="assertive"
|
|
25
|
+
* - "polite" pour les autres (peut attendre)
|
|
26
|
+
*/
|
|
27
|
+
getAriaLive(): "polite" | null;
|
|
28
|
+
/**
|
|
29
|
+
* Génère et mémorise un ID unique pour le titre du toast
|
|
30
|
+
*/
|
|
31
|
+
getTitleId(): string;
|
|
32
|
+
/**
|
|
33
|
+
* Génère un label ARIA descriptif pour le bouton de fermeture
|
|
34
|
+
*/
|
|
35
|
+
getCloseButtonLabel(): string;
|
|
36
|
+
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
37
|
+
hide(): void;
|
|
38
|
+
show(): void;
|
|
39
|
+
autoHide(): void;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=toast-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-item.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/toast/toast-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,OAAO,EAAE,MAAM,KAAK,CAAC;AAGrD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AAYnF,qBACa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,4BAuLX;IAE0B,KAAK,SAAM;IACX,EAAE,SAAM;IACR,IAAI,SAAM;IACV,MAAM,EAAE,WAAW,CAAM;IACxB,KAAK,UAAS;IACd,QAAQ,UAAS;IACjB,cAAc,UAAS;IACxB,SAAS,SAAW;IACvC,OAAO,UAAQ;IACf,OAAO,CAAC,QAAQ,CAAc;IAKvC;;;;OAIG;IACH,WAAW,IAAI,OAAO,GAAG,QAAQ;IAIjC;;;;OAIG;IACH,WAAW,IAAI,QAAQ,GAAG,IAAI;IAI9B;;OAEG;IACH,UAAU,IAAI,MAAM;IAUpB;;OAEG;IACH,mBAAmB,IAAI,MAAM;IAa7B,MAAM;IAkEN,IAAI;IAkBJ,IAAI;IAIJ,QAAQ;CAKT"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement, nothing } from "lit";
|
|
2
|
+
import "@supersoniks/concorde/core/components/ui/icon/icon";
|
|
3
|
+
import "@supersoniks/concorde/core/components/ui/toast/toast-item";
|
|
4
|
+
import { Toast, ToastStatus } from "@supersoniks/concorde/core/components/ui/toast/types";
|
|
5
|
+
export declare class SonicToast extends LitElement {
|
|
6
|
+
toasts: Toast[];
|
|
7
|
+
static delegateToasts: boolean;
|
|
8
|
+
createRenderRoot(): this;
|
|
9
|
+
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
10
|
+
static removeAll(): void;
|
|
11
|
+
static removeItemsByStatus(status: ToastStatus): void;
|
|
12
|
+
static removeTemporaryItems(): void;
|
|
13
|
+
static instance?: SonicToast;
|
|
14
|
+
static getInstance(): SonicToast;
|
|
15
|
+
static add(conf: Toast): {
|
|
16
|
+
id: string | number;
|
|
17
|
+
text: string;
|
|
18
|
+
title: string | undefined;
|
|
19
|
+
status: ToastStatus;
|
|
20
|
+
preserve: boolean | undefined;
|
|
21
|
+
ghost: boolean | undefined;
|
|
22
|
+
dismissForever: boolean | undefined;
|
|
23
|
+
} | null | undefined;
|
|
24
|
+
static handleExistingToastDelegation(): void;
|
|
25
|
+
static removeItem(toastToRemove?: Toast): void;
|
|
26
|
+
removeItem(toastToRemove?: Toast): void;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/toast/toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAKhD,OAAO,oDAAoD,CAAC;AAI5D,OAAO,2DAA2D,CAAC;AACnE,OAAO,EACL,KAAK,EACL,WAAW,EACZ,MAAM,sDAAsD,CAAC;AAS9D,qBACa,UAAW,SAAQ,UAAU;IACb,MAAM,EAAE,KAAK,EAAE,CAAM;IAChD,MAAM,CAAC,cAAc,UAAS;IAE9B,gBAAgB;IAIhB,MAAM;IAwEN,MAAM,CAAC,SAAS;IAYhB,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW;IAgB9C,MAAM,CAAC,oBAAoB;IAe3B,MAAM,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC;IAC7B,MAAM,CAAC,WAAW;IAMlB,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK;;;;;;;;;IAsDtB,MAAM,CAAC,6BAA6B;IAUpC,MAAM,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,KAAK;IAcvC,UAAU,CAAC,aAAa,CAAC,EAAE,KAAK;CAQjC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Message } from "@supersoniks/concorde/core/_types/types";
|
|
2
|
+
export type ToastStatus = Message["status"] | "" | "success";
|
|
3
|
+
export type Toast = {
|
|
4
|
+
id?: string | number;
|
|
5
|
+
text: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
status?: ToastStatus;
|
|
8
|
+
preserve?: boolean;
|
|
9
|
+
ghost?: boolean;
|
|
10
|
+
dismissForever?: boolean;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/toast/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC;AAG7D,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from "lit";
|
|
2
|
+
export declare class Tooltip extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
label: string;
|
|
5
|
+
placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
focusable: boolean;
|
|
8
|
+
private lastKeyWasTab;
|
|
9
|
+
private boundHandleKeyDown;
|
|
10
|
+
private boundHandleMouseDown;
|
|
11
|
+
constructor();
|
|
12
|
+
private handleKeyDown;
|
|
13
|
+
private handleMouseDown;
|
|
14
|
+
private handleFocusIn;
|
|
15
|
+
private handleFocusOut;
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
disconnectedCallback(): void;
|
|
18
|
+
protected willUpdate(_changedProperties: PropertyValues): void;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5D,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,4BA4GX;IAE0B,KAAK,SAAM;IACI,SAAS,CAAC,EACjD,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;IAEc,QAAQ,UAAS;IACjB,SAAS,UAAS;IAE/C,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,kBAAkB,CAA6B;IACvD,OAAO,CAAC,oBAAoB,CAAa;;IAQzC,OAAO,CAAC,aAAa,CAKnB;IAEF,OAAO,CAAC,eAAe,CAKrB;IAEF,OAAO,CAAC,aAAa,CAMnB;IAEF,OAAO,CAAC,cAAc,CAGpB;IAEF,iBAAiB;IASjB,oBAAoB;IAQpB,SAAS,CAAC,UAAU,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAwB9D,MAAM;CASP"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./theme/theme";
|
|
2
|
+
import "./badge/badge";
|
|
3
|
+
import "./button/button";
|
|
4
|
+
import "./link/link";
|
|
5
|
+
import "./progress/progress";
|
|
6
|
+
import "./form/input/input";
|
|
7
|
+
import "./form/input-autocomplete/input-autocomplete";
|
|
8
|
+
import "./form/input/password-helper";
|
|
9
|
+
import "./form/input/same-value-helper";
|
|
10
|
+
import "./form/checkbox/checkbox";
|
|
11
|
+
import "./form/radio/radio";
|
|
12
|
+
import "./form/switch/switch";
|
|
13
|
+
import "./form/select/select";
|
|
14
|
+
import "./form/textarea/textarea";
|
|
15
|
+
import "./form/fieldset/fieldset";
|
|
16
|
+
import "./form/fieldset/legend";
|
|
17
|
+
import "./form/form-layout/form-layout";
|
|
18
|
+
import "./form/form-actions/form-actions";
|
|
19
|
+
import "./group/group";
|
|
20
|
+
import "./icon/icon";
|
|
21
|
+
import "./image/image";
|
|
22
|
+
import "./loader/loader";
|
|
23
|
+
import "./menu/menu";
|
|
24
|
+
import "./modal/modal";
|
|
25
|
+
import "./alert/alert";
|
|
26
|
+
import "./alert-messages/alert-messages";
|
|
27
|
+
import "./toast/toast";
|
|
28
|
+
import "./toast/message-subscriber";
|
|
29
|
+
import "./tooltip/tooltip";
|
|
30
|
+
import "./pop/pop";
|
|
31
|
+
import "./divider/divider";
|
|
32
|
+
import "./card/card";
|
|
33
|
+
import "./table/table";
|
|
34
|
+
import "./captcha/captcha";
|
|
35
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/ui/ui.ts"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AAEvB,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;AACzB,OAAO,aAAa,CAAC;AACrB,OAAO,qBAAqB,CAAC;AAE7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,8CAA8C,CAAC;AACtD,OAAO,8BAA8B,CAAC;AACtC,OAAO,gCAAgC,CAAC;AACxC,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,0BAA0B,CAAC;AAClC,OAAO,0BAA0B,CAAC;AAClC,OAAO,wBAAwB,CAAC;AAChC,OAAO,gCAAgC,CAAC;AACxC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,eAAe,CAAC;AAGvB,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,iBAAiB,CAAC;AAEzB,OAAO,aAAa,CAAC;AAGrB,OAAO,eAAe,CAAC;AACvB,OAAO,eAAe,CAAC;AACvB,OAAO,iCAAiC,CAAC;AAEzC,OAAO,eAAe,CAAC;AACvB,OAAO,4BAA4B,CAAC;AACpC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,WAAW,CAAC;AACnB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core/core.ts"],"names":[],"mappings":"AAAA,OAAO,oCAAoC,CAAC;AAC5C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { bind } from "./subscriber/bind";
|
|
2
|
+
export { publish } from "./subscriber/publish";
|
|
3
|
+
export { subscribe } from "./subscriber/subscribe";
|
|
4
|
+
export { onAssign } from "./subscriber/onAssign";
|
|
5
|
+
export { handle, Skip } from "./subscriber/handle";
|
|
6
|
+
export type { HandleOptions } from "./subscriber/handle";
|
|
7
|
+
export { autoSubscribe } from "./subscriber/autoSubscribe";
|
|
8
|
+
export { autoFill } from "./subscriber/autoFill";
|
|
9
|
+
export { ancestorAttribute } from "./subscriber/ancestorAttribute";
|
|
10
|
+
export type { AncestorAttributeOptions } from "./subscriber/ancestorAttribute";
|
|
11
|
+
//# sourceMappingURL=Subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscriber.d.ts","sourceRoot":"","sources":["../../../../src/core/decorators/Subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { DataProviderKey, DataProviderKeyHost } from "../utils/dataProviderKey";
|
|
2
|
+
import { Endpoint } from "../utils/endpoint";
|
|
3
|
+
import { APIConfiguration, type ApiResult } from "@supersoniks/concorde/core/utils/api";
|
|
4
|
+
import { type DynamicPathOptions } from "./subscriber/dynamicPath";
|
|
5
|
+
/**
|
|
6
|
+
* Décorateur **`@get`** : charge des données via `API.getDetailed` et assigne un
|
|
7
|
+
* `ApiResult<T>` (`request`, `response`, `result` typé `T`) ou `null`.
|
|
8
|
+
* Le path est un `Endpoint<T, Ue>` ; les placeholders `${nomPropriété}` sont résolus sur l'instance (`Ue` contraint l’hôte).
|
|
9
|
+
*
|
|
10
|
+
* **Scoped (défaut)** : `HTML.getApiConfiguration(host)` avec `host` = l’élément connecté
|
|
11
|
+
* (`HTMLElement` / `ShadowRoot`). Si `serviceURL` n’est pas encore disponible (reflect Lit, scope
|
|
12
|
+
* ancêtre), le GET est différé jusqu’à ce que la config soit prête.
|
|
13
|
+
*
|
|
14
|
+
* **Deuxième paramètre** : `DataProviderKey<APIConfiguration>` — la config est lue via
|
|
15
|
+
* `PublisherManager` sur le chemin résolu (même syntaxe dynamique que `@subscribe`).
|
|
16
|
+
* Toute mutation interne du publisher (`onInternalMutation`) relance le GET.
|
|
17
|
+
*
|
|
18
|
+
* **Options** (`GetOptions`) : `triggerKey` — `PublisherManager.get(...).invalidate()` relance le GET ;
|
|
19
|
+
* `refetchEveryMs` — polling automatique.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* @get(new Endpoint<User, { userId: string }>("users/${userId}"))
|
|
23
|
+
* payload?: ApiResult<User>;
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* const apiConf = new DataProviderKey<APIConfiguration>("myApiConf");
|
|
27
|
+
* PublisherManager.get("myApiConf").set({ serviceURL: "...", token: null, ... });
|
|
28
|
+
* @get(new Endpoint<Thing, { id: string }>("things/${id}"), apiConf)
|
|
29
|
+
* payload?: ApiResult<Thing>;
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* @get(usersEndpoint, { triggerKey: refreshUsersKey })
|
|
33
|
+
* payload?: ApiResult<User[]>;
|
|
34
|
+
* // PublisherManager.get("users.refresh").invalidate() → refetch
|
|
35
|
+
*/
|
|
36
|
+
export declare function get<T, Ue = any>(endpoint: Endpoint<T, Ue>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
37
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
38
|
+
}, propertyKey: K) => void;
|
|
39
|
+
export declare function get<T, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, configurationKey: DataProviderKey<APIConfiguration, Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
40
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
41
|
+
}, propertyKey: K) => void;
|
|
42
|
+
export declare function get<T, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, options: GetOptions): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
43
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
44
|
+
}, propertyKey: K) => void;
|
|
45
|
+
export declare function get<T, Ue = any, Uk = any, Ut = any>(endpoint: Endpoint<T, Ue>, configurationKey: DataProviderKey<APIConfiguration, Uk>, options: GetOptions): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
46
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
47
|
+
}, propertyKey: K) => void;
|
|
48
|
+
export type GetOptions<Uk = any> = DynamicPathOptions & {
|
|
49
|
+
/** Intervalle de refetch automatique (ms). 0 ou absent = pas de polling. */
|
|
50
|
+
refetchEveryMs?: number;
|
|
51
|
+
/** Publisher dont `invalidate()` relance le GET. */
|
|
52
|
+
triggerKey?: DataProviderKey<unknown, Uk>;
|
|
53
|
+
};
|
|
54
|
+
export type ApiSendOptions<Uk = any> = DynamicPathOptions & {
|
|
55
|
+
/** Intervalle de renvoi automatique (ms). 0 ou absent = pas de polling. */
|
|
56
|
+
refetchEveryMs?: number;
|
|
57
|
+
/** Ne pas envoyer si le body publisher est null/undefined (défaut: true). */
|
|
58
|
+
skipIfBodyMissing?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Relancer l'envoi quand le body publisher mute (défaut: true).
|
|
61
|
+
* `false` : le body est lu au moment de l'envoi ; déclencher via `triggerKey.invalidate()`.
|
|
62
|
+
*/
|
|
63
|
+
autoPostOnBodyMutation?: boolean;
|
|
64
|
+
/** Publisher dont `invalidate()` relance l'envoi (relit le body courant). */
|
|
65
|
+
triggerKey?: DataProviderKey<unknown, Uk>;
|
|
66
|
+
};
|
|
67
|
+
/** @deprecated Alias — préférer `ApiSendOptions`. */
|
|
68
|
+
export type PostOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
69
|
+
export type PutOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
70
|
+
export type PatchOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
71
|
+
/**
|
|
72
|
+
* Décorateur **`@post`** : envoie des données via `API.postDetailed` et assigne un
|
|
73
|
+
* `ApiResult<T>` (`request`, `response`, `result` typé `T`).
|
|
74
|
+
*
|
|
75
|
+
* Le body est lu depuis un `DataProviderKey` (mutations et assignations relancent le POST).
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* @post(new Endpoint<SyncResult, { sessionId: string }>("sessions/${sessionId}/sync"), syncRequestKey)
|
|
79
|
+
* payload?: ApiResult<SyncResult>;
|
|
80
|
+
*/
|
|
81
|
+
export declare function post<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
82
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
83
|
+
}, propertyKey: K) => void;
|
|
84
|
+
export declare function post<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
85
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
86
|
+
}, propertyKey: K) => void;
|
|
87
|
+
export declare function post<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PostOptions<Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
88
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
89
|
+
}, propertyKey: K) => void;
|
|
90
|
+
export declare function post<T, B, Ue = any, Uk = any, Ut = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>, options: PostOptions<Ut>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
91
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
92
|
+
}, propertyKey: K) => void;
|
|
93
|
+
/** `@put` — même modèle que `@post` via `API.putDetailed`. */
|
|
94
|
+
export declare function put<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
95
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
96
|
+
}, propertyKey: K) => void;
|
|
97
|
+
export declare function put<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
98
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
99
|
+
}, propertyKey: K) => void;
|
|
100
|
+
export declare function put<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PutOptions<Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
101
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
102
|
+
}, propertyKey: K) => void;
|
|
103
|
+
export declare function put<T, B, Ue = any, Uk = any, Ut = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>, options: PutOptions<Ut>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
104
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
105
|
+
}, propertyKey: K) => void;
|
|
106
|
+
/** `@patch` — même modèle que `@post` via `API.patchDetailed`. */
|
|
107
|
+
export declare function patch<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
108
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
109
|
+
}, propertyKey: K) => void;
|
|
110
|
+
export declare function patch<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
111
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
112
|
+
}, propertyKey: K) => void;
|
|
113
|
+
export declare function patch<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PatchOptions<Uk>): <K extends string>(target: DataProviderKeyHost<Ue> & {
|
|
114
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
115
|
+
}, propertyKey: K) => void;
|
|
116
|
+
export declare function patch<T, B, Ue = any, Uk = any, Ut = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>, options: PatchOptions<Ut>): <K extends string>(target: DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk> & {
|
|
117
|
+
[P in K]?: ApiResult<T> | null | undefined;
|
|
118
|
+
}, propertyKey: K) => void;
|
|
119
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/core/decorators/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,OAAY,EACV,gBAAgB,EAChB,KAAK,SAAS,EACf,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,0BAA0B,CAAC;AA6KlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,GAAG,EAC7B,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,GACxB,CAAC,CAAC,SAAS,MAAM,EAClB,MAAM,EAAE,mBAAmB,CAAC,EAAE,CAAC,GAAG;KAC/B,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS;CAC3C,EACD,WAAW,EAAE,CAAC,KACX,IAAI,CAAC;AACV,wBAAgB,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,GAAG,EACvC,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,EACzB,gBAAgB,EAAE,eAAe,CAAC,gBAAgB,EAAE,EAAE,CAAC,GACtD,CAAC,CAAC,SAAS,MAAM,EAClB,MAAM,EAAE,mBAAmB,CAAC,EAAE,CAAC,GAC7B,mBAAmB,CAAC,EAAE,CAAC,GAAG;KACvB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,C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mB,CAAC,EAAE,CAAC,GAAG;KACvB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS;CAC3C,EACH,WAAW,EAAE,CAAC,KACX,IAAI,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Event dispatched when a component's connectedCallback has completed. Can be listened to from anywhere (bubbles). */
|
|
2
|
+
export declare const CONNECTED = "sonic-connected";
|
|
3
|
+
/**
|
|
4
|
+
* Décorateur de classe qui retarde le connectedCallback jusqu'à ce que tous les ancêtres
|
|
5
|
+
* correspondant aux sélecteurs CSS fournis aient exécuté leur connectedCallback.
|
|
6
|
+
* Les nœuds qui ne sont pas des web components sont considérés comme connectés par défaut.
|
|
7
|
+
* S'applique uniquement aux web components (classes étendant HTMLElement).
|
|
8
|
+
*/
|
|
9
|
+
export declare function awaitConnectedAncestors(...selectors: string[]): <T extends {
|
|
10
|
+
new (...args: any[]): HTMLElement;
|
|
11
|
+
}>(constructor: T) => T;
|
|
12
|
+
/**
|
|
13
|
+
* Décorateur de classe pour les ancêtres qui veulent signaler qu'ils sont prêts.
|
|
14
|
+
* Dispatche l'événement "sonic-connected" à la fin du connectedCallback (bubbles).
|
|
15
|
+
*/
|
|
16
|
+
export declare function dispatchConnectedEvent(): <T extends {
|
|
17
|
+
new (...args: any[]): HTMLElement;
|
|
18
|
+
}>(constructor: T) => T;
|
|
19
|
+
//# sourceMappingURL=lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/core/decorators/lifecycle.ts"],"names":[],"mappings":"AAEA,uHAAuH;AACvH,eAAO,MAAM,SAAS,oBAAoB,CAAC;AA4B3C;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,SAAS,EAAE,MAAM,EAAE,IAC3C,CAAC,SAAS;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,WAAW,CAAA;CAAE,EAC9D,aAAa,CAAC,KACb,CAAC,CAoBL;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,KACnB,CAAC,SAAS;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,WAAW,CAAA;CAAE,EAC9D,aAAa,CAAC,KACb,CAAC,CASL"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type AncestorAttributeOptions = {
|
|
2
|
+
/**
|
|
3
|
+
* Si true, le composant reste synchronisé avec les attributs ancêtres via
|
|
4
|
+
* `AncestorAttributeObserver` (mutations + reparenting). Requis pour que
|
|
5
|
+
* `@bind` / `@subscribe` avec `${dataProvider}` se re-lient quand le scope change.
|
|
6
|
+
* Défaut : false (lecture unique au connect, rétrocompat).
|
|
7
|
+
*/
|
|
8
|
+
dynamic?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function ancestorAttribute(attributeName: string, options?: AncestorAttributeOptions): (target: unknown, propertyKey: string) => void;
|
|
11
|
+
//# sourceMappingURL=ancestorAttribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ancestorAttribute.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/ancestorAttribute.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,iBAAiB,CAC/B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,wBAAwB,IAKjB,QAAQ,OAAO,EAAE,aAAa,MAAM,UA4BtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoFill.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/autoFill.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IACtB,QAAQ,OAAO,UAoBjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoSubscribe.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/autoSubscribe.ts"],"names":[],"mappings":"AAMA,wBAAgB,aAAa,KAEzB,QAAQ,GAAG,EACX,aAAa,MAAM,EACnB,YAAY,kBAAkB,UA+CjC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
+
import { type DynamicPathOptions } from "./dynamicPath";
|
|
3
|
+
export type BindOptions = DynamicPathOptions & {
|
|
4
|
+
reflect?: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Bidirectional binding to a publisher path. Subscribes to changes and optionally reflects writes back.
|
|
8
|
+
* Accepts either a string path (legacy) or DataProviderKey<T> for type-safe binding.
|
|
9
|
+
* Supports dynamic paths: use placeholders like "users.${userIndex}" in the path or DataProviderKey.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* // String path (legacy):
|
|
13
|
+
* @bind("demoData.firstName")
|
|
14
|
+
* @state()
|
|
15
|
+
* firstName = "";
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* // DataProviderKey with type validation:
|
|
19
|
+
* const dataKey = new DataProviderKey<Data>("data");
|
|
20
|
+
* @bind(dataKey.count, { reflect: true })
|
|
21
|
+
* @state()
|
|
22
|
+
* count: number = 0;
|
|
23
|
+
*/
|
|
24
|
+
export declare function bind(path: string, options?: BindOptions): (target: unknown, propertyKey: string) => void;
|
|
25
|
+
export declare function bind<T, U = any>(key: DataProviderKey<T, U>, options?: BindOptions): <K extends string>(target: DataProviderKeyHost<U> & {
|
|
26
|
+
[P in K]?: T | null | undefined;
|
|
27
|
+
}, propertyKey: K) => void;
|
|
28
|
+
//# sourceMappingURL=bind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/bind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,WAAW,GAAG,kBAAkB,GAAG;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAiLF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,WAAW,GACpB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;AAClD,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAC7B,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,EAC1B,OAAO,CAAC,EAAE,WAAW,GACpB,CAAC,CAAC,SAAS,MAAM,EAClB,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS;CAAE,EACpE,WAAW,EAAE,CAAC,KACX,IAAI,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type ConnectedCallback = (component: ConnectedComponent) => void;
|
|
2
|
+
export type ConnectedComponent = Record<string, unknown> & {
|
|
3
|
+
/** Hooks exécutés avant le connectedCallback d'origine (ex. lecture DOM ancêtre). */
|
|
4
|
+
__onBeforeConnected__: (callback: ConnectedCallback) => void;
|
|
5
|
+
/** Hooks exécutés après le connectedCallback d'origine (ex. abonnements). */
|
|
6
|
+
__onConnected__: (callback: ConnectedCallback) => void;
|
|
7
|
+
__onDisconnected__: (callback: ConnectedCallback) => void;
|
|
8
|
+
__beforeConnectedCallbackCalls__?: Set<ConnectedCallback>;
|
|
9
|
+
__connectedCallbackCalls__?: Set<ConnectedCallback>;
|
|
10
|
+
__disconnectedCallbackCalls__?: Set<ConnectedCallback>;
|
|
11
|
+
};
|
|
12
|
+
export declare function setSubscribable(target: any): void;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/common.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG,CAAC,SAAS,EAAE,kBAAkB,KAAK,IAAI,CAAC;AAEjE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACzD,qFAAqF;IACrF,qBAAqB,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC7D,6EAA6E;IAC7E,eAAe,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACvD,kBAAkB,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC1D,gCAAgC,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC1D,0BAA0B,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACpD,6BAA6B,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;CACxD,CAAC;AA0BF,wBAAgB,eAAe,CAAC,MAAM,EAAE,GAAG,QAgC1C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Lit / décorateurs : chemins publisher avec `${prop}` ou `{$prop}`. */
|
|
2
|
+
/**
|
|
3
|
+
* Options de résolution des placeholders dynamiques.
|
|
4
|
+
* `skipEmptyPlaceholder` ne concerne que les chaînes vides `''` — pas `0`, `false`, `null`, etc.
|
|
5
|
+
*/
|
|
6
|
+
export type DynamicPathOptions = {
|
|
7
|
+
/**
|
|
8
|
+
* Si `true`, un placeholder résolu en `''` est traité comme non prêt (`ready: false`).
|
|
9
|
+
* N'affecte pas les autres valeurs (`0` → `"0"`, `false` → `"false"`, …).
|
|
10
|
+
*/
|
|
11
|
+
skipEmptyPlaceholder?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function cleanPlaceholder(value: string): string;
|
|
14
|
+
export declare function getValueFromExpression(component: unknown, expression: string): unknown;
|
|
15
|
+
export declare function resolveDynamicPath(component: unknown, template: string, options?: DynamicPathOptions): {
|
|
16
|
+
ready: boolean;
|
|
17
|
+
path: string | null;
|
|
18
|
+
};
|
|
19
|
+
export declare function extractDynamicDependencies(path: string): string[];
|
|
20
|
+
export declare function hasPath(obj: unknown): obj is {
|
|
21
|
+
path: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=dynamicPath.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicPath.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/dynamicPath.ts"],"names":[],"mappings":"AAAA,yEAAyE;AAEzE;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,OAAO,EAClB,UAAU,EAAE,MAAM,GACjB,OAAO,CAgBT;AAWD,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kBAAkB,GAC3B;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAuBzC;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAajE;AACD,wBAAgB,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAO7D"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Surveillance des props utilisées dans les chemins dynamiques (`${userIndex}`, etc.).
|
|
3
|
+
*
|
|
4
|
+
* Modèle :
|
|
5
|
+
* - `observeDynamicProperty()` enregistre une prop + un handler à appeler si elle change ;
|
|
6
|
+
* - un seul `requestAnimationFrame` appelle `notifyObservedPropertyChanges()` ;
|
|
7
|
+
* - pour chaque prop observée : `lastValue` vs valeur lue sur le composant ;
|
|
8
|
+
* - plusieurs passes dans la même frame si un handler en modifie une autre ;
|
|
9
|
+
* - garde anti-boucle si une prop ne cesse de changer.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Observe une prop du composant utilisée dans un chemin dynamique.
|
|
13
|
+
* Retourne une fonction de désinscription.
|
|
14
|
+
*
|
|
15
|
+
* Les deux premiers paramètres sont ignorés (legacy API des décorateurs).
|
|
16
|
+
*/
|
|
17
|
+
export declare function observeDynamicProperty(_legacyWatcherStoreKey: PropertyKey, _legacyHookedStoreKey: PropertyKey, component: object, dependencyPropertyName: string, onDependencyChange: () => void): () => void;
|
|
18
|
+
/** @deprecated Alias conservé pour les décorateurs existants. */
|
|
19
|
+
export declare const registerDynamicPropertyWatcher: typeof observeDynamicProperty;
|
|
20
|
+
/** @deprecated No-op conservé pour compatibilité API. */
|
|
21
|
+
export declare function ensureDynamicPropertiesWillUpdate(_watcherStoreKey: PropertyKey, _hookedStoreKey: PropertyKey, _instance: object): void;
|
|
22
|
+
/** Clés legacy ignorées par `@bind`. */
|
|
23
|
+
export declare const bindDynamicWatchKeys: {
|
|
24
|
+
readonly watcherStore: symbol;
|
|
25
|
+
readonly hooked: symbol;
|
|
26
|
+
};
|
|
27
|
+
/** Clés legacy ignorées par `@publish`. */
|
|
28
|
+
export declare const publishDynamicWatchKeys: {
|
|
29
|
+
readonly watcherStore: "__publishDynamicWatcherStore__";
|
|
30
|
+
readonly hooked: "__publishDynamicWillUpdateHooked__";
|
|
31
|
+
};
|
|
32
|
+
/** Clés legacy ignorées par `@get`. */
|
|
33
|
+
export declare const getDynamicWatchKeys: {
|
|
34
|
+
readonly watcherStore: "__getDynamicWatcherStore__";
|
|
35
|
+
readonly hooked: "__getDynamicWillUpdateHooked__";
|
|
36
|
+
};
|
|
37
|
+
/** Clés legacy ignorées par `@onAssign`. */
|
|
38
|
+
export declare const onAssignDynamicWatchKeys: {
|
|
39
|
+
readonly watcherStore: symbol;
|
|
40
|
+
readonly hooked: symbol;
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=dynamicPropertyWatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicPropertyWatch.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/dynamicPropertyWatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAkGH;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,sBAAsB,EAAE,WAAW,EACnC,qBAAqB,EAAE,WAAW,EAClC,SAAS,EAAE,MAAM,EACjB,sBAAsB,EAAE,MAAM,EAC9B,kBAAkB,EAAE,MAAM,IAAI,GAC7B,MAAM,IAAI,CAoCZ;AAED,iEAAiE;AACjE,eAAO,MAAM,8BAA8B,+BAAyB,CAAC;AAErE,yDAAyD;AACzD,wBAAgB,iCAAiC,CAC/C,gBAAgB,EAAE,WAAW,EAC7B,eAAe,EAAE,WAAW,EAC5B,SAAS,EAAE,MAAM,GAChB,IAAI,CAAG;AAEV,wCAAwC;AACxC,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AAEX,2CAA2C;AAC3C,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AAEX,uCAAuC;AACvC,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,4CAA4C;AAC5C,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
+
import type { DynamicPathOptions } from "./dynamicPath";
|
|
3
|
+
import { Skip } from "./onAssign";
|
|
4
|
+
export { Skip } from "./onAssign";
|
|
5
|
+
/**
|
|
6
|
+
* Options de `@handle`, nommées d'après les cas d'usage réels rencontrés dans
|
|
7
|
+
* les projets (panier, file d'attente, formulaires multi-publishers, etc.).
|
|
8
|
+
*
|
|
9
|
+
* Par défaut (aucune option), `@handle` appelle la méthode **à chaque
|
|
10
|
+
* assignation**, même quand la valeur reçue est `null`/`undefined` (c'est la
|
|
11
|
+
* différence de comportement voulue par rapport à `@onAssign`).
|
|
12
|
+
*/
|
|
13
|
+
export type HandleOptions = DynamicPathOptions & {
|
|
14
|
+
/**
|
|
15
|
+
* Attendre que **toutes** les clés surveillées soient définies (non
|
|
16
|
+
* `null`/`undefined`) avant d'appeler la méthode. Reproduit la sémantique
|
|
17
|
+
* historique de `@onAssign`.
|
|
18
|
+
*
|
|
19
|
+
* À utiliser quand la logique combine plusieurs sources et n'a de sens que
|
|
20
|
+
* lorsque toutes sont prêtes (ex. calcul de date à partir de
|
|
21
|
+
* `date` + `timeZone` + `direction`).
|
|
22
|
+
*/
|
|
23
|
+
waitForAllDefined?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Ne pas appeler la méthode si la valeur reçue appartient à l'une de ces
|
|
26
|
+
* catégories. Chaque entrée est une catégorie nommée (pas une valeur), donc
|
|
27
|
+
* aucune ambiguïté valeur/motif.
|
|
28
|
+
*
|
|
29
|
+
* - `Skip.Nullish` ignore `null`/`undefined` ;
|
|
30
|
+
* - `Skip.EmptyObject` / `Skip.EmptyArray` ignorent `{}` / `[]` ;
|
|
31
|
+
* - `Skip.EmptyString` ignore `""`.
|
|
32
|
+
*
|
|
33
|
+
* Pratique quand un publisher non initialisé émet `{}` comme état « pas encore
|
|
34
|
+
* chargé » : `skip: [Skip.EmptyObject]`. Pour une validation arbitraire sur une
|
|
35
|
+
* valeur précise, faire le test directement dans la méthode.
|
|
36
|
+
*/
|
|
37
|
+
skip?: Skip[];
|
|
38
|
+
};
|
|
39
|
+
type HandleDecorator<Host, Fn> = (target: Host, propertyKey: string, descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Callback typé déclenché lorsqu'un (ou plusieurs) chemin(s) publisher sont
|
|
42
|
+
* assignés via `DataProviderKey<T>`. Invoque la méthode décorée avec la/les
|
|
43
|
+
* valeur(s) assignée(s) (calculs, effets de bord, mise à jour d'autres `@state`…).
|
|
44
|
+
*
|
|
45
|
+
* Supporte les chemins dynamiques : placeholders type `"users.${userIndex}"`.
|
|
46
|
+
*
|
|
47
|
+
* Contrairement à `@onAssign`, la méthode est appelée à chaque assignation,
|
|
48
|
+
* même quand la valeur reçue est `null`/`undefined` — sauf si une option
|
|
49
|
+
* (`waitForAllDefined`, `skip`) restreint le déclenchement.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* // Mono-clé
|
|
53
|
+
* const cart = new DataProviderKey<Cart>("cart");
|
|
54
|
+
* @handle(cart.total)
|
|
55
|
+
* updateSummary(total: number) {
|
|
56
|
+
* this.summary = total * this.taxRate;
|
|
57
|
+
* }
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* // Multi-clés (coordination de plusieurs publishers)
|
|
61
|
+
* @handle(config.show, idle.isIdle, { waitForAllDefined: true })
|
|
62
|
+
* onModal(show: boolean, isIdle: boolean) {
|
|
63
|
+
* if (show && isIdle) this.open(); else this.close();
|
|
64
|
+
* }
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* // Ignorer un objet vide émis par un publisher non initialisé
|
|
68
|
+
* @handle(user.profile, { skip: [Skip.EmptyObject] })
|
|
69
|
+
* onProfile(profile: Profile) { this.name = profile.name; }
|
|
70
|
+
*/
|
|
71
|
+
export declare function handle<A, U = any>(key: DataProviderKey<A, U>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<U>, (a: A) => void>;
|
|
72
|
+
export declare function handle<A, B, UA = any, UB = any>(keyA: DataProviderKey<A, UA>, keyB: DataProviderKey<B, UB>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<UA> & DataProviderKeyHost<UB>, (a: A, b: B) => void>;
|
|
73
|
+
export declare function handle<A, B, C, UA = any, UB = any, UC = any>(keyA: DataProviderKey<A, UA>, keyB: DataProviderKey<B, UB>, keyC: DataProviderKey<C, UC>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<UA> & DataProviderKeyHost<UB> & DataProviderKeyHost<UC>, (a: A, b: B, c: C) => void>;
|
|
74
|
+
//# sourceMappingURL=handle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/handle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,kBAAkB,GAAG;IAC/C;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;CACf,CAAC;AAEF,KAAK,eAAe,CAAC,IAAI,EAAE,EAAE,IAAI,CAC/B,MAAM,EAAE,IAAI,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,CAAC,EAAE,CAAC,KACpC,IAAI,CAAC;AAUV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAC/B,GAAG,EAAE,eAAe,CAAC,CAA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