@supersoniks/concorde 5.0.4 → 5.1.0
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-component-docs/SKILL.md +194 -0
- package/.agents/skills/concorde-component-docs/template.md +45 -0
- package/.tmp-cem/custom-elements.json +13705 -0
- package/ai/cursor/rules/concorde-theme.mdc +1 -1
- package/ai/cursor/rules/concorde.mdc +1 -1
- package/ai/skills/concorde/SKILL.md +1 -1
- package/ai/skills/concorde-theme/SKILL.md +21 -10
- package/build-infos.json +1 -1
- package/concorde-3d.bundle.js +3960 -0
- package/concorde-3d.es.js +33433 -0
- package/concorde-core.bundle.js +507 -513
- package/concorde-core.es.js +4027 -3702
- package/concorde-hugging-face-infer.bundle.js +32 -0
- package/concorde-hugging-face-infer.es.js +2952 -0
- package/concorde-interactive.bundle.js +1157 -0
- package/concorde-interactive.es.js +10734 -0
- package/concorde-shader.bundle.js +116 -0
- package/concorde-shader.es.js +8353 -0
- package/concorde-webgpu.bundle.js +307 -0
- package/concorde-webgpu.es.js +8627 -0
- package/custom-elements-manifest.config.mjs +14 -0
- package/dist/concorde-core.bundle.js +507 -513
- package/dist/concorde-core.es.js +4027 -3702
- package/dist/docs-mock-api-sw.js +2 -0
- package/dist/docs-mock-api-sw.js.map +2 -2
- package/gitlab/job_tests.sh +0 -0
- package/index.html +4 -2
- package/package.json +42 -2
- package/public/docs-mock-api-sw.js +2 -0
- package/public/docs-mock-api-sw.js.map +2 -2
- package/scripts/generate-sdui-catalog.mjs +250 -0
- package/scripts/generate-sdui-catalog.spec.ts +91 -0
- package/scripts/pre-build.mjs +15 -0
- package/src/core/components/functional/if/if.ts +0 -0
- package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +5 -5
- package/src/core/components/functional/sdui/__fixtures__/descriptors.ts +251 -0
- package/src/core/components/functional/sdui/__snapshots__/sdui-action.spec.ts.snap +73 -0
- package/src/core/components/functional/sdui/__snapshots__/sdui-incremental.spec.ts.snap +50 -0
- package/src/core/components/functional/sdui/__snapshots__/sdui-partial.spec.ts.snap +50 -0
- package/src/core/components/functional/sdui/__snapshots__/sdui.regression.spec.ts.snap +461 -0
- package/src/core/components/functional/sdui/component-catalog.gaps.json +511 -0
- package/src/core/components/functional/sdui/component-catalog.json +3103 -0
- package/src/core/components/functional/sdui/component-catalog.spec.ts +23 -0
- package/src/core/components/functional/sdui/sdui-action.spec.ts +99 -0
- package/src/core/components/functional/sdui/sdui-dom-snapshot.ts +61 -0
- package/src/core/components/functional/sdui/sdui-extension-points.md +94 -0
- package/src/core/components/functional/sdui/sdui-incremental.spec.ts +137 -0
- package/src/core/components/functional/sdui/sdui-partial.spec.ts +83 -0
- package/src/core/components/functional/sdui/sdui-partial.ts +19 -0
- package/src/core/components/functional/sdui/sdui-safe.spec.ts +188 -0
- package/src/core/components/functional/sdui/sdui-safe.ts +100 -0
- package/src/core/components/functional/sdui/sdui.md +122 -0
- package/src/core/components/functional/sdui/sdui.regression.spec.ts +64 -0
- package/src/core/components/functional/sdui/sdui.ts +442 -34
- package/src/core/components/functional/sdui/types.ts +49 -0
- package/src/core/components/functional/value/value.ts +0 -0
- package/src/core/components/ui/_css/align.ts +1 -0
- package/src/core/components/ui/_css/type.ts +86 -8
- package/src/core/components/ui/_i18n/ui-aria-labels.ts +8 -0
- package/src/core/components/ui/alert/alert.md +21 -2
- package/src/core/components/ui/alert-messages/alert-messages.md +85 -0
- package/src/core/components/ui/badge/badge.md +19 -6
- package/src/core/components/ui/badge/badge.ts +8 -9
- package/src/core/components/ui/button/button.ts +5 -15
- package/src/core/components/ui/captcha/captcha.md +65 -6
- package/src/core/components/ui/card/card.md +73 -10
- package/src/core/components/ui/card/card.ts +24 -22
- package/src/core/components/ui/divider/divider.md +107 -13
- package/src/core/components/ui/divider/divider.ts +40 -33
- package/src/core/components/ui/form/fieldset/fieldset.md +175 -99
- package/src/core/components/ui/form/fieldset/fieldset.ts +15 -28
- package/src/core/components/ui/form/fieldset/legend.ts +13 -13
- package/src/core/components/ui/form/form-actions/form-actions.md +75 -52
- package/src/core/components/ui/form/form-actions/form-actions.ts +7 -5
- package/src/core/components/ui/form/form-layout/form-layout.md +109 -34
- package/src/core/components/ui/form/form-layout/form-layout.ts +27 -24
- package/src/core/components/ui/form/textarea/textarea.ts +4 -3
- package/src/core/components/ui/group/group.md +36 -36
- package/src/core/components/ui/group/group.ts +5 -10
- package/src/core/components/ui/icon/icon.md +132 -43
- package/src/core/components/ui/image/image.md +35 -3
- package/src/core/components/ui/link/link.md +43 -5
- package/src/core/components/ui/loader/loader.md +79 -22
- package/src/core/components/ui/loader/loader.ts +67 -27
- package/src/core/components/ui/loader/styles/fixed.ts +6 -11
- package/src/core/components/ui/menu/menu.md +133 -92
- package/src/core/components/ui/menu/menu.ts +53 -58
- package/src/core/components/ui/modal/modal.md +163 -47
- package/src/core/components/ui/modal/modal.ts +2 -4
- package/src/core/components/ui/pop/pop.md +217 -123
- package/src/core/components/ui/pop/pop.ts +0 -1
- package/src/core/components/ui/progress/progress.md +76 -30
- package/src/core/components/ui/progress/progress.ts +25 -56
- package/src/core/components/ui/table/table-caption.ts +2 -2
- package/src/core/components/ui/table/table-tbody.ts +3 -3
- package/src/core/components/ui/table/table-td.ts +23 -18
- package/src/core/components/ui/table/table-th.ts +8 -8
- package/src/core/components/ui/table/table-tr.ts +4 -4
- package/src/core/components/ui/table/table.md +147 -171
- package/src/core/components/ui/table/table.ts +20 -19
- package/src/core/components/ui/theme/theme-collection/auto.ts +15 -0
- package/src/core/components/ui/theme/theme-collection/core-variables.ts +8 -31
- package/src/core/components/ui/theme/theme-collection/dark.ts +1 -7
- package/src/core/components/ui/theme/theme-collection/light.ts +30 -26
- package/src/core/components/ui/theme/theme.md +122 -0
- package/src/core/components/ui/theme/theme.ts +30 -7
- package/src/core/components/ui/toast/toast-item.ts +6 -9
- package/src/core/components/ui/toast/toast.md +108 -58
- package/src/core/components/ui/toast/types.ts +1 -1
- package/src/core/components/ui/tooltip/tooltip.md +68 -26
- package/src/docs/_getting-started/start.md +1 -1
- package/src/docs/_getting-started/theming.md +223 -61
- package/src/docs/code.ts +125 -58
- package/src/docs/header/header.ts +62 -54
- package/src/docs/mock-api/router.ts +2 -0
- package/src/docs/navigation/navigation.ts +6 -3
- package/src/docs/search/docs-search.json +2504 -399
- package/src/docs/search/markdown-renderer.ts +6 -6
- package/src/docs/search/search.ts +4 -4
- package/src/docs/tailwind/css/tailwind.css +6 -5
- package/src/tsconfig.json +108 -0
- package/src/tsconfig.tsbuildinfo +1 -1
- package/tailwind.config.js +19 -0
|
@@ -0,0 +1,3103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"generatedAt": "2026-10-08T11:47:30.055Z",
|
|
4
|
+
"componentCount": 67,
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"tag": "sonic-alert",
|
|
8
|
+
"className": "Alert",
|
|
9
|
+
"module": "src/core/components/ui/alert/alert.ts",
|
|
10
|
+
"description": "Affiche un message en ligne.\nSoit par ses simples attributs \"label\" et \"text\", soit par son slot pour des messages plus complexes.",
|
|
11
|
+
"props": [
|
|
12
|
+
{
|
|
13
|
+
"name": "label",
|
|
14
|
+
"attribute": "label",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"default": "",
|
|
17
|
+
"description": "Titre du message (texte brut, utiliser le slot pour du contenu riche)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "noIcon",
|
|
21
|
+
"attribute": "noIcon",
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"default": "false"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "text",
|
|
27
|
+
"attribute": "text",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"default": "",
|
|
30
|
+
"description": "Peut être renseigné dans le slot pour créer des messages plus complexes"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "size",
|
|
34
|
+
"attribute": "size",
|
|
35
|
+
"type": "Size | undefined"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "dismissible",
|
|
39
|
+
"attribute": "dismissible",
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"default": "false"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "background",
|
|
45
|
+
"attribute": "background",
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"default": "false"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "status",
|
|
51
|
+
"attribute": "status",
|
|
52
|
+
"type": "AlertStatus",
|
|
53
|
+
"default": "default"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "dismissForever",
|
|
57
|
+
"attribute": "dismissForever",
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"default": "false",
|
|
60
|
+
"description": "Mémorise la fermeture dans le localStorage. Nécessite un `id`."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "announce",
|
|
64
|
+
"attribute": "announce",
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"default": "false",
|
|
67
|
+
"description": "Annonce le message aux lecteurs d'écran (role alert/status).\nÀ activer pour les messages injectés dynamiquement, pas pour une alerte déjà dans la page."
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"tag": "sonic-alert-messages",
|
|
73
|
+
"className": "AlertMessages",
|
|
74
|
+
"module": "src/core/components/ui/alert-messages/alert-messages.ts",
|
|
75
|
+
"props": [
|
|
76
|
+
{
|
|
77
|
+
"name": "size",
|
|
78
|
+
"attribute": "size",
|
|
79
|
+
"type": "Size",
|
|
80
|
+
"default": "md"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "background",
|
|
84
|
+
"attribute": "background",
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"default": "false"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "noIcon",
|
|
90
|
+
"attribute": "noIcon",
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"default": "false"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "messages",
|
|
96
|
+
"attribute": "messages",
|
|
97
|
+
"type": "Array<Message>",
|
|
98
|
+
"default": "[]"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"tag": "sonic-badge",
|
|
104
|
+
"className": "Badge",
|
|
105
|
+
"module": "src/core/components/ui/badge/badge.ts",
|
|
106
|
+
"description": "Un badge simple avec deux slots, un nommé prefix et un nomé suffix de manière à pouvoir mettre (par exemple) une icone avant ou après le contenu.\n* Le badge est comparable au bouton car il possèdent tous les deux les propriétés *type* (primary...), *variant*(outline, ghost), size(xs...)...\n* Le badge n'est pas interactif contrairement au bouton",
|
|
107
|
+
"props": [
|
|
108
|
+
{
|
|
109
|
+
"name": "type",
|
|
110
|
+
"attribute": "type",
|
|
111
|
+
"type": "DefaultType",
|
|
112
|
+
"default": "default",
|
|
113
|
+
"description": "Le type change surtout la couleur composant"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "variant",
|
|
117
|
+
"attribute": "variant",
|
|
118
|
+
"type": "| \"default\" | \"outline\" | \"ghost\"",
|
|
119
|
+
"values": [
|
|
120
|
+
"default",
|
|
121
|
+
"outline",
|
|
122
|
+
"ghost"
|
|
123
|
+
],
|
|
124
|
+
"default": "default",
|
|
125
|
+
"description": "Le composant par defaut sans se paramètre à forte afordance\n* ghost : composant super léger visuellement\n* outline : composant légé avec une bordure"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "size",
|
|
129
|
+
"attribute": "size",
|
|
130
|
+
"type": "Size | undefined",
|
|
131
|
+
"description": "Taille du composant, implique notamment des modifications de typo et de marge interne"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "ellipsis",
|
|
135
|
+
"attribute": "ellipsis",
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"default": "false"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"tag": "sonic-button",
|
|
143
|
+
"className": "Button",
|
|
144
|
+
"module": "src/core/components/ui/button/button.ts",
|
|
145
|
+
"description": "Un bouton simple avec deux slots, un nommé préfix et un nomé suffix de manière à pouvoir mettre (par exemple) une icone avant ou après le contenu.\n* L'objet et ses slot sont en display flex avec direction / alignement et justifications configurables\n* Le bouton est comparable au badge car il possèdent tous les deux les propriétés *type* (primary...), *variant*(outline, ghost), size(xs...)...\n* Le bouton possède cependant et notamment une propriété href contrairement à un badge",
|
|
146
|
+
"props": [
|
|
147
|
+
{
|
|
148
|
+
"name": "type",
|
|
149
|
+
"attribute": "type",
|
|
150
|
+
"type": "ButtonType",
|
|
151
|
+
"default": "default",
|
|
152
|
+
"description": "Le type change surtout la couleur composant"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "variant",
|
|
156
|
+
"attribute": "variant",
|
|
157
|
+
"type": "ButtonVariant",
|
|
158
|
+
"default": "default",
|
|
159
|
+
"description": "Le composant par defaut sans se paramètre à forte affordance\n* gost : composant super léger visuellement\n* outline : composant légé avec une bordure"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "size",
|
|
163
|
+
"attribute": "size",
|
|
164
|
+
"type": "Size | undefined",
|
|
165
|
+
"description": "Taille du composant, implique notamment des modifications de typo et de marge interne"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "shape",
|
|
169
|
+
"attribute": "shape",
|
|
170
|
+
"type": "| \"default\" | \"circle\" | \"square\" | \"block\"",
|
|
171
|
+
"values": [
|
|
172
|
+
"default",
|
|
173
|
+
"circle",
|
|
174
|
+
"square",
|
|
175
|
+
"block"
|
|
176
|
+
],
|
|
177
|
+
"default": "default",
|
|
178
|
+
"description": "Forme du bouton, permet de le forcer en carré ou cercle"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "direction",
|
|
182
|
+
"attribute": "direction",
|
|
183
|
+
"type": "string",
|
|
184
|
+
"default": "row",
|
|
185
|
+
"description": "Propriété de direction *flex* appliquée à l'élément contenant les *slots*"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "alignItems",
|
|
189
|
+
"attribute": "alignItems",
|
|
190
|
+
"type": "string",
|
|
191
|
+
"default": "center",
|
|
192
|
+
"description": "Propriété align-items de *flex* appliquée à l'élément contenant les *slots*"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "justify",
|
|
196
|
+
"attribute": "justify",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"default": "center",
|
|
199
|
+
"description": "Propriété justify-content de *flex* appliquée à l'élément contenant les *slots*"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "align",
|
|
203
|
+
"attribute": "align",
|
|
204
|
+
"type": "Align | undefined",
|
|
205
|
+
"description": "Propriété text-align du bouton"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "minWidth",
|
|
209
|
+
"attribute": "minWidth",
|
|
210
|
+
"type": "string",
|
|
211
|
+
"default": "0",
|
|
212
|
+
"description": "Propriété min-width du bouton"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "icon",
|
|
216
|
+
"attribute": "icon",
|
|
217
|
+
"type": "boolean",
|
|
218
|
+
"default": "false",
|
|
219
|
+
"description": "Si un bouton n'a qu'une icone pour contenu, agrandi l'icone pour des raisons d'équilibre"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "download",
|
|
223
|
+
"attribute": "download",
|
|
224
|
+
"type": "string | null",
|
|
225
|
+
"default": "null"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "autoActive",
|
|
229
|
+
"attribute": "autoActive",
|
|
230
|
+
"type": "AutoActiveMode",
|
|
231
|
+
"default": "partial",
|
|
232
|
+
"description": "mode d'activation du bouton :\n- strict : l'url courante match exactement avec le href du bouton\n- partial : l'url courante match à gauche avec le href du bouton\n- strict-path-only : l'url courante match exactement avec le path du bouton sans les query params\n- disabled : aucune activation / désactivation"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "loading",
|
|
236
|
+
"attribute": "loading",
|
|
237
|
+
"type": "boolean",
|
|
238
|
+
"default": "false",
|
|
239
|
+
"description": "Laisse apparaitre un loader en remplacement du contenu du bouton.\nDésactive également le clic sur le bouton"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "hasPrefix",
|
|
243
|
+
"attribute": "hasPrefix",
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"default": "false"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "hasSuffix",
|
|
249
|
+
"attribute": "hasSuffix",
|
|
250
|
+
"type": "boolean",
|
|
251
|
+
"default": "false"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "prefixes",
|
|
255
|
+
"attribute": "prefixes",
|
|
256
|
+
"type": "HTMLElement[]"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "suffixes",
|
|
260
|
+
"attribute": "suffixes",
|
|
261
|
+
"type": "HTMLElement[]"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "target",
|
|
265
|
+
"attribute": "target",
|
|
266
|
+
"type": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\" | undefined",
|
|
267
|
+
"values": [
|
|
268
|
+
"_self",
|
|
269
|
+
"_blank",
|
|
270
|
+
"_parent",
|
|
271
|
+
"_top"
|
|
272
|
+
],
|
|
273
|
+
"description": "target"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "href",
|
|
277
|
+
"attribute": "href",
|
|
278
|
+
"type": "Route | string"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "goBack",
|
|
282
|
+
"attribute": "goBack",
|
|
283
|
+
"type": "Route | string | null",
|
|
284
|
+
"default": "null"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "pushState",
|
|
288
|
+
"attribute": "pushState",
|
|
289
|
+
"type": "boolean",
|
|
290
|
+
"default": "false",
|
|
291
|
+
"description": "Si présent on passe en mode pushstate"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "active",
|
|
295
|
+
"attribute": "active",
|
|
296
|
+
"type": "boolean",
|
|
297
|
+
"default": "false"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "autoRepeat",
|
|
301
|
+
"attribute": "autoRepeat",
|
|
302
|
+
"type": "boolean",
|
|
303
|
+
"default": "false"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "ariaControls",
|
|
307
|
+
"attribute": "data-aria-controls",
|
|
308
|
+
"type": "string | undefined"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "sonicAriaExpanded",
|
|
312
|
+
"attribute": "data-aria-expanded",
|
|
313
|
+
"type": "boolean | undefined"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "pointerDownTime",
|
|
317
|
+
"attribute": "pointerDownTime",
|
|
318
|
+
"type": "number",
|
|
319
|
+
"default": "0"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "lastRepeatTime",
|
|
323
|
+
"attribute": "lastRepeatTime",
|
|
324
|
+
"type": "number",
|
|
325
|
+
"default": "0"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "isRepeating",
|
|
329
|
+
"attribute": "isRepeating",
|
|
330
|
+
"type": "boolean",
|
|
331
|
+
"default": "false"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "location",
|
|
335
|
+
"attribute": "location",
|
|
336
|
+
"type": "string",
|
|
337
|
+
"default": ""
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"tag": "sonic-captcha",
|
|
343
|
+
"className": "Captcha",
|
|
344
|
+
"module": "src/core/components/ui/captcha/captcha.ts",
|
|
345
|
+
"description": "Un bouton simple avec deux slots, un nommé préfix et un nomé suffix de manière à pouvoir mettre (par exemple) une icone avant ou après le contenu.\n* L'objet et ses slot sont en display flex avec direction / alignement et justifications configurables\n* Le bouton est comparable au badge car il possèdent tous les deux les propriétés *type* (primary...), *variant*(outline, ghost), size(xs...)...\n* Le bouton possède cependant et notamment une propriété href contrairement à un badge",
|
|
346
|
+
"props": [
|
|
347
|
+
{
|
|
348
|
+
"name": "key",
|
|
349
|
+
"attribute": "key",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"default": ""
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "action",
|
|
355
|
+
"attribute": "action",
|
|
356
|
+
"type": "string | null",
|
|
357
|
+
"default": "null"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "zIndex",
|
|
361
|
+
"attribute": "zIndex",
|
|
362
|
+
"type": "number",
|
|
363
|
+
"default": "9999"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "formPublisher",
|
|
367
|
+
"attribute": "formPublisher",
|
|
368
|
+
"type": "DataProvider<{ needsCaptchaValidation: boolean; captchaKey: string; captchaToken: string; }> | undefined"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "maxNumber",
|
|
372
|
+
"attribute": "maxNumber",
|
|
373
|
+
"type": "number",
|
|
374
|
+
"default": "50000"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "chalengeUrl",
|
|
378
|
+
"attribute": "chalengeUrl",
|
|
379
|
+
"type": "string",
|
|
380
|
+
"default": "https://altcha.supersoniks.org/get-challenge"
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"tag": "sonic-caption",
|
|
386
|
+
"className": "TableCaption",
|
|
387
|
+
"module": "src/core/components/ui/table/table-caption.ts",
|
|
388
|
+
"props": []
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"tag": "sonic-card",
|
|
392
|
+
"className": "Card",
|
|
393
|
+
"module": "src/core/components/ui/card/card.ts",
|
|
394
|
+
"props": [
|
|
395
|
+
{
|
|
396
|
+
"name": "shadow",
|
|
397
|
+
"attribute": "shadow",
|
|
398
|
+
"type": "Shadow",
|
|
399
|
+
"default": "lg",
|
|
400
|
+
"description": "Ombre"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "type",
|
|
404
|
+
"attribute": "type",
|
|
405
|
+
"type": "CardType",
|
|
406
|
+
"default": "base",
|
|
407
|
+
"description": "Le type change surtout la couleur composant"
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"tag": "sonic-card-footer",
|
|
413
|
+
"className": "CardFooter",
|
|
414
|
+
"module": "src/core/components/ui/card/card-footer.ts",
|
|
415
|
+
"props": []
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"tag": "sonic-card-header",
|
|
419
|
+
"className": "CardHeader",
|
|
420
|
+
"module": "src/core/components/ui/card/card-header.ts",
|
|
421
|
+
"props": [
|
|
422
|
+
{
|
|
423
|
+
"name": "label",
|
|
424
|
+
"attribute": "label",
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "description",
|
|
429
|
+
"attribute": "description",
|
|
430
|
+
"type": "string"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"tag": "sonic-card-header-description",
|
|
436
|
+
"className": "CardHeaderDescription",
|
|
437
|
+
"module": "src/core/components/ui/card/card-header-descripton.ts",
|
|
438
|
+
"props": []
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"tag": "sonic-card-main",
|
|
442
|
+
"className": "CardMain",
|
|
443
|
+
"module": "src/core/components/ui/card/card-main.ts",
|
|
444
|
+
"props": []
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"tag": "sonic-checkbox",
|
|
448
|
+
"className": "Checkbox",
|
|
449
|
+
"module": "src/core/components/ui/form/checkbox/checkbox.ts",
|
|
450
|
+
"description": "### sonic-checkbox — FormCheckable + FormInput + FormElement\nSynchronise l'état coché via `formDataProvider` + `name`.\nModes : multiple (défaut), `unique`, `radio`.",
|
|
451
|
+
"props": [
|
|
452
|
+
{
|
|
453
|
+
"name": "touched",
|
|
454
|
+
"attribute": "touched",
|
|
455
|
+
"type": "boolean",
|
|
456
|
+
"default": "false"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "iconName",
|
|
460
|
+
"attribute": "iconName",
|
|
461
|
+
"type": "string",
|
|
462
|
+
"default": "check"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "indeterminateIconName",
|
|
466
|
+
"attribute": "indeterminateIconName",
|
|
467
|
+
"type": "string",
|
|
468
|
+
"default": "minus-small"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "showAsIndeterminate",
|
|
472
|
+
"attribute": "showAsIndeterminate",
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"default": "false"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "hasDescription",
|
|
478
|
+
"attribute": "hasDescription",
|
|
479
|
+
"type": "boolean",
|
|
480
|
+
"default": "false"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "hasLabel",
|
|
484
|
+
"attribute": "hasLabel",
|
|
485
|
+
"type": "boolean",
|
|
486
|
+
"default": "false"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "slotLabelNodes",
|
|
490
|
+
"attribute": "slotLabelNodes",
|
|
491
|
+
"type": "Array<Node>"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "slotDescriptionNodes",
|
|
495
|
+
"attribute": "slotDescriptionNodes",
|
|
496
|
+
"type": "Array<Node>"
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"tag": "sonic-date",
|
|
502
|
+
"className": "SonicDate",
|
|
503
|
+
"module": "src/core/components/functional/date/date.ts",
|
|
504
|
+
"props": [
|
|
505
|
+
{
|
|
506
|
+
"name": "pageLanguage",
|
|
507
|
+
"attribute": "pageLanguage",
|
|
508
|
+
"type": "string",
|
|
509
|
+
"default": "fr"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "wording_billet_periode_validite",
|
|
513
|
+
"attribute": "wording_billet_periode_validite",
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "designMode",
|
|
518
|
+
"attribute": "designMode",
|
|
519
|
+
"type": "boolean | null",
|
|
520
|
+
"default": "null"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "time_zone",
|
|
524
|
+
"attribute": "time_zone",
|
|
525
|
+
"type": "string | null",
|
|
526
|
+
"default": "null"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "date",
|
|
530
|
+
"attribute": "date",
|
|
531
|
+
"type": "number | null",
|
|
532
|
+
"default": "null"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "date_string",
|
|
536
|
+
"attribute": "date_string",
|
|
537
|
+
"type": "string | null",
|
|
538
|
+
"default": "null"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "start_date_string",
|
|
542
|
+
"attribute": "start_date_string",
|
|
543
|
+
"type": "string | null",
|
|
544
|
+
"default": "null"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "end_date_string",
|
|
548
|
+
"attribute": "end_date_string",
|
|
549
|
+
"type": "string | null",
|
|
550
|
+
"default": "null"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "start_date",
|
|
554
|
+
"attribute": "start_date",
|
|
555
|
+
"type": "number",
|
|
556
|
+
"default": "0"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "computedStartDate",
|
|
560
|
+
"attribute": "computedStartDate",
|
|
561
|
+
"type": "number",
|
|
562
|
+
"default": "0"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "end_date",
|
|
566
|
+
"attribute": "end_date",
|
|
567
|
+
"type": "number",
|
|
568
|
+
"default": "0"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "computedEndDate",
|
|
572
|
+
"attribute": "computedEndDate",
|
|
573
|
+
"type": "number",
|
|
574
|
+
"default": "0"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "hide_hours",
|
|
578
|
+
"attribute": "hide_hours",
|
|
579
|
+
"type": "boolean",
|
|
580
|
+
"default": "false"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "era",
|
|
584
|
+
"attribute": "era",
|
|
585
|
+
"type": "\"narrow\" | \"short\" | \"long\" | \"\"",
|
|
586
|
+
"values": [
|
|
587
|
+
"narrow",
|
|
588
|
+
"short",
|
|
589
|
+
"long"
|
|
590
|
+
],
|
|
591
|
+
"default": ""
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "year",
|
|
595
|
+
"attribute": "year",
|
|
596
|
+
"type": "\"numeric\" | \"2-digit\"",
|
|
597
|
+
"values": [
|
|
598
|
+
"numeric",
|
|
599
|
+
"2-digit"
|
|
600
|
+
],
|
|
601
|
+
"default": "numeric"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "month",
|
|
605
|
+
"attribute": "month",
|
|
606
|
+
"type": "| \"numeric\" | \"2-digit\" | \"narrow\" | \"short\" | \"long\"",
|
|
607
|
+
"values": [
|
|
608
|
+
"numeric",
|
|
609
|
+
"2-digit",
|
|
610
|
+
"narrow",
|
|
611
|
+
"short",
|
|
612
|
+
"long"
|
|
613
|
+
],
|
|
614
|
+
"default": "short"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "day",
|
|
618
|
+
"attribute": "day",
|
|
619
|
+
"type": "\"numeric\" | \"2-digit\"",
|
|
620
|
+
"values": [
|
|
621
|
+
"numeric",
|
|
622
|
+
"2-digit"
|
|
623
|
+
],
|
|
624
|
+
"default": "2-digit"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "weekday",
|
|
628
|
+
"attribute": "weekday",
|
|
629
|
+
"type": "\"narrow\" | \"short\" | \"long\" | \"hidden\"",
|
|
630
|
+
"values": [
|
|
631
|
+
"narrow",
|
|
632
|
+
"short",
|
|
633
|
+
"long",
|
|
634
|
+
"hidden"
|
|
635
|
+
],
|
|
636
|
+
"default": "short"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "hour",
|
|
640
|
+
"attribute": "hour",
|
|
641
|
+
"type": "\"numeric\" | \"2-digit\" | \"hidden\"",
|
|
642
|
+
"values": [
|
|
643
|
+
"numeric",
|
|
644
|
+
"2-digit",
|
|
645
|
+
"hidden"
|
|
646
|
+
],
|
|
647
|
+
"default": "2-digit"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "hour12",
|
|
651
|
+
"attribute": "hour12",
|
|
652
|
+
"type": "boolean",
|
|
653
|
+
"default": "false"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "minute",
|
|
657
|
+
"attribute": "minute",
|
|
658
|
+
"type": "\"numeric\" | \"2-digit\" | \"hidden\"",
|
|
659
|
+
"values": [
|
|
660
|
+
"numeric",
|
|
661
|
+
"2-digit",
|
|
662
|
+
"hidden"
|
|
663
|
+
],
|
|
664
|
+
"default": "2-digit"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "language",
|
|
668
|
+
"attribute": "language",
|
|
669
|
+
"type": "string",
|
|
670
|
+
"default": ""
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "renderIf",
|
|
674
|
+
"attribute": "renderIf",
|
|
675
|
+
"type": "boolean",
|
|
676
|
+
"default": "true"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "now",
|
|
680
|
+
"attribute": "now",
|
|
681
|
+
"type": "boolean",
|
|
682
|
+
"default": "false"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"tag": "sonic-divider",
|
|
688
|
+
"className": "Divider",
|
|
689
|
+
"module": "src/core/components/ui/divider/divider.ts",
|
|
690
|
+
"props": [
|
|
691
|
+
{
|
|
692
|
+
"name": "slotNodes",
|
|
693
|
+
"attribute": "slotNodes",
|
|
694
|
+
"type": "Array<Node>"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "hasText",
|
|
698
|
+
"attribute": "hasText",
|
|
699
|
+
"type": "boolean",
|
|
700
|
+
"default": "false"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"name": "label",
|
|
704
|
+
"attribute": "label",
|
|
705
|
+
"type": "string",
|
|
706
|
+
"default": ""
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "size",
|
|
710
|
+
"attribute": "size",
|
|
711
|
+
"type": "Size | undefined"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "align",
|
|
715
|
+
"attribute": "align",
|
|
716
|
+
"type": "Align",
|
|
717
|
+
"default": "center"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "vertical",
|
|
721
|
+
"attribute": "vertical",
|
|
722
|
+
"type": "boolean",
|
|
723
|
+
"default": "false"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "noMargin",
|
|
727
|
+
"attribute": "noMargin",
|
|
728
|
+
"type": "boolean",
|
|
729
|
+
"default": "false"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "lineStyle",
|
|
733
|
+
"attribute": "lineStyle",
|
|
734
|
+
"type": "DividerLineStyle",
|
|
735
|
+
"default": "solid"
|
|
736
|
+
}
|
|
737
|
+
]
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"tag": "sonic-example",
|
|
741
|
+
"className": "SonicComponent",
|
|
742
|
+
"module": "src/core/components/functional/example/example.ts",
|
|
743
|
+
"props": [
|
|
744
|
+
{
|
|
745
|
+
"name": "limit",
|
|
746
|
+
"attribute": "limit",
|
|
747
|
+
"type": "number",
|
|
748
|
+
"default": "5"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "geoCommunesPayload",
|
|
752
|
+
"attribute": "geoCommunesPayload",
|
|
753
|
+
"type": "ApiResult<City[]> | undefined"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "geoCommunesResult",
|
|
757
|
+
"attribute": "geoCommunesResult",
|
|
758
|
+
"type": "City[] | undefined"
|
|
759
|
+
}
|
|
760
|
+
]
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"tag": "sonic-fetch",
|
|
764
|
+
"className": "Fetch",
|
|
765
|
+
"module": "src/core/components/functional/fetch/fetch.ts",
|
|
766
|
+
"description": "###Fetch charge un contenu via un appel d'api web.\nExtends mixins : Fetcher, [Subscriber](./?path=/docs/miscallenous-🔔-subscriber--page)\n\n#### Configuration via les attributs\n\n| nom | sur quelle balise | Description | Exemple de valeur | défaut / requis |\n| -------------------------------------------------------------------------------------- |\n| serviceURL |Fetcher ou un de ses parents | URL de base des services. | http://la-billetterie.net/api/v2 | domain du site |\n| endpoint |Fetcher | point d'accès d'un service | user/2 | valeur de l'attribut dataProvider |\n| dataProvider |Fetcher ou un de ses parents | Identifiant d'un publisher qui stock les données, voir [subscriber](./?path=/docs/miscallenous-🔔-subscriber--page). | billetterie/user/2 | *REQUIS* |\n| headersDataProvider |Fetcher ou un de ses parents | Identifiant d'un publisher qui stock les données destinées à être envoyées en entêtes de la requetes | MyCoockieHEaders | null |\n| key |Fetcher | extrait une sous propriété de la donnée chargée avant de l'assignée à son publisher | ma.data | null |\n\n*Si la données est `{ma:{data:{a:1,b:2}}}` et `key=\"ma.data\"`, la données disponible dans le composant sera `{a:1, b:2}`*\n\n#### Intégration auto de basic auth (pour tester une api qui nécessite une authentification) \n\nFetch utilise le service pour générer le token et l'ajoute au header de l'appel qui récupère les données.\n\n| nom | sur quelle balise | Description | Exemple de valeur | défaut / requis |\n| -------------------------------------------------------------------------------------- |\n| userName | Fetcher ou un de ses parents | Nom de l'utilisateur | DjuDju | null |\n| password | Fetcher ou un de ses parents | mot de passe | pom_549 | null |\n| tokenProvider | Fetcher ou un de ses parents | point d'accès du service fournissant le token | auth | null |\n| token | Fetcher ou un de ses parents | A fournir à la place des autres attributs si on le possède | q<d34gb | null |\n\n#### Autres choses utiles\n* On peut appeler la methode invalidate() sur le publisher associé au composant pour declencher le rechargement des données.\n* endPoint est une propriété réctive, par conséquent, sa modification, manuelle via template ou data binbding provoque la mise à jour du contenu.",
|
|
767
|
+
"props": [
|
|
768
|
+
{
|
|
769
|
+
"name": "loader",
|
|
770
|
+
"attribute": "loader",
|
|
771
|
+
"type": "LoaderMode | true | \"\" | undefined"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"tag": "sonic-fieldset",
|
|
777
|
+
"className": "Fieldset",
|
|
778
|
+
"module": "src/core/components/ui/form/fieldset/fieldset.ts",
|
|
779
|
+
"props": [
|
|
780
|
+
{
|
|
781
|
+
"name": "disabled",
|
|
782
|
+
"attribute": "disabled",
|
|
783
|
+
"type": "boolean",
|
|
784
|
+
"default": "false"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "form",
|
|
788
|
+
"attribute": "form",
|
|
789
|
+
"type": "string | undefined"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "label",
|
|
793
|
+
"attribute": "label",
|
|
794
|
+
"type": "string | undefined"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "description",
|
|
798
|
+
"attribute": "description",
|
|
799
|
+
"type": "string | undefined"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "iconName",
|
|
803
|
+
"attribute": "iconName",
|
|
804
|
+
"type": "string | undefined"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "iconLibrary",
|
|
808
|
+
"attribute": "iconLibrary",
|
|
809
|
+
"type": "string | undefined"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "iconPrefix",
|
|
813
|
+
"attribute": "iconPrefix",
|
|
814
|
+
"type": "string | undefined"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "tight",
|
|
818
|
+
"attribute": "tight",
|
|
819
|
+
"type": "boolean | undefined"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "variant",
|
|
823
|
+
"attribute": "variant",
|
|
824
|
+
"type": "| \"default\" | \"ghost\" | \"shadow\"",
|
|
825
|
+
"values": [
|
|
826
|
+
"default",
|
|
827
|
+
"ghost",
|
|
828
|
+
"shadow"
|
|
829
|
+
],
|
|
830
|
+
"default": "default"
|
|
831
|
+
}
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"tag": "sonic-form-actions",
|
|
836
|
+
"className": "FormActions",
|
|
837
|
+
"module": "src/core/components/ui/form/form-actions/form-actions.ts",
|
|
838
|
+
"props": [
|
|
839
|
+
{
|
|
840
|
+
"name": "direction",
|
|
841
|
+
"attribute": "direction",
|
|
842
|
+
"type": "string",
|
|
843
|
+
"default": "row"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "justify",
|
|
847
|
+
"attribute": "justify",
|
|
848
|
+
"type": "string",
|
|
849
|
+
"default": "flex-start"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "alignItems",
|
|
853
|
+
"attribute": "alignItems",
|
|
854
|
+
"type": "string",
|
|
855
|
+
"default": "center"
|
|
856
|
+
}
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"tag": "sonic-form-layout",
|
|
861
|
+
"className": "FormLayout",
|
|
862
|
+
"module": "src/core/components/ui/form/form-layout/form-layout.ts",
|
|
863
|
+
"props": [
|
|
864
|
+
{
|
|
865
|
+
"name": "slottedElements",
|
|
866
|
+
"attribute": "slottedElements",
|
|
867
|
+
"type": "HTMLElement[]"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "_oneFormElement",
|
|
871
|
+
"attribute": "_oneFormElement",
|
|
872
|
+
"type": "boolean",
|
|
873
|
+
"default": "false"
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"tag": "sonic-group",
|
|
879
|
+
"className": "Group",
|
|
880
|
+
"module": "src/core/components/ui/group/group.ts",
|
|
881
|
+
"props": [
|
|
882
|
+
{
|
|
883
|
+
"name": "alignItems",
|
|
884
|
+
"attribute": "alignItems",
|
|
885
|
+
"type": "string",
|
|
886
|
+
"default": "center"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "label",
|
|
890
|
+
"attribute": "label",
|
|
891
|
+
"type": "string | undefined"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "description",
|
|
895
|
+
"attribute": "description",
|
|
896
|
+
"type": "string | undefined"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "slotLabelNodes",
|
|
900
|
+
"attribute": "slotLabelNodes",
|
|
901
|
+
"type": "Array<Node>"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "slotDescriptionNodes",
|
|
905
|
+
"attribute": "slotDescriptionNodes",
|
|
906
|
+
"type": "Array<Node>"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "hasDescription",
|
|
910
|
+
"attribute": "hasDescription",
|
|
911
|
+
"type": "boolean",
|
|
912
|
+
"default": "false"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "hasLabel",
|
|
916
|
+
"attribute": "hasLabel",
|
|
917
|
+
"type": "boolean",
|
|
918
|
+
"default": "false"
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"tag": "sonic-icon",
|
|
924
|
+
"className": "Icon",
|
|
925
|
+
"module": "src/core/components/ui/icon/icon.ts",
|
|
926
|
+
"description": "Afficher l'icone choisie parmis une liste prédéfinie dans icons.json\nles tailles suivantes sont disponible via l'attribut *size* : 2xs,xs,sm,\"\",lg,xl,2xl",
|
|
927
|
+
"props": [
|
|
928
|
+
{
|
|
929
|
+
"name": "iconText",
|
|
930
|
+
"attribute": "iconText",
|
|
931
|
+
"type": "DirectiveResult<typeof UnsafeHTMLDirective> | string",
|
|
932
|
+
"default": ""
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"name": "name",
|
|
936
|
+
"attribute": "name",
|
|
937
|
+
"type": "string",
|
|
938
|
+
"default": "",
|
|
939
|
+
"description": "Nom identifiant l'icone ex : *info*"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "prefix",
|
|
943
|
+
"attribute": "prefix",
|
|
944
|
+
"type": "string",
|
|
945
|
+
"default": "",
|
|
946
|
+
"description": "prefix de l'icone si nécessaire ex: *solid*. La valeur par défaut est \"\" qui est mappée sur *regular*"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "library",
|
|
950
|
+
"attribute": "library",
|
|
951
|
+
"type": "string",
|
|
952
|
+
"default": "",
|
|
953
|
+
"description": "library de l'icone url vers un dossier en lign conenant des icônes"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "customIconLibraryPath",
|
|
957
|
+
"attribute": "customIconLibraryPath",
|
|
958
|
+
"type": "string | null",
|
|
959
|
+
"default": "null"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "customIconDefaultPrefix",
|
|
963
|
+
"attribute": "customIconDefaultPrefix",
|
|
964
|
+
"type": "string | null",
|
|
965
|
+
"default": "null"
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"tag": "sonic-if",
|
|
971
|
+
"className": "SonicIF",
|
|
972
|
+
"module": "src/core/components/functional/if/if.ts",
|
|
973
|
+
"description": "Le composant *sonic-if* affiche son contenu dans le slot principal si sa propriété .condition est évaluée à true",
|
|
974
|
+
"props": [
|
|
975
|
+
{
|
|
976
|
+
"name": "condition",
|
|
977
|
+
"attribute": "condition",
|
|
978
|
+
"type": "boolean",
|
|
979
|
+
"default": "false",
|
|
980
|
+
"description": "Le contenu s'affiche si la condition est évaluée à true."
|
|
981
|
+
}
|
|
982
|
+
]
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"tag": "sonic-image",
|
|
986
|
+
"className": "Image",
|
|
987
|
+
"module": "src/core/components/ui/image/image.ts",
|
|
988
|
+
"props": [
|
|
989
|
+
{
|
|
990
|
+
"name": "rounded",
|
|
991
|
+
"attribute": "rounded",
|
|
992
|
+
"type": "Rounded",
|
|
993
|
+
"default": "none"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "src",
|
|
997
|
+
"attribute": "src",
|
|
998
|
+
"type": "string",
|
|
999
|
+
"default": ""
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "alt",
|
|
1003
|
+
"attribute": "alt",
|
|
1004
|
+
"type": "string",
|
|
1005
|
+
"default": ""
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "loading",
|
|
1009
|
+
"attribute": "loading",
|
|
1010
|
+
"type": "\"eager\" | \"lazy\"",
|
|
1011
|
+
"values": [
|
|
1012
|
+
"eager",
|
|
1013
|
+
"lazy"
|
|
1014
|
+
],
|
|
1015
|
+
"default": "lazy"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "transition",
|
|
1019
|
+
"attribute": "transition",
|
|
1020
|
+
"type": "| \"fade\" | \"fade-scale-out\" | undefined",
|
|
1021
|
+
"values": [
|
|
1022
|
+
"fade",
|
|
1023
|
+
"fade-scale-out"
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "ratio",
|
|
1028
|
+
"attribute": "ratio",
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"default": "auto"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "objectPosition",
|
|
1034
|
+
"attribute": "objectPosition",
|
|
1035
|
+
"type": "string",
|
|
1036
|
+
"default": "center center"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "imageRendering",
|
|
1040
|
+
"attribute": "imageRendering",
|
|
1041
|
+
"type": "string",
|
|
1042
|
+
"default": "auto"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"name": "cover",
|
|
1046
|
+
"attribute": "cover",
|
|
1047
|
+
"type": "boolean",
|
|
1048
|
+
"default": "false"
|
|
1049
|
+
}
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"tag": "sonic-input",
|
|
1054
|
+
"className": "Input",
|
|
1055
|
+
"module": "src/core/components/ui/form/input/input.ts",
|
|
1056
|
+
"props": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "size",
|
|
1059
|
+
"attribute": "size",
|
|
1060
|
+
"type": "Size | undefined",
|
|
1061
|
+
"description": "Taille du composant, implique notamment des modifications de typo et de marge interne"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "inputmode",
|
|
1065
|
+
"attribute": "inputmode",
|
|
1066
|
+
"type": "string | undefined"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"name": "list",
|
|
1070
|
+
"attribute": "list",
|
|
1071
|
+
"type": "string | undefined"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "placeholder",
|
|
1075
|
+
"attribute": "placeholder",
|
|
1076
|
+
"type": "string | undefined"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "pattern",
|
|
1080
|
+
"attribute": "pattern",
|
|
1081
|
+
"type": "string | undefined"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "min",
|
|
1085
|
+
"attribute": "min",
|
|
1086
|
+
"type": "string | undefined"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "max",
|
|
1090
|
+
"attribute": "max",
|
|
1091
|
+
"type": "string | undefined"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "readonly",
|
|
1095
|
+
"attribute": "readonly",
|
|
1096
|
+
"type": "boolean",
|
|
1097
|
+
"default": "false"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "step",
|
|
1101
|
+
"attribute": "step",
|
|
1102
|
+
"type": "number | undefined"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"name": "minlength",
|
|
1106
|
+
"attribute": "minlength",
|
|
1107
|
+
"type": "number | undefined"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "maxlength",
|
|
1111
|
+
"attribute": "maxlength",
|
|
1112
|
+
"type": "number | undefined"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "src",
|
|
1116
|
+
"attribute": "src",
|
|
1117
|
+
"type": "string | undefined"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "inlineContent",
|
|
1121
|
+
"attribute": "inlineContent",
|
|
1122
|
+
"type": "boolean",
|
|
1123
|
+
"default": "false"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "disableInlineContentFocus",
|
|
1127
|
+
"attribute": "disableInlineContentFocus",
|
|
1128
|
+
"type": "boolean",
|
|
1129
|
+
"default": "false"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "showPasswordToggle",
|
|
1133
|
+
"attribute": "showPasswordToggle",
|
|
1134
|
+
"type": "boolean",
|
|
1135
|
+
"default": "false"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "autoActive",
|
|
1139
|
+
"attribute": "autoActive",
|
|
1140
|
+
"type": "boolean",
|
|
1141
|
+
"default": "false"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "active",
|
|
1145
|
+
"attribute": "active",
|
|
1146
|
+
"type": "boolean",
|
|
1147
|
+
"default": "false"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "slotLabelNodes",
|
|
1151
|
+
"attribute": "slotLabelNodes",
|
|
1152
|
+
"type": "Array<Node>"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "slotDescriptionNodes",
|
|
1156
|
+
"attribute": "slotDescriptionNodes",
|
|
1157
|
+
"type": "Array<Node>"
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "slotSuffixNodes",
|
|
1161
|
+
"attribute": "slotSuffixNodes",
|
|
1162
|
+
"type": "Array<Node>"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"name": "slotPrefixNodes",
|
|
1166
|
+
"attribute": "slotPrefixNodes",
|
|
1167
|
+
"type": "Array<Node>"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "input",
|
|
1171
|
+
"attribute": "input",
|
|
1172
|
+
"type": "HTMLInputElement"
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"name": "hasDescription",
|
|
1176
|
+
"attribute": "hasDescription",
|
|
1177
|
+
"type": "boolean",
|
|
1178
|
+
"default": "false"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "hasLabel",
|
|
1182
|
+
"attribute": "hasLabel",
|
|
1183
|
+
"type": "boolean",
|
|
1184
|
+
"default": "false"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "hasSuffix",
|
|
1188
|
+
"attribute": "hasSuffix",
|
|
1189
|
+
"type": "boolean",
|
|
1190
|
+
"default": "false"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "hasPrefix",
|
|
1194
|
+
"attribute": "hasPrefix",
|
|
1195
|
+
"type": "boolean",
|
|
1196
|
+
"default": "false"
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"name": "isPassword",
|
|
1200
|
+
"attribute": "isPassword",
|
|
1201
|
+
"type": "boolean",
|
|
1202
|
+
"default": "false"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"name": "sameValueAsHandle",
|
|
1206
|
+
"attribute": "sameValueAsHandle",
|
|
1207
|
+
"type": "(v: string) => void | undefined"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "sameValueAsName",
|
|
1211
|
+
"attribute": "sameValueAsName",
|
|
1212
|
+
"type": "string | undefined"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "changeTimeoutId",
|
|
1216
|
+
"attribute": "changeTimeoutId",
|
|
1217
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
|
1218
|
+
}
|
|
1219
|
+
]
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"tag": "sonic-input-autocomplete",
|
|
1223
|
+
"className": "InputAutocomplete",
|
|
1224
|
+
"module": "src/core/components/ui/form/input-autocomplete/input-autocomplete.ts",
|
|
1225
|
+
"description": "Input avec suggestions (queue). Valeur formulaire via formDataProvider + name ;\ntexte de recherche sur un store interne dédié.",
|
|
1226
|
+
"props": [
|
|
1227
|
+
{
|
|
1228
|
+
"name": "size",
|
|
1229
|
+
"attribute": "size",
|
|
1230
|
+
"type": "Size",
|
|
1231
|
+
"default": "md"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "placeholder",
|
|
1235
|
+
"attribute": "placeholder",
|
|
1236
|
+
"type": "string",
|
|
1237
|
+
"default": ""
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "filteredFields",
|
|
1241
|
+
"attribute": "filteredFields",
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"default": ""
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "readonly",
|
|
1247
|
+
"attribute": "readonly",
|
|
1248
|
+
"type": "boolean | null",
|
|
1249
|
+
"default": "null"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "dataProviderExpression",
|
|
1253
|
+
"attribute": "dataProviderExpression",
|
|
1254
|
+
"type": "string",
|
|
1255
|
+
"default": ""
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "serviceURL",
|
|
1259
|
+
"attribute": "serviceURL",
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"default": ""
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "minSearchLength",
|
|
1265
|
+
"attribute": "minSearchLength",
|
|
1266
|
+
"type": "number",
|
|
1267
|
+
"default": "3"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "select",
|
|
1271
|
+
"attribute": "select",
|
|
1272
|
+
"type": "boolean | undefined"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "key",
|
|
1276
|
+
"attribute": "key",
|
|
1277
|
+
"type": "string",
|
|
1278
|
+
"default": ""
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "searchParameter",
|
|
1282
|
+
"attribute": "searchParameter",
|
|
1283
|
+
"type": "string",
|
|
1284
|
+
"default": ""
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "propertyName",
|
|
1288
|
+
"attribute": "propertyName",
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"default": ""
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "items",
|
|
1294
|
+
"attribute": "items",
|
|
1295
|
+
"type": "ListItems | null",
|
|
1296
|
+
"default": "null"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "slotInputPrefixNodes",
|
|
1300
|
+
"attribute": "slotInputPrefixNodes",
|
|
1301
|
+
"type": "Array<Node>"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"name": "hasInputPrefix",
|
|
1305
|
+
"attribute": "hasInputPrefix",
|
|
1306
|
+
"type": "boolean",
|
|
1307
|
+
"default": "false"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "popElement",
|
|
1311
|
+
"attribute": "popElement",
|
|
1312
|
+
"type": "Pop"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "lastValidSearch",
|
|
1316
|
+
"attribute": "lastValidSearch",
|
|
1317
|
+
"type": "ListItem | string",
|
|
1318
|
+
"default": "",
|
|
1319
|
+
"description": "Public — cptypeahead."
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"name": "searchPublisher",
|
|
1323
|
+
"attribute": "searchPublisher",
|
|
1324
|
+
"type": "DataProvider | undefined",
|
|
1325
|
+
"description": "Public — cptypeahead (saisie live)."
|
|
1326
|
+
}
|
|
1327
|
+
]
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"tag": "sonic-jsonata",
|
|
1331
|
+
"className": "SonicJsonata",
|
|
1332
|
+
"module": "src/core/components/functional/jsonata/jsonata.ts",
|
|
1333
|
+
"description": "Adaptateur JSONata de `derive` : 1 entrée → expression → 1 sortie (readonly).\n\nContexte d’évaluation :\n- `$input` = contenu de `inputProvider`\n- champs du `formDataProvider` optionnel = `$top`, `$roast`, …",
|
|
1334
|
+
"props": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "inputProvider",
|
|
1337
|
+
"attribute": "inputProvider",
|
|
1338
|
+
"type": "string",
|
|
1339
|
+
"default": "",
|
|
1340
|
+
"description": "DataProvider d’entrée (source)."
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"name": "outputProvider",
|
|
1344
|
+
"attribute": "outputProvider",
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"default": "",
|
|
1347
|
+
"description": "DataProvider de sortie (agrégat, readonly)."
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"name": "formDataProvider",
|
|
1351
|
+
"attribute": "formDataProvider",
|
|
1352
|
+
"type": "string",
|
|
1353
|
+
"default": "",
|
|
1354
|
+
"description": "Form / variables optionnelles (`$top`, `$roast`, …).\nMême id que le `formDataProvider` du formulaire — recalcule sans refetch."
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "expression",
|
|
1358
|
+
"attribute": "expression",
|
|
1359
|
+
"type": "string",
|
|
1360
|
+
"default": ""
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "outputSchema",
|
|
1364
|
+
"attribute": "outputSchema",
|
|
1365
|
+
"type": "Record<string, unknown> | null",
|
|
1366
|
+
"default": "null"
|
|
1367
|
+
}
|
|
1368
|
+
]
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"tag": "sonic-legend",
|
|
1372
|
+
"className": "Legend",
|
|
1373
|
+
"module": "src/core/components/ui/form/fieldset/legend.ts",
|
|
1374
|
+
"props": [
|
|
1375
|
+
{
|
|
1376
|
+
"name": "forceAutoFill",
|
|
1377
|
+
"attribute": "forceAutoFill",
|
|
1378
|
+
"type": "boolean",
|
|
1379
|
+
"default": "false"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"name": "_description",
|
|
1383
|
+
"attribute": "_description",
|
|
1384
|
+
"type": "string | undefined"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"name": "description",
|
|
1388
|
+
"attribute": "description",
|
|
1389
|
+
"type": "string | undefined"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"name": "_label",
|
|
1393
|
+
"attribute": "_label",
|
|
1394
|
+
"type": "string | undefined"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "label",
|
|
1398
|
+
"attribute": "label",
|
|
1399
|
+
"type": "string | undefined"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"name": "iconName",
|
|
1403
|
+
"attribute": "iconName",
|
|
1404
|
+
"type": "string | undefined"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "iconLibrary",
|
|
1408
|
+
"attribute": "iconLibrary",
|
|
1409
|
+
"type": "string | undefined"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "iconPrefix",
|
|
1413
|
+
"attribute": "iconPrefix",
|
|
1414
|
+
"type": "string | undefined"
|
|
1415
|
+
}
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"tag": "sonic-legend-description",
|
|
1420
|
+
"className": "LegendDescription",
|
|
1421
|
+
"module": "src/core/components/ui/form/fieldset/legend-description.ts",
|
|
1422
|
+
"props": []
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"tag": "sonic-link",
|
|
1426
|
+
"className": "Link",
|
|
1427
|
+
"module": "src/core/components/ui/link/link.ts",
|
|
1428
|
+
"props": [
|
|
1429
|
+
{
|
|
1430
|
+
"name": "href",
|
|
1431
|
+
"attribute": "href",
|
|
1432
|
+
"type": "string",
|
|
1433
|
+
"default": ""
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "location",
|
|
1437
|
+
"attribute": "location",
|
|
1438
|
+
"type": "string"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"name": "ariaLabel",
|
|
1442
|
+
"attribute": "data-aria-label",
|
|
1443
|
+
"type": "| string | null",
|
|
1444
|
+
"default": "null"
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"name": "autoActive",
|
|
1448
|
+
"attribute": "autoActive",
|
|
1449
|
+
"type": "AutoActiveMode",
|
|
1450
|
+
"default": "partial",
|
|
1451
|
+
"description": "Active state for in-app navigation:\n- strict — pathname, search, and hash must match\n- strict-path-only — pathname and hash must match (ignore search)\n- partial — current URL starts with href (default)\n- disabled — never sets `active`"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "target",
|
|
1455
|
+
"attribute": "target",
|
|
1456
|
+
"type": "unknown"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "pushState",
|
|
1460
|
+
"attribute": "pushState",
|
|
1461
|
+
"type": "boolean | null",
|
|
1462
|
+
"default": "null",
|
|
1463
|
+
"description": "Si présent on passe en mode pushstate"
|
|
1464
|
+
}
|
|
1465
|
+
]
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"tag": "sonic-list",
|
|
1469
|
+
"className": "List",
|
|
1470
|
+
"module": "src/core/components/functional/list/list.ts",
|
|
1471
|
+
"props": [
|
|
1472
|
+
{
|
|
1473
|
+
"name": "itemPropertyMap",
|
|
1474
|
+
"attribute": "itemPropertyMap",
|
|
1475
|
+
"type": "object | undefined"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "templateKey",
|
|
1479
|
+
"attribute": "templateKey",
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"default": "template",
|
|
1482
|
+
"description": "La propriété templateKey contient le nom de la propriété qui sera utilisé pour identifier le template à utiliser dans la donnée de la ligne.\nPar exemple si templateIdentifier = \"name\" et que la donnée de la ligne est {name: \"myTemplate\" ... }, alors le template possédant l'attribut data-value=\"myTemplate\" sera utilisé."
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "idKey",
|
|
1486
|
+
"attribute": "idKey",
|
|
1487
|
+
"type": "string",
|
|
1488
|
+
"default": "id",
|
|
1489
|
+
"description": "La propriété idKey est utilisé repérer les lignes de manière unique si pour les item de la liste item[this.idKey] n'existe pas, alors l'index est utilisé"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "loader",
|
|
1493
|
+
"attribute": "loader",
|
|
1494
|
+
"type": "LoaderMode | true | \"\" | undefined"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "limit",
|
|
1498
|
+
"attribute": "limit",
|
|
1499
|
+
"type": "unknown"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "offset",
|
|
1503
|
+
"attribute": "offset",
|
|
1504
|
+
"type": "number",
|
|
1505
|
+
"default": "0"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "_items",
|
|
1509
|
+
"attribute": "_items",
|
|
1510
|
+
"type": "ListItems | undefined"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "items",
|
|
1514
|
+
"attribute": "items",
|
|
1515
|
+
"type": "ListItems | undefined"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "noItems",
|
|
1519
|
+
"attribute": "noItems",
|
|
1520
|
+
"type": "() => DirectiveResult | undefined"
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"name": "skeleton",
|
|
1524
|
+
"attribute": "skeleton",
|
|
1525
|
+
"type": "() => DirectiveResult | undefined"
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"name": "separator",
|
|
1529
|
+
"attribute": "separator",
|
|
1530
|
+
"type": "() => DirectiveResult | undefined"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "loadingSize",
|
|
1534
|
+
"attribute": "loadingSize",
|
|
1535
|
+
"type": "object",
|
|
1536
|
+
"default": "{ width: 0, height: 0 }",
|
|
1537
|
+
"description": "loadingsize is computed after rendering a loading / doesnt require one but will be used on other renderings"
|
|
1538
|
+
}
|
|
1539
|
+
]
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"tag": "sonic-loader",
|
|
1543
|
+
"className": "Loader",
|
|
1544
|
+
"module": "src/core/components/ui/loader/loader.ts",
|
|
1545
|
+
"props": [
|
|
1546
|
+
{
|
|
1547
|
+
"name": "mode",
|
|
1548
|
+
"attribute": "mode",
|
|
1549
|
+
"type": "LoaderMode",
|
|
1550
|
+
"default": "fixed",
|
|
1551
|
+
"description": "Display mode: inline (in content) or fixed (viewport overlay)."
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"name": "noDelay",
|
|
1555
|
+
"attribute": "noDelay",
|
|
1556
|
+
"type": "boolean",
|
|
1557
|
+
"default": "false",
|
|
1558
|
+
"description": "Skip the initial fade-in delay before the loader appears."
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "announce",
|
|
1562
|
+
"attribute": "announce",
|
|
1563
|
+
"type": "boolean",
|
|
1564
|
+
"default": "false",
|
|
1565
|
+
"description": "When true, exposes `role=\"status\"` and `aria-live=\"polite\"` on the host (like `sonic-alert`).\nUse when the loader appears after user action; default inline loaders stay decorative."
|
|
1566
|
+
}
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"tag": "sonic-menu",
|
|
1571
|
+
"className": "MenuItems",
|
|
1572
|
+
"module": "src/core/components/ui/menu/menu.ts",
|
|
1573
|
+
"props": [
|
|
1574
|
+
{
|
|
1575
|
+
"name": "size",
|
|
1576
|
+
"attribute": "size",
|
|
1577
|
+
"type": "Size | undefined",
|
|
1578
|
+
"description": "Taille du composant, peut avoir un effet sur ses composants enfants\ntels que les dividers / boutons,... qui n'auraient pas d'attribut size précisés."
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "direction",
|
|
1582
|
+
"attribute": "direction",
|
|
1583
|
+
"type": "\"row\" | \"column\"",
|
|
1584
|
+
"values": [
|
|
1585
|
+
"row",
|
|
1586
|
+
"column"
|
|
1587
|
+
],
|
|
1588
|
+
"default": "column"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "align",
|
|
1592
|
+
"attribute": "align",
|
|
1593
|
+
"type": "Align",
|
|
1594
|
+
"default": "left"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "shadow",
|
|
1598
|
+
"attribute": "shadow",
|
|
1599
|
+
"type": "Shadow",
|
|
1600
|
+
"default": "null"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "moreShape",
|
|
1604
|
+
"attribute": "moreShape",
|
|
1605
|
+
"type": "\"square\" | \"circle\"",
|
|
1606
|
+
"values": [
|
|
1607
|
+
"square",
|
|
1608
|
+
"circle"
|
|
1609
|
+
],
|
|
1610
|
+
"default": "circle"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"name": "scrollable",
|
|
1614
|
+
"attribute": "scrollable",
|
|
1615
|
+
"type": "boolean",
|
|
1616
|
+
"default": "false"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"name": "observer",
|
|
1620
|
+
"attribute": "observer",
|
|
1621
|
+
"type": "ResizeObserver | null",
|
|
1622
|
+
"default": "null"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "attributeObserver",
|
|
1626
|
+
"attribute": "attributeObserver",
|
|
1627
|
+
"type": "MutationObserver | null",
|
|
1628
|
+
"default": "null"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "minWidth",
|
|
1632
|
+
"attribute": "minWidth",
|
|
1633
|
+
"type": "string",
|
|
1634
|
+
"default": "0"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "menu",
|
|
1638
|
+
"attribute": "menu",
|
|
1639
|
+
"type": "HTMLElement"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "menuContent",
|
|
1643
|
+
"attribute": "menuContent",
|
|
1644
|
+
"type": "HTMLElement"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"name": "dividerChildren",
|
|
1648
|
+
"attribute": "dividerChildren",
|
|
1649
|
+
"type": "Array<HTMLElement>"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"name": "menuItemChildren",
|
|
1653
|
+
"attribute": "menuItemChildren",
|
|
1654
|
+
"type": "Array<HTMLElement>"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "moreElements",
|
|
1658
|
+
"attribute": "moreElements",
|
|
1659
|
+
"type": "Array<HTMLElement>"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"name": "hasMoreElements",
|
|
1663
|
+
"attribute": "hasMoreElements",
|
|
1664
|
+
"type": "boolean",
|
|
1665
|
+
"default": "false"
|
|
1666
|
+
}
|
|
1667
|
+
]
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"tag": "sonic-mix",
|
|
1671
|
+
"className": "SonicMix",
|
|
1672
|
+
"module": "src/core/components/functional/mix/mix.ts",
|
|
1673
|
+
"props": [
|
|
1674
|
+
{
|
|
1675
|
+
"name": "composition",
|
|
1676
|
+
"attribute": "composition",
|
|
1677
|
+
"type": "unknown"
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"name": "listeners",
|
|
1681
|
+
"attribute": "listeners",
|
|
1682
|
+
"type": "Listener[]",
|
|
1683
|
+
"default": "[]"
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"tag": "sonic-modal",
|
|
1689
|
+
"className": "Modal",
|
|
1690
|
+
"module": "src/core/components/ui/modal/modal.ts",
|
|
1691
|
+
"props": [
|
|
1692
|
+
{
|
|
1693
|
+
"name": "forceAction",
|
|
1694
|
+
"attribute": "forceAction",
|
|
1695
|
+
"type": "boolean",
|
|
1696
|
+
"default": "false"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"name": "noCloseButton",
|
|
1700
|
+
"attribute": "noCloseButton",
|
|
1701
|
+
"type": "boolean",
|
|
1702
|
+
"default": "false"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "removeOnHide",
|
|
1706
|
+
"attribute": "removeOnHide",
|
|
1707
|
+
"type": "boolean",
|
|
1708
|
+
"default": "false"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"name": "removeHashOnHide",
|
|
1712
|
+
"attribute": "removeHashOnHide",
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"default": "false"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "align",
|
|
1718
|
+
"attribute": "align",
|
|
1719
|
+
"type": "Align",
|
|
1720
|
+
"default": "left"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "paddingX",
|
|
1724
|
+
"attribute": "paddingX",
|
|
1725
|
+
"type": "string | undefined"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "paddingY",
|
|
1729
|
+
"attribute": "paddingY",
|
|
1730
|
+
"type": "string | undefined"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "maxWidth",
|
|
1734
|
+
"attribute": "maxWidth",
|
|
1735
|
+
"type": "string",
|
|
1736
|
+
"default": "min(100vw, 40rem)"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"name": "maxHeight",
|
|
1740
|
+
"attribute": "maxHeight",
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"default": "90vh"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "zIndex",
|
|
1746
|
+
"attribute": "zIndex",
|
|
1747
|
+
"type": "string | undefined"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "width",
|
|
1751
|
+
"attribute": "width",
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"default": "100%"
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "height",
|
|
1757
|
+
"attribute": "height",
|
|
1758
|
+
"type": "string",
|
|
1759
|
+
"default": "fit-content"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "effect",
|
|
1763
|
+
"attribute": "effect",
|
|
1764
|
+
"type": "effectType",
|
|
1765
|
+
"default": "slide"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"name": "styleSheet",
|
|
1769
|
+
"attribute": "styleSheet",
|
|
1770
|
+
"type": "ModalStyleSheetInput | undefined"
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"name": "options",
|
|
1774
|
+
"attribute": "options",
|
|
1775
|
+
"type": "ModalCreateOptions | undefined"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "fullScreen",
|
|
1779
|
+
"attribute": "fullScreen",
|
|
1780
|
+
"type": "boolean",
|
|
1781
|
+
"default": "false"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "visible",
|
|
1785
|
+
"attribute": "visible",
|
|
1786
|
+
"type": "boolean",
|
|
1787
|
+
"default": "false"
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"name": "closeButtonType",
|
|
1791
|
+
"attribute": "closeButtonType",
|
|
1792
|
+
"type": "ButtonType | undefined"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "_modalElement",
|
|
1796
|
+
"attribute": "_modalElement",
|
|
1797
|
+
"type": "HTMLDialogElement"
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"name": "closeOnLocationChange",
|
|
1801
|
+
"attribute": "closeOnLocationChange",
|
|
1802
|
+
"type": "boolean",
|
|
1803
|
+
"default": "false"
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"name": "location",
|
|
1807
|
+
"attribute": "location",
|
|
1808
|
+
"type": "string",
|
|
1809
|
+
"default": ""
|
|
1810
|
+
}
|
|
1811
|
+
],
|
|
1812
|
+
"events": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "show",
|
|
1815
|
+
"type": "CustomEvent"
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"name": "hide",
|
|
1819
|
+
"type": "CustomEvent"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"name": "hidden",
|
|
1823
|
+
"type": "CustomEvent"
|
|
1824
|
+
}
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"tag": "sonic-modal-actions",
|
|
1829
|
+
"className": "ModalActions",
|
|
1830
|
+
"module": "src/core/components/ui/modal/modal-actions.ts",
|
|
1831
|
+
"props": [
|
|
1832
|
+
{
|
|
1833
|
+
"name": "buttons",
|
|
1834
|
+
"attribute": "buttons",
|
|
1835
|
+
"type": "Array<Button>"
|
|
1836
|
+
}
|
|
1837
|
+
]
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"tag": "sonic-modal-close",
|
|
1841
|
+
"className": "ModalClose",
|
|
1842
|
+
"module": "src/core/components/ui/modal/modal-close.ts",
|
|
1843
|
+
"props": [
|
|
1844
|
+
{
|
|
1845
|
+
"name": "translation",
|
|
1846
|
+
"attribute": "translation",
|
|
1847
|
+
"type": "UiLabelDict",
|
|
1848
|
+
"default": "{ ...uiAriaLabels.closeWindow }"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "reset",
|
|
1852
|
+
"attribute": "reset",
|
|
1853
|
+
"type": "string | undefined"
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"name": "type",
|
|
1857
|
+
"attribute": "type",
|
|
1858
|
+
"type": "ButtonType | undefined"
|
|
1859
|
+
}
|
|
1860
|
+
]
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"tag": "sonic-modal-content",
|
|
1864
|
+
"className": "ModalContent",
|
|
1865
|
+
"module": "src/core/components/ui/modal/modal-content.ts",
|
|
1866
|
+
"props": []
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"tag": "sonic-modal-subtitle",
|
|
1870
|
+
"className": "ModalSubTitle",
|
|
1871
|
+
"module": "src/core/components/ui/modal/modal-subtitle.ts",
|
|
1872
|
+
"props": []
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"tag": "sonic-modal-title",
|
|
1876
|
+
"className": "ModalTitle",
|
|
1877
|
+
"module": "src/core/components/ui/modal/modal-title.ts",
|
|
1878
|
+
"props": []
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"tag": "sonic-password-helper",
|
|
1882
|
+
"className": "SonicComponent",
|
|
1883
|
+
"module": "src/core/components/ui/form/input/password-helper.ts",
|
|
1884
|
+
"props": [
|
|
1885
|
+
{
|
|
1886
|
+
"name": "name",
|
|
1887
|
+
"attribute": "name",
|
|
1888
|
+
"type": "string | undefined"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "minChars",
|
|
1892
|
+
"attribute": "minChars",
|
|
1893
|
+
"type": "number",
|
|
1894
|
+
"default": "8"
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"name": "hasNoChar",
|
|
1898
|
+
"attribute": "hasNoChar",
|
|
1899
|
+
"type": "boolean",
|
|
1900
|
+
"default": "true"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"name": "hasEnoughChars",
|
|
1904
|
+
"attribute": "hasEnoughChars",
|
|
1905
|
+
"type": "boolean",
|
|
1906
|
+
"default": "false"
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"name": "hasMinuscule",
|
|
1910
|
+
"attribute": "hasMinuscule",
|
|
1911
|
+
"type": "boolean",
|
|
1912
|
+
"default": "false"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "hasMajuscule",
|
|
1916
|
+
"attribute": "hasMajuscule",
|
|
1917
|
+
"type": "boolean",
|
|
1918
|
+
"default": "false"
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "hasNumber",
|
|
1922
|
+
"attribute": "hasNumber",
|
|
1923
|
+
"type": "boolean",
|
|
1924
|
+
"default": "false"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "hasSpecialChar",
|
|
1928
|
+
"attribute": "hasSpecialChar",
|
|
1929
|
+
"type": "boolean",
|
|
1930
|
+
"default": "false"
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"name": "wording_password_helper_decription",
|
|
1934
|
+
"attribute": "wording_password_helper_decription",
|
|
1935
|
+
"type": "string",
|
|
1936
|
+
"default": "Le mot de passe doit contenir au moins :"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"name": "wording_password_helper_min_length",
|
|
1940
|
+
"attribute": "wording_password_helper_min_length",
|
|
1941
|
+
"type": "string",
|
|
1942
|
+
"default": "8 caractères"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"name": "wording_password_helper_lower_case",
|
|
1946
|
+
"attribute": "wording_password_helper_lower_case",
|
|
1947
|
+
"type": "string",
|
|
1948
|
+
"default": "1 minuscule"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"name": "wording_password_helper_upper_case",
|
|
1952
|
+
"attribute": "wording_password_helper_upper_case",
|
|
1953
|
+
"type": "string",
|
|
1954
|
+
"default": "1 majuscule"
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "wording_password_helper_number",
|
|
1958
|
+
"attribute": "wording_password_helper_number",
|
|
1959
|
+
"type": "string",
|
|
1960
|
+
"default": "1 chiffre"
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"name": "wording_password_helper_special_char",
|
|
1964
|
+
"attribute": "wording_password_helper_special_char",
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"default": "1 caractère spécial"
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
"name": "checkValue",
|
|
1970
|
+
"attribute": "checkValue",
|
|
1971
|
+
"type": "(v: string) => void | undefined"
|
|
1972
|
+
}
|
|
1973
|
+
]
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"tag": "sonic-pop",
|
|
1977
|
+
"className": "Pop",
|
|
1978
|
+
"module": "src/core/components/ui/pop/pop.ts",
|
|
1979
|
+
"props": [
|
|
1980
|
+
{
|
|
1981
|
+
"name": "open",
|
|
1982
|
+
"attribute": "open",
|
|
1983
|
+
"type": "boolean",
|
|
1984
|
+
"default": "false"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "popBtn",
|
|
1988
|
+
"attribute": "popBtn",
|
|
1989
|
+
"type": "HTMLElement"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "popContent",
|
|
1993
|
+
"attribute": "popContent",
|
|
1994
|
+
"type": "HTMLElement"
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "noToggle",
|
|
1998
|
+
"attribute": "noToggle",
|
|
1999
|
+
"type": "boolean",
|
|
2000
|
+
"default": "false"
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "inline",
|
|
2004
|
+
"attribute": "inline",
|
|
2005
|
+
"type": "boolean",
|
|
2006
|
+
"default": "false"
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"name": "manual",
|
|
2010
|
+
"attribute": "manual",
|
|
2011
|
+
"type": "boolean",
|
|
2012
|
+
"default": "false"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "shadow",
|
|
2016
|
+
"attribute": "shadow",
|
|
2017
|
+
"type": "Shadow",
|
|
2018
|
+
"default": "lg",
|
|
2019
|
+
"description": "Ombre"
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"name": "placement",
|
|
2023
|
+
"attribute": "placement",
|
|
2024
|
+
"type": "PopPlacement",
|
|
2025
|
+
"default": "bottom"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "lastContentX",
|
|
2029
|
+
"attribute": "lastContentX",
|
|
2030
|
+
"type": "number",
|
|
2031
|
+
"default": "0"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"name": "lastContentY",
|
|
2035
|
+
"attribute": "lastContentY",
|
|
2036
|
+
"type": "number",
|
|
2037
|
+
"default": "0"
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"name": "resizeObserver",
|
|
2041
|
+
"attribute": "resizeObserver",
|
|
2042
|
+
"type": "ResizeObserver",
|
|
2043
|
+
"default": "new ResizeObserver(() => this.computePosition(this.placement), )"
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"events": [
|
|
2047
|
+
{
|
|
2048
|
+
"name": "show",
|
|
2049
|
+
"type": "CustomEvent"
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"name": "hide",
|
|
2053
|
+
"type": "CustomEvent"
|
|
2054
|
+
}
|
|
2055
|
+
]
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"tag": "sonic-progress",
|
|
2059
|
+
"className": "Progress",
|
|
2060
|
+
"module": "src/core/components/ui/progress/progress.ts",
|
|
2061
|
+
"props": [
|
|
2062
|
+
{
|
|
2063
|
+
"name": "value",
|
|
2064
|
+
"attribute": "value",
|
|
2065
|
+
"type": "number | undefined"
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"name": "max",
|
|
2069
|
+
"attribute": "max",
|
|
2070
|
+
"type": "number",
|
|
2071
|
+
"default": "100"
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "invert",
|
|
2075
|
+
"attribute": "invert",
|
|
2076
|
+
"type": "boolean",
|
|
2077
|
+
"default": "false",
|
|
2078
|
+
"description": "Barre et libellés adaptés à un fond coloré (ex. `sonic-card`)."
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"name": "type",
|
|
2082
|
+
"attribute": "type",
|
|
2083
|
+
"type": "DefaultType",
|
|
2084
|
+
"default": "default"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"name": "size",
|
|
2088
|
+
"attribute": "size",
|
|
2089
|
+
"type": "Size | undefined"
|
|
2090
|
+
}
|
|
2091
|
+
]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"tag": "sonic-queue",
|
|
2095
|
+
"className": "Queue",
|
|
2096
|
+
"module": "src/core/components/functional/queue/queue.ts",
|
|
2097
|
+
"description": "### Une Queue charge du contenu par lot selon l'expression renseignée dans l'attribut *dataProviderExpression*.\n * Chaque lot est chargé par un composant [List](./?path=/docs/core-components-functional-list-list--basic) dont le dataProvider créé à partir de l'attribut dataProviderExpression\n * A l'initialisation elle regarde l'attribut dataFilterProvider qui donne l'adresse d'un publisher\n Si cet attribut est touvé, Queue écoute le publisher fourni et se réinitialise à chaque modification du contenu de celui-ci.\n Les valeurs renseignées dans ce publisher sont ajoutées en get à chaque requête\n * la proriété *key* peut être utilisé pour cibler une propriété particulière du retour de l'api.",
|
|
2098
|
+
"props": [
|
|
2099
|
+
{
|
|
2100
|
+
"name": "templates",
|
|
2101
|
+
"attribute": "templates",
|
|
2102
|
+
"type": "Array<HTMLTemplateElement> | null",
|
|
2103
|
+
"default": "null"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
"name": "items",
|
|
2107
|
+
"attribute": "items",
|
|
2108
|
+
"type": "ListItems | null",
|
|
2109
|
+
"default": "null"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"name": "noItems",
|
|
2113
|
+
"attribute": "noItems",
|
|
2114
|
+
"type": "ListItems | null",
|
|
2115
|
+
"default": "null"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"name": "skeleton",
|
|
2119
|
+
"attribute": "skeleton",
|
|
2120
|
+
"type": "ListItems | null",
|
|
2121
|
+
"default": "null"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"name": "lastRequestTime",
|
|
2125
|
+
"attribute": "lastRequestTime",
|
|
2126
|
+
"type": "number",
|
|
2127
|
+
"default": "0"
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "key",
|
|
2131
|
+
"attribute": "key",
|
|
2132
|
+
"type": "string",
|
|
2133
|
+
"default": ""
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"name": "itemPropertyMap",
|
|
2137
|
+
"attribute": "itemPropertyMap",
|
|
2138
|
+
"type": "object | null",
|
|
2139
|
+
"default": "null"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"name": "cache",
|
|
2143
|
+
"attribute": "cache",
|
|
2144
|
+
"type": "RequestCache",
|
|
2145
|
+
"default": "default",
|
|
2146
|
+
"description": "Durée cible en ms d'une requête pour afficher 1 lot."
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "targetRequestDuration",
|
|
2150
|
+
"attribute": "targetRequestDuration",
|
|
2151
|
+
"type": "number",
|
|
2152
|
+
"default": "500"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"name": "limit",
|
|
2156
|
+
"attribute": "limit",
|
|
2157
|
+
"type": "number",
|
|
2158
|
+
"default": "5"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"name": "lazyBoundsRatio",
|
|
2162
|
+
"attribute": "lazyBoundsRatio",
|
|
2163
|
+
"type": "number",
|
|
2164
|
+
"default": "1"
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "offset",
|
|
2168
|
+
"attribute": "offset",
|
|
2169
|
+
"type": "number",
|
|
2170
|
+
"default": "0"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "resultCount",
|
|
2174
|
+
"attribute": "resultCount",
|
|
2175
|
+
"type": "number",
|
|
2176
|
+
"default": "0"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "noLazyload",
|
|
2180
|
+
"attribute": "noLazyload",
|
|
2181
|
+
"type": "boolean",
|
|
2182
|
+
"default": "false"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"name": "loader",
|
|
2186
|
+
"attribute": "loader",
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"default": "inline"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "filteredFields",
|
|
2192
|
+
"attribute": "filteredFields",
|
|
2193
|
+
"type": "string",
|
|
2194
|
+
"default": ""
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "instanceId",
|
|
2198
|
+
"attribute": "instanceId",
|
|
2199
|
+
"type": "number",
|
|
2200
|
+
"default": "0"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "localStorage",
|
|
2204
|
+
"attribute": "localStorage",
|
|
2205
|
+
"type": "string",
|
|
2206
|
+
"default": "disabled"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "filterPublisher",
|
|
2210
|
+
"attribute": "filterPublisher",
|
|
2211
|
+
"type": "DataProvider | null",
|
|
2212
|
+
"default": "null"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "filterTimeoutId",
|
|
2216
|
+
"attribute": "filterTimeoutId",
|
|
2217
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "filterTimeoutMs",
|
|
2221
|
+
"attribute": "filterTimeoutMs",
|
|
2222
|
+
"type": "number",
|
|
2223
|
+
"default": "400"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"name": "searchHash",
|
|
2227
|
+
"attribute": "searchHash",
|
|
2228
|
+
"type": "string",
|
|
2229
|
+
"default": ""
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"name": "requestId",
|
|
2233
|
+
"attribute": "requestId",
|
|
2234
|
+
"type": "number",
|
|
2235
|
+
"default": "0"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"name": "isFirstRequest",
|
|
2239
|
+
"attribute": "isFirstRequest",
|
|
2240
|
+
"type": "boolean",
|
|
2241
|
+
"default": "true"
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
"name": "scrollRoot",
|
|
2245
|
+
"attribute": "scrollRoot",
|
|
2246
|
+
"type": "ScrollRoot | null",
|
|
2247
|
+
"default": "null",
|
|
2248
|
+
"description": "Conteneur scrollé — Safari : stock/restore via SafariScrollGuard\n(capture intent user globale). Ici : sync root + restore après Lit."
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "dataProviderExpression",
|
|
2252
|
+
"attribute": "dataProviderExpression",
|
|
2253
|
+
"type": "string",
|
|
2254
|
+
"default": "",
|
|
2255
|
+
"description": "Cette expression est utilisée comme modèle par le composant Queue pour renseigngner le dataProvider de la [liste](./?path=/docs/core-components-functional-list-list--basic) créée.\n* l'expression *$offset* est alors remplacée par le numéro de l'élément à partir duquel démarrer\n* l'expression *$limit* est remplacée par la valeur représentant le nombre d'éléments à charger\n* Si pas d'expression *$offset* le composant se comporte un peu comme une liste, il ne va pas essayer de charger les éléments suivants"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "invalidateOnPageShow",
|
|
2259
|
+
"attribute": "invalidateOnPageShow",
|
|
2260
|
+
"type": "boolean",
|
|
2261
|
+
"default": "false"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "idKey",
|
|
2265
|
+
"attribute": "idKey",
|
|
2266
|
+
"type": "string",
|
|
2267
|
+
"default": "id"
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"name": "listDataProviders",
|
|
2271
|
+
"attribute": "listDataProviders",
|
|
2272
|
+
"type": "string[]",
|
|
2273
|
+
"default": "[]"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"name": "nextHadEvent",
|
|
2277
|
+
"attribute": "nextHadEvent",
|
|
2278
|
+
"type": "boolean",
|
|
2279
|
+
"default": "false"
|
|
2280
|
+
}
|
|
2281
|
+
]
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"tag": "sonic-redirect",
|
|
2285
|
+
"className": "SonicRedirect",
|
|
2286
|
+
"module": "src/core/components/functional/router/redirect.ts",
|
|
2287
|
+
"description": "sonic-redirect permet d'effectuer une redirection.\n* L'URL de redirection fournie dans l'attribut *to*.\n* La redirection est effectuée en fonction de la disponibilité d'une donnée issue du publisher à l'adresse fournie par l'attribut dataProvider\n* La donnée a trouver est renseignées via l'attribut *onData* qui peur repésenter un chemin dans la donnée via la dot syntaxe\n* Si la données est trouvée et qu'elle peut être évaluée à true alors la redirection est effectuée\nPar exemple : la données vaut {user:{id:2}} si onData=\"user.id\"la redirection est effectuée.\n* Si l'attribut pushState est défini, alors la redirection est effectuée via pushState, sinon c'est document.location qui est modifié.",
|
|
2288
|
+
"props": [
|
|
2289
|
+
{
|
|
2290
|
+
"name": "udpateCallBack",
|
|
2291
|
+
"attribute": "udpateCallBack",
|
|
2292
|
+
"type": "VoidFunction | undefined"
|
|
2293
|
+
}
|
|
2294
|
+
]
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"tag": "sonic-router",
|
|
2298
|
+
"className": "SonicRouter",
|
|
2299
|
+
"module": "src/core/components/functional/router/router.ts",
|
|
2300
|
+
"props": [
|
|
2301
|
+
{
|
|
2302
|
+
"name": "templateValueAttribute",
|
|
2303
|
+
"attribute": "templateValueAttribute",
|
|
2304
|
+
"type": "string",
|
|
2305
|
+
"default": "data-route"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "fallBackRoute",
|
|
2309
|
+
"attribute": "fallBackRoute",
|
|
2310
|
+
"type": "string | undefined"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"name": "routes",
|
|
2314
|
+
"attribute": "routes",
|
|
2315
|
+
"type": "RoutesToRenderer | undefined"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "basePath",
|
|
2319
|
+
"attribute": "basePath",
|
|
2320
|
+
"type": "string | undefined"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"name": "location",
|
|
2324
|
+
"attribute": "location",
|
|
2325
|
+
"type": "unknown"
|
|
2326
|
+
}
|
|
2327
|
+
]
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
"tag": "sonic-same-value-helper",
|
|
2331
|
+
"className": "SonicComponent",
|
|
2332
|
+
"module": "src/core/components/ui/form/input/same-value-helper.ts",
|
|
2333
|
+
"props": [
|
|
2334
|
+
{
|
|
2335
|
+
"name": "name",
|
|
2336
|
+
"attribute": "name",
|
|
2337
|
+
"type": "string | undefined"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "sameValueAs",
|
|
2341
|
+
"attribute": "sameValueAs",
|
|
2342
|
+
"type": "string | undefined"
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"name": "descriptionWhenEqual",
|
|
2346
|
+
"attribute": "descriptionWhenEqual",
|
|
2347
|
+
"type": "string",
|
|
2348
|
+
"default": "Correspondance : oui"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "descriptionWhenNotEqual",
|
|
2352
|
+
"attribute": "descriptionWhenNotEqual",
|
|
2353
|
+
"type": "string",
|
|
2354
|
+
"default": "Correspondance : non"
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "areEqual",
|
|
2358
|
+
"attribute": "areEqual",
|
|
2359
|
+
"type": "boolean",
|
|
2360
|
+
"default": "false"
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
"name": "hasNoChar",
|
|
2364
|
+
"attribute": "hasNoChar",
|
|
2365
|
+
"type": "boolean",
|
|
2366
|
+
"default": "true"
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"name": "checkValue",
|
|
2370
|
+
"attribute": "checkValue",
|
|
2371
|
+
"type": "(v: string) => void | undefined"
|
|
2372
|
+
}
|
|
2373
|
+
]
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"tag": "sonic-scope",
|
|
2377
|
+
"className": "SonicScope",
|
|
2378
|
+
"module": "src/core/components/functional/sonic-scope/sonic-scope.ts",
|
|
2379
|
+
"props": []
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
"tag": "sonic-sdui",
|
|
2383
|
+
"className": "SonicSDUI",
|
|
2384
|
+
"module": "src/core/components/functional/sdui/sdui.ts",
|
|
2385
|
+
"description": "### sonic-sdui (Server Driven User Interface) est un fetcher chargant un JSON décrivant une interface utilisateur\n\nExtends mixins : Fetcher, [Subscriber](./?path=/docs/miscallenous-🔔-subscriber--page)\n\n* Si le composant possède un attribut *fetch*, il charge un contenu via un appel d'api web.<br>\nVoir [fetcher](./?path=/docs/core-components-functional-fetch--basic) pour la configuration des autres attributs.\n* Le format du JSON est décrit par le type SDUIDescriptor\n* Un attribut supplémentaire `transformation` permet de transformer le json reçu avant la génération de l'interface utilisateur<br>\nSon format est décrit par le type SDUITransformDescription\n* Attribut opt-in `profile=\"safe\"` : refuse js, markup, innerHTML, prefix et suffix (nœud ignoré + warning).\n* Champ de nœud opt-in `action: { name, context }` : au clic, émet `sdui-action` (bubbles + composed).\n* Attribut opt-in `partial` : enfants `childNodeIds` absents → placeholder léger (sinon warning + skip).\n* Ops incrémentales opt-in : `upsertNode` / `removeNode` / `setData` (chemin à côté du descripteur entier).\n\n* Si le résultat de la requête est un objet, il est imbriqué dans un tableau pour garantir le fonctionnement.<br>\n*",
|
|
2386
|
+
"props": [
|
|
2387
|
+
{
|
|
2388
|
+
"name": "sduiKey",
|
|
2389
|
+
"attribute": "sduiKey",
|
|
2390
|
+
"type": "string | undefined"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"name": "messagesKey",
|
|
2394
|
+
"attribute": "messagesKey",
|
|
2395
|
+
"type": "string | undefined"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "profile",
|
|
2399
|
+
"attribute": "profile",
|
|
2400
|
+
"type": "string | undefined",
|
|
2401
|
+
"description": "Profil de rendu opt-in. `safe` refuse js / markup / innerHTML / prefix / suffix.\nSans attribut, comportement historique inchangé."
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "partial",
|
|
2405
|
+
"attribute": "partial",
|
|
2406
|
+
"type": "boolean",
|
|
2407
|
+
"default": "false",
|
|
2408
|
+
"description": "Rendu partiel opt-in : les `childNodeIds` introuvables deviennent des placeholders.\nActivé aussi en mode incrémental (ops étape 6)."
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "opsDataProvider",
|
|
2412
|
+
"attribute": "opsDataProvider",
|
|
2413
|
+
"type": "string | undefined",
|
|
2414
|
+
"description": "DataProvider optionnel alimenté par un flux d'ops (`SDUIOp` ou `SDUIOp[]`).\nChaque assignation est consommée via `applyOp`."
|
|
2415
|
+
}
|
|
2416
|
+
],
|
|
2417
|
+
"events": [
|
|
2418
|
+
{
|
|
2419
|
+
"name": "sdui-action",
|
|
2420
|
+
"type": "CustomEvent"
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"tag": "sonic-select",
|
|
2426
|
+
"className": "Select",
|
|
2427
|
+
"module": "src/core/components/ui/form/select/select.ts",
|
|
2428
|
+
"description": "#### FormElement :\nSynchronise `value` via `formDataProvider` + `name`.\nPeut alimenter un `sonic-queue` via `dataFilterProvider` sur le même store.",
|
|
2429
|
+
"props": [
|
|
2430
|
+
{
|
|
2431
|
+
"name": "valueKey",
|
|
2432
|
+
"attribute": "valueKey",
|
|
2433
|
+
"type": "string",
|
|
2434
|
+
"default": "value"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "wordingKey",
|
|
2438
|
+
"attribute": "wordingKey",
|
|
2439
|
+
"type": "string",
|
|
2440
|
+
"default": "wording"
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"name": "multiple",
|
|
2444
|
+
"attribute": "multiple",
|
|
2445
|
+
"type": "boolean",
|
|
2446
|
+
"default": "false"
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"name": "size",
|
|
2450
|
+
"attribute": "size",
|
|
2451
|
+
"type": "Size | undefined"
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"name": "selectSize",
|
|
2455
|
+
"attribute": "selectSize",
|
|
2456
|
+
"type": "number | undefined"
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"name": "status",
|
|
2460
|
+
"attribute": "status",
|
|
2461
|
+
"type": "| \"default\" | \"success\" | \"error\" | \"warning\" | \"primary\" | \"info\"",
|
|
2462
|
+
"values": [
|
|
2463
|
+
"default",
|
|
2464
|
+
"success",
|
|
2465
|
+
"error",
|
|
2466
|
+
"warning",
|
|
2467
|
+
"primary",
|
|
2468
|
+
"info"
|
|
2469
|
+
],
|
|
2470
|
+
"default": "default"
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"name": "options",
|
|
2474
|
+
"attribute": "options",
|
|
2475
|
+
"type": "unknown"
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"name": "hasDoneFirstUpdate",
|
|
2479
|
+
"attribute": "hasDoneFirstUpdate",
|
|
2480
|
+
"type": "boolean",
|
|
2481
|
+
"default": "false"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "_value",
|
|
2485
|
+
"attribute": "_value",
|
|
2486
|
+
"type": "string",
|
|
2487
|
+
"default": ""
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"name": "value",
|
|
2491
|
+
"attribute": "value",
|
|
2492
|
+
"type": "string"
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"name": "forceAutoFill",
|
|
2496
|
+
"attribute": "forceAutoFill",
|
|
2497
|
+
"type": "boolean",
|
|
2498
|
+
"default": "false"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "_description",
|
|
2502
|
+
"attribute": "_description",
|
|
2503
|
+
"type": "string | undefined"
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"name": "description",
|
|
2507
|
+
"attribute": "description",
|
|
2508
|
+
"type": "string | undefined"
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"name": "_label",
|
|
2512
|
+
"attribute": "_label",
|
|
2513
|
+
"type": "string | undefined"
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"name": "label",
|
|
2517
|
+
"attribute": "label",
|
|
2518
|
+
"type": "string | undefined"
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"name": "slotLabelNodes",
|
|
2522
|
+
"attribute": "slotLabelNodes",
|
|
2523
|
+
"type": "Array<Node>"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"name": "slotDescriptionNodes",
|
|
2527
|
+
"attribute": "slotDescriptionNodes",
|
|
2528
|
+
"type": "Array<Node>"
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"name": "slotSuffixNodes",
|
|
2532
|
+
"attribute": "slotSuffixNodes",
|
|
2533
|
+
"type": "Array<Node>"
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"name": "slotPrefixNodes",
|
|
2537
|
+
"attribute": "slotPrefixNodes",
|
|
2538
|
+
"type": "Array<Node>"
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"name": "hasDescription",
|
|
2542
|
+
"attribute": "hasDescription",
|
|
2543
|
+
"type": "boolean",
|
|
2544
|
+
"default": "false"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "hasLabel",
|
|
2548
|
+
"attribute": "hasLabel",
|
|
2549
|
+
"type": "boolean",
|
|
2550
|
+
"default": "false"
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"name": "hasSuffix",
|
|
2554
|
+
"attribute": "hasSuffix",
|
|
2555
|
+
"type": "boolean",
|
|
2556
|
+
"default": "false"
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"name": "hasPrefix",
|
|
2560
|
+
"attribute": "hasPrefix",
|
|
2561
|
+
"type": "boolean",
|
|
2562
|
+
"default": "false"
|
|
2563
|
+
}
|
|
2564
|
+
]
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"tag": "sonic-states",
|
|
2568
|
+
"className": "SonicStates",
|
|
2569
|
+
"module": "src/core/components/functional/states/states.ts",
|
|
2570
|
+
"props": [
|
|
2571
|
+
{
|
|
2572
|
+
"name": "state",
|
|
2573
|
+
"attribute": "state",
|
|
2574
|
+
"type": "string",
|
|
2575
|
+
"default": ""
|
|
2576
|
+
},
|
|
2577
|
+
{
|
|
2578
|
+
"name": "inverted",
|
|
2579
|
+
"attribute": "inverted",
|
|
2580
|
+
"type": "boolean",
|
|
2581
|
+
"default": "false"
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"name": "states",
|
|
2585
|
+
"attribute": "states",
|
|
2586
|
+
"type": "States | undefined"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"name": "statePath",
|
|
2590
|
+
"attribute": "statePath",
|
|
2591
|
+
"type": "string",
|
|
2592
|
+
"default": ""
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"name": "statePublisher",
|
|
2596
|
+
"attribute": "statePublisher",
|
|
2597
|
+
"type": "TypeAndRecordOfType<PublisherInterface<string & object>> | undefined"
|
|
2598
|
+
}
|
|
2599
|
+
]
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"tag": "sonic-submit",
|
|
2603
|
+
"className": "Submit",
|
|
2604
|
+
"module": "src/core/components/functional/submit/submit.ts",
|
|
2605
|
+
"description": "###L'élément submit permet d'envoyer des données en rest\n* Les données envoyées sont celles présentes dans le publisher dont l'adresse est renseignée via l'attribut *formDataProvider*.\nCet attribut est également utilisé par les éléments de form comme *sonic-input*, ou *sonic-select*, qui remplissent ce publisher avec leur attribut *value* en fonction de leur attribut *name*\n* L'api est configuré à la manière d'un fetcher.\n* L'attribut *method* sur sonic-submit permet de choisir la méthode : *post* (défaut), *put*, *patch*, *delete*, *get*.\n* *endPoint* sur sonic-submit remplace le *dataProvider* ancêtre pour l'URL de la requête.\n* *sendAsFormData* envoie un corps multipart/form-data au lieu de JSON.\n* *native* : après validation, copie le publisher dans un <form> HTML ancêtre et déclenche un submit navigateur (pas d'appel fetch).\n* *submitResultKey* / submit-result-key : ne conserve qu'une sous-partie du JSON avant écriture dans *submitResultDataProvider*.\n* Si l'attribut *onClick* est présent, les données sont envoyées quand on click dans son contenu\n* Si l'attribut *onEnterKey* est présent, les données sont envoyées quand on appuie sur la touche entrée d'un élément contenu dans le *sonic-submit* ayant le focus\n* Pendant l'envoi REST, le slot est désactivé visuellement (*data-disabled*).\n* *clearedDataOnSuccess* (ancêtre) : ids de publishers séparés par des espaces, remis à {} lorsqu'un résultat est retourné.\n* Événement *submit* (bubbles) avec *detail* = résultat. *usernameKey* / *passwordKey* : Credential Management API après succès HTTP.",
|
|
2606
|
+
"props": [
|
|
2607
|
+
{
|
|
2608
|
+
"name": "submitResultKey",
|
|
2609
|
+
"attribute": "submitResultKey",
|
|
2610
|
+
"type": "string | null",
|
|
2611
|
+
"default": "null"
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"name": "disabled",
|
|
2615
|
+
"attribute": "disabled",
|
|
2616
|
+
"type": "boolean",
|
|
2617
|
+
"default": "false"
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"name": "endPoint",
|
|
2621
|
+
"attribute": "endPoint",
|
|
2622
|
+
"type": "string | null",
|
|
2623
|
+
"default": "null"
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"name": "name",
|
|
2627
|
+
"attribute": "name",
|
|
2628
|
+
"type": "string",
|
|
2629
|
+
"default": ""
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "value",
|
|
2633
|
+
"attribute": "value",
|
|
2634
|
+
"type": "string",
|
|
2635
|
+
"default": ""
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "api",
|
|
2639
|
+
"attribute": "api",
|
|
2640
|
+
"type": "API | null",
|
|
2641
|
+
"default": "null"
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"name": "clickTimeStamp",
|
|
2645
|
+
"attribute": "clickTimeStamp",
|
|
2646
|
+
"type": "number",
|
|
2647
|
+
"default": "0"
|
|
2648
|
+
}
|
|
2649
|
+
]
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"tag": "sonic-subscriber",
|
|
2653
|
+
"className": "SonicSubscriber",
|
|
2654
|
+
"module": "src/core/components/functional/subscriber/subscriber.ts",
|
|
2655
|
+
"description": "Voir la partie dédiée dans *MISCALLENOUS*",
|
|
2656
|
+
"props": [
|
|
2657
|
+
{
|
|
2658
|
+
"name": "noAutofill",
|
|
2659
|
+
"attribute": "noAutofill",
|
|
2660
|
+
"type": "boolean",
|
|
2661
|
+
"default": "true"
|
|
2662
|
+
}
|
|
2663
|
+
]
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"tag": "sonic-t",
|
|
2667
|
+
"className": "SonicT",
|
|
2668
|
+
"module": "src/core/components/functional/translation/translation.ts",
|
|
2669
|
+
"props": [
|
|
2670
|
+
{
|
|
2671
|
+
"name": "key",
|
|
2672
|
+
"attribute": "key",
|
|
2673
|
+
"type": "string | undefined"
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "unsafeHTML",
|
|
2677
|
+
"attribute": "unsafeHTML",
|
|
2678
|
+
"type": "boolean | undefined"
|
|
2679
|
+
}
|
|
2680
|
+
]
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"tag": "sonic-table",
|
|
2684
|
+
"className": "Table",
|
|
2685
|
+
"module": "src/core/components/ui/table/table.ts",
|
|
2686
|
+
"props": [
|
|
2687
|
+
{
|
|
2688
|
+
"name": "size",
|
|
2689
|
+
"attribute": "size",
|
|
2690
|
+
"type": "Size | undefined"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "bordered",
|
|
2694
|
+
"attribute": "bordered",
|
|
2695
|
+
"type": "boolean | undefined"
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"name": "rounded",
|
|
2699
|
+
"attribute": "rounded",
|
|
2700
|
+
"type": "boolean | undefined"
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "noCustomScroll",
|
|
2704
|
+
"attribute": "noCustomScroll",
|
|
2705
|
+
"type": "boolean | undefined"
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"name": "maxHeight",
|
|
2709
|
+
"attribute": "maxHeight",
|
|
2710
|
+
"type": "string | undefined"
|
|
2711
|
+
}
|
|
2712
|
+
]
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"tag": "sonic-tbody",
|
|
2716
|
+
"className": "TableTbody",
|
|
2717
|
+
"module": "src/core/components/ui/table/table-tbody.ts",
|
|
2718
|
+
"props": []
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"tag": "sonic-td",
|
|
2722
|
+
"className": "TableTd",
|
|
2723
|
+
"module": "src/core/components/ui/table/table-td.ts",
|
|
2724
|
+
"props": [
|
|
2725
|
+
{
|
|
2726
|
+
"name": "colSpan",
|
|
2727
|
+
"attribute": "colSpan",
|
|
2728
|
+
"type": "number | undefined"
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"name": "rowSpan",
|
|
2732
|
+
"attribute": "rowSpan",
|
|
2733
|
+
"type": "number | undefined"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "align",
|
|
2737
|
+
"attribute": "align",
|
|
2738
|
+
"type": "Align | undefined"
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"name": "vAlign",
|
|
2742
|
+
"attribute": "vAlign",
|
|
2743
|
+
"type": "string | undefined"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"name": "minWidth",
|
|
2747
|
+
"attribute": "minWidth",
|
|
2748
|
+
"type": "string | undefined"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"name": "maxWidth",
|
|
2752
|
+
"attribute": "maxWidth",
|
|
2753
|
+
"type": "string | undefined"
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "width",
|
|
2757
|
+
"attribute": "width",
|
|
2758
|
+
"type": "string | undefined"
|
|
2759
|
+
}
|
|
2760
|
+
]
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"tag": "sonic-textarea",
|
|
2764
|
+
"className": "Textarea",
|
|
2765
|
+
"module": "src/core/components/ui/form/textarea/textarea.ts",
|
|
2766
|
+
"props": [
|
|
2767
|
+
{
|
|
2768
|
+
"name": "size",
|
|
2769
|
+
"attribute": "size",
|
|
2770
|
+
"type": "Size",
|
|
2771
|
+
"default": "md"
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
"name": "rows",
|
|
2775
|
+
"attribute": "rows",
|
|
2776
|
+
"type": "number | undefined"
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"name": "cols",
|
|
2780
|
+
"attribute": "cols",
|
|
2781
|
+
"type": "number | undefined"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"name": "maxlength",
|
|
2785
|
+
"attribute": "maxlength",
|
|
2786
|
+
"type": "number | undefined"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"name": "minlength",
|
|
2790
|
+
"attribute": "minlength",
|
|
2791
|
+
"type": "number | undefined"
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"name": "wrap",
|
|
2795
|
+
"attribute": "wrap",
|
|
2796
|
+
"type": "\"hard\" | \"soft\" | undefined",
|
|
2797
|
+
"values": [
|
|
2798
|
+
"hard",
|
|
2799
|
+
"soft"
|
|
2800
|
+
]
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"name": "readonly",
|
|
2804
|
+
"attribute": "readonly",
|
|
2805
|
+
"type": "boolean",
|
|
2806
|
+
"default": "false"
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"name": "placeholder",
|
|
2810
|
+
"attribute": "placeholder",
|
|
2811
|
+
"type": "string | undefined"
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"name": "resize",
|
|
2815
|
+
"attribute": "resize",
|
|
2816
|
+
"type": "| \"none\" | \"both\" | \"horizontal\" | \"vertical\" | \"block\" | \"inline\"",
|
|
2817
|
+
"values": [
|
|
2818
|
+
"none",
|
|
2819
|
+
"both",
|
|
2820
|
+
"horizontal",
|
|
2821
|
+
"vertical",
|
|
2822
|
+
"block",
|
|
2823
|
+
"inline"
|
|
2824
|
+
],
|
|
2825
|
+
"default": "vertical"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "slotLabelNodes",
|
|
2829
|
+
"attribute": "slotLabelNodes",
|
|
2830
|
+
"type": "Array<Node>"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "slotDescriptionNodes",
|
|
2834
|
+
"attribute": "slotDescriptionNodes",
|
|
2835
|
+
"type": "Array<Node>"
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"name": "hasDescription",
|
|
2839
|
+
"attribute": "hasDescription",
|
|
2840
|
+
"type": "boolean",
|
|
2841
|
+
"default": "false"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "hasLabel",
|
|
2845
|
+
"attribute": "hasLabel",
|
|
2846
|
+
"type": "boolean",
|
|
2847
|
+
"default": "false"
|
|
2848
|
+
}
|
|
2849
|
+
]
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"tag": "sonic-tfoot",
|
|
2853
|
+
"className": "TableTfoot",
|
|
2854
|
+
"module": "src/core/components/ui/table/table-tfoot.ts",
|
|
2855
|
+
"props": []
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"tag": "sonic-th",
|
|
2859
|
+
"className": "TableTh",
|
|
2860
|
+
"module": "src/core/components/ui/table/table-th.ts",
|
|
2861
|
+
"props": [
|
|
2862
|
+
{
|
|
2863
|
+
"name": "colSpan",
|
|
2864
|
+
"attribute": "colSpan",
|
|
2865
|
+
"type": "number | undefined"
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"name": "rowSpan",
|
|
2869
|
+
"attribute": "rowSpan",
|
|
2870
|
+
"type": "number | undefined"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"name": "align",
|
|
2874
|
+
"attribute": "align",
|
|
2875
|
+
"type": "Align | undefined"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"name": "minWidth",
|
|
2879
|
+
"attribute": "minWidth",
|
|
2880
|
+
"type": "string | undefined"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"name": "maxWidth",
|
|
2884
|
+
"attribute": "maxWidth",
|
|
2885
|
+
"type": "string | undefined"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"name": "width",
|
|
2889
|
+
"attribute": "width",
|
|
2890
|
+
"type": "string | undefined"
|
|
2891
|
+
}
|
|
2892
|
+
]
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"tag": "sonic-thead",
|
|
2896
|
+
"className": "TableThead",
|
|
2897
|
+
"module": "src/core/components/ui/table/table-thead.ts",
|
|
2898
|
+
"props": []
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"tag": "sonic-theme",
|
|
2902
|
+
"className": "Theme",
|
|
2903
|
+
"module": "src/core/components/ui/theme/theme.ts",
|
|
2904
|
+
"props": [
|
|
2905
|
+
{
|
|
2906
|
+
"name": "theme",
|
|
2907
|
+
"attribute": "theme",
|
|
2908
|
+
"type": "\"light\" | \"dark\" | \"auto\" | \"custom\" | undefined",
|
|
2909
|
+
"values": [
|
|
2910
|
+
"light",
|
|
2911
|
+
"dark",
|
|
2912
|
+
"auto",
|
|
2913
|
+
"custom"
|
|
2914
|
+
]
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"name": "color",
|
|
2918
|
+
"attribute": "color",
|
|
2919
|
+
"type": "boolean",
|
|
2920
|
+
"default": "false"
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"name": "font",
|
|
2924
|
+
"attribute": "font",
|
|
2925
|
+
"type": "boolean",
|
|
2926
|
+
"default": "false"
|
|
2927
|
+
}
|
|
2928
|
+
]
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"tag": "sonic-toast",
|
|
2932
|
+
"className": "SonicToast",
|
|
2933
|
+
"module": "src/core/components/ui/toast/toast.ts",
|
|
2934
|
+
"props": [
|
|
2935
|
+
{
|
|
2936
|
+
"name": "toasts",
|
|
2937
|
+
"attribute": "toasts",
|
|
2938
|
+
"type": "Toast[]",
|
|
2939
|
+
"default": "[]"
|
|
2940
|
+
}
|
|
2941
|
+
]
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"tag": "sonic-toast-item",
|
|
2945
|
+
"className": "SonicToastItem",
|
|
2946
|
+
"module": "src/core/components/ui/toast/toast-item.ts",
|
|
2947
|
+
"props": [
|
|
2948
|
+
{
|
|
2949
|
+
"name": "label",
|
|
2950
|
+
"attribute": "label",
|
|
2951
|
+
"type": "ToastContent",
|
|
2952
|
+
"default": ""
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"name": "id",
|
|
2956
|
+
"attribute": "id",
|
|
2957
|
+
"type": "string",
|
|
2958
|
+
"default": ""
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"name": "text",
|
|
2962
|
+
"attribute": "text",
|
|
2963
|
+
"type": "ToastContent",
|
|
2964
|
+
"default": ""
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"name": "status",
|
|
2968
|
+
"attribute": "status",
|
|
2969
|
+
"type": "ToastStatus | undefined"
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
"name": "ghost",
|
|
2973
|
+
"attribute": "ghost",
|
|
2974
|
+
"type": "boolean",
|
|
2975
|
+
"default": "false"
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"name": "preserve",
|
|
2979
|
+
"attribute": "preserve",
|
|
2980
|
+
"type": "boolean",
|
|
2981
|
+
"default": "false"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"name": "dismissForever",
|
|
2985
|
+
"attribute": "dismissForever",
|
|
2986
|
+
"type": "boolean",
|
|
2987
|
+
"default": "false"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"name": "maxHeight",
|
|
2991
|
+
"attribute": "maxHeight",
|
|
2992
|
+
"type": "string",
|
|
2993
|
+
"default": "10rem"
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"name": "useSlot",
|
|
2997
|
+
"attribute": "useSlot",
|
|
2998
|
+
"type": "boolean",
|
|
2999
|
+
"default": "false"
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"name": "styleSheet",
|
|
3003
|
+
"attribute": "styleSheet",
|
|
3004
|
+
"type": "ToastStyleSheetInput | undefined"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "visible",
|
|
3008
|
+
"attribute": "visible",
|
|
3009
|
+
"type": "boolean",
|
|
3010
|
+
"default": "true"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
"events": [
|
|
3014
|
+
{
|
|
3015
|
+
"name": "hide",
|
|
3016
|
+
"type": "CustomEvent"
|
|
3017
|
+
}
|
|
3018
|
+
]
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"tag": "sonic-toast-message-subscriber",
|
|
3022
|
+
"className": "MessageSubscriber",
|
|
3023
|
+
"module": "src/core/components/ui/toast/message-subscriber.ts",
|
|
3024
|
+
"props": [
|
|
3025
|
+
{
|
|
3026
|
+
"name": "_messages",
|
|
3027
|
+
"attribute": "_messages",
|
|
3028
|
+
"type": "Array<Message>",
|
|
3029
|
+
"default": "[]"
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"name": "messages",
|
|
3033
|
+
"attribute": "messages",
|
|
3034
|
+
"type": "unknown"
|
|
3035
|
+
}
|
|
3036
|
+
]
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"tag": "sonic-tooltip",
|
|
3040
|
+
"className": "Tooltip",
|
|
3041
|
+
"module": "src/core/components/ui/tooltip/tooltip.ts",
|
|
3042
|
+
"props": [
|
|
3043
|
+
{
|
|
3044
|
+
"name": "label",
|
|
3045
|
+
"attribute": "label",
|
|
3046
|
+
"type": "string | undefined"
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"name": "placement",
|
|
3050
|
+
"attribute": "placement",
|
|
3051
|
+
"type": "TooltipPlacement | undefined"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "disabled",
|
|
3055
|
+
"attribute": "disabled",
|
|
3056
|
+
"type": "boolean",
|
|
3057
|
+
"default": "false"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"name": "focusable",
|
|
3061
|
+
"attribute": "focusable",
|
|
3062
|
+
"type": "boolean",
|
|
3063
|
+
"default": "false"
|
|
3064
|
+
}
|
|
3065
|
+
]
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"tag": "sonic-tr",
|
|
3069
|
+
"className": "TableTr",
|
|
3070
|
+
"module": "src/core/components/ui/table/table-tr.ts",
|
|
3071
|
+
"props": [
|
|
3072
|
+
{
|
|
3073
|
+
"name": "_metadata_",
|
|
3074
|
+
"attribute": "_metadata_",
|
|
3075
|
+
"type": "ListItemMetadata",
|
|
3076
|
+
"default": "{}"
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"name": "even",
|
|
3080
|
+
"attribute": "even",
|
|
3081
|
+
"type": "boolean | undefined"
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"name": "odd",
|
|
3085
|
+
"attribute": "odd",
|
|
3086
|
+
"type": "boolean | undefined"
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
"name": "last",
|
|
3090
|
+
"attribute": "last",
|
|
3091
|
+
"type": "boolean | undefined"
|
|
3092
|
+
}
|
|
3093
|
+
]
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"tag": "sonic-value",
|
|
3097
|
+
"className": "SonicValue",
|
|
3098
|
+
"module": "src/core/components/functional/value/value.ts",
|
|
3099
|
+
"props": []
|
|
3100
|
+
}
|
|
3101
|
+
],
|
|
3102
|
+
"insufficientAnnotationCount": 66
|
|
3103
|
+
}
|