@supersoniks/concorde 4.9.98-visual-stack.1 → 4.9.98-visual-stack.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/.gitlab-ci.yml +0 -13
  2. package/build-infos.json +1 -1
  3. package/concorde-3d.bundle.js +1 -1
  4. package/concorde-3d.es.js +2 -2
  5. package/concorde-core.bundle.js +557 -622
  6. package/concorde-core.es.js +6025 -5575
  7. package/concorde-hugging-face-infer.bundle.js +1 -1
  8. package/concorde-hugging-face-infer.es.js +1 -1
  9. package/concorde-interactive.bundle.js +1162 -0
  10. package/concorde-interactive.es.js +10723 -0
  11. package/concorde-shader.bundle.js +1 -1
  12. package/concorde-shader.es.js +2 -2
  13. package/concorde-webgpu.bundle.js +1 -1
  14. package/concorde-webgpu.es.js +2 -2
  15. package/dist/concorde-3d.bundle.js +1 -1
  16. package/dist/concorde-3d.es.js +2 -2
  17. package/dist/concorde-core.bundle.js +557 -622
  18. package/dist/concorde-core.es.js +6025 -5575
  19. package/dist/concorde-hugging-face-infer.bundle.js +1 -1
  20. package/dist/concorde-hugging-face-infer.es.js +1 -1
  21. package/dist/concorde-interactive.bundle.js +1162 -0
  22. package/dist/concorde-interactive.es.js +10723 -0
  23. package/dist/concorde-shader.bundle.js +1 -1
  24. package/dist/concorde-shader.es.js +2 -2
  25. package/dist/concorde-webgpu.bundle.js +1 -1
  26. package/dist/concorde-webgpu.es.js +2 -2
  27. package/dist/docs-mock-api-sw.js +5 -1
  28. package/dist/docs-mock-api-sw.js.map +2 -2
  29. package/dist/js/addons/interactive.js +6 -0
  30. package/dist/js/addons/interactive.js.map +1 -0
  31. package/dist/js/core/components/functional/if/if.js +65 -7
  32. package/dist/js/core/components/functional/if/if.js.map +1 -1
  33. package/dist/js/core/components/functional/interactive/action.js +96 -0
  34. package/dist/js/core/components/functional/interactive/action.js.map +1 -0
  35. package/dist/js/core/components/functional/interactive/gamepad.js +206 -0
  36. package/dist/js/core/components/functional/interactive/gamepad.js.map +1 -0
  37. package/dist/js/core/components/functional/interactive/gesture.js +148 -0
  38. package/dist/js/core/components/functional/interactive/gesture.js.map +1 -0
  39. package/dist/js/core/components/functional/interactive/helpers.js +82 -0
  40. package/dist/js/core/components/functional/interactive/helpers.js.map +1 -0
  41. package/dist/js/core/components/functional/interactive/index.js +20 -0
  42. package/dist/js/core/components/functional/interactive/index.js.map +1 -0
  43. package/dist/js/core/components/functional/interactive/keyboard.js +183 -0
  44. package/dist/js/core/components/functional/interactive/keyboard.js.map +1 -0
  45. package/dist/js/core/components/functional/interactive/matrix.js +201 -0
  46. package/dist/js/core/components/functional/interactive/matrix.js.map +1 -0
  47. package/dist/js/core/components/functional/interactive/registry.js +28 -0
  48. package/dist/js/core/components/functional/interactive/registry.js.map +1 -0
  49. package/dist/js/core/components/functional/interactive/store.js +264 -0
  50. package/dist/js/core/components/functional/interactive/store.js.map +1 -0
  51. package/dist/js/core/components/functional/interactive/ticker.js +182 -0
  52. package/dist/js/core/components/functional/interactive/ticker.js.map +1 -0
  53. package/dist/js/core/components/functional/value/value.js +49 -4
  54. package/dist/js/core/components/functional/value/value.js.map +1 -1
  55. package/dist/js/core/components/ui/_css/rounded.js +34 -0
  56. package/dist/js/core/components/ui/_css/rounded.js.map +1 -0
  57. package/dist/js/core/components/ui/_css/type.js +44 -0
  58. package/dist/js/core/components/ui/_css/type.js.map +1 -1
  59. package/dist/js/core/components/ui/_i18n/ui-aria-labels.js +95 -0
  60. package/dist/js/core/components/ui/_i18n/ui-aria-labels.js.map +1 -0
  61. package/dist/js/core/components/ui/alert/alert.js +72 -87
  62. package/dist/js/core/components/ui/alert/alert.js.map +1 -1
  63. package/dist/js/core/components/ui/alert-messages/alert-messages.js +1 -0
  64. package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +1 -1
  65. package/dist/js/core/components/ui/badge/badge.js +29 -80
  66. package/dist/js/core/components/ui/badge/badge.js.map +1 -1
  67. package/dist/js/core/components/ui/button/button.js +8 -7
  68. package/dist/js/core/components/ui/button/button.js.map +1 -1
  69. package/dist/js/core/components/ui/card/card-header.js +7 -2
  70. package/dist/js/core/components/ui/card/card-header.js.map +1 -1
  71. package/dist/js/core/components/ui/divider/divider.js +1 -1
  72. package/dist/js/core/components/ui/divider/divider.js.map +1 -1
  73. package/dist/js/core/components/ui/form/checkbox/checkbox.js +4 -20
  74. package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +1 -1
  75. package/dist/js/core/components/ui/form/fieldset/legend-description.js +1 -1
  76. package/dist/js/core/components/ui/form/fieldset/legend.js +1 -1
  77. package/dist/js/core/components/ui/form/input/input.js +12 -15
  78. package/dist/js/core/components/ui/form/input/input.js.map +1 -1
  79. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +363 -158
  80. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +1 -1
  81. package/dist/js/core/components/ui/form/radio/radio.js +1 -1
  82. package/dist/js/core/components/ui/form/select/select.js +3 -6
  83. package/dist/js/core/components/ui/form/select/select.js.map +1 -1
  84. package/dist/js/core/components/ui/form/textarea/textarea.js +1 -2
  85. package/dist/js/core/components/ui/form/textarea/textarea.js.map +1 -1
  86. package/dist/js/core/components/ui/image/image.js +9 -37
  87. package/dist/js/core/components/ui/image/image.js.map +1 -1
  88. package/dist/js/core/components/ui/link/link.js +25 -26
  89. package/dist/js/core/components/ui/link/link.js.map +1 -1
  90. package/dist/js/core/components/ui/modal/modal-close.js +3 -12
  91. package/dist/js/core/components/ui/modal/modal-close.js.map +1 -1
  92. package/dist/js/core/components/ui/modal/modal.js +18 -18
  93. package/dist/js/core/components/ui/modal/modal.js.map +1 -1
  94. package/dist/js/core/components/ui/pop/pop.js +131 -112
  95. package/dist/js/core/components/ui/pop/pop.js.map +1 -1
  96. package/dist/js/core/components/ui/table/table.js.map +1 -1
  97. package/dist/js/core/components/ui/theme/theme.js +1 -1
  98. package/dist/js/core/components/ui/toast/dismissed.js +9 -0
  99. package/dist/js/core/components/ui/toast/dismissed.js.map +1 -0
  100. package/dist/js/core/components/ui/toast/render-content.js +14 -0
  101. package/dist/js/core/components/ui/toast/render-content.js.map +1 -0
  102. package/dist/js/core/components/ui/toast/toast-item.js +150 -96
  103. package/dist/js/core/components/ui/toast/toast-item.js.map +1 -1
  104. package/dist/js/core/components/ui/toast/toast.js +41 -13
  105. package/dist/js/core/components/ui/toast/toast.js.map +1 -1
  106. package/dist/js/core/components/ui/tooltip/tooltip.js +144 -143
  107. package/dist/js/core/components/ui/tooltip/tooltip.js.map +1 -1
  108. package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +1 -1
  109. package/dist/js/core/decorators/subscriber/derive.js +3 -1
  110. package/dist/js/core/decorators/subscriber/derive.js.map +1 -1
  111. package/dist/js/core/mixins/Fetcher.js.map +1 -1
  112. package/dist/js/core/mixins/FormCheckable.js +1 -8
  113. package/dist/js/core/mixins/FormCheckable.js.map +1 -1
  114. package/dist/js/core/mixins/FormElement.js +26 -53
  115. package/dist/js/core/mixins/FormElement.js.map +1 -1
  116. package/dist/js/core/utils/AncestorAttributeObserver.js +130 -55
  117. package/dist/js/core/utils/AncestorAttributeObserver.js.map +1 -1
  118. package/dist/js/core/utils/LocationHandler.js +1 -1
  119. package/dist/js/core/utils/LocationHandler.js.map +1 -1
  120. package/dist/js/core/utils/dismissed.js +23 -0
  121. package/dist/js/core/utils/dismissed.js.map +1 -0
  122. package/dist/js/core/utils/positioning.js +110 -0
  123. package/dist/js/core/utils/positioning.js.map +1 -0
  124. package/dist/js/directives.js +1 -2
  125. package/dist/js/directives.js.map +1 -1
  126. package/dist/types/addons/interactive.d.ts +6 -0
  127. package/dist/types/addons/interactive.d.ts.map +1 -0
  128. package/dist/types/core/components/functional/if/if.d.ts +14 -5
  129. package/dist/types/core/components/functional/if/if.d.ts.map +1 -1
  130. package/dist/types/core/components/functional/interactive/action.d.ts +22 -0
  131. package/dist/types/core/components/functional/interactive/action.d.ts.map +1 -0
  132. package/dist/types/core/components/functional/interactive/gamepad.d.ts +37 -0
  133. package/dist/types/core/components/functional/interactive/gamepad.d.ts.map +1 -0
  134. package/dist/types/core/components/functional/interactive/gesture.d.ts +26 -0
  135. package/dist/types/core/components/functional/interactive/gesture.d.ts.map +1 -0
  136. package/dist/types/core/components/functional/interactive/helpers.d.ts +23 -0
  137. package/dist/types/core/components/functional/interactive/helpers.d.ts.map +1 -0
  138. package/dist/types/core/components/functional/interactive/index.d.ts +20 -0
  139. package/dist/types/core/components/functional/interactive/index.d.ts.map +1 -0
  140. package/dist/types/core/components/functional/interactive/keyboard.d.ts +37 -0
  141. package/dist/types/core/components/functional/interactive/keyboard.d.ts.map +1 -0
  142. package/dist/types/core/components/functional/interactive/matrix.d.ts +31 -0
  143. package/dist/types/core/components/functional/interactive/matrix.d.ts.map +1 -0
  144. package/dist/types/core/components/functional/interactive/registry.d.ts +23 -0
  145. package/dist/types/core/components/functional/interactive/registry.d.ts.map +1 -0
  146. package/dist/types/core/components/functional/interactive/store.d.ts +46 -0
  147. package/dist/types/core/components/functional/interactive/store.d.ts.map +1 -0
  148. package/dist/types/core/components/functional/interactive/ticker.d.ts +33 -0
  149. package/dist/types/core/components/functional/interactive/ticker.d.ts.map +1 -0
  150. package/dist/types/core/components/functional/value/value.d.ts +6 -0
  151. package/dist/types/core/components/functional/value/value.d.ts.map +1 -1
  152. package/dist/types/core/components/ui/_css/rounded.d.ts +3 -0
  153. package/dist/types/core/components/ui/_css/rounded.d.ts.map +1 -0
  154. package/dist/types/core/components/ui/_css/type.d.ts +13 -0
  155. package/dist/types/core/components/ui/_css/type.d.ts.map +1 -1
  156. package/dist/types/core/components/ui/_i18n/ui-aria-labels.d.ts +83 -0
  157. package/dist/types/core/components/ui/_i18n/ui-aria-labels.d.ts.map +1 -0
  158. package/dist/types/core/components/ui/alert/alert.d.ts +14 -12
  159. package/dist/types/core/components/ui/alert/alert.d.ts.map +1 -1
  160. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +1 -1
  161. package/dist/types/core/components/ui/badge/badge.d.ts +1 -1
  162. package/dist/types/core/components/ui/badge/badge.d.ts.map +1 -1
  163. package/dist/types/core/components/ui/button/button.d.ts +13 -29
  164. package/dist/types/core/components/ui/button/button.d.ts.map +1 -1
  165. package/dist/types/core/components/ui/card/card-header.d.ts.map +1 -1
  166. package/dist/types/core/components/ui/divider/divider.d.ts +2 -1
  167. package/dist/types/core/components/ui/divider/divider.d.ts.map +1 -1
  168. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +25 -73
  169. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +1 -1
  170. package/dist/types/core/components/ui/form/input/input.d.ts +14 -29
  171. package/dist/types/core/components/ui/form/input/input.d.ts.map +1 -1
  172. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +63 -65
  173. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +1 -1
  174. package/dist/types/core/components/ui/form/radio/radio.d.ts +1 -1
  175. package/dist/types/core/components/ui/form/select/select.d.ts +3 -5
  176. package/dist/types/core/components/ui/form/select/select.d.ts.map +1 -1
  177. package/dist/types/core/components/ui/form/textarea/textarea.d.ts +12 -28
  178. package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +1 -1
  179. package/dist/types/core/components/ui/image/image.d.ts +2 -1
  180. package/dist/types/core/components/ui/image/image.d.ts.map +1 -1
  181. package/dist/types/core/components/ui/link/link.d.ts +10 -9
  182. package/dist/types/core/components/ui/link/link.d.ts.map +1 -1
  183. package/dist/types/core/components/ui/modal/modal-close.d.ts +2 -2
  184. package/dist/types/core/components/ui/modal/modal-close.d.ts.map +1 -1
  185. package/dist/types/core/components/ui/pop/pop.d.ts +12 -4
  186. package/dist/types/core/components/ui/pop/pop.d.ts.map +1 -1
  187. package/dist/types/core/components/ui/table/table.d.ts +2 -1
  188. package/dist/types/core/components/ui/table/table.d.ts.map +1 -1
  189. package/dist/types/core/components/ui/toast/dismissed.d.ts +3 -0
  190. package/dist/types/core/components/ui/toast/dismissed.d.ts.map +1 -0
  191. package/dist/types/core/components/ui/toast/render-content.d.ts +7 -0
  192. package/dist/types/core/components/ui/toast/render-content.d.ts.map +1 -0
  193. package/dist/types/core/components/ui/toast/toast-item.d.ts +26 -9
  194. package/dist/types/core/components/ui/toast/toast-item.d.ts.map +1 -1
  195. package/dist/types/core/components/ui/toast/toast.d.ts +6 -3
  196. package/dist/types/core/components/ui/toast/toast.d.ts.map +1 -1
  197. package/dist/types/core/components/ui/toast/types.d.ts +12 -2
  198. package/dist/types/core/components/ui/toast/types.d.ts.map +1 -1
  199. package/dist/types/core/components/ui/tooltip/tooltip.d.ts +19 -11
  200. package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +1 -1
  201. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +3 -4
  202. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +1 -1
  203. package/dist/types/core/decorators/subscriber/derive.d.ts.map +1 -1
  204. package/dist/types/core/mixins/FormCheckable.d.ts +10 -27
  205. package/dist/types/core/mixins/FormCheckable.d.ts.map +1 -1
  206. package/dist/types/core/mixins/FormElement.d.ts +21 -10
  207. package/dist/types/core/mixins/FormElement.d.ts.map +1 -1
  208. package/dist/types/core/mixins/FormInput.d.ts +11 -27
  209. package/dist/types/core/mixins/FormInput.d.ts.map +1 -1
  210. package/dist/types/core/utils/AncestorAttributeObserver.d.ts +17 -9
  211. package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +1 -1
  212. package/dist/types/core/utils/LocationHandler.d.ts +3 -2
  213. package/dist/types/core/utils/LocationHandler.d.ts.map +1 -1
  214. package/dist/types/core/utils/dismissed.d.ts +3 -0
  215. package/dist/types/core/utils/dismissed.d.ts.map +1 -0
  216. package/dist/types/core/utils/positioning.d.ts +44 -0
  217. package/dist/types/core/utils/positioning.d.ts.map +1 -0
  218. package/dist/types/directives.d.ts +1 -3
  219. package/dist/types/directives.d.ts.map +1 -1
  220. package/dist/types/mixins.d.ts +22 -55
  221. package/dist/types/mixins.d.ts.map +1 -1
  222. package/docs/assets/{index-FmK4JaIM.js → index-D8MVWqY6.js} +946 -687
  223. package/docs/assets/index-DiD0qYvE.css +1 -0
  224. package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +17 -85
  225. package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +1 -1
  226. package/docs/crawl/hubs/form-components.html +13 -11
  227. package/docs/docs-mock-api-sw.js +5 -1
  228. package/docs/docs-mock-api-sw.js.map +2 -2
  229. package/docs/index.html +2 -2
  230. package/docs/llms-full.txt +12 -38
  231. package/docs/llms.txt +1 -1
  232. package/docs/src/core/components/functional/sdui/sdui.md +0 -0
  233. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -0
  234. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +14 -118
  235. package/docs/src/docs/_getting-started/create-a-component.md +0 -0
  236. package/docs/src/docs/_misc/formelement-subscriber-removal.md +1 -1
  237. package/docs/src/docs/search/docs-search.json +195 -200
  238. package/docs/src/tsconfig.json +324 -0
  239. package/gitlab/job_tests.sh +25 -12
  240. package/index.html +3 -3
  241. package/package.json +182 -10
  242. package/public/docs-mock-api-sw.js +5 -1
  243. package/public/docs-mock-api-sw.js.map +2 -2
  244. package/scripts/build-addons.mjs +2 -2
  245. package/scripts/post-build.mjs +9 -0
  246. package/src/addons/interactive.ts +5 -0
  247. package/src/core/components/functional/if/if.ts +54 -7
  248. package/src/core/components/functional/interactive/action.ts +84 -0
  249. package/src/core/components/functional/interactive/gamepad.ts +197 -0
  250. package/src/core/components/functional/interactive/gesture.ts +136 -0
  251. package/src/core/components/functional/interactive/helpers.spec.ts +50 -0
  252. package/src/core/components/functional/interactive/helpers.ts +97 -0
  253. package/src/core/components/functional/interactive/index.ts +25 -0
  254. package/src/core/components/functional/interactive/interactive.md +33 -0
  255. package/src/core/components/functional/interactive/keyboard.ts +171 -0
  256. package/src/core/components/functional/interactive/matrix.ts +185 -0
  257. package/src/core/components/functional/interactive/registry.ts +46 -0
  258. package/src/core/components/functional/interactive/store.ts +270 -0
  259. package/src/core/components/functional/interactive/ticker.ts +171 -0
  260. package/src/core/components/functional/list/list.ts +0 -0
  261. package/src/core/components/functional/subscriber/subscriber.ts +0 -0
  262. package/src/core/components/functional/value/value.ts +44 -4
  263. package/src/core/components/ui/_css/rounded.ts +36 -0
  264. package/src/core/components/ui/_css/type.ts +49 -0
  265. package/src/core/components/ui/_i18n/ui-aria-labels.ts +104 -0
  266. package/src/core/components/ui/alert/alert.md +128 -72
  267. package/src/core/components/ui/alert/alert.spec.ts +145 -0
  268. package/src/core/components/ui/alert/alert.ts +86 -91
  269. package/src/core/components/ui/alert-messages/alert-messages.ts +1 -1
  270. package/src/core/components/ui/badge/badge.md +126 -78
  271. package/src/core/components/ui/badge/badge.ts +29 -81
  272. package/src/core/components/ui/button/button.md +1 -0
  273. package/src/core/components/ui/button/button.ts +12 -10
  274. package/src/core/components/ui/card/card-header.ts +7 -2
  275. package/src/core/components/ui/card/card.md +120 -65
  276. package/src/core/components/ui/divider/divider.ts +4 -9
  277. package/src/core/components/ui/form/checkbox/checkbox.md +1 -1
  278. package/src/core/components/ui/form/checkbox/checkbox.ts +4 -20
  279. package/src/core/components/ui/form/fieldset/legend-description.ts +1 -1
  280. package/src/core/components/ui/form/fieldset/legend.ts +1 -1
  281. package/src/core/components/ui/form/input/input.md +1 -1
  282. package/src/core/components/ui/form/input/input.ts +25 -27
  283. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +14 -118
  284. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +419 -187
  285. package/src/core/components/ui/form/radio/radio.ts +1 -1
  286. package/src/core/components/ui/form/select/select.ts +3 -6
  287. package/src/core/components/ui/form/textarea/textarea.md +1 -1
  288. package/src/core/components/ui/form/textarea/textarea.ts +1 -2
  289. package/src/core/components/ui/image/image.md +147 -53
  290. package/src/core/components/ui/image/image.ts +10 -44
  291. package/src/core/components/ui/link/link.md +2 -2
  292. package/src/core/components/ui/link/link.ts +42 -37
  293. package/src/core/components/ui/modal/modal-close.ts +8 -12
  294. package/src/core/components/ui/modal/modal.ts +18 -18
  295. package/src/core/components/ui/pop/pop.md +105 -1
  296. package/src/core/components/ui/pop/pop.ts +145 -141
  297. package/src/core/components/ui/table/table.ts +2 -8
  298. package/src/core/components/ui/theme/theme.ts +1 -1
  299. package/src/core/components/ui/toast/dismissed.ts +14 -0
  300. package/src/core/components/ui/toast/render-content.ts +13 -0
  301. package/src/core/components/ui/toast/toast-item.ts +179 -103
  302. package/src/core/components/ui/toast/toast.ts +58 -21
  303. package/src/core/components/ui/toast/types.ts +14 -2
  304. package/src/core/components/ui/tooltip/tooltip.ts +176 -154
  305. package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +26 -0
  306. package/src/core/decorators/subscriber/ancestorAttribute.ts +3 -4
  307. package/src/core/decorators/subscriber/derive.ts +3 -3
  308. package/src/core/mixins/Fetcher.ts +1 -1
  309. package/src/core/mixins/FormCheckable.ts +1 -8
  310. package/src/core/mixins/FormElement.ts +74 -76
  311. package/src/core/mixins/Subscriber.ts +5 -1
  312. package/src/core/utils/AncestorAttributeObserver.ts +183 -70
  313. package/src/core/utils/DataBindObserver.ts +0 -0
  314. package/src/core/utils/LocationHandler.ts +12 -5
  315. package/src/core/utils/Objects.ts +0 -0
  316. package/src/core/utils/dismissed.ts +22 -0
  317. package/src/core/utils/positioning.spec.ts +208 -0
  318. package/src/core/utils/positioning.ts +183 -0
  319. package/src/directives.ts +1 -3
  320. package/src/docs/_core-concept/dataFlow.md +1 -1
  321. package/src/docs/_decorators/ancestor-attribute.md +3 -2
  322. package/src/docs/_getting-started/cdn-addons.md +1 -0
  323. package/src/docs/_getting-started/concorde-outside.md +3 -3
  324. package/src/docs/_misc/formelement-subscriber-removal.md +115 -0
  325. package/src/docs/_misc/html-integration.md +2 -0
  326. package/src/docs/code.ts +3 -1
  327. package/src/docs/components/docs-demo-sources.ts +60 -0
  328. package/src/docs/docs.ts +1 -0
  329. package/src/docs/example/docs-input-autocomplete-demos.ts +110 -0
  330. package/src/docs/mock-api/router.ts +17 -1
  331. package/src/docs/navigation/navigation.ts +8 -0
  332. package/src/docs/search/docs-search.json +956 -243
  333. package/src/docs/tailwind/css/tailwind.css +13 -6
  334. package/src/tsconfig.json +135 -6
  335. package/src/tsconfig.tsbuildinfo +1 -1
  336. package/tailwind.config.js +50 -3
  337. package/vite/config.js +23 -35
  338. package/vite.config.mts +5 -0
  339. package/vitest.setup.ts +49 -13
  340. package/docs/assets/index-BZiZXMU-.css +0 -1
@@ -0,0 +1,83 @@
1
+ /** Langues supportées pour les libellés ARIA UI (anglais par défaut). */
2
+ export type UiLang = "en" | "fr" | "de" | "nl" | "es" | "it";
3
+ export type UiLabelDict = Partial<Record<UiLang, string>> & {
4
+ en: string;
5
+ };
6
+ /** Lit la langue courante à chaque appel (pas d'état par composant). */
7
+ export declare function resolveUiLabel(dict: UiLabelDict, lang?: string): string;
8
+ export declare const uiAriaLabels: {
9
+ readonly closeWindow: {
10
+ readonly en: "Close window";
11
+ readonly fr: "Fermer la fenêtre";
12
+ readonly de: "Fenster schließen";
13
+ readonly nl: "Venster sluiten";
14
+ readonly es: "Cerrar ventana";
15
+ readonly it: "Chiudi finestra";
16
+ };
17
+ readonly closeAlert: {
18
+ readonly en: "Close";
19
+ readonly fr: "Fermer";
20
+ readonly de: "Schließen";
21
+ readonly nl: "Sluiten";
22
+ readonly es: "Cerrar";
23
+ readonly it: "Chiudi";
24
+ };
25
+ readonly showPassword: {
26
+ readonly en: "Show password";
27
+ readonly fr: "Afficher le mot de passe";
28
+ readonly de: "Passwort anzeigen";
29
+ readonly nl: "Wachtwoord tonen";
30
+ readonly es: "Mostrar contraseña";
31
+ readonly it: "Mostra password";
32
+ };
33
+ readonly hidePassword: {
34
+ readonly en: "Hide password";
35
+ readonly fr: "Masquer le mot de passe";
36
+ readonly de: "Passwort ausblenden";
37
+ readonly nl: "Wachtwoord verbergen";
38
+ readonly es: "Ocultar contraseña";
39
+ readonly it: "Nascondi password";
40
+ };
41
+ readonly closeToast: {
42
+ readonly en: "Close notification";
43
+ readonly fr: "Fermer la notification";
44
+ readonly de: "Benachrichtigung schließen";
45
+ readonly nl: "Melding sluiten";
46
+ readonly es: "Cerrar notificación";
47
+ readonly it: "Chiudi notifica";
48
+ };
49
+ readonly closeToastError: {
50
+ readonly en: "Close error message";
51
+ readonly fr: "Fermer le message d'erreur";
52
+ readonly de: "Fehlermeldung schließen";
53
+ readonly nl: "Foutmelding sluiten";
54
+ readonly es: "Cerrar mensaje de error";
55
+ readonly it: "Chiudi messaggio di errore";
56
+ };
57
+ readonly closeToastWarning: {
58
+ readonly en: "Close warning";
59
+ readonly fr: "Fermer l'avertissement";
60
+ readonly de: "Warnung schließen";
61
+ readonly nl: "Waarschuwing sluiten";
62
+ readonly es: "Cerrar advertencia";
63
+ readonly it: "Chiudi avviso";
64
+ };
65
+ readonly closeToastSuccess: {
66
+ readonly en: "Close success message";
67
+ readonly fr: "Fermer le message de succès";
68
+ readonly de: "Erfolgsmeldung schließen";
69
+ readonly nl: "Succesmelding sluiten";
70
+ readonly es: "Cerrar mensaje de éxito";
71
+ readonly it: "Chiudi messaggio di successo";
72
+ };
73
+ readonly closeToastInfo: {
74
+ readonly en: "Close information message";
75
+ readonly fr: "Fermer l'information";
76
+ readonly de: "Information schließen";
77
+ readonly nl: "Informatie sluiten";
78
+ readonly es: "Cerrar información";
79
+ readonly it: "Chiudi informazione";
80
+ };
81
+ };
82
+ export declare function resolveToastCloseLabel(status?: string): string;
83
+ //# sourceMappingURL=ui-aria-labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-aria-labels.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/_i18n/ui-aria-labels.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,MAAM,MAAM,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAI3E,wEAAwE;AACxE,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAMvE;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEuB,CAAC;AASjD,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAG9D"}
@@ -1,13 +1,7 @@
1
- import { LitElement } from "lit";
1
+ import { LitElement, PropertyValues } from "lit";
2
2
  import { Size } from "@supersoniks/concorde/core/components/ui/_css/size";
