@saasquatch/mint-components 1.12.1-14 → 1.12.1-16

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 (267) hide show
  1. package/dist/cjs/{ShadowViewAddon-63b78308.js → ShadowViewAddon-9aee7df5.js} +195 -90
  2. package/dist/cjs/{global-02e50f09.js → global-41c0a650.js} +1 -1
  3. package/dist/cjs/{index.module-df530553.js → index.module-d8342710.js} +12 -10
  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-1976e05e.js → re-render-dd8d65bf.js} +2 -2
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +51 -51
  9. package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +220 -43
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-41a0b707.js} +1 -1
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
  17. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-5f7886d6.js} +2 -2
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  23. package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-56fabc90.js} +1 -1
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
  25. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c9c60a6.js} +1 -1
  28. package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
  31. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  32. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  33. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  34. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  37. package/dist/cjs/sqm-stencilbook.cjs.entry.js +235 -172
  38. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  40. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-57e11069.js} +1 -1
  41. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-14ccf9d4.js} +3 -3
  42. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-ef36b29e.js} +7 -7
  43. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js} +1 -1
  44. package/dist/cjs/{utilities-cec9dd36.js → utilities-7df0fdad.js} +1 -1
  45. package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +55 -0
  46. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +5 -4
  47. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +5 -5
  48. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  49. package/dist/esm/{ShadowViewAddon-272f75a5.js → ShadowViewAddon-cadd38e4.js} +194 -91
  50. package/dist/esm/{global-62554cef.js → global-c1e70cb2.js} +1 -1
  51. package/dist/esm/{index.module-48f73e70.js → index.module-3344e7dc.js} +4 -2
  52. package/dist/esm/loader.js +3 -3
  53. package/dist/esm/mint-components.js +3 -3
  54. package/dist/esm/{re-render-cb4d43dc.js → re-render-29151677.js} +2 -2
  55. package/dist/esm/sqm-asset-card.entry.js +1 -1
  56. package/dist/esm/sqm-banking-info-form_16.entry.js +51 -51
  57. package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +218 -42
  58. package/dist/esm/sqm-close-button.entry.js +1 -1
  59. package/dist/esm/sqm-context-router.entry.js +1 -1
  60. package/dist/esm/sqm-empty_4.entry.js +2 -2
  61. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  62. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  63. package/dist/esm/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
  64. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
  65. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  66. package/dist/esm/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +2 -2
  67. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  68. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  69. package/dist/esm/sqm-password-field.entry.js +2 -2
  70. package/dist/esm/sqm-popup-container.entry.js +1 -1
  71. package/dist/esm/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
  72. package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
  73. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  74. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  75. package/dist/esm/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
  76. package/dist/esm/sqm-portal-profile.entry.js +6 -6
  77. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  78. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  79. package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
  80. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  81. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  82. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  83. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  84. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  85. package/dist/esm/sqm-stencilbook.entry.js +235 -172
  86. package/dist/esm/sqm-tab.entry.js +2 -2
  87. package/dist/esm/sqm-tabs.entry.js +3 -3
  88. package/dist/esm/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
  89. package/dist/esm/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +3 -3
  90. package/dist/esm/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +7 -7
  91. package/dist/esm/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
  92. package/dist/esm/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
  93. package/dist/esm-es5/ShadowViewAddon-cadd38e4.js +1 -0
  94. package/dist/esm-es5/{global-62554cef.js → global-c1e70cb2.js} +1 -1
  95. package/dist/esm-es5/index.module-3344e7dc.js +1 -0
  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-cb4d43dc.js → re-render-29151677.js} +1 -1
  99. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  100. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  101. package/dist/esm-es5/sqm-big-stat_40.entry.js +1 -0
  102. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  103. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  104. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  105. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  106. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  107. package/dist/esm-es5/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
  108. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  109. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  110. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +1 -1
  111. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  112. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  113. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  114. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  115. package/dist/esm-es5/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
  116. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  117. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  118. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  119. package/dist/esm-es5/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
  120. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  121. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  122. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  123. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  124. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  125. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  126. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  127. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  128. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  129. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  130. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  131. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  132. package/dist/esm-es5/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
  133. package/dist/esm-es5/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +1 -1
  134. package/dist/esm-es5/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +1 -1
  135. package/dist/esm-es5/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
  136. package/dist/esm-es5/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
  137. package/dist/mint-components/mint-components.esm.js +1 -1
  138. package/dist/mint-components/mint-components.js +1 -1
  139. package/dist/mint-components/{p-bd6d9d54.system.entry.js → p-00aa314d.system.entry.js} +1 -1
  140. package/dist/mint-components/{p-bda832b2.js → p-051dd2a0.js} +2 -2
  141. package/dist/mint-components/{p-3fefb1f4.entry.js → p-063f4458.entry.js} +32 -15
  142. package/dist/mint-components/p-06ab1968.js +1 -0
  143. package/dist/mint-components/p-0afb7d5d.system.js +1 -0
  144. package/dist/mint-components/{p-f99765fe.system.entry.js → p-0c06a6f5.system.entry.js} +1 -1
  145. package/dist/mint-components/{p-9bb9a767.system.js → p-0f65c86c.system.js} +1 -1
  146. package/dist/mint-components/{p-9982db11.entry.js → p-1064099e.entry.js} +1 -1
  147. package/dist/mint-components/{p-83df7db2.system.entry.js → p-17c59360.system.entry.js} +1 -1
  148. package/dist/mint-components/p-186542b8.system.js +1 -0
  149. package/dist/mint-components/{p-0f30148d.system.entry.js → p-19c94256.system.entry.js} +1 -1
  150. package/dist/mint-components/p-1ba5157e.js +1 -0
  151. package/dist/mint-components/{p-68160d49.system.entry.js → p-1ca1ca86.system.entry.js} +1 -1
  152. package/dist/mint-components/p-2037fbd3.js +1 -0
  153. package/dist/mint-components/{p-94324315.system.entry.js → p-284cc389.system.entry.js} +1 -1
  154. package/dist/mint-components/{p-23112de2.entry.js → p-29a80f6e.entry.js} +1 -1
  155. package/dist/mint-components/p-2b85b9d2.entry.js +1 -0
  156. package/dist/mint-components/p-30909368.entry.js +1 -0
  157. package/dist/mint-components/{p-5f20200a.entry.js → p-36332fc7.entry.js} +1 -1
  158. package/dist/mint-components/p-3d6eac77.js +1 -0
  159. package/dist/mint-components/p-3e87d803.entry.js +1 -0
  160. package/dist/mint-components/{p-30797093.system.entry.js → p-3edd4ea8.system.entry.js} +1 -1
  161. package/dist/mint-components/{p-13976be9.system.entry.js → p-40ad6540.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-5de3473d.entry.js → p-42baa318.entry.js} +1 -1
  163. package/dist/mint-components/{p-2a2d4343.system.js → p-45b1b2be.system.js} +1 -1
  164. package/dist/mint-components/p-46af0bf6.system.js +1 -0
  165. package/dist/mint-components/{p-902770d7.entry.js → p-4893f186.entry.js} +1 -1
  166. package/dist/mint-components/{p-b169229a.entry.js → p-4c6c314b.entry.js} +1 -1
  167. package/dist/mint-components/{p-0068067d.entry.js → p-4e582dd8.entry.js} +1 -1
  168. package/dist/mint-components/p-50135af6.entry.js +1 -0
  169. package/dist/mint-components/{p-7726e4ea.system.entry.js → p-5bdf586c.system.entry.js} +1 -1
  170. package/dist/mint-components/p-5d86d0b4.entry.js +1 -0
  171. package/dist/mint-components/{p-92b08cb2.system.entry.js → p-63b5126d.system.entry.js} +1 -1
  172. package/dist/mint-components/p-658d5964.system.entry.js +1 -0
  173. package/dist/mint-components/p-67a8b7ae.system.js +1 -0
  174. package/dist/mint-components/{p-9a520e94.entry.js → p-69a0a791.entry.js} +2 -2
  175. package/dist/mint-components/{p-498c4ffd.system.entry.js → p-6a4b1ec0.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-59111d6c.entry.js → p-6c9eb87a.entry.js} +1 -1
  177. package/dist/mint-components/{p-44c3791a.system.entry.js → p-6e50122b.system.entry.js} +1 -1
  178. package/dist/mint-components/p-6fdf020e.entry.js +1 -0
  179. package/dist/mint-components/{p-64b25dd9.entry.js → p-7a33cd80.entry.js} +1 -1
  180. package/dist/mint-components/p-7c49ebfa.entry.js +1 -0
  181. package/dist/mint-components/{p-c89c890e.entry.js → p-85f3c5d5.entry.js} +2 -2
  182. package/dist/mint-components/{p-0f010c01.system.js → p-8833552d.system.js} +1 -1
  183. package/dist/mint-components/{p-74d012fc.entry.js → p-91c1a54d.entry.js} +1 -1
  184. package/dist/mint-components/{p-b348d95c.js → p-920641bf.js} +1 -1
  185. package/dist/mint-components/{p-018088cc.entry.js → p-924384b2.entry.js} +2 -2
  186. package/dist/mint-components/{p-1d803c85.js → p-9276151f.js} +1 -1
  187. package/dist/mint-components/{p-115edc43.system.entry.js → p-98072a24.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-5da7c982.system.js → p-99b2ff9c.system.js} +1 -1
  189. package/dist/mint-components/p-9e62ac1f.system.entry.js +1 -0
  190. package/dist/mint-components/{p-66d09e59.system.js → p-a1b5a82c.system.js} +1 -1
  191. package/dist/mint-components/{p-57ea9c0b.system.js → p-a2bce8d7.system.js} +1 -1
  192. package/dist/mint-components/{p-98602fa9.js → p-a7161d9f.js} +1 -1
  193. package/dist/mint-components/{p-74609159.system.js → p-a8ebb87a.system.js} +1 -1
  194. package/dist/mint-components/{p-baca1c93.system.entry.js → p-a8ec5664.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-52acd113.entry.js → p-ac1fb0c4.entry.js} +1 -1
  196. package/dist/mint-components/{p-2364eb2d.system.entry.js → p-ad8dbab8.system.entry.js} +1 -1
  197. package/dist/mint-components/p-ae72631b.entry.js +9 -0
  198. package/dist/mint-components/{p-1bb2fd65.system.entry.js → p-b6557eff.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-804de0cf.system.entry.js → p-b758d962.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-ce5057f7.system.js → p-b8fff589.system.js} +1 -1
  201. package/dist/mint-components/{p-d71ec46e.system.entry.js → p-b9cab58d.system.entry.js} +1 -1
  202. package/dist/mint-components/{p-1bdacfcb.entry.js → p-bb873ddd.entry.js} +1 -1
  203. package/dist/mint-components/{p-6f980faf.system.js → p-c588e9c1.system.js} +1 -1
  204. package/dist/mint-components/{p-512089bb.js → p-c810bcfc.js} +1 -1
  205. package/dist/mint-components/{p-778b55a5.entry.js → p-cb029418.entry.js} +1 -1
  206. package/dist/mint-components/{p-6aed684b.js → p-cbfc4b47.js} +1 -1
  207. package/dist/mint-components/{p-cefffd56.system.entry.js → p-cd326a35.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-c98cd85a.system.entry.js → p-d1ebd4c9.system.entry.js} +1 -1
  209. package/dist/mint-components/{p-df2ada74.entry.js → p-d2389ef4.entry.js} +1 -1
  210. package/dist/mint-components/{p-215d9dce.system.entry.js → p-d5b327ec.system.entry.js} +1 -1
  211. package/dist/mint-components/{p-fc58dc2f.system.entry.js → p-db0d4d3a.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-da1e21f2.js → p-e10b0628.js} +1 -1
  213. package/dist/mint-components/{p-275b2841.system.entry.js → p-e4d14213.system.entry.js} +1 -1
  214. package/dist/mint-components/{p-7ab32670.entry.js → p-ea2075fd.entry.js} +2 -2
  215. package/dist/mint-components/p-ea46d642.js +391 -0
  216. package/dist/mint-components/{p-c4719154.js → p-eb64a65f.js} +1 -1
  217. package/dist/mint-components/{p-099c59cc.system.entry.js → p-ebab1714.system.entry.js} +1 -1
  218. package/dist/mint-components/{p-b7324c0e.system.entry.js → p-f093ed85.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-9aa177d6.system.entry.js → p-f58c7201.system.entry.js} +1 -1
  220. package/dist/mint-components/{p-1eb21821.system.js → p-f8d2c679.system.js} +1 -1
  221. package/dist/mint-components/{p-513f79fb.entry.js → p-fa160846.entry.js} +2 -2
  222. package/dist/mint-components/{p-3b08cc52.entry.js → p-fcf7f4c1.entry.js} +1 -1
  223. package/dist/mint-components/{p-670d441e.system.entry.js → p-fe163a23.system.entry.js} +1 -1
  224. package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
  225. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +2 -2
  226. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +3 -3
  227. package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +2 -2
  228. package/dist/types/components.d.ts +4 -4
  229. package/docs/docs.docx +0 -0
  230. package/docs/raisins.json +1 -1
  231. package/package.json +1 -1
  232. package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +0 -66
  233. package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +0 -236
  234. package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +0 -64
  235. package/dist/esm/sqm-portal-change-marketing.entry.js +0 -232
  236. package/dist/esm-es5/ShadowViewAddon-272f75a5.js +0 -1
  237. package/dist/esm-es5/index.module-48f73e70.js +0 -1
  238. package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
  239. package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.js +0 -1
  240. package/dist/esm-es5/sqm-portal-change-marketing.entry.js +0 -1
  241. package/dist/mint-components/p-1514e0af.system.entry.js +0 -1
  242. package/dist/mint-components/p-175075e7.system.js +0 -1
  243. package/dist/mint-components/p-1e0f4667.entry.js +0 -9
  244. package/dist/mint-components/p-29023a9c.entry.js +0 -1
  245. package/dist/mint-components/p-30f84f8b.system.js +0 -1
  246. package/dist/mint-components/p-32642d34.js +0 -1
  247. package/dist/mint-components/p-481dedf2.system.js +0 -1
  248. package/dist/mint-components/p-48b07ec7.system.entry.js +0 -1
  249. package/dist/mint-components/p-4dcdf9b6.js +0 -1
  250. package/dist/mint-components/p-52553737.system.entry.js +0 -1
  251. package/dist/mint-components/p-5ab5131c.entry.js +0 -1
  252. package/dist/mint-components/p-711bb8da.entry.js +0 -1
  253. package/dist/mint-components/p-7eabcffc.js +0 -1
  254. package/dist/mint-components/p-8e3390b6.entry.js +0 -1
  255. package/dist/mint-components/p-9b4a99c4.js +0 -1
  256. package/dist/mint-components/p-a178a449.system.js +0 -1
  257. package/dist/mint-components/p-a6b36268.system.js +0 -1
  258. package/dist/mint-components/p-b07a88fd.js +0 -1
  259. package/dist/mint-components/p-b5b9f737.entry.js +0 -1
  260. package/dist/mint-components/p-b86003f6.entry.js +0 -1
  261. package/dist/mint-components/p-de0a29b2.js +0 -391
  262. package/dist/mint-components/p-e169497d.entry.js +0 -1
  263. package/dist/mint-components/p-f9067e53.entry.js +0 -18
  264. package/dist/types/global/android.d.ts +0 -7
  265. package/dist/types/global/demo.d.ts +0 -2
  266. package/dist/types/stories/features.d.ts +0 -4
  267. package/dist/types/stories/templates.d.ts +0 -4
