@supersoniks/concorde 4.7.4 → 4.9.0

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 (679) hide show
  1. package/.github/workflows/ci.yml +21 -0
  2. package/.github-export-ignore +30 -0
  3. package/.gitlab-ci.yml +13 -0
  4. package/CONTRIBUTING.md +59 -0
  5. package/DEV.md +54 -0
  6. package/LICENSE +21 -0
  7. package/OPEN_SOURCE_CHECKPOINT.md +133 -0
  8. package/README.md +30 -16
  9. package/ai/cursor/rules/concorde.mdc +1 -1
  10. package/ai/skills/concorde-scope/SKILL.md +2 -2
  11. package/build-infos.json +1 -1
  12. package/concorde-core.bundle.js +214 -214
  13. package/concorde-core.es.js +4517 -4133
  14. package/dist/concorde-core.bundle.js +214 -214
  15. package/dist/concorde-core.es.js +4517 -4133
  16. package/dist/docs-mock-api-sw.js +19 -0
  17. package/dist/docs-mock-api-sw.js.map +2 -2
  18. package/dist/js/components.js +12 -0
  19. package/dist/js/components.js.map +1 -0
  20. package/dist/js/concorde-loaded.js +5 -0
  21. package/dist/js/concorde-loaded.js.map +1 -0
  22. package/dist/js/core/_types/endpoint.js +5 -0
  23. package/dist/js/core/_types/endpoint.js.map +1 -0
  24. package/dist/js/core/_types/key.js +2 -0
  25. package/dist/js/core/_types/key.js.map +1 -0
  26. package/dist/js/core/_types/types.js +3 -0
  27. package/dist/js/core/_types/types.js.map +1 -0
  28. package/dist/js/core/components/functional/date/date.js +272 -0
  29. package/dist/js/core/components/functional/date/date.js.map +1 -0
  30. package/dist/js/core/components/functional/example/example.js +44 -0
  31. package/dist/js/core/components/functional/example/example.js.map +1 -0
  32. package/dist/js/core/components/functional/fetch/fetch.js +79 -0
  33. package/dist/js/core/components/functional/fetch/fetch.js.map +1 -0
  34. package/dist/js/core/components/functional/functional.js +17 -0
  35. package/dist/js/core/components/functional/functional.js.map +1 -0
  36. package/dist/js/core/components/functional/if/if.js +39 -0
  37. package/dist/js/core/components/functional/if/if.js.map +1 -0
  38. package/dist/js/core/components/functional/list/list.js +341 -0
  39. package/dist/js/core/components/functional/list/list.js.map +1 -0
  40. package/dist/js/core/components/functional/mix/mix.js +103 -0
  41. package/dist/js/core/components/functional/mix/mix.js.map +1 -0
  42. package/dist/js/core/components/functional/queue/queue.js +386 -0
  43. package/dist/js/core/components/functional/queue/queue.js.map +1 -0
  44. package/dist/js/core/components/functional/router/redirect.js +54 -0
  45. package/dist/js/core/components/functional/router/redirect.js.map +1 -0
  46. package/dist/js/core/components/functional/router/router.js +179 -0
  47. package/dist/js/core/components/functional/router/router.js.map +1 -0
  48. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +216 -0
  49. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +1 -0
  50. package/dist/js/core/components/functional/sdui/default-library.json +108 -0
  51. package/dist/js/core/components/functional/sdui/sdui-utils.js +64 -0
  52. package/dist/js/core/components/functional/sdui/sdui-utils.js.map +1 -0
  53. package/dist/js/core/components/functional/sdui/sdui.js +266 -0
  54. package/dist/js/core/components/functional/sdui/sdui.js.map +1 -0
  55. package/dist/js/core/components/functional/sdui/types.js +2 -0
  56. package/dist/js/core/components/functional/sdui/types.js.map +1 -0
  57. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +22 -0
  58. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +1 -0
  59. package/dist/js/core/components/functional/states/states.js +172 -0
  60. package/dist/js/core/components/functional/states/states.js.map +1 -0
  61. package/dist/js/core/components/functional/submit/submit.js +284 -0
  62. package/dist/js/core/components/functional/submit/submit.js.map +1 -0
  63. package/dist/js/core/components/functional/subscriber/subscriber.js +39 -0
  64. package/dist/js/core/components/functional/subscriber/subscriber.js.map +1 -0
  65. package/dist/js/core/components/functional/translation/translation.js +28 -0
  66. package/dist/js/core/components/functional/translation/translation.js.map +1 -0
  67. package/dist/js/core/components/functional/value/value.js +28 -0
  68. package/dist/js/core/components/functional/value/value.js.map +1 -0
  69. package/dist/js/core/components/ui/_css/scroll.js +25 -0
  70. package/dist/js/core/components/ui/_css/scroll.js.map +1 -0
  71. package/dist/js/core/components/ui/_css/shadow.js +22 -0
  72. package/dist/js/core/components/ui/_css/shadow.js.map +1 -0
  73. package/dist/js/core/components/ui/_css/size.js +36 -0
  74. package/dist/js/core/components/ui/_css/size.js.map +1 -0
  75. package/dist/js/core/components/ui/_css/type.js +92 -0
  76. package/dist/js/core/components/ui/_css/type.js.map +1 -0
  77. package/dist/js/core/components/ui/alert/alert.js +213 -0
  78. package/dist/js/core/components/ui/alert/alert.js.map +1 -0
  79. package/dist/js/core/components/ui/alert-messages/alert-messages.js +68 -0
  80. package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +1 -0
  81. package/dist/js/core/components/ui/badge/badge.js +199 -0
  82. package/dist/js/core/components/ui/badge/badge.js.map +1 -0
  83. package/dist/js/core/components/ui/button/button.js +697 -0
  84. package/dist/js/core/components/ui/button/button.js.map +1 -0
  85. package/dist/js/core/components/ui/captcha/altchaStyles.js +226 -0
  86. package/dist/js/core/components/ui/captcha/altchaStyles.js.map +1 -0
  87. package/dist/js/core/components/ui/captcha/captcha.js +167 -0
  88. package/dist/js/core/components/ui/captcha/captcha.js.map +1 -0
  89. package/dist/js/core/components/ui/card/card-footer.js +26 -0
  90. package/dist/js/core/components/ui/card/card-footer.js.map +1 -0
  91. package/dist/js/core/components/ui/card/card-header-descripton.js +30 -0
  92. package/dist/js/core/components/ui/card/card-header-descripton.js.map +1 -0
  93. package/dist/js/core/components/ui/card/card-header.js +79 -0
  94. package/dist/js/core/components/ui/card/card-header.js.map +1 -0
  95. package/dist/js/core/components/ui/card/card-main.js +26 -0
  96. package/dist/js/core/components/ui/card/card-main.js.map +1 -0
  97. package/dist/js/core/components/ui/card/card.js +67 -0
  98. package/dist/js/core/components/ui/card/card.js.map +1 -0
  99. package/dist/js/core/components/ui/divider/divider.js +200 -0
  100. package/dist/js/core/components/ui/divider/divider.js.map +1 -0
  101. package/dist/js/core/components/ui/form/checkbox/checkbox.js +257 -0
  102. package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +1 -0
  103. package/dist/js/core/components/ui/form/css/form-control.js +393 -0
  104. package/dist/js/core/components/ui/form/css/form-control.js.map +1 -0
  105. package/dist/js/core/components/ui/form/fieldset/fieldset.js +124 -0
  106. package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +1 -0
  107. package/dist/js/core/components/ui/form/fieldset/legend-description.js +38 -0
  108. package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +1 -0
  109. package/dist/js/core/components/ui/form/fieldset/legend.js +130 -0
  110. package/dist/js/core/components/ui/form/fieldset/legend.js.map +1 -0
  111. package/dist/js/core/components/ui/form/form-actions/form-actions.js +47 -0
  112. package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +1 -0
  113. package/dist/js/core/components/ui/form/form-layout/form-layout.js +84 -0
  114. package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +1 -0
  115. package/dist/js/core/components/ui/form/input/input.js +316 -0
  116. package/dist/js/core/components/ui/form/input/input.js.map +1 -0
  117. package/dist/js/core/components/ui/form/input/password-helper.js +134 -0
  118. package/dist/js/core/components/ui/form/input/password-helper.js.map +1 -0
  119. package/dist/js/core/components/ui/form/input/same-value-helper.js +85 -0
  120. package/dist/js/core/components/ui/form/input/same-value-helper.js.map +1 -0
  121. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +405 -0
  122. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +1 -0
  123. package/dist/js/core/components/ui/form/radio/radio.js +63 -0
  124. package/dist/js/core/components/ui/form/radio/radio.js.map +1 -0
  125. package/dist/js/core/components/ui/form/select/select.js +323 -0
  126. package/dist/js/core/components/ui/form/select/select.js.map +1 -0
  127. package/dist/js/core/components/ui/form/switch/switch.js +90 -0
  128. package/dist/js/core/components/ui/form/switch/switch.js.map +1 -0
  129. package/dist/js/core/components/ui/form/textarea/textarea.js +162 -0
  130. package/dist/js/core/components/ui/form/textarea/textarea.js.map +1 -0
  131. package/dist/js/core/components/ui/group/group.js +128 -0
  132. package/dist/js/core/components/ui/group/group.js.map +1 -0
  133. package/dist/js/core/components/ui/icon/icon.js +129 -0
  134. package/dist/js/core/components/ui/icon/icon.js.map +1 -0
  135. package/dist/js/core/components/ui/icon/icons.js +163 -0
  136. package/dist/js/core/components/ui/icon/icons.js.map +1 -0
  137. package/dist/js/core/components/ui/icon/icons.json +1 -0
  138. package/dist/js/core/components/ui/image/image.js +160 -0
  139. package/dist/js/core/components/ui/image/image.js.map +1 -0
  140. package/dist/js/core/components/ui/link/link.js +125 -0
  141. package/dist/js/core/components/ui/link/link.js.map +1 -0
  142. package/dist/js/core/components/ui/loader/loader.js +106 -0
  143. package/dist/js/core/components/ui/loader/loader.js.map +1 -0
  144. package/dist/js/core/components/ui/loader/styles/fixed.js +56 -0
  145. package/dist/js/core/components/ui/loader/styles/fixed.js.map +1 -0
  146. package/dist/js/core/components/ui/loader/styles/inline.js +70 -0
  147. package/dist/js/core/components/ui/loader/styles/inline.js.map +1 -0
  148. package/dist/js/core/components/ui/menu/menu-item.js +35 -0
  149. package/dist/js/core/components/ui/menu/menu-item.js.map +1 -0
  150. package/dist/js/core/components/ui/menu/menu.js +436 -0
  151. package/dist/js/core/components/ui/menu/menu.js.map +1 -0
  152. package/dist/js/core/components/ui/modal/modal-actions.js +44 -0
  153. package/dist/js/core/components/ui/modal/modal-actions.js.map +1 -0
  154. package/dist/js/core/components/ui/modal/modal-close.js +56 -0
  155. package/dist/js/core/components/ui/modal/modal-close.js.map +1 -0
  156. package/dist/js/core/components/ui/modal/modal-content.js +27 -0
  157. package/dist/js/core/components/ui/modal/modal-content.js.map +1 -0
  158. package/dist/js/core/components/ui/modal/modal-subtitle.js +34 -0
  159. package/dist/js/core/components/ui/modal/modal-subtitle.js.map +1 -0
  160. package/dist/js/core/components/ui/modal/modal-title.js +35 -0
  161. package/dist/js/core/components/ui/modal/modal-title.js.map +1 -0
  162. package/dist/js/core/components/ui/modal/modal-utils.js +32 -0
  163. package/dist/js/core/components/ui/modal/modal-utils.js.map +1 -0
  164. package/dist/js/core/components/ui/modal/modal.js +568 -0
  165. package/dist/js/core/components/ui/modal/modal.js.map +1 -0
  166. package/dist/js/core/components/ui/pop/pop.js +337 -0
  167. package/dist/js/core/components/ui/pop/pop.js.map +1 -0
  168. package/dist/js/core/components/ui/progress/progress.js +164 -0
  169. package/dist/js/core/components/ui/progress/progress.js.map +1 -0
  170. package/dist/js/core/components/ui/table/table-caption.js +29 -0
  171. package/dist/js/core/components/ui/table/table-caption.js.map +1 -0
  172. package/dist/js/core/components/ui/table/table-tbody.js +41 -0
  173. package/dist/js/core/components/ui/table/table-tbody.js.map +1 -0
  174. package/dist/js/core/components/ui/table/table-td.js +69 -0
  175. package/dist/js/core/components/ui/table/table-td.js.map +1 -0
  176. package/dist/js/core/components/ui/table/table-tfoot.js +28 -0
  177. package/dist/js/core/components/ui/table/table-tfoot.js.map +1 -0
  178. package/dist/js/core/components/ui/table/table-th.js +80 -0
  179. package/dist/js/core/components/ui/table/table-th.js.map +1 -0
  180. package/dist/js/core/components/ui/table/table-thead.js +26 -0
  181. package/dist/js/core/components/ui/table/table-thead.js.map +1 -0
  182. package/dist/js/core/components/ui/table/table-tr.js +67 -0
  183. package/dist/js/core/components/ui/table/table-tr.js.map +1 -0
  184. package/dist/js/core/components/ui/table/table.js +106 -0
  185. package/dist/js/core/components/ui/table/table.js.map +1 -0
  186. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +74 -0
  187. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +1 -0
  188. package/dist/js/core/components/ui/theme/theme-collection/dark.js +39 -0
  189. package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +1 -0
  190. package/dist/js/core/components/ui/theme/theme-collection/light.js +32 -0
  191. package/dist/js/core/components/ui/theme/theme-collection/light.js.map +1 -0
  192. package/dist/js/core/components/ui/theme/theme.js +150 -0
  193. package/dist/js/core/components/ui/theme/theme.js.map +1 -0
  194. package/dist/js/core/components/ui/toast/message-subscriber.js +41 -0
  195. package/dist/js/core/components/ui/toast/message-subscriber.js.map +1 -0
  196. package/dist/js/core/components/ui/toast/toast-item.js +379 -0
  197. package/dist/js/core/components/ui/toast/toast-item.js.map +1 -0
  198. package/dist/js/core/components/ui/toast/toast.js +269 -0
  199. package/dist/js/core/components/ui/toast/toast.js.map +1 -0
  200. package/dist/js/core/components/ui/toast/types.js +2 -0
  201. package/dist/js/core/components/ui/toast/types.js.map +1 -0
  202. package/dist/js/core/components/ui/tooltip/tooltip.js +219 -0
  203. package/dist/js/core/components/ui/tooltip/tooltip.js.map +1 -0
  204. package/dist/js/core/components/ui/ui.js +41 -0
  205. package/dist/js/core/components/ui/ui.js.map +1 -0
  206. package/dist/js/core/core.js +14 -0
  207. package/dist/js/core/core.js.map +1 -0
  208. package/dist/js/core/decorators/Subscriber.js +9 -0
  209. package/dist/js/core/decorators/Subscriber.js.map +1 -0
  210. package/dist/js/core/decorators/api.js +559 -0
  211. package/dist/js/core/decorators/api.js.map +1 -0
  212. package/dist/js/core/decorators/lifecycle.js +67 -0
  213. package/dist/js/core/decorators/lifecycle.js.map +1 -0
  214. package/dist/js/core/decorators/subscriber/ancestorAttribute.js +27 -0
  215. package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +1 -0
  216. package/dist/js/core/decorators/subscriber/autoFill.js +26 -0
  217. package/dist/js/core/decorators/subscriber/autoFill.js.map +1 -0
  218. package/dist/js/core/decorators/subscriber/autoSubscribe.js +46 -0
  219. package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +1 -0
  220. package/dist/js/core/decorators/subscriber/bind.js +150 -0
  221. package/dist/js/core/decorators/subscriber/bind.js.map +1 -0
  222. package/dist/js/core/decorators/subscriber/common.js +44 -0
  223. package/dist/js/core/decorators/subscriber/common.js.map +1 -0
  224. package/dist/js/core/decorators/subscriber/dynamicPath.js +75 -0
  225. package/dist/js/core/decorators/subscriber/dynamicPath.js.map +1 -0
  226. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +138 -0
  227. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +1 -0
  228. package/dist/js/core/decorators/subscriber/handle.js +22 -0
  229. package/dist/js/core/decorators/subscriber/handle.js.map +1 -0
  230. package/dist/js/core/decorators/subscriber/onAssign.js +199 -0
  231. package/dist/js/core/decorators/subscriber/onAssign.js.map +1 -0
  232. package/dist/js/core/decorators/subscriber/publish.js +108 -0
  233. package/dist/js/core/decorators/subscriber/publish.js.map +1 -0
  234. package/dist/js/core/decorators/subscriber/publisherPath.js +16 -0
  235. package/dist/js/core/decorators/subscriber/publisherPath.js.map +1 -0
  236. package/dist/js/core/decorators/subscriber/subscribe.js +20 -0
  237. package/dist/js/core/decorators/subscriber/subscribe.js.map +1 -0
  238. package/dist/js/core/directives/DataProvider.js +127 -0
  239. package/dist/js/core/directives/DataProvider.js.map +1 -0
  240. package/dist/js/core/directives/Wording.js +221 -0
  241. package/dist/js/core/directives/Wording.js.map +1 -0
  242. package/dist/js/core/mixins/Fetcher.js +325 -0
  243. package/dist/js/core/mixins/Fetcher.js.map +1 -0
  244. package/dist/js/core/mixins/FormCheckable.js +313 -0
  245. package/dist/js/core/mixins/FormCheckable.js.map +1 -0
  246. package/dist/js/core/mixins/FormElement.js +304 -0
  247. package/dist/js/core/mixins/FormElement.js.map +1 -0
  248. package/dist/js/core/mixins/FormInput.js +82 -0
  249. package/dist/js/core/mixins/FormInput.js.map +1 -0
  250. package/dist/js/core/mixins/Subscriber.js +354 -0
  251. package/dist/js/core/mixins/Subscriber.js.map +1 -0
  252. package/dist/js/core/mixins/TemplatesContainer.js +70 -0
  253. package/dist/js/core/mixins/TemplatesContainer.js.map +1 -0
  254. package/dist/js/core/mixins/mixins.js +7 -0
  255. package/dist/js/core/mixins/mixins.js.map +1 -0
  256. package/dist/js/core/utils/AncestorAttributeObserver.js +140 -0
  257. package/dist/js/core/utils/AncestorAttributeObserver.js.map +1 -0
  258. package/dist/js/core/utils/Arrays.js +141 -0
  259. package/dist/js/core/utils/Arrays.js.map +1 -0
  260. package/dist/js/core/utils/DataBindObserver.js +265 -0
  261. package/dist/js/core/utils/DataBindObserver.js.map +1 -0
  262. package/dist/js/core/utils/Electron.js +14 -0
  263. package/dist/js/core/utils/Electron.js.map +1 -0
  264. package/dist/js/core/utils/Format.js +43 -0
  265. package/dist/js/core/utils/Format.js.map +1 -0
  266. package/dist/js/core/utils/HTML.js +248 -0
  267. package/dist/js/core/utils/HTML.js.map +1 -0
  268. package/dist/js/core/utils/LocationHandler.js +143 -0
  269. package/dist/js/core/utils/LocationHandler.js.map +1 -0
  270. package/dist/js/core/utils/Objects.js +111 -0
  271. package/dist/js/core/utils/Objects.js.map +1 -0
  272. package/dist/js/core/utils/PublisherProxy.js +946 -0
  273. package/dist/js/core/utils/PublisherProxy.js.map +1 -0
  274. package/dist/js/core/utils/Utils.js +19 -0
  275. package/dist/js/core/utils/Utils.js.map +1 -0
  276. package/dist/js/core/utils/aesCrypto.js +98 -0
  277. package/dist/js/core/utils/aesCrypto.js.map +1 -0
  278. package/dist/js/core/utils/api.js +574 -0
  279. package/dist/js/core/utils/api.js.map +1 -0
  280. package/dist/js/core/utils/dataProviderKey.js +64 -0
  281. package/dist/js/core/utils/dataProviderKey.js.map +1 -0
  282. package/dist/js/core/utils/endpoint.js +74 -0
  283. package/dist/js/core/utils/endpoint.js.map +1 -0
  284. package/dist/js/core/utils/route.js +149 -0
  285. package/dist/js/core/utils/route.js.map +1 -0
  286. package/dist/js/core/utils/url-pattern.js +3 -0
  287. package/dist/js/core/utils/url-pattern.js.map +1 -0
  288. package/dist/js/dataprovider.js +2 -0
  289. package/dist/js/dataprovider.js.map +1 -0
  290. package/dist/js/decorators.js +39 -0
  291. package/dist/js/decorators.js.map +1 -0
  292. package/dist/js/directives.js +30 -0
  293. package/dist/js/directives.js.map +1 -0
  294. package/dist/js/index.js +8 -0
  295. package/dist/js/index.js.map +1 -0
  296. package/dist/js/mixins.js +23 -0
  297. package/dist/js/mixins.js.map +1 -0
  298. package/dist/js/test-utils/TestUtils.js +10 -0
  299. package/dist/js/test-utils/TestUtils.js.map +1 -0
  300. package/dist/js/utils.js +41 -0
  301. package/dist/js/utils.js.map +1 -0
  302. package/dist/types/components.d.ts +5 -0
  303. package/dist/types/components.d.ts.map +1 -0
  304. package/dist/types/concorde-loaded.d.ts +2 -0
  305. package/dist/types/concorde-loaded.d.ts.map +1 -0
  306. package/dist/types/core/_types/endpoint.d.ts +5 -0
  307. package/dist/types/core/_types/endpoint.d.ts.map +1 -0
  308. package/dist/types/core/_types/key.d.ts +2 -0
  309. package/dist/types/core/_types/key.d.ts.map +1 -0
  310. package/dist/types/core/_types/types.d.ts +28 -0
  311. package/dist/types/core/_types/types.d.ts.map +1 -0
  312. package/dist/types/core/components/functional/date/date.d.ts +52 -0
  313. package/dist/types/core/components/functional/date/date.d.ts.map +1 -0
  314. package/dist/types/core/components/functional/example/example.d.ts +15 -0
  315. package/dist/types/core/components/functional/example/example.d.ts.map +1 -0
  316. package/dist/types/core/components/functional/fetch/fetch.d.ts +102 -0
  317. package/dist/types/core/components/functional/fetch/fetch.d.ts.map +1 -0
  318. package/dist/types/core/components/functional/functional.d.ts +17 -0
  319. package/dist/types/core/components/functional/functional.d.ts.map +1 -0
  320. package/dist/types/core/components/functional/if/if.d.ts +13 -0
  321. package/dist/types/core/components/functional/if/if.d.ts.map +1 -0
  322. package/dist/types/core/components/functional/list/list.d.ts +149 -0
  323. package/dist/types/core/components/functional/list/list.d.ts.map +1 -0
  324. package/dist/types/core/components/functional/mix/mix.d.ts +23 -0
  325. package/dist/types/core/components/functional/mix/mix.d.ts.map +1 -0
  326. package/dist/types/core/components/functional/queue/queue.d.ts +79 -0
  327. package/dist/types/core/components/functional/queue/queue.d.ts.map +1 -0
  328. package/dist/types/core/components/functional/router/redirect.d.ts +19 -0
  329. package/dist/types/core/components/functional/router/redirect.d.ts.map +1 -0
  330. package/dist/types/core/components/functional/router/router.d.ts +46 -0
  331. package/dist/types/core/components/functional/router/router.d.ts.map +1 -0
  332. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +59 -0
  333. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +1 -0
  334. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +6 -0
  335. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +1 -0
  336. package/dist/types/core/components/functional/sdui/sdui.d.ts +145 -0
  337. package/dist/types/core/components/functional/sdui/sdui.d.ts.map +1 -0
  338. package/dist/types/core/components/functional/sdui/types.d.ts +38 -0
  339. package/dist/types/core/components/functional/sdui/types.d.ts.map +1 -0
  340. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +6 -0
  341. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +1 -0
  342. package/dist/types/core/components/functional/states/states.d.ts +42 -0
  343. package/dist/types/core/components/functional/states/states.d.ts.map +1 -0
  344. package/dist/types/core/components/functional/submit/submit.d.ts +37 -0
  345. package/dist/types/core/components/functional/submit/submit.d.ts.map +1 -0
  346. package/dist/types/core/components/functional/subscriber/subscriber.d.ts +13 -0
  347. package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +1 -0
  348. package/dist/types/core/components/functional/translation/translation.d.ts +7 -0
  349. package/dist/types/core/components/functional/translation/translation.d.ts.map +1 -0
  350. package/dist/types/core/components/functional/value/value.d.ts +8 -0
  351. package/dist/types/core/components/functional/value/value.d.ts.map +1 -0
  352. package/dist/types/core/components/ui/_css/scroll.d.ts +2 -0
  353. package/dist/types/core/components/ui/_css/scroll.d.ts.map +1 -0
  354. package/dist/types/core/components/ui/_css/shadow.d.ts +3 -0
  355. package/dist/types/core/components/ui/_css/shadow.d.ts.map +1 -0
  356. package/dist/types/core/components/ui/_css/size.d.ts +3 -0
  357. package/dist/types/core/components/ui/_css/size.d.ts.map +1 -0
  358. package/dist/types/core/components/ui/_css/type.d.ts +3 -0
  359. package/dist/types/core/components/ui/_css/type.d.ts.map +1 -0
  360. package/dist/types/core/components/ui/alert/alert.d.ts +37 -0
  361. package/dist/types/core/components/ui/alert/alert.d.ts.map +1 -0
  362. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +15 -0
  363. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +1 -0
  364. package/dist/types/core/components/ui/badge/badge.d.ts +27 -0
  365. package/dist/types/core/components/ui/badge/badge.d.ts.map +1 -0
  366. package/dist/types/core/components/ui/button/button.d.ts +180 -0
  367. package/dist/types/core/components/ui/button/button.d.ts.map +1 -0
  368. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +2 -0
  369. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +1 -0
  370. package/dist/types/core/components/ui/captcha/captcha.d.ts +30 -0
  371. package/dist/types/core/components/ui/captcha/captcha.d.ts.map +1 -0
  372. package/dist/types/core/components/ui/card/card-footer.d.ts +6 -0
  373. package/dist/types/core/components/ui/card/card-footer.d.ts.map +1 -0
  374. package/dist/types/core/components/ui/card/card-header-descripton.d.ts +6 -0
  375. package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +1 -0
  376. package/dist/types/core/components/ui/card/card-header.d.ts +9 -0
  377. package/dist/types/core/components/ui/card/card-header.d.ts.map +1 -0
  378. package/dist/types/core/components/ui/card/card-main.d.ts +6 -0
  379. package/dist/types/core/components/ui/card/card-main.d.ts.map +1 -0
  380. package/dist/types/core/components/ui/card/card.d.ts +13 -0
  381. package/dist/types/core/components/ui/card/card.d.ts.map +1 -0
  382. package/dist/types/core/components/ui/divider/divider.d.ts +16 -0
  383. package/dist/types/core/components/ui/divider/divider.d.ts.map +1 -0
  384. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +176 -0
  385. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +1 -0
  386. package/dist/types/core/components/ui/form/css/form-control.d.ts +5 -0
  387. package/dist/types/core/components/ui/form/css/form-control.d.ts.map +1 -0
  388. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +24 -0
  389. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +1 -0
  390. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +6 -0
  391. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +1 -0
  392. package/dist/types/core/components/ui/form/fieldset/legend.d.ts +17 -0
  393. package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +1 -0
  394. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +8 -0
  395. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +1 -0
  396. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +13 -0
  397. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +1 -0
  398. package/dist/types/core/components/ui/form/input/input.d.ts +123 -0
  399. package/dist/types/core/components/ui/form/input/input.d.ts.map +1 -0
  400. package/dist/types/core/components/ui/form/input/password-helper.d.ts +26 -0
  401. package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +1 -0
  402. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +17 -0
  403. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +1 -0
  404. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +155 -0
  405. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +1 -0
  406. package/dist/types/core/components/ui/form/radio/radio.d.ts +15 -0
  407. package/dist/types/core/components/ui/form/radio/radio.d.ts.map +1 -0
  408. package/dist/types/core/components/ui/form/select/select.d.ts +59 -0
  409. package/dist/types/core/components/ui/form/select/select.d.ts.map +1 -0
  410. package/dist/types/core/components/ui/form/switch/switch.d.ts +6 -0
  411. package/dist/types/core/components/ui/form/switch/switch.d.ts.map +1 -0
  412. package/dist/types/core/components/ui/form/textarea/textarea.d.ts +94 -0
  413. package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +1 -0
  414. package/dist/types/core/components/ui/group/group.d.ts +17 -0
  415. package/dist/types/core/components/ui/group/group.d.ts.map +1 -0
  416. package/dist/types/core/components/ui/icon/icon.d.ts +28 -0
  417. package/dist/types/core/components/ui/icon/icon.d.ts.map +1 -0
  418. package/dist/types/core/components/ui/icon/icons.d.ts +11 -0
  419. package/dist/types/core/components/ui/icon/icons.d.ts.map +1 -0
  420. package/dist/types/core/components/ui/image/image.d.ts +16 -0
  421. package/dist/types/core/components/ui/image/image.d.ts.map +1 -0
  422. package/dist/types/core/components/ui/link/link.d.ts +30 -0
  423. package/dist/types/core/components/ui/link/link.d.ts.map +1 -0
  424. package/dist/types/core/components/ui/loader/loader.d.ts +24 -0
  425. package/dist/types/core/components/ui/loader/loader.d.ts.map +1 -0
  426. package/dist/types/core/components/ui/loader/styles/fixed.d.ts +2 -0
  427. package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +1 -0
  428. package/dist/types/core/components/ui/loader/styles/inline.d.ts +2 -0
  429. package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +1 -0
  430. package/dist/types/core/components/ui/menu/menu-item.d.ts +6 -0
  431. package/dist/types/core/components/ui/menu/menu-item.d.ts.map +1 -0
  432. package/dist/types/core/components/ui/menu/menu.d.ts +52 -0
  433. package/dist/types/core/components/ui/menu/menu.d.ts.map +1 -0
  434. package/dist/types/core/components/ui/modal/modal-actions.d.ts +9 -0
  435. package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +1 -0
  436. package/dist/types/core/components/ui/modal/modal-close.d.ts +11 -0
  437. package/dist/types/core/components/ui/modal/modal-close.d.ts.map +1 -0
  438. package/dist/types/core/components/ui/modal/modal-content.d.ts +6 -0
  439. package/dist/types/core/components/ui/modal/modal-content.d.ts.map +1 -0
  440. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +6 -0
  441. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +1 -0
  442. package/dist/types/core/components/ui/modal/modal-title.d.ts +6 -0
  443. package/dist/types/core/components/ui/modal/modal-title.d.ts.map +1 -0
  444. package/dist/types/core/components/ui/modal/modal-utils.d.ts +4 -0
  445. package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +1 -0
  446. package/dist/types/core/components/ui/modal/modal.d.ts +79 -0
  447. package/dist/types/core/components/ui/modal/modal.d.ts.map +1 -0
  448. package/dist/types/core/components/ui/pop/pop.d.ts +42 -0
  449. package/dist/types/core/components/ui/pop/pop.d.ts.map +1 -0
  450. package/dist/types/core/components/ui/progress/progress.d.ts +12 -0
  451. package/dist/types/core/components/ui/progress/progress.d.ts.map +1 -0
  452. package/dist/types/core/components/ui/table/table-caption.d.ts +6 -0
  453. package/dist/types/core/components/ui/table/table-caption.d.ts.map +1 -0
  454. package/dist/types/core/components/ui/table/table-tbody.d.ts +6 -0
  455. package/dist/types/core/components/ui/table/table-tbody.d.ts.map +1 -0
  456. package/dist/types/core/components/ui/table/table-td.d.ts +13 -0
  457. package/dist/types/core/components/ui/table/table-td.d.ts.map +1 -0
  458. package/dist/types/core/components/ui/table/table-tfoot.d.ts +6 -0
  459. package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +1 -0
  460. package/dist/types/core/components/ui/table/table-th.d.ts +12 -0
  461. package/dist/types/core/components/ui/table/table-th.d.ts.map +1 -0
  462. package/dist/types/core/components/ui/table/table-thead.d.ts +6 -0
  463. package/dist/types/core/components/ui/table/table-thead.d.ts.map +1 -0
  464. package/dist/types/core/components/ui/table/table-tr.d.ts +14 -0
  465. package/dist/types/core/components/ui/table/table-tr.d.ts.map +1 -0
  466. package/dist/types/core/components/ui/table/table.d.ts +18 -0
  467. package/dist/types/core/components/ui/table/table.d.ts.map +1 -0
  468. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +2 -0
  469. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +1 -0
  470. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +2 -0
  471. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +1 -0
  472. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +2 -0
  473. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +1 -0
  474. package/dist/types/core/components/ui/theme/theme.d.ts +20 -0
  475. package/dist/types/core/components/ui/theme/theme.d.ts.map +1 -0
  476. package/dist/types/core/components/ui/toast/message-subscriber.d.ts +19 -0
  477. package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +1 -0
  478. package/dist/types/core/components/ui/toast/toast-item.d.ts +41 -0
  479. package/dist/types/core/components/ui/toast/toast-item.d.ts.map +1 -0
  480. package/dist/types/core/components/ui/toast/toast.d.ts +28 -0
  481. package/dist/types/core/components/ui/toast/toast.d.ts.map +1 -0
  482. package/dist/types/core/components/ui/toast/types.d.ts +12 -0
  483. package/dist/types/core/components/ui/toast/types.d.ts.map +1 -0
  484. package/dist/types/core/components/ui/tooltip/tooltip.d.ts +21 -0
  485. package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +1 -0
  486. package/dist/types/core/components/ui/ui.d.ts +35 -0
  487. package/dist/types/core/components/ui/ui.d.ts.map +1 -0
  488. package/dist/types/core/core.d.ts +5 -0
  489. package/dist/types/core/core.d.ts.map +1 -0
  490. package/dist/types/core/decorators/Subscriber.d.ts +11 -0
  491. package/dist/types/core/decorators/Subscriber.d.ts.map +1 -0
  492. package/dist/types/core/decorators/api.d.ts +106 -0
  493. package/dist/types/core/decorators/api.d.ts.map +1 -0
  494. package/dist/types/core/decorators/lifecycle.d.ts +19 -0
  495. package/dist/types/core/decorators/lifecycle.d.ts.map +1 -0
  496. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +11 -0
  497. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +1 -0
  498. package/dist/types/core/decorators/subscriber/autoFill.d.ts +2 -0
  499. package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +1 -0
  500. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +2 -0
  501. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +1 -0
  502. package/dist/types/core/decorators/subscriber/bind.d.ts +28 -0
  503. package/dist/types/core/decorators/subscriber/bind.d.ts.map +1 -0
  504. package/dist/types/core/decorators/subscriber/common.d.ts +14 -0
  505. package/dist/types/core/decorators/subscriber/common.d.ts.map +1 -0
  506. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +23 -0
  507. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +1 -0
  508. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +42 -0
  509. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +1 -0
  510. package/dist/types/core/decorators/subscriber/handle.d.ts +74 -0
  511. package/dist/types/core/decorators/subscriber/handle.d.ts.map +1 -0
  512. package/dist/types/core/decorators/subscriber/onAssign.d.ts +53 -0
  513. package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +1 -0
  514. package/dist/types/core/decorators/subscriber/publish.d.ts +23 -0
  515. package/dist/types/core/decorators/subscriber/publish.d.ts.map +1 -0
  516. package/dist/types/core/decorators/subscriber/publisherPath.d.ts +3 -0
  517. package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +1 -0
  518. package/dist/types/core/decorators/subscriber/subscribe.d.ts +20 -0
  519. package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +1 -0
  520. package/dist/types/core/directives/DataProvider.d.ts +45 -0
  521. package/dist/types/core/directives/DataProvider.d.ts.map +1 -0
  522. package/dist/types/core/directives/Wording.d.ts +44 -0
  523. package/dist/types/core/directives/Wording.d.ts.map +1 -0
  524. package/dist/types/core/mixins/Fetcher.d.ts +108 -0
  525. package/dist/types/core/mixins/Fetcher.d.ts.map +1 -0
  526. package/dist/types/core/mixins/FormCheckable.d.ts +95 -0
  527. package/dist/types/core/mixins/FormCheckable.d.ts.map +1 -0
  528. package/dist/types/core/mixins/FormElement.d.ts +37 -0
  529. package/dist/types/core/mixins/FormElement.d.ts.map +1 -0
  530. package/dist/types/core/mixins/FormInput.d.ts +79 -0
  531. package/dist/types/core/mixins/FormInput.d.ts.map +1 -0
  532. package/dist/types/core/mixins/Subscriber.d.ts +38 -0
  533. package/dist/types/core/mixins/Subscriber.d.ts.map +1 -0
  534. package/dist/types/core/mixins/TemplatesContainer.d.ts +14 -0
  535. package/dist/types/core/mixins/TemplatesContainer.d.ts.map +1 -0
  536. package/dist/types/core/mixins/mixins.d.ts +7 -0
  537. package/dist/types/core/mixins/mixins.d.ts.map +1 -0
  538. package/dist/types/core/utils/AncestorAttributeObserver.d.ts +38 -0
  539. package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +1 -0
  540. package/dist/types/core/utils/Arrays.d.ts +98 -0
  541. package/dist/types/core/utils/Arrays.d.ts.map +1 -0
  542. package/dist/types/core/utils/DataBindObserver.d.ts +84 -0
  543. package/dist/types/core/utils/DataBindObserver.d.ts.map +1 -0
  544. package/dist/types/core/utils/Electron.d.ts +8 -0
  545. package/dist/types/core/utils/Electron.d.ts.map +1 -0
  546. package/dist/types/core/utils/Format.d.ts +13 -0
  547. package/dist/types/core/utils/Format.d.ts.map +1 -0
  548. package/dist/types/core/utils/HTML.d.ts +64 -0
  549. package/dist/types/core/utils/HTML.d.ts.map +1 -0
  550. package/dist/types/core/utils/LocationHandler.d.ts +48 -0
  551. package/dist/types/core/utils/LocationHandler.d.ts.map +1 -0
  552. package/dist/types/core/utils/Objects.d.ts +31 -0
  553. package/dist/types/core/utils/Objects.d.ts.map +1 -0
  554. package/dist/types/core/utils/PublisherProxy.d.ts +230 -0
  555. package/dist/types/core/utils/PublisherProxy.d.ts.map +1 -0
  556. package/dist/types/core/utils/Utils.d.ts +6 -0
  557. package/dist/types/core/utils/Utils.d.ts.map +1 -0
  558. package/dist/types/core/utils/aesCrypto.d.ts +53 -0
  559. package/dist/types/core/utils/aesCrypto.d.ts.map +1 -0
  560. package/dist/types/core/utils/api.d.ts +173 -0
  561. package/dist/types/core/utils/api.d.ts.map +1 -0
  562. package/dist/types/core/utils/dataProviderKey.d.ts +56 -0
  563. package/dist/types/core/utils/dataProviderKey.d.ts.map +1 -0
  564. package/dist/types/core/utils/endpoint.d.ts +37 -0
  565. package/dist/types/core/utils/endpoint.d.ts.map +1 -0
  566. package/dist/types/core/utils/route.d.ts +41 -0
  567. package/dist/types/core/utils/route.d.ts.map +1 -0
  568. package/dist/types/core/utils/url-pattern.d.ts +3 -0
  569. package/dist/types/core/utils/url-pattern.d.ts.map +1 -0
  570. package/dist/types/dataprovider.d.ts +2 -0
  571. package/dist/types/dataprovider.d.ts.map +1 -0
  572. package/dist/types/decorators.d.ts +28 -0
  573. package/dist/types/decorators.d.ts.map +1 -0
  574. package/dist/types/directives.d.ts +21 -0
  575. package/dist/types/directives.d.ts.map +1 -0
  576. package/dist/types/index.d.ts +8 -0
  577. package/dist/types/index.d.ts.map +1 -0
  578. package/dist/types/mixins.d.ts +204 -0
  579. package/dist/types/mixins.d.ts.map +1 -0
  580. package/dist/types/test-utils/TestUtils.d.ts +4 -0
  581. package/dist/types/test-utils/TestUtils.d.ts.map +1 -0
  582. package/dist/types/utils.d.ts +17 -0
  583. package/dist/types/utils.d.ts.map +1 -0
  584. package/docs/assets/index-BEgZEIbv.js +11196 -0
  585. package/docs/docs-mock-api-sw.js +19 -0
  586. package/docs/docs-mock-api-sw.js.map +2 -2
  587. package/docs/index.html +1 -1
  588. package/docs/src/docs/_core-concept/dataFlow.md +9 -3
  589. package/docs/src/docs/_decorators/bind.md +2 -2
  590. package/docs/src/docs/_decorators/get.md +13 -4
  591. package/docs/src/docs/_decorators/handle.md +5 -1
  592. package/docs/src/docs/_decorators/on-assign.md +2 -0
  593. package/docs/src/docs/_decorators/patch.md +45 -0
  594. package/docs/src/docs/_decorators/post.md +93 -0
  595. package/docs/src/docs/_decorators/publish.md +1 -1
  596. package/docs/src/docs/_decorators/put.md +43 -0
  597. package/docs/src/docs/_decorators/subscribe.md +4 -1
  598. package/docs/src/docs/_directives/sub.md +1 -1
  599. package/docs/src/docs/_getting-started/my-first-component.md +1 -1
  600. package/docs/src/docs/_misc/api-configuration.md +3 -1
  601. package/docs/src/docs/_misc/dataProviderKey.md +2 -2
  602. package/docs/src/docs/_misc/dynamic-path.md +71 -0
  603. package/docs/src/docs/_misc/endpoint.md +5 -3
  604. package/docs/src/docs/search/docs-search.json +540 -15
  605. package/docs/src/tsconfig.json +377 -353
  606. package/gitlab/job_github_mirror.sh +39 -0
  607. package/index.html +0 -1
  608. package/package.json +1084 -356
  609. package/public/docs-mock-api-sw.js +19 -0
  610. package/public/docs-mock-api-sw.js.map +2 -2
  611. package/scripts/github-export.mjs +150 -0
  612. package/scripts/post-build.mjs +43 -0
  613. package/scripts/pre-build.mjs +32 -4
  614. package/scripts/pre-publish.mjs +2 -0
  615. package/src/core/components/functional/example/example.ts +3 -3
  616. package/src/core/components/functional/queue/queue.ts +2 -2
  617. package/src/core/components/ui/icon/icon.ts +17 -2
  618. package/src/core/components/ui/menu/menu.ts +12 -3
  619. package/src/core/components/ui/modal/modal.ts +1 -1
  620. package/src/core/decorators/Subscriber.ts +1 -0
  621. package/src/core/decorators/api.post.spec.ts +293 -0
  622. package/src/core/decorators/api.spec.ts +6 -6
  623. package/src/core/decorators/api.ts +641 -12
  624. package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +197 -0
  625. package/src/core/decorators/subscriber/ancestorAttribute.ts +40 -7
  626. package/src/core/decorators/subscriber/autoSubscribe.ts +7 -3
  627. package/src/core/decorators/subscriber/bind.ts +13 -5
  628. package/src/core/decorators/subscriber/dynamicPath.spec.ts +53 -0
  629. package/src/core/decorators/subscriber/dynamicPath.ts +23 -1
  630. package/src/core/decorators/subscriber/handle.ts +3 -1
  631. package/src/core/decorators/subscriber/onAssign.ts +10 -2
  632. package/src/core/decorators/subscriber/publish.ts +12 -2
  633. package/src/core/mixins/Fetcher.ts +12 -6
  634. package/src/core/utils/AncestorAttributeObserver.ts +199 -0
  635. package/src/core/utils/HTML.ts +3 -11
  636. package/src/core/utils/PublisherProxy.ts +123 -48
  637. package/src/core/utils/api.ts +82 -13
  638. package/src/core/utils/dpOptions.spec.ts +56 -0
  639. package/src/core/utils/endpoint.ts +3 -3
  640. package/src/css.d.ts +19 -0
  641. package/src/decorators.ts +17 -1
  642. package/src/directives.ts +3 -2
  643. package/src/docs/_core-concept/dataFlow.md +9 -3
  644. package/src/docs/_decorators/ancestor-attribute.md +56 -8
  645. package/src/docs/_decorators/bind.md +2 -2
  646. package/src/docs/_decorators/get.md +13 -4
  647. package/src/docs/_decorators/handle.md +5 -1
  648. package/src/docs/_decorators/on-assign.md +2 -0
  649. package/src/docs/_decorators/patch.md +45 -0
  650. package/src/docs/_decorators/post.md +93 -0
  651. package/src/docs/_decorators/publish.md +1 -1
  652. package/src/docs/_decorators/put.md +43 -0
  653. package/src/docs/_decorators/subscribe.md +4 -1
  654. package/src/docs/_directives/sub.md +1 -1
  655. package/src/docs/_getting-started/my-first-component.md +1 -1
  656. package/src/docs/_misc/api-configuration.md +3 -1
  657. package/src/docs/_misc/dataProviderKey.md +2 -2
  658. package/src/docs/_misc/dynamic-path.md +71 -0
  659. package/src/docs/_misc/endpoint.md +5 -3
  660. package/src/docs/components/docs-demo-sources.ts +115 -4
  661. package/src/docs/components/docs-lit-demo-raw.ts +2 -26
  662. package/src/docs/components/docs-lit-demo.ts +9 -42
  663. package/src/docs/components/docs-source-excerpt.ts +53 -0
  664. package/src/docs/components/docs-source-link.ts +24 -8
  665. package/src/docs/components/docs-source-raw.ts +34 -0
  666. package/src/docs/example/decorators-demo-geo.ts +2 -2
  667. package/src/docs/example/decorators-demo-post.ts +249 -0
  668. package/src/docs/example/decorators-demo-subscribe-publish-get-demos.ts +5 -5
  669. package/src/docs/example/decorators-demo.ts +165 -8
  670. package/src/docs/example/docs-api-config-demos.ts +5 -5
  671. package/src/docs/mock-api/router.ts +20 -0
  672. package/src/docs/navigation/navigation.ts +16 -0
  673. package/src/docs/search/docs-search.json +602 -17
  674. package/src/tsconfig.declarations.json +22 -0
  675. package/src/tsconfig.emit.json +23 -0
  676. package/src/tsconfig.json +3 -261
  677. package/src/tsconfig.tsbuildinfo +1 -1
  678. package/vite.config.mts +1 -1
  679. package/docs/assets/index-CwtPzTFq.js +0 -7508
