@supersoniks/concorde 4.9.93 → 4.9.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -30
- package/build-infos.json +1 -1
- package/concorde-3d.bundle.js +3911 -0
- package/concorde-3d.es.js +32635 -0
- package/concorde-core.bundle.js +299 -292
- package/concorde-core.es.js +10104 -6071
- package/concorde-hugging-face-infer.bundle.js +32 -0
- package/concorde-hugging-face-infer.es.js +2952 -0
- package/concorde-shader.bundle.js +105 -0
- package/concorde-shader.es.js +7982 -0
- package/concorde-webgpu.bundle.js +296 -0
- package/concorde-webgpu.es.js +8268 -0
- package/dist/concorde-core.bundle.js +299 -292
- package/dist/concorde-core.es.js +10104 -6071
- package/dist/docs-mock-api-sw.js +110 -0
- package/dist/docs-mock-api-sw.js.map +3 -3
- package/docs/assets/{index-D2Q3JyQ6.css → index-BZiZXMU-.css} +1 -1
- package/docs/assets/index-FmK4JaIM.js +11992 -0
- package/docs/crawl/core/components/functional/jsonata/jsonata.html +79 -0
- package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +1 -1
- package/docs/crawl/docs/_core-concept/dataFlow.html +12 -1
- package/docs/crawl/docs/_decorators/get.html +27 -6
- package/docs/crawl/docs/_decorators/patch.html +6 -0
- package/docs/crawl/docs/_decorators/post.html +8 -0
- package/docs/crawl/docs/_decorators/put.html +6 -0
- package/docs/crawl/docs/_misc/docs-mock-api.html +12 -0
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +138 -0
- package/docs/crawl/docs/_misc/html-integration.html +3 -2
- package/docs/crawl/hubs/decorators.html +36 -31
- package/docs/crawl/hubs/remote-data.html +39 -36
- package/docs/crawl/index.html +2 -0
- package/docs/docs-mock-api-sw.js +110 -0
- package/docs/docs-mock-api-sw.js.map +3 -3
- package/docs/index.html +2 -2
- package/docs/llms-full.txt +240 -5
- package/docs/llms.txt +2 -0
- package/docs/sitemap.xml +6 -0
- package/docs/src/core/components/functional/jsonata/jsonata.md +56 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +1 -1
- package/docs/src/docs/_core-concept/dataFlow.md +10 -1
- package/docs/src/docs/_decorators/get.md +31 -0
- package/docs/src/docs/_decorators/patch.md +9 -0
- package/docs/src/docs/_decorators/post.md +11 -0
- package/docs/src/docs/_decorators/put.md +9 -0
- package/docs/src/docs/_misc/docs-mock-api.md +3 -0
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +115 -0
- package/docs/src/docs/_misc/html-integration.md +2 -0
- package/docs/src/docs/search/docs-search.json +300 -5
- package/docs/src/tsconfig.json +286 -268
- package/package.json +382 -1080
- package/public/docs-mock-api-sw.js +110 -0
- package/public/docs-mock-api-sw.js.map +3 -3
- package/scripts/post-build.mjs +0 -43
- package/scripts/pre-build.mjs +4 -33
- package/scripts/pre-publish.mjs +0 -2
- package/src/core/components/functional/functional.ts +1 -0
- package/src/core/components/functional/jsonata/jsonata.md +56 -0
- package/src/core/components/functional/jsonata/jsonata.spec.ts +202 -0
- package/src/core/components/functional/jsonata/jsonata.ts +116 -0
- package/src/core/components/functional/sdui/sdui.md +0 -0
- package/src/core/components/ui/button/button.ts +2 -2
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/input/input.ts +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/select/select.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/decorators/Subscriber.ts +2 -0
- package/src/core/decorators/subscriber/derive.ts +95 -0
- package/src/core/utils/derive.spec.ts +190 -0
- package/src/core/utils/derive.ts +357 -0
- package/src/core/utils/jsonataHelpers.ts +100 -0
- package/src/core/utils/jsonataRuntime.ts +88 -0
- package/src/docs/_core-concept/dataFlow.md +9 -0
- package/src/docs/_getting-started/create-a-component.md +0 -0
- package/src/docs/_misc/docs-mock-api.md +3 -0
- package/src/docs/components/docs-demo-sources.ts +26 -0
- package/src/docs/docs.ts +1 -0
- package/src/docs/example/docs-jsonata-demos.ts +128 -0
- package/src/docs/mock-api/fixtures-jsonata.ts +131 -0
- package/src/docs/mock-api/router.ts +26 -0
- package/src/docs/navigation/navigation.ts +4 -0
- package/src/docs/search/docs-search.json +2210 -615
- package/src/tsconfig.json +327 -0
- package/src/tsconfig.tsbuildinfo +1 -1
- package/src/utils.ts +13 -0
- package/vite/config.js +23 -35
- package/dist/js/components.js +0 -12
- package/dist/js/components.js.map +0 -1
- package/dist/js/concorde-loaded.js +0 -5
- package/dist/js/concorde-loaded.js.map +0 -1
- package/dist/js/core/_types/endpoint.js +0 -5
- package/dist/js/core/_types/endpoint.js.map +0 -1
- package/dist/js/core/_types/key.js +0 -2
- package/dist/js/core/_types/key.js.map +0 -1
- package/dist/js/core/_types/types.js +0 -3
- package/dist/js/core/_types/types.js.map +0 -1
- package/dist/js/core/components/functional/date/date.js +0 -272
- package/dist/js/core/components/functional/date/date.js.map +0 -1
- package/dist/js/core/components/functional/example/example.js +0 -44
- package/dist/js/core/components/functional/example/example.js.map +0 -1
- package/dist/js/core/components/functional/fetch/fetch.js +0 -79
- package/dist/js/core/components/functional/fetch/fetch.js.map +0 -1
- package/dist/js/core/components/functional/functional.js +0 -17
- package/dist/js/core/components/functional/functional.js.map +0 -1
- package/dist/js/core/components/functional/if/if.js +0 -39
- package/dist/js/core/components/functional/if/if.js.map +0 -1
- package/dist/js/core/components/functional/list/list.js +0 -341
- package/dist/js/core/components/functional/list/list.js.map +0 -1
- package/dist/js/core/components/functional/mix/mix.js +0 -103
- package/dist/js/core/components/functional/mix/mix.js.map +0 -1
- package/dist/js/core/components/functional/queue/queue.js +0 -450
- package/dist/js/core/components/functional/queue/queue.js.map +0 -1
- package/dist/js/core/components/functional/router/redirect.js +0 -54
- package/dist/js/core/components/functional/router/redirect.js.map +0 -1
- package/dist/js/core/components/functional/router/router.js +0 -179
- package/dist/js/core/components/functional/router/router.js.map +0 -1
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -216
- package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +0 -1
- package/dist/js/core/components/functional/sdui/default-library.json +0 -108
- package/dist/js/core/components/functional/sdui/sdui-utils.js +0 -64
- package/dist/js/core/components/functional/sdui/sdui-utils.js.map +0 -1
- package/dist/js/core/components/functional/sdui/sdui.js +0 -266
- package/dist/js/core/components/functional/sdui/sdui.js.map +0 -1
- package/dist/js/core/components/functional/sdui/types.js +0 -2
- package/dist/js/core/components/functional/sdui/types.js.map +0 -1
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +0 -22
- package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +0 -1
- package/dist/js/core/components/functional/states/states.js +0 -172
- package/dist/js/core/components/functional/states/states.js.map +0 -1
- package/dist/js/core/components/functional/submit/submit.js +0 -284
- package/dist/js/core/components/functional/submit/submit.js.map +0 -1
- package/dist/js/core/components/functional/subscriber/subscriber.js +0 -39
- package/dist/js/core/components/functional/subscriber/subscriber.js.map +0 -1
- package/dist/js/core/components/functional/translation/translation.js +0 -28
- package/dist/js/core/components/functional/translation/translation.js.map +0 -1
- package/dist/js/core/components/functional/value/value.js +0 -28
- package/dist/js/core/components/functional/value/value.js.map +0 -1
- package/dist/js/core/components/ui/_css/scroll.js +0 -27
- package/dist/js/core/components/ui/_css/scroll.js.map +0 -1
- package/dist/js/core/components/ui/_css/shadow.js +0 -22
- package/dist/js/core/components/ui/_css/shadow.js.map +0 -1
- package/dist/js/core/components/ui/_css/size.js +0 -36
- package/dist/js/core/components/ui/_css/size.js.map +0 -1
- package/dist/js/core/components/ui/_css/type.js +0 -92
- package/dist/js/core/components/ui/_css/type.js.map +0 -1
- package/dist/js/core/components/ui/alert/alert.js +0 -213
- package/dist/js/core/components/ui/alert/alert.js.map +0 -1
- package/dist/js/core/components/ui/alert-messages/alert-messages.js +0 -68
- package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +0 -1
- package/dist/js/core/components/ui/badge/badge.js +0 -199
- package/dist/js/core/components/ui/badge/badge.js.map +0 -1
- package/dist/js/core/components/ui/button/button.js +0 -697
- package/dist/js/core/components/ui/button/button.js.map +0 -1
- package/dist/js/core/components/ui/captcha/altchaStyles.js +0 -226
- package/dist/js/core/components/ui/captcha/altchaStyles.js.map +0 -1
- package/dist/js/core/components/ui/captcha/captcha.js +0 -167
- package/dist/js/core/components/ui/captcha/captcha.js.map +0 -1
- package/dist/js/core/components/ui/card/card-footer.js +0 -26
- package/dist/js/core/components/ui/card/card-footer.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header-descripton.js +0 -30
- package/dist/js/core/components/ui/card/card-header-descripton.js.map +0 -1
- package/dist/js/core/components/ui/card/card-header.js +0 -79
- package/dist/js/core/components/ui/card/card-header.js.map +0 -1
- package/dist/js/core/components/ui/card/card-main.js +0 -26
- package/dist/js/core/components/ui/card/card-main.js.map +0 -1
- package/dist/js/core/components/ui/card/card.js +0 -67
- package/dist/js/core/components/ui/card/card.js.map +0 -1
- package/dist/js/core/components/ui/divider/divider.js +0 -200
- package/dist/js/core/components/ui/divider/divider.js.map +0 -1
- package/dist/js/core/components/ui/form/checkbox/checkbox.js +0 -257
- package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +0 -1
- package/dist/js/core/components/ui/form/css/form-control.js +0 -393
- package/dist/js/core/components/ui/form/css/form-control.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/fieldset.js +0 -124
- package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend-description.js +0 -38
- package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +0 -1
- package/dist/js/core/components/ui/form/fieldset/legend.js +0 -130
- package/dist/js/core/components/ui/form/fieldset/legend.js.map +0 -1
- package/dist/js/core/components/ui/form/form-actions/form-actions.js +0 -47
- package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +0 -1
- package/dist/js/core/components/ui/form/form-layout/form-layout.js +0 -84
- package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +0 -1
- package/dist/js/core/components/ui/form/input/input.js +0 -316
- package/dist/js/core/components/ui/form/input/input.js.map +0 -1
- package/dist/js/core/components/ui/form/input/password-helper.js +0 -134
- package/dist/js/core/components/ui/form/input/password-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input/same-value-helper.js +0 -85
- package/dist/js/core/components/ui/form/input/same-value-helper.js.map +0 -1
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -405
- package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +0 -1
- package/dist/js/core/components/ui/form/radio/radio.js +0 -63
- package/dist/js/core/components/ui/form/radio/radio.js.map +0 -1
- package/dist/js/core/components/ui/form/select/select.js +0 -323
- package/dist/js/core/components/ui/form/select/select.js.map +0 -1
- package/dist/js/core/components/ui/form/switch/switch.js +0 -90
- package/dist/js/core/components/ui/form/switch/switch.js.map +0 -1
- package/dist/js/core/components/ui/form/textarea/textarea.js +0 -162
- package/dist/js/core/components/ui/form/textarea/textarea.js.map +0 -1
- package/dist/js/core/components/ui/group/group.js +0 -128
- package/dist/js/core/components/ui/group/group.js.map +0 -1
- package/dist/js/core/components/ui/icon/icon.js +0 -145
- package/dist/js/core/components/ui/icon/icon.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.js +0 -184
- package/dist/js/core/components/ui/icon/icons.js.map +0 -1
- package/dist/js/core/components/ui/icon/icons.json +0 -1
- package/dist/js/core/components/ui/image/image.js +0 -160
- package/dist/js/core/components/ui/image/image.js.map +0 -1
- package/dist/js/core/components/ui/link/link.js +0 -125
- package/dist/js/core/components/ui/link/link.js.map +0 -1
- package/dist/js/core/components/ui/loader/loader.js +0 -106
- package/dist/js/core/components/ui/loader/loader.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/fixed.js +0 -56
- package/dist/js/core/components/ui/loader/styles/fixed.js.map +0 -1
- package/dist/js/core/components/ui/loader/styles/inline.js +0 -70
- package/dist/js/core/components/ui/loader/styles/inline.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu-item.js +0 -35
- package/dist/js/core/components/ui/menu/menu-item.js.map +0 -1
- package/dist/js/core/components/ui/menu/menu.js +0 -436
- package/dist/js/core/components/ui/menu/menu.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-actions.js +0 -44
- package/dist/js/core/components/ui/modal/modal-actions.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-close.js +0 -56
- package/dist/js/core/components/ui/modal/modal-close.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-content.js +0 -27
- package/dist/js/core/components/ui/modal/modal-content.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-subtitle.js +0 -34
- package/dist/js/core/components/ui/modal/modal-subtitle.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-title.js +0 -35
- package/dist/js/core/components/ui/modal/modal-title.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal-utils.js +0 -32
- package/dist/js/core/components/ui/modal/modal-utils.js.map +0 -1
- package/dist/js/core/components/ui/modal/modal.js +0 -568
- package/dist/js/core/components/ui/modal/modal.js.map +0 -1
- package/dist/js/core/components/ui/pop/pop.js +0 -337
- package/dist/js/core/components/ui/pop/pop.js.map +0 -1
- package/dist/js/core/components/ui/progress/progress.js +0 -164
- package/dist/js/core/components/ui/progress/progress.js.map +0 -1
- package/dist/js/core/components/ui/table/table-caption.js +0 -29
- package/dist/js/core/components/ui/table/table-caption.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tbody.js +0 -41
- package/dist/js/core/components/ui/table/table-tbody.js.map +0 -1
- package/dist/js/core/components/ui/table/table-td.js +0 -69
- package/dist/js/core/components/ui/table/table-td.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tfoot.js +0 -28
- package/dist/js/core/components/ui/table/table-tfoot.js.map +0 -1
- package/dist/js/core/components/ui/table/table-th.js +0 -80
- package/dist/js/core/components/ui/table/table-th.js.map +0 -1
- package/dist/js/core/components/ui/table/table-thead.js +0 -26
- package/dist/js/core/components/ui/table/table-thead.js.map +0 -1
- package/dist/js/core/components/ui/table/table-tr.js +0 -67
- package/dist/js/core/components/ui/table/table-tr.js.map +0 -1
- package/dist/js/core/components/ui/table/table.js +0 -106
- package/dist/js/core/components/ui/table/table.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +0 -74
- package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/dark.js +0 -39
- package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme-collection/light.js +0 -32
- package/dist/js/core/components/ui/theme/theme-collection/light.js.map +0 -1
- package/dist/js/core/components/ui/theme/theme.js +0 -150
- package/dist/js/core/components/ui/theme/theme.js.map +0 -1
- package/dist/js/core/components/ui/toast/message-subscriber.js +0 -41
- package/dist/js/core/components/ui/toast/message-subscriber.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast-item.js +0 -379
- package/dist/js/core/components/ui/toast/toast-item.js.map +0 -1
- package/dist/js/core/components/ui/toast/toast.js +0 -269
- package/dist/js/core/components/ui/toast/toast.js.map +0 -1
- package/dist/js/core/components/ui/toast/types.js +0 -2
- package/dist/js/core/components/ui/toast/types.js.map +0 -1
- package/dist/js/core/components/ui/tooltip/tooltip.js +0 -219
- package/dist/js/core/components/ui/tooltip/tooltip.js.map +0 -1
- package/dist/js/core/components/ui/ui.js +0 -41
- package/dist/js/core/components/ui/ui.js.map +0 -1
- package/dist/js/core/core.js +0 -14
- package/dist/js/core/core.js.map +0 -1
- package/dist/js/core/decorators/Subscriber.js +0 -9
- package/dist/js/core/decorators/Subscriber.js.map +0 -1
- package/dist/js/core/decorators/api.js +0 -806
- package/dist/js/core/decorators/api.js.map +0 -1
- package/dist/js/core/decorators/lifecycle.js +0 -67
- package/dist/js/core/decorators/lifecycle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js +0 -27
- package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoFill.js +0 -26
- package/dist/js/core/decorators/subscriber/autoFill.js.map +0 -1
- package/dist/js/core/decorators/subscriber/autoSubscribe.js +0 -46
- package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +0 -1
- package/dist/js/core/decorators/subscriber/bind.js +0 -150
- package/dist/js/core/decorators/subscriber/bind.js.map +0 -1
- package/dist/js/core/decorators/subscriber/common.js +0 -44
- package/dist/js/core/decorators/subscriber/common.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPath.js +0 -75
- package/dist/js/core/decorators/subscriber/dynamicPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +0 -138
- package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +0 -1
- package/dist/js/core/decorators/subscriber/handle.js +0 -22
- package/dist/js/core/decorators/subscriber/handle.js.map +0 -1
- package/dist/js/core/decorators/subscriber/onAssign.js +0 -199
- package/dist/js/core/decorators/subscriber/onAssign.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publish.js +0 -108
- package/dist/js/core/decorators/subscriber/publish.js.map +0 -1
- package/dist/js/core/decorators/subscriber/publisherPath.js +0 -16
- package/dist/js/core/decorators/subscriber/publisherPath.js.map +0 -1
- package/dist/js/core/decorators/subscriber/subscribe.js +0 -20
- package/dist/js/core/decorators/subscriber/subscribe.js.map +0 -1
- package/dist/js/core/directives/DataProvider.js +0 -127
- package/dist/js/core/directives/DataProvider.js.map +0 -1
- package/dist/js/core/directives/Wording.js +0 -221
- package/dist/js/core/directives/Wording.js.map +0 -1
- package/dist/js/core/mixins/Fetcher.js +0 -325
- package/dist/js/core/mixins/Fetcher.js.map +0 -1
- package/dist/js/core/mixins/FormCheckable.js +0 -313
- package/dist/js/core/mixins/FormCheckable.js.map +0 -1
- package/dist/js/core/mixins/FormElement.js +0 -304
- package/dist/js/core/mixins/FormElement.js.map +0 -1
- package/dist/js/core/mixins/FormInput.js +0 -82
- package/dist/js/core/mixins/FormInput.js.map +0 -1
- package/dist/js/core/mixins/Subscriber.js +0 -354
- package/dist/js/core/mixins/Subscriber.js.map +0 -1
- package/dist/js/core/mixins/TemplatesContainer.js +0 -70
- package/dist/js/core/mixins/TemplatesContainer.js.map +0 -1
- package/dist/js/core/mixins/mixins.js +0 -7
- package/dist/js/core/mixins/mixins.js.map +0 -1
- package/dist/js/core/utils/AncestorAttributeObserver.js +0 -140
- package/dist/js/core/utils/AncestorAttributeObserver.js.map +0 -1
- package/dist/js/core/utils/Arrays.js +0 -141
- package/dist/js/core/utils/Arrays.js.map +0 -1
- package/dist/js/core/utils/DataBindObserver.js +0 -265
- package/dist/js/core/utils/DataBindObserver.js.map +0 -1
- package/dist/js/core/utils/Electron.js +0 -14
- package/dist/js/core/utils/Electron.js.map +0 -1
- package/dist/js/core/utils/Format.js +0 -43
- package/dist/js/core/utils/Format.js.map +0 -1
- package/dist/js/core/utils/HTML.js +0 -272
- package/dist/js/core/utils/HTML.js.map +0 -1
- package/dist/js/core/utils/LocationHandler.js +0 -143
- package/dist/js/core/utils/LocationHandler.js.map +0 -1
- package/dist/js/core/utils/Objects.js +0 -111
- package/dist/js/core/utils/Objects.js.map +0 -1
- package/dist/js/core/utils/PublisherProxy.js +0 -946
- package/dist/js/core/utils/PublisherProxy.js.map +0 -1
- package/dist/js/core/utils/SafariScrollGuard.js +0 -384
- package/dist/js/core/utils/SafariScrollGuard.js.map +0 -1
- package/dist/js/core/utils/Utils.js +0 -19
- package/dist/js/core/utils/Utils.js.map +0 -1
- package/dist/js/core/utils/aesCrypto.js +0 -98
- package/dist/js/core/utils/aesCrypto.js.map +0 -1
- package/dist/js/core/utils/api.js +0 -595
- package/dist/js/core/utils/api.js.map +0 -1
- package/dist/js/core/utils/dataProviderKey.js +0 -64
- package/dist/js/core/utils/dataProviderKey.js.map +0 -1
- package/dist/js/core/utils/endpoint.js +0 -74
- package/dist/js/core/utils/endpoint.js.map +0 -1
- package/dist/js/core/utils/route.js +0 -149
- package/dist/js/core/utils/route.js.map +0 -1
- package/dist/js/core/utils/url-pattern.js +0 -3
- package/dist/js/core/utils/url-pattern.js.map +0 -1
- package/dist/js/dataprovider.js +0 -2
- package/dist/js/dataprovider.js.map +0 -1
- package/dist/js/decorators.js +0 -43
- package/dist/js/decorators.js.map +0 -1
- package/dist/js/directives.js +0 -30
- package/dist/js/directives.js.map +0 -1
- package/dist/js/index.js +0 -8
- package/dist/js/index.js.map +0 -1
- package/dist/js/mixins.js +0 -23
- package/dist/js/mixins.js.map +0 -1
- package/dist/js/test-utils/TestUtils.js +0 -10
- package/dist/js/test-utils/TestUtils.js.map +0 -1
- package/dist/js/utils.js +0 -44
- package/dist/js/utils.js.map +0 -1
- package/dist/types/components.d.ts +0 -5
- package/dist/types/components.d.ts.map +0 -1
- package/dist/types/concorde-loaded.d.ts +0 -2
- package/dist/types/concorde-loaded.d.ts.map +0 -1
- package/dist/types/core/_types/endpoint.d.ts +0 -5
- package/dist/types/core/_types/endpoint.d.ts.map +0 -1
- package/dist/types/core/_types/key.d.ts +0 -2
- package/dist/types/core/_types/key.d.ts.map +0 -1
- package/dist/types/core/_types/types.d.ts +0 -28
- package/dist/types/core/_types/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/date/date.d.ts +0 -52
- package/dist/types/core/components/functional/date/date.d.ts.map +0 -1
- package/dist/types/core/components/functional/example/example.d.ts +0 -15
- package/dist/types/core/components/functional/example/example.d.ts.map +0 -1
- package/dist/types/core/components/functional/fetch/fetch.d.ts +0 -102
- package/dist/types/core/components/functional/fetch/fetch.d.ts.map +0 -1
- package/dist/types/core/components/functional/functional.d.ts +0 -17
- package/dist/types/core/components/functional/functional.d.ts.map +0 -1
- package/dist/types/core/components/functional/if/if.d.ts +0 -13
- package/dist/types/core/components/functional/if/if.d.ts.map +0 -1
- package/dist/types/core/components/functional/list/list.d.ts +0 -149
- package/dist/types/core/components/functional/list/list.d.ts.map +0 -1
- package/dist/types/core/components/functional/mix/mix.d.ts +0 -23
- package/dist/types/core/components/functional/mix/mix.d.ts.map +0 -1
- package/dist/types/core/components/functional/queue/queue.d.ts +0 -93
- package/dist/types/core/components/functional/queue/queue.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/redirect.d.ts +0 -19
- package/dist/types/core/components/functional/router/redirect.d.ts.map +0 -1
- package/dist/types/core/components/functional/router/router.d.ts +0 -46
- package/dist/types/core/components/functional/router/router.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -59
- package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +0 -6
- package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/sdui.d.ts +0 -145
- package/dist/types/core/components/functional/sdui/sdui.d.ts.map +0 -1
- package/dist/types/core/components/functional/sdui/types.d.ts +0 -38
- package/dist/types/core/components/functional/sdui/types.d.ts.map +0 -1
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -6
- package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +0 -1
- package/dist/types/core/components/functional/states/states.d.ts +0 -42
- package/dist/types/core/components/functional/states/states.d.ts.map +0 -1
- package/dist/types/core/components/functional/submit/submit.d.ts +0 -37
- package/dist/types/core/components/functional/submit/submit.d.ts.map +0 -1
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts +0 -13
- package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +0 -1
- package/dist/types/core/components/functional/translation/translation.d.ts +0 -7
- package/dist/types/core/components/functional/translation/translation.d.ts.map +0 -1
- package/dist/types/core/components/functional/value/value.d.ts +0 -8
- package/dist/types/core/components/functional/value/value.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/scroll.d.ts +0 -2
- package/dist/types/core/components/ui/_css/scroll.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/shadow.d.ts +0 -3
- package/dist/types/core/components/ui/_css/shadow.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/size.d.ts +0 -3
- package/dist/types/core/components/ui/_css/size.d.ts.map +0 -1
- package/dist/types/core/components/ui/_css/type.d.ts +0 -3
- package/dist/types/core/components/ui/_css/type.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert/alert.d.ts +0 -37
- package/dist/types/core/components/ui/alert/alert.d.ts.map +0 -1
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +0 -15
- package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +0 -1
- package/dist/types/core/components/ui/badge/badge.d.ts +0 -27
- package/dist/types/core/components/ui/badge/badge.d.ts.map +0 -1
- package/dist/types/core/components/ui/button/button.d.ts +0 -180
- package/dist/types/core/components/ui/button/button.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +0 -2
- package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +0 -1
- package/dist/types/core/components/ui/captcha/captcha.d.ts +0 -30
- package/dist/types/core/components/ui/captcha/captcha.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-footer.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-footer.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-header.d.ts +0 -9
- package/dist/types/core/components/ui/card/card-header.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card-main.d.ts +0 -6
- package/dist/types/core/components/ui/card/card-main.d.ts.map +0 -1
- package/dist/types/core/components/ui/card/card.d.ts +0 -13
- package/dist/types/core/components/ui/card/card.d.ts.map +0 -1
- package/dist/types/core/components/ui/divider/divider.d.ts +0 -16
- package/dist/types/core/components/ui/divider/divider.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +0 -176
- package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/css/form-control.d.ts +0 -5
- package/dist/types/core/components/ui/form/css/form-control.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +0 -24
- package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +0 -6
- package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts +0 -17
- package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +0 -8
- package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +0 -13
- package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/input.d.ts +0 -123
- package/dist/types/core/components/ui/form/input/input.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/password-helper.d.ts +0 -26
- package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +0 -17
- package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -155
- package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/radio/radio.d.ts +0 -15
- package/dist/types/core/components/ui/form/radio/radio.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/select/select.d.ts +0 -59
- package/dist/types/core/components/ui/form/select/select.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/switch/switch.d.ts +0 -6
- package/dist/types/core/components/ui/form/switch/switch.d.ts.map +0 -1
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts +0 -94
- package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +0 -1
- package/dist/types/core/components/ui/group/group.d.ts +0 -17
- package/dist/types/core/components/ui/group/group.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icon.d.ts +0 -30
- package/dist/types/core/components/ui/icon/icon.d.ts.map +0 -1
- package/dist/types/core/components/ui/icon/icons.d.ts +0 -13
- package/dist/types/core/components/ui/icon/icons.d.ts.map +0 -1
- package/dist/types/core/components/ui/image/image.d.ts +0 -16
- package/dist/types/core/components/ui/image/image.d.ts.map +0 -1
- package/dist/types/core/components/ui/link/link.d.ts +0 -30
- package/dist/types/core/components/ui/link/link.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/loader.d.ts +0 -24
- package/dist/types/core/components/ui/loader/loader.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +0 -1
- package/dist/types/core/components/ui/loader/styles/inline.d.ts +0 -2
- package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu-item.d.ts +0 -6
- package/dist/types/core/components/ui/menu/menu-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/menu/menu.d.ts +0 -52
- package/dist/types/core/components/ui/menu/menu.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-actions.d.ts +0 -9
- package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-close.d.ts +0 -11
- package/dist/types/core/components/ui/modal/modal-close.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-content.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-content.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-title.d.ts +0 -6
- package/dist/types/core/components/ui/modal/modal-title.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal-utils.d.ts +0 -4
- package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +0 -1
- package/dist/types/core/components/ui/modal/modal.d.ts +0 -79
- package/dist/types/core/components/ui/modal/modal.d.ts.map +0 -1
- package/dist/types/core/components/ui/pop/pop.d.ts +0 -42
- package/dist/types/core/components/ui/pop/pop.d.ts.map +0 -1
- package/dist/types/core/components/ui/progress/progress.d.ts +0 -12
- package/dist/types/core/components/ui/progress/progress.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-caption.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-caption.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tbody.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tbody.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-td.d.ts +0 -13
- package/dist/types/core/components/ui/table/table-td.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tfoot.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-th.d.ts +0 -12
- package/dist/types/core/components/ui/table/table-th.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-thead.d.ts +0 -6
- package/dist/types/core/components/ui/table/table-thead.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table-tr.d.ts +0 -14
- package/dist/types/core/components/ui/table/table-tr.d.ts.map +0 -1
- package/dist/types/core/components/ui/table/table.d.ts +0 -18
- package/dist/types/core/components/ui/table/table.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +0 -2
- package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +0 -1
- package/dist/types/core/components/ui/theme/theme.d.ts +0 -20
- package/dist/types/core/components/ui/theme/theme.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts +0 -19
- package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast-item.d.ts +0 -41
- package/dist/types/core/components/ui/toast/toast-item.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/toast.d.ts +0 -28
- package/dist/types/core/components/ui/toast/toast.d.ts.map +0 -1
- package/dist/types/core/components/ui/toast/types.d.ts +0 -12
- package/dist/types/core/components/ui/toast/types.d.ts.map +0 -1
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts +0 -21
- package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +0 -1
- package/dist/types/core/components/ui/ui.d.ts +0 -35
- package/dist/types/core/components/ui/ui.d.ts.map +0 -1
- package/dist/types/core/core.d.ts +0 -5
- package/dist/types/core/core.d.ts.map +0 -1
- package/dist/types/core/decorators/Subscriber.d.ts +0 -11
- package/dist/types/core/decorators/Subscriber.d.ts.map +0 -1
- package/dist/types/core/decorators/api.d.ts +0 -155
- package/dist/types/core/decorators/api.d.ts.map +0 -1
- package/dist/types/core/decorators/lifecycle.d.ts +0 -19
- package/dist/types/core/decorators/lifecycle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +0 -11
- package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoFill.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +0 -2
- package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/bind.d.ts +0 -28
- package/dist/types/core/decorators/subscriber/bind.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/common.d.ts +0 -14
- package/dist/types/core/decorators/subscriber/common.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +0 -42
- package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/handle.d.ts +0 -74
- package/dist/types/core/decorators/subscriber/handle.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/onAssign.d.ts +0 -53
- package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publish.d.ts +0 -23
- package/dist/types/core/decorators/subscriber/publish.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts +0 -3
- package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +0 -1
- package/dist/types/core/decorators/subscriber/subscribe.d.ts +0 -20
- package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +0 -1
- package/dist/types/core/directives/DataProvider.d.ts +0 -45
- package/dist/types/core/directives/DataProvider.d.ts.map +0 -1
- package/dist/types/core/directives/Wording.d.ts +0 -44
- package/dist/types/core/directives/Wording.d.ts.map +0 -1
- package/dist/types/core/mixins/Fetcher.d.ts +0 -108
- package/dist/types/core/mixins/Fetcher.d.ts.map +0 -1
- package/dist/types/core/mixins/FormCheckable.d.ts +0 -95
- package/dist/types/core/mixins/FormCheckable.d.ts.map +0 -1
- package/dist/types/core/mixins/FormElement.d.ts +0 -37
- package/dist/types/core/mixins/FormElement.d.ts.map +0 -1
- package/dist/types/core/mixins/FormInput.d.ts +0 -79
- package/dist/types/core/mixins/FormInput.d.ts.map +0 -1
- package/dist/types/core/mixins/Subscriber.d.ts +0 -38
- package/dist/types/core/mixins/Subscriber.d.ts.map +0 -1
- package/dist/types/core/mixins/TemplatesContainer.d.ts +0 -14
- package/dist/types/core/mixins/TemplatesContainer.d.ts.map +0 -1
- package/dist/types/core/mixins/mixins.d.ts +0 -7
- package/dist/types/core/mixins/mixins.d.ts.map +0 -1
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts +0 -38
- package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Arrays.d.ts +0 -98
- package/dist/types/core/utils/Arrays.d.ts.map +0 -1
- package/dist/types/core/utils/DataBindObserver.d.ts +0 -84
- package/dist/types/core/utils/DataBindObserver.d.ts.map +0 -1
- package/dist/types/core/utils/Electron.d.ts +0 -8
- package/dist/types/core/utils/Electron.d.ts.map +0 -1
- package/dist/types/core/utils/Format.d.ts +0 -13
- package/dist/types/core/utils/Format.d.ts.map +0 -1
- package/dist/types/core/utils/HTML.d.ts +0 -79
- package/dist/types/core/utils/HTML.d.ts.map +0 -1
- package/dist/types/core/utils/LocationHandler.d.ts +0 -48
- package/dist/types/core/utils/LocationHandler.d.ts.map +0 -1
- package/dist/types/core/utils/Objects.d.ts +0 -31
- package/dist/types/core/utils/Objects.d.ts.map +0 -1
- package/dist/types/core/utils/PublisherProxy.d.ts +0 -230
- package/dist/types/core/utils/PublisherProxy.d.ts.map +0 -1
- package/dist/types/core/utils/SafariScrollGuard.d.ts +0 -36
- package/dist/types/core/utils/SafariScrollGuard.d.ts.map +0 -1
- package/dist/types/core/utils/Utils.d.ts +0 -6
- package/dist/types/core/utils/Utils.d.ts.map +0 -1
- package/dist/types/core/utils/aesCrypto.d.ts +0 -53
- package/dist/types/core/utils/aesCrypto.d.ts.map +0 -1
- package/dist/types/core/utils/api.d.ts +0 -173
- package/dist/types/core/utils/api.d.ts.map +0 -1
- package/dist/types/core/utils/dataProviderKey.d.ts +0 -56
- package/dist/types/core/utils/dataProviderKey.d.ts.map +0 -1
- package/dist/types/core/utils/endpoint.d.ts +0 -37
- package/dist/types/core/utils/endpoint.d.ts.map +0 -1
- package/dist/types/core/utils/route.d.ts +0 -41
- package/dist/types/core/utils/route.d.ts.map +0 -1
- package/dist/types/core/utils/url-pattern.d.ts +0 -3
- package/dist/types/core/utils/url-pattern.d.ts.map +0 -1
- package/dist/types/dataprovider.d.ts +0 -2
- package/dist/types/dataprovider.d.ts.map +0 -1
- package/dist/types/decorators.d.ts +0 -30
- package/dist/types/decorators.d.ts.map +0 -1
- package/dist/types/directives.d.ts +0 -21
- package/dist/types/directives.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/mixins.d.ts +0 -204
- package/dist/types/mixins.d.ts.map +0 -1
- package/dist/types/test-utils/TestUtils.d.ts +0 -4
- package/dist/types/test-utils/TestUtils.d.ts.map +0 -1
- package/dist/types/utils.d.ts +0 -18
- package/dist/types/utils.d.ts.map +0 -1
- package/docs/assets/index-DURr6O71.js +0 -11453
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from "lit";
|
|
2
|
-
type DateTimeFormatPartExtended = {
|
|
3
|
-
hidden?: boolean;
|
|
4
|
-
source?: string;
|
|
5
|
-
type: string;
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
declare const SonicDate_base: (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/TemplatesContainer").TemplatesContainerInterface) & typeof LitElement;
|
|
9
|
-
export declare class SonicDate extends SonicDate_base {
|
|
10
|
-
static dateCompnents: Set<SonicDate>;
|
|
11
|
-
static updateComponentsLanguage(): void;
|
|
12
|
-
pageLanguage: string;
|
|
13
|
-
private duAu;
|
|
14
|
-
private _wording_billet_periode_validite;
|
|
15
|
-
get wording_billet_periode_validite(): string;
|
|
16
|
-
set wording_billet_periode_validite(value: string);
|
|
17
|
-
designMode: boolean | null;
|
|
18
|
-
time_zone: string | null;
|
|
19
|
-
date: number | null;
|
|
20
|
-
date_string: string | null;
|
|
21
|
-
start_date_string: string | null;
|
|
22
|
-
end_date_string: string | null;
|
|
23
|
-
start_date: number;
|
|
24
|
-
computedStartDate: number;
|
|
25
|
-
end_date: number;
|
|
26
|
-
computedEndDate: number;
|
|
27
|
-
hide_hours: boolean;
|
|
28
|
-
era: "narrow" | "short" | "long" | "";
|
|
29
|
-
year: "numeric" | "2-digit";
|
|
30
|
-
month: "numeric" | "2-digit" | "narrow" | "short" | "long";
|
|
31
|
-
day: "numeric" | "2-digit";
|
|
32
|
-
weekday: "narrow" | "short" | "long" | "hidden";
|
|
33
|
-
hour: "numeric" | "2-digit" | "hidden";
|
|
34
|
-
hour12: boolean;
|
|
35
|
-
minute: "numeric" | "2-digit" | "hidden";
|
|
36
|
-
language: string;
|
|
37
|
-
renderIf: boolean;
|
|
38
|
-
now: boolean;
|
|
39
|
-
private startDateObject;
|
|
40
|
-
private endDateObject;
|
|
41
|
-
connectedCallback(): void;
|
|
42
|
-
disconnectedCallback(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Retourne un tableau des différentes parties de la date en fonction des options données, de la date de début et de fin.
|
|
45
|
-
*/
|
|
46
|
-
getDatesParts(start_date: number, end_date: number, options: Intl.DateTimeFormatOptions): DateTimeFormatPartExtended[];
|
|
47
|
-
dateStringToSeconds(dateString: string): number;
|
|
48
|
-
protected willUpdate(_changedProperties: PropertyValues): void;
|
|
49
|
-
render(): import("lit-html/directive.js").DirectiveResult<typeof import("lit-html/directives/unsafe-html.js").UnsafeHTMLDirective>;
|
|
50
|
-
}
|
|
51
|
-
export {};
|
|
52
|
-
//# sourceMappingURL=date.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/date/date.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAW,cAAc,EAAE,MAAM,KAAK,CAAC;AAM1D,KAAK,0BAA0B,GAAG;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;;AAWF,qBACa,SAAU,SAAQ,cAA0C;IACvE,MAAM,CAAC,aAAa,EAAE,GAAG,CAAC,SAAS,CAAC,CAAa;IACjD,MAAM,CAAC,wBAAwB;IAM/B,YAAY,SAAQ;IACpB,OAAO,CAAC,IAAI,CAAgB;IAC5B,OAAO,CAAC,gCAAgC,CAAM;IAC9C,IAAgB,+BAA+B,IAAI,MAAM,CAExD;IACD,IAAI,+BAA+B,CAAC,KAAK,EAAE,MAAM,EAQhD;IAC4B,UAAU,EAAE,OAAO,GAAG,IAAI,CAAQ;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAClC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACxC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IACtC,UAAU,SAAK;IAC3C,iBAAiB,SAAK;IACM,QAAQ,SAAK;IACzC,eAAe,SAAK;IACS,UAAU,UAAS;IACpB,GAAG,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,EAAE,CAAM;IAC3C,IAAI,EAAE,SAAS,GAAG,SAAS,CAAa;IACxC,KAAK,EAC7B,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,GACP,MAAM,CAAW;IACO,GAAG,EAAE,SAAS,GAAG,SAAS,CAAa;IACvC,OAAO,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CACjE;IACkB,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CACtD;IACiB,MAAM,UAAS;IAChB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CACxD;IACgB,QAAQ,SAAM;IACb,QAAQ,UAAQ;IAChB,GAAG,UAAS;IAGzC,OAAO,CAAC,eAAe,CAAc;IACrC,OAAO,CAAC,aAAa,CAAc;IACnC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAI5B;;OAEG;IACH,aAAa,CACX,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,IAAI,CAAC,qBAAqB;IAyDrC,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAItC,SAAS,CAAC,UAAU,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IA6B9D,MAAM;CAgDP"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import { ApiResult } from "@supersoniks/concorde/decorators";
|
|
3
|
-
/** Same API as the queue demo: /docs-mock-api/geo/ */
|
|
4
|
-
type City = {
|
|
5
|
-
nom: string;
|
|
6
|
-
code: string;
|
|
7
|
-
};
|
|
8
|
-
export declare class SonicComponent extends LitElement {
|
|
9
|
-
limit: number;
|
|
10
|
-
geoCommunesPayload?: ApiResult<City[]>;
|
|
11
|
-
geoCommunesResult?: City[];
|
|
12
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=example.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/example/example.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,OAAO,EAIL,SAAS,EACV,MAAM,kCAAkC,CAAC;AAE1C,sDAAsD;AACtD,KAAK,IAAI,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAU1C,qBACa,cAAe,SAAQ,UAAU;IAE5C,KAAK,SAAK;IAIV,kBAAkB,CAAC,EAAE,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;IAIvC,iBAAiB,CAAC,EAAE,IAAI,EAAE,CAAC;IAE3B,MAAM;CAOP"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from "lit";
|
|
2
|
-
import { LoaderMode } from "../../ui/loader/loader";
|
|
3
|
-
import { DirectiveResult } from "lit/async-directive.js";
|
|
4
|
-
declare const Fetch_base: {
|
|
5
|
-
new (...args: import("../../../_types/types").MixinArgsType[]): {
|
|
6
|
-
api: import("../../../utils/api").default | null;
|
|
7
|
-
key: string;
|
|
8
|
-
isFirstLoad: boolean;
|
|
9
|
-
isLoading: boolean;
|
|
10
|
-
lazyLoad?: boolean;
|
|
11
|
-
iObserver: IntersectionObserver | null;
|
|
12
|
-
isFetchEnabled: boolean;
|
|
13
|
-
fetchedData: any;
|
|
14
|
-
_endPoint: string;
|
|
15
|
-
noErrorsRecordings: boolean;
|
|
16
|
-
get props(): import("../../../utils/api").ResultTypeInterface | null;
|
|
17
|
-
set props(value: import("../../../utils/api").ResultTypeInterface | null);
|
|
18
|
-
get endPoint(): string;
|
|
19
|
-
set endPoint(value: string);
|
|
20
|
-
requestId: number;
|
|
21
|
-
refetchEveryMs: number;
|
|
22
|
-
refetchTimeOutId?: ReturnType<typeof setTimeout>;
|
|
23
|
-
_isFetching: boolean;
|
|
24
|
-
_mustRefetch: boolean;
|
|
25
|
-
handleStartFetching(): "fetching" | "okToFetch";
|
|
26
|
-
handleEndFetching(): void;
|
|
27
|
-
refetch(): Promise<void>;
|
|
28
|
-
_fetchData(): Promise<void>;
|
|
29
|
-
onInvalidate?: (() => void) | undefined;
|
|
30
|
-
disconnectedCallback(): void;
|
|
31
|
-
connectedCallback(): void;
|
|
32
|
-
lazyLoadPlaceHolder?: HTMLSpanElement;
|
|
33
|
-
handleLazyLoad(): void;
|
|
34
|
-
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
35
|
-
propertyMap: object;
|
|
36
|
-
isConnected: boolean;
|
|
37
|
-
children: HTMLCollection;
|
|
38
|
-
appendChild(node: Node): Node;
|
|
39
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
40
|
-
hasAncestorAttribute(attributeName: string): boolean;
|
|
41
|
-
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
42
|
-
publisher: import("../../../_types/types").TypeAndRecordOfType<import("../../../_types/types").PublisherInterface<PropsType>>;
|
|
43
|
-
dataProvider: string | null;
|
|
44
|
-
noShadowDom: string | null;
|
|
45
|
-
debug: HTMLElement | null;
|
|
46
|
-
defferedDebug: boolean | null;
|
|
47
|
-
displayContents: boolean;
|
|
48
|
-
shadowRoot?: ShadowRoot;
|
|
49
|
-
shouldRenderLazy: boolean;
|
|
50
|
-
dispatchEvent(event: Event): void;
|
|
51
|
-
setAttribute(name: string, value: string): void;
|
|
52
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
53
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
54
|
-
removeAttribute(name: string): void;
|
|
55
|
-
initPublisher(): void;
|
|
56
|
-
getApiConfiguration(): import("../../../utils/api").APIConfiguration;
|
|
57
|
-
requestUpdate(): void;
|
|
58
|
-
getAttribute(name: string): string;
|
|
59
|
-
hasAttribute(attributeName: string): boolean;
|
|
60
|
-
getBoundingClientRect(): DOMRect;
|
|
61
|
-
};
|
|
62
|
-
} & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("../../../mixins/TemplatesContainer").TemplatesContainerInterface) & typeof LitElement;
|
|
63
|
-
/**
|
|
64
|
-
* ###Fetch charge un contenu via un appel d'api web.
|
|
65
|
-
* Extends mixins : Fetcher, [Subscriber](./?path=/docs/miscallenous-🔔-subscriber--page)
|
|
66
|
-
*
|
|
67
|
-
* #### Configuration via les attributs
|
|
68
|
-
*
|
|
69
|
-
* | nom | sur quelle balise | Description | Exemple de valeur | défaut / requis |
|
|
70
|
-
* | -------------------------------------------------------------------------------------- |
|
|
71
|
-
* | serviceURL |Fetcher ou un de ses parents | URL de base des services. | http://la-billetterie.net/api/v2 | domain du site |
|
|
72
|
-
* | endpoint |Fetcher | point d'accès d'un service | user/2 | valeur de l'attribut dataProvider |
|
|
73
|
-
* | dataProvider |Fetcher ou un de ses parents | Identifiant d'un publisher qui stock les données, voir [subscriber](./?path=/docs/miscallenous-🔔-subscriber--page). | billetterie/user/2 | *REQUIS* |
|
|
74
|
-
* | headersDataProvider |Fetcher ou un de ses parents | Identifiant d'un publisher qui stock les données destinées à être envoyées en entêtes de la requetes | MyCoockieHEaders | null |
|
|
75
|
-
* | key |Fetcher | extrait une sous propriété de la donnée chargée avant de l'assignée à son publisher | ma.data | null |
|
|
76
|
-
*
|
|
77
|
-
* *Si la données est `{ma:{data:{a:1,b:2}}}` et `key="ma.data"`, la données disponible dans le composant sera `{a:1, b:2}`*
|
|
78
|
-
|
|
79
|
-
#### Intégration auto de basic auth (pour tester une api qui nécessite une authentification)
|
|
80
|
-
|
|
81
|
-
* Fetch utilise le service pour générer le token et l'ajoute au header de l'appel qui récupère les données.
|
|
82
|
-
|
|
83
|
-
* | nom | sur quelle balise | Description | Exemple de valeur | défaut / requis |
|
|
84
|
-
* | -------------------------------------------------------------------------------------- |
|
|
85
|
-
* | userName | Fetcher ou un de ses parents | Nom de l'utilisateur | DjuDju | null |
|
|
86
|
-
* | password | Fetcher ou un de ses parents | mot de passe | pom_549 | null |
|
|
87
|
-
* | tokenProvider | Fetcher ou un de ses parents | point d'accès du service fournissant le token | auth | null |
|
|
88
|
-
* | token | Fetcher ou un de ses parents | A fournir à la place des autres attributs si on le possède | q<d34gb | null |
|
|
89
|
-
|
|
90
|
-
#### Autres choses utiles
|
|
91
|
-
* * On peut appeler la methode invalidate() sur le publisher associé au composant pour declencher le rechargement des données.
|
|
92
|
-
* * endPoint est une propriété réctive, par conséquent, sa modification, manuelle via template ou data binbding provoque la mise à jour du contenu.
|
|
93
|
-
*/
|
|
94
|
-
export declare class Fetch extends Fetch_base {
|
|
95
|
-
static styles: import("lit").CSSResult[];
|
|
96
|
-
loader?: LoaderMode | true | "";
|
|
97
|
-
renderLoader(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
98
|
-
renderSkeleton(): DirectiveResult<import("lit-html/directive.js").DirectiveClass>;
|
|
99
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
100
|
-
}
|
|
101
|
-
export {};
|
|
102
|
-
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/fetch/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAIrD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,qBACa,KAAM,SAAQ,UAAmD;IAC5E,MAAM,CAAC,MAAM,4BAMX;IACU,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;IAE5C,YAAY;IAMZ,cAAc;IAMd,MAAM;CAMP"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./date/date";
|
|
2
|
-
import "./fetch/fetch";
|
|
3
|
-
import "./if/if";
|
|
4
|
-
import "./list/list";
|
|
5
|
-
import "./queue/queue";
|
|
6
|
-
import "./subscriber/subscriber";
|
|
7
|
-
import "./submit/submit";
|
|
8
|
-
import "./router/router";
|
|
9
|
-
import "./router/redirect";
|
|
10
|
-
import "./states/states";
|
|
11
|
-
import "./sonic-scope/sonic-scope";
|
|
12
|
-
import "./example/example";
|
|
13
|
-
import "./sdui/sdui";
|
|
14
|
-
import "./mix/mix";
|
|
15
|
-
import "./value/value";
|
|
16
|
-
import "./translation/translation";
|
|
17
|
-
//# sourceMappingURL=functional.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"functional.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/functional/functional.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,SAAS,CAAC;AACjB,OAAO,aAAa,CAAC;AACrB,OAAO,eAAe,CAAC;AACvB,OAAO,yBAAyB,CAAC;AACjC,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,2BAA2B,CAAC;AACnC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,aAAa,CAAC;AACrB,OAAO,WAAW,CAAC;AACnB,OAAO,eAAe,CAAC;AACvB,OAAO,2BAA2B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from "lit";
|
|
2
|
-
/**
|
|
3
|
-
* Le composant *sonic-if* affiche son contenu dans le slot principal si sa propriété .condition est évaluée à true
|
|
4
|
-
*/
|
|
5
|
-
export declare class SonicIF extends LitElement {
|
|
6
|
-
static styles: import("lit").CSSResult;
|
|
7
|
-
/**
|
|
8
|
-
* Le contenu s'affiche si la condition est évaluée à true.
|
|
9
|
-
*/
|
|
10
|
-
condition: boolean;
|
|
11
|
-
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=if.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"if.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/if/if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,OAAO,EAAC,MAAM,KAAK,CAAC;AAGnD;;GAEG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,0BAIX;IAEF;;OAEG;IACwB,SAAS,UAAS;IAC7C,MAAM;CAIP"}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing, PropertyValues } from "lit";
|
|
2
|
-
import "@supersoniks/concorde/core/components/ui/loader/loader";
|
|
3
|
-
import "@supersoniks/concorde/core/components/functional/subscriber/subscriber";
|
|
4
|
-
import { DirectiveResult } from "lit/directive.js";
|
|
5
|
-
import { TemplateContentDirective } from "lit/directives/template-content.js";
|
|
6
|
-
import { TemplateResult } from "lit";
|
|
7
|
-
import { LoaderMode } from "@supersoniks/concorde/core/components/ui/loader/loader";
|
|
8
|
-
/**
|
|
9
|
-
* ### List boucle sur sa propriété "props" et crée des éléments a partir des données en bouclant également sur ses templates.
|
|
10
|
-
*
|
|
11
|
-
* Extends mixins : Fetcher, [Subscriber](./?path=/docs/miscallenous-🔔-subscriber--page)
|
|
12
|
-
*
|
|
13
|
-
* * Si le composant possède un attribut *fetch*, il charge un contenu via un appel d'api web.<br>
|
|
14
|
-
* Voir [fetcher](./?path=/docs/core-components-functional-fetch--basic) pour la configuration des autres attributs.
|
|
15
|
-
* * Chaque élément créé est englobé dans un objet [Subscriber](./?path=/docs/miscallenous-🔔-subscriber--page).<br>
|
|
16
|
-
* Un dataProvider y est associé a l'adresse suivante *dataProvider-de-la-liste$/*index-de-la-ligne-courante*
|
|
17
|
-
* Les données de la ligne sont donc disponible pour les élements internes (subscribers)
|
|
18
|
-
* * Lors du chargement un objet loader inline est affiché.
|
|
19
|
-
* * Si le résultat de la requête est un objet, il est imbriqué dans un tableau pour garantir le fonctionnement.<br>
|
|
20
|
-
* Cependant, si l'attribut `extractValues` est présent, les valeurs des propriétés de l'objet sont mises dans dans un tableau pour le rendu.
|
|
21
|
-
* * La propriété _metadata_ est ajoutés à la donnée de chaque item. Elle contient les informations suivantes :
|
|
22
|
-
* * key : l'index de l'item dans la liste
|
|
23
|
-
* * even : true si l'index est pair
|
|
24
|
-
* * odd : true si l'index est impair
|
|
25
|
-
* * onlyChild : true si la liste ne contient qu'un seul item
|
|
26
|
-
* * firstChild : true si l'item est le premier de la liste
|
|
27
|
-
* * lastChild : true si l'item est le dernier de la liste
|
|
28
|
-
* * Si la liste ne contient aucun item, le template "no-item" est utilisé si il est défini.
|
|
29
|
-
* * On peut appler la methode invalidate() sur son publishe pour declencher le rechargement des données
|
|
30
|
-
* *
|
|
31
|
-
*/
|
|
32
|
-
export type ListItemMetadata = {
|
|
33
|
-
key?: string | number;
|
|
34
|
-
even?: boolean;
|
|
35
|
-
odd?: boolean;
|
|
36
|
-
onlyChild?: boolean;
|
|
37
|
-
firstChild?: boolean;
|
|
38
|
-
lastChild?: boolean;
|
|
39
|
-
};
|
|
40
|
-
export type ListItems = (item: any, metadata: ListItemMetadata) => DirectiveResult;
|
|
41
|
-
declare const List_base: {
|
|
42
|
-
new (...args: import("../../../_types/types").MixinArgsType[]): {
|
|
43
|
-
api: import("../../../utils/api").default | null;
|
|
44
|
-
key: string;
|
|
45
|
-
isFirstLoad: boolean;
|
|
46
|
-
isLoading: boolean;
|
|
47
|
-
lazyLoad?: boolean;
|
|
48
|
-
iObserver: IntersectionObserver | null;
|
|
49
|
-
isFetchEnabled: boolean;
|
|
50
|
-
fetchedData: any;
|
|
51
|
-
_endPoint: string;
|
|
52
|
-
noErrorsRecordings: boolean;
|
|
53
|
-
get props(): import("../../../utils/api").ResultTypeInterface | null;
|
|
54
|
-
set props(value: import("../../../utils/api").ResultTypeInterface | null);
|
|
55
|
-
get endPoint(): string;
|
|
56
|
-
set endPoint(value: string);
|
|
57
|
-
requestId: number;
|
|
58
|
-
refetchEveryMs: number;
|
|
59
|
-
refetchTimeOutId?: ReturnType<typeof setTimeout>;
|
|
60
|
-
_isFetching: boolean;
|
|
61
|
-
_mustRefetch: boolean;
|
|
62
|
-
handleStartFetching(): "fetching" | "okToFetch";
|
|
63
|
-
handleEndFetching(): void;
|
|
64
|
-
refetch(): Promise<void>;
|
|
65
|
-
_fetchData(): Promise<void>;
|
|
66
|
-
onInvalidate?: (() => void) | undefined;
|
|
67
|
-
disconnectedCallback(): void;
|
|
68
|
-
connectedCallback(): void;
|
|
69
|
-
lazyLoadPlaceHolder?: HTMLSpanElement;
|
|
70
|
-
handleLazyLoad(): void;
|
|
71
|
-
onIntersection(entries: IntersectionObserverEntry[]): void;
|
|
72
|
-
propertyMap: object;
|
|
73
|
-
isConnected: boolean;
|
|
74
|
-
children: HTMLCollection;
|
|
75
|
-
appendChild(node: Node): Node;
|
|
76
|
-
getAncestorAttributeValue(attributeName: string): string;
|
|
77
|
-
hasAncestorAttribute(attributeName: string): boolean;
|
|
78
|
-
querySelectorAll(selector: string): NodeListOf<Element>;
|
|
79
|
-
publisher: import("../../../_types/types").TypeAndRecordOfType<import("../../../_types/types").PublisherInterface<PropsType>>;
|
|
80
|
-
dataProvider: string | null;
|
|
81
|
-
noShadowDom: string | null;
|
|
82
|
-
debug: HTMLElement | null;
|
|
83
|
-
defferedDebug: boolean | null;
|
|
84
|
-
displayContents: boolean;
|
|
85
|
-
shadowRoot?: ShadowRoot;
|
|
86
|
-
shouldRenderLazy: boolean;
|
|
87
|
-
dispatchEvent(event: Event): void;
|
|
88
|
-
setAttribute(name: string, value: string): void;
|
|
89
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
90
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
91
|
-
removeAttribute(name: string): void;
|
|
92
|
-
initPublisher(): void;
|
|
93
|
-
getApiConfiguration(): import("../../../utils/api").APIConfiguration;
|
|
94
|
-
requestUpdate(): void;
|
|
95
|
-
getAttribute(name: string): string;
|
|
96
|
-
hasAttribute(attributeName: string): boolean;
|
|
97
|
-
getBoundingClientRect(): DOMRect;
|
|
98
|
-
};
|
|
99
|
-
} & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/TemplatesContainer").TemplatesContainerInterface) & typeof LitElement;
|
|
100
|
-
export declare class List extends List_base {
|
|
101
|
-
itemPropertyMap?: object;
|
|
102
|
-
/**
|
|
103
|
-
* La propriété templateKey contient le nom de la propriété qui sera utilisé pour identifier le template à utiliser dans la donnée de la ligne.
|
|
104
|
-
* Par exemple si templateIdentifier = "name" et que la donnée de la ligne est {name: "myTemplate" ... }, alors le template possédant l'attribut data-value="myTemplate" sera utilisé.
|
|
105
|
-
*/
|
|
106
|
-
templateKey: string;
|
|
107
|
-
/**
|
|
108
|
-
* La propriété idKey est utilisé repérer les lignes de manière unique si pour les item de la liste item[this.idKey] n'existe pas, alors l'index est utilisé
|
|
109
|
-
*/
|
|
110
|
-
idKey: string;
|
|
111
|
-
loader?: LoaderMode | true | "";
|
|
112
|
-
limit: number;
|
|
113
|
-
offset: number;
|
|
114
|
-
_items?: ListItems;
|
|
115
|
-
get items(): ListItems | undefined;
|
|
116
|
-
set items(value: ListItems);
|
|
117
|
-
noItems?: () => DirectiveResult;
|
|
118
|
-
skeleton?: () => DirectiveResult;
|
|
119
|
-
separator?: () => DirectiveResult;
|
|
120
|
-
connectedCallback(): void;
|
|
121
|
-
disconnectedCallback(): void;
|
|
122
|
-
renderLoader(): typeof nothing | TemplateResult<1>;
|
|
123
|
-
renderSkeleton(): DirectiveResult<import("lit-html/directive.js").DirectiveClass>;
|
|
124
|
-
renderSeparator(): DirectiveResult<import("lit-html/directive.js").DirectiveClass>;
|
|
125
|
-
renderLoadingState(): DirectiveResult<typeof TemplateContentDirective> | TemplateResult;
|
|
126
|
-
renderNoResultState(): TemplateResult<1>;
|
|
127
|
-
formatProps(): (import("../../../_types/types").CoreJSType[] & {
|
|
128
|
-
_sonic_http_response_?: Response;
|
|
129
|
-
text?: string;
|
|
130
|
-
}) | null;
|
|
131
|
-
protected updated(_changedProperties: PropertyValues): void;
|
|
132
|
-
getAllRenderableElements(root: any): any[];
|
|
133
|
-
getDisplayContentsSize(element: any): {
|
|
134
|
-
width: number;
|
|
135
|
-
height: number;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* loadingsize is computed after rendering a loading / doesnt require one but will be used on other renderings
|
|
139
|
-
*/
|
|
140
|
-
loadingSize: {
|
|
141
|
-
width: number;
|
|
142
|
-
height: number;
|
|
143
|
-
};
|
|
144
|
-
render(): TemplateResult<1>;
|
|
145
|
-
private handleProgrammaticTemplates;
|
|
146
|
-
renderContent(): DirectiveResult<import("lit-html/directive.js").DirectiveClass>;
|
|
147
|
-
}
|
|
148
|
-
export {};
|
|
149
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAKhE,OAAO,wDAAwD,CAAC;AAChE,OAAO,wEAAwE,CAAC;AAGhF,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,CACtB,IAAI,EAAE,GAAG,EACT,QAAQ,EAAE,gBAAgB,KACvB,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErB,qBACa,IAAK,SAAQ,SAAmD;IAC/C,eAAe,CAAC,EAAE,MAAM,CAAC;IACrD;;;OAGG;IACyB,WAAW,SAAc;IACrD;;OAEG;IACyB,KAAK,SAAQ;IAE7B,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;IAEhC,KAAK,SAA4B;IACjC,MAAM,SAAK;IAEvB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,IAII,KAAK,IAAI,SAAS,GAAG,SAAS,CAEjC;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,SAAS,EAIzB;IAE+C,OAAO,CAAC,EAAE,MAAM,eAAe,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,eAAe,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,eAAe,CAAC;IAElF,iBAAiB;IAQjB,oBAAoB,IAAI,IAAI;IAI5B,YAAY;IAQZ,cAAc;IAQd,eAAe;IASf,kBAAkB,IACd,eAAe,CAAC,OAAO,wBAAwB,CAAC,GAChD,cAAc;IAGlB,mBAAmB;IAgBnB,WAAW;;;;IA2BX,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAc3D,wBAAwB,CAAC,IAAI,EAAE,GAAG;IAyBlC,sBAAsB,CAAC,OAAO,EAAE,GAAG;;;;IAenC;;OAEG;IACH,WAAW;;;MAA2B;IACtC,MAAM;IAYN,OAAO,CAAC,2BAA2B;IAiBnC,aAAa;CAqHd"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import { PublisherInterface, PublisherContentType } from "@supersoniks/concorde/core/_types/types";
|
|
3
|
-
type Composition = Record<string, object | string>;
|
|
4
|
-
type Listener = {
|
|
5
|
-
publisher: PublisherInterface;
|
|
6
|
-
subscriber: <T>(v: T) => void;
|
|
7
|
-
};
|
|
8
|
-
declare const SonicMix_base: (new (...args: import("@supersoniks/concorde/core/_types/types").MixinArgsType[]) => import("../../../mixins/Subscriber").SubscriberInterface<import("@supersoniks/concorde/core/_types/types").CoreJSType>) & typeof LitElement;
|
|
9
|
-
export default class SonicMix extends SonicMix_base {
|
|
10
|
-
static styles: import("lit").CSSResult[];
|
|
11
|
-
private _composition;
|
|
12
|
-
get composition(): Composition;
|
|
13
|
-
set composition(value: Composition);
|
|
14
|
-
connectedCallback(): void;
|
|
15
|
-
disconnectedCallback(): void;
|
|
16
|
-
updateComposition(): void;
|
|
17
|
-
listeners: Listener[];
|
|
18
|
-
removePublisherListeners(): void;
|
|
19
|
-
parseComposition<T extends PublisherContentType = PublisherContentType>(composition: Composition, publisher: PublisherInterface<T>): void;
|
|
20
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=mix.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mix.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/mix/mix.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAE1C,OAAO,EAAC,kBAAkB,EAAE,oBAAoB,EAAC,MAAM,yCAAyC,CAAC;AAEjG,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AACnD,KAAK,QAAQ,GAAG;IAAC,SAAS,EAAE,kBAAkB,CAAC;IAAC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,IAAI,CAAA;CAAC,CAAC;;AAE/E,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,aAAsB;IAC1D,MAAM,CAAC,MAAM,4BAMX;IAEF,OAAO,CAAC,YAAY,CAAmB;IACvC,IAA8B,WAAW,IAIlB,WAAW,CAFjC;IAED,IAAI,WAAW,CAAC,KAAK,EAAE,WAAW,EAGjC;IAED,iBAAiB,IAAI,IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAI5B,iBAAiB;IAMjB,SAAS,EAAE,QAAQ,EAAE,CAAM;IAC3B,wBAAwB;IAOxB,gBAAgB,CAAC,CAAC,SAAS,oBAAoB,GAAG,oBAAoB,EACpE,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAsClC,MAAM;CAGP"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing, PropertyValues } from "lit";
|
|
2
|
-
import DataProvider from "@supersoniks/concorde/core/utils/PublisherProxy";
|
|
3
|
-
import "@supersoniks/concorde/core/components/functional/list/list";
|
|
4
|
-
import { type ScrollRoot } from "@supersoniks/concorde/core/utils/SafariScrollGuard";
|
|
5
|
-
import { ListItems } from "@supersoniks/concorde/core/components/functional/list/list";
|
|
6
|
-
type QueueItem = {
|
|
7
|
-
id: string;
|
|
8
|
-
endPoint: string;
|
|
9
|
-
dataProvider: string;
|
|
10
|
-
offset: number;
|
|
11
|
-
limit: number;
|
|
12
|
-
};
|
|
13
|
-
type QueueProps = QueueItem[] & {
|
|
14
|
-
resultCount?: number;
|
|
15
|
-
lastFetchedData?: unknown;
|
|
16
|
-
};
|
|
17
|
-
declare const Queue_base: (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<QueueProps>) & typeof LitElement;
|
|
18
|
-
/**
|
|
19
|
-
*### Une Queue charge du contenu par lot selon l'expression renseignée dans l'attribut *dataProviderExpression*.
|
|
20
|
-
* * Chaque lot est chargé par un composant [List](./?path=/docs/core-components-functional-list-list--basic) dont le dataProvider créé à partir de l'attribut dataProviderExpression
|
|
21
|
-
* * A l'initialisation elle regarde l'attribut dataFilterProvider qui donne l'adresse d'un publisher
|
|
22
|
-
* Si cet attribut est touvé, Queue écoute le publisher fourni et se réinitialise à chaque modification du contenu de celui-ci.
|
|
23
|
-
* Les valeurs renseignées dans ce publisher sont ajoutées en get à chaque requête
|
|
24
|
-
* * la proriété *key* peut être utilisé pour cibler une propriété particulière du retour de l'api.
|
|
25
|
-
*/
|
|
26
|
-
export default class Queue extends Queue_base {
|
|
27
|
-
templates: Array<HTMLTemplateElement> | null;
|
|
28
|
-
items: ListItems | null;
|
|
29
|
-
noItems: ListItems | null;
|
|
30
|
-
skeleton: ListItems | null;
|
|
31
|
-
lastRequestTime: number;
|
|
32
|
-
key: string;
|
|
33
|
-
itemPropertyMap: object | null;
|
|
34
|
-
/**
|
|
35
|
-
* Durée cible en ms d'une requête pour afficher 1 lot.
|
|
36
|
-
*/
|
|
37
|
-
cache: RequestCache;
|
|
38
|
-
targetRequestDuration: number;
|
|
39
|
-
limit: number;
|
|
40
|
-
lazyBoundsRatio: number;
|
|
41
|
-
offset: number;
|
|
42
|
-
resultCount: number;
|
|
43
|
-
noLazyload: boolean;
|
|
44
|
-
loader: string;
|
|
45
|
-
filteredFields: string;
|
|
46
|
-
disconnectedCallback(): void;
|
|
47
|
-
static instanceCounter: number;
|
|
48
|
-
instanceId: number;
|
|
49
|
-
localStorage: string;
|
|
50
|
-
connectedCallback(): Promise<void>;
|
|
51
|
-
filterPublisher: DataProvider | null;
|
|
52
|
-
configFilter(): void;
|
|
53
|
-
filterTimeoutId?: ReturnType<typeof setTimeout>;
|
|
54
|
-
filterTimeoutMs: number;
|
|
55
|
-
searchHash: string;
|
|
56
|
-
requestId: number;
|
|
57
|
-
isFirstRequest: boolean;
|
|
58
|
-
updateFilteredContent: () => void;
|
|
59
|
-
/**
|
|
60
|
-
* Conteneur scrollé — Safari : stock/restore via SafariScrollGuard
|
|
61
|
-
* (capture intent user globale). Ici : sync root + restore après Lit.
|
|
62
|
-
*/
|
|
63
|
-
scrollRoot: ScrollRoot | null;
|
|
64
|
-
private scrollSyncActive;
|
|
65
|
-
private mutationObserver;
|
|
66
|
-
private restoreGeneration;
|
|
67
|
-
resolveScrollRoot(): ScrollRoot;
|
|
68
|
-
isSafari(): boolean;
|
|
69
|
-
ensureScrollSync(): void;
|
|
70
|
-
teardownScrollSync(): void;
|
|
71
|
-
/**
|
|
72
|
-
* Attend la fin des updates Lit de la queue + sonic-list, puis 2 rAF (layout Safari).
|
|
73
|
-
* Ne pas await updateComplete *dans* updated (deadlock) — on sort du cycle via void async.
|
|
74
|
-
*/
|
|
75
|
-
scheduleRestoreAfterChildren(): void;
|
|
76
|
-
protected updated(_changedProperties: PropertyValues): void;
|
|
77
|
-
/**
|
|
78
|
-
* Cette expression est utilisée comme modèle par le composant Queue pour renseigngner le dataProvider de la [liste](./?path=/docs/core-components-functional-list-list--basic) créée.
|
|
79
|
-
* * l'expression *$offset* est alors remplacée par le numéro de l'élément à partir duquel démarrer
|
|
80
|
-
* * l'expression *$limit* est remplacée par la valeur représentant le nombre d'éléments à charger
|
|
81
|
-
* * Si pas d'expression *$offset* le composant se comporte un peu comme une liste, il ne va pas essayer de charger les éléments suivants
|
|
82
|
-
*/
|
|
83
|
-
dataProviderExpression: string;
|
|
84
|
-
invalidateOnPageShow: boolean;
|
|
85
|
-
idKey: string;
|
|
86
|
-
resetDuration(): void;
|
|
87
|
-
listDataProviders: string[];
|
|
88
|
-
nextHadEvent: boolean;
|
|
89
|
-
next(e?: CustomEvent): void;
|
|
90
|
-
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
91
|
-
}
|
|
92
|
-
export {};
|
|
93
|
-
//# sourceMappingURL=queue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/queue/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIhE,OAAO,YAAkC,MAAM,iDAAiD,CAAC;AACjG,OAAO,4DAA4D,CAAC;AAEpE,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,4DAA4D,CAAC;AAEvF,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AACF,KAAK,UAAU,GAAG,SAAS,EAAE,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;;AAGF;;;;;;;GAOG;AAEH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,UAAwC;IAC9C,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAChE;IACyC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAQ;IAC/B,OAAO,EAAE,SAAS,GAAG,IAAI,CAAQ;IACjC,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAQ;IAClF,eAAe,SAAK;IACpB,GAAG,SAAM;IAEmB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAClE;;OAEG;IACS,KAAK,EAAE,YAAY,CAAa;IAChC,qBAAqB,SAAO;IAK5B,KAAK,SAAK;IACV,eAAe,SAAK;IAEpB,MAAM,SAAK;IACX,WAAW,SAAK;IACC,UAAU,UAAS;IAEpB,MAAM,SAAY;IAElC,cAAc,SAAM;IAChC,oBAAoB;IAqBpB,MAAM,CAAC,eAAe,SAAK;IAC3B,UAAU,SAAK;IACf,YAAY,SAAc;IAEpB,iBAAiB;IAmCvB,eAAe,EAAE,YAAY,GAAG,IAAI,CAAQ;IAC5C,YAAY;IAYZ,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IAChD,eAAe,SAAO;IACtB,UAAU,SAAM;IAChB,SAAS,SAAK;IACd,cAAc,UAAQ;IACtB,qBAAqB,aAoDnB;IAEF;;;OAGG;IACH,UAAU,EAAE,UAAU,GAAG,IAAI,CAAQ;IACrC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,gBAAgB,CAAiC;IACzD,OAAO,CAAC,iBAAiB,CAAK;IAE9B,iBAAiB,IAAI,UAAU;IAY/B,QAAQ;IAIR,gBAAgB;IAqBhB,kBAAkB;IAQlB;;;OAGG;IACH,4BAA4B;IA2B5B,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAW3D;;;;;OAKG;IACyB,sBAAsB,SAAM;IAC3B,oBAAoB,UAAS;IAE9B,KAAK,SAAQ;IAEzC,aAAa;IAGb,iBAAiB,EAAE,MAAM,EAAE,CAAM;IAEjC,YAAY,UAAS;IACrB,IAAI,CAAC,CAAC,CAAC,EAAE,WAAW;IAwFpB,MAAM;CAoDP"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
declare const SonicRedirect_base: (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & typeof LitElement;
|
|
3
|
-
/**
|
|
4
|
-
* sonic-redirect permet d'effectuer une redirection.
|
|
5
|
-
* * L'URL de redirection fournie dans l'attribut *to*.
|
|
6
|
-
* * La redirection est effectuée en fonction de la disponibilité d'une donnée issue du publisher à l'adresse fournie par l'attribut dataProvider
|
|
7
|
-
* * La donnée a trouver est renseignées via l'attribut *onData* qui peur repésenter un chemin dans la donnée via la dot syntaxe
|
|
8
|
-
* * Si la données est trouvée et qu'elle peut être évaluée à true alors la redirection est effectuée
|
|
9
|
-
* Par exemple : la données vaut {user:{id:2}} si onData="user.id"la redirection est effectuée.
|
|
10
|
-
* * Si l'attribut pushState est défini, alors la redirection est effectuée via pushState, sinon c'est document.location qui est modifié.
|
|
11
|
-
*/
|
|
12
|
-
export declare class SonicRedirect extends SonicRedirect_base {
|
|
13
|
-
udpateCallBack?: VoidFunction;
|
|
14
|
-
connectedCallback(): void;
|
|
15
|
-
disconnectedCallback(): void;
|
|
16
|
-
update(): void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=redirect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"redirect.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/router/redirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,KAAK,CAAC;;AAM/B;;;;;;;;GAQG;AACH,qBACa,aAAc,SAAQ,kBAAsB;IACvD,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,iBAAiB;IAOjB,oBAAoB,IAAI,IAAI;IAK5B,MAAM;CAaP"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import { DirectiveResult } from "lit/directive.js";
|
|
3
|
-
import { Routes } from "@supersoniks/concorde/core/utils/route";
|
|
4
|
-
/**
|
|
5
|
-
* ### Le router observe les modification document.location et met à jour sa vu de la manière suivante :
|
|
6
|
-
* * Il boucle sur ses template enfants et test si la regexp contenue dans l'attribut *data-route* match document.location
|
|
7
|
-
* * Si oui le contenu du template est affiché
|
|
8
|
-
* * Si l'attribut dataProviderExpression est fourni le contenu est entouré d'une div :
|
|
9
|
-
* * L'attribut "dataProvider" de cette div est le resultat de l'appel à la fonction replace sur la propriété location avec comme paramettres la regexpe et dataproviderExpression.
|
|
10
|
-
* * On peut également utiliser les des expressions du type url-pattern pour les paramètres de la route voir les exemples
|
|
11
|
-
* * les subscribers/fetch... du template ser réfèrerons à ce dataProvider
|
|
12
|
-
*
|
|
13
|
-
* **Exemples **
|
|
14
|
-
* Avec location = /youpla/utilisateur/2 :
|
|
15
|
-
* * RegExp : data-route = /utilisateur/(\d+) et dataproviderExpression = /user/$1 l'attribut dataProvider vaudra "/user/2"
|
|
16
|
-
* * url-pattern : /*utilisateur/:id et dataproviderExpression = /user/:id l'attribut dataProvider vaudra "/user/2"
|
|
17
|
-
*/
|
|
18
|
-
type ExtractParamNames<T extends string> = T extends `${string}:${infer Param}/${infer Rest}` ? Param | ExtractParamNames<Rest> : T extends `${string}:${infer Param}` ? Param : never;
|
|
19
|
-
type ParamsObject<T extends string> = {
|
|
20
|
-
[K in ExtractParamNames<T>]: string;
|
|
21
|
-
};
|
|
22
|
-
type RouteFunction<T extends string> = (params: ParamsObject<T>) => DirectiveResult;
|
|
23
|
-
type RoutesToRenderer = {
|
|
24
|
-
fallback?: () => DirectiveResult;
|
|
25
|
-
[path: string | keyof (typeof Routes)["routes"]]: RouteFunction<string> | undefined;
|
|
26
|
-
};
|
|
27
|
-
declare const SonicRouter_base: (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/TemplatesContainer").TemplatesContainerInterface) & typeof LitElement;
|
|
28
|
-
export declare class SonicRouter extends SonicRouter_base {
|
|
29
|
-
templateValueAttribute: string;
|
|
30
|
-
fallBackRoute?: string;
|
|
31
|
-
routes?: RoutesToRenderer;
|
|
32
|
-
basePath?: string;
|
|
33
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
34
|
-
connectedCallback(): void;
|
|
35
|
-
disconnectedCallback(): void;
|
|
36
|
-
private _location;
|
|
37
|
-
set location(value: string);
|
|
38
|
-
get location(): string;
|
|
39
|
-
get cleanLocation(): string;
|
|
40
|
-
private get patternBasePath();
|
|
41
|
-
private get regExpBasePath();
|
|
42
|
-
private handleroutes;
|
|
43
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
44
|
-
}
|
|
45
|
-
export {};
|
|
46
|
-
//# sourceMappingURL=router.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/functional/router/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAEhE;;;;;;;;;;;;;GAaG;AAEH,KAAK,iBAAiB,CAAC,CAAC,SAAS,MAAM,IACrC,CAAC,SAAS,GAAG,MAAM,IAAI,MAAM,KAAK,IAAI,MAAM,IAAI,EAAE,GAC9C,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAC/B,CAAC,SAAS,GAAG,MAAM,IAAI,MAAM,KAAK,EAAE,GACpC,KAAK,GACL,KAAK,CAAC;AAEZ,KAAK,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI;KACnC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,GAAG,MAAM;CACpC,CAAC;AAEF,KAAK,aAAa,CAAC,CAAC,SAAS,MAAM,IAAI,CACrC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,KACpB,eAAe,CAAC;AAErB,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,MAAM,eAAe,CAAC;IACjC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC,QAAQ,CAAC,GAC3C,aAAa,CAAC,MAAM,CAAC,GACrB,SAAS,CAAC;CACf,CAAC;;AAEF,qBACa,WAAY,SAAQ,gBAA8B;IAC7D,sBAAsB,SAAgB;IAEV,aAAa,CAAC,EAAE,MAAM,CAAC;IACL,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE9C,SAAS,CAAC,gBAAgB,IAAI,WAAW,GAAG,gBAAgB;IAI5D,iBAAiB;IAIjB,oBAAoB,IAAI,IAAI;IAI5B,OAAO,CAAC,SAAS,CAGf;IAEF,IAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAIrC;IACD,IAAI,QAAQ,IALoB,MAAM,CAOrC;IACD,IAAI,aAAa,WAGhB;IAED,OAAO,KAAK,eAAe,GAK1B;IACD,OAAO,KAAK,cAAc,GAKzB;IAED,OAAO,CAAC,YAAY;IAwCpB,MAAM;CAuFP"}
|