@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,53 @@
|
|
|
1
|
+
import { type DynamicPathOptions } from "./dynamicPath";
|
|
2
|
+
/**
|
|
3
|
+
* Catégories de valeurs « ignorables » par le garde `skip`. Chaque catégorie est
|
|
4
|
+
* un prédicat nommé (et non une égalité de valeur), ce qui lève toute ambiguïté
|
|
5
|
+
* entre « valeur » et « motif » (notamment pour l'objet vide).
|
|
6
|
+
*/
|
|
7
|
+
export declare enum Skip {
|
|
8
|
+
/**
|
|
9
|
+
* `null` ou `undefined`. En pratique un publisher renvoie toujours `null`
|
|
10
|
+
* (jamais `undefined`) car `get()` coerce `undefined → null`.
|
|
11
|
+
*/
|
|
12
|
+
Nullish = "nullish",
|
|
13
|
+
/** Chaîne vide `""`. */
|
|
14
|
+
EmptyString = "emptyString",
|
|
15
|
+
/** Objet sans clé (`{}`), tableau exclu. */
|
|
16
|
+
EmptyObject = "emptyObject",
|
|
17
|
+
/** Tableau vide (`[]`). */
|
|
18
|
+
EmptyArray = "emptyArray"
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* `true` si `value` appartient à au moins une des catégories `kinds`.
|
|
22
|
+
*/
|
|
23
|
+
export declare function isSkipped(value: unknown, kinds: Skip[]): boolean;
|
|
24
|
+
export type OnAssignOptions = DynamicPathOptions & {
|
|
25
|
+
/**
|
|
26
|
+
* Quand `true`, le callback est invoqué à chaque assignation, même si la
|
|
27
|
+
* valeur reçue est `null`/`undefined`.
|
|
28
|
+
* Quand `false` (défaut), le callback n'est invoqué que lorsque toutes les
|
|
29
|
+
* valeurs surveillées sont définies (non `null` et non `undefined`).
|
|
30
|
+
*/
|
|
31
|
+
dispatchWhenUndefined?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Ne pas invoquer le callback si une valeur reçue appartient à l'une de ces
|
|
34
|
+
* catégories (ex. `[Skip.Nullish, Skip.EmptyObject]`).
|
|
35
|
+
*/
|
|
36
|
+
skip?: Skip[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Utiliser `@handle` à la place.
|
|
40
|
+
*
|
|
41
|
+
* `@onAssign` prend des chemins sous forme de **chaînes** non typées et n'appelle
|
|
42
|
+
* la méthode que lorsque **toutes** les valeurs sont définies. `@handle` offre la
|
|
43
|
+
* même chose en **typé** (via `DataProviderKey`), avec des options explicites :
|
|
44
|
+
*
|
|
45
|
+
* - équivalent direct : `@onAssign("a", "b")` → `@handle(keyA, keyB, { waitForAllDefined: true })`
|
|
46
|
+
* - comportement par défaut de `@handle` : appel à chaque assignation (même `null`/`undefined`)
|
|
47
|
+
* - `skip` pour ignorer des catégories de valeurs (ex. `[Skip.Nullish, Skip.EmptyObject]`)
|
|
48
|
+
*
|
|
49
|
+
* `@onAssign` reste fonctionnel et inchangé le temps de la migration.
|
|
50
|
+
*/
|
|
51
|
+
export declare function onAssign(...values: Array<string>): (target: unknown, _propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
52
|
+
export declare function createOnAssign(options: OnAssignOptions, values: Array<string>): (target: unknown, _propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
53
|
+
//# sourceMappingURL=onAssign.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onAssign.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/onAssign.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,eAAe,CAAC;AAuBvB;;;;GAIG;AACH,oBAAY,IAAI;IACd;;;OAGG;IACH,OAAO,YAAY;IACnB,wBAAwB;IACxB,WAAW,gBAAgB;IAC3B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,2BAA2B;IAC3B,UAAU,eAAe;CAC1B;AAaD;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,OAAO,CAEhE;AAED,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG;IACjD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;CACf,CAAC;AAuBF;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,YAqBrC,OAAO,gBACD,MAAM,cACR,kBAAkB,UArBjC;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAenB,QAAQ,OAAO,EACf,cAAc,MAAM,EACpB,YAAY,kBAAkB,UA+IjC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
+
import { type DynamicPathOptions } from "./dynamicPath";
|
|
3
|
+
export type PublishOptions = DynamicPathOptions;
|
|
4
|
+
/**
|
|
5
|
+
* Publishes property writes to a publisher path. Inverse of @subscribe.
|
|
6
|
+
* When the property is set, the value is written to the publisher (reflect-only, no subscription).
|
|
7
|
+
* The decorated property is typed as `T` (or optional / `| null` / `| undefined` for Lit / TS 5).
|
|
8
|
+
* Supports dynamic paths: use placeholders like "users.${userIndex}.email" in the DataProviderKey.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const formKey = new DataProviderKey<FormData>("formData");
|
|
12
|
+
* @publish(formKey.email)
|
|
13
|
+
* @state()
|
|
14
|
+
* email = "";
|
|
15
|
+
*
|
|
16
|
+
* // Dynamic path + hôte typé via le 2ᵉ générique de la clé :
|
|
17
|
+
* @publish(new DataProviderKey<string, { userIndex: number }>("users.${userIndex}.email"))
|
|
18
|
+
* email = "";
|
|
19
|
+
*/
|
|
20
|
+
export declare function publish<T, U = any>(key: DataProviderKey<T, U>, options?: PublishOptions): <K extends string>(target: DataProviderKeyHost<U> & {
|
|
21
|
+
[P in K]?: T | null | undefined;
|
|
22
|
+
}, propertyKey: K) => void;
|
|
23
|
+
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/publish.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAOhD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAChC,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,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,CAoHR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publisherPath.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/publisherPath.ts"],"names":[],"mappings":"AACA,OAAO,YAAkC,MAAM,4BAA4B,CAAC;AAE5E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAStE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
+
/**
|
|
3
|
+
* Read-only subscription to a publisher path via DataProviderKey<T>. No reflect.
|
|
4
|
+
* The decorated property is typed as `T` (or optional / `| null` / `| undefined` for Lit / TS 5).
|
|
5
|
+
* Supports dynamic paths: use placeholders like "users.${userIndex}" in the DataProviderKey.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const dataKey = new DataProviderKey<Data>("data");
|
|
9
|
+
* @subscribe(dataKey.count)
|
|
10
|
+
* @state()
|
|
11
|
+
* count: number;
|
|
12
|
+
*
|
|
13
|
+
* // Dynamic path:
|
|
14
|
+
* @subscribe(new DataProviderKey<User>("users.${userIndex}"))
|
|
15
|
+
* user: User | null;
|
|
16
|
+
*/
|
|
17
|
+
export declare function subscribe<T, U = any>(key: DataProviderKey<T, U>): <K extends string>(target: DataProviderKeyHost<U> & {
|
|
18
|
+
[P in K]?: T | null | undefined;
|
|
19
|
+
}, propertyKey: K) => void;
|
|
20
|
+
//# sourceMappingURL=subscribe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/subscribe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAGrC;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAClC,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GACzB,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,CAKR"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AsyncDirective } from "lit/async-directive.js";
|
|
2
|
+
import { SearchableDomElement } from "../utils/HTML";
|
|
3
|
+
import { dataProvider as pubDataProvider, dp as pubDp, DataProvider } from "../utils/PublisherProxy";
|
|
4
|
+
export type SubPathInput = string | {
|
|
5
|
+
path: string;
|
|
6
|
+
};
|
|
7
|
+
declare class ObserveDirective extends AsyncDirective {
|
|
8
|
+
observables: Set<DataProvider<any>>;
|
|
9
|
+
pathTemplate?: string;
|
|
10
|
+
/** Chemin résolu actuellement abonné */
|
|
11
|
+
resolvedPath?: string;
|
|
12
|
+
cleanupWatchers: Array<() => void>;
|
|
13
|
+
node?: SearchableDomElement;
|
|
14
|
+
constructor(partInfo: any);
|
|
15
|
+
private teardownWatchers;
|
|
16
|
+
private normalizeInput;
|
|
17
|
+
render(input: SubPathInput): symbol;
|
|
18
|
+
private setupSubscription;
|
|
19
|
+
private refreshSubscription;
|
|
20
|
+
onAssign: (v: unknown) => void;
|
|
21
|
+
subscribe<T>(observable: string): void;
|
|
22
|
+
unsubscribe(): void;
|
|
23
|
+
disconnected(): void;
|
|
24
|
+
reconnected(): void;
|
|
25
|
+
}
|
|
26
|
+
export declare const subscribe: (input: SubPathInput) => import("lit-html/directive.js").DirectiveResult<typeof ObserveDirective>;
|
|
27
|
+
export declare const sub: (input: SubPathInput) => import("lit-html/directive.js").DirectiveResult<typeof ObserveDirective>;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#get"}
|
|
30
|
+
*/
|
|
31
|
+
export declare const get: <T = any>(id: string) => T;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#dataProvider"}
|
|
34
|
+
*/
|
|
35
|
+
export declare const dataProvider: typeof pubDataProvider;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#dp"}
|
|
38
|
+
*/
|
|
39
|
+
export declare const dp: typeof pubDp;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#set"}
|
|
42
|
+
*/
|
|
43
|
+
export declare const set: <T = any>(id: string, value: T) => void;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=DataProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/directives/DataProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,wBAAwB,CAAC;AAGlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAUrD,OAAO,EAIL,YAAY,IAAI,eAAe,EAC/B,EAAE,IAAI,KAAK,EACX,YAAY,EACb,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC;AAEnD,cAAM,gBAAiB,SAAQ,cAAc;IAC3C,WAAW,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAa;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAM;IACxC,IAAI,CAAC,EAAE,oBAAoB,CAAC;gBAGhB,QAAQ,EAAE,GAAG;IAMzB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,cAAc;IAItB,MAAM,CAAC,KAAK,EAAE,YAAY;IAgB1B,OAAO,CAAC,iBAAiB;IAuBzB,OAAO,CAAC,mBAAmB;IA6B3B,QAAQ,GAAI,GAAG,OAAO,UAEpB;IAEF,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM;IAY/B,WAAW,IAAI,IAAI;IAOnB,YAAY;IAMZ,WAAW;CAIZ;AAID,eAAO,MAAM,SAAS,mGAAM,CAAC;AAC7B,eAAO,MAAM,GAAG,mGAAM,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,KAAK,CAAU,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,wBAAkB,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,EAAE,cAAQ,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,IAAa,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AsyncDirective } from "lit/async-directive.js";
|
|
2
|
+
import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
|
|
3
|
+
import API from "@supersoniks/concorde/core/utils/api";
|
|
4
|
+
import { SearchableDomElement } from "../utils/HTML";
|
|
5
|
+
type ApiCallKey = {
|
|
6
|
+
apiConfiguration: APIConfiguration;
|
|
7
|
+
wordingProvider: string | null;
|
|
8
|
+
wordingVersionProvider: string | null;
|
|
9
|
+
};
|
|
10
|
+
type ApiCallValue = {
|
|
11
|
+
api: API;
|
|
12
|
+
keysToTranslate: Set<string>;
|
|
13
|
+
translatedKeys: Set<string>;
|
|
14
|
+
wordingProvider: string | null;
|
|
15
|
+
callIndex: number;
|
|
16
|
+
wordingVersionProvider: string | null;
|
|
17
|
+
apiCallKey: ApiCallKey;
|
|
18
|
+
};
|
|
19
|
+
export declare const loadingString = "";
|
|
20
|
+
export declare const isWordingReady: (key: string) => boolean;
|
|
21
|
+
export default class WordingDirective extends AsyncDirective {
|
|
22
|
+
static publisher: import("@supersoniks/concorde/core/utils/PublisherProxy").DataProvider<any>;
|
|
23
|
+
unsubscribe(): void;
|
|
24
|
+
key?: string;
|
|
25
|
+
node?: SearchableDomElement;
|
|
26
|
+
useUnsafeHTML: boolean;
|
|
27
|
+
constructor(partInfo: any);
|
|
28
|
+
render(key: string, useUnsafeHTML?: boolean): symbol;
|
|
29
|
+
static firstCall: boolean;
|
|
30
|
+
static callApi(node: SearchableDomElement | null, key: string, relaunch?: boolean, usedApiCall?: ApiCallValue): Promise<void>;
|
|
31
|
+
static reloadWordings(): void;
|
|
32
|
+
static versionProviderHandlers: Map<ApiCallValue, (v: number) => void>;
|
|
33
|
+
static handleVersionProvider(node: SearchableDomElement): (_v: number) => void;
|
|
34
|
+
onAssign: (v: unknown) => void;
|
|
35
|
+
subscribe(key: string): void;
|
|
36
|
+
disconnected(): void;
|
|
37
|
+
reconnected(): void;
|
|
38
|
+
}
|
|
39
|
+
export declare const wording: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
|
|
40
|
+
export declare const unsafeWording: (key: string) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
|
|
41
|
+
export declare const t: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
|
|
42
|
+
export declare const w: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=Wording.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wording.d.ts","sourceRoot":"","sources":["../../../../src/core/directives/Wording.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,GAAG,MAAM,sCAAsC,CAAC;AAEvD,OAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG3D,KAAK,UAAU,GAAG;IAChB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AACF,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AA0CF,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,YAGzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,cAAc;IAC1D,MAAM,CAAC,SAAS,8EAEb;IACH,WAAW,IAAI,IAAI;IAGnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,aAAa,UAAS;gBAGV,QAAQ,EAAE,GAAG;IAMzB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,UAAQ;IAWzC,MAAM,CAAC,SAAS,UAAQ;WACX,OAAO,CAClB,IAAI,EAAE,oBAAoB,GAAG,IAAI,EACjC,GAAG,EAAE,MAAM,EACX,QAAQ,UAAO,EACf,WAAW,CAAC,EAAE,YAAY;IAgF5B,MAAM,CAAC,cAAc;IASrB,MAAM,CAAC,uBAAuB,EAAE,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC,CAC1D;IAEZ,MAAM,CAAC,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,QAE1B,MAAM;IAuCnC,QAAQ,GAAI,GAAG,OAAO,UAGpB;IAIF,SAAS,CAAC,GAAG,EAAE,MAAM;IAUrB,YAAY;IAKZ,WAAW;CAIZ;AAGD,eAAO,MAAM,OAAO,gIAA8B,CAAC;AACnD,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,6EAAuB,CAAC;AACjE,eAAO,MAAM,CAAC,gIAAU,CAAC;AACzB,eAAO,MAAM,CAAC,gIAAU,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import "@supersoniks/concorde/core/components/ui/button/button";
|
|
2
|
+
import { SubscriberInterface } from "@supersoniks/concorde/core/mixins/Subscriber";
|
|
3
|
+
import API from "@supersoniks/concorde/core/utils/api";
|
|
4
|
+
import { PublisherContentType } from "../_types/types";
|
|
5
|
+
import { MixinArgsType } from "../_types/types";
|
|
6
|
+
import { ResultTypeInterface } from "@supersoniks/concorde/core/utils/api";
|
|
7
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
8
|
+
export declare const invalidateFetchersInError: () => void;
|
|
9
|
+
export declare const onFetchError: (errorListener: (apiResponse: Response) => void) => void;
|
|
10
|
+
export declare const offFetchError: (errorListener: (apiResponse: Response) => void) => void;
|
|
11
|
+
declare const Fetcher: <T extends Constructor<SubscriberInterface<PropsType>>, PropsType extends PublisherContentType = PublisherContentType>(superClass: T, propsType?: PropsType) => {
|
|
12
|
+
new (...args: MixinArgsType[]): {
|
|
13
|
+
api: API | null;
|
|
14
|
+
/**
|
|
15
|
+
* Après le chargement des données on traverse l'objet reçu en fonctione de la cible exprimées dans cette propriété avec la dot syntaxe.
|
|
16
|
+
* C'est cette donnée cible qui est injectée dans les pros et donc disponible via le publisher disponible globalement via PublisherManager.get(dataProvider)
|
|
17
|
+
*/
|
|
18
|
+
key: string;
|
|
19
|
+
/**
|
|
20
|
+
* isFirstLoad vaut true jusqu'au premier chargement de données
|
|
21
|
+
*/
|
|
22
|
+
isFirstLoad: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* isLoading vaut true pendant le chargement des données
|
|
25
|
+
*/
|
|
26
|
+
isLoading: boolean;
|
|
27
|
+
lazyLoad?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* IObserver est l'intersection observer qui permet de charger les données au scroll si l'attribut lazyload est renseigné
|
|
30
|
+
*/
|
|
31
|
+
iObserver: IntersectionObserver | null;
|
|
32
|
+
/**
|
|
33
|
+
* On peut désactiver le fetch programmatiquement via cette propriété.
|
|
34
|
+
* Cela est le cas pour le composant sonic-list qui ne fetch que si l'attribut fetch est renseigné
|
|
35
|
+
*/
|
|
36
|
+
isFetchEnabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Result of the fetch
|
|
39
|
+
*/
|
|
40
|
+
fetchedData: any;
|
|
41
|
+
_endPoint: string;
|
|
42
|
+
noErrorsRecordings: boolean;
|
|
43
|
+
get props(): (PropsType & ResultTypeInterface) | null;
|
|
44
|
+
set props(value: (PropsType & ResultTypeInterface) | null);
|
|
45
|
+
get endPoint(): string;
|
|
46
|
+
set endPoint(value: string);
|
|
47
|
+
requestId: number;
|
|
48
|
+
refetchEveryMs: number;
|
|
49
|
+
refetchTimeOutId?: ReturnType<typeof setTimeout>;
|
|
50
|
+
/**
|
|
51
|
+
* _isFetching est une propriété sensée privée qui permet de savoir si un fetch est en cours
|
|
52
|
+
* Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
|
|
53
|
+
*/
|
|
54
|
+
_isFetching: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* _mustRefetch est une propriété sensée privée qui permet de savoir si un fetch est en cours
|
|
57
|
+
* Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
|
|
58
|
+
*/
|
|
59
|
+
_mustRefetch: boolean;
|
|
60
|
+
handleStartFetching(): "fetching" | "okToFetch";
|
|
61
|
+
handleEndFetching(): void;
|
|
62
|
+
refetch(): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* C'est ici que les données sont chargées via l'utilitaire API
|
|
66
|
+
* Elles sont ensuite injectées dans le publisher en accord avec la cible définie dans la propriété key
|
|
67
|
+
* Un Toast est affiché si le chargement échoue
|
|
68
|
+
*/
|
|
69
|
+
_fetchData(): Promise<void>;
|
|
70
|
+
onInvalidate?: () => void;
|
|
71
|
+
disconnectedCallback(): void;
|
|
72
|
+
connectedCallback(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Première update, le comportement de lazyload est géré ici a l'aide d'un intersection observer.
|
|
75
|
+
*/
|
|
76
|
+
lazyLoadPlaceHolder?: HTMLSpanElement;
|
|
77
|
+
handleLazyLoad(): void;
|
|
78
|
+
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
79
|
+
propertyMap: object;
|
|
80
|
+
isConnected: boolean;
|
|
81
|
+
children: HTMLCollection;
|
|
82
|
+
appendChild(node: Node): Node;
|
|
83
|
+
getAncestorAttributeValue(attributeName: string): string;
|
|
84
|
+
hasAncestorAttribute(attributeName: string): boolean;
|
|
85
|
+
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
86
|
+
publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType_1>>;
|
|
87
|
+
dataProvider: string | null;
|
|
88
|
+
noShadowDom: string | null;
|
|
89
|
+
debug: HTMLElement | null;
|
|
90
|
+
defferedDebug: boolean | null;
|
|
91
|
+
displayContents: boolean;
|
|
92
|
+
shadowRoot?: ShadowRoot;
|
|
93
|
+
shouldRenderLazy: boolean;
|
|
94
|
+
dispatchEvent(event: Event): void;
|
|
95
|
+
setAttribute(name: string, value: string): void;
|
|
96
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
97
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
98
|
+
removeAttribute(name: string): void;
|
|
99
|
+
initPublisher(): void;
|
|
100
|
+
getApiConfiguration(): import("@supersoniks/concorde/core/utils/api").APIConfiguration;
|
|
101
|
+
requestUpdate(): void;
|
|
102
|
+
getAttribute(name: string): string;
|
|
103
|
+
hasAttribute(attributeName: string): boolean;
|
|
104
|
+
getBoundingClientRect(): DOMRect;
|
|
105
|
+
};
|
|
106
|
+
} & T;
|
|
107
|
+
export default Fetcher;
|
|
108
|
+
//# sourceMappingURL=Fetcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fetcher.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/Fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,wDAAwD,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,GAAG,MAAM,sCAAsC,CAAC;AAIvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAI1D,eAAO,MAAM,yBAAyB,YAMrC,CAAC;AAIF,eAAO,MAAM,YAAY,GACvB,eAAe,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI,SAG/C,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,eAAe,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI,SAG/C,CAAC;AAqBF,QAAA,MAAM,OAAO,GACX,CAAC,SAAS,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,EACrD,SAAS,SAAS,oBAAoB,GAAG,oBAAoB,EAE7D,YAAY,CAAC,EACb,YAAY,SAAS;kBAmCE,aAAa,EAAE;aA/B/B,GAAG,GAAG,IAAI;QACf;;;WAGG;;QAEH;;WAEG;;QAEH;;WAEG;;mBAEQ,OAAO;QAElB;;WAEG;mBACQ,oBAAoB,GAAG,IAAI;QACtC;;;WAGG;;QAGH;;WAEG;qBACU,GAAG;;;qBAWS,CAAC,SAAS,GAAG,mBAAmB,CAAC,GAAG,IAAI;yBAAxC,CAAC,SAAS,GAAG,mBAAmB,CAAC,GAAG,IAAI;wBAWjD,MAAM;4BAJ0B,MAAM;;;2BAUnC,UAAU,CAAC,OAAO,UAAU,CAAC;QAEhD;;;WAGG;;QAGH;;;WAGG;;+BAEoB,UAAU,GAAG,WAAW;;;QAqB/C;;;;;WAKG;;uBAqGY,MAAM,IAAI;gCACD,IAAI;;QAmC5B;;WAEG;8BACmB,eAAe;;gCAmEb,yBAAyB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAatD,CAAC;AACF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { FormElementInterface } from "@supersoniks/concorde/core/mixins/FormElement";
|
|
2
|
+
import { MixinArgsType } from "../_types/types";
|
|
3
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
4
|
+
declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T) => {
|
|
5
|
+
new (...args: MixinArgsType[]): {
|
|
6
|
+
/**
|
|
7
|
+
* Voir la mixin FormElement.
|
|
8
|
+
*/
|
|
9
|
+
_value: string | null;
|
|
10
|
+
get value(): string | null;
|
|
11
|
+
set value(newValue: string | null);
|
|
12
|
+
forceAutoFill: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* comme radio,mais peut être désélectionné après sélection
|
|
15
|
+
*/
|
|
16
|
+
unique: true | null;
|
|
17
|
+
/**
|
|
18
|
+
Active le mode radio
|
|
19
|
+
*/
|
|
20
|
+
radio: true | null;
|
|
21
|
+
/**
|
|
22
|
+
* propriété checked avec des caractéristiques similaire à un input html classique.
|
|
23
|
+
*/
|
|
24
|
+
_checked: true | null | "indeterminate";
|
|
25
|
+
get checked(): true | null | "indeterminate";
|
|
26
|
+
set checked(checked: true | null | "indeterminate");
|
|
27
|
+
validateFormElement(): void;
|
|
28
|
+
checksAll(): boolean;
|
|
29
|
+
setCheckedValue(checked: true | null | "indeterminate"): void;
|
|
30
|
+
handleChange(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Voir la mixin FormElement
|
|
33
|
+
* Le comportement est ici modifié fonction de son mode (checkbox, radio, unique)
|
|
34
|
+
*/
|
|
35
|
+
getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
36
|
+
/**
|
|
37
|
+
* Voir la mixin FormElement
|
|
38
|
+
* Le comportement est modifié de la manière suivante :
|
|
39
|
+
* L'état du composant (checked) est mis à jour en fonction de la valeur fournie par le publisher associé au composant / en fonction de sont mode (radio, unique)
|
|
40
|
+
*/
|
|
41
|
+
setFormValueFromPublisher(value: string | Array<string | null> | null): void;
|
|
42
|
+
getCheckAllPublisher(): import("@supersoniks/concorde/utils").DataProvider<any> | null;
|
|
43
|
+
updateAllChecked: () => void;
|
|
44
|
+
onChecksAllRequest: (value: string) => void;
|
|
45
|
+
unset(): void;
|
|
46
|
+
disconnectedCallback(): void;
|
|
47
|
+
connectedCallback(): void;
|
|
48
|
+
getFormPublisher(): import("../_types/types").PublisherInterface;
|
|
49
|
+
updateDataValue(): void;
|
|
50
|
+
handleBlur(e?: Event): void;
|
|
51
|
+
setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
|
|
52
|
+
setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
|
|
53
|
+
getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
54
|
+
unsetOnDisconnect(): boolean;
|
|
55
|
+
focus?: () => void;
|
|
56
|
+
shadowRoot?: ShadowRoot;
|
|
57
|
+
error: boolean;
|
|
58
|
+
autofocus: boolean;
|
|
59
|
+
required: boolean;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
formDataProvider: string;
|
|
62
|
+
ariaLabelledby?: string;
|
|
63
|
+
ariaLabel?: string;
|
|
64
|
+
_name: string;
|
|
65
|
+
name: string;
|
|
66
|
+
props: import("../_types/types").CoreJSType;
|
|
67
|
+
propertyMap: object;
|
|
68
|
+
isConnected: boolean;
|
|
69
|
+
children: HTMLCollection;
|
|
70
|
+
appendChild(node: Node): Node;
|
|
71
|
+
getAncestorAttributeValue(attributeName: string): string;
|
|
72
|
+
hasAncestorAttribute(attributeName: string): boolean;
|
|
73
|
+
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
74
|
+
publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType>>;
|
|
75
|
+
dataProvider: string | null;
|
|
76
|
+
noShadowDom: string | null;
|
|
77
|
+
debug: HTMLElement | null;
|
|
78
|
+
defferedDebug: boolean | null;
|
|
79
|
+
displayContents: boolean;
|
|
80
|
+
shouldRenderLazy: boolean;
|
|
81
|
+
dispatchEvent(event: Event): void;
|
|
82
|
+
setAttribute(name: string, value: string): void;
|
|
83
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
84
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
85
|
+
removeAttribute(name: string): void;
|
|
86
|
+
initPublisher(): void;
|
|
87
|
+
getApiConfiguration(): import("../utils/api").APIConfiguration;
|
|
88
|
+
requestUpdate(): void;
|
|
89
|
+
getAttribute(name: string): string;
|
|
90
|
+
hasAttribute(attributeName: string): boolean;
|
|
91
|
+
getBoundingClientRect(): DOMRect;
|
|
92
|
+
};
|
|
93
|
+
} & T;
|
|
94
|
+
export default Form;
|
|
95
|
+
//# sourceMappingURL=FormCheckable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormCheckable.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormCheckable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAErF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,oBAAoB,CAAC,EAAE,YAAY,CAAC;kBADpC,aAAa,EAAE;QAW/C;;WAEG;gBACK,MAAM,GAAG,IAAI;qBACI,MAAM,GAAG,IAAI;4BAGlB,MAAM,GAAG,IAAI;;QAiCjC;;WAEG;gBACkC,IAAI,GAAG,IAAI;QAChD;;WAEG;eACiC,IAAI,GAAG,IAAI;QAE/C;;WAEG;kBACO,IAAI,GAAG,IAAI,GAAG,eAAe;uBACZ,IAAI,GAAG,IAAI,GAAG,eAAe;6BAG5B,IAAI,GAAG,IAAI,GAAG,eAAe;;;iCA0ChC,IAAI,GAAG,IAAI,GAAG,eAAe;;QAsBtD;;;WAGG;;QAwBH;;;;WAIG;yCAC8B,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI;;;6BAmE/C,OAAO,MAAM;;gCAkBX,IAAI;6BAiBP,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuC5B,CAAC;AACF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SubscriberInterface } from "@supersoniks/concorde/core/mixins/Subscriber";
|
|
2
|
+
import { PublisherInterface } from "../_types/types";
|
|
3
|
+
import { MixinArgsType } from "../_types/types";
|
|
4
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
5
|
+
export type FormElementValue = string | string[] | object | null | undefined;
|
|
6
|
+
export interface FormElementInterface extends SubscriberInterface {
|
|
7
|
+
getFormPublisher(): PublisherInterface;
|
|
8
|
+
updateDataValue(): void;
|
|
9
|
+
handleChange(e?: Event): void;
|
|
10
|
+
handleBlur(e?: Event): void;
|
|
11
|
+
getValueForFormPublisher(): FormElementValue;
|
|
12
|
+
setValueFromPublisher(value: FormElementValue): void;
|
|
13
|
+
setFormPublisherValue(value: FormElementValue): void;
|
|
14
|
+
getFormPublisherValue(): FormElementValue;
|
|
15
|
+
unsetOnDisconnect(): boolean;
|
|
16
|
+
unset(): void;
|
|
17
|
+
validateFormElement(): void;
|
|
18
|
+
focus?: () => void;
|
|
19
|
+
forceAutoFill: boolean;
|
|
20
|
+
shadowRoot?: ShadowRoot;
|
|
21
|
+
error: boolean;
|
|
22
|
+
autofocus: boolean;
|
|
23
|
+
required: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
formDataProvider: string;
|
|
26
|
+
ariaLabelledby?: string;
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
_value: FormElementValue;
|
|
29
|
+
get value(): FormElementValue;
|
|
30
|
+
set value(value: FormElementValue);
|
|
31
|
+
_name: string;
|
|
32
|
+
get name(): string;
|
|
33
|
+
set name(value: string);
|
|
34
|
+
}
|
|
35
|
+
declare const Form: <T extends Constructor<SubscriberInterface>>(superClass: T) => Constructor<FormElementInterface> & T;
|
|
36
|
+
export default Form;
|
|
37
|
+
//# sourceMappingURL=FormElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormElement.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAGnF,OAAO,EACL,kBAAkB,EAGnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAC7E,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,gBAAgB,IAAI,kBAAkB,CAAC;IACvC,eAAe,IAAI,IAAI,CAAC;IACxB,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,wBAAwB,IAAI,gBAAgB,CAAC;IAC7C,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrD,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrD,qBAAqB,IAAI,gBAAgB,CAAC;IAC1C,iBAAiB,IAAI,OAAO,CAAC;IAC7B,KAAK,IAAI,IAAI,CAAC;IAEd,mBAAmB,IAAI,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,KAAK,IAAI,gBAAgB,CAAC;IAC9B,IAAI,KAAK,CAAC,KAAK,EAAE,gBAAgB,EAAE;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,IAAI,IAAI,MAAM,CAAC;IACnB,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;CACzB;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,mBAAmB,CAAC,EAAE,YAAY,CAAC,KAgT/C,WAAW,CAAC,oBAAoB,CAAC,GAAG,CAC3D,CAAC;AACF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { FormElementInterface } from "@supersoniks/concorde/core/mixins/FormElement";
|
|
2
|
+
import { MixinArgsType } from "../_types/types";
|
|
3
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
4
|
+
type Type = "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
5
|
+
declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T) => {
|
|
6
|
+
new (...args: MixinArgsType[]): {
|
|
7
|
+
validateFormElement(): void;
|
|
8
|
+
forceAutoFill: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Le type De l'input, comme en html cependant tous les types ne sont pas actuellements compatibles en raison du style en vigueur
|
|
11
|
+
* On peut essayer text, date, color, email par exemple, mais pas radio/checkbox/range a priori
|
|
12
|
+
*/
|
|
13
|
+
_type: Type;
|
|
14
|
+
get type(): Type;
|
|
15
|
+
set type(value: Type);
|
|
16
|
+
_description?: string;
|
|
17
|
+
get description(): string | undefined;
|
|
18
|
+
set description(value: string | undefined);
|
|
19
|
+
_label?: string;
|
|
20
|
+
get label(): string | undefined;
|
|
21
|
+
set label(value: string | undefined);
|
|
22
|
+
status: "default" | "success" | "error" | "warning" | "info";
|
|
23
|
+
tabindex?: number;
|
|
24
|
+
autocomplete?: "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
|
|
25
|
+
getFormPublisher(): import("../_types/types").PublisherInterface;
|
|
26
|
+
updateDataValue(): void;
|
|
27
|
+
handleChange(e?: Event): void;
|
|
28
|
+
handleBlur(e?: Event): void;
|
|
29
|
+
getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
30
|
+
setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
|
|
31
|
+
setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
|
|
32
|
+
getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
33
|
+
unsetOnDisconnect(): boolean;
|
|
34
|
+
unset(): void;
|
|
35
|
+
focus?: () => void;
|
|
36
|
+
shadowRoot?: ShadowRoot;
|
|
37
|
+
error: boolean;
|
|
38
|
+
autofocus: boolean;
|
|
39
|
+
required: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
formDataProvider: string;
|
|
42
|
+
ariaLabelledby?: string;
|
|
43
|
+
ariaLabel?: string;
|
|
44
|
+
_value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
45
|
+
value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
|
|
46
|
+
_name: string;
|
|
47
|
+
name: string;
|
|
48
|
+
props: import("../_types/types").CoreJSType;
|
|
49
|
+
propertyMap: object;
|
|
50
|
+
isConnected: boolean;
|
|
51
|
+
children: HTMLCollection;
|
|
52
|
+
appendChild(node: Node): Node;
|
|
53
|
+
getAncestorAttributeValue(attributeName: string): string;
|
|
54
|
+
hasAncestorAttribute(attributeName: string): boolean;
|
|
55
|
+
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
56
|
+
publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType>>;
|
|
57
|
+
dataProvider: string | null;
|
|
58
|
+
noShadowDom: string | null;
|
|
59
|
+
debug: HTMLElement | null;
|
|
60
|
+
defferedDebug: boolean | null;
|
|
61
|
+
displayContents: boolean;
|
|
62
|
+
shouldRenderLazy: boolean;
|
|
63
|
+
dispatchEvent(event: Event): void;
|
|
64
|
+
setAttribute(name: string, value: string): void;
|
|
65
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
66
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
67
|
+
removeAttribute(name: string): void;
|
|
68
|
+
initPublisher(): void;
|
|
69
|
+
getApiConfiguration(): import("../utils/api").APIConfiguration;
|
|
70
|
+
connectedCallback(): void;
|
|
71
|
+
requestUpdate(): void;
|
|
72
|
+
getAttribute(name: string): string;
|
|
73
|
+
hasAttribute(attributeName: string): boolean;
|
|
74
|
+
disconnectedCallback(): void;
|
|
75
|
+
getBoundingClientRect(): DOMRect;
|
|
76
|
+
};
|
|
77
|
+
} & T;
|
|
78
|
+
export default Form;
|
|
79
|
+
//# sourceMappingURL=FormInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormInput.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,KAAK,IAAI,GACL,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;AACX,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,oBAAoB,CAAC,EAAE,YAAY,CAAC;kBAE/C,aAAa,EAAE;;;QAYpC;;;WAGG;eACI,IAAI;;;uBASI,MAAM;2BACU,MAAM,GAAG,SAAS;+BAAlB,MAAM,GAAG,SAAS;iBAQxC,MAAM;qBACU,MAAM,GAAG,SAAS;yBAAlB,MAAM,GAAG,SAAS;gBAQM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM;mBAChE,MAAM;uBAEvC,KAAK,GACL,IAAI,GACJ,MAAM,GACN,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,OAAO,GACP,UAAU,GACV,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,SAAS,GACT,cAAc,GACd,aAAa,GACb,SAAS,GACT,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,WAAW,GACX,QAAQ,GACR,cAAc,GACd,aAAa,GACb,QAAQ,GACR,SAAS,GACT,sBAAsB,GACtB,oBAAoB,GACpB,UAAU,GACV,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,KAAK,GACL,KAAK,GACL,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,WAAW,GACX,eAAe,GACf,MAAM,GACN,KAAK,GACL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAId,CAAC;AACF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
|
|
2
|
+
import { LitElement } from "lit";
|
|
3
|
+
import { PublisherInterface, TypeAndRecordOfType, MixinArgsType, CoreJSType } from "@supersoniks/concorde/core/_types/types";
|
|
4
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
5
|
+
export interface SubscriberInterface<PropsType = CoreJSType> {
|
|
6
|
+
props: PropsType | null;
|
|
7
|
+
propertyMap: object;
|
|
8
|
+
isConnected: boolean;
|
|
9
|
+
children: HTMLCollection;
|
|
10
|
+
appendChild(node: Node): Node;
|
|
11
|
+
getAncestorAttributeValue(attributeName: string): string;
|
|
12
|
+
hasAncestorAttribute(attributeName: string): boolean;
|
|
13
|
+
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
14
|
+
publisher: TypeAndRecordOfType<PublisherInterface<PropsType>>;
|
|
15
|
+
dataProvider: string | null;
|
|
16
|
+
noShadowDom: string | null;
|
|
17
|
+
debug: HTMLElement | null;
|
|
18
|
+
defferedDebug: boolean | null;
|
|
19
|
+
displayContents: boolean;
|
|
20
|
+
shadowRoot?: ShadowRoot;
|
|
21
|
+
shouldRenderLazy: boolean;
|
|
22
|
+
dispatchEvent(event: Event): void;
|
|
23
|
+
setAttribute(name: string, value: string): void;
|
|
24
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
25
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
26
|
+
removeAttribute(name: string): void;
|
|
27
|
+
initPublisher(): void;
|
|
28
|
+
getApiConfiguration(): APIConfiguration;
|
|
29
|
+
connectedCallback(): void;
|
|
30
|
+
requestUpdate(): void;
|
|
31
|
+
getAttribute(name: string): string;
|
|
32
|
+
hasAttribute(attributeName: string): boolean;
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
getBoundingClientRect(): DOMRect;
|
|
35
|
+
}
|
|
36
|
+
declare const Subscriber: <PropsType = CoreJSType, T extends Constructor<LitElement> = Constructor<LitElement>>(superClass: T, type?: PropsType) => Constructor<SubscriberInterface<PropsType>> & T;
|
|
37
|
+
export default Subscriber;
|
|
38
|
+
//# sourceMappingURL=Subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscriber.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/Subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAKxE,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AAGjD,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EAEnB,aAAa,EACb,UAAU,EACX,MAAM,yCAAyC,CAAC;AAEjD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAG1D,MAAM,WAAW,mBAAmB,CAAC,SAAS,GAAG,UAAU;IACzD,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;IACzD,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IACrD,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACxD,SAAS,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAChD,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IACR,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IACR,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,IAAI,IAAI,CAAC;IACtB,mBAAmB,IAAI,gBAAgB,CAAC;IACxC,iBAAiB,IAAI,IAAI,CAAC;IAC1B,aAAa,IAAI,IAAI,CAAC;IACtB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7C,oBAAoB,IAAI,IAAI,CAAC;IAC7B,qBAAqB,IAAI,OAAO,CAAC;CAClC;AAED,QAAA,MAAM,UAAU,GACd,SAAS,GAAG,UAAU,EACtB,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,GAAG,WAAW,CAAC,UAAU,CAAC,EAE3D,YAAY,CAAC,EACb,OAAO,SAAS,KA8UY,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,GAAG,CAC3E,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { MixinArgsType } from "../_types/types";
|
|
3
|
+
type Constructor<T> = new (...args: MixinArgsType[]) => T;
|
|
4
|
+
export declare class TemplatesContainerInterface extends LitElement {
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
templateParts: Record<string, HTMLTemplateElement>;
|
|
7
|
+
templatePartsList: HTMLTemplateElement[];
|
|
8
|
+
templates: HTMLTemplateElement[];
|
|
9
|
+
templateList: HTMLTemplateElement[];
|
|
10
|
+
templateValueAttribute: string;
|
|
11
|
+
}
|
|
12
|
+
declare const TemplatesContainer: <T extends Constructor<LitElement>>(superClass: T) => Constructor<TemplatesContainerInterface> & T;
|
|
13
|
+
export default TemplatesContainer;
|
|
14
|
+
//# sourceMappingURL=TemplatesContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplatesContainer.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/TemplatesContainer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,UAAU;IACjE,iBAAiB,IAAI,IAAI;IACzB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IACnD,iBAAiB,EAAE,mBAAmB,EAAE,CAAC;IACzC,SAAS,EAAE,mBAAmB,EAAE,CAAC;IACjC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,sBAAsB,EAAE,MAAM,CAAC;CAChC;AACD,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC3D,YAAY,CAAC,KA6DuB,WAAW,CAAC,2BAA2B,CAAC,GAC1E,CACH,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|