@unidy.io/sdk 1.1.8 → 1.1.9

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 (769) hide show
  1. package/dist/cjs/app-globals-DSKjcXX_.js +10 -0
  2. package/dist/cjs/app-globals-DSKjcXX_.js.map +1 -0
  3. package/dist/cjs/auth-B83pzi0f.js +582 -0
  4. package/dist/cjs/auth-B83pzi0f.js.map +1 -0
  5. package/dist/cjs/auth-store-DPHWWmXf.js +183 -0
  6. package/dist/cjs/auth-store-DPHWWmXf.js.map +1 -0
  7. package/dist/cjs/component-utils-BpMyeVQo.js +35 -0
  8. package/dist/cjs/component-utils-BpMyeVQo.js.map +1 -0
  9. package/dist/cjs/flash-store-BuIBuQDx.js +50 -0
  10. package/dist/cjs/flash-store-BuIBuQDx.js.map +1 -0
  11. package/dist/cjs/helpers-BcPlKlBG.js +11 -0
  12. package/dist/cjs/helpers-BcPlKlBG.js.map +1 -0
  13. package/dist/cjs/helpers-DJyRa0Qo.js +11 -0
  14. package/dist/cjs/helpers-DJyRa0Qo.js.map +1 -0
  15. package/dist/cjs/i18n-BoDZ8kd2.js +3236 -0
  16. package/dist/cjs/i18n-BoDZ8kd2.js.map +1 -0
  17. package/dist/cjs/index-B_N5xKgH.js +12025 -0
  18. package/dist/cjs/index-B_N5xKgH.js.map +1 -0
  19. package/dist/cjs/index-DLz3FT7T.js +214 -0
  20. package/dist/cjs/index-DLz3FT7T.js.map +1 -0
  21. package/dist/cjs/index-R2MKLaem.js +5267 -0
  22. package/dist/cjs/index-R2MKLaem.js.map +1 -0
  23. package/dist/cjs/index.cjs.js +64 -0
  24. package/dist/cjs/index.cjs.js.map +1 -0
  25. package/dist/cjs/loader.cjs.js +14 -0
  26. package/dist/cjs/loader.cjs.js.map +1 -0
  27. package/dist/cjs/newsletter-helpers-D-V_8kiN.js +289 -0
  28. package/dist/cjs/newsletter-helpers-D-V_8kiN.js.map +1 -0
  29. package/dist/cjs/newsletter-store-BzytX7Qh.js +38 -0
  30. package/dist/cjs/newsletter-store-BzytX7Qh.js.map +1 -0
  31. package/dist/cjs/pagination-store-BEiW3MQd.js +16 -0
  32. package/dist/cjs/pagination-store-BEiW3MQd.js.map +1 -0
  33. package/dist/cjs/profile-helpers-B2h2III_.js +39 -0
  34. package/dist/cjs/profile-helpers-B2h2III_.js.map +1 -0
  35. package/dist/cjs/profile-store-P_BcYkef.js +22 -0
  36. package/dist/cjs/profile-store-P_BcYkef.js.map +1 -0
  37. package/dist/cjs/sdk.cjs.js +26 -0
  38. package/dist/cjs/sdk.cjs.js.map +1 -0
  39. package/dist/cjs/u-conditional-render.cjs.entry.js +102 -0
  40. package/dist/cjs/u-conditional-render.entry.cjs.js.map +1 -0
  41. package/dist/cjs/u-config.cjs.entry.js +87 -0
  42. package/dist/cjs/u-config.entry.cjs.js.map +1 -0
  43. package/dist/cjs/u-email-field.cjs.entry.js +77 -0
  44. package/dist/cjs/u-email-field.entry.cjs.js.map +1 -0
  45. package/dist/cjs/u-error-message.cjs.entry.js +82 -0
  46. package/dist/cjs/u-error-message.entry.cjs.js.map +1 -0
  47. package/dist/cjs/u-field.u-raw-field.entry.cjs.js.map +1 -0
  48. package/dist/cjs/u-field_2.cjs.entry.js +375 -0
  49. package/dist/cjs/u-flash-message.cjs.entry.js +37 -0
  50. package/dist/cjs/u-flash-message.entry.cjs.js.map +1 -0
  51. package/dist/cjs/u-full-profile.cjs.entry.js +37 -0
  52. package/dist/cjs/u-full-profile.entry.cjs.js.map +1 -0
  53. package/dist/cjs/u-logout-button.u-signed-in.entry.cjs.js.map +1 -0
  54. package/dist/cjs/u-logout-button_2.cjs.entry.js +60 -0
  55. package/dist/cjs/u-magic-code-field.cjs.entry.js +91 -0
  56. package/dist/cjs/u-magic-code-field.entry.cjs.js.map +1 -0
  57. package/dist/cjs/u-missing-field.cjs.entry.js +22 -0
  58. package/dist/cjs/u-missing-field.entry.cjs.js.map +1 -0
  59. package/dist/cjs/u-missing-fields-submit-button.cjs.entry.js +46 -0
  60. package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +1 -0
  61. package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +77 -0
  62. package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +1 -0
  63. package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +36 -0
  64. package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +1 -0
  65. package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +120 -0
  66. package/dist/cjs/u-newsletter-preference-checkbox.entry.cjs.js.map +1 -0
  67. package/dist/cjs/u-newsletter-resend-doi-button.cjs.entry.js +49 -0
  68. package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +1 -0
  69. package/dist/cjs/u-newsletter-root.cjs.entry.js +72 -0
  70. package/dist/cjs/u-newsletter-root.entry.cjs.js.map +1 -0
  71. package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +73 -0
  72. package/dist/cjs/u-newsletter-toggle-subscription-button.entry.cjs.js.map +1 -0
  73. package/dist/cjs/u-pagination-button.cjs.entry.js +63 -0
  74. package/dist/cjs/u-pagination-button.entry.cjs.js.map +1 -0
  75. package/dist/cjs/u-pagination-page.cjs.entry.js +44 -0
  76. package/dist/cjs/u-pagination-page.entry.cjs.js.map +1 -0
  77. package/dist/cjs/u-passkey.cjs.entry.js +47 -0
  78. package/dist/cjs/u-passkey.entry.cjs.js.map +1 -0
  79. package/dist/cjs/u-password-field.cjs.entry.js +106 -0
  80. package/dist/cjs/u-password-field.entry.cjs.js.map +1 -0
  81. package/dist/cjs/u-profile.u-submit-button.entry.cjs.js.map +1 -0
  82. package/dist/cjs/u-profile_2.cjs.entry.js +327 -0
  83. package/dist/cjs/u-registration-button.cjs.entry.js +48 -0
  84. package/dist/cjs/u-registration-button.entry.cjs.js.map +1 -0
  85. package/dist/cjs/u-reset-password-button.cjs.entry.js +56 -0
  86. package/dist/cjs/u-reset-password-button.entry.cjs.js.map +1 -0
  87. package/dist/cjs/u-send-magic-code-button.cjs.entry.js +68 -0
  88. package/dist/cjs/u-send-magic-code-button.entry.cjs.js.map +1 -0
  89. package/dist/cjs/u-signin-root.cjs.entry.js +43 -0
  90. package/dist/cjs/u-signin-root.entry.cjs.js.map +1 -0
  91. package/dist/cjs/u-signin-step.cjs.entry.js +66 -0
  92. package/dist/cjs/u-signin-step.entry.cjs.js.map +1 -0
  93. package/dist/cjs/u-signin-strategy.cjs.entry.js +30 -0
  94. package/dist/cjs/u-signin-strategy.entry.cjs.js.map +1 -0
  95. package/dist/cjs/u-social-login-button.cjs.entry.js +100 -0
  96. package/dist/cjs/u-social-login-button.entry.cjs.js.map +1 -0
  97. package/dist/cjs/u-spinner.cjs.entry.js +18 -0
  98. package/dist/cjs/u-spinner.entry.cjs.js.map +1 -0
  99. package/dist/cjs/u-ticketable-list.cjs.entry.js +6097 -0
  100. package/dist/cjs/u-ticketable-list.entry.cjs.js.map +1 -0
  101. package/dist/cjs/unidy-store-7AbWnZ6g.js +41 -0
  102. package/dist/cjs/unidy-store-7AbWnZ6g.js.map +1 -0
  103. package/dist/collection/api/client.js +144 -0
  104. package/dist/collection/api/client.js.map +1 -0
  105. package/dist/collection/api/index.js +42 -0
  106. package/dist/collection/api/index.js.map +1 -0
  107. package/dist/collection/api/shared.js +18 -0
  108. package/dist/collection/api/shared.js.map +1 -0
  109. package/dist/collection/auth/api/auth.js +264 -0
  110. package/dist/collection/auth/api/auth.js.map +1 -0
  111. package/dist/collection/auth/auth-helpers.js +297 -0
  112. package/dist/collection/auth/auth-helpers.js.map +1 -0
  113. package/dist/collection/auth/auth.js +124 -0
  114. package/dist/collection/auth/auth.js.map +1 -0
  115. package/dist/collection/auth/components/helpers.js +5 -0
  116. package/dist/collection/auth/components/helpers.js.map +1 -0
  117. package/dist/collection/auth/components/logout-button/logout-button.js +92 -0
  118. package/dist/collection/auth/components/logout-button/logout-button.js.map +1 -0
  119. package/dist/collection/auth/components/magic-code-field/magic-code-field.css +1 -0
  120. package/dist/collection/auth/components/magic-code-field/magic-code-field.js +113 -0
  121. package/dist/collection/auth/components/magic-code-field/magic-code-field.js.map +1 -0
  122. package/dist/collection/auth/components/missing-field/missing-field.js +14 -0
  123. package/dist/collection/auth/components/missing-field/missing-field.js.map +1 -0
  124. package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js +39 -0
  125. package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js.map +1 -0
  126. package/dist/collection/auth/components/passkey/passkey.js +103 -0
  127. package/dist/collection/auth/components/passkey/passkey.js.map +1 -0
  128. package/dist/collection/auth/components/password-field/password-field.js +168 -0
  129. package/dist/collection/auth/components/password-field/password-field.js.map +1 -0
  130. package/dist/collection/auth/components/registration/registration-button.js +104 -0
  131. package/dist/collection/auth/components/registration/registration-button.js.map +1 -0
  132. package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js +68 -0
  133. package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js.map +1 -0
  134. package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js +104 -0
  135. package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js.map +1 -0
  136. package/dist/collection/auth/components/signed-in/signed-in.js +59 -0
  137. package/dist/collection/auth/components/signed-in/signed-in.js.map +1 -0
  138. package/dist/collection/auth/components/signin-root/signin-root.js +97 -0
  139. package/dist/collection/auth/components/signin-root/signin-root.js.map +1 -0
  140. package/dist/collection/auth/components/signin-step/signin-step.js +135 -0
  141. package/dist/collection/auth/components/signin-step/signin-step.js.map +1 -0
  142. package/dist/collection/auth/components/signin-strategy/signin-strategy.js +64 -0
  143. package/dist/collection/auth/components/signin-strategy/signin-strategy.js.map +1 -0
  144. package/dist/collection/auth/components/social-logins/logos/apple.js +3 -0
  145. package/dist/collection/auth/components/social-logins/logos/apple.js.map +1 -0
  146. package/dist/collection/auth/components/social-logins/logos/discord.js +3 -0
  147. package/dist/collection/auth/components/social-logins/logos/discord.js.map +1 -0
  148. package/dist/collection/auth/components/social-logins/logos/facebook.js +3 -0
  149. package/dist/collection/auth/components/social-logins/logos/facebook.js.map +1 -0
  150. package/dist/collection/auth/components/social-logins/logos/google.js +3 -0
  151. package/dist/collection/auth/components/social-logins/logos/google.js.map +1 -0
  152. package/dist/collection/auth/components/social-logins/logos/linkedin.js +3 -0
  153. package/dist/collection/auth/components/social-logins/logos/linkedin.js.map +1 -0
  154. package/dist/collection/auth/components/social-logins/social-login-button.css +1 -0
  155. package/dist/collection/auth/components/social-logins/social-login-button.js +188 -0
  156. package/dist/collection/auth/components/social-logins/social-login-button.js.map +1 -0
  157. package/dist/collection/auth/components/submit-button/auth-submit-button.js +62 -0
  158. package/dist/collection/auth/components/submit-button/auth-submit-button.js.map +1 -0
  159. package/dist/collection/auth/error-definitions.js +26 -0
  160. package/dist/collection/auth/error-definitions.js.map +1 -0
  161. package/dist/collection/auth/index.js +14 -0
  162. package/dist/collection/auth/index.js.map +1 -0
  163. package/dist/collection/auth/passkey-auth.js +106 -0
  164. package/dist/collection/auth/passkey-auth.js.map +1 -0
  165. package/dist/collection/auth/store/auth-store.js +174 -0
  166. package/dist/collection/auth/store/auth-store.js.map +1 -0
  167. package/dist/collection/collection-manifest.json +46 -0
  168. package/dist/collection/globalScript.js +18 -0
  169. package/dist/collection/globalScript.js.map +1 -0
  170. package/dist/collection/i18n.js +31 -0
  171. package/dist/collection/i18n.js.map +1 -0
  172. package/dist/collection/index.js +16 -0
  173. package/dist/collection/index.js.map +1 -0
  174. package/dist/collection/locales/de.json +133 -0
  175. package/dist/collection/locales/en.json +133 -0
  176. package/dist/collection/locales/fr.json +133 -0
  177. package/dist/collection/locales/it.json +133 -0
  178. package/dist/collection/locales/nl_be.json +133 -0
  179. package/dist/collection/locales/ro.json +133 -0
  180. package/dist/collection/logger.js +106 -0
  181. package/dist/collection/logger.js.map +1 -0
  182. package/dist/collection/newsletter/api/newsletters.js +189 -0
  183. package/dist/collection/newsletter/api/newsletters.js.map +1 -0
  184. package/dist/collection/newsletter/components/helpers.js +5 -0
  185. package/dist/collection/newsletter/components/helpers.js.map +1 -0
  186. package/dist/collection/newsletter/components/logout-button/logout-button.js +48 -0
  187. package/dist/collection/newsletter/components/logout-button/logout-button.js.map +1 -0
  188. package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js +165 -0
  189. package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js.map +1 -0
  190. package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js +119 -0
  191. package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +1 -0
  192. package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +235 -0
  193. package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js.map +1 -0
  194. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.css +1 -0
  195. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js +89 -0
  196. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js.map +1 -0
  197. package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js +18 -0
  198. package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js.map +1 -0
  199. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.css +1 -0
  200. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js +154 -0
  201. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js.map +1 -0
  202. package/dist/collection/newsletter/index.js +11 -0
  203. package/dist/collection/newsletter/index.js.map +1 -0
  204. package/dist/collection/newsletter/newsletter-helpers.js +277 -0
  205. package/dist/collection/newsletter/newsletter-helpers.js.map +1 -0
  206. package/dist/collection/newsletter/store/newsletter-store.js +34 -0
  207. package/dist/collection/newsletter/store/newsletter-store.js.map +1 -0
  208. package/dist/collection/profile/api/profile.js +168 -0
  209. package/dist/collection/profile/api/profile.js.map +1 -0
  210. package/dist/collection/profile/components/field/field.css +1 -0
  211. package/dist/collection/profile/components/field/field.js +359 -0
  212. package/dist/collection/profile/components/field/field.js.map +1 -0
  213. package/dist/collection/profile/components/full-profile/full-profile.css +1 -0
  214. package/dist/collection/profile/components/full-profile/full-profile.js +78 -0
  215. package/dist/collection/profile/components/full-profile/full-profile.js.map +1 -0
  216. package/dist/collection/profile/components/profile/profile.js +250 -0
  217. package/dist/collection/profile/components/profile/profile.js.map +1 -0
  218. package/dist/collection/profile/components/raw-field/raw-field.js +697 -0
  219. package/dist/collection/profile/components/raw-field/raw-field.js.map +1 -0
  220. package/dist/collection/profile/components/raw-input-fields/Input.js +3 -0
  221. package/dist/collection/profile/components/raw-input-fields/Input.js.map +1 -0
  222. package/dist/collection/profile/components/raw-input-fields/MultiSelect.js +8 -0
  223. package/dist/collection/profile/components/raw-input-fields/MultiSelect.js.map +1 -0
  224. package/dist/collection/profile/components/raw-input-fields/RadioGroup.js +8 -0
  225. package/dist/collection/profile/components/raw-input-fields/RadioGroup.js.map +1 -0
  226. package/dist/collection/profile/components/raw-input-fields/Select.js +11 -0
  227. package/dist/collection/profile/components/raw-input-fields/Select.js.map +1 -0
  228. package/dist/collection/profile/components/raw-input-fields/Textarea.js +3 -0
  229. package/dist/collection/profile/components/raw-input-fields/Textarea.js.map +1 -0
  230. package/dist/collection/profile/components/submit-button/profile-submit-button.js +17 -0
  231. package/dist/collection/profile/components/submit-button/profile-submit-button.js.map +1 -0
  232. package/dist/collection/profile/index.js +13 -0
  233. package/dist/collection/profile/index.js.map +1 -0
  234. package/dist/collection/profile/profile-helpers.js +31 -0
  235. package/dist/collection/profile/profile-helpers.js.map +1 -0
  236. package/dist/collection/profile/store/profile-store.js +15 -0
  237. package/dist/collection/profile/store/profile-store.js.map +1 -0
  238. package/dist/collection/sdk.css +39 -0
  239. package/dist/collection/shared/component-utils.js +28 -0
  240. package/dist/collection/shared/component-utils.js.map +1 -0
  241. package/dist/collection/shared/components/conditional-render/conditional-render.js +177 -0
  242. package/dist/collection/shared/components/conditional-render/conditional-render.js.map +1 -0
  243. package/dist/collection/shared/components/config/config.js +260 -0
  244. package/dist/collection/shared/components/config/config.js.map +1 -0
  245. package/dist/collection/shared/components/email-field/email-field.css +1 -0
  246. package/dist/collection/shared/components/email-field/email-field.js +145 -0
  247. package/dist/collection/shared/components/email-field/email-field.js.map +1 -0
  248. package/dist/collection/shared/components/error-message/error-message.js +141 -0
  249. package/dist/collection/shared/components/error-message/error-message.js.map +1 -0
  250. package/dist/collection/shared/components/flash-message/close-icon.js +3 -0
  251. package/dist/collection/shared/components/flash-message/close-icon.js.map +1 -0
  252. package/dist/collection/shared/components/flash-message/flash-message.css +1 -0
  253. package/dist/collection/shared/components/flash-message/flash-message.js +79 -0
  254. package/dist/collection/shared/components/flash-message/flash-message.js.map +1 -0
  255. package/dist/collection/shared/components/spinner/spinner.css +1 -0
  256. package/dist/collection/shared/components/spinner/spinner.js +19 -0
  257. package/dist/collection/shared/components/spinner/spinner.js.map +1 -0
  258. package/dist/collection/shared/components/submit-button/context.js +10 -0
  259. package/dist/collection/shared/components/submit-button/context.js.map +1 -0
  260. package/dist/collection/shared/components/submit-button/submit-button.css +1 -0
  261. package/dist/collection/shared/components/submit-button/submit-button.js +196 -0
  262. package/dist/collection/shared/components/submit-button/submit-button.js.map +1 -0
  263. package/dist/collection/shared/store/flash-store.js +43 -0
  264. package/dist/collection/shared/store/flash-store.js.map +1 -0
  265. package/dist/collection/shared/store/unidy-store.js +33 -0
  266. package/dist/collection/shared/store/unidy-store.js.map +1 -0
  267. package/dist/collection/ticketable/api/get-with-schema.js +35 -0
  268. package/dist/collection/ticketable/api/get-with-schema.js.map +1 -0
  269. package/dist/collection/ticketable/api/schemas.js +12 -0
  270. package/dist/collection/ticketable/api/schemas.js.map +1 -0
  271. package/dist/collection/ticketable/api/subscriptions.js +47 -0
  272. package/dist/collection/ticketable/api/subscriptions.js.map +1 -0
  273. package/dist/collection/ticketable/api/tickets.js +48 -0
  274. package/dist/collection/ticketable/api/tickets.js.map +1 -0
  275. package/dist/collection/ticketable/components/pagination/pagination-button.js +108 -0
  276. package/dist/collection/ticketable/components/pagination/pagination-button.js.map +1 -0
  277. package/dist/collection/ticketable/components/pagination/pagination-page.js +69 -0
  278. package/dist/collection/ticketable/components/pagination/pagination-page.js.map +1 -0
  279. package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js +54 -0
  280. package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js.map +1 -0
  281. package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js +505 -0
  282. package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +1 -0
  283. package/dist/collection/ticketable/index.js +13 -0
  284. package/dist/collection/ticketable/index.js.map +1 -0
  285. package/dist/collection/ticketable/store/pagination-store.js +9 -0
  286. package/dist/collection/ticketable/store/pagination-store.js.map +1 -0
  287. package/dist/components/auth-store.js +178 -0
  288. package/dist/components/auth-store.js.map +1 -0
  289. package/dist/components/auth.js +581 -0
  290. package/dist/components/auth.js.map +1 -0
  291. package/dist/components/component-utils.js +32 -0
  292. package/dist/components/component-utils.js.map +1 -0
  293. package/dist/components/exports.js +4106 -0
  294. package/dist/components/exports.js.map +1 -0
  295. package/dist/components/field.js +144 -0
  296. package/dist/components/field.js.map +1 -0
  297. package/dist/components/flash-store.js +47 -0
  298. package/dist/components/flash-store.js.map +1 -0
  299. package/dist/components/helpers.js +9 -0
  300. package/dist/components/helpers.js.map +1 -0
  301. package/dist/components/helpers2.js +9 -0
  302. package/dist/components/helpers2.js.map +1 -0
  303. package/dist/components/i18n.js +3234 -0
  304. package/dist/components/i18n.js.map +1 -0
  305. package/dist/components/index.d.ts +33 -0
  306. package/dist/components/index.js +5902 -0
  307. package/dist/components/index.js.map +1 -0
  308. package/dist/components/index2.js +5256 -0
  309. package/dist/components/index2.js.map +1 -0
  310. package/dist/components/index3.js +212 -0
  311. package/dist/components/index3.js.map +1 -0
  312. package/dist/components/logger.js +111 -0
  313. package/dist/components/logger.js.map +1 -0
  314. package/dist/components/newsletter-helpers.js +278 -0
  315. package/dist/components/newsletter-helpers.js.map +1 -0
  316. package/dist/components/newsletter-store.js +34 -0
  317. package/dist/components/newsletter-store.js.map +1 -0
  318. package/dist/components/pagination-store.js +14 -0
  319. package/dist/components/pagination-store.js.map +1 -0
  320. package/dist/components/profile-helpers.js +36 -0
  321. package/dist/components/profile-helpers.js.map +1 -0
  322. package/dist/components/profile-store.js +18 -0
  323. package/dist/components/profile-store.js.map +1 -0
  324. package/dist/components/profile.js +151 -0
  325. package/dist/components/profile.js.map +1 -0
  326. package/dist/components/raw-field.js +318 -0
  327. package/dist/components/raw-field.js.map +1 -0
  328. package/dist/components/spinner.js +35 -0
  329. package/dist/components/spinner.js.map +1 -0
  330. package/dist/components/submit-button.js +231 -0
  331. package/dist/components/submit-button.js.map +1 -0
  332. package/dist/components/u-conditional-render.d.ts +11 -0
  333. package/dist/components/u-conditional-render.js +120 -0
  334. package/dist/components/u-conditional-render.js.map +1 -0
  335. package/dist/components/u-config.d.ts +11 -0
  336. package/dist/components/u-config.js +113 -0
  337. package/dist/components/u-config.js.map +1 -0
  338. package/dist/components/u-email-field.d.ts +11 -0
  339. package/dist/components/u-email-field.js +99 -0
  340. package/dist/components/u-email-field.js.map +1 -0
  341. package/dist/components/u-error-message.d.ts +11 -0
  342. package/dist/components/u-error-message.js +105 -0
  343. package/dist/components/u-error-message.js.map +1 -0
  344. package/dist/components/u-field.d.ts +11 -0
  345. package/dist/components/u-field.js +9 -0
  346. package/dist/components/u-field.js.map +1 -0
  347. package/dist/components/u-flash-message.d.ts +11 -0
  348. package/dist/components/u-flash-message.js +58 -0
  349. package/dist/components/u-flash-message.js.map +1 -0
  350. package/dist/components/u-full-profile.d.ts +11 -0
  351. package/dist/components/u-full-profile.js +87 -0
  352. package/dist/components/u-full-profile.js.map +1 -0
  353. package/dist/components/u-logout-button.d.ts +11 -0
  354. package/dist/components/u-logout-button.js +59 -0
  355. package/dist/components/u-logout-button.js.map +1 -0
  356. package/dist/components/u-magic-code-field.d.ts +11 -0
  357. package/dist/components/u-magic-code-field.js +106 -0
  358. package/dist/components/u-magic-code-field.js.map +1 -0
  359. package/dist/components/u-missing-field.d.ts +11 -0
  360. package/dist/components/u-missing-field.js +57 -0
  361. package/dist/components/u-missing-field.js.map +1 -0
  362. package/dist/components/u-missing-fields-submit-button.d.ts +11 -0
  363. package/dist/components/u-missing-fields-submit-button.js +70 -0
  364. package/dist/components/u-missing-fields-submit-button.js.map +1 -0
  365. package/dist/components/u-newsletter-checkbox.d.ts +11 -0
  366. package/dist/components/u-newsletter-checkbox.js +93 -0
  367. package/dist/components/u-newsletter-checkbox.js.map +1 -0
  368. package/dist/components/u-newsletter-logout-button.d.ts +11 -0
  369. package/dist/components/u-newsletter-logout-button.js +51 -0
  370. package/dist/components/u-newsletter-logout-button.js.map +1 -0
  371. package/dist/components/u-newsletter-preference-checkbox.d.ts +11 -0
  372. package/dist/components/u-newsletter-preference-checkbox.js +140 -0
  373. package/dist/components/u-newsletter-preference-checkbox.js.map +1 -0
  374. package/dist/components/u-newsletter-resend-doi-button.d.ts +11 -0
  375. package/dist/components/u-newsletter-resend-doi-button.js +70 -0
  376. package/dist/components/u-newsletter-resend-doi-button.js.map +1 -0
  377. package/dist/components/u-newsletter-root.d.ts +11 -0
  378. package/dist/components/u-newsletter-root.js +90 -0
  379. package/dist/components/u-newsletter-root.js.map +1 -0
  380. package/dist/components/u-newsletter-toggle-subscription-button.d.ts +11 -0
  381. package/dist/components/u-newsletter-toggle-subscription-button.js +97 -0
  382. package/dist/components/u-newsletter-toggle-subscription-button.js.map +1 -0
  383. package/dist/components/u-pagination-button.d.ts +11 -0
  384. package/dist/components/u-pagination-button.js +86 -0
  385. package/dist/components/u-pagination-button.js.map +1 -0
  386. package/dist/components/u-pagination-page.d.ts +11 -0
  387. package/dist/components/u-pagination-page.js +66 -0
  388. package/dist/components/u-pagination-page.js.map +1 -0
  389. package/dist/components/u-passkey.d.ts +11 -0
  390. package/dist/components/u-passkey.js +65 -0
  391. package/dist/components/u-passkey.js.map +1 -0
  392. package/dist/components/u-password-field.d.ts +11 -0
  393. package/dist/components/u-password-field.js +127 -0
  394. package/dist/components/u-password-field.js.map +1 -0
  395. package/dist/components/u-profile.d.ts +11 -0
  396. package/dist/components/u-profile.js +9 -0
  397. package/dist/components/u-profile.js.map +1 -0
  398. package/dist/components/u-raw-field.d.ts +11 -0
  399. package/dist/components/u-raw-field.js +9 -0
  400. package/dist/components/u-raw-field.js.map +1 -0
  401. package/dist/components/u-registration-button.d.ts +11 -0
  402. package/dist/components/u-registration-button.js +70 -0
  403. package/dist/components/u-registration-button.js.map +1 -0
  404. package/dist/components/u-reset-password-button.d.ts +11 -0
  405. package/dist/components/u-reset-password-button.js +72 -0
  406. package/dist/components/u-reset-password-button.js.map +1 -0
  407. package/dist/components/u-send-magic-code-button.d.ts +11 -0
  408. package/dist/components/u-send-magic-code-button.js +85 -0
  409. package/dist/components/u-send-magic-code-button.js.map +1 -0
  410. package/dist/components/u-signed-in.d.ts +11 -0
  411. package/dist/components/u-signed-in.js +44 -0
  412. package/dist/components/u-signed-in.js.map +1 -0
  413. package/dist/components/u-signin-root.d.ts +11 -0
  414. package/dist/components/u-signin-root.js +63 -0
  415. package/dist/components/u-signin-root.js.map +1 -0
  416. package/dist/components/u-signin-step.d.ts +11 -0
  417. package/dist/components/u-signin-step.js +84 -0
  418. package/dist/components/u-signin-step.js.map +1 -0
  419. package/dist/components/u-signin-strategy.d.ts +11 -0
  420. package/dist/components/u-signin-strategy.js +50 -0
  421. package/dist/components/u-signin-strategy.js.map +1 -0
  422. package/dist/components/u-social-login-button.d.ts +11 -0
  423. package/dist/components/u-social-login-button.js +125 -0
  424. package/dist/components/u-social-login-button.js.map +1 -0
  425. package/dist/components/u-spinner.d.ts +11 -0
  426. package/dist/components/u-spinner.js +9 -0
  427. package/dist/components/u-spinner.js.map +1 -0
  428. package/dist/components/u-submit-button.d.ts +11 -0
  429. package/dist/components/u-submit-button.js +9 -0
  430. package/dist/components/u-submit-button.js.map +1 -0
  431. package/dist/components/u-ticketable-list.d.ts +11 -0
  432. package/dist/components/u-ticketable-list.js +6130 -0
  433. package/dist/components/u-ticketable-list.js.map +1 -0
  434. package/dist/components/unidy-store.js +37 -0
  435. package/dist/components/unidy-store.js.map +1 -0
  436. package/dist/esm/app-globals-CPU9ZcqZ.js +8 -0
  437. package/dist/esm/app-globals-CPU9ZcqZ.js.map +1 -0
  438. package/dist/esm/auth-B0RIcDM-.js +580 -0
  439. package/dist/esm/auth-B0RIcDM-.js.map +1 -0
  440. package/dist/esm/auth-store-BGMYm_jK.js +178 -0
  441. package/dist/esm/auth-store-BGMYm_jK.js.map +1 -0
  442. package/dist/esm/component-utils-D1lzXl_Z.js +32 -0
  443. package/dist/esm/component-utils-D1lzXl_Z.js.map +1 -0
  444. package/dist/esm/flash-store-CEvWSG0c.js +47 -0
  445. package/dist/esm/flash-store-CEvWSG0c.js.map +1 -0
  446. package/dist/esm/helpers-BqFCd65h.js +9 -0
  447. package/dist/esm/helpers-BqFCd65h.js.map +1 -0
  448. package/dist/esm/helpers-DUHc_Cx7.js +9 -0
  449. package/dist/esm/helpers-DUHc_Cx7.js.map +1 -0
  450. package/dist/esm/i18n-CLdWzy5J.js +3233 -0
  451. package/dist/esm/i18n-CLdWzy5J.js.map +1 -0
  452. package/dist/esm/index-Bjp1XO-f.js +212 -0
  453. package/dist/esm/index-Bjp1XO-f.js.map +1 -0
  454. package/dist/esm/index-Ci3aTmzp.js +12007 -0
  455. package/dist/esm/index-Ci3aTmzp.js.map +1 -0
  456. package/dist/esm/index-DSDkaHWI.js +5254 -0
  457. package/dist/esm/index-DSDkaHWI.js.map +1 -0
  458. package/dist/esm/index.js +40 -0
  459. package/dist/esm/index.js.map +1 -0
  460. package/dist/esm/loader.js +12 -0
  461. package/dist/esm/loader.js.map +1 -0
  462. package/dist/esm/newsletter-helpers-CONtbKYi.js +278 -0
  463. package/dist/esm/newsletter-helpers-CONtbKYi.js.map +1 -0
  464. package/dist/esm/newsletter-store-DBL1A203.js +34 -0
  465. package/dist/esm/newsletter-store-DBL1A203.js.map +1 -0
  466. package/dist/esm/pagination-store-DzdJOp-n.js +14 -0
  467. package/dist/esm/pagination-store-DzdJOp-n.js.map +1 -0
  468. package/dist/esm/profile-helpers-CglNd6Nw.js +36 -0
  469. package/dist/esm/profile-helpers-CglNd6Nw.js.map +1 -0
  470. package/dist/esm/profile-store-RmZB2PTc.js +18 -0
  471. package/dist/esm/profile-store-RmZB2PTc.js.map +1 -0
  472. package/dist/esm/sdk.js +22 -0
  473. package/dist/esm/sdk.js.map +1 -0
  474. package/dist/esm/u-conditional-render.entry.js +100 -0
  475. package/dist/esm/u-conditional-render.entry.js.map +1 -0
  476. package/dist/esm/u-config.entry.js +85 -0
  477. package/dist/esm/u-config.entry.js.map +1 -0
  478. package/dist/esm/u-email-field.entry.js +75 -0
  479. package/dist/esm/u-email-field.entry.js.map +1 -0
  480. package/dist/esm/u-error-message.entry.js +80 -0
  481. package/dist/esm/u-error-message.entry.js.map +1 -0
  482. package/dist/esm/u-field.u-raw-field.entry.js.map +1 -0
  483. package/dist/esm/u-field_2.entry.js +372 -0
  484. package/dist/esm/u-flash-message.entry.js +35 -0
  485. package/dist/esm/u-flash-message.entry.js.map +1 -0
  486. package/dist/esm/u-full-profile.entry.js +35 -0
  487. package/dist/esm/u-full-profile.entry.js.map +1 -0
  488. package/dist/esm/u-logout-button.u-signed-in.entry.js.map +1 -0
  489. package/dist/esm/u-logout-button_2.entry.js +57 -0
  490. package/dist/esm/u-magic-code-field.entry.js +89 -0
  491. package/dist/esm/u-magic-code-field.entry.js.map +1 -0
  492. package/dist/esm/u-missing-field.entry.js +20 -0
  493. package/dist/esm/u-missing-field.entry.js.map +1 -0
  494. package/dist/esm/u-missing-fields-submit-button.entry.js +44 -0
  495. package/dist/esm/u-missing-fields-submit-button.entry.js.map +1 -0
  496. package/dist/esm/u-newsletter-checkbox.entry.js +75 -0
  497. package/dist/esm/u-newsletter-checkbox.entry.js.map +1 -0
  498. package/dist/esm/u-newsletter-logout-button.entry.js +34 -0
  499. package/dist/esm/u-newsletter-logout-button.entry.js.map +1 -0
  500. package/dist/esm/u-newsletter-preference-checkbox.entry.js +118 -0
  501. package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +1 -0
  502. package/dist/esm/u-newsletter-resend-doi-button.entry.js +47 -0
  503. package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +1 -0
  504. package/dist/esm/u-newsletter-root.entry.js +70 -0
  505. package/dist/esm/u-newsletter-root.entry.js.map +1 -0
  506. package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +71 -0
  507. package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +1 -0
  508. package/dist/esm/u-pagination-button.entry.js +61 -0
  509. package/dist/esm/u-pagination-button.entry.js.map +1 -0
  510. package/dist/esm/u-pagination-page.entry.js +42 -0
  511. package/dist/esm/u-pagination-page.entry.js.map +1 -0
  512. package/dist/esm/u-passkey.entry.js +45 -0
  513. package/dist/esm/u-passkey.entry.js.map +1 -0
  514. package/dist/esm/u-password-field.entry.js +104 -0
  515. package/dist/esm/u-password-field.entry.js.map +1 -0
  516. package/dist/esm/u-profile.u-submit-button.entry.js.map +1 -0
  517. package/dist/esm/u-profile_2.entry.js +324 -0
  518. package/dist/esm/u-registration-button.entry.js +46 -0
  519. package/dist/esm/u-registration-button.entry.js.map +1 -0
  520. package/dist/esm/u-reset-password-button.entry.js +54 -0
  521. package/dist/esm/u-reset-password-button.entry.js.map +1 -0
  522. package/dist/esm/u-send-magic-code-button.entry.js +66 -0
  523. package/dist/esm/u-send-magic-code-button.entry.js.map +1 -0
  524. package/dist/esm/u-signin-root.entry.js +41 -0
  525. package/dist/esm/u-signin-root.entry.js.map +1 -0
  526. package/dist/esm/u-signin-step.entry.js +64 -0
  527. package/dist/esm/u-signin-step.entry.js.map +1 -0
  528. package/dist/esm/u-signin-strategy.entry.js +28 -0
  529. package/dist/esm/u-signin-strategy.entry.js.map +1 -0
  530. package/dist/esm/u-social-login-button.entry.js +98 -0
  531. package/dist/esm/u-social-login-button.entry.js.map +1 -0
  532. package/dist/esm/u-spinner.entry.js +16 -0
  533. package/dist/esm/u-spinner.entry.js.map +1 -0
  534. package/dist/esm/u-ticketable-list.entry.js +6095 -0
  535. package/dist/esm/u-ticketable-list.entry.js.map +1 -0
  536. package/dist/esm/unidy-store-BldTAtO0.js +37 -0
  537. package/dist/esm/unidy-store-BldTAtO0.js.map +1 -0
  538. package/dist/index.cjs.js +1 -0
  539. package/dist/index.js +1 -0
  540. package/dist/sdk/index.esm.js +2 -0
  541. package/dist/sdk/index.esm.js.map +1 -0
  542. package/dist/sdk/loader.esm.js.map +1 -0
  543. package/dist/sdk/locales/de.json +133 -0
  544. package/dist/sdk/locales/en.json +133 -0
  545. package/dist/sdk/locales/fr.json +133 -0
  546. package/dist/sdk/locales/it.json +133 -0
  547. package/dist/sdk/locales/nl_be.json +133 -0
  548. package/dist/sdk/locales/ro.json +133 -0
  549. package/dist/sdk/p-08ff2de2.entry.js +2 -0
  550. package/dist/sdk/p-08ff2de2.entry.js.map +1 -0
  551. package/dist/sdk/p-09cd77e6.entry.js +2 -0
  552. package/dist/sdk/p-09cd77e6.entry.js.map +1 -0
  553. package/dist/sdk/p-1176c407.entry.js +2 -0
  554. package/dist/sdk/p-1176c407.entry.js.map +1 -0
  555. package/dist/sdk/p-22e4d08b.entry.js +2 -0
  556. package/dist/sdk/p-22e4d08b.entry.js.map +1 -0
  557. package/dist/sdk/p-2a65bcbb.entry.js +2 -0
  558. package/dist/sdk/p-2a65bcbb.entry.js.map +1 -0
  559. package/dist/sdk/p-2af8b45f.entry.js +2 -0
  560. package/dist/sdk/p-2af8b45f.entry.js.map +1 -0
  561. package/dist/sdk/p-339f32c1.entry.js +2 -0
  562. package/dist/sdk/p-339f32c1.entry.js.map +1 -0
  563. package/dist/sdk/p-56abb377.entry.js +2 -0
  564. package/dist/sdk/p-56abb377.entry.js.map +1 -0
  565. package/dist/sdk/p-593c6dde.entry.js +2 -0
  566. package/dist/sdk/p-593c6dde.entry.js.map +1 -0
  567. package/dist/sdk/p-5b627aea.entry.js +2 -0
  568. package/dist/sdk/p-5b627aea.entry.js.map +1 -0
  569. package/dist/sdk/p-628ccd68.entry.js +2 -0
  570. package/dist/sdk/p-628ccd68.entry.js.map +1 -0
  571. package/dist/sdk/p-675eb13d.entry.js +2 -0
  572. package/dist/sdk/p-675eb13d.entry.js.map +1 -0
  573. package/dist/sdk/p-6893d167.entry.js +2 -0
  574. package/dist/sdk/p-6893d167.entry.js.map +1 -0
  575. package/dist/sdk/p-6a642433.entry.js +2 -0
  576. package/dist/sdk/p-6a642433.entry.js.map +1 -0
  577. package/dist/sdk/p-73c2ec89.entry.js +2 -0
  578. package/dist/sdk/p-73c2ec89.entry.js.map +1 -0
  579. package/dist/sdk/p-87d10077.entry.js +2 -0
  580. package/dist/sdk/p-87d10077.entry.js.map +1 -0
  581. package/dist/sdk/p-91bb8b59.entry.js +2 -0
  582. package/dist/sdk/p-91bb8b59.entry.js.map +1 -0
  583. package/dist/sdk/p-93200fb4.entry.js +2 -0
  584. package/dist/sdk/p-93200fb4.entry.js.map +1 -0
  585. package/dist/sdk/p-9f59909b.entry.js +2 -0
  586. package/dist/sdk/p-9f59909b.entry.js.map +1 -0
  587. package/dist/sdk/p-BZ1kW_eK.js +2 -0
  588. package/dist/sdk/p-BZ1kW_eK.js.map +1 -0
  589. package/dist/sdk/p-BlAULXyw.js +2 -0
  590. package/dist/sdk/p-BlAULXyw.js.map +1 -0
  591. package/dist/sdk/p-BlOjABPD.js +2 -0
  592. package/dist/sdk/p-BlOjABPD.js.map +1 -0
  593. package/dist/sdk/p-BqFCd65h.js +2 -0
  594. package/dist/sdk/p-BqFCd65h.js.map +1 -0
  595. package/dist/sdk/p-C0feI0p8.js +2 -0
  596. package/dist/sdk/p-C0feI0p8.js.map +1 -0
  597. package/dist/sdk/p-C3fhudPT.js +2 -0
  598. package/dist/sdk/p-C3fhudPT.js.map +1 -0
  599. package/dist/sdk/p-CFiZLMAA.js +2 -0
  600. package/dist/sdk/p-CFiZLMAA.js.map +1 -0
  601. package/dist/sdk/p-CPPYdoIv.js +2 -0
  602. package/dist/sdk/p-CPPYdoIv.js.map +1 -0
  603. package/dist/sdk/p-CbRhHGU5.js +2 -0
  604. package/dist/sdk/p-CbRhHGU5.js.map +1 -0
  605. package/dist/sdk/p-Ce8zGAi1.js +2 -0
  606. package/dist/sdk/p-Ce8zGAi1.js.map +1 -0
  607. package/dist/sdk/p-Ci3aTmzp.js +3 -0
  608. package/dist/sdk/p-Ci3aTmzp.js.map +1 -0
  609. package/dist/sdk/p-D1lzXl_Z.js +2 -0
  610. package/dist/sdk/p-D1lzXl_Z.js.map +1 -0
  611. package/dist/sdk/p-DA84OuuU.js +2 -0
  612. package/dist/sdk/p-DA84OuuU.js.map +1 -0
  613. package/dist/sdk/p-DUHc_Cx7.js +2 -0
  614. package/dist/sdk/p-DUHc_Cx7.js.map +1 -0
  615. package/dist/sdk/p-DYtgart8.js +2 -0
  616. package/dist/sdk/p-DYtgart8.js.map +1 -0
  617. package/dist/sdk/p-DdUvQelg.js +2 -0
  618. package/dist/sdk/p-DdUvQelg.js.map +1 -0
  619. package/dist/sdk/p-S3-2d2Qd.js +2 -0
  620. package/dist/sdk/p-S3-2d2Qd.js.map +1 -0
  621. package/dist/sdk/p-a5db968f.entry.js +2 -0
  622. package/dist/sdk/p-a5db968f.entry.js.map +1 -0
  623. package/dist/sdk/p-ad796888.entry.js +2 -0
  624. package/dist/sdk/p-ad796888.entry.js.map +1 -0
  625. package/dist/sdk/p-afc65acd.entry.js +2 -0
  626. package/dist/sdk/p-afc65acd.entry.js.map +1 -0
  627. package/dist/sdk/p-b0728464.entry.js +2 -0
  628. package/dist/sdk/p-b0728464.entry.js.map +1 -0
  629. package/dist/sdk/p-b0917777.entry.js +2 -0
  630. package/dist/sdk/p-b0917777.entry.js.map +1 -0
  631. package/dist/sdk/p-bb603b00.entry.js +2 -0
  632. package/dist/sdk/p-bb603b00.entry.js.map +1 -0
  633. package/dist/sdk/p-c197fdb3.entry.js +2 -0
  634. package/dist/sdk/p-c197fdb3.entry.js.map +1 -0
  635. package/dist/sdk/p-c31dbbb4.entry.js +2 -0
  636. package/dist/sdk/p-c31dbbb4.entry.js.map +1 -0
  637. package/dist/sdk/p-c5bffd90.entry.js +2 -0
  638. package/dist/sdk/p-c5bffd90.entry.js.map +1 -0
  639. package/dist/sdk/p-f0598e42.entry.js +2 -0
  640. package/dist/sdk/p-f0598e42.entry.js.map +1 -0
  641. package/dist/sdk/p-f5615938.entry.js +2 -0
  642. package/dist/sdk/p-f5615938.entry.js.map +1 -0
  643. package/dist/sdk/p-ffac964c.entry.js +2 -0
  644. package/dist/sdk/p-ffac964c.entry.js.map +1 -0
  645. package/dist/sdk/sdk.css +39 -0
  646. package/dist/sdk/sdk.esm.js +2 -0
  647. package/dist/sdk/sdk.esm.js.map +1 -0
  648. package/dist/sdk/u-conditional-render.entry.esm.js.map +1 -0
  649. package/dist/sdk/u-config.entry.esm.js.map +1 -0
  650. package/dist/sdk/u-email-field.entry.esm.js.map +1 -0
  651. package/dist/sdk/u-error-message.entry.esm.js.map +1 -0
  652. package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +1 -0
  653. package/dist/sdk/u-flash-message.entry.esm.js.map +1 -0
  654. package/dist/sdk/u-full-profile.entry.esm.js.map +1 -0
  655. package/dist/sdk/u-logout-button.u-signed-in.entry.esm.js.map +1 -0
  656. package/dist/sdk/u-magic-code-field.entry.esm.js.map +1 -0
  657. package/dist/sdk/u-missing-field.entry.esm.js.map +1 -0
  658. package/dist/sdk/u-missing-fields-submit-button.entry.esm.js.map +1 -0
  659. package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +1 -0
  660. package/dist/sdk/u-newsletter-logout-button.entry.esm.js.map +1 -0
  661. package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +1 -0
  662. package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +1 -0
  663. package/dist/sdk/u-newsletter-root.entry.esm.js.map +1 -0
  664. package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +1 -0
  665. package/dist/sdk/u-pagination-button.entry.esm.js.map +1 -0
  666. package/dist/sdk/u-pagination-page.entry.esm.js.map +1 -0
  667. package/dist/sdk/u-passkey.entry.esm.js.map +1 -0
  668. package/dist/sdk/u-password-field.entry.esm.js.map +1 -0
  669. package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +1 -0
  670. package/dist/sdk/u-registration-button.entry.esm.js.map +1 -0
  671. package/dist/sdk/u-reset-password-button.entry.esm.js.map +1 -0
  672. package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +1 -0
  673. package/dist/sdk/u-signin-root.entry.esm.js.map +1 -0
  674. package/dist/sdk/u-signin-step.entry.esm.js.map +1 -0
  675. package/dist/sdk/u-signin-strategy.entry.esm.js.map +1 -0
  676. package/dist/sdk/u-social-login-button.entry.esm.js.map +1 -0
  677. package/dist/sdk/u-spinner.entry.esm.js.map +1 -0
  678. package/dist/sdk/u-ticketable-list.entry.esm.js.map +1 -0
  679. package/dist/types/api/client.d.ts +32 -0
  680. package/dist/types/api/index.d.ts +22 -0
  681. package/dist/types/api/shared.d.ts +20 -0
  682. package/dist/types/auth/api/auth.d.ts +300 -0
  683. package/dist/types/auth/auth-helpers.d.ts +375 -0
  684. package/dist/types/auth/auth.d.ts +54 -0
  685. package/dist/types/auth/components/helpers.d.ts +1 -0
  686. package/dist/types/auth/components/logout-button/logout-button.d.ts +11 -0
  687. package/dist/types/auth/components/magic-code-field/magic-code-field.d.ts +10 -0
  688. package/dist/types/auth/components/missing-field/missing-field.d.ts +4 -0
  689. package/dist/types/auth/components/missing-fields-submit-button/missing-fields-submit-button.d.ts +5 -0
  690. package/dist/types/auth/components/passkey/passkey.d.ts +9 -0
  691. package/dist/types/auth/components/password-field/password-field.d.ts +15 -0
  692. package/dist/types/auth/components/registration/registration-button.d.ts +11 -0
  693. package/dist/types/auth/components/reset-pass-button/reset-pass-button.d.ts +7 -0
  694. package/dist/types/auth/components/send-magic-code-button/send-magic-code-button.d.ts +11 -0
  695. package/dist/types/auth/components/signed-in/signed-in.d.ts +5 -0
  696. package/dist/types/auth/components/signin-root/signin-root.d.ts +14 -0
  697. package/dist/types/auth/components/signin-step/signin-step.d.ts +8 -0
  698. package/dist/types/auth/components/signin-strategy/signin-strategy.d.ts +5 -0
  699. package/dist/types/auth/components/social-logins/logos/apple.d.ts +4 -0
  700. package/dist/types/auth/components/social-logins/logos/discord.d.ts +4 -0
  701. package/dist/types/auth/components/social-logins/logos/facebook.d.ts +4 -0
  702. package/dist/types/auth/components/social-logins/logos/google.d.ts +4 -0
  703. package/dist/types/auth/components/social-logins/logos/linkedin.d.ts +4 -0
  704. package/dist/types/auth/components/social-logins/social-login-button.d.ts +24 -0
  705. package/dist/types/auth/components/submit-button/auth-submit-button.d.ts +3 -0
  706. package/dist/types/auth/error-definitions.d.ts +23 -0
  707. package/dist/types/auth/index.d.ts +16 -0
  708. package/dist/types/auth/passkey-auth.d.ts +2 -0
  709. package/dist/types/auth/store/auth-store.d.ts +56 -0
  710. package/dist/types/components.d.ts +1262 -0
  711. package/dist/types/globalScript.d.ts +1 -0
  712. package/dist/types/i18n.d.ts +3 -0
  713. package/dist/types/index.d.ts +16 -0
  714. package/dist/types/logger.d.ts +55 -0
  715. package/dist/types/newsletter/api/newsletters.d.ts +198 -0
  716. package/dist/types/newsletter/components/helpers.d.ts +1 -0
  717. package/dist/types/newsletter/components/logout-button/logout-button.d.ts +6 -0
  718. package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +15 -0
  719. package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +11 -0
  720. package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +28 -0
  721. package/dist/types/newsletter/components/resend-doi-button/resend-doi-button.d.ts +8 -0
  722. package/dist/types/newsletter/components/submit-button/newsletter-submit-button.d.ts +3 -0
  723. package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts +12 -0
  724. package/dist/types/newsletter/index.d.ts +10 -0
  725. package/dist/types/newsletter/newsletter-helpers.d.ts +15 -0
  726. package/dist/types/newsletter/store/newsletter-store.d.ts +25 -0
  727. package/dist/types/profile/api/profile.d.ts +238 -0
  728. package/dist/types/profile/components/field/field.d.ts +40 -0
  729. package/dist/types/profile/components/full-profile/full-profile.d.ts +6 -0
  730. package/dist/types/profile/components/profile/profile.d.ts +27 -0
  731. package/dist/types/profile/components/raw-field/raw-field.d.ts +45 -0
  732. package/dist/types/profile/components/raw-input-fields/Input.d.ts +17 -0
  733. package/dist/types/profile/components/raw-input-fields/MultiSelect.d.ts +28 -0
  734. package/dist/types/profile/components/raw-input-fields/RadioGroup.d.ts +30 -0
  735. package/dist/types/profile/components/raw-input-fields/Select.d.ts +24 -0
  736. package/dist/types/profile/components/raw-input-fields/Textarea.d.ts +17 -0
  737. package/dist/types/profile/components/submit-button/profile-submit-button.d.ts +2 -0
  738. package/dist/types/profile/index.d.ts +13 -0
  739. package/dist/types/profile/profile-helpers.d.ts +7 -0
  740. package/dist/types/profile/store/profile-store.d.ts +39 -0
  741. package/dist/types/shared/component-utils.d.ts +9 -0
  742. package/dist/types/shared/components/conditional-render/conditional-render.d.ts +11 -0
  743. package/dist/types/shared/components/config/config.d.ts +31 -0
  744. package/dist/types/shared/components/email-field/email-field.d.ts +13 -0
  745. package/dist/types/shared/components/error-message/error-message.d.ts +15 -0
  746. package/dist/types/shared/components/flash-message/close-icon.d.ts +1 -0
  747. package/dist/types/shared/components/flash-message/flash-message.d.ts +6 -0
  748. package/dist/types/shared/components/spinner/spinner.d.ts +3 -0
  749. package/dist/types/shared/components/submit-button/context.d.ts +9 -0
  750. package/dist/types/shared/components/submit-button/submit-button.d.ts +20 -0
  751. package/dist/types/shared/store/flash-store.d.ts +29 -0
  752. package/dist/types/shared/store/unidy-store.d.ts +12 -0
  753. package/dist/types/stencil-public-runtime.d.ts +1756 -0
  754. package/dist/types/ticketable/api/get-with-schema.d.ts +3 -0
  755. package/dist/types/ticketable/api/schemas.d.ts +18 -0
  756. package/dist/types/ticketable/api/subscriptions.d.ts +84 -0
  757. package/dist/types/ticketable/api/tickets.d.ts +86 -0
  758. package/dist/types/ticketable/components/pagination/pagination-button.d.ts +14 -0
  759. package/dist/types/ticketable/components/pagination/pagination-page.d.ts +12 -0
  760. package/dist/types/ticketable/components/ticketable-list/skeleton-helpers.d.ts +13 -0
  761. package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +41 -0
  762. package/dist/types/ticketable/index.d.ts +12 -0
  763. package/dist/types/ticketable/store/pagination-store.d.ts +10 -0
  764. package/loader/cdn.js +1 -0
  765. package/loader/index.cjs.js +1 -0
  766. package/loader/index.d.ts +24 -0
  767. package/loader/index.es2017.js +1 -0
  768. package/loader/index.js +2 -0
  769. package/package.json +1 -1
