@unidy.io/sdk 1.1.7 → 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 (805) 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 -106
  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 -56
  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 -168
  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 -68
  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 -127
  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 -72
  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 -104
  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 -54
  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-09cd77e6.entry.js +0 -2
  580. package/dist/sdk/p-09cd77e6.entry.js.map +0 -1
  581. package/dist/sdk/p-1ea49938.entry.js +0 -2
  582. package/dist/sdk/p-1ea49938.entry.js.map +0 -1
  583. package/dist/sdk/p-2a65bcbb.entry.js +0 -2
  584. package/dist/sdk/p-2a65bcbb.entry.js.map +0 -1
  585. package/dist/sdk/p-2af8b45f.entry.js +0 -2
  586. package/dist/sdk/p-2af8b45f.entry.js.map +0 -1
  587. package/dist/sdk/p-3411c743.entry.js +0 -2
  588. package/dist/sdk/p-3411c743.entry.js.map +0 -1
  589. package/dist/sdk/p-467c7304.entry.js +0 -2
  590. package/dist/sdk/p-467c7304.entry.js.map +0 -1
  591. package/dist/sdk/p-5557b4d9.entry.js +0 -2
  592. package/dist/sdk/p-5557b4d9.entry.js.map +0 -1
  593. package/dist/sdk/p-56abb377.entry.js +0 -2
  594. package/dist/sdk/p-56abb377.entry.js.map +0 -1
  595. package/dist/sdk/p-5703102b.entry.js +0 -2
  596. package/dist/sdk/p-5703102b.entry.js.map +0 -1
  597. package/dist/sdk/p-593c6dde.entry.js +0 -2
  598. package/dist/sdk/p-593c6dde.entry.js.map +0 -1
  599. package/dist/sdk/p-5b627aea.entry.js +0 -2
  600. package/dist/sdk/p-5b627aea.entry.js.map +0 -1
  601. package/dist/sdk/p-5babee6b.entry.js +0 -2
  602. package/dist/sdk/p-5babee6b.entry.js.map +0 -1
  603. package/dist/sdk/p-6086d248.entry.js +0 -2
  604. package/dist/sdk/p-6086d248.entry.js.map +0 -1
  605. package/dist/sdk/p-628ccd68.entry.js +0 -2
  606. package/dist/sdk/p-628ccd68.entry.js.map +0 -1
  607. package/dist/sdk/p-675eb13d.entry.js +0 -2
  608. package/dist/sdk/p-675eb13d.entry.js.map +0 -1
  609. package/dist/sdk/p-6893d167.entry.js +0 -2
  610. package/dist/sdk/p-6893d167.entry.js.map +0 -1
  611. package/dist/sdk/p-6a642433.entry.js +0 -2
  612. package/dist/sdk/p-6a642433.entry.js.map +0 -1
  613. package/dist/sdk/p-73c2ec89.entry.js +0 -2
  614. package/dist/sdk/p-73c2ec89.entry.js.map +0 -1
  615. package/dist/sdk/p-7a34f391.entry.js +0 -2
  616. package/dist/sdk/p-7a34f391.entry.js.map +0 -1
  617. package/dist/sdk/p-91bb8b59.entry.js +0 -2
  618. package/dist/sdk/p-91bb8b59.entry.js.map +0 -1
  619. package/dist/sdk/p-9f59909b.entry.js +0 -2
  620. package/dist/sdk/p-9f59909b.entry.js.map +0 -1
  621. package/dist/sdk/p-BZ1kW_eK.js +0 -2
  622. package/dist/sdk/p-BZ1kW_eK.js.map +0 -1
  623. package/dist/sdk/p-BlAULXyw.js +0 -2
  624. package/dist/sdk/p-BlAULXyw.js.map +0 -1
  625. package/dist/sdk/p-BlOjABPD.js +0 -2
  626. package/dist/sdk/p-BlOjABPD.js.map +0 -1
  627. package/dist/sdk/p-BqFCd65h.js +0 -2
  628. package/dist/sdk/p-BqFCd65h.js.map +0 -1
  629. package/dist/sdk/p-C0feI0p8.js +0 -2
  630. package/dist/sdk/p-C0feI0p8.js.map +0 -1
  631. package/dist/sdk/p-C3fhudPT.js +0 -2
  632. package/dist/sdk/p-C3fhudPT.js.map +0 -1
  633. package/dist/sdk/p-CFiZLMAA.js +0 -2
  634. package/dist/sdk/p-CFiZLMAA.js.map +0 -1
  635. package/dist/sdk/p-CPPYdoIv.js +0 -2
  636. package/dist/sdk/p-CPPYdoIv.js.map +0 -1
  637. package/dist/sdk/p-CbRhHGU5.js +0 -2
  638. package/dist/sdk/p-CbRhHGU5.js.map +0 -1
  639. package/dist/sdk/p-Ce8zGAi1.js +0 -2
  640. package/dist/sdk/p-Ce8zGAi1.js.map +0 -1
  641. package/dist/sdk/p-Ci3aTmzp.js +0 -3
  642. package/dist/sdk/p-Ci3aTmzp.js.map +0 -1
  643. package/dist/sdk/p-D1lzXl_Z.js +0 -2
  644. package/dist/sdk/p-D1lzXl_Z.js.map +0 -1
  645. package/dist/sdk/p-DA84OuuU.js +0 -2
  646. package/dist/sdk/p-DA84OuuU.js.map +0 -1
  647. package/dist/sdk/p-DUHc_Cx7.js +0 -2
  648. package/dist/sdk/p-DUHc_Cx7.js.map +0 -1
  649. package/dist/sdk/p-DYtgart8.js +0 -2
  650. package/dist/sdk/p-DYtgart8.js.map +0 -1
  651. package/dist/sdk/p-DdUvQelg.js +0 -2
  652. package/dist/sdk/p-DdUvQelg.js.map +0 -1
  653. package/dist/sdk/p-S3-2d2Qd.js +0 -2
  654. package/dist/sdk/p-S3-2d2Qd.js.map +0 -1
  655. package/dist/sdk/p-a4b7ffd8.entry.js +0 -2
  656. package/dist/sdk/p-a4b7ffd8.entry.js.map +0 -1
  657. package/dist/sdk/p-a5db968f.entry.js +0 -2
  658. package/dist/sdk/p-a5db968f.entry.js.map +0 -1
  659. package/dist/sdk/p-afc65acd.entry.js +0 -2
  660. package/dist/sdk/p-afc65acd.entry.js.map +0 -1
  661. package/dist/sdk/p-b3980341.entry.js +0 -2
  662. package/dist/sdk/p-b3980341.entry.js.map +0 -1
  663. package/dist/sdk/p-c5bffd90.entry.js +0 -2
  664. package/dist/sdk/p-c5bffd90.entry.js.map +0 -1
  665. package/dist/sdk/p-da363474.entry.js +0 -2
  666. package/dist/sdk/p-da363474.entry.js.map +0 -1
  667. package/dist/sdk/p-f0598e42.entry.js +0 -2
  668. package/dist/sdk/p-f0598e42.entry.js.map +0 -1
  669. package/dist/sdk/p-f369a996.entry.js +0 -2
  670. package/dist/sdk/p-f369a996.entry.js.map +0 -1
  671. package/dist/sdk/p-f5615938.entry.js +0 -2
  672. package/dist/sdk/p-f5615938.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-profile.u-submit-button.entry.esm.js.map +0 -1
  704. package/dist/sdk/u-registration-button.entry.esm.js.map +0 -1
  705. package/dist/sdk/u-reset-password-button.entry.esm.js.map +0 -1
  706. package/dist/sdk/u-send-magic-code-button.entry.esm.js.map +0 -1
  707. package/dist/sdk/u-signed-in.entry.esm.js.map +0 -1
  708. package/dist/sdk/u-signin-root.entry.esm.js.map +0 -1
  709. package/dist/sdk/u-signin-step.entry.esm.js.map +0 -1
  710. package/dist/sdk/u-signin-strategy.entry.esm.js.map +0 -1
  711. package/dist/sdk/u-social-login-button.entry.esm.js.map +0 -1
  712. package/dist/sdk/u-spinner.entry.esm.js.map +0 -1
  713. package/dist/sdk/u-ticketable-list.entry.esm.js.map +0 -1
  714. package/dist/sdk/unidy-store-BwZym11Y.js.map +0 -1
  715. package/dist/sdk/unidy-store-CtifvCkV.js.map +0 -1
  716. package/dist/types/api/client.d.ts +0 -32
  717. package/dist/types/api/index.d.ts +0 -22
  718. package/dist/types/api/shared.d.ts +0 -20
  719. package/dist/types/auth/api/auth.d.ts +0 -300
  720. package/dist/types/auth/auth-helpers.d.ts +0 -375
  721. package/dist/types/auth/auth.d.ts +0 -54
  722. package/dist/types/auth/components/helpers.d.ts +0 -1
  723. package/dist/types/auth/components/logout-button/logout-button.d.ts +0 -8
  724. package/dist/types/auth/components/magic-code-field/magic-code-field.d.ts +0 -10
  725. package/dist/types/auth/components/missing-field/missing-field.d.ts +0 -4
  726. package/dist/types/auth/components/missing-fields-submit-button/missing-fields-submit-button.d.ts +0 -5
  727. package/dist/types/auth/components/passkey/passkey.d.ts +0 -9
  728. package/dist/types/auth/components/password-field/password-field.d.ts +0 -15
  729. package/dist/types/auth/components/registration/registration-button.d.ts +0 -11
  730. package/dist/types/auth/components/reset-pass-button/reset-pass-button.d.ts +0 -7
  731. package/dist/types/auth/components/send-magic-code-button/send-magic-code-button.d.ts +0 -11
  732. package/dist/types/auth/components/signed-in/signed-in.d.ts +0 -5
  733. package/dist/types/auth/components/signin-root/signin-root.d.ts +0 -14
  734. package/dist/types/auth/components/signin-step/signin-step.d.ts +0 -8
  735. package/dist/types/auth/components/signin-strategy/signin-strategy.d.ts +0 -5
  736. package/dist/types/auth/components/social-logins/logos/apple.d.ts +0 -4
  737. package/dist/types/auth/components/social-logins/logos/discord.d.ts +0 -4
  738. package/dist/types/auth/components/social-logins/logos/facebook.d.ts +0 -4
  739. package/dist/types/auth/components/social-logins/logos/google.d.ts +0 -4
  740. package/dist/types/auth/components/social-logins/logos/linkedin.d.ts +0 -4
  741. package/dist/types/auth/components/social-logins/social-login-button.d.ts +0 -24
  742. package/dist/types/auth/components/submit-button/auth-submit-button.d.ts +0 -3
  743. package/dist/types/auth/error-definitions.d.ts +0 -23
  744. package/dist/types/auth/index.d.ts +0 -16
  745. package/dist/types/auth/passkey-auth.d.ts +0 -2
  746. package/dist/types/auth/store/auth-store.d.ts +0 -56
  747. package/dist/types/components.d.ts +0 -1246
  748. package/dist/types/globalScript.d.ts +0 -1
  749. package/dist/types/i18n.d.ts +0 -3
  750. package/dist/types/index.d.ts +0 -16
  751. package/dist/types/logger.d.ts +0 -55
  752. package/dist/types/newsletter/api/newsletters.d.ts +0 -198
  753. package/dist/types/newsletter/components/helpers.d.ts +0 -1
  754. package/dist/types/newsletter/components/logout-button/logout-button.d.ts +0 -6
  755. package/dist/types/newsletter/components/newsletter-checkbox/newsletter-checkbox.d.ts +0 -10
  756. package/dist/types/newsletter/components/newsletter-root/newsletter-root.d.ts +0 -11
  757. package/dist/types/newsletter/components/preference-checkbox/preference-checkbox.d.ts +0 -23
  758. package/dist/types/newsletter/components/resend-doi-button/resend-doi-button.d.ts +0 -8
  759. package/dist/types/newsletter/components/submit-button/newsletter-submit-button.d.ts +0 -3
  760. package/dist/types/newsletter/components/toggle-subscription-button/toggle-subscription-button.d.ts +0 -12
  761. package/dist/types/newsletter/index.d.ts +0 -10
  762. package/dist/types/newsletter/newsletter-helpers.d.ts +0 -15
  763. package/dist/types/newsletter/store/newsletter-store.d.ts +0 -25
  764. package/dist/types/profile/api/profile.d.ts +0 -238
  765. package/dist/types/profile/components/field/field.d.ts +0 -40
  766. package/dist/types/profile/components/full-profile/full-profile.d.ts +0 -6
  767. package/dist/types/profile/components/profile/profile.d.ts +0 -27
  768. package/dist/types/profile/components/raw-field/raw-field.d.ts +0 -45
  769. package/dist/types/profile/components/raw-input-fields/Input.d.ts +0 -17
  770. package/dist/types/profile/components/raw-input-fields/MultiSelect.d.ts +0 -28
  771. package/dist/types/profile/components/raw-input-fields/RadioGroup.d.ts +0 -30
  772. package/dist/types/profile/components/raw-input-fields/Select.d.ts +0 -24
  773. package/dist/types/profile/components/raw-input-fields/Textarea.d.ts +0 -17
  774. package/dist/types/profile/components/submit-button/profile-submit-button.d.ts +0 -2
  775. package/dist/types/profile/index.d.ts +0 -13
  776. package/dist/types/profile/profile-helpers.d.ts +0 -7
  777. package/dist/types/profile/store/profile-store.d.ts +0 -39
  778. package/dist/types/shared/component-utils.d.ts +0 -9
  779. package/dist/types/shared/components/conditional-render/conditional-render.d.ts +0 -11
  780. package/dist/types/shared/components/config/config.d.ts +0 -31
  781. package/dist/types/shared/components/email-field/email-field.d.ts +0 -13
  782. package/dist/types/shared/components/error-message/error-message.d.ts +0 -15
  783. package/dist/types/shared/components/flash-message/close-icon.d.ts +0 -1
  784. package/dist/types/shared/components/flash-message/flash-message.d.ts +0 -6
  785. package/dist/types/shared/components/spinner/spinner.d.ts +0 -3
  786. package/dist/types/shared/components/submit-button/context.d.ts +0 -9
  787. package/dist/types/shared/components/submit-button/submit-button.d.ts +0 -20
  788. package/dist/types/shared/store/flash-store.d.ts +0 -29
  789. package/dist/types/shared/store/unidy-store.d.ts +0 -12
  790. package/dist/types/stencil-public-runtime.d.ts +0 -1756
  791. package/dist/types/ticketable/api/get-with-schema.d.ts +0 -3
  792. package/dist/types/ticketable/api/schemas.d.ts +0 -18
  793. package/dist/types/ticketable/api/subscriptions.d.ts +0 -84
  794. package/dist/types/ticketable/api/tickets.d.ts +0 -86
  795. package/dist/types/ticketable/components/pagination/pagination-button.d.ts +0 -14
  796. package/dist/types/ticketable/components/pagination/pagination-page.d.ts +0 -12
  797. package/dist/types/ticketable/components/ticketable-list/skeleton-helpers.d.ts +0 -13
  798. package/dist/types/ticketable/components/ticketable-list/ticketable-list.d.ts +0 -41
  799. package/dist/types/ticketable/index.d.ts +0 -12
  800. package/dist/types/ticketable/store/pagination-store.d.ts +0 -10
  801. package/loader/cdn.js +0 -1
  802. package/loader/index.cjs.js +0 -1
  803. package/loader/index.d.ts +0 -24
  804. package/loader/index.es2017.js +0 -1
  805. package/loader/index.js +0 -2
