@supersoniks/concorde 5.1.2 → 5.1.3-immutable.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/concorde-docs/SKILL.md +1 -1
- package/.claude/skills +1 -0
- package/.github/workflows/ci.yml +21 -0
- package/.github-export-ignore +30 -0
- package/CONTRIBUTING.md +59 -0
- package/DEV.md +54 -0
- package/LICENSE +21 -0
- package/OPEN_SOURCE_CHECKPOINT.md +133 -0
- package/README.md +1 -1
- package/ai/README.md +29 -41
- package/ai/skills/concorde/SKILL.md +54 -324
- package/ai/skills/concorde/rules/composition.md +32 -0
- package/ai/skills/concorde/rules/data.md +47 -0
- package/ai/skills/concorde/rules/http.md +25 -0
- package/ai/skills/concorde/rules/lists-forms.md +35 -0
- package/ai/skills/concorde/rules/styling.md +46 -0
- package/ai/skills/concorde/rules/troubleshooting.md +45 -0
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +177 -177
- package/concorde-core.es.js +4993 -4833
- package/custom-elements-manifest.public.config.mjs +8 -0
- package/{.tmp-cem/custom-elements.json → custom-elements.json} +11722 -8868
- package/dist/concorde-core.bundle.js +177 -177
- package/dist/concorde-core.es.js +4993 -4833
- package/dist/docs-mock-api-sw.js +58 -223
- package/dist/docs-mock-api-sw.js.map +4 -4
- package/dist/img/og-concorde.jpg +0 -0
- package/dist/robots.txt +11 -10
- package/docs/assets/index-CD4WyL6o.css +1 -0
- package/docs/assets/index-D_alEsng.js +12122 -0
- package/docs/crawl/core/components/functional/date/date.html +190 -0
- package/docs/crawl/core/components/functional/fetch/fetch.html +109 -0
- package/docs/crawl/core/components/functional/if/if.html +27 -0
- package/docs/crawl/core/components/functional/jsonata/jsonata.html +79 -0
- package/docs/crawl/core/components/functional/list/list.html +70 -0
- package/docs/crawl/core/components/functional/mix/mix.html +45 -0
- package/docs/crawl/core/components/functional/queue/queue.html +96 -0
- package/docs/crawl/core/components/functional/router/router.html +106 -0
- package/docs/{core → crawl/core}/components/functional/sdui/sdui-extension-points.html +8 -9
- package/docs/crawl/core/components/functional/sdui/sdui.html +368 -0
- package/docs/crawl/core/components/functional/states/states.html +66 -0
- package/docs/crawl/core/components/functional/submit/submit.html +160 -0
- package/docs/{core → crawl/core}/components/functional/subscriber/subscriber.html +5 -6
- package/docs/crawl/core/components/functional/value/value.html +51 -0
- package/docs/{core → crawl/core}/components/ui/alert/alert.html +63 -53
- package/docs/{core → crawl/core}/components/ui/alert-messages/alert-messages.html +5 -6
- package/docs/{core → crawl/core}/components/ui/badge/badge.html +33 -33
- package/docs/crawl/core/components/ui/button/button.html +150 -0
- package/docs/crawl/core/components/ui/captcha/captcha.html +112 -0
- package/docs/{core → crawl/core}/components/ui/card/card.html +11 -12
- package/docs/{core → crawl/core}/components/ui/divider/divider.html +14 -14
- package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +73 -0
- package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +266 -0
- package/docs/{core → crawl/core}/components/ui/form/form-actions/form-actions.html +23 -23
- package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +121 -0
- package/docs/crawl/core/components/ui/form/input/input.html +109 -0
- package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +38 -0
- package/docs/crawl/core/components/ui/form/radio/radio.html +56 -0
- package/docs/crawl/core/components/ui/form/select/select.html +73 -0
- package/docs/crawl/core/components/ui/form/switch/switch.html +56 -0
- package/docs/crawl/core/components/ui/form/textarea/textarea.html +59 -0
- package/docs/crawl/core/components/ui/group/group.html +104 -0
- package/docs/{core → crawl/core}/components/ui/icon/icon.html +9 -10
- package/docs/crawl/core/components/ui/image/image.html +298 -0
- package/docs/{core → crawl/core}/components/ui/link/link.html +11 -12
- package/docs/crawl/core/components/ui/loader/loader.html +124 -0
- package/docs/{core → crawl/core}/components/ui/menu/menu.html +33 -34
- package/docs/crawl/core/components/ui/modal/modal.html +342 -0
- package/docs/crawl/core/components/ui/pop/pop.html +296 -0
- package/docs/{core → crawl/core}/components/ui/progress/progress.html +7 -8
- package/docs/crawl/core/components/ui/table/table.html +545 -0
- package/docs/crawl/core/components/ui/theme/theme.html +131 -0
- package/docs/crawl/core/components/ui/toast/toast.html +233 -0
- package/docs/crawl/core/components/ui/tooltip/tooltip.html +140 -0
- package/docs/{docs/getting-started → crawl/docs/_core-concept}/dataFlow.html +29 -26
- package/docs/crawl/docs/_core-concept/overview.html +66 -0
- package/docs/crawl/docs/_core-concept/subscriber.html +75 -0
- package/docs/crawl/docs/_decorators/ancestor-attribute.html +117 -0
- package/docs/crawl/docs/_decorators/auto-subscribe.html +202 -0
- package/docs/crawl/docs/_decorators/bind.html +141 -0
- package/docs/crawl/docs/_decorators/get.html +149 -0
- package/docs/crawl/docs/_decorators/handle.html +165 -0
- package/docs/crawl/docs/_decorators/on-assign.html +355 -0
- package/docs/crawl/docs/_decorators/patch.html +78 -0
- package/docs/crawl/docs/_decorators/post.html +139 -0
- package/docs/crawl/docs/_decorators/publish.html +61 -0
- package/docs/crawl/docs/_decorators/put.html +78 -0
- package/docs/crawl/docs/_decorators/subscribe.html +109 -0
- package/docs/crawl/docs/_decorators/wait-for-ancestors.html +137 -0
- package/docs/crawl/docs/_directives/sub.html +93 -0
- package/docs/{docs/getting-started → crawl/docs/_getting-started}/ai-agents.html +11 -12
- package/docs/crawl/docs/_getting-started/concorde-manual-install.html +100 -0
- package/docs/crawl/docs/_getting-started/concorde-outside.html +58 -0
- package/docs/{docs/getting-started → crawl/docs/_getting-started}/create-a-component.html +14 -11
- package/docs/{docs/getting-started → crawl/docs/_getting-started}/my-first-component.html +22 -13
- package/docs/crawl/docs/_getting-started/my-first-subscriber.html +110 -0
- package/docs/crawl/docs/_getting-started/pubsub.html +62 -0
- package/docs/crawl/docs/_getting-started/start.html +76 -0
- package/docs/{docs/getting-started → crawl/docs/_getting-started}/theming.html +9 -10
- package/docs/{docs/misc → crawl/docs/_misc}/api-configuration.html +18 -18
- package/docs/{docs/misc → crawl/docs/_misc}/dataProviderKey.html +11 -12
- package/docs/{docs/misc → crawl/docs/_misc}/docs-mock-api.html +28 -25
- package/docs/{docs/misc → crawl/docs/_misc}/dynamic-path.html +15 -16
- package/docs/{docs/misc → crawl/docs/_misc}/endpoint.html +15 -16
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +138 -0
- package/docs/{docs/misc → crawl/docs/_misc}/html-integration.html +15 -12
- package/docs/crawl/hubs/decorators.html +547 -0
- package/docs/crawl/hubs/form-components.html +381 -0
- package/docs/crawl/hubs/remote-data.html +452 -0
- package/docs/crawl/index.html +103 -0
- package/docs/docs-mock-api-sw.js +223 -58
- package/docs/docs-mock-api-sw.js.map +4 -4
- package/docs/index.html +68 -95
- package/docs/llms-full.txt +3610 -2231
- package/docs/llms.txt +86 -94
- package/docs/robots.txt +10 -11
- package/docs/sitemap.xml +84 -78
- package/docs/src/core/components/functional/date/date.md +231 -91
- package/docs/src/core/components/functional/fetch/fetch.md +83 -66
- package/docs/src/core/components/functional/if/if.md +3 -28
- package/docs/src/core/components/functional/jsonata/jsonata.md +37 -42
- package/docs/src/core/components/functional/list/list.md +43 -99
- package/docs/src/core/components/functional/mix/mix.md +26 -31
- package/docs/src/core/components/functional/queue/queue.md +61 -40
- package/docs/src/core/components/functional/router/router.md +65 -64
- package/docs/src/core/components/functional/sdui/component-catalog.gaps.json +1 -1
- package/docs/src/core/components/functional/sdui/component-catalog.json +1 -1
- package/docs/src/core/components/functional/sdui/example.json +86 -19
- package/docs/src/core/components/functional/sdui/sdui-extension-points.md +1 -1
- package/docs/src/core/components/functional/sdui/sdui.md +358 -187
- package/docs/src/core/components/functional/states/states.md +61 -86
- package/docs/src/core/components/functional/submit/submit.md +72 -64
- package/docs/src/core/components/functional/value/value.md +22 -34
- package/docs/src/core/components/ui/alert/alert.md +58 -48
- package/docs/src/core/components/ui/badge/badge.md +34 -27
- package/docs/src/core/components/ui/button/button.md +106 -139
- package/docs/src/core/components/ui/captcha/captcha.md +32 -17
- package/docs/src/core/components/ui/card/card.md +6 -6
- package/docs/src/core/components/ui/divider/divider.md +11 -8
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +42 -90
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +75 -31
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +16 -14
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +29 -19
- package/docs/src/core/components/ui/form/input/input.md +95 -95
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +29 -0
- package/docs/src/core/components/ui/form/radio/radio.md +34 -55
- package/docs/src/core/components/ui/form/select/select.md +45 -60
- package/docs/src/core/components/ui/form/switch/switch.md +34 -57
- package/docs/src/core/components/ui/form/textarea/textarea.md +38 -55
- package/docs/src/core/components/ui/group/group.md +33 -35
- package/docs/src/core/components/ui/icon/icon.md +4 -4
- package/docs/src/core/components/ui/image/image.md +107 -41
- package/docs/src/core/components/ui/link/link.md +6 -6
- package/docs/src/core/components/ui/loader/loader.md +55 -30
- package/docs/src/core/components/ui/menu/menu.md +27 -27
- package/docs/src/core/components/ui/modal/modal.md +96 -72
- package/docs/src/core/components/ui/pop/pop.md +158 -80
- package/docs/src/core/components/ui/progress/progress.md +2 -2
- package/docs/src/core/components/ui/table/table.md +255 -91
- package/docs/src/core/components/ui/theme/theme.md +36 -11
- package/docs/src/core/components/ui/toast/toast.md +117 -48
- package/docs/src/core/components/ui/tooltip/tooltip.md +62 -27
- package/docs/{docs/getting-started → src/docs/_core-concept}/dataFlow.md +18 -17
- package/docs/src/docs/_core-concept/overview.md +57 -0
- package/docs/src/docs/_core-concept/subscriber.md +75 -0
- package/docs/src/docs/_decorators/ancestor-attribute.md +128 -0
- package/docs/src/docs/_decorators/auto-subscribe.md +202 -0
- package/docs/src/docs/_decorators/bind.md +167 -0
- package/docs/src/docs/_decorators/get.md +162 -0
- package/docs/src/docs/_decorators/handle.md +175 -0
- package/docs/src/docs/_decorators/on-assign.md +390 -0
- package/docs/src/docs/_decorators/patch.md +70 -0
- package/docs/src/docs/_decorators/post.md +146 -0
- package/docs/src/docs/_decorators/publish.md +55 -0
- package/docs/src/docs/_decorators/put.md +70 -0
- package/docs/src/docs/_decorators/subscribe.md +100 -0
- package/docs/src/docs/_decorators/wait-for-ancestors.md +163 -0
- package/docs/src/docs/_directives/sub.md +91 -0
- package/docs/src/docs/{getting-started → _getting-started}/ai-agents.md +3 -3
- package/docs/src/docs/_getting-started/concorde-manual-install.md +133 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +33 -0
- package/docs/{docs/getting-started → src/docs/_getting-started}/create-a-component.md +6 -3
- package/docs/src/docs/{getting-started → _getting-started}/my-first-component.md +14 -5
- package/docs/src/docs/_getting-started/my-first-subscriber.md +120 -0
- package/docs/src/docs/_getting-started/pubsub.md +37 -0
- package/docs/src/docs/{getting-started → _getting-started}/start.md +13 -1
- package/docs/src/docs/{getting-started → _getting-started}/theming.md +2 -2
- package/docs/src/docs/{misc → _misc}/api-configuration.md +12 -10
- package/docs/src/docs/{misc → _misc}/dataProviderKey.md +4 -4
- package/docs/{docs/misc → src/docs/_misc}/docs-mock-api.md +13 -12
- package/docs/{docs/misc → src/docs/_misc}/dynamic-path.md +8 -8
- package/docs/{docs/misc → src/docs/_misc}/endpoint.md +8 -8
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +115 -0
- package/docs/{docs/misc → src/docs/_misc}/html-integration.md +5 -4
- package/docs/src/docs/search/docs-search.json +4375 -2420
- package/docs/src/tsconfig.declarations.json +22 -0
- package/docs/src/tsconfig.emit.json +23 -0
- package/docs/src/tsconfig.json +2 -23
- package/gitlab/job_github_mirror.sh +39 -0
- package/index.html +89 -0
- package/package.json +22 -4
- package/public/img/og-concorde.jpg +0 -0
- package/scripts/ai-init.mjs +104 -379
- package/scripts/ai-init.test.mjs +81 -239
- package/scripts/docs-markdown-vite-plugin.ts +11 -5
- package/scripts/docs-public-url.mjs +6 -0
- package/scripts/docs.htaccess +7 -0
- package/scripts/generate-cem.mjs +244 -0
- package/scripts/generate-cem.test.mjs +122 -0
- package/scripts/generate-crawl-docs.mjs +29 -5
- package/scripts/generate-sdui-catalog.mjs +11 -10
- package/scripts/github-export.mjs +150 -0
- package/scripts/post-build-docs.js +3 -0
- package/scripts/post-build.mjs +0 -0
- package/scripts/pre-publish.mjs +2 -1
- package/scripts/site-pages.mjs +212 -0
- package/scripts/site-pages.test.mjs +116 -0
- package/site-pages/about.md +22 -0
- package/site-pages/privacy.md +32 -0
- package/src/core/components/functional/date/date.md +1 -1
- package/src/core/components/functional/example/example.ts +3 -1
- package/src/core/components/functional/if/if.ts +0 -0
- package/src/core/components/functional/list/list.demo.ts +0 -0
- package/src/core/components/functional/list/list.md +6 -2
- package/src/core/components/functional/list/list.ts +17 -4
- package/src/core/components/functional/mix/mix.md +0 -0
- package/src/core/components/functional/router/router.demo.ts +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +0 -0
- package/src/core/components/functional/sdui/component-catalog.gaps.json +1 -1
- package/src/core/components/functional/sdui/component-catalog.json +2 -2
- package/src/core/components/functional/sdui/example.json +0 -0
- package/src/core/components/functional/sdui/sdui-immutable.spec.ts +74 -0
- package/src/core/components/functional/sdui/sdui.ts +33 -8
- package/src/core/components/functional/sdui/types.ts +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.spec.ts +60 -0
- package/src/core/components/functional/submit/submit.ts +6 -3
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/functional/value/value.md +0 -0
- package/src/core/components/functional/value/value.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
- package/src/core/components/ui/card/card.md +1 -1
- package/src/core/components/ui/form/input/input.md +19 -1
- package/src/core/components/ui/form/input/input.ts +8 -2
- package/src/core/components/ui/form/radio/radio.md +14 -0
- package/src/core/components/ui/image/image.md +17 -17
- package/src/core/components/ui/modal/modal.md +2 -2
- package/src/core/decorators/subscriber/bind.ts +9 -14
- package/src/core/decorators/subscriber/subscribe.ts +15 -9
- package/src/core/decorators/subscriber/subscribe.type-test.ts +14 -5
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/PublisherProxy.ts +166 -125
- package/src/core/utils/deepReadonly.spec.ts +66 -0
- package/src/core/utils/deepReadonly.ts +71 -0
- package/src/core/utils/immutableValue.spec.ts +54 -0
- package/src/core/utils/immutableValue.ts +102 -0
- package/src/core/utils/nestedDotForm.spec.ts +88 -0
- package/src/core/utils/publisherImmutable.spec.ts +76 -0
- package/src/core/utils/route.ts +0 -0
- package/src/core/utils/strictGet.spec.ts +61 -0
- package/src/core/utils/strictGet.ts +102 -0
- package/src/css.d.ts +19 -0
- package/src/docs/components/docs-demo-sources.ts +3 -3
- package/src/docs/decorators/bind.md +23 -24
- package/src/docs/docs-location.spec.ts +10 -0
- package/src/docs/docs-location.ts +10 -0
- package/src/docs/example/decorators-demo-bind-demos.ts +11 -28
- package/src/docs/example/docs-toggle-demos.ts +1 -1
- package/src/docs/example/users.ts +0 -0
- package/src/docs/getting-started/ai-agents.md +29 -55
- package/src/docs/getting-started/dataFlow.md +2 -2
- package/src/docs/home/home.ts +3 -1
- package/src/docs/misc/publisher-get-immutability-docs-crawl.json +902 -0
- package/src/docs/misc/publisher-get-immutability-docs-recheck.json +13 -0
- package/src/docs/misc/publisher-get-immutability-study.md +229 -0
- package/src/docs/navigation/navigation.ts +5 -1
- package/src/docs/search/docs-search.json +358 -58
- package/src/docs/search/markdown-renderer.ts +6 -1
- package/src/docs/tailwind/css/docs/content.css +4 -5
- package/src/tsconfig.declarations.json +22 -0
- package/src/tsconfig.emit.json +23 -0
- package/src/tsconfig.json +53 -5
- package/src/tsconfig.tsbuildinfo +1 -1
- package/.taste-skill/after/desktop-fold.jpg +0 -0
- package/.taste-skill/after/desktop-page-01.jpg +0 -0
- package/.taste-skill/after/desktop-page-02.jpg +0 -0
- package/.taste-skill/after/desktop-page-03.jpg +0 -0
- package/.taste-skill/after/mobile-fold.jpg +0 -0
- package/.taste-skill/after/mobile-page-01.jpg +0 -0
- package/.taste-skill/after/report.json +0 -4103
- package/.taste-skill/after/tablet-fold.jpg +0 -0
- package/.taste-skill/after/tablet-page-01.jpg +0 -0
- package/.taste-skill/after/tablet-page-02.jpg +0 -0
- package/.taste-skill/before/desktop-fold.jpg +0 -0
- package/.taste-skill/before/desktop-page-01.jpg +0 -0
- package/.taste-skill/before/desktop-page-02.jpg +0 -0
- package/.taste-skill/before/mobile-fold.jpg +0 -0
- package/.taste-skill/before/mobile-page-01.jpg +0 -0
- package/.taste-skill/before/report.json +0 -2556
- package/.taste-skill/before/tablet-fold.jpg +0 -0
- package/.taste-skill/before/tablet-page-01.jpg +0 -0
- package/.taste-skill/direction.json +0 -510
- package/.taste-skill/notes.md +0 -84
- package/.taste-skill/prod/desktop-fold.jpg +0 -0
- package/.taste-skill/prod/desktop-page-01.jpg +0 -0
- package/.taste-skill/prod/desktop-page-02.jpg +0 -0
- package/.taste-skill/prod/desktop-page-03.jpg +0 -0
- package/.taste-skill/prod/mobile-fold.jpg +0 -0
- package/.taste-skill/prod/mobile-page-01.jpg +0 -0
- package/.taste-skill/prod/mobile-page-02.jpg +0 -0
- package/.taste-skill/prod/report.json +0 -1973
- package/.taste-skill/prod/tablet-fold.jpg +0 -0
- package/.taste-skill/prod/tablet-page-01.jpg +0 -0
- package/.taste-skill/prod/tablet-page-02.jpg +0 -0
- package/AUDIT.md +0 -228
- package/PLAN-AMELIORATION.md +0 -220
- package/PLAN-DOCS-AGENTS.md +0 -80
- package/ai/AGENTS.md +0 -56
- package/ai/cursor/rules/concorde-menu.mdc +0 -15
- package/ai/cursor/rules/concorde-scope.mdc +0 -14
- package/ai/cursor/rules/concorde-theme.mdc +0 -13
- package/ai/cursor/rules/concorde.mdc +0 -66
- package/ai/jetbrains/rules/concorde.md +0 -53
- package/ai/skills/concorde-get-set-dp/SKILL.md +0 -194
- package/ai/skills/concorde-imports/SKILL.md +0 -78
- package/ai/skills/concorde-menu/SKILL.md +0 -74
- package/ai/skills/concorde-scope/SKILL.md +0 -70
- package/ai/skills/concorde-theme/SKILL.md +0 -57
- package/docs/.htaccess +0 -75
- package/docs/404.html +0 -15
- package/docs/404.md +0 -5
- package/docs/assets/index-BgG6FFPt.js +0 -11765
- package/docs/assets/index-x89XINSG.css +0 -1
- package/docs/core/components/functional/date/date.html +0 -211
- package/docs/core/components/functional/date/date.md +0 -150
- package/docs/core/components/functional/fetch/fetch.html +0 -180
- package/docs/core/components/functional/fetch/fetch.md +0 -108
- package/docs/core/components/functional/if/if.html +0 -65
- package/docs/core/components/functional/if/if.md +0 -34
- package/docs/core/components/functional/jsonata/jsonata.html +0 -110
- package/docs/core/components/functional/jsonata/jsonata.md +0 -61
- package/docs/core/components/functional/list/list.html +0 -198
- package/docs/core/components/functional/list/list.md +0 -121
- package/docs/core/components/functional/mix/mix.html +0 -78
- package/docs/core/components/functional/mix/mix.md +0 -46
- package/docs/core/components/functional/queue/queue.html +0 -155
- package/docs/core/components/functional/queue/queue.md +0 -51
- package/docs/core/components/functional/router/router.html +0 -154
- package/docs/core/components/functional/router/router.md +0 -93
- package/docs/core/components/functional/sdui/sdui-extension-points.md +0 -94
- package/docs/core/components/functional/sdui/sdui.html +0 -397
- package/docs/core/components/functional/sdui/sdui.md +0 -307
- package/docs/core/components/functional/states/states.html +0 -141
- package/docs/core/components/functional/states/states.md +0 -112
- package/docs/core/components/functional/submit/submit.html +0 -178
- package/docs/core/components/functional/submit/submit.md +0 -106
- package/docs/core/components/functional/subscriber/subscriber.md +0 -91
- package/docs/core/components/functional/translation/translation.html +0 -60
- package/docs/core/components/functional/translation/translation.md +0 -38
- package/docs/core/components/functional/value/value.html +0 -81
- package/docs/core/components/functional/value/value.md +0 -47
- package/docs/core/components/ui/alert/alert.md +0 -186
- package/docs/core/components/ui/alert-messages/alert-messages.md +0 -85
- package/docs/core/components/ui/badge/badge.md +0 -181
- package/docs/core/components/ui/button/button.html +0 -309
- package/docs/core/components/ui/button/button.md +0 -216
- package/docs/core/components/ui/captcha/captcha.html +0 -80
- package/docs/core/components/ui/captcha/captcha.md +0 -56
- package/docs/core/components/ui/card/card.md +0 -215
- package/docs/core/components/ui/divider/divider.md +0 -126
- package/docs/core/components/ui/form/checkbox/checkbox.html +0 -200
- package/docs/core/components/ui/form/checkbox/checkbox.md +0 -125
- package/docs/core/components/ui/form/fieldset/fieldset.html +0 -238
- package/docs/core/components/ui/form/fieldset/fieldset.md +0 -161
- package/docs/core/components/ui/form/form-actions/form-actions.md +0 -98
- package/docs/core/components/ui/form/form-layout/form-layout.html +0 -115
- package/docs/core/components/ui/form/form-layout/form-layout.md +0 -109
- package/docs/core/components/ui/form/input/input.html +0 -235
- package/docs/core/components/ui/form/input/input.md +0 -142
- package/docs/core/components/ui/form/radio/radio.html +0 -144
- package/docs/core/components/ui/form/radio/radio.md +0 -78
- package/docs/core/components/ui/form/select/select.html +0 -178
- package/docs/core/components/ui/form/select/select.md +0 -86
- package/docs/core/components/ui/form/switch/switch.html +0 -146
- package/docs/core/components/ui/form/switch/switch.md +0 -80
- package/docs/core/components/ui/form/textarea/textarea.html +0 -162
- package/docs/core/components/ui/form/textarea/textarea.md +0 -82
- package/docs/core/components/ui/group/group.html +0 -113
- package/docs/core/components/ui/group/group.md +0 -77
- package/docs/core/components/ui/icon/icon.md +0 -214
- package/docs/core/components/ui/image/image.html +0 -194
- package/docs/core/components/ui/image/image.md +0 -167
- package/docs/core/components/ui/link/link.md +0 -81
- package/docs/core/components/ui/loader/loader.html +0 -114
- package/docs/core/components/ui/loader/loader.md +0 -87
- package/docs/core/components/ui/menu/menu.md +0 -370
- package/docs/core/components/ui/modal/modal.html +0 -324
- package/docs/core/components/ui/modal/modal.md +0 -211
- package/docs/core/components/ui/pop/pop.html +0 -250
- package/docs/core/components/ui/pop/pop.md +0 -216
- package/docs/core/components/ui/progress/progress.md +0 -109
- package/docs/core/components/ui/table/table.html +0 -333
- package/docs/core/components/ui/table/table.md +0 -267
- package/docs/core/components/ui/theme/theme.html +0 -116
- package/docs/core/components/ui/theme/theme.md +0 -97
- package/docs/core/components/ui/toast/toast.html +0 -185
- package/docs/core/components/ui/toast/toast.md +0 -147
- package/docs/core/components/ui/tooltip/tooltip.html +0 -112
- package/docs/core/components/ui/tooltip/tooltip.md +0 -89
- package/docs/docs/decorators/ancestor-attribute.html +0 -71
- package/docs/docs/decorators/ancestor-attribute.md +0 -59
- package/docs/docs/decorators/auto-subscribe.html +0 -61
- package/docs/docs/decorators/auto-subscribe.md +0 -40
- package/docs/docs/decorators/bind.html +0 -86
- package/docs/docs/decorators/bind.md +0 -77
- package/docs/docs/decorators/get.html +0 -166
- package/docs/docs/decorators/get.md +0 -160
- package/docs/docs/decorators/handle.html +0 -139
- package/docs/docs/decorators/handle.md +0 -119
- package/docs/docs/decorators/on-assign.html +0 -72
- package/docs/docs/decorators/on-assign.md +0 -63
- package/docs/docs/decorators/patch.html +0 -76
- package/docs/docs/decorators/patch.md +0 -44
- package/docs/docs/decorators/post.html +0 -150
- package/docs/docs/decorators/post.md +0 -134
- package/docs/docs/decorators/publish.html +0 -74
- package/docs/docs/decorators/publish.md +0 -56
- package/docs/docs/decorators/put.html +0 -83
- package/docs/docs/decorators/put.md +0 -51
- package/docs/docs/decorators/subscribe.html +0 -91
- package/docs/docs/decorators/subscribe.md +0 -87
- package/docs/docs/decorators/wait-for-ancestors.html +0 -82
- package/docs/docs/decorators/wait-for-ancestors.md +0 -76
- package/docs/docs/directives/sub.html +0 -79
- package/docs/docs/directives/sub.md +0 -75
- package/docs/docs/directives/t.html +0 -91
- package/docs/docs/directives/t.md +0 -73
- package/docs/docs/getting-started/ai-agents.md +0 -76
- package/docs/docs/getting-started/components.html +0 -27
- package/docs/docs/getting-started/components.md +0 -5
- package/docs/docs/getting-started/installation.html +0 -69
- package/docs/docs/getting-started/installation.md +0 -36
- package/docs/docs/getting-started/my-first-component.md +0 -227
- package/docs/docs/getting-started/start.html +0 -47
- package/docs/docs/getting-started/start.md +0 -35
- package/docs/docs/getting-started/theming.md +0 -253
- package/docs/docs/index.html +0 -99
- package/docs/docs/misc/api-configuration.md +0 -79
- package/docs/docs/misc/dataProviderKey.md +0 -168
- package/docs/hubs/decorators.html +0 -443
- package/docs/hubs/form-components.html +0 -404
- package/docs/hubs/remote-data.html +0 -371
- package/docs/img/archive/concorde-001-2cv.webp +0 -0
- package/docs/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
- package/docs/img/archive/concorde-red-arrows-2002.webm +0 -0
- package/docs/img/archive/credits.json +0 -28
- package/docs/index.md +0 -22
- package/docs/src/core/components/functional/translation/translation.md +0 -38
- package/docs/src/docs/decorators/ancestor-attribute.md +0 -59
- package/docs/src/docs/decorators/auto-subscribe.md +0 -40
- package/docs/src/docs/decorators/bind.md +0 -77
- package/docs/src/docs/decorators/get.md +0 -160
- package/docs/src/docs/decorators/handle.md +0 -119
- package/docs/src/docs/decorators/on-assign.md +0 -63
- package/docs/src/docs/decorators/patch.md +0 -44
- package/docs/src/docs/decorators/post.md +0 -134
- package/docs/src/docs/decorators/publish.md +0 -56
- package/docs/src/docs/decorators/put.md +0 -51
- package/docs/src/docs/decorators/subscribe.md +0 -87
- package/docs/src/docs/decorators/wait-for-ancestors.md +0 -76
- package/docs/src/docs/directives/sub.md +0 -75
- package/docs/src/docs/directives/t.md +0 -73
- package/docs/src/docs/getting-started/components.md +0 -5
- package/docs/src/docs/getting-started/create-a-component.md +0 -136
- package/docs/src/docs/getting-started/dataFlow.md +0 -87
- package/docs/src/docs/getting-started/installation.md +0 -36
- package/docs/src/docs/misc/docs-mock-api.md +0 -62
- package/docs/src/docs/misc/dynamic-path.md +0 -71
- package/docs/src/docs/misc/endpoint.md +0 -45
- package/docs/src/docs/misc/html-integration.md +0 -14
- /package/{docs → dist}/img/concorde/plane_01.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_02.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_03.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_04.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_05.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_06.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_07.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_08.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_09.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_10.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_11.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_12.jpg +0 -0
- /package/{docs → dist}/img/concorde/plane_13.jpg +0 -0
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/dataProviderKey.html" data-doc-id="docs/_misc/dataProviderKey">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>DataProviderKey — Concorde
|
|
6
|
+
<title>DataProviderKey — Concorde</title>
|
|
7
7
|
<meta name="description" content="The DataProviderKey<T> utility provides type-safe navigation through composite data structures. Each property or index access extends the path, and the final key can be retrieved via toString() or the">
|
|
8
|
-
<meta name="keywords" content="Concorde, supersoniks, docs/
|
|
9
|
-
<meta name="concorde-doc-id" content="docs/
|
|
10
|
-
<link rel="canonical" href="https://concorde.supersoniks.org/docs/
|
|
11
|
-
<link rel="alternate" type="text/markdown" href="https://concorde.supersoniks.org/docs/misc/dataProviderKey.md">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/dataProviderKey, dataProviderKey, DataProviderKey, reference, toString(), path, myKey.items[0], items, Item[], .path">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/dataProviderKey">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/dataProviderKey.html">
|
|
12
11
|
</head>
|
|
13
12
|
<body>
|
|
14
13
|
<header>
|
|
15
|
-
<p><a href="
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/dataProviderKey.md/dataProviderKey" rel="nofollow">interactive version</a></p>
|
|
16
15
|
</header>
|
|
17
16
|
<main>
|
|
18
17
|
<article>
|
|
19
|
-
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — DataProviderKey</strong>. The DataProviderKey<T> utility provides type-safe navigation through composite data structures. Each property or index access extends the path, and the final key can be retrieved via toString() or the <span>Doc ID: <code>docs/
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — DataProviderKey</strong>. The DataProviderKey<T> utility provides type-safe navigation through composite data structures. Each property or index access extends the path, and the final key can be retrieved via toString() or the <span>Doc ID: <code>docs/_misc/dataProviderKey</code>. Keywords: Concorde, supersoniks, docs/_misc/dataProviderKey, dataProviderKey, DataProviderKey, reference, toString(), path, myKey.items[0], items, Item[], .path. URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/dataProviderKey.html">https://concorde.supersoniks.org/crawl/docs/_misc/dataProviderKey.html</a>.</span></p>
|
|
20
19
|
<h1 id="dataproviderkey">DataProviderKey</h1>
|
|
21
20
|
<p>The <code>DataProviderKey<T></code> utility provides type-safe navigation through composite data structures. Each property or index access extends the path, and the final key can be retrieved via <code>toString()</code> or the <code>path</code> property.</p>
|
|
22
|
-
<p>For a <strong>single HTTP path string</strong> (no dot-syntax), see <a href="
|
|
21
|
+
<p>For a <strong>single HTTP path string</strong> (no dot-syntax), see <a href="./endpoint.html#endpoint">Endpoint</a>. For <strong><code>DataProviderKey<APIConfiguration></code></strong>, see <a href="./api-configuration.html#api-configuration">API configuration</a>.</p>
|
|
23
22
|
<h2 id="principle">Principle</h2>
|
|
24
23
|
<p><code>DataProviderKey</code> uses a Proxy to intercept property access and build a cumulative path string. TypeScript infers the nested type at each level, so <code>myKey.items[0]</code> is correctly typed as <code>DataProviderKey<Item></code> when <code>items</code> is <code>Item[]</code>.</p>
|
|
25
24
|
<p>In Lit demos, bind HTML attributes from a key’s <strong><code>.path</code></strong> (single source of truth), and use <strong><code>get</code> / <code>set</code> / <code>dp</code></strong> instead of <code>PublisherManager.get("…")</code>:</p>
|
|
@@ -65,7 +64,7 @@ firstItem.path; // "data.items.0"
|
|
|
65
64
|
// firstItem is DataProviderKey&lt;Item&gt;
|
|
66
65
|
</code></pre>
|
|
67
66
|
<h3 id="dynamic-paths">Dynamic paths</h3>
|
|
68
|
-
<p>Use placeholders <code>${prop}</code> or <code>{$prop}</code> in the path string. The path is resolved at runtime from the component's properties. See <a href="
|
|
67
|
+
<p>Use placeholders <code>${prop}</code> or <code>{$prop}</code> in the path string. The path is resolved at runtime from the component's properties. See <a href="./dynamic-path.html#dynamic-path">Dynamic path placeholders</a> for resolution rules and <code>skipEmptyPlaceholder</code>. The type remains declarative:</p>
|
|
69
68
|
<pre><code class="language-typescript">type User = { name: string; email: string };
|
|
70
69
|
//
|
|
71
70
|
// Path resolved from component.userIndex at runtime
|
|
@@ -73,7 +72,7 @@ firstItem.path; // "data.items.0"
|
|
|
73
72
|
@state()
|
|
74
73
|
user: User | null = null;
|
|
75
74
|
</code></pre>
|
|
76
|
-
<p>Dynamic keys are <strong>not</strong> supported by <code>get</code>, <code>set</code>, or <code>dp</code> — those APIs take a snapshot at call time with no component context. For dynamic paths use decorators (<code>@subscribe</code>, <code>@publish</code>, <code>@handle</code>) or <strong><code>sub(key)</code></strong> in Lit templates (resolves <code>${…}</code> from the host component). See <a href="/
|
|
75
|
+
<p>Dynamic keys are <strong>not</strong> supported by <code>get</code>, <code>set</code>, or <code>dp</code> — those APIs take a snapshot at call time with no component context. For dynamic paths use decorators (<code>@subscribe</code>, <code>@publish</code>, <code>@handle</code>) or <strong><code>sub(key)</code></strong> in Lit templates (resolves <code>${…}</code> from the host component). See <a href="../_directives/sub.html#sub">sub()</a>.</p>
|
|
77
76
|
<h3 id="get--set--dp-with-static-keys">get / set / dp with static keys</h3>
|
|
78
77
|
<p>For programmatic access, pass a <code>DataProviderKey</code> or a static path string. Dynamic placeholders are rejected:</p>
|
|
79
78
|
<pre><code class="language-typescript">import { dp, get, set } from "@supersoniks/concorde/utils";
|
|
@@ -122,7 +121,7 @@ export class UserForm extends LitElement {
|
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
123
|
</code></pre>
|
|
125
|
-
<p>These decorators support dynamic paths: <code>"base.${prop}"</code> in the constructor. A wrong property type (e.g. <code>number</code> for <code>DataProviderKey<string></code>) is a TypeScript error. Resolution rules: <a href="
|
|
124
|
+
<p>These decorators support dynamic paths: <code>"base.${prop}"</code> in the constructor. A wrong property type (e.g. <code>number</code> for <code>DataProviderKey<string></code>) is a TypeScript error. Resolution rules: <a href="./dynamic-path.html#dynamic-path">Dynamic path placeholders</a>. See <a href="../_decorators/handle.html#handle">@handle</a> for method callbacks.</p>
|
|
126
125
|
<h2 id="notes">Notes</h2>
|
|
127
126
|
<ul>
|
|
128
127
|
<li>Function properties are excluded from navigation (no <code>key.method()</code> chaining)</li>
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/docs-mock-api.html" data-doc-id="docs/_misc/docs-mock-api">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Local API demos (offline) — Concorde
|
|
6
|
+
<title>Local API demos (offline) — Concorde</title>
|
|
7
7
|
<meta name="description" content="The Concorde doc site does not call fragile third-party APIs during yarn dev. A Service Worker and the Vite dev middleware serve /docs-mock-api/* on the same origin.">
|
|
8
|
-
<meta name="keywords" content="Concorde, supersoniks, docs/
|
|
9
|
-
<meta name="concorde-doc-id" content="docs/
|
|
10
|
-
<link rel="canonical" href="https://concorde.supersoniks.org/docs/
|
|
11
|
-
<link rel="alternate" type="text/markdown" href="https://concorde.supersoniks.org/docs/misc/docs-mock-api.md">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/docs-mock-api, docs-mock-api, Local API demos (offline), reference, yarn dev, /docs-mock-api/*, registerDocsMockApiServiceWorker(), /docs-mock-api-sw.js, /docs-mock-api/..., serviceURL="/docs-mock-api", src/docs/mock-api/urls.ts, DOCS_MOCK_REQRES_SERVICE, DOCS_MOCK_GEO_SERVICE, /docs-mock-api/api/users">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/docs-mock-api">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/docs-mock-api.html">
|
|
12
11
|
</head>
|
|
13
12
|
<body>
|
|
14
13
|
<header>
|
|
15
|
-
<p><a href="
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/docs-mock-api.md/docs-mock-api" rel="nofollow">interactive version</a></p>
|
|
16
15
|
</header>
|
|
17
16
|
<main>
|
|
18
17
|
<article>
|
|
19
|
-
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Local API demos (offline)</strong>. The Concorde doc site does not call fragile third-party APIs during yarn dev. A Service Worker and the Vite dev middleware serve /docs-mock-api/* on the same origin. <span>Doc ID: <code>docs/
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Local API demos (offline)</strong>. The Concorde doc site does not call fragile third-party APIs during yarn dev. A Service Worker and the Vite dev middleware serve /docs-mock-api/* on the same origin. <span>Doc ID: <code>docs/_misc/docs-mock-api</code>. Keywords: Concorde, supersoniks, docs/_misc/docs-mock-api, docs-mock-api, Local API demos (offline), reference, yarn dev, /docs-mock-api/*, registerDocsMockApiServiceWorker(), /docs-mock-api-sw.js, /docs-mock-api/..., serviceURL="/docs-mock-api", src/docs/mock-api/urls.ts, DOCS_MOCK_REQRES_SERVICE, DOCS_MOCK_GEO_SERVICE, /docs-mock-api/api/users. URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/docs-mock-api.html">https://concorde.supersoniks.org/crawl/docs/_misc/docs-mock-api.html</a>.</span></p>
|
|
20
19
|
<h1 id="local-api-demos-offline">Local API demos (offline)</h1>
|
|
21
20
|
<p>The Concorde doc site does not call fragile third-party APIs during <code>yarn dev</code>. A <strong>Service Worker</strong> and the Vite dev middleware serve <strong><code>/docs-mock-api/*</code></strong> on the same origin.</p>
|
|
22
21
|
<h2 id="how-it-works">How it works</h2>
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
</thead>
|
|
37
36
|
<tbody><tr>
|
|
38
37
|
<td><code>/docs-mock-api/api/users</code></td>
|
|
39
|
-
<td><
|
|
38
|
+
<td><code>sonic-list</code>, <code>sonic-fetch</code>, <code>sonic-queue</code> (users)</td>
|
|
40
39
|
</tr>
|
|
41
40
|
<tr>
|
|
42
41
|
<td><code>/docs-mock-api/api/users/:id</code></td>
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
</tr>
|
|
45
44
|
<tr>
|
|
46
45
|
<td><code>/docs-mock-api/api/space-cats</code></td>
|
|
47
|
-
<td>
|
|
46
|
+
<td><code>sonic-jsonata</code> top-N demo</td>
|
|
48
47
|
</tr>
|
|
49
48
|
<tr>
|
|
50
49
|
<td><code>/docs-mock-api/api/coffee-bags</code></td>
|
|
@@ -52,7 +51,7 @@
|
|
|
52
51
|
</tr>
|
|
53
52
|
<tr>
|
|
54
53
|
<td><code>/docs-mock-api/api/market-order</code></td>
|
|
55
|
-
<td>
|
|
54
|
+
<td><code>sonic-jsonata</code> totals demo</td>
|
|
56
55
|
</tr>
|
|
57
56
|
<tr>
|
|
58
57
|
<td><code>POST /docs-mock-api/api/register</code></td>
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
</tr>
|
|
61
60
|
<tr>
|
|
62
61
|
<td><code>POST /docs-mock-api/api/register/nested</code></td>
|
|
63
|
-
<td>Wrapped body <code>{ data: { id, token } }</code> for
|
|
62
|
+
<td>Wrapped body <code>{ data: { id, token } }</code> for <code>submit-result-key</code> demo</td>
|
|
64
63
|
</tr>
|
|
65
64
|
<tr>
|
|
66
65
|
<td><code>GET /docs-mock-api/api/register/echo</code></td>
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
</tr>
|
|
69
68
|
<tr>
|
|
70
69
|
<td><code>GET /docs-mock-api/auth/token</code></td>
|
|
71
|
-
<td><a href="
|
|
70
|
+
<td><a href="./api-configuration.html#api-configuration">API configuration</a> — tokenProvider (Basic or <code>eventsApiToken</code>)</td>
|
|
72
71
|
</tr>
|
|
73
72
|
<tr>
|
|
74
73
|
<td><code>GET /docs-mock-api/api/config/protected</code></td>
|
|
@@ -80,14 +79,14 @@
|
|
|
80
79
|
</tr>
|
|
81
80
|
<tr>
|
|
82
81
|
<td><code>/docs-mock-api/geo/communes</code></td>
|
|
83
|
-
<td
|
|
82
|
+
<td>Geo list, <code>@get</code> demos</td>
|
|
84
83
|
</tr>
|
|
85
84
|
<tr>
|
|
86
|
-
<td><code
|
|
87
|
-
<td>
|
|
85
|
+
<td><code>/docs-mock-api/jokes/joke/:category</code></td>
|
|
86
|
+
<td>JokeAPI-shaped list (<code>key="jokes"</code> on queue/list)</td>
|
|
88
87
|
</tr>
|
|
89
88
|
</tbody></table>
|
|
90
|
-
<h3 id="
|
|
89
|
+
<h3 id="filtres-get-jokesjoke">Filtres <code>GET /jokes/joke/…</code></h3>
|
|
91
90
|
<table>
|
|
92
91
|
<thead>
|
|
93
92
|
<tr>
|
|
@@ -96,20 +95,24 @@
|
|
|
96
95
|
</tr>
|
|
97
96
|
</thead>
|
|
98
97
|
<tbody><tr>
|
|
99
|
-
<td><code>
|
|
100
|
-
<td
|
|
98
|
+
<td><code>amount</code></td>
|
|
99
|
+
<td>Max jokes per request when not using <code>offset</code></td>
|
|
101
100
|
</tr>
|
|
102
101
|
<tr>
|
|
103
|
-
<td><code>
|
|
104
|
-
<td>
|
|
102
|
+
<td><code>offset</code> + <code>limit</code> / <code>per_page</code></td>
|
|
103
|
+
<td>Pagination for <strong>sonic-queue</strong> lazy load</td>
|
|
105
104
|
</tr>
|
|
106
105
|
<tr>
|
|
107
|
-
<td><code>
|
|
108
|
-
<td>
|
|
106
|
+
<td><code>contains</code></td>
|
|
107
|
+
<td>Substring on joke text, setup/delivery, categories (<strong>input</strong> demo, <code>name="contains"</code>)</td>
|
|
109
108
|
</tr>
|
|
110
109
|
<tr>
|
|
111
|
-
<td><code>
|
|
112
|
-
<td>
|
|
110
|
+
<td><code>lang</code></td>
|
|
111
|
+
<td><code>fr</code> or <code>en</code> — filters the local dataset (<strong>select</strong> demo, <code>name="lang"</code>)</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr>
|
|
114
|
+
<td><code>blacklistFlags</code></td>
|
|
115
|
+
<td>Comma-separated flags to <strong>exclude</strong> (<code>nsfw</code>, <code>religious</code>, <code>political</code>, <code>racist</code>, <code>sexist</code>, <code>explicit</code>) — checkbox/radio/switch « Remove following jokes » demos; each joke has matching <code>flags</code> in fixtures</td>
|
|
113
116
|
</tr>
|
|
114
117
|
</tbody></table>
|
|
115
118
|
<h3 id="pagination-get-apiusers">Pagination <code>GET /api/users</code></h3>
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/dynamic-path.html" data-doc-id="docs/_misc/dynamic-path">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Dynamic path placeholders — Concorde
|
|
6
|
+
<title>Dynamic path placeholders — Concorde</title>
|
|
7
7
|
<meta name="description" content="Decorators and DataProviderKey paths can include placeholders resolved on the host component at runtime:">
|
|
8
|
-
<meta name="keywords" content="Concorde, supersoniks, docs/
|
|
9
|
-
<meta name="concorde-doc-id" content="docs/
|
|
10
|
-
<link rel="canonical" href="https://concorde.supersoniks.org/docs/
|
|
11
|
-
<link rel="alternate" type="text/markdown" href="https://concorde.supersoniks.org/docs/misc/dynamic-path.md">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/dynamic-path, dynamic-path, Dynamic path placeholders, reference, DataProviderKey, ${prop}, {$prop}, "users/${userId}", "api/sessions/${sessionId}/sync", "teams.${teamId}.members", resolveDynamicPath, userId, sessionId, requestAnimationFrame">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/dynamic-path">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/dynamic-path.html">
|
|
12
11
|
</head>
|
|
13
12
|
<body>
|
|
14
13
|
<header>
|
|
15
|
-
<p><a href="
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/dynamic-path.md/dynamic-path" rel="nofollow">interactive version</a></p>
|
|
16
15
|
</header>
|
|
17
16
|
<main>
|
|
18
17
|
<article>
|
|
19
|
-
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Dynamic path placeholders</strong>. Decorators and DataProviderKey paths can include placeholders resolved on the host component at runtime: <span>Doc ID: <code>docs/
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Dynamic path placeholders</strong>. Decorators and DataProviderKey paths can include placeholders resolved on the host component at runtime: <span>Doc ID: <code>docs/_misc/dynamic-path</code>. Keywords: Concorde, supersoniks, docs/_misc/dynamic-path, dynamic-path, Dynamic path placeholders, reference, DataProviderKey, ${prop}, {$prop}, "users/${userId}", "api/sessions/${sessionId}/sync", "teams.${teamId}.members", resolveDynamicPath, userId, sessionId, requestAnimationFrame. URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/dynamic-path.html">https://concorde.supersoniks.org/crawl/docs/_misc/dynamic-path.html</a>.</span></p>
|
|
20
19
|
<h1 id="dynamic-path-placeholders">Dynamic path placeholders</h1>
|
|
21
20
|
<p>Decorators and <code>DataProviderKey</code> paths can include <strong>placeholders</strong> resolved on the host component at runtime:</p>
|
|
22
21
|
<ul>
|
|
@@ -117,7 +116,7 @@
|
|
|
117
116
|
<td><code>PostOptions</code> / <code>ApiSendOptions</code></td>
|
|
118
117
|
</tr>
|
|
119
118
|
<tr>
|
|
120
|
-
<td><code>@bind</code></td>
|
|
119
|
+
<td><code>@bind</code> / <code>@subscribe</code></td>
|
|
121
120
|
<td><code>BindOptions</code></td>
|
|
122
121
|
</tr>
|
|
123
122
|
<tr>
|
|
@@ -166,13 +165,13 @@
|
|
|
166
165
|
</tbody></table>
|
|
167
166
|
<h2 id="see-also">See also</h2>
|
|
168
167
|
<ul>
|
|
169
|
-
<li><a href="
|
|
170
|
-
<li><a href="
|
|
171
|
-
<li>HTTP: <a href="/
|
|
172
|
-
<li>Store: <a href="/
|
|
173
|
-
<li>Legacy strings: <a href="/
|
|
174
|
-
<li>Templates: <a href="/
|
|
175
|
-
<li>Tutorial: <a href="
|
|
168
|
+
<li><a href="./dataProviderKey.html#dataProviderKey">DataProviderKey</a> — path syntax</li>
|
|
169
|
+
<li><a href="./endpoint.html#endpoint">Endpoint</a> — HTTP paths + host generic <code>U</code></li>
|
|
170
|
+
<li>HTTP: <a href="../_decorators/get.html#get">@get</a> · <a href="../_decorators/post.html#post">@post</a> · <a href="../_decorators/put.html#put">@put</a> · <a href="../_decorators/patch.html#patch">@patch</a></li>
|
|
171
|
+
<li>Store: <a href="../_decorators/subscribe.html#subscribe">@subscribe</a> · <a href="../_decorators/bind.html#bind">@bind</a> · <a href="../_decorators/publish.html#publish">@publish</a> · <a href="../_decorators/handle.html#handle">@handle</a></li>
|
|
172
|
+
<li>Legacy strings: <a href="../_decorators/on-assign.html#on-assign">@onAssign</a> (dynamic paths section)</li>
|
|
173
|
+
<li>Templates: <a href="../_directives/sub.html#sub">sub()</a> — dynamic paths in Lit (no <code>skipEmptyPlaceholder</code> yet)</li>
|
|
174
|
+
<li>Tutorial: <a href="../_getting-started/my-first-component.html#my-first-component">My first component</a> — <code>"${dataProvider}"</code> scope pattern</li>
|
|
176
175
|
</ul>
|
|
177
176
|
|
|
178
177
|
</article>
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/endpoint.html" data-doc-id="docs/_misc/endpoint">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Endpoint — Concorde
|
|
6
|
+
<title>Endpoint — Concorde</title>
|
|
7
7
|
<meta name="description" content="Endpoint<T, U> describes a single HTTP path (or a path accepted by API.get) and carries the expected response type T. Unlike DataProviderKey, there is no dot-navigation: the path is one string.">
|
|
8
|
-
<meta name="keywords" content="Concorde, supersoniks, docs/
|
|
9
|
-
<meta name="concorde-doc-id" content="docs/
|
|
10
|
-
<link rel="canonical" href="https://concorde.supersoniks.org/docs/
|
|
11
|
-
<link rel="alternate" type="text/markdown" href="https://concorde.supersoniks.org/docs/misc/endpoint.md">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/endpoint, endpoint, Endpoint, reference, API.get, (default , ${…}, {$…}, null, undefined, "", and , userId">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/endpoint">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/endpoint.html">
|
|
12
11
|
</head>
|
|
13
12
|
<body>
|
|
14
13
|
<header>
|
|
15
|
-
<p><a href="
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/endpoint.md/endpoint" rel="nofollow">interactive version</a></p>
|
|
16
15
|
</header>
|
|
17
16
|
<main>
|
|
18
17
|
<article>
|
|
19
|
-
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Endpoint</strong>. Endpoint<T, U> describes a single HTTP path (or a path accepted by API.get) and carries the expected response type T. Unlike DataProviderKey, there is no dot-navigation: the path is one string. <span>Doc ID: <code>docs/
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — Endpoint</strong>. Endpoint<T, U> describes a single HTTP path (or a path accepted by API.get) and carries the expected response type T. Unlike DataProviderKey, there is no dot-navigation: the path is one string. <span>Doc ID: <code>docs/_misc/endpoint</code>. Keywords: Concorde, supersoniks, docs/_misc/endpoint, endpoint, Endpoint, reference, API.get, (default , ${…}, {$…}, null, undefined, "", and , userId. URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/endpoint.html">https://concorde.supersoniks.org/crawl/docs/_misc/endpoint.html</a>.</span></p>
|
|
20
19
|
<h1 id="endpoint">Endpoint</h1>
|
|
21
|
-
<p><code>Endpoint<T, U></code> describes a single HTTP path (or a path accepted by <code>API.get</code>) and carries the expected response type <code>T</code>. Unlike <a href="
|
|
22
|
-
<p>The optional second generic <code>U</code> (default <code>any</code>) describes host properties used to resolve dynamic segments in the path (<code>${…}</code> / <code>{$…}</code>), for example with <a href="/
|
|
20
|
+
<p><code>Endpoint<T, U></code> describes a single HTTP path (or a path accepted by <code>API.get</code>) and carries the expected response type <code>T</code>. Unlike <a href="./dataProviderKey.html#dataProviderKey">DataProviderKey</a>, there is no dot-navigation: the path is one string.</p>
|
|
21
|
+
<p>The optional second generic <code>U</code> (default <code>any</code>) describes host properties used to resolve dynamic segments in the path (<code>${…}</code> / <code>{$…}</code>), for example with <a href="../_decorators/get.html#get">@get</a> or <a href="../_decorators/post.html#post">@post</a>. See <a href="./dynamic-path.html#dynamic-path">Dynamic path placeholders</a> for <code>null</code> / <code>undefined</code> / <code>""</code> / <code>0</code> and <code>skipEmptyPlaceholder</code>.</p>
|
|
23
22
|
<h2 id="import">Import</h2>
|
|
24
23
|
<pre><code class="language-typescript">import { Endpoint } from "@supersoniks/concorde/utils/endpoint";
|
|
25
24
|
</code></pre>
|
|
@@ -33,16 +32,16 @@ const one = new Endpoint&lt;User, { userId: string }&gt;("users/${u
|
|
|
33
32
|
<h2 id="normalization">Normalization</h2>
|
|
34
33
|
<p><code>Endpoint.normalizePath</code> trims the string, rejects an empty path, strips leading slashes for paths relative to <code>serviceURL</code>, collapses duplicate slashes, and validates absolute <code>http(s)://</code> URLs.</p>
|
|
35
34
|
<h2 id="publisher-key-for-payloads">Publisher key for payloads</h2>
|
|
36
|
-
<p><code>getDataProviderKey()</code> returns a typed publisher key whose <code>path</code> matches the endpoint path (payload typing follows <code>ApiResult</code> for this endpoint). Useful when pairing <code>@get</code> with <code>@publish</code> / <code>@subscribe</code> (see <a href="/
|
|
35
|
+
<p><code>getDataProviderKey()</code> returns a typed publisher key whose <code>path</code> matches the endpoint path (payload typing follows <code>ApiResult</code> for this endpoint). Useful when pairing <code>@get</code> with <code>@publish</code> / <code>@subscribe</code> (see <a href="../_decorators/get.html#get">@get</a>).</p>
|
|
37
36
|
<h2 id="data-provider-paths">Data-provider paths</h2>
|
|
38
37
|
<p><code>Endpoint.looksLikeDataProviderPath(path)</code> returns true for strings shaped like <code>dataProvider(id)…</code>, which <code>API.get</code> can resolve without HTTP.</p>
|
|
39
38
|
<h2 id="see-also">See also</h2>
|
|
40
39
|
<ul>
|
|
41
|
-
<li><a href="
|
|
42
|
-
<li><a href="/
|
|
43
|
-
<li><a href="/
|
|
44
|
-
<li><a href="/
|
|
45
|
-
<li><a href="
|
|
40
|
+
<li><a href="./api-configuration.html#api-configuration">API configuration</a> — <code>serviceURL</code>, token, wording (mock demos)</li>
|
|
41
|
+
<li><a href="../_decorators/get.html#get">@get</a> — GET decorator</li>
|
|
42
|
+
<li><a href="../_decorators/post.html#post">@post</a> — POST decorator (body from a <code>DataProviderKey</code>)</li>
|
|
43
|
+
<li><a href="../_decorators/put.html#put">@put</a> · <a href="../_decorators/patch.html#patch">@patch</a> — PUT / PATCH decorators</li>
|
|
44
|
+
<li><a href="./dataProviderKey.html#dataProviderKey">DataProviderKey</a> — typed publisher paths (dot notation)</li>
|
|
46
45
|
</ul>
|
|
47
46
|
|
|
48
47
|
</article>
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/formelement-subscriber-removal.html" data-doc-id="docs/_misc/formelement-subscriber-removal">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>FormElement without Subscriber (REDMINE-79569) — Concorde</title>
|
|
7
|
+
<meta name="description" content="Form fields (sonic-input, textarea, select, checkbox, radio, switch, button, input-autocomplete) no longer inherit the Subscriber mixin.">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/formelement-subscriber-removal, formelement-subscriber-removal, FormElement without Subscriber (REDMINE-79569), reference, sonic-input, textarea, select, checkbox, radio, switch, button, input-autocomplete, dataProvider, formDataProvider">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/formelement-subscriber-removal">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/formelement-subscriber-removal.html">
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<header>
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/formelement-subscriber-removal.md/formelement-subscriber-removal" rel="nofollow">interactive version</a></p>
|
|
15
|
+
</header>
|
|
16
|
+
<main>
|
|
17
|
+
<article>
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — FormElement without Subscriber (REDMINE-79569)</strong>. Form fields (sonic-input, textarea, select, checkbox, radio, switch, button, input-autocomplete) no longer inherit the Subscriber mixin. <span>Doc ID: <code>docs/_misc/formelement-subscriber-removal</code>. Keywords: Concorde, supersoniks, docs/_misc/formelement-subscriber-removal, formelement-subscriber-removal, FormElement without Subscriber (REDMINE-79569), reference, sonic-input, textarea, select, checkbox, radio, switch, button, input-autocomplete, dataProvider, formDataProvider. URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/formelement-subscriber-removal.html">https://concorde.supersoniks.org/crawl/docs/_misc/formelement-subscriber-removal.html</a>.</span></p>
|
|
19
|
+
<h1 id="formelement-without-subscriber-redmine-79569">FormElement without Subscriber (REDMINE-79569)</h1>
|
|
20
|
+
<p>Form fields (<code>sonic-input</code>, <code>textarea</code>, <code>select</code>, <code>checkbox</code>, <code>radio</code>, <code>switch</code>, <code>button</code>, <code>input-autocomplete</code>) no longer inherit the <strong>Subscriber</strong> mixin.</p>
|
|
21
|
+
<h2 id="behaviour-now">Behaviour now</h2>
|
|
22
|
+
<table>
|
|
23
|
+
<thead>
|
|
24
|
+
<tr>
|
|
25
|
+
<th>Before</th>
|
|
26
|
+
<th>After</th>
|
|
27
|
+
</tr>
|
|
28
|
+
</thead>
|
|
29
|
+
<tbody><tr>
|
|
30
|
+
<td>Dual channel <code>dataProvider</code> (autofill) + <code>formDataProvider</code></td>
|
|
31
|
+
<td><strong><code>formDataProvider</code> + <code>name</code> only</strong></td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr>
|
|
34
|
+
<td>Ancestor <code>dataProvider</code> auto-filled field props</td>
|
|
35
|
+
<td>Ignored by form fields</td>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr>
|
|
38
|
+
<td><code>noAutoFill</code> on fields/buttons inside a <code>dataProvider</code> tree</td>
|
|
39
|
+
<td>Dead on form fields (attribute harmless; can be cleaned in apps)</td>
|
|
40
|
+
</tr>
|
|
41
|
+
</tbody></table>
|
|
42
|
+
<p>Preview pattern still valid: form writes via <code>formDataProvider</code>, display card reads via <code>dataProvider</code> on a <strong>Subscriber</strong> (or <code>@subscribe</code>) sibling — not on the fields themselves.</p>
|
|
43
|
+
<h2 id="migration-checklist-apps">Migration checklist (apps)</h2>
|
|
44
|
+
<ol>
|
|
45
|
+
<li>Prefer <code>formDataProvider</code> alone on forms / fieldsets.</li>
|
|
46
|
+
<li>Drop redundant <code>dataProvider={sameKey}</code> on form containers when it only existed for field autofill.</li>
|
|
47
|
+
<li>Prefill edit forms with <code>set(formKey, row)</code> / <code>dp(formKey.field).set(...)</code> before mount — not field <code>dataProvider</code>.</li>
|
|
48
|
+
<li>Remove <code>noAutoFill</code> on <code>sonic-button</code> / fields when it only blocked Subscriber autofill.</li>
|
|
49
|
+
<li><code>initFromPublisher</code> still works (form publisher only).</li>
|
|
50
|
+
</ol>
|
|
51
|
+
<h2 id="billetterie-collect--dual-channel-risk">Billetterie collect — dual-channel risk</h2>
|
|
52
|
+
<p>Files under <code>la-billetterie/concorde</code> that mention both <code>formDataProvider</code> and <code>dataProvider=</code> (review; many are filter+queue, not field autofill):</p>
|
|
53
|
+
<h3 id="high-priority-same-key-on-form-container">High priority (same key on form container)</h3>
|
|
54
|
+
<ul>
|
|
55
|
+
<li><code>la-billetterie/components/reservation-request/atoms/request-event-form.ts</code> — <code>form</code> / <code>fieldset</code> with both attrs equal</li>
|
|
56
|
+
<li><code>la-billetterie/components/reservation/atoms/new-quote-form.ts</code></li>
|
|
57
|
+
<li><code>la-billetterie/components/stats/sales-summary/sales-summary.ts</code></li>
|
|
58
|
+
<li><code>la-billetterie/components/product/price-selection-form/price-selection-form.ts</code> — <code>formDataProvider</code> + <code>dataProvider="cart/editForm"</code></li>
|
|
59
|
+
<li><code>la-billetterie/components/user/account/link-ticket/link-ticket.ts</code> — distinct keys (API vs form) — keep <code>dataProvider</code> only if used by fetch/submit siblings</li>
|
|
60
|
+
</ul>
|
|
61
|
+
<h3 id="filters--queue-usually-ok">Filters + queue (usually OK)</h3>
|
|
62
|
+
<p><code>formDataProvider</code> on filter bar, <code>dataProvider</code> on <code>sonic-queue</code> / list — no field autofill dependency:</p>
|
|
63
|
+
<ul>
|
|
64
|
+
<li><code>access-control/components/event/list/index.ts</code></li>
|
|
65
|
+
<li><code>access-control/components/control/search/views/list.ts</code></li>
|
|
66
|
+
<li><code>la-billetterie/components/event/form-event-filter/form-event-filter.ts</code></li>
|
|
67
|
+
<li><code>la-billetterie/components/counter/*</code> (agenda, store, reservation-request-treatment, …)</li>
|
|
68
|
+
<li><code>widgets/agenda/agenda.ts</code></li>
|
|
69
|
+
<li>… see full dual list in ticket notes / grep below</li>
|
|
70
|
+
</ul>
|
|
71
|
+
<h3 id="full-dual-channel-file-list-55">Full dual-channel file list (55)</h3>
|
|
72
|
+
<pre><code>concorde/src/access-control/components/control/search/views/list.ts
|
|
73
|
+
concorde/src/access-control/components/event/list/index.ts
|
|
74
|
+
concorde/src/la-billetterie/components/access-control-mobile/access-controller-picker.ts
|
|
75
|
+
concorde/src/la-billetterie/components/accreditations-directory/accreditations-directory.ts
|
|
76
|
+
concorde/src/la-billetterie/components/address/address-suggestion.ts
|
|
77
|
+
concorde/src/la-billetterie/components/bulk/bulk.ts
|
|
78
|
+
concorde/src/la-billetterie/components/campaign/campaign-content.ts
|
|
79
|
+
concorde/src/la-billetterie/components/counter/agenda/agenda.ts
|
|
80
|
+
concorde/src/la-billetterie/components/counter/event-selector/event-selector.ts
|
|
81
|
+
concorde/src/la-billetterie/components/counter/order-validation/order-validation-settings.ts
|
|
82
|
+
concorde/src/la-billetterie/components/counter/print/format-menu.ts
|
|
83
|
+
concorde/src/la-billetterie/components/counter/reservation-request-treatment/reservation-request-treatment.ts
|
|
84
|
+
concorde/src/la-billetterie/components/counter/store/counter-store.ts
|
|
85
|
+
concorde/src/la-billetterie/components/counter/widgets-settings/widgets-settings-page.ts
|
|
86
|
+
concorde/src/la-billetterie/components/custom-list/custom-list.ts
|
|
87
|
+
concorde/src/la-billetterie/components/event/agenda/agenda.ts
|
|
88
|
+
concorde/src/la-billetterie/components/event/atoms/buy-event-block/buy-event-block.ts
|
|
89
|
+
concorde/src/la-billetterie/components/event/atoms/categorizedPrices/categorizedPrices.ts
|
|
90
|
+
concorde/src/la-billetterie/components/event/event-store/event-store-content.ts
|
|
91
|
+
concorde/src/la-billetterie/components/event/form-event-filter/form-event-filter.ts
|
|
92
|
+
concorde/src/la-billetterie/components/form/event-selection/event-selection-filters.ts
|
|
93
|
+
concorde/src/la-billetterie/components/form/event-selection/event-selection.ts
|
|
94
|
+
concorde/src/la-billetterie/components/giftcards/giftcard-link.ts
|
|
95
|
+
concorde/src/la-billetterie/components/layout/header.ts
|
|
96
|
+
concorde/src/la-billetterie/components/orders/recover/recover.ts
|
|
97
|
+
concorde/src/la-billetterie/components/placing/atoms/placement-choice/placement-choice.ts
|
|
98
|
+
concorde/src/la-billetterie/components/placing/seatmap-view/seatmap-view.ts
|
|
99
|
+
concorde/src/la-billetterie/components/product/price-selection-form/price-selection-form.ts
|
|
100
|
+
concorde/src/la-billetterie/components/product/prices-form/price-button/price-button.ts
|
|
101
|
+
concorde/src/la-billetterie/components/purchase/purchase-summary/complementary-info/complementary-info.ts
|
|
102
|
+
concorde/src/la-billetterie/components/reservation-request/atoms/request-event-form.ts
|
|
103
|
+
concorde/src/la-billetterie/components/reservation/atoms/new-quote-form.ts
|
|
104
|
+
concorde/src/la-billetterie/components/reservation/reservation-content.ts
|
|
105
|
+
concorde/src/la-billetterie/components/seatmap/seatmap.ts
|
|
106
|
+
concorde/src/la-billetterie/components/shop/shop.ts
|
|
107
|
+
concorde/src/la-billetterie/components/stats/dashboard/dashboard.ts
|
|
108
|
+
concorde/src/la-billetterie/components/stats/event/event-stats-check.ts
|
|
109
|
+
concorde/src/la-billetterie/components/stats/sales-summary/sales-summary.ts
|
|
110
|
+
concorde/src/la-billetterie/components/subscription/atoms/quick-select-display-toggle/quick-select-display-toggle.ts
|
|
111
|
+
concorde/src/la-billetterie/components/subscription/cart-quick-select.ts
|
|
112
|
+
concorde/src/la-billetterie/components/subscription/edit/subscription-renew-form.ts
|
|
113
|
+
concorde/src/la-billetterie/components/ticket/ticket-freeup.ts
|
|
114
|
+
concorde/src/la-billetterie/components/tickets-app/default-router.ts
|
|
115
|
+
concorde/src/la-billetterie/components/user/account/account-purchases.ts
|
|
116
|
+
concorde/src/la-billetterie/components/user/account/account-tickets.ts
|
|
117
|
+
concorde/src/la-billetterie/components/user/account/link-ticket/link-ticket.ts
|
|
118
|
+
concorde/src/la-billetterie/components/user/form/login.ts
|
|
119
|
+
concorde/src/la-billetterie/components/user/user-attach/buyer-attach-form.ts
|
|
120
|
+
concorde/src/la-billetterie/components/user/user-attach/buyer-attach.ts
|
|
121
|
+
concorde/src/la-billetterie/components/user/user-attach/owner-attach-form.ts
|
|
122
|
+
concorde/src/la-billetterie/components/user/user-attach/subscription-attach-form.ts
|
|
123
|
+
concorde/src/la-billetterie/components/user/user-attach/subscription-selector.ts
|
|
124
|
+
concorde/src/la-billetterie/components/user/user-selector/user-selector.ts
|
|
125
|
+
concorde/src/la-billetterie/components/user/user-suggest/user-suggest.ts
|
|
126
|
+
concorde/src/widgets/agenda/agenda.ts
|
|
127
|
+
</code></pre>
|
|
128
|
+
<p>Re-run audit:</p>
|
|
129
|
+
<pre><code class="language-bash"># from la-billetterie
|
|
130
|
+
rg -l 'formDataProvider' concorde/src | while read f; do rg -q 'dataProvider\s*=' "$f" && echo "$f"; done
|
|
131
|
+
</code></pre>
|
|
132
|
+
<h2 id="non-regression-concorde-docs">Non-regression (Concorde docs)</h2>
|
|
133
|
+
<p>Smoke form demos: input, textarea, select, checkbox (incl. check-all), radio, switch, button form modes, queue + <code>dataFilterProvider</code>, submit, validation / sameValueAs, input-autocomplete.</p>
|
|
134
|
+
|
|
135
|
+
</article>
|
|
136
|
+
</main>
|
|
137
|
+
</body>
|
|
138
|
+
</html>
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="
|
|
2
|
+
<html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/docs/_misc/html-integration.html" data-doc-id="docs/_misc/html-integration">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>HTML integration (no Lit) — Concorde
|
|
6
|
+
<title>HTML integration (no Lit) — Concorde</title>
|
|
7
7
|
<meta name="description" content="Some hosts (legacy PHP pages, static HTML) embed Concorde components without a Lit build step. They can use HTML attributes such as data-bind, dataProvider, and formDataProvider on tags directly in th">
|
|
8
|
-
<meta name="keywords" content="Concorde, supersoniks, docs/
|
|
9
|
-
<meta name="concorde-doc-id" content="docs/
|
|
10
|
-
<link rel="canonical" href="https://concorde.supersoniks.org/docs/
|
|
11
|
-
<link rel="alternate" type="text/markdown" href="https://concorde.supersoniks.org/docs/misc/html-integration.md">
|
|
8
|
+
<meta name="keywords" content="Concorde, supersoniks, docs/_misc/html-integration, html-integration, HTML integration (no Lit), reference, data-bind, dataProvider, formDataProvider, sonic-input, name, src/docs/example/, ">
|
|
9
|
+
<meta name="concorde-doc-id" content="docs/_misc/html-integration">
|
|
10
|
+
<link rel="canonical" href="https://concorde.supersoniks.org/crawl/docs/_misc/html-integration.html">
|
|
12
11
|
</head>
|
|
13
12
|
<body>
|
|
14
13
|
<header>
|
|
15
|
-
<p><a href="
|
|
14
|
+
<p><a href="../../index.html">Concorde documentation (crawl)</a> · <a href="https://concorde.supersoniks.org/#docs/_misc/html-integration.md/html-integration" rel="nofollow">interactive version</a></p>
|
|
16
15
|
</header>
|
|
17
16
|
<main>
|
|
18
17
|
<article>
|
|
19
|
-
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — HTML integration (no Lit)</strong>. Some hosts (legacy PHP pages, static HTML) embed Concorde components without a Lit build step. They can use HTML attributes such as data-bind, dataProvider, and formDataProvider on tags directly in th <span>Doc ID: <code>docs/
|
|
18
|
+
<p class="doc-lead" id="doc-summary"><strong>Concorde reference — HTML integration (no Lit)</strong>. Some hosts (legacy PHP pages, static HTML) embed Concorde components without a Lit build step. They can use HTML attributes such as data-bind, dataProvider, and formDataProvider on tags directly in th <span>Doc ID: <code>docs/_misc/html-integration</code>. Keywords: Concorde, supersoniks, docs/_misc/html-integration, html-integration, HTML integration (no Lit), reference, data-bind, dataProvider, formDataProvider, sonic-input, name, src/docs/example/, . URL: <a href="https://concorde.supersoniks.org/crawl/docs/_misc/html-integration.html">https://concorde.supersoniks.org/crawl/docs/_misc/html-integration.html</a>.</span></p>
|
|
20
19
|
<h1 id="html-integration-no-lit">HTML integration (no Lit)</h1>
|
|
21
20
|
<p>Some hosts (legacy PHP pages, static HTML) embed Concorde components <strong>without</strong> a Lit build step. They can use HTML attributes such as <strong><code>data-bind</code></strong>, <strong><code>dataProvider</code></strong>, and <strong><code>formDataProvider</code></strong> on tags directly in the page.</p>
|
|
22
|
-
<p><strong>Form fields</strong> (<code>sonic-input</code>, checkbox, select, …) bind only via <strong><code>formDataProvider</code> + <code>name</code></strong>. They do not autofill from ancestor <code>dataProvider</code
|
|
23
|
-
<p>That style is <strong>not</strong> what we demonstrate in this doc site: live examples are <strong>Lit components</strong> under <code>src/docs/example/</code>, registered once and reused from Markdown via tags like <code><docs-
|
|
21
|
+
<p><strong>Form fields</strong> (<code>sonic-input</code>, checkbox, select, …) bind only via <strong><code>formDataProvider</code> + <code>name</code></strong>. They do not autofill from ancestor <code>dataProvider</code> (Subscriber was removed from FormElement — see <a href="./formelement-subscriber-removal.html#formelement-subscriber-removal">FormElement without Subscriber</a>).</p>
|
|
22
|
+
<p>That style is <strong>not</strong> what we demonstrate in this doc site: live examples are <strong>Lit components</strong> under <code>src/docs/example/</code>, registered once and reused from Markdown via tags like <code><docs-joke-search-demo></code>.</p>
|
|
24
23
|
<table>
|
|
25
24
|
<thead>
|
|
26
25
|
<tr>
|
|
@@ -30,11 +29,15 @@
|
|
|
30
29
|
</thead>
|
|
31
30
|
<tbody><tr>
|
|
32
31
|
<td>Learn modern patterns</td>
|
|
33
|
-
<td><a href="
|
|
32
|
+
<td><a href="../_getting-started/my-first-component.html#my-first-component">My first component</a>, <a href="../_core-concept/dataFlow.html#dataFlow">Data flow</a></td>
|
|
34
33
|
</tr>
|
|
35
34
|
<tr>
|
|
36
35
|
<td>Author doc examples</td>
|
|
37
|
-
<td><code><docs-lit-demo></code> + <code>src/docs/example/*.ts</code> — see <a href="
|
|
36
|
+
<td><code><docs-lit-demo></code> + <code>src/docs/example/*.ts</code> — see <a href="../_getting-started/my-first-component.html#my-first-component">My first component</a></td>
|
|
37
|
+
</tr>
|
|
38
|
+
<tr>
|
|
39
|
+
<td>Embed in plain HTML only</td>
|
|
40
|
+
<td><code>data-bind</code> / Subscriber docs in <strong>Legacy</strong> — <a href="../_core-concept/subscriber.html#subscriber">Subscriber mixin</a></td>
|
|
38
41
|
</tr>
|
|
39
42
|
</tbody></table>
|
|
40
43
|
<p>New application code in TypeScript should use <strong><code>@subscribe</code></strong>, <strong><code>formDataProvider</code> + <code>name</code></strong>, and Lit templates — not HTML <code>data-bind</code>.</p>
|