@supersoniks/concorde 3.1.17 → 3.1.19

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 (351) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +183 -150
  3. package/concorde-core.es.js +1766 -1660
  4. package/dist/concorde-core.bundle.js +183 -150
  5. package/dist/concorde-core.es.js +1766 -1660
  6. package/dist/css/docs.css +0 -0
  7. package/dist/fonts/ClashGrotesk-Bold.eot +0 -0
  8. package/dist/fonts/ClashGrotesk-Bold.ttf +0 -0
  9. package/dist/fonts/ClashGrotesk-Bold.woff +0 -0
  10. package/dist/fonts/ClashGrotesk-Bold.woff2 +0 -0
  11. package/dist/fonts/ClashGrotesk-Extralight.eot +0 -0
  12. package/dist/fonts/ClashGrotesk-Extralight.ttf +0 -0
  13. package/dist/fonts/ClashGrotesk-Extralight.woff +0 -0
  14. package/dist/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  15. package/dist/fonts/ClashGrotesk-Light.eot +0 -0
  16. package/dist/fonts/ClashGrotesk-Light.ttf +0 -0
  17. package/dist/fonts/ClashGrotesk-Light.woff +0 -0
  18. package/dist/fonts/ClashGrotesk-Light.woff2 +0 -0
  19. package/dist/fonts/ClashGrotesk-Medium.eot +0 -0
  20. package/dist/fonts/ClashGrotesk-Medium.ttf +0 -0
  21. package/dist/fonts/ClashGrotesk-Medium.woff +0 -0
  22. package/dist/fonts/ClashGrotesk-Medium.woff2 +0 -0
  23. package/dist/fonts/ClashGrotesk-Regular.eot +0 -0
  24. package/dist/fonts/ClashGrotesk-Regular.ttf +0 -0
  25. package/dist/fonts/ClashGrotesk-Regular.woff +0 -0
  26. package/dist/fonts/ClashGrotesk-Regular.woff2 +0 -0
  27. package/dist/fonts/ClashGrotesk-Semibold.eot +0 -0
  28. package/dist/fonts/ClashGrotesk-Semibold.ttf +0 -0
  29. package/dist/fonts/ClashGrotesk-Semibold.woff +0 -0
  30. package/dist/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  31. package/dist/fonts/ClashGrotesk-Variable.eot +0 -0
  32. package/dist/fonts/ClashGrotesk-Variable.ttf +0 -0
  33. package/dist/fonts/ClashGrotesk-Variable.woff +0 -0
  34. package/dist/fonts/ClashGrotesk-Variable.woff2 +0 -0
  35. package/dist/img/concorde-icon.svg +0 -0
  36. package/dist/img/concorde-logo.svg +0 -0
  37. package/dist/img/concorde.png +0 -0
  38. package/dist/img/concorde_def.png +0 -0
  39. package/dist/img/concorde_seuil.png.webp +0 -0
  40. package/dist/img/concorde_seuil_invert.png +0 -0
  41. package/dist/img/paul_metrand.jpg +0 -0
  42. package/dist/img/paul_metrand_xs.jpg +0 -0
  43. package/dist/svg/regular/plane.svg +0 -0
  44. package/dist/svg/solid/plane.svg +0 -0
  45. package/index.html +0 -0
  46. package/notes de migration.md +0 -0
  47. package/package.json +3 -2
  48. package/postcss.config.cjs +0 -0
  49. package/public/css/docs.css +0 -0
  50. package/public/fonts/ClashGrotesk-Bold.eot +0 -0
  51. package/public/fonts/ClashGrotesk-Bold.ttf +0 -0
  52. package/public/fonts/ClashGrotesk-Bold.woff +0 -0
  53. package/public/fonts/ClashGrotesk-Bold.woff2 +0 -0
  54. package/public/fonts/ClashGrotesk-Extralight.eot +0 -0
  55. package/public/fonts/ClashGrotesk-Extralight.ttf +0 -0
  56. package/public/fonts/ClashGrotesk-Extralight.woff +0 -0
  57. package/public/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  58. package/public/fonts/ClashGrotesk-Light.eot +0 -0
  59. package/public/fonts/ClashGrotesk-Light.ttf +0 -0
  60. package/public/fonts/ClashGrotesk-Light.woff +0 -0
  61. package/public/fonts/ClashGrotesk-Light.woff2 +0 -0
  62. package/public/fonts/ClashGrotesk-Medium.eot +0 -0
  63. package/public/fonts/ClashGrotesk-Medium.ttf +0 -0
  64. package/public/fonts/ClashGrotesk-Medium.woff +0 -0
  65. package/public/fonts/ClashGrotesk-Medium.woff2 +0 -0
  66. package/public/fonts/ClashGrotesk-Regular.eot +0 -0
  67. package/public/fonts/ClashGrotesk-Regular.ttf +0 -0
  68. package/public/fonts/ClashGrotesk-Regular.woff +0 -0
  69. package/public/fonts/ClashGrotesk-Regular.woff2 +0 -0
  70. package/public/fonts/ClashGrotesk-Semibold.eot +0 -0
  71. package/public/fonts/ClashGrotesk-Semibold.ttf +0 -0
  72. package/public/fonts/ClashGrotesk-Semibold.woff +0 -0
  73. package/public/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  74. package/public/fonts/ClashGrotesk-Variable.eot +0 -0
  75. package/public/fonts/ClashGrotesk-Variable.ttf +0 -0
  76. package/public/fonts/ClashGrotesk-Variable.woff +0 -0
  77. package/public/fonts/ClashGrotesk-Variable.woff2 +0 -0
  78. package/public/img/concorde-icon.svg +0 -0
  79. package/public/img/concorde-logo.svg +0 -0
  80. package/public/img/concorde.png +0 -0
  81. package/public/img/concorde_def.png +0 -0
  82. package/public/img/concorde_seuil.png.webp +0 -0
  83. package/public/img/concorde_seuil_invert.png +0 -0
  84. package/public/img/paul_metrand.jpg +0 -0
  85. package/public/img/paul_metrand_xs.jpg +0 -0
  86. package/public/svg/regular/plane.svg +0 -0
  87. package/public/svg/solid/plane.svg +0 -0
  88. package/scripts/create-search.js +0 -0
  89. package/scripts/post-build-docs.js +0 -0
  90. package/scripts/post-build.mjs +0 -0
  91. package/scripts/pre-build.mjs +0 -0
  92. package/scripts/pre-publish.mjs +24 -0
  93. package/src/components.ts +0 -0
  94. package/src/concorde-loaded.ts +0 -0
  95. package/src/core/_types/types.ts +0 -0
  96. package/src/core/components/functional/date/date.md +0 -0
  97. package/src/core/components/functional/date/date.ts +0 -0
  98. package/src/core/components/functional/example/example.ts +0 -0
  99. package/src/core/components/functional/fetch/fetch.md +0 -0
  100. package/src/core/components/functional/fetch/fetch.ts +0 -0
  101. package/src/core/components/functional/functional.ts +0 -0
  102. package/src/core/components/functional/if/if.md +0 -0
  103. package/src/core/components/functional/if/if.test.ts +0 -0
  104. package/src/core/components/functional/if/if.ts +0 -0
  105. package/src/core/components/functional/list/list.md +0 -0
  106. package/src/core/components/functional/list/list.ts +0 -0
  107. package/src/core/components/functional/mix/mix.md +0 -0
  108. package/src/core/components/functional/mix/mix.ts +0 -0
  109. package/src/core/components/functional/queue/queue.md +0 -0
  110. package/src/core/components/functional/queue/queue.ts +0 -0
  111. package/src/core/components/functional/router/redirect.ts +0 -0
  112. package/src/core/components/functional/router/router.md +0 -0
  113. package/src/core/components/functional/router/router.ts +0 -0
  114. package/src/core/components/functional/sdui/SDUIDescriptorTransformer.ts +0 -0
  115. package/src/core/components/functional/sdui/default-library.json +0 -0
  116. package/src/core/components/functional/sdui/example.json +0 -0
  117. package/src/core/components/functional/sdui/sdui-utils.ts +0 -0
  118. package/src/core/components/functional/sdui/sdui.md +0 -0
  119. package/src/core/components/functional/sdui/sdui.ts +0 -0
  120. package/src/core/components/functional/sdui/types.ts +0 -0
  121. package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
  122. package/src/core/components/functional/states/states.md +0 -0
  123. package/src/core/components/functional/states/states.ts +0 -0
  124. package/src/core/components/functional/submit/submit.md +35 -0
  125. package/src/core/components/functional/submit/submit.ts +12 -1
  126. package/src/core/components/functional/subscriber/subscriber.md +0 -0
  127. package/src/core/components/functional/subscriber/subscriber.ts +0 -0
  128. package/src/core/components/functional/value/value.md +0 -0
  129. package/src/core/components/functional/value/value.ts +0 -0
  130. package/src/core/components/ui/_css/scroll.ts +0 -0
  131. package/src/core/components/ui/_css/size.ts +0 -0
  132. package/src/core/components/ui/_css/type.ts +0 -0
  133. package/src/core/components/ui/alert/alert.md +0 -0
  134. package/src/core/components/ui/alert/alert.ts +0 -0
  135. package/src/core/components/ui/badge/badge.md +0 -0
  136. package/src/core/components/ui/badge/badge.ts +0 -0
  137. package/src/core/components/ui/button/button.md +0 -0
  138. package/src/core/components/ui/button/button.ts +94 -43
  139. package/src/core/components/ui/captcha/captcha.md +0 -0
  140. package/src/core/components/ui/captcha/captcha.ts +0 -0
  141. package/src/core/components/ui/card/card-footer.ts +0 -0
  142. package/src/core/components/ui/card/card-header-descripton.ts +0 -0
  143. package/src/core/components/ui/card/card-header.ts +0 -0
  144. package/src/core/components/ui/card/card-main.ts +0 -0
  145. package/src/core/components/ui/card/card.md +0 -0
  146. package/src/core/components/ui/card/card.ts +0 -0
  147. package/src/core/components/ui/divider/divider.md +0 -0
  148. package/src/core/components/ui/divider/divider.ts +0 -0
  149. package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
  150. package/src/core/components/ui/form/checkbox/checkbox.ts +0 -0
  151. package/src/core/components/ui/form/css/form-control.ts +0 -0
  152. package/src/core/components/ui/form/fieldset/fieldset.md +0 -0
  153. package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
  154. package/src/core/components/ui/form/fieldset/legend.ts +0 -0
  155. package/src/core/components/ui/form/form-actions/form-actions.md +0 -0
  156. package/src/core/components/ui/form/form-actions/form-actions.ts +0 -0
  157. package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
  158. package/src/core/components/ui/form/form-layout/form-layout.ts +0 -0
  159. package/src/core/components/ui/form/input/input.md +0 -0
  160. package/src/core/components/ui/form/input/input.ts +0 -0
  161. package/src/core/components/ui/form/input/password-helper.ts +32 -12
  162. package/src/core/components/ui/form/input/same-value-helper.ts +32 -13
  163. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
  164. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +5 -1
  165. package/src/core/components/ui/form/radio/radio.md +0 -0
  166. package/src/core/components/ui/form/radio/radio.ts +0 -0
  167. package/src/core/components/ui/form/select/select.md +0 -0
  168. package/src/core/components/ui/form/select/select.ts +1 -4
  169. package/src/core/components/ui/form/textarea/textarea.md +0 -0
  170. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  171. package/src/core/components/ui/group/group.md +0 -0
  172. package/src/core/components/ui/group/group.ts +0 -0
  173. package/src/core/components/ui/icon/icon.md +0 -0
  174. package/src/core/components/ui/icon/icon.stories.ts +0 -0
  175. package/src/core/components/ui/icon/icon.ts +0 -0
  176. package/src/core/components/ui/icon/icons.json +0 -0
  177. package/src/core/components/ui/icon/icons.ts +0 -0
  178. package/src/core/components/ui/icon/svgs/cancel.svg +0 -0
  179. package/src/core/components/ui/icon/svgs/check-circled-outline.svg +0 -0
  180. package/src/core/components/ui/icon/svgs/check.svg +0 -0
  181. package/src/core/components/ui/icon/svgs/emoji-puzzled.svg +0 -0
  182. package/src/core/components/ui/icon/svgs/info-empty.svg +0 -0
  183. package/src/core/components/ui/icon/svgs/loader.svg +0 -0
  184. package/src/core/components/ui/icon/svgs/minus-small.svg +0 -0
  185. package/src/core/components/ui/icon/svgs/more-horiz.svg +0 -0
  186. package/src/core/components/ui/icon/svgs/more-vert.svg +0 -0
  187. package/src/core/components/ui/icon/svgs/nav-arrow-down.svg +0 -0
  188. package/src/core/components/ui/icon/svgs/warning-circled-outline.svg +0 -0
  189. package/src/core/components/ui/image/image.md +0 -0
  190. package/src/core/components/ui/image/image.ts +0 -0
  191. package/src/core/components/ui/link/link.md +0 -0
  192. package/src/core/components/ui/link/link.ts +0 -0
  193. package/src/core/components/ui/loader/loader.md +0 -0
  194. package/src/core/components/ui/loader/loader.stories.ts +0 -0
  195. package/src/core/components/ui/loader/loader.ts +0 -0
  196. package/src/core/components/ui/loader/styles/fixed.ts +0 -0
  197. package/src/core/components/ui/loader/styles/inline.ts +0 -0
  198. package/src/core/components/ui/menu/menu-item.ts +0 -0
  199. package/src/core/components/ui/menu/menu.md +0 -0
  200. package/src/core/components/ui/menu/menu.ts +0 -0
  201. package/src/core/components/ui/modal/modal-actions.ts +0 -0
  202. package/src/core/components/ui/modal/modal-close.ts +0 -0
  203. package/src/core/components/ui/modal/modal-content.ts +0 -0
  204. package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
  205. package/src/core/components/ui/modal/modal-title.ts +0 -0
  206. package/src/core/components/ui/modal/modal.md +0 -0
  207. package/src/core/components/ui/modal/modal.stories.ts +0 -0
  208. package/src/core/components/ui/pop/pop.md +0 -0
  209. package/src/core/components/ui/pop/pop.ts +0 -0
  210. package/src/core/components/ui/progress/progress.md +0 -0
  211. package/src/core/components/ui/progress/progress.ts +0 -0
  212. package/src/core/components/ui/table/table-caption.ts +0 -0
  213. package/src/core/components/ui/table/table-tbody.ts +0 -0
  214. package/src/core/components/ui/table/table-td.ts +0 -0
  215. package/src/core/components/ui/table/table-tfoot.ts +0 -0
  216. package/src/core/components/ui/table/table-th.ts +0 -0
  217. package/src/core/components/ui/table/table-thead.ts +0 -0
  218. package/src/core/components/ui/table/table-tr.ts +0 -0
  219. package/src/core/components/ui/table/table.md +0 -0
  220. package/src/core/components/ui/table/table.ts +0 -0
  221. package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
  222. package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
  223. package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
  224. package/src/core/components/ui/theme/theme.ts +0 -0
  225. package/src/core/components/ui/toast/message-subscriber.stories.ts +0 -0
  226. package/src/core/components/ui/toast/message-subscriber.ts +0 -0
  227. package/src/core/components/ui/toast/toast-item.ts +0 -0
  228. package/src/core/components/ui/toast/toast.ts +0 -0
  229. package/src/core/components/ui/toast/types.ts +0 -0
  230. package/src/core/components/ui/tooltip/tooltip.md +0 -0
  231. package/src/core/components/ui/tooltip/tooltip.ts +0 -0
  232. package/src/core/components/ui/ui.ts +0 -0
  233. package/src/core/core.ts +0 -0
  234. package/src/core/decorators/Subscriber.ts +0 -0
  235. package/src/core/directives/DataProvider.ts +0 -0
  236. package/src/core/directives/Wording.ts +0 -0
  237. package/src/core/mixins/Fetcher.ts +0 -0
  238. package/src/core/mixins/FormCheckable.ts +57 -33
  239. package/src/core/mixins/FormElement.ts +44 -12
  240. package/src/core/mixins/FormInput.ts +0 -0
  241. package/src/core/mixins/Subscriber.ts +0 -0
  242. package/src/core/mixins/TemplatesContainer.ts +0 -0
  243. package/src/core/mixins/mixins.ts +0 -0
  244. package/src/core/utils/Arrays.ts +0 -0
  245. package/src/core/utils/DataBindObserver.ts +0 -0
  246. package/src/core/utils/Electron.ts +0 -0
  247. package/src/core/utils/Format.ts +0 -0
  248. package/src/core/utils/HTML.ts +0 -0
  249. package/src/core/utils/LocationHandler.ts +28 -12
  250. package/src/core/utils/Objects.ts +10 -0
  251. package/src/core/utils/PublisherProxy.ts +111 -21
  252. package/src/core/utils/Utils.ts +0 -0
  253. package/src/core/utils/api.ts +0 -0
  254. package/src/core/utils/route.ts +0 -0
  255. package/src/core/utils/url-pattern.ts +0 -0
  256. package/src/decorators.ts +0 -0
  257. package/src/directives.ts +0 -0
  258. package/src/docs/_core-concept/overview.md +0 -0
  259. package/src/docs/_core-concept/subscriber.md +0 -0
  260. package/src/docs/_getting-started/concorde-outside.md +0 -0
  261. package/src/docs/_getting-started/create-a-component.md +0 -0
  262. package/src/docs/_getting-started/my-first-subscriber.md +0 -0
  263. package/src/docs/_getting-started/pubsub.md +0 -0
  264. package/src/docs/_getting-started/start.md +0 -0
  265. package/src/docs/_getting-started/theming.md +0 -0
  266. package/src/docs/code.ts +0 -0
  267. package/src/docs/docs.ts +0 -0
  268. package/src/docs/example/users.ts +0 -0
  269. package/src/docs/header/header.ts +0 -0
  270. package/src/docs/navigation/navigation.ts +0 -0
  271. package/src/docs/prism/index.ts +0 -0
  272. package/src/docs/prism/prism.css +0 -0
  273. package/src/docs/prism/prism.js +0 -0
  274. package/src/docs/search/docs-search.json +30 -0
  275. package/src/docs/search/markdown-renderer.ts +0 -0
  276. package/src/docs/search/page.ts +0 -0
  277. package/src/docs/search/search.ts +0 -0
  278. package/src/docs/tailwind/css/tailwind.css +0 -0
  279. package/src/docs/tailwind/css/tailwind.d.ts +0 -0
  280. package/src/docs/tailwind/index.ts +0 -0
  281. package/src/docs.ts +0 -0
  282. package/src/index.ts +0 -0
  283. package/src/mixins.ts +0 -0
  284. package/src/tag-list.json +0 -0
  285. package/src/test-utils/TestUtils.ts +0 -0
  286. package/src/tsconfig-model.json +0 -0
  287. package/src/tsconfig.json +0 -0
  288. package/src/utils.ts +0 -0
  289. package/tailwind.config.js +0 -0
  290. package/test-utils/TestUtils.ts +0 -0
  291. package/vite.config.mts +0 -0
  292. package/docs/assets/index--bDsd7qW.css +0 -1
  293. package/docs/assets/index-Ce3mr_lI.js +0 -4040
  294. package/docs/css/docs.css +0 -0
  295. package/docs/img/concorde-logo.svg +0 -1
  296. package/docs/img/concorde.png +0 -0
  297. package/docs/img/concorde_def.png +0 -0
  298. package/docs/index.html +0 -132
  299. package/docs/src/core/components/functional/date/date.md +0 -290
  300. package/docs/src/core/components/functional/fetch/fetch.md +0 -117
  301. package/docs/src/core/components/functional/if/if.md +0 -16
  302. package/docs/src/core/components/functional/list/list.md +0 -194
  303. package/docs/src/core/components/functional/mix/mix.md +0 -41
  304. package/docs/src/core/components/functional/queue/queue.md +0 -87
  305. package/docs/src/core/components/functional/router/router.md +0 -112
  306. package/docs/src/core/components/functional/sdui/default-library.json +0 -108
  307. package/docs/src/core/components/functional/sdui/example.json +0 -99
  308. package/docs/src/core/components/functional/sdui/sdui.md +0 -356
  309. package/docs/src/core/components/functional/states/states.md +0 -87
  310. package/docs/src/core/components/functional/submit/submit.md +0 -48
  311. package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
  312. package/docs/src/core/components/functional/value/value.md +0 -35
  313. package/docs/src/core/components/ui/alert/alert.md +0 -121
  314. package/docs/src/core/components/ui/badge/badge.md +0 -102
  315. package/docs/src/core/components/ui/button/button.md +0 -184
  316. package/docs/src/core/components/ui/captcha/captcha.md +0 -12
  317. package/docs/src/core/components/ui/card/card.md +0 -96
  318. package/docs/src/core/components/ui/divider/divider.md +0 -35
  319. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -96
  320. package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
  321. package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
  322. package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -43
  323. package/docs/src/core/components/ui/form/input/input.md +0 -168
  324. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -130
  325. package/docs/src/core/components/ui/form/radio/radio.md +0 -86
  326. package/docs/src/core/components/ui/form/select/select.md +0 -99
  327. package/docs/src/core/components/ui/form/textarea/textarea.md +0 -66
  328. package/docs/src/core/components/ui/group/group.md +0 -75
  329. package/docs/src/core/components/ui/icon/icon.md +0 -125
  330. package/docs/src/core/components/ui/icon/icons.json +0 -1
  331. package/docs/src/core/components/ui/image/image.md +0 -107
  332. package/docs/src/core/components/ui/link/link.md +0 -43
  333. package/docs/src/core/components/ui/loader/loader.md +0 -37
  334. package/docs/src/core/components/ui/menu/menu.md +0 -288
  335. package/docs/src/core/components/ui/modal/modal.md +0 -123
  336. package/docs/src/core/components/ui/pop/pop.md +0 -79
  337. package/docs/src/core/components/ui/progress/progress.md +0 -65
  338. package/docs/src/core/components/ui/table/table.md +0 -467
  339. package/docs/src/core/components/ui/tooltip/tooltip.md +0 -37
  340. package/docs/src/docs/_core-concept/overview.md +0 -57
  341. package/docs/src/docs/_core-concept/subscriber.md +0 -76
  342. package/docs/src/docs/_getting-started/concorde-outside.md +0 -141
  343. package/docs/src/docs/_getting-started/create-a-component.md +0 -137
  344. package/docs/src/docs/_getting-started/pubsub.md +0 -150
  345. package/docs/src/docs/_getting-started/start.md +0 -37
  346. package/docs/src/docs/_getting-started/theming.md +0 -91
  347. package/docs/src/docs/search/docs-search.json +0 -3737
  348. package/docs/src/tag-list.json +0 -1
  349. package/docs/src/tsconfig.json +0 -113
  350. package/docs/svg/regular/plane.svg +0 -1
  351. package/docs/svg/solid/plane.svg +0 -1