@@ -1,79 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { Flash, flashState } from "../../store/flash-store";
3
- import { CloseIcon } from "./close-icon";
4
- const variantClasses = {
5
- error: "u:bg-red-50 u:border-red-300 u:text-red-800",
6
- success: "u:bg-green-50 u:border-green-400 u:text-green-800",
7
- info: "u:bg-blue-50 u:border-blue-300 u:text-blue-800",
8
- };
9
- export class FlashMessage {
10
- componentClassName = "";
11
- removeAfterSeconds = null;
12
- componentWillLoad() {
13
- if (this.removeAfterSeconds) {
14
- flashState.autoRemoveDelay = this.removeAfterSeconds * 1000;
15
- }
16
- }
17
- render() {
18
- if (flashState.messages.length === 0) {
19
- return null;
20
- }
21
- return (h("div", { class: `u:flex u:flex-col u:gap-2 u:z-[500] u:min-w-64 u:max-w-xl ${this.componentClassName}` }, flashState.messages.map((message) => (h("div", { key: message.id, class: `u:flex u:items-start u:justify-between u:gap-3 u:p-3 u:rounded u:border u:border-solid ${variantClasses[message.variant]}`, role: "alert", "aria-live": "polite" }, h("span", { class: "u:break-words u:mr-1" }, message.text), h("button", { type: "button", class: "u:cursor-pointer u:leading-none u:pt-1", onClick: () => Flash.remove(message.id), "aria-label": "Close" }, h(CloseIcon, null)))))));
22
- }
23
- static get is() { return "u-flash-message"; }
24
- static get originalStyleUrls() {
25
- return {
26
- "$": ["flash-message.css"]
27
- };
28
- }
29
- static get styleUrls() {
30
- return {
31
- "$": ["flash-message.css"]
32
- };
33
- }
34
- static get properties() {
35
- return {
36
- "componentClassName": {
37
- "type": "string",
38
- "mutable": false,
39
- "complexType": {
40
- "original": "string",
41
- "resolved": "string",
42
- "references": {}
43
- },
44
- "required": false,
45
- "optional": false,
46
- "docs": {
47
- "tags": [],
48
- "text": ""
49
- },
50
- "getter": false,
51
- "setter": false,
52
- "reflect": false,
53
- "attribute": "class-name",
54
- "defaultValue": "\"\""
55
- },
56
- "removeAfterSeconds": {
57
- "type": "number",
58
- "mutable": false,
59
- "complexType": {
60
- "original": "number | null",
61
- "resolved": "number",
62
- "references": {}
63
- },
64
- "required": false,
65
- "optional": false,
66
- "docs": {
67
- "tags": [],
68
- "text": ""
69
- },
70
- "getter": false,
71
- "setter": false,
72
- "reflect": false,
73
- "attribute": "remove-after-seconds",
74
- "defaultValue": "null"
75
- }
76
- };
77
- }
78
- }
79
- //# sourceMappingURL=flash-message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flash-message.js","sourceRoot":"","sources":["../../../../src/shared/components/flash-message/flash-message.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,cAAc,GAAG;IACrB,KAAK,EAAE,6CAA6C;IACpD,OAAO,EAAE,mDAAmD;IAC5D,IAAI,EAAE,gDAAgD;CACvD,CAAC;AAOF,MAAM,OAAO,YAAY;IACY,kBAAkB,GAAG,EAAE,CAAC;IACnD,kBAAkB,GAAkB,IAAI,CAAC;IAEjD,iBAAiB;QACf,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC5B,UAAU,CAAC,eAAe,GAAG,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC9D,CAAC;IACH,CAAC;IAED,MAAM;QACJ,IAAI,UAAU,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,CACL,WAAK,KAAK,EAAE,6DAA6D,IAAI,CAAC,kBAAkB,EAAE,IAC/F,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACpC,WACE,GAAG,EAAE,OAAO,CAAC,EAAE,EACf,KAAK,EAAE,0FAA0F,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,EAClI,IAAI,EAAC,OAAO,eACF,QAAQ;YAElB,YAAM,KAAK,EAAC,sBAAsB,IAAE,OAAO,CAAC,IAAI,CAAQ;YACxD,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,wCAAwC,EAC9C,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,gBAC5B,OAAO;gBAElB,EAAC,SAAS,OAAG,CACN,CACL,CACP,CAAC,CACE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\";\nimport { Flash, flashState } from \"../../store/flash-store\";\nimport { CloseIcon } from \"./close-icon\";\n\nconst variantClasses = {\n error: \"u:bg-red-50 u:border-red-300 u:text-red-800\",\n success: \"u:bg-green-50 u:border-green-400 u:text-green-800\",\n info: \"u:bg-blue-50 u:border-blue-300 u:text-blue-800\",\n};\n\n@Component({\n tag: \"u-flash-message\",\n styleUrl: \"flash-message.css\",\n shadow: false,\n})\nexport class FlashMessage {\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n @Prop() removeAfterSeconds: number | null = null;\n\n componentWillLoad() {\n if (this.removeAfterSeconds) {\n flashState.autoRemoveDelay = this.removeAfterSeconds * 1000;\n }\n }\n\n render() {\n if (flashState.messages.length === 0) {\n return null;\n }\n\n return (\n <div class={`u:flex u:flex-col u:gap-2 u:z-[500] u:min-w-64 u:max-w-xl ${this.componentClassName}`}>\n {flashState.messages.map((message) => (\n <div\n key={message.id}\n class={`u:flex u:items-start u:justify-between u:gap-3 u:p-3 u:rounded u:border u:border-solid ${variantClasses[message.variant]}`}\n role=\"alert\"\n aria-live=\"polite\"\n >\n <span class=\"u:break-words u:mr-1\">{message.text}</span>\n <button\n type=\"button\"\n class=\"u:cursor-pointer u:leading-none u:pt-1\"\n onClick={() => Flash.remove(message.id)}\n aria-label=\"Close\"\n >\n <CloseIcon />\n </button>\n </div>\n ))}\n </div>\n );\n }\n}\n"]}
@@ -1 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--u-animate-spin:spin 1s linear infinite;--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);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--u-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--u-default-mono-font-feature-settings,normal);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--u-default-mono-font-variation-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.u\:inline-flex{display:inline-flex}.u\:h-\[1em\]{height:1em}.u\:w-\[1em\]{width:1em}.u\:animate-spin{animation:var(--u-animate-spin)}.u\:items-center{align-items:center}.u\:justify-center{justify-content:center}.u\:rounded-\[50\%\]{border-radius:50%}}@keyframes spin{to{transform:rotate(1turn)}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components;@layer utilities{.u\:flex{display:flex}.u\:justify-end{justify-content:flex-end}.u\:disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.u\:disabled\:opacity-50:disabled{opacity:.5}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components;@layer utilities{} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer base{}@layer components;@layer utilities{.container{width:100%}.border{border-style:var(--tw-border-style);border-width:1px}.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)}}:host{font-size:var(--spinner-font-size,20px)}.spinner-inner{border-top:.1em solid var(--spinner-color-secondary,#ccc);border:.1em solid var(--spinner-color-secondary,#ccc);border-top-color:var(--spinner-color-primary,#333)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}
@@ -1,19 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- export class Spinner {
3
- render() {
4
- return (h(Host, { key: 'f274c3b889914d85bcae58d6410a795dbe81532e', class: "u:inline-flex u:items-center u:justify-center" }, h("div", { key: 'abfbb93eb29a4e07c0bfe17a024e2e9b4acc2e47', class: "spinner-inner u:w-[1em] u:h-[1em] u:rounded-[50%] u:animate-spin", part: "spinner", role: "status", "aria-label": "Loading" })));
5
- }
6
- static get is() { return "u-spinner"; }
7
- static get encapsulation() { return "shadow"; }
8
- static get originalStyleUrls() {
9
- return {
10
- "$": ["spinner.css"]
11
- };
12
- }
13
- static get styleUrls() {
14
- return {
15
- "$": ["spinner.css"]
16
- };
17
- }
18
- }
19
- //# sourceMappingURL=spinner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../../src/shared/components/spinner/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,OAAO;IAClB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAC,+CAA+C;YAEzD,4DAAK,KAAK,EAAC,kEAAkE,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,QAAQ,gBAAY,SAAS,GAAG,CAC7H,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host } from \"@stencil/core\";\n\n@Component({\n tag: \"u-spinner\",\n styleUrl: \"spinner.css\",\n shadow: true,\n})\nexport class Spinner {\n render() {\n return (\n <Host class=\"u:inline-flex u:items-center u:justify-center\">\n {/* biome-ignore lint/a11y/useSemanticElements: spinner is a visual element, output tag not appropriate */}\n <div class=\"spinner-inner u:w-[1em] u:h-[1em] u:rounded-[50%] u:animate-spin\" part=\"spinner\" role=\"status\" aria-label=\"Loading\" />\n </Host>\n );\n }\n}\n"]}
@@ -1,10 +0,0 @@
1
- export const defaultContext = {
2
- async handleClick() { },
3
- isDisabled(_forProp, disabled = false) {
4
- return disabled || false;
5
- },
6
- isLoading() {
7
- return false;
8
- },
9
- };
10
- //# sourceMappingURL=context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/shared/components/submit-button/context.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,KAAK,CAAC,WAAW,KAAI,CAAC;IAEtB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK;QACnC,OAAO,QAAQ,IAAI,KAAK,CAAC;IAC3B,CAAC;IAED,SAAS;QACP,OAAO,KAAK,CAAC;IACf,CAAC;CACF,CAAC","sourcesContent":["export interface SubmitButtonContext<ForContext = string> {\n init?(): Promise<void>;\n handleClick(event: MouseEvent, el: HTMLElement, forProp?: ForContext): Promise<void>;\n isDisabled(forProp?: ForContext, disabled?: boolean): boolean;\n isLoading(): boolean;\n getButtonText?(forProp?: ForContext, text?: string): string;\n shouldRender?(forProp?: ForContext): boolean;\n}\n\nexport const defaultContext: SubmitButtonContext = {\n async handleClick() {},\n\n isDisabled(_forProp, disabled = false): boolean {\n return disabled || false;\n },\n\n isLoading(): boolean {\n return false;\n },\n};\n"]}
@@ -1 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--u-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--u-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--u-default-font-family:var(--u-font-sans);--u-default-mono-font-family:var(--u-font-mono);--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{font-family:var(--u-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--u-default-font-feature-settings,normal);font-variation-settings:var(--u-default-font-variation-settings,normal);-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--u-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--u-default-mono-font-feature-settings,normal);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--u-default-mono-font-variation-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.u\:flex{display:flex}.u\:justify-end{justify-content:flex-end}.u\:justify-center{justify-content:center}.u\:disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.u\:disabled\:opacity-50:disabled{opacity:.5}} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components,utilities; /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer base{}@layer components;@layer utilities{} /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer base{}@layer components;@layer utilities{.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
@@ -1,196 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { authContext } from "../../../auth/components/submit-button/auth-submit-button";
3
- import { t } from "../../../i18n";
4
- import { newsletterContext } from "../../../newsletter/components/submit-button/newsletter-submit-button";
5
- import { profileContext } from "../../../profile/components/submit-button/profile-submit-button";
6
- import { hasSlotContent } from "../../component-utils";
7
- import { defaultContext } from "./context";
8
- export class SubmitButton {
9
- el;
10
- for;
11
- text;
12
- disabled = false;
13
- componentClassName = "";
14
- context = "auth";
15
- contextModule = defaultContext;
16
- hasSlot = false;
17
- async componentWillLoad() {
18
- this.hasSlot = hasSlotContent(this.el);
19
- this.context = this.detectContext();
20
- switch (this.context) {
21
- case "auth":
22
- this.contextModule = authContext;
23
- break;
24
- case "profile":
25
- this.contextModule = profileContext;
26
- break;
27
- case "newsletter":
28
- this.contextModule = newsletterContext;
29
- break;
30
- default:
31
- this.contextModule = defaultContext;
32
- }
33
- }
34
- detectContext() {
35
- if (this.el.closest("u-signin-root") || this.el.closest("u-signin-step"))
36
- return "auth";
37
- if (this.el.closest("u-profile"))
38
- return "profile";
39
- if (this.el.closest("u-newsletter-root"))
40
- return "newsletter";
41
- throw new Error("No context found for submit button. Make sure you are using the component within a u-signin-root, u-profile, or u-newsletter-root.");
42
- }
43
- handleClick = async (event) => {
44
- await this.contextModule.handleClick(event, this.el, this.for);
45
- };
46
- isDisabled() {
47
- return this.contextModule.isDisabled(this.for, this.disabled);
48
- }
49
- isLoading() {
50
- return this.contextModule.isLoading();
51
- }
52
- getButtonText() {
53
- if (this.contextModule.getButtonText) {
54
- return this.contextModule.getButtonText(this.for, this.text);
55
- }
56
- if (this.text) {
57
- return this.text;
58
- }
59
- return t("buttons.submit");
60
- }
61
- getButtonContent() {
62
- const loading = this.isLoading();
63
- if (loading) {
64
- return h("u-spinner", null);
65
- }
66
- if (this.hasSlot) {
67
- return h("slot", null);
68
- }
69
- return this.getButtonText();
70
- }
71
- render() {
72
- if (this.contextModule.shouldRender && !this.contextModule.shouldRender(this.for)) {
73
- return null;
74
- }
75
- const buttonClasses = [
76
- this.componentClassName,
77
- this.context === "auth" ? "u:flex u:justify-center" : "",
78
- "u:disabled:opacity-50 u:disabled:cursor-not-allowed",
79
- ].join(" ");
80
- const buttonProps = {
81
- type: "submit",
82
- part: `${this.context}-submit-button`,
83
- disabled: this.isDisabled() || this.isLoading(),
84
- class: buttonClasses,
85
- onClick: this.handleClick,
86
- "aria-live": "polite",
87
- };
88
- return h("button", { ...buttonProps }, this.getButtonContent());
89
- }
90
- static get is() { return "u-submit-button"; }
91
- static get originalStyleUrls() {
92
- return {
93
- "$": ["submit-button.css"]
94
- };
95
- }
96
- static get styleUrls() {
97
- return {
98
- "$": ["submit-button.css"]
99
- };
100
- }
101
- static get properties() {
102
- return {
103
- "for": {
104
- "type": "string",
105
- "mutable": false,
106
- "complexType": {
107
- "original": "AuthButtonFor | NewsletterButtonFor",
108
- "resolved": "\"create\" | \"email\" | \"login\" | \"password\" | \"resetPassword\"",
109
- "references": {
110
- "AuthButtonFor": {
111
- "location": "import",
112
- "path": "../../../auth/components/submit-button/auth-submit-button",
113
- "id": "src/auth/components/submit-button/auth-submit-button.ts::AuthButtonFor"
114
- },
115
- "NewsletterButtonFor": {
116
- "location": "import",
117
- "path": "../../../newsletter/components/submit-button/newsletter-submit-button",
118
- "id": "src/newsletter/components/submit-button/newsletter-submit-button.ts::NewsletterButtonFor"
119
- }
120
- }
121
- },
122
- "required": false,
123
- "optional": true,
124
- "docs": {
125
- "tags": [],
126
- "text": ""
127
- },
128
- "getter": false,
129
- "setter": false,
130
- "reflect": false,
131
- "attribute": "for"
132
- },
133
- "text": {
134
- "type": "string",
135
- "mutable": false,
136
- "complexType": {
137
- "original": "string",
138
- "resolved": "string",
139
- "references": {}
140
- },
141
- "required": false,
142
- "optional": true,
143
- "docs": {
144
- "tags": [],
145
- "text": ""
146
- },
147
- "getter": false,
148
- "setter": false,
149
- "reflect": false,
150
- "attribute": "text"
151
- },
152
- "disabled": {
153
- "type": "boolean",
154
- "mutable": false,
155
- "complexType": {
156
- "original": "boolean",
157
- "resolved": "boolean",
158
- "references": {}
159
- },
160
- "required": false,
161
- "optional": false,
162
- "docs": {
163
- "tags": [],
164
- "text": ""
165
- },
166
- "getter": false,
167
- "setter": false,
168
- "reflect": false,
169
- "attribute": "disabled",
170
- "defaultValue": "false"
171
- },
172
- "componentClassName": {
173
- "type": "string",
174
- "mutable": false,
175
- "complexType": {
176
- "original": "string",
177
- "resolved": "string",
178
- "references": {}
179
- },
180
- "required": false,
181
- "optional": false,
182
- "docs": {
183
- "tags": [],
184
- "text": ""
185
- },
186
- "getter": false,
187
- "setter": false,
188
- "reflect": false,
189
- "attribute": "class-name",
190
- "defaultValue": "\"\""
191
- }
192
- };
193
- }
194
- static get elementRef() { return "el"; }
195
- }
196
- //# sourceMappingURL=submit-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"submit-button.js","sourceRoot":"","sources":["../../../../src/shared/components/submit-button/submit-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAsB,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAC5G,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAA4B,iBAAiB,EAAE,MAAM,uEAAuE,CAAC;AACpI,OAAO,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAA4B,MAAM,WAAW,CAAC;AAOrE,MAAM,OAAO,YAAY;IACZ,EAAE,CAAe;IACpB,GAAG,CAAuC;IAC1C,IAAI,CAAU;IACd,QAAQ,GAAG,KAAK,CAAC;IACU,kBAAkB,GAAG,EAAE,CAAC;IAEnD,OAAO,GAAsC,MAAM,CAAC;IACpD,aAAa,GAAwB,cAAc,CAAC;IACpD,OAAO,GAAG,KAAK,CAAC;IAExB,KAAK,CAAC,iBAAiB;QACrB,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QAEpC,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;YACrB,KAAK,MAAM;gBACT,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC;gBACjC,MAAM;YACR,KAAK,SAAS;gBACZ,IAAI,CAAC,aAAa,GAAG,cAAc,CAAC;gBACpC,MAAM;YACR,KAAK,YAAY;gBACf,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC;gBACvC,MAAM;YACR;gBACE,IAAI,CAAC,aAAa,GAAG,cAAc,CAAC;QACxC,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,IAAI,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC;YAAE,OAAO,MAAM,CAAC;QAExF,IAAI,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC;YAAE,OAAO,SAAS,CAAC;QAEnD,IAAI,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC;YAAE,OAAO,YAAY,CAAC;QAE9D,MAAM,IAAI,KAAK,CACb,oIAAoI,CACrI,CAAC;IACJ,CAAC;IAEO,WAAW,GAAG,KAAK,EAAE,KAAiB,EAAE,EAAE;QAChD,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACjE,CAAC,CAAC;IAEM,UAAU;QAChB,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChE,CAAC;IAEO,SAAS;QACf,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,CAAC;IACxC,CAAC;IAEO,aAAa;QACnB,IAAI,IAAI,CAAC,aAAa,CAAC,aAAa,EAAE,CAAC;YACrC,OAAO,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/D,CAAC;QACD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,OAAO,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC;QAED,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;IAEO,gBAAgB;QACtB,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAEjC,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,oBAAa,CAAC;QACvB,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,eAAQ,CAAC;QAClB,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9B,CAAC;IAED,MAAM;QACJ,IAAI,IAAI,CAAC,aAAa,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAClF,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,aAAa,GAAG;YACpB,IAAI,CAAC,kBAAkB;YACvB,IAAI,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE;YACxD,qDAAqD;SACtD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEZ,MAAM,WAAW,GAA4B;YAC3C,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,GAAG,IAAI,CAAC,OAAO,gBAAgB;YACrC,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,SAAS,EAAE;YAC/C,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,IAAI,CAAC,WAAW;YACzB,WAAW,EAAE,QAAQ;SACtB,CAAC;QAEF,OAAO,iBAAY,WAAW,IAAG,IAAI,CAAC,gBAAgB,EAAE,CAAU,CAAC;IACrE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop } from \"@stencil/core\";\nimport { type AuthButtonFor, authContext } from \"../../../auth/components/submit-button/auth-submit-button\";\nimport { t } from \"../../../i18n\";\nimport { type NewsletterButtonFor, newsletterContext } from \"../../../newsletter/components/submit-button/newsletter-submit-button\";\nimport { profileContext } from \"../../../profile/components/submit-button/profile-submit-button\";\nimport { hasSlotContent } from \"../../component-utils\";\nimport { defaultContext, type SubmitButtonContext } from \"./context\";\n\n@Component({\n tag: \"u-submit-button\",\n styleUrl: \"submit-button.css\",\n shadow: false,\n})\nexport class SubmitButton {\n @Element() el!: HTMLElement;\n @Prop() for?: AuthButtonFor | NewsletterButtonFor;\n @Prop() text?: string;\n @Prop() disabled = false;\n @Prop({ attribute: \"class-name\" }) componentClassName = \"\";\n\n private context: \"auth\" | \"profile\" | \"newsletter\" = \"auth\";\n private contextModule: SubmitButtonContext = defaultContext;\n private hasSlot = false;\n\n async componentWillLoad() {\n this.hasSlot = hasSlotContent(this.el);\n this.context = this.detectContext();\n\n switch (this.context) {\n case \"auth\":\n this.contextModule = authContext;\n break;\n case \"profile\":\n this.contextModule = profileContext;\n break;\n case \"newsletter\":\n this.contextModule = newsletterContext;\n break;\n default:\n this.contextModule = defaultContext;\n }\n }\n\n private detectContext(): \"auth\" | \"profile\" | \"newsletter\" {\n if (this.el.closest(\"u-signin-root\") || this.el.closest(\"u-signin-step\")) return \"auth\";\n\n if (this.el.closest(\"u-profile\")) return \"profile\";\n\n if (this.el.closest(\"u-newsletter-root\")) return \"newsletter\";\n\n throw new Error(\n \"No context found for submit button. Make sure you are using the component within a u-signin-root, u-profile, or u-newsletter-root.\",\n );\n }\n\n private handleClick = async (event: MouseEvent) => {\n await this.contextModule.handleClick(event, this.el, this.for);\n };\n\n private isDisabled(): boolean {\n return this.contextModule.isDisabled(this.for, this.disabled);\n }\n\n private isLoading(): boolean {\n return this.contextModule.isLoading();\n }\n\n private getButtonText(): string {\n if (this.contextModule.getButtonText) {\n return this.contextModule.getButtonText(this.for, this.text);\n }\n if (this.text) {\n return this.text;\n }\n\n return t(\"buttons.submit\");\n }\n\n private getButtonContent() {\n const loading = this.isLoading();\n\n if (loading) {\n return <u-spinner />;\n }\n\n if (this.hasSlot) {\n return <slot />;\n }\n\n return this.getButtonText();\n }\n\n render() {\n if (this.contextModule.shouldRender && !this.contextModule.shouldRender(this.for)) {\n return null;\n }\n\n const buttonClasses = [\n this.componentClassName,\n this.context === \"auth\" ? \"u:flex u:justify-center\" : \"\",\n \"u:disabled:opacity-50 u:disabled:cursor-not-allowed\",\n ].join(\" \");\n\n const buttonProps: Record<string, unknown> = {\n type: \"submit\",\n part: `${this.context}-submit-button`,\n disabled: this.isDisabled() || this.isLoading(),\n class: buttonClasses,\n onClick: this.handleClick,\n \"aria-live\": \"polite\",\n };\n\n return <button {...buttonProps}>{this.getButtonContent()}</button>;\n }\n}\n"]}
@@ -1,43 +0,0 @@
1
- import { createStore } from "@stencil/store";
2
- const store = createStore({
3
- messages: [],
4
- autoRemoveDelay: null,
5
- });
6
- let idCounter = 0;
7
- class FlashStore {
8
- get state() {
9
- return store.state;
10
- }
11
- addMessage(text, variant) {
12
- const id = `flash-${++idCounter}`;
13
- store.state.messages = [...store.state.messages, { id, text, variant }];
14
- if (store.state.autoRemoveDelay) {
15
- setTimeout(() => this.remove(id), store.state.autoRemoveDelay);
16
- }
17
- return id;
18
- }
19
- remove(id) {
20
- store.state.messages = store.state.messages.filter((m) => m.id !== id);
21
- }
22
- clear(variant) {
23
- if (variant) {
24
- store.state.messages = store.state.messages.filter((m) => m.variant !== variant);
25
- }
26
- else {
27
- store.state.messages = [];
28
- }
29
- }
30
- success = {
31
- addMessage: (text) => this.addMessage(text, "success"),
32
- };
33
- error = {
34
- addMessage: (text) => this.addMessage(text, "error"),
35
- };
36
- info = {
37
- addMessage: (text) => this.addMessage(text, "info"),
38
- };
39
- }
40
- export const Flash = new FlashStore();
41
- export const flashState = store.state;
42
- export const onFlashChange = store.onChange;
43
- //# sourceMappingURL=flash-store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flash-store.js","sourceRoot":"","sources":["../../../src/shared/store/flash-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAe7C,MAAM,KAAK,GAAG,WAAW,CAAa;IACpC,QAAQ,EAAE,EAAE;IACZ,eAAe,EAAE,IAAI;CACtB,CAAC,CAAC;AAEH,IAAI,SAAS,GAAG,CAAC,CAAC;AAElB,MAAM,UAAU;IACd,IAAI,KAAK;QACP,OAAO,KAAK,CAAC,KAAK,CAAC;IACrB,CAAC;IAEO,UAAU,CAAC,IAAY,EAAE,OAAqB;QACpD,MAAM,EAAE,GAAG,SAAS,EAAE,SAAS,EAAE,CAAC;QAClC,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;QAExE,IAAI,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;YAChC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,CAAC,EAAU;QACf,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,OAAsB;QAC1B,IAAI,OAAO,EAAE,CAAC;YACZ,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;QACnF,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAED,OAAO,GAAG;QACR,UAAU,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC;KAC/D,CAAC;IAEF,KAAK,GAAG;QACN,UAAU,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC;KAC7D,CAAC;IAEF,IAAI,GAAG;QACL,UAAU,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC;KAC5D,CAAC;CACH;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,UAAU,EAAE,CAAC;AACtC,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC;AACtC,MAAM,CAAC,MAAM,aAAa,GAA4F,KAAK,CAAC,QAAQ,CAAC","sourcesContent":["import { createStore } from \"@stencil/store\";\n\nexport type FlashVariant = \"error\" | \"success\" | \"info\";\n\nexport interface FlashMessage {\n id: string;\n text: string;\n variant: FlashVariant;\n}\n\ninterface FlashState {\n messages: FlashMessage[];\n autoRemoveDelay: number | null;\n}\n\nconst store = createStore<FlashState>({\n messages: [],\n autoRemoveDelay: null,\n});\n\nlet idCounter = 0;\n\nclass FlashStore {\n get state() {\n return store.state;\n }\n\n private addMessage(text: string, variant: FlashVariant): string {\n const id = `flash-${++idCounter}`;\n store.state.messages = [...store.state.messages, { id, text, variant }];\n\n if (store.state.autoRemoveDelay) {\n setTimeout(() => this.remove(id), store.state.autoRemoveDelay);\n }\n\n return id;\n }\n\n remove(id: string) {\n store.state.messages = store.state.messages.filter((m) => m.id !== id);\n }\n\n clear(variant?: FlashVariant) {\n if (variant) {\n store.state.messages = store.state.messages.filter((m) => m.variant !== variant);\n } else {\n store.state.messages = [];\n }\n }\n\n success = {\n addMessage: (text: string) => this.addMessage(text, \"success\"),\n };\n\n error = {\n addMessage: (text: string) => this.addMessage(text, \"error\"),\n };\n\n info = {\n addMessage: (text: string) => this.addMessage(text, \"info\"),\n };\n}\n\nexport const Flash = new FlashStore();\nexport const flashState = store.state;\nexport const onFlashChange: <K extends keyof FlashState>(prop: K, cb: (value: FlashState[K]) => void) => () => void = store.onChange;\n"]}
@@ -1,33 +0,0 @@
1
- import { createStore } from "@stencil/store";
2
- const initialState = {
3
- mode: "production",
4
- apiKey: "",
5
- baseUrl: "",
6
- locale: "en",
7
- isConfigured: false,
8
- backendConnected: true,
9
- };
10
- const store = createStore(initialState);
11
- export const unidyState = store.state;
12
- export const reset = store.reset;
13
- export const onChange = store.onChange;
14
- const CONFIG_TIMEOUT_MS = 1000;
15
- export function waitForConfig() {
16
- if (unidyState.isConfigured) {
17
- return Promise.resolve();
18
- }
19
- return new Promise((resolve, reject) => {
20
- const timeout = setTimeout(() => {
21
- unsubscribe();
22
- reject(new Error(`Unidy SDK: <u-config> not found or not loaded within ${CONFIG_TIMEOUT_MS}ms`));
23
- }, CONFIG_TIMEOUT_MS);
24
- const unsubscribe = onChange("isConfigured", (value) => {
25
- if (value) {
26
- clearTimeout(timeout);
27
- unsubscribe();
28
- resolve();
29
- }
30
- });
31
- });
32
- }
33
- //# sourceMappingURL=unidy-store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unidy-store.js","sourceRoot":"","sources":["../../../src/shared/store/unidy-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAY7C,MAAM,YAAY,GAAe;IAC/B,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,IAAI;IAEZ,YAAY,EAAE,KAAK;IACnB,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,MAAM,KAAK,GAAG,WAAW,CAAa,YAAY,CAAC,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC;AACtC,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AACjC,MAAM,CAAC,MAAM,QAAQ,GAA4F,KAAK,CAAC,QAAQ,CAAC;AAEhI,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,MAAM,UAAU,aAAa;IAC3B,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;QAC5B,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,EAAE;YAC9B,WAAW,EAAE,CAAC;YACd,MAAM,CAAC,IAAI,KAAK,CAAC,wDAAwD,iBAAiB,IAAI,CAAC,CAAC,CAAC;QACnG,CAAC,EAAE,iBAAiB,CAAC,CAAC;QAEtB,MAAM,WAAW,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE;YACrD,IAAI,KAAK,EAAE,CAAC;gBACV,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,EAAE,CAAC;gBACd,OAAO,EAAE,CAAC;YACZ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { createStore } from \"@stencil/store\";\n\nexport interface UnidyState {\n mode: \"production\" | \"development\";\n apiKey: string;\n baseUrl: string;\n locale: string;\n\n isConfigured: boolean;\n backendConnected: boolean;\n}\n\nconst initialState: UnidyState = {\n mode: \"production\",\n apiKey: \"\",\n baseUrl: \"\",\n locale: \"en\",\n\n isConfigured: false,\n backendConnected: true,\n};\n\nconst store = createStore<UnidyState>(initialState);\n\nexport const unidyState = store.state;\nexport const reset = store.reset;\nexport const onChange: <K extends keyof UnidyState>(prop: K, cb: (value: UnidyState[K]) => void) => () => void = store.onChange;\n\nconst CONFIG_TIMEOUT_MS = 1000;\n\nexport function waitForConfig(): Promise<void> {\n if (unidyState.isConfigured) {\n return Promise.resolve();\n }\n\n return new Promise((resolve, reject) => {\n const timeout = setTimeout(() => {\n unsubscribe();\n reject(new Error(`Unidy SDK: <u-config> not found or not loaded within ${CONFIG_TIMEOUT_MS}ms`));\n }, CONFIG_TIMEOUT_MS);\n\n const unsubscribe = onChange(\"isConfigured\", (value) => {\n if (value) {\n clearTimeout(timeout);\n unsubscribe();\n resolve();\n }\n });\n });\n}\n"]}
@@ -1,35 +0,0 @@
1
- import * as Sentry from "@sentry/browser";
2
- export function getWithSchema(client, returnSchema, urlBuilder, paramSchema) {
3
- const fn = async (args, params) => {
4
- // Build URL
5
- const baseUrl = urlBuilder(args);
6
- // Validate and parse params with Zod if provided
7
- let queryString = "";
8
- if (paramSchema && params) {
9
- const validatedParams = paramSchema.parse(params);
10
- queryString = `?${new URLSearchParams(validatedParams).toString()}`;
11
- }
12
- const fullUrl = `${baseUrl}${queryString}`;
13
- const response = await client.get(fullUrl);
14
- if (!response.success || !response.data) {
15
- return response;
16
- }
17
- const parsed = returnSchema.safeParse(response.data);
18
- if (!parsed.success) {
19
- Sentry.captureException(parsed.error);
20
- return {
21
- ...response,
22
- success: false,
23
- error: "Invalid response format",
24
- data: undefined,
25
- };
26
- }
27
- return {
28
- ...response,
29
- data: parsed.data,
30
- };
31
- };
32
- // biome-ignore lint/suspicious/noExplicitAny: fn can literally be any function
33
- return fn;
34
- }
35
- //# sourceMappingURL=get-with-schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-with-schema.js","sourceRoot":"","sources":["../../../src/ticketable/api/get-with-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAI1C,MAAM,UAAU,aAAa,CAC3B,MAAiB,EACjB,YAAkC,EAClC,UAAmC,EACnC,WAAkC;IAIlC,MAAM,EAAE,GAAG,KAAK,EAAE,IAAW,EAAE,MAAgB,EAAE,EAAE;QACjD,YAAY;QACZ,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QAEjC,iDAAiD;QACjD,IAAI,WAAW,GAAG,EAAE,CAAC;QACrB,IAAI,WAAW,IAAI,MAAM,EAAE,CAAC;YAC1B,MAAM,eAAe,GAAG,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAClD,WAAW,GAAG,IAAI,IAAI,eAAe,CAAC,eAAyC,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC;QAChG,CAAC;QAED,MAAM,OAAO,GAAG,GAAG,OAAO,GAAG,WAAW,EAAE,CAAC;QAC3C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAU,OAAO,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACxC,OAAO,QAAgC,CAAC;QAC1C,CAAC;QAED,MAAM,MAAM,GAAG,YAAY,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAErD,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YACpB,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtC,OAAO;gBACL,GAAG,QAAQ;gBACX,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,yBAAyB;gBAChC,IAAI,EAAE,SAAS;aAChB,CAAC;QACJ,CAAC;QAED,OAAO;YACL,GAAG,QAAQ;YACX,IAAI,EAAE,MAAM,CAAC,IAAI;SAClB,CAAC;IACJ,CAAC,CAAC;IACF,+EAA+E;IAC/E,OAAO,EAAS,CAAC;AACnB,CAAC","sourcesContent":["import * as Sentry from \"@sentry/browser\";\nimport type { ApiClient, ApiResponse } from \"../../api\";\nimport type * as z from \"zod\";\n\nexport function getWithSchema<TReturn, TArgs extends object, TParams = undefined>(\n client: ApiClient,\n returnSchema: z.ZodSchema<TReturn>,\n urlBuilder: (args: TArgs) => string,\n paramSchema?: z.ZodSchema<TParams>,\n): TParams extends undefined\n ? (args: TArgs) => Promise<ApiResponse<TReturn>>\n : (args: TArgs, params?: TParams) => Promise<ApiResponse<TReturn>> {\n const fn = async (args: TArgs, params?: TParams) => {\n // Build URL\n const baseUrl = urlBuilder(args);\n\n // Validate and parse params with Zod if provided\n let queryString = \"\";\n if (paramSchema && params) {\n const validatedParams = paramSchema.parse(params);\n queryString = `?${new URLSearchParams(validatedParams as Record<string, string>).toString()}`;\n }\n\n const fullUrl = `${baseUrl}${queryString}`;\n const response = await client.get<unknown>(fullUrl);\n\n if (!response.success || !response.data) {\n return response as ApiResponse<TReturn>;\n }\n\n const parsed = returnSchema.safeParse(response.data);\n\n if (!parsed.success) {\n Sentry.captureException(parsed.error);\n return {\n ...response,\n success: false,\n error: \"Invalid response format\",\n data: undefined,\n };\n }\n\n return {\n ...response,\n data: parsed.data,\n };\n };\n // biome-ignore lint/suspicious/noExplicitAny: fn can literally be any function\n return fn as any;\n}\n"]}
@@ -1,12 +0,0 @@
1
- import { PaginationParamsSchema } from "../../api/shared";
2
- import * as z from "zod";
3
- export const TicketableListParamsBaseSchema = z
4
- .object({
5
- service_id: z.number().nullable(),
6
- state: z.string(),
7
- payment_state: z.string(),
8
- order_by: z.enum(["starts_at", "ends_at", "reference", "created_at"]),
9
- order_direction: z.enum(["asc", "desc"]),
10
- })
11
- .merge(PaginationParamsSchema);
12
- //# sourceMappingURL=schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/ticketable/api/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;IACrE,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CACzC,CAAC;KACD,KAAK,CAAC,sBAAsB,CAAC,CAAC","sourcesContent":["import { PaginationParamsSchema } from \"../../api/shared\";\nimport * as z from \"zod\";\n\nexport const TicketableListParamsBaseSchema = z\n .object({\n service_id: z.number().nullable(),\n state: z.string(),\n payment_state: z.string(),\n order_by: z.enum([\"starts_at\", \"ends_at\", \"reference\", \"created_at\"]),\n order_direction: z.enum([\"asc\", \"desc\"]),\n })\n .merge(PaginationParamsSchema);\n"]}
@@ -1,47 +0,0 @@
1
- import * as z from "zod";
2
- import { TicketableListParamsBaseSchema } from "./schemas";
3
- import { getWithSchema } from "./get-with-schema";
4
- import { PaginationMetaSchema } from "../../api";
5
- // Date transformer for ISO8601 strings
6
- const dateTransformer = z.coerce.date();
7
- const nullableDateTransformer = z.coerce.date().nullable();
8
- // Subscription types based on SubscriptionSerializer
9
- const SubscriptionSchema = z.object({
10
- id: z.uuid(), // unidy_id
11
- title: z.string(),
12
- text: z.string(),
13
- payment_frequency: z.string().nullable(),
14
- metadata: z.record(z.string(), z.unknown()).nullable(),
15
- wallet_export: z.record(z.string(), z.unknown()).nullable(),
16
- state: z.string(),
17
- reference: z.string(),
18
- payment_state: z.string().nullable(),
19
- currency: z.string().nullable(),
20
- button_cta_url: z.string().nullable(),
21
- created_at: dateTransformer, // ISO8601(3) -> Date
22
- updated_at: dateTransformer, // ISO8601(3) -> Date
23
- starts_at: nullableDateTransformer, // ISO8601(3) -> Date | null
24
- ends_at: nullableDateTransformer, // ISO8601(3) -> Date | null
25
- next_payment_at: nullableDateTransformer, // ISO8601(3) -> Date | null
26
- price: z.number(), // decimal(8, 2) -> float
27
- user_id: z.uuid(),
28
- subscription_category_id: z.uuid(),
29
- });
30
- // List response
31
- const SubscriptionsListResponseSchema = z.object({
32
- meta: PaginationMetaSchema,
33
- results: z.array(SubscriptionSchema),
34
- });
35
- // Query params schema with validations
36
- const SubscriptionsListParamsSchema = TicketableListParamsBaseSchema.extend({ subscription_category_id: z.string().uuid() }).partial();
37
- export class SubscriptionsService {
38
- client;
39
- list;
40
- get;
41
- constructor(client) {
42
- this.client = client;
43
- this.list = getWithSchema(this.client, SubscriptionsListResponseSchema, (_args) => "/api/sdk/v1/subscriptions", SubscriptionsListParamsSchema);
44
- this.get = getWithSchema(this.client, SubscriptionSchema, (args) => `/api/sdk/v1/subscriptions/${args.id}`);
45
- }
46
- }
47
- //# sourceMappingURL=subscriptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../src/ticketable/api/subscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAoC,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEnF,uCAAuC;AACvC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AACxC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC;AAE3D,qDAAqD;AACrD,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,WAAW;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,eAAe,EAAE,qBAAqB;IAClD,UAAU,EAAE,eAAe,EAAE,qBAAqB;IAClD,SAAS,EAAE,uBAAuB,EAAE,4BAA4B;IAChE,OAAO,EAAE,uBAAuB,EAAE,4BAA4B;IAC9D,eAAe,EAAE,uBAAuB,EAAE,4BAA4B;IACtE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,yBAAyB;IAC5C,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE;IACjB,wBAAwB,EAAE,CAAC,CAAC,IAAI,EAAE;CACnC,CAAC,CAAC;AAIH,gBAAgB;AAChB,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CACrC,CAAC,CAAC;AAIH,uCAAuC;AACvC,MAAM,6BAA6B,GAAG,8BAA8B,CAAC,MAAM,CAAC,EAAE,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;AAIvI,MAAM,OAAO,oBAAoB;IAIX;IAHpB,IAAI,CAAsG;IAC1G,GAAG,CAA+D;IAElE,YAAoB,MAAiB;QAAjB,WAAM,GAAN,MAAM,CAAW;QACnC,IAAI,CAAC,IAAI,GAAG,aAAa,CACvB,IAAI,CAAC,MAAM,EACX,+BAA+B,EAC/B,CAAC,KAAc,EAAE,EAAE,CAAC,2BAA2B,EAC/C,6BAA6B,CAC9B,CAAC;QAEF,IAAI,CAAC,GAAG,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,kBAAkB,EAAE,CAAC,IAAoB,EAAE,EAAE,CAAC,6BAA6B,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IAC9H,CAAC;CACF","sourcesContent":["import * as z from \"zod\";\nimport { TicketableListParamsBaseSchema } from \"./schemas\";\nimport { getWithSchema } from \"./get-with-schema\";\nimport { type ApiClient, type ApiResponse, PaginationMetaSchema } from \"../../api\";\n\n// Date transformer for ISO8601 strings\nconst dateTransformer = z.coerce.date();\nconst nullableDateTransformer = z.coerce.date().nullable();\n\n// Subscription types based on SubscriptionSerializer\nconst SubscriptionSchema = z.object({\n id: z.uuid(), // unidy_id\n title: z.string(),\n text: z.string(),\n payment_frequency: z.string().nullable(),\n metadata: z.record(z.string(), z.unknown()).nullable(),\n wallet_export: z.record(z.string(), z.unknown()).nullable(),\n state: z.string(),\n reference: z.string(),\n payment_state: z.string().nullable(),\n currency: z.string().nullable(),\n button_cta_url: z.string().nullable(),\n created_at: dateTransformer, // ISO8601(3) -> Date\n updated_at: dateTransformer, // ISO8601(3) -> Date\n starts_at: nullableDateTransformer, // ISO8601(3) -> Date | null\n ends_at: nullableDateTransformer, // ISO8601(3) -> Date | null\n next_payment_at: nullableDateTransformer, // ISO8601(3) -> Date | null\n price: z.number(), // decimal(8, 2) -> float\n user_id: z.uuid(),\n subscription_category_id: z.uuid(),\n});\n\nexport type Subscription = z.infer<typeof SubscriptionSchema>;\n\n// List response\nconst SubscriptionsListResponseSchema = z.object({\n meta: PaginationMetaSchema,\n results: z.array(SubscriptionSchema),\n});\n\nexport type SubscriptionsListResponse = z.infer<typeof SubscriptionsListResponseSchema>;\n\n// Query params schema with validations\nconst SubscriptionsListParamsSchema = TicketableListParamsBaseSchema.extend({ subscription_category_id: z.string().uuid() }).partial();\n\nexport type SubscriptionsListParams = z.input<typeof SubscriptionsListParamsSchema>;\n\nexport class SubscriptionsService {\n list: (args: object, params?: SubscriptionsListParams) => Promise<ApiResponse<SubscriptionsListResponse>>;\n get: (args: { id: string }) => Promise<ApiResponse<Subscription>>;\n\n constructor(private client: ApiClient) {\n this.list = getWithSchema(\n this.client,\n SubscriptionsListResponseSchema,\n (_args: unknown) => \"/api/sdk/v1/subscriptions\",\n SubscriptionsListParamsSchema,\n );\n\n this.get = getWithSchema(this.client, SubscriptionSchema, (args: { id: string }) => `/api/sdk/v1/subscriptions/${args.id}`);\n }\n}\n"]}