@unidy.io/sdk 1.1.6 → 1.1.8

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 (807) hide show
  1. package/package.json +2 -2
  2. package/dist/cjs/app-globals-DSKjcXX_.js +0 -10
  3. package/dist/cjs/app-globals-DSKjcXX_.js.map +0 -1
  4. package/dist/cjs/auth-B83pzi0f.js +0 -582
  5. package/dist/cjs/auth-B83pzi0f.js.map +0 -1
  6. package/dist/cjs/auth-store-DPHWWmXf.js +0 -183
  7. package/dist/cjs/auth-store-DPHWWmXf.js.map +0 -1
  8. package/dist/cjs/component-utils-BpMyeVQo.js +0 -35
  9. package/dist/cjs/component-utils-BpMyeVQo.js.map +0 -1
  10. package/dist/cjs/flash-store-BuIBuQDx.js +0 -50
  11. package/dist/cjs/flash-store-BuIBuQDx.js.map +0 -1
  12. package/dist/cjs/helpers-BcPlKlBG.js +0 -11
  13. package/dist/cjs/helpers-BcPlKlBG.js.map +0 -1
  14. package/dist/cjs/helpers-DJyRa0Qo.js +0 -11
  15. package/dist/cjs/helpers-DJyRa0Qo.js.map +0 -1
  16. package/dist/cjs/i18n-BoDZ8kd2.js +0 -3236
  17. package/dist/cjs/i18n-BoDZ8kd2.js.map +0 -1
  18. package/dist/cjs/index-B_N5xKgH.js +0 -12025
  19. package/dist/cjs/index-B_N5xKgH.js.map +0 -1
  20. package/dist/cjs/index-DLz3FT7T.js +0 -214
  21. package/dist/cjs/index-DLz3FT7T.js.map +0 -1
  22. package/dist/cjs/index-R2MKLaem.js +0 -5267
  23. package/dist/cjs/index-R2MKLaem.js.map +0 -1
  24. package/dist/cjs/index.cjs.js +0 -64
  25. package/dist/cjs/index.cjs.js.map +0 -1
  26. package/dist/cjs/loader.cjs.js +0 -14
  27. package/dist/cjs/loader.cjs.js.map +0 -1
  28. package/dist/cjs/newsletter-helpers-D-V_8kiN.js +0 -289
  29. package/dist/cjs/newsletter-helpers-D-V_8kiN.js.map +0 -1
  30. package/dist/cjs/newsletter-store-BzytX7Qh.js +0 -38
  31. package/dist/cjs/newsletter-store-BzytX7Qh.js.map +0 -1
  32. package/dist/cjs/pagination-store-BEiW3MQd.js +0 -16
  33. package/dist/cjs/pagination-store-BEiW3MQd.js.map +0 -1
  34. package/dist/cjs/profile-helpers-B2h2III_.js +0 -39
  35. package/dist/cjs/profile-helpers-B2h2III_.js.map +0 -1
  36. package/dist/cjs/profile-store-P_BcYkef.js +0 -22
  37. package/dist/cjs/profile-store-P_BcYkef.js.map +0 -1
  38. package/dist/cjs/sdk.cjs.js +0 -26
  39. package/dist/cjs/sdk.cjs.js.map +0 -1
  40. package/dist/cjs/u-conditional-render.cjs.entry.js +0 -103
  41. package/dist/cjs/u-conditional-render.entry.cjs.js.map +0 -1
  42. package/dist/cjs/u-config.cjs.entry.js +0 -87
  43. package/dist/cjs/u-config.entry.cjs.js.map +0 -1
  44. package/dist/cjs/u-email-field.cjs.entry.js +0 -77
  45. package/dist/cjs/u-email-field.entry.cjs.js.map +0 -1
  46. package/dist/cjs/u-error-message.cjs.entry.js +0 -82
  47. package/dist/cjs/u-error-message.entry.cjs.js.map +0 -1
  48. package/dist/cjs/u-field.u-raw-field.entry.cjs.js.map +0 -1
  49. package/dist/cjs/u-field_2.cjs.entry.js +0 -375
  50. package/dist/cjs/u-flash-message.cjs.entry.js +0 -37
  51. package/dist/cjs/u-flash-message.entry.cjs.js.map +0 -1
  52. package/dist/cjs/u-full-profile.cjs.entry.js +0 -37
  53. package/dist/cjs/u-full-profile.entry.cjs.js.map +0 -1
  54. package/dist/cjs/u-logout-button.cjs.entry.js +0 -38
  55. package/dist/cjs/u-logout-button.entry.cjs.js.map +0 -1
  56. package/dist/cjs/u-magic-code-field.cjs.entry.js +0 -91
  57. package/dist/cjs/u-magic-code-field.entry.cjs.js.map +0 -1
  58. package/dist/cjs/u-missing-field.cjs.entry.js +0 -22
  59. package/dist/cjs/u-missing-field.entry.cjs.js.map +0 -1
  60. package/dist/cjs/u-missing-fields-submit-button.cjs.entry.js +0 -46
  61. package/dist/cjs/u-missing-fields-submit-button.entry.cjs.js.map +0 -1
  62. package/dist/cjs/u-newsletter-checkbox.cjs.entry.js +0 -63
  63. package/dist/cjs/u-newsletter-checkbox.entry.cjs.js.map +0 -1
  64. package/dist/cjs/u-newsletter-logout-button.cjs.entry.js +0 -36
  65. package/dist/cjs/u-newsletter-logout-button.entry.cjs.js.map +0 -1
  66. package/dist/cjs/u-newsletter-preference-checkbox.cjs.entry.js +0 -106
  67. package/dist/cjs/u-newsletter-preference-checkbox.entry.cjs.js.map +0 -1
  68. package/dist/cjs/u-newsletter-resend-doi-button.cjs.entry.js +0 -49
  69. package/dist/cjs/u-newsletter-resend-doi-button.entry.cjs.js.map +0 -1
  70. package/dist/cjs/u-newsletter-root.cjs.entry.js +0 -72
  71. package/dist/cjs/u-newsletter-root.entry.cjs.js.map +0 -1
  72. package/dist/cjs/u-newsletter-toggle-subscription-button.cjs.entry.js +0 -73
  73. package/dist/cjs/u-newsletter-toggle-subscription-button.entry.cjs.js.map +0 -1
  74. package/dist/cjs/u-pagination-button.cjs.entry.js +0 -63
  75. package/dist/cjs/u-pagination-button.entry.cjs.js.map +0 -1
  76. package/dist/cjs/u-pagination-page.cjs.entry.js +0 -44
  77. package/dist/cjs/u-pagination-page.entry.cjs.js.map +0 -1
  78. package/dist/cjs/u-passkey.cjs.entry.js +0 -47
  79. package/dist/cjs/u-passkey.entry.cjs.js.map +0 -1
  80. package/dist/cjs/u-password-field.cjs.entry.js +0 -104
  81. package/dist/cjs/u-password-field.entry.cjs.js.map +0 -1
  82. package/dist/cjs/u-profile.u-submit-button.entry.cjs.js.map +0 -1
  83. package/dist/cjs/u-profile_2.cjs.entry.js +0 -327
  84. package/dist/cjs/u-registration-button.cjs.entry.js +0 -48
  85. package/dist/cjs/u-registration-button.entry.cjs.js.map +0 -1
  86. package/dist/cjs/u-reset-password-button.cjs.entry.js +0 -47
  87. package/dist/cjs/u-reset-password-button.entry.cjs.js.map +0 -1
  88. package/dist/cjs/u-send-magic-code-button.cjs.entry.js +0 -68
  89. package/dist/cjs/u-send-magic-code-button.entry.cjs.js.map +0 -1
  90. package/dist/cjs/u-signed-in.cjs.entry.js +0 -25
  91. package/dist/cjs/u-signed-in.entry.cjs.js.map +0 -1
  92. package/dist/cjs/u-signin-root.cjs.entry.js +0 -43
  93. package/dist/cjs/u-signin-root.entry.cjs.js.map +0 -1
  94. package/dist/cjs/u-signin-step.cjs.entry.js +0 -66
  95. package/dist/cjs/u-signin-step.entry.cjs.js.map +0 -1
  96. package/dist/cjs/u-signin-strategy.cjs.entry.js +0 -30
  97. package/dist/cjs/u-signin-strategy.entry.cjs.js.map +0 -1
  98. package/dist/cjs/u-social-login-button.cjs.entry.js +0 -100
  99. package/dist/cjs/u-social-login-button.entry.cjs.js.map +0 -1
  100. package/dist/cjs/u-spinner.cjs.entry.js +0 -18
  101. package/dist/cjs/u-spinner.entry.cjs.js.map +0 -1
  102. package/dist/cjs/u-ticketable-list.cjs.entry.js +0 -6087
  103. package/dist/cjs/u-ticketable-list.entry.cjs.js.map +0 -1
  104. package/dist/cjs/unidy-store-7AbWnZ6g.js +0 -41
  105. package/dist/cjs/unidy-store-7AbWnZ6g.js.map +0 -1
  106. package/dist/collection/api/client.js +0 -144
  107. package/dist/collection/api/client.js.map +0 -1
  108. package/dist/collection/api/index.js +0 -42
  109. package/dist/collection/api/index.js.map +0 -1
  110. package/dist/collection/api/shared.js +0 -18
  111. package/dist/collection/api/shared.js.map +0 -1
  112. package/dist/collection/auth/api/auth.js +0 -264
  113. package/dist/collection/auth/api/auth.js.map +0 -1
  114. package/dist/collection/auth/auth-helpers.js +0 -297
  115. package/dist/collection/auth/auth-helpers.js.map +0 -1
  116. package/dist/collection/auth/auth.js +0 -124
  117. package/dist/collection/auth/auth.js.map +0 -1
  118. package/dist/collection/auth/components/helpers.js +0 -5
  119. package/dist/collection/auth/components/helpers.js.map +0 -1
  120. package/dist/collection/auth/components/logout-button/logout-button.js +0 -85
  121. package/dist/collection/auth/components/logout-button/logout-button.js.map +0 -1
  122. package/dist/collection/auth/components/magic-code-field/magic-code-field.css +0 -1
  123. package/dist/collection/auth/components/magic-code-field/magic-code-field.js +0 -113
  124. package/dist/collection/auth/components/magic-code-field/magic-code-field.js.map +0 -1
  125. package/dist/collection/auth/components/missing-field/missing-field.js +0 -14
  126. package/dist/collection/auth/components/missing-field/missing-field.js.map +0 -1
  127. package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js +0 -39
  128. package/dist/collection/auth/components/missing-fields-submit-button/missing-fields-submit-button.js.map +0 -1
  129. package/dist/collection/auth/components/passkey/passkey.js +0 -103
  130. package/dist/collection/auth/components/passkey/passkey.js.map +0 -1
  131. package/dist/collection/auth/components/password-field/password-field.js +0 -166
  132. package/dist/collection/auth/components/password-field/password-field.js.map +0 -1
  133. package/dist/collection/auth/components/registration/registration-button.js +0 -104
  134. package/dist/collection/auth/components/registration/registration-button.js.map +0 -1
  135. package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js +0 -59
  136. package/dist/collection/auth/components/reset-pass-button/reset-pass-button.js.map +0 -1
  137. package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js +0 -104
  138. package/dist/collection/auth/components/send-magic-code-button/send-magic-code-button.js.map +0 -1
  139. package/dist/collection/auth/components/signed-in/signed-in.js +0 -59
  140. package/dist/collection/auth/components/signed-in/signed-in.js.map +0 -1
  141. package/dist/collection/auth/components/signin-root/signin-root.js +0 -97
  142. package/dist/collection/auth/components/signin-root/signin-root.js.map +0 -1
  143. package/dist/collection/auth/components/signin-step/signin-step.js +0 -135
  144. package/dist/collection/auth/components/signin-step/signin-step.js.map +0 -1
  145. package/dist/collection/auth/components/signin-strategy/signin-strategy.js +0 -64
  146. package/dist/collection/auth/components/signin-strategy/signin-strategy.js.map +0 -1
  147. package/dist/collection/auth/components/social-logins/logos/apple.js +0 -3
  148. package/dist/collection/auth/components/social-logins/logos/apple.js.map +0 -1
  149. package/dist/collection/auth/components/social-logins/logos/discord.js +0 -3
  150. package/dist/collection/auth/components/social-logins/logos/discord.js.map +0 -1
  151. package/dist/collection/auth/components/social-logins/logos/facebook.js +0 -3
  152. package/dist/collection/auth/components/social-logins/logos/facebook.js.map +0 -1
  153. package/dist/collection/auth/components/social-logins/logos/google.js +0 -3
  154. package/dist/collection/auth/components/social-logins/logos/google.js.map +0 -1
  155. package/dist/collection/auth/components/social-logins/logos/linkedin.js +0 -3
  156. package/dist/collection/auth/components/social-logins/logos/linkedin.js.map +0 -1
  157. package/dist/collection/auth/components/social-logins/social-login-button.css +0 -1
  158. package/dist/collection/auth/components/social-logins/social-login-button.js +0 -188
  159. package/dist/collection/auth/components/social-logins/social-login-button.js.map +0 -1
  160. package/dist/collection/auth/components/submit-button/auth-submit-button.js +0 -62
  161. package/dist/collection/auth/components/submit-button/auth-submit-button.js.map +0 -1
  162. package/dist/collection/auth/error-definitions.js +0 -26
  163. package/dist/collection/auth/error-definitions.js.map +0 -1
  164. package/dist/collection/auth/index.js +0 -14
  165. package/dist/collection/auth/index.js.map +0 -1
  166. package/dist/collection/auth/passkey-auth.js +0 -106
  167. package/dist/collection/auth/passkey-auth.js.map +0 -1
  168. package/dist/collection/auth/store/auth-store.js +0 -174
  169. package/dist/collection/auth/store/auth-store.js.map +0 -1
  170. package/dist/collection/collection-manifest.json +0 -46
  171. package/dist/collection/globalScript.js +0 -18
  172. package/dist/collection/globalScript.js.map +0 -1
  173. package/dist/collection/i18n.js +0 -31
  174. package/dist/collection/i18n.js.map +0 -1
  175. package/dist/collection/index.js +0 -16
  176. package/dist/collection/index.js.map +0 -1
  177. package/dist/collection/locales/de.json +0 -133
  178. package/dist/collection/locales/en.json +0 -133
  179. package/dist/collection/locales/fr.json +0 -133
  180. package/dist/collection/locales/it.json +0 -133
  181. package/dist/collection/locales/nl_be.json +0 -133
  182. package/dist/collection/locales/ro.json +0 -133
  183. package/dist/collection/logger.js +0 -106
  184. package/dist/collection/logger.js.map +0 -1
  185. package/dist/collection/newsletter/api/newsletters.js +0 -189
  186. package/dist/collection/newsletter/api/newsletters.js.map +0 -1
  187. package/dist/collection/newsletter/components/helpers.js +0 -5
  188. package/dist/collection/newsletter/components/helpers.js.map +0 -1
  189. package/dist/collection/newsletter/components/logout-button/logout-button.js +0 -48
  190. package/dist/collection/newsletter/components/logout-button/logout-button.js.map +0 -1
  191. package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js +0 -109
  192. package/dist/collection/newsletter/components/newsletter-checkbox/newsletter-checkbox.js.map +0 -1
  193. package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js +0 -119
  194. package/dist/collection/newsletter/components/newsletter-root/newsletter-root.js.map +0 -1
  195. package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js +0 -178
  196. package/dist/collection/newsletter/components/preference-checkbox/preference-checkbox.js.map +0 -1
  197. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.css +0 -1
  198. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js +0 -89
  199. package/dist/collection/newsletter/components/resend-doi-button/resend-doi-button.js.map +0 -1
  200. package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js +0 -18
  201. package/dist/collection/newsletter/components/submit-button/newsletter-submit-button.js.map +0 -1
  202. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.css +0 -1
  203. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js +0 -154
  204. package/dist/collection/newsletter/components/toggle-subscription-button/toggle-subscription-button.js.map +0 -1
  205. package/dist/collection/newsletter/index.js +0 -11
  206. package/dist/collection/newsletter/index.js.map +0 -1
  207. package/dist/collection/newsletter/newsletter-helpers.js +0 -277
  208. package/dist/collection/newsletter/newsletter-helpers.js.map +0 -1
  209. package/dist/collection/newsletter/store/newsletter-store.js +0 -34
  210. package/dist/collection/newsletter/store/newsletter-store.js.map +0 -1
  211. package/dist/collection/profile/api/profile.js +0 -168
  212. package/dist/collection/profile/api/profile.js.map +0 -1
  213. package/dist/collection/profile/components/field/field.css +0 -1
  214. package/dist/collection/profile/components/field/field.js +0 -359
  215. package/dist/collection/profile/components/field/field.js.map +0 -1
  216. package/dist/collection/profile/components/full-profile/full-profile.css +0 -1
  217. package/dist/collection/profile/components/full-profile/full-profile.js +0 -78
  218. package/dist/collection/profile/components/full-profile/full-profile.js.map +0 -1
  219. package/dist/collection/profile/components/profile/profile.js +0 -250
  220. package/dist/collection/profile/components/profile/profile.js.map +0 -1
  221. package/dist/collection/profile/components/raw-field/raw-field.js +0 -697
  222. package/dist/collection/profile/components/raw-field/raw-field.js.map +0 -1
  223. package/dist/collection/profile/components/raw-input-fields/Input.js +0 -3
  224. package/dist/collection/profile/components/raw-input-fields/Input.js.map +0 -1
  225. package/dist/collection/profile/components/raw-input-fields/MultiSelect.js +0 -8
  226. package/dist/collection/profile/components/raw-input-fields/MultiSelect.js.map +0 -1
  227. package/dist/collection/profile/components/raw-input-fields/RadioGroup.js +0 -8
  228. package/dist/collection/profile/components/raw-input-fields/RadioGroup.js.map +0 -1
  229. package/dist/collection/profile/components/raw-input-fields/Select.js +0 -11
  230. package/dist/collection/profile/components/raw-input-fields/Select.js.map +0 -1
  231. package/dist/collection/profile/components/raw-input-fields/Textarea.js +0 -3
  232. package/dist/collection/profile/components/raw-input-fields/Textarea.js.map +0 -1
  233. package/dist/collection/profile/components/submit-button/profile-submit-button.js +0 -17
  234. package/dist/collection/profile/components/submit-button/profile-submit-button.js.map +0 -1
  235. package/dist/collection/profile/index.js +0 -13
  236. package/dist/collection/profile/index.js.map +0 -1
  237. package/dist/collection/profile/profile-helpers.js +0 -31
  238. package/dist/collection/profile/profile-helpers.js.map +0 -1
  239. package/dist/collection/profile/store/profile-store.js +0 -15
  240. package/dist/collection/profile/store/profile-store.js.map +0 -1
  241. package/dist/collection/sdk.css +0 -39
  242. package/dist/collection/shared/component-utils.js +0 -28
  243. package/dist/collection/shared/component-utils.js.map +0 -1
  244. package/dist/collection/shared/components/conditional-render/conditional-render.js +0 -178
  245. package/dist/collection/shared/components/conditional-render/conditional-render.js.map +0 -1
  246. package/dist/collection/shared/components/config/config.js +0 -260
  247. package/dist/collection/shared/components/config/config.js.map +0 -1
  248. package/dist/collection/shared/components/email-field/email-field.css +0 -1
  249. package/dist/collection/shared/components/email-field/email-field.js +0 -145
  250. package/dist/collection/shared/components/email-field/email-field.js.map +0 -1
  251. package/dist/collection/shared/components/error-message/error-message.js +0 -141
  252. package/dist/collection/shared/components/error-message/error-message.js.map +0 -1
  253. package/dist/collection/shared/components/flash-message/close-icon.js +0 -3
  254. package/dist/collection/shared/components/flash-message/close-icon.js.map +0 -1
  255. package/dist/collection/shared/components/flash-message/flash-message.css +0 -1
  256. package/dist/collection/shared/components/flash-message/flash-message.js +0 -79
  257. package/dist/collection/shared/components/flash-message/flash-message.js.map +0 -1
  258. package/dist/collection/shared/components/spinner/spinner.css +0 -1
  259. package/dist/collection/shared/components/spinner/spinner.js +0 -19
  260. package/dist/collection/shared/components/spinner/spinner.js.map +0 -1
  261. package/dist/collection/shared/components/submit-button/context.js +0 -10
  262. package/dist/collection/shared/components/submit-button/context.js.map +0 -1
  263. package/dist/collection/shared/components/submit-button/submit-button.css +0 -1
  264. package/dist/collection/shared/components/submit-button/submit-button.js +0 -196
  265. package/dist/collection/shared/components/submit-button/submit-button.js.map +0 -1
  266. package/dist/collection/shared/store/flash-store.js +0 -43
  267. package/dist/collection/shared/store/flash-store.js.map +0 -1
  268. package/dist/collection/shared/store/unidy-store.js +0 -33
  269. package/dist/collection/shared/store/unidy-store.js.map +0 -1
  270. package/dist/collection/ticketable/api/get-with-schema.js +0 -35
  271. package/dist/collection/ticketable/api/get-with-schema.js.map +0 -1
  272. package/dist/collection/ticketable/api/schemas.js +0 -12
  273. package/dist/collection/ticketable/api/schemas.js.map +0 -1
  274. package/dist/collection/ticketable/api/subscriptions.js +0 -47
  275. package/dist/collection/ticketable/api/subscriptions.js.map +0 -1
  276. package/dist/collection/ticketable/api/tickets.js +0 -48
  277. package/dist/collection/ticketable/api/tickets.js.map +0 -1
  278. package/dist/collection/ticketable/components/pagination/pagination-button.js +0 -108
  279. package/dist/collection/ticketable/components/pagination/pagination-button.js.map +0 -1
  280. package/dist/collection/ticketable/components/pagination/pagination-page.js +0 -69
  281. package/dist/collection/ticketable/components/pagination/pagination-page.js.map +0 -1
  282. package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js +0 -54
  283. package/dist/collection/ticketable/components/ticketable-list/skeleton-helpers.js.map +0 -1
  284. package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js +0 -498
  285. package/dist/collection/ticketable/components/ticketable-list/ticketable-list.js.map +0 -1
  286. package/dist/collection/ticketable/index.js +0 -13
  287. package/dist/collection/ticketable/index.js.map +0 -1
  288. package/dist/collection/ticketable/store/pagination-store.js +0 -9
  289. package/dist/collection/ticketable/store/pagination-store.js.map +0 -1
  290. package/dist/components/auth-store.js +0 -178
  291. package/dist/components/auth-store.js.map +0 -1
  292. package/dist/components/auth.js +0 -581
  293. package/dist/components/auth.js.map +0 -1
  294. package/dist/components/component-utils.js +0 -32
  295. package/dist/components/component-utils.js.map +0 -1
  296. package/dist/components/exports.js +0 -4106
  297. package/dist/components/exports.js.map +0 -1
  298. package/dist/components/field.js +0 -144
  299. package/dist/components/field.js.map +0 -1
  300. package/dist/components/flash-store.js +0 -47
  301. package/dist/components/flash-store.js.map +0 -1
  302. package/dist/components/helpers.js +0 -9
  303. package/dist/components/helpers.js.map +0 -1
  304. package/dist/components/helpers2.js +0 -9
  305. package/dist/components/helpers2.js.map +0 -1
  306. package/dist/components/i18n.js +0 -3234
  307. package/dist/components/i18n.js.map +0 -1
  308. package/dist/components/index.d.ts +0 -33
  309. package/dist/components/index.js +0 -5902
  310. package/dist/components/index.js.map +0 -1
  311. package/dist/components/index2.js +0 -5256
  312. package/dist/components/index2.js.map +0 -1
  313. package/dist/components/index3.js +0 -212
  314. package/dist/components/index3.js.map +0 -1
  315. package/dist/components/logger.js +0 -111
  316. package/dist/components/logger.js.map +0 -1
  317. package/dist/components/newsletter-helpers.js +0 -278
  318. package/dist/components/newsletter-helpers.js.map +0 -1
  319. package/dist/components/newsletter-store.js +0 -34
  320. package/dist/components/newsletter-store.js.map +0 -1
  321. package/dist/components/pagination-store.js +0 -14
  322. package/dist/components/pagination-store.js.map +0 -1
  323. package/dist/components/profile-helpers.js +0 -36
  324. package/dist/components/profile-helpers.js.map +0 -1
  325. package/dist/components/profile-store.js +0 -18
  326. package/dist/components/profile-store.js.map +0 -1
  327. package/dist/components/profile.js +0 -151
  328. package/dist/components/profile.js.map +0 -1
  329. package/dist/components/raw-field.js +0 -318
  330. package/dist/components/raw-field.js.map +0 -1
  331. package/dist/components/spinner.js +0 -35
  332. package/dist/components/spinner.js.map +0 -1
  333. package/dist/components/submit-button.js +0 -231
  334. package/dist/components/submit-button.js.map +0 -1
  335. package/dist/components/u-conditional-render.d.ts +0 -11
  336. package/dist/components/u-conditional-render.js +0 -121
  337. package/dist/components/u-conditional-render.js.map +0 -1
  338. package/dist/components/u-config.d.ts +0 -11
  339. package/dist/components/u-config.js +0 -113
  340. package/dist/components/u-config.js.map +0 -1
  341. package/dist/components/u-email-field.d.ts +0 -11
  342. package/dist/components/u-email-field.js +0 -99
  343. package/dist/components/u-email-field.js.map +0 -1
  344. package/dist/components/u-error-message.d.ts +0 -11
  345. package/dist/components/u-error-message.js +0 -105
  346. package/dist/components/u-error-message.js.map +0 -1
  347. package/dist/components/u-field.d.ts +0 -11
  348. package/dist/components/u-field.js +0 -9
  349. package/dist/components/u-field.js.map +0 -1
  350. package/dist/components/u-flash-message.d.ts +0 -11
  351. package/dist/components/u-flash-message.js +0 -58
  352. package/dist/components/u-flash-message.js.map +0 -1
  353. package/dist/components/u-full-profile.d.ts +0 -11
  354. package/dist/components/u-full-profile.js +0 -87
  355. package/dist/components/u-full-profile.js.map +0 -1
  356. package/dist/components/u-logout-button.d.ts +0 -11
  357. package/dist/components/u-logout-button.js +0 -53
  358. package/dist/components/u-logout-button.js.map +0 -1
  359. package/dist/components/u-magic-code-field.d.ts +0 -11
  360. package/dist/components/u-magic-code-field.js +0 -106
  361. package/dist/components/u-magic-code-field.js.map +0 -1
  362. package/dist/components/u-missing-field.d.ts +0 -11
  363. package/dist/components/u-missing-field.js +0 -57
  364. package/dist/components/u-missing-field.js.map +0 -1
  365. package/dist/components/u-missing-fields-submit-button.d.ts +0 -11
  366. package/dist/components/u-missing-fields-submit-button.js +0 -70
  367. package/dist/components/u-missing-fields-submit-button.js.map +0 -1
  368. package/dist/components/u-newsletter-checkbox.d.ts +0 -11
  369. package/dist/components/u-newsletter-checkbox.js +0 -77
  370. package/dist/components/u-newsletter-checkbox.js.map +0 -1
  371. package/dist/components/u-newsletter-logout-button.d.ts +0 -11
  372. package/dist/components/u-newsletter-logout-button.js +0 -51
  373. package/dist/components/u-newsletter-logout-button.js.map +0 -1
  374. package/dist/components/u-newsletter-preference-checkbox.d.ts +0 -11
  375. package/dist/components/u-newsletter-preference-checkbox.js +0 -124
  376. package/dist/components/u-newsletter-preference-checkbox.js.map +0 -1
  377. package/dist/components/u-newsletter-resend-doi-button.d.ts +0 -11
  378. package/dist/components/u-newsletter-resend-doi-button.js +0 -70
  379. package/dist/components/u-newsletter-resend-doi-button.js.map +0 -1
  380. package/dist/components/u-newsletter-root.d.ts +0 -11
  381. package/dist/components/u-newsletter-root.js +0 -90
  382. package/dist/components/u-newsletter-root.js.map +0 -1
  383. package/dist/components/u-newsletter-toggle-subscription-button.d.ts +0 -11
  384. package/dist/components/u-newsletter-toggle-subscription-button.js +0 -97
  385. package/dist/components/u-newsletter-toggle-subscription-button.js.map +0 -1
  386. package/dist/components/u-pagination-button.d.ts +0 -11
  387. package/dist/components/u-pagination-button.js +0 -86
  388. package/dist/components/u-pagination-button.js.map +0 -1
  389. package/dist/components/u-pagination-page.d.ts +0 -11
  390. package/dist/components/u-pagination-page.js +0 -66
  391. package/dist/components/u-pagination-page.js.map +0 -1
  392. package/dist/components/u-passkey.d.ts +0 -11
  393. package/dist/components/u-passkey.js +0 -65
  394. package/dist/components/u-passkey.js.map +0 -1
  395. package/dist/components/u-password-field.d.ts +0 -11
  396. package/dist/components/u-password-field.js +0 -125
  397. package/dist/components/u-password-field.js.map +0 -1
  398. package/dist/components/u-profile.d.ts +0 -11
  399. package/dist/components/u-profile.js +0 -9
  400. package/dist/components/u-profile.js.map +0 -1
  401. package/dist/components/u-raw-field.d.ts +0 -11
  402. package/dist/components/u-raw-field.js +0 -9
  403. package/dist/components/u-raw-field.js.map +0 -1
  404. package/dist/components/u-registration-button.d.ts +0 -11
  405. package/dist/components/u-registration-button.js +0 -70
  406. package/dist/components/u-registration-button.js.map +0 -1
  407. package/dist/components/u-reset-password-button.d.ts +0 -11
  408. package/dist/components/u-reset-password-button.js +0 -63
  409. package/dist/components/u-reset-password-button.js.map +0 -1
  410. package/dist/components/u-send-magic-code-button.d.ts +0 -11
  411. package/dist/components/u-send-magic-code-button.js +0 -85
  412. package/dist/components/u-send-magic-code-button.js.map +0 -1
  413. package/dist/components/u-signed-in.d.ts +0 -11
  414. package/dist/components/u-signed-in.js +0 -44
  415. package/dist/components/u-signed-in.js.map +0 -1
  416. package/dist/components/u-signin-root.d.ts +0 -11
  417. package/dist/components/u-signin-root.js +0 -63
  418. package/dist/components/u-signin-root.js.map +0 -1
  419. package/dist/components/u-signin-step.d.ts +0 -11
  420. package/dist/components/u-signin-step.js +0 -84
  421. package/dist/components/u-signin-step.js.map +0 -1
  422. package/dist/components/u-signin-strategy.d.ts +0 -11
  423. package/dist/components/u-signin-strategy.js +0 -50
  424. package/dist/components/u-signin-strategy.js.map +0 -1
  425. package/dist/components/u-social-login-button.d.ts +0 -11
  426. package/dist/components/u-social-login-button.js +0 -125
  427. package/dist/components/u-social-login-button.js.map +0 -1
  428. package/dist/components/u-spinner.d.ts +0 -11
  429. package/dist/components/u-spinner.js +0 -9
  430. package/dist/components/u-spinner.js.map +0 -1
  431. package/dist/components/u-submit-button.d.ts +0 -11
  432. package/dist/components/u-submit-button.js +0 -9
  433. package/dist/components/u-submit-button.js.map +0 -1
  434. package/dist/components/u-ticketable-list.d.ts +0 -11
  435. package/dist/components/u-ticketable-list.js +0 -6122
  436. package/dist/components/u-ticketable-list.js.map +0 -1
  437. package/dist/components/unidy-store.js +0 -37
  438. package/dist/components/unidy-store.js.map +0 -1
  439. package/dist/esm/app-globals-CPU9ZcqZ.js +0 -8
  440. package/dist/esm/app-globals-CPU9ZcqZ.js.map +0 -1
  441. package/dist/esm/auth-B0RIcDM-.js +0 -580
  442. package/dist/esm/auth-B0RIcDM-.js.map +0 -1
  443. package/dist/esm/auth-store-BGMYm_jK.js +0 -178
  444. package/dist/esm/auth-store-BGMYm_jK.js.map +0 -1
  445. package/dist/esm/component-utils-D1lzXl_Z.js +0 -32
  446. package/dist/esm/component-utils-D1lzXl_Z.js.map +0 -1
  447. package/dist/esm/flash-store-CEvWSG0c.js +0 -47
  448. package/dist/esm/flash-store-CEvWSG0c.js.map +0 -1
  449. package/dist/esm/helpers-BqFCd65h.js +0 -9
  450. package/dist/esm/helpers-BqFCd65h.js.map +0 -1
  451. package/dist/esm/helpers-DUHc_Cx7.js +0 -9
  452. package/dist/esm/helpers-DUHc_Cx7.js.map +0 -1
  453. package/dist/esm/i18n-CLdWzy5J.js +0 -3233
  454. package/dist/esm/i18n-CLdWzy5J.js.map +0 -1
  455. package/dist/esm/index-Bjp1XO-f.js +0 -212
  456. package/dist/esm/index-Bjp1XO-f.js.map +0 -1
  457. package/dist/esm/index-Ci3aTmzp.js +0 -12007
  458. package/dist/esm/index-Ci3aTmzp.js.map +0 -1
  459. package/dist/esm/index-DSDkaHWI.js +0 -5254
  460. package/dist/esm/index-DSDkaHWI.js.map +0 -1
  461. package/dist/esm/index.js +0 -40
  462. package/dist/esm/index.js.map +0 -1
  463. package/dist/esm/loader.js +0 -12
  464. package/dist/esm/loader.js.map +0 -1
  465. package/dist/esm/newsletter-helpers-CONtbKYi.js +0 -278
  466. package/dist/esm/newsletter-helpers-CONtbKYi.js.map +0 -1
  467. package/dist/esm/newsletter-store-DBL1A203.js +0 -34
  468. package/dist/esm/newsletter-store-DBL1A203.js.map +0 -1
  469. package/dist/esm/pagination-store-DzdJOp-n.js +0 -14
  470. package/dist/esm/pagination-store-DzdJOp-n.js.map +0 -1
  471. package/dist/esm/profile-helpers-CglNd6Nw.js +0 -36
  472. package/dist/esm/profile-helpers-CglNd6Nw.js.map +0 -1
  473. package/dist/esm/profile-store-RmZB2PTc.js +0 -18
  474. package/dist/esm/profile-store-RmZB2PTc.js.map +0 -1
  475. package/dist/esm/sdk.js +0 -22
  476. package/dist/esm/sdk.js.map +0 -1
  477. package/dist/esm/u-conditional-render.entry.js +0 -101
  478. package/dist/esm/u-conditional-render.entry.js.map +0 -1
  479. package/dist/esm/u-config.entry.js +0 -85
  480. package/dist/esm/u-config.entry.js.map +0 -1
  481. package/dist/esm/u-email-field.entry.js +0 -75
  482. package/dist/esm/u-email-field.entry.js.map +0 -1
  483. package/dist/esm/u-error-message.entry.js +0 -80
  484. package/dist/esm/u-error-message.entry.js.map +0 -1
  485. package/dist/esm/u-field.u-raw-field.entry.js.map +0 -1
  486. package/dist/esm/u-field_2.entry.js +0 -372
  487. package/dist/esm/u-flash-message.entry.js +0 -35
  488. package/dist/esm/u-flash-message.entry.js.map +0 -1
  489. package/dist/esm/u-full-profile.entry.js +0 -35
  490. package/dist/esm/u-full-profile.entry.js.map +0 -1
  491. package/dist/esm/u-logout-button.entry.js +0 -36
  492. package/dist/esm/u-logout-button.entry.js.map +0 -1
  493. package/dist/esm/u-magic-code-field.entry.js +0 -89
  494. package/dist/esm/u-magic-code-field.entry.js.map +0 -1
  495. package/dist/esm/u-missing-field.entry.js +0 -20
  496. package/dist/esm/u-missing-field.entry.js.map +0 -1
  497. package/dist/esm/u-missing-fields-submit-button.entry.js +0 -44
  498. package/dist/esm/u-missing-fields-submit-button.entry.js.map +0 -1
  499. package/dist/esm/u-newsletter-checkbox.entry.js +0 -61
  500. package/dist/esm/u-newsletter-checkbox.entry.js.map +0 -1
  501. package/dist/esm/u-newsletter-logout-button.entry.js +0 -34
  502. package/dist/esm/u-newsletter-logout-button.entry.js.map +0 -1
  503. package/dist/esm/u-newsletter-preference-checkbox.entry.js +0 -104
  504. package/dist/esm/u-newsletter-preference-checkbox.entry.js.map +0 -1
  505. package/dist/esm/u-newsletter-resend-doi-button.entry.js +0 -47
  506. package/dist/esm/u-newsletter-resend-doi-button.entry.js.map +0 -1
  507. package/dist/esm/u-newsletter-root.entry.js +0 -70
  508. package/dist/esm/u-newsletter-root.entry.js.map +0 -1
  509. package/dist/esm/u-newsletter-toggle-subscription-button.entry.js +0 -71
  510. package/dist/esm/u-newsletter-toggle-subscription-button.entry.js.map +0 -1
  511. package/dist/esm/u-pagination-button.entry.js +0 -61
  512. package/dist/esm/u-pagination-button.entry.js.map +0 -1
  513. package/dist/esm/u-pagination-page.entry.js +0 -42
  514. package/dist/esm/u-pagination-page.entry.js.map +0 -1
  515. package/dist/esm/u-passkey.entry.js +0 -45
  516. package/dist/esm/u-passkey.entry.js.map +0 -1
  517. package/dist/esm/u-password-field.entry.js +0 -102
  518. package/dist/esm/u-password-field.entry.js.map +0 -1
  519. package/dist/esm/u-profile.u-submit-button.entry.js.map +0 -1
  520. package/dist/esm/u-profile_2.entry.js +0 -324
  521. package/dist/esm/u-registration-button.entry.js +0 -46
  522. package/dist/esm/u-registration-button.entry.js.map +0 -1
  523. package/dist/esm/u-reset-password-button.entry.js +0 -45
  524. package/dist/esm/u-reset-password-button.entry.js.map +0 -1
  525. package/dist/esm/u-send-magic-code-button.entry.js +0 -66
  526. package/dist/esm/u-send-magic-code-button.entry.js.map +0 -1
  527. package/dist/esm/u-signed-in.entry.js +0 -23
  528. package/dist/esm/u-signed-in.entry.js.map +0 -1
  529. package/dist/esm/u-signin-root.entry.js +0 -41
  530. package/dist/esm/u-signin-root.entry.js.map +0 -1
  531. package/dist/esm/u-signin-step.entry.js +0 -64
  532. package/dist/esm/u-signin-step.entry.js.map +0 -1
  533. package/dist/esm/u-signin-strategy.entry.js +0 -28
  534. package/dist/esm/u-signin-strategy.entry.js.map +0 -1
  535. package/dist/esm/u-social-login-button.entry.js +0 -98
  536. package/dist/esm/u-social-login-button.entry.js.map +0 -1
  537. package/dist/esm/u-spinner.entry.js +0 -16
  538. package/dist/esm/u-spinner.entry.js.map +0 -1
  539. package/dist/esm/u-ticketable-list.entry.js +0 -6085
  540. package/dist/esm/u-ticketable-list.entry.js.map +0 -1
  541. package/dist/esm/unidy-store-BldTAtO0.js +0 -37
  542. package/dist/esm/unidy-store-BldTAtO0.js.map +0 -1
  543. package/dist/index.cjs.js +0 -1
  544. package/dist/index.js +0 -1
  545. package/dist/sdk/auth-BopPjv7G.js.map +0 -1
  546. package/dist/sdk/auth-C0vldOq6.js.map +0 -1
  547. package/dist/sdk/auth-store-DQaam_Qh.js.map +0 -1
  548. package/dist/sdk/auth-store-sOmplc4z.js.map +0 -1
  549. package/dist/sdk/component-utils-D1lzXl_Z.js.map +0 -1
  550. package/dist/sdk/flash-store-Cgu7WoSN.js.map +0 -1
  551. package/dist/sdk/flash-store-DNcSEn2p.js.map +0 -1
  552. package/dist/sdk/helpers-BqFCd65h.js.map +0 -1
  553. package/dist/sdk/helpers-DUHc_Cx7.js.map +0 -1
  554. package/dist/sdk/i18n-B6rRU-m3.js.map +0 -1
  555. package/dist/sdk/i18n-CZii1E-s.js.map +0 -1
  556. package/dist/sdk/index-B1aDcaWd.js.map +0 -1
  557. package/dist/sdk/index-BnBstyfp.js.map +0 -1
  558. package/dist/sdk/index-BqL27K_R.js.map +0 -1
  559. package/dist/sdk/index-C5jZjlU8.js.map +0 -1
  560. package/dist/sdk/index-Df-7P3r0.js.map +0 -1
  561. package/dist/sdk/index-Eu7hg2ii.js.map +0 -1
  562. package/dist/sdk/index-Iulyfmzq.js.map +0 -1
  563. package/dist/sdk/index-O6h7SI7-.js.map +0 -1
  564. package/dist/sdk/index.esm.js +0 -2
  565. package/dist/sdk/index.esm.js.map +0 -1
  566. package/dist/sdk/loader.esm.js.map +0 -1
  567. package/dist/sdk/locales/de.json +0 -133
  568. package/dist/sdk/locales/en.json +0 -133
  569. package/dist/sdk/locales/fr.json +0 -133
  570. package/dist/sdk/locales/it.json +0 -133
  571. package/dist/sdk/locales/nl_be.json +0 -133
  572. package/dist/sdk/locales/ro.json +0 -133
  573. package/dist/sdk/newsletter-helpers-8ByV38YW.js.map +0 -1
  574. package/dist/sdk/newsletter-helpers-B-Md6T9k.js.map +0 -1
  575. package/dist/sdk/newsletter-store-CqD-GcDC.js.map +0 -1
  576. package/dist/sdk/newsletter-store-CvULKmsu.js.map +0 -1
  577. package/dist/sdk/p-08ff2de2.entry.js +0 -2
  578. package/dist/sdk/p-08ff2de2.entry.js.map +0 -1
  579. package/dist/sdk/p-1ea49938.entry.js +0 -2
  580. package/dist/sdk/p-1ea49938.entry.js.map +0 -1
  581. package/dist/sdk/p-2a65bcbb.entry.js +0 -2
  582. package/dist/sdk/p-2a65bcbb.entry.js.map +0 -1
  583. package/dist/sdk/p-2af8b45f.entry.js +0 -2
  584. package/dist/sdk/p-2af8b45f.entry.js.map +0 -1
  585. package/dist/sdk/p-3411c743.entry.js +0 -2
  586. package/dist/sdk/p-3411c743.entry.js.map +0 -1
  587. package/dist/sdk/p-467c7304.entry.js +0 -2
  588. package/dist/sdk/p-467c7304.entry.js.map +0 -1
  589. package/dist/sdk/p-56abb377.entry.js +0 -2
  590. package/dist/sdk/p-56abb377.entry.js.map +0 -1
  591. package/dist/sdk/p-5703102b.entry.js +0 -2
  592. package/dist/sdk/p-5703102b.entry.js.map +0 -1
  593. package/dist/sdk/p-593c6dde.entry.js +0 -2
  594. package/dist/sdk/p-593c6dde.entry.js.map +0 -1
  595. package/dist/sdk/p-5b627aea.entry.js +0 -2
  596. package/dist/sdk/p-5b627aea.entry.js.map +0 -1
  597. package/dist/sdk/p-5babee6b.entry.js +0 -2
  598. package/dist/sdk/p-5babee6b.entry.js.map +0 -1
  599. package/dist/sdk/p-5cc20a8b.entry.js +0 -2
  600. package/dist/sdk/p-5cc20a8b.entry.js.map +0 -1
  601. package/dist/sdk/p-628ccd68.entry.js +0 -2
  602. package/dist/sdk/p-628ccd68.entry.js.map +0 -1
  603. package/dist/sdk/p-675eb13d.entry.js +0 -2
  604. package/dist/sdk/p-675eb13d.entry.js.map +0 -1
  605. package/dist/sdk/p-6893d167.entry.js +0 -2
  606. package/dist/sdk/p-6893d167.entry.js.map +0 -1
  607. package/dist/sdk/p-6a642433.entry.js +0 -2
  608. package/dist/sdk/p-6a642433.entry.js.map +0 -1
  609. package/dist/sdk/p-73c2ec89.entry.js +0 -2
  610. package/dist/sdk/p-73c2ec89.entry.js.map +0 -1
  611. package/dist/sdk/p-7a0cefff.entry.js +0 -2
  612. package/dist/sdk/p-7a0cefff.entry.js.map +0 -1
  613. package/dist/sdk/p-91bb8b59.entry.js +0 -2
  614. package/dist/sdk/p-91bb8b59.entry.js.map +0 -1
  615. package/dist/sdk/p-9f59909b.entry.js +0 -2
  616. package/dist/sdk/p-9f59909b.entry.js.map +0 -1
  617. package/dist/sdk/p-BZ1kW_eK.js +0 -2
  618. package/dist/sdk/p-BZ1kW_eK.js.map +0 -1
  619. package/dist/sdk/p-BlAULXyw.js +0 -2
  620. package/dist/sdk/p-BlAULXyw.js.map +0 -1
  621. package/dist/sdk/p-BlOjABPD.js +0 -2
  622. package/dist/sdk/p-BlOjABPD.js.map +0 -1
  623. package/dist/sdk/p-BqFCd65h.js +0 -2
  624. package/dist/sdk/p-BqFCd65h.js.map +0 -1
  625. package/dist/sdk/p-C0feI0p8.js +0 -2
  626. package/dist/sdk/p-C0feI0p8.js.map +0 -1
  627. package/dist/sdk/p-C3fhudPT.js +0 -2
  628. package/dist/sdk/p-C3fhudPT.js.map +0 -1
  629. package/dist/sdk/p-CFiZLMAA.js +0 -2
  630. package/dist/sdk/p-CFiZLMAA.js.map +0 -1
  631. package/dist/sdk/p-CPPYdoIv.js +0 -2
  632. package/dist/sdk/p-CPPYdoIv.js.map +0 -1
  633. package/dist/sdk/p-CbRhHGU5.js +0 -2
  634. package/dist/sdk/p-CbRhHGU5.js.map +0 -1
  635. package/dist/sdk/p-Ce8zGAi1.js +0 -2
  636. package/dist/sdk/p-Ce8zGAi1.js.map +0 -1
  637. package/dist/sdk/p-Ci3aTmzp.js +0 -3
  638. package/dist/sdk/p-Ci3aTmzp.js.map +0 -1
  639. package/dist/sdk/p-D1lzXl_Z.js +0 -2
  640. package/dist/sdk/p-D1lzXl_Z.js.map +0 -1
  641. package/dist/sdk/p-DA84OuuU.js +0 -2
  642. package/dist/sdk/p-DA84OuuU.js.map +0 -1
  643. package/dist/sdk/p-DUHc_Cx7.js +0 -2
  644. package/dist/sdk/p-DUHc_Cx7.js.map +0 -1
  645. package/dist/sdk/p-DYtgart8.js +0 -2
  646. package/dist/sdk/p-DYtgart8.js.map +0 -1
  647. package/dist/sdk/p-DdUvQelg.js +0 -2
  648. package/dist/sdk/p-DdUvQelg.js.map +0 -1
  649. package/dist/sdk/p-S3-2d2Qd.js +0 -2
  650. package/dist/sdk/p-S3-2d2Qd.js.map +0 -1
  651. package/dist/sdk/p-a4b7ffd8.entry.js +0 -2
  652. package/dist/sdk/p-a4b7ffd8.entry.js.map +0 -1
  653. package/dist/sdk/p-a5db968f.entry.js +0 -2
  654. package/dist/sdk/p-a5db968f.entry.js.map +0 -1
  655. package/dist/sdk/p-a6393d19.entry.js +0 -2
  656. package/dist/sdk/p-a6393d19.entry.js.map +0 -1
  657. package/dist/sdk/p-c31dbbb4.entry.js +0 -2
  658. package/dist/sdk/p-c31dbbb4.entry.js.map +0 -1
  659. package/dist/sdk/p-c5bffd90.entry.js +0 -2
  660. package/dist/sdk/p-c5bffd90.entry.js.map +0 -1
  661. package/dist/sdk/p-da363474.entry.js +0 -2
  662. package/dist/sdk/p-da363474.entry.js.map +0 -1
  663. package/dist/sdk/p-e3611b71.entry.js +0 -2
  664. package/dist/sdk/p-e3611b71.entry.js.map +0 -1
  665. package/dist/sdk/p-e3f28800.entry.js +0 -2
  666. package/dist/sdk/p-e3f28800.entry.js.map +0 -1
  667. package/dist/sdk/p-effaf86b.entry.js +0 -2
  668. package/dist/sdk/p-effaf86b.entry.js.map +0 -1
  669. package/dist/sdk/p-f0598e42.entry.js +0 -2
  670. package/dist/sdk/p-f0598e42.entry.js.map +0 -1
  671. package/dist/sdk/p-f369a996.entry.js +0 -2
  672. package/dist/sdk/p-f369a996.entry.js.map +0 -1
  673. package/dist/sdk/p-ffac964c.entry.js +0 -2
  674. package/dist/sdk/p-ffac964c.entry.js.map +0 -1
  675. package/dist/sdk/profile-helpers-BDjk573F.js.map +0 -1
  676. package/dist/sdk/profile-helpers-b8Koj20a.js.map +0 -1
  677. package/dist/sdk/profile-store-BZKApsQm.js.map +0 -1
  678. package/dist/sdk/profile-store-DD6sq42i.js.map +0 -1
  679. package/dist/sdk/sdk.css +0 -39
  680. package/dist/sdk/sdk.esm.js +0 -2
  681. package/dist/sdk/sdk.esm.js.map +0 -1
  682. package/dist/sdk/u-conditional-render.entry.esm.js.map +0 -1
  683. package/dist/sdk/u-config.entry.esm.js.map +0 -1
  684. package/dist/sdk/u-email-field.entry.esm.js.map +0 -1
  685. package/dist/sdk/u-error-message.entry.esm.js.map +0 -1
  686. package/dist/sdk/u-field.u-raw-field.entry.esm.js.map +0 -1
  687. package/dist/sdk/u-flash-message.entry.esm.js.map +0 -1
  688. package/dist/sdk/u-full-profile.entry.esm.js.map +0 -1
  689. package/dist/sdk/u-logout-button.entry.esm.js.map +0 -1
  690. package/dist/sdk/u-magic-code-field.entry.esm.js.map +0 -1
  691. package/dist/sdk/u-missing-field.entry.esm.js.map +0 -1
  692. package/dist/sdk/u-missing-fields-submit-button.entry.esm.js.map +0 -1
  693. package/dist/sdk/u-newsletter-checkbox.entry.esm.js.map +0 -1
  694. package/dist/sdk/u-newsletter-logout-button.entry.esm.js.map +0 -1
  695. package/dist/sdk/u-newsletter-preference-checkbox.entry.esm.js.map +0 -1
  696. package/dist/sdk/u-newsletter-resend-doi-button.entry.esm.js.map +0 -1
  697. package/dist/sdk/u-newsletter-root.entry.esm.js.map +0 -1
  698. package/dist/sdk/u-newsletter-toggle-subscription-button.entry.esm.js.map +0 -1
  699. package/dist/sdk/u-pagination-button.entry.esm.js.map +0 -1
  700. package/dist/sdk/u-pagination-page.entry.esm.js.map +0 -1
  701. package/dist/sdk/u-passkey.entry.esm.js.map +0 -1
  702. package/dist/sdk/u-password-field.entry.esm.js.map +0 -1
  703. package/dist/sdk/u-password-field.entry.js +0 -104
  704. package/dist/sdk/u-profile.u-submit-button.entry.esm.js.map +0 -1
  705. package/dist/sdk/u-registration-button.entry.esm.js.map +0 -1
  706. package/dist/sdk/u-reset-password-button.entry.esm.js.map +0 -1
  707. package/dist/sdk/u-reset-password-button.entry.js +0 -54
  708. package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +0 -1
  709. package/dist/sdk/u-signed-in.entry.esm.js.map +0 -1
  710. package/dist/sdk/u-signin-root.entry.esm.js.map +0 -1
  711. package/dist/sdk/u-signin-step.entry.esm.js.map +0 -1
  712. package/dist/sdk/u-signin-strategy.entry.esm.js.map +0 -1
  713. package/dist/sdk/u-social-login-button.entry.esm.js.map +0 -1
  714. package/dist/sdk/u-spinner.entry.esm.js.map +0 -1
  715. package/dist/sdk/u-ticketable-list.entry.esm.js.map +0 -1
  716. package/dist/sdk/unidy-store-BwZym11Y.js.map +0 -1
  717. package/dist/sdk/unidy-store-CtifvCkV.js.map +0 -1
  718. package/dist/types/api/client.d.ts +0 -32
  719. package/dist/types/api/index.d.ts +0 -22
  720. package/dist/types/api/shared.d.ts +0 -20
  721. package/dist/types/auth/api/auth.d.ts +0 -300
  722. package/dist/types/auth/auth-helpers.d.ts +0 -375
  723. package/dist/types/auth/auth.d.ts +0 -54
  724. package/dist/types/auth/components/helpers.d.ts +0 -1
  725. package/dist/types/auth/components/logout-button/logout-button.d.ts +0 -8
  726. package/dist/types/auth/components/magic-code-field/magic-code-field.d.ts +0 -10
  727. package/dist/types/auth/components/missing-field/missing-field.d.ts +0 -4
  728. package/dist/types/auth/components/missing-fields-submit-button/missing-fields-submit-button.d.ts +0 -5
  729. package/dist/types/auth/components/passkey/passkey.d.ts +0 -9
  730. package/dist/types/auth/components/password-field/password-field.d.ts +0 -15
  731. package/dist/types/auth/components/registration/registration-button.d.ts +0 -11
  732. package/dist/types/auth/components/reset-pass-button/reset-pass-button.d.ts +0 -7
  733. package/dist/types/auth/components/send-magic-code-button/send-magic-code-button.d.ts +0 -11
  734. package/dist/types/auth/components/signed-in/signed-in.d.ts +0 -5
  735. package/dist/types/auth/components/signin-root/signin-root.d.ts +0 -14
  736. package/dist/types/auth/components/signin-step/signin-step.d.ts +0 -8
  737. package/dist/types/auth/components/signin-strategy/signin-strategy.d.ts +0 -5
  738. package/dist/types/auth/components/social-logins/logos/apple.d.ts +0 -4
  739. package/dist/types/auth/components/social-logins/logos/discord.d.ts +0 -4
  740. package/dist/types/auth/components/social-logins/logos/facebook.d.ts +0 -4
  741. package/dist/types/auth/components/social-logins/logos/google.d.ts +0 -4
  742. package/dist/types/auth/components/social-logins/logos/linkedin.d.ts +0 -4
  743. package/dist/types/auth/components/social-logins/social-login-button.d.ts +0 -24
  744. package/dist/types/auth/components/submit-button/auth-submit-button.d.ts +0 -3
  745. package/dist/types/auth/error-definitions.d.ts +0 -23
  746. package/dist/types/auth/index.d.ts +0 -16
  747. package/dist/types/auth/passkey-auth.d.ts +0 -2
  748. package/dist/types/auth/store/auth-store.d.ts +0 -56
  749. package/dist/types/components.d.ts +0 -1246
  750. package/dist/types/globalScript.d.ts +0 -1
  751. package/dist/types/i18n.d.ts +0 -3
  752. package/dist/types/index.d.ts +0 -16
  753. package/dist/types/logger.d.ts +0 -55
  754. package/dist/types/newsletter/api/newsletters.d.ts +0 -198
  755. package/dist/types/newsletter/components/helpers.d.ts +0 -1
  756. package/dist/types/newsletter/components/logout-button/logout-button.d.ts +0 -6
  757. package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +0 -10
  758. package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +0 -11
  759. package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +0 -23
  760. package/dist/types/newsletter/components/resend-doi-button/resend-doi-button.d.ts +0 -8
  761. package/dist/types/newsletter/components/submit-button/newsletter-submit-button.d.ts +0 -3
  762. package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts +0 -12
  763. package/dist/types/newsletter/index.d.ts +0 -10
  764. package/dist/types/newsletter/newsletter-helpers.d.ts +0 -15
  765. package/dist/types/newsletter/store/newsletter-store.d.ts +0 -25
  766. package/dist/types/profile/api/profile.d.ts +0 -238
  767. package/dist/types/profile/components/field/field.d.ts +0 -40
  768. package/dist/types/profile/components/full-profile/full-profile.d.ts +0 -6
  769. package/dist/types/profile/components/profile/profile.d.ts +0 -27
  770. package/dist/types/profile/components/raw-field/raw-field.d.ts +0 -45
  771. package/dist/types/profile/components/raw-input-fields/Input.d.ts +0 -17
  772. package/dist/types/profile/components/raw-input-fields/MultiSelect.d.ts +0 -28
  773. package/dist/types/profile/components/raw-input-fields/RadioGroup.d.ts +0 -30
  774. package/dist/types/profile/components/raw-input-fields/Select.d.ts +0 -24
  775. package/dist/types/profile/components/raw-input-fields/Textarea.d.ts +0 -17
  776. package/dist/types/profile/components/submit-button/profile-submit-button.d.ts +0 -2
  777. package/dist/types/profile/index.d.ts +0 -13
  778. package/dist/types/profile/profile-helpers.d.ts +0 -7
  779. package/dist/types/profile/store/profile-store.d.ts +0 -39
  780. package/dist/types/shared/component-utils.d.ts +0 -9
  781. package/dist/types/shared/components/conditional-render/conditional-render.d.ts +0 -11
  782. package/dist/types/shared/components/config/config.d.ts +0 -31
  783. package/dist/types/shared/components/email-field/email-field.d.ts +0 -13
  784. package/dist/types/shared/components/error-message/error-message.d.ts +0 -15
  785. package/dist/types/shared/components/flash-message/close-icon.d.ts +0 -1
  786. package/dist/types/shared/components/flash-message/flash-message.d.ts +0 -6
  787. package/dist/types/shared/components/spinner/spinner.d.ts +0 -3
  788. package/dist/types/shared/components/submit-button/context.d.ts +0 -9
  789. package/dist/types/shared/components/submit-button/submit-button.d.ts +0 -20
  790. package/dist/types/shared/store/flash-store.d.ts +0 -29
  791. package/dist/types/shared/store/unidy-store.d.ts +0 -12
  792. package/dist/types/stencil-public-runtime.d.ts +0 -1756
  793. package/dist/types/ticketable/api/get-with-schema.d.ts +0 -3
  794. package/dist/types/ticketable/api/schemas.d.ts +0 -18
  795. package/dist/types/ticketable/api/subscriptions.d.ts +0 -84
  796. package/dist/types/ticketable/api/tickets.d.ts +0 -86
  797. package/dist/types/ticketable/components/pagination/pagination-button.d.ts +0 -14
  798. package/dist/types/ticketable/components/pagination/pagination-page.d.ts +0 -12
  799. package/dist/types/ticketable/components/ticketable-list/skeleton-helpers.d.ts +0 -13
  800. package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +0 -41
  801. package/dist/types/ticketable/index.d.ts +0 -12
  802. package/dist/types/ticketable/store/pagination-store.d.ts +0 -10
  803. package/loader/cdn.js +0 -1
  804. package/loader/index.cjs.js +0 -1
  805. package/loader/index.d.ts +0 -24
  806. package/loader/index.es2017.js +0 -1
  807. package/loader/index.js +0 -2
