@supersoniks/concorde 3.1.73 → 3.1.75

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 (215) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +20 -5
  3. package/concorde-core.es.js +27 -10
  4. package/dist/concorde-core.bundle.js +20 -5
  5. package/dist/concorde-core.es.js +27 -10
  6. package/index.html +0 -0
  7. package/package.json +2 -2
  8. package/scripts/create-search.js +0 -0
  9. package/scripts/generate-routes.js +0 -0
  10. package/src/core/_types/types.ts +0 -0
  11. package/src/core/components/functional/date/date.ts +0 -0
  12. package/src/core/components/functional/functional.ts +0 -0
  13. package/src/core/components/functional/if/if.md +0 -0
  14. package/src/core/components/functional/if/if.test.ts +0 -0
  15. package/src/core/components/functional/list/list.demo.ts +0 -0
  16. package/src/core/components/functional/list/list.spec.ts +0 -0
  17. package/src/core/components/functional/queue/queue.demo.ts +0 -0
  18. package/src/core/components/functional/router/router.demo.ts +0 -0
  19. package/src/core/components/functional/router/router.md +0 -0
  20. package/src/core/components/functional/router/router.spec.ts +0 -0
  21. package/src/core/components/functional/router/router.ts +0 -0
  22. package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
  23. package/src/core/components/functional/states/states.demo.ts +0 -0
  24. package/src/core/components/functional/states/states.md +0 -0
  25. package/src/core/components/functional/states/states.spec.ts +0 -0
  26. package/src/core/components/functional/states/states.ts +0 -0
  27. package/src/core/components/functional/translation/translation.ts +0 -0
  28. package/src/core/components/ui/_css/scroll.ts +0 -0
  29. package/src/core/components/ui/_css/shadow.ts +0 -0
  30. package/src/core/components/ui/_css/size.ts +0 -0
  31. package/src/core/components/ui/_css/type.ts +0 -0
  32. package/src/core/components/ui/alert/alert.md +0 -0
  33. package/src/core/components/ui/alert/alert.ts +0 -0
  34. package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  35. package/src/core/components/ui/badge/badge.md +0 -0
  36. package/src/core/components/ui/badge/badge.ts +0 -0
  37. package/src/core/components/ui/button/button.md +0 -0
  38. package/src/core/components/ui/button/button.ts +0 -0
  39. package/src/core/components/ui/captcha/captcha.md +0 -0
  40. package/src/core/components/ui/card/card-footer.ts +0 -0
  41. package/src/core/components/ui/card/card-header-descripton.ts +0 -0
  42. package/src/core/components/ui/card/card-header.ts +0 -0
  43. package/src/core/components/ui/card/card-main.ts +0 -0
  44. package/src/core/components/ui/card/card.md +0 -0
  45. package/src/core/components/ui/card/card.ts +0 -0
  46. package/src/core/components/ui/divider/divider.ts +0 -0
  47. package/src/core/components/ui/form/css/form-control.ts +0 -0
  48. package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
  49. package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
  50. package/src/core/components/ui/form/fieldset/legend.ts +0 -0
  51. package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
  52. package/src/core/components/ui/form/input/input.md +0 -0
  53. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
  54. package/src/core/components/ui/form/radio/radio.md +0 -0
  55. package/src/core/components/ui/form/radio/radio.ts +0 -0
  56. package/src/core/components/ui/form/select/select.md +0 -0
  57. package/src/core/components/ui/form/switch/switch.md +0 -0
  58. package/src/core/components/ui/form/switch/switch.ts +0 -0
  59. package/src/core/components/ui/icon/icon.ts +0 -0
  60. package/src/core/components/ui/icon/icons.ts +0 -0
  61. package/src/core/components/ui/image/image.md +0 -0
  62. package/src/core/components/ui/image/image.ts +0 -0
  63. package/src/core/components/ui/loader/loader.md +0 -0
  64. package/src/core/components/ui/loader/loader.ts +0 -0
  65. package/src/core/components/ui/loader/styles/fixed.ts +0 -0
  66. package/src/core/components/ui/loader/styles/inline.ts +0 -0
  67. package/src/core/components/ui/menu/menu.ts +0 -0
  68. package/src/core/components/ui/modal/modal-actions.ts +0 -0
  69. package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
  70. package/src/core/components/ui/modal/modal-title.ts +0 -0
  71. package/src/core/components/ui/modal/modal.md +0 -0
  72. package/src/core/components/ui/modal/modal.ts +36 -17
  73. package/src/core/components/ui/progress/progress.ts +0 -0
  74. package/src/core/components/ui/table/table-tbody.ts +0 -0
  75. package/src/core/components/ui/table/table-th.ts +0 -0
  76. package/src/core/components/ui/table/table.ts +0 -0
  77. package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
  78. package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
  79. package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
  80. package/src/core/components/ui/theme/theme.ts +0 -0
  81. package/src/core/components/ui/toast/toast-item.ts +0 -0
  82. package/src/core/components/ui/toast/toast.ts +0 -0
  83. package/src/core/components/ui/tooltip/tooltip.ts +0 -0
  84. package/src/core/components/ui/ui.ts +0 -0
  85. package/src/core/directives/DataProvider.ts +0 -0
  86. package/src/core/directives/Wording.ts +0 -0
  87. package/src/core/mixins/Fetcher.ts +0 -0
  88. package/src/core/mixins/Subscriber.ts +0 -0
  89. package/src/core/mixins/TemplatesContainer.ts +0 -0
  90. package/src/core/utils/LocationHandler.ts +0 -0
  91. package/src/core/utils/Objects.ts +0 -0
  92. package/src/core/utils/Utils.ts +0 -0
  93. package/src/core/utils/aesCrypto.ts +0 -0
  94. package/src/core/utils/api.ts +0 -0
  95. package/src/core/utils/route.spec.ts +0 -0
  96. package/src/core/utils/route.ts +0 -0
  97. package/src/docs/code.ts +0 -0
  98. package/src/docs/docs.ts +0 -0
  99. package/src/docs/header/header.ts +0 -0
  100. package/src/docs/layout.ts +0 -0
  101. package/src/docs/navigation/navigation.ts +0 -0
  102. package/src/docs/search/docs-search.json +0 -0
  103. package/src/docs/search/markdown-renderer.ts +0 -0
  104. package/src/docs/search/page.ts +0 -0
  105. package/src/docs/search/search.ts +0 -0
  106. package/src/docs/tailwind/css/tailwind.css +0 -0
  107. package/src/docs/tailwind/css.d.ts +0 -0
  108. package/src/index.ts +0 -0
  109. package/src/test-utils/TestUtils.ts +0 -0
  110. package/src/tsconfig-model.json +0 -0
  111. package/src/tsconfig.json +0 -0
  112. package/src/tsconfig.tsbuildinfo +0 -0
  113. package/tailwind.config.js +0 -0
  114. package/templates-test.html +0 -0
  115. package/vite/config.js +0 -0
  116. package/vite.config.mts +0 -0
  117. package/docs/assets/index-D9bBwsCn.js +0 -4537
  118. package/docs/assets/index-DCRPZO3x.css +0 -1
  119. package/docs/css/docs.css +0 -0
  120. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  121. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  122. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  123. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  124. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  125. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  126. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  127. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  128. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  129. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  130. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  131. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  132. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  133. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  134. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  135. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  136. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  137. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  138. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  139. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  140. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  141. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  142. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  143. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  144. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  145. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  146. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  147. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  148. package/docs/img/concorde-icon.svg +0 -5
  149. package/docs/img/concorde-logo.svg +0 -1
  150. package/docs/img/concorde.png +0 -0
  151. package/docs/img/concorde_def.png +0 -0
  152. package/docs/img/concorde_seuil.png.webp +0 -0
  153. package/docs/img/concorde_seuil_invert.png +0 -0
  154. package/docs/img/paul_metrand.jpg +0 -0
  155. package/docs/img/paul_metrand_xs.jpg +0 -0
  156. package/docs/index.html +0 -93
  157. package/docs/src/core/components/functional/date/date.md +0 -290
  158. package/docs/src/core/components/functional/fetch/fetch.md +0 -117
  159. package/docs/src/core/components/functional/if/if.md +0 -16
  160. package/docs/src/core/components/functional/list/list.md +0 -199
  161. package/docs/src/core/components/functional/mix/mix.md +0 -41
  162. package/docs/src/core/components/functional/queue/queue.md +0 -87
  163. package/docs/src/core/components/functional/router/router.md +0 -108
  164. package/docs/src/core/components/functional/sdui/default-library.json +0 -108
  165. package/docs/src/core/components/functional/sdui/example.json +0 -99
  166. package/docs/src/core/components/functional/sdui/sdui.md +0 -356
  167. package/docs/src/core/components/functional/states/states.md +0 -87
  168. package/docs/src/core/components/functional/submit/submit.md +0 -83
  169. package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
  170. package/docs/src/core/components/functional/value/value.md +0 -35
  171. package/docs/src/core/components/ui/alert/alert.md +0 -121
  172. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  173. package/docs/src/core/components/ui/badge/badge.md +0 -127
  174. package/docs/src/core/components/ui/button/button.md +0 -182
  175. package/docs/src/core/components/ui/captcha/captcha.md +0 -12
  176. package/docs/src/core/components/ui/card/card.md +0 -97
  177. package/docs/src/core/components/ui/divider/divider.md +0 -35
  178. package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -94
  179. package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
  180. package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
  181. package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
  182. package/docs/src/core/components/ui/form/input/input.md +0 -167
  183. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -130
  184. package/docs/src/core/components/ui/form/radio/radio.md +0 -84
  185. package/docs/src/core/components/ui/form/select/select.md +0 -97
  186. package/docs/src/core/components/ui/form/switch/switch.md +0 -84
  187. package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
  188. package/docs/src/core/components/ui/group/group.md +0 -75
  189. package/docs/src/core/components/ui/icon/icon.md +0 -125
  190. package/docs/src/core/components/ui/icon/icons.json +0 -1
  191. package/docs/src/core/components/ui/image/image.md +0 -107
  192. package/docs/src/core/components/ui/link/link.md +0 -43
  193. package/docs/src/core/components/ui/loader/loader.md +0 -67
  194. package/docs/src/core/components/ui/menu/menu.md +0 -288
  195. package/docs/src/core/components/ui/modal/modal.md +0 -123
  196. package/docs/src/core/components/ui/pop/pop.md +0 -79
  197. package/docs/src/core/components/ui/progress/progress.md +0 -63
  198. package/docs/src/core/components/ui/table/table.md +0 -455
  199. package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
  200. package/docs/src/docs/_core-concept/overview.md +0 -57
  201. package/docs/src/docs/_core-concept/subscriber.md +0 -76
  202. package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
  203. package/docs/src/docs/_getting-started/create-a-component.md +0 -137
  204. package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
  205. package/docs/src/docs/_getting-started/pubsub.md +0 -150
  206. package/docs/src/docs/_getting-started/start.md +0 -39
  207. package/docs/src/docs/_getting-started/theming.md +0 -91
  208. package/docs/src/docs/search/docs-search.json +0 -3902
  209. package/docs/src/tag-list.json +0 -1
  210. package/docs/src/tsconfig-model.json +0 -23
  211. package/docs/src/tsconfig.json +0 -835
  212. package/docs/svg/regular/plane.svg +0 -1
  213. package/docs/svg/solid/plane.svg +0 -1
  214. package/php/get-challenge.php +0 -34
  215. package/php/some-service.php +0 -42
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
@@ -143,6 +143,21 @@ export class Modal extends Subscriber(LitElement) {
143
143
  transform: translateX(-50%) translateY(-50%);
144
144
  }