3
- declare const icon: {
4
- warning: string;
5
- success: string;
6
- error: string;
7
- info: string;
8
- default: string;
9
- };
10
- export type AlertStatus = keyof typeof icon;
3
+ import { StatusIconKey } from "@supersoniks/concorde/core/components/ui/_css/type";
4
+ export type AlertStatus = StatusIconKey;
11
5
  /**
12
6
  * Affiche un message en ligne.
13
7
  * Soit par ses simples attributs "label" et "text", soit par son slot pour des messages plus complexes.
@@ -15,7 +9,7 @@ export type AlertStatus = keyof typeof icon;
15
9
  export declare class Alert extends LitElement {
16
10
  static styles: import("lit").CSSResult[];
17
11
  /**
18
- * Titre du message d'erreur
12
+ * Titre du message (texte brut, utiliser le slot pour du contenu riche)
19
13
  */
20
14
  label: string;
21
15
  noIcon: boolean;
@@ -23,15 +17,23 @@ export declare class Alert extends LitElement {
23
17
  * Peut être renseigné dans le slot pour créer des messages plus complexes
24
18
  */
25
19
  text: string;
26
- id: string;
27
20
  size?: Size;
28
21
  dismissible: boolean;
29
22
  background: boolean;
30
23
  status: AlertStatus;
24
+ /**
25
+ * Mémorise la fermeture dans le localStorage. Nécessite un `id`.
26
+ */
31
27
  dismissForever: boolean;
28
+ /**
29
+ * Annonce le message aux lecteurs d'écran (role alert/status).
30
+ * À activer pour les messages injectés dynamiquement, pas pour une alerte déjà dans la page.
31
+ */
32
+ announce: boolean;
32
33
  connectedCallback(): void;
34
+ willUpdate(changed: PropertyValues<this>): void;
35
+ private _syncAnnounceA11y;
33
36
  render(): import("lit-html").TemplateResult<1>;
34
37
  close(): void;
35
38
  }
