@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,230 +0,0 @@
1
- /**
2
- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3
- * Merci de laisser ce fichier sans la moindre dépendance en dehors de types du ceur.
4
- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5
- * **/
6
- import type { PublisherInterface, CoreJSType, PublisherContentType } from "../_types/types";
7
- import type { DataProviderKey } from "./dataProviderKey";
8
- export type Observable = string;
9
- type DynamicFillingListener = any;
10
- type TemplateFillingListener = {
11
- propertyMap: Record<string, string>;
12
- } & DynamicFillingListener;
13
- type PublisherProxyOptions = {
14
- localStorageMode?: string;
15
- expirationDelayMs?: number;
16
- invalidateOnPageShow?: boolean;
17
- };
18
- /** Options de `dp()` / `dataProvider()` — même surface que `PublisherManager.get()`. */
19
- export type DpOptions = PublisherProxyOptions;
20
- export declare const prefix: string;
21
- /**
22
- * Custom Proxy contient les méthodes des publishers retournés par PublisherManager.get(publisherId) qui seront utilisées couramment
23
- */
24
- export declare class PublisherProxy<T = any> {
25
- static instances: Map<number, PublisherProxy<any>>;
26
- static instancesCounter: number;
27
- _proxies_: Map<string, PublisherProxy>;
28
- _value_: T;
29
- _is_savable_: boolean;
30
- _expiration_delay_: number;
31
- _invalidate_on_page_show_: boolean;
32
- _invalidateListeners_: Set<VoidFunction>;
33
- _formInvalidateListeners_: Set<VoidFunction>;
34
- _assignListeners_: Set<(value: T) => void>;
35
- _mutationListeners_: Set<VoidFunction>;
36
- _fillListeners_: Set<Record<string, CoreJSType>>;
37
- _templateFillListeners_: Set<any>;
38
- _lockInternalMutationPublishing_: boolean;
39
- _instanceCounter_: number;
40
- parent: PublisherProxy | null;
41
- _parentKey_?: string;
42
- root: PublisherProxy;
43
- constructor(target: T, parentProxPub: PublisherProxy | null, parentKey?: string);
44
- /**
45
- * Supprime le proxy et ses sous proxy
46
- * Supprime les écouteurs associés
47
- */
48
- delete(): void;
49
- /**
50
- * Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
51
- */
52
- hasListener(): boolean;
53
- _assignmentId_: number;
54
- _publishInternalMutation_(lockInternalMutationsTransmission?: boolean): void;
55
- _publishAssignement_(lockInternalMutationsTransmission?: boolean): Promise<void>;
56
- _publishInvalidation_(): void;
57
- _publishFormInvalidation_(): void;
58
- _publishDynamicFilling_(key: string, value: CoreJSType): void;
59
- _publishTemplateFilling_(key: string, value: CoreJSType): void;
60
- /**
61
- * Appel la fonction "handler" (passée en paramettre) lorsque la valeur gérée par le proxy change par assignation
62
- * hanlder reçois alors la nouvelle valeur interne du proxy en paramètre
63
- */
64
- onAssign(handler: (value: T) => void, directHandlerCall?: boolean): void;
65
- /**
66
- * Stop les appels de la fonction "handler" (passée en paramettre) lorsque la valeur gérée par le proxy change par assignation
67
- */
68
- offAssign(handler: (value: T) => void): void;
69
- /**
70
- * Appel la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
71
- */
72
- onInvalidate(handler: VoidFunction | undefined): void;
73
- /**
74
- * Stop les appels de la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
75
- */
76
- offInvalidate(handler: VoidFunction | undefined): void;
77
- /**
78
- * Flag les données comme étant invalides
79
- */
80
- invalidate(): void;
81
- /**
82
- * Appel la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
83
- */
84
- onFormInvalidate(handler: VoidFunction | undefined): void;
85
- /**
86
- * Stop les appels de la fonction "handler" (passée en paramettre) lorsque la donnée est flaggée comme invalide
87
- */
88
- offFormInvalidate(handler: VoidFunction | undefined): void;
89
- invalidateForm(): void;
90
- /**
91
- * Appel la fonction "handler" (passée en paramettre) lorsque quelque chose change la valeur gérée par le proxy quelque soit la profondeur de la donnée
92
- *
93
- */
94
- onInternalMutation(handler: VoidFunction | undefined): void;
95
- /**
96
- * Stop les Appels de la fonction "handler" (passée en paramettre) lorsque quelque chose change la valeur gérée par le proxy quelque soit la profondeur de la donnée
97
- */
98
- offInternalMutation(handler: VoidFunction | undefined): void;
99
- /**
100
- * Maintient le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
101
- * Remplit uniquement les valeurs déjà présentes dans l'objet / tableau passé en paramètre
102
- */
103
- startTemplateFilling(handler: TemplateFillingListener): void;
104
- /**
105
- * Arrête de maintenir le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
106
- */
107
- stopTemplateFilling(handler: TemplateFillingListener): void;
108
- /**
109
- * Maintient le remplissage de l'objet / tableau "handler" passé en paramètre avec les valeurs du proxy
110
- * Remplit toute valeur qu'elle soit présente ou pas initialement dans l'objet
111
- */
112
- startDynamicFilling(handler: DynamicFillingListener): void;
113
- stopDynamicFilling(handler: DynamicFillingListener): void;
114
- /**
115
- * Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
116
- */
117
- set(newValue: T, lockInternalMutationsTransmission?: boolean): boolean;
118
- /**
119
- * Extraire la valeur actuelle du proxy
120
- */
121
- _cachedGet_?: T;
122
- get(): T;
123
- /**
124
- * retourner le webcomponent auquel le proxy est associé
125
- */
126
- get $tag(): string;
127
- }
128
- export declare function collectModifiedPublisher(): void;
129
- export declare function getModifiedPublishers(): Set<any>;
130
- export declare class PublisherManager {
131
- static buildDate: string;
132
- static changed: boolean;
133
- static saving: boolean;
134
- static saveId: number;
135
- static instance: PublisherManager | null;
136
- static instances: Map<string, PublisherManager>;
137
- enabledLocaStorageProxies: string[];
138
- publishers: Map<string, any>;
139
- localStorageData: Record<string, {
140
- lastModifiationMS: number;
141
- data: PublisherContentType;
142
- expirationDelayMs?: number;
143
- }>;
144
- isLocalStrorageReady: Promise<boolean> | null;
145
- constructor();
146
- private static pageShowHandlerInitialized;
147
- private static initPageShowHandler;
148
- private invalidateAll;
149
- cleanStorageData(): Promise<unknown>;
150
- /**
151
- * PublisherManager est un singleton
152
- */
153
- static getInstance(id?: string): PublisherManager;
154
- /**
155
- * shortcut static pour obtenir un publisher vias sont id/adresse sans taper getInstance.
156
- * Si le publisher n'existe pas, il est créé.
157
- */
158
- static get(id: string, options?: {
159
- localStorageMode?: string;
160
- expirationDelayMs?: number;
161
- }): DataProvider<any>;
162
- /**
163
- * Obtenir un publisher vias sont id/adresse
164
- * Si le publisher n'existe pas, il est créé.
165
- */
166
- setLocalData(publisher: PublisherInterface, id: string): Promise<void>;
167
- initialisedData: string[];
168
- get<T = any>(id: string, options?: PublisherProxyOptions): DataProvider<T>;
169
- /**
170
- * Remplace un publisher pour l'id fourni par un autre.
171
- * L'autre publisher n'est pas supprimé.
172
- */
173
- set<T = any>(id: string, publisher: DataProvider<T>): void;
174
- /**
175
- * @warning
176
- * !!!!! ATTENTION !!!!!
177
- * Il est fort à aprier que vous ne voulez pas utiliser cette methode
178
- * Il s'agit d'une supression complete
179
- * * du publisher de la liste
180
- * * des bindings
181
- * * de même que ses sous publishers
182
- *
183
- * UTILISEZ PLUTÔT la méthode publisher.set({}) pour réinitialiser un publisher sans perdre les ecouteurs
184
- */
185
- delete(id: string): boolean;
186
- saveToLocalStorage(saveId?: number): Promise<void>;
187
- compress(string: string, encoding: string): Promise<string>;
188
- decompress(str: string, encoding: string): Promise<string>;
189
- }
190
- /**
191
- * Le Proxy Javascript
192
- */
193
- type WithoutUnderscoreKeys<T> = {
194
- [K in keyof T as K extends `_${string}_` ? never : K]: T[K];
195
- };
196
- export type DataProvider<T = any> = WithoutUnderscoreKeys<PublisherProxy<T>> & {
197
- [K in keyof T]: DataProvider<T[K]>;
198
- };
199
- export declare function createPublisher<T = any>(target: T, parentProxPub?: PublisherProxy<T> | null, parentKey?: string): WithoutUnderscoreKeys<PublisherProxy<T>> & { [K in keyof T]: DataProvider<T[K]>; } & T;
200
- /**
201
- * @deprecated @see {@link DataProvider} instead
202
- */
203
- export default DataProvider;
204
- export type Publisher<T = any> = DataProvider<T>;
205
- export declare const getObservables: <T = any>(observable: string, options?: DpOptions) => Set<DataProvider<T>>;
206
- export declare function get<T>(id: DataProviderKey<T>): T;
207
- export declare function get<T = any>(id: string): T;
208
- export declare function dataProvider<T>(id: DataProviderKey<T>, options: DpOptions): DataProvider<T>;
209
- export declare function dataProvider<T = any>(id: string, options: DpOptions): DataProvider<T>;
210
- export declare function dataProvider<T>(id: DataProviderKey<T>): DataProvider<T>;
211
- export declare function dataProvider<T = any>(id: string): DataProvider<T>;
212
- export declare function dataProvider<T>(id: DataProviderKey<T>, defaultValue: T): DataProvider<T>;
213
- export declare function dataProvider<T = any>(id: string, defaultValue: T): DataProvider<T>;
214
- export declare function dp<T>(id: DataProviderKey<T>, options: DpOptions): DataProvider<T>;
215
- export declare function dp<T = any>(id: string, options: DpOptions): DataProvider<T>;
216
- export declare function dp<T>(id: DataProviderKey<T>): DataProvider<T>;
217
- export declare function dp<T = any>(id: string): DataProvider<T>;
218
- export declare function dp<T>(id: DataProviderKey<T>, defaultValue: T): DataProvider<T>;
219
- export declare function dp<T = any>(id: string, defaultValue: T): DataProvider<T>;
220
- /**
221
- * Alias sémantique pour `PublisherManager.set` : enregistre `aliasKey` sur la même
222
- * instance publisher que `source`. Utile pour exposer une clé legacy (`scan`) tout en
223
- * stockant l'état sous une racine (`app.scan`) — `dp("scan")` et `appState.scan` partagent
224
- * alors la même instance, sans copie à chaque assignation.
225
- */
226
- export declare function mirrorDp<T>(aliasKey: string | DataProviderKey<any>, source: DataProvider<T>): void;
227
- export declare function mirrorDp(aliasKey: string | DataProviderKey<any>, source: string | DataProviderKey<any>): void;
228
- export declare function set<T>(id: DataProviderKey<T>, value: T): void;
229
- export declare function set<T = any>(id: string, value: T): void;
230
- //# sourceMappingURL=PublisherProxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PublisherProxy.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/PublisherProxy.ts"],"names":[],"mappings":"AACA;;;;MAIM;AACN,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMzD,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,KAAK,sBAAsB,GAAG,GAAG,CAAC;AAClC,KAAK,uBAAuB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC,GAAG,sBAAsB,CAAC;AAE3B,KAAK,qBAAqB,GAAG;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,wFAAwF;AACxF,MAAM,MAAM,SAAS,GAAG,qBAAqB,CAAC;AAoC9C,eAAO,MAAM,MAAM,QAAe,CAAC;AAOnC;;GAEG;AACH,qBAAa,cAAc,CAAC,CAAC,GAAG,GAAG;IACjC,MAAM,CAAC,SAAS,mCAAqC;IACrD,MAAM,CAAC,gBAAgB,SAAK;IAC5B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAa;IACnD,OAAO,EAAE,CAAC,CAAC;IACX,YAAY,UAAS;IACrB,kBAAkB,SAAuB;IACzC,yBAAyB,UAAS;IAClC,qBAA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AAe,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;AAC/D,wBAAgB,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC"}
@@ -1,36 +0,0 @@
1
- /**
2
- * Garde Safari / WebKit : empêche les resets fantômes de scroll.
3
- *
4
- * - stock = dernière position user (intent + settle inertie)
5
- * - jump brutal vers ~0 → JAMAIS capturé (même mid-gesture), restore
6
- * - collapse Lit / slot light-DOM : observe aussi le host + sticky restore multi-frames
7
- * - nested : intent uniquement sur le scroller le plus proche (composedPath)
8
- */
9
- export type ScrollRoot = HTMLElement | Window;
10
- export declare function isSafariScrollEngine(): boolean;
11
- /**
12
- * Mémorise la position courante — refuse tout gros drop d’un coup.
13
- */
14
- export declare function captureScrollRoot(root: ScrollRoot): void;
15
- /**
16
- * Ré-applique le stock. Ne pollue jamais le stock avec le scroll courant.
17
- *
18
- * Important : on peut clamper la *cible d’écriture* à maxScroll (le navigateur
19
- * le ferait de toute façon), mais on ne doit JAMAIS abaisser `s.y` pour autant —
20
- * pendant un re-render Lit maxScroll plonge souvent un instant (ex. 215→75) puis
21
- * revient ; baisser le stock là, c’est perdre la position pour de bon.
22
- */
23
- export declare function restoreScrollRoot(root: ScrollRoot): void;
24
- /** @deprecated alias */
25
- export declare function syncScrollRoot(root: ScrollRoot): void;
26
- export declare function resetScrollRoot(root: ScrollRoot, position?: {
27
- x?: number;
28
- y?: number;
29
- } | "current"): void;
30
- /**
31
- * Branche écoute intent + scroll + resize (+ mutations).
32
- * Idempotent.
33
- */
34
- export declare function watchScrollRoot(root: ScrollRoot): void;
35
- export declare function installSafariScrollGuard(): void;
36
- //# sourceMappingURL=SafariScrollGuard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SafariScrollGuard.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/SafariScrollGuard.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC;AAyB9C,wBAAgB,oBAAoB,IAAI,OAAO,CAG9C;AA0ED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAWxD;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAwBxD;AAED,wBAAwB;AACxB,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAErD;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,UAAU,EAChB,QAAQ,GAAE;IAAE,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAA0B,GAChE,IAAI,CAWN;AAqBD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAoGtD;AAuFD,wBAAgB,wBAAwB,IAAI,IAAI,CAoC/C"}
@@ -1,6 +0,0 @@
1
- export default class Utils {
2
- static queueTaskPromise(): Promise<unknown>;
3
- static delayPromise(timeoutMs: number): Promise<unknown>;
4
- }
5
- export declare const sonicClassPrefix: string;
6
- //# sourceMappingURL=Utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/Utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,KAAK;WACX,gBAAgB;WAKhB,YAAY,CAAC,SAAS,EAAE,MAAM;CAK5C;AAWD,eAAO,MAAM,gBAAgB,QACiD,CAAC"}
@@ -1,53 +0,0 @@
1
- /**
2
- * Génère une clé AES-256
3
- */
4
- export declare function generateKey(): Promise<CryptoKey>;
5
- /**
6
- * Exporte une clé AES en format JSON Web Key (JWK)
7
- */
8
- export declare function exportKey(key: CryptoKey): Promise<JsonWebKey>;
9
- /**
10
- * Importe une clé AES à partir d'un format JSON Web Key (JWK)
11
- */
12
- export declare function importKey(jwk: JsonWebKey): Promise<CryptoKey>;
13
- /**
14
- * Chiffre une donnée
15
- * @param data - Les données à chiffrer
16
- * @param key - La clé AES
17
- * @param iv - Le vecteur d'initialisation
18
- * @returns Une chaîne encodée en Base64
19
- */
20
- export declare function encryptToBase64(data: string, key: CryptoKey, iv: Uint8Array): Promise<string>;
21
- /**
22
- * Déchiffre une donnée
23
- * @param base64Data - Les données chiffrées en Base64
24
- * @param key - La clé AES
25
- * @param iv - Le vecteur d'initialisation
26
- * @returns Une chaîne déchiffrée
27
- */
28
- export declare function decryptFromBase64(base64Data: string, key: CryptoKey, iv: Uint8Array): Promise<string>;
29
- /**
30
- * USAGE
31
-
32
- import { generateKey, encryptToBase64, decryptFromBase64, exportKey, importKey } from './aesCrypto';
33
-
34
- (async () => {
35
- const key = await generateKey();
36
- const iv = crypto.getRandomValues(new Uint8Array(16)); // Génère un IV aléatoire
37
-
38
- const data = "Ceci est un secret!";
39
-
40
- // Chiffrement
41
- const encryptedBase64 = await encryptToBase64(data, key, iv);
42
-
43
- // Déchiffrement
44
- const decrypted = await decryptFromBase64(encryptedBase64, key, iv);
45
-
46
- // Exporter et importer la clé
47
- const exportedKey = await exportKey(key);
48
-
49
- const importedKey = await importKey(exportedKey);
50
- })();
51
-
52
- */
53
- //# sourceMappingURL=aesCrypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aesCrypto.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/aesCrypto.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAsB,WAAW,IAAI,OAAO,CAAC,SAAS,CAAC,CAStD;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAEnE;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,CAQnE;AAqBD;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,UAAU,GACb,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,SAAS,EACd,EAAE,EAAE,UAAU,GACb,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG"}
@@ -1,173 +0,0 @@
1
- import { CoreJSType } from "@supersoniks/concorde/core/_types/types";
2
- export type APIConfiguration = {
3
- serviceURL: string | null;
4
- /** un flag pour indiquer de bloquer les appels suivant au même serviceurl tant que celuis-ci n'a pas terminé */
5
- blockUntilDone?: boolean;
6
- token: string | null;
7
- userName: string | null;
8
- password: string | null;
9
- authToken: string | null;
10
- tokenProvider: string | null;
11
- addHTTPResponse?: boolean;
12
- credentials?: RequestCredentials;
13
- cache?: RequestCache;
14
- keepAlive?: boolean;
15
- };
16
- export type CallState = "loading" | "done" | "error" | undefined;
17
- export type ResultTypeInterface = CoreJSType & {
18
- _sonic_http_response_?: Response;
19
- text?: string;
20
- };
21
- export type APICall = {
22
- apiMethod: "get" | "send" | "submitFormData";
23
- path: string;
24
- additionalHeaders: HeadersInit | undefined;
25
- method?: string | undefined;
26
- data?: unknown;
27
- cache?: RequestCache;
28
- };
29
- export type APIResponse = {
30
- http: Response;
31
- processed: ResultTypeInterface;
32
- };
33
- /** Valeur assignée par `@get`, `@post`, `@put`, `@patch`. */
34
- export type ApiResult<T> = {
35
- request: Request;
36
- /** Absent / `undefined` pour les chemins `dataProvider(...)` (pas d’appel réseau). */
37
- response?: Response;
38
- /** Corps utile sans `_sonic_http_response_` sur l’objet racine. */
39
- result: T;
40
- };
41
- /** @deprecated Utiliser `ApiResult`. */
42
- export type ApiGetResult<T> = ApiResult<T>;
43
- declare class API {
44
- /**
45
- * Ce tableau static permet de ne pas appeler plusieurs fois le même service lors d'appel concurrents en GET.
46
- */
47
- private static loadingGetPromises;
48
- /**
49
- * L'url de base du service sans endpoint
50
- */
51
- serviceURL: string | null;
52
- /**
53
- * le nom de l'utilisateur si basic auth est utilisé
54
- */
55
- userName: string | null;
56
- /**
57
- * le password de l'utilisateur si basic auth est utilisé
58
- */
59
- password: string | null;
60
- /**
61
- * le bearer token a passer pour les appels REST
62
- */
63
- private _token;
64
- set token(token: string | null | undefined);
65
- get token(): string | null | undefined;
66
- /**
67
- * Le endPoint pour obtenir le bearer token qui sera concaténé à l'url du service
68
- */
69
- tokenProvider: string | null;
70
- /**
71
- * le bearer token à passer pour un éventuel renouvellement de token automatique
72
- */
73
- authToken: string | null;
74
- /**
75
- * credentials
76
- */
77
- credentials?: RequestCredentials;
78
- /**
79
- * Tableau static des tokens stokés en memoire vive (comportement à revoir à l'occasion)
80
- */
81
- private static tokens;
82
- /**
83
- * Tableau stockant l'ensemble des tokens invalides
84
- */
85
- private static invalidTokens;
86
- private handleInvalidToken;
87
- /**
88
- * Tableau static des tentatives échouées de récupération auto du token
89
- */
90
- private static failledTokenUpdates;
91
- /**
92
- * Tableau static des flags pour savoir si le premier appel a été fait pour chaque serviceURL
93
- */
94
- private static firstCallDoneFlags;
95
- /**
96
- * Le endPoint pour obtenir le bearer token qui sera concaténé à l'url du service
97
- */
98
- addHTTPResponse: boolean;
99
- cache: RequestCache;
100
- lastResult?: Response;
101
- isServiceSimulated: boolean;
102
- blockUntilDone: boolean;
103
- keepAlive: boolean;
104
- constructor(config: APIConfiguration);
105
- private handleResult;
106
- /**
107
- * Basic auth
108
- */
109
- private auth;
110
- /**
111
- * avec localget, on ne passe pas par le système de token
112
- * on recupère path sans les searchparams nommée pathWithoutSearchParams
113
- * on cherche dans PublisherManager.get(pathWithoutSearchParams).get() les données qui matchent les searchparams présents dans path
114
- * on retourne les données selon le même format que le retour de get
115
- *
116
- * @todo netttoyer
117
- */
118
- localGet<T>(dataProvider: string, searchString: string): Promise<T & ResultTypeInterface>;
119
- /**
120
- * firstCallDone is a function that returns a promise that is resolved when the first call to the API is done for each serviceURL whatever api instance is used
121
- */
122
- private firstCallDone;
123
- get<T>(path: string, additionalHeaders?: HeadersInit): Promise<(T & ResultTypeInterface) | null>;
124
- /**
125
- * S’appuie sur `get()` puis reformate la réponse : `Request` équivalent à l’appel,
126
- * `Response` renseignée par `lastResult` après un GET HTTP (via `handleResult`),
127
- * `result` = corps métier typé `T` (sans `_sonic_http_response_` à la racine).
128
- * Pour `dataProvider(...)`, pas de `response` (pas de fetch).
129
- */
130
- getDetailed<T>(path: string, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
131
- /**
132
- * S’appuie sur `post()` puis reformate la réponse : `Request` avec body JSON,
133
- * `Response` via `lastResult`, `result` typé `T`.
134
- */
135
- sendDetailed<T, B>(path: string, body: B, method: "POST" | "PUT" | "PATCH", additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
136
- postDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
137
- putDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
138
- patchDetailed<T, B>(path: string, body: B, additionalHeaders?: HeadersInit): Promise<ApiResult<T> | undefined>;
139
- /**
140
- * Création du header, avec authentification si besoin
141
- * ajout du language via le header accept-language qui contient le langue du navigateur
142
- */
143
- createHeaders(additionalHeaders?: HeadersInit): Promise<Record<string, string>>;
144
- /**
145
- * Concatène le serviceURL et le endpoint donné en paramètre
146
- */
147
- computeURL(path: string, query?: Record<string, string>): string;
148
- send<T, SendType = CoreJSType>(path: string, data: SendType, method?: string, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
149
- /**
150
- * Agit comme une soumission de formulaire, mais attends un json en réponse
151
- */
152
- submitFormData<T, SendType = CoreJSType>(path: string, data: SendType, method?: string, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
153
- /**
154
- * Appel send en utilisant le méthode PUT
155
- */
156
- put<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
157
- /**
158
- * Appel send en utilisant le méthode POST
159
- */
160
- post<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
161
- /**
162
- * Appel send en utilisant le méthode PATCH
163
- */
164
- patch<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
165
- /**
166
- * Appel send en utilisant le méthode delete
167
- */
168
- delete<T, SendType = CoreJSType>(path: string, data: SendType, additionalHeaders?: HeadersInit): Promise<T & ResultTypeInterface>;
169
- }
170
- export default API;
171
- export declare const log: (message: string, variables?: any) => Promise<void>;
172
- export declare const configLog: (newConfig: APIConfiguration, endPoint?: string) => void;
173
- //# sourceMappingURL=api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/api.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAGrE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,gHAAgH;IAChH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,SAAS,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,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;IAKjC;;OAEG;IACG,IAAI,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,EACjC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;IAIjC;;OAEG;IACG,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,EAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;IAKjC;;OAEG;IACG,MAAM,CAAC,CAAC,EAAE,QAAQ,GAAG,UAAU,EACnC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,iBAAiB,CAAC,EAAE,WAAW;CAIlC;AACD,eAAe,GAAG,CAAC;AAenB,eAAO,MAAM,GAAG,GAAU,SAAS,MAAM,EAAE,YAAY,GAAG,kBAkBzD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,gBAAgB,EAAE,iBAAgB,SAmDtE,CAAC"}
@@ -1,56 +0,0 @@
1
- /**
2
- * Type-safe navigation through composite data structures (publisher paths).
3
- * Each property or index access extends the path. Retrieve the final path via toString() or path.
4
- * Supports dynamic paths: use placeholders like "users.${userIndex}" in the constructor.
5
- *
6
- * @example
7
- * const myKey = new DataProviderKey<Data>("data").items[0];
8
- * myKey.toString(); // "data.items.0"
9
- * myKey.path; // same
10
- *
11
- * @example
12
- * // U = dépendances dynamiques sur l’hôte (voir DataProviderKeyHost) — propagé sur .foo.bar
13
- * new DataProviderKey<User, { userIndex: number }>("demoUsers.${userIndex}");
14
- */
15
- type IsAny<T> = 0 extends 1 & T ? true : false;
16
- /**
17
- * Prototype de classe décorée : propriétés minimales attendues sur l’hôte quand la clé est
18
- * `DataProviderKey<…, U>` (U renseigné à la construction). Avec `U` par défaut (`any`), pas de contrainte.
19
- */
20
- export type DataProviderKeyHost<U> = IsAny<U> extends true ? object : keyof U extends never ? object : object & U;
21
- /**
22
- * Navigation « dot » : une propriété optionnelle `foo?: X` reste traversable (le chemin publisher
23
- * existe). On retire `null` / `undefined` seulement quand la partie non-nulle est un `object`
24
- * (y compris tableaux, tuples), pour que le chaînage `.bar.baz` soit typé sans `?.`.
25
- * Les feuilles (`boolean | undefined`, `string`, etc.) gardent leur union telle quelle.
26
- */
27
- type DataProviderKeyNavigate<T> = T extends (...args: unknown[]) => unknown ? T : NonNullable<T> extends infer U ? [U] extends [never] ? T : U extends object ? U : T : T;
28
- /**
29
- * U : forme minimale du composant pour résoudre les placeholders `${…}` du path ; inchangée lors de la navigation.
30
- */
31
- type DataProviderKeyProxy<T, U = any> = NonNullable<T> extends object ? {
32
- [K in keyof NonNullable<T> as NonNullable<T>[K] extends (...args: unknown[]) => unknown ? never : K]-?: DataProviderKey<DataProviderKeyNavigate<NonNullable<T>[K]>, U>;
33
- } : object;
34
- export type DataProviderKey<T, U = any> = DataProviderKeyImpl<T, U> & DataProviderKeyProxy<T, U>;
35
- declare class DataProviderKeyImpl<T, U = any> {
36
- readonly path: string;
37
- readonly _phantom?: T;
38
- readonly _phantomDeps?: U;
39
- constructor(path: string);
40
- toString(): string;
41
- }
42
- export interface DataProviderKeyConstructor {
43
- new <T, U = any>(path: string): DataProviderKey<T, U>;
44
- }
45
- export declare function isDynamicPublisherPath(path: string): boolean;
46
- export type PublisherPathInput = string | {
47
- path: string;
48
- };
49
- /**
50
- * Resolves a static publisher path for get / set / dp.
51
- * Rejects DataProviderKey templates with dynamic placeholders.
52
- */
53
- export declare function resolveStaticPublisherPath(input: PublisherPathInput): string;
54
- export declare const DataProviderKey: DataProviderKeyConstructor;
55
- export {};
56
- //# sourceMappingURL=dataProviderKey.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataProviderKey.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/dataProviderKey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,KA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Q,CAAC,EAAE,CAAC,CAAC;IAC9B,SAAiB,YAAY,CAAC,EAAE,CAAC,CAAC;gBAEN,IAAI,EAAE,MAAM;IAExC,QAAQ,IAAI,MAAM;CAGnB;AAsBD,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;CACvD;AAKD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,GAAG,MAAM,CAQ5E;AAGD,eAAO,MAAM,eAAe,EAAE,0BAQtB,CAAC"}
@@ -1,40 +0,0 @@
1
- import { DataProviderKey, type PublisherPathInput } from "@supersoniks/concorde/core/utils/dataProviderKey";
2
- export type DeriveStatus = "loading" | "ready" | "error" | "empty";
3
- export type DeriveState = {
4
- status: DeriveStatus;
5
- error?: string | null;
6
- };
7
- export type DeriveCompute<I extends Record<string, unknown>, O, V> = (inputs: I, vars: V) => O | Promise<O>;
8
- export type DeriveOptions<I extends Record<string, unknown>, O, V = Record<string, unknown>> = {
9
- inputs: {
10
- [K in keyof I]: DataProviderKey<I[K]> | string;
11
- };
12
- compute: DeriveCompute<I, O, V>;
13
- output: DataProviderKey<O> | string;
14
- /** formDataProvider (ou autre DP) servant de variables `$top`, `$season`, … */
15
- variables?: DataProviderKey<V> | string;
16
- debounceMs?: number;
17
- isEmpty?: (value: O) => boolean;
18
- /** Taille max d’un tableau d’entrée (warn au-delà). Défaut 10_000. */
19
- maxInputItems?: number;
20
- };
21
- export type DeriveHandle = {
22
- stop: () => void;
23
- /** Force un recalcul immédiat (sans debounce). */
24
- recompute: () => void;
25
- };
26
- /**
27
- * État de dérivation publié sur `{outputRoot}/_state_` pour `sonic-states`.
28
- */
29
- export declare function deriveStateKey(output: PublisherPathInput): string;
30
- /**
31
- * Primitive de données dérivées en lecture seule.
32
- *
33
- * Observe les DataProviders d’entrée (+ variables optionnelles), recalcule avec
34
- * debounce, annule les résultats périmés (génération), publie sur `output`.
35
- */
36
- export declare function derive<I extends Record<string, unknown>, O, V = Record<string, unknown>>(options: DeriveOptions<I, O, V>): DeriveHandle;
37
- export declare function derive<I extends Record<string, unknown>, O, V = Record<string, unknown>>(inputs: {
38
- [K in keyof I]: DataProviderKey<I[K]> | string;
39
- }, compute: DeriveCompute<I, O, V>, output: DataProviderKey<O> | string, variables?: DataProviderKey<V> | string): DeriveHandle;
40
- //# sourceMappingURL=derive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/derive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,KAAK,kBAAkB,EACxB,MAAM,kDAAkD,CAAC;AAO1D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAEnE,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CACnE,MAAM,EAAE,CAAC,EACT,IAAI,EAAE,CAAC,KACJ,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AAEpB,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,CAAC,EACD,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IACzB;IACF,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,CAAC,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