@@ -0,0 +1,53 @@
1
+ import { type DynamicPathOptions } from "./dynamicPath";
2
+ /**
3
+ * Catégories de valeurs « ignorables » par le garde `skip`. Chaque catégorie est
4
+ * un prédicat nommé (et non une égalité de valeur), ce qui lève toute ambiguïté
5
+ * entre « valeur » et « motif » (notamment pour l'objet vide).
6
+ */
7
+ export declare enum Skip {
8
+ /**
9
+ * `null` ou `undefined`. En pratique un publisher renvoie toujours `null`
10
+ * (jamais `undefined`) car `get()` coerce `undefined → null`.
11
+ */
12
+ Nullish = "nullish",
13
+ /** Chaîne vide `""`. */
14
+ EmptyString = "emptyString",
15
+ /** Objet sans clé (`{}`), tableau exclu. */
16
+ EmptyObject = "emptyObject",
17
+ /** Tableau vide (`[]`). */
18
+ EmptyArray = "emptyArray"
19
+ }
20
+ /**
21
+ * `true` si `value` appartient à au moins une des catégories `kinds`.
22
+ */
23
+ export declare function isSkipped(value: unknown, kinds: Skip[]): boolean;
24
+ export type OnAssignOptions = DynamicPathOptions & {
25
+ /**
26
+ * Quand `true`, le callback est invoqué à chaque assignation, même si la
27
+ * valeur reçue est `null`/`undefined`.
28
+ * Quand `false` (défaut), le callback n'est invoqué que lorsque toutes les
29
+ * valeurs surveillées sont définies (non `null` et non `undefined`).
30
+ */
31
+ dispatchWhenUndefined?: boolean;
32
+ /**
33
+ * Ne pas invoquer le callback si une valeur reçue appartient à l'une de ces
34
+ * catégories (ex. `[Skip.Nullish, Skip.EmptyObject]`).
35
+ */
36
+ skip?: Skip[];
37
+ };
38
+ /**
39
+ * @deprecated Utiliser `@handle` à la place.
40
+ *
41
+ * `@onAssign` prend des chemins sous forme de **chaînes** non typées et n'appelle
42
+ * la méthode que lorsque **toutes** les valeurs sont définies. `@handle` offre la
43
+ * même chose en **typé** (via `DataProviderKey`), avec des options explicites :
44
+ *
45
+ * - équivalent direct : `@onAssign("a", "b")` → `@handle(keyA, keyB, { waitForAllDefined: true })`
46
+ * - comportement par défaut de `@handle` : appel à chaque assignation (même `null`/`undefined`)
47
+ * - `skip` pour ignorer des catégories de valeurs (ex. `[Skip.Nullish, Skip.EmptyObject]`)
48
+ *
49
+ * `@onAssign` reste fonctionnel et inchangé le temps de la migration.
50
+ */
51
+ export declare function onAssign(...values: Array<string>): (target: unknown, _propertyKey: string, descriptor: PropertyDescriptor) => void;
52
+ export declare function createOnAssign(options: OnAssignOptions, values: Array<string>): (target: unknown, _propertyKey: string, descriptor: PropertyDescriptor) => void;
53
+ //# sourceMappingURL=onAssign.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onAssign.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/onAssign.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,eAAe,CAAC;AAuBvB;;;;GAIG;AACH,oBAAY,IAAI;IACd;;;OAGG;IACH,OAAO,YAAY;IACnB,wBAAwB;IACxB,WAAW,gBAAgB;IAC3B,4CAA4C;IAC5C,WAAW,gBAAgB;IAC3B,2BAA2B;IAC3B,UAAU,eAAe;CAC1B;AAaD;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,OAAO,CAEhE;AAED,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG;IACjD;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;CACf,CAAC;AAuBF;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,YAqBrC,OAAO,gBACD,MAAM,cACR,kBAAkB,UArBjC;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAenB,QAAQ,OAAO,EACf,cAAc,MAAM,EACpB,YAAY,kBAAkB,UA+IjC"}
@@ -0,0 +1,23 @@
1
+ import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
2
+ import { type DynamicPathOptions } from "./dynamicPath";
3
+ export type PublishOptions = DynamicPathOptions;
4
+ /**
5
+ * Publishes property writes to a publisher path. Inverse of @subscribe.
6
+ * When the property is set, the value is written to the publisher (reflect-only, no subscription).
7
+ * The decorated property is typed as `T` (or optional / `| null` / `| undefined` for Lit / TS 5).
8
+ * Supports dynamic paths: use placeholders like "users.${userIndex}.email" in the DataProviderKey.
9
+ *
10
+ * @example
11
+ * const formKey = new DataProviderKey<FormData>("formData");
12
+ * @publish(formKey.email)
13
+ * @state()
14
+ * email = "";
15
+ *
16
+ * // Dynamic path + hôte typé via le 2ᵉ générique de la clé :
17
+ * @publish(new DataProviderKey<string, { userIndex: number }>("users.${userIndex}.email"))
18
+ * email = "";
19
+ */
20
+ export declare function publish<T, U = any>(key: DataProviderKey<T, U>, options?: PublishOptions): <K extends string>(target: DataProviderKeyHost<U> & {
21
+ [P in K]?: T | null | undefined;
22
+ }, propertyKey: K) => void;
23
+ //# sourceMappingURL=publish.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/publish.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAOhD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAChC,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,CAAC,CAAC,SAAS,MAAM,EAClB,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS;CAAE,EACpE,WAAW,EAAE,CAAC,KACX,IAAI,CAoHR"}
@@ -0,0 +1,3 @@
1
+ import DataProvider from "../../utils/PublisherProxy";
2
+ export declare function getPublisherFromPath(path: string): DataProvider | null;
3
+ //# sourceMappingURL=publisherPath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publisherPath.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/publisherPath.ts"],"names":[],"mappings":"AACA,OAAO,YAAkC,MAAM,4BAA4B,CAAC;AAE5E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAStE"}
@@ -0,0 +1,20 @@
1
+ import type { DataProviderKey, DataProviderKeyHost } from "../../utils/dataProviderKey";
2
+ /**
3
+ * Read-only subscription to a publisher path via DataProviderKey&lt;T&gt;. No reflect.
4
+ * The decorated property is typed as `T` (or optional / `| null` / `| undefined` for Lit / TS 5).
5
+ * Supports dynamic paths: use placeholders like "users.${userIndex}" in the DataProviderKey.
6
+ *
7
+ * @example
8
+ * const dataKey = new DataProviderKey<Data>("data");
9
+ * @subscribe(dataKey.count)
10
+ * @state()
11
+ * count: number;
12
+ *
13
+ * // Dynamic path:
14
+ * @subscribe(new DataProviderKey<User>("users.${userIndex}"))
15
+ * user: User | null;
16
+ */
17
+ export declare function subscribe<T, U = any>(key: DataProviderKey<T, U>): <K extends string>(target: DataProviderKeyHost<U> & {
18
+ [P in K]?: T | null | undefined;
19
+ }, propertyKey: K) => void;
20
+ //# sourceMappingURL=subscribe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["../../../../../src/core/decorators/subscriber/subscribe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAGrC;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAClC,GAAG,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GACzB,CAAC,CAAC,SAAS,MAAM,EAClB,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS;CAAE,EACpE,WAAW,EAAE,CAAC,KACX,IAAI,CAKR"}
@@ -0,0 +1,45 @@
1
+ import { AsyncDirective } from "lit/async-directive.js";
2
+ import { SearchableDomElement } from "../utils/HTML";
3
+ import { dataProvider as pubDataProvider, dp as pubDp, DataProvider } from "../utils/PublisherProxy";
4
+ export type SubPathInput = string | {
5
+ path: string;
6
+ };
7
+ declare class ObserveDirective extends AsyncDirective {
8
+ observables: Set<DataProvider<any>>;
9
+ pathTemplate?: string;
10
+ /** Chemin résolu actuellement abonné */
11
+ resolvedPath?: string;
12
+ cleanupWatchers: Array<() => void>;
13
+ node?: SearchableDomElement;
14
+ constructor(partInfo: any);
15
+ private teardownWatchers;
16
+ private normalizeInput;
17
+ render(input: SubPathInput): symbol;
18
+ private setupSubscription;
19
+ private refreshSubscription;
20
+ onAssign: (v: unknown) => void;
21
+ subscribe<T>(observable: string): void;
22
+ unsubscribe(): void;
23
+ disconnected(): void;
24
+ reconnected(): void;
25
+ }
26
+ export declare const subscribe: (input: SubPathInput) => import("lit-html/directive.js").DirectiveResult<typeof ObserveDirective>;
27
+ export declare const sub: (input: SubPathInput) => import("lit-html/directive.js").DirectiveResult<typeof ObserveDirective>;
28
+ /**
29
+ * @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#get"}
30
+ */
31
+ export declare const get: <T = any>(id: string) => T;
32
+ /**
33
+ * @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#dataProvider"}
34
+ */
35
+ export declare const dataProvider: typeof pubDataProvider;
36
+ /**
37
+ * @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#dp"}
38
+ */
39
+ export declare const dp: typeof pubDp;
40
+ /**
41
+ * @deprecated @see {@link "/src/core/utils/PublisherProxy.ts#set"}
42
+ */
43
+ export declare const set: <T = any>(id: string, value: T) => void;
44
+ export {};
45
+ //# sourceMappingURL=DataProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/directives/DataProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAY,MAAM,wBAAwB,CAAC;AAGlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAUrD,OAAO,EAIL,YAAY,IAAI,eAAe,EAC/B,EAAE,IAAI,KAAK,EACX,YAAY,EACb,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC;AAEnD,cAAM,gBAAiB,SAAQ,cAAc;IAC3C,WAAW,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAa;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,CAAM;IACxC,IAAI,CAAC,EAAE,oBAAoB,CAAC;gBAGhB,QAAQ,EAAE,GAAG;IAMzB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,cAAc;IAItB,MAAM,CAAC,KAAK,EAAE,YAAY;IAgB1B,OAAO,CAAC,iBAAiB;IAuBzB,OAAO,CAAC,mBAAmB;IA6B3B,QAAQ,GAAI,GAAG,OAAO,UAEpB;IAEF,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM;IAY/B,WAAW,IAAI,IAAI;IAOnB,YAAY;IAMZ,WAAW;CAIZ;AAID,eAAO,MAAM,SAAS,mGAAM,CAAC;AAC7B,eAAO,MAAM,GAAG,mGAAM,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,KAAK,CAAU,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,wBAAkB,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,EAAE,cAAQ,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,GAAG,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,KAAK,IAAa,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { AsyncDirective } from "lit/async-directive.js";
2
+ import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
3
+ import API from "@supersoniks/concorde/core/utils/api";
4
+ import { SearchableDomElement } from "../utils/HTML";
5
+ type ApiCallKey = {
6
+ apiConfiguration: APIConfiguration;
7
+ wordingProvider: string | null;
8
+ wordingVersionProvider: string | null;
9
+ };
10
+ type ApiCallValue = {
11
+ api: API;
12
+ keysToTranslate: Set<string>;
13
+ translatedKeys: Set<string>;
14
+ wordingProvider: string | null;
15
+ callIndex: number;
16
+ wordingVersionProvider: string | null;
17
+ apiCallKey: ApiCallKey;
18
+ };
19
+ export declare const loadingString = "";
20
+ export declare const isWordingReady: (key: string) => boolean;
21
+ export default class WordingDirective extends AsyncDirective {
22
+ static publisher: import("@supersoniks/concorde/core/utils/PublisherProxy").DataProvider<any>;
23
+ unsubscribe(): void;
24
+ key?: string;
25
+ node?: SearchableDomElement;
26
+ useUnsafeHTML: boolean;
27
+ constructor(partInfo: any);
28
+ render(key: string, useUnsafeHTML?: boolean): symbol;
29
+ static firstCall: boolean;
30
+ static callApi(node: SearchableDomElement | null, key: string, relaunch?: boolean, usedApiCall?: ApiCallValue): Promise<void>;
31
+ static reloadWordings(): void;
32
+ static versionProviderHandlers: Map<ApiCallValue, (v: number) => void>;
33
+ static handleVersionProvider(node: SearchableDomElement): (_v: number) => void;
34
+ onAssign: (v: unknown) => void;
35
+ subscribe(key: string): void;
36
+ disconnected(): void;
37
+ reconnected(): void;
38
+ }
39
+ export declare const wording: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
40
+ export declare const unsafeWording: (key: string) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
41
+ export declare const t: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
42
+ export declare const w: (key: string, useUnsafeHTML?: boolean | undefined) => import("lit-html/directive.js").DirectiveResult<typeof WordingDirective>;
43
+ export {};
44
+ //# sourceMappingURL=Wording.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wording.d.ts","sourceRoot":"","sources":["../../../../src/core/directives/Wording.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAKxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,GAAG,MAAM,sCAAsC,CAAC;AAEvD,OAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG3D,KAAK,UAAU,GAAG;IAChB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AACF,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AA0CF,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,YAGzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,cAAc;IAC1D,MAAM,CAAC,SAAS,8EAEb;IACH,WAAW,IAAI,IAAI;IAGnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,aAAa,UAAS;gBAGV,QAAQ,EAAE,GAAG;IAMzB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,UAAQ;IAWzC,MAAM,CAAC,SAAS,UAAQ;WACX,OAAO,CAClB,IAAI,EAAE,oBAAoB,GAAG,IAAI,EACjC,GAAG,EAAE,MAAM,EACX,QAAQ,UAAO,EACf,WAAW,CAAC,EAAE,YAAY;IAgF5B,MAAM,CAAC,cAAc;IASrB,MAAM,CAAC,uBAAuB,EAAE,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC,CAC1D;IAEZ,MAAM,CAAC,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,QAE1B,MAAM;IAuCnC,QAAQ,GAAI,GAAG,OAAO,UAGpB;IAIF,SAAS,CAAC,GAAG,EAAE,MAAM;IAUrB,YAAY;IAKZ,WAAW;CAIZ;AAGD,eAAO,MAAM,OAAO,gIAA8B,CAAC;AACnD,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,6EAAuB,CAAC;AACjE,eAAO,MAAM,CAAC,gIAAU,CAAC;AACzB,eAAO,MAAM,CAAC,gIAAU,CAAC"}
@@ -0,0 +1,108 @@
1
+ import "@supersoniks/concorde/core/components/ui/button/button";
2
+ import { SubscriberInterface } from "@supersoniks/concorde/core/mixins/Subscriber";
3
+ import API from "@supersoniks/concorde/core/utils/api";
4
+ import { PublisherContentType } from "../_types/types";
5
+ import { MixinArgsType } from "../_types/types";
6
+ import { ResultTypeInterface } from "@supersoniks/concorde/core/utils/api";
7
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
8
+ export declare const invalidateFetchersInError: () => void;
9
+ export declare const onFetchError: (errorListener: (apiResponse: Response) => void) => void;
10
+ export declare const offFetchError: (errorListener: (apiResponse: Response) => void) => void;
11
+ declare const Fetcher: <T extends Constructor<SubscriberInterface<PropsType>>, PropsType extends PublisherContentType = PublisherContentType>(superClass: T, propsType?: PropsType) => {
12
+ new (...args: MixinArgsType[]): {
13
+ api: API | null;
14
+ /**
15
+ * Après le chargement des données on traverse l'objet reçu en fonctione de la cible exprimées dans cette propriété avec la dot syntaxe.
16
+ * C'est cette donnée cible qui est injectée dans les pros et donc disponible via le publisher disponible globalement via PublisherManager.get(dataProvider)
17
+ */
18
+ key: string;
19
+ /**
20
+ * isFirstLoad vaut true jusqu'au premier chargement de données
21
+ */
22
+ isFirstLoad: boolean;
23
+ /**
24
+ * isLoading vaut true pendant le chargement des données
25
+ */
26
+ isLoading: boolean;
27
+ lazyLoad?: boolean;
28
+ /**
29
+ * IObserver est l'intersection observer qui permet de charger les données au scroll si l'attribut lazyload est renseigné
30
+ */
31
+ iObserver: IntersectionObserver | null;
32
+ /**
33
+ * On peut désactiver le fetch programmatiquement via cette propriété.
34
+ * Cela est le cas pour le composant sonic-list qui ne fetch que si l'attribut fetch est renseigné
35
+ */
36
+ isFetchEnabled: boolean;
37
+ /**
38
+ * Result of the fetch
39
+ */
40
+ fetchedData: any;
41
+ _endPoint: string;
42
+ noErrorsRecordings: boolean;
43
+ get props(): (PropsType & ResultTypeInterface) | null;
44
+ set props(value: (PropsType & ResultTypeInterface) | null);
45
+ get endPoint(): string;
46
+ set endPoint(value: string);
47
+ requestId: number;
48
+ refetchEveryMs: number;
49
+ refetchTimeOutId?: ReturnType<typeof setTimeout>;
50
+ /**
51
+ * _isFetching est une propriété sensée privée qui permet de savoir si un fetch est en cours
52
+ * Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
53
+ */
54
+ _isFetching: boolean;
55
+ /**
56
+ * _mustRefetch est une propriété sensée privée qui permet de savoir si un fetch est en cours
57
+ * Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
58
+ */
59
+ _mustRefetch: boolean;
60
+ handleStartFetching(): "fetching" | "okToFetch";
61
+ handleEndFetching(): void;
62
+ refetch(): Promise<void>;
63
+ /**
64
+ *
65
+ * C'est ici que les données sont chargées via l'utilitaire API
66
+ * Elles sont ensuite injectées dans le publisher en accord avec la cible définie dans la propriété key
67
+ * Un Toast est affiché si le chargement échoue
68
+ */
69
+ _fetchData(): Promise<void>;
70
+ onInvalidate?: () => void;
71
+ disconnectedCallback(): void;
72
+ connectedCallback(): void;
73
+ /**
74
+ * Première update, le comportement de lazyload est géré ici a l'aide d'un intersection observer.
75
+ */
76
+ lazyLoadPlaceHolder?: HTMLSpanElement;
77
+ handleLazyLoad(): void;
78
+ onIntersection(entries: IntersectionObserverEntry[]): void;
79
+ propertyMap: object;
80
+ isConnected: boolean;
81
+ children: HTMLCollection;
82
+ appendChild(node: Node): Node;
83
+ getAncestorAttributeValue(attributeName: string): string;
84
+ hasAncestorAttribute(attributeName: string): boolean;
85
+ querySelectorAll(selector: string): NodeListOf<Element>;
86
+ publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType_1>>;
87
+ dataProvider: string | null;
88
+ noShadowDom: string | null;
89
+ debug: HTMLElement | null;
90
+ defferedDebug: boolean | null;
91
+ displayContents: boolean;
92
+ shadowRoot?: ShadowRoot;
93
+ shouldRenderLazy: boolean;
94
+ dispatchEvent(event: Event): void;
95
+ setAttribute(name: string, value: string): void;
96
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
97
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
98
+ removeAttribute(name: string): void;
99
+ initPublisher(): void;
100
+ getApiConfiguration(): import("@supersoniks/concorde/core/utils/api").APIConfiguration;
101
+ requestUpdate(): void;
102
+ getAttribute(name: string): string;
103
+ hasAttribute(attributeName: string): boolean;
104
+ getBoundingClientRect(): DOMRect;
105
+ };
106
+ } & T;
107
+ export default Fetcher;
108
+ //# sourceMappingURL=Fetcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fetcher.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/Fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,wDAAwD,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,GAAG,MAAM,sCAAsC,CAAC;AAIvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAI1D,eAAO,MAAM,yBAAyB,YAMrC,CAAC;AAIF,eAAO,MAAM,YAAY,GACvB,eAAe,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI,SAG/C,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,eAAe,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI,SAG/C,CAAC;AAqBF,QAAA,MAAM,OAAO,GACX,CAAC,SAAS,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,EACrD,SAAS,SAAS,oBAAoB,GAAG,oBAAoB,EAE7D,YAAY,CAAC,EACb,YAAY,SAAS;kBAmCE,aAAa,EAAE;aA/B/B,GAAG,GAAG,IAAI;QACf;;;WAGG;;QAEH;;WAEG;;QAEH;;WAEG;;mBAEQ,OAAO;QAElB;;WAEG;mBACQ,oBAAoB,GAAG,IAAI;QACtC;;;WAGG;;QAGH;;WAEG;qBACU,GAAG;;;qBAWS,CAAC,SAAS,GAAG,mBAAmB,CAAC,GAAG,IAAI;yBAAxC,CAAC,SAAS,GAAG,mBAAmB,CAAC,GAAG,IAAI;wBAWjD,MAAM;4BAJ0B,MAAM;;;2BAUnC,UAAU,CAAC,OAAO,UAAU,CAAC;QAEhD;;;WAGG;;QAGH;;;WAGG;;+BAEoB,UAAU,GAAG,WAAW;;;QAqB/C;;;;;WAKG;;uBAqGY,MAAM,IAAI;gCACD,IAAI;;QAmC5B;;WAEG;8BACmB,eAAe;;gCAmEb,yBAAyB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAatD,CAAC;AACF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,95 @@
1
+ import { FormElementInterface } from "@supersoniks/concorde/core/mixins/FormElement";
2
+ import { MixinArgsType } from "../_types/types";
3
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
4
+ declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T) => {
5
+ new (...args: MixinArgsType[]): {
6
+ /**
7
+ * Voir la mixin FormElement.
8
+ */
9
+ _value: string | null;
10
+ get value(): string | null;
11
+ set value(newValue: string | null);
12
+ forceAutoFill: boolean;
13
+ /**
14
+ * comme radio,mais peut être désélectionné après sélection
15
+ */
16
+ unique: true | null;
17
+ /**
18
+ Active le mode radio
19
+ */
20
+ radio: true | null;
21
+ /**
22
+ * propriété checked avec des caractéristiques similaire à un input html classique.
23
+ */
24
+ _checked: true | null | "indeterminate";
25
+ get checked(): true | null | "indeterminate";
26
+ set checked(checked: true | null | "indeterminate");
27
+ validateFormElement(): void;
28
+ checksAll(): boolean;
29
+ setCheckedValue(checked: true | null | "indeterminate"): void;
30
+ handleChange(): void;
31
+ /**
32
+ * Voir la mixin FormElement
33
+ * Le comportement est ici modifié fonction de son mode (checkbox, radio, unique)
34
+ */
35
+ getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
36
+ /**
37
+ * Voir la mixin FormElement
38
+ * Le comportement est modifié de la manière suivante :
39
+ * L'état du composant (checked) est mis à jour en fonction de la valeur fournie par le publisher associé au composant / en fonction de sont mode (radio, unique)
40
+ */
41
+ setFormValueFromPublisher(value: string | Array<string | null> | null): void;
42
+ getCheckAllPublisher(): import("@supersoniks/concorde/utils").DataProvider<any> | null;
43
+ updateAllChecked: () => void;
44
+ onChecksAllRequest: (value: string) => void;
45
+ unset(): void;
46
+ disconnectedCallback(): void;
47
+ connectedCallback(): void;
48
+ getFormPublisher(): import("../_types/types").PublisherInterface;
49
+ updateDataValue(): void;
50
+ handleBlur(e?: Event): void;
51
+ setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
52
+ setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
53
+ getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
54
+ unsetOnDisconnect(): boolean;
55
+ focus?: () => void;
56
+ shadowRoot?: ShadowRoot;
57
+ error: boolean;
58
+ autofocus: boolean;
59
+ required: boolean;
60
+ disabled: boolean;
61
+ formDataProvider: string;
62
+ ariaLabelledby?: string;
63
+ ariaLabel?: string;
64
+ _name: string;
65
+ name: string;
66
+ props: import("../_types/types").CoreJSType;
67
+ propertyMap: object;
68
+ isConnected: boolean;
69
+ children: HTMLCollection;
70
+ appendChild(node: Node): Node;
71
+ getAncestorAttributeValue(attributeName: string): string;
72
+ hasAncestorAttribute(attributeName: string): boolean;
73
+ querySelectorAll(selector: string): NodeListOf<Element>;
74
+ publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType>>;
75
+ dataProvider: string | null;
76
+ noShadowDom: string | null;
77
+ debug: HTMLElement | null;
78
+ defferedDebug: boolean | null;
79
+ displayContents: boolean;
80
+ shouldRenderLazy: boolean;
81
+ dispatchEvent(event: Event): void;
82
+ setAttribute(name: string, value: string): void;
83
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
84
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
85
+ removeAttribute(name: string): void;
86
+ initPublisher(): void;
87
+ getApiConfiguration(): import("../utils/api").APIConfiguration;
88
+ requestUpdate(): void;
89
+ getAttribute(name: string): string;
90
+ hasAttribute(attributeName: string): boolean;
91
+ getBoundingClientRect(): DOMRect;
92
+ };
93
+ } & T;
94
+ export default Form;
95
+ //# sourceMappingURL=FormCheckable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormCheckable.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormCheckable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AAErF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,oBAAoB,CAAC,EAAE,YAAY,CAAC;kBADpC,aAAa,EAAE;QAW/C;;WAEG;gBACK,MAAM,GAAG,IAAI;qBACI,MAAM,GAAG,IAAI;4BAGlB,MAAM,GAAG,IAAI;;QAiCjC;;WAEG;gBACkC,IAAI,GAAG,IAAI;QAChD;;WAEG;eACiC,IAAI,GAAG,IAAI;QAE/C;;WAEG;kBACO,IAAI,GAAG,IAAI,GAAG,eAAe;uBACZ,IAAI,GAAG,IAAI,GAAG,eAAe;6BAG5B,IAAI,GAAG,IAAI,GAAG,eAAe;;;iCA0ChC,IAAI,GAAG,IAAI,GAAG,eAAe;;QAsBtD;;;WAGG;;QAwBH;;;;WAIG;yCAC8B,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI;;;6BAmE/C,OAAO,MAAM;;gCAkBX,IAAI;6BAiBP,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuC5B,CAAC;AACF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { SubscriberInterface } from "@supersoniks/concorde/core/mixins/Subscriber";
2
+ import { PublisherInterface } from "../_types/types";
3
+ import { MixinArgsType } from "../_types/types";
4
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
5
+ export type FormElementValue = string | string[] | object | null | undefined;
6
+ export interface FormElementInterface extends SubscriberInterface {
7
+ getFormPublisher(): PublisherInterface;
8
+ updateDataValue(): void;
9
+ handleChange(e?: Event): void;
10
+ handleBlur(e?: Event): void;
11
+ getValueForFormPublisher(): FormElementValue;
12
+ setValueFromPublisher(value: FormElementValue): void;
13
+ setFormPublisherValue(value: FormElementValue): void;
14
+ getFormPublisherValue(): FormElementValue;
15
+ unsetOnDisconnect(): boolean;
16
+ unset(): void;
17
+ validateFormElement(): void;
18
+ focus?: () => void;
19
+ forceAutoFill: boolean;
20
+ shadowRoot?: ShadowRoot;
21
+ error: boolean;
22
+ autofocus: boolean;
23
+ required: boolean;
24
+ disabled: boolean;
25
+ formDataProvider: string;
26
+ ariaLabelledby?: string;
27
+ ariaLabel?: string;
28
+ _value: FormElementValue;
29
+ get value(): FormElementValue;
30
+ set value(value: FormElementValue);
31
+ _name: string;
32
+ get name(): string;
33
+ set name(value: string);
34
+ }
35
+ declare const Form: <T extends Constructor<SubscriberInterface>>(superClass: T) => Constructor<FormElementInterface> & T;
36
+ export default Form;
37
+ //# sourceMappingURL=FormElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormElement.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAGnF,OAAO,EACL,kBAAkB,EAGnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;AAC7E,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,gBAAgB,IAAI,kBAAkB,CAAC;IACvC,eAAe,IAAI,IAAI,CAAC;IACxB,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,wBAAwB,IAAI,gBAAgB,CAAC;IAC7C,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrD,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACrD,qBAAqB,IAAI,gBAAgB,CAAC;IAC1C,iBAAiB,IAAI,OAAO,CAAC;IAC7B,KAAK,IAAI,IAAI,CAAC;IAEd,mBAAmB,IAAI,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,KAAK,IAAI,gBAAgB,CAAC;IAC9B,IAAI,KAAK,CAAC,KAAK,EAAE,gBAAgB,EAAE;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,IAAI,IAAI,MAAM,CAAC;IACnB,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;CACzB;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,mBAAmB,CAAC,EAAE,YAAY,CAAC,KAgT/C,WAAW,CAAC,oBAAoB,CAAC,GAAG,CAC3D,CAAC;AACF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { FormElementInterface } from "@supersoniks/concorde/core/mixins/FormElement";
2
+ import { MixinArgsType } from "../_types/types";
3
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
4
+ type Type = "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
5
+ declare const Form: <T extends Constructor<FormElementInterface>>(superClass: T) => {
6
+ new (...args: MixinArgsType[]): {
7
+ validateFormElement(): void;
8
+ forceAutoFill: boolean;
9
+ /**
10
+ * Le type De l'input, comme en html cependant tous les types ne sont pas actuellements compatibles en raison du style en vigueur
11
+ * On peut essayer text, date, color, email par exemple, mais pas radio/checkbox/range a priori
12
+ */
13
+ _type: Type;
14
+ get type(): Type;
15
+ set type(value: Type);
16
+ _description?: string;
17
+ get description(): string | undefined;
18
+ set description(value: string | undefined);
19
+ _label?: string;
20
+ get label(): string | undefined;
21
+ set label(value: string | undefined);
22
+ status: "default" | "success" | "error" | "warning" | "info";
23
+ tabindex?: number;
24
+ autocomplete?: "off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
25
+ getFormPublisher(): import("../_types/types").PublisherInterface;
26
+ updateDataValue(): void;
27
+ handleChange(e?: Event): void;
28
+ handleBlur(e?: Event): void;
29
+ getValueForFormPublisher(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
30
+ setValueFromPublisher(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
31
+ setFormPublisherValue(value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue): void;
32
+ getFormPublisherValue(): import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
33
+ unsetOnDisconnect(): boolean;
34
+ unset(): void;
35
+ focus?: () => void;
36
+ shadowRoot?: ShadowRoot;
37
+ error: boolean;
38
+ autofocus: boolean;
39
+ required: boolean;
40
+ disabled: boolean;
41
+ formDataProvider: string;
42
+ ariaLabelledby?: string;
43
+ ariaLabel?: string;
44
+ _value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
45
+ value: import("@supersoniks/concorde/core/mixins/FormElement").FormElementValue;
46
+ _name: string;
47
+ name: string;
48
+ props: import("../_types/types").CoreJSType;
49
+ propertyMap: object;
50
+ isConnected: boolean;
51
+ children: HTMLCollection;
52
+ appendChild(node: Node): Node;
53
+ getAncestorAttributeValue(attributeName: string): string;
54
+ hasAncestorAttribute(attributeName: string): boolean;
55
+ querySelectorAll(selector: string): NodeListOf<Element>;
56
+ publisher: import("../_types/types").TypeAndRecordOfType<import("../_types/types").PublisherInterface<PropsType>>;
57
+ dataProvider: string | null;
58
+ noShadowDom: string | null;
59
+ debug: HTMLElement | null;
60
+ defferedDebug: boolean | null;
61
+ displayContents: boolean;
62
+ shouldRenderLazy: boolean;
63
+ dispatchEvent(event: Event): void;
64
+ setAttribute(name: string, value: string): void;
65
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
66
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
67
+ removeAttribute(name: string): void;
68
+ initPublisher(): void;
69
+ getApiConfiguration(): import("../utils/api").APIConfiguration;
70
+ connectedCallback(): void;
71
+ requestUpdate(): void;
72
+ getAttribute(name: string): string;
73
+ hasAttribute(attributeName: string): boolean;
74
+ disconnectedCallback(): void;
75
+ getBoundingClientRect(): DOMRect;
76
+ };
77
+ } & T;
78
+ export default Form;
79
+ //# sourceMappingURL=FormInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormInput.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/FormInput.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAC1D,KAAK,IAAI,GACL,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;AACX,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,WAAW,CAAC,oBAAoB,CAAC,EAAE,YAAY,CAAC;kBAE/C,aAAa,EAAE;;;QAYpC;;;WAGG;eACI,IAAI;;;uBASI,MAAM;2BACU,MAAM,GAAG,SAAS;+BAAlB,MAAM,GAAG,SAAS;iBAQxC,MAAM;qBACU,MAAM,GAAG,SAAS;yBAAlB,MAAM,GAAG,SAAS;gBAQM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM;mBAChE,MAAM;uBAEvC,KAAK,GACL,IAAI,GACJ,MAAM,GACN,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,OAAO,GACP,UAAU,GACV,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,SAAS,GACT,cAAc,GACd,aAAa,GACb,SAAS,GACT,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,WAAW,GACX,QAAQ,GACR,cAAc,GACd,aAAa,GACb,QAAQ,GACR,SAAS,GACT,sBAAsB,GACtB,oBAAoB,GACpB,UAAU,GACV,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,KAAK,GACL,KAAK,GACL,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,WAAW,GACX,eAAe,GACf,MAAM,GACN,KAAK,GACL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAId,CAAC;AACF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { APIConfiguration } from "@supersoniks/concorde/core/utils/api";
2
+ import { LitElement } from "lit";
3
+ import { PublisherInterface, TypeAndRecordOfType, MixinArgsType, CoreJSType } from "@supersoniks/concorde/core/_types/types";
4
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
5
+ export interface SubscriberInterface<PropsType = CoreJSType> {
6
+ props: PropsType | null;
7
+ propertyMap: object;
8
+ isConnected: boolean;
9
+ children: HTMLCollection;
10
+ appendChild(node: Node): Node;
11
+ getAncestorAttributeValue(attributeName: string): string;
12
+ hasAncestorAttribute(attributeName: string): boolean;
13
+ querySelectorAll(selector: string): NodeListOf<Element>;
14
+ publisher: TypeAndRecordOfType<PublisherInterface<PropsType>>;
15
+ dataProvider: string | null;
16
+ noShadowDom: string | null;
17
+ debug: HTMLElement | null;
18
+ defferedDebug: boolean | null;
19
+ displayContents: boolean;
20
+ shadowRoot?: ShadowRoot;
21
+ shouldRenderLazy: boolean;
22
+ dispatchEvent(event: Event): void;
23
+ setAttribute(name: string, value: string): void;
24
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
25
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
26
+ removeAttribute(name: string): void;
27
+ initPublisher(): void;
28
+ getApiConfiguration(): APIConfiguration;
29
+ connectedCallback(): void;
30
+ requestUpdate(): void;
31
+ getAttribute(name: string): string;
32
+ hasAttribute(attributeName: string): boolean;
33
+ disconnectedCallback(): void;
34
+ getBoundingClientRect(): DOMRect;
35
+ }
36
+ declare const Subscriber: <PropsType = CoreJSType, T extends Constructor<LitElement> = Constructor<LitElement>>(superClass: T, type?: PropsType) => Constructor<SubscriberInterface<PropsType>> & T;
37
+ export default Subscriber;
38
+ //# sourceMappingURL=Subscriber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Subscriber.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/Subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAKxE,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AAGjD,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EAEnB,aAAa,EACb,UAAU,EACX,MAAM,yCAAyC,CAAC;AAEjD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAG1D,MAAM,WAAW,mBAAmB,CAAC,SAAS,GAAG,UAAU;IACzD,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,yBAAyB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;IACzD,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IACrD,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACxD,SAAS,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC;IAC9D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAChD,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IACR,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IACR,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,IAAI,IAAI,CAAC;IACtB,mBAAmB,IAAI,gBAAgB,CAAC;IACxC,iBAAiB,IAAI,IAAI,CAAC;IAC1B,aAAa,IAAI,IAAI,CAAC;IACtB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7C,oBAAoB,IAAI,IAAI,CAAC;IAC7B,qBAAqB,IAAI,OAAO,CAAC;CAClC;AAED,QAAA,MAAM,UAAU,GACd,SAAS,GAAG,UAAU,EACtB,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,GAAG,WAAW,CAAC,UAAU,CAAC,EAE3D,YAAY,CAAC,EACb,OAAO,SAAS,KA8UY,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,GAAG,CAC3E,CAAC;AACF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { LitElement } from "lit";
2
+ import { MixinArgsType } from "../_types/types";
3
+ type Constructor<T> = new (...args: MixinArgsType[]) => T;
4
+ export declare class TemplatesContainerInterface extends LitElement {
5
+ connectedCallback(): void;
6
+ templateParts: Record<string, HTMLTemplateElement>;
7
+ templatePartsList: HTMLTemplateElement[];
8
+ templates: HTMLTemplateElement[];
9
+ templateList: HTMLTemplateElement[];
10
+ templateValueAttribute: string;
11
+ }
12
+ declare const TemplatesContainer: <T extends Constructor<LitElement>>(superClass: T) => Constructor<TemplatesContainerInterface> & T;
13
+ export default TemplatesContainer;
14
+ //# sourceMappingURL=TemplatesContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TemplatesContainer.d.ts","sourceRoot":"","sources":["../../../../src/core/mixins/TemplatesContainer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;AAE1D,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,UAAU;IACjE,iBAAiB,IAAI,IAAI;IACzB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IACnD,iBAAiB,EAAE,mBAAmB,EAAE,CAAC;IACzC,SAAS,EAAE,mBAAmB,EAAE,CAAC;IACjC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,sBAAsB,EAAE,MAAM,CAAC;CAChC;AACD,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAC3D,YAAY,CAAC,KA6DuB,WAAW,CAAC,2BAA2B,CAAC,GAC1E,CACH,CAAC;AACF,eAAe,kBAAkB,CAAC"}