@saasquatch/mint-components 1.6.8-13 → 1.6.8-15

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 (241) hide show
  1. package/dist/cjs/{ShadowViewAddon-e9b5b949.js → ShadowViewAddon-fe65e8c7.js} +20 -27
  2. package/dist/cjs/{global-f85048bf.js → global-5b8a6adf.js} +1 -1
  3. package/dist/cjs/{index.module-2ca13866.js → index.module-dba49050.js} +5 -5
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-c00242fe.js → re-render-3b3d609d.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_37.cjs.entry.js +102 -61
  9. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  10. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
  12. package/dist/cjs/{sqm-user-identifier-view-53f37293.js → sqm-logout-current-user-view-9c3f9464.js} +2 -2
  13. package/dist/cjs/{sqm-user-identifier.cjs.entry.js → sqm-logout-current-user.cjs.entry.js} +9 -9
  14. package/dist/cjs/{sqm-navigation-sidebar-item-view-828f3fe3.js → sqm-navigation-sidebar-item-view-2a340425.js} +1 -1
  15. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-1ae8805f.js → sqm-portal-email-verification-view-9cabaffe.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  21. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  23. package/dist/cjs/{sqm-portal-profile-view-4baa40c2.js → sqm-portal-profile-view-9ec4a51c.js} +1 -1
  24. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  25. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  33. package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -41
  34. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  36. package/dist/cjs/{useChildElements-65547fd2.js → useChildElements-9e028700.js} +1 -1
  37. package/dist/cjs/{useInstantAccessRegistration-e6387667.js → useInstantAccessRegistration-2d149bea.js} +1 -1
  38. package/dist/cjs/{useReferralTable-1ad18c8b.js → useReferralTable-53104b33.js} +6 -6
  39. package/dist/cjs/{useRegistrationFormState-59c2c7d2.js → useRegistrationFormState-81f74f14.js} +1 -1
  40. package/dist/collection/collection-manifest.json +1 -1
  41. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +15 -5
  42. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +105 -7
  43. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +36 -30
  44. package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +2 -2
  45. package/dist/collection/components/{sqm-user-identifier/UserIdentifier.stories.js → sqm-logout-current-user/LogoutCurrentUser.stories.js} +4 -4
  46. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier-view.js → sqm-logout-current-user/sqm-logout-current-user-view.js} +1 -1
  47. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier.js → sqm-logout-current-user/sqm-logout-current-user.js} +11 -11
  48. package/dist/collection/components/{sqm-user-identifier/useUserIdentifer.js → sqm-logout-current-user/useLogoutCurrentUser.js} +1 -1
  49. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  50. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  51. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -2
  52. package/dist/collection/components/views/copy-text-view.js +10 -17
  53. package/dist/collection/stories/Widget.stories.js +12 -12
  54. package/dist/esm/{ShadowViewAddon-2dad6900.js → ShadowViewAddon-dbb7e12b.js} +20 -27
  55. package/dist/esm/{global-bb4b3160.js → global-f82b3eaa.js} +1 -1
  56. package/dist/esm/{index.module-4b531657.js → index.module-3b85bfd6.js} +2 -2
  57. package/dist/esm/loader.js +3 -3
  58. package/dist/esm/mint-components.js +3 -3
  59. package/dist/esm/{re-render-8e289fe5.js → re-render-3f69b74a.js} +1 -1
  60. package/dist/esm/sqm-asset-card.entry.js +1 -1
  61. package/dist/esm/sqm-big-stat_37.entry.js +104 -63
  62. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  63. package/dist/esm/sqm-instant-access-registration.entry.js +2 -2
  64. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
  65. package/dist/esm/{sqm-user-identifier-view-ca48b8e4.js → sqm-logout-current-user-view-5dd42341.js} +2 -2
  66. package/dist/esm/{sqm-user-identifier.entry.js → sqm-logout-current-user.entry.js} +9 -9
  67. package/dist/esm/{sqm-navigation-sidebar-item-view-344fad1c.js → sqm-navigation-sidebar-item-view-2154f6b7.js} +1 -1
  68. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  69. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  70. package/dist/esm/sqm-password-field.entry.js +2 -2
  71. package/dist/esm/sqm-popup-container.entry.js +1 -1
  72. package/dist/esm/{sqm-portal-email-verification-view-71ace81d.js → sqm-portal-email-verification-view-f237a7f0.js} +1 -1
  73. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  74. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  75. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  76. package/dist/esm/{sqm-portal-profile-view-53979418.js → sqm-portal-profile-view-bd86d8c4.js} +1 -1
  77. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  78. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  79. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  80. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  81. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  82. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  83. package/dist/esm/sqm-referred-registration.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  85. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  86. package/dist/esm/sqm-stencilbook.entry.js +55 -41
  87. package/dist/esm/sqm-tab.entry.js +2 -2
  88. package/dist/esm/sqm-tabs.entry.js +3 -3
  89. package/dist/esm/{useChildElements-397ce8b1.js → useChildElements-ed0cabc6.js} +1 -1
  90. package/dist/esm/{useInstantAccessRegistration-dbefa6e5.js → useInstantAccessRegistration-2b0653e6.js} +1 -1
  91. package/dist/esm/{useReferralTable-1f5c29ea.js → useReferralTable-e80b1d3f.js} +6 -6
  92. package/dist/esm/{useRegistrationFormState-8e6fe126.js → useRegistrationFormState-e59e841f.js} +1 -1
  93. package/dist/esm-es5/ShadowViewAddon-dbb7e12b.js +1 -0
  94. package/dist/esm-es5/{global-bb4b3160.js → global-f82b3eaa.js} +1 -1
  95. package/dist/esm-es5/{index.module-4b531657.js → index.module-3b85bfd6.js} +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/mint-components.js +1 -1
  98. package/dist/esm-es5/{re-render-8e289fe5.js → re-render-3f69b74a.js} +1 -1
  99. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  100. package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -1
  101. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  102. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  103. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  104. package/dist/esm-es5/{sqm-user-identifier-view-ca48b8e4.js → sqm-logout-current-user-view-5dd42341.js} +1 -1
  105. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -0
  106. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-344fad1c.js → sqm-navigation-sidebar-item-view-2154f6b7.js} +1 -1
  107. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  108. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  109. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  110. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  111. package/dist/esm-es5/{sqm-portal-email-verification-view-71ace81d.js → sqm-portal-email-verification-view-f237a7f0.js} +1 -1
  112. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  113. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  114. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  115. package/dist/esm-es5/{sqm-portal-profile-view-53979418.js → sqm-portal-profile-view-bd86d8c4.js} +1 -1
  116. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  117. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  120. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  121. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  122. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  123. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  124. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  125. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  126. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  127. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  128. package/dist/esm-es5/{useChildElements-397ce8b1.js → useChildElements-ed0cabc6.js} +1 -1
  129. package/dist/esm-es5/{useInstantAccessRegistration-dbefa6e5.js → useInstantAccessRegistration-2b0653e6.js} +1 -1
  130. package/dist/esm-es5/{useReferralTable-1f5c29ea.js → useReferralTable-e80b1d3f.js} +1 -1
  131. package/dist/esm-es5/{useRegistrationFormState-8e6fe126.js → useRegistrationFormState-e59e841f.js} +1 -1
  132. package/dist/mint-components/mint-components.esm.js +1 -1
  133. package/dist/mint-components/mint-components.js +1 -1
  134. package/dist/mint-components/{p-95cdb415.system.entry.js → p-0206f817.system.entry.js} +1 -1
  135. package/dist/mint-components/p-04c3ddf2.entry.js +1 -0
  136. package/dist/mint-components/{p-6f327e02.entry.js → p-0b607625.entry.js} +1 -1
  137. package/dist/mint-components/{p-29b2edab.entry.js → p-0d45bea6.entry.js} +1 -1
  138. package/dist/mint-components/{p-0359974b.entry.js → p-19e12136.entry.js} +2 -2
  139. package/dist/mint-components/{p-590841e6.entry.js → p-1b864638.entry.js} +1 -1
  140. package/dist/mint-components/{p-7bb806fd.js → p-1ccd2ae7.js} +1 -1
  141. package/dist/mint-components/p-1e359094.system.js +1 -0
  142. package/dist/mint-components/{p-f00886bd.system.entry.js → p-1efa148e.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-486f4257.system.js → p-229f6dd8.system.js} +1 -1
  144. package/dist/mint-components/p-29b3807c.system.entry.js +1 -0
  145. package/dist/mint-components/{p-b509ae3c.js → p-2d004700.js} +1 -1
  146. package/dist/mint-components/{p-75485abc.entry.js → p-30ff6f08.entry.js} +1 -1
  147. package/dist/mint-components/{p-fd544705.system.entry.js → p-32b70446.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-978a1f09.system.js → p-338402f3.system.js} +1 -1
  149. package/dist/mint-components/{p-34b044cf.system.js → p-35108622.system.js} +1 -1
  150. package/dist/mint-components/{p-adef1bdf.system.entry.js → p-36bbc0ec.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-537a5e24.entry.js → p-3aa2e966.entry.js} +1 -1
  152. package/dist/mint-components/p-3e46f226.system.entry.js +1 -0
  153. package/dist/mint-components/{p-3fafff3d.system.js → p-486f7db8.system.js} +1 -1
  154. package/dist/mint-components/{p-779c68e8.system.entry.js → p-491572f7.system.entry.js} +1 -1
  155. package/dist/mint-components/{p-f794f564.system.js → p-4e9a310a.system.js} +1 -1
  156. package/dist/mint-components/{p-06bb02e9.entry.js → p-537f3093.entry.js} +1 -1
  157. package/dist/mint-components/{p-bf8109aa.system.js → p-58b72bb1.system.js} +1 -1
  158. package/dist/mint-components/{p-9f1b1830.js → p-5e6449bf.js} +1 -1
  159. package/dist/mint-components/{p-537c4ca7.entry.js → p-5ef07ab3.entry.js} +1 -1
  160. package/dist/mint-components/p-5f80a76c.system.entry.js +1 -0
  161. package/dist/mint-components/{p-16b2a1ca.entry.js → p-656667a6.entry.js} +1 -1
  162. package/dist/mint-components/{p-d3096c12.entry.js → p-68f0fac9.entry.js} +1 -1
  163. package/dist/mint-components/{p-4b88d6a5.js → p-69c8265a.js} +1 -1
  164. package/dist/mint-components/{p-8cd5c520.entry.js → p-6a6c3994.entry.js} +1 -1
  165. package/dist/mint-components/{p-8e958ade.entry.js → p-70b24b1e.entry.js} +1 -1
  166. package/dist/mint-components/{p-7ed96913.entry.js → p-72befd7d.entry.js} +1 -1
  167. package/dist/mint-components/{p-5698b30e.js → p-72f635dd.js} +1 -1
  168. package/dist/mint-components/{p-a3a639cc.system.entry.js → p-787f122a.system.entry.js} +1 -1
  169. package/dist/mint-components/{p-51291020.system.js → p-7bfd977a.system.js} +1 -1
  170. package/dist/mint-components/{p-dcf45468.system.entry.js → p-800ae5a0.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-383e1a82.system.js → p-8ab4b347.system.js} +1 -1
  172. package/dist/mint-components/{p-57b16281.entry.js → p-8dc97762.entry.js} +1 -1
  173. package/dist/mint-components/{p-7af57f0d.js → p-952076b5.js} +1 -1
  174. package/dist/mint-components/{p-be51f920.system.entry.js → p-98f7be38.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-93d23908.system.entry.js → p-9a05d733.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-a8f38714.entry.js → p-9a6def41.entry.js} +29 -19
  177. package/dist/mint-components/{p-e7f749b8.entry.js → p-9c2e5dac.entry.js} +1 -1
  178. package/dist/mint-components/{p-fa9c79fe.js → p-9ed546ca.js} +1 -1
  179. package/dist/mint-components/{p-c4340963.system.entry.js → p-b01ec794.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-7be51ca9.js → p-b0c20ed2.js} +2 -2
  181. package/dist/mint-components/p-b6289d34.system.entry.js +1 -0
  182. package/dist/mint-components/{p-29abb4f9.system.entry.js → p-b73ca825.system.entry.js} +1 -1
  183. package/dist/mint-components/p-b940a11a.system.js +1 -0
  184. package/dist/mint-components/{p-24722129.system.entry.js → p-bd3bbced.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-357c4022.js → p-be4457be.js} +1 -1
  186. package/dist/mint-components/{p-52acbebf.system.js → p-c1c89b68.system.js} +1 -1
  187. package/dist/mint-components/{p-ae5637e2.js → p-c294fbaf.js} +2 -2
  188. package/dist/mint-components/{p-e8bb9b24.system.js → p-c2adbe14.system.js} +1 -1
  189. package/dist/mint-components/{p-5a6373e8.system.js → p-c31b4722.system.js} +1 -1
  190. package/dist/mint-components/p-c8347f72.js +1 -0
  191. package/dist/mint-components/{p-d25d87d5.system.entry.js → p-c88ebfe9.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-cdb7d4fe.entry.js → p-c9951196.entry.js} +1 -1
  193. package/dist/mint-components/{p-07064412.system.entry.js → p-cd7a7bb0.system.entry.js} +1 -1
  194. package/dist/mint-components/p-d055b3a7.system.entry.js +1 -0
  195. package/dist/mint-components/{p-94bf6e15.entry.js → p-d0a7ccc3.entry.js} +1 -1
  196. package/dist/mint-components/{p-65f417f7.entry.js → p-d0b2a2cb.entry.js} +1 -1
  197. package/dist/mint-components/{p-0bfda9af.system.entry.js → p-d3626cea.system.entry.js} +1 -1
  198. package/dist/mint-components/{p-f247da77.js → p-d8c8759b.js} +1 -1
  199. package/dist/mint-components/p-e07f5715.entry.js +9 -0
  200. package/dist/mint-components/{p-bff98c0d.entry.js → p-e4899a00.entry.js} +1 -1
  201. package/dist/mint-components/{p-18db0d27.system.entry.js → p-e5c1a8d9.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-a22eb665.entry.js → p-eb8a4911.entry.js} +2 -2
  203. package/dist/mint-components/{p-24f29c97.system.entry.js → p-ee1db375.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-cf335085.system.entry.js → p-efd25880.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-d66fd18e.system.entry.js → p-f2ae5d6d.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-8baedd92.entry.js → p-f33e4560.entry.js} +1 -1
  207. package/dist/mint-components/{p-09b40c24.entry.js → p-f8da123f.entry.js} +1 -1
  208. package/dist/mint-components/{p-967f6b50.system.entry.js → p-ff877a12.system.entry.js} +1 -1
  209. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +7 -2
  210. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +19 -1
  211. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  212. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +6 -0
  213. package/dist/types/components/{sqm-user-identifier/sqm-user-identifier.d.ts → sqm-logout-current-user/sqm-logout-current-user.d.ts} +3 -3
  214. package/dist/types/components/sqm-logout-current-user/useLogoutCurrentUser.d.ts +3 -0
  215. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  216. package/dist/types/components/views/copy-text-view.d.ts +2 -1
  217. package/dist/types/components.d.ts +75 -45
  218. package/dist/types/global/android.d.ts +7 -0
  219. package/dist/types/global/demo.d.ts +1 -0
  220. package/dist/types/stories/Widget.stories.d.ts +4 -4
  221. package/dist/types/stories/features.d.ts +4 -0
  222. package/dist/types/stories/templates.d.ts +4 -0
  223. package/docs/docs.docx +0 -0
  224. package/docs/raisins.json +1 -1
  225. package/grapesjs/grapesjs.js +1 -1
  226. package/package.json +3 -3
  227. package/dist/esm-es5/ShadowViewAddon-2dad6900.js +0 -1
  228. package/dist/esm-es5/sqm-user-identifier.entry.js +0 -1
  229. package/dist/mint-components/p-04751f3a.system.js +0 -1
  230. package/dist/mint-components/p-215c517c.entry.js +0 -1
  231. package/dist/mint-components/p-25632b7a.system.entry.js +0 -1
  232. package/dist/mint-components/p-2d3ab333.entry.js +0 -9
  233. package/dist/mint-components/p-339e7ce2.system.entry.js +0 -1
  234. package/dist/mint-components/p-56a5a523.system.entry.js +0 -1
  235. package/dist/mint-components/p-ac297f95.js +0 -1
  236. package/dist/mint-components/p-af27369e.system.js +0 -1
  237. package/dist/mint-components/p-c14d5640.system.entry.js +0 -1
  238. package/dist/mint-components/p-ddcfcb65.system.entry.js +0 -1
  239. package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +0 -6
  240. package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +0 -3
  241. /package/dist/types/components/{sqm-user-identifier/UserIdentifier.stories.d.ts → sqm-logout-current-user/LogoutCurrentUser.stories.d.ts} +0 -0
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h, u as useEffect, i as useState, o as d, j as useRef, b as browser, f as useReducer } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-bb4b3160.js';
3
+ import { i as intl } from './global-f82b3eaa.js';
4
4
  import { u as useCallback } from './use-callback-051c06c6.js';
