@saasquatch/mint-components 1.13.3-0 → 1.13.3

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 (356) hide show
  1. package/dist/cjs/{ShadowViewAddon-3ddee92b.js → ShadowViewAddon-14a02da4.js} +138 -104
  2. package/dist/cjs/{useReferralCodes-82e8797b.js → copy-text-view-a5524c20.js} +93 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/mint-components.cjs.js +1 -1
  5. package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_41.cjs.entry.js} +221 -4
  6. package/dist/cjs/sqm-pagination_3.cjs.entry.js +5 -6
  7. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  9. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +1 -1
  10. package/dist/cjs/{sqm-portal-registration-form-view-ebf355a6.js → sqm-portal-registration-form-view-637a4bf4.js} +1 -0
  11. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -1
  12. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-stencilbook.cjs.entry.js +469 -382
  15. package/dist/collection/collection-manifest.json +2 -1
  16. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
  17. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
  18. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +5 -5
  19. package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +11 -0
  20. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +129 -0
  21. package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +54 -0
  22. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +47 -0
  23. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +217 -0
  24. package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +115 -0
  25. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +3 -3
  26. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -3
  27. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +2 -2
  28. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -3
  29. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +4 -0
  30. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -0
  31. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +3 -2
  32. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +3 -3
  33. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +3 -3
  34. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  35. package/dist/esm/{ShadowViewAddon-d3c11480.js → ShadowViewAddon-23a6afab.js} +140 -107
  36. package/dist/esm/{useReferralCodes-1fdb0d92.js → copy-text-view-459a2e35.js} +95 -3
  37. package/dist/esm/{global-19d115b9.js → global-be1f9992.js} +2 -2
  38. package/dist/esm/{index.module-8553586f.js → index.module-89a79f66.js} +1 -1
  39. package/dist/esm/loader.js +4 -4
  40. package/dist/esm/{luxon-94dbc741.js → luxon-8d51c92b.js} +1 -1
  41. package/dist/esm/mint-components.js +4 -4
  42. package/dist/esm/{mockRewardData-cc9b3ada.js → mockRewardData-8bd1b356.js} +1 -1
  43. package/dist/esm/{re-render-bc2b60fe.js → re-render-cc945f38.js} +2 -2
  44. package/dist/esm/sqm-asset-card.entry.js +2 -2
  45. package/dist/esm/sqm-banking-info-form_17.entry.js +10 -10
  46. package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_41.entry.js} +230 -15
  47. package/dist/esm/sqm-close-button.entry.js +2 -2
  48. package/dist/esm/sqm-context-router.entry.js +2 -2
  49. package/dist/esm/sqm-email-verification.entry.js +4 -4
  50. package/dist/esm/sqm-empty_4.entry.js +3 -3
  51. package/dist/esm/sqm-form-message.entry.js +1 -1
  52. package/dist/esm/sqm-google-sign-in.entry.js +2 -2
  53. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  54. package/dist/esm/sqm-header-logo.entry.js +1 -1
  55. package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
  56. package/dist/esm/{sqm-invoice-table-view-eb07d994.js → sqm-invoice-table-view-af69cd33.js} +1 -1
  57. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
  58. package/dist/esm/sqm-logout-current-user.entry.js +2 -2
  59. package/dist/esm/{sqm-navigation-sidebar-item-view-70b65660.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
  60. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  61. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  62. package/dist/esm/sqm-pagination_3.entry.js +4 -5
  63. package/dist/esm/sqm-password-field.entry.js +3 -3
  64. package/dist/esm/sqm-popup-container.entry.js +2 -2
  65. package/dist/esm/{sqm-portal-email-verification-view-84867a42.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  66. package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
  67. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  68. package/dist/esm/sqm-portal-google-login.entry.js +3 -3
  69. package/dist/esm/sqm-portal-google-registration-form.entry.js +5 -5
  70. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  71. package/dist/esm/{sqm-portal-profile-view-32088a59.js → sqm-portal-profile-view-93003974.js} +1 -1
  72. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  73. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  74. package/dist/esm/{sqm-portal-registration-form-view-32c4b488.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -0
  75. package/dist/esm/sqm-portal-registration-form.entry.js +6 -5
  76. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  77. package/dist/esm/sqm-portal-verify-email.entry.js +3 -3
  78. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  79. package/dist/esm/sqm-referred-registration.entry.js +4 -4
  80. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  81. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  82. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  83. package/dist/esm/sqm-scroll.entry.js +1 -1
  84. package/dist/esm/sqm-stencilbook.entry.js +479 -392
  85. package/dist/esm/sqm-tab.entry.js +3 -3
  86. package/dist/esm/sqm-tabs.entry.js +4 -4
  87. package/dist/esm/sqm-text-span.entry.js +1 -1
  88. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  89. package/dist/esm/sqm-widget-verification.entry.js +2 -2
  90. package/dist/esm/{stencil-hooks.module-c643ef4a.js → stencil-hooks.module-4bc38af4.js} +1 -1
  91. package/dist/esm/{useChildElements-cbd0fedf.js → useChildElements-7945ae56.js} +2 -2
  92. package/dist/esm/{useInstantAccessRegistration-06e94ce3.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
  93. package/dist/esm/{usePayoutStatus-6701d491.js → usePayoutStatus-58aa56b4.js} +2 -2
  94. package/dist/esm/{usePortalLogin-e6f1ebd1.js → usePortalLogin-ef647a50.js} +2 -2
  95. package/dist/esm/{usePortalRegistrationForm-6f22d7d7.js → usePortalRegistrationForm-4b35a357.js} +3 -3
  96. package/dist/esm/{useReferralTable-055a8849.js → useReferralTable-b3876ed6.js} +4 -4
  97. package/dist/esm/{useRegistrationFormState-7229b088.js → useRegistrationFormState-d6f33135.js} +2 -2
  98. package/dist/esm/{useVerificationEmail-a142db0c.js → useVerificationEmail-edc318cb.js} +2 -2
  99. package/dist/esm/{utilities-559f8273.js → utilities-5b0ca040.js} +2 -2
  100. package/dist/esm-es5/ShadowViewAddon-23a6afab.js +1 -0
  101. package/dist/esm-es5/copy-text-view-459a2e35.js +1 -0
  102. package/dist/esm-es5/{global-19d115b9.js → global-be1f9992.js} +1 -1
  103. package/dist/esm-es5/{index.module-8553586f.js → index.module-89a79f66.js} +1 -1
  104. package/dist/esm-es5/loader.js +1 -1
  105. package/dist/esm-es5/{luxon-94dbc741.js → luxon-8d51c92b.js} +1 -1
  106. package/dist/esm-es5/mint-components.js +1 -1
  107. package/dist/esm-es5/{mockRewardData-cc9b3ada.js → mockRewardData-8bd1b356.js} +1 -1
  108. package/dist/esm-es5/{re-render-bc2b60fe.js → re-render-cc945f38.js} +1 -1
  109. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  110. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  111. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -0
  112. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  113. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  114. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  115. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  116. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  117. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  118. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  119. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  120. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  121. package/dist/esm-es5/{sqm-invoice-table-view-eb07d994.js → sqm-invoice-table-view-af69cd33.js} +1 -1
  122. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  123. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  124. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-70b65660.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
  125. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  126. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  127. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  128. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  129. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  130. package/dist/esm-es5/{sqm-portal-email-verification-view-84867a42.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  131. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  132. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  133. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  134. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  135. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-portal-profile-view-32088a59.js → sqm-portal-profile-view-93003974.js} +1 -1
  137. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  138. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  139. package/dist/esm-es5/{sqm-portal-registration-form-view-32c4b488.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -1
  140. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  141. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  142. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  143. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  144. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  145. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  146. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  147. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  148. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  149. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  150. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  151. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  152. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  153. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  154. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  155. package/dist/esm-es5/{stencil-hooks.module-c643ef4a.js → stencil-hooks.module-4bc38af4.js} +1 -1
  156. package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
  157. package/dist/esm-es5/{useInstantAccessRegistration-06e94ce3.js → useInstantAccessRegistration-dc4ad9f2.js} +1 -1
  158. package/dist/esm-es5/{usePayoutStatus-6701d491.js → usePayoutStatus-58aa56b4.js} +1 -1
  159. package/dist/esm-es5/{usePortalLogin-e6f1ebd1.js → usePortalLogin-ef647a50.js} +1 -1
  160. package/dist/esm-es5/{usePortalRegistrationForm-6f22d7d7.js → usePortalRegistrationForm-4b35a357.js} +1 -1
  161. package/dist/esm-es5/{useReferralTable-055a8849.js → useReferralTable-b3876ed6.js} +1 -1
  162. package/dist/esm-es5/{useRegistrationFormState-7229b088.js → useRegistrationFormState-d6f33135.js} +1 -1
  163. package/dist/esm-es5/{useVerificationEmail-a142db0c.js → useVerificationEmail-edc318cb.js} +1 -1
  164. package/dist/esm-es5/{utilities-559f8273.js → utilities-5b0ca040.js} +1 -1
  165. package/dist/mint-components/mint-components.esm.js +1 -1
  166. package/dist/mint-components/mint-components.js +1 -1
  167. package/dist/mint-components/{p-afbe1fab.entry.js → p-00ed4c2e.entry.js} +1 -1
  168. package/dist/mint-components/{p-8052a165.entry.js → p-01010af0.entry.js} +34 -17
  169. package/dist/mint-components/{p-4d4c3fda.entry.js → p-04a6e457.entry.js} +1 -1
  170. package/dist/mint-components/{p-46361336.js → p-05f29f64.js} +1 -1
  171. package/dist/mint-components/{p-b509682c.system.js → p-0d182dc1.system.js} +1 -1
  172. package/dist/mint-components/{p-d270c7a9.entry.js → p-0d2d0b6d.entry.js} +1 -1
  173. package/dist/mint-components/{p-ff45a502.entry.js → p-10d17989.entry.js} +1 -1
  174. package/dist/mint-components/{p-05910568.system.js → p-13ed8586.system.js} +1 -1
  175. package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
  176. package/dist/mint-components/p-1513309d.entry.js +1 -0
  177. package/dist/mint-components/{p-4a332d4a.system.entry.js → p-164a9103.system.entry.js} +1 -1
  178. package/dist/mint-components/{p-7edd349f.system.entry.js → p-18425f38.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-dd5380e7.system.entry.js → p-19bc3406.system.entry.js} +1 -1
  180. package/dist/mint-components/p-19ccb4ce.js +1 -0
  181. package/dist/mint-components/{p-b8c8a7a2.entry.js → p-1a6b7d2a.entry.js} +1 -1
  182. package/dist/mint-components/{p-019a9a23.system.entry.js → p-1b3ab15a.system.entry.js} +1 -1
  183. package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
  184. package/dist/mint-components/{p-b8c2452e.system.entry.js → p-21620f81.system.entry.js} +1 -1
  185. package/dist/mint-components/p-275b4767.entry.js +1 -0
  186. package/dist/mint-components/{p-f4b9d88e.entry.js → p-284e4ed5.entry.js} +1 -1
  187. package/dist/mint-components/{p-3107ff75.entry.js → p-2ae0e06a.entry.js} +1 -1
  188. package/dist/mint-components/{p-fea93ffb.entry.js → p-2bbff88f.entry.js} +1 -1
  189. package/dist/mint-components/{p-e0b16d7d.system.js → p-2d52e2d7.system.js} +1 -1
  190. package/dist/mint-components/{p-6b2b1f57.entry.js → p-2da21ba4.entry.js} +1 -1
  191. package/dist/mint-components/{p-35a1395e.entry.js → p-2f101bae.entry.js} +1 -1
  192. package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
  193. package/dist/mint-components/{p-206d5653.entry.js → p-33c96e14.entry.js} +1 -1
  194. package/dist/mint-components/p-33ed6f1c.system.entry.js +1 -0
  195. package/dist/mint-components/{p-793d3aa3.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  196. package/dist/mint-components/p-37996351.system.js +1 -0
  197. package/dist/mint-components/{p-a8e635c8.entry.js → p-380bfde1.entry.js} +1 -1
  198. package/dist/mint-components/p-38b5f028.system.entry.js +1 -0
  199. package/dist/mint-components/p-38fc919b.entry.js +1 -0
  200. package/dist/mint-components/{p-5b65ad93.js → p-3db34d68.js} +1 -1
  201. package/dist/mint-components/{p-113a3397.system.entry.js → p-3f6e0197.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-24168eeb.system.entry.js → p-420554af.system.entry.js} +1 -1
  203. package/dist/mint-components/{p-76734619.system.entry.js → p-42187319.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-ebdf4e46.entry.js → p-4428294b.entry.js} +1 -1
  205. package/dist/mint-components/{p-568239eb.entry.js → p-44891949.entry.js} +1 -1
  206. package/dist/mint-components/{p-78a1029d.js → p-480e08e9.js} +1 -1
  207. package/dist/mint-components/{p-c9246591.system.js → p-48135f99.system.js} +1 -1
  208. package/dist/mint-components/{p-32e46793.js → p-4e451f75.js} +1 -1
  209. package/dist/mint-components/{p-3197b1e1.js → p-4e526a94.js} +1 -1
  210. package/dist/mint-components/{p-bebdae4a.system.entry.js → p-50c902ca.system.entry.js} +1 -1
  211. package/dist/mint-components/{p-84ebf29b.system.js → p-527216de.system.js} +1 -1
  212. package/dist/mint-components/{p-073cc02e.system.js → p-5488fdd9.system.js} +1 -1
  213. package/dist/mint-components/{p-00af0a40.system.js → p-59274a91.system.js} +1 -1
  214. package/dist/mint-components/{p-8b5a132d.js → p-5bedb58c.js} +1 -1
  215. package/dist/mint-components/{p-b885bf6a.system.entry.js → p-5c28406d.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-c123040c.system.entry.js → p-5d7e308c.system.entry.js} +1 -1
  217. package/dist/mint-components/{p-2147f338.system.js → p-635d5ef2.system.js} +1 -1
  218. package/dist/mint-components/{p-f831af31.js → p-63a75798.js} +1 -1
  219. package/dist/mint-components/{p-2c521ce3.entry.js → p-6427e963.entry.js} +1 -1
  220. package/dist/mint-components/{p-a1ace139.js → p-65069b66.js} +1 -1
  221. package/dist/mint-components/{p-a1d63380.entry.js → p-653f963f.entry.js} +2 -2
  222. package/dist/mint-components/{p-b017802f.entry.js → p-693942df.entry.js} +2 -2
  223. package/dist/mint-components/{p-1d761b72.system.js → p-6b7a595f.system.js} +1 -1
  224. package/dist/mint-components/{p-9b01c219.system.js → p-6cd4f2b1.system.js} +1 -1
  225. package/dist/mint-components/{p-4831eb49.js → p-6d2f5a1d.js} +2 -2
  226. package/dist/mint-components/{p-2bcc52ff.system.js → p-6d9e52c7.system.js} +1 -1
  227. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  228. package/dist/mint-components/p-717cc8ac.system.js +1 -0
  229. package/dist/mint-components/p-71bc04d2.system.entry.js +1 -0
  230. package/dist/mint-components/{p-f4125c66.js → p-726a9924.js} +1 -1
  231. package/dist/mint-components/{p-fb1f75dc.entry.js → p-775f3ded.entry.js} +1 -1
  232. package/dist/mint-components/{p-84a0679b.entry.js → p-7ab21e4d.entry.js} +1 -1
  233. package/dist/mint-components/{p-8d60f98e.system.js → p-7c2b9fe4.system.js} +1 -1
  234. package/dist/mint-components/{p-bfe3fc89.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  235. package/dist/mint-components/p-7e7cbccf.system.js +1 -0
  236. package/dist/mint-components/p-7f2d4212.js +52 -0
  237. package/dist/mint-components/{p-9966e72f.entry.js → p-7f80a9d7.entry.js} +1 -1
  238. package/dist/mint-components/{p-1881b80d.system.js → p-8175e85f.system.js} +1 -1
  239. package/dist/mint-components/{p-f78ecf4d.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-feaa7733.system.js → p-8413ade9.system.js} +1 -1
  241. package/dist/mint-components/{p-f59a57a9.system.entry.js → p-85671c3d.system.entry.js} +1 -1
  242. package/dist/mint-components/p-8abfeff8.entry.js +1 -0
  243. package/dist/mint-components/p-8c23d1b8.js +1 -0
  244. package/dist/mint-components/{p-0cb94e55.system.entry.js → p-8d9d04b7.system.entry.js} +1 -1
  245. package/dist/mint-components/{p-7875a307.system.entry.js → p-90fc6774.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-793d2130.js → p-91ab3da1.js} +1 -1
  247. package/dist/mint-components/{p-4a9f4710.system.js → p-9320582e.system.js} +1 -1
  248. package/dist/mint-components/{p-1f6203f6.system.entry.js → p-9386ad84.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-134884eb.js → p-94a876b9.js} +1 -1
  250. package/dist/mint-components/{p-8e7dbf3d.js → p-962f3200.js} +1 -1
  251. package/dist/mint-components/p-98698131.js +1 -0
  252. package/dist/mint-components/{p-de97f736.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  253. package/dist/mint-components/{p-153fe35e.system.entry.js → p-9bfd9bed.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-a4bed343.system.entry.js → p-9cf80e85.system.entry.js} +1 -1
  255. package/dist/mint-components/{p-4d62fce5.entry.js → p-a2fde301.entry.js} +1 -1
  256. package/dist/mint-components/{p-9bbe1a0a.system.js → p-a71b9154.system.js} +1 -1
  257. package/dist/mint-components/p-b207beeb.entry.js +1 -0
  258. package/dist/mint-components/{p-889ac146.system.entry.js → p-b287833c.system.entry.js} +1 -1
  259. package/dist/mint-components/{p-adbde540.entry.js → p-b51e79b3.entry.js} +3 -3
  260. package/dist/mint-components/{p-3af19e46.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  261. package/dist/mint-components/{p-a0f61b8d.system.entry.js → p-b82e1935.system.entry.js} +1 -1
  262. package/dist/mint-components/{p-9b37f5cb.system.entry.js → p-b93fd99c.system.entry.js} +1 -1
  263. package/dist/mint-components/{p-283588d9.js → p-bbcd824a.js} +1 -1
  264. package/dist/mint-components/{p-4edcc7dd.system.js → p-bdb7d451.system.js} +1 -1
  265. package/dist/mint-components/{p-f33a2774.system.entry.js → p-c060f770.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-bc12e9a4.js → p-c0f19490.js} +2 -2
  267. package/dist/mint-components/{p-949c8454.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  268. package/dist/mint-components/{p-86685076.system.entry.js → p-c36506f6.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-2858d87a.entry.js → p-cb7bdbe4.entry.js} +1 -1
  270. package/dist/mint-components/{p-03b8a4b6.entry.js → p-cbbfac66.entry.js} +1 -1
  271. package/dist/mint-components/{p-e868baa2.system.js → p-cc7af682.system.js} +1 -1
  272. package/dist/mint-components/{p-033f460e.system.js → p-cd569259.system.js} +1 -1
  273. package/dist/mint-components/{p-f561fbbe.js → p-cd651f81.js} +1 -1
  274. package/dist/mint-components/{p-65ab288b.entry.js → p-d07f3090.entry.js} +1 -1
  275. package/dist/mint-components/p-d3d74266.js +394 -0
  276. package/dist/mint-components/{p-e75be0ce.js → p-d6831af5.js} +2 -2
  277. package/dist/mint-components/{p-c876e133.entry.js → p-da7708a7.entry.js} +1 -1
  278. package/dist/mint-components/{p-1e5685b1.entry.js → p-dcc81e90.entry.js} +1 -1
  279. package/dist/mint-components/{p-45df37c4.system.entry.js → p-de8e9981.system.entry.js} +1 -1
  280. package/dist/mint-components/{p-e1e8ce01.system.entry.js → p-e5a5ae7f.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-bb0f585c.system.js → p-e5d0375e.system.js} +1 -1
  282. package/dist/mint-components/{p-5bd1129c.entry.js → p-e6f50ffd.entry.js} +1 -1
  283. package/dist/mint-components/{p-917daa81.entry.js → p-e8ffcc68.entry.js} +2 -2
  284. package/dist/mint-components/{p-6bc6b98a.system.entry.js → p-f0772618.system.entry.js} +1 -1
  285. package/dist/mint-components/{p-9ba03826.entry.js → p-f29eda2f.entry.js} +1 -1
  286. package/dist/mint-components/p-f2cc6a6f.entry.js +9 -0
  287. package/dist/mint-components/{p-1a9efc82.system.entry.js → p-f2d8d3d3.system.entry.js} +1 -1
  288. package/dist/mint-components/{p-945fc728.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  289. package/dist/mint-components/{p-4d744c56.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-46411968.system.entry.js → p-fa37513e.system.entry.js} +1 -1
  291. package/dist/mint-components/{p-6c962bcd.entry.js → p-faba3198.entry.js} +1 -1
  292. package/dist/mint-components/{p-acb16e2d.entry.js → p-fe2e2f4a.entry.js} +1 -1
  293. package/dist/mint-components/p-ff8b8067.entry.js +33 -0
  294. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
  295. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -4
  296. package/dist/types/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts +8 -0
  297. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +27 -0
  298. package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
  299. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +28 -0
  300. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +39 -0
  301. package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
  302. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +1 -1
  303. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +1 -1
  304. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -1
  305. package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +1 -0
  306. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
  307. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -1
  308. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -1
  309. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +1 -1
  310. package/dist/types/components.d.ts +130 -26
  311. package/docs/docs.docx +0 -0
  312. package/docs/raisins.json +1 -1
  313. package/grapesjs/grapesjs.js +1 -1
  314. package/package.json +1 -1
  315. package/dist/cjs/copy-text-view-c85acaaa.js +0 -96
  316. package/dist/cjs/sqm-qr-code.cjs.entry.js +0 -66
  317. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -67
  318. package/dist/esm/copy-text-view-782137ba.js +0 -94
  319. package/dist/esm/sqm-qr-code.entry.js +0 -62
  320. package/dist/esm-es5/ShadowViewAddon-d3c11480.js +0 -1
  321. package/dist/esm-es5/copy-text-view-782137ba.js +0 -1
  322. package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
  323. package/dist/esm-es5/sqm-qr-code.entry.js +0 -1
  324. package/dist/esm-es5/useChildElements-cbd0fedf.js +0 -1
  325. package/dist/esm-es5/useReferralCodes-1fdb0d92.js +0 -1
  326. package/dist/mint-components/p-04eda48e.entry.js +0 -1
  327. package/dist/mint-components/p-0b00b770.system.entry.js +0 -1
  328. package/dist/mint-components/p-13ed46c5.entry.js +0 -9
  329. package/dist/mint-components/p-2175e4c3.js +0 -1
  330. package/dist/mint-components/p-27f35214.system.entry.js +0 -1
  331. package/dist/mint-components/p-2c16f513.system.js +0 -1
  332. package/dist/mint-components/p-2cae23f1.system.js +0 -1
  333. package/dist/mint-components/p-30efd193.js +0 -52
  334. package/dist/mint-components/p-31015791.js +0 -1
  335. package/dist/mint-components/p-3b0d6e3d.system.js +0 -1
  336. package/dist/mint-components/p-3b90e01b.system.js +0 -1
  337. package/dist/mint-components/p-5800426e.system.entry.js +0 -1
  338. package/dist/mint-components/p-5fc6c6eb.js +0 -394
  339. package/dist/mint-components/p-621092ee.js +0 -1
  340. package/dist/mint-components/p-786d3e9a.entry.js +0 -1
  341. package/dist/mint-components/p-95e8f60d.entry.js +0 -1
  342. package/dist/mint-components/p-9b0c175c.entry.js +0 -1
  343. package/dist/mint-components/p-a18b8466.entry.js +0 -33
  344. package/dist/mint-components/p-a6d84577.system.entry.js +0 -1
  345. package/dist/mint-components/p-b7991001.entry.js +0 -1
  346. package/dist/mint-components/p-bdbf5f74.entry.js +0 -13
  347. package/dist/mint-components/p-d5cceea8.entry.js +0 -1
  348. package/dist/mint-components/p-d9b93305.system.entry.js +0 -1
  349. package/dist/mint-components/p-e847a6f5.system.entry.js +0 -1
  350. package/dist/mint-components/p-e9a14ca4.system.entry.js +0 -1
  351. package/dist/mint-components/p-fe268f9d.js +0 -1
  352. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -5
  353. package/dist/types/global/android.d.ts +0 -7
  354. package/dist/types/global/demo.d.ts +0 -2
  355. package/dist/types/stories/features.d.ts +0 -4
  356. package/dist/types/stories/templates.d.ts +0 -4
@@ -46,8 +46,8 @@ export class PortalEmailVerification {
46
46
  */
47
47
  this.verificationResentMessage = "Your verification email has been resent successfully";
48
48
  /**
49
- * @uiName Network error message
50
49
  * Displayed when your verification email fails to send due to a network error. The participant can try refreshing the page.
50
+ * @uiName Network error message
51
51
  */
52
52
  this.networkErrorMessage = "An error occurred while verifying your password. Please refresh the page.";
53
53
  withHooks(this);
@@ -236,10 +236,10 @@ export class PortalEmailVerification {
236
236
  "optional": false,
237
237
  "docs": {
238
238
  "tags": [{
239
- "text": "Network error message\nDisplayed when your verification email fails to send due to a network error. The participant can try refreshing the page.",
239
+ "text": "Network error message",
240
240
  "name": "uiName"
241
241
  }],
242
- "text": ""
242
+ "text": "Displayed when your verification email fails to send due to a network error. The participant can try refreshing the page."
243
243
  },
244
244
  "attribute": "network-error-message",
245
245
  "reflect": false,
@@ -40,8 +40,8 @@ export class PortalForgotPassword {
40
40
  */
41
41
  this.loginText = "Sign In";
42
42
  /**
43
- * @uiName Network error message
44
43
  * Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
44
+ * @uiName Network error message
45
45
  */
46
46
  this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
47
47
  /**
@@ -215,10 +215,10 @@ export class PortalForgotPassword {
215
215
  "optional": false,
216
216
  "docs": {
217
217
  "tags": [{
218
- "text": "Network error message\nDisplayed when the forgot password action fails due to a network error. The participant can try refreshing the page.",
218
+ "text": "Network error message",
219
219
  "name": "uiName"
220
220
  }],
221
- "text": ""
221
+ "text": "Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page."
222
222
  },
223
223
  "attribute": "network-error-message",
224
224
  "reflect": false,
@@ -778,7 +778,7 @@ export class PortalGoogleRegistrationForm {
778
778
  "mutable": false,
779
779
  "complexType": {
780
780
  "original": "DemoData<PortalRegistrationFormViewProps>",
781
- "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
781
+ "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; emailOptIn?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
782
782
  "references": {
783
783
  "DemoData": {
784
784
  "location": "import",
@@ -808,7 +808,7 @@ export class PortalGoogleRegistrationForm {
808
808
  "mutable": false,
809
809
  "complexType": {
810
810
  "original": "DemoData<PortalRegistrationFormViewProps>",
811
- "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
811
+ "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; emailOptIn?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
812
812
  "references": {
813
813
  "DemoData": {
814
814
  "location": "import",
@@ -56,8 +56,8 @@ export class PortalLogin {
56
56
  */
57
57
  this.pageLabel = "Sign in to your account";
58
58
  /**
59
- * @uiName Network error message
60
59
  * Displayed when the login fails due to a network error. The participant can try refreshing the page.
60
+ * @uiName Network error message
61
61
  */
62
62
  this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
63
63
  /**
@@ -310,10 +310,10 @@ export class PortalLogin {
310
310
  "optional": false,
311
311
  "docs": {
312
312
  "tags": [{
313
- "text": "Network error message\nDisplayed when the login fails due to a network error. The participant can try refreshing the page.",
313
+ "text": "Network error message",
314
314
  "name": "uiName"
315
315
  }],
316
- "text": ""
316
+ "text": "Displayed when the login fails due to a network error. The participant can try refreshing the page."
317
317
  },
318
318
  "attribute": "network-error-message",
319
319
  "reflect": false,
@@ -96,6 +96,10 @@ export const FieldsHidden = () => {
96
96
  } }));
97
97
  };
98
98
  export const SlottedInputs = () => (h(PortalRegistrationFormView, Object.assign({}, slottedProps)));
99
+ export const RegisterWithMarketingEmailsCheckbox = () => (h(PortalRegistrationFormView, Object.assign({}, defaultProps, { content: {
100
+ ...defaultProps.content,
101
+ emailOptIn: (h("sqm-checkbox-field", { checkboxLabel: "I would like to receive marketing and promotional emails for this referral program" })),
102
+ } })));
99
103
  export const TermsAndConditions = () => (h(PortalRegistrationFormView, Object.assign({}, defaultProps, { content: {
100
104
  ...defaultProps.content,
101
105
  terms: (h("p", null,
@@ -75,6 +75,7 @@ export function PortalRegistrationFormView(props) {
75
75
  helpText: ((_u = (_t = states.registrationFormState) === null || _t === void 0 ? void 0 : _t.validationErrors) === null || _u === void 0 ? void 0 : _u.confirmPassword) || content.requiredFieldErrorMessage,
76
76
  }
77
77
  : [])))),
78
+ content.emailOptIn,
78
79
  content.terms,
79
80
  h("div", { class: sheet.classes.ButtonsContainer },
80
81
  h("sl-button", { submit: true, loading: states.loading, disabled: (_v = states.registrationFormState) === null || _v === void 0 ? void 0 : _v.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
@@ -6,7 +6,7 @@ import { PortalRegistrationFormView, } from "./sqm-portal-registration-form-view
6
6
  import { usePortalRegistrationForm } from "./usePortalRegistrationForm";
7
7
  /**
8
8
  * @uiName Microsite Registration
9
- * @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
9
+ * @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"},{"name":"emailOptIn","title":"Email Opt-in Fields"}]
10
10
  */
11
11
  export class PortalRegistrationForm {
12
12
  constructor() {
@@ -141,6 +141,7 @@ export class PortalRegistrationForm {
141
141
  secondaryButton: (h("slot", { name: "secondaryButton" },
142
142
  h("sl-button", { type: "text", disabled: states.loading, onClick: () => navigation.push(states.loginPath) }, this.loginLabel))),
143
143
  terms: h("slot", { name: "terms" }),
144
+ emailOptIn: h("slot", { name: "emailOptIn" }),
144
145
  emailLabel: this.emailLabel,
145
146
  passwordLabel: this.passwordLabel,
146
147
  submitLabel: this.submitLabel,
@@ -698,7 +699,7 @@ export class PortalRegistrationForm {
698
699
  "mutable": false,
699
700
  "complexType": {
700
701
  "original": "DemoData<PortalRegistrationFormViewProps>",
701
- "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
702
+ "resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; emailOptIn?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
702
703
  "references": {
703
704
  "DemoData": {
704
705
  "location": "import",
@@ -95,8 +95,8 @@ export class PortalResetPassword {
95
95
  */
96
96
  this.resetSuccessText = "Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";
97
97
  /**
98
- * @uiName Network error message
99
98
  * Displayed when the password reset fails due to a network error. The participant can try refreshing the page.
99
+ * @uiName Network error message
100
100
  */
101
101
  this.networkErrorMessage = "An error occurred while resetting your password. Please refresh the page and try again.";
102
102
  withHooks(this);
@@ -510,10 +510,10 @@ export class PortalResetPassword {
510
510
  "optional": false,
511
511
  "docs": {
512
512
  "tags": [{
513
- "text": "Network error message\nDisplayed when the password reset fails due to a network error. The participant can try refreshing the page.",
513
+ "text": "Network error message",
514
514
  "name": "uiName"
515
515
  }],
516
- "text": ""
516
+ "text": "Displayed when the password reset fails due to a network error. The participant can try refreshing the page."
517
517
  },
518
518
  "attribute": "network-error-message",
519
519
  "reflect": false,
@@ -45,8 +45,8 @@ export class PortalVerifyEmail {
45
45
  */
46
46
  this.continueText = "Continue";
47
47
  /**
48
- * @uiName Network error message
49
48
  * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
49
+ * @uiName Network error message
50
50
  */
51
51
  this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
52
52
  withHooks(this);
@@ -214,10 +214,10 @@ export class PortalVerifyEmail {
214
214
  "optional": false,
215
215
  "docs": {
216
216
  "tags": [{
217
- "text": "Network error message\nDisplayed when the email verification fails due to a network error. The participant can try refreshing the page.",
217
+ "text": "Network error message",
218
218
  "name": "uiName"
219
219
  }],
220
- "text": ""
220
+ "text": "Displayed when the email verification fails due to a network error. The participant can try refreshing the page."
221
221
  },
222
222
  "attribute": "network-error-message",
223
223
  "reflect": false,
@@ -26,6 +26,7 @@ import * as SidebarItem from "../sqm-navigation-sidebar-item/SidebarItem.stories
26
26
  import * as NavigationSidebar from "../sqm-navigation-sidebar/NavigationSidebar.stories";
27
27
  import * as PortalLogin from "../sqm-portal-login/PortalLogin.stories";
28
28
  import * as PortalRegister from "../sqm-portal-register/PortalRegister.stories";
29
+ import * as NewPortalRegistrationForm from "../sqm-portal-registration-form/PortalRegistrationForm.stories";
29
30
  import * as PortalForgotPassword from "../sqm-portal-forgot-password/PortalForgotPassword.stories";
30
31
  import * as PortalEmailVerification from "../sqm-portal-email-verification/PortalEmailVerification.stories";
31
32
  import * as PortalResetPassword from "../sqm-portal-reset-password/PortalResetPassword.stories";
@@ -33,6 +34,7 @@ import * as PortalVerifyEmail from "../sqm-portal-verify-email/PortalVerifyEmail
33
34
  import * as AssetCard from "../sqm-asset-card/AssetCard.stories";
34
35
  import * as DividedLayout from "../sqm-divided-layout/DividedLayout.stories";
35
36
  import * as ChangePassword from "../sqm-portal-change-password/ChangePassword.stories";
37
+ import * as ChangeMarketing from "../sqm-portal-change-marketing/ChangeMarketing.stories";
36
38
  import * as PortalProfile from "../sqm-portal-profile/PortalProfile.stories";
37
39
  import * as ReferralTable from "../sqm-referral-table/ReferralTable.stories";
38
40
  import * as ReferralTableCell from "../sqm-referral-table/ReferralTableCell.stories";
@@ -48,6 +50,7 @@ import * as Hero from "../sqm-hero/Hero.stories";
48
50
  import * as ReferralIframe from "../sqm-referral-iframe/ReferralIframe.stories";
49
51
  import * as NameFields from "../sqm-name-fields/NameFields.stories";
50
52
  import * as CheckboxField from "../sqm-checkbox-field/CheckboxField.stories";
53
+ import * as MarketingEmailsCheckbox from "../sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories";
51
54
  import * as UseCheckboxField from "../sqm-checkbox-field/UseCheckboxField.stories";
52
55
  import * as DropdownField from "../sqm-dropdown-field/DropdownField.stories";
53
56
  import * as UseDropdownField from "../sqm-dropdown-field/UseDropdownField.stories";
@@ -149,6 +152,7 @@ const stories = [
149
152
  ReferralIframe,
150
153
  NameFields,
151
154
  CheckboxField,
155
+ MarketingEmailsCheckbox,
152
156
  DropdownField,
153
157
  InputField,
154
158
  RewardExchangeList,
@@ -184,6 +188,8 @@ const stories = [
184
188
  TaxFormSlots,
185
189
  PayoutDetailsCard,
186
190
  BankingInfoForm,
191
+ NewPortalRegistrationForm,
192
+ ChangeMarketing,
187
193
  BaseRegistrationForm,
188
194
  PortalRegistrationForm,
189
195
  PortalGoogleRegistrationFormStories,
@@ -1,18 +1,17 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
2
- import { m as useState, b as browser, u as useMemo } from './stencil-hooks.module-c643ef4a.js';
3
- import { i as intl } from './global-19d115b9.js';
4
- import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-8553586f.js';
2
+ import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-be1f9992.js';
4
+ import { d as dist, H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-89a79f66.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { l as luxonLocale } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-1fdb0d92.js';
8
+ import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-459a2e35.js';
9
9
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
10
- import { C as CopyTextView } from './copy-text-view-782137ba.js';
11
- import { u as useChildElements } from './useChildElements-cbd0fedf.js';
12
- import { l as luxon } from './luxon-94dbc741.js';
10
+ import { u as useChildElements } from './useChildElements-7945ae56.js';
11
+ import { l as luxon } from './luxon-8d51c92b.js';
13
12
  import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
14
13
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { a as isValidColor, b as isMobile } from './utilities-559f8273.js';
14
+ import { a as isValidColor, b as isMobile } from './utilities-5b0ca040.js';
16
15
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
17
16
 
18
17
  const medium = {
@@ -1661,6 +1660,109 @@ function PortalRegisterView(props) {
1661
1660
  }
1662
1661
 
1663
1662
  const style$4 = {
1663
+ ErrorStyle: {
1664
+ "&::part(control)": {
1665
+ background: "var(--sl-color-danger-10)",
1666
+ borderColor: "var(--sl-color-danger-500)",
1667
+ outline: "var(--sl-color-danger-500)",
1668
+ },
1669
+ "&:host": {
1670
+ "--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
1671
+ },
1672
+ },
1673
+ ErrorMessageStyle: {
1674
+ margin: 0,
1675
+ marginTop: "5px",
1676
+ color: "var(--sl-color-danger-500)",
1677
+ fontSize: "var(--sl-input-help-text-font-size-medium)",
1678
+ fontFamily: "var(--sl-font-sans)",
1679
+ fontWeight: "var(--sl-font-weight-normal)",
1680
+ },
1681
+ FieldContainer: {
1682
+ "margin-bottom": "var(--sl-spacing-large)",
1683
+ },
1684
+ };
1685
+ const vanillaStyle$2 = `
1686
+ :host {
1687
+ margin: 0 auto;
1688
+ width: 100%;
1689
+ display: block;
1690
+ }
1691
+ sl-checkbox::part(label){
1692
+ font-size: var(--sl-input-label-font-size-small);
1693
+ font-weight: var(--sl-font-weight-normal);
1694
+ line-height: 20px;
1695
+ }
1696
+ sl-checkbox::part(base){
1697
+ align-items: start;
1698
+ }
1699
+ `;
1700
+ jss.setup(create());
1701
+ const sheet$4 = jss.createStyleSheet(style$4);
1702
+ const styleString$4 = sheet$4.toString();
1703
+ function CheckboxFieldView(props) {
1704
+ var _b, _c;
1705
+ const { states, content, callbacks } = props;
1706
+ return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
1707
+ h("style", { type: "text/css" },
1708
+ vanillaStyle$2,
1709
+ styleString$4),
1710
+ h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
1711
+ e.target.value = e.target.checked;
1712
+ callbacks.setChecked(e.target.value);
1713
+ } }, (!content.checkboxOptional ? { required: false } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), required: false }), intl.formatMessage({
1714
+ id: content.checkboxName + "-message",
1715
+ defaultMessage: content.checkboxLabel,
1716
+ }, {
1717
+ labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
1718
+ }))));
1719
+ }
1720
+
1721
+ function ChangeMarktingView(props) {
1722
+ const { states, callbacks } = props;
1723
+ const { text, formState } = states;
1724
+ const { error } = formState;
1725
+ const style = {
1726
+ Container: {
1727
+ display: "flex",
1728
+ flexDirection: "column",
1729
+ gap: "var(--sl-spacing-x-small)",
1730
+ padding: "0 var(--sl-spacing-xxx-large) var(--sl-spacing-xxx-large)",
1731
+ },
1732
+ SubmitButton: { marginBottom: "var(--sl-spacing-medium)" },
1733
+ Error: {
1734
+ "&::part(erroralert-base)": {
1735
+ "margin-bottom": "15px",
1736
+ },
1737
+ },
1738
+ Success: {
1739
+ "&::part(successalert-base)": {
1740
+ "margin-bottom": "15px",
1741
+ },
1742
+ },
1743
+ };
1744
+ const sheet = createStyleSheet(style);
1745
+ const styleString = sheet.toString();
1746
+ return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
1747
+ h("style", { type: "text/css" }, styleString),
1748
+ h(TextSpanView, Object.assign({}, { type: "h2" }), text.emailPreferencesHeader),
1749
+ h("sl-form", { "onSl-submit": callbacks.onSubmit },
1750
+ h(CheckboxFieldView, { states: {
1751
+ checked: states.formState.marketingEmailOptIn,
1752
+ }, content: {
1753
+ checkboxLabel: text.marketingCheckboxLabel,
1754
+ checkboxName: "marketingEmailOptIn",
1755
+ }, callbacks: {
1756
+ setChecked: callbacks.setChecked,
1757
+ } }),
1758
+ h("sl-button", { class: sheet.classes.SubmitButton, type: "primary", submit: true, loading: states.loading, disabled: states.submitDisabled }, text.submitChangeButtonText),
1759
+ error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
1760
+ h("div", { part: "erroralert-text" }, error))),
1761
+ states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
1762
+ h("div", { part: "successalert-text" }, states.text.successMessage))))));
1763
+ }
1764
+
1765
+ const style$5 = {
1664
1766
  Description: {
1665
1767
  "& input[type=checkbox]": {
1666
1768
  display: "none",
@@ -1699,13 +1801,13 @@ const style$4 = {
1699
1801
  },
1700
1802
  },
1701
1803
  };
1702
- const sheet$4 = createStyleSheet(style$4);
1703
- const styleString$4 = sheet$4.toString();
1804
+ const sheet$5 = createStyleSheet(style$5);
1805
+ const styleString$5 = sheet$5.toString();
1704
1806
  function Details(props) {
1705
1807
  const rid = Math.random().toString(36).slice(2);
1706
1808
  return (h("div", { style: { opacity: props.opacity } },
1707
- h("style", { type: "text/css" }, styleString$4),
1708
- h("span", { class: sheet$4.classes.Description },
1809
+ h("style", { type: "text/css" }, styleString$5),
1810
+ h("span", { class: sheet$5.classes.Description },
1709
1811
  h("input", { type: "checkbox", id: "details-" + rid }),
1710
1812
  h("label", { class: "details", htmlFor: "details-" + rid },
1711
1813
  h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1727,7 +1829,7 @@ const GreyGift = () => {
1727
1829
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1728
1830
  };
1729
1831
 
1730
- const style$5 = {
1832
+ const style$6 = {
1731
1833
  ProgressBar: {
1732
1834
  "& .progress-bar": {
1733
1835
  height: "0",
@@ -1839,14 +1941,14 @@ const style$5 = {
1839
1941
  },
1840
1942
  },
1841
1943
  };
1842
- const sheet$5 = createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
1843
- const styleString$5 = sheet$5.toString();
1944
+ const sheet$6 = createStyleSheet(style$6, { classNamePrefix: "sqm-prog-bar" });
1945
+ const styleString$6 = sheet$6.toString();
1844
1946
  function ProgressBarView(props) {
1845
1947
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1846
1948
  let aggregate = buildProgressBar(repeatable, steps, props);
1847
1949
  const { columns, items } = aggregate;
1848
- return (h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1849
- h("style", { type: "text/css" }, styleString$5),
1950
+ return (h("div", { class: sheet$6.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1951
+ h("style", { type: "text/css" }, styleString$6),
1850
1952
  h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1851
1953
  (Boolean(finite) && progress > 2 * goal)
1852
1954
  ? "progress-bar repeatable-steps"
@@ -2137,7 +2239,7 @@ const arrow_left_right = () => {
2137
2239
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
2138
2240
  };
2139
2241
 
2140
- const style$6 = {
2242
+ const style$7 = {
2141
2243
  TaskCard: {
2142
2244
  display: "inline-block",
2143
2245
  width: "100%",
@@ -2291,8 +2393,8 @@ const style$6 = {
2291
2393
  },
2292
2394
  },
2293
2395
  };
2294
- const sheet$6 = createStyleSheet(style$6);
2295
- const styleString$6 = sheet$6.toString();
2396
+ const sheet$7 = createStyleSheet(style$7);
2397
+ const styleString$7 = sheet$7.toString();
2296
2398
  function TaskCardView(props) {
2297
2399
  var _a, _b;
2298
2400
  const { callbacks, states, content } = props;
@@ -2328,11 +2430,11 @@ function TaskCardView(props) {
2328
2430
  }
2329
2431
 
2330
2432
  `;
2331
- return (h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
2433
+ return (h("div", { class: sheet$7.classes.TaskCard, part: "sqm-base" },
2332
2434
  h("style", { type: "text/css" },
2333
- styleString$6,
2435
+ styleString$7,
2334
2436
  vanillaStyle),
2335
- !states.loading && taskNotStarted && (h("div", { class: sheet$6.classes.NotStarted },
2437
+ !states.loading && taskNotStarted && (h("div", { class: sheet$7.classes.NotStarted },
2336
2438
  h("span", { class: "icon" },
2337
2439
  h("sl-icon", { name: "info-circle-fill" })),
2338
2440
  intl.formatMessage({
@@ -2343,7 +2445,7 @@ function TaskCardView(props) {
2343
2445
  .setLocale(luxonLocale(states.locale))
2344
2446
  .toLocaleString(luxon.DateTime.DATETIME_MED),
2345
2447
  }))),
2346
- !states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
2448
+ !states.loading && taskEnded && (h("div", { class: sheet$7.classes.Ended },
2347
2449
  h("span", { class: "icon" },
2348
2450
  h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2349
2451
  intl.formatMessage({
@@ -2363,7 +2465,7 @@ function TaskCardView(props) {
2363
2465
  ? "main complete"
2364
2466
  : "main" },
2365
2467
  h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2366
- h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2468
+ h("div", { class: sheet$7.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2367
2469
  showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2368
2470
  h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2369
2471
  h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
@@ -2379,7 +2481,7 @@ function TaskCardView(props) {
2379
2481
  } }, content.cardTitle)),
2380
2482
  states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2381
2483
  content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
2382
- h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2484
+ h("div", { class: sheet$7.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2383
2485
  h("span", { class: "text" },
2384
2486
  content.repeatable && (h("div", null,
2385
2487
  h("span", { class: repetitions > 0
@@ -2450,7 +2552,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
2450
2552
  h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
2451
2553
  }
2452
2554
 
2453
- const vanillaStyle$2 = `
2555
+ const vanillaStyle$3 = `
2454
2556
  :host{
2455
2557
  margin: 0 auto;
2456
2558
  width: 100%;
@@ -2506,7 +2608,7 @@ function PortalFooterView(props) {
2506
2608
  const styleString = sheet.toString();
2507
2609
  return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2508
2610
  h("style", { type: "text/css" },
2509
- vanillaStyle$2,
2611
+ vanillaStyle$3,
2510
2612
  styleString),
2511
2613
  h("div", { class: sheet.classes.RowContainer },
2512
2614
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2678,7 +2780,7 @@ function ReferralIframeView(props) {
2678
2780
  h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
2679
2781
  }
2680
2782
 
2681
- const style$7 = {
2783
+ const style$8 = {
2682
2784
  ErrorStyle: ErrorStyles,
2683
2785
  FieldsContainer: {
2684
2786
  "& sl-input": {
@@ -2686,7 +2788,7 @@ const style$7 = {
2686
2788
  },
2687
2789
  },
2688
2790
  };
2689
- const vanillaStyle$3 = `
2791
+ const vanillaStyle$4 = `
2690
2792
  :host {
2691
2793
  margin: 0 auto;
2692
2794
  width: 100%;
@@ -2698,21 +2800,21 @@ sl-input::part(label){
2698
2800
  font-weight: var(--sl-font-weight-semibold);
2699
2801
  }
2700
2802
  `;
2701
- const sheet$7 = createStyleSheet(style$7);
2702
- const styleString$7 = sheet$7.toString();
2803
+ const sheet$8 = createStyleSheet(style$8);
2804
+ const styleString$8 = sheet$8.toString();
2703
2805
  function NameFieldsView(props) {
2704
2806
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2705
2807
  const { states } = props;
2706
2808
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2707
- return (h("div", { class: sheet$7.classes.FieldsContainer },
2809
+ return (h("div", { class: sheet$8.classes.FieldsContainer },
2708
2810
  h("style", { type: "text/css" },
2709
- vanillaStyle$3,
2710
- styleString$7),
2811
+ vanillaStyle$4,
2812
+ styleString$8),
2711
2813
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2712
2814
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2713
2815
  }
2714
2816
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2715
- class: sheet$7.classes.ErrorStyle,
2817
+ class: sheet$8.classes.ErrorStyle,
2716
2818
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2717
2819
  }
2718
2820
  : []))),
@@ -2720,81 +2822,12 @@ function NameFieldsView(props) {
2720
2822
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2721
2823
  }
2722
2824
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2723
- class: sheet$7.classes.ErrorStyle,
2825
+ class: sheet$8.classes.ErrorStyle,
2724
2826
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2725
2827
  }
2726
2828
  : [])))));
2727
2829
  }
2728
2830
 
2729
- const style$8 = {
2730
- ErrorStyle: {
2731
- "&::part(control)": {
2732
- background: "var(--sl-color-danger-10)",
2733
- borderColor: "var(--sl-color-danger-500)",
2734
- outline: "var(--sl-color-danger-500)",
2735
- },
2736
- "&:host": {
2737
- "--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
2738
- },
2739
- },
2740
- ErrorMessageStyle: {
2741
- margin: 0,
2742
- marginTop: "5px",
2743
- color: "var(--sl-color-danger-500)",
2744
- fontSize: "var(--sl-input-help-text-font-size-medium)",
2745
- fontFamily: "var(--sl-font-sans)",
2746
- fontWeight: "var(--sl-font-weight-normal)",
2747
- },
2748
- FieldContainer: {
2749
- "margin-bottom": "var(--sl-spacing-large)",
2750
- },
2751
- };
2752
- const vanillaStyle$4 = `
2753
- :host {
2754
- margin: 0 auto;
2755
- width: 100%;
2756
- display: block;
2757
- }
2758
- sl-checkbox::part(label){
2759
- font-size: var(--sl-input-label-font-size-small);
2760
- font-weight: var(--sl-font-weight-normal);
2761
- line-height: 20px;
2762
- }
2763
- sl-checkbox::part(base){
2764
- align-items: start;
2765
- }
2766
- `;
2767
- jss.setup(create());
2768
- const sheet$8 = jss.createStyleSheet(style$8);
2769
- const styleString$8 = sheet$8.toString();
2770
- function CheckboxFieldView(props) {
2771
- var _a, _b, _c;
2772
- const { states, content, callbacks } = props;
2773
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2774
- return (h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
2775
- h("style", { type: "text/css" },
2776
- vanillaStyle$4,
2777
- styleString$8),
2778
- h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
2779
- e.target.value = e.target.checked;
2780
- callbacks.setChecked(e.target.value);
2781
- } }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
2782
- ? {
2783
- class: sheet$8.classes.ErrorStyle,
2784
- }
2785
- : [])),
2786
- intl.formatMessage({
2787
- id: content.checkboxName + "-message",
2788
- defaultMessage: content.checkboxLabel,
2789
- }, {
2790
- labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
2791
- }),
2792
- !states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$8.classes.ErrorMessageStyle }, intl.formatMessage({
2793
- id: `errorMessage-${content.checkboxName}`,
2794
- defaultMessage: content.errorMessage,
2795
- }))))));
2796
- }
2797
-
2798
2831
  const style$9 = {
2799
2832
  ErrorStyle: {
2800
2833
  "--sl-input-border-color": "var(--sl-color-danger-500)",
@@ -4095,4 +4128,4 @@ const ShadowViewAddon = ({ story }, children) => {
4095
4128
  h(TagName, { "stencilbook-shadow-view": randomInt })));
4096
4129
  };
4097
4130
 
4098
- export { empty as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, rewardExchange as F, CardFeedView as G, HeroView as H, InputFieldView as I, CouponCodeView as J, ProgressBar as K, LeaderboardView as L, autoColorScaleCss as M, NameFieldsView as N, ShadowViewAddon as O, PortalFrameView as P, useBigStat as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, withShadowView as U, demoRewardExchange as V, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalRegisterView as e, ProgressBarView as f, PoweredByImg as g, PortalFooterView as h, RewardExchangeView as i, rewardExchangeLongText as j, rewardExchangeSelected as k, chooseAmountFixed as l, chooseAmountFixedNoDescription as m, chooseAmountVariable as n, chooseAmountVariableNoDescription as o, chooseAmountVariableDisabled as p, chooseAmountVariableUnavailable as q, rewardExchangeCustomErrorMsg as r, confirmFixed as s, confirmVariable as t, useShareLink as u, redemptionError as v, queryError as w, success as x, successVariable as y, loading as z };
4131
+ export { loading as A, BigStatView as B, ChangeMarktingView as C, DropdownFieldView as D, EditProfileView as E, empty as F, rewardExchange as G, HeroView as H, InputFieldView as I, CardFeedView as J, CouponCodeView as K, LeaderboardView as L, ProgressBar as M, NameFieldsView as N, autoColorScaleCss as O, PortalFrameView as P, ShadowViewAddon as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, useBigStat as U, withShadowView as V, demoRewardExchange as W, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalRegisterView as e, ProgressBarView as f, PoweredByImg as g, PortalFooterView as h, CheckboxFieldView as i, RewardExchangeView as j, rewardExchangeLongText as k, rewardExchangeSelected as l, chooseAmountFixed as m, chooseAmountFixedNoDescription as n, chooseAmountVariable as o, chooseAmountVariableNoDescription as p, chooseAmountVariableDisabled as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableUnavailable as s, confirmFixed as t, useShareLink as u, confirmVariable as v, redemptionError as w, queryError as x, success as y, successVariable as z };