@@ -0,0 +1,260 @@
1
+ import * as Sentry from "@sentry/browser";
2
+ import { h } from "@stencil/core";
3
+ import { getUnidyClient } from "../../../api/";
4
+ import { Auth } from "../../../auth";
5
+ import i18n from "../../../i18n";
6
+ import { UnidyComponent } from "../../../logger";
7
+ import { unidyState } from "../../store/unidy-store";
8
+ export class UnidyConfig extends UnidyComponent {
9
+ constructor() {
10
+ super();
11
+ }
12
+ mode = "production";
13
+ baseUrl = "";
14
+ apiKey = "";
15
+ customTranslations = "";
16
+ fallbackLocale = "en";
17
+ locale = "en";
18
+ unidyInitialized;
19
+ configChange;
20
+ async componentWillLoad() {
21
+ if (!this.baseUrl || !this.apiKey) {
22
+ this.logger.error("baseUrl and apiKey are required");
23
+ return;
24
+ }
25
+ unidyState.apiKey = this.apiKey;
26
+ unidyState.baseUrl = this.baseUrl;
27
+ unidyState.locale = this.locale;
28
+ unidyState.isConfigured = true;
29
+ this.unidyInitialized.emit({
30
+ apiKey: this.apiKey,
31
+ baseUrl: this.baseUrl,
32
+ locale: this.locale,
33
+ mode: this.mode,
34
+ });
35
+ i18n.options.fallbackLng = this.fallbackLocale;
36
+ this.loadCustomTranslations();
37
+ unidyState.locale = this.locale;
38
+ await Auth.initialize(getUnidyClient());
39
+ }
40
+ // extend the list of properties that should be watched when new properties are added to the Config
41
+ onPropChange(newValue, oldValue, propName) {
42
+ if (oldValue === undefined)
43
+ return;
44
+ if (propName in unidyState) {
45
+ unidyState[propName] = newValue;
46
+ }
47
+ this.configChange.emit({
48
+ key: propName,
49
+ value: newValue,
50
+ previousValue: oldValue,
51
+ });
52
+ }
53
+ render() {
54
+ return h("slot", { key: 'c1f855a1b3661d92bffe82bd4d927e832907f272' });
55
+ }
56
+ loadCustomTranslations() {
57
+ if (this.customTranslations) {
58
+ try {
59
+ const translations = typeof this.customTranslations === "string" ? JSON.parse(this.customTranslations) : this.customTranslations;
60
+ for (const lang in translations) {
61
+ if (Object.hasOwn(translations, lang)) {
62
+ i18n.addResourceBundle(lang, "translation", translations[lang], true, true);
63
+ }
64
+ }
65
+ }
66
+ catch (error) {
67
+ Sentry.captureException("Failed to parse customTranslations", error);
68
+ }
69
+ }
70
+ }
71
+ static get is() { return "u-config"; }
72
+ static get properties() {
73
+ return {
74
+ "mode": {
75
+ "type": "string",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "\"production\" | \"development\"",
79
+ "resolved": "\"development\" | \"production\"",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": ""
87
+ },
88
+ "getter": false,
89
+ "setter": false,
90
+ "reflect": false,
91
+ "attribute": "mode",
92
+ "defaultValue": "\"production\""
93
+ },
94
+ "baseUrl": {
95
+ "type": "string",
96
+ "mutable": false,
97
+ "complexType": {
98
+ "original": "string",
99
+ "resolved": "string",
100
+ "references": {}
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": ""
107
+ },
108
+ "getter": false,
109
+ "setter": false,
110
+ "reflect": false,
111
+ "attribute": "base-url",
112
+ "defaultValue": "\"\""
113
+ },
114
+ "apiKey": {
115
+ "type": "string",
116
+ "mutable": false,
117
+ "complexType": {
118
+ "original": "string",
119
+ "resolved": "string",
120
+ "references": {}
121
+ },
122
+ "required": false,
123
+ "optional": false,
124
+ "docs": {
125
+ "tags": [],
126
+ "text": ""
127
+ },
128
+ "getter": false,
129
+ "setter": false,
130
+ "reflect": false,
131
+ "attribute": "api-key",
132
+ "defaultValue": "\"\""
133
+ },
134
+ "customTranslations": {
135
+ "type": "string",
136
+ "mutable": false,
137
+ "complexType": {
138
+ "original": "string | Record<string, TranslationTree>",
139
+ "resolved": "string | { [x: string]: TranslationTree; }",
140
+ "references": {
141
+ "Record": {
142
+ "location": "global",
143
+ "id": "global::Record"
144
+ },
145
+ "TranslationTree": {
146
+ "location": "global",
147
+ "id": "global::TranslationTree"
148
+ }
149
+ }
150
+ },
151
+ "required": false,
152
+ "optional": false,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": ""
156
+ },
157
+ "getter": false,
158
+ "setter": false,
159
+ "reflect": false,
160
+ "attribute": "custom-translations",
161
+ "defaultValue": "\"\""
162
+ },
163
+ "fallbackLocale": {
164
+ "type": "string",
165
+ "mutable": false,
166
+ "complexType": {
167
+ "original": "string",
168
+ "resolved": "string",
169
+ "references": {}
170
+ },
171
+ "required": false,
172
+ "optional": false,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": ""
176
+ },
177
+ "getter": false,
178
+ "setter": false,
179
+ "reflect": false,
180
+ "attribute": "fallback-locale",
181
+ "defaultValue": "\"en\""
182
+ },
183
+ "locale": {
184
+ "type": "string",
185
+ "mutable": false,
186
+ "complexType": {
187
+ "original": "string",
188
+ "resolved": "string",
189
+ "references": {}
190
+ },
191
+ "required": false,
192
+ "optional": false,
193
+ "docs": {
194
+ "tags": [],
195
+ "text": ""
196
+ },
197
+ "getter": false,
198
+ "setter": false,
199
+ "reflect": false,
200
+ "attribute": "locale",
201
+ "defaultValue": "\"en\""
202
+ }
203
+ };
204
+ }
205
+ static get events() {
206
+ return [{
207
+ "method": "unidyInitialized",
208
+ "name": "unidyInitialized",
209
+ "bubbles": true,
210
+ "cancelable": true,
211
+ "composed": true,
212
+ "docs": {
213
+ "tags": [],
214
+ "text": ""
215
+ },
216
+ "complexType": {
217
+ "original": "Config",
218
+ "resolved": "Config",
219
+ "references": {
220
+ "Config": {
221
+ "location": "local",
222
+ "path": "/Users/fran/work/unidy-sdk/packages/sdk/src/shared/components/config/config.tsx",
223
+ "id": "src/shared/components/config/config.tsx::Config"
224
+ }
225
+ }
226
+ }
227
+ }, {
228
+ "method": "configChange",
229
+ "name": "configChange",
230
+ "bubbles": true,
231
+ "cancelable": true,
232
+ "composed": true,
233
+ "docs": {
234
+ "tags": [],
235
+ "text": ""
236
+ },
237
+ "complexType": {
238
+ "original": "ConfigChange",
239
+ "resolved": "ConfigChange",
240
+ "references": {
241
+ "ConfigChange": {
242
+ "location": "local",
243
+ "path": "/Users/fran/work/unidy-sdk/packages/sdk/src/shared/components/config/config.tsx",
244
+ "id": "src/shared/components/config/config.tsx::ConfigChange"
245
+ }
246
+ }
247
+ }
248
+ }];
249
+ }
250
+ static get watchers() {
251
+ return [{
252
+ "propName": "mode",
253
+ "methodName": "onPropChange"
254
+ }, {
255
+ "propName": "locale",
256
+ "methodName": "onPropChange"
257
+ }];
258
+ }
259
+ }
260
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/shared/components/config/config.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,KAAK,EAAqB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAuBrD,MAAM,OAAO,WAAY,SAAQ,cAAc;;;;IACrC,IAAI,GAAiC,YAAY,CAAC;IAClD,OAAO,GAAG,EAAE,CAAC;IACb,MAAM,GAAG,EAAE,CAAC;IACZ,kBAAkB,GAA6C,EAAE,CAAC;IAClE,cAAc,GAAG,IAAI,CAAC;IACtB,MAAM,GAAG,IAAI,CAAC;IAEb,gBAAgB,CAAwB;IACxC,YAAY,CAA8B;IAEnD,KAAK,CAAC,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YAClC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;YACrD,OAAO;QACT,CAAC;QAED,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAChC,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAClC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAChC,UAAU,CAAC,YAAY,GAAG,IAAI,CAAC;QAE/B,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;YACzB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC,CAAC;QAEH,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC;QAE/C,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAEhC,MAAM,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1C,CAAC;IAED,mGAAmG;IAGnG,YAAY,CAAC,QAAgB,EAAE,QAAgB,EAAE,QAAsB;QACrE,IAAI,QAAQ,KAAK,SAAS;YAAE,OAAO;QAEnC,IAAI,QAAQ,IAAI,UAAU,EAAE,CAAC;YAC1B,UAA2C,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;QACpE,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;YACrB,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;YACf,aAAa,EAAE,QAAQ;SACxB,CAAC,CAAC;IACL,CAAC;IAED,MAAM;QACJ,OAAO,8DAAQ,CAAC;IAClB,CAAC;IAEO,sBAAsB;QAC5B,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC5B,IAAI,CAAC;gBACH,MAAM,YAAY,GAAG,OAAO,IAAI,CAAC,kBAAkB,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;gBAEjI,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;oBAChC,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,CAAC,EAAE,CAAC;wBACtC,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBAC9E,CAAC;gBACH,CAAC;YACH,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,CAAC,gBAAgB,CAAC,oCAAoC,EAAE,KAAK,CAAC,CAAC;YACvE,CAAC;QACH,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import * as Sentry from \"@sentry/browser\";\nimport { Component, Event, type EventEmitter, h, Prop, Watch } from \"@stencil/core\";\nimport { getUnidyClient } from \"../../../api/\";\nimport { Auth } from \"../../../auth\";\nimport i18n from \"../../../i18n\";\nimport { UnidyComponent } from \"../../../logger\";\nimport { unidyState } from \"../../store/unidy-store\";\n\nexport interface Config {\n apiKey: string;\n baseUrl: string;\n locale: string;\n mode: \"production\" | \"development\";\n}\n\nexport interface ConfigChange {\n key: string;\n value: string;\n previousValue: string;\n}\n\ntype TranslationTree = {\n [key: string]: string | TranslationTree;\n};\n\n@Component({\n tag: \"u-config\",\n shadow: false,\n})\nexport class UnidyConfig extends UnidyComponent {\n @Prop() mode: \"production\" | \"development\" = \"production\";\n @Prop() baseUrl = \"\";\n @Prop() apiKey = \"\";\n @Prop() customTranslations: string | Record<string, TranslationTree> = \"\";\n @Prop() fallbackLocale = \"en\";\n @Prop() locale = \"en\";\n\n @Event() unidyInitialized!: EventEmitter<Config>;\n @Event() configChange!: EventEmitter<ConfigChange>;\n\n async componentWillLoad() {\n if (!this.baseUrl || !this.apiKey) {\n this.logger.error(\"baseUrl and apiKey are required\");\n return;\n }\n\n unidyState.apiKey = this.apiKey;\n unidyState.baseUrl = this.baseUrl;\n unidyState.locale = this.locale;\n unidyState.isConfigured = true;\n\n this.unidyInitialized.emit({\n apiKey: this.apiKey,\n baseUrl: this.baseUrl,\n locale: this.locale,\n mode: this.mode,\n });\n\n i18n.options.fallbackLng = this.fallbackLocale;\n\n this.loadCustomTranslations();\n unidyState.locale = this.locale;\n\n await Auth.initialize(getUnidyClient());\n }\n\n // extend the list of properties that should be watched when new properties are added to the Config\n @Watch(\"mode\")\n @Watch(\"locale\")\n onPropChange(newValue: string, oldValue: string, propName: keyof Config) {\n if (oldValue === undefined) return;\n\n if (propName in unidyState) {\n (unidyState as Record<keyof Config, string>)[propName] = newValue;\n }\n\n this.configChange.emit({\n key: propName,\n value: newValue,\n previousValue: oldValue,\n });\n }\n\n render() {\n return <slot />;\n }\n\n private loadCustomTranslations() {\n if (this.customTranslations) {\n try {\n const translations = typeof this.customTranslations === \"string\" ? JSON.parse(this.customTranslations) : this.customTranslations;\n\n for (const lang in translations) {\n if (Object.hasOwn(translations, lang)) {\n i18n.addResourceBundle(lang, \"translation\", translations[lang], true, true);\n }\n }\n } catch (error) {\n Sentry.captureException(\"Failed to parse customTranslations\", error);\n }\n }\n }\n}\n"]}
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--u-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--u-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--u-color-gray-200:oklch(92.8% .006 264.531);--u-default-font-family:var(--u-font-sans);--u-default-mono-font-family:var(--u-font-mono);--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{font-family:var(--u-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--u-default-font-feature-settings,normal);font-variation-settings:var(--u-default-font-variation-settings,normal);-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--u-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--u-default-mono-font-feature-settings,normal);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--u-default-mono-font-variation-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.u\:disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.u\:disabled\:bg-gray-200:disabled{background-color:var(--u-color-gray-200)}.u\:disabled\:opacity-40:disabled{opacity:.4}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer base{}@layer components;@layer utilities{.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
@@ -0,0 +1,145 @@
1
+ import { h } from "@stencil/core";
2
+ import { getParentSigninStep } from "../../../auth/components/helpers";
3
+ import { authState, authStore } from "../../../auth/store/auth-store";
4
+ import { t } from "../../../i18n";
5
+ import { getParentNewsletterRoot } from "../../../newsletter/components/helpers";
6
+ import { newsletterStore } from "../../../newsletter/store/newsletter-store";
7
+ export class EmailField {
8
+ el;
9
+ componentClassName = "";
10
+ ariaLabel = "Email";
11
+ disabled = false;
12
+ emailValue = "";
13
+ get context() {
14
+ if (this.el.closest("u-signin-root"))
15
+ return "auth";
16
+ if (this.el.closest("u-newsletter-root"))
17
+ return "newsletter";
18
+ return null;
19
+ }
20
+ get store() {
21
+ switch (this.context) {
22
+ case "auth":
23
+ return authStore;
24
+ case "newsletter":
25
+ return newsletterStore;
26
+ default:
27
+ throw new Error("No store found for email field. Make sure you are using the component within a u-signin-root or u-newsletter-root.");
28
+ }
29
+ }
30
+ handleInput = (event) => {
31
+ const target = event.target;
32
+ this.store.state.email = target.value;
33
+ if (this.context === "newsletter") {
34
+ this.store.state.errors = {};
35
+ }
36
+ else {
37
+ this.store.clearFieldError("email");
38
+ }
39
+ };
40
+ handleSubmit = async (event) => {
41
+ event.preventDefault();
42
+ if (this.store.state.email === "")
43
+ return;
44
+ if (this.context === "auth")
45
+ return await getParentSigninStep(this.el)?.submit();
46
+ if (this.context === "newsletter")
47
+ return await getParentNewsletterRoot(this.el)?.submit();
48
+ };
49
+ isDisabled() {
50
+ if (this.disabled)
51
+ return true;
52
+ if (this.context === "auth")
53
+ return authState.loading || authState.step === "verification" || authState.step === "registration";
54
+ if (this.context === "newsletter") {
55
+ return !!newsletterStore.state.preferenceToken && !!newsletterStore.state.email;
56
+ }
57
+ return false;
58
+ }
59
+ render() {
60
+ const placeholderText = t("auth.email.placeholder", { defaultValue: "Enter your email" });
61
+ return (h("form", { key: '435145b8bcd40a984052b2a64b144ebbe16b188c', onSubmit: this.handleSubmit }, h("input", { key: '3ca976a93d48c62617375add44dced059e961709', id: "email", type: "email", value: this.store.state.email, autocomplete: "email", placeholder: placeholderText, disabled: this.isDisabled(), class: `${this.componentClassName} u:disabled:opacity-40 u:disabled:bg-gray-200 u:disabled:cursor-not-allowed`, onInput: this.handleInput, "aria-label": this.ariaLabel }), h("slot", { key: '5eb4e5d803e9278cd603890269ff5e07457576f5' })));
62
+ }
63
+ static get is() { return "u-email-field"; }
64
+ static get originalStyleUrls() {
65
+ return {
66
+ "$": ["email-field.css"]
67
+ };
68
+ }
69
+ static get styleUrls() {
70
+ return {
71
+ "$": ["email-field.css"]
72
+ };
73
+ }
74
+ static get properties() {
75
+ return {
76
+ "componentClassName": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "getter": false,
91
+ "setter": false,
92
+ "reflect": false,
93
+ "attribute": "class-name",
94
+ "defaultValue": "\"\""
95
+ },
96
+ "ariaLabel": {
97
+ "type": "string",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "string",
101
+ "resolved": "string",
102
+ "references": {}
103
+ },
104
+ "required": false,
105
+ "optional": false,
106
+ "docs": {
107
+ "tags": [],
108
+ "text": ""
109
+ },
110
+ "getter": false,
111
+ "setter": false,
112
+ "reflect": false,
113
+ "attribute": "aria-label",
114
+ "defaultValue": "\"Email\""
115
+ },
116
+ "disabled": {
117
+ "type": "boolean",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "boolean",
121
+ "resolved": "boolean",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": ""
129
+ },
130
+ "getter": false,
131
+ "setter": false,
132
+ "reflect": false,
133
+ "attribute": "disabled",
134
+ "defaultValue": "false"
135
+ }
136
+ };
137
+ }
138
+ static get states() {
139
+ return {
140
+ "emailValue": {}
141
+ };
142
+ }
143
+ static get elementRef() { return "el"; }
144
+ }
145
+ //# sourceMappingURL=email-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-field.js","sourceRoot":"","sources":["../../../../src/shared/components/email-field/email-field.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Prop, State } from \"@stencil/core\";\nimport { getParentSigninStep } from \"../../../auth/components/helpers\";\nimport { authState, authStore } from \"../../../auth/store/auth-store\";\nimport { t } from \"../../../i18n\";\nimport { getParentNewsletterRoot } from \"../../../newsletter/components/helpers\";\nimport { newsletterStore } from \"../../../newsletter/store/newsletter-store\";\n\n@Component({\n tag: \"u-email-field\",\n styleUrl: \"email-field.css\",\n shadow: false,\n})\nexport class EmailField {\n @Element() el!: HTMLElement;\n\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n @Prop() ariaLabel = \"Email\";\n @Prop() disabled = false;\n\n @State() emailValue = \"\";\n\n private get context(): \"auth\" | \"newsletter\" | null {\n if (this.el.closest(\"u-signin-root\")) return \"auth\";\n\n if (this.el.closest(\"u-newsletter-root\")) return \"newsletter\";\n\n return null;\n }\n\n private get store(): typeof authStore | typeof newsletterStore | null {\n switch (this.context) {\n case \"auth\":\n return authStore;\n case \"newsletter\":\n return newsletterStore;\n default:\n throw new Error(\n \"No store found for email field. Make sure you are using the component within a u-signin-root or u-newsletter-root.\",\n );\n }\n }\n\n private handleInput = (event: Event) => {\n const target = event.target as HTMLInputElement;\n\n (this.store as { state: { email: string } }).state.email = target.value;\n\n if (this.context === \"newsletter\") {\n this.store.state.errors = {};\n } else {\n (this.store as { clearFieldError: (field: \"email\") => void }).clearFieldError(\"email\");\n }\n };\n\n private handleSubmit = async (event: Event) => {\n event.preventDefault();\n\n if (this.store.state.email === \"\") return;\n\n if (this.context === \"auth\") return await getParentSigninStep(this.el)?.submit();\n\n if (this.context === \"newsletter\") return await getParentNewsletterRoot(this.el)?.submit();\n };\n\n private isDisabled(): boolean {\n if (this.disabled) return true;\n\n if (this.context === \"auth\") return authState.loading || authState.step === \"verification\" || authState.step === \"registration\";\n\n if (this.context === \"newsletter\") {\n return !!newsletterStore.state.preferenceToken && !!newsletterStore.state.email;\n }\n\n return false;\n }\n\n render() {\n const placeholderText = t(\"auth.email.placeholder\", { defaultValue: \"Enter your email\" });\n\n return (\n <form onSubmit={this.handleSubmit}>\n <input\n id=\"email\"\n type=\"email\"\n value={this.store.state.email}\n autocomplete=\"email\"\n placeholder={placeholderText}\n disabled={this.isDisabled()}\n class={`${this.componentClassName} u:disabled:opacity-40 u:disabled:bg-gray-200 u:disabled:cursor-not-allowed`}\n onInput={this.handleInput}\n aria-label={this.ariaLabel}\n />\n <slot />\n </form>\n );\n }\n}\n"]}
@@ -0,0 +1,141 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { authState } from "../../../auth/store/auth-store";
3
+ import { t } from "../../../i18n";
4
+ import { newsletterStore } from "../../../newsletter/store/newsletter-store";
5
+ import { hasSlotContent } from "../../component-utils";
6
+ import { unidyState } from "../../store/unidy-store";
7
+ export class ErrorMessage {
8
+ componentClassName = "";
9
+ for;
10
+ errorMessages;
11
+ el;
12
+ detectContext() {
13
+ if (this.el.closest("u-signin-root") || this.el.closest("u-signin-step"))
14
+ return "auth";
15
+ if (this.el.closest("u-profile"))
16
+ return "profile";
17
+ if (this.el.closest("u-newsletter-root"))
18
+ return "newsletter";
19
+ if (this.for === "general" || this.for === "connection")
20
+ return "other";
21
+ throw new Error("No context found for error message. Make sure you are using the component within a u-signin-root, u-profile, or u-newsletter-root.");
22
+ }
23
+ get context() {
24
+ return this.detectContext();
25
+ }
26
+ getAuthErrorMessage(errorCode) {
27
+ if (this.errorMessages?.[errorCode]) {
28
+ return this.errorMessages[errorCode];
29
+ }
30
+ const translatedError = t(`errors.${errorCode}`);
31
+ if (translatedError !== `errors.${errorCode}`) {
32
+ return translatedError;
33
+ }
34
+ return errorCode || t("errors.unknown", { defaultValue: "An error occurred" });
35
+ }
36
+ getNewsletterErrorMessage(errorIdentifier) {
37
+ return t(`newsletter.errors.${errorIdentifier}`) || t("errors.unknown", { defaultValue: "An unknown error occurred" });
38
+ }
39
+ getErrorMessage(errorCode) {
40
+ if (this.context === "auth") {
41
+ return this.getAuthErrorMessage(errorCode);
42
+ }
43
+ return this.getNewsletterErrorMessage(errorCode);
44
+ }
45
+ getAuthErrorCode() {
46
+ const forValue = this.for;
47
+ if (forValue === "connection") {
48
+ return unidyState.backendConnected ? null : "connection_failed";
49
+ }
50
+ if (forValue === "general") {
51
+ return authState.globalErrors.auth;
52
+ }
53
+ return authState.errors[forValue];
54
+ }
55
+ getNewsletterErrorCode() {
56
+ const error = newsletterStore.state.errors[this.for];
57
+ return error ?? null;
58
+ }
59
+ render() {
60
+ const errorCode = this.context === "newsletter" ? this.getNewsletterErrorCode() : this.getAuthErrorCode();
61
+ if (!errorCode) {
62
+ return null;
63
+ }
64
+ // Only render connection_failed for "general" and "connection" types
65
+ if (errorCode === "connection_failed" && this.for !== "general" && this.for !== "connection") {
66
+ return null;
67
+ }
68
+ const errorMessage = this.getErrorMessage(errorCode);
69
+ const formattedMessage = errorMessage?.includes("\n") ? h("div", { style: { whiteSpace: "pre-line" } }, errorMessage) : errorMessage;
70
+ return h(Host, { class: this.componentClassName }, hasSlotContent(this.el) ? h("slot", null) : formattedMessage);
71
+ }
72
+ static get is() { return "u-error-message"; }
73
+ static get encapsulation() { return "shadow"; }
74
+ static get properties() {
75
+ return {
76
+ "componentClassName": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "getter": false,
91
+ "setter": false,
92
+ "reflect": false,
93
+ "attribute": "class-name",
94
+ "defaultValue": "\"\""
95
+ },
96
+ "for": {
97
+ "type": "string",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "string",
101
+ "resolved": "string",
102
+ "references": {}
103
+ },
104
+ "required": true,
105
+ "optional": false,
106
+ "docs": {
107
+ "tags": [],
108
+ "text": ""
109
+ },
110
+ "getter": false,
111
+ "setter": false,
112
+ "reflect": false,
113
+ "attribute": "for"
114
+ },
115
+ "errorMessages": {
116
+ "type": "unknown",
117
+ "mutable": false,
118
+ "complexType": {
119
+ "original": "Record<string, string>",
120
+ "resolved": "{ [x: string]: string; }",
121
+ "references": {
122
+ "Record": {
123
+ "location": "global",
124
+ "id": "global::Record"
125
+ }
126
+ }
127
+ },
128
+ "required": false,
129
+ "optional": true,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": ""
133
+ },
134
+ "getter": false,
135
+ "setter": false
136
+ }
137
+ };
138
+ }
139
+ static get elementRef() { return "el"; }
140
+ }
141
+ //# sourceMappingURL=error-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-message.js","sourceRoot":"","sources":["../../../../src/shared/components/error-message/error-message.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, Host, h, Prop } from \"@stencil/core\";\nimport { authState } from \"../../../auth/store/auth-store\";\nimport { t } from \"../../../i18n\";\nimport { type NewsletterErrorIdentifier, newsletterStore } from \"../../../newsletter/store/newsletter-store\";\nimport { hasSlotContent } from \"../../component-utils\";\nimport { unidyState } from \"../../store/unidy-store\";\n\nexport type AuthErrorType = \"email\" | \"password\" | \"magicCode\" | \"resetPassword\" | \"general\" | \"connection\" | \"passkey\";\n\n@Component({\n tag: \"u-error-message\",\n shadow: true,\n})\nexport class ErrorMessage {\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n @Prop() for!: string;\n\n @Prop() errorMessages?: Record<string, string>;\n @Element() el!: HTMLElement;\n\n private detectContext(): \"auth\" | \"newsletter\" | \"profile\" | \"other\" {\n if (this.el.closest(\"u-signin-root\") || this.el.closest(\"u-signin-step\")) return \"auth\";\n\n if (this.el.closest(\"u-profile\")) return \"profile\";\n\n if (this.el.closest(\"u-newsletter-root\")) return \"newsletter\";\n\n if (this.for === \"general\" || this.for === \"connection\") return \"other\";\n\n throw new Error(\n \"No context found for error message. Make sure you are using the component within a u-signin-root, u-profile, or u-newsletter-root.\",\n );\n }\n\n private get context(): \"auth\" | \"newsletter\" | \"profile\" | \"other\" {\n return this.detectContext();\n }\n\n private getAuthErrorMessage(errorCode: string): string {\n if (this.errorMessages?.[errorCode]) {\n return this.errorMessages[errorCode];\n }\n\n const translatedError = t(`errors.${errorCode}`);\n if (translatedError !== `errors.${errorCode}`) {\n return translatedError;\n }\n\n return errorCode || t(\"errors.unknown\", { defaultValue: \"An error occurred\" });\n }\n\n private getNewsletterErrorMessage(errorIdentifier: NewsletterErrorIdentifier): string {\n return t(`newsletter.errors.${errorIdentifier}`) || t(\"errors.unknown\", { defaultValue: \"An unknown error occurred\" });\n }\n\n private getErrorMessage(errorCode: string): string | null {\n if (this.context === \"auth\") {\n return this.getAuthErrorMessage(errorCode);\n }\n\n return this.getNewsletterErrorMessage(errorCode as NewsletterErrorIdentifier);\n }\n\n private getAuthErrorCode(): string | null {\n const forValue = this.for as AuthErrorType;\n\n if (forValue === \"connection\") {\n return unidyState.backendConnected ? null : \"connection_failed\";\n }\n\n if (forValue === \"general\") {\n return authState.globalErrors.auth;\n }\n\n return authState.errors[forValue];\n }\n\n private getNewsletterErrorCode(): string | null {\n const error = newsletterStore.state.errors[this.for];\n return error ?? null;\n }\n\n render() {\n const errorCode = this.context === \"newsletter\" ? this.getNewsletterErrorCode() : this.getAuthErrorCode();\n\n if (!errorCode) {\n return null;\n }\n\n // Only render connection_failed for \"general\" and \"connection\" types\n if (errorCode === \"connection_failed\" && this.for !== \"general\" && this.for !== \"connection\") {\n return null;\n }\n\n const errorMessage = this.getErrorMessage(errorCode);\n const formattedMessage = errorMessage?.includes(\"\\n\") ? <div style={{ whiteSpace: \"pre-line\" }}>{errorMessage}</div> : errorMessage;\n\n return <Host class={this.componentClassName}>{hasSlotContent(this.el) ? <slot /> : formattedMessage}</Host>;\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import { h } from "@stencil/core";
2
+ export const CloseIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("title", null, "Close"), h("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { x1: "6", y1: "6", x2: "18", y2: "18" })));
3
+ //# sourceMappingURL=close-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-icon.js","sourceRoot":"","sources":["../../../../src/shared/components/flash-message/close-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CAC7B,WACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO;IAEvB,yBAAoB;IACpB,YAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG;IACtC,YAAM,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAG,CAClC,CACP,CAAC","sourcesContent":["import { h } from \"@stencil/core\";\n\nexport const CloseIcon = () => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <title>Close</title>\n <line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\" />\n <line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\" />\n </svg>\n);\n"]}
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-leading:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--u-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--u-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--u-color-red-50:oklch(97.1% .013 17.38);--u-color-red-300:oklch(80.8% .114 19.571);--u-color-red-800:oklch(44.4% .177 26.899);--u-color-green-50:oklch(98.2% .018 155.826);--u-color-green-400:oklch(79.2% .209 151.711);--u-color-green-800:oklch(44.8% .119 151.328);--u-color-blue-50:oklch(97% .014 254.604);--u-color-blue-300:oklch(80.9% .105 251.813);--u-color-blue-800:oklch(42.4% .199 265.638);--u-spacing:.25rem;--u-container-xl:36rem;--u-default-font-family:var(--u-font-sans);--u-default-mono-font-family:var(--u-font-mono);--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{font-family:var(--u-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--u-default-font-feature-settings,normal);font-variation-settings:var(--u-default-font-variation-settings,normal);-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--u-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--u-default-mono-font-feature-settings,normal);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--u-default-mono-font-variation-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.u\:z-\[500\]{z-index:500}.u\:mr-1{margin-right:calc(var(--u-spacing)*1)}.u\:flex{display:flex}.u\:max-w-xl{max-width:var(--u-container-xl)}.u\:min-w-64{min-width:calc(var(--u-spacing)*64)}.u\:cursor-pointer{cursor:pointer}.u\:flex-col{flex-direction:column}.u\:items-start{align-items:flex-start}.u\:justify-between{justify-content:space-between}.u\:gap-2{gap:calc(var(--u-spacing)*2)}.u\:gap-3{gap:calc(var(--u-spacing)*3)}.u\:rounded{border-radius:.25rem}.u\:border{border-style:var(--tw-border-style);border-width:1px}.u\:border-solid{--tw-border-style:solid;border-style:solid}.u\:border-blue-300{border-color:var(--u-color-blue-300)}.u\:border-green-400{border-color:var(--u-color-green-400)}.u\:border-red-300{border-color:var(--u-color-red-300)}.u\:bg-blue-50{background-color:var(--u-color-blue-50)}.u\:bg-green-50{background-color:var(--u-color-green-50)}.u\:bg-red-50{background-color:var(--u-color-red-50)}.u\:p-3{padding:calc(var(--u-spacing)*3)}.u\:pt-1{padding-top:calc(var(--u-spacing)*1)}.u\:leading-none{--tw-leading:1;line-height:1}.u\:break-words{overflow-wrap:break-word}.u\:text-blue-800{color:var(--u-color-blue-800)}.u\:text-green-800{color:var(--u-color-green-800)}.u\:text-red-800{color:var(--u-color-red-800)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;@layer utilities{}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}