36
- export {};
37
39
  //# sourceMappingURL=alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,MAAM,KAAK,CAAC;AAErD,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,IAAI;;;;;;CAMT,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,IAAI,CAAC;AAG5C;;;GAGG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BA0FX;IACF;;OAEG;IACyB,KAAK,SAAM;IAEK,MAAM,UAAS;IAE3D;;OAEG;IACyB,IAAI,SAAM;IAEV,EAAE,SAAmC;IAEtB,IAAI,CAAC,EAAE,IAAI,CAAC;IAEX,WAAW,UAAS;IAEpB,UAAU,UAAS;IAEpB,MAAM,EAAE,WAAW,CAAa;IAE/B,cAAc,UAAS;IAEnE,iBAAiB;IAWjB,MAAM;IA8BN,KAAK;CAaN"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,cAAc,EAAE,MAAM,KAAK,CAAC;AAErE,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,aAAa,EAKd,MAAM,oDAAoD,CAAC;AAU5D,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC;AAIxC;;;GAGG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BAyDX;IACF;;OAEG;IACyB,KAAK,SAAM;IAEK,MAAM,UAAS;IAE3D;;OAEG;IACyB,IAAI,SAAM;IAEK,IAAI,CAAC,EAAE,IAAI,CAAC;IAEX,WAAW,UAAS;IAEpB,UAAU,UAAS;IAEpB,MAAM,EAAE,WAAW,CAAa;IAE3E;;OAEG;IACyC,cAAc,UAAS;IAEnE;;;OAGG;IACyC,QAAQ,UAAS;IAE7D,iBAAiB;IAWjB,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC;IAMxC,OAAO,CAAC,iBAAiB;IAYzB,MAAM;IA6BN,KAAK;CASN"}
