@saasquatch/mint-components 2.1.9-6 → 2.1.9-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 (285) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/{sqm-big-stat_45.cjs.entry.js → sqm-big-stat_46.cjs.entry.js} +367 -3
  4. package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -4
  5. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +8 -11
  6. package/dist/cjs/{sqm-partner-info-modal-view-e3faede9.js → sqm-partner-info-modal-view-cd758f12.js} +1 -2
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +27 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +1 -2
  10. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +10 -11
  11. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +1 -1
  12. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  13. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
  14. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
  15. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
  16. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +49 -1
  17. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +1 -0
  18. package/dist/esm/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +5 -5
  19. package/dist/esm/{data-a6752028.js → data-2b0feb3f.js} +2 -2
  20. package/dist/esm/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
  21. package/dist/esm/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
  22. package/dist/esm/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  23. package/dist/esm/loader.js +3 -3
  24. package/dist/esm/mint-components.js +3 -3
  25. package/dist/esm/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
  26. package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
  27. package/dist/esm/{sqm-big-stat_45.entry.js → sqm-big-stat_46.entry.js} +379 -16
  28. package/dist/esm/sqm-close-button.entry.js +1 -1
  29. package/dist/esm/sqm-code-verification.entry.js +7 -8
  30. package/dist/esm/sqm-context-router.entry.js +1 -1
  31. package/dist/esm/sqm-email-verification_2.entry.js +12 -15
  32. package/dist/esm/sqm-empty_4.entry.js +2 -2
  33. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  34. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  35. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  36. package/dist/esm/{sqm-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  37. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  38. package/dist/esm/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  39. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  40. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  41. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  42. package/dist/esm/{sqm-navigation-sidebar-item-view-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  43. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  44. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  45. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  46. package/dist/esm/{sqm-partner-info-modal-view-77c231af.js → sqm-partner-info-modal-view-dbedda28.js} +1 -2
  47. package/dist/esm/sqm-password-field.entry.js +2 -2
  48. package/dist/esm/sqm-popup-container.entry.js +1 -1
  49. package/dist/esm/{sqm-portal-email-verification-view-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
  50. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  51. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  52. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  53. package/dist/esm/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.js} +1 -1
  54. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  55. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  56. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  57. package/dist/esm/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
  58. package/dist/esm/sqm-qr-code.entry.js +2 -2
  59. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  60. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  61. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  62. package/dist/esm/sqm-stencilbook.entry.js +41 -15
  63. package/dist/esm/sqm-tab.entry.js +2 -2
  64. package/dist/esm/sqm-tabs.entry.js +3 -3
  65. package/dist/esm/{sqm-user-info-form-view-ef04a79f.js → sqm-user-info-form-view-f9026468.js} +2 -2
  66. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  67. package/dist/esm/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
  68. package/dist/esm/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +2 -2
  69. package/dist/esm/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +2 -2
  70. package/dist/esm/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
  71. package/dist/esm/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +2 -2
  72. package/dist/esm/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
  73. package/dist/esm/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +3 -3
  74. package/dist/esm/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
  75. package/dist/esm/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
  76. package/dist/esm/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
  77. package/dist/esm-es5/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +1 -1
  78. package/dist/esm-es5/{data-a6752028.js → data-2b0feb3f.js} +1 -1
  79. package/dist/esm-es5/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
  80. package/dist/esm-es5/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
  81. package/dist/esm-es5/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  82. package/dist/esm-es5/loader.js +1 -1
  83. package/dist/esm-es5/mint-components.js +1 -1
  84. package/dist/esm-es5/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
  85. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  86. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -0
  87. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  88. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  89. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  90. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
  91. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  92. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  93. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  94. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  95. package/dist/esm-es5/{sqm-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  96. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  97. package/dist/esm-es5/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  98. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  99. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  100. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  101. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  102. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  103. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  104. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  105. package/dist/esm-es5/sqm-partner-info-modal-view-dbedda28.js +1 -0
  106. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  107. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  108. package/dist/esm-es5/{sqm-portal-email-verification-view-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
  109. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  110. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  112. package/dist/esm-es5/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.js} +1 -1
  113. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  114. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  115. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
  117. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  118. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  119. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  120. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  121. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  122. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  123. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  124. package/dist/esm-es5/{sqm-user-info-form-view-ef04a79f.js → sqm-user-info-form-view-f9026468.js} +1 -1
  125. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  126. package/dist/esm-es5/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
  127. package/dist/esm-es5/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +1 -1
  128. package/dist/esm-es5/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +1 -1
  129. package/dist/esm-es5/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
  130. package/dist/esm-es5/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +1 -1
  131. package/dist/esm-es5/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
  132. package/dist/esm-es5/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +1 -1
  133. package/dist/esm-es5/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
  134. package/dist/esm-es5/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
  135. package/dist/esm-es5/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
  136. package/dist/mint-components/mint-components.esm.js +1 -1
  137. package/dist/mint-components/mint-components.js +1 -1
  138. package/dist/mint-components/{p-51b8ed78.js → p-014977d7.js} +1 -1
  139. package/dist/mint-components/{p-30967f75.js → p-092db51a.js} +1 -1
  140. package/dist/mint-components/{p-bd804f4c.js → p-095b7128.js} +1 -1
  141. package/dist/mint-components/{p-bae7d6b5.system.entry.js → p-098d134a.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-504ed1f2.entry.js → p-0c43b6ff.entry.js} +1 -1
  143. package/dist/mint-components/{p-ab678644.js → p-0d75a207.js} +1 -1
  144. package/dist/mint-components/{p-473562fc.system.js → p-140e6a15.system.js} +1 -1
  145. package/dist/mint-components/{p-fa32d8eb.system.entry.js → p-15a703c7.system.entry.js} +1 -1
  146. package/dist/mint-components/p-160764bc.system.entry.js +1 -0
  147. package/dist/mint-components/{p-b9652150.entry.js → p-160828b4.entry.js} +1 -1
  148. package/dist/mint-components/{p-878bb2cf.system.entry.js → p-16deb1a9.system.entry.js} +1 -1
  149. package/dist/mint-components/{p-1435edd4.entry.js → p-1b0cbbae.entry.js} +1 -1
  150. package/dist/mint-components/{p-f50c3306.entry.js → p-1b2fcd7f.entry.js} +1 -1
  151. package/dist/mint-components/p-1c413a06.system.js +1 -0
  152. package/dist/mint-components/{p-2774c704.system.entry.js → p-21e7079a.system.entry.js} +1 -1
  153. package/dist/mint-components/{p-695ec086.system.js → p-28e0062c.system.js} +1 -1
  154. package/dist/mint-components/{p-c8060ef5.system.entry.js → p-2f4d8ab8.system.entry.js} +1 -1
  155. package/dist/mint-components/{p-dfb50245.entry.js → p-3181e54a.entry.js} +1 -1
  156. package/dist/mint-components/{p-5d79c8a0.system.js → p-31dde9fc.system.js} +1 -1
  157. package/dist/mint-components/{p-d863acaa.js → p-32d078a3.js} +1 -1
  158. package/dist/mint-components/{p-7528770e.entry.js → p-3461a8cb.entry.js} +1 -1
  159. package/dist/mint-components/{p-6e816a17.system.entry.js → p-357040e6.system.entry.js} +1 -1
  160. package/dist/mint-components/{p-452f644f.system.js → p-36395228.system.js} +1 -1
  161. package/dist/mint-components/{p-5245e4ce.system.entry.js → p-3756d0d1.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-5f6d617a.entry.js → p-37658fec.entry.js} +1 -1
  163. package/dist/mint-components/p-39840341.js +1 -0
  164. package/dist/mint-components/{p-5126508b.js → p-3c333076.js} +1 -1
  165. package/dist/mint-components/{p-6684e9ad.js → p-3c555674.js} +1 -1
  166. package/dist/mint-components/{p-21851092.js → p-3c88d2ed.js} +2 -2
  167. package/dist/mint-components/{p-e7a9ce16.js → p-438f6702.js} +1 -1
  168. package/dist/mint-components/{p-fe0eceba.system.entry.js → p-45475cf9.system.entry.js} +1 -1
  169. package/dist/mint-components/{p-f7948b16.system.entry.js → p-52748a87.system.entry.js} +1 -1
  170. package/dist/mint-components/{p-614630a8.system.js → p-54bf015a.system.js} +1 -1
  171. package/dist/mint-components/{p-d2d2c4ea.system.entry.js → p-59f69bdc.system.entry.js} +1 -1
  172. package/dist/mint-components/{p-96cbca52.system.entry.js → p-5c9d030a.system.entry.js} +1 -1
  173. package/dist/mint-components/{p-1b7b65ef.entry.js → p-5dc9e95b.entry.js} +2 -2
  174. package/dist/mint-components/{p-82be3d10.system.entry.js → p-60085f20.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-cc0fe4a3.entry.js → p-608da224.entry.js} +1 -1
  176. package/dist/mint-components/{p-5825aee6.system.entry.js → p-6194855b.system.entry.js} +1 -1
  177. package/dist/mint-components/{p-b8766db9.entry.js → p-62212b9a.entry.js} +1 -1
  178. package/dist/mint-components/{p-f3ddbe2f.system.entry.js → p-62e1c8b2.system.entry.js} +1 -1
  179. package/dist/mint-components/p-63c299f1.system.js +1 -0
  180. package/dist/mint-components/{p-adb56df3.system.entry.js → p-64b56141.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-1b9705fd.system.js → p-64f56cc9.system.js} +1 -1
  182. package/dist/mint-components/p-6638c7c6.system.js +1 -0
  183. package/dist/mint-components/{p-f95952a0.system.entry.js → p-66c0100c.system.entry.js} +1 -1
  184. package/dist/mint-components/{p-2ad9470d.system.entry.js → p-6a4496b3.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-1775cb0c.system.js → p-70e34ae1.system.js} +2 -2
  186. package/dist/mint-components/p-7144ac40.js +1 -0
  187. package/dist/mint-components/{p-20280398.system.entry.js → p-71545bfd.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-6d444f3f.system.js → p-74aac245.system.js} +1 -1
  189. package/dist/mint-components/{p-59644ef8.system.js → p-7547180f.system.js} +1 -1
  190. package/dist/mint-components/{p-f84605ec.system.js → p-77117f6c.system.js} +1 -1
  191. package/dist/mint-components/p-7a5814ef.system.entry.js +1 -0
  192. package/dist/mint-components/{p-a03189bd.js → p-7e36a1ff.js} +1 -1
  193. package/dist/mint-components/{p-5450693e.entry.js → p-8139fdec.entry.js} +1 -1
  194. package/dist/mint-components/{p-320b306b.js → p-8474aa63.js} +1 -1
  195. package/dist/mint-components/{p-33a6ab09.js → p-857a2d77.js} +1 -1
  196. package/dist/mint-components/{p-b179621d.system.js → p-86381dc7.system.js} +1 -1
  197. package/dist/mint-components/{p-e502fd80.entry.js → p-86a70151.entry.js} +1 -1
  198. package/dist/mint-components/{p-a30f0ffd.entry.js → p-886fb141.entry.js} +1 -1
  199. package/dist/mint-components/{p-b6fc53c9.entry.js → p-88c9cc1b.entry.js} +1 -1
  200. package/dist/mint-components/{p-97b8c481.js → p-896390f9.js} +1 -1
  201. package/dist/mint-components/{p-fca34d77.js → p-8f9c1387.js} +1 -1
  202. package/dist/mint-components/{p-44afc747.entry.js → p-93c5c8ec.entry.js} +1 -1
  203. package/dist/mint-components/{p-9c381424.system.entry.js → p-95aaf35a.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-f6fc7569.entry.js → p-96e4e6a4.entry.js} +1 -1
  205. package/dist/mint-components/{p-ed17e1b8.entry.js → p-991f60fc.entry.js} +1 -1
  206. package/dist/mint-components/{p-353ab6db.entry.js → p-996eb820.entry.js} +1 -1
  207. package/dist/mint-components/{p-b8288385.system.entry.js → p-998c989a.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-82905fda.system.js → p-9b33e2a7.system.js} +1 -1
  209. package/dist/mint-components/{p-7767314d.system.entry.js → p-9bd53e4d.system.entry.js} +1 -1
  210. package/dist/mint-components/{p-89f8ab67.entry.js → p-9c1b0c8b.entry.js} +1 -1
  211. package/dist/mint-components/{p-07f3b868.entry.js → p-9e43f1eb.entry.js} +1 -1
  212. package/dist/mint-components/{p-9fa6606e.js → p-a5912b2f.js} +1 -1
  213. package/dist/mint-components/{p-7a7ebf08.js → p-a7ee6531.js} +1 -1
  214. package/dist/mint-components/{p-83277c69.system.js → p-a86ce218.system.js} +1 -1
  215. package/dist/mint-components/{p-d6c1e876.system.js → p-a8ecdc44.system.js} +1 -1
  216. package/dist/mint-components/p-a9bf9d3c.entry.js +291 -0
  217. package/dist/mint-components/p-adcc37f3.entry.js +105 -0
  218. package/dist/mint-components/{p-f3b21df2.system.js → p-b1b8e629.system.js} +1 -1
  219. package/dist/mint-components/{p-93cb9438.system.entry.js → p-b297016f.system.entry.js} +1 -1
  220. package/dist/mint-components/p-b2a99637.system.js +1 -0
  221. package/dist/mint-components/p-b2bde2f5.entry.js +1 -0
  222. package/dist/mint-components/{p-d2448c85.system.entry.js → p-b451970a.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-4da8028d.system.entry.js → p-b5c0bad5.system.entry.js} +1 -1
  224. package/dist/mint-components/{p-ad017a39.js → p-b5f57914.js} +1 -1
  225. package/dist/mint-components/{p-80174c14.entry.js → p-b5fed7c6.entry.js} +1 -1
  226. package/dist/mint-components/{p-c2c01ab5.entry.js → p-ba953c21.entry.js} +1 -1
  227. package/dist/mint-components/{p-47f594c3.entry.js → p-bba694e4.entry.js} +1 -1
  228. package/dist/mint-components/{p-d5375baf.js → p-bcadd021.js} +1 -1
  229. package/dist/mint-components/{p-79854479.system.js → p-be63f29b.system.js} +1 -1
  230. package/dist/mint-components/p-bfbfde38.entry.js +33 -0
  231. package/dist/mint-components/{p-07da0ddd.system.entry.js → p-c7535e70.system.entry.js} +1 -1
  232. package/dist/mint-components/{p-d42aba0e.system.js → p-c84a2512.system.js} +1 -1
  233. package/dist/mint-components/{p-55b1be64.system.entry.js → p-c8e45671.system.entry.js} +1 -1
  234. package/dist/mint-components/{p-e5e8e13e.js → p-ce11858c.js} +1 -1
  235. package/dist/mint-components/{p-1d450b85.js → p-d20188db.js} +1 -1
  236. package/dist/mint-components/{p-6a754f51.entry.js → p-d2927531.entry.js} +2 -2
  237. package/dist/mint-components/{p-e4d3b7a9.system.js → p-d355336b.system.js} +1 -1
  238. package/dist/mint-components/{p-5822a43f.system.entry.js → p-d5a1c979.system.entry.js} +1 -1
  239. package/dist/mint-components/p-d6714617.entry.js +1 -0
  240. package/dist/mint-components/{p-5e106c95.system.js → p-d798004f.system.js} +1 -1
  241. package/dist/mint-components/p-dac1f2cb.system.entry.js +1 -0
  242. package/dist/mint-components/{p-7333d103.system.entry.js → p-dbdb2a46.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-c756bc32.system.js → p-e4dbca9a.system.js} +1 -1
  244. package/dist/mint-components/{p-7c0255ad.entry.js → p-e5ee6cf5.entry.js} +2 -2
  245. package/dist/mint-components/{p-8f5b316e.js → p-e95402dc.js} +1 -1
  246. package/dist/mint-components/{p-0a900fb1.system.entry.js → p-e9e05970.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-546a65c7.system.js → p-eaf5d0af.system.js} +1 -1
  248. package/dist/mint-components/{p-84866680.entry.js → p-f11d29fd.entry.js} +1 -1
  249. package/dist/mint-components/{p-dece706f.js → p-f18a6658.js} +1 -1
  250. package/dist/mint-components/{p-06ca4346.entry.js → p-f4a57aed.entry.js} +1 -1
  251. package/dist/mint-components/{p-2e2c5ec4.entry.js → p-f972e5c9.entry.js} +1 -1
  252. package/dist/mint-components/{p-91c4b8d5.system.entry.js → p-fb4ab5ba.system.entry.js} +1 -1
  253. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +3 -3
  254. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +1 -0
  255. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
  256. package/dist/types/components.d.ts +5 -5
  257. package/docs/docs.docx +0 -0
  258. package/docs/raisins.json +1 -1
  259. package/package.json +1 -1
  260. package/dist/cjs/extractProps-fd93ba62.js +0 -21
  261. package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -314
  262. package/dist/esm/extractProps-ae1afbb3.js +0 -19
  263. package/dist/esm/sqm-widget-verification.entry.js +0 -310
  264. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  265. package/dist/esm-es5/sqm-big-stat_45.entry.js +0 -1
  266. package/dist/esm-es5/sqm-partner-info-modal-view-77c231af.js +0 -1
  267. package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
  268. package/dist/mint-components/p-0f723dbb.entry.js +0 -19
  269. package/dist/mint-components/p-1b0d7020.js +0 -1
  270. package/dist/mint-components/p-26468242.js +0 -1
  271. package/dist/mint-components/p-2c0bb139.entry.js +0 -33
  272. package/dist/mint-components/p-35724e1c.entry.js +0 -1
  273. package/dist/mint-components/p-38c7775a.js +0 -1
  274. package/dist/mint-components/p-4b365f1f.system.js +0 -1
  275. package/dist/mint-components/p-515ac953.system.entry.js +0 -1
  276. package/dist/mint-components/p-57dd28bd.system.js +0 -1
  277. package/dist/mint-components/p-5a446168.entry.js +0 -273
  278. package/dist/mint-components/p-71c585b7.entry.js +0 -1
  279. package/dist/mint-components/p-78909fc0.system.js +0 -1
  280. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  281. package/dist/mint-components/p-ac3148b1.system.entry.js +0 -1
  282. package/dist/mint-components/p-aeb01a77.system.entry.js +0 -1
  283. package/dist/mint-components/p-e44c816e.system.js +0 -1
  284. package/dist/mint-components/p-e9a596d6.system.entry.js +0 -1
  285. package/dist/mint-components/p-eca21075.entry.js +0 -105
@@ -1,35 +1,35 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
2
- import { b as buildFontsCssUrl, i as intl } from './global-b2ee3a12.js';
2
+ import { b as buildFontsCssUrl, i as intl } from './global-39f55ec2.js';
3
3
  import { n as h, f as useEffect, i as d, k as useState, m as useRef, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-50442785.js';
4
- import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn, r as Ue, e as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn } from './index.module-e266b4d7.js';
4
+ import { i as isDemo, _ as _$1, d as dist, J, H, B, $ as $e, w as wn, b as useCallback, L, y as yn, j as jn, q as Ue, e as setUserIdentity, Q as Qe, k as kn, M as Mn, I as In, S as Sn, r as En, X as Xe } from './index.module-cede12c6.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import './useReferralCodes-1ca1fda0.js';
9
+ import './useReferralCodes-3cde72d4.js';
10
10
  import './mixins-f750863a.js';
11
11
  import { C as CopyTextView } from './copy-text-view-87259b11.js';
12
12
  import './sqm-text-span-view-738acfb3.js';
13
- import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-6d562bf8.js';
14
- import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-0cee2d21.js';
13
+ import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-5844032a.js';
14
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-1813bdef.js';
15
15
  import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
16
- import { a as useRequestRerender } from './re-render-4f4bd4da.js';
17
- import { u as useChildElements } from './useChildElements-31ba3daf.js';
16
+ import { a as useRequestRerender } from './re-render-7a0c7976.js';
17
+ import { u as useChildElements } from './useChildElements-c26d7347.js';
18
18
  import './luxon-1be92a8e.js';
19
19
  import { p as pathToRegexp } from './index-ffa26b43.js';
20
20
  import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
21
21
  import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
22
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-1388dace.js';
23
- import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-cec544ea.js';
24
- import { i as isEmpty } from './utilities-f05633da.js';
22
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-e2392f42.js';
23
+ import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-9099c8d4.js';
24
+ import { i as isEmpty } from './utilities-c9e730ed.js';
25
25
  import { E as ErrorView } from './ErrorView-74cb3af8.js';
26
- import { u as useDemoBigStat, V as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-d382a63e.js';
26
+ import { u as useDemoBigStat, V as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-657d18f0.js';
27
27
  import './sqm-portal-container-view-a8c708cd.js';
28
- import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-a6752028.js';
29
- import { p as parseStates } from './parseStates-ed75e224.js';
30
- import { e as extractProps } from './extractProps-ae1afbb3.js';
28
+ import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-2b0feb3f.js';
29
+ import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
31
30
  import './eventKeys-f76b6a03.js';
32
- import { u as usePayoutStatus } from './usePayoutStatus-24145412.js';
31
+ import { u as usePayoutStatus } from './usePayoutStatus-fa504d49.js';
32
+ import { p as parseStates } from './parseStates-ed75e224.js';
33
33
 
34
34
  /**
35
35
  *
@@ -6390,6 +6390,24 @@ function useTaskCardDemo(props) {
6390
6390
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6391
6391
  }
6392
6392
 
6393
+ /**
6394
+ * Util function for getting just the props with a certain prefix.
6395
+ * @param props Text props on stencil component
6396
+ * @param prefix Prefix denoting which group the text prop belongs to
6397
+ * @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
6398
+ */
6399
+ function extractProps(props, prefix) {
6400
+ const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
6401
+ const formattedProps = keys.reduce((prev, k) => {
6402
+ const key = k.replace(prefix, "");
6403
+ return {
6404
+ ...prev,
6405
+ [key]: props[k],
6406
+ };
6407
+ }, {});
6408
+ return formattedProps;
6409
+ }
6410
+
6393
6411
  function getCurrentStep(user) {
6394
6412
  var _a, _b;
6395
6413
  if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
@@ -7937,4 +7955,349 @@ function useUserNameDemo(props) {
7937
7955
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
7938
7956
  }
7939
7957
 
7940
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
7958
+ const USER_LOOKUP = dist.gql `
7959
+ query checkUserVerification {
7960
+ viewer {
7961
+ ... on User {
7962
+ id
7963
+ accountId
7964
+ email
7965
+ emailVerified
7966
+ managedIdentity {
7967
+ email
7968
+ emailVerified
7969
+ }
7970
+ impactConnection {
7971
+ connected
7972
+ }
7973
+ }
7974
+ }
7975
+ }
7976
+ `;
7977
+ function useWidgetVerification() {
7978
+ const userIdentity = J();
7979
+ const [showCode, setShowCode] = In({
7980
+ namespace: SHOW_CODE_NAMESPACE,
7981
+ initialValue: false,
7982
+ });
7983
+ const [email, setEmail] = In({
7984
+ namespace: VERIFICATION_EMAIL_NAMESPACE,
7985
+ initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
7986
+ });
7987
+ const setContext = En(VERIFICATION_PARENT_NAMESPACE);
7988
+ const [loading, setLoading] = useState(true);
7989
+ const [showPartnerModal, setShowPartnerModal] = useState(false);
7990
+ const [fetch] = Xe(USER_LOOKUP);
7991
+ useEffect(() => {
7992
+ const checkUser = async () => {
7993
+ var _a, _b, _c, _d, _e;
7994
+ try {
7995
+ const res = await fetch({});
7996
+ if (!res || res instanceof Error)
7997
+ throw new Error();
7998
+ // Flow changed to send email -> verify code -> show early partner creation modal
7999
+ const emailVerified = ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified);
8000
+ const isConnected = (_e = (_d = res === null || res === void 0 ? void 0 : res.viewer) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.connected;
8001
+ if (isConnected) {
8002
+ // Partner already created, show widget content
8003
+ setContext(true);
8004
+ }
8005
+ else if (emailVerified) {
8006
+ // Email verified but no partner yet, show partner modal
8007
+ setShowPartnerModal(true);
8008
+ }
8009
+ }
8010
+ catch (e) {
8011
+ console.error("Could not fetch user information:", e);
8012
+ }
8013
+ finally {
8014
+ setLoading(false);
8015
+ }
8016
+ };
8017
+ checkUser();
8018
+ }, []);
8019
+ const onVerification = () => {
8020
+ setShowPartnerModal(true);
8021
+ };
8022
+ const onPartnerModalComplete = () => {
8023
+ setShowPartnerModal(false);
8024
+ setContext(true);
8025
+ };
8026
+ return { showCode, showPartnerModal, onVerification, onPartnerModalComplete, loading };
8027
+ }
8028
+
8029
+ const WidgetVerification = class {
8030
+ constructor(hostRef) {
8031
+ registerInstance(this, hostRef);
8032
+ // ! Any updated must be reflected in sqm-widget-verification-internal AND sqm-email-verification AND sqm-code-verification AND sqm-partner-info-modal
8033
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8034
+ GENERAL PROPS
8035
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8036
+ /**
8037
+ * @uiName General verify widget header text
8038
+ * @uiGroup General Text
8039
+ */
8040
+ this.general_verifyEmailHeader = "Verify your email";
8041
+ /**
8042
+ * @uiName General verify widget description text
8043
+ * @uiGroup General Text
8044
+ */
8045
+ this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
8046
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8047
+ EMAIL STEP PROPS
8048
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8049
+ /**
8050
+ * @uiName Verify email widget header text
8051
+ * @uiGroup Email Verification Step
8052
+ */
8053
+ this.emailStep_verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
8054
+ /**
8055
+ * @uiName Send code to email alert header
8056
+ * @uiGroup Email Verification Step
8057
+ */
8058
+ this.emailStep_sendCodeErrorHeader = "There was an error sending your code.";
8059
+ /**
8060
+ * @uiName Send code to email alert description
8061
+ * @uiGroup Email Verification Step
8062
+ */
8063
+ this.emailStep_sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
8064
+ /**
8065
+ * @uiName Email input label
8066
+ * @uiGroup Email Verification Step
8067
+ */
8068
+ this.emailStep_emailLabel = "Email";
8069
+ /**
8070
+ * @uiName Send code button text
8071
+ * @uiGroup Email Verification Step
8072
+ */
8073
+ this.emailStep_sendCodeText = "Send code";
8074
+ /**
8075
+ * @uiName Send code button text
8076
+ * @uiGroup Email Verification Step
8077
+ */
8078
+ this.emailStep_emailValidationErrorText = "Please enter a valid email";
8079
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8080
+ CODE STEP PROPS
8081
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8082
+ /**
8083
+ * @uiName Verify code widget header text
8084
+ * @uiGroup Code Verification Step
8085
+ */
8086
+ this.codeStep_verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
8087
+ /**
8088
+ * @uiName Reverify code widget header text
8089
+ * @uiGroup Code Verification Step
8090
+ */
8091
+ this.codeStep_reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
8092
+ /**
8093
+ * Text displayed under verify button
8094
+ * @uiName Resend code text
8095
+ * @uiGroup Code Verification Step
8096
+ */
8097
+ this.codeStep_resendCodeText = "Didn't receive your code? {resendCodeLink}";
8098
+ /**
8099
+ * The link that appears in the resend code link
8100
+ * @uiName Resend code label
8101
+ * @uiGroup Code Verification Step
8102
+ */
8103
+ this.codeStep_resendCodeLabel = "Resend code";
8104
+ /**
8105
+ * Link text displayed under verify button
8106
+ * @uiName Resend code text
8107
+ * @uiGroup Code Verification Step
8108
+ */
8109
+ this.codeStep_codeResentSuccessfullyText = "Another code has been sent to {email}";
8110
+ /**
8111
+ * Error text displayed under verification input
8112
+ * @uiName Invalid code text
8113
+ * @uiGroup Code Verification Step
8114
+ */
8115
+ this.codeStep_invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
8116
+ /**
8117
+ * @uiName Verify code button text
8118
+ * @uiGroup Code Verification Step
8119
+ */
8120
+ this.codeStep_verifyText = "Verify";
8121
+ /**
8122
+ * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
8123
+ * @uiName Network error message
8124
+ * @uiGroup Code Verification Step
8125
+ */
8126
+ this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
8127
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8128
+ PARTNER CREATION STEP PROPS
8129
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8130
+ /**
8131
+ * @uiName New partner header
8132
+ * @uiGroup Partner Creation Step
8133
+ * @uiWidget textArea
8134
+ */
8135
+ this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
8136
+ /**
8137
+ * @uiName Existing partner header
8138
+ * @uiGroup Partner Creation Step
8139
+ * @uiWidget textArea
8140
+ */
8141
+ this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
8142
+ /**
8143
+ * @uiName New partner description
8144
+ * @uiGroup Partner Creation Step
8145
+ * @uiWidget textArea
8146
+ */
8147
+ this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
8148
+ /**
8149
+ * @uiName Existing partner description
8150
+ * @uiGroup Partner Creation Step
8151
+ * @uiWidget textArea
8152
+ */
8153
+ this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
8154
+ /**
8155
+ * @uiName Existing partner support description
8156
+ * @uiGroup Partner Creation Step
8157
+ * @uiWidget textArea
8158
+ */
8159
+ this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
8160
+ /**
8161
+ * @uiName Country label
8162
+ * @uiGroup Partner Creation Step
8163
+ */
8164
+ this.createPartnerStep_countryLabel = "Country";
8165
+ /**
8166
+ * @uiName Currency label
8167
+ * @uiGroup Partner Creation Step
8168
+ */
8169
+ this.createPartnerStep_currencyLabel = "Currency";
8170
+ /**
8171
+ * @uiName Submit button label
8172
+ * @uiGroup Partner Creation Step
8173
+ */
8174
+ this.createPartnerStep_submitButtonLabel = "Submit";
8175
+ /**
8176
+ * @uiName Confirm button label
8177
+ * @uiGroup Partner Creation Step
8178
+ */
8179
+ this.createPartnerStep_confirmButtonLabel = "Confirm";
8180
+ /**
8181
+ * @uiName Search country placeholder
8182
+ * @uiGroup Partner Creation Step
8183
+ */
8184
+ this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
8185
+ /**
8186
+ * @uiName Search currency placeholder
8187
+ * @uiGroup Partner Creation Step
8188
+ */
8189
+ this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
8190
+ /**
8191
+ * @uiName Network error text
8192
+ * @uiGroup Partner Creation Step
8193
+ * @uiWidget textArea
8194
+ */
8195
+ this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
8196
+ /**
8197
+ * @uiName Missing fields error text
8198
+ * @uiGroup Partner Creation Step
8199
+ * @uiWidget textArea
8200
+ */
8201
+ this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
8202
+ /**
8203
+ * @undocumented
8204
+ * @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
8205
+ * @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
8206
+ * @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
8207
+ */
8208
+ this.stateController = "{}";
8209
+ h(this);
8210
+ }
8211
+ disconnectedCallback() { }
8212
+ getStepTextProps(prefix) {
8213
+ const props = getProps(this);
8214
+ return extractProps(props, prefix);
8215
+ }
8216
+ render() {
8217
+ const props = isDemo()
8218
+ ? useDemoWidgetVerificationInternal(this)
8219
+ : useWidgetVerification();
8220
+ if (props.loading)
8221
+ return h$1("sl-spinner", null);
8222
+ if (props.showPartnerModal) {
8223
+ return (h$1("sqm-partner-info-modal", Object.assign({}, this.getStepTextProps("createPartnerStep_"))));
8224
+ }
8225
+ const style = {
8226
+ Dialog: {
8227
+ "&::part(panel)": {
8228
+ maxWidth: "480px",
8229
+ },
8230
+ "&::part(title)": {
8231
+ fontSize: "var(--sl-font-size-x-large)",
8232
+ fontWeight: "600",
8233
+ padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
8234
+ },
8235
+ "&::part(body)": {
8236
+ padding: "0 var(--sl-spacing-x-large)",
8237
+ fontSize: "var(--sl-font-size-small)",
8238
+ overflow: "visible",
8239
+ },
8240
+ "&::part(footer)": {
8241
+ display: "flex",
8242
+ flexDirection: "column",
8243
+ gap: "var(--sl-spacing-small)",
8244
+ },
8245
+ "&::part(overlay)": {
8246
+ background: "rgba(0, 0, 0, 0.5)",
8247
+ },
8248
+ "&::part(close-button)": {
8249
+ display: "none",
8250
+ },
8251
+ },
8252
+ };
8253
+ const sheet = createStyleSheet(style);
8254
+ const styleString = sheet.toString();
8255
+ const generalText = this.getStepTextProps("general_");
8256
+ return (h$1("div", null, h$1("style", { type: "text/css" }, styleString), h$1("h3", { style: { fontSize: "24px", margin: "0" } }, generalText.verifyEmailHeader), h$1("p", { style: {
8257
+ color: "var(--sl-color-neutral-500)",
8258
+ fontSize: "var(--sl-font-size-medium)",
8259
+ margin: "0",
8260
+ } }, generalText.verifyEmailDescription), props.showCode ? (h$1("sl-dialog", { class: sheet.classes.Dialog, noHeader: false, open: props.showCode, label: "Let's get your started for rewards", "onSl-request-close": (e) => {
8261
+ e.preventDefault();
8262
+ }, "onSl-hide": (e) => {
8263
+ var _a;
8264
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
8265
+ e.preventDefault();
8266
+ }
8267
+ } }, h$1("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps(props, "sqm-code-verification_"))))) : (h$1("sl-dialog", { class: sheet.classes.Dialog, noHeader: false, open: props.showCode, label: "Let's get your started for rewards", "onSl-request-close": (e) => {
8268
+ e.preventDefault();
8269
+ }, "onSl-hide": (e) => {
8270
+ var _a;
8271
+ if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
8272
+ e.preventDefault();
8273
+ }
8274
+ } }, h$1("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps(props, "sqm-email-verification_")))))));
8275
+ }
8276
+ };
8277
+ function useDemoWidgetVerificationInternal(props) {
8278
+ const [showCode, setShowCode] = In({
8279
+ namespace: SHOW_CODE_NAMESPACE,
8280
+ initialValue: false,
8281
+ });
8282
+ const [email, setEmail] = In({
8283
+ namespace: VERIFICATION_EMAIL_NAMESPACE,
8284
+ initialValue: undefined,
8285
+ });
8286
+ const setContext = En(VERIFICATION_PARENT_NAMESPACE);
8287
+ const states = parseStates(props.stateController);
8288
+ const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
8289
+ ? { ...prev, ...states[key] }
8290
+ : { ...prev, [`${key}_stateController`]: states[key] }, {});
8291
+ const onVerification = () => {
8292
+ setContext(true);
8293
+ };
8294
+ return cjs({
8295
+ showCode,
8296
+ showPartnerModal: false,
8297
+ onVerification,
8298
+ onPartnerModalComplete: () => { },
8299
+ loading: false,
8300
+ }, formatted || {}, { arrayMerge: (_, a) => a });
8301
+ }
8302
+
8303
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name, WidgetVerification as sqm_widget_verification };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
2
2
  import { n as h } from './dom-context-hooks.module-50442785.js';
3
- import { g as getEnvironmentSDK } from './index.module-e266b4d7.js';
3
+ import { g as getEnvironmentSDK } from './index.module-cede12c6.js';
4
4
  import './JSS-67b5cff8.js';
5
5
  import './mixins-f750863a.js';
6
6
  import { C as CloseButtonView } from './sqm-close-button-view-fd9012e7.js';
@@ -1,14 +1,14 @@
1
1
  import { h, r as registerInstance } from './index-38ad4957.js';
2
- import { i as intl } from './global-b2ee3a12.js';
2
+ import { i as intl } from './global-39f55ec2.js';
3
3
  import { l, k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
4
- import { d as dist, t as Pn, F as Fn, i as isDemo, q as En } from './index.module-e266b4d7.js';
4
+ import { d as dist, t as Pn, F as Fn, i as isDemo, r as En } from './index.module-cede12c6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { E as ErrorStyles } from './mixins-f750863a.js';
9
9
  import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
10
- import { V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
11
- import { u as useVerificationEmail } from './useVerificationEmail-5c6cd733.js';
10
+ import { a as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
11
+ import { u as useVerificationEmail } from './useVerificationEmail-cb3d51e3.js';
12
12
 
13
13
  const style = {
14
14
  Wrapper: {
@@ -61,7 +61,6 @@ const style = {
61
61
  },
62
62
  ContinueButton: {
63
63
  width: "100%",
64
- maxWidth: "100px",
65
64
  },
66
65
  FooterContainer: {
67
66
  display: "flex",
@@ -139,9 +138,9 @@ function WidgetCodeVerificationView(props) {
139
138
  h("sl-input", { class: inputClass, name: "code" }),
140
139
  h("sl-input", { class: inputClass, name: "code" })),
141
140
  states.verifyFailed && (h("p", { class: sheet.classes.ErrorText }, text.invalidCodeText)),
142
- h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
143
- h("div", { class: sheet.classes.FooterContainer },
144
- h(TextSpanView, { type: "p" }, resendCodeText)))));
141
+ h("div", { class: sheet.classes.FooterContainer },
142
+ h(TextSpanView, { type: "p" }, resendCodeText)),
143
+ h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)))));
145
144
  }
146
145
 
147
146
  const VerifyEmailWithCodeMutation = dist.gql `
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
2
2
  import { b as browser, k as useState, i as d, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
3
- import { _ } from './index.module-e266b4d7.js';
3
+ import { _ } from './index.module-cede12c6.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -1,16 +1,16 @@
1
1
  import { h, r as registerInstance } from './index-38ad4957.js';
2
- import { i as intl } from './global-b2ee3a12.js';
2
+ import { i as intl } from './global-39f55ec2.js';
3
3
  import { k as useState, f as useEffect, n as h$1 } from './dom-context-hooks.module-50442785.js';
4
- import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, q as En, L } from './index.module-e266b4d7.js';
4
+ import { d as dist, t as Pn, w as wn, J, $ as $e, i as isDemo, r as En, L } from './index.module-cede12c6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
9
- import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-77c231af.js';
10
- import { p as parseStates } from './parseStates-ed75e224.js';
11
- import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
9
+ import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-dbedda28.js';
10
+ import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_PARENT_NAMESPACE } from './keys-db1897ae.js';
12
11
  import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
13
- import { u as useVerificationEmail } from './useVerificationEmail-5c6cd733.js';
12
+ import { p as parseStates } from './parseStates-ed75e224.js';
13
+ import { u as useVerificationEmail } from './useVerificationEmail-cb3d51e3.js';
14
14
 
15
15
  const UpsertUserEmailMutation = dist.gql `
16
16
  mutation upsertUser($userInput: UserInput!) {
@@ -146,11 +146,9 @@ const style = {
146
146
  gap: "var(--sl-spacing-medium)",
147
147
  position: "relative",
148
148
  flexDirection: "column",
149
- maxWidth: "320px",
150
149
  },
151
150
  ContinueButton: {
152
151
  width: "100%",
153
- maxWidth: "100px",
154
152
  },
155
153
  SkeletonOne: {
156
154
  width: "50%",
@@ -621,7 +619,7 @@ function usePartnerInfoModal(props) {
621
619
  open: showModal,
622
620
  loading: userLoading || countriesLoading || currenciesLoading,
623
621
  submitting: connectLoading,
624
- isExistingPartner: (impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.connected) || (impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.publisher),
622
+ isExistingPartner: impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.publisher,
625
623
  countryCode,
626
624
  currency,
627
625
  error,
@@ -723,7 +721,7 @@ const PartnerInfoModal = class {
723
721
  /**
724
722
  * @undocumented
725
723
  * @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
726
- * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true } } }
724
+ * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
727
725
  * @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
728
726
  */
729
727
  this.stateController = "{}";
@@ -745,10 +743,9 @@ function useDemoPartnerInfoModal(props) {
745
743
  const [countryCode, setCountryCode] = useState("US");
746
744
  const [currency, setCurrency] = useState("");
747
745
  const [error, setError] = useState("");
748
- const parsed = parseStates(props.stateController) || {};
749
- // If editor wraps under tag name, extract it; otherwise use directly
750
- const stateOverrides = parsed["sqm-partner-info-modal"] || parsed;
751
- console.log("stateController raw:", props.stateController, "parsed:", parsed, "overrides:", stateOverrides); // TEMP
746
+ const parsed = parseStates(props.stateController);
747
+ const stateOverride = (parsed === null || parsed === void 0 ? void 0 : parsed["sqm-partner-info-modal"]) || parsed || {};
748
+ // @ts-ignore
752
749
  return cjs({
753
750
  states: {
754
751
  brandName: "Test Brand",
@@ -802,7 +799,7 @@ function useDemoPartnerInfoModal(props) {
802
799
  supportDescriptionExistingPartner: props.supportDescriptionExistingPartner,
803
800
  modalHeaderExistingPartner: props.modalHeaderExistingPartner,
804
801
  },
805
- }, stateOverrides || {}, { arrayMerge: (_, a) => a });
802
+ }, props.demoData || stateOverride, { arrayMerge: (_, a) => a });
806
803
  }
807
804
 
808
805
  export { WidgetEmailVerification as sqm_email_verification, PartnerInfoModal as sqm_partner_info_modal };
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-38ad4957.js';
2
- import { i as intl } from './global-b2ee3a12.js';
2
+ import { i as intl } from './global-39f55ec2.js';
3
3
  import { n as h$1 } from './dom-context-hooks.module-50442785.js';
4
- import './index.module-e266b4d7.js';
4
+ import './index.module-cede12c6.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, e as createEvent, h as h$1, g as getElement } from './index-38ad4957.js';
2
2
  import { k as useState, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
3
- import { g as getEnvironmentSDK, i as isDemo } from './index.module-e266b4d7.js';
3
+ import { g as getEnvironmentSDK, i as isDemo } from './index.module-cede12c6.js';
4
4
 
5
5
  function useGoogleSignIn(props) {
6
6
  const [loaded, setLoaded] = useState(false);
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-38ad4957.js';
2
2
  import { o as m, f as useEffect, n as h } from './dom-context-hooks.module-50442785.js';
3
- import { G, f as Q, E as Ee, P as Pe } from './index.module-e266b4d7.js';
3
+ import { G, f as Q, E as Ee, P as Pe } from './index.module-cede12c6.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
6
  const token = G();
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
2
2
  import { n as h } from './dom-context-hooks.module-50442785.js';
3
- import { i as isDemo, e as setUserIdentity } from './index.module-e266b4d7.js';
3
+ import { i as isDemo, e as setUserIdentity } from './index.module-cede12c6.js';
4
4
  import './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import './mixins-f750863a.js';
8
- import './useRegistrationFormState-0cee2d21.js';
8
+ import './useRegistrationFormState-1813bdef.js';
9
9
  import { E as EmailRegistrationView } from './email-registration-view-4cdb4129.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-1388dace.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-e2392f42.js';
11
11
 
12
12
  const InstantAccessRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-38ad4957.js';
2
- import { i as intl } from './global-b2ee3a12.js';
2
+ import { i as intl } from './global-39f55ec2.js';
3
3
  import { j as jss, a as create } from './JSS-67b5cff8.js';
4
4
 
5
5
  const style = {
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
2
- import './global-b2ee3a12.js';
2
+ import './global-39f55ec2.js';
3
3
  import { i as d, n as h } from './dom-context-hooks.module-50442785.js';
4
- import { i as isDemo } from './index.module-e266b4d7.js';
4
+ import { i as isDemo } from './index.module-cede12c6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
7
7
  import './JSS-67b5cff8.js';
8
- import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-cec544ea.js';
9
- import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-00d76ba1.js';
8
+ import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9099c8d4.js';
9
+ import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-7cee2b4e.js';
10
10
 
11
11
  function useLeadCheckboxField() {
12
12
  const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-38ad4957.js';
2
- import { i as intl } from './global-b2ee3a12.js';
2
+ import { i as intl } from './global-39f55ec2.js';
3
3
  import { j as jss, a as create } from './JSS-67b5cff8.js';
4
4
  import { E as ErrorStyles } from './mixins-f750863a.js';
5
5