5
- import { i as isDemo, V, d as dist, N, H, b as mn, I as Ie, T, O, a as dn, p as pn, j as xe, S as Se, k as ke, l as Le, v as vn } from './index.module-4b531657.js';
5
+ import { i as isDemo, V, d as dist, L, b as mn, I as Ie, O, W, a as dn, p as pn, j as xe, S as Se, k as ke, l as _e, v as vn, T } from './index.module-3b85bfd6.js';
6
6
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-f60a614c.js';
9
9
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
10
- import { a as useRequestRerender } from './re-render-8e289fe5.js';
11
- import { u as useChildElements } from './useChildElements-397ce8b1.js';
10
+ import { a as useRequestRerender } from './re-render-3f69b74a.js';
11
+ import { u as useChildElements } from './useChildElements-ed0cabc6.js';
12
12
  import './luxon-1e38d7f1.js';
13
13
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
14
14
  import './sqm-text-span-view-2f7d6d14.js';
15
15
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
16
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-8e6fe126.js';
17
- import { b as useDemoBigStat, O as useBigStat, B as BigStatView, K as autoColorScaleCss, J as CardFeedView, j as CheckboxFieldView, C as CopyTextView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, Q as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, U as demoRewardExchange, k as RewardExchangeView, V as pathToRegexp, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-2dad6900.js';
16
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-e59e841f.js';
17
+ import { b as useDemoBigStat, O as useBigStat, B as BigStatView, K as autoColorScaleCss, J as CardFeedView, j as CheckboxFieldView, C as CopyTextView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, Q as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, U as demoRewardExchange, k as RewardExchangeView, V as pathToRegexp, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-dbb7e12b.js';
18
18
  import './sqm-portal-container-view-83b417f0.js';
19
19
 
20
20
  const BigStat = class {
@@ -265,30 +265,48 @@ function useCheckboxFieldDemo(props) {
265
265
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
266
266
  }
267
267
 
268
- const MessageLinkQuery = dist.gql `
269
- query ($programId: ID) {
268
+ const FuelTankRewardsQuery = dist.gql `
269
+ query fuelTankRewardsQuery {
270
270
  user: viewer {
271
271
  ... on User {
272
- referralCode(programId: $programId)
272
+ instantAccessRewards(filter: { type_eq: FUELTANK }) {
273
+ data {
274
+ fuelTankCode
275
+ fuelTankType
276
+ statuses
277
+ dateGiven
278
+ dateExpires
279
+ dateRedeemed
280
+ dateCancelled
281
+ dateScheduledFor
282
+ datePendingForUnhandledError
283
+ }
284
+ count
285
+ totalCount
286
+ }
273
287
  }
274
288
  }
275
289
  }
276
290
  `;
277
- const WIDGET_ENGAGEMENT_EVENT = dist.gql `
278
- mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
279
- createUserAnalyticsEvent(eventMeta: $eventMeta)
280
- }
281
- `;
282
291
  function useCouponCode(props) {
283
- var _a, _b;
284
- const { programId = N() } = props;
285
- const user = H();
286
- const engagementMedium = T();
287
- const { data } = mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
288
- const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT);
289
- const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
290
- // Shown during loading
291
- "...";
292
+ var _a, _b, _c, _d;
293
+ const user = L();
294
+ const { data, loading, refetch, errors } = mn(FuelTankRewardsQuery, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
295
+ const getStatus = (reward) => {
296
+ const possibleStates = [
297
+ "REDEEMED",
298
+ "CANCELLED",
299
+ "EXPIRED",
300
+ "PENDING",
301
+ "AVAILABLE",
302
+ ];
303
+ if (reward.statuses.length === 1)
304
+ return reward.statuses[0];
305
+ return possibleStates.find((state) => reward.statuses.includes(state) && state);
306
+ };
307
+ const reward = (_d = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.fuelTankRewardsQuery) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.instantAccessRewards) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d[0];
308
+ const rewardStatus = getStatus(reward);
309
+ const copyString = (reward === null || reward === void 0 ? void 0 : reward.fuelTankCode) || "...";
292
310
  const [open, setOpen] = useState(false);
293
311
  function onClick() {
294
312
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -296,20 +314,8 @@ function useCouponCode(props) {
296
314
  navigator.clipboard.writeText(copyString);
297
315
  setOpen(true);
298
316
  setTimeout(() => setOpen(false), props.tooltiplifespan);
299
- sendLoadEvent({
300
- eventMeta: {
301
- programId,
302
- id: user === null || user === void 0 ? void 0 : user.id,
303
- accountId: user === null || user === void 0 ? void 0 : user.accountId,
304
- type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
305
- meta: {
306
- engagementMedium,
307
- couponMedium: "DIRECT",
308
- },
309
- },
310
- });
311
317
  }
312
- return { ...props, onClick, open, copyString };
318
+ return { ...props, onClick, open, copyString, rewardStatus };
313
319
  }
314
320
 
315
321
  const CouponCode = class {
@@ -356,7 +362,25 @@ const CouponCode = class {
356
362
  *
357
363
  * @uiName Error message
358
364
  */
359
- this.errorText = "Oops! Looks like we weren’t able to retrieve a code for you. Please try again later.";
365
+ this.pendingErrorText = "Oops! Looks like we weren’t able to retrieve a code for you. Please try again later or contact support.";
366
+ /**
367
+ * Set error message
368
+ *
369
+ * @uiName Error message
370
+ */
371
+ this.cancelledErrorText = "Oops! Your coupon code is cancelled. Please try again later or contact support.";
372
+ /**
373
+ * Set error message
374
+ *
375
+ * @uiName Error message
376
+ */
377
+ this.expiredErrorText = "Oops! Your coupon code is expired. Please try again later or contact support.";
378
+ /**
379
+ * Set error message
380
+ *
381
+ * @uiName Error message
382
+ */
383
+ this.redeemedErrorText = "Oops! Your coupon code has already been redeemed. Please try again later or contact support.";
360
384
  /**
361
385
  * Set coupon code placeholder for when there there is no coupon code to display
362
386
  *
@@ -371,7 +395,21 @@ const CouponCode = class {
371
395
  const props = isDemo()
372
396
  ? useDemoCouponCode(thisProps)
373
397
  : useCouponCode(thisProps);
374
- return h$1(CopyTextView, Object.assign({}, props));
398
+ let errorText = "An error occurred";
399
+ switch (props.rewardStatus) {
400
+ case "CANCELLED":
401
+ errorText = this.cancelledErrorText;
402
+ case "PENDING":
403
+ errorText = this.pendingErrorText;
404
+ case "EXPIRED":
405
+ errorText = this.expiredErrorText;
406
+ case "REDEEMED":
407
+ errorText = this.redeemedErrorText;
408
+ case "AVAILABLE":
409
+ errorText = "";
410
+ }
411
+ console.log("ASDASDASD");
412
+ return h$1(CopyTextView, Object.assign({}, props, { errorText: errorText }));
375
413
  }
376
414
  };
377
415
  function useDemoCouponCode(props) {
@@ -383,8 +421,11 @@ function useDemoCouponCode(props) {
383
421
  textAlign: props.textAlign,
384
422
  buttonStyle: props.buttonStyle,
385
423
  copyButtonLabel: props.copyButtonLabel,
386
- errorText: props.errorText,
387
- error: false,
424
+ pendingErrorText: props.pendingErrorText,
425
+ cancelledErrorText: props.cancelledErrorText,
426
+ expiredErrorText: props.expiredErrorText,
427
+ redeemedErrorText: props.redeemedErrorText,
428
+ rewardStatus: "AVAILABLE",
388
429
  couponCodePlaceholder: props.couponCodePlaceholder,
389
430
  open,
390
431
  onClick: () => {
@@ -562,7 +603,7 @@ const defaultFormState = {
562
603
  error: "",
563
604
  };
564
605
  function useEditProfile(props) {
565
- const userIdent = H();
606
+ const userIdent = L();
566
607
  const [showEdit, setShowEdit] = useState(false);
567
608
  const [error, setError] = useState("");
568
609
  const [userData, setUserData] = useState(undefined);
@@ -1054,11 +1095,11 @@ const GET_RANK = dist.gql `
1054
1095
  `;
1055
1096
  function useLeaderboard(props) {
1056
1097
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1057
- const programIdContext = N();
1098
+ const programIdContext = O();
1058
1099
  // Default to context, overriden by props
1059
1100
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1060
- const user = H();
1061
- const locale = O();
1101
+ const user = L();
1102
+ const locale = W();
1062
1103
  const variables = programId
1063
1104
  ? {
1064
1105
  type: props.leaderboardType,
@@ -1310,7 +1351,7 @@ function handleMenu(e) {
1310
1351
  function useNavigationMenu(props) {
1311
1352
  const ref = useRef();
1312
1353
  const [, rerender] = dn();
1313
- const user = H();
1354
+ const user = L();
1314
1355
  useEffect(() => {
1315
1356
  var _a;
1316
1357
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1368,7 +1409,7 @@ function usePortalChangePassword(props) {
1368
1409
  const [open, setOpen] = useState(false);
1369
1410
  const [error, setError] = useState("");
1370
1411
  const [success, setSuccess] = useState(false);
1371
- const user = H();
1412
+ const user = L();
1372
1413
  const submit = async (event) => {
1373
1414
  var _a, _b;
1374
1415
  setSuccess(false);
@@ -2123,7 +2164,7 @@ const ProgramExplainerStep = class {
2123
2164
  const debug = browser('sq:useProgramMenu');
2124
2165
  const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
2125
2166
  function useProgramMenu(props) {
2126
- const programId = N();
2167
+ const programId = O();
2127
2168
  const host = V();
2128
2169
  debug({ programId, props });
2129
2170
  const ref = useRef();
@@ -2263,8 +2304,8 @@ const GET_USER_DETAILS = dist.gql `
2263
2304
  `;
2264
2305
  function useReferralIframe(props) {
2265
2306
  var _a;
2266
- const programId = N();
2267
- const user = H();
2307
+ const programId = O();
2308
+ const user = L();
2268
2309
  const { data } = mn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2269
2310
  return {
2270
2311
  states: {
@@ -2977,7 +3018,7 @@ const EXCHANGE = dist.gql `
2977
3018
  }
2978
3019
  `;
2979
3020
  function useRewardExchangeList(props) {
2980
- var _a, _b, _c, _d, _e;
3021
+ var _a, _b, _c, _d, _e$1;
2981
3022
  const [exchangeState, setExchangeState] = useReducer((state, next) => ({
2982
3023
  ...state,
2983
3024
  ...next,
@@ -2990,7 +3031,7 @@ function useRewardExchangeList(props) {
2990
3031
  });
2991
3032
  const [open, setOpen] = useState(false);
2992
3033
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
2993
- const user = H();
3034
+ const user = L();
2994
3035
  const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Ie(EXCHANGE);
2995
3036
  const { data, loading, refetch, errors: queryError, } = mn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
2996
3037
  useEffect(() => {
@@ -3011,7 +3052,7 @@ function useRewardExchangeList(props) {
3011
3052
  canvas.confetti || confetti.create(canvas, { resize: true });
3012
3053
  canvas.confetti();
3013
3054
  }, [canvasRef.current]);
3014
- const { refresh } = Le();
3055
+ const { refresh } = _e();
3015
3056
  async function exchangeReward() {
3016
3057
  if (!selectedItem)
3017
3058
  return;
@@ -3110,7 +3151,7 @@ function useRewardExchangeList(props) {
3110
3151
  },
3111
3152
  data: {
3112
3153
  exchangeList: (_c = (_b = data === null || data === void 0 ? void 0 : data.viewer) === null || _b === void 0 ? void 0 : _b.visibleRewardExchangeItems) === null || _c === void 0 ? void 0 : _c.data,
3113
- fuelTankCode: (_e = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e === void 0 ? void 0 : _e.fuelTankCode,
3154
+ fuelTankCode: (_e$1 = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e$1 === void 0 ? void 0 : _e$1.fuelTankCode,
3114
3155
  },
3115
3156
  callbacks: {
3116
3157
  exchangeReward,
@@ -3555,7 +3596,7 @@ function useDemoShareButton(props) {
3555
3596
  }
3556
3597
  ShareButton.style = sqmShareButtonCss;
3557
3598
 
3558
- const MessageLinkQuery$1 = dist.gql `
3599
+ const MessageLinkQuery = dist.gql `
3559
3600
  query ($programId: ID) {
3560
3601
  user: viewer {
3561
3602
  ... on User {
@@ -3564,18 +3605,18 @@ const MessageLinkQuery$1 = dist.gql `
3564
3605
  }
