@supersoniks/concorde 4.9.94 → 4.9.95

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 (643) hide show
  1. package/README.md +16 -30
  2. package/build-infos.json +1 -1
  3. package/concorde-3d.bundle.js +3911 -0
  4. package/concorde-3d.es.js +32635 -0
  5. package/concorde-core.bundle.js +1 -1
  6. package/concorde-core.es.js +1 -1
  7. package/concorde-hugging-face-infer.bundle.js +32 -0
  8. package/concorde-hugging-face-infer.es.js +2952 -0
  9. package/concorde-shader.bundle.js +105 -0
  10. package/concorde-shader.es.js +7982 -0
  11. package/concorde-webgpu.bundle.js +296 -0
  12. package/concorde-webgpu.es.js +8268 -0
  13. package/dist/concorde-core.bundle.js +1 -1
  14. package/dist/concorde-core.es.js +1 -1
  15. package/docs/assets/{index-D2Q3JyQ6.css → index-BZiZXMU-.css} +1 -1
  16. package/docs/assets/index-FmK4JaIM.js +11992 -0
  17. package/docs/crawl/core/components/functional/jsonata/jsonata.html +79 -0
  18. package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +1 -1
  19. package/docs/crawl/docs/_core-concept/dataFlow.html +12 -1
  20. package/docs/crawl/docs/_misc/docs-mock-api.html +12 -0
  21. package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +138 -0
  22. package/docs/crawl/docs/_misc/html-integration.html +3 -2
  23. package/docs/crawl/hubs/remote-data.html +3 -5
  24. package/docs/crawl/index.html +2 -0
  25. package/docs/docs-mock-api-sw.js +110 -0
  26. package/docs/docs-mock-api-sw.js.map +3 -3
  27. package/docs/index.html +2 -2
  28. package/docs/llms-full.txt +193 -2
  29. package/docs/llms.txt +2 -0
  30. package/docs/sitemap.xml +6 -0
  31. package/docs/src/core/components/functional/jsonata/jsonata.md +56 -0
  32. package/docs/src/core/components/ui/form/checkbox/checkbox.md +1 -1
  33. package/docs/src/docs/_core-concept/dataFlow.md +10 -1
  34. package/docs/src/docs/_misc/docs-mock-api.md +3 -0
  35. package/docs/src/docs/_misc/formelement-subscriber-removal.md +115 -0
  36. package/docs/src/docs/_misc/html-integration.md +2 -0
  37. package/docs/src/docs/search/docs-search.json +180 -0
  38. package/docs/src/tsconfig.json +18 -0
  39. package/package.json +379 -1102
  40. package/scripts/post-build.mjs +0 -43
  41. package/scripts/pre-build.mjs +4 -33
  42. package/scripts/pre-publish.mjs +0 -2
  43. package/src/core/components/functional/sdui/sdui.md +0 -0
  44. package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
  45. package/src/core/components/ui/form/input/input.ts +0 -0
  46. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
  47. package/src/core/components/ui/form/select/select.ts +0 -0
  48. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  49. package/src/docs/_getting-started/create-a-component.md +0 -0
  50. package/src/docs/search/docs-search.json +2128 -713
  51. package/src/tsconfig.json +309 -0
  52. package/vite/config.js +23 -35
  53. package/dist/js/components.js +0 -12
  54. package/dist/js/components.js.map +0 -1
  55. package/dist/js/concorde-loaded.js +0 -5
  56. package/dist/js/concorde-loaded.js.map +0 -1
  57. package/dist/js/core/_types/endpoint.js +0 -5
  58. package/dist/js/core/_types/endpoint.js.map +0 -1
  59. package/dist/js/core/_types/key.js +0 -2
  60. package/dist/js/core/_types/key.js.map +0 -1
  61. package/dist/js/core/_types/types.js +0 -3
  62. package/dist/js/core/_types/types.js.map +0 -1
  63. package/dist/js/core/components/functional/date/date.js +0 -272
  64. package/dist/js/core/components/functional/date/date.js.map +0 -1
  65. package/dist/js/core/components/functional/example/example.js +0 -44
  66. package/dist/js/core/components/functional/example/example.js.map +0 -1
  67. package/dist/js/core/components/functional/fetch/fetch.js +0 -79
  68. package/dist/js/core/components/functional/fetch/fetch.js.map +0 -1
  69. package/dist/js/core/components/functional/functional.js +0 -18
  70. package/dist/js/core/components/functional/functional.js.map +0 -1
  71. package/dist/js/core/components/functional/if/if.js +0 -39
  72. package/dist/js/core/components/functional/if/if.js.map +0 -1
  73. package/dist/js/core/components/functional/jsonata/jsonata.js +0 -119
  74. package/dist/js/core/components/functional/jsonata/jsonata.js.map +0 -1
  75. package/dist/js/core/components/functional/list/list.js +0 -341
  76. package/dist/js/core/components/functional/list/list.js.map +0 -1
  77. package/dist/js/core/components/functional/mix/mix.js +0 -103
  78. package/dist/js/core/components/functional/mix/mix.js.map +0 -1
  79. package/dist/js/core/components/functional/queue/queue.js +0 -450
  80. package/dist/js/core/components/functional/queue/queue.js.map +0 -1
  81. package/dist/js/core/components/functional/router/redirect.js +0 -54
  82. package/dist/js/core/components/functional/router/redirect.js.map +0 -1
  83. package/dist/js/core/components/functional/router/router.js +0 -179
  84. package/dist/js/core/components/functional/router/router.js.map +0 -1
  85. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -216
  86. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +0 -1
  87. package/dist/js/core/components/functional/sdui/default-library.json +0 -108
  88. package/dist/js/core/components/functional/sdui/sdui-utils.js +0 -64
  89. package/dist/js/core/components/functional/sdui/sdui-utils.js.map +0 -1
  90. package/dist/js/core/components/functional/sdui/sdui.js +0 -266
  91. package/dist/js/core/components/functional/sdui/sdui.js.map +0 -1
  92. package/dist/js/core/components/functional/sdui/types.js +0 -2
  93. package/dist/js/core/components/functional/sdui/types.js.map +0 -1
  94. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +0 -22
  95. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +0 -1
  96. package/dist/js/core/components/functional/states/states.js +0 -172
  97. package/dist/js/core/components/functional/states/states.js.map +0 -1
  98. package/dist/js/core/components/functional/submit/submit.js +0 -284
  99. package/dist/js/core/components/functional/submit/submit.js.map +0 -1
  100. package/dist/js/core/components/functional/subscriber/subscriber.js +0 -39
  101. package/dist/js/core/components/functional/subscriber/subscriber.js.map +0 -1
  102. package/dist/js/core/components/functional/translation/translation.js +0 -28
  103. package/dist/js/core/components/functional/translation/translation.js.map +0 -1
  104. package/dist/js/core/components/functional/value/value.js +0 -28
  105. package/dist/js/core/components/functional/value/value.js.map +0 -1
  106. package/dist/js/core/components/ui/_css/scroll.js +0 -27
  107. package/dist/js/core/components/ui/_css/scroll.js.map +0 -1
  108. package/dist/js/core/components/ui/_css/shadow.js +0 -22
  109. package/dist/js/core/components/ui/_css/shadow.js.map +0 -1
  110. package/dist/js/core/components/ui/_css/size.js +0 -36
  111. package/dist/js/core/components/ui/_css/size.js.map +0 -1
  112. package/dist/js/core/components/ui/_css/type.js +0 -92
  113. package/dist/js/core/components/ui/_css/type.js.map +0 -1
  114. package/dist/js/core/components/ui/alert/alert.js +0 -213
  115. package/dist/js/core/components/ui/alert/alert.js.map +0 -1
  116. package/dist/js/core/components/ui/alert-messages/alert-messages.js +0 -68
  117. package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +0 -1
  118. package/dist/js/core/components/ui/badge/badge.js +0 -199
  119. package/dist/js/core/components/ui/badge/badge.js.map +0 -1
  120. package/dist/js/core/components/ui/button/button.js +0 -697
  121. package/dist/js/core/components/ui/button/button.js.map +0 -1
  122. package/dist/js/core/components/ui/captcha/altchaStyles.js +0 -226
  123. package/dist/js/core/components/ui/captcha/altchaStyles.js.map +0 -1
  124. package/dist/js/core/components/ui/captcha/captcha.js +0 -167
  125. package/dist/js/core/components/ui/captcha/captcha.js.map +0 -1
  126. package/dist/js/core/components/ui/card/card-footer.js +0 -26
  127. package/dist/js/core/components/ui/card/card-footer.js.map +0 -1
  128. package/dist/js/core/components/ui/card/card-header-descripton.js +0 -30
  129. package/dist/js/core/components/ui/card/card-header-descripton.js.map +0 -1
  130. package/dist/js/core/components/ui/card/card-header.js +0 -79
  131. package/dist/js/core/components/ui/card/card-header.js.map +0 -1
  132. package/dist/js/core/components/ui/card/card-main.js +0 -26
  133. package/dist/js/core/components/ui/card/card-main.js.map +0 -1
  134. package/dist/js/core/components/ui/card/card.js +0 -67
  135. package/dist/js/core/components/ui/card/card.js.map +0 -1
  136. package/dist/js/core/components/ui/divider/divider.js +0 -200
  137. package/dist/js/core/components/ui/divider/divider.js.map +0 -1
  138. package/dist/js/core/components/ui/form/checkbox/checkbox.js +0 -257
  139. package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +0 -1
  140. package/dist/js/core/components/ui/form/css/form-control.js +0 -393
  141. package/dist/js/core/components/ui/form/css/form-control.js.map +0 -1
  142. package/dist/js/core/components/ui/form/fieldset/fieldset.js +0 -124
  143. package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +0 -1
  144. package/dist/js/core/components/ui/form/fieldset/legend-description.js +0 -38
  145. package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +0 -1
  146. package/dist/js/core/components/ui/form/fieldset/legend.js +0 -130
  147. package/dist/js/core/components/ui/form/fieldset/legend.js.map +0 -1
  148. package/dist/js/core/components/ui/form/form-actions/form-actions.js +0 -47
  149. package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +0 -1
  150. package/dist/js/core/components/ui/form/form-layout/form-layout.js +0 -84
  151. package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +0 -1
  152. package/dist/js/core/components/ui/form/input/input.js +0 -316
  153. package/dist/js/core/components/ui/form/input/input.js.map +0 -1
  154. package/dist/js/core/components/ui/form/input/password-helper.js +0 -134
  155. package/dist/js/core/components/ui/form/input/password-helper.js.map +0 -1
  156. package/dist/js/core/components/ui/form/input/same-value-helper.js +0 -85
  157. package/dist/js/core/components/ui/form/input/same-value-helper.js.map +0 -1
  158. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -405
  159. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +0 -1
  160. package/dist/js/core/components/ui/form/radio/radio.js +0 -63
  161. package/dist/js/core/components/ui/form/radio/radio.js.map +0 -1
  162. package/dist/js/core/components/ui/form/select/select.js +0 -323
  163. package/dist/js/core/components/ui/form/select/select.js.map +0 -1
  164. package/dist/js/core/components/ui/form/switch/switch.js +0 -90
  165. package/dist/js/core/components/ui/form/switch/switch.js.map +0 -1
  166. package/dist/js/core/components/ui/form/textarea/textarea.js +0 -162
  167. package/dist/js/core/components/ui/form/textarea/textarea.js.map +0 -1
  168. package/dist/js/core/components/ui/group/group.js +0 -128
  169. package/dist/js/core/components/ui/group/group.js.map +0 -1
  170. package/dist/js/core/components/ui/icon/icon.js +0 -145
  171. package/dist/js/core/components/ui/icon/icon.js.map +0 -1
  172. package/dist/js/core/components/ui/icon/icons.js +0 -184
  173. package/dist/js/core/components/ui/icon/icons.js.map +0 -1
  174. package/dist/js/core/components/ui/icon/icons.json +0 -1
  175. package/dist/js/core/components/ui/image/image.js +0 -160
  176. package/dist/js/core/components/ui/image/image.js.map +0 -1
  177. package/dist/js/core/components/ui/link/link.js +0 -125
  178. package/dist/js/core/components/ui/link/link.js.map +0 -1
  179. package/dist/js/core/components/ui/loader/loader.js +0 -106
  180. package/dist/js/core/components/ui/loader/loader.js.map +0 -1
  181. package/dist/js/core/components/ui/loader/styles/fixed.js +0 -56
  182. package/dist/js/core/components/ui/loader/styles/fixed.js.map +0 -1
  183. package/dist/js/core/components/ui/loader/styles/inline.js +0 -70
  184. package/dist/js/core/components/ui/loader/styles/inline.js.map +0 -1
  185. package/dist/js/core/components/ui/menu/menu-item.js +0 -35
  186. package/dist/js/core/components/ui/menu/menu-item.js.map +0 -1
  187. package/dist/js/core/components/ui/menu/menu.js +0 -436
  188. package/dist/js/core/components/ui/menu/menu.js.map +0 -1
  189. package/dist/js/core/components/ui/modal/modal-actions.js +0 -44
  190. package/dist/js/core/components/ui/modal/modal-actions.js.map +0 -1
  191. package/dist/js/core/components/ui/modal/modal-close.js +0 -56
  192. package/dist/js/core/components/ui/modal/modal-close.js.map +0 -1
  193. package/dist/js/core/components/ui/modal/modal-content.js +0 -27
  194. package/dist/js/core/components/ui/modal/modal-content.js.map +0 -1
  195. package/dist/js/core/components/ui/modal/modal-subtitle.js +0 -34
  196. package/dist/js/core/components/ui/modal/modal-subtitle.js.map +0 -1
  197. package/dist/js/core/components/ui/modal/modal-title.js +0 -35
  198. package/dist/js/core/components/ui/modal/modal-title.js.map +0 -1
  199. package/dist/js/core/components/ui/modal/modal-utils.js +0 -32
  200. package/dist/js/core/components/ui/modal/modal-utils.js.map +0 -1
  201. package/dist/js/core/components/ui/modal/modal.js +0 -568
  202. package/dist/js/core/components/ui/modal/modal.js.map +0 -1
  203. package/dist/js/core/components/ui/pop/pop.js +0 -337
  204. package/dist/js/core/components/ui/pop/pop.js.map +0 -1
  205. package/dist/js/core/components/ui/progress/progress.js +0 -164
  206. package/dist/js/core/components/ui/progress/progress.js.map +0 -1
  207. package/dist/js/core/components/ui/table/table-caption.js +0 -29
  208. package/dist/js/core/components/ui/table/table-caption.js.map +0 -1
  209. package/dist/js/core/components/ui/table/table-tbody.js +0 -41
  210. package/dist/js/core/components/ui/table/table-tbody.js.map +0 -1
  211. package/dist/js/core/components/ui/table/table-td.js +0 -69
  212. package/dist/js/core/components/ui/table/table-td.js.map +0 -1
  213. package/dist/js/core/components/ui/table/table-tfoot.js +0 -28
  214. package/dist/js/core/components/ui/table/table-tfoot.js.map +0 -1
  215. package/dist/js/core/components/ui/table/table-th.js +0 -80
  216. package/dist/js/core/components/ui/table/table-th.js.map +0 -1
  217. package/dist/js/core/components/ui/table/table-thead.js +0 -26
  218. package/dist/js/core/components/ui/table/table-thead.js.map +0 -1
  219. package/dist/js/core/components/ui/table/table-tr.js +0 -67
  220. package/dist/js/core/components/ui/table/table-tr.js.map +0 -1
  221. package/dist/js/core/components/ui/table/table.js +0 -106
  222. package/dist/js/core/components/ui/table/table.js.map +0 -1
  223. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +0 -74
  224. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +0 -1
  225. package/dist/js/core/components/ui/theme/theme-collection/dark.js +0 -39
  226. package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +0 -1
  227. package/dist/js/core/components/ui/theme/theme-collection/light.js +0 -32
  228. package/dist/js/core/components/ui/theme/theme-collection/light.js.map +0 -1
  229. package/dist/js/core/components/ui/theme/theme.js +0 -150
  230. package/dist/js/core/components/ui/theme/theme.js.map +0 -1
  231. package/dist/js/core/components/ui/toast/message-subscriber.js +0 -41
  232. package/dist/js/core/components/ui/toast/message-subscriber.js.map +0 -1
  233. package/dist/js/core/components/ui/toast/toast-item.js +0 -379
  234. package/dist/js/core/components/ui/toast/toast-item.js.map +0 -1
  235. package/dist/js/core/components/ui/toast/toast.js +0 -269
  236. package/dist/js/core/components/ui/toast/toast.js.map +0 -1
  237. package/dist/js/core/components/ui/toast/types.js +0 -2
  238. package/dist/js/core/components/ui/toast/types.js.map +0 -1
  239. package/dist/js/core/components/ui/tooltip/tooltip.js +0 -219
  240. package/dist/js/core/components/ui/tooltip/tooltip.js.map +0 -1
  241. package/dist/js/core/components/ui/ui.js +0 -41
  242. package/dist/js/core/components/ui/ui.js.map +0 -1
  243. package/dist/js/core/core.js +0 -14
  244. package/dist/js/core/core.js.map +0 -1
  245. package/dist/js/core/decorators/Subscriber.js +0 -10
  246. package/dist/js/core/decorators/Subscriber.js.map +0 -1
  247. package/dist/js/core/decorators/api.js +0 -806
  248. package/dist/js/core/decorators/api.js.map +0 -1
  249. package/dist/js/core/decorators/lifecycle.js +0 -67
  250. package/dist/js/core/decorators/lifecycle.js.map +0 -1
  251. package/dist/js/core/decorators/subscriber/ancestorAttribute.js +0 -27
  252. package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +0 -1
  253. package/dist/js/core/decorators/subscriber/autoFill.js +0 -26
  254. package/dist/js/core/decorators/subscriber/autoFill.js.map +0 -1
  255. package/dist/js/core/decorators/subscriber/autoSubscribe.js +0 -46
  256. package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +0 -1
  257. package/dist/js/core/decorators/subscriber/bind.js +0 -150
  258. package/dist/js/core/decorators/subscriber/bind.js.map +0 -1
  259. package/dist/js/core/decorators/subscriber/common.js +0 -44
  260. package/dist/js/core/decorators/subscriber/common.js.map +0 -1
  261. package/dist/js/core/decorators/subscriber/derive.js +0 -60
  262. package/dist/js/core/decorators/subscriber/derive.js.map +0 -1
  263. package/dist/js/core/decorators/subscriber/dynamicPath.js +0 -75
  264. package/dist/js/core/decorators/subscriber/dynamicPath.js.map +0 -1
  265. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +0 -138
  266. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +0 -1
  267. package/dist/js/core/decorators/subscriber/handle.js +0 -22
  268. package/dist/js/core/decorators/subscriber/handle.js.map +0 -1
  269. package/dist/js/core/decorators/subscriber/onAssign.js +0 -199
  270. package/dist/js/core/decorators/subscriber/onAssign.js.map +0 -1
  271. package/dist/js/core/decorators/subscriber/publish.js +0 -108
  272. package/dist/js/core/decorators/subscriber/publish.js.map +0 -1
  273. package/dist/js/core/decorators/subscriber/publisherPath.js +0 -16
  274. package/dist/js/core/decorators/subscriber/publisherPath.js.map +0 -1
  275. package/dist/js/core/decorators/subscriber/subscribe.js +0 -20
  276. package/dist/js/core/decorators/subscriber/subscribe.js.map +0 -1
  277. package/dist/js/core/directives/DataProvider.js +0 -127
  278. package/dist/js/core/directives/DataProvider.js.map +0 -1
  279. package/dist/js/core/directives/Wording.js +0 -221
  280. package/dist/js/core/directives/Wording.js.map +0 -1
  281. package/dist/js/core/mixins/Fetcher.js +0 -325
  282. package/dist/js/core/mixins/Fetcher.js.map +0 -1
  283. package/dist/js/core/mixins/FormCheckable.js +0 -313
  284. package/dist/js/core/mixins/FormCheckable.js.map +0 -1
  285. package/dist/js/core/mixins/FormElement.js +0 -304
  286. package/dist/js/core/mixins/FormElement.js.map +0 -1
  287. package/dist/js/core/mixins/FormInput.js +0 -82
  288. package/dist/js/core/mixins/FormInput.js.map +0 -1
  289. package/dist/js/core/mixins/Subscriber.js +0 -354
  290. package/dist/js/core/mixins/Subscriber.js.map +0 -1
  291. package/dist/js/core/mixins/TemplatesContainer.js +0 -70
  292. package/dist/js/core/mixins/TemplatesContainer.js.map +0 -1
  293. package/dist/js/core/mixins/mixins.js +0 -7
  294. package/dist/js/core/mixins/mixins.js.map +0 -1
  295. package/dist/js/core/utils/AncestorAttributeObserver.js +0 -140
  296. package/dist/js/core/utils/AncestorAttributeObserver.js.map +0 -1
  297. package/dist/js/core/utils/Arrays.js +0 -141
  298. package/dist/js/core/utils/Arrays.js.map +0 -1
  299. package/dist/js/core/utils/DataBindObserver.js +0 -265
  300. package/dist/js/core/utils/DataBindObserver.js.map +0 -1
  301. package/dist/js/core/utils/Electron.js +0 -14
  302. package/dist/js/core/utils/Electron.js.map +0 -1
  303. package/dist/js/core/utils/Format.js +0 -43
  304. package/dist/js/core/utils/Format.js.map +0 -1
  305. package/dist/js/core/utils/HTML.js +0 -272
  306. package/dist/js/core/utils/HTML.js.map +0 -1
  307. package/dist/js/core/utils/LocationHandler.js +0 -143
  308. package/dist/js/core/utils/LocationHandler.js.map +0 -1
  309. package/dist/js/core/utils/Objects.js +0 -111
  310. package/dist/js/core/utils/Objects.js.map +0 -1
  311. package/dist/js/core/utils/PublisherProxy.js +0 -946
  312. package/dist/js/core/utils/PublisherProxy.js.map +0 -1
  313. package/dist/js/core/utils/SafariScrollGuard.js +0 -384
  314. package/dist/js/core/utils/SafariScrollGuard.js.map +0 -1
  315. package/dist/js/core/utils/Utils.js +0 -19
  316. package/dist/js/core/utils/Utils.js.map +0 -1
  317. package/dist/js/core/utils/aesCrypto.js +0 -98
  318. package/dist/js/core/utils/aesCrypto.js.map +0 -1
  319. package/dist/js/core/utils/api.js +0 -595
  320. package/dist/js/core/utils/api.js.map +0 -1
  321. package/dist/js/core/utils/dataProviderKey.js +0 -64
  322. package/dist/js/core/utils/dataProviderKey.js.map +0 -1
  323. package/dist/js/core/utils/derive.js +0 -246
  324. package/dist/js/core/utils/derive.js.map +0 -1
  325. package/dist/js/core/utils/endpoint.js +0 -74
  326. package/dist/js/core/utils/endpoint.js.map +0 -1
  327. package/dist/js/core/utils/jsonataHelpers.js +0 -69
  328. package/dist/js/core/utils/jsonataHelpers.js.map +0 -1
  329. package/dist/js/core/utils/jsonataRuntime.js +0 -75
  330. package/dist/js/core/utils/jsonataRuntime.js.map +0 -1
  331. package/dist/js/core/utils/route.js +0 -149
  332. package/dist/js/core/utils/route.js.map +0 -1
  333. package/dist/js/core/utils/url-pattern.js +0 -3
  334. package/dist/js/core/utils/url-pattern.js.map +0 -1
  335. package/dist/js/dataprovider.js +0 -2
  336. package/dist/js/dataprovider.js.map +0 -1
  337. package/dist/js/decorators.js +0 -43
  338. package/dist/js/decorators.js.map +0 -1
  339. package/dist/js/directives.js +0 -30
  340. package/dist/js/directives.js.map +0 -1
  341. package/dist/js/index.js +0 -8
  342. package/dist/js/index.js.map +0 -1
  343. package/dist/js/mixins.js +0 -23
  344. package/dist/js/mixins.js.map +0 -1
  345. package/dist/js/test-utils/TestUtils.js +0 -10
  346. package/dist/js/test-utils/TestUtils.js.map +0 -1
  347. package/dist/js/utils.js +0 -46
  348. package/dist/js/utils.js.map +0 -1
  349. package/dist/types/components.d.ts +0 -5
  350. package/dist/types/components.d.ts.map +0 -1
  351. package/dist/types/concorde-loaded.d.ts +0 -2
  352. package/dist/types/concorde-loaded.d.ts.map +0 -1
  353. package/dist/types/core/_types/endpoint.d.ts +0 -5
  354. package/dist/types/core/_types/endpoint.d.ts.map +0 -1
  355. package/dist/types/core/_types/key.d.ts +0 -2
  356. package/dist/types/core/_types/key.d.ts.map +0 -1
  357. package/dist/types/core/_types/types.d.ts +0 -28
  358. package/dist/types/core/_types/types.d.ts.map +0 -1
  359. package/dist/types/core/components/functional/date/date.d.ts +0 -52
  360. package/dist/types/core/components/functional/date/date.d.ts.map +0 -1
  361. package/dist/types/core/components/functional/example/example.d.ts +0 -15
  362. package/dist/types/core/components/functional/example/example.d.ts.map +0 -1
  363. package/dist/types/core/components/functional/fetch/fetch.d.ts +0 -102
  364. package/dist/types/core/components/functional/fetch/fetch.d.ts.map +0 -1
  365. package/dist/types/core/components/functional/functional.d.ts +0 -18
  366. package/dist/types/core/components/functional/functional.d.ts.map +0 -1
  367. package/dist/types/core/components/functional/if/if.d.ts +0 -13
  368. package/dist/types/core/components/functional/if/if.d.ts.map +0 -1
  369. package/dist/types/core/components/functional/jsonata/jsonata.d.ts +0 -29
  370. package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +0 -1
  371. package/dist/types/core/components/functional/list/list.d.ts +0 -149
  372. package/dist/types/core/components/functional/list/list.d.ts.map +0 -1
  373. package/dist/types/core/components/functional/mix/mix.d.ts +0 -23
  374. package/dist/types/core/components/functional/mix/mix.d.ts.map +0 -1
  375. package/dist/types/core/components/functional/queue/queue.d.ts +0 -93
  376. package/dist/types/core/components/functional/queue/queue.d.ts.map +0 -1
  377. package/dist/types/core/components/functional/router/redirect.d.ts +0 -19
  378. package/dist/types/core/components/functional/router/redirect.d.ts.map +0 -1
  379. package/dist/types/core/components/functional/router/router.d.ts +0 -46
  380. package/dist/types/core/components/functional/router/router.d.ts.map +0 -1
  381. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -59
  382. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +0 -1
  383. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +0 -6
  384. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +0 -1
  385. package/dist/types/core/components/functional/sdui/sdui.d.ts +0 -145
  386. package/dist/types/core/components/functional/sdui/sdui.d.ts.map +0 -1
  387. package/dist/types/core/components/functional/sdui/types.d.ts +0 -38
  388. package/dist/types/core/components/functional/sdui/types.d.ts.map +0 -1
  389. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -6
  390. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +0 -1
  391. package/dist/types/core/components/functional/states/states.d.ts +0 -42
  392. package/dist/types/core/components/functional/states/states.d.ts.map +0 -1
  393. package/dist/types/core/components/functional/submit/submit.d.ts +0 -37
  394. package/dist/types/core/components/functional/submit/submit.d.ts.map +0 -1
  395. package/dist/types/core/components/functional/subscriber/subscriber.d.ts +0 -13
  396. package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +0 -1
  397. package/dist/types/core/components/functional/translation/translation.d.ts +0 -7
  398. package/dist/types/core/components/functional/translation/translation.d.ts.map +0 -1
  399. package/dist/types/core/components/functional/value/value.d.ts +0 -8
  400. package/dist/types/core/components/functional/value/value.d.ts.map +0 -1
  401. package/dist/types/core/components/ui/_css/scroll.d.ts +0 -2
  402. package/dist/types/core/components/ui/_css/scroll.d.ts.map +0 -1
  403. package/dist/types/core/components/ui/_css/shadow.d.ts +0 -3
  404. package/dist/types/core/components/ui/_css/shadow.d.ts.map +0 -1
  405. package/dist/types/core/components/ui/_css/size.d.ts +0 -3
  406. package/dist/types/core/components/ui/_css/size.d.ts.map +0 -1
  407. package/dist/types/core/components/ui/_css/type.d.ts +0 -3
  408. package/dist/types/core/components/ui/_css/type.d.ts.map +0 -1
  409. package/dist/types/core/components/ui/alert/alert.d.ts +0 -37
  410. package/dist/types/core/components/ui/alert/alert.d.ts.map +0 -1
  411. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +0 -15
  412. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +0 -1
  413. package/dist/types/core/components/ui/badge/badge.d.ts +0 -27
  414. package/dist/types/core/components/ui/badge/badge.d.ts.map +0 -1
  415. package/dist/types/core/components/ui/button/button.d.ts +0 -180
  416. package/dist/types/core/components/ui/button/button.d.ts.map +0 -1
  417. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +0 -2
  418. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +0 -1
  419. package/dist/types/core/components/ui/captcha/captcha.d.ts +0 -30
  420. package/dist/types/core/components/ui/captcha/captcha.d.ts.map +0 -1
  421. package/dist/types/core/components/ui/card/card-footer.d.ts +0 -6
  422. package/dist/types/core/components/ui/card/card-footer.d.ts.map +0 -1
  423. package/dist/types/core/components/ui/card/card-header-descripton.d.ts +0 -6
  424. package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +0 -1
  425. package/dist/types/core/components/ui/card/card-header.d.ts +0 -9
  426. package/dist/types/core/components/ui/card/card-header.d.ts.map +0 -1
  427. package/dist/types/core/components/ui/card/card-main.d.ts +0 -6
  428. package/dist/types/core/components/ui/card/card-main.d.ts.map +0 -1
  429. package/dist/types/core/components/ui/card/card.d.ts +0 -13
  430. package/dist/types/core/components/ui/card/card.d.ts.map +0 -1
  431. package/dist/types/core/components/ui/divider/divider.d.ts +0 -16
  432. package/dist/types/core/components/ui/divider/divider.d.ts.map +0 -1
  433. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +0 -176
  434. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +0 -1
  435. package/dist/types/core/components/ui/form/css/form-control.d.ts +0 -5
  436. package/dist/types/core/components/ui/form/css/form-control.d.ts.map +0 -1
  437. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +0 -24
  438. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +0 -1
  439. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +0 -6
  440. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +0 -1
  441. package/dist/types/core/components/ui/form/fieldset/legend.d.ts +0 -17
  442. package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +0 -1
  443. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +0 -8
  444. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +0 -1
  445. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +0 -13
  446. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +0 -1
  447. package/dist/types/core/components/ui/form/input/input.d.ts +0 -123
  448. package/dist/types/core/components/ui/form/input/input.d.ts.map +0 -1
  449. package/dist/types/core/components/ui/form/input/password-helper.d.ts +0 -26
  450. package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +0 -1
  451. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +0 -17
  452. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +0 -1
  453. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -155
  454. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +0 -1
  455. package/dist/types/core/components/ui/form/radio/radio.d.ts +0 -15
  456. package/dist/types/core/components/ui/form/radio/radio.d.ts.map +0 -1
  457. package/dist/types/core/components/ui/form/select/select.d.ts +0 -59
  458. package/dist/types/core/components/ui/form/select/select.d.ts.map +0 -1
  459. package/dist/types/core/components/ui/form/switch/switch.d.ts +0 -6
  460. package/dist/types/core/components/ui/form/switch/switch.d.ts.map +0 -1
  461. package/dist/types/core/components/ui/form/textarea/textarea.d.ts +0 -94
  462. package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +0 -1
  463. package/dist/types/core/components/ui/group/group.d.ts +0 -17
  464. package/dist/types/core/components/ui/group/group.d.ts.map +0 -1
  465. package/dist/types/core/components/ui/icon/icon.d.ts +0 -30
  466. package/dist/types/core/components/ui/icon/icon.d.ts.map +0 -1
  467. package/dist/types/core/components/ui/icon/icons.d.ts +0 -13
  468. package/dist/types/core/components/ui/icon/icons.d.ts.map +0 -1
  469. package/dist/types/core/components/ui/image/image.d.ts +0 -16
  470. package/dist/types/core/components/ui/image/image.d.ts.map +0 -1
  471. package/dist/types/core/components/ui/link/link.d.ts +0 -30
  472. package/dist/types/core/components/ui/link/link.d.ts.map +0 -1
  473. package/dist/types/core/components/ui/loader/loader.d.ts +0 -24
  474. package/dist/types/core/components/ui/loader/loader.d.ts.map +0 -1
  475. package/dist/types/core/components/ui/loader/styles/fixed.d.ts +0 -2
  476. package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +0 -1
  477. package/dist/types/core/components/ui/loader/styles/inline.d.ts +0 -2
  478. package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +0 -1
  479. package/dist/types/core/components/ui/menu/menu-item.d.ts +0 -6
  480. package/dist/types/core/components/ui/menu/menu-item.d.ts.map +0 -1
  481. package/dist/types/core/components/ui/menu/menu.d.ts +0 -52
  482. package/dist/types/core/components/ui/menu/menu.d.ts.map +0 -1
  483. package/dist/types/core/components/ui/modal/modal-actions.d.ts +0 -9
  484. package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +0 -1
  485. package/dist/types/core/components/ui/modal/modal-close.d.ts +0 -11
  486. package/dist/types/core/components/ui/modal/modal-close.d.ts.map +0 -1
  487. package/dist/types/core/components/ui/modal/modal-content.d.ts +0 -6
  488. package/dist/types/core/components/ui/modal/modal-content.d.ts.map +0 -1
  489. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +0 -6
  490. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +0 -1
  491. package/dist/types/core/components/ui/modal/modal-title.d.ts +0 -6
  492. package/dist/types/core/components/ui/modal/modal-title.d.ts.map +0 -1
  493. package/dist/types/core/components/ui/modal/modal-utils.d.ts +0 -4
  494. package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +0 -1
  495. package/dist/types/core/components/ui/modal/modal.d.ts +0 -79
  496. package/dist/types/core/components/ui/modal/modal.d.ts.map +0 -1
  497. package/dist/types/core/components/ui/pop/pop.d.ts +0 -42
  498. package/dist/types/core/components/ui/pop/pop.d.ts.map +0 -1
  499. package/dist/types/core/components/ui/progress/progress.d.ts +0 -12
  500. package/dist/types/core/components/ui/progress/progress.d.ts.map +0 -1
  501. package/dist/types/core/components/ui/table/table-caption.d.ts +0 -6
  502. package/dist/types/core/components/ui/table/table-caption.d.ts.map +0 -1
  503. package/dist/types/core/components/ui/table/table-tbody.d.ts +0 -6
  504. package/dist/types/core/components/ui/table/table-tbody.d.ts.map +0 -1
  505. package/dist/types/core/components/ui/table/table-td.d.ts +0 -13
  506. package/dist/types/core/components/ui/table/table-td.d.ts.map +0 -1
  507. package/dist/types/core/components/ui/table/table-tfoot.d.ts +0 -6
  508. package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +0 -1
  509. package/dist/types/core/components/ui/table/table-th.d.ts +0 -12
  510. package/dist/types/core/components/ui/table/table-th.d.ts.map +0 -1
  511. package/dist/types/core/components/ui/table/table-thead.d.ts +0 -6
  512. package/dist/types/core/components/ui/table/table-thead.d.ts.map +0 -1
  513. package/dist/types/core/components/ui/table/table-tr.d.ts +0 -14
  514. package/dist/types/core/components/ui/table/table-tr.d.ts.map +0 -1
  515. package/dist/types/core/components/ui/table/table.d.ts +0 -18
  516. package/dist/types/core/components/ui/table/table.d.ts.map +0 -1
  517. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -2
  518. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +0 -1
  519. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +0 -2
  520. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +0 -1
  521. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +0 -2
  522. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +0 -1
  523. package/dist/types/core/components/ui/theme/theme.d.ts +0 -20
  524. package/dist/types/core/components/ui/theme/theme.d.ts.map +0 -1
  525. package/dist/types/core/components/ui/toast/message-subscriber.d.ts +0 -19
  526. package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +0 -1
  527. package/dist/types/core/components/ui/toast/toast-item.d.ts +0 -41
  528. package/dist/types/core/components/ui/toast/toast-item.d.ts.map +0 -1
  529. package/dist/types/core/components/ui/toast/toast.d.ts +0 -28
  530. package/dist/types/core/components/ui/toast/toast.d.ts.map +0 -1
  531. package/dist/types/core/components/ui/toast/types.d.ts +0 -12
  532. package/dist/types/core/components/ui/toast/types.d.ts.map +0 -1
  533. package/dist/types/core/components/ui/tooltip/tooltip.d.ts +0 -21
  534. package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +0 -1
  535. package/dist/types/core/components/ui/ui.d.ts +0 -35
  536. package/dist/types/core/components/ui/ui.d.ts.map +0 -1
  537. package/dist/types/core/core.d.ts +0 -5
  538. package/dist/types/core/core.d.ts.map +0 -1
  539. package/dist/types/core/decorators/Subscriber.d.ts +0 -13
  540. package/dist/types/core/decorators/Subscriber.d.ts.map +0 -1
  541. package/dist/types/core/decorators/api.d.ts +0 -155
  542. package/dist/types/core/decorators/api.d.ts.map +0 -1
  543. package/dist/types/core/decorators/lifecycle.d.ts +0 -19
  544. package/dist/types/core/decorators/lifecycle.d.ts.map +0 -1
  545. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +0 -11
  546. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +0 -1
  547. package/dist/types/core/decorators/subscriber/autoFill.d.ts +0 -2
  548. package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +0 -1
  549. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +0 -2
  550. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +0 -1
  551. package/dist/types/core/decorators/subscriber/bind.d.ts +0 -28
  552. package/dist/types/core/decorators/subscriber/bind.d.ts.map +0 -1
  553. package/dist/types/core/decorators/subscriber/common.d.ts +0 -14
  554. package/dist/types/core/decorators/subscriber/common.d.ts.map +0 -1
  555. package/dist/types/core/decorators/subscriber/derive.d.ts +0 -30
  556. package/dist/types/core/decorators/subscriber/derive.d.ts.map +0 -1
  557. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +0 -23
  558. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +0 -1
  559. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +0 -42
  560. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +0 -1
  561. package/dist/types/core/decorators/subscriber/handle.d.ts +0 -74
  562. package/dist/types/core/decorators/subscriber/handle.d.ts.map +0 -1
  563. package/dist/types/core/decorators/subscriber/onAssign.d.ts +0 -53
  564. package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +0 -1
  565. package/dist/types/core/decorators/subscriber/publish.d.ts +0 -23
  566. package/dist/types/core/decorators/subscriber/publish.d.ts.map +0 -1
  567. package/dist/types/core/decorators/subscriber/publisherPath.d.ts +0 -3
  568. package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +0 -1
  569. package/dist/types/core/decorators/subscriber/subscribe.d.ts +0 -20
  570. package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +0 -1
  571. package/dist/types/core/directives/DataProvider.d.ts +0 -45
  572. package/dist/types/core/directives/DataProvider.d.ts.map +0 -1
  573. package/dist/types/core/directives/Wording.d.ts +0 -44
  574. package/dist/types/core/directives/Wording.d.ts.map +0 -1
  575. package/dist/types/core/mixins/Fetcher.d.ts +0 -108
  576. package/dist/types/core/mixins/Fetcher.d.ts.map +0 -1
  577. package/dist/types/core/mixins/FormCheckable.d.ts +0 -95
  578. package/dist/types/core/mixins/FormCheckable.d.ts.map +0 -1
  579. package/dist/types/core/mixins/FormElement.d.ts +0 -37
  580. package/dist/types/core/mixins/FormElement.d.ts.map +0 -1
  581. package/dist/types/core/mixins/FormInput.d.ts +0 -79
  582. package/dist/types/core/mixins/FormInput.d.ts.map +0 -1
  583. package/dist/types/core/mixins/Subscriber.d.ts +0 -38
  584. package/dist/types/core/mixins/Subscriber.d.ts.map +0 -1
  585. package/dist/types/core/mixins/TemplatesContainer.d.ts +0 -14
  586. package/dist/types/core/mixins/TemplatesContainer.d.ts.map +0 -1
  587. package/dist/types/core/mixins/mixins.d.ts +0 -7
  588. package/dist/types/core/mixins/mixins.d.ts.map +0 -1
  589. package/dist/types/core/utils/AncestorAttributeObserver.d.ts +0 -38
  590. package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +0 -1
  591. package/dist/types/core/utils/Arrays.d.ts +0 -98
  592. package/dist/types/core/utils/Arrays.d.ts.map +0 -1
  593. package/dist/types/core/utils/DataBindObserver.d.ts +0 -84
  594. package/dist/types/core/utils/DataBindObserver.d.ts.map +0 -1
  595. package/dist/types/core/utils/Electron.d.ts +0 -8
  596. package/dist/types/core/utils/Electron.d.ts.map +0 -1
  597. package/dist/types/core/utils/Format.d.ts +0 -13
  598. package/dist/types/core/utils/Format.d.ts.map +0 -1
  599. package/dist/types/core/utils/HTML.d.ts +0 -79
  600. package/dist/types/core/utils/HTML.d.ts.map +0 -1
  601. package/dist/types/core/utils/LocationHandler.d.ts +0 -48
  602. package/dist/types/core/utils/LocationHandler.d.ts.map +0 -1
  603. package/dist/types/core/utils/Objects.d.ts +0 -31
  604. package/dist/types/core/utils/Objects.d.ts.map +0 -1
  605. package/dist/types/core/utils/PublisherProxy.d.ts +0 -230
  606. package/dist/types/core/utils/PublisherProxy.d.ts.map +0 -1
  607. package/dist/types/core/utils/SafariScrollGuard.d.ts +0 -36
  608. package/dist/types/core/utils/SafariScrollGuard.d.ts.map +0 -1
  609. package/dist/types/core/utils/Utils.d.ts +0 -6
  610. package/dist/types/core/utils/Utils.d.ts.map +0 -1
  611. package/dist/types/core/utils/aesCrypto.d.ts +0 -53
  612. package/dist/types/core/utils/aesCrypto.d.ts.map +0 -1
  613. package/dist/types/core/utils/api.d.ts +0 -173
  614. package/dist/types/core/utils/api.d.ts.map +0 -1
  615. package/dist/types/core/utils/dataProviderKey.d.ts +0 -56
  616. package/dist/types/core/utils/dataProviderKey.d.ts.map +0 -1
  617. package/dist/types/core/utils/derive.d.ts +0 -40
  618. package/dist/types/core/utils/derive.d.ts.map +0 -1
  619. package/dist/types/core/utils/endpoint.d.ts +0 -37
  620. package/dist/types/core/utils/endpoint.d.ts.map +0 -1
  621. package/dist/types/core/utils/jsonataHelpers.d.ts +0 -15
  622. package/dist/types/core/utils/jsonataHelpers.d.ts.map +0 -1
  623. package/dist/types/core/utils/jsonataRuntime.d.ts +0 -13
  624. package/dist/types/core/utils/jsonataRuntime.d.ts.map +0 -1
  625. package/dist/types/core/utils/route.d.ts +0 -41
  626. package/dist/types/core/utils/route.d.ts.map +0 -1
  627. package/dist/types/core/utils/url-pattern.d.ts +0 -3
  628. package/dist/types/core/utils/url-pattern.d.ts.map +0 -1
  629. package/dist/types/dataprovider.d.ts +0 -2
  630. package/dist/types/dataprovider.d.ts.map +0 -1
  631. package/dist/types/decorators.d.ts +0 -30
  632. package/dist/types/decorators.d.ts.map +0 -1
  633. package/dist/types/directives.d.ts +0 -21
  634. package/dist/types/directives.d.ts.map +0 -1
  635. package/dist/types/index.d.ts +0 -8
  636. package/dist/types/index.d.ts.map +0 -1
  637. package/dist/types/mixins.d.ts +0 -204
  638. package/dist/types/mixins.d.ts.map +0 -1
  639. package/dist/types/test-utils/TestUtils.d.ts +0 -4
  640. package/dist/types/test-utils/TestUtils.d.ts.map +0 -1
  641. package/dist/types/utils.d.ts +0 -20
  642. package/dist/types/utils.d.ts.map +0 -1
  643. package/docs/assets/index-DpIkksht.js +0 -11626