package/dist/css/docs.css CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/index.html CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "3.1.17",
3
+ "version": "3.1.19",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "",
@@ -10,7 +10,8 @@
10
10
  "postbuild": "node scripts/post-build.mjs",
11
11
  "build": "tsc --build src/tsconfig.json && vite build",
12
12
  "build-docs": "LIB_NAME=docs vite build",
13
- "postbuild-docs": "node scripts/post-build-docs.js"
13
+ "postbuild-docs": "node scripts/post-build-docs.js",
14
+ "prepublishOnly": "node scripts/pre-publish.mjs"
14
15
  },
15
16
  "exports": {
16
17
  "./core/components/ui/icon/icons.json": "./src/core/components/ui/icon/icons.json",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,24 @@
1
+ import fs from "fs";
2
+
3
+ // Liste des fichiers requis
4
+ const requiredFiles = [
5
+ 'concorde-core.bundle.js',
6
+ 'concorde-core.es.js',
7
+ // Ajoute ici les autres fichiers que tu veux vérifier
8
+ ];
9
+
10
+ let allFilesExist = true;
11
+
12
+ requiredFiles.forEach((file) => {
13
+ if (!fs.existsSync(file)) {
14
+ console.error(`Le fichier requis est manquant: ${file}`);
15
+ allFilesExist = false;
16
+ }
17
+ });
18
+
19
+ if (!allFilesExist) {
20
+ console.error('La publication est bloquée en raison de fichiers manquants.');
21
+ process.exit(1); // Bloque la publication en renvoyant un code d'erreur
22
+ } else {
23
+ console.log('Tous les fichiers requis sont présents.');
24
+ }
package/src/components.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -32,6 +32,10 @@
32
32
  </template>
33
33
  </sonic-code>
34
34
 
35
+
36
+
37
+
38
+
35
39
  ## Result handling example
36
40
 
37
41
  Result will show when something has been submit because the **dataprovider** used in this example is the same as the **submitResultDataProvider** used in the previous form.
@@ -46,3 +50,34 @@ Result will show when something has been submit because the **dataprovider** use
46
50
  </sonic-code>
47
51
 
48
52
 
53
+ ## dot notation
54
+
55
+ You can write the folowing code where the name attribute is written in dot notation.
56
+
57
+ <sonic-code>
58
+ <template>
59
+ <sonic-scope formDataProvider="submit-example-dot-notation">
60
+ <div class="grid grid-cols-2 gap-4 mb-4 ">
61
+ <sonic-input required name="email.value" type="email" value="eve.holt@reqres.in"></sonic-input>
62
+ <sonic-input required type="password" name="details.password.value" value="pistol"></sonic-input>
63
+ </div>
64
+ </sonic-scope>
65
+ </template>
66
+ </sonic-code>
67
+
68
+ The data will be stored in the following format:
69
+
70
+ <sonic-code language="typescript">
71
+ <template>
72
+ {
73
+ email: {
74
+ value: "eve.holt@reqres.in",
75
+ },
76
+ details: {
77
+ password: {
78
+ value: "pistol",
79
+ },
80
+ },
81
+ }
82
+ </template>
83
+ </sonic-code>
@@ -108,7 +108,7 @@ export class Submit extends Subscriber(LitElement) {
108
108
  //
109
109
  // Validation du formulaire
110
110
  formPublisher.isFormValid = true;
111
- formPublisher.invalidate();
111
+ formPublisher.invalidateForm();
112
112
  if (!formPublisher.isFormValid.get()) return;
113
113
  this.disabled = true;
114
114
  formPublisher.isFormValid;
@@ -186,6 +186,7 @@ export class Submit extends Subscriber(LitElement) {
186
186
  Object.keys(result).length === 1
187
187
  )
188
188
  result.messages = [{ content: "Network Error", status: "error" }];
189
+
189
190
  const clearedDataProvider = this.getAncestorAttributeValue(
190
191
  "clearedDataOnSuccess"
191
192
  );
@@ -218,12 +219,22 @@ export class Submit extends Subscriber(LitElement) {
218
219
  true
219
220
  );
220
221
  }
222
+
221
223
  const submitResultDataProvider = this.getAncestorAttributeValue(
222
224
  "submitResultDataProvider"
223
225
  );
224
226
  if (submitResultDataProvider)
225
227
  PublisherManager.get(submitResultDataProvider).set(result);
226
228
  this.disabled = false;
229
+
230
+ //dispacher event
231
+ this.dispatchEvent(
232
+ new CustomEvent("submit", {
233
+ detail: result,
234
+ bubbles: true,
235
+ composed: true,
236
+ })
237
+ );
227
238
  };
228
239
  const captchaPublisher = headerPublisher?.needsCaptchaValidation.get()
229
240
  ? headerPublisher
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes