@supersoniks/concorde 4.9.1 → 4.9.2

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.
Files changed (106) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +106 -106
  3. package/concorde-core.es.js +4 -7
  4. package/dist/concorde-core.bundle.js +106 -106
  5. package/dist/concorde-core.es.js +4 -7
  6. package/dist/docs-mock-api-sw.js +1 -0
  7. package/dist/js/core/utils/HTML.js +4 -5
  8. package/dist/js/core/utils/HTML.js.map +1 -1
  9. package/dist/robots.txt +15 -1
  10. package/dist/types/core/utils/HTML.d.ts.map +1 -1
  11. package/docs/assets/{index-CZLTFws2.css → index-Bnp7gVaA.css} +1 -1
  12. package/docs/assets/{index-nkkwC13U.js → index-hElUgV9_.js} +505 -438
  13. package/docs/crawl/core/components/functional/date/date.html +190 -0
  14. package/docs/crawl/core/components/functional/fetch/fetch.html +109 -0
  15. package/docs/crawl/core/components/functional/if/if.html +27 -0
  16. package/docs/crawl/core/components/functional/list/list.html +70 -0
  17. package/docs/crawl/core/components/functional/mix/mix.html +45 -0
  18. package/docs/crawl/core/components/functional/queue/queue.html +96 -0
  19. package/docs/crawl/core/components/functional/router/router.html +106 -0
  20. package/docs/crawl/core/components/functional/sdui/sdui.html +269 -0
  21. package/docs/crawl/core/components/functional/states/states.html +66 -0
  22. package/docs/crawl/core/components/functional/submit/submit.html +160 -0
  23. package/docs/crawl/core/components/functional/subscriber/subscriber.html +67 -0
  24. package/docs/crawl/core/components/functional/value/value.html +51 -0
  25. package/docs/crawl/core/components/ui/alert/alert.html +110 -0
  26. package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +23 -0
  27. package/docs/crawl/core/components/ui/badge/badge.html +119 -0
  28. package/docs/crawl/core/components/ui/button/button.html +149 -0
  29. package/docs/crawl/core/components/ui/captcha/captcha.html +30 -0
  30. package/docs/crawl/core/components/ui/card/card.html +99 -0
  31. package/docs/crawl/core/components/ui/divider/divider.html +58 -0
  32. package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +73 -0
  33. package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +135 -0
  34. package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +79 -0
  35. package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +62 -0
  36. package/docs/crawl/core/components/ui/form/input/input.html +109 -0
  37. package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +106 -0
  38. package/docs/crawl/core/components/ui/form/radio/radio.html +56 -0
  39. package/docs/crawl/core/components/ui/form/select/select.html +73 -0
  40. package/docs/crawl/core/components/ui/form/switch/switch.html +56 -0
  41. package/docs/crawl/core/components/ui/form/textarea/textarea.html +59 -0
  42. package/docs/crawl/core/components/ui/group/group.html +82 -0
  43. package/docs/crawl/core/components/ui/icon/icon.html +133 -0
  44. package/docs/crawl/core/components/ui/image/image.html +110 -0
  45. package/docs/crawl/core/components/ui/link/link.html +42 -0
  46. package/docs/crawl/core/components/ui/loader/loader.html +50 -0
  47. package/docs/crawl/core/components/ui/menu/menu.html +322 -0
  48. package/docs/crawl/core/components/ui/modal/modal.html +117 -0
  49. package/docs/crawl/core/components/ui/pop/pop.html +102 -0
  50. package/docs/crawl/core/components/ui/progress/progress.html +58 -0
  51. package/docs/crawl/core/components/ui/table/table.html +413 -0
  52. package/docs/crawl/core/components/ui/toast/toast.html +122 -0
  53. package/docs/crawl/core/components/ui/tooltip/tooltip.html +79 -0
  54. package/docs/crawl/docs/_core-concept/dataFlow.html +166 -0
  55. package/docs/crawl/docs/_core-concept/overview.html +66 -0
  56. package/docs/crawl/docs/_core-concept/subscriber.html +75 -0
  57. package/docs/crawl/docs/_decorators/ancestor-attribute.html +116 -0
  58. package/docs/crawl/docs/_decorators/auto-subscribe.html +202 -0
  59. package/docs/crawl/docs/_decorators/bind.html +141 -0
  60. package/docs/crawl/docs/_decorators/get.html +120 -0
  61. package/docs/crawl/docs/_decorators/handle.html +165 -0
  62. package/docs/crawl/docs/_decorators/on-assign.html +355 -0
  63. package/docs/crawl/docs/_decorators/patch.html +52 -0
  64. package/docs/crawl/docs/_decorators/post.html +102 -0
  65. package/docs/crawl/docs/_decorators/publish.html +61 -0
  66. package/docs/crawl/docs/_decorators/put.html +49 -0
  67. package/docs/crawl/docs/_decorators/subscribe.html +109 -0
  68. package/docs/crawl/docs/_decorators/wait-for-ancestors.html +137 -0
  69. package/docs/crawl/docs/_directives/sub.html +93 -0
  70. package/docs/crawl/docs/_getting-started/ai-agents.html +134 -0
  71. package/docs/crawl/docs/_getting-started/concorde-manual-install.html +100 -0
  72. package/docs/crawl/docs/_getting-started/concorde-outside.html +58 -0
  73. package/docs/crawl/docs/_getting-started/create-a-component.html +111 -0
  74. package/docs/crawl/docs/_getting-started/my-first-component.html +189 -0
  75. package/docs/crawl/docs/_getting-started/my-first-subscriber.html +110 -0
  76. package/docs/crawl/docs/_getting-started/pubsub.html +62 -0
  77. package/docs/crawl/docs/_getting-started/start.html +76 -0
  78. package/docs/crawl/docs/_getting-started/theming.html +85 -0
  79. package/docs/crawl/docs/_misc/api-configuration.html +149 -0
  80. package/docs/crawl/docs/_misc/dataProviderKey.html +135 -0
  81. package/docs/crawl/docs/_misc/docs-mock-api.html +146 -0
  82. package/docs/crawl/docs/_misc/dynamic-path.html +180 -0
  83. package/docs/crawl/docs/_misc/endpoint.html +50 -0
  84. package/docs/crawl/docs/_misc/html-integration.html +47 -0
  85. package/docs/crawl/hubs/decorators.html +467 -0
  86. package/docs/crawl/hubs/form-components.html +357 -0
  87. package/docs/crawl/hubs/remote-data.html +374 -0
  88. package/docs/crawl/index.html +99 -0
  89. package/docs/docs-mock-api-sw.js +3 -1
  90. package/docs/docs-mock-api-sw.js.map +2 -2
  91. package/docs/index.html +3 -2
  92. package/docs/llms-full.txt +5423 -0
  93. package/docs/llms.txt +102 -0
  94. package/docs/robots.txt +15 -1
  95. package/docs/sitemap.xml +231 -0
  96. package/docs/src/docs/_decorators/get.md +47 -1
  97. package/docs/src/docs/search/docs-search.json +31 -1
  98. package/index.html +1 -0
  99. package/package.json +1 -1
  100. package/public/docs-mock-api-sw.js +1 -0
  101. package/public/robots.txt +15 -1
  102. package/scripts/generate-crawl-docs.mjs +569 -0
  103. package/scripts/post-build-docs.js +18 -14
  104. package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +42 -0
  105. package/src/core/utils/HTML.ts +4 -5
  106. package/src/docs/search/docs-search.json +61 -1
