@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,230 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
3
|
+
* Merci de laisser ce fichier sans la moindre dépendance en dehors de types du ceur.
|
|
4
|
+
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
5
|
+
* **/
|
|
6
|
+
import type { PublisherInterface, CoreJSType, PublisherContentType } from "../_types/types";
|
|
7
|
+
import type { DataProviderKey } from "./dataProviderKey";
|
|
8
|
+
export type Observable = string;
|
|
9
|
+
type DynamicFillingListener = any;
|
|
10
|
+
type TemplateFillingListener = {
|
|
11
|
+
propertyMap: Record<string, string>;
|
|
12
|
+
} & DynamicFillingListener;
|
|
13
|
+
type PublisherProxyOptions = {
|
|
14
|
+
localStorageMode?: string;
|
|
15
|
+
expirationDelayMs?: number;
|
|
16
|
+
invalidateOnPageShow?: boolean;
|
|
17
|
+
};
|
|
18
|
+
/** Options de `dp()` / `dataProvider()` — même surface que `PublisherManager.get()`. */
|
|
19
|
+
export type DpOptions = PublisherProxyOptions;
|
|
20
|
+
export declare const prefix: string;
|
|
21
|
+
/**
|
|
22
|
+
* Custom Proxy contient les méthodes des publishers retournés par PublisherManager.get(publisherId) qui seront utilisées couramment
|
|
23
|
+
*/
|
|
24
|
+
export declare class PublisherProxy<T = any> {
|
|
25
|
+
static instances: Map<number, PublisherProxy<any>>;
|
|
26
|
+
static instancesCounter: number;
|
|
27
|
+
_proxies_: Map<string, PublisherProxy>;
|
|
28
|
+
_value_: T;
|
|
29
|
+
_is_savable_: boolean;
|
|
30
|
+
_expiration_delay_: number;
|
|
31
|
+
_invalidate_on_page_show_: boolean;
|
|
32
|
+
_invalidateListeners_: Set<VoidFunction>;
|
|
33
|
+
_formInvalidateListeners_: Set<VoidFunction>;
|
|
34
|
+
_assignListeners_: Set<(value: T) => void>;
|
|
35
|
+
_mutationListeners_: Set<VoidFunction>;
|
|
36
|
+
_fillListeners_: Set<Record<string, CoreJSType>>;
|
|
37
|
+
_templateFillListeners_: Set<any>;
|
|
38
|
+
_lockInternalMutationPublishing_: boolean;
|
|
39
|
+
_instanceCounter_: number;
|
|
40
|
+
parent: PublisherProxy | null;
|
|
41
|
+
_parentKey_?: string;
|
|
42
|
+
root: PublisherProxy;
|
|
43
|
+
constructor(target: T, parentProxPub: PublisherProxy | null, parentKey?: string);
|
|
44
|
+
/**
|
|
45
|
+
* Supprime le proxy et ses sous proxy
|
|
46
|
+
* Supprime les écouteurs associés
|
|
47
|
+
*/
|
|
48
|
+
delete(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
|
|
51
|
+
*/
|
|
52
|
+
hasListener(): boolean;
|
|
53
|
+
_assignmentId_: number;
|
|
54
|
+
_publishInternalMutation_(lockInternalMutationsTransmission?: boolean): void;
|
|
55
|
+
_publishAssignement_(lockInternalMutationsTransmission?: boolean): Promise<void>;
|
|
56
|
+
_publishInvalidation_(): void;
|
|
57
|
+
_publishFormInvalidation_(): void;
|
|
58
|
+
_publishDynamicFilling_(key: string, value: CoreJSType): void;
|
|
59
|
+
_publishTemplateFilling_(key: string, value: CoreJSType): void;
|
|
60
|
+
/**
|
|
61
|
+
* Appel la fonction "handler" (passée en paramettre) lorsque la valeur gérée par le proxy change par assignation
|
|
62
|
+
* hanlder reçois alors la nouvelle valeur interne du proxy en paramètre
|
|
63
|
+
*/
|
|
64
|
+
onAssign(handler: (value: T) => void, directHandlerCall?: boolean): void;
|
|
65
|
+
/**
|
|
66
|
+
* Stop les appels de la fonction "handler" (passée en paramettre) lorsque la valeur gérée par le proxy change par assignation
|
|
67
|
+
*/
|
|
68
|
+
offAssign(handler: (value: T) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* Appel la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
|
|
71
|
+
*/
|
|
72
|
+
onInvalidate(handler: VoidFunction | undefined): void;
|
|
73
|
+
/**
|
|
74
|
+
* Stop les appels de la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
|
|
75
|
+
*/
|
|
76
|
+
offInvalidate(handler: VoidFunction | undefined): void;
|
|
77
|
+
/**
|
|
78
|
+
* Flag les données comme étant invalides
|
|
79
|
+
*/
|
|
80
|
+
invalidate(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Appel la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
|
|
83
|
+
*/
|
|
84
|
+
onFormInvalidate(handler: VoidFunction | undefined): void;
|
|
85
|
+
/**
|
|
86
|
+
* Stop les appels de la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
|
|
87
|
+
*/
|
|
88
|
+
offFormInvalidate(handler: VoidFunction | undefined): void;
|
|
89
|
+
invalidateForm(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Appel la fonction "handler" (passée en paramettre) lorsque quelque chose change la valeur gérée par le proxy quelque soit la profondeur de la donnée
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
onInternalMutation(handler: VoidFunction | undefined): void;
|
|
95
|
+
/**
|
|
96
|
+
* Stop les Appels de la fonction "handler" (passée en paramettre) lorsque quelque chose change la valeur gérée par le proxy quelque soit la profondeur de la donnée
|
|
97
|
+
*/
|
|
98
|
+
offInternalMutation(handler: VoidFunction | undefined): void;
|
|
99
|
+
/**
|
|
100
|
+
* Maintient le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
|
|
101
|
+
* Remplit uniquement les valeurs déjà présentes dans l'objet / tableau passé en paramètre
|
|
102
|
+
*/
|
|
103
|
+
startTemplateFilling(handler: TemplateFillingListener): void;
|
|
104
|
+
/**
|
|
105
|
+
* Arrête de maintenir le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
|
|
106
|
+
*/
|
|
107
|
+
stopTemplateFilling(handler: TemplateFillingListener): void;
|
|
108
|
+
/**
|
|
109
|
+
* Maintient le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
|
|
110
|
+
* Remplit toute valeur qu'elle soit présente ou pas initialement dans l'objet
|
|
111
|
+
*/
|
|
112
|
+
startDynamicFilling(handler: DynamicFillingListener): void;
|
|
113
|
+
stopDynamicFilling(handler: DynamicFillingListener): void;
|
|
114
|
+
/**
|
|
115
|
+
* Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
|
|
116
|
+
*/
|
|
117
|
+
set(newValue: T, lockInternalMutationsTransmission?: boolean): boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Extraire la valeur actuelle du proxy
|
|
120
|
+
*/
|
|
121
|
+
_cachedGet_?: T;
|
|
122
|
+
get(): T;
|
|
123
|
+
/**
|
|
124
|
+
* retourner le webcomponent auquel le proxy est associé
|
|
125
|
+
*/
|
|
126
|
+
get $tag(): string;
|
|
127
|
+
}
|
|
128
|
+
export declare function collectModifiedPublisher(): void;
|
|
129
|
+
export declare function getModifiedPublishers(): Set<any>;
|
|
130
|
+
export declare class PublisherManager {
|
|
131
|
+
static buildDate: string;
|
|
132
|
+
static changed: boolean;
|
|
133
|
+
static saving: boolean;
|
|
134
|
+
static saveId: number;
|
|
135
|
+
static instance: PublisherManager | null;
|
|
136
|
+
static instances: Map<string, PublisherManager>;
|
|
137
|
+
enabledLocaStorageProxies: string[];
|
|
138
|
+
publishers: Map<string, any>;
|
|
139
|
+
localStorageData: Record<string, {
|
|
140
|
+
lastModifiationMS: number;
|
|
141
|
+
data: PublisherContentType;
|
|
142
|
+
expirationDelayMs?: number;
|
|
143
|
+
}>;
|
|
144
|
+
isLocalStrorageReady: Promise<boolean> | null;
|
|
145
|
+
constructor();
|
|
146
|
+
private static pageShowHandlerInitialized;
|
|
147
|
+
private static initPageShowHandler;
|
|
148
|
+
private invalidateAll;
|
|
149
|
+
cleanStorageData(): Promise<unknown>;
|
|
150
|
+
/**
|
|
151
|
+
* PublisherManager est un singleton
|
|
152
|
+
*/
|
|
153
|
+
static getInstance(id?: string): PublisherManager;
|
|
154
|
+
/**
|
|
155
|
+
* shortcut static pour obtenir un publisher vias sont id/adresse sans taper getInstance.
|
|
156
|
+
* Si le publisher n'existe pas, il est créé.
|
|
157
|
+
*/
|
|
158
|
+
static get(id: string, options?: {
|
|
159
|
+
localStorageMode?: string;
|
|
160
|
+
expirationDelayMs?: number;
|
|
161
|
+
}): DataProvider<any>;
|
|
162
|
+
/**
|
|
163
|
+
* Obtenir un publisher vias sont id/adresse
|
|
164
|
+
* Si le publisher n'existe pas, il est créé.
|
|
165
|
+
*/
|
|
166
|
+
setLocalData(publisher: PublisherInterface, id: string): Promise<void>;
|
|
167
|
+
initialisedData: string[];
|
|
168
|
+
get<T = any>(id: string, options?: PublisherProxyOptions): DataProvider<T>;
|
|
169
|
+
/**
|
|
170
|
+
* Remplace un publisher pour l'id fourni par un autre.
|
|
171
|
+
* L'autre publisher n'est pas supprimé.
|
|
172
|
+
*/
|
|
173
|
+
set<T = any>(id: string, publisher: DataProvider<T>): void;
|
|
174
|
+
/**
|
|
175
|
+
* @warning
|
|
176
|
+
* !!!!! ATTENTION !!!!!
|
|
177
|
+
* Il est fort à aprier que vous ne voulez pas utiliser cette methode
|
|
178
|
+
* Il s'agit d'une supression complete
|
|
179
|
+
* * du publisher de la liste
|
|
180
|
+
* * des bindings
|
|
181
|
+
* * de même que ses sous publishers
|
|
182
|
+
*
|
|
183
|
+
* UTILISEZ PLUTÔT la méthode publisher.set({}) pour réinitialiser un publisher sans perdre les ecouteurs
|
|
184
|
+
*/
|
|
185
|
+
delete(id: string): boolean;
|
|
186
|
+
saveToLocalStorage(saveId?: number): Promise<void>;
|
|
187
|
+
compress(string: string, encoding: string): Promise<string>;
|
|
188
|
+
decompress(str: string, encoding: string): Promise<string>;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Le Proxy Javascript
|
|
192
|
+
*/
|
|
193
|
+
type WithoutUnderscoreKeys<T> = {
|
|
194
|
+
[K in keyof T as K extends `_${string}_` ? never : K]: T[K];
|
|
195
|
+
};
|
|
196
|
+
export type DataProvider<T = any> = WithoutUnderscoreKeys<PublisherProxy<T>> & {
|
|
197
|
+
[K in keyof T]: DataProvider<T[K]>;
|
|
198
|
+
};
|
|
199
|
+
export declare function createPublisher<T = any>(target: T, parentProxPub?: PublisherProxy<T> | null, parentKey?: string): WithoutUnderscoreKeys<PublisherProxy<T>> & { [K in keyof T]: DataProvider<T[K]>; } & T;
|
|
200
|
+
/**
|
|
201
|
+
* @deprecated @see {@link DataProvider} instead
|
|
202
|
+
*/
|
|
203
|
+
export default DataProvider;
|
|
204
|
+
export type Publisher<T = any> = DataProvider<T>;
|
|
205
|
+
export declare const getObservables: <T = any>(observable: string, options?: DpOptions) => Set<DataProvider<T>>;
|
|
206
|
+
export declare function get<T>(id: DataProviderKey<T>): T;
|
|
207
|
+
export declare function get<T = any>(id: string): T;
|
|
208
|
+
export declare function dataProvider<T>(id: DataProviderKey<T>, options: DpOptions): DataProvider<T>;
|
|
209
|
+
export declare function dataProvider<T = any>(id: string, options: DpOptions): DataProvider<T>;
|
|
210
|
+
export declare function dataProvider<T>(id: DataProviderKey<T>): DataProvider<T>;
|
|
211
|
+
export declare function dataProvider<T = any>(id: string): DataProvider<T>;
|
|
212
|
+
export declare function dataProvider<T>(id: DataProviderKey<T>, defaultValue: T): DataProvider<T>;
|
|
213
|
+
export declare function dataProvider<T = any>(id: string, defaultValue: T): DataProvider<T>;
|
|
214
|
+
export declare function dp<T>(id: DataProviderKey<T>, options: DpOptions): DataProvider<T>;
|
|
215
|
+
export declare function dp<T = any>(id: string, options: DpOptions): DataProvider<T>;
|
|
216
|
+
export declare function dp<T>(id: DataProviderKey<T>): DataProvider<T>;
|
|
217
|
+
export declare function dp<T = any>(id: string): DataProvider<T>;
|
|
218
|
+
export declare function dp<T>(id: DataProviderKey<T>, defaultValue: T): DataProvider<T>;
|
|
219
|
+
export declare function dp<T = any>(id: string, defaultValue: T): DataProvider<T>;
|
|
220
|
+
/**
|
|
221
|
+
* Alias sémantique pour `PublisherManager.set` : enregistre `aliasKey` sur la même
|
|
222
|
+
* instance publisher que `source`. Utile pour exposer une clé legacy (`scan`) tout en
|
|
223
|
+
* stockant l'état sous une racine (`app.scan`) — `dp("scan")` et `appState.scan` partagent
|
|
224
|
+
* alors la même instance, sans copie à chaque assignation.
|
|
225
|
+
*/
|
|
226
|
+
export declare function mirrorDp<T>(aliasKey: string | DataProviderKey<any>, source: DataProvider<T>): void;
|
|
227
|
+
export declare function mirrorDp(aliasKey: string | DataProviderKey<any>, source: string | DataProviderKey<any>): void;
|
|
228
|
+
export declare function set<T>(id: DataProviderKey<T>, value: T): void;
|
|
229
|
+
export declare function set<T = any>(id: string, value: T): void;
|
|
230
|
+
//# sourceMappingURL=PublisherProxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|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../../../src/core/utils/Utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,KAAK;WACX,gBAAgB;WAKhB,YAAY,CAAC,SAAS,EAAE,MAAM;CAK5C;AAWD,eAAO,MAAM,gBAAgB,QACiD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Génère une clé AES-256
|
|
3
|
+
*/
|
|
4
|
+
export declare function generateKey(): Promise<CryptoKey>;
|
|
5
|
+
/**
|
|
6
|
+
* Exporte une clé AES en format JSON Web Key (JWK)
|
|
7
|
+
*/
|
|
8
|
+
export declare function exportKey(key: CryptoKey): Promise<JsonWebKey>;
|
|
9
|
+
/**
|
|
10
|
+
* Importe une clé AES à partir d'un format JSON Web Key (JWK)
|
|
11
|
+
*/
|
|
12
|
+
export declare function importKey(jwk: JsonWebKey): Promise<CryptoKey>;
|
|
13
|
+
/**
|
|
14
|
+
* Chiffre une donnée
|
|
15
|
+
* @param data - Les données à chiffrer
|
|
16
|
+
* @param key - La clé AES
|
|
17
|
+
* @param iv - Le vecteur d'initialisation
|
|
18
|
+
* @returns Une chaîne encodée en Base64
|
|
19
|
+
*/
|
|
20
|
+
export declare function encryptToBase64(data: string, key: CryptoKey, iv: Uint8Array): Promise<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Déchiffre une donnée
|
|
23
|
+
* @param base64Data - Les données chiffrées en Base64
|
|
24
|
+
* @param key - La clé AES
|
|
25
|
+
* @param iv - Le vecteur d'initialisation
|
|
26
|
+
* @returns Une chaîne déchiffrée
|
|
27
|
+
*/
|
|
28
|
+
export declare function decryptFromBase64(base64Data: string, key: CryptoKey, iv: Uint8Array): Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* USAGE
|
|
31
|
+
|
|
32
|
+
import { generateKey, encryptToBase64, decryptFromBase64, exportKey, importKey } from './aesCrypto';
|
|
33
|
+
|
|
34
|
+
(async () => {
|
|
35
|
+
const key = await generateKey();
|
|
36
|
+
const iv = crypto.getRandomValues(new Uint8Array(16)); // Génère un IV aléatoire
|
|
37
|
+
|
|
38
|
+
const data = "Ceci est un secret!";
|
|
39
|
+
|
|
40
|
+
// Chiffrement
|
|
41
|
+
const encryptedBase64 = await encryptToBase64(data, key, iv);
|
|
42
|
+
|
|
43
|
+
// Déchiffrement
|
|
44
|
+
const decrypted = await decryptFromBase64(encryptedBase64, key, iv);
|
|
45
|
+
|
|
46
|
+
// Exporter et importer la clé
|
|
47
|
+
const exportedKey = await exportKey(key);
|
|
48
|
+
|
|
49
|
+
const importedKey = await importKey(exportedKey);
|
|
50
|
+
})();
|
|
51
|
+
|
|
52
|
+
*/
|
|
53
|
+
//# sourceMappingURL=aesCrypto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aesCrypto.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/aesCrypto.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAsB,WAAW,IAAI,OAAO,CAAC,SAAS,CAAC,CAStD;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAEnE;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,CAQnE;AAqBD;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,UAAU,GACb,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,UAAU,GACb,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { CoreJSType } from "@supersoniks/concorde/core/_types/types";
|
|
2
|
+
export type APIConfiguration = {
|
|
3
|
+
serviceURL: string | null;
|
|
4
|
+
/** un flag pour indiquer de bloquer les appels suivant au même serviceurl tant que celuis-ci n'a pas terminé */
|
|
5
|
+
blockUntilDone?: boolean;
|
|
6
|
+
token: string | null;
|
|
7
|
+
userName: string | null;
|
|
8
|
+
password: string | null;
|
|
9
|
+
authToken: string | null;
|
|
10
|
+
tokenProvider: string | null;
|
|
11
|
+
addHTTPResponse?: boolean;
|
|
12
|
+
credentials?: RequestCredentials;
|
|
13
|
+
cache?: RequestCache;
|
|
14
|
+
keepAlive?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type CallState = "loading" | "done" | "error" | undefined;
|
|
17
|
+
export type ResultTypeInterface = CoreJSType & {
|
|
18
|
+
_sonic_http_response_?: Response;
|
|
19
|
+
text?: string;
|
|
20
|
+
};
|
|
21
|
+
export type APICall = {
|
|
22
|
+
apiMethod: "get" | "send" | "submitFormData";
|
|
23
|
+
path: string;
|
|
24
|
+
additionalHeaders: HeadersInit | undefined;
|
|
25
|
+
method?: string | undefined;
|
|
26
|
+
data?: unknown;
|
|
27
|
+
cache?: RequestCache;
|
|
28
|
+
};
|
|
29
|
+
export type APIResponse = {
|
|
30
|
+
http: Response;
|
|
31
|
+
processed: ResultTypeInterface;
|
|
32
|
+
};
|
|
33
|
+
/** Valeur assignée par `@get`, `@post`, `@put`, `@patch`. */
|
|
34
|
+
export type ApiResult<T> = {
|
|
35
|
+
request: Request;
|
|
36
|
+
/** Absent / `undefined` pour les chemins `dataProvider(...)` (pas d’appel réseau). */
|
|
37
|
+
response?: Response;
|
|
38
|
+
/** Corps utile sans `_sonic_http_response_` sur l’objet racine. */
|
|
39
|
+
result: T;
|
|
40
|
+
};
|
|
41
|
+
/** @deprecated Utiliser `ApiResult`. */
|
|
42
|
+
export type ApiGetResult<T> = ApiResult<T>;
|
|
43
|
+
declare class API {
|
|
44
|
+
/**
|
|
45
|
+
* Ce tableau static permet de ne pas appeler plusieurs fois le même service lors d'appel concurrents en GET.
|
|
46
|
+
*/
|
|
47
|
+
private static loadingGetPromises;
|
|
48
|
+
/**
|
|
49
|
+
* L'url de base du service sans endpoint
|
|
50
|
+
*/
|
|
51
|
+
serviceURL: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* le nom de l'utilisateur si basic auth est utilisé
|
|
54
|
+
*/
|
|
55
|
+
userName: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* le password de l'utilisateur si basic auth est utilisé
|
|
58
|
+
*/
|
|
59
|
+
password: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* le bearer token a passer pour les appels REST
|
|
62
|
+
*/
|
|
63
|
+
private _token;
|
|
64
|
+
set token(token: string | null | undefined);
|
|
65
|
+
get token(): string | null | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Le endPoint pour obtenir le bearer token qui sera concaténé à l'url du service
|
|
68
|
+
*/
|
|
69
|
+
tokenProvider: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* le bearer token à passer pour un éventuel renouvellement de token automatique
|
|
72
|
+
*/
|
|
73
|
+
authToken: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* credentials
|
|
76
|
+
*/
|
|
77
|
+
credentials?: RequestCredentials;
|
|
78
|
+
/**
|
|
79
|
+
* Tableau static des tokens stokés en memoire vive (comportement à revoir à l'occasion)
|
|
80
|
+
*/
|
|
81
|
+
private static tokens;
|
|
82
|
+
/**
|
|
83
|
+
* Tableau stockant l'ensemble des tokens invalides
|
|
84
|
+
*/
|
|
85
|
+
private static invalidTokens;
|
|
86
|
+
private handleInvalidToken;
|
|
87
|
+
/**
|
|
88
|
+
* Tableau static des tentatives échouées de récupération auto du token
|
|
89
|
+
*/
|
|
90
|
+
private static failledTokenUpdates;
|
|
91
|
+
/**
|
|
92
|
+
* Tableau static des flags pour savoir si le premier appel a été fait pour chaque serviceURL
|
|
93
|
+
*/
|
|
94
|
+
private static firstCallDoneFlags;
|
|
95
|
+
/**
|
|
96
|
+
* Le endPoint pour obtenir le bearer token qui sera concaténé à l'url du service
|
|
97
|
+
*/
|
|
98
|
+
addHTTPResponse: boolean;
|
|
99
|
+
cache: RequestCache;
|
|
100
|
+
lastResult?: Response;
|
|
101
|
+
isServiceSimulated: boolean;
|
|
102
|
+
blockUntilDone: boolean;
|
|
103
|
+
keepAlive: boolean;
|
|
104
|
+
constructor(config: APIConfiguration);
|
|
105
|
+
private handleResult;
|
|
106
|
+
/**
|
|
107
|
+
* Basic auth
|
|
108
|
+
*/
|
|
109
|
+
private auth;
|
|
110
|
+
/**
|
|
111
|
+
* avec localget, on ne passe pas par le système de token
|
|
112
|
+
* on recupère path sans les searchparams nommée pathWithoutSearchParams
|
|
113
|
+
* on cherche dans PublisherManager.get(pathWithoutSearchParams).get() les données qui matchent les searchparams présents dans path
|
|
114
|
+
* on retourne les données selon le même format que le retour de get
|
|
115
|
+
*
|
|
116
|
+
* @todo netttoyer
|
|
117
|
+
*/
|
|
118
|
+
localGet<T>(dataProvider: string, searchString: string): Promise<T & ResultTypeInterface>;
|
|
119
|
+
/**
|
|
120
|
+
* firstCallDone is a function that returns a promise that is resolved when the first call to the API is done for each serviceURL whatever api instance is used
|
|
121
|
+
*/
|
|
122
|
+
private firstCallDone;
|
|
123
|
+
get<T>(path: string, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
124
|
+
/**
|
|
125
|
+
* S’appuie sur `get()` puis reformate la réponse : `Request` équivalent à l’appel,
|
|
126
|
+
* `Response` renseignée par `lastResult` après un GET HTTP (via `handleResult`),
|
|
127
|
+
* `result` = corps métier typé `T` (sans `_sonic_http_response_` à la racine).
|
|
128
|
+
* Pour `dataProvider(...)`, pas de `response` (pas de fetch).
|
|
129
|
+
*/
|
|
130
|
+
getDetailed<T>(path: string, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* S’appuie sur `post()` puis reformate la réponse : `Request` avec body JSON,
|
|
133
|
+
* `Response` via `lastResult`, `result` typé `T`.
|
|
134
|
+
*/
|
|
135
|
+
sendDetailed<T, B>(path: string, body: B, method: "POST" | "PUT" | "PATCH", additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
|
|
136
|
+
postDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
|
|
137
|
+
putDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
|
|
138
|
+
patchDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* Création du header, avec authentification si besoin
|
|
141
|
+
* ajout du language via le header accept-language qui contient le langue du navigateur
|
|
142
|
+
*/
|
|
143
|
+
createHeaders(additionalHeaders?: HeadersInit): Promise<Record<string, string>>;
|
|
144
|
+
/**
|
|
145
|
+
* Concatène le serviceURL et le endpoint donné en paramètre
|
|
146
|
+
*/
|
|
147
|
+
computeURL(path: string, query?: Record<string, string>): string;
|
|
148
|
+
send<T, SendType = CoreJSType>(path: string, data: SendType, method?: string, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
149
|
+
/**
|
|
150
|
+
* Agit comme une soumission de formulaire, mais attends un json en réponse
|
|
151
|
+
*/
|
|
152
|
+
submitFormData<T, SendType = CoreJSType>(path: string, data: SendType, method?: string, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
153
|
+
/**
|
|
154
|
+
* Appel send en utilisant le méthode PUT
|
|
155
|
+
*/
|
|
156
|
+
put<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
157
|
+
/**
|
|
158
|
+
* Appel send en utilisant le méthode POST
|
|
159
|
+
*/
|
|
160
|
+
post<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
161
|
+
/**
|
|
162
|
+
* Appel send en utilisant le méthode PATCH
|
|
163
|
+
*/
|
|
164
|
+
patch<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
165
|
+
/**
|
|
166
|
+
* Appel send en utilisant le méthode delete
|
|
167
|
+
*/
|
|
168
|
+
delete<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
|
|
169
|
+
}
|
|
170
|
+
export default API;
|
|
171
|
+
export declare const log: (message: string, variables?: any) => Promise<void>;
|
|
172
|
+
export declare const configLog: (newConfig: APIConfiguration, endPoint?: string) => void;
|
|
173
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/api.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAGrE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gHAAgH;IAChH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC7C,qBAAqB,CAAC,EAAE,QAA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AAC,EAAE,WAAW;IAIjC;;OAEG;IACG,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,EAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;IAKjC;;OAEG;IACG,MAAM,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,EACnC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;CAIlC;AACD,eAAe,GAAG,CAAC;AAenB,eAAO,MAAM,GAAG,GAAU,SAAS,MAAM,EAAE,YAAY,GAAG,kBAkBzD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,gBAAgB,EAAE,iBAAgB,SAmDtE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type-safe navigation through composite data structures (publisher paths).
|
|
3
|
+
* Each property or index access extends the path. Retrieve the final path via toString() or path.
|
|
4
|
+
* Supports dynamic paths: use placeholders like "users.${userIndex}" in the constructor.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* const myKey = new DataProviderKey<Data>("data").items[0];
|
|
8
|
+
* myKey.toString(); // "data.items.0"
|
|
9
|
+
* myKey.path; // same
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* // U = dépendances dynamiques sur l’hôte (voir DataProviderKeyHost) — propagé sur .foo.bar
|
|
13
|
+
* new DataProviderKey<User, { userIndex: number }>("demoUsers.${userIndex}");
|
|
14
|
+
*/
|
|
15
|
+
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
16
|
+
/**
|
|
17
|
+
* Prototype de classe décorée : propriétés minimales attendues sur l’hôte quand la clé est
|
|
18
|
+
* `DataProviderKey<…, U>` (U renseigné à la construction). Avec `U` par défaut (`any`), pas de contrainte.
|
|
19
|
+
*/
|
|
20
|
+
export type DataProviderKeyHost<U> = IsAny<U> extends true ? object : keyof U extends never ? object : object & U;
|
|
21
|
+
/**
|
|
22
|
+
* Navigation « dot » : une propriété optionnelle `foo?: X` reste traversable (le chemin publisher
|
|
23
|
+
* existe). On retire `null` / `undefined` seulement quand la partie non-nulle est un `object`
|
|
24
|
+
* (y compris tableaux, tuples), pour que le chaînage `.bar.baz` soit typé sans `?.`.
|
|
25
|
+
* Les feuilles (`boolean | undefined`, `string`, etc.) gardent leur union telle quelle.
|
|
26
|
+
*/
|
|
27
|
+
type DataProviderKeyNavigate<T> = T extends (...args: unknown[]) => unknown ? T : NonNullable<T> extends infer U ? [U] extends [never] ? T : U extends object ? U : T : T;
|
|
28
|
+
/**
|
|
29
|
+
* U : forme minimale du composant pour résoudre les placeholders `${…}` du path ; inchangée lors de la navigation.
|
|
30
|
+
*/
|
|
31
|
+
type DataProviderKeyProxy<T, U = any> = NonNullable<T> extends object ? {
|
|
32
|
+
[K in keyof NonNullable<T> as NonNullable<T>[K] extends (...args: unknown[]) => unknown ? never : K]-?: DataProviderKey<DataProviderKeyNavigate<NonNullable<T>[K]>, U>;
|
|
33
|
+
} : object;
|
|
34
|
+
export type DataProviderKey<T, U = any> = DataProviderKeyImpl<T, U> & DataProviderKeyProxy<T, U>;
|
|
35
|
+
declare class DataProviderKeyImpl<T, U = any> {
|
|
36
|
+
readonly path: string;
|
|
37
|
+
readonly _phantom?: T;
|
|
38
|
+
readonly _phantomDeps?: U;
|
|
39
|
+
constructor(path: string);
|
|
40
|
+
toString(): string;
|
|
41
|
+
}
|
|
42
|
+
export interface DataProviderKeyConstructor {
|
|
43
|
+
new <T, U = any>(path: string): DataProviderKey<T, U>;
|
|
44
|
+
}
|
|
45
|
+
export declare function isDynamicPublisherPath(path: string): boolean;
|
|
46
|
+
export type PublisherPathInput = string | {
|
|
47
|
+
path: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Resolves a static publisher path for get / set / dp.
|
|
51
|
+
* Rejects DataProviderKey templates with dynamic placeholders.
|
|
52
|
+
*/
|
|
53
|
+
export declare function resolveStaticPublisherPath(input: PublisherPathInput): string;
|
|
54
|
+
export declare const DataProviderKey: DataProviderKeyConstructor;
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=dataProviderKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataProviderKey.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/dataProviderKey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAC/B,KAAK,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,SAAS,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC;AAE/E;;;;;GAKG;AACH,KAAK,uBAAuB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,GACvE,CAAC,GACD,WAAW,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GAC5B,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GACjB,CAAC,GACD,CAAC,SAAS,MAAM,GACd,CAAC,GACD,CAAC,GACL,CAAC,CAAC;AAER;;GAEG;AACH,KAAK,oBAAoB,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,IAClC,WAAW,CAAC,CAAC,CAAC,SAAS,MAAM,GACzB;KACG,CAAC,IAAI,MAAM,WAAW,CAAC,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CACtD,GAAG,IAAI,EAAE,OAAO,EAAE,KACf,OAAO,GACR,KAAK,GACL,CAAC,CAAC,CAAC,GAAG,eAAe,CACvB,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC1C,CAAC,CACF;CACF,GACD,MAAM,CAAC;AAEb,MAAM,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,GACjE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE7B,cAAM,mBAAmB,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG;aAIN,IAAI,EAAE,MAAM;IAHxC,SAAiB,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC9B,SAAiB,YAAY,CAAC,EAAE,CAAC,CAAC;gBAEN,IAAI,EAAE,MAAM;IAExC,QAAQ,IAAI,MAAM;CAGnB;AAsBD,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CACvD;AAKD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAQ5E;AAGD,eAAO,MAAM,eAAe,EAAE,0BAQtB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ApiResult } from "./api";
|
|
2
|
+
import { DataProviderKey } from "./dataProviderKey";
|
|
3
|
+
/**
|
|
4
|
+
* Représente un chemin d’endpoint HTTP (ou path accepté par `API.get`),
|
|
5
|
+
* typé par la forme de la réponse attendue `T`.
|
|
6
|
+
*
|
|
7
|
+
* **`U` (optionnel, défaut `any`)** : propriétés minimales sur le composant pour résoudre les
|
|
8
|
+
* segments dynamiques du path (`${…}` / `{$…}`), comme pour `DataProviderKey<T, U>`. Utilisé par `@get`.
|
|
9
|
+
*
|
|
10
|
+
* Contrairement à `DataProviderKey`, il n’y a **pas** de navigation par propriétés
|
|
11
|
+
* (pas de dot-syntax) : le path est une seule chaîne.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* new Endpoint<User, { userId: string }>("users/${userId}");
|
|
15
|
+
*/
|
|
16
|
+
export declare class Endpoint<T, U = any> {
|
|
17
|
+
readonly _phantom?: T;
|
|
18
|
+
readonly _phantomHost?: U;
|
|
19
|
+
readonly path: string;
|
|
20
|
+
constructor(path: string);
|
|
21
|
+
/** Même path qu’`Endpoint` ; le 2ᵉ générique `U` est propagé sur la clé publisher. */
|
|
22
|
+
getDataProviderKey(): DataProviderKey<ApiResult<T>, U>;
|
|
23
|
+
/**
|
|
24
|
+
* Trim, refuse le path vide, enlève les `/` en tête (path relatif au `serviceURL`),
|
|
25
|
+
* et fusionne les `/` successifs en un seul.
|
|
26
|
+
* Pour une URL absolue (`http://` / `https://`), normalise surtout le pathname (pas de `//` redondants).
|
|
27
|
+
*/
|
|
28
|
+
static normalizePath(path: string): string;
|
|
29
|
+
/** Utile avant construction dynamique. */
|
|
30
|
+
static isNonEmpty(path: string): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Indique un path local du type `dataProvider(id)…` reconnu par `API.get`.
|
|
33
|
+
*/
|
|
34
|
+
static looksLikeDataProviderPath(path: string): boolean;
|
|
35
|
+
toString(): string;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=endpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;;;;;;GAYG;AACH,qBAAa,QAAQ,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG;IAC9B,SAAiB,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC9B,SAAiB,YAAY,CAAC,EAAE,CAAC,CAAC;IAElC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBAEV,IAAI,EAAE,MAAM;IAIxB,sFAAsF;IACtF,kBAAkB,IAAI,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAItD;;;;OAIG;IACH,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAmC1C,0CAA0C;IAC1C,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIxC;;OAEG;IACH,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIvD,QAAQ,IAAI,MAAM;CAGnB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type RouteArgs = {
|
|
2
|
+
propertyMap?: object;
|
|
3
|
+
query?: object;
|
|
4
|
+
hash?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare class Route<RoutesData = any> {
|
|
7
|
+
private route;
|
|
8
|
+
constructor(name?: keyof RoutesData);
|
|
9
|
+
extract(): any;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated
|
|
12
|
+
* @see matchesCurrentPath
|
|
13
|
+
* @returns {boolean}
|
|
14
|
+
*/
|
|
15
|
+
matchesLocation(): boolean;
|
|
16
|
+
matchesCurrentPath(): boolean;
|
|
17
|
+
removeQuery(): this;
|
|
18
|
+
withoutQuery(): Route<any>;
|
|
19
|
+
clone(): Route<any>;
|
|
20
|
+
fill(properties: Object): this;
|
|
21
|
+
query(query: Object): this;
|
|
22
|
+
hash(hash: string): this;
|
|
23
|
+
appendPath(pathname?: string): this;
|
|
24
|
+
toString(): string;
|
|
25
|
+
valueOf(): string;
|
|
26
|
+
hasHash(): boolean;
|
|
27
|
+
getHash(): string;
|
|
28
|
+
hasSameBaseAs(route?: Route): boolean;
|
|
29
|
+
goTo(): void;
|
|
30
|
+
}
|
|
31
|
+
export declare class Routes {
|
|
32
|
+
private static routes;
|
|
33
|
+
static register<RouteData = any>(routes: Partial<RouteData>, baseUrlOrOpt?: {
|
|
34
|
+
baseUrl?: string;
|
|
35
|
+
prefix?: string;
|
|
36
|
+
} | string, prefix?: string): void;
|
|
37
|
+
static get<RouteData extends Record<keyof RouteData, string | undefined>>(name: keyof RouteData, args?: RouteArgs): string;
|
|
38
|
+
static fillURLPattern(route: string, properties: Object): string;
|
|
39
|
+
}
|
|
40
|
+
export declare const route: <RouteData>(name?: keyof RouteData) => Route<RouteData>;
|
|
41
|
+
//# sourceMappingURL=route.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/route.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AACF,qBAAa,KAAK,CAAC,UAAU,GAAG,GAAG;IACjC,OAAO,CAAC,KAAK,CAAc;gBACf,IAAI,CAAC,EAAE,MAAM,UAAU;IAOnC,OAAO;IAOP;;;;OAIG;IAEH,eAAe;IAIf,kBAAkB;IAIlB,WAAW;IAOX,YAAY;IAIZ,KAAK;IAML,IAAI,CAAC,UAAU,EAAE,MAAM;IAIvB,KAAK,CAAC,KAAK,EAAE,MAAM;IAQnB,IAAI,CAAC,IAAI,EAAE,MAAM;IAMjB,UAAU,CAAC,QAAQ,CAAC,EAAE,MAAM;IAa5B,QAAQ;IAGR,OAAO;IAGP,OAAO;IAIP,OAAO;IAIP,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK;IAQ3B,IAAI;CAGL;AAED,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAC,MAAM,CAAM;IAE3B,MAAM,CAAC,QAAQ,CAAC,SAAS,GAAG,GAAG,EAC7B,M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