@@ -1,22 +1,21 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-62554cef.js';
4
- import { i as isDemo, _, d as dist, Q, H, e as $e, y as yn, B, L, g as gn, $ as $n, p as Ue, q as qe, x as xe, u as useCallback, r as ze, S as Sn } from './index.module-48f73e70.js';
3
+ import { i as intl } from './global-c1e70cb2.js';
4
+ import { i as isDemo, _, d as dist, J, H, $ as $e, w as wn, B, L, y as yn, j as jn, h as Ue, o as je, V as Ve, u as useCallback, p as Qe, k as kn } from './index.module-3344e7dc.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';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { a as useRequestRerender } from './re-render-cb4d43dc.js';
10
- import { u as useChildElements } from './useChildElements-a6b895dd.js';
9
+ import { a as useRequestRerender } from './re-render-29151677.js';
10
+ import { u as useChildElements } from './useChildElements-cc98d6c4.js';
11
11
  import './luxon-7600be8d.js';
12
12
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
13
13
  import './sqm-text-span-view-8d140661.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-de6b208e.js';
16
- import { C as CheckboxFieldView } from './sqm-checkbox-field-view-0ef58cb3.js';
17
- import { i as isEmpty } from './utilities-e8022681.js';
15
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-4151cec4.js';
16
+ import { i as isEmpty } from './utilities-4d60af2c.js';
18
17
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
19
- import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V 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, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-272f75a5.js';
18
+ import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, M as CardFeedView, k as CheckboxFieldView, O as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, g as ChangeMarktingView, d as PortalChangePasswordView, j as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, l as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-cadd38e4.js';
20
19
  import './sqm-portal-container-view-6c582684.js';