@@ -1,89 +0,0 @@
1
- import { r as registerInstance, h } from './index-Ci3aTmzp.js';
2
- import { s as state } from './auth-store-BGMYm_jK.js';
3
- import { A as Auth } from './auth-B0RIcDM-.js';
4
- import './index-Bjp1XO-f.js';
5
- import './unidy-store-BldTAtO0.js';
6
- import './index-DSDkaHWI.js';
7
- import './i18n-CLdWzy5J.js';
8
- import './profile-store-RmZB2PTc.js';
9
- import './component-utils-D1lzXl_Z.js';
10
- import './flash-store-CEvWSG0c.js';
11
-
12
- const magicCodeFieldCss = "/*! 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-ring-offset-width:0px;--tw-border-style:solid;--tw-duration: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:0;--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-slate-200:oklch(92.9% .013 255.508);--u-spacing:.25rem;--u-text-lg:1.125rem;--u-text-lg--line-height:1.55556;--u-radius-lg:.5rem;--u-default-transition-duration:.15s;--u-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--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);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}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:currentColor;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\\:flex{display:flex}.u\\:h-\\[50px\\]{height:50px}.u\\:w-\\[50px\\]{width:50px}.u\\:w-full{width:100%}.u\\:justify-center{justify-content:center}.u\\:gap-0\\.5{gap:calc(var(--u-spacing)*.5)}.u\\:rounded-lg{border-radius:var(--u-radius-lg)}.u\\:border-2{border-style:var(--tw-border-style);border-width:2px}.u\\:border-solid{--tw-border-style:solid;border-style:solid}.u\\:border-slate-200{border-color:var(--u-color-slate-200)}.u\\:text-center{text-align:center}.u\\:text-lg{font-size:var(--u-text-lg);line-height:var(--tw-leading,var(--u-text-lg--line-height))}.u\\:transition-colors{transition-duration:var(--tw-duration,var(--u-default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--u-default-transition-timing-function))}.u\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.u\\:outline-none{--tw-outline-style:none;outline-style:none}.fixed{position:fixed}.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;@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}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-duration{syntax:\"*\";inherits:false}";
13
-
14
- const MagicCodeField = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- }
18
- componentClassName = "";
19
- codeDigits = ["", "", "", ""];
20
- inputRefs = [];
21
- handleInput = (event, index) => {
22
- const target = event.target;
23
- const value = target.value.replace(/[^0-9]/g, "");
24
- const sanitizedDigit = value.slice(-1);
25
- target.value = sanitizedDigit;
26
- const newDigits = [...this.codeDigits];
27
- newDigits[index] = sanitizedDigit;
28
- this.codeDigits = newDigits;
29
- const fullCode = newDigits.join("");
30
- if (value && index < 3) {
31
- const nextInput = this.inputRefs[index + 1];
32
- if (nextInput) {
33
- nextInput.focus();
34
- }
35
- }
36
- if (fullCode.length === 4) {
37
- this.authenticateWithCode(fullCode);
38
- }
39
- };
40
- handleKeyDown = (event, index) => {
41
- if (event.key === "Backspace" && !this.codeDigits[index] && index > 0) {
42
- const prevInput = this.inputRefs[index - 1];
43
- if (prevInput) {
44
- prevInput.focus();
45
- }
46
- }
47
- };
48
- handlePaste = (event) => {
49
- event.preventDefault();
50
- const pastedData = event.clipboardData?.getData("text") || "";
51
- const digits = pastedData
52
- .replace(/[^0-9]/g, "")
53
- .slice(0, 4)
54
- .split("");
55
- while (digits.length < 4) {
56
- digits.push("");
57
- }
58
- this.codeDigits = digits;
59
- const firstEmptyIndex = digits.findIndex((digit) => !digit);
60
- const targetIndex = firstEmptyIndex !== -1 ? firstEmptyIndex : 3;
61
- if (this.inputRefs[targetIndex]) {
62
- this.inputRefs[targetIndex].focus();
63
- }
64
- const fullCode = digits.join("");
65
- if (fullCode.length === 4) {
66
- this.authenticateWithCode(fullCode);
67
- }
68
- };
69
- authenticateWithCode = async (code) => {
70
- const authInstance = await Auth.getInstance();
71
- await authInstance.helpers.authenticateWithMagicCode(code);
72
- };
73
- render() {
74
- if (state.step !== "magic-code") {
75
- return null;
76
- }
77
- return (h("div", { class: `u:flex u:gap-0.5 u:w-full u:justify-center ${this.componentClassName}` }, this.codeDigits.map((digit, index) => (h("input", {
78
- // biome-ignore lint/suspicious/noArrayIndexKey: digits are fixed position inputs
79
- key: index, ref: (el) => {
80
- if (el)
81
- this.inputRefs[index] = el;
82
- }, id: `digit-input-${index + 1}`, type: "text", inputmode: "numeric", maxlength: "1", value: digit, disabled: state.loading, onInput: (event) => this.handleInput(event, index), onKeyDown: (event) => this.handleKeyDown(event, index), onPaste: index === 0 ? this.handlePaste : undefined, "aria-label": `Digit ${index + 1} of ${this.codeDigits.length}`, class: "u:w-[50px] u:h-[50px] u:text-center u:text-lg u:border-2 u:border-solid u:border-slate-200 u:rounded-lg u:outline-none u:transition-colors u:duration-200", part: "digit-input"
83
- })))));
84
- }
85
- };
86
- MagicCodeField.style = magicCodeFieldCss;
87
-
88
- export { MagicCodeField as u_magic_code_field };
89
- //# sourceMappingURL=u-magic-code-field.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-magic-code-field.entry.js","sources":["src/auth/components/magic-code-field/magic-code-field.css?tag=u-magic-code-field","src/auth/components/magic-code-field/magic-code-field.tsx"],"sourcesContent":["","import { Component, h, Prop, State } from \"@stencil/core\";\nimport { authState } from \"../../store/auth-store\";\nimport { Auth } from \"../../auth\";\n\n@Component({\n tag: \"u-magic-code-field\",\n styleUrl: \"magic-code-field.css\",\n shadow: false,\n})\nexport class MagicCodeField {\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n @State() codeDigits: string[] = [\"\", \"\", \"\", \"\"];\n\n private inputRefs: HTMLInputElement[] = [];\n\n private handleInput = (event: Event, index: number) => {\n const target = event.target as HTMLInputElement;\n const value = target.value.replace(/[^0-9]/g, \"\");\n const sanitizedDigit = value.slice(-1);\n target.value = sanitizedDigit;\n\n const newDigits = [...this.codeDigits];\n newDigits[index] = sanitizedDigit;\n this.codeDigits = newDigits;\n\n const fullCode = newDigits.join(\"\");\n\n if (value && index < 3) {\n const nextInput = this.inputRefs[index + 1];\n if (nextInput) {\n nextInput.focus();\n }\n }\n\n if (fullCode.length === 4) {\n this.authenticateWithCode(fullCode);\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent, index: number) => {\n if (event.key === \"Backspace\" && !this.codeDigits[index] && index > 0) {\n const prevInput = this.inputRefs[index - 1];\n if (prevInput) {\n prevInput.focus();\n }\n }\n };\n\n private handlePaste = (event: ClipboardEvent) => {\n event.preventDefault();\n const pastedData = event.clipboardData?.getData(\"text\") || \"\";\n const digits = pastedData\n .replace(/[^0-9]/g, \"\")\n .slice(0, 4)\n .split(\"\");\n\n while (digits.length < 4) {\n digits.push(\"\");\n }\n\n this.codeDigits = digits;\n\n const firstEmptyIndex = digits.findIndex((digit) => !digit);\n const targetIndex = firstEmptyIndex !== -1 ? firstEmptyIndex : 3;\n if (this.inputRefs[targetIndex]) {\n this.inputRefs[targetIndex].focus();\n }\n\n const fullCode = digits.join(\"\");\n if (fullCode.length === 4) {\n this.authenticateWithCode(fullCode);\n }\n };\n\n private authenticateWithCode = async (code: string) => {\n const authInstance = await Auth.getInstance();\n\n await authInstance.helpers.authenticateWithMagicCode(code);\n };\n render() {\n if (authState.step !== \"magic-code\") {\n return null;\n }\n\n return (\n <div class={`u:flex u:gap-0.5 u:w-full u:justify-center ${this.componentClassName}`}>\n {this.codeDigits.map((digit, index) => (\n <input\n // biome-ignore lint/suspicious/noArrayIndexKey: digits are fixed position inputs\n key={index}\n ref={(el) => {\n if (el) this.inputRefs[index] = el;\n }}\n id={`digit-input-${index + 1}`}\n type=\"text\"\n inputmode=\"numeric\"\n maxlength=\"1\"\n value={digit}\n disabled={authState.loading}\n onInput={(event) => this.handleInput(event, index)}\n onKeyDown={(event) => this.handleKeyDown(event, index)}\n onPaste={index === 0 ? this.handlePaste : undefined}\n aria-label={`Digit ${index + 1} of ${this.codeDigits.length}`}\n class=\"u:w-[50px] u:h-[50px] u:text-center u:text-lg u:border-2 u:border-solid u:border-slate-200 u:rounded-lg u:outline-none u:transition-colors u:duration-200\"\n part=\"digit-input\"\n />\n ))}\n </div>\n );\n }\n}\n"],"names":["authState"],"mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,6/PAA6/P;;MCS1gQ,cAAc,GAAA,MAAA;;;;IACU,kBAAkB,GAAG,EAAE;IAEjD,UAAU,GAAa,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;IAExC,SAAS,GAAuB,EAAE;AAElC,IAAA,WA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AC,CAAC,KAAK,EAAE,KAAK,MAChC,CAAA,CAAA,OAAA,EAAA;;YAEE,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,CAAC,EAAE,KAAI;AACV,gBAAA,IAAI,EAAE;AAAE,oBAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,EAAE;aACnC,EACD,EAAE,EAAE,CAAA,YAAA,EAAe,KAAK,GAAG,CAAC,EAAE,EAC9B,IAAI,EAAC,MAAM,EACX,SAAS,EAAC,SAAS,EACnB,SAAS,EAAC,GAAG,EACb,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAEA,KAAS,CAAC,OAAO,EAC3B,OAAO,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,EAClD,SAAS,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC,EACtD,OAAO,EAAE,KAAK,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,GAAG,SAAS,gBACvC,SAAS,KAAK,GAAG,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,EAC7D,KAAK,EAAC,2JAA2J,EACjK,IAAI,EAAC;UACL,CACH,CAAC,CACE;;;;;;;"}
@@ -1,20 +0,0 @@
1
- import { r as registerInstance, g as getElement, h } from './index-Ci3aTmzp.js';
2
- import { s as state, m as missingFieldNames } from './auth-store-BGMYm_jK.js';
3
- import './index-Bjp1XO-f.js';
4
- import './unidy-store-BldTAtO0.js';
5
-
6
- const MissingField = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- }
10
- get el() { return getElement(this); }
11
- render() {
12
- if (state.step !== "missing-fields")
13
- return null;
14
- const fieldNames = missingFieldNames();
15
- return (h("div", { class: "missing-fields" }, h("form", null, fieldNames.map((fieldName) => (h("u-field", { key: fieldName, field: fieldName, renderDefaultLabel: true }))))));
16
- }
17
- };
18
-
19
- export { MissingField as u_missing_field };
20
- //# sourceMappingURL=u-missing-field.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-missing-field.entry.js","sources":["src/auth/components/missing-field/missing-field.tsx"],"sourcesContent":["import { Component, h, Element } from \"@stencil/core\";\nimport { authState, missingFieldNames } from \"../../store/auth-store\";\n\n@Component({\n tag: \"u-missing-field\",\n shadow: false,\n})\nexport class MissingField {\n @Element() el!: HTMLElement;\n\n render() {\n if (authState.step !== \"missing-fields\") return null;\n\n const fieldNames = missingFieldNames();\n\n return (\n <div class=\"missing-fields\">\n <form>\n {fieldNames.map((fieldName) => (\n <u-field key={fieldName} field={fieldName} renderDefaultLabel={true} />\n ))}\n </form>\n </div>\n );\n }\n}\n"],"names":["authState"],"mappings":";;;;;MAOa,YAAY,GAAA,MAAA;;;;;IAGvB,MAAM,GAAA;AACJ,QAAA,IAAIA,KAAS,CAAC,IAAI,KAAK,gBAAgB;AAAE,YAAA,OAAO,IAAI;AAEpD,QAAA,MAAM,UAAU,GAAG,iBAAiB,EAAE;QAEtC,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,gBAAgB,EAAA,EACzB,CAAA,CAAA,MAAA,EAAA,IAAA,EACG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,MACxB,CAAS,CAAA,SAAA,EAAA,EAAA,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAI,CAAA,CACxE,CAAC,CACG,CACH;;;;;;"}
@@ -1,44 +0,0 @@
1
- import { r as registerInstance, g as getElement, h } from './index-Ci3aTmzp.js';
2
- import { g as getUnidyClient } from './index-DSDkaHWI.js';
3
- import { s as state } from './profile-store-RmZB2PTc.js';
4
- import { s as state$1, a as authStore } from './auth-store-BGMYm_jK.js';
5
- import { v as validateRequiredFieldsUnchanged, b as buildPayload } from './profile-helpers-CglNd6Nw.js';
6
- import { h as hasSlotContent } from './component-utils-D1lzXl_Z.js';
7
- import { t } from './i18n-CLdWzy5J.js';
8
- import './unidy-store-BldTAtO0.js';
9
- import './index-Bjp1XO-f.js';
10
-
11
- const MissingFieldsSubmitButton = class {
12
- constructor(hostRef) {
13
- registerInstance(this, hostRef);
14
- }
15
- get el() { return getElement(this); }
16
- async onSubmit() {
17
- state.loading = true;
18
- const { configuration, ...stateWithoutConfig } = state;
19
- if (!validateRequiredFieldsUnchanged(stateWithoutConfig.data)) {
20
- state.loading = false;
21
- return;
22
- }
23
- const updatedProfileData = buildPayload(stateWithoutConfig.data);
24
- const sid = state$1.sid;
25
- const [error, response] = await getUnidyClient().auth.updateMissingFields(sid, updatedProfileData);
26
- if (error) {
27
- state.loading = false;
28
- return;
29
- }
30
- const { jwt } = response;
31
- state.loading = false;
32
- authStore.setToken(jwt);
33
- // Emit authEvent to allow modal-based logins to close after successful submission
34
- this.el.dispatchEvent(new CustomEvent("authEvent", { detail: { jwt }, bubbles: true, composed: true }));
35
- }
36
- render() {
37
- if (state$1.step !== "missing-fields")
38
- return null;
39
- return (h("div", null, h("button", { type: "button", onClick: () => this.onSubmit(), part: "button", disabled: (state.errors && Object.keys(state.errors).length > 0) || state.phoneValid === false, "aria-live": "polite" }, state.loading ? h("u-spinner", null) : hasSlotContent(this.el) ? h("slot", null) : t("buttons.submit"))));
40
- }
41
- };
42
-
43
- export { MissingFieldsSubmitButton as u_missing_fields_submit_button };
44
- //# sourceMappingURL=u-missing-fields-submit-button.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-missing-fields-submit-button.entry.js","sources":["src/auth/components/missing-fields-submit-button/missing-fields-submit-button.tsx"],"sourcesContent":["import { Component, Element, h } from \"@stencil/core\";\nimport { getUnidyClient } from \"../../../api\";\nimport { state as profileState } from \"../../../profile/store/profile-store\";\nimport { authState, authStore } from \"../../store/auth-store\";\nimport { validateRequiredFieldsUnchanged, buildPayload } from \"../../../profile/profile-helpers\";\nimport type { TokenResponse } from \"../../api/auth\";\nimport { hasSlotContent } from \"../../../shared/component-utils\";\nimport { t } from \"../../../i18n\";\n\n@Component({\n tag: \"u-missing-fields-submit-button\",\n shadow: true,\n})\nexport class MissingFieldsSubmitButton {\n @Element() el!: HTMLElement;\n\n private async onSubmit() {\n profileState.loading = true;\n\n const { configuration, ...stateWithoutConfig } = profileState;\n\n if (!validateRequiredFieldsUnchanged(stateWithoutConfig.data)) {\n profileState.loading = false;\n return;\n }\n\n const updatedProfileData = buildPayload(stateWithoutConfig.data);\n const sid = authState.sid as string;\n\n const [error, response] = await getUnidyClient().auth.updateMissingFields(sid, updatedProfileData);\n\n if (error) {\n profileState.loading = false;\n return;\n }\n\n const { jwt } = response as TokenResponse;\n profileState.loading = false;\n authStore.setToken(jwt);\n\n // Emit authEvent to allow modal-based logins to close after successful submission\n this.el.dispatchEvent(new CustomEvent(\"authEvent\", { detail: { jwt }, bubbles: true, composed: true }));\n }\n\n render() {\n if (authState.step !== \"missing-fields\") return null;\n\n return (\n <div>\n <button\n type=\"button\"\n onClick={() => this.onSubmit()}\n part=\"button\"\n disabled={(profileState.errors && Object.keys(profileState.errors).length > 0) || profileState.phoneValid === false}\n aria-live=\"polite\"\n >\n {profileState.loading ? <u-spinner /> : hasSlotContent(this.el) ? <slot /> : t(\"buttons.submit\")}\n </button>\n </div>\n );\n }\n}\n"],"names":["profileState","authState"],"mappings":";;;;;;;;;;MAaa,yBAAyB,GAAA,MAAA;;;;;AAG5B,IAAA,MAAM,QAAQ,GAAA;AACpB,QAAAA,KAAY,CAAC,OAAO,GAAG,IAAI;QAE3B,MAAM,EAAE,aAAa,EAAE,GAAG,kBAAkB,EAAE,GAAGA,KAAY;QAE7D,IAAI,CAAC,+BAA+B,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE;AAC7D,YAAAA,KAAY,CAAC,OAAO,GAAG,KAAK;YAC5B;;QAGF,MAAM,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC;AAChE,QAAA,MAAM,GAAG,GAAGC,OAAS,CAAC,GAAa;A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Ci3aTmzp.js';
2
- import { a as isSubscribed } from './newsletter-helpers-CONtbKYi.js';
3
- import { n as newsletterStore } from './newsletter-store-DBL1A203.js';
4
- import './index-DSDkaHWI.js';
5
- import './i18n-CLdWzy5J.js';
6
- import './unidy-store-BldTAtO0.js';
7
- import './index-Bjp1XO-f.js';
8
- import './profile-store-RmZB2PTc.js';
9
- import './auth-B0RIcDM-.js';
10
- import './auth-store-BGMYm_jK.js';
11
- import './component-utils-D1lzXl_Z.js';
12
- import './flash-store-CEvWSG0c.js';
13
-
14
- const NewsletterCheckbox = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- }
18
- internalName;
19
- checked = false;
20
- componentClassName;
21
- componentWillLoad() {
22
- if (this.checked && !this.isSubscribed) {
23
- const checkedNewsletters = newsletterStore.state.checkedNewsletters;
24
- if (!(this.internalName in checkedNewsletters)) {
25
- newsletterStore.set("checkedNewsletters", {
26
- ...checkedNewsletters,
27
- [this.internalName]: [],
28
- });
29
- }
30
- }
31
- }
32
- get isSubscribed() {
33
- return isSubscribed(this.internalName);
34
- }
35
- get isChecked() {
36
- return this.isSubscribed || this.internalName in newsletterStore.state.checkedNewsletters;
37
- }
38
- handleChange = () => {
39
- if (this.isSubscribed)
40
- return;
41
- const currentlyChecked = this.internalName in newsletterStore.state.checkedNewsletters;
42
- if (currentlyChecked) {
43
- const { [this.internalName]: _, ...rest } = newsletterStore.state.checkedNewsletters;
44
- newsletterStore.set("checkedNewsletters", rest);
45
- }
46
- else {
47
- const prefs = newsletterStore.state.defaultPreferences[this.internalName];
48
- const defaultPrefs = prefs ? Array.from(prefs) : [];
49
- newsletterStore.set("checkedNewsletters", {
50
- ...newsletterStore.state.checkedNewsletters,
51
- [this.internalName]: defaultPrefs,
52
- });
53
- }
54
- };
55
- render() {
56
- return (h("input", { key: 'cc271d9f9c00c561dac29e7b4edc96e0ddf148b6', type: "checkbox", checked: this.isChecked, disabled: this.isSubscribed, onChange: this.handleChange, class: this.componentClassName, "aria-checked": this.isChecked }));
57
- }
58
- };
59
-
60
- export { NewsletterCheckbox as u_newsletter_checkbox };
61
- //# sourceMappingURL=u-newsletter-checkbox.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-newsletter-checkbox.entry.js","sources":["src/newsletter/components/newsletter-checkbox/newsletter-checkbox.tsx"],"sourcesContent":["import { Component, h, Prop } from \"@stencil/core\";\nimport * as NewsletterHelpers from \"../../newsletter-helpers\";\nimport { newsletterStore } from \"../../store/newsletter-store\";\n\n@Component({\n tag: \"u-newsletter-checkbox\",\n shadow: false,\n})\nexport class NewsletterCheckbox {\n @Prop() internalName!: string;\n @Prop() checked = false;\n @Prop({ attribute: \"class-name\" }) componentClassName?: string;\n\n componentWillLoad() {\n if (this.checked && !this.isSubscribed) {\n const checkedNewsletters = newsletterStore.state.checkedNewsletters;\n if (!(this.internalName in checkedNewsletters)) {\n newsletterStore.set(\"checkedNewsletters\", {\n ...checkedNewsletters,\n [this.internalName]: [],\n });\n }\n }\n }\n\n private get isSubscribed(): boolean {\n return NewsletterHelpers.isSubscribed(this.internalName);\n }\n\n private get isChecked(): boolean {\n return this.isSubscribed || this.internalName in newsletterStore.state.checkedNewsletters;\n }\n\n private handleChange = () => {\n if (this.isSubscribed) return;\n\n const currentlyChecked = this.internalName in newsletterStore.state.checkedNewsletters;\n\n if (currentlyChecked) {\n const { [this.internalName]: _, ...rest } = newsletterStore.state.checkedNewsletters;\n newsletterStore.set(\"checkedNewsletters\", rest);\n } else {\n const prefs = newsletterStore.state.defaultPreferences[this.internalName];\n const defaultPrefs: string[] = prefs ? Array.from(prefs) : [];\n\n newsletterStore.set(\"checkedNewsletters\", {\n ...newsletterStore.state.checkedNewsletters,\n [this.internalName]: defaultPrefs,\n });\n }\n };\n\n render() {\n return (\n <input\n type=\"checkbox\"\n checked={this.isChecked}\n disabled={this.isSubscribed}\n onChange={this.handleChange}\n class={this.componentClassName}\n aria-checked={this.isChecked}\n />\n );\n }\n}\n"],"names":["NewsletterH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KAAK,CAAC,GAAG,EAAE;AAE7D,YAAA,eAAe,CAAC,GAAG,CAAC,oBAAoB,EAAE;AACxC,gBAAA,GAAG,eAAe,CAAC,KAAK,CAAC,kBAAkB;AAC3C,gBAAA,CAAC,IAAI,CAAC,YAAY,GAAG,YAAY;AAClC,aAAA,CAAC;;AAEN,KAAC;IAED,MAAM,GAAA;QACJ,QACE,CAAA,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,SAAS,EACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,KAAK,EAAE,IAAI,CAAC,kBAAkB,kBAChB,IAAI,CAAC,SAAS,EAAA,CAC5B;;;;;;"}
@@ -1,34 +0,0 @@
1
- import { r as registerInstance, g as getElement, h, H as Host } from './index-Ci3aTmzp.js';
2
- import { n as newsletterLogout } from './newsletter-helpers-CONtbKYi.js';
3
- import { t } from './i18n-CLdWzy5J.js';
4
- import { F as Flash } from './flash-store-CEvWSG0c.js';
5
- import { n as newsletterStore } from './newsletter-store-DBL1A203.js';
6
- import { h as hasSlotContent } from './component-utils-D1lzXl_Z.js';
7
- import './index-DSDkaHWI.js';
8
- import './profile-store-RmZB2PTc.js';
9
- import './index-Bjp1XO-f.js';
10
- import './unidy-store-BldTAtO0.js';
11
- import './auth-B0RIcDM-.js';
12
- import './auth-store-BGMYm_jK.js';
13
-
14
- const LogoutButton = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- }
18
- get el() { return getElement(this); }
19
- componentClassName = "";
20
- handleLogout = () => {
21
- newsletterLogout();
22
- Flash.success.addMessage(t("newsletter.success.logout"));
23
- };
24
- render() {
25
- if (newsletterStore.state.preferenceToken === "" || newsletterStore.state.isAuthenticated) {
26
- return h(Host, { style: { display: "none" } });
27
- }
28
- const hasContent = hasSlotContent(this.el);
29
- return (h(Host, null, h("button", { type: "button", part: "button", class: this.componentClassName, onClick: this.handleLogout, "aria-label": "Logout", "aria-live": "polite" }, hasContent ? h("slot", null) : t("newsletter.buttons.logout"))));
30
- }
31
- };
32
-
33
- export { LogoutButton as u_newsletter_logout_button };
34
- //# sourceMappingURL=u-newsletter-logout-button.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-newsletter-logout-button.entry.js","sources":["src/newsletter/components/logout-button/logout-button.tsx"],"sourcesContent":["import { Component, h, Prop, Element, Host } from \"@stencil/core\";\nimport { newsletterLogout } from \"../../newsletter-helpers\";\nimport { t } from \"../../../i18n\";\nimport { Flash } from \"../../../shared/store/flash-store\";\nimport { newsletterStore } from \"../../store/newsletter-store\";\nimport { hasSlotContent } from \"../../../shared/component-utils\";\n\n@Component({\n tag: \"u-newsletter-logout-button\",\n shadow: false,\n})\nexport class LogoutButton {\n @Element() el!: HTMLElement;\n\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n private handleLogout = () => {\n newsletterLogout();\n Flash.success.addMessage(t(\"newsletter.success.logout\"));\n };\n\n render() {\n if (newsletterStore.state.preferenceToken === \"\" || newsletterStore.state.isAuthenticated) {\n return <Host style={{ display: \"none\" }} />;\n }\n\n const hasContent = hasSlotContent(this.el);\n\n return (\n <Host>\n <button\n type=\"button\"\n part=\"button\"\n class={this.componentClassName}\n onClick={this.handleLogout}\n aria-label=\"Logout\"\n aria-live=\"polite\"\n >\n {hasContent ? <slot /> : t(\"newsletter.buttons.logout\")}\n </button>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;MAWa,YAAY,GAAA,MAAA;;;;;IAGY,kBAAkB,GAAG,EAAE;IAElD,YAAY,GAAG,MAAK;AAC1B,QAAA,gBAAgB,EAAE;QAClB,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAAC;AAC1D,KAAC;IAED,MAAM,GAAA;AACJ,QAAA,IAAI,eAAe,CAAC,KAAK,CAAC,eAAe,KAAK,EAAE,IAAI,eAAe,CAAC,KAAK,CAAC,eAAe,EAAE;AACzF,YAAA,OAAO,CAAA,CAAC,IAAI,EAAA,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAA,CAAI;;QAG7C,MAAM,UAAU,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;AAE1C,QAAA,QACE,EAAC,IAAI,EAAA,IAAA,EACH,CAAA,CAAA,QAAA,EAAA,EACE,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAC9B,OAAO,EAAE,IAAI,CAAC,YAAY,EACf,YAAA,EAAA,QAAQ,eACT,QAAQ,EAAA,EAEjB,UAAU,GAAG,CAAQ,CAAA,MAAA,EAAA,IAAA,CAAA,GAAG,CAAC,CAAC,2BAA2B,CAAC,CAChD,CACJ;;;;;;"}
@@ -1,104 +0,0 @@
1
- import { r as registerInstance, h } from './index-Ci3aTmzp.js';
2
- import { a as isSubscribed, u as updateSubscriptionPreferences } from './newsletter-helpers-CONtbKYi.js';
3
- import { s as storeDefaultPreference, n as newsletterStore } from './newsletter-store-DBL1A203.js';
4
- import './index-DSDkaHWI.js';
5
- import './i18n-CLdWzy5J.js';
6
- import './unidy-store-BldTAtO0.js';
7
- import './index-Bjp1XO-f.js';
8
- import './profile-store-RmZB2PTc.js';
9
- import './auth-B0RIcDM-.js';
10
- import './auth-store-BGMYm_jK.js';
11
- import './component-utils-D1lzXl_Z.js';
12
- import './flash-store-CEvWSG0c.js';
13
-
14
- const NewsletterPreferenceCheckbox = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- }
18
- internalName;
19
- preferenceIdentifier;
20
- checked = false;
21
- componentClassName;
22
- loading = false;
23
- existingSubscriptions = [];
24
- checkedPreferences = [];
25
- storeUnsubscribe;
26
- componentWillLoad() {
27
- this.subscribeToStore();
28
- this.initializeCheckedState();
29
- if (this.checked) {
30
- storeDefaultPreference(this.internalName, this.preferenceIdentifier);
31
- }
32
- }
33
- disconnectedCallback() {
34
- this.storeUnsubscribe?.();
35
- }
36
- subscribeToStore() {
37
- this.storeUnsubscribe = newsletterStore.onChange("existingSubscriptions", (subscriptions) => {
38
- this.existingSubscriptions = subscriptions;
39
- });
40
- newsletterStore.onChange("checkedNewsletters", (checkedNewsletters) => {
41
- this.checkedPreferences = checkedNewsletters[this.internalName] || [];
42
- });
43
- this.existingSubscriptions = newsletterStore.state.existingSubscriptions;
44
- this.checkedPreferences = newsletterStore.state.checkedNewsletters[this.internalName] || [];
45
- }
46
- initializeCheckedState() {
47
- if (isSubscribed(this.internalName)) {
48
- return;
49
- }
50
- if (this.checked) {
51
- this.syncToStore(true);
52
- }
53
- }
54
- get subscription() {
55
- return this.existingSubscriptions.find((sub) => sub.newsletter_internal_name === this.internalName);
56
- }
57
- get isSubscribed() {
58
- return this.subscription !== undefined;
59
- }
60
- get isConfirmed() {
61
- return this.subscription?.confirmed ?? false;
62
- }
63
- get isDisabled() {
64
- return this.loading || (this.isSubscribed && !this.isConfirmed);
65
- }
66
- get isChecked() {
67
- return this.checkedPreferences.includes(this.preferenceIdentifier);
68
- }
69
- syncToStore(add) {
70
- const currentPreferences = newsletterStore.state.checkedNewsletters[this.internalName] || [];
71
- if (add) {
72
- if (!currentPreferences.includes(this.preferenceIdentifier)) {
73
- newsletterStore.set("checkedNewsletters", {
74
- ...newsletterStore.state.checkedNewsletters,
75
- [this.internalName]: [...currentPreferences, this.preferenceIdentifier],
76
- });
77
- }
78
- }
79
- else {
80
- newsletterStore.set("checkedNewsletters", {
81
- ...newsletterStore.state.checkedNewsletters,
82
- [this.internalName]: currentPreferences.filter((p) => p !== this.preferenceIdentifier),
83
- });
84
- }
85
- }
86
- handleChange = async () => {
87
- if (this.isDisabled)
88
- return;
89
- const currentlyChecked = this.isChecked;
90
- this.syncToStore(!currentlyChecked);
91
- // If subscribed and confirmed persist the change to the API
92
- if (this.isSubscribed && this.isConfirmed) {
93
- this.loading = true;
94
- await updateSubscriptionPreferences(this.internalName);
95
- this.loading = false;
96
- }
97
- };
98
- render() {
99
- return (h("input", { key: 'f0991d8f47d6d10ec177c1effdc9ac1371bd8e43', type: "checkbox", checked: this.isChecked, disabled: this.isDisabled, onChange: this.handleChange, class: this.componentClassName, "aria-checked": this.isChecked, "aria-busy": this.loading, "aria-disabled": this.isDisabled, "data-internal-name": this.internalName, "data-preference-identifier": this.preferenceIdentifier }));
100
- }
101
- };
102
-
103
- export { NewsletterPreferenceCheckbox as u_newsletter_preference_checkbox };
104
- //# sourceMappingURL=u-newsletter-preference-checkbox.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-newsletter-preference-checkbox.entry.js","sources":["src/newsletter/components/preference-checkbox/preference-checkbox.tsx"],"sourcesContent":["import { Component, h, Prop, State } from \"@stencil/core\";\nimport * as NewsletterHelpers from \"../../newsletter-helpers\";\nimport { type ExistingSubscription, newsletterStore, storeDefaultPreference } from \"../../store/newsletter-store\";\n\n@Component({\n tag: \"u-newsletter-preference-checkbox\",\n shadow: false,\n})\nexport class NewsletterPreferenceCheckbox {\n @Prop() internalName!: string;\n @Prop() preferenceIdentifier!: string;\n @Prop() checked = false;\n @Prop({ attribute: \"class-name\" }) componentClassName?: string;\n\n @State() loading = false;\n\n @State() existingSubscriptions: ExistingSubscription[] = [];\n @State() checkedPreferences: string[] = [];\n\n private storeUnsubscribe?: () => void;\n\n componentWillLoad() {\n this.subscribeToStore();\n this.initializeCheckedState();\n\n if (this.checked) {\n storeDefaultPreference(this.internalName, this.preferenceIdentifier);\n }\n }\n\n disconnectedCallback() {\n this.storeUnsubscribe?.();\n }\n\n private subscribeToStore() {\n this.storeUnsubscribe = newsletterStore.onChange(\"existingSubscriptions\", (subscriptions) => {\n this.existingSubscriptions = subscriptions;\n });\n\n newsletterStore.onChange(\"checkedNewsletters\", (checkedNewsletters) => {\n this.checkedPreferences = checkedNewsletters[this.internalName] || [];\n });\n\n this.existingSubscriptions = newsletterStore.state.existingSubscriptions;\n this.checkedPreferences = newsletterStore.state.checkedNewsletters[this.internalName] || [];\n }\n\n private initializeCheckedState() {\n if (NewsletterHelpers.isSubscribed(this.internalName)) {\n return;\n }\n\n if (this.checked) {\n this.syncToStore(true);\n }\n }\n\n private get subscription(): ExistingSubscription | undefined {\n return this.existingSubscriptions.find((sub) => sub.newsletter_internal_name === this.internalName);\n }\n\n private get isSubscribed(): boolean {\n return this.subscription !== undefined;\n }\n\n private get isConfirmed(): boolean {\n return this.subscription?.confirmed ?? false;\n }\n\n private get isDisabled(): boolean {\n return this.loading || (this.isSubscribed && !this.isConfirmed);\n }\n\n private get isChecked(): boolean {\n return this.checkedPreferences.includes(this.preferenceIdentifier);\n }\n\n private syncToStore(add: boolean) {\n const currentPreferences = newsletterStore.state.checkedNewsletters[this.internalName] || [];\n\n if (add) {\n if (!currentPreferences.includes(this.preferenceIdentifier)) {\n newsletterStore.set(\"checkedNewsletters\", {\n ...newsletterStore.state.checkedNewsletters,\n [this.internalName]: [...currentPreferences, this.preferenceIdentifier],\n });\n }\n } else {\n newsletterStore.set(\"checkedNewsletters\", {\n ...newsletterStore.state.checkedNewsletters,\n [this.internalName]: currentPreferences.filter((p) => p !== this.preferenceIdentifier),\n });\n }\n }\n\n private handleChange = async () => {\n if (this.isDisabled) return;\n\n const currentlyChecked = this.isChecked;\n this.syncToStore(!currentlyChecked);\n\n // If subscribed and confirmed persist the change to the API\n if (this.isSubscribed && this.isConfirmed) {\n this.loading = true;\n await NewsletterHelpers.updateSubscriptionPreferences(this.internalName);\n this.loading = false;\n }\n };\n\n render() {\n return (\n <input\n type=\"checkbox\"\n checked={this.isChecked}\n disabled={this.isDisabled}\n onChange={this.handleChange}\n class={this.componentClassName}\n aria-checked={this.isChecked}\n aria-busy={this.loading}\n aria-disabled={this.isDisabled}\n data-internal-name={this.internalName}\n data-preference-identifier={this.preferenceIdentifier}\n />\n );\n }\n}\n"],"names":["NewsletterHelpers.isSubscribed","N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,KAAK,CAAC,KAAK,IAAI,CAAC,oBAAoB,CAAC;AACvF,aAAA,CAAC;;;IAIE,YAAY,GAAG,YAAW;QAChC,IAAI,IAAI,CAAC,UAAU;YAAE;AAErB,QAAA,MAAM,gBAAgB,GAAG,IAAI,CAAC,SAAS;AACvC,QAAA,IAAI,CAAC,WAAW,CAAC,CAAC,gBAAgB,CAAC;;QAGnC,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,WAAW,EAAE;AACzC,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI;YACnB,MAAMC,6BAA+C,CAAC,IAAI,CAAC,YAAY,CAAC;AACxE,YAAA,IAAI,CAAC,OAAO,GAAG,KAAK;;AAExB,KAAC;IAED,MAAM,GAAA;AACJ,QAAA,QACE,8DACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,SAAS,EACvB,QAAQ,EAAE,IAAI,CAAC,UAAU,EACzB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAA,cAAA,EAChB,IAAI,CAAC,SAAS,EACjB,WAAA,EAAA,IAAI,CAAC,OAAO,EACR,eAAA,EAAA,IAAI,CAAC,UAAU,EAAA,oBAAA,EACV,IAAI,CAAC,YAAY,EAAA,4BAAA,EACT,IAAI,CAAC,oBAAoB,EACrD,CAAA;;;;;;"}
@@ -1,47 +0,0 @@
1
- import { r as registerInstance, h } from './index-Ci3aTmzp.js';
2
- import { t } from './i18n-CLdWzy5J.js';
3
- import { F as Flash } from './flash-store-CEvWSG0c.js';
4
- import { a as isSubscribed, i as isConfirmed, r as resendDoi } from './newsletter-helpers-CONtbKYi.js';
5
- import './unidy-store-BldTAtO0.js';
6
- import './index-Bjp1XO-f.js';
7
- import './index-DSDkaHWI.js';
8
- import './profile-store-RmZB2PTc.js';
9
- import './auth-B0RIcDM-.js';
10
- import './auth-store-BGMYm_jK.js';
11
- import './component-utils-D1lzXl_Z.js';
12
- import './newsletter-store-DBL1A203.js';
13
-
14
- const resendDoiButtonCss = "/*! 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-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);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}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:currentColor;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\\:flex{display:flex}.u\\:items-center{align-items:center}.u\\:justify-center{justify-content:center}} /*! 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-ring-offset-width:0px;--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:0;--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}";
15
-
16
- const NewsletterResendDoiButton = class {
17
- constructor(hostRef) {
18
- registerInstance(this, hostRef);
19
- }
20
- internalName;
21
- componentClassName = "";
22
- isResending = false;
23
- get shouldShow() {
24
- return isSubscribed(this.internalName) && !isConfirmed(this.internalName);
25
- }
26
- handleClick = async () => {
27
- this.isResending = true;
28
- const success = await resendDoi(this.internalName);
29
- this.isResending = false;
30
- if (success) {
31
- Flash.success.addMessage(t("newsletter.success.doi_sent"));
32
- }
33
- else {
34
- Flash.error.addMessage(t("newsletter.errors.resend_doi_failed"));
35
- }
36
- };
37
- render() {
38
- if (!this.shouldShow) {
39
- return null;
40
- }
41
- return (h("button", { type: "button", onClick: this.handleClick, disabled: this.isResending, "aria-busy": this.isResending, "aria-live": "polite", class: `${this.componentClassName} u:flex u:items-center u:justify-center` }, this.isResending ? h("u-spinner", null) : t("newsletter.buttons.resend_doi")));
42
- }
43
- };
44
- NewsletterResendDoiButton.style = resendDoiButtonCss;
45
-
46
- export { NewsletterResendDoiButton as u_newsletter_resend_doi_button };
47
- //# sourceMappingURL=u-newsletter-resend-doi-button.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-newsletter-resend-doi-button.entry.js","sources":["src/newsletter/components/resend-doi-button/resend-doi-button.css?tag=u-newsletter-resend-doi-button","src/newsletter/components/resend-doi-button/resend-doi-button.tsx"],"sourcesContent":["","import { Component, h, Prop, State } from \"@stencil/core\";\nimport { t } from \"../../../i18n\";\nimport { Flash } from \"../../../shared/store/flash-store\";\nimport * as NewsletterHelpers from \"../../newsletter-helpers\";\n\n@Component({\n tag: \"u-newsletter-resend-doi-button\",\n styleUrl: \"resend-doi-button.css\",\n shadow: false,\n})\nexport class NewsletterResendDoiButton {\n @Prop() internalName!: string;\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n @State() isResending = false;\n\n private get shouldShow(): boolean {\n return NewsletterHelpers.isSubscribed(this.internalName) && !NewsletterHelpers.isConfirmed(this.internalName);\n }\n\n private handleClick = async () => {\n this.isResending = true;\n const success = await NewsletterHelpers.resendDoi(this.internalName);\n this.isResending = false;\n\n if (success) {\n Flash.success.addMessage(t(\"newsletter.success.doi_sent\"));\n } else {\n Flash.error.addMessage(t(\"newsletter.errors.resend_doi_failed\"));\n }\n };\n\n render() {\n if (!this.shouldShow) {\n return null;\n }\n\n return (\n <button\n type=\"button\"\n onClick={this.handleClick}\n disabled={this.isResending}\n aria-busy={this.isResending}\n aria-live=\"polite\"\n class={`${this.componentClassName} u:flex u:items-center u:justify-center`}\n >\n {this.isResending ? <u-spinner /> : t(\"newsletter.buttons.resend_doi\")}\n </button>\n );\n }\n}\n"],"names":["NewsletterHelpers.isSubscribed","NewsletterHelpers.isConfirmed","NewsletterHelpers.resendDoi"],"mappings":";;;;;;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,ypNAAypN;;MCUvqN,yBAAyB,GAAA,MAAA;;;;AAC5B,IAAA,YAAY;IACe,kBAAkB,GAAG,EAAE;IAEjD,WAAW,GAAG,KAAK;AAE5B,IAAA,IAAY,UAAU,GAAA;AACpB,QAAA,OAAOA,YAA8B,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAACC,WAA6B,CAAC,IAAI,CAAC,YAAY,CAAC;;IAGvG,WAAW,GAAG,YAAW;AAC/B,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI;QACvB,MAAM,OAAO,GAAG,MAAMC,SAA2B,CAAC,IAAI,CAAC,YAAY,CAAC;AACpE,QAAA,IAAI,CAAC,WAAW,GAAG,KAAK;QAExB,IAAI,OAAO,EAAE;YACX,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC;;aACrD;YACL,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,qCAAqC,CAAC,CAAC;;AAEpE,KAAC;IAED,MAAM,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;AACpB,YAAA,OAAO,IAAI;;AAGb,QAAA,QACE,cACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,IAAI,CAAC,WAAW,EACzB,QAAQ,EAAE,IAAI,CAAC,WAAW,eACf,IAAI,CAAC,WAAW,EAAA,WAAA,EACjB,QAAQ,EAClB,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,kBAAkB,CAAA,uCAAA,CAAyC,EAEzE,EAAA,IAAI,CAAC,WAAW,GAAG,CAAa,CAAA,WAAA,EAAA,IAAA,CAAA,GAAG,CAAC,CAAC,+BAA+B,CAAC,CAC/D;;;;;;;"}
@@ -1,70 +0,0 @@
1
- import { U as UnidyComponent, r as registerInstance, g as getElement, l as logger, h, H as Host } from './index-Ci3aTmzp.js';
2
- import { A as Auth } from './auth-B0RIcDM-.js';
3
- import { t } from './i18n-CLdWzy5J.js';
4
- import { c as clearUrlParam } from './component-utils-D1lzXl_Z.js';
5
- import { F as Flash } from './flash-store-CEvWSG0c.js';
6
- import { w as waitForConfig } from './unidy-store-BldTAtO0.js';
7
- import { f as fetchSubscriptions, s as sendLoginEmail, c as createSubscriptions } from './newsletter-helpers-CONtbKYi.js';
8
- import { n as newsletterStore, p as persist } from './newsletter-store-DBL1A203.js';
9
- import './index-DSDkaHWI.js';
10
- import './profile-store-RmZB2PTc.js';
11
- import './index-Bjp1XO-f.js';
12
- import './auth-store-BGMYm_jK.js';
13
-
14
- const NewsletterRoot = class extends UnidyComponent {
15
- constructor(hostRef) {
16
- super();
17
- registerInstance(this, hostRef);
18
- }
19
- get el() { return getElement(this); }
20
- componentClassName = "";
21
- getErrorText(errorIdentifier) {
22
- return t(`newsletter.errors.${errorIdentifier}`) || t("errors.unknown", { defaultValue: "An unknown error occurred" });
23
- }
24
- async componentWillLoad() {
25
- const newsletterError = clearUrlParam("newsletter_error");
26
- const preferenceToken = clearUrlParam("preference_token");
27
- const email = clearUrlParam("email");
28
- if (newsletterError) {
29
- Flash.error.addMessage(this.getErrorText(newsletterError));
30
- }
31
- if (preferenceToken && email) {
32
- newsletterStore.state.preferenceToken = preferenceToken;
33
- newsletterStore.state.email = email;
34
- persist("preferenceToken");
35
- persist("email");
36
- }
37
- const authInstance = await Auth.getInstance();
38
- const isAuthenticated = await authInstance.isAuthenticated();
39
- newsletterStore.state.isAuthenticated = isAuthenticated;
40
- if (isAuthenticated) {
41
- const userData = await authInstance.userData();
42
- if (userData) {
43
- newsletterStore.state.email = userData.email;
44
- }
45
- }
46
- await waitForConfig();
47
- await fetchSubscriptions();
48
- }
49
- async submit(forType) {
50
- const { email, checkedNewsletters } = newsletterStore.state;
51
- if (forType === "login") {
52
- if (!email) {
53
- Flash.error.addMessage(t("newsletter.errors.email_required"));
54
- return;
55
- }
56
- return await sendLoginEmail(email);
57
- }
58
- if (Object.keys(checkedNewsletters).length === 0) {
59
- logger.error("No newsletters selected: please select at least one newsletter");
60
- return;
61
- }
62
- await createSubscriptions({ email });
63
- }
64
- render() {
65
- return (h(Host, { key: '10358670a779f8ee38e85f26aae1addbe400e519', class: this.componentClassName }, h("slot", { key: '702944e986d7784a583c2245dc7a03f423ce271e' })));
66
- }
67
- };
68
-
69
- export { NewsletterRoot as u_newsletter_root };
70
- //# sourceMappingURL=u-newsletter-root.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"u-newsletter-root.entry.js","sources":["src/newsletter/components/newsletter-root/newsletter-root.tsx"],"sourcesContent":["import { Component, Element, Host, h, Method, Prop } from \"@stencil/core\";\nimport { Auth } from \"../../../auth/auth\";\nimport { t } from \"../../../i18n\";\nimport { logger, UnidyComponent } from \"../../../logger\";\nimport { clearUrlParam } from \"../../../shared/component-utils\";\nimport { Flash } from \"../../../shared/store/flash-store\";\nimport { waitForConfig } from \"../../../shared/store/unidy-store\";\nimport * as NewsletterHelpers from \"../../newsletter-helpers\";\nimport { type NewsletterErrorIdentifier, newsletterStore, persist } from \"../../store/newsletter-store\";\nimport type { NewsletterButtonFor } from \"../submit-button/newsletter-submit-button\";\n\n@Component({\n tag: \"u-newsletter-root\",\n shadow: false,\n})\nexport class NewsletterRoot extends UnidyComponent {\n @Element() el!: HTMLElement;\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n getErrorText(errorIdentifier: NewsletterErrorIdentifier): string {\n return t(`newsletter.errors.${errorIdentifier}`) || t(\"errors.unknown\", { defaultValue: \"An unknown error occurred\" });\n }\n\n async componentWillLoad() {\n const newsletterError = clearUrlParam(\"newsletter_error\");\n const preferenceToken = clearUrlParam(\"preference_token\");\n const email = clearUrlParam(\"email\");\n\n if (newsletterError) {\n Flash.error.addMessage(this.getErrorText(newsletterError as NewsletterErrorIdentifier));\n }\n\n if (preferenceToken && email) {\n newsletterStore.state.preferenceToken = preferenceToken;\n newsletterStore.state.email = email;\n\n persist(\"preferenceToken\");\n persist(\"email\");\n }\n\n const authInstance = await Auth.getInstance();\n const isAuthenticated = await authInstance.isAuthenticated();\n newsletterStore.state.isAuthenticated = isAuthenticated;\n\n if (isAuthenticated) {\n const userData = await authInstance.userData();\n\n if (userData) {\n newsletterStore.state.email = userData.email;\n }\n }\n\n await waitForConfig();\n await NewsletterHelpers.fetchSubscriptions();\n }\n\n @Method()\n async submit(forType?: NewsletterButtonFor) {\n const { email, checkedNewsletters } = newsletterStore.state;\n\n if (forType === \"login\") {\n if (!email) {\n Flash.error.addMessage(t(\"newsletter.errors.email_required\"));\n return;\n }\n return await NewsletterHelpers.sendLoginEmail(email);\n }\n\n if (Object.keys(checkedNewsletters).length === 0) {\n logger.error(\"No newsletters selected: please select at least one newsletter\");\n return;\n }\n\n await NewsletterHelpers.createSubscriptions({ email });\n }\n\n render() {\n return (\n <Host class={this.componentClassName}>\n <slot />\n </Host>\n );\n }\n}\n"],"names":["NewsletterHelpers.fetchSubscriptions","NewsletterHelpers.sendLoginEmail","NewsletterHelpers.createSubscriptions"],"mappings":";;;;;;;;;;;;;MAea,cAAe,GAAA,cAAQ,cAAc,CAAA;;;;;;IAEb,kBAAkB,GAAG,EAAE;AAE1D,IAAA,YAAY,CAAC,eAA0C,EAAA;AACrD,QAAA,OAAO,CAAC,CAAC,CAAA,kBAAA,EAAqB,eAAe,CAAA,CAAE,CAAC,IAAI,CAAC,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,2BAA2B,EAAE,CAAC;;AAGxH,IAAA,MAAM,iBAAiB,GAAA;AACrB,QAAA,MAAM,eAAe,GAAG,aAAa,CAAC,kBAAkB,CAAC;AACzD,QAAA,MAAM,eAAe,GAAG,aAAa,CAAC,kBAAkB,CAAC;AACzD,QAAA,MAAM,KAAK,GAAG,aAAa,CAAC,OAAO,CAAC;QAEpC,IAAI,eAAe,EAAE;AACnB,YAAA,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,eAA4C,CAAC,CAAC;;AAGzF,QAAA,IAAI,eAAe,IAAI,KAAK,EAAE;AAC5B,YAAA,eAAe,CAAC,KAAK,CAAC,eAAe,GAAG,eAAe;AACvD,YAAA,eAAe,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK;YAEnC,OAAO,CAAC,iBAAiB,CAAC;YAC1B,OAAO,CAAC,OAAO,CAAC;;AAGlB,QAAA,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE;AAC7C,QAAA,MAAM,eAAe,GAAG,MAAM,YAAY,CAAC,eAAe,EAAE;AAC5D,QAAA,eAAe,CAAC,KAAK,CAAC,eAAe,GAAG,eAAe;QAEvD,IAAI,eAAe,EAAE;AACnB,YAAA,MAAM,QAAQ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