@supersoniks/concorde 4.9.94 → 4.9.96

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 (636) hide show
  1. package/README.md +16 -30
  2. package/build-infos.json +1 -1
  3. package/concorde-core.bundle.js +1 -1
  4. package/concorde-core.es.js +1 -1
  5. package/dist/concorde-core.bundle.js +1 -1
  6. package/dist/concorde-core.es.js +1 -1
  7. package/docs/assets/{index-D2Q3JyQ6.css → index-BZiZXMU-.css} +1 -1
  8. package/docs/assets/index-FmK4JaIM.js +11992 -0
  9. package/docs/crawl/core/components/functional/jsonata/jsonata.html +79 -0
  10. package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +1 -1
  11. package/docs/crawl/docs/_core-concept/dataFlow.html +12 -1
  12. package/docs/crawl/docs/_misc/docs-mock-api.html +12 -0
  13. package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +138 -0
  14. package/docs/crawl/docs/_misc/html-integration.html +3 -2
  15. package/docs/crawl/hubs/remote-data.html +3 -5
  16. package/docs/crawl/index.html +2 -0
  17. package/docs/docs-mock-api-sw.js +110 -0
  18. package/docs/docs-mock-api-sw.js.map +3 -3
  19. package/docs/index.html +2 -2
  20. package/docs/llms-full.txt +193 -2
  21. package/docs/llms.txt +2 -0
  22. package/docs/sitemap.xml +6 -0
  23. package/docs/src/core/components/functional/jsonata/jsonata.md +56 -0
  24. package/docs/src/core/components/ui/form/checkbox/checkbox.md +1 -1
  25. package/docs/src/docs/_core-concept/dataFlow.md +10 -1
  26. package/docs/src/docs/_misc/docs-mock-api.md +3 -0
  27. package/docs/src/docs/_misc/formelement-subscriber-removal.md +115 -0
  28. package/docs/src/docs/_misc/html-integration.md +2 -0
  29. package/docs/src/docs/search/docs-search.json +180 -0
  30. package/docs/src/tsconfig.json +18 -0
  31. package/package.json +379 -1102
  32. package/scripts/post-build.mjs +0 -43
  33. package/scripts/pre-build.mjs +4 -33
  34. package/scripts/pre-publish.mjs +0 -2
  35. package/src/core/components/functional/sdui/sdui.md +0 -0
  36. package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
  37. package/src/core/components/ui/form/input/input.ts +0 -0
  38. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
  39. package/src/core/components/ui/form/select/select.ts +0 -0
  40. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  41. package/src/core/mixins/Fetcher.ts +1 -1
  42. package/src/docs/_getting-started/create-a-component.md +0 -0
  43. package/src/docs/search/docs-search.json +2128 -713
  44. package/src/tsconfig.json +309 -0
  45. package/vite/config.js +23 -35
  46. package/dist/js/components.js +0 -12
  47. package/dist/js/components.js.map +0 -1
  48. package/dist/js/concorde-loaded.js +0 -5
  49. package/dist/js/concorde-loaded.js.map +0 -1
  50. package/dist/js/core/_types/endpoint.js +0 -5
  51. package/dist/js/core/_types/endpoint.js.map +0 -1
  52. package/dist/js/core/_types/key.js +0 -2
  53. package/dist/js/core/_types/key.js.map +0 -1
  54. package/dist/js/core/_types/types.js +0 -3
  55. package/dist/js/core/_types/types.js.map +0 -1
  56. package/dist/js/core/components/functional/date/date.js +0 -272
  57. package/dist/js/core/components/functional/date/date.js.map +0 -1
  58. package/dist/js/core/components/functional/example/example.js +0 -44
  59. package/dist/js/core/components/functional/example/example.js.map +0 -1
  60. package/dist/js/core/components/functional/fetch/fetch.js +0 -79
  61. package/dist/js/core/components/functional/fetch/fetch.js.map +0 -1
  62. package/dist/js/core/components/functional/functional.js +0 -18
  63. package/dist/js/core/components/functional/functional.js.map +0 -1
  64. package/dist/js/core/components/functional/if/if.js +0 -39
  65. package/dist/js/core/components/functional/if/if.js.map +0 -1
  66. package/dist/js/core/components/functional/jsonata/jsonata.js +0 -119
  67. package/dist/js/core/components/functional/jsonata/jsonata.js.map +0 -1
  68. package/dist/js/core/components/functional/list/list.js +0 -341
  69. package/dist/js/core/components/functional/list/list.js.map +0 -1
  70. package/dist/js/core/components/functional/mix/mix.js +0 -103
  71. package/dist/js/core/components/functional/mix/mix.js.map +0 -1
  72. package/dist/js/core/components/functional/queue/queue.js +0 -450
  73. package/dist/js/core/components/functional/queue/queue.js.map +0 -1
  74. package/dist/js/core/components/functional/router/redirect.js +0 -54
  75. package/dist/js/core/components/functional/router/redirect.js.map +0 -1
  76. package/dist/js/core/components/functional/router/router.js +0 -179
  77. package/dist/js/core/components/functional/router/router.js.map +0 -1
  78. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js +0 -216
  79. package/dist/js/core/components/functional/sdui/SDUIDescriptorTransformer.js.map +0 -1
  80. package/dist/js/core/components/functional/sdui/default-library.json +0 -108
  81. package/dist/js/core/components/functional/sdui/sdui-utils.js +0 -64
  82. package/dist/js/core/components/functional/sdui/sdui-utils.js.map +0 -1
  83. package/dist/js/core/components/functional/sdui/sdui.js +0 -266
  84. package/dist/js/core/components/functional/sdui/sdui.js.map +0 -1
  85. package/dist/js/core/components/functional/sdui/types.js +0 -2
  86. package/dist/js/core/components/functional/sdui/types.js.map +0 -1
  87. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js +0 -22
  88. package/dist/js/core/components/functional/sonic-scope/sonic-scope.js.map +0 -1
  89. package/dist/js/core/components/functional/states/states.js +0 -172
  90. package/dist/js/core/components/functional/states/states.js.map +0 -1
  91. package/dist/js/core/components/functional/submit/submit.js +0 -284
  92. package/dist/js/core/components/functional/submit/submit.js.map +0 -1
  93. package/dist/js/core/components/functional/subscriber/subscriber.js +0 -39
  94. package/dist/js/core/components/functional/subscriber/subscriber.js.map +0 -1
  95. package/dist/js/core/components/functional/translation/translation.js +0 -28
  96. package/dist/js/core/components/functional/translation/translation.js.map +0 -1
  97. package/dist/js/core/components/functional/value/value.js +0 -28
  98. package/dist/js/core/components/functional/value/value.js.map +0 -1
  99. package/dist/js/core/components/ui/_css/scroll.js +0 -27
  100. package/dist/js/core/components/ui/_css/scroll.js.map +0 -1
  101. package/dist/js/core/components/ui/_css/shadow.js +0 -22
  102. package/dist/js/core/components/ui/_css/shadow.js.map +0 -1
  103. package/dist/js/core/components/ui/_css/size.js +0 -36
  104. package/dist/js/core/components/ui/_css/size.js.map +0 -1
  105. package/dist/js/core/components/ui/_css/type.js +0 -92
  106. package/dist/js/core/components/ui/_css/type.js.map +0 -1
  107. package/dist/js/core/components/ui/alert/alert.js +0 -213
  108. package/dist/js/core/components/ui/alert/alert.js.map +0 -1
  109. package/dist/js/core/components/ui/alert-messages/alert-messages.js +0 -68
  110. package/dist/js/core/components/ui/alert-messages/alert-messages.js.map +0 -1
  111. package/dist/js/core/components/ui/badge/badge.js +0 -199
  112. package/dist/js/core/components/ui/badge/badge.js.map +0 -1
  113. package/dist/js/core/components/ui/button/button.js +0 -697
  114. package/dist/js/core/components/ui/button/button.js.map +0 -1
  115. package/dist/js/core/components/ui/captcha/altchaStyles.js +0 -226
  116. package/dist/js/core/components/ui/captcha/altchaStyles.js.map +0 -1
  117. package/dist/js/core/components/ui/captcha/captcha.js +0 -167
  118. package/dist/js/core/components/ui/captcha/captcha.js.map +0 -1
  119. package/dist/js/core/components/ui/card/card-footer.js +0 -26
  120. package/dist/js/core/components/ui/card/card-footer.js.map +0 -1
  121. package/dist/js/core/components/ui/card/card-header-descripton.js +0 -30
  122. package/dist/js/core/components/ui/card/card-header-descripton.js.map +0 -1
  123. package/dist/js/core/components/ui/card/card-header.js +0 -79
  124. package/dist/js/core/components/ui/card/card-header.js.map +0 -1
  125. package/dist/js/core/components/ui/card/card-main.js +0 -26
  126. package/dist/js/core/components/ui/card/card-main.js.map +0 -1
  127. package/dist/js/core/components/ui/card/card.js +0 -67
  128. package/dist/js/core/components/ui/card/card.js.map +0 -1
  129. package/dist/js/core/components/ui/divider/divider.js +0 -200
  130. package/dist/js/core/components/ui/divider/divider.js.map +0 -1
  131. package/dist/js/core/components/ui/form/checkbox/checkbox.js +0 -257
  132. package/dist/js/core/components/ui/form/checkbox/checkbox.js.map +0 -1
  133. package/dist/js/core/components/ui/form/css/form-control.js +0 -393
  134. package/dist/js/core/components/ui/form/css/form-control.js.map +0 -1
  135. package/dist/js/core/components/ui/form/fieldset/fieldset.js +0 -124
  136. package/dist/js/core/components/ui/form/fieldset/fieldset.js.map +0 -1
  137. package/dist/js/core/components/ui/form/fieldset/legend-description.js +0 -38
  138. package/dist/js/core/components/ui/form/fieldset/legend-description.js.map +0 -1
  139. package/dist/js/core/components/ui/form/fieldset/legend.js +0 -130
  140. package/dist/js/core/components/ui/form/fieldset/legend.js.map +0 -1
  141. package/dist/js/core/components/ui/form/form-actions/form-actions.js +0 -47
  142. package/dist/js/core/components/ui/form/form-actions/form-actions.js.map +0 -1
  143. package/dist/js/core/components/ui/form/form-layout/form-layout.js +0 -84
  144. package/dist/js/core/components/ui/form/form-layout/form-layout.js.map +0 -1
  145. package/dist/js/core/components/ui/form/input/input.js +0 -316
  146. package/dist/js/core/components/ui/form/input/input.js.map +0 -1
  147. package/dist/js/core/components/ui/form/input/password-helper.js +0 -134
  148. package/dist/js/core/components/ui/form/input/password-helper.js.map +0 -1
  149. package/dist/js/core/components/ui/form/input/same-value-helper.js +0 -85
  150. package/dist/js/core/components/ui/form/input/same-value-helper.js.map +0 -1
  151. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js +0 -405
  152. package/dist/js/core/components/ui/form/input-autocomplete/input-autocomplete.js.map +0 -1
  153. package/dist/js/core/components/ui/form/radio/radio.js +0 -63
  154. package/dist/js/core/components/ui/form/radio/radio.js.map +0 -1
  155. package/dist/js/core/components/ui/form/select/select.js +0 -323
  156. package/dist/js/core/components/ui/form/select/select.js.map +0 -1
  157. package/dist/js/core/components/ui/form/switch/switch.js +0 -90
  158. package/dist/js/core/components/ui/form/switch/switch.js.map +0 -1
  159. package/dist/js/core/components/ui/form/textarea/textarea.js +0 -162
  160. package/dist/js/core/components/ui/form/textarea/textarea.js.map +0 -1
  161. package/dist/js/core/components/ui/group/group.js +0 -128
  162. package/dist/js/core/components/ui/group/group.js.map +0 -1
  163. package/dist/js/core/components/ui/icon/icon.js +0 -145
  164. package/dist/js/core/components/ui/icon/icon.js.map +0 -1
  165. package/dist/js/core/components/ui/icon/icons.js +0 -184
  166. package/dist/js/core/components/ui/icon/icons.js.map +0 -1
  167. package/dist/js/core/components/ui/icon/icons.json +0 -1
  168. package/dist/js/core/components/ui/image/image.js +0 -160
  169. package/dist/js/core/components/ui/image/image.js.map +0 -1
  170. package/dist/js/core/components/ui/link/link.js +0 -125
  171. package/dist/js/core/components/ui/link/link.js.map +0 -1
  172. package/dist/js/core/components/ui/loader/loader.js +0 -106
  173. package/dist/js/core/components/ui/loader/loader.js.map +0 -1
  174. package/dist/js/core/components/ui/loader/styles/fixed.js +0 -56
  175. package/dist/js/core/components/ui/loader/styles/fixed.js.map +0 -1
  176. package/dist/js/core/components/ui/loader/styles/inline.js +0 -70
  177. package/dist/js/core/components/ui/loader/styles/inline.js.map +0 -1
  178. package/dist/js/core/components/ui/menu/menu-item.js +0 -35
  179. package/dist/js/core/components/ui/menu/menu-item.js.map +0 -1
  180. package/dist/js/core/components/ui/menu/menu.js +0 -436
  181. package/dist/js/core/components/ui/menu/menu.js.map +0 -1
  182. package/dist/js/core/components/ui/modal/modal-actions.js +0 -44
  183. package/dist/js/core/components/ui/modal/modal-actions.js.map +0 -1
  184. package/dist/js/core/components/ui/modal/modal-close.js +0 -56
  185. package/dist/js/core/components/ui/modal/modal-close.js.map +0 -1
  186. package/dist/js/core/components/ui/modal/modal-content.js +0 -27
  187. package/dist/js/core/components/ui/modal/modal-content.js.map +0 -1
  188. package/dist/js/core/components/ui/modal/modal-subtitle.js +0 -34
  189. package/dist/js/core/components/ui/modal/modal-subtitle.js.map +0 -1
  190. package/dist/js/core/components/ui/modal/modal-title.js +0 -35
  191. package/dist/js/core/components/ui/modal/modal-title.js.map +0 -1
  192. package/dist/js/core/components/ui/modal/modal-utils.js +0 -32
  193. package/dist/js/core/components/ui/modal/modal-utils.js.map +0 -1
  194. package/dist/js/core/components/ui/modal/modal.js +0 -568
  195. package/dist/js/core/components/ui/modal/modal.js.map +0 -1
  196. package/dist/js/core/components/ui/pop/pop.js +0 -337
  197. package/dist/js/core/components/ui/pop/pop.js.map +0 -1
  198. package/dist/js/core/components/ui/progress/progress.js +0 -164
  199. package/dist/js/core/components/ui/progress/progress.js.map +0 -1
  200. package/dist/js/core/components/ui/table/table-caption.js +0 -29
  201. package/dist/js/core/components/ui/table/table-caption.js.map +0 -1
  202. package/dist/js/core/components/ui/table/table-tbody.js +0 -41
  203. package/dist/js/core/components/ui/table/table-tbody.js.map +0 -1
  204. package/dist/js/core/components/ui/table/table-td.js +0 -69
  205. package/dist/js/core/components/ui/table/table-td.js.map +0 -1
  206. package/dist/js/core/components/ui/table/table-tfoot.js +0 -28
  207. package/dist/js/core/components/ui/table/table-tfoot.js.map +0 -1
  208. package/dist/js/core/components/ui/table/table-th.js +0 -80
  209. package/dist/js/core/components/ui/table/table-th.js.map +0 -1
  210. package/dist/js/core/components/ui/table/table-thead.js +0 -26
  211. package/dist/js/core/components/ui/table/table-thead.js.map +0 -1
  212. package/dist/js/core/components/ui/table/table-tr.js +0 -67
  213. package/dist/js/core/components/ui/table/table-tr.js.map +0 -1
  214. package/dist/js/core/components/ui/table/table.js +0 -106
  215. package/dist/js/core/components/ui/table/table.js.map +0 -1
  216. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js +0 -74
  217. package/dist/js/core/components/ui/theme/theme-collection/core-variables.js.map +0 -1
  218. package/dist/js/core/components/ui/theme/theme-collection/dark.js +0 -39
  219. package/dist/js/core/components/ui/theme/theme-collection/dark.js.map +0 -1
  220. package/dist/js/core/components/ui/theme/theme-collection/light.js +0 -32
  221. package/dist/js/core/components/ui/theme/theme-collection/light.js.map +0 -1
  222. package/dist/js/core/components/ui/theme/theme.js +0 -150
  223. package/dist/js/core/components/ui/theme/theme.js.map +0 -1
  224. package/dist/js/core/components/ui/toast/message-subscriber.js +0 -41
  225. package/dist/js/core/components/ui/toast/message-subscriber.js.map +0 -1
  226. package/dist/js/core/components/ui/toast/toast-item.js +0 -379
  227. package/dist/js/core/components/ui/toast/toast-item.js.map +0 -1
  228. package/dist/js/core/components/ui/toast/toast.js +0 -269
  229. package/dist/js/core/components/ui/toast/toast.js.map +0 -1
  230. package/dist/js/core/components/ui/toast/types.js +0 -2
  231. package/dist/js/core/components/ui/toast/types.js.map +0 -1
  232. package/dist/js/core/components/ui/tooltip/tooltip.js +0 -219
  233. package/dist/js/core/components/ui/tooltip/tooltip.js.map +0 -1
  234. package/dist/js/core/components/ui/ui.js +0 -41
  235. package/dist/js/core/components/ui/ui.js.map +0 -1
  236. package/dist/js/core/core.js +0 -14
  237. package/dist/js/core/core.js.map +0 -1
  238. package/dist/js/core/decorators/Subscriber.js +0 -10
  239. package/dist/js/core/decorators/Subscriber.js.map +0 -1
  240. package/dist/js/core/decorators/api.js +0 -806
  241. package/dist/js/core/decorators/api.js.map +0 -1
  242. package/dist/js/core/decorators/lifecycle.js +0 -67
  243. package/dist/js/core/decorators/lifecycle.js.map +0 -1
  244. package/dist/js/core/decorators/subscriber/ancestorAttribute.js +0 -27
  245. package/dist/js/core/decorators/subscriber/ancestorAttribute.js.map +0 -1
  246. package/dist/js/core/decorators/subscriber/autoFill.js +0 -26
  247. package/dist/js/core/decorators/subscriber/autoFill.js.map +0 -1
  248. package/dist/js/core/decorators/subscriber/autoSubscribe.js +0 -46
  249. package/dist/js/core/decorators/subscriber/autoSubscribe.js.map +0 -1
  250. package/dist/js/core/decorators/subscriber/bind.js +0 -150
  251. package/dist/js/core/decorators/subscriber/bind.js.map +0 -1
  252. package/dist/js/core/decorators/subscriber/common.js +0 -44
  253. package/dist/js/core/decorators/subscriber/common.js.map +0 -1
  254. package/dist/js/core/decorators/subscriber/derive.js +0 -60
  255. package/dist/js/core/decorators/subscriber/derive.js.map +0 -1
  256. package/dist/js/core/decorators/subscriber/dynamicPath.js +0 -75
  257. package/dist/js/core/decorators/subscriber/dynamicPath.js.map +0 -1
  258. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js +0 -138
  259. package/dist/js/core/decorators/subscriber/dynamicPropertyWatch.js.map +0 -1
  260. package/dist/js/core/decorators/subscriber/handle.js +0 -22
  261. package/dist/js/core/decorators/subscriber/handle.js.map +0 -1
  262. package/dist/js/core/decorators/subscriber/onAssign.js +0 -199
  263. package/dist/js/core/decorators/subscriber/onAssign.js.map +0 -1
  264. package/dist/js/core/decorators/subscriber/publish.js +0 -108
  265. package/dist/js/core/decorators/subscriber/publish.js.map +0 -1
  266. package/dist/js/core/decorators/subscriber/publisherPath.js +0 -16
  267. package/dist/js/core/decorators/subscriber/publisherPath.js.map +0 -1
  268. package/dist/js/core/decorators/subscriber/subscribe.js +0 -20
  269. package/dist/js/core/decorators/subscriber/subscribe.js.map +0 -1
  270. package/dist/js/core/directives/DataProvider.js +0 -127
  271. package/dist/js/core/directives/DataProvider.js.map +0 -1
  272. package/dist/js/core/directives/Wording.js +0 -221
  273. package/dist/js/core/directives/Wording.js.map +0 -1
  274. package/dist/js/core/mixins/Fetcher.js +0 -325
  275. package/dist/js/core/mixins/Fetcher.js.map +0 -1
  276. package/dist/js/core/mixins/FormCheckable.js +0 -313
  277. package/dist/js/core/mixins/FormCheckable.js.map +0 -1
  278. package/dist/js/core/mixins/FormElement.js +0 -304
  279. package/dist/js/core/mixins/FormElement.js.map +0 -1
  280. package/dist/js/core/mixins/FormInput.js +0 -82
  281. package/dist/js/core/mixins/FormInput.js.map +0 -1
  282. package/dist/js/core/mixins/Subscriber.js +0 -354
  283. package/dist/js/core/mixins/Subscriber.js.map +0 -1
  284. package/dist/js/core/mixins/TemplatesContainer.js +0 -70
  285. package/dist/js/core/mixins/TemplatesContainer.js.map +0 -1
  286. package/dist/js/core/mixins/mixins.js +0 -7
  287. package/dist/js/core/mixins/mixins.js.map +0 -1
  288. package/dist/js/core/utils/AncestorAttributeObserver.js +0 -140
  289. package/dist/js/core/utils/AncestorAttributeObserver.js.map +0 -1
  290. package/dist/js/core/utils/Arrays.js +0 -141
  291. package/dist/js/core/utils/Arrays.js.map +0 -1
  292. package/dist/js/core/utils/DataBindObserver.js +0 -265
  293. package/dist/js/core/utils/DataBindObserver.js.map +0 -1
  294. package/dist/js/core/utils/Electron.js +0 -14
  295. package/dist/js/core/utils/Electron.js.map +0 -1
  296. package/dist/js/core/utils/Format.js +0 -43
  297. package/dist/js/core/utils/Format.js.map +0 -1
  298. package/dist/js/core/utils/HTML.js +0 -272
  299. package/dist/js/core/utils/HTML.js.map +0 -1
  300. package/dist/js/core/utils/LocationHandler.js +0 -143
  301. package/dist/js/core/utils/LocationHandler.js.map +0 -1
  302. package/dist/js/core/utils/Objects.js +0 -111
  303. package/dist/js/core/utils/Objects.js.map +0 -1
  304. package/dist/js/core/utils/PublisherProxy.js +0 -946
  305. package/dist/js/core/utils/PublisherProxy.js.map +0 -1
  306. package/dist/js/core/utils/SafariScrollGuard.js +0 -384
  307. package/dist/js/core/utils/SafariScrollGuard.js.map +0 -1
  308. package/dist/js/core/utils/Utils.js +0 -19
  309. package/dist/js/core/utils/Utils.js.map +0 -1
  310. package/dist/js/core/utils/aesCrypto.js +0 -98
  311. package/dist/js/core/utils/aesCrypto.js.map +0 -1
  312. package/dist/js/core/utils/api.js +0 -595
  313. package/dist/js/core/utils/api.js.map +0 -1
  314. package/dist/js/core/utils/dataProviderKey.js +0 -64
  315. package/dist/js/core/utils/dataProviderKey.js.map +0 -1
  316. package/dist/js/core/utils/derive.js +0 -246
  317. package/dist/js/core/utils/derive.js.map +0 -1
  318. package/dist/js/core/utils/endpoint.js +0 -74
  319. package/dist/js/core/utils/endpoint.js.map +0 -1
  320. package/dist/js/core/utils/jsonataHelpers.js +0 -69
  321. package/dist/js/core/utils/jsonataHelpers.js.map +0 -1
  322. package/dist/js/core/utils/jsonataRuntime.js +0 -75
  323. package/dist/js/core/utils/jsonataRuntime.js.map +0 -1
  324. package/dist/js/core/utils/route.js +0 -149
  325. package/dist/js/core/utils/route.js.map +0 -1
  326. package/dist/js/core/utils/url-pattern.js +0 -3
  327. package/dist/js/core/utils/url-pattern.js.map +0 -1
  328. package/dist/js/dataprovider.js +0 -2
  329. package/dist/js/dataprovider.js.map +0 -1
  330. package/dist/js/decorators.js +0 -43
  331. package/dist/js/decorators.js.map +0 -1
  332. package/dist/js/directives.js +0 -30
  333. package/dist/js/directives.js.map +0 -1
  334. package/dist/js/index.js +0 -8
  335. package/dist/js/index.js.map +0 -1
  336. package/dist/js/mixins.js +0 -23
  337. package/dist/js/mixins.js.map +0 -1
  338. package/dist/js/test-utils/TestUtils.js +0 -10
  339. package/dist/js/test-utils/TestUtils.js.map +0 -1
  340. package/dist/js/utils.js +0 -46
  341. package/dist/js/utils.js.map +0 -1
  342. package/dist/types/components.d.ts +0 -5
  343. package/dist/types/components.d.ts.map +0 -1
  344. package/dist/types/concorde-loaded.d.ts +0 -2
  345. package/dist/types/concorde-loaded.d.ts.map +0 -1
  346. package/dist/types/core/_types/endpoint.d.ts +0 -5
  347. package/dist/types/core/_types/endpoint.d.ts.map +0 -1
  348. package/dist/types/core/_types/key.d.ts +0 -2
  349. package/dist/types/core/_types/key.d.ts.map +0 -1
  350. package/dist/types/core/_types/types.d.ts +0 -28
  351. package/dist/types/core/_types/types.d.ts.map +0 -1
  352. package/dist/types/core/components/functional/date/date.d.ts +0 -52
  353. package/dist/types/core/components/functional/date/date.d.ts.map +0 -1
  354. package/dist/types/core/components/functional/example/example.d.ts +0 -15
  355. package/dist/types/core/components/functional/example/example.d.ts.map +0 -1
  356. package/dist/types/core/components/functional/fetch/fetch.d.ts +0 -102
  357. package/dist/types/core/components/functional/fetch/fetch.d.ts.map +0 -1
  358. package/dist/types/core/components/functional/functional.d.ts +0 -18
  359. package/dist/types/core/components/functional/functional.d.ts.map +0 -1
  360. package/dist/types/core/components/functional/if/if.d.ts +0 -13
  361. package/dist/types/core/components/functional/if/if.d.ts.map +0 -1
  362. package/dist/types/core/components/functional/jsonata/jsonata.d.ts +0 -29
  363. package/dist/types/core/components/functional/jsonata/jsonata.d.ts.map +0 -1
  364. package/dist/types/core/components/functional/list/list.d.ts +0 -149
  365. package/dist/types/core/components/functional/list/list.d.ts.map +0 -1
  366. package/dist/types/core/components/functional/mix/mix.d.ts +0 -23
  367. package/dist/types/core/components/functional/mix/mix.d.ts.map +0 -1
  368. package/dist/types/core/components/functional/queue/queue.d.ts +0 -93
  369. package/dist/types/core/components/functional/queue/queue.d.ts.map +0 -1
  370. package/dist/types/core/components/functional/router/redirect.d.ts +0 -19
  371. package/dist/types/core/components/functional/router/redirect.d.ts.map +0 -1
  372. package/dist/types/core/components/functional/router/router.d.ts +0 -46
  373. package/dist/types/core/components/functional/router/router.d.ts.map +0 -1
  374. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts +0 -59
  375. package/dist/types/core/components/functional/sdui/SDUIDescriptorTransformer.d.ts.map +0 -1
  376. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts +0 -6
  377. package/dist/types/core/components/functional/sdui/sdui-utils.d.ts.map +0 -1
  378. package/dist/types/core/components/functional/sdui/sdui.d.ts +0 -145
  379. package/dist/types/core/components/functional/sdui/sdui.d.ts.map +0 -1
  380. package/dist/types/core/components/functional/sdui/types.d.ts +0 -38
  381. package/dist/types/core/components/functional/sdui/types.d.ts.map +0 -1
  382. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -6
  383. package/dist/types/core/components/functional/sonic-scope/sonic-scope.d.ts.map +0 -1
  384. package/dist/types/core/components/functional/states/states.d.ts +0 -42
  385. package/dist/types/core/components/functional/states/states.d.ts.map +0 -1
  386. package/dist/types/core/components/functional/submit/submit.d.ts +0 -37
  387. package/dist/types/core/components/functional/submit/submit.d.ts.map +0 -1
  388. package/dist/types/core/components/functional/subscriber/subscriber.d.ts +0 -13
  389. package/dist/types/core/components/functional/subscriber/subscriber.d.ts.map +0 -1
  390. package/dist/types/core/components/functional/translation/translation.d.ts +0 -7
  391. package/dist/types/core/components/functional/translation/translation.d.ts.map +0 -1
  392. package/dist/types/core/components/functional/value/value.d.ts +0 -8
  393. package/dist/types/core/components/functional/value/value.d.ts.map +0 -1
  394. package/dist/types/core/components/ui/_css/scroll.d.ts +0 -2
  395. package/dist/types/core/components/ui/_css/scroll.d.ts.map +0 -1
  396. package/dist/types/core/components/ui/_css/shadow.d.ts +0 -3
  397. package/dist/types/core/components/ui/_css/shadow.d.ts.map +0 -1
  398. package/dist/types/core/components/ui/_css/size.d.ts +0 -3
  399. package/dist/types/core/components/ui/_css/size.d.ts.map +0 -1
  400. package/dist/types/core/components/ui/_css/type.d.ts +0 -3
  401. package/dist/types/core/components/ui/_css/type.d.ts.map +0 -1
  402. package/dist/types/core/components/ui/alert/alert.d.ts +0 -37
  403. package/dist/types/core/components/ui/alert/alert.d.ts.map +0 -1
  404. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts +0 -15
  405. package/dist/types/core/components/ui/alert-messages/alert-messages.d.ts.map +0 -1
  406. package/dist/types/core/components/ui/badge/badge.d.ts +0 -27
  407. package/dist/types/core/components/ui/badge/badge.d.ts.map +0 -1
  408. package/dist/types/core/components/ui/button/button.d.ts +0 -180
  409. package/dist/types/core/components/ui/button/button.d.ts.map +0 -1
  410. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts +0 -2
  411. package/dist/types/core/components/ui/captcha/altchaStyles.d.ts.map +0 -1
  412. package/dist/types/core/components/ui/captcha/captcha.d.ts +0 -30
  413. package/dist/types/core/components/ui/captcha/captcha.d.ts.map +0 -1
  414. package/dist/types/core/components/ui/card/card-footer.d.ts +0 -6
  415. package/dist/types/core/components/ui/card/card-footer.d.ts.map +0 -1
  416. package/dist/types/core/components/ui/card/card-header-descripton.d.ts +0 -6
  417. package/dist/types/core/components/ui/card/card-header-descripton.d.ts.map +0 -1
  418. package/dist/types/core/components/ui/card/card-header.d.ts +0 -9
  419. package/dist/types/core/components/ui/card/card-header.d.ts.map +0 -1
  420. package/dist/types/core/components/ui/card/card-main.d.ts +0 -6
  421. package/dist/types/core/components/ui/card/card-main.d.ts.map +0 -1
  422. package/dist/types/core/components/ui/card/card.d.ts +0 -13
  423. package/dist/types/core/components/ui/card/card.d.ts.map +0 -1
  424. package/dist/types/core/components/ui/divider/divider.d.ts +0 -16
  425. package/dist/types/core/components/ui/divider/divider.d.ts.map +0 -1
  426. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts +0 -176
  427. package/dist/types/core/components/ui/form/checkbox/checkbox.d.ts.map +0 -1
  428. package/dist/types/core/components/ui/form/css/form-control.d.ts +0 -5
  429. package/dist/types/core/components/ui/form/css/form-control.d.ts.map +0 -1
  430. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts +0 -24
  431. package/dist/types/core/components/ui/form/fieldset/fieldset.d.ts.map +0 -1
  432. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts +0 -6
  433. package/dist/types/core/components/ui/form/fieldset/legend-description.d.ts.map +0 -1
  434. package/dist/types/core/components/ui/form/fieldset/legend.d.ts +0 -17
  435. package/dist/types/core/components/ui/form/fieldset/legend.d.ts.map +0 -1
  436. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts +0 -8
  437. package/dist/types/core/components/ui/form/form-actions/form-actions.d.ts.map +0 -1
  438. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts +0 -13
  439. package/dist/types/core/components/ui/form/form-layout/form-layout.d.ts.map +0 -1
  440. package/dist/types/core/components/ui/form/input/input.d.ts +0 -123
  441. package/dist/types/core/components/ui/form/input/input.d.ts.map +0 -1
  442. package/dist/types/core/components/ui/form/input/password-helper.d.ts +0 -26
  443. package/dist/types/core/components/ui/form/input/password-helper.d.ts.map +0 -1
  444. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts +0 -17
  445. package/dist/types/core/components/ui/form/input/same-value-helper.d.ts.map +0 -1
  446. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +0 -155
  447. package/dist/types/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts.map +0 -1
  448. package/dist/types/core/components/ui/form/radio/radio.d.ts +0 -15
  449. package/dist/types/core/components/ui/form/radio/radio.d.ts.map +0 -1
  450. package/dist/types/core/components/ui/form/select/select.d.ts +0 -59
  451. package/dist/types/core/components/ui/form/select/select.d.ts.map +0 -1
  452. package/dist/types/core/components/ui/form/switch/switch.d.ts +0 -6
  453. package/dist/types/core/components/ui/form/switch/switch.d.ts.map +0 -1
  454. package/dist/types/core/components/ui/form/textarea/textarea.d.ts +0 -94
  455. package/dist/types/core/components/ui/form/textarea/textarea.d.ts.map +0 -1
  456. package/dist/types/core/components/ui/group/group.d.ts +0 -17
  457. package/dist/types/core/components/ui/group/group.d.ts.map +0 -1
  458. package/dist/types/core/components/ui/icon/icon.d.ts +0 -30
  459. package/dist/types/core/components/ui/icon/icon.d.ts.map +0 -1
  460. package/dist/types/core/components/ui/icon/icons.d.ts +0 -13
  461. package/dist/types/core/components/ui/icon/icons.d.ts.map +0 -1
  462. package/dist/types/core/components/ui/image/image.d.ts +0 -16
  463. package/dist/types/core/components/ui/image/image.d.ts.map +0 -1
  464. package/dist/types/core/components/ui/link/link.d.ts +0 -30
  465. package/dist/types/core/components/ui/link/link.d.ts.map +0 -1
  466. package/dist/types/core/components/ui/loader/loader.d.ts +0 -24
  467. package/dist/types/core/components/ui/loader/loader.d.ts.map +0 -1
  468. package/dist/types/core/components/ui/loader/styles/fixed.d.ts +0 -2
  469. package/dist/types/core/components/ui/loader/styles/fixed.d.ts.map +0 -1
  470. package/dist/types/core/components/ui/loader/styles/inline.d.ts +0 -2
  471. package/dist/types/core/components/ui/loader/styles/inline.d.ts.map +0 -1
  472. package/dist/types/core/components/ui/menu/menu-item.d.ts +0 -6
  473. package/dist/types/core/components/ui/menu/menu-item.d.ts.map +0 -1
  474. package/dist/types/core/components/ui/menu/menu.d.ts +0 -52
  475. package/dist/types/core/components/ui/menu/menu.d.ts.map +0 -1
  476. package/dist/types/core/components/ui/modal/modal-actions.d.ts +0 -9
  477. package/dist/types/core/components/ui/modal/modal-actions.d.ts.map +0 -1
  478. package/dist/types/core/components/ui/modal/modal-close.d.ts +0 -11
  479. package/dist/types/core/components/ui/modal/modal-close.d.ts.map +0 -1
  480. package/dist/types/core/components/ui/modal/modal-content.d.ts +0 -6
  481. package/dist/types/core/components/ui/modal/modal-content.d.ts.map +0 -1
  482. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts +0 -6
  483. package/dist/types/core/components/ui/modal/modal-subtitle.d.ts.map +0 -1
  484. package/dist/types/core/components/ui/modal/modal-title.d.ts +0 -6
  485. package/dist/types/core/components/ui/modal/modal-title.d.ts.map +0 -1
  486. package/dist/types/core/components/ui/modal/modal-utils.d.ts +0 -4
  487. package/dist/types/core/components/ui/modal/modal-utils.d.ts.map +0 -1
  488. package/dist/types/core/components/ui/modal/modal.d.ts +0 -79
  489. package/dist/types/core/components/ui/modal/modal.d.ts.map +0 -1
  490. package/dist/types/core/components/ui/pop/pop.d.ts +0 -42
  491. package/dist/types/core/components/ui/pop/pop.d.ts.map +0 -1
  492. package/dist/types/core/components/ui/progress/progress.d.ts +0 -12
  493. package/dist/types/core/components/ui/progress/progress.d.ts.map +0 -1
  494. package/dist/types/core/components/ui/table/table-caption.d.ts +0 -6
  495. package/dist/types/core/components/ui/table/table-caption.d.ts.map +0 -1
  496. package/dist/types/core/components/ui/table/table-tbody.d.ts +0 -6
  497. package/dist/types/core/components/ui/table/table-tbody.d.ts.map +0 -1
  498. package/dist/types/core/components/ui/table/table-td.d.ts +0 -13
  499. package/dist/types/core/components/ui/table/table-td.d.ts.map +0 -1
  500. package/dist/types/core/components/ui/table/table-tfoot.d.ts +0 -6
  501. package/dist/types/core/components/ui/table/table-tfoot.d.ts.map +0 -1
  502. package/dist/types/core/components/ui/table/table-th.d.ts +0 -12
  503. package/dist/types/core/components/ui/table/table-th.d.ts.map +0 -1
  504. package/dist/types/core/components/ui/table/table-thead.d.ts +0 -6
  505. package/dist/types/core/components/ui/table/table-thead.d.ts.map +0 -1
  506. package/dist/types/core/components/ui/table/table-tr.d.ts +0 -14
  507. package/dist/types/core/components/ui/table/table-tr.d.ts.map +0 -1
  508. package/dist/types/core/components/ui/table/table.d.ts +0 -18
  509. package/dist/types/core/components/ui/table/table.d.ts.map +0 -1
  510. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts +0 -2
  511. package/dist/types/core/components/ui/theme/theme-collection/core-variables.d.ts.map +0 -1
  512. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts +0 -2
  513. package/dist/types/core/components/ui/theme/theme-collection/dark.d.ts.map +0 -1
  514. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts +0 -2
  515. package/dist/types/core/components/ui/theme/theme-collection/light.d.ts.map +0 -1
  516. package/dist/types/core/components/ui/theme/theme.d.ts +0 -20
  517. package/dist/types/core/components/ui/theme/theme.d.ts.map +0 -1
  518. package/dist/types/core/components/ui/toast/message-subscriber.d.ts +0 -19
  519. package/dist/types/core/components/ui/toast/message-subscriber.d.ts.map +0 -1
  520. package/dist/types/core/components/ui/toast/toast-item.d.ts +0 -41
  521. package/dist/types/core/components/ui/toast/toast-item.d.ts.map +0 -1
  522. package/dist/types/core/components/ui/toast/toast.d.ts +0 -28
  523. package/dist/types/core/components/ui/toast/toast.d.ts.map +0 -1
  524. package/dist/types/core/components/ui/toast/types.d.ts +0 -12
  525. package/dist/types/core/components/ui/toast/types.d.ts.map +0 -1
  526. package/dist/types/core/components/ui/tooltip/tooltip.d.ts +0 -21
  527. package/dist/types/core/components/ui/tooltip/tooltip.d.ts.map +0 -1
  528. package/dist/types/core/components/ui/ui.d.ts +0 -35
  529. package/dist/types/core/components/ui/ui.d.ts.map +0 -1
  530. package/dist/types/core/core.d.ts +0 -5
  531. package/dist/types/core/core.d.ts.map +0 -1
  532. package/dist/types/core/decorators/Subscriber.d.ts +0 -13
  533. package/dist/types/core/decorators/Subscriber.d.ts.map +0 -1
  534. package/dist/types/core/decorators/api.d.ts +0 -155
  535. package/dist/types/core/decorators/api.d.ts.map +0 -1
  536. package/dist/types/core/decorators/lifecycle.d.ts +0 -19
  537. package/dist/types/core/decorators/lifecycle.d.ts.map +0 -1
  538. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts +0 -11
  539. package/dist/types/core/decorators/subscriber/ancestorAttribute.d.ts.map +0 -1
  540. package/dist/types/core/decorators/subscriber/autoFill.d.ts +0 -2
  541. package/dist/types/core/decorators/subscriber/autoFill.d.ts.map +0 -1
  542. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts +0 -2
  543. package/dist/types/core/decorators/subscriber/autoSubscribe.d.ts.map +0 -1
  544. package/dist/types/core/decorators/subscriber/bind.d.ts +0 -28
  545. package/dist/types/core/decorators/subscriber/bind.d.ts.map +0 -1
  546. package/dist/types/core/decorators/subscriber/common.d.ts +0 -14
  547. package/dist/types/core/decorators/subscriber/common.d.ts.map +0 -1
  548. package/dist/types/core/decorators/subscriber/derive.d.ts +0 -30
  549. package/dist/types/core/decorators/subscriber/derive.d.ts.map +0 -1
  550. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts +0 -23
  551. package/dist/types/core/decorators/subscriber/dynamicPath.d.ts.map +0 -1
  552. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts +0 -42
  553. package/dist/types/core/decorators/subscriber/dynamicPropertyWatch.d.ts.map +0 -1
  554. package/dist/types/core/decorators/subscriber/handle.d.ts +0 -74
  555. package/dist/types/core/decorators/subscriber/handle.d.ts.map +0 -1
  556. package/dist/types/core/decorators/subscriber/onAssign.d.ts +0 -53
  557. package/dist/types/core/decorators/subscriber/onAssign.d.ts.map +0 -1
  558. package/dist/types/core/decorators/subscriber/publish.d.ts +0 -23
  559. package/dist/types/core/decorators/subscriber/publish.d.ts.map +0 -1
  560. package/dist/types/core/decorators/subscriber/publisherPath.d.ts +0 -3
  561. package/dist/types/core/decorators/subscriber/publisherPath.d.ts.map +0 -1
  562. package/dist/types/core/decorators/subscriber/subscribe.d.ts +0 -20
  563. package/dist/types/core/decorators/subscriber/subscribe.d.ts.map +0 -1
  564. package/dist/types/core/directives/DataProvider.d.ts +0 -45
  565. package/dist/types/core/directives/DataProvider.d.ts.map +0 -1
  566. package/dist/types/core/directives/Wording.d.ts +0 -44
  567. package/dist/types/core/directives/Wording.d.ts.map +0 -1
  568. package/dist/types/core/mixins/Fetcher.d.ts +0 -108
  569. package/dist/types/core/mixins/Fetcher.d.ts.map +0 -1
  570. package/dist/types/core/mixins/FormCheckable.d.ts +0 -95
  571. package/dist/types/core/mixins/FormCheckable.d.ts.map +0 -1
  572. package/dist/types/core/mixins/FormElement.d.ts +0 -37
  573. package/dist/types/core/mixins/FormElement.d.ts.map +0 -1
  574. package/dist/types/core/mixins/FormInput.d.ts +0 -79
  575. package/dist/types/core/mixins/FormInput.d.ts.map +0 -1
  576. package/dist/types/core/mixins/Subscriber.d.ts +0 -38
  577. package/dist/types/core/mixins/Subscriber.d.ts.map +0 -1
  578. package/dist/types/core/mixins/TemplatesContainer.d.ts +0 -14
  579. package/dist/types/core/mixins/TemplatesContainer.d.ts.map +0 -1
  580. package/dist/types/core/mixins/mixins.d.ts +0 -7
  581. package/dist/types/core/mixins/mixins.d.ts.map +0 -1
  582. package/dist/types/core/utils/AncestorAttributeObserver.d.ts +0 -38
  583. package/dist/types/core/utils/AncestorAttributeObserver.d.ts.map +0 -1
  584. package/dist/types/core/utils/Arrays.d.ts +0 -98
  585. package/dist/types/core/utils/Arrays.d.ts.map +0 -1
  586. package/dist/types/core/utils/DataBindObserver.d.ts +0 -84
  587. package/dist/types/core/utils/DataBindObserver.d.ts.map +0 -1
  588. package/dist/types/core/utils/Electron.d.ts +0 -8
  589. package/dist/types/core/utils/Electron.d.ts.map +0 -1
  590. package/dist/types/core/utils/Format.d.ts +0 -13
  591. package/dist/types/core/utils/Format.d.ts.map +0 -1
  592. package/dist/types/core/utils/HTML.d.ts +0 -79
  593. package/dist/types/core/utils/HTML.d.ts.map +0 -1
  594. package/dist/types/core/utils/LocationHandler.d.ts +0 -48
  595. package/dist/types/core/utils/LocationHandler.d.ts.map +0 -1
  596. package/dist/types/core/utils/Objects.d.ts +0 -31
  597. package/dist/types/core/utils/Objects.d.ts.map +0 -1
  598. package/dist/types/core/utils/PublisherProxy.d.ts +0 -230
  599. package/dist/types/core/utils/PublisherProxy.d.ts.map +0 -1
  600. package/dist/types/core/utils/SafariScrollGuard.d.ts +0 -36
  601. package/dist/types/core/utils/SafariScrollGuard.d.ts.map +0 -1
  602. package/dist/types/core/utils/Utils.d.ts +0 -6
  603. package/dist/types/core/utils/Utils.d.ts.map +0 -1
  604. package/dist/types/core/utils/aesCrypto.d.ts +0 -53
  605. package/dist/types/core/utils/aesCrypto.d.ts.map +0 -1
  606. package/dist/types/core/utils/api.d.ts +0 -173
  607. package/dist/types/core/utils/api.d.ts.map +0 -1
  608. package/dist/types/core/utils/dataProviderKey.d.ts +0 -56
  609. package/dist/types/core/utils/dataProviderKey.d.ts.map +0 -1
  610. package/dist/types/core/utils/derive.d.ts +0 -40
  611. package/dist/types/core/utils/derive.d.ts.map +0 -1
  612. package/dist/types/core/utils/endpoint.d.ts +0 -37
  613. package/dist/types/core/utils/endpoint.d.ts.map +0 -1
  614. package/dist/types/core/utils/jsonataHelpers.d.ts +0 -15
  615. package/dist/types/core/utils/jsonataHelpers.d.ts.map +0 -1
  616. package/dist/types/core/utils/jsonataRuntime.d.ts +0 -13
  617. package/dist/types/core/utils/jsonataRuntime.d.ts.map +0 -1
  618. package/dist/types/core/utils/route.d.ts +0 -41
  619. package/dist/types/core/utils/route.d.ts.map +0 -1
  620. package/dist/types/core/utils/url-pattern.d.ts +0 -3
  621. package/dist/types/core/utils/url-pattern.d.ts.map +0 -1
  622. package/dist/types/dataprovider.d.ts +0 -2
  623. package/dist/types/dataprovider.d.ts.map +0 -1
  624. package/dist/types/decorators.d.ts +0 -30
  625. package/dist/types/decorators.d.ts.map +0 -1
  626. package/dist/types/directives.d.ts +0 -21
  627. package/dist/types/directives.d.ts.map +0 -1
  628. package/dist/types/index.d.ts +0 -8
  629. package/dist/types/index.d.ts.map +0 -1
  630. package/dist/types/mixins.d.ts +0 -204
  631. package/dist/types/mixins.d.ts.map +0 -1
  632. package/dist/types/test-utils/TestUtils.d.ts +0 -4
  633. package/dist/types/test-utils/TestUtils.d.ts.map +0 -1
  634. package/dist/types/utils.d.ts +0 -20
  635. package/dist/types/utils.d.ts.map +0 -1
  636. package/docs/assets/index-DpIkksht.js +0 -11626