@@ -1 +1 @@
1
- {"version":3,"file":"alert-messages.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert-messages/alert-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,OAAO,EAAO,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAG1E,OAAO,EAAE,SAAS,EAAE,MAAM,mEAAmE,CAAC;;AAK9F,qBACa,aAAc,SAAQ,kBAAuC;IAC5C,IAAI,EAAE,IAAI,CAAQ;IACjB,UAAU,UAAS;IACnB,MAAM,UAAS;IAE5C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAM;IAE9B,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM;CAiBP"}
1
+ {"version":3,"file":"alert-messages.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/alert-messages/alert-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,OAAO,EAAO,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,mEAAmE,CAAC;;AAK9F,qBACa,aAAc,SAAQ,kBAAuC;IAC5C,IAAI,EAAE,IAAI,CAAQ;IACjB,UAAU,UAAS;IACnB,MAAM,UAAS;IAE5C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAM;IAE9B,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM;CAkBP"}
@@ -10,7 +10,7 @@ export declare class Badge extends LitElement {
10
10
  /**
11
11
  * Le type change surtout la couleur composant
12
12
  */
13
- type: "default" | "primary" | "warning" | "danger" | "success" | "info" | "contrast" | "neutral";
13
+ type: "default" | "primary" | "warning" | "danger" | "success" | "info" | "neutral";
14
14
  /**
15
15
  * Le composant par defaut sans se paramètre à forte afordance
16
16
  * * ghost : composant super léger visuellement
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAE5C,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAG5D;;;;GAIG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BA+IX;IAEF;;OAEG;IAEH,IAAI,EACA,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,SAAS,CAAa;IAC1B;;;;OAIG;IACwC,OAAO,EAC9C,SAAS,GACT,SAAS,GACT,OAAO,CAAa;IAExB;;OAEG;IACwC,IAAI,CAAC,EAAE,IAAI,CAAC;IACX,QAAQ,UAAS;IAE7D,MAAM;CAOP"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/badge/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAE5C,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAI5D;;;;GAIG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,MAAM,CAAC,MAAM,4BA2FX;IAEF;;OAEG;IAEH,IAAI,EACA,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,GACN,SAAS,CAAa;IAC1B;;;;OAIG;IACwC,OAAO,EAC9C,SAAS,GACT,SAAS,GACT,OAAO,CAAa;IAExB;;OAEG;IACwC,IAAI,CAAC,EAAE,IAAI,CAAC;IACX,QAAQ,UAAS;IAE7D,MAAM;CAOP"}
@@ -1,3 +1,4 @@
1
+ import { type AutoActiveMode } from "@supersoniks/concorde/core/utils/LocationHandler";
1
2
  import { LitElement, CSSResultGroup } from "lit";
2
3
  import { Size } from "@supersoniks/concorde/core/components/ui/_css/size";
3
4
  import { Route } from "@supersoniks/concorde/core/utils/route";
@@ -27,52 +28,35 @@ declare const Button_base: {
27
28
  unset(): void;
28
29
  disconnectedCallback(): void;
29
30
  connectedCallback(): void;
30
- getFormPublisher(): import("../../../_types/types").PublisherInterface;
31
+ getFormPublisher(): import("../../../_types/types").PublisherInterface | null;
31
32
  updateDataValue(): void;
32
33
  handleBlur(e?: Event): void;
33
- setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
34
34
  setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
35
35
  getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
36
36
  unsetOnDisconnect(): boolean;
37
37
  focus?: () => void;
38
- shadowRoot?: ShadowRoot;
38
+ shadowRoot: ShadowRoot | null;
39
39
  error: boolean;
40
40
  autofocus: boolean;
41
41
  required: boolean;
42
42
  disabled: boolean;
43
43
  formDataProvider: string;
44
- ariaLabelledby?: string;
45
- ariaLabel?: string;
44
+ ariaLabel: string | null;
45
+ ariaLabelledby: string | null;
46
46
  _name: string;
47
47
  name: string;
48
- props: import("../../../_types/types").CoreJSType;
49
- propertyMap: object;
50
- isConnected: boolean;
51
- children: HTMLCollection;
52
- appendChild(node: Node): Node;
53
48
  getAncestorAttributeValue(attributeName: string): string;
54
49
  hasAncestorAttribute(attributeName: string): boolean;
55
- querySelectorAll(selector: string): NodeListOf<Element>;
56
- publisher: import("../../../_types/types").TypeAndRecordOfType<import("../../../_types/types").PublisherInterface<PropsType>>;
57
- dataProvider: string | null;
58
- noShadowDom: string | null;
59
- debug: HTMLElement | null;
60
- defferedDebug: boolean | null;
61
- displayContents: boolean;
62
- shouldRenderLazy: boolean;
63
- dispatchEvent(event: Event): void;
64
- setAttribute(name: string, value: string): void;
65
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
66
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
67
- removeAttribute(name: string): void;
68
- initPublisher(): void;
69
- getApiConfiguration(): import("../../../utils/api").APIConfiguration;
50
+ isConnected: boolean;
70
51
  requestUpdate(): void;
71
- getAttribute(name: string): string;
52
+ getAttribute(name: string): string | null;
72
53
  hasAttribute(attributeName: string): boolean;
73
- getBoundingClientRect(): DOMRect;
54
+ setAttribute(name: string, value: string): void;
55
+ removeAttribute(name: string): void;
56
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
57
+ dispatchEvent(event: Event): void;
74
58
  };
75
- } & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../_types/types").CoreJSType>) & typeof LitElement;
59
+ } & (new (...args: import("../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & typeof LitElement;
76
60
  /**
77
61
  * 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.
78
62
  * * L'objet et ses slot sont en display flex avec direction / alignement et justifications configurables
@@ -131,7 +115,7 @@ export declare class Button extends Button_base {
131
115
  * - strict-path-only : l'url courante match exactement avec le path du bouton sans les query params
132
116
  * - disabled : aucune activation / désactivation
133
117
  */
134
- autoActive: "strict" | "partial" | "disabled";
118
+ autoActive: AutoActiveMode;
135
119
  /**
136
120
  * Laisse apparaitre un loader en remplacement du contenu du bouton.
137
121
  * Désactive également le clic sur le bouton
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/button/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,UAAU,EAAO,cAAc,EAAE,MAAM,KAAK,CAAC;AAY5D,OAAO,EAEL,IAAI,EACL,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACpE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,OAAO,GACP,SAAS,GACT,UAAU,GACV,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;6BA2OQ,aACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzOJ;;;;;GAKG;AACH,qBACa,MAAO,SAAQ,WAAkD;IAC5E,MAAM,CAAC,MAAM,mBAiXX;IAEF;;OAEG;IACwC,IAAI,EAAE,UAAU,CAAa;IACxE;;;;OAIG;IACwC,OAAO,EAAE,aAAa,CAAa;IAE9E;;OAEG;IACwC,IAAI,CAAC,EAAE,IAAI,CAAC;IAEvD;;OAEG;IACwC,KAAK,EA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I;IAM5B,QAAQ,SAAM;IAEd,UAAU,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IAQpE,MAAM;IAsDN,YAAY;CAIb"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-header.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/card/card-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,MAAM,KAAK,CAAC;AAErD,OAAO,sEAAsE,CAAC;AAI9E,qBACa,UAAW,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,4BAwCX;IAEU,KAAK,EAAG,MAAM,CAAC;IACf,WAAW,EAAG,MAAM,CAAC;IAEjC,MAAM;CAcP"}
1
+ {"version":3,"file":"card-header.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/card/card-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAgB,MAAM,KAAK,CAAC;AAErD,OAAO,sEAAsE,CAAC;AAI9E,qBACa,UAAW,SAAQ,UAAU;IACxC,MAAM,CAAC,MAAM,4BA6CX;IAEU,KAAK,EAAG,MAAM,CAAC;IACf,WAAW,EAAG,MAAM,CAAC;IAEjC,MAAM;CAcP"}
@@ -1,10 +1,11 @@
1
1
  import { LitElement } from "lit";
2
+ import { Size } from "@supersoniks/concorde/core/components/ui/_css/size";
2
3
  export declare class Divider extends LitElement {
3
4
  static styles: import("lit").CSSResult[];
4
5
  slotNodes: Array<Node>;
5
6
  divider: HTMLDivElement;
6
7
  label: string;
7
- size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
8
+ size?: Size;
8
9
  align: "left" | "right" | "center";
9
10
  vertical: boolean;
10
11
  noMargin: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/divider/divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAS5C,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,4BAqIX;IAEF,SAAS,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAGxB,OAAO,EAAG,cAAc,CAAC;IAEG,KAAK,SAAM;IACI,IAAI,CAAC,EAC5C,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,CAAC;IACiC,KAAK,EAC5C,MAAM,GACN,OAAO,GACP,QAAQ,CAAY;IACoB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,MAAM,UAAS;IACf,MAAM,UAAS;IAE3D,YAAY,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IAOtE,MAAM;CAOP"}
1
+ {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../../../../src/core/components/ui/divider/divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,MAAM,KAAK,CAAC;AAQ5C,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAE1E,qBACa,OAAQ,SAAQ,UAAU;IACrC,MAAM,CAAC,MAAM,4BAqIX;IAEF,SAAS,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAGxB,OAAO,EAAG,cAAc,CAAC;IAEG,KAAK,SAAM;IACI,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,KAAK,EAC5C,MAAM,GACN,OAAO,GACP,QAAQ,CAAY;IACoB,QAAQ,UAAS;IACjB,QAAQ,UAAS;IACjB,MAAM,UAAS;IACf,MAAM,UAAS;IAE3D,YAAY,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC;IAOtE,MAAM;CAOP"}
@@ -23,50 +23,33 @@ declare const Checkbox_base: {
23
23
  unset(): void;
24
24
  disconnectedCallback(): void;
25
25
  connectedCallback(): void;
26
- getFormPublisher(): import("../../../../_types/types").PublisherInterface;
26
+ getFormPublisher(): import("../../../../_types/types").PublisherInterface | null;
27
27
  updateDataValue(): void;
28
28
  handleBlur(e?: Event): void;
29
- setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
30
29
  setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
31
30
  getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
32
31
  unsetOnDisconnect(): boolean;
33
32
  focus?: () => void;
34
- shadowRoot?: ShadowRoot;
33
+ shadowRoot: ShadowRoot | null;
35
34
  error: boolean;
36
35
  autofocus: boolean;
37
36
  required: boolean;
38
37
  disabled: boolean;
39
38
  formDataProvider: string;
40
- ariaLabelledby?: string;
41
- ariaLabel?: string;
39
+ ariaLabel: string | null;
40
+ ariaLabelledby: string | null;
42
41
  _name: string;
43
42
  name: string;
44
- props: import("../../../../_types/types").CoreJSType;
45
- propertyMap: object;
46
- isConnected: boolean;
47
- children: HTMLCollection;
48
- appendChild(node: Node): Node;
49
43
  getAncestorAttributeValue(attributeName: string): string;
50
44
  hasAncestorAttribute(attributeName: string): boolean;
51
- querySelectorAll(selector: string): NodeListOf<Element>;
52
- publisher: import("../../../../_types/types").TypeAndRecordOfType<import("../../../../_types/types").PublisherInterface<PropsType>>;
53
- dataProvider: string | null;
54
- noShadowDom: string | null;
55
- debug: HTMLElement | null;
56
- defferedDebug: boolean | null;
57
- displayContents: boolean;
58
- shouldRenderLazy: boolean;
59
- dispatchEvent(event: Event): void;
60
- setAttribute(name: string, value: string): void;
61
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
62
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
63
- removeAttribute(name: string): void;
64
- initPublisher(): void;
65
- getApiConfiguration(): import("../../../../utils/api").APIConfiguration;
45
+ isConnected: boolean;
66
46
  requestUpdate(): void;
67
- getAttribute(name: string): string;
47
+ getAttribute(name: string): string | null;
68
48
  hasAttribute(attributeName: string): boolean;
69
- getBoundingClientRect(): DOMRect;
49
+ setAttribute(name: string, value: string): void;
50
+ removeAttribute(name: string): void;
51
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
52
+ dispatchEvent(event: Event): void;
70
53
  };
71
54
  } & {
72
55
  new (...args: import("../../../../_types/types").MixinArgsType[]): {
@@ -84,78 +67,47 @@ declare const Checkbox_base: {
84
67
  status: "default" | "success" | "error" | "warning" | "info";
85
68
  tabindex?: number;
86
69
  autocomplete?: "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
87
- getFormPublisher(): import("../../../../_types/types").PublisherInterface;
70
+ getFormPublisher(): import("../../../../_types/types").PublisherInterface | null;
88
71
  updateDataValue(): void;
89
72
  handleChange(e?: Event): void;
90
73
  handleBlur(e?: Event): void;
91
74
  getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
92
- setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
93
75
  setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
94
76
  getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
77
+ setFormValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
95
78
  unsetOnDisconnect(): boolean;
96
79
  unset(): void;
97
80
  focus?: () => void;
98
- shadowRoot?: ShadowRoot;
81
+ shadowRoot: ShadowRoot | null;
99
82
  error: boolean;
100
83
  autofocus: boolean;
101
84
  required: boolean;
102
85
  disabled: boolean;
103
86
  formDataProvider: string;
104
- ariaLabelledby?: string;
105
- ariaLabel?: string;
87
+ ariaLabel: string | null;
88
+ ariaLabelledby: string | null;
106
89
  _value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
107
90
  value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
108
91
  _name: string;
109
92
  name: string;
110
- props: import("../../../../_types/types").CoreJSType;
111
- propertyMap: object;
112
- isConnected: boolean;
113
- children: HTMLCollection;
114
- appendChild(node: Node): Node;
115
93
  getAncestorAttributeValue(attributeName: string): string;
116
94
  hasAncestorAttribute(attributeName: string): boolean;
117
- querySelectorAll(selector: string): NodeListOf<Element>;
118
- publisher: import("../../../../_types/types").TypeAndRecordOfType<import("../../../../_types/types").PublisherInterface<PropsType>>;
119
- dataProvider: string | null;
120
- noShadowDom: string | null;
121
- debug: HTMLElement | null;
122
- defferedDebug: boolean | null;
123
- displayContents: boolean;
124
- shouldRenderLazy: boolean;
125
- dispatchEvent(event: Event): void;
95
+ isConnected: boolean;
96
+ requestUpdate(): void;
97
+ getAttribute(name: string): string | null;
98
+ hasAttribute(attributeName: string): boolean;
126
99
  setAttribute(name: string, value: string): void;
127
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
128
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
129
100
  removeAttribute(name: string): void;
130
- initPublisher(): void;
131
- getApiConfiguration(): import("../../../../utils/api").APIConfiguration;
101
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
102
+ dispatchEvent(event: Event): void;
132
103
  connectedCallback(): void;
133
- requestUpdate(): void;
134
- getAttribute(name: string): string;
135
- hasAttribute(attributeName: string): boolean;
136
104
  disconnectedCallback(): void;
137
- getBoundingClientRect(): DOMRect;
138
105
  };
139
- } & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../../_types/types").CoreJSType>) & typeof LitElement;
106
+ } & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & typeof LitElement;
140
107
  /**
141
- * ### Le composent sonic-checkbox étend les mixins FormCheckable, FormInput, FormElement et Subscriber
142
- * **FormElement :**
143
- * * La propriété value est remplie automatiquement a l'aide de l'attribut name renseigné, ceci en prenant la valeur de la propriété du même nom dans les données du dataprovider associé.
144
- * * Par défault lorsque modifie l'input, la valeur est également mise à jour via le même dataprovider
145
- * * On peut cependant décider de mettre à jour la donnée à une autre adresse en renseigne l'attribut *formDataProvider*.
146
- * * Par conséquent on peut par exemple le lier à un composant *queue* (via sa propriété *dataFilterProvider*) de manière à appeller en auto une api avec des filtres.
147
- * * **FormInput **
148
- * Uniquement des propriétés classiques d'un input HTML. La prise en compte est ici partielle, par exemple les propriétés *placeholder*, *readonly*, *pattern*, *min* et *max* n'ont pas de sens pour un checkbox.
149
- * **FormCheckable :**
150
- * * La propriété checked mise à true si la valeur de la propriété du même nom dans les données du dataprovider associé contient un propriété checked.
151
- * **Comportements :**
152
- * * multiple (par défaut):
153
- * - on peut cocher plusieurs checkbox ayant le même *name*.
154
- * - la valeur enregistrée dans la propriété nommé du même nom dans formDataProvider est un tableau avec les *value* des cases cochées ayant le même *name*.
155
- * * unique (Ajouter l'attribute unique au composant a l'intégration):
156
- * - on ne peut cocher qu'une seule checkbox ayant le même *name*.
157
- * * radio (Ajouter l'attribute radio au composant a l'intégration):
158
- * Comme unique, mais on ne peut pas décocher la case sauf en en cochant une autre, comme un bouton radio.
108
+ * ### sonic-checkbox — FormCheckable + FormInput + FormElement
109
+ * Synchronise l'état coché via `formDataProvider` + `name`.
110
+ * Modes : multiple (défaut), `unique`, `radio`.
159
111
  */
160
112
  export declare class Checkbox extends Checkbox_base {
161
113
  static styles: CSSResultGroup[];
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/components/ui/form/checkbox/checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAO5E,OAAO,oDAAoD,CAAC;;;;;;;;;;;;;;;;;;;;6BA4OrD,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAvOpB;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,qBACa,QAAS,SAAQ,aAE7B;IACC,MAAM,CAAC,MAAM,mBA6HX;IAE0C,OAAO,UAAS;IAChC,QAAQ,SAAW;IACnB,qBAAqB,SAAiB;IACrC,mBAAmB,UAAS;IAE5B,cAAc,UAAS;IACvB,QAAQ,UAAS;IAE9C,cAAc,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAG7B,oBAAoB,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnC,iBAAiB;IAMjB,UAAU,CAAC,iBAAiB,EAAE,cAAc;IAW5C,cAAc;IAMd,MAAM;CA0CP"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/components/ui/form/checkbox/checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAO,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAM5E,OAAO,oDAAoD,CAAC;;;;;;;;;;;;;;;;;;;;6BA6N0yC,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxNn3C;;;;GAIG;AAEH,qBACa,QAAS,SAAQ,aAE7B;IACC,MAAM,CAAC,MAAM,mBA6HX;IAE0C,OAAO,UAAS;IAChC,QAAQ,SAAW;IACnB,qBAAqB,SAAiB;IACrC,mBAAmB,UAAS;IAE5B,cAAc,UAAS;IACvB,QAAQ,UAAS;IAE9C,cAAc,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAG7B,oBAAoB,EAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnC,iBAAiB;IAMjB,UAAU,CAAC,iBAAiB,EAAE,cAAc;IAW5C,cAAc;IAMd,MAAM;CA0CP"}
@@ -1,4 +1,5 @@
1
1
  import { LitElement, PropertyValues } from "lit";
2
+ import { Size } from "@supersoniks/concorde/core/components/ui/_css/size";
2
3
  declare const Input_base: {
3
4
  new (...args: import("../../../../_types/types").MixinArgsType[]): {
4
5
  validateFormElement(): void;
@@ -15,65 +16,49 @@ declare const Input_base: {
15
16
  status: "default" | "success" | "error" | "warning" | "info";
16
17
  tabindex?: number;
17
18
  autocomplete?: "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
18
- getFormPublisher(): import("../../../../_types/types").PublisherInterface;
19
+ getFormPublisher(): import("../../../../_types/types").PublisherInterface | null;
19
20
  updateDataValue(): void;
20
21
  handleChange(e?: Event): void;
21
22
  handleBlur(e?: Event): void;
22
23
  getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
23
- setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
24
24
  setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
25
25
  getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
26
+ setFormValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
26
27
  unsetOnDisconnect(): boolean;
27
28
  unset(): void;
28
29
  focus?: () => void;
29
- shadowRoot?: ShadowRoot;
30
+ shadowRoot: ShadowRoot | null;
30
31
  error: boolean;
31
32
  autofocus: boolean;
32
33
  required: boolean;
33
34
  disabled: boolean;
34
35
  formDataProvider: string;
35
- ariaLabelledby?: string;
36
- ariaLabel?: string;
36
+ ariaLabel: string | null;
37
+ ariaLabelledby: string | null;
37
38
  _value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
38
39
  value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
39
40
  _name: string;
40
41
  name: string;
41
- props: import("../../../../_types/types").CoreJSType;
42
- propertyMap: object;
43
- isConnected: boolean;
44
- children: HTMLCollection;
45
- appendChild(node: Node): Node;
46
42
  getAncestorAttributeValue(attributeName: string): string;
47
43
  hasAncestorAttribute(attributeName: string): boolean;
48
- querySelectorAll(selector: string): NodeListOf<Element>;
49
- publisher: import("../../../../_types/types").TypeAndRecordOfType<import("../../../../_types/types").PublisherInterface<PropsType>>;
50
- dataProvider: string | null;
51
- noShadowDom: string | null;
52
- debug: HTMLElement | null;
53
- defferedDebug: boolean | null;
54
- displayContents: boolean;
55
- shouldRenderLazy: boolean;
56
- dispatchEvent(event: Event): void;
44
+ isConnected: boolean;
45
+ requestUpdate(): void;
46
+ getAttribute(name: string): string | null;
47
+ hasAttribute(attributeName: string): boolean;
57
48
  setAttribute(name: string, value: string): void;
58
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
59
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
60
49
  removeAttribute(name: string): void;
61
- initPublisher(): void;
62
- getApiConfiguration(): import("../../../../utils/api").APIConfiguration;
50
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51
+ dispatchEvent(event: Event): void;
63
52
  connectedCallback(): void;
64
- requestUpdate(): void;
65
- getAttribute(name: string): string;
66
- hasAttribute(attributeName: string): boolean;
67
53
  disconnectedCallback(): void;
68
- getBoundingClientRect(): DOMRect;
69
54
  };
70
- } & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/Subscriber").SubscriberInterface<import("../../../../_types/types").CoreJSType>) & typeof LitElement;
55
+ } & (new (...args: import("../../../../_types/types").MixinArgsType[]) => import("@supersoniks/concorde/core/mixins/FormElement").FormElementInterface) & typeof LitElement;
71
56
  export declare class Input extends Input_base {
72
57
  static styles: import("lit").CSSResult[];
73
58
  /**
74
59
  * Taille du composant, implique notamment des modifications de typo et de marge interne
75
60
  */
76
- size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
61
+ size?: Size;
77
62
  inputmode?: string;
78
63
  list?: string;
79
64
  placeholder?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/components/ui/form/input/input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAgB,MAAM,KAAK,CAAC;;;;;;;;;;;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