@@ -0,0 +1,357 @@
1
+ <!DOCTYPE html>
2
+ <html lang="fr" data-crawl-url="https://concorde.supersoniks.org/crawl/hubs/form-components.html" data-doc-id="hubs/form-components">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Concorde form components — Concorde</title>
7
+ <meta name="description" content="Hub for form UI: sonic-input, sonic-select, sonic-checkbox, sonic-submit, formDataProvider, FormElement.">
8
+ <meta name="keywords" content="form, FormElement, formDataProvider, sonic-input, sonic-select, sonic-checkbox, sonic-submit">
9
+ <meta name="concorde-doc-id" content="hubs/form-components">
10
+ <link rel="canonical" href="https://concorde.supersoniks.org/crawl/hubs/form-components.html">
11
+ </head>
12
+ <body>
13
+ <header>
14
+ <p><a href="../index.html">Concorde documentation (crawl)</a></p>
15
+ </header>
16
+ <main>
17
+ <article>
18
+ <p class="doc-lead" id="doc-summary"><strong>Concorde documentation — Concorde form components</strong>. Hub for form UI: sonic-input, sonic-select, sonic-checkbox, sonic-submit, formDataProvider, FormElement. <span>Doc ID: <code>hubs/form-components</code>. Keywords: form, FormElement, formDataProvider, sonic-input, sonic-select, sonic-checkbox, sonic-submit. URL: <a href="https://concorde.supersoniks.org/crawl/hubs/form-components.html">https://concorde.supersoniks.org/crawl/hubs/form-components.html</a>.</span></p>
19
+ <section id="core-components-ui-form-checkbox-checkbox" data-doc-id="core/components/ui/form/checkbox/checkbox">
20
+ <h2><a href="../core/components/ui/form/checkbox/checkbox.html">Checkbox</a></h2>
21
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/checkbox/checkbox</code> · <a href="../core/components/ui/form/checkbox/checkbox.html">full page</a></p>
22
+ <p>&gt;Already checked checkbox</p>
23
+ <pre class="doc-excerpt">Checkbox
24
+
25
+ Size
26
+
27
+ 2xs checkbox
28
+ xs checkbox
29
+ sm checkbox
30
+ default checkbox
31
+ lg checkbox
32
+ xl checkbox
33
+ 2xl checkbox
34
+
35
+ Checked
36
+
37
+ Already checked checkbox
38
+
39
+ Disabled
40
+
41
+ Disabled checkbox
42
+
43
+ Disabled and checked
44
+
45
+ Disabled but already checked checkbox
46
+
47
+ Checkbox with link
48
+
49
+ Checkbox with link
50
+
51
+ Check all checkbox
52
+
53
+ All
54
+
55
+ Foo
56
+ Bar
57
+
58
+ Enabling unsetOnDisconect ensures that outdated or irrelevant values are not retained in the form state once their associated inputs are no longer rendered.
59
+
60
+ Baz
61
+
62
+ Example of use — blacklist + queue
63
+
64
+ Checked blacklistFlags values are sent to the mock API (?blacklistFlags=racist,sexist,…), which excludes jokes whose flags match (see filterDocsJokes in src/docs/mock-api/fixtures.ts).</pre>
65
+ </section>
66
+ <section id="core-components-ui-form-fieldset-fieldset" data-doc-id="core/components/ui/form/fieldset/fieldset">
67
+ <h2><a href="../core/components/ui/form/fieldset/fieldset.html">Fieldset</a></h2>
68
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/fieldset/fieldset</code> · <a href="../core/components/ui/form/fieldset/fieldset.html">full page</a></p>
69
+ <p>Default</p>
70
+ <pre class="doc-excerpt">Fieldset
71
+
72
+ Variant
73
+
74
+ Default
75
+
76
+ Ghost
77
+
78
+ Shadow
79
+
80
+ Legend
81
+
82
+ Custom legend via slot
83
+
84
+ Description via composant : sonic-legend-description
85
+
86
+ Short hand
87
+
88
+ Example of use
89
+
90
+ Informations personnelles
91
+ Description du fieldset lorem ipsum dolor
92
+
93
+ Mentions légales
94
+ Conditions générales d'utilisation
95
+
96
+ - Sélectionner -
97
+ Je préfère ne pas le dire
98
+ Homme
99
+ Femme
100
+
101
+ Coordonnées
102
+
103
+ S'inscrire
104
+
105
+ Continuer sans m'inscrire
106
+
107
+ Submitted informations...</pre>
108
+ </section>
109
+ <section id="core-components-ui-form-form-actions-form-actions" data-doc-id="core/components/ui/form/form-actions/form-actions">
110
+ <h2><a href="../core/components/ui/form/form-actions/form-actions.html">Form-actions</a></h2>
111
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/form-actions/form-actions</code> · <a href="../core/components/ui/form/form-actions/form-actions.html">full page</a></p>
112
+ <p>Left seats</p>
113
+ <pre class="doc-excerpt">Form-actions
114
+
115
+ Left by default
116
+
117
+ Submit
118
+ Cancel
119
+
120
+ Justify
121
+
122
+ Submit
123
+ Cancel
124
+
125
+ Direction
126
+
127
+ Submit
128
+ Cancel
129
+
130
+ Center
131
+
132
+ Left seats
133
+
134
+ Right seats</pre>
135
+ </section>
136
+ <section id="core-components-ui-form-form-layout-form-layout" data-doc-id="core/components/ui/form/form-layout/form-layout">
137
+ <h2><a href="../core/components/ui/form/form-layout/form-layout.html">Form-layout</a></h2>
138
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/form-layout/form-layout</code> · <a href="../core/components/ui/form/form-layout/form-layout.html">full page</a></p>
139
+ <p>autocomplete=&quot;email&quot;</p>
140
+ <pre class="doc-excerpt">Form-layout
141
+
142
+ - Sélectionner -
143
+ Je préfère ne pas le dire
144
+ Homme
145
+ Femme
146
+
147
+ Activer une superbe option
148
+ Inscription à la newsletter
149
+ J'ai lu et accepte les Conditions générales de ventes
150
+
151
+ Valider</pre>
152
+ </section>
153
+ <section id="core-components-ui-form-input-autocomplete-input-autocomplete" data-doc-id="core/components/ui/form/input-autocomplete/input-autocomplete">
154
+ <h2><a href="../core/components/ui/form/input-autocomplete/input-autocomplete.html">Input-autocomplete</a></h2>
155
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/input-autocomplete/input-autocomplete</code> · <a href="../core/components/ui/form/input-autocomplete/input-autocomplete.html">full page</a></p>
156
+ <p>The input-autocomplete component brings input and queue together in order to create a suggest behavior. This is why this component is partially configured as a form input and as a queue.</p>
157
+ <pre class="doc-excerpt">Input-autocomplete
158
+
159
+ The input-autocomplete component brings input and queue together in order to create a suggest behavior. This is why this component is partially configured as a form input and as a queue.
160
+
161
+ Please note that only basic text input params and methods are implemented at this time. You should also be sure to understand the behavior of a queue in order to take full advantage of the input-autocomplete component.
162
+
163
+ Here are some of the features of the input-autocomplete component:
164
+
165
+ Doc examples below use HTML binding on suggestion rows. The Lit equivalent uses an items callback with the row object (see docs-queue-geo-demo in src/docs/example/docs-queue-demos.ts). Embedding without Lit: HTML integration.
166
+
167
+ It provides a suggest behavior, where the user can type a few letters and the component will suggest possible matches.
168
+ It can be used with a variety of data providers, such as an API.
169
+ It is fully customizable, so you can change the look and feel of the component to match your needs.
170
+
171
+ If you are looking for a component to provide a suggest behavior, the input-autocomplete component is a good option.
172
+
173
+ Simple Example
174
+
175
+ In this example, the input will use its name as the sea</pre>
176
+ </section>
177
+ <section id="core-components-ui-form-input-input" data-doc-id="core/components/ui/form/input/input">
178
+ <h2><a href="../core/components/ui/form/input/input.html">Input</a></h2>
179
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/input/input</code> · <a href="../core/components/ui/form/input/input.html">full page</a></p>
180
+ <p>Native attibutes list</p>
181
+ <pre class="doc-excerpt">Input
182
+
183
+ Native attibutes list
184
+
185
+ Label
186
+
187
+ Placeholder
188
+
189
+ Value
190
+
191
+ Required
192
+
193
+ Description
194
+
195
+ Type
196
+ Liste des types
197
+
198
+ Text
199
+
200
+ Size
201
+
202
+ List
203
+
204
+ Prefix &amp; suffix
205
+
206
+ InlineContent
207
+
208
+ 4 max
209
+
210
+ Example of use — search + queue
211
+
212
+ Filter with formDataProvider + name=&quot;contains&quot; (mock API: substring on joke text). Caption and rows via Lit (@subscribe, .items on sonic-queue):
213
+
214
+ azdazd
215
+
216
+ PLOP --&gt;</pre>
217
+ </section>
218
+ <section id="core-components-ui-form-radio-radio" data-doc-id="core/components/ui/form/radio/radio">
219
+ <h2><a href="../core/components/ui/form/radio/radio.html">Radio</a></h2>
220
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/radio/radio</code> · <a href="../core/components/ui/form/radio/radio.html">full page</a></p>
221
+ <p>&gt;Already checked radio</p>
222
+ <pre class="doc-excerpt">Radio
223
+
224
+ Size
225
+
226
+ 2xs radio
227
+ xs radio
228
+ sm radio
229
+ default radio
230
+ lg radio
231
+ xl radio
232
+ 2xl radio
233
+
234
+ Checked
235
+
236
+ Already checked radio
237
+
238
+ Disabled
239
+
240
+ Disabled radio
241
+
242
+ Disabled and checked
243
+
244
+ Disabled but already checked radio
245
+
246
+ radio with link
247
+
248
+ radio with link
249
+
250
+ Example of use — blacklist + queue
251
+
252
+ Same mock filter as Checkbox (blacklistFlags query param). Radio sends one flag at a time.</pre>
253
+ </section>
254
+ <section id="core-components-ui-form-select-select" data-doc-id="core/components/ui/form/select/select">
255
+ <h2><a href="../core/components/ui/form/select/select.html">Select</a></h2>
256
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/select/select</code> · <a href="../core/components/ui/form/select/select.html">full page</a></p>
257
+ <p>{&quot;value&quot;:&quot;dark&quot;, &quot;wording&quot;:&quot;dark (set by \&quot;attribute\&quot;)&quot;, &quot;selected&quot; : &quot;true&quot;}, {&quot;value&quot;:&quot;auto&quot;, &quot;wording&quot;:&quot;auto&quot;}</p>
258
+ <pre class="doc-excerpt">Select
259
+
260
+ Options
261
+
262
+ No Selection
263
+ One
264
+ Two (set by &quot;tag&quot;)
265
+ Three
266
+
267
+ Size
268
+
269
+ 2xs
270
+ xs
271
+ sm
272
+ md
273
+ default
274
+ lg
275
+ xl
276
+ 2xl
277
+
278
+ Multiple
279
+
280
+ Choose a number
281
+ One
282
+ Two
283
+ Three
284
+
285
+ Disabled
286
+
287
+ Choose a number
288
+ One
289
+ Two
290
+ Three
291
+
292
+ Example of use — language filter + queue
293
+
294
+ name=&quot;lang&quot; is sent as ?lang=fr|en to the doc mock API (filterDocsJokes). Same pattern as Input (contains):</pre>
295
+ </section>
296
+ <section id="core-components-ui-form-switch-switch" data-doc-id="core/components/ui/form/switch/switch">
297
+ <h2><a href="../core/components/ui/form/switch/switch.html">Switch</a></h2>
298
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/switch/switch</code> · <a href="../core/components/ui/form/switch/switch.html">full page</a></p>
299
+ <p>&gt;Already checked switch</p>
300
+ <pre class="doc-excerpt">Switch
301
+
302
+ Size
303
+
304
+ 2xs switch
305
+ xs switch
306
+ sm switch
307
+ default switch
308
+ lg switch
309
+ xl switch
310
+ 2xl switch
311
+
312
+ Checked
313
+
314
+ Already checked switch
315
+
316
+ Disabled
317
+
318
+ Disabled switch
319
+
320
+ Disabled and checked
321
+
322
+ Disabled but already checked switch
323
+
324
+ switch with link
325
+
326
+ switch with link
327
+
328
+ Example of use — blacklist + queue
329
+
330
+ Same mock filter as Checkbox; switches can enable several flags (comma-separated in the query).</pre>
331
+ </section>
332
+ <section id="core-components-ui-form-textarea-textarea" data-doc-id="core/components/ui/form/textarea/textarea">
333
+ <h2><a href="../core/components/ui/form/textarea/textarea.html">Textarea</a></h2>
334
+ <p><strong>Doc ID:</strong> <code>core/components/ui/form/textarea/textarea</code> · <a href="../core/components/ui/form/textarea/textarea.html">full page</a></p>
335
+ <p>Native attibutes list</p>
336
+ <pre class="doc-excerpt">Textarea
337
+
338
+ Native attibutes list
339
+
340
+ Label
341
+
342
+ Placeholder
343
+
344
+ Value
345
+
346
+ Required
347
+
348
+ Rows
349
+
350
+ Description
351
+
352
+ Size</pre>
353
+ </section>
354
+ </article>
355
+ </main>
356
+ </body>
357
+ </html>