3565
3606
  }
3566
3607
  `;
3567
- const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
3608
+ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
3568
3609
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
3569
3610
  createUserAnalyticsEvent(eventMeta: $eventMeta)
3570
3611
  }
3571
3612
  `;
3572
3613
  function useShareCode(props) {
3573
3614
  var _a, _b;
3574
- const { programId = N() } = props;
3575
- const user = H();
3615
+ const { programId = O() } = props;
3616
+ const user = L();
3576
3617
  const engagementMedium = T();
3577
- const { data } = mn(MessageLinkQuery$1, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3578
- const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT$1);
3618
+ const { data } = mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3619
+ const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT);
3579
3620
  const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
3580
3621
  // Shown during loading
3581
3622
  "...";
@@ -3802,10 +3843,10 @@ const SEND_EVENT = dist.gql `
3802
3843
  }
3803
3844
  `;
3804
3845
  function useTaskCard(props) {
3805
- const user = H();
3806
- const locale = O();
3846
+ const user = L();
3847
+ const locale = W();
3807
3848
  const [sendUserEvent, { data, loading: loadingEvent }] = Ie(SEND_EVENT);
3808
- const { refresh } = Le();
3849
+ const { refresh } = _e();
3809
3850
  useEffect(() => {
3810
3851
  if (data) {
3811
3852
  refresh();
@@ -4121,7 +4162,7 @@ const GET_USER_NAME = dist.gql `
4121
4162
  `;
4122
4163
  function useUserName(props) {
4123
4164
  var _a, _b, _c, _d, _e, _f, _g, _h;
4124
- const user = H();
4165
+ const user = L();
4125
4166
  const res = mn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4126
4167
  const loading = res.loading;
4127
4168
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as m, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { W, C as Ce, L, c as ye } from './index.module-4b531657.js';
4
+ import { H, C as Ce, _, c as ye } from './index.module-3b85bfd6.js';
5
5
 
6
6
  async function useGraphQLClientProvider({ domain }) {
7
- const token = W();
7
+ const token = H();
8
8
  const appDomain = domain;
9
- const tenantAlias = L();
9
+ const tenantAlias = _();
10
10
  // Memoization is shared. One client per domain, tenant and token (or null)
11
11
  const managedIdentityClient = Ce(appDomain, tenantAlias, token);
12
12
  const [, setGraphQLClient] = m(ye, managedIdentityClient);
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { i as isDemo, e as setUserIdentity } from './index.module-4b531657.js';
4
+ import { i as isDemo, e as setUserIdentity } from './index.module-3b85bfd6.js';
5
5
  import './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import './JSS-67b5cff8.js';
9
9
  import { E as EmailRegistrationView } from './email-registration-view-8987d3c0.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dbefa6e5.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-2b0653e6.js';
11
11
 
12
12
  const InstantAccessRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-bb4b3160.js';
3
+ import { i as intl } from './global-f82b3eaa.js';
4
4
  import './use-callback-051c06c6.js';
5
- import { d as dist, N, H, b as mn, i as isDemo } from './index.module-4b531657.js';
5
+ import { d as dist, O, L, b as mn, i as isDemo } from './index.module-3b85bfd6.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
8
8
 
@@ -21,10 +21,10 @@ const GET_RANK = dist.gql `
21
21
  `;
22
22
  function useLeaderboardRank(props) {
23
23
  var _a, _b, _c, _d;
24
- const programIdContext = N();
24
+ const programIdContext = O();
25
25
  // Default to context, overriden by props
26
26
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
27
- const user = H();
27
+ const user = L();
28
28
  const rankVariables = programId
29
29
  ? {
30
30
  type: props.leaderboardType,
@@ -18,7 +18,7 @@ const vanillaStyle = `
18
18
  `;
19
19
  const sheet = createStyleSheet(style);
20
20
  const styleString = sheet.toString();
21
- function UserIdentifierView(props) {
21
+ function LogoutCurrentUserView(props) {
22
22
  const { userIdentificationText, onSwitchClick, switchUserText } = props;
23
23
  return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
24
24
  h("style", { type: "text/css" },
@@ -30,4 +30,4 @@ function UserIdentifierView(props) {
30
30
  ")"));
31
31
  }
32
32
 
33
- export { UserIdentifierView as U };
33
+ export { LogoutCurrentUserView as L };
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h } from './index-17b4da69.js';
2
2
  import './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { e as setUserIdentity, i as isDemo } from './index.module-4b531657.js';
4
+ import { e as setUserIdentity, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
- import { U as UserIdentifierView } from './sqm-user-identifier-view-ca48b8e4.js';
7
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-5dd42341.js';
8
8
 
9
- function useUserIdentifier(
9
+ function useLogoutCurrentUser(
10
10
  // @ts-ignore;
11
11
  props) {
12
12
  const onSwitchClick = () => {
@@ -19,7 +19,7 @@ props) {
19
19
  };
20
20
  }
21
21
 
22
- const UserIdentifier = class {
22
+ const LogoutCurrentUser = class {
23
23
  constructor(hostRef) {
24
24
  registerInstance(this, hostRef);
25
25
  /**
@@ -35,12 +35,12 @@ const UserIdentifier = class {
35
35
  }
36
36
  render() {
37
37
  const props = isDemo()
38
- ? useDemoUserIdentifier(this)
39
- : useUserIdentifier();
40
- return h(UserIdentifierView, Object.assign({}, props));
38
+ ? useDemoLogoutCurrentUser(this)
39
+ : useLogoutCurrentUser();
40
+ return h(LogoutCurrentUserView, Object.assign({}, props));
41
41
  }
42
42
  };
43
- function useDemoUserIdentifier(props) {
43
+ function useDemoLogoutCurrentUser(props) {
44
44
  return cjs({
45
45
  onSwitchClick: () => setUserIdentity(undefined),
46
46
  userIdentificationText: props.userIdentificationText,
@@ -48,4 +48,4 @@ function useDemoUserIdentifier(props) {
48
48
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
49
49
  }
50
50
 
51
- export { UserIdentifier as sqm_user_identifier };
51
+ export { LogoutCurrentUser as sqm_logout_current_user };
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { p as pn } from './index.module-4b531657.js';
2
+ import { p as pn } from './index.module-3b85bfd6.js';
3
3
  import { g as gap } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { v as vn, i as isDemo } from './index.module-4b531657.js';
4
+ import { v as vn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import { g as getProps } from './utils-334c1e34.js';
9
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-344fad1c.js';
9
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-2154f6b7.js';
10
10
 
11
11
  function useNavigationSidebarItem(props) {
12
12
  const currentPage = vn();
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h, i as useState, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { v as vn, N } from './index.module-4b531657.js';
4
+ import { v as vn, O } from './index.module-3b85bfd6.js';
5
5
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-feb719ce.js';
6
6
 
7
7
  const NavigationSidebar = class {
@@ -18,7 +18,7 @@ const NavigationSidebar = class {
18
18
  };
19
19
  function useNavigationSidebar() {
20
20
  const location = vn();
21
- const programId = N();
21
+ const programId = O();
22
22
  const [checked, setChecked] = useState(false);
23
23
  // Close hamburger menu after navigation
24
24
  useEffect(() => {
@@ -1,11 +1,11 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { o as d, i as useState, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { i as isDemo } from './index.module-4b531657.js';
4
+ import { i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-8e6fe126.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-e59e841f.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,7 +1,7 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { T } from './index.module-4b531657.js';
4
+ import { T } from './index.module-3b85bfd6.js';
5
5
  import { g as getProps } from './utils-334c1e34.js';
6
6
 
7
7
  const PopupContainerView = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-bb4b3160.js';
2
+ import { i as intl } from './global-f82b3eaa.js';
3
3
  import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { i as useState, j as useRef, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
- import './global-bb4b3160.js';
3
+ import './global-f82b3eaa.js';
4
4
  import { u as useCallback } from './use-callback-051c06c6.js';
5
- import { o as on, K as Ke, H, p as pn, i as isDemo } from './index.module-4b531657.js';
5
+ import { o as on, K as Ke, L, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import './JSS-67b5cff8.js';
9
9
  import './sqm-text-span-view-2f7d6d14.js';
10
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-71ace81d.js';
10
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-f237a7f0.js';
11
11
 
12
12
  function usePortalEmailVerification(props) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
14
14
  const [request, { loading, data, errors }] = on();
15
15
  const [getVerificationStatus, { data: user, loading: loadingVerification }] = Ke();
16
- const userIdent = H();
16
+ const userIdent = L();
17
17
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
18
18
  const urlParams = new URLSearchParams(pn.location.search);
19
19
  const nextPage = urlParams.get("nextPage");
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { i as useState, m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { r as rn, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { t as tn, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
@@ -13,7 +13,7 @@ function usePortalForgotPassword(props) {
13
13
  var _a, _b, _c, _d, _e, _f, _g;
14
14
  const [success, setSuccess] = useState(false);
15
15
  const [error, setError] = useState("");
16
- const [request, { loading, data, errors }] = rn();
16
+ const [request, { loading, data, errors }] = tn();
17
17
  const urlParams = new URLSearchParams(pn.location.search);
18
18
  const nextPage = urlParams.get("nextPage");
19
19
  const submit = async (event) => {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { e as setUserIdentity, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { e as setUserIdentity, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
 
6
6
  function usePortalLogout({ nextPage }) {
7
7
  setUserIdentity(undefined);
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-bb4b3160.js';
2
+ import { i as intl } from './global-f82b3eaa.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
5
5
 
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
- import './global-bb4b3160.js';
3
+ import './global-f82b3eaa.js';
4
4
  import './use-callback-051c06c6.js';
5
- import { d as dist, H, b as mn, I as Ie, i as isDemo } from './index.module-4b531657.js';
5
+ import { d as dist, L, b as mn, I as Ie, i as isDemo } from './index.module-3b85bfd6.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import { g as getProps } from './utils-334c1e34.js';
9
9
  import './sqm-text-span-view-2f7d6d14.js';
10
- import { P as PortalProfileView } from './sqm-portal-profile-view-53979418.js';
10
+ import { P as PortalProfileView } from './sqm-portal-profile-view-bd86d8c4.js';
11
11
 
12
12
  const GET_USER = dist.gql `
13
13
  query {
@@ -53,7 +53,7 @@ const defaultFormState = {
53
53
  error: "",
54
54
  };
55
55
  function usePortalProfile(props) {
56
- const userIdent = H();
56
+ const userIdent = L();
57
57
  const [success, setSuccess] = useState(false);
58
58
  const [userData, setUserData] = useState(undefined);
59
59
  const [formState, setFormState] = useState(defaultFormState);
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
3
3
  import './use-callback-051c06c6.js';
4
- import { H, v as vn, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { L, v as vn, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
 
6
6
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
7
7
  var _a;
8
- const userIdent = H();
8
+ const userIdent = L();
9
9
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
10
10
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
11
11
  const { pathname, search } = vn();
@@ -1,14 +1,14 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { j as useRef, u as useEffect, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
3
3
  import { u as useCallback } from './use-callback-051c06c6.js';
4
- import { d as dist, q as qe, b as mn, p as pn, i as isDemo } from './index.module-4b531657.js';
4
+ import { d as dist, q as qe, b as mn, p as pn, i as isDemo } from './index.module-3b85bfd6.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
10
10
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
- import { u as useRegistrationFormState } from './useRegistrationFormState-8e6fe126.js';
11
+ import { u as useRegistrationFormState } from './useRegistrationFormState-e59e841f.js';
12
12
 
13
13
  const style = {
14
14
  Wrapper: { ...AuthWrapper, "max-width": "600px" },