@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,74 +0,0 @@
|
|
|
1
|
-
import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
|
|
2
|
-
import type { DynamicPathOptions } from "./dynamicPath";
|
|
3
|
-
import { Skip } from "./onAssign";
|
|
4
|
-
export { Skip } from "./onAssign";
|
|
5
|
-
/**
|
|
6
|
-
* Options de `@handle`, nommées d'après les cas d'usage réels rencontrés dans
|
|
7
|
-
* les projets (panier, file d'attente, formulaires multi-publishers, etc.).
|
|
8
|
-
*
|
|
9
|
-
* Par défaut (aucune option), `@handle` appelle la méthode **à chaque
|
|
10
|
-
* assignation**, même quand la valeur reçue est `null`/`undefined` (c'est la
|
|
11
|
-
* différence de comportement voulue par rapport à `@onAssign`).
|
|
12
|
-
*/
|
|
13
|
-
export type HandleOptions = DynamicPathOptions & {
|
|
14
|
-
/**
|
|
15
|
-
* Attendre que **toutes** les clés surveillées soient définies (non
|
|
16
|
-
* `null`/`undefined`) avant d'appeler la méthode. Reproduit la sémantique
|
|
17
|
-
* historique de `@onAssign`.
|
|
18
|
-
*
|
|
19
|
-
* À utiliser quand la logique combine plusieurs sources et n'a de sens que
|
|
20
|
-
* lorsque toutes sont prêtes (ex. calcul de date à partir de
|
|
21
|
-
* `date` + `timeZone` + `direction`).
|
|
22
|
-
*/
|
|
23
|
-
waitForAllDefined?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Ne pas appeler la méthode si la valeur reçue appartient à l'une de ces
|
|
26
|
-
* catégories. Chaque entrée est une catégorie nommée (pas une valeur), donc
|
|
27
|
-
* aucune ambiguïté valeur/motif.
|
|
28
|
-
*
|
|
29
|
-
* - `Skip.Nullish` ignore `null`/`undefined` ;
|
|
30
|
-
* - `Skip.EmptyObject` / `Skip.EmptyArray` ignorent `{}` / `[]` ;
|
|
31
|
-
* - `Skip.EmptyString` ignore `""`.
|
|
32
|
-
*
|
|
33
|
-
* Pratique quand un publisher non initialisé émet `{}` comme état « pas encore
|
|
34
|
-
* chargé » : `skip: [Skip.EmptyObject]`. Pour une validation arbitraire sur une
|
|
35
|
-
* valeur précise, faire le test directement dans la méthode.
|
|
36
|
-
*/
|
|
37
|
-
skip?: Skip[];
|
|
38
|
-
};
|
|
39
|
-
type HandleDecorator<Host, Fn> = (target: Host, propertyKey: string, descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
40
|
-
/**
|
|
41
|
-
* Callback typé déclenché lorsqu'un (ou plusieurs) chemin(s) publisher sont
|
|
42
|
-
* assignés via `DataProviderKey<T>`. Invoque la méthode décorée avec la/les
|
|
43
|
-
* valeur(s) assignée(s) (calculs, effets de bord, mise à jour d'autres `@state`…).
|
|
44
|
-
*
|
|
45
|
-
* Supporte les chemins dynamiques : placeholders type `"users.${userIndex}"`.
|
|
46
|
-
*
|
|
47
|
-
* Contrairement à `@onAssign`, la méthode est appelée à chaque assignation,
|
|
48
|
-
* même quand la valeur reçue est `null`/`undefined` — sauf si une option
|
|
49
|
-
* (`waitForAllDefined`, `skip`) restreint le déclenchement.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* // Mono-clé
|
|
53
|
-
* const cart = new DataProviderKey<Cart>("cart");
|
|
54
|
-
* @handle(cart.total)
|
|
55
|
-
* updateSummary(total: number) {
|
|
56
|
-
* this.summary = total * this.taxRate;
|
|
57
|
-
* }
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* // Multi-clés (coordination de plusieurs publishers)
|
|
61
|
-
* @handle(config.show, idle.isIdle, { waitForAllDefined: true })
|
|
62
|
-
* onModal(show: boolean, isIdle: boolean) {
|
|
63
|
-
* if (show && isIdle) this.open(); else this.close();
|
|
64
|
-
* }
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* // Ignorer un objet vide émis par un publisher non initialisé
|
|
68
|
-
* @handle(user.profile, { skip: [Skip.EmptyObject] })
|
|
69
|
-
* onProfile(profile: Profile) { this.name = profile.name; }
|
|
70
|
-
*/
|
|
71
|
-
export declare function handle<A, U = any>(key: DataProviderKey<A, U>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<U>, (a: A) => void>;
|
|
72
|
-
export declare function handle<A, B, UA = any, UB = any>(keyA: DataProviderKey<A, UA>, keyB: DataProviderKey<B, UB>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<UA> & DataProviderKeyHost<UB>, (a: A, b: B) => void>;
|
|
73
|
-
export declare function handle<A, B, C, UA = any, UB = any, UC = any>(keyA: DataProviderKey<A, UA>, keyB: DataProviderKey<B, UB>, keyC: DataProviderKey<C, UC>, options?: HandleOptions): HandleDecorator<DataProviderKeyHost<UA> & DataProviderKeyHost<UB> & DataProviderKeyHost<UC>, (a: A, b: B, c: C) => void>;
|
|
74
|
-
//# sourceMappingURL=handle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/handle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,kBAAkB,GAAG;IAC/C;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;CACf,CAAC;AAEF,KAAK,eAAe,CAAC,IAAI,EAAE,EAAE,IAAI,CAC/B,MAAM,EAAE,IAAI,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,CAAC,EAAE,CAAC,KACpC,IAAI,CAAC;AAUV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAC/B,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,EAC1B,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC;AAC3D,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,GAAG,EAC7C,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,EAC5B,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAChB,mBAAmB,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC,EAAE,CAAC,EACjD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,IAAI,CACrB,CAAC;AACF,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,GAAG,EAC1D,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,EAC5B,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,EAC5B,IAAI,EAAE,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC,EAC5B,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAChB,mBAAmB,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC,EAAE,CAAC,EAC3E,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,IAAI,CAC3B,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,108 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,95 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,79 +0,0 @@
|
|
|
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
|