21
20
 
22
21
  const BigStat = class {
@@ -299,11 +298,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
299
298
  `;
300
299
  function useCouponCode(props) {
301
300
  var _a, _b, _c;
302
- const user = Q();
301
+ const user = J();
303
302
  const programId = H();
304
303
  const engagementMedium = B();
305
304
  const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
306
- const { data, loading, refetch, errors } = yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
305
+ const { data, loading, refetch, errors } = wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
307
306
  const getStatus = (reward) => {
308
307
  if (!reward || !reward.statuses)
309
308
  return "ERROR";
@@ -693,12 +692,12 @@ const defaultFormState = {
693
692
  error: "",
694
693
  };
695
694
  function useEditProfile(props) {
696
- const userIdent = Q();
695
+ const userIdent = J();
697
696
  const [showEdit, setShowEdit] = useState(false);
698
697
  const [error, setError] = useState("");
699
698
  const [userData, setUserData] = useState(undefined);
700
699
  const [formState, setFormState] = useState(defaultFormState);
701
- const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
700
+ const userDataResponse = wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
702
701
  const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
703
702
  useEffect(() => {
704
703
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
@@ -1341,7 +1340,7 @@ function useLeaderboard(props) {
1341
1340
  const programIdContext = H();
1342
1341
  // Default to context, overriden by props
1343
1342
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1344
- const user = Q();
1343
+ const user = J();
1345
1344
  const locale = L();
1346
1345
  const variables = programId
1347
1346
  ? {
@@ -1361,8 +1360,8 @@ function useLeaderboard(props) {
1361
1360
  if (props.maxRows > 0) {
1362
1361
  variables["limit"] = props.maxRows;
1363
1362
  }
1364
- const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1365
- const { data: rankData } = yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1363
+ const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = wn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1364
+ const { data: rankData } = wn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1366
1365
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1367
1366
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1368
1367
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1698,12 +1697,12 @@ function NavigationMenuView(props) {
1698
1697
  }
1699
1698
 
1700
1699
  function handleMenu(e) {
1701
- $n.push(e.detail.item.value);
1700
+ jn.push(e.detail.item.value);
1702
1701
  }
1703
1702
  function useNavigationMenu(props) {
1704
1703
  const ref = useRef();
1705
- const [, rerender] = gn();
1706
- const user = Q();
1704
+ const [, rerender] = yn();
1705
+ const user = J();
1707
1706
  useEffect(() => {
1708
1707
  var _a;
1709
1708
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1755,13 +1754,190 @@ function useNavigationMenuDemo(props) {
1755
1754
  }
1756
1755
  NavigationMenu.style = sqmNavigationMenuCss;
1757
1756
 
1757
+ const GET_USER$1 = dist.gql `
1758
+ query {
1759
+ viewer {
1760
+ ... on User {
1761
+ id
1762
+ accountId
1763
+ marketingEmailOptIn
1764
+ }
1765
+ }
1766
+ }
1767
+ `;
1768
+ const UPSERT_USER$1 = dist.gql `
1769
+ mutation ($userInput: UserInput!) {
1770
+ upsertUser(userInput: $userInput) {
1771
+ id
1772
+ marketingEmailOptIn
1773
+ }
1774
+ }
1775
+ `;
1776
+ // view doesn't tolerate undefined, even when we're loading
1777
+ const defaultFormState$1 = {
1778
+ marketingEmailOptIn: false,
1779
+ errors: {},
1780
+ error: "",
1781
+ };
1782
+ function usePortalProfile(props) {
1783
+ const userIdent = J();
1784
+ const [success, setSuccess] = useState(false);
1785
+ const [userData, setUserData] = useState(undefined);
1786
+ const [formState, setFormState] = useState(defaultFormState$1);
1787
+ const userDataResponse = wn(GET_USER$1, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
1788
+ const [upsertUser, upsertUserResponse] = $e(UPSERT_USER$1);
1789
+ useEffect(() => {
1790
+ if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
1791
+ return;
1792
+ if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) {
1793
+ setFormState((state) => {
1794
+ var _a, _b, _c;
1795
+ return ({
1796
+ ...state,
1797
+ error: (_c = (_b = (_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) === null || _a === void 0 ? void 0 : _a.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0].message,
1798
+ });
1799
+ });
1800
+ }
1801
+ else {
1802
+ setUserData((state) => {
1803
+ var _a;
1804
+ return ({
1805
+ ...state,
1806
+ ...(_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.data) === null || _a === void 0 ? void 0 : _a.upsertUser,
1807
+ });
1808
+ });
1809
+ if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.data)
1810
+ setSuccess(true);
1811
+ }
1812
+ }, [upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading]);
1813
+ useEffect(() => {
1814
+ var _a, _b;
1815
+ setUserData((data) => { var _a; return ({ ...data, ...(_a = userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.data) === null || _a === void 0 ? void 0 : _a.viewer }); });
1816
+ setFormState({
1817
+ ...defaultFormState$1,
1818
+ ...(_a = userDataResponse.data) === null || _a === void 0 ? void 0 : _a.viewer,
1819
+ ...(_b = upsertUserResponse.data) === null || _b === void 0 ? void 0 : _b.upsertUser,
1820
+ });
1821
+ }, [userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.data]);
1822
+ useEffect(() => {
1823
+ var _a, _b;
1824
+ if ((_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) === null || _a === void 0 ? void 0 : _a.message) {
1825
+ setFormState({
1826
+ ...(_b = userDataResponse.data) === null || _b === void 0 ? void 0 : _b.viewer,
1827
+ error: props.networkRequestMessage,
1828
+ });
1829
+ }
1830
+ }, [upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors]);
1831
+ const onSubmit = (event) => {
1832
+ var _a;
1833
+ setSuccess(false);
1834
+ const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
1835
+ formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
1836
+ jsonpointer.set(formData, key, value);
1837
+ });
1838
+ upsertUser({
1839
+ userInput: {
1840
+ id: userIdent === null || userIdent === void 0 ? void 0 : userIdent.id,
1841
+ accountId: userIdent === null || userIdent === void 0 ? void 0 : userIdent.accountId,
1842
+ marketingEmailOptIn: Boolean(formData.marketingEmailOptIn),
1843
+ },
1844
+ });
1845
+ setFormState((s) => ({ ...s, errors: {}, error: "" }));
1846
+ return;
1847
+ };
1848
+ return {
1849
+ states: {
1850
+ success,
1851
+ loading: (userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.loading) || upsertUserResponse.loading,
1852
+ submitDisabled: false,
1853
+ formState,
1854
+ user: userData,
1855
+ text: {
1856
+ emailPreferencesHeader: props.emailPreferencesHeader,
1857
+ marketingCheckboxLabel: props.marketingCheckboxLabel,
1858
+ submitChangeButtonText: props.submitChangeButtonText,
1859
+ successMessage: props.successMessage,
1860
+ },
1861
+ },
1862
+ callbacks: {
1863
+ onSubmit,
1864
+ setChecked: (value) => setFormState({ ...formState, marketingEmailOptIn: value }),
1865
+ },
1866
+ };
1867
+ }
1868
+
1869
+ const PortalChangeMarketing = class {
1870
+ constructor(hostRef) {
1871
+ registerInstance(this, hostRef);
1872
+ this.ignored = true;
1873
+ /**
1874
+ * @uiName Email preferences header
1875
+ */
1876
+ this.emailPreferencesHeader = "Email preferences";
1877
+ /**
1878
+ * @uiName Marketing checkbox label
1879
+ */
1880
+ this.marketingCheckboxLabel = "I want to receive marketing emails and promotions for this referral program from impact.com";
1881
+ /**
1882
+ * @uiName Submit changes button text
1883
+ */
1884
+ this.submitChangeButtonText = "Save";
1885
+ /**
1886
+ * @uiName Network request error message
1887
+ * Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
1888
+ */
1889
+ this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
1890
+ /**
1891
+ * @uiName Successful update message
1892
+ */
1893
+ this.successMessage = "Opt-in preference has been changed.";
1894
+ h(this);
1895
+ }
1896
+ disconnectedCallback() { }
1897
+ render() {
1898
+ const props = isDemo()
1899
+ ? usePortalProfileDemo(getProps(this))
1900
+ : usePortalProfile(getProps(this));
1901
+ return h$1(ChangeMarktingView, Object.assign({}, props));
1902
+ }
1903
+ };
1904
+ function usePortalProfileDemo(props) {
1905
+ return cjs({
1906
+ states: {
1907
+ success: false,
1908
+ loading: false,
1909
+ submitDisabled: false,
1910
+ user: {
1911
+ id: "01",
1912
+ accountId: "111100000",
1913
+ marketingEmailOptIn: false,
1914
+ },
1915
+ text: {
1916
+ emailPreferencesHeader: props.emailPreferencesHeader,
1917
+ marketingCheckboxLabel: props.marketingCheckboxLabel,
1918
+ submitChangeButtonText: props.submitChangeButtonText,
1919
+ successMessage: props.successMessage,
1920
+ },
1921
+ formState: {
1922
+ marketingEmailOptIn: false,
1923
+ errors: null,
1924
+ error: "",
1925
+ },
1926
+ },
1927
+ callbacks: {
1928
+ onSubmit: (e) => console.log(e),
1929
+ setChecked: () => { },
1930
+ },
1931
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
1932
+ }
1933
+
1758
1934
  function usePortalChangePassword(props) {
1759
1935
  var _a, _b, _c, _d, _e, _f, _g;
1760
1936
  const [request, { loading, errors, data }] = Ue();
1761
1937
  const [open, setOpen] = useState(false);
1762
1938
  const [error, setError] = useState("");
1763
1939
  const [success, setSuccess] = useState(false);
1764
- const user = Q();
1940
+ const user = J();
1765
1941
  const submit = async (event) => {
1766
1942
  var _a, _b;
1767
1943
  setSuccess(false);
@@ -2003,7 +2179,7 @@ const PortalFooter = class {
2003
2179
  };
2004
2180
 
2005
2181
  function usePortalFrame(footerContent, headerContent) {
2006
- const [, rerender] = gn();
2182
+ const [, rerender] = yn();
2007
2183
  return {
2008
2184
  data: {
2009
2185
  footer: footerContent,
@@ -2053,9 +2229,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
2053
2229
 
2054
2230
  function usePortalLogin(props) {
2055
2231
  var _a, _b, _c, _d, _e, _f, _g;
2056
- const [request, { loading, errors, data }] = qe();
2232
+ const [request, { loading, errors, data }] = je();
2057
2233
  const [error, setError] = useState("");
2058
- const urlParams = new URLSearchParams($n.location.search);
2234
+ const urlParams = new URLSearchParams(jn.location.search);
2059
2235
  const nextPageOverride = urlParams.get("nextPage");
2060
2236
  const submit = async (event) => {
2061
2237
  var _a, _b;
@@ -2074,7 +2250,7 @@ function usePortalLogin(props) {
2074
2250
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
2075
2251
  urlParams.delete("nextPage");
2076
2252
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
2077
- $n.push(url.href);
2253
+ jn.push(url.href);
2078
2254
  }
2079
2255
  };
2080
2256
  const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
@@ -2153,8 +2329,8 @@ const PortalLogin = class {
2153
2329
  ? useLoginDemo(this)
2154
2330
  : usePortalLogin(this);
2155
2331
  const content = {
2156
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => $n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2157
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel))),
2332
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2333
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
2158
2334
  emailLabel: this.emailLabel,
2159
2335
  passwordLabel: this.passwordLabel,
2160
2336
  submitLabel: this.submitLabel,
@@ -2183,7 +2359,7 @@ function usePortalRegister(props) {
2183
2359
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2184
2360
  const formRef = useRef(null);
2185
2361
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
2186
- const [request, { loading, errors, data }] = xe();
2362
+ const [request, { loading, errors, data }] = Ve();
2187
2363
  useEffect(() => {
2188
2364
  if (!formRef.current)
2189
2365
  return;
@@ -2256,7 +2432,7 @@ function usePortalRegister(props) {
2256
2432
  validationErrors: {},
2257
2433
  });
2258
2434
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
2259
- $n.push(props.nextPage);
2435
+ jn.push(props.nextPage);
2260
2436
  }
2261
2437
  }
2262
2438
  catch (error) {
@@ -2430,7 +2606,7 @@ const PortalRegister = class {
2430
2606
  : usePortalRegister(this);
2431
2607
  const content = {
2432
2608
  formData: h$1("slot", { name: "formData" }),
2433
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
2609
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
2434
2610
  terms: h$1("slot", { name: "terms" }),
2435
2611
  emailLabel: this.emailLabel,
2436
2612
  passwordLabel: this.passwordLabel,
@@ -2605,7 +2781,7 @@ function useProgramMenu(props) {
2605
2781
  const host = _();
2606
2782
  debug({ programId, props });
2607
2783
  const ref = useRef();
2608
- const [, rerender] = gn();
2784
+ const [, rerender] = yn();
2609
2785
  useEffect(() => {
2610
2786
  var _a;
2611
2787
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
@@ -2784,8 +2960,8 @@ const GET_USER_DETAILS = dist.gql `
2784
2960
  function useReferralIframe(props) {
2785
2961
  var _a;
2786
2962
  const programId = H();
2787
- const user = Q();
2788
- const { data } = yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2963
+ const user = J();
2964
+ const { data } = wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2789
2965
  return {
2790
2966
  states: {
2791
2967
  content: props,
@@ -3510,9 +3686,9 @@ function useRewardExchangeList(props) {
3510
3686
  });
3511
3687
  const [open, setOpen] = useState(false);
3512
3688
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3513
- const user = Q();
3689
+ const user = J();
3514
3690
  const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
3515
- const { data, loading, refetch, errors: queryError, } = yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3691
+ const { data, loading, refetch, errors: queryError, } = wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3516
3692
  useEffect(() => {
3517
3693
  var _a, _b;
3518
3694
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -3531,7 +3707,7 @@ function useRewardExchangeList(props) {
3531
3707
  canvas.confetti || confetti.create(canvas, { resize: true });
3532
3708
  canvas.confetti();
3533
3709
  }, [canvasRef.current]);
3534
- const { refresh } = ze();
3710
+ const { refresh } = Qe();
3535
3711
  async function exchangeReward() {
3536
3712
  if (!selectedItem)
3537
3713
  return;
@@ -3839,7 +4015,7 @@ function matchPath(pattern, page) {
3839
4015
  return regexp.exec(page);
3840
4016
  }
3841
4017
  function useRouter() {
3842
- const location = Sn();
4018
+ const location = kn();
3843
4019
  const host = _();
3844
4020
  const [slot, setSlot] = useState(undefined);
3845
4021
  const [container, setContainer] = useState(undefined);
@@ -4102,9 +4278,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
4102
4278
  function useShareCode(props) {
4103
4279
  var _a, _b;
4104
4280
  const { programId = H() } = props;
4105
- const user = Q();
4281
+ const user = J();
4106
4282
  const engagementMedium = B();
4107
- const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4283
+ const { data } = wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4108
4284
  const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
4109
4285
  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 :
4110
4286
  // Shown during loading
@@ -4304,10 +4480,10 @@ const SEND_EVENT = dist.gql `
4304
4480
  }
4305
4481
  `;
4306
4482
  function useTaskCard(props) {
4307
- const user = Q();
4483
+ const user = J();
4308
4484
  const locale = L();
4309
4485
  const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
4310
- const { refresh } = ze();
4486
+ const { refresh } = Qe();
4311
4487
  useEffect(() => {
4312
4488
  if (data) {
4313
4489
  refresh();
@@ -4628,8 +4804,8 @@ const GET_USER_NAME = dist.gql `
4628
4804
  `;
4629
4805
  function useUserName(props) {
4630
4806
  var _a, _b, _c, _d, _e, _f, _g, _h;
4631
- const user = Q();
4632
- const res = yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4807
+ const user = J();
4808
+ const res = wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4633
4809
  const loading = res.loading;
4634
4810
  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)
4635
4811
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -4670,4 +4846,4 @@ function useUserNameDemo(props) {
4670
4846
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4671
4847
  }
4672
4848
 
4673
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, 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, 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, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, 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, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, 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, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
4849
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, 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, 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, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, 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, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, 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, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { a as getEnvironmentSDK } from './index.module-48f73e70.js';
3
+ import { g as getEnvironmentSDK } from './index.module-3344e7dc.js';
4
4
  import './mixins-f60a614c.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { _ } from './index.module-48f73e70.js';
3
+ import { _ } from './index.module-3344e7dc.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-62554cef.js';
4
- import './index.module-48f73e70.js';
3
+ import { i as intl } from './global-c1e70cb2.js';
4
+ import './index.module-3344e7dc.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { o as m, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { J, E as Ee, z, P as Pe } from './index.module-48f73e70.js';
3
+ import { G, E as Ee, Q, P as Pe } from './index.module-3344e7dc.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
- const token = J();
6
+ const token = G();
7
7
  const appDomain = domain;
8
- const tenantAlias = z();
8
+ const tenantAlias = Q();
9
9
  // Memoization is shared. One client per domain, tenant and token (or null)
10
10
  const managedIdentityClient = Ee(appDomain, tenantAlias, token);
11
11
  const [, setGraphQLClient] = m(Pe, managedIdentityClient);
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as isDemo, b as setUserIdentity } from './index.module-48f73e70.js';
3
+ import { i as isDemo, a as setUserIdentity } from './index.module-3344e7dc.js';
4
4
  import './jsonpointer-388a7082.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 { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
9
- import './useRegistrationFormState-de6b208e.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-46a98499.js';
9
+ import './useRegistrationFormState-4151cec4.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-e95685e5.js';
11
11
 
12
12
  const InstantAccessRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-62554cef.js';
2
+ import { i as intl } from './global-c1e70cb2.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
 
5
5
  const INDIRECT_TAX_PROVINCES = [
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-62554cef.js';
4
- import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-48f73e70.js';
3
+ import { i as intl } from './global-c1e70cb2.js';
4
+ import { d as dist, H, J, w as wn, i as isDemo } from './index.module-3344e7dc.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
7
7
 
@@ -23,7 +23,7 @@ function useLeaderboardRank(props) {
23
23
  const programIdContext = H();
24
24
  // Default to context, overriden by props
25
25
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
26
- const user = Q();
26
+ const user = J();
27
27
  const rankVariables = programId
28
28
  ? {
29
29
  type: props.leaderboardType,
@@ -36,7 +36,7 @@ function useLeaderboardRank(props) {
36
36
  if (props.interval) {
37
37
  rankVariables.filter["interval"] = props.interval;
38
38
  }
39
- const { data: rankData } = yn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
39
+ const { data: rankData } = wn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
40
40
  const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
41
41
  rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
42
42
  })
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-48f73e70.js';
3
+ import { d as dist, J, w as wn, a as setUserIdentity, i as isDemo } from './index.module-3344e7dc.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
@@ -19,8 +19,8 @@ const GET_USER_DETAILS = dist.gql `
19
19
  `;
20
20
  function useLogoutCurrentUser(props) {
21
21
  var _a, _b;
22
- const user = Q();
23
- const { loading, data } = yn(GET_USER_DETAILS, {}, !user);
22
+ const user = J();
23
+ const { loading, data } = wn(GET_USER_DETAILS, {}, !user);
24
24
  const onSwitchClick = () => {
25
25
  setUserIdentity(undefined);
26
26
  };
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { $ as $n } from './index.module-48f73e70.js';
2
+ import { j as jn } from './index.module-3344e7dc.js';
3
3
  import { g as gap } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
33
33
  const styleString = sheet.toString();
34
34
  return (h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
35
35
  e.preventDefault();
36
- $n.push(data.path);
36
+ jn.push(data.path);
37
37
  }, class: sheet.classes.ItemContainer },
38
38
  h("style", { type: "text/css" }, styleString),
39
39
  h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { S as Sn, i as isDemo } from './index.module-48f73e70.js';
3
+ import { k as kn, i as isDemo } from './index.module-3344e7dc.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './mixins-f60a614c.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-af40eedb.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-08e47843.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
- const currentPage = Sn();
11
+ const currentPage = kn();
12
12
  return {
13
13
  states: {
14
14
  active: currentPage.pathname === props.path,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
- import { S as Sn, H } from './index.module-48f73e70.js';
3
+ import { k as kn, H } from './index.module-3344e7dc.js';
4
4
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
5
5
 
6
6
  const NavigationSidebar = class {
@@ -16,7 +16,7 @@ const NavigationSidebar = class {
16
16
  }
17
17
  };
18
18
  function useNavigationSidebar() {
19
- const location = Sn();
19
+ const location = kn();
20
20
  const programId = H();
21
21
  const [checked, setChecked] = useState(false);
22
22
  // Close hamburger menu after navigation
@@ -1,11 +1,11 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as isDemo } from './index.module-48f73e70.js';
3
+ import { i as isDemo } from './index.module-3344e7dc.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { E as ErrorStyles } from './mixins-f60a614c.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-de6b208e.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-4151cec4.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,6 +1,6 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { B } from './index.module-48f73e70.js';
3
+ import { B } from './index.module-3344e7dc.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-62554cef.js';
2
+ import { i as intl } from './global-c1e70cb2.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-8d140661.js';