@@ -1,128 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, LitElement, css } from "lit";
8
- import { styleMap } from "lit/directives/style-map.js";
9
- import { customElement, property, state, queryAssignedNodes, } from "lit/decorators.js";
10
- import { label, description, } from "@supersoniks/concorde/core/components/ui/form/css/form-control";
11
- import { fontSize } from "@supersoniks/concorde/core/components/ui/_css/size";
12
- import { unsafeHTML } from "lit/directives/unsafe-html.js";
13
- const tagName = "sonic-group";
14
- let Group = class Group extends LitElement {
15
- constructor() {
16
- super(...arguments);
17
- this.alignItems = "center";
18
- this.hasDescription = false;
19
- this.hasLabel = false;
20
- }
21
- updated() {
22
- const children = this.querySelectorAll("sonic-input, sonic-button, sonic-select");
23
- const nbChildren = children.length;
24
- if (nbChildren > 1) {
25
- children.forEach((item, index) => {
26
- const htmlElement = item;
27
- if (index === 0) {
28
- htmlElement.style.setProperty("--sc-item-rounded-tr", "0");
29
- htmlElement.style.setProperty("--sc-item-rounded-br", "0");
30
- }
31
- else if (index === nbChildren - 1) {
32
- htmlElement.style.setProperty("--sc-item-rounded-tl", "0");
33
- htmlElement.style.setProperty("--sc-item-rounded-bl", "0");
34
- }
35
- else {
36
- htmlElement.style.setProperty("--sc-item-rounded-tr", "0");
37
- htmlElement.style.setProperty("--sc-item-rounded-br", "0");
38
- htmlElement.style.setProperty("--sc-item-rounded-tl", "0");
39
- htmlElement.style.setProperty("--sc-item-rounded-bl", "0");
40
- }
41
- });
42
- }
43
- }
44
- connectedCallback() {
45
- super.connectedCallback();
46
- this.hasSlotOrProps();
47
- }
48
- willUpdate(changedProperties) {
49
- this.hasSlotOrProps();
50
- super.willUpdate(changedProperties);
51
- }
52
- hasSlotOrProps() {
53
- this.hasLabel = this.label || this.slotLabelNodes?.length ? true : false;
54
- this.hasDescription =
55
- this.description || this.slotDescriptionNodes?.length ? true : false;
56
- }
57
- render() {
58
- const slotStyle = {
59
- alignItems: this.alignItems,
60
- };
61
- return html `<span class="${this.hasLabel ? "form-label" : "hidden"}"
62
- >${this.label ? unsafeHTML(this.label /*+ labelStarSuffix*/) : ""}<slot
63
- name="label"
64
- @slotchange=${this.hasSlotOrProps}
65
- ></slot
66
- ></span>
67
- <slot class="main-slot" style=${styleMap(slotStyle)}></slot>
68
- <slot
69
- name="description"
70
- @slotchange=${this.hasSlotOrProps}
71
- class="${this.hasDescription ? "form-description" : "hidden"}"
72
- >
73
- ${this.description ? html `${unsafeHTML(this.description)}` : ""}
74
- </slot>`;
75
- }
76
- };
77
- Group.styles = [
78
- fontSize,
79
- label,
80
- description,
81
- css `
82
- :host {
83
- display: inline-block;
84
- vertical-align: middle;
85
- }
86
-
87
- .main-slot {
88
- width: 100%;
89
- display: flex;
90
- min-width: 0;
91
- }
92
- .hidden {
93
- display: none;
94
- }
95
-
96
- ::slotted(sonic-button),
97
- ::slotted(sonic-input),
98
- ::slotted(sonic-select) {
99
- flex-grow: 1;
100
- }
101
- `,
102
- ];
103
- __decorate([
104
- property({ type: String })
105
- ], Group.prototype, "alignItems", void 0);
106
- __decorate([
107
- property({ type: String })
108
- ], Group.prototype, "label", void 0);
109
- __decorate([
110
- property({ type: String })
111
- ], Group.prototype, "description", void 0);
112
- __decorate([
113
- queryAssignedNodes({ slot: "label", flatten: true })
114
- ], Group.prototype, "slotLabelNodes", void 0);
115
- __decorate([
116
- queryAssignedNodes({ slot: "description", flatten: true })
117
- ], Group.prototype, "slotDescriptionNodes", void 0);
118
- __decorate([
119
- state()
120
- ], Group.prototype, "hasDescription", void 0);
121
- __decorate([
122
- state()
123
- ], Group.prototype, "hasLabel", void 0);
124
- Group = __decorate([
125
- customElement(tagName)
126
- ], Group);
127
- export { Group };
128
- //# sourceMappingURL=group.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../../../../../../src/core/components/ui/group/group.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAkB,MAAM,KAAK,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,KAAK,EACL,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,GACZ,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,MAAM,OAAO,GAAG,aAAa,CAAC;AAGvB,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,UAAU;IAA9B;;QACuB,eAAU,GAAG,QAAQ,CAAC;QASzC,mBAAc,GAAG,KAAK,CAAC;QACvB,aAAQ,GAAG,KAAK,CAAC;IA0F5B,CAA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C,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oCAAgB;AACf;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAAsB;AAEjD;IADC,kBAAkB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACxB;AAG7B;IADC,kBAAkB,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDACxB;AAE1B;IAAR,KAAK,EAAE;6CAAwB;AACvB;IAAR,KAAK,EAAE;uCAAkB;AAXf,KAAK;IADjB,aAAa,CAAC,OAAO,CAAC;GACV,KAAK,CAqGjB"}
@@ -1,145 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import Icons from "@supersoniks/concorde/core/components/ui/icon/icons";
8
- import { ancestorAttribute } from "@supersoniks/concorde/core/decorators/Subscriber";
9
- import { css, LitElement, nothing, } from "lit";
10
- import { customElement, property as propertyDecorator, state, } from "lit/decorators.js";
11
- const property = (options) => {
12
- const result = propertyDecorator(options);
13
- return result;
14
- };
15
- const tagName = "sonic-icon";
16
- /**
17
- * Afficher l'icone choisie parmis une liste prédéfinie dans icons.json
18
- * les tailles suivantes sont disponible via l'attribut *size* : 2xs,xs,sm,"",lg,xl,2xl
19
- */
20
- let Icon = class Icon extends LitElement {
21
- constructor() {
22
- super(...arguments);
23
- this.iconText = "";
24
- /**
25
- * Nom identifiant l'icone ex : *info*
26
- */
27
- this.name = "";
28
- /**
29
- * prefix de l'icone si nécessaire ex: *solid*. La valeur par défaut est "" qui est mappée sur *regular*
30
- */
31
- this.prefix = "";
32
- /**
33
- * library de l'icone url vers un dossier en lign conenant des icônes
34
- */
35
- this.library = "";
36
- this.customIconLibraryPath = null;
37
- this.customIconDefaultPrefix = null;
38
- }
39
- async updateIcon() {
40
- this.iconText = await Icons.default.get({
41
- name: this.name,
42
- prefix: this.prefix,
43
- library: this.library,
44
- customLibraryPath: this.customIconLibraryPath,
45
- customLibraryDefaultPrefix: this.customIconDefaultPrefix,
46
- });
47
- }
48
- connectedCallback() {
49
- this.setAttribute("aria-hidden", "true");
50
- super.connectedCallback();
51
- }
52
- willUpdate(changedProperties) {
53
- if (changedProperties.has("name") ||
54
- changedProperties.has("prefix") ||
55
- changedProperties.has("library") ||
56
- (this.library === "custom" &&
57
- (changedProperties.has("customIconLibraryPath") ||
58
- changedProperties.has("customIconDefaultPrefix")))) {
59
- this.updateIcon();
60
- }
61
- super.willUpdate(changedProperties);
62
- }
63
- render() {
64
- if (!this.iconText) {
65
- return nothing;
66
- }
67
- return this.iconText;
68
- }
69
- };
70
- Icon.styles = css `
71
- :host {
72
- line-height: 0.1em;
73
- width: fit-content;
74
- height: fit-content;
75
- vertical-align: -0.125em;
76
- flex-shrink: 0;
77
- }
78
-
79
- svg {
80
- height: var(--_sc-icon-size, 1em);
81
- width: calc(var(--_sc-icon-size, 1em) * 1.4);
82
- overflow: visible;
83
- }
84
-
85
- svg:not([fill="none"]) {
86
- fill: currentColor;
87
- }
88
-
89
- svg[fill="none"] {
90
- stroke-width: 2;
91
- }
92
-
93
- :host([size="2xs"]) svg {
94
- --_sc-icon-size: 0.625em;
95
- }
96
-
97
- :host([size="xs"]) svg {
98
- --_sc-icon-size: 0.75em;
99
- }
100
-
101
- :host([size="sm"]) svg {
102
- --_sc-icon-size: 0.875em;
103
- }
104
-
105
- :host([size="lg"]) svg {
106
- --_sc-icon-size: 1.25em;
107
- }
108
-
109
- :host([size="xl"]) svg {
110
- --_sc-icon-size: 1.5em;
111
- }
112
-
113
- :host([size="2xl"]) svg {
114
- --_sc-icon-size: 2em;
115
- }
116
-
117
- :host([size="3xl"]) svg {
118
- --_sc-icon-size: 2.8em;
119
- }
120
- `;
121
- __decorate([
122
- state()
123
- ], Icon.prototype, "iconText", void 0);
124
- __decorate([
125
- property({ type: String })
126
- ], Icon.prototype, "name", void 0);
127
- __decorate([
128
- property({ type: String })
129
- ], Icon.prototype, "prefix", void 0);
130
- __decorate([
131
- property({ type: String })
132
- ], Icon.prototype, "library", void 0);
133
- __decorate([
134
- ancestorAttribute("customIconLibraryPath", { dynamic: true }),
135
- state()
136
- ], Icon.prototype, "customIconLibraryPath", void 0);
137
- __decorate([
138
- ancestorAttribute("customIconDefaultPrefix", { dynamic: true }),
139
- state()
140
- ], Icon.prototype, "customIconDefaultPrefix", void 0);
141
- Icon = __decorate([
142
- customElement(tagName)
143
- ], Icon);
144
- export { Icon };
145
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../../../src/core/components/ui/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,KAAK,MAAM,qDAAqD,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EACL,GAAG,EACH,UAAU,EACV,OAAO,GAGR,MAAM,KAAK,CAAC;AACb,OAAO,EACL,aAAa,EACb,QAAQ,IAAI,iBAAiB,EAC7B,KAAK,GACN,MAAM,mBAAmB,CAAC;AAI3B,MAAM,QAAQ,GAAG,CAAC,OAA6B,EAAqB,EAAE;IACpE,MAAM,MAAM,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAC1C,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,OAAO,GAAG,YAAY,CAAC;AAC7B;;;GAGG;AAEI,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,UAAU;IAA7B;;QA8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;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;;AA7GM,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDlB,AAlDY,CAkDX;AAWO;IAAR,KAAK,EAAE;sCAAqE;AAKjD;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kCAAW;AAKV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oCAAa;AAKZ;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCAAc;AAIzC;IAFC,iBAAiB,CAAC,uBAAuB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC7D,KAAK,EAAE;mDACoC;AAI5C;IAFC,iBAAiB,CAAC,yBAAyB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC/D,KAAK,EAAE;qDACsC;AArFnC,IAAI;IADhB,aAAa,CAAC,OAAO,CAAC;GACV,IAAI,CA+GhB"}
@@ -1,184 +0,0 @@
1
- var _a;
2
- // ici on désactive un regle de eslint exceptionnelement pour ce fichier
3
- /* eslint no-async-promise-executor: 0 */ // --> OFF
4
- import icons from "@supersoniks/concorde/core/components/ui/icon/icons.json";
5
- import { unsafeHTML } from "lit/directives/unsafe-html.js";
6
- import { log } from "@supersoniks/concorde/core/utils/api";
7
- /**
8
- * Ce tableau static permet de ne pas appeler plusieurs fois le même service lors d'appel concurrents en GET.
9
- */
10
- const loadingGetPromises = new Map();
11
- /**
12
- * Les librairies en ligne.
13
- * Pour chaque identifiant de librairie a une template d'url de chargement
14
- * Les propriétés name et prefix de sonic-icon servent à remplir le template.
15
- * la propriété library de sonic-icon correspond à une clef de librairies.
16
- */
17
- const libraries = {
18
- heroicons: {
19
- url: "https://cdn.jsdelivr.net/npm/heroicons@2.0.4/24/$prefix/$name.svg",
20
- defaultPrefix: "outline",
21
- },
22
- iconoir: {
23
- url: "https://cdnjs.cloudflare.com/ajax/libs/iconoir/5.1.4/icons/$name.svg",
24
- },
25
- feathers: {
26
- url: "https://cdn.jsdelivr.net/npm/feather-icons@4.29.0/dist/icons/$name.svg",
27
- },
28
- lucide: {
29
- url: "https://cdn.jsdelivr.net/npm/lucide-static@0.16.29/icons/$name.svg",
30
- },
31
- material: {
32
- url: "https://cdn.jsdelivr.net/npm/@material-icons/svg@1.0.5/svg/$name/$prefix.svg",
33
- defaultPrefix: "regular",
34
- },
35
- fontAwesome: {
36
- url: "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.1/svgs/$prefix/$name.svg",
37
- defaultPrefix: "regular",
38
- },
39
- custom: { url: "", defaultPrefix: "" },
40
- };
41
- function resolveCustomLibraryConfig(params) {
42
- let url = params.customLibraryPath;
43
- let defaultPrefix = params.customLibraryDefaultPrefix;
44
- // Attribut optionnel : peut être défini sur un ancêtre (scope / theme) ou,
45
- // en secours, n'importe où dans le document (ex. config globale au boot).
46
- if (url == null) {
47
- const globalEl = document.querySelector("[customIconLibraryPath]");
48
- url = globalEl?.getAttribute("customIconLibraryPath") ?? "";
49
- if (defaultPrefix == null) {
50
- defaultPrefix =
51
- globalEl?.getAttribute("customIconDefaultPrefix") ??
52
- document
53
- .querySelector("[customIconDefaultPrefix]")
54
- ?.getAttribute("customIconDefaultPrefix") ??
55
- "";
56
- }
57
- }
58
- return {
59
- url: url || "",
60
- defaultPrefix: defaultPrefix || "",
61
- };
62
- }
63
- function resolveLibraryItem(library, params) {
64
- if (!(library in libraries))
65
- return null;
66
- if (library !== "custom") {
67
- return libraries[library];
68
- }
69
- return resolveCustomLibraryConfig(params);
70
- }
71
- const iconCachStr = sessionStorage.getItem("sonicIconsCache");
72
- const iconCache = iconCachStr
73
- ? JSON.parse(iconCachStr)
74
- : { icons: {}, names: [] };
75
- const iconCacheMaxSize = 100;
76
- class Icons {
77
- }
78
- _a = Icons;
79
- Icons.default = {
80
- get: async (params) => {
81
- const library = params.library;
82
- if (!params.name)
83
- return "";
84
- const name = params.name;
85
- const iconsAsRecord = icons;
86
- /**
87
- * SVGS en ligne
88
- */
89
- if (!library) {
90
- return unsafeHTML(iconsAsRecord["core"][params.name] || "");
91
- }
92
- const libraryItem = resolveLibraryItem(library, params);
93
- if (libraryItem) {
94
- // Pas d'URL encore (ancêtre ou config globale pas prête) : on attend
95
- // sans fetch ni cache ; @ancestorAttribute relancera le chargement.
96
- if (library === "custom" && !libraryItem.url) {
97
- return "";
98
- }
99
- const prefix = params.prefix || libraryItem.defaultPrefix || "";
100
- const libIcons = iconsAsRecord[library] || {};
101
- iconsAsRecord[library] = libIcons;
102
- const libIconsKey = library === "custom"
103
- ? `${libraryItem.url}|${prefix}-${name}`
104
- : `${prefix}-${name}`;
105
- /**
106
- * Si l'icone a déjà été chargée on ne la recharge pas
107
- */
108
- if (libIcons[libIconsKey])
109
- return unsafeHTML(libIcons[libIconsKey]);
110
- const url = (libraryItem.url || "")
111
- .replace("$prefix", prefix)
112
- .replace("$name", name);
113
- /**
114
- * MiniCache de session
115
- */
116
- if (iconCache.icons[url]) {
117
- const cached = iconCache.icons[url];
118
- const isSvgCached = /^\s*<svg[\s>]/i.test(cached || "");
119
- if (isSvgCached) {
120
- libIcons[libIconsKey] = cached;
121
- return unsafeHTML(cached);
122
- }
123
- delete iconCache.icons[url];
124
- }
125
- /**
126
- * on utilise une promise mutualisée pour ne pas faire plusieurs appels concurents d'une même icone
127
- */
128
- if (!loadingGetPromises.has(url)) {
129
- const promise = new Promise(async (resolve) => {
130
- try {
131
- const result = await fetch(url);
132
- if (!result.ok) {
133
- resolve("");
134
- return;
135
- }
136
- try {
137
- // Vérifie le type de contenu pour éviter un fallback HTML (ex: service worker)
138
- const contentType = result.headers.get("content-type") || "";
139
- if (!contentType.includes("image/svg+xml") &&
140
- !contentType.includes("svg")) {
141
- resolve("");
142
- return;
143
- }
144
- const text = await result.text();
145
- // Vérifie que le contenu commence bien par une balise <svg ...>
146
- const isSvg = /^\s*<svg[\s>]/i.test(text);
147
- resolve(isSvg ? text : "");
148
- }
149
- catch (e) {
150
- resolve("");
151
- }
152
- }
153
- catch (error) {
154
- log("concorde icon loading error", params);
155
- resolve("");
156
- }
157
- });
158
- loadingGetPromises.set(url, promise);
159
- }
160
- /**
161
- * Chargement de l'icone.
162
- */
163
- const result = await loadingGetPromises.get(url);
164
- loadingGetPromises.delete(url);
165
- libIcons[libIconsKey] = result || "";
166
- if (result && /^\s*<svg[\s>]/i.test(result)) {
167
- iconCache.icons[url] = result;
168
- iconCache.names.push(url);
169
- }
170
- if (iconCache.names.length > iconCacheMaxSize) {
171
- const key = iconCache.names.shift();
172
- delete iconCache.icons[key];
173
- }
174
- sessionStorage.setItem("sonicIconsCache", JSON.stringify(iconCache));
175
- return result ? unsafeHTML(result) : "";
176
- }
177
- /**
178
- * svgs "locaux"
179
- */
180
- return unsafeHTML(iconsAsRecord["core"][params.name] || "");
181
- },
182
- };
183
- export default Icons;
184
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../../../src/core/components/ui/icon/icons.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,yCAAyC,CAAC,UAAU;AACpD,OAAO,KAAK,MAAM,0DAA0D,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAE3D;;GAEG;AACH,MAAM,kBAAkB,GAAiC,IAAI,GAAG,EAAE,CAAC;AAEnE;;;;;GAKG;AAEH,MAAM,SAAS,GAAG;IAChB,SAAS,EAAE;QACT,GAAG,EAAE,mEAAmE;QACxE,aAAa,EAAE,SAAS;KACzB;IACD,OAAO,EAAE;QACP,GAAG,EAAE,sEAAsE;KAC5E;IACD,QAAQ,EAAE;QACR,GAAG,EAAE,wEAAwE;KAC9E;IACD,MAAM,EAAE;QACN,GAAG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,GAAG,gBAAgB,EAAE,CAAC;gBAC9C,MAAM,GAAG,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACpC,OAAO,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC9B,CAAC;YACD,cAAc,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;YACrE,OAAO,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1C,CAAC;QACD;;WAEG;QAEH,OAAO,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF,AA1Ga,CA0GZ;eA3GiB,KAAK"}
@@ -1 +0,0 @@
1
- { "core": { "cancel": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "check-circled-outline": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7 12.5L10 15.5L17 8.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "check": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M5 13L9 17L19 7\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "emoji-puzzled": "<svg width=\"24px\" height=\"24px\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" ><path d=\"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.5 15.5s1.5-2 4.5-2 4.5 2 4.5 2M3 4c0-2.754 4-2.754 4 0 0 1.967-2 1.64-2 4M5 11.01l.01-.011\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.5 9a.5.5 0 110-1 .5.5 0 010 1zM10.5 9a.5.5 0 110-1 .5.5 0 010 1z\" fill=\"#000\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>", "info-empty": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 11.5V16.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 7.51L12.01 7.49889\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "loader": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-loader\"><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"6\"></line><line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"22\"></line><line x1=\"4.93\" y1=\"4.93\" x2=\"7.76\" y2=\"7.76\"></line><line x1=\"16.24\" y1=\"16.24\" x2=\"19.07\" y2=\"19.07\"></line><line x1=\"2\" y1=\"12\" x2=\"6\" y2=\"12\"></line><line x1=\"18\" y1=\"12\" x2=\"22\" y2=\"12\"></line><line x1=\"4.93\" y1=\"19.07\" x2=\"7.76\" y2=\"16.24\"></line><line x1=\"16.24\" y1=\"7.76\" x2=\"19.07\" y2=\"4.93\"></line></svg>", "minus-small": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-6 h-6\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M18 12H6\" />\n</svg>\n", "more-horiz": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M18 12.5C18.2761 12.5 18.5 12.2761 18.5 12C18.5 11.7239 18.2761 11.5 18 11.5C17.7239 11.5 17.5 11.7239 17.5 12C17.5 12.2761 17.7239 12.5 18 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 12.5C12.2761 12.5 12.5 12.2761 12.5 12C12.5 11.7239 12.2761 11.5 12 11.5C11.7239 11.5 11.5 11.7239 11.5 12C11.5 12.2761 11.7239 12.5 12 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M6 12.5C6.27614 12.5 6.5 12.2761 6.5 12C6.5 11.7239 6.27614 11.5 6 11.5C5.72386 11.5 5.5 11.7239 5.5 12C5.5 12.2761 5.72386 12.5 6 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "more-vert": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 12.5C12.2761 12.5 12.5 12.2761 12.5 12C12.5 11.7239 12.2761 11.5 12 11.5C11.7239 11.5 11.5 11.7239 11.5 12C11.5 12.2761 11.7239 12.5 12 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 18.5C12.2761 18.5 12.5 18.2761 12.5 18C12.5 17.7239 12.2761 17.5 12 17.5C11.7239 17.5 11.5 17.7239 11.5 18C11.5 18.2761 11.7239 18.5 12 18.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 6.5C12.2761 6.5 12.5 6.27614 12.5 6C12.5 5.72386 12.2761 5.5 12 5.5C11.7239 5.5 11.5 5.72386 11.5 6C11.5 6.27614 11.7239 6.5 12 6.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "nav-arrow-down": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6 9L12 15L18 9\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", "warning-circled-outline": "<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 7L12 13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 17.01L12.01 16.9989\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n" } }
@@ -1,160 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { html, LitElement, css } from "lit";
8
- import { customElement, property } from "lit/decorators.js";
9
- import { styleMap } from "lit/directives/style-map.js";
10
- const tagName = "sonic-image";
11
- let Image = class Image extends LitElement {
12
- constructor() {
13
- super(...arguments);
14
- this.rounded = "none";
15
- this.src = "";
16
- this.alt = "";
17
- this.loading = "lazy";
18
- this.ratio = "auto";
19
- this.objectPosition = "center center";
20
- this.imageRendering = "auto";
21
- this.cover = false;
22
- }
23
- firstUpdated(changedProperties) {
24
- if (this.transition) {
25
- const img = this.shadowRoot?.querySelector("img");
26
- if (!img)
27
- return;
28
- img.onload = function () {
29
- img.classList.add("loaded");
30
- };
31
- }
32
- super.firstUpdated(changedProperties);
33
- }
34
- render() {
35
- const imgStyles = {
36
- aspectRatio: this.cover ? "auto" : this.ratio,
37
- imageRendering: this.imageRendering,
38
- objectPosition: this.objectPosition,
39
- };
40
- return html `<div part="image">
41
- <picture part="picture"
42
- ><img
43
- part="img"
44
- src="${this.src}"
45
- loading="${this.loading}"
46
- alt="${this.alt}"
47
- style=${styleMap(imgStyles)}
48
- /></picture>
49
- </div>`;
50
- }
51
- };
52
- Image.styles = [
53
- css `
54
- :host {
55
- --sc-img-radius: 0;
56
- --sc-img-bg: var(--sc-placeholder-bg, rgba(12, 12, 12, 0.05));
57
- border-radius: var(--sc-img-radius);
58
- display: block;
59
- width: 100%;
60
- background: var(--sc-img-bg);
61
- }
62
-
63
- img {
64
- width: 100%;
65
- vertical-align: middle;
66
- object-fit: cover;
67
- }
68
-
69
- img[src=""] {
70
- visibility: hidden;
71
- }
72
-
73
- /*Rounded*/
74
- :host([rounded]) {
75
- --sc-img-radius: var(--sc-rounded);
76
- overflow: hidden;
77
- }
78
- :host([rounded="sm"]) {
79
- --sc-img-radius: var(--sc-rounded-sm);
80
- }
81
-
82
- :host([rounded="md"]) {
83
- --sc-img-radius: var(--sc-rounded-md);
84
- }
85
-
86
- :host([rounded="lg"]) {
87
- --sc-img-radius: var(--sc-rounded-lg);
88
- }
89
- :host([rounded="xl"]) {
90
- --sc-img-radius: var(--sc-rounded-xl);
91
- }
92
-
93
- /*Cercle*/
94
- :host([rounded="full"]) {
95
- --sc-img-radius: 50% !important;
96
- }
97
- :host([rounded="none"]) {
98
- --sc-img-radius: 0 !important;
99
- }
100
-
101
- :host([cover]),
102
- :host([cover]) > div,
103
- :host([cover]) img {
104
- position: absolute !important;
105
- left: 0 !important;
106
- top: 0 !important;
107
- right: 0 !important;
108
- bottom: 0 !important;
109
- height: 100% !important;
110
- width: 100% !important;
111
- }
112
-
113
- :host([transition]) img {
114
- opacity: 0;
115
- transition: 0.25s;
116
- }
117
-
118
- :host([transition="fade-scale-out"]) img {
119
- scale: 1.08;
120
- transition: opacity 0.3s linear,
121
- scale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
122
- }
123
- :host([transition]) img.loaded {
124
- opacity: 1;
125
- scale: 1;
126
- }
127
- `,
128
- ];
129
- __decorate([
130
- property({ type: String })
131
- ], Image.prototype, "rounded", void 0);
132
- __decorate([
133
- property({ type: String })
134
- ], Image.prototype, "src", void 0);
135
- __decorate([
136
- property({ type: String })
137
- ], Image.prototype, "alt", void 0);
138
- __decorate([
139
- property({ type: String })
140
- ], Image.prototype, "loading", void 0);
141
- __decorate([
142
- property({ type: String, reflect: true })
143
- ], Image.prototype, "transition", void 0);
144
- __decorate([
145
- property({ type: String })
146
- ], Image.prototype, "ratio", void 0);
147
- __decorate([
148
- property({ type: String })
149
- ], Image.prototype, "objectPosition", void 0);
150
- __decorate([
151
- property({ type: String })
152
- ], Image.prototype, "imageRendering", void 0);
153
- __decorate([
154
- property({ type: Boolean, reflect: true })
155
- ], Image.prototype, "cover", void 0);
156
- Image = __decorate([
157
- customElement(tagName)
158
- ], Image);
159
- export { Image };
160
- //# sourceMappingURL=image.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../../../../../../src/core/components/ui/image/image.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,MAAM,OAAO,GAAG,aAAa,CAAC;AAEvB,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,UAAU;IAA9B;;QA+EuB,YAAO,GAMxB,MAAM,CAAC;QACU,QAAG,GAAG,EAAE,CAAC;QACT,QAAG,GAAG,EAAE,CAAC;QACT,YAAO,GAAqB,MAAM,CAAC;QAInC,UAAK,GAAG,MAAM,CAAC;QACf,mBAAc,GAAG,eAAe,CAAC;QACjC,mBAAc,GAAG,MAAM,CAAC;QACR,UAAK,GAAG,KAAK,CAAC;IAgC5D,CAAC;IA9BC,YAAY,CACV,iBAAyD;QAEzD,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;YAClD,IAAI,CAAC,GAAG;gBAAE,OAAO;YACjB,GAAG,CAAC,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