@@ -1,325 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import "@supersoniks/concorde/core/components/ui/button/button";
8
- import { SonicToast } from "@supersoniks/concorde/core/components/ui/toast/toast";
9
- import API from "@supersoniks/concorde/core/utils/api";
10
- import Objects from "@supersoniks/concorde/core/utils/Objects";
11
- import { PublisherManager } from "@supersoniks/concorde/utils";
12
- import { property } from "lit/decorators.js";
13
- import { detecHTMLLanguageChange } from "../utils/HTML";
14
- const fetchersInError = new Set();
15
- export const invalidateFetchersInError = () => {
16
- const fetchersInErrorCopy = new Set(fetchersInError);
17
- fetchersInError.clear();
18
- for (const fetcher of fetchersInErrorCopy) {
19
- fetcher.refetch();
20
- }
21
- };
22
- const errorsListeners = new Set();
23
- export const onFetchError = (errorListener) => {
24
- errorsListeners.add(errorListener);
25
- };
26
- export const offFetchError = (errorListener) => {
27
- errorsListeners.delete(errorListener);
28
- };
29
- const dispatchFetchError = (apiResponse) => {
30
- for (const listener of errorsListeners) {
31
- listener(apiResponse);
32
- }
33
- };
34
- const fetchComponents = new Set();
35
- let languageChangeRequestId = 0;
36
- detecHTMLLanguageChange(async () => {
37
- //relaunch 4 fetchs then wait the result before launching the next 4 fetchs
38
- languageChangeRequestId++;
39
- const currentRequestId = languageChangeRequestId;
40
- const fetchers = Array.from(fetchComponents);
41
- while (fetchers.length > 0) {
42
- if (currentRequestId != languageChangeRequestId)
43
- return;
44
- const fourFetchers = fetchers.splice(0, 4);
45
- await Promise.all(fourFetchers.map((fetcher) => fetcher.refetch()));
46
- }
47
- });
48
- const Fetcher = (superClass, propsType) => {
49
- propsType;
50
- class FetcherElement extends superClass {
51
- constructor(...args) {
52
- super();
53
- this.api = null;
54
- /**
55
- * 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.
56
- * 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)
57
- */
58
- this.key = "";
59
- /**
60
- * isFirstLoad vaut true jusqu'au premier chargement de données
61
- */
62
- this.isFirstLoad = true;
63
- /**
64
- * isLoading vaut true pendant le chargement des données
65
- */
66
- this.isLoading = false;
67
- /**
68
- * IObserver est l'intersection observer qui permet de charger les données au scroll si l'attribut lazyload est renseigné
69
- */
70
- this.iObserver = null;
71
- /**
72
- * On peut désactiver le fetch programmatiquement via cette propriété.
73
- * Cela est le cas pour le composant sonic-list qui ne fetch que si l'attribut fetch est renseigné
74
- */
75
- this.isFetchEnabled = true;
76
- /**
77
- * Result of the fetch
78
- */
79
- this.fetchedData = null;
80
- this._endPoint = "";
81
- this.noErrorsRecordings = false;
82
- this.requestId = 0;
83
- this.refetchEveryMs = 0;
84
- /**
85
- * _isFetching est une propriété sensée privée qui permet de savoir si un fetch est en cours
86
- * Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
87
- */
88
- this._isFetching = false;
89
- /**
90
- * _mustRefetch est une propriété sensée privée qui permet de savoir si un fetch est en cours
91
- * Elle ne peut pas etre veritablement privée actuellement en raison d'une limitation contextuelle a traiter
92
- */
93
- this._mustRefetch = false;
94
- args;
95
- this.dataProvider = "";
96
- }
97
- get props() {
98
- return super.props;
99
- }
100
- set props(value) {
101
- super.props = value;
102
- }
103
- set endPoint(value) {
104
- this._endPoint = value;
105
- if (this.isConnected)
106
- this._fetchData();
107
- }
108
- get endPoint() {
109
- return this._endPoint;
110
- }
111
- handleStartFetching() {
112
- if (this._isFetching) {
113
- this._mustRefetch = true;
114
- return "fetching";
115
- }
116
- this._isFetching = true;
117
- return "okToFetch";
118
- }
119
- handleEndFetching() {
120
- this._isFetching = false;
121
- if (this._mustRefetch) {
122
- this._mustRefetch = false;
123
- this._fetchData();
124
- }
125
- }
126
- refetch() {
127
- return this._fetchData();
128
- }
129
- /**
130
- *
131
- * C'est ici que les données sont chargées via l'utilitaire API
132
- * Elles sont ensuite injectées dans le publisher en accord avec la cible définie dans la propriété key
133
- * Un Toast est affiché si le chargement échoue
134
- */
135
- async _fetchData() {
136
- this.requestUpdate();
137
- if (!this.isFetchEnabled)
138
- return;
139
- this.api = new API(this.getApiConfiguration());
140
- if (!this.api)
141
- return;
142
- // if (!this.dataProvider) return;
143
- this.dispatchEvent(new CustomEvent("loading", { detail: this }));
144
- if (this.getAttribute("localStorage") === "enabled") {
145
- await PublisherManager.getInstance().isLocalStrorageReady;
146
- }
147
- if (!this.isConnected)
148
- return;
149
- const headerData = PublisherManager.getInstance()
150
- .get(this.getAncestorAttributeValue("headersDataProvider"))
151
- .get();
152
- this.isLoading = true;
153
- if (Objects.isObject(this.props) &&
154
- Object.keys(this.props || {}).length > 0 &&
155
- this.isFirstLoad) {
156
- window.requestAnimationFrame(() => {
157
- this.dispatchEvent(new CustomEvent("load", { detail: this }));
158
- this.isFirstLoad = false;
159
- this.isLoading = false;
160
- });
161
- }
162
- const fetchStatus = this.handleStartFetching();
163
- if (fetchStatus === "fetching") {
164
- return;
165
- }
166
- let data = null;
167
- try {
168
- data = await this.api.get(this.endPoint || this.dataProvider || "", headerData);
169
- }
170
- catch (_error) { }
171
- this.handleEndFetching();
172
- this.fetchedData = data;
173
- if (this.api.lastResult && !this.api.lastResult.ok) {
174
- if (!this.noErrorsRecordings) {
175
- fetchersInError.add(this);
176
- }
177
- dispatchFetchError(this.api.lastResult);
178
- }
179
- if (!this.isConnected) {
180
- return;
181
- }
182
- if (!data) {
183
- // Cela n'arrive normalement que lorsque l'on quitte une page pendant un fetch on n'affiche donc pas de message
184
- this.isLoading = false;
185
- if (this.refetchEveryMs && this.isConnected) {
186
- this.refetchTimeOutId = setTimeout(() => this._fetchData(), this.refetchEveryMs);
187
- }
188
- return;
189
- }
190
- else if (data._sonic_http_response_ &&
191
- !data._sonic_http_response_.ok &&
192
- Object.keys(data).length === 1) {
193
- // Si data ne contient que la réponse HTTP, avec un statut not ok, on affiche un message
194
- SonicToast.add({ text: "Network Error", status: "error" });
195
- }
196
- if (this.key) {
197
- const response = data._sonic_http_response_;
198
- /* preserveOtherKeys s'exprime lorsque le paramètre "key" est défini
199
- * Conserve les autres propriétés de l'objet reçu, en plus des propriétés définies sous "key"
200
- */
201
- const path = this.key.split(".");
202
- data = Objects.traverse(data, path, this.hasAttribute("preserveOtherKeys"));
203
- if (data && Objects.isObject(data) && response)
204
- data._sonic_http_response_ = response;
205
- }
206
- this.props = data;
207
- this.dispatchEvent(new CustomEvent("load", { detail: this }));
208
- this.isFirstLoad = false;
209
- this.isLoading = false;
210
- if (this.refetchEveryMs && this.isConnected) {
211
- this.refetchTimeOutId = setTimeout(() => this._fetchData(), this.refetchEveryMs);
212
- }
213
- }
214
- disconnectedCallback() {
215
- super.disconnectedCallback();
216
- fetchComponents.delete(this);
217
- this.publisher?.offInvalidate(this.onInvalidate);
218
- clearTimeout(this.refetchTimeOutId);
219
- this.isFirstLoad = false;
220
- }
221
- connectedCallback() {
222
- // this.noShadowDom = "";
223
- this.lazyLoad =
224
- this.lazyLoad !== undefined
225
- ? this.lazyLoad
226
- : this.hasAttribute("lazyload");
227
- fetchComponents.add(this);
228
- super.connectedCallback();
229
- if (!this.isFetchEnabled) {
230
- return;
231
- }
232
- this.key = this.key != "" ? this.key : this.getAttribute("key");
233
- if (this.props) {
234
- this.publisher.set(this.props);
235
- }
236
- this.onInvalidate = () => this._fetchData();
237
- this.publisher?.onInvalidate(this.onInvalidate);
238
- if (!this.lazyLoad) {
239
- this._fetchData();
240
- }
241
- else {
242
- this.handleLazyLoad();
243
- }
244
- }
245
- handleLazyLoad() {
246
- if (!this.lazyLoad) {
247
- return;
248
- }
249
- /**
250
- * Should not be required
251
- * Todo : remove after success
252
- * creates forced reflow
253
- */
254
- // const rect = this.getBoundingClientRect();
255
- // if (
256
- // rect.x < window.innerWidth &&
257
- // rect.right > 0 &&
258
- // rect.y < window.innerHeight &&
259
- // rect.right > 0
260
- // ) {
261
- // this._fetchData();
262
- // return;
263
- // }
264
- const boundsRatio = parseFloat(this.getAttribute("lazyBoundsRatio") || "1");
265
- const options = {
266
- root: null,
267
- rootMargin: Math.max(window.innerWidth * boundsRatio, window.innerHeight * boundsRatio) + "px",
268
- threshold: 0.9,
269
- };
270
- this.iObserver = new IntersectionObserver((entries) => this.onIntersection(entries), options);
271
- const root = this.shadowRoot ? this.shadowRoot : this;
272
- let elt = [...root.children].filter((e) => e.nodeName.toLowerCase() != "style")[0];
273
- if (elt?.nodeName.toLocaleLowerCase() == "slot")
274
- elt = [...elt.children].filter((e) => e.nodeName.toLowerCase() != "style")[0];
275
- if (!elt || elt.nodeName.toLocaleLowerCase() == "template") {
276
- elt = document.createElement("div");
277
- const style = elt.style;
278
- /**
279
- * !!! Pas de position absolute ici si on veut que le composant soit au bon endroit dans la page pour l'intersection observer
280
- * En effest sinon il vpeut remonter en congugaison avec le style display="contents"
281
- */
282
- style.pointerEvents = "none";
283
- style.width = "1px";
284
- style.height = "1px";
285
- this.lazyLoadPlaceHolder = elt;
286
- this.appendChild(elt);
287
- }
288
- if (elt) {
289
- this.iObserver.observe(elt);
290
- }
291
- else if (this.isFirstLoad) {
292
- this._fetchData();
293
- }
294
- }
295
- onIntersection(entries) {
296
- for (const e of entries) {
297
- if (e.isIntersecting && this.isFirstLoad) {
298
- this._fetchData();
299
- this.lazyLoadPlaceHolder?.remove();
300
- this.lazyLoadPlaceHolder = undefined;
301
- this.iObserver?.disconnect();
302
- break;
303
- }
304
- }
305
- }
306
- }
307
- __decorate([
308
- property()
309
- ], FetcherElement.prototype, "noErrorsRecordings", void 0);
310
- __decorate([
311
- property()
312
- ], FetcherElement.prototype, "props", null);
313
- __decorate([
314
- property({ type: String })
315
- ], FetcherElement.prototype, "endPoint", null);
316
- __decorate([
317
- property()
318
- ], FetcherElement.prototype, "requestId", void 0);
319
- __decorate([
320
- property({ type: Number })
321
- ], FetcherElement.prototype, "refetchEveryMs", void 0);
322
- return FetcherElement;
323
- };
324
- export default Fetcher;
325
- //# sourceMappingURL=Fetcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Fetcher.js","sourceRoot":"","sources":["../../../../src/core/mixins/Fetcher.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,wDAAwD,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAElF,OAAO,GAAG,MAAM,sCAAsC,CAAC;AACvD,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAIxD,MAAM,eAAe,GAAqB,IAAI,GAAG,EAAE,CAAC;AACpD,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,eAAe,CAAC,CAAC;IACrD,eAAe,CAAC,KAAK,EAAE,CAAC;IACxB,KAAK,MAAM,OAAO,IAAI,mBAAmB,EAAE,CAAC;QAC1C,OAAO,CAAC,OAAO,EAAE,CAAC;IACpB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,I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AI,EAAE,MAAM,EAAE,CAAC;kDAG1B;IAKW;QAAX,QAAQ,EAAE;qDAAe;IACE;QAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0DAAoB;IAmQjD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC;AACF,eAAe,OAAO,CAAC"}
@@ -1,313 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { property } from "lit/decorators.js";
8
- import { PublisherManager } from "@supersoniks/concorde/utils";
9
- const Form = (superClass) => {
10
- /**
11
- * FormCheckable ajoute un comportement de sélection (checked) a tout FormElement qui utilise cette mixin.
12
- * Il est notamment utilisé par sonic-checkbox, sonic-radio et sonic-button
13
- * * Par défaut le fonctionnement est celui d'une checkbox classique.
14
- * * Dans ce cas, a la sélection, formPublisher[name_prop] = [this.value, ...autres valeurs d'élémen,ts sélectionnés ayant le même nom];
15
- * * En activant le mode radio à l'aide du flag dédié, un seul FormElement ayant la même propriété name peut être sélectionné à la fois.
16
- * * Dans ce cas, a la sélection, formPublisher[name_prop] = this.value;
17
- */
18
- class FormCheckable extends superClass {
19
- constructor() {
20
- super(...arguments);
21
- /**
22
- * Voir la mixin FormElement.
23
- */
24
- this._value = "";
25
- this.forceAutoFill = false;
26
- /**
27
- * comme radio,mais peut être désélectionné après sélection
28
- */
29
- this.unique = null;
30
- /**
31
- Active le mode radio
32
- */
33
- this.radio = null;
34
- /**
35
- * propriété checked avec des caractéristiques similaire à un input html classique.
36
- */
37
- this._checked = null;
38
- this.updateAllChecked = () => {
39
- const name = this.getAttribute("name");
40
- const checkAllPublisher = this.getCheckAllPublisher();
41
- const formPublisher = this.getFormPublisher();
42
- if (!checkAllPublisher?.hasCheckAll.get()) {
43
- return;
44
- }
45
- if (!this.checksAll() && checkAllPublisher && formPublisher && name) {
46
- if (!this.getFormPublisherValue()?.length) {
47
- checkAllPublisher.checkMode.set("noneChecked");
48
- return;
49
- }
50
- else if (this.checked === null) {
51
- checkAllPublisher.checkMode.set("someUnchecked");
52
- }
53
- else if (checkAllPublisher.checkMode.get() == "noneChecked" ||
54
- checkAllPublisher.checkMode.get() == null) {
55
- checkAllPublisher.checkMode.set("someUnchecked");
56
- }
57
- const currentValues = this.getFormPublisherValue();
58
- const allValues = checkAllPublisher.values.get();
59
- if (allValues && allValues.length) {
60
- let checkedCount = allValues.length;
61
- for (const p of allValues) {
62
- if (currentValues.indexOf(p) == -1) {
63
- checkedCount -= 1;
64
- }
65
- }
66
- if (checkedCount == allValues.length) {
67
- checkAllPublisher.checkMode.set("allChecked");
68
- }
69
- if (checkedCount == 0) {
70
- checkAllPublisher.checkMode.set("noneChecked");
71
- }
72
- }
73
- if (allValues.indexOf(this.value) == -1 && this.unsetOnDisconnect()) {
74
- this.checked = null;
75
- }
76
- }
77
- };
78
- this.onChecksAllRequest = (value) => {
79
- this.removeAttribute("allChecked");
80
- this.removeAttribute("indeterminate");
81
- if (value == "allChecked") {
82
- this.checked = true;
83
- this.setAttribute("allChecked", "");
84
- }
85
- if (value == "noneChecked") {
86
- this.checked = null;
87
- }
88
- if (value == "someUnchecked") {
89
- if (this.checksAll())
90
- this.checked = "indeterminate";
91
- this.setAttribute("indeterminate", "");
92
- }
93
- };
94
- }
95
- get value() {
96
- return this._value;
97
- }
98
- set value(newValue) {
99
- if (this.value == newValue)
100
- return;
101
- if (this.hasAttribute("value") && !this.forceAutoFill)
102
- newValue = this.getAttribute("value");
103
- if (this._value == newValue)
104
- return;
105
- if (newValue == null)
106
- return;
107
- this._value = newValue;
108
- if (!this.value)
109
- return;
110
- // On check l'élément si il est cheched dans le formPublisher
111
- const formPublisher = this.getFormPublisher();
112
- if (formPublisher && this.name) {
113
- let currentValue = this.getFormPublisherValue();
114
- if (this.radio || this.unique) {
115
- this.checked = currentValue == newValue ? true : null;
116
- }
117
- if (!Array.isArray(currentValue)) {
118
- currentValue = [];
119
- }
120
- if (currentValue.indexOf(newValue) != -1)
121
- this.checked = true;
122
- }
123
- //On mets à jour la valeur dans la donnée si l'élément est checked
124
- if (this.checked == true)
125
- this.updateDataValue();
126
- this.requestUpdate();
127
- }
128
- get checked() {
129
- return this._checked;
130
- }
131
- set checked(checked) {
132
- this.setCheckedValue(checked);
133
- if (this.checksAll()) {
134
- const checkAllPublisher = this.getCheckAllPublisher();
135
- if (checkAllPublisher) {
136
- if (this.checked === true)
137
- checkAllPublisher.checkMode.set("allChecked");
138
- else if (this.checked === null) {
139
- checkAllPublisher.checkMode.set("noneChecked");
140
- const formPublisher = this.getFormPublisher();
141
- if (formPublisher) {
142
- this.setFormPublisherValue([]);
143
- }
144
- }
145
- }
146
- }
147
- this.requestUpdate();
148
- }
149
- validateFormElement() {
150
- const input = this.shadowRoot?.querySelector("input");
151
- if (!input || input.checkValidity())
152
- return;
153
- const formPublisher = this.getFormPublisher();
154
- if (formPublisher) {
155
- const value = this.getFormPublisherValue();
156
- if ((this.unique || this.radio) &&
157
- value !== null &&
158
- value !== undefined &&
159
- value.toString().length > 0)
160
- return;
161
- formPublisher.isFormValid = false;
162
- input.reportValidity();
163
- }
164
- }
165
- checksAll() {
166
- return this.hasAttribute("checksAll");
167
- }
168
- setCheckedValue(checked) {
169
- if (this._checked == checked)
170
- return;
171
- this._checked = checked;
172
- this.updateDataValue();
173
- this.requestUpdate();
174
- setTimeout(() => this.updateAllChecked(), 1);
175
- // Désactivation du checked sur le publisher
176
- // Pas sur de l'utilité mais provoque un bug
177
- // if (this.publisher && !this.radio && !this.unique) {
178
- // this.publisher.checked = this._checked;
179
- // }
180
- }
181
- handleChange() {
182
- const newCheckedValue = this.checked === true ? (!this.radio ? null : true) : true;
183
- this.checked = newCheckedValue;
184
- const event = new Event("change");
185
- this.dispatchEvent(event);
186
- }
187
- /**
188
- * Voir la mixin FormElement
189
- * Le comportement est ici modifié fonction de son mode (checkbox, radio, unique)
190
- */
191
- getValueForFormPublisher() {
192
- let currentValue = this.getFormPublisherValue();
193
- if (this.radio) {
194
- return this.checked === true && this.value != null
195
- ? this.value
196
- : currentValue;
197
- }
198
- if (this.unique) {
199
- return this.checked === true && this.value != null ? this.value : null;
200
- }
201
- if (!Array.isArray(currentValue)) {
202
- currentValue = [];
203
- }
204
- const currentValueArray = currentValue.slice(0);
205
- const idx = currentValueArray.indexOf(this.value);
206
- if (this.checked === true && idx === -1 && !this.checksAll())
207
- currentValueArray.push(this.value);
208
- if (this.checked === null && idx !== -1) {
209
- currentValueArray.splice(idx, 1);
210
- }
211
- return currentValueArray;
212
- }
213
- /**
214
- * Voir la mixin FormElement
215
- * Le comportement est modifié de la manière suivante :
216
- * 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)
217
- */
218
- setFormValueFromPublisher(value) {
219
- if (this.unique || this.radio) {
220
- this.checked = this.value == value ? true : null;
221
- return;
222
- }
223
- if (!Array.isArray(value))
224
- value = [];
225
- if (this.checksAll()) {
226
- return;
227
- }
228
- this.checked = value.indexOf(this.value) !== -1 ? true : null;
229
- }
230
- getCheckAllPublisher() {
231
- if (!this.formDataProvider)
232
- this.formDataProvider =
233
- this.getAncestorAttributeValue("formDataProvider");
234
- const formDataProvider = this.formDataProvider;
235
- const name = this.getAttribute("name");
236
- if (!formDataProvider || !name) {
237
- return null;
238
- }
239
- return PublisherManager.get(formDataProvider + "/" + name + "/_available_values_");
240
- }
241
- unset() {
242
- this.checked = null;
243
- }
244
- disconnectedCallback() {
245
- super.disconnectedCallback();
246
- const checkAllPublisher = this.getCheckAllPublisher();
247
- if (checkAllPublisher) {
248
- checkAllPublisher.checkMode.offAssign(this.onChecksAllRequest);
249
- if (!this.checksAll()) {
250
- const values = checkAllPublisher.values.get().slice(0);
251
- const idx = values.indexOf(this.value);
252
- if (idx != -1) {
253
- values.splice(idx, 1);
254
- checkAllPublisher.values.set(values);
255
- }
256
- }
257
- }
258
- setTimeout(() => this.updateAllChecked(), 1);
259
- }
260
- connectedCallback() {
261
- super.connectedCallback();
262
- const formPublisher = this.getFormPublisher();
263
- if (formPublisher && this.name) {
264
- const publisherValueForName = this.getFormPublisherValue();
265
- if (publisherValueForName &&
266
- Array.isArray(publisherValueForName) &&
267
- publisherValueForName.indexOf(this.value) !== -1) {
268
- this.checked = true;
269
- }
270
- }
271
- const checkAllPublisher = this.getCheckAllPublisher();
272
- if (checkAllPublisher) {
273
- checkAllPublisher.checkMode.onAssign(this.onChecksAllRequest);
274
- if (this.checksAll()) {
275
- checkAllPublisher.hasCheckAll.set(true);
276
- }
277
- if (!checkAllPublisher.values.get()) {
278
- checkAllPublisher.values.set([]);
279
- }
280
- if (!this.checksAll()) {
281
- checkAllPublisher.values.set([
282
- ...checkAllPublisher.values.get(),
283
- this.value,
284
- ]);
285
- }
286
- }
287
- if (!this.hasAttribute("checked")) {
288
- return;
289
- }
290
- if (!this.publisher || this.publisher.get().checked !== false) {
291
- setTimeout(() => (this.checked = true), 1);
292
- }
293
- }
294
- }
295
- __decorate([
296
- property()
297
- ], FormCheckable.prototype, "value", null);
298
- __decorate([
299
- property()
300
- ], FormCheckable.prototype, "forceAutoFill", void 0);
301
- __decorate([
302
- property({ type: Boolean })
303
- ], FormCheckable.prototype, "unique", void 0);
304
- __decorate([
305
- property({ type: Boolean })
306
- ], FormCheckable.prototype, "radio", void 0);
307
- __decorate([
308
- property()
309
- ], FormCheckable.prototype, "checked", null);
310
- return FormCheckable;
311
- };
312
- export default Form;
313
- //# sourceMappingURL=FormCheckable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormCheckable.js","sourceRoot":"","sources":["../../../../src/core/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