@supersoniks/concorde 4.9.94 → 4.9.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -30
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +1 -1
- package/concorde-core.es.js +1 -1
- package/dist/concorde-core.bundle.js +1 -1
- package/dist/concorde-core.es.js +1 -1
- package/docs/assets/{index-D2Q3JyQ6.css → index-BZiZXMU-.css} +1 -1
- package/docs/assets/index-FmK4JaIM.js +11992 -0
- package/docs/crawl/core/components/functional/jsonata/jsonata.html +79 -0
- package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +1 -1
- package/docs/crawl/docs/_core-concept/dataFlow.html +12 -1
- package/docs/crawl/docs/_misc/docs-mock-api.html +12 -0
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +138 -0
- package/docs/crawl/docs/_misc/html-integration.html +3 -2
- package/docs/crawl/hubs/remote-data.html +3 -5
- package/docs/crawl/index.html +2 -0
- package/docs/docs-mock-api-sw.js +110 -0
- package/docs/docs-mock-api-sw.js.map +3 -3
- package/docs/index.html +2 -2
- package/docs/llms-full.txt +193 -2
- package/docs/llms.txt +2 -0
- package/docs/sitemap.xml +6 -0
- package/docs/src/core/components/functional/jsonata/jsonata.md +56 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +1 -1
- package/docs/src/docs/_core-concept/dataFlow.md +10 -1
- package/docs/src/docs/_misc/docs-mock-api.md +3 -0
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +115 -0
- package/docs/src/docs/_misc/html-integration.md +2 -0
- package/docs/src/docs/search/docs-search.json +180 -0
- package/docs/src/tsconfig.json +18 -0
- package/package.json +379 -1102
- package/scripts/post-build.mjs +0 -43
- package/scripts/pre-build.mjs +4 -33
- package/scripts/pre-publish.mjs +0 -2
- package/src/core/components/functional/sdui/sdui.md +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/input/input.ts +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/select/select.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/mixins/Fetcher.ts +1 -1
- package/src/docs/_getting-started/create-a-component.md +0 -0
- package/src/docs/search/docs-search.json +2128 -713
- package/src/tsconfig.json +309 -0
- package/vite/config.js +23 -35
- package/dist/js/components.js +0 -12
- package/dist/js/components.js.map +0 -1
- package/dist/js/concorde-loaded.js +0 -5
- package/dist/js/concorde-loaded.js.map +0 -1
- package/dist/js/core/_types/endpoint.js +0 -5
- package/dist/js/core/_types/endpoint.js.map +0 -1
- package/dist/js/core/_types/key.js +0 -2
- package/dist/js/core/_types/key.js.map +0 -1
- package/dist/js/core/_types/types.js +0 -3
- package/dist/js/core/_types/types.js.map +0 -1
- package/dist/js/core/components/functional/date/date.js +0 -272
- package/dist/js/core/components/functional/date/date.js.map +0 -1
- package/dist/js/core/components/functional/example/example.js +0 -44
- package/dist/js/core/components/functional/example/example.js.map +0 -1
- package/dist/js/core/components/functional/fetch/fetch.js +0 -79
- package/dist/js/core/components/functional/fetch/fetch.js.map +0 -1
- package/dist/js/core/components/functional/functional.js +0 -18
- package/dist/js/core/components/functional/functional.js.map +0 -1
- package/dist/js/core/components/functional/if/if.js +0 -39
- package/dist/js/core/components/functional/if/if.js.map +0 -1
- package/dist/js/core/components/functional/jsonata/jsonata.js +0 -119
- package/dist/js/core/components/functional/jsonata/jsonata.js.map +0 -1
- package/dist/js/core/components/functional/list/list.js +0 -341
- package/dist/js/core/components/functional/list/list.js.map +0 -1
- package/dist/js/core/components/functional/mix/mix.js +0 -103
- package/dist/js/core/components/functional/mix/mix.js.map +0 -1
- package/dist/js/core/components/functional/queue/queue.js +0 -450
- package/dist/js/core/components/functional/queue/queue.js.map +0 -1
- package/dist/js/core/components/functional/router/redirect.js +0 -54
- package/dist/js/core/components/functional/router/redirect.js.map +0 -1
- package/dist/js/core/components/functional/router/router.js +0 -179
- package/dist/js/core/components/functional/router/router.js.map +0 -1
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -216
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +0 -1
- package/dist/js/core/components/functional/sdui/default-library.json +0 -108
- package/dist/js/core/components/functional/sdui/sdui-utils.js +0 -64
- package/dist/js/core/components/functional/sdui/sdui-utils.js.map +0 -1
- package/dist/js/core/components/functional/sdui/sdui.js +0 -266
- package/dist/js/core/components/functional/sdui/sdui.js.map +0 -1
- package/dist/js/core/components/functional/sdui/types.js +0 -2
- package/dist/js/core/components/functional/sdui/types.js.map +0 -1
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +0 -22
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +0 -1
- package/dist/js/core/components/functional/states/states.js +0 -172
- package/dist/js/core/components/functional/states/states.js.map +0 -1
- package/dist/js/core/components/functional/submit/submit.js +0 -284
- package/dist/js/core/components/functional/submit/submit.js.map +0 -1
- package/dist/js/core/components/functional/subscriber/subscriber.js +0 -39
- package/dist/js/core/components/functional/subscriber/subscriber.js.map +0 -1
- package/dist/js/core/components/functional/translation/translation.js +0 -28
- package/dist/js/core/components/functional/translation/translation.js.map +0 -1
- package/dist/js/core/components/functional/value/value.js +0 -28
- package/dist/js/core/components/functional/value/value.js.map +0 -1
- package/dist/js/core/components/ui/_css/scroll.js +0 -27
- package/dist/js/core/components/ui/_css/scroll.js.map +0 -1
- package/dist/js/core/components/ui/_css/shadow.js +0 -22
- package/dist/js/core/components/ui/_css/shadow.js.map +0 -1
- package/dist/js/core/components/ui/_css/size.js +0 -36
- package/dist/js/core/components/ui/_css/size.js.map +0 -1
- package/dist/js/core/components/ui/_css/type.js +0 -92
- package/dist/js/core/components/ui/_css/type.js.map +0 -1
- package/dist/js/core/components/ui/alert/alert.js +0 -213
- package/dist/js/core/components/ui/alert/alert.js.map +0 -1
- package/dist/js/core/components/ui/alert-messages/alert-messages.js +0 -68
- package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +0 -1
- package/dist/js/core/components/ui/badge/badge.js +0 -199
- package/dist/js/core/components/ui/badge/badge.js.map +0 -1
- package/dist/js/core/components/ui/button/button.js +0 -697
- package/dist/js/core/components/ui/button/button.js.map +0 -1
- package/dist/js/core/components/ui/captcha/altchaStyles.js +0 -226
- package/dist/js/core/components/ui/captcha/altchaStyles.js.map +0 -1
- package/dist/js/core/components/ui/captcha/captcha.js +0 -167
- package/dist/js/core/components/ui/captcha/captcha.js.map +0 -1
- package/dist/js/core/components/ui/card/card-footer.js +0 -26
- package/dist/js/core/components/ui/card/card-footer.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header-descripton.js +0 -30
- package/dist/js/core/components/ui/card/card-header-descripton.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header.js +0 -79
- package/dist/js/core/components/ui/card/card-header.js.map +0 -1
- package/dist/js/core/components/ui/card/card-main.js +0 -26
- package/dist/js/core/components/ui/card/card-main.js.map +0 -1
- package/dist/js/core/components/ui/card/card.js +0 -67
- package/dist/js/core/components/ui/card/card.js.map +0 -1
- package/dist/js/core/components/ui/divider/divider.js +0 -200
- package/dist/js/core/components/ui/divider/divider.js.map +0 -1
- package/dist/js/core/components/ui/form/checkbox/checkbox.js +0 -257
- package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +0 -1
- package/dist/js/core/components/ui/form/css/form-control.js +0 -393
- package/dist/js/core/components/ui/form/css/form-control.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/fieldset.js +0 -124
- package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend-description.js +0 -38
- package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend.js +0 -130
- package/dist/js/core/components/ui/form/fieldset/legend.js.map +0 -1
- package/dist/js/core/components/ui/form/form-actions/form-actions.js +0 -47
- package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +0 -1
- package/dist/js/core/components/ui/form/form-layout/form-layout.js +0 -84
- package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +0 -1
- package/dist/js/core/components/ui/form/input/input.js +0 -316
- package/dist/js/core/components/ui/form/input/input.js.map +0 -1
- package/dist/js/core/components/ui/form/input/password-helper.js +0 -134
- package/dist/js/core/components/ui/form/input/password-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input/same-value-helper.js +0 -85
- package/dist/js/core/components/ui/form/input/same-value-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -405
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +0 -1
- package/dist/js/core/components/ui/form/radio/radio.js +0 -63
- package/dist/js/core/components/ui/form/radio/radio.js.map +0 -1
- package/dist/js/core/components/ui/form/select/select.js +0 -323
- package/dist/js/core/components/ui/form/select/select.js.map +0 -1
- package/dist/js/core/components/ui/form/switch/switch.js +0 -90
- package/dist/js/core/components/ui/form/switch/switch.js.map +0 -1
- package/dist/js/core/components/ui/form/textarea/textarea.js +0 -162
- package/dist/js/core/components/ui/form/textarea/textarea.js.map +0 -1
- package/dist/js/core/components/ui/group/group.js +0 -128
- package/dist/js/core/components/ui/group/group.js.map +0 -1
- package/dist/js/core/components/ui/icon/icon.js +0 -145
- package/dist/js/core/components/ui/icon/icon.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.js +0 -184
- package/dist/js/core/components/ui/icon/icons.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.json +0 -1
- package/dist/js/core/components/ui/image/image.js +0 -160
- package/dist/js/core/components/ui/image/image.js.map +0 -1
- package/dist/js/core/components/ui/link/link.js +0 -125
- package/dist/js/core/components/ui/link/link.js.map +0 -1
- package/dist/js/core/components/ui/loader/loader.js +0 -106
- package/dist/js/core/components/ui/loader/loader.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/fixed.js +0 -56
- package/dist/js/core/components/ui/loader/styles/fixed.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/inline.js +0 -70
- package/dist/js/core/components/ui/loader/styles/inline.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu-item.js +0 -35
- package/dist/js/core/components/ui/menu/menu-item.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu.js +0 -436
- package/dist/js/core/components/ui/menu/menu.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-actions.js +0 -44
- package/dist/js/core/components/ui/modal/modal-actions.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-close.js +0 -56
- package/dist/js/core/components/ui/modal/modal-close.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-content.js +0 -27
- package/dist/js/core/components/ui/modal/modal-content.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-subtitle.js +0 -34
- package/dist/js/core/components/ui/modal/modal-subtitle.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-title.js +0 -35
- package/dist/js/core/components/ui/modal/modal-title.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-utils.js +0 -32
- package/dist/js/core/components/ui/modal/modal-utils.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal.js +0 -568
- package/dist/js/core/components/ui/modal/modal.js.map +0 -1
- package/dist/js/core/components/ui/pop/pop.js +0 -337
- package/dist/js/core/components/ui/pop/pop.js.map +0 -1
- package/dist/js/core/components/ui/progress/progress.js +0 -164
- package/dist/js/core/components/ui/progress/progress.js.map +0 -1
- package/dist/js/core/components/ui/table/table-caption.js +0 -29
- package/dist/js/core/components/ui/table/table-caption.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tbody.js +0 -41
- package/dist/js/core/components/ui/table/table-tbody.js.map +0 -1
- package/dist/js/core/components/ui/table/table-td.js +0 -69
- package/dist/js/core/components/ui/table/table-td.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tfoot.js +0 -28
- package/dist/js/core/components/ui/table/table-tfoot.js.map +0 -1
- package/dist/js/core/components/ui/table/table-th.js +0 -80
- package/dist/js/core/components/ui/table/table-th.js.map +0 -1
- package/dist/js/core/components/ui/table/table-thead.js +0 -26
- package/dist/js/core/components/ui/table/table-thead.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tr.js +0 -67
- package/dist/js/core/components/ui/table/table-tr.js.map +0 -1
- package/dist/js/core/components/ui/table/table.js +0 -106
- package/dist/js/core/components/ui/table/table.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +0 -74
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/dark.js +0 -39
- package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/light.js +0 -32
- package/dist/js/core/components/ui/theme/theme-collection/light.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme.js +0 -150
- package/dist/js/core/components/ui/theme/theme.js.map +0 -1
- package/dist/js/core/components/ui/toast/message-subscriber.js +0 -41
- package/dist/js/core/components/ui/toast/message-subscriber.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast-item.js +0 -379
- package/dist/js/core/components/ui/toast/toast-item.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast.js +0 -269
- package/dist/js/core/components/ui/toast/toast.js.map +0 -1
- package/dist/js/core/components/ui/toast/types.js +0 -2
- package/dist/js/core/components/ui/toast/types.js.map +0 -1
- package/dist/js/core/components/ui/tooltip/tooltip.js +0 -219
- package/dist/js/core/components/ui/tooltip/tooltip.js.map +0 -1
- package/dist/js/core/components/ui/ui.js +0 -41
- package/dist/js/core/components/ui/ui.js.map +0 -1
- package/dist/js/core/core.js +0 -14
- package/dist/js/core/core.js.map +0 -1
- package/dist/js/core/decorators/Subscriber.js +0 -10
- package/dist/js/core/decorators/Subscriber.js.map +0 -1
- package/dist/js/core/decorators/api.js +0 -806
- package/dist/js/core/decorators/api.js.map +0 -1
- package/dist/js/core/decorators/lifecycle.js +0 -67
- package/dist/js/core/decorators/lifecycle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js +0 -27
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoFill.js +0 -26
- package/dist/js/core/decorators/subscriber/autoFill.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoSubscribe.js +0 -46
- package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +0 -1
- package/dist/js/core/decorators/subscriber/bind.js +0 -150
- package/dist/js/core/decorators/subscriber/bind.js.map +0 -1
- package/dist/js/core/decorators/subscriber/common.js +0 -44
- package/dist/js/core/decorators/subscriber/common.js.map +0 -1
- package/dist/js/core/decorators/subscriber/derive.js +0 -60
- package/dist/js/core/decorators/subscriber/derive.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPath.js +0 -75
- package/dist/js/core/decorators/subscriber/dynamicPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +0 -138
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +0 -1
- package/dist/js/core/decorators/subscriber/handle.js +0 -22
- package/dist/js/core/decorators/subscriber/handle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/onAssign.js +0 -199
- package/dist/js/core/decorators/subscriber/onAssign.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publish.js +0 -108
- package/dist/js/core/decorators/subscriber/publish.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publisherPath.js +0 -16
- package/dist/js/core/decorators/subscriber/publisherPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/subscribe.js +0 -20
- package/dist/js/core/decorators/subscriber/subscribe.js.map +0 -1
- package/dist/js/core/directives/DataProvider.js +0 -127
- package/dist/js/core/directives/DataProvider.js.map +0 -1
- package/dist/js/core/directives/Wording.js +0 -221
- package/dist/js/core/directives/Wording.js.map +0 -1
- package/dist/js/core/mixins/Fetcher.js +0 -325
- package/dist/js/core/mixins/Fetcher.js.map +0 -1
- package/dist/js/core/mixins/FormCheckable.js +0 -313
- package/dist/js/core/mixins/FormCheckable.js.map +0 -1
- package/dist/js/core/mixins/FormElement.js +0 -304
- package/dist/js/core/mixins/FormElement.js.map +0 -1
- package/dist/js/core/mixins/FormInput.js +0 -82
- package/dist/js/core/mixins/FormInput.js.map +0 -1
- package/dist/js/core/mixins/Subscriber.js +0 -354
- package/dist/js/core/mixins/Subscriber.js.map +0 -1
- package/dist/js/core/mixins/TemplatesContainer.js +0 -70
- package/dist/js/core/mixins/TemplatesContainer.js.map +0 -1
- package/dist/js/core/mixins/mixins.js +0 -7
- package/dist/js/core/mixins/mixins.js.map +0 -1
- package/dist/js/core/utils/AncestorAttributeObserver.js +0 -140
- package/dist/js/core/utils/AncestorAttributeObserver.js.map +0 -1
- package/dist/js/core/utils/Arrays.js +0 -141
- package/dist/js/core/utils/Arrays.js.map +0 -1
- package/dist/js/core/utils/DataBindObserver.js +0 -265
- package/dist/js/core/utils/DataBindObserver.js.map +0 -1
- package/dist/js/core/utils/Electron.js +0 -14
- package/dist/js/core/utils/Electron.js.map +0 -1
- package/dist/js/core/utils/Format.js +0 -43
- package/dist/js/core/utils/Format.js.map +0 -1
- package/dist/js/core/utils/HTML.js +0 -272
- package/dist/js/core/utils/HTML.js.map +0 -1
- package/dist/js/core/utils/LocationHandler.js +0 -143
- package/dist/js/core/utils/LocationHandler.js.map +0 -1
- package/dist/js/core/utils/Objects.js +0 -111
- package/dist/js/core/utils/Objects.js.map +0 -1
- package/dist/js/core/utils/PublisherProxy.js +0 -946
- package/dist/js/core/utils/PublisherProxy.js.map +0 -1
- package/dist/js/core/utils/SafariScrollGuard.js +0 -384
- package/dist/js/core/utils/SafariScrollGuard.js.map +0 -1
- package/dist/js/core/utils/Utils.js +0 -19
- package/dist/js/core/utils/Utils.js.map +0 -1
- package/dist/js/core/utils/aesCrypto.js +0 -98
- package/dist/js/core/utils/aesCrypto.js.map +0 -1
- package/dist/js/core/utils/api.js +0 -595
- package/dist/js/core/utils/api.js.map +0 -1
- package/dist/js/core/utils/dataProviderKey.js +0 -64
- package/dist/js/core/utils/dataProviderKey.js.map +0 -1
- package/dist/js/core/utils/derive.js +0 -246
- package/dist/js/core/utils/derive.js.map +0 -1
- package/dist/js/core/utils/endpoint.js +0 -74
- package/dist/js/core/utils/endpoint.js.map +0 -1
- package/dist/js/core/utils/jsonataHelpers.js +0 -69
- package/dist/js/core/utils/jsonataHelpers.js.map +0 -1
- package/dist/js/core/utils/jsonataRuntime.js +0 -75
- package/dist/js/core/utils/jsonataRuntime.js.map +0 -1
- package/dist/js/core/utils/route.js +0 -149
- package/dist/js/core/utils/route.js.map +0 -1
- package/dist/js/core/utils/url-pattern.js +0 -3
- package/dist/js/core/utils/url-pattern.js.map +0 -1
- package/dist/js/dataprovider.js +0 -2
- package/dist/js/dataprovider.js.map +0 -1
- package/dist/js/decorators.js +0 -43
- package/dist/js/decorators.js.map +0 -1
- package/dist/js/directives.js +0 -30
- package/dist/js/directives.js.map +0 -1
- package/dist/js/index.js +0 -8
- package/dist/js/index.js.map +0 -1
- package/dist/js/mixins.js +0 -23
- package/dist/js/mixins.js.map +0 -1
- package/dist/js/test-utils/TestUtils.js +0 -10
- package/dist/js/test-utils/TestUtils.js.map +0 -1
- package/dist/js/utils.js +0 -46
- package/dist/js/utils.js.map +0 -1
- package/dist/types/components.d.ts +0 -5
- package/dist/types/components.d.ts.map +0 -1
- package/dist/types/concorde-loaded.d.ts +0 -2
- package/dist/types/concorde-loaded.d.ts.map +0 -1
- package/dist/types/core/_types/endpoint.d.ts +0 -5
- package/dist/types/core/_types/endpoint.d.ts.map +0 -1
- package/dist/types/core/_types/key.d.ts +0 -2
- package/dist/types/core/_types/key.d.ts.map +0 -1
- package/dist/types/core/_types/types.d.ts +0 -28
- package/dist/types/core/_types/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/date/date.d.ts +0 -52
- package/dist/types/core/components/functional/date/date.d.ts.map +0 -1
- package/dist/types/core/components/functional/example/example.d.ts +0 -15
- package/dist/types/core/components/functional/example/example.d.ts.map +0 -1
- package/dist/types/core/components/functional/fetch/fetch.d.ts +0 -102
- package/dist/types/core/components/functional/fetch/fetch.d.ts.map +0 -1
- package/dist/types/core/components/functional/functional.d.ts +0 -18
- package/dist/types/core/components/functional/functional.d.ts.map +0 -1
- package/dist/types/core/components/functional/if/if.d.ts +0 -13
- package/dist/types/core/components/functional/if/if.d.ts.map +0 -1
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts +0 -29
- package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +0 -1
- package/dist/types/core/components/functional/list/list.d.ts +0 -149
- package/dist/types/core/components/functional/list/list.d.ts.map +0 -1
- package/dist/types/core/components/functional/mix/mix.d.ts +0 -23
- package/dist/types/core/components/functional/mix/mix.d.ts.map +0 -1
- package/dist/types/core/components/functional/queue/queue.d.ts +0 -93
- package/dist/types/core/components/functional/queue/queue.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/redirect.d.ts +0 -19
- package/dist/types/core/components/functional/router/redirect.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/router.d.ts +0 -46
- package/dist/types/core/components/functional/router/router.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -59
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +0 -6
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui.d.ts +0 -145
- package/dist/types/core/components/functional/sdui/sdui.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/types.d.ts +0 -38
- package/dist/types/core/components/functional/sdui/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -6
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +0 -1
- package/dist/types/core/components/functional/states/states.d.ts +0 -42
- package/dist/types/core/components/functional/states/states.d.ts.map +0 -1
- package/dist/types/core/components/functional/submit/submit.d.ts +0 -37
- package/dist/types/core/components/functional/submit/submit.d.ts.map +0 -1
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts +0 -13
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +0 -1
- package/dist/types/core/components/functional/translation/translation.d.ts +0 -7
- package/dist/types/core/components/functional/translation/translation.d.ts.map +0 -1
- package/dist/types/core/components/functional/value/value.d.ts +0 -8
- package/dist/types/core/components/functional/value/value.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/scroll.d.ts +0 -2
- package/dist/types/core/components/ui/_css/scroll.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/shadow.d.ts +0 -3
- package/dist/types/core/components/ui/_css/shadow.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/size.d.ts +0 -3
- package/dist/types/core/components/ui/_css/size.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/type.d.ts +0 -3
- package/dist/types/core/components/ui/_css/type.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert/alert.d.ts +0 -37
- package/dist/types/core/components/ui/alert/alert.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +0 -15
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +0 -1
- package/dist/types/core/components/ui/badge/badge.d.ts +0 -27
- package/dist/types/core/components/ui/badge/badge.d.ts.map +0 -1
- package/dist/types/core/components/ui/button/button.d.ts +0 -180
- package/dist/types/core/components/ui/button/button.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +0 -2
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/captcha.d.ts +0 -30
- package/dist/types/core/components/ui/captcha/captcha.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-footer.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-footer.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header.d.ts +0 -9
- package/dist/types/core/components/ui/card/card-header.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-main.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-main.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card.d.ts +0 -13
- package/dist/types/core/components/ui/card/card.d.ts.map +0 -1
- package/dist/types/core/components/ui/divider/divider.d.ts +0 -16
- package/dist/types/core/components/ui/divider/divider.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +0 -176
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/css/form-control.d.ts +0 -5
- package/dist/types/core/components/ui/form/css/form-control.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +0 -24
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +0 -6
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts +0 -17
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +0 -8
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +0 -13
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/input.d.ts +0 -123
- package/dist/types/core/components/ui/form/input/input.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/password-helper.d.ts +0 -26
- package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +0 -17
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -155
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/radio/radio.d.ts +0 -15
- package/dist/types/core/components/ui/form/radio/radio.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/select/select.d.ts +0 -59
- package/dist/types/core/components/ui/form/select/select.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/switch/switch.d.ts +0 -6
- package/dist/types/core/components/ui/form/switch/switch.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +0 -94
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +0 -1
- package/dist/types/core/components/ui/group/group.d.ts +0 -17
- package/dist/types/core/components/ui/group/group.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icon.d.ts +0 -30
- package/dist/types/core/components/ui/icon/icon.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icons.d.ts +0 -13
- package/dist/types/core/components/ui/icon/icons.d.ts.map +0 -1
- package/dist/types/core/components/ui/image/image.d.ts +0 -16
- package/dist/types/core/components/ui/image/image.d.ts.map +0 -1
- package/dist/types/core/components/ui/link/link.d.ts +0 -30
- package/dist/types/core/components/ui/link/link.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/loader.d.ts +0 -24
- package/dist/types/core/components/ui/loader/loader.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/inline.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu-item.d.ts +0 -6
- package/dist/types/core/components/ui/menu/menu-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu.d.ts +0 -52
- package/dist/types/core/components/ui/menu/menu.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-actions.d.ts +0 -9
- package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-close.d.ts +0 -11
- package/dist/types/core/components/ui/modal/modal-close.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-content.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-content.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-title.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-title.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-utils.d.ts +0 -4
- package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal.d.ts +0 -79
- package/dist/types/core/components/ui/modal/modal.d.ts.map +0 -1
- package/dist/types/core/components/ui/pop/pop.d.ts +0 -42
- package/dist/types/core/components/ui/pop/pop.d.ts.map +0 -1
- package/dist/types/core/components/ui/progress/progress.d.ts +0 -12
- package/dist/types/core/components/ui/progress/progress.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-caption.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-caption.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tbody.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tbody.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-td.d.ts +0 -13
- package/dist/types/core/components/ui/table/table-td.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tfoot.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-th.d.ts +0 -12
- package/dist/types/core/components/ui/table/table-th.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-thead.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-thead.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tr.d.ts +0 -14
- package/dist/types/core/components/ui/table/table-tr.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table.d.ts +0 -18
- package/dist/types/core/components/ui/table/table.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme.d.ts +0 -20
- package/dist/types/core/components/ui/theme/theme.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts +0 -19
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast-item.d.ts +0 -41
- package/dist/types/core/components/ui/toast/toast-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast.d.ts +0 -28
- package/dist/types/core/components/ui/toast/toast.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/types.d.ts +0 -12
- package/dist/types/core/components/ui/toast/types.d.ts.map +0 -1
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts +0 -21
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +0 -1
- package/dist/types/core/components/ui/ui.d.ts +0 -35
- package/dist/types/core/components/ui/ui.d.ts.map +0 -1
- package/dist/types/core/core.d.ts +0 -5
- package/dist/types/core/core.d.ts.map +0 -1
- package/dist/types/core/decorators/Subscriber.d.ts +0 -13
- package/dist/types/core/decorators/Subscriber.d.ts.map +0 -1
- package/dist/types/core/decorators/api.d.ts +0 -155
- package/dist/types/core/decorators/api.d.ts.map +0 -1
- package/dist/types/core/decorators/lifecycle.d.ts +0 -19
- package/dist/types/core/decorators/lifecycle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +0 -11
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoFill.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/bind.d.ts +0 -28
- package/dist/types/core/decorators/subscriber/bind.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/common.d.ts +0 -14
- package/dist/types/core/decorators/subscriber/common.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/derive.d.ts +0 -30
- package/dist/types/core/decorators/subscriber/derive.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +0 -42
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/handle.d.ts +0 -74
- package/dist/types/core/decorators/subscriber/handle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/onAssign.d.ts +0 -53
- package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publish.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/publish.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts +0 -3
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/subscribe.d.ts +0 -20
- package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +0 -1
- package/dist/types/core/directives/DataProvider.d.ts +0 -45
- package/dist/types/core/directives/DataProvider.d.ts.map +0 -1
- package/dist/types/core/directives/Wording.d.ts +0 -44
- package/dist/types/core/directives/Wording.d.ts.map +0 -1
- package/dist/types/core/mixins/Fetcher.d.ts +0 -108
- package/dist/types/core/mixins/Fetcher.d.ts.map +0 -1
- package/dist/types/core/mixins/FormCheckable.d.ts +0 -95
- package/dist/types/core/mixins/FormCheckable.d.ts.map +0 -1
- package/dist/types/core/mixins/FormElement.d.ts +0 -37
- package/dist/types/core/mixins/FormElement.d.ts.map +0 -1
- package/dist/types/core/mixins/FormInput.d.ts +0 -79
- package/dist/types/core/mixins/FormInput.d.ts.map +0 -1
- package/dist/types/core/mixins/Subscriber.d.ts +0 -38
- package/dist/types/core/mixins/Subscriber.d.ts.map +0 -1
- package/dist/types/core/mixins/TemplatesContainer.d.ts +0 -14
- package/dist/types/core/mixins/TemplatesContainer.d.ts.map +0 -1
- package/dist/types/core/mixins/mixins.d.ts +0 -7
- package/dist/types/core/mixins/mixins.d.ts.map +0 -1
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts +0 -38
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Arrays.d.ts +0 -98
- package/dist/types/core/utils/Arrays.d.ts.map +0 -1
- package/dist/types/core/utils/DataBindObserver.d.ts +0 -84
- package/dist/types/core/utils/DataBindObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Electron.d.ts +0 -8
- package/dist/types/core/utils/Electron.d.ts.map +0 -1
- package/dist/types/core/utils/Format.d.ts +0 -13
- package/dist/types/core/utils/Format.d.ts.map +0 -1
- package/dist/types/core/utils/HTML.d.ts +0 -79
- package/dist/types/core/utils/HTML.d.ts.map +0 -1
- package/dist/types/core/utils/LocationHandler.d.ts +0 -48
- package/dist/types/core/utils/LocationHandler.d.ts.map +0 -1
- package/dist/types/core/utils/Objects.d.ts +0 -31
- package/dist/types/core/utils/Objects.d.ts.map +0 -1
- package/dist/types/core/utils/PublisherProxy.d.ts +0 -230
- package/dist/types/core/utils/PublisherProxy.d.ts.map +0 -1
- package/dist/types/core/utils/SafariScrollGuard.d.ts +0 -36
- package/dist/types/core/utils/SafariScrollGuard.d.ts.map +0 -1
- package/dist/types/core/utils/Utils.d.ts +0 -6
- package/dist/types/core/utils/Utils.d.ts.map +0 -1
- package/dist/types/core/utils/aesCrypto.d.ts +0 -53
- package/dist/types/core/utils/aesCrypto.d.ts.map +0 -1
- package/dist/types/core/utils/api.d.ts +0 -173
- package/dist/types/core/utils/api.d.ts.map +0 -1
- package/dist/types/core/utils/dataProviderKey.d.ts +0 -56
- package/dist/types/core/utils/dataProviderKey.d.ts.map +0 -1
- package/dist/types/core/utils/derive.d.ts +0 -40
- package/dist/types/core/utils/derive.d.ts.map +0 -1
- package/dist/types/core/utils/endpoint.d.ts +0 -37
- package/dist/types/core/utils/endpoint.d.ts.map +0 -1
- package/dist/types/core/utils/jsonataHelpers.d.ts +0 -15
- package/dist/types/core/utils/jsonataHelpers.d.ts.map +0 -1
- package/dist/types/core/utils/jsonataRuntime.d.ts +0 -13
- package/dist/types/core/utils/jsonataRuntime.d.ts.map +0 -1
- package/dist/types/core/utils/route.d.ts +0 -41
- package/dist/types/core/utils/route.d.ts.map +0 -1
- package/dist/types/core/utils/url-pattern.d.ts +0 -3
- package/dist/types/core/utils/url-pattern.d.ts.map +0 -1
- package/dist/types/dataprovider.d.ts +0 -2
- package/dist/types/dataprovider.d.ts.map +0 -1
- package/dist/types/decorators.d.ts +0 -30
- package/dist/types/decorators.d.ts.map +0 -1
- package/dist/types/directives.d.ts +0 -21
- package/dist/types/directives.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/mixins.d.ts +0 -204
- package/dist/types/mixins.d.ts.map +0 -1
- package/dist/types/test-utils/TestUtils.d.ts +0 -4
- package/dist/types/test-utils/TestUtils.d.ts.map +0 -1
- package/dist/types/utils.d.ts +0 -20
- package/dist/types/utils.d.ts.map +0 -1
- package/docs/assets/index-DpIkksht.js +0 -11626
|
@@ -1,41 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 { derive } from "./subscriber/derive";
|
|
8
|
-
export type { DeriveDecoratorOptions } from "./subscriber/derive";
|
|
9
|
-
export { autoSubscribe } from "./subscriber/autoSubscribe";
|
|
10
|
-
export { autoFill } from "./subscriber/autoFill";
|
|
11
|
-
export { ancestorAttribute } from "./subscriber/ancestorAttribute";
|
|
12
|
-
export type { AncestorAttributeOptions } from "./subscriber/ancestorAttribute";
|
|
13
|
-
//# sourceMappingURL=Subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,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"}
|
|
@@ -1,155 +0,0 @@
|
|
|
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
|
-
type ApiHandlerMethod<T> = (this: object, payload?: ApiResult<T>) => void;
|
|
6
|
-
export interface GetDecoratorHandle<T, Host extends object = object> {
|
|
7
|
-
(target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<ApiHandlerMethod<T>>): void;
|
|
8
|
-
<K extends string>(target: Host & {
|
|
9
|
-
[P in K]?: ApiResult<T> | null | undefined;
|
|
10
|
-
}, propertyKey: K): void;
|
|
11
|
-
/**
|
|
12
|
-
* Relance le GET pour cette instance connectée.
|
|
13
|
-
*
|
|
14
|
-
* Le handle peut être conservé :
|
|
15
|
-
* `const usersGet = get(new Endpoint<User[]>("users"))`.
|
|
16
|
-
*
|
|
17
|
-
* La Promise est résolue après la fin du GET.
|
|
18
|
-
*/
|
|
19
|
-
refetch(component: Host): Promise<ApiResult<T> | undefined>;
|
|
20
|
-
}
|
|
21
|
-
export interface ApiSendDecoratorHandle<T, Host extends object = object> {
|
|
22
|
-
(target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<ApiHandlerMethod<T>>): void;
|
|
23
|
-
<K extends string>(target: Host & {
|
|
24
|
-
[P in K]?: ApiResult<T> | null | undefined;
|
|
25
|
-
}, propertyKey: K): void;
|
|
26
|
-
/**
|
|
27
|
-
* Relance l'opération d'écriture avec le body courant.
|
|
28
|
-
*
|
|
29
|
-
* Disponible avec `post`, `put` et `patch`.
|
|
30
|
-
* La Promise est résolue après la fin de l'opération.
|
|
31
|
-
*/
|
|
32
|
-
send(component: Host): Promise<ApiResult<T> | undefined>;
|
|
33
|
-
}
|
|
34
|
-
export type ApiMethodActionOptions = {
|
|
35
|
-
/**
|
|
36
|
-
* Moment du déclenchement par rapport à la méthode.
|
|
37
|
-
* `after` est la valeur par défaut ; l'action attend la résolution d'une
|
|
38
|
-
* Promise retournée par la méthode.
|
|
39
|
-
* Avec `before`, l'action est terminée avant l'appel de la méthode.
|
|
40
|
-
*/
|
|
41
|
-
when?: "before" | "after";
|
|
42
|
-
};
|
|
43
|
-
export declare function refetch<T, Host extends object = object>(handle: GetDecoratorHandle<T, Host>, options?: ApiMethodActionOptions): MethodDecorator;
|
|
44
|
-
export declare function send<T, Host extends object = object>(handle: ApiSendDecoratorHandle<T, Host>, options?: ApiMethodActionOptions): MethodDecorator;
|
|
45
|
-
/**
|
|
46
|
-
* Décorateur **`@get`** : charge des données via `API.getDetailed` et assigne un
|
|
47
|
-
* `ApiResult<T>` (`request`, `response`, `result` typé `T`) ou `undefined`.
|
|
48
|
-
* Le path est un `Endpoint<T, Ue>` ; les placeholders `${nomPropriété}` sont résolus sur l'instance (`Ue` contraint l’hôte).
|
|
49
|
-
*
|
|
50
|
-
* **Scoped (défaut)** : `HTML.getApiConfiguration(host)` avec `host` = l’élément connecté
|
|
51
|
-
* (`HTMLElement` / `ShadowRoot`). Si `serviceURL` n’est pas encore disponible (reflect Lit, scope
|
|
52
|
-
* ancêtre), le GET est différé jusqu’à ce que la config soit prête.
|
|
53
|
-
*
|
|
54
|
-
* **Deuxième paramètre** : `DataProviderKey<APIConfiguration>` — la config est lue via
|
|
55
|
-
* `PublisherManager` sur le chemin résolu (même syntaxe dynamique que `@subscribe`).
|
|
56
|
-
* Toute mutation interne du publisher (`onInternalMutation`) relance le GET.
|
|
57
|
-
*
|
|
58
|
-
* Le décorateur retourné expose `refetch(component)` pour relancer le GET d'une
|
|
59
|
-
* instance connectée. Pour déclencher le refetch depuis un autre composant,
|
|
60
|
-
* utiliser `triggerKey` puis `PublisherManager.get(...).invalidate()`.
|
|
61
|
-
*
|
|
62
|
-
* **Options** (`GetOptions`) : `triggerKey` — signal de refetch externe ;
|
|
63
|
-
* `refetchEveryMs` — polling automatique (0 ou absent = désactivé).
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* @get(new Endpoint<User, { userId: string }>("users/${userId}"))
|
|
67
|
-
* payload?: ApiResult<User>;
|
|
68
|
-
*
|
|
69
|
-
* @get(new Endpoint<User[]>("users"))
|
|
70
|
-
* onUsers(payload?: ApiResult<User[]>) {}
|
|
71
|
-
*
|
|
72
|
-
* @example
|
|
73
|
-
* const apiConf = new DataProviderKey<APIConfiguration>("myApiConf");
|
|
74
|
-
* PublisherManager.get("myApiConf").set({ serviceURL: "...", token: null, ... });
|
|
75
|
-
* @get(new Endpoint<Thing, { id: string }>("things/${id}"), apiConf)
|
|
76
|
-
* payload?: ApiResult<Thing>;
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* const usersGet = get(new Endpoint<User[]>("users"));
|
|
80
|
-
* @usersGet
|
|
81
|
-
* payload?: ApiResult<User[]>;
|
|
82
|
-
*
|
|
83
|
-
* refresh() {
|
|
84
|
-
* await usersGet.refetch(this);
|
|
85
|
-
* }
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* @get(usersEndpoint, { triggerKey: refreshUsersKey })
|
|
89
|
-
* payload?: ApiResult<User[]>;
|
|
90
|
-
* // PublisherManager.get("users.refresh").invalidate() → refetch
|
|
91
|
-
*/
|
|
92
|
-
export declare function get<T, Ue = any>(endpoint: Endpoint<T, Ue>): GetDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
93
|
-
export declare function get<T, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, configurationKey: DataProviderKey<APIConfiguration, Uk>): GetDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
94
|
-
export declare function get<T, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, options: GetOptions): GetDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
95
|
-
export declare function get<T, Ue = any, Uk = any, Ut = any>(endpoint: Endpoint<T, Ue>, configurationKey: DataProviderKey<APIConfiguration, Uk>, options: GetOptions): GetDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
96
|
-
export type GetOptions<Uk = any> = DynamicPathOptions & {
|
|
97
|
-
/** Intervalle de refetch automatique (ms). 0 ou absent = désactivé. */
|
|
98
|
-
refetchEveryMs?: number;
|
|
99
|
-
/** Publisher-signal dont `invalidate()` relance le GET. */
|
|
100
|
-
triggerKey?: DataProviderKey<unknown, Uk>;
|
|
101
|
-
};
|
|
102
|
-
export type ApiSendOptions<Uk = any> = DynamicPathOptions & {
|
|
103
|
-
/**
|
|
104
|
-
* Intervalle de renvoi automatique (ms).
|
|
105
|
-
* 0 ou absent = désactivé ; attention aux effets de bord de l'opération.
|
|
106
|
-
*/
|
|
107
|
-
refetchEveryMs?: number;
|
|
108
|
-
/** Ignore l'envoi si le body vaut null/undefined (défaut : true). */
|
|
109
|
-
skipIfBodyMissing?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Relance l'envoi quand le body publisher mute (défaut : true).
|
|
112
|
-
* `false` : le body est lu au moment de `send()` ou `triggerKey.invalidate()`.
|
|
113
|
-
*/
|
|
114
|
-
autoPostOnBodyMutation?: boolean;
|
|
115
|
-
/** Publisher-signal dont `invalidate()` relance l'envoi avec le body courant. */
|
|
116
|
-
triggerKey?: DataProviderKey<unknown, Uk>;
|
|
117
|
-
};
|
|
118
|
-
/** @deprecated Alias — préférer `ApiSendOptions`. */
|
|
119
|
-
export type PostOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
120
|
-
export type PutOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
121
|
-
export type PatchOptions<Uk = any> = ApiSendOptions<Uk>;
|
|
122
|
-
/**
|
|
123
|
-
* Décorateur **`@post`** : envoie des données via `API.postDetailed` et assigne un
|
|
124
|
-
* `ApiResult<T>` (`request`, `response`, `result` typé `T`).
|
|
125
|
-
*
|
|
126
|
-
* Le body est lu depuis un `DataProviderKey`. Par défaut, une mutation du body
|
|
127
|
-
* relance le POST ; `send(component)` permet de le relancer explicitement.
|
|
128
|
-
*
|
|
129
|
-
* @example
|
|
130
|
-
* @post(new Endpoint<SyncResult, { sessionId: string }>("sessions/${sessionId}/sync"), syncRequestKey)
|
|
131
|
-
* payload?: ApiResult<SyncResult>;
|
|
132
|
-
*
|
|
133
|
-
* @example
|
|
134
|
-
* const save = post(new Endpoint<User>("users"), userRequestKey);
|
|
135
|
-
* @save
|
|
136
|
-
* payload?: ApiResult<User>;
|
|
137
|
-
* // Dans un handler du composant :
|
|
138
|
-
* await save.send(this);
|
|
139
|
-
*/
|
|
140
|
-
export declare function post<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
141
|
-
export declare function post<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
142
|
-
export declare function post<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PostOptions<Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
143
|
-
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>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
144
|
-
/** `@put` — même modèle que `@post`, via `API.putDetailed` et `send()`. */
|
|
145
|
-
export declare function put<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
146
|
-
export declare function put<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
147
|
-
export declare function put<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PutOptions<Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
148
|
-
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>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
149
|
-
/** `@patch` — même modèle que `@post`, via `API.patchDetailed` et `send()`. */
|
|
150
|
-
export declare function patch<T, B, Ue = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
151
|
-
export declare function patch<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, configurationKey: DataProviderKey<APIConfiguration, Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
152
|
-
export declare function patch<T, B, Ue = any, Uk = any>(endpoint: Endpoint<T, Ue>, bodyKey: DataProviderKey<B>, options: PatchOptions<Uk>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue>>;
|
|
153
|
-
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>): ApiSendDecoratorHandle<T, DataProviderKeyHost<Ue> & DataProviderKeyHost<Uk>>;
|
|
154
|
-
export {};
|
|
155
|
-
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAoNlC,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC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EAAE,CAAC,EACvD,OAAO,EAAE,YAAY,CAAC,EAAE,CAAC,GACxB,sBAAsB,CAAC,CAAC,EAAE,mBAAmB,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
-
export type DeriveDecoratorOptions<I extends Record<string, unknown>, O, V = Record<string, unknown>> = {
|
|
3
|
-
from: {
|
|
4
|
-
[K in keyof I]: DataProviderKey<I[K]>;
|
|
5
|
-
};
|
|
6
|
-
to: DataProviderKey<O>;
|
|
7
|
-
/** Expression JSONata (string) ou fonction TS. */
|
|
8
|
-
expr?: string;
|
|
9
|
-
fn?: (inputs: I, vars: V) => O | Promise<O>;
|
|
10
|
-
variables?: DataProviderKey<V>;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Décorateur optionnel aligné `@handle` : lance un `derive` au `connectedCallback`
|
|
14
|
-
* et l’arrête au `disconnectedCallback`.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* @derive({
|
|
19
|
-
* from: { s: sessionsKey },
|
|
20
|
-
* to: palmaresKey,
|
|
21
|
-
* variables: formKey,
|
|
22
|
-
* fn: (i, v) => i.s.slice(0, Number(v.top) || 5),
|
|
23
|
-
* })
|
|
24
|
-
* class MyWidget extends LitElement {}
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare function deriveDecorator<I extends Record<string, unknown>, O, V = Record<string, unknown>>(options: DeriveDecoratorOptions<I, O, V>): <T extends DataProviderKeyHost<object>>(ctor: new (...args: any[]) => T) => void;
|
|
28
|
-
/** Alias public — éviter le conflit de nom avec la primitive `derive`. */
|
|
29
|
-
export { deriveDecorator as derive };
|
|
30
|
-
//# sourceMappingURL=derive.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/derive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAMrC,MAAM,MAAM,sBAAsB,CAChC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,CAAC,EACD,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACzB;IACF,IAAI,EAAE;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,CAAC;IAChD,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACvB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAIF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,CAAC,EACD,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,OAAO,EAAE,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IACvB,CAAC,SAAS,mBAAmB,CAAC,MAAM,CAAC,EACpD,MAAM,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,KAC9B,IAAI,CA6CR;AAED,0EAA0E;AAC1E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|