145
145
 
146
+ /* Solution améliorée pour les navigateurs supportant round() */
147
+ @supports (transform: translateX(round(-50%, 1px))) {
148
+ .modal-wrapper {
149
+ transform: translateX(round(-50%, 1px)) translateY(round(-50%, 1px));
150
+ }
151
+ }
152
+
153
+ :host([fullScreen]) .modal-wrapper {
154
+ top: 0;
155
+ left: 0;
156
+ right: 0;
157
+ bottom: 0;
158
+ transform: none;
159
+ }
160
+
146
161
  .modal {
147
162
  top: 50%;
148
163
  bottom: auto;
@@ -393,25 +408,29 @@ export class Modal extends Subscriber(LitElement) {
393
408
  this.dispatchEvent(new CustomEvent("show"));
394
409
  }
395
410
 
396
- hide(): void {
397
- this.visible = false;
398
- this.modalElement?.setAttribute("tabindex", "-1");
399
- this.dispatchEvent(new CustomEvent("hide"));
400
- if (this.hasAttribute("resetDataProviderOnHide")) {
401
- PublisherManager.get(this.getAttribute("resetDataProviderOnHide")).set(
402
- {}
403
- );
404
- }
411
+ hide(): Promise<void> {
412
+ return new Promise((resolve) => {
413
+ this.visible = false;
414
+ this.modalElement?.setAttribute("tabindex", "-1");
415
+ this.dispatchEvent(new CustomEvent("hide"));
405
416
 
406
- setTimeout(() => {
407
- if (this.removeHashOnHide) {
408
- window.history.replaceState({}, "", window.location.pathname);
409
- }
410
- if (this.removeOnHide) {
411
- this.remove();
417
+ if (this.hasAttribute("resetDataProviderOnHide")) {
418
+ PublisherManager.get(this.getAttribute("resetDataProviderOnHide")).set(
419
+ {}
420
+ );
412
421
  }
413
- this.dispatchEvent(new CustomEvent("hidden"));
414
- }, 480);
422
+
423
+ setTimeout(() => {
424
+ if (this.removeHashOnHide) {
425
+ window.history.replaceState({}, "", window.location.pathname);
426
+ }
427
+ if (this.removeOnHide) {
428
+ this.remove();
429
+ }
430
+ this.dispatchEvent(new CustomEvent("hidden"));
431
+ resolve();
432
+ }, 480);
433
+ });
415
434
  }
416
435
 
417
436
  dispose() {
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/src/docs/code.ts CHANGED
File without changes
package/src/docs/docs.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
package/src/index.ts CHANGED
File without changes
File without changes
File without changes
package/src/tsconfig.json CHANGED
File without changes
File without changes
File without changes
File without changes
package/vite/config.js CHANGED
File without changes
package/vite.config.mts CHANGED
File without changes