@saasquatch/mint-components 1.12.1-2 → 1.12.1-21

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 (277) hide show
  1. package/dist/cjs/{ShadowViewAddon-88821c64.js → ShadowViewAddon-e7d97410.js} +152 -117
  2. package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
  3. package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
  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-5bde3d2e.js → re-render-1976e05e.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
  9. package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +241 -68
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  14. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.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 +3 -3
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  23. package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
  25. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
  26. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
  28. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  29. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -11
  31. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
  32. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
  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 +10 -10
  37. package/dist/cjs/sqm-stencilbook.cjs.entry.js +243 -179
  38. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  40. package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
  41. package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
  42. package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
  43. package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
  44. package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
  45. package/dist/collection/collection-manifest.json +1 -0
  46. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
  47. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
  48. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +12 -43
  49. package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +55 -0
  50. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +47 -0
  51. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +217 -0
  52. package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +115 -0
  53. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +3 -3
  54. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -3
  55. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -3
  56. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
  57. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +3 -3
  58. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +3 -3
  59. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  60. package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-149b4015.js} +152 -118
  61. package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  62. package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/mint-components.js +3 -3
  65. package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
  66. package/dist/esm/sqm-asset-card.entry.js +1 -1
  67. package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
  68. package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +241 -69
  69. package/dist/esm/sqm-close-button.entry.js +1 -1
  70. package/dist/esm/sqm-context-router.entry.js +2 -2
  71. package/dist/esm/sqm-empty_4.entry.js +2 -2
  72. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  73. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  74. package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
  75. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  76. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  77. package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
  78. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  79. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  80. package/dist/esm/sqm-password-field.entry.js +2 -2
  81. package/dist/esm/sqm-popup-container.entry.js +4 -4
  82. package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  83. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  84. package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
  85. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  86. package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  87. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  88. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  89. package/dist/esm/sqm-portal-registration-form.entry.js +7 -11
  90. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  91. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  92. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  93. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  94. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  95. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  96. package/dist/esm/sqm-stencilbook.entry.js +243 -179
  97. package/dist/esm/sqm-tab.entry.js +2 -2
  98. package/dist/esm/sqm-tabs.entry.js +4 -4
  99. package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
  100. package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
  101. package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
  102. package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
  103. package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  104. package/dist/esm-es5/ShadowViewAddon-149b4015.js +1 -0
  105. package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  106. package/dist/esm-es5/index.module-def4aec5.js +1 -0
  107. package/dist/esm-es5/loader.js +1 -1
  108. package/dist/esm-es5/mint-components.js +1 -1
  109. package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-12fd274a.js} +1 -1
  110. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  111. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  112. package/dist/esm-es5/sqm-big-stat_40.entry.js +1 -0
  113. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  114. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  115. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  116. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  117. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  118. package/dist/esm-es5/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-6e13a323.js} +1 -1
  119. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  120. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  121. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
  122. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  123. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  124. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  125. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  126. package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  127. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  128. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  129. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  130. package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  131. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  132. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  133. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  134. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  135. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  136. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  137. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  138. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  139. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  140. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  141. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  142. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  143. package/dist/esm-es5/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
  144. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  145. package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
  146. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  147. package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  148. package/dist/mint-components/mint-components.esm.js +1 -1
  149. package/dist/mint-components/mint-components.js +1 -1
  150. package/dist/mint-components/{p-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
  152. package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
  153. package/dist/mint-components/p-03494732.entry.js +1 -0
  154. package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
  155. package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
  156. package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
  157. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  158. package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
  159. package/dist/mint-components/p-1bfc8eb0.system.entry.js +1 -0
  160. package/dist/mint-components/p-1c857edb.entry.js +33 -0
  161. package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
  163. package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
  164. package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
  165. package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
  166. package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
  168. package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
  169. package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
  170. package/dist/mint-components/{p-3cb18382.system.js → p-44787d6e.system.js} +1 -1
  171. package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  172. package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
  173. package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
  174. package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
  176. package/dist/mint-components/p-51f517a2.js +1 -0
  177. package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
  178. package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
  180. package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
  181. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  182. package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
  184. package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
  185. package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
  186. package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
  187. package/dist/mint-components/{p-acd77a6e.entry.js → p-6f6a6518.entry.js} +32 -15
  188. package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
  189. package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
  190. package/dist/mint-components/p-770368bc.system.js +1 -0
  191. package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
  192. package/dist/mint-components/p-79186b05.entry.js +9 -0
  193. package/dist/mint-components/p-79191f88.entry.js +1 -0
  194. package/dist/mint-components/p-7c6c96e2.system.entry.js +1 -0
  195. package/dist/mint-components/p-7f088154.entry.js +1 -0
  196. package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
  198. package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
  199. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  200. package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
  201. package/dist/mint-components/p-91669312.entry.js +1 -0
  202. package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
  203. package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
  205. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  206. package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
  207. package/dist/mint-components/p-a8f7cb95.js +1 -0
  208. package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
  209. package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
  210. package/dist/mint-components/p-ace06b9b.system.js +1 -0
  211. package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  213. package/dist/mint-components/p-b370fca8.system.js +1 -0
  214. package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
  215. package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  217. package/dist/mint-components/p-ba0dfda9.js +391 -0
  218. package/dist/mint-components/{p-5cd917db.js → p-bb00db59.js} +1 -1
  219. package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  220. package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
  221. package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
  222. package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
  223. package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  224. package/dist/mint-components/p-d0ea10c3.system.entry.js +1 -0
  225. package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
  226. package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
  227. package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
  228. package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
  229. package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-b8233366.entry.js → p-ec41d6a4.entry.js} +1 -1
  231. package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
  232. package/dist/mint-components/{p-ca809fdd.system.js → p-ed17e637.system.js} +1 -1
  233. package/dist/mint-components/p-f3dd15c5.entry.js +13 -0
  234. package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  235. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +3 -10
  236. package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
  237. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +28 -0
  238. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +39 -0
  239. package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
  240. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +1 -1
  241. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +1 -1
  242. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -1
  243. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -1
  244. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +1 -1
  245. package/dist/types/components.d.ts +88 -24
  246. package/docs/docs.docx +0 -0
  247. package/docs/raisins.json +1 -1
  248. package/grapesjs/grapesjs.js +1 -1
  249. package/package.json +1 -1
  250. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
  251. package/dist/esm-es5/index.module-6c840c4e.js +0 -1
  252. package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
  253. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
  254. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
  255. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
  256. package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
  257. package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
  258. package/dist/mint-components/p-15a64357.entry.js +0 -13
  259. package/dist/mint-components/p-17f56865.entry.js +0 -9
  260. package/dist/mint-components/p-1b861be5.entry.js +0 -1
  261. package/dist/mint-components/p-2868f475.entry.js +0 -1
  262. package/dist/mint-components/p-6792c8d8.system.entry.js +0 -1
  263. package/dist/mint-components/p-93576222.system.js +0 -1
  264. package/dist/mint-components/p-947fe79b.entry.js +0 -1
  265. package/dist/mint-components/p-99c15c5e.entry.js +0 -1
  266. package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
  267. package/dist/mint-components/p-a02afa72.system.js +0 -1
  268. package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
  269. package/dist/mint-components/p-b1e8a802.entry.js +0 -1
  270. package/dist/mint-components/p-b3e97f8a.system.entry.js +0 -1
  271. package/dist/mint-components/p-b651706a.js +0 -391
  272. package/dist/mint-components/p-bdd6bb13.js +0 -1
  273. package/dist/mint-components/p-c3b37bbf.js +0 -1
  274. package/dist/mint-components/p-c92a743e.entry.js +0 -1
  275. package/dist/mint-components/p-c9fb6102.entry.js +0 -1
  276. package/dist/mint-components/p-def516b8.system.js +0 -1
  277. package/dist/mint-components/p-f655a7df.js +0 -1
@@ -1,21 +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-6306a9b8.js';
4
- import { i as isDemo, T, d as dist, K, z, c as xe, E as En, n as ne, Q, w as wn, x as xn, q as ze, W as We, U as Ue, b as useCallback, r as Ye, j as jn } from './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import { i as isDemo, _, d as dist, Q, H, f 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-def4aec5.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-1bcfd0de.js';
10
- import { u as useChildElements } from './useChildElements-fc84e640.js';
9
+ import { a as useRequestRerender } from './re-render-12fd274a.js';
10
+ import { u as useChildElements } from './useChildElements-32e1bda1.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-849e27f7.js';
16
- import { i as isEmpty } from './utilities-443732be.js';
15
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-9fc1ac80.js';
16
+ import { i as isEmpty } from './utilities-3f5bba22.js';
17
17
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
18
- import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W 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, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-65c8679e.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-149b4015.js';
19
19
  import './sqm-portal-container-view-6c582684.js';
20
20
 
21
21
  const BigStat = class {
@@ -35,7 +35,7 @@ const BigStat = class {
35
35
  render() {
36
36
  var _a;
37
37
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
38
- const host = T();
38
+ const host = _();
39
39
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
40
40
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
41
41
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -156,7 +156,7 @@ const styleString = sheet.toString();
156
156
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
157
157
  if (!missingProps)
158
158
  return false;
159
- const host = T();
159
+ const host = _();
160
160
  const [detailsOpen, setDetailsOpen] = useState(false);
161
161
  return (h$1("sl-alert", { type: "danger", open: true },
162
162
  h$1("style", { type: "text/css" }, styleString),
@@ -298,11 +298,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
298
298
  `;
299
299
  function useCouponCode(props) {
300
300
  var _a, _b, _c;
301
- const user = K();
302
- const programId = z();
303
- const engagementMedium = ne();
304
- const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT);
305
- const { data, loading, refetch, errors } = En(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
301
+ const user = Q();
302
+ const programId = H();
303
+ const engagementMedium = B();
304
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
305
+ const { data, loading, refetch, errors } = yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
306
306
  const getStatus = (reward) => {
307
307
  if (!reward || !reward.statuses)
308
308
  return "ERROR";
@@ -692,13 +692,13 @@ const defaultFormState = {
692
692
  error: "",
693
693
  };
694
694
  function useEditProfile(props) {
695
- const userIdent = K();
695
+ const userIdent = Q();
696
696
  const [showEdit, setShowEdit] = useState(false);
697
697
  const [error, setError] = useState("");
698
698
  const [userData, setUserData] = useState(undefined);
699
699
  const [formState, setFormState] = useState(defaultFormState);
700
- const userDataResponse = En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
701
- const [upsertUser, upsertUserResponse] = xe(UPSERT_USER);
700
+ const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
701
+ const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
702
702
  useEffect(() => {
703
703
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
704
704
  return;
@@ -1337,11 +1337,11 @@ const GET_RANK_WITHOUT_NAMES = dist.gql `
1337
1337
  `;
1338
1338
  function useLeaderboard(props) {
1339
1339
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1340
- const programIdContext = z();
1340
+ const programIdContext = H();
1341
1341
  // Default to context, overriden by props
1342
1342
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1343
- const user = K();
1344
- const locale = Q();
1343
+ const user = Q();
1344
+ const locale = L();
1345
1345
  const variables = programId
1346
1346
  ? {
1347
1347
  type: props.leaderboardType,
@@ -1360,8 +1360,8 @@ function useLeaderboard(props) {
1360
1360
  if (props.maxRows > 0) {
1361
1361
  variables["limit"] = props.maxRows;
1362
1362
  }
1363
- const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = En(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1364
- const { data: rankData } = En(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, } = yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1364
+ const { data: rankData } = yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1365
1365
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1366
1366
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1367
1367
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1603,21 +1603,15 @@ const MarketingEmailsCheckbox = class {
1603
1603
  constructor(hostRef) {
1604
1604
  registerInstance(this, hostRef);
1605
1605
  this.ignored = true;
1606
- /**
1607
- * This name is used as the key for this form field on submission. The name must be unique within this specific form.
1608
- * @uiName Checkbox name attribute
1609
- * @required
1610
- */
1611
- this.checkboxName = "marketingEmails";
1612
1606
  /**
1613
1607
  * @uiName Checkbox label
1614
1608
  * @uiWidget textArea
1615
1609
  */
1616
1610
  this.checkboxLabel = "I would like to receive marketing and promotional emails for this referral program";
1617
1611
  /**
1618
- * @uiName Required
1612
+ * @undocumented
1619
1613
  */
1620
- this.checkboxRequired = false;
1614
+ this.checkboxName = "marketingEmailOptIn";
1621
1615
  h(this);
1622
1616
  }
1623
1617
  disconnectedCallback() { }
@@ -1703,12 +1697,12 @@ function NavigationMenuView(props) {
1703
1697
  }
1704
1698
 
1705
1699
  function handleMenu(e) {
1706
- xn.push(e.detail.item.value);
1700
+ $n.push(e.detail.item.value);
1707
1701
  }
1708
1702
  function useNavigationMenu(props) {
1709
1703
  const ref = useRef();
1710
- const [, rerender] = wn();
1711
- const user = K();
1704
+ const [, rerender] = gn();
1705
+ const user = Q();
1712
1706
  useEffect(() => {
1713
1707
  var _a;
1714
1708
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1760,13 +1754,191 @@ function useNavigationMenuDemo(props) {
1760
1754
  }
1761
1755
  NavigationMenu.style = sqmNavigationMenuCss;
1762
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 = Q();
1784
+ const [success, setSuccess] = useState(false);
1785
+ const [userData, setUserData] = useState(undefined);
1786
+ const [formState, setFormState] = useState(defaultFormState$1);
1787
+ const userDataResponse = yn(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
+ * Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
1887
+ *
1888
+ * @uiName Network request error message
1889
+ */
1890
+ this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
1891
+ /**
1892
+ * @uiName Successful update message
1893
+ */
1894
+ this.successMessage = "Opt-in preference has been changed.";
1895
+ h(this);
1896
+ }
1897
+ disconnectedCallback() { }
1898
+ render() {
1899
+ const props = isDemo()
1900
+ ? usePortalProfileDemo(getProps(this))
1901
+ : usePortalProfile(getProps(this));
1902
+ return h$1(ChangeMarktingView, Object.assign({}, props));
1903
+ }
1904
+ };
1905
+ function usePortalProfileDemo(props) {
1906
+ return cjs({
1907
+ states: {
1908
+ success: false,
1909
+ loading: false,
1910
+ submitDisabled: false,
1911
+ user: {
1912
+ id: "01",
1913
+ accountId: "111100000",
1914
+ marketingEmailOptIn: false,
1915
+ },
1916
+ text: {
1917
+ emailPreferencesHeader: props.emailPreferencesHeader,
1918
+ marketingCheckboxLabel: props.marketingCheckboxLabel,
1919
+ submitChangeButtonText: props.submitChangeButtonText,
1920
+ successMessage: props.successMessage,
1921
+ },
1922
+ formState: {
1923
+ marketingEmailOptIn: false,
1924
+ errors: null,
1925
+ error: "",
1926
+ },
1927
+ },
1928
+ callbacks: {
1929
+ onSubmit: (e) => console.log(e),
1930
+ setChecked: () => { },
1931
+ },
1932
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
1933
+ }
1934
+
1763
1935
  function usePortalChangePassword(props) {
1764
1936
  var _a, _b, _c, _d, _e, _f, _g;
1765
- const [request, { loading, errors, data }] = ze();
1937
+ const [request, { loading, errors, data }] = Ue();
1766
1938
  const [open, setOpen] = useState(false);
1767
1939
  const [error, setError] = useState("");
1768
1940
  const [success, setSuccess] = useState(false);
1769
- const user = K();
1941
+ const user = Q();
1770
1942
  const submit = async (event) => {
1771
1943
  var _a, _b;
1772
1944
  setSuccess(false);
@@ -2008,7 +2180,7 @@ const PortalFooter = class {
2008
2180
  };
2009
2181
 
2010
2182
  function usePortalFrame(footerContent, headerContent) {
2011
- const [, rerender] = wn();
2183
+ const [, rerender] = gn();
2012
2184
  return {
2013
2185
  data: {
2014
2186
  footer: footerContent,
@@ -2058,9 +2230,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
2058
2230
 
2059
2231
  function usePortalLogin(props) {
2060
2232
  var _a, _b, _c, _d, _e, _f, _g;
2061
- const [request, { loading, errors, data }] = We();
2233
+ const [request, { loading, errors, data }] = qe();
2062
2234
  const [error, setError] = useState("");
2063
- const urlParams = new URLSearchParams(xn.location.search);
2235
+ const urlParams = new URLSearchParams($n.location.search);
2064
2236
  const nextPageOverride = urlParams.get("nextPage");
2065
2237
  const submit = async (event) => {
2066
2238
  var _a, _b;
@@ -2079,7 +2251,7 @@ function usePortalLogin(props) {
2079
2251
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
2080
2252
  urlParams.delete("nextPage");
2081
2253
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
2082
- xn.push(url.href);
2254
+ $n.push(url.href);
2083
2255
  }
2084
2256
  };
2085
2257
  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) ||
@@ -2146,8 +2318,8 @@ const PortalLogin = class {
2146
2318
  */
2147
2319
  this.pageLabel = "Sign in to your account";
2148
2320
  /**
2149
- * @uiName Network error message
2150
2321
  * Displayed when the login fails due to a network error. The participant can try refreshing the page.
2322
+ * @uiName Network error message
2151
2323
  */
2152
2324
  this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
2153
2325
  h(this);
@@ -2158,8 +2330,8 @@ const PortalLogin = class {
2158
2330
  ? useLoginDemo(this)
2159
2331
  : usePortalLogin(this);
2160
2332
  const content = {
2161
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => xn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2162
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.registerPath) }, this.registerLabel))),
2333
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => $n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2334
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel))),
2163
2335
  emailLabel: this.emailLabel,
2164
2336
  passwordLabel: this.passwordLabel,
2165
2337
  submitLabel: this.submitLabel,
@@ -2188,7 +2360,7 @@ function usePortalRegister(props) {
2188
2360
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2189
2361
  const formRef = useRef(null);
2190
2362
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
2191
- const [request, { loading, errors, data }] = Ue();
2363
+ const [request, { loading, errors, data }] = xe();
2192
2364
  useEffect(() => {
2193
2365
  if (!formRef.current)
2194
2366
  return;
@@ -2261,7 +2433,7 @@ function usePortalRegister(props) {
2261
2433
  validationErrors: {},
2262
2434
  });
2263
2435
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
2264
- xn.push(props.nextPage);
2436
+ $n.push(props.nextPage);
2265
2437
  }
2266
2438
  }
2267
2439
  catch (error) {
@@ -2435,7 +2607,7 @@ const PortalRegister = class {
2435
2607
  : usePortalRegister(this);
2436
2608
  const content = {
2437
2609
  formData: h$1("slot", { name: "formData" }),
2438
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginLabel))),
2610
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
2439
2611
  terms: h$1("slot", { name: "terms" }),
2440
2612
  emailLabel: this.emailLabel,
2441
2613
  passwordLabel: this.passwordLabel,
@@ -2606,11 +2778,11 @@ const ProgramExplainerStep = class {
2606
2778
  const debug = browser("sq:useProgramMenu");
2607
2779
  const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
2608
2780
  function useProgramMenu(props) {
2609
- const programId = z();
2610
- const host = T();
2781
+ const programId = H();
2782
+ const host = _();
2611
2783
  debug({ programId, props });
2612
2784
  const ref = useRef();
2613
- const [, rerender] = wn();
2785
+ const [, rerender] = gn();
2614
2786
  useEffect(() => {
2615
2787
  var _a;
2616
2788
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
@@ -2788,9 +2960,9 @@ const GET_USER_DETAILS = dist.gql `
2788
2960
  `;
2789
2961
  function useReferralIframe(props) {
2790
2962
  var _a;
2791
- const programId = z();
2792
- const user = K();
2793
- const { data } = En(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2963
+ const programId = H();
2964
+ const user = Q();
2965
+ const { data } = yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2794
2966
  return {
2795
2967
  states: {
2796
2968
  content: props,
@@ -3515,9 +3687,9 @@ function useRewardExchangeList(props) {
3515
3687
  });
3516
3688
  const [open, setOpen] = useState(false);
3517
3689
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3518
- const user = K();
3519
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = xe(EXCHANGE);
3520
- const { data, loading, refetch, errors: queryError, } = En(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3690
+ const user = Q();
3691
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
3692
+ const { data, loading, refetch, errors: queryError, } = yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3521
3693
  useEffect(() => {
3522
3694
  var _a, _b;
3523
3695
  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) {
@@ -3536,7 +3708,7 @@ function useRewardExchangeList(props) {
3536
3708
  canvas.confetti || confetti.create(canvas, { resize: true });
3537
3709
  canvas.confetti();
3538
3710
  }, [canvasRef.current]);
3539
- const { refresh } = Ye();
3711
+ const { refresh } = ze();
3540
3712
  async function exchangeReward() {
3541
3713
  if (!selectedItem)
3542
3714
  return;
@@ -3844,8 +4016,8 @@ function matchPath(pattern, page) {
3844
4016
  return regexp.exec(page);
3845
4017
  }
3846
4018
  function useRouter() {
3847
- const location = jn();
3848
- const host = T();
4019
+ const location = Sn();
4020
+ const host = _();
3849
4021
  const [slot, setSlot] = useState(undefined);
3850
4022
  const [container, setContainer] = useState(undefined);
3851
4023
  const page = location.pathname;
@@ -4106,11 +4278,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
4106
4278
  `;
4107
4279
  function useShareCode(props) {
4108
4280
  var _a, _b;
4109
- const { programId = z() } = props;
4110
- const user = K();
4111
- const engagementMedium = ne();
4112
- const { data } = En(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4113
- const [sendLoadEvent] = xe(WIDGET_ENGAGEMENT_EVENT$1);
4281
+ const { programId = H() } = props;
4282
+ const user = Q();
4283
+ const engagementMedium = B();
4284
+ const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4285
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
4114
4286
  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 :
4115
4287
  // Shown during loading
4116
4288
  "...";
@@ -4309,10 +4481,10 @@ const SEND_EVENT = dist.gql `
4309
4481
  }
4310
4482
  `;
4311
4483
  function useTaskCard(props) {
4312
- const user = K();
4313
- const locale = Q();
4314
- const [sendUserEvent, { data, loading: loadingEvent }] = xe(SEND_EVENT);
4315
- const { refresh } = Ye();
4484
+ const user = Q();
4485
+ const locale = L();
4486
+ const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
4487
+ const { refresh } = ze();
4316
4488
  useEffect(() => {
4317
4489
  if (data) {
4318
4490
  refresh();
@@ -4633,8 +4805,8 @@ const GET_USER_NAME = dist.gql `
4633
4805
  `;
4634
4806
  function useUserName(props) {
4635
4807
  var _a, _b, _c, _d, _e, _f, _g, _h;
4636
- const user = K();
4637
- const res = En(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4808
+ const user = Q();
4809
+ const res = yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4638
4810
  const loading = res.loading;
4639
4811
  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)
4640
4812
  ? `${(_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}`
@@ -4675,4 +4847,4 @@ function useUserNameDemo(props) {
4675
4847
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4676
4848
  }
4677
4849
 
4678
- 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 };
4850
+ 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 { g as getEnvironmentSDK } from './index.module-6c840c4e.js';
3
+ import { a as getEnvironmentSDK } from './index.module-def4aec5.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 { T } from './index.module-6c840c4e.js';
3
+ import { _ } from './index.module-def4aec5.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -12,7 +12,7 @@ function matchPath(pattern, page) {
12
12
  return regexp.exec(page);
13
13
  }
14
14
  function useContextRouter(props) {
15
- const host = T();
15
+ const host = _();
16
16
  const [slot, setSlot] = useState(undefined);
17
17
  const [container, setContainer] = useState(undefined);
18
18
  const context = props.contextName;
@@ -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-6306a9b8.js';
4
- import './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import './index.module-def4aec5.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,14 +1,14 @@
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 { B, k as ke, Y, $ as $e } from './index.module-6c840c4e.js';
3
+ import { J, E as Ee, z, P as Pe } from './index.module-def4aec5.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
- const token = B();
6
+ const token = J();
7
7
  const appDomain = domain;
8
- const tenantAlias = Y();
8
+ const tenantAlias = z();
9
9
  // Memoization is shared. One client per domain, tenant and token (or null)
10
- const managedIdentityClient = ke(appDomain, tenantAlias, token);
11
- const [, setGraphQLClient] = m($e, managedIdentityClient);
10
+ const managedIdentityClient = Ee(appDomain, tenantAlias, token);
11
+ const [, setGraphQLClient] = m(Pe, managedIdentityClient);
12
12
  useEffect(() => {
13
13
  setGraphQLClient(managedIdentityClient);
14
14
  }, [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, a as setUserIdentity } from './index.module-6c840c4e.js';
3
+ import { i as isDemo, b as setUserIdentity } from './index.module-def4aec5.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-849e27f7.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-8b0a4556.js';
9
+ import './useRegistrationFormState-9fc1ac80.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-46b89952.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-6306a9b8.js';
2
+ import { i as intl } from './global-04c7d3b5.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-6306a9b8.js';
4
- import { d as dist, z, K, E as En, i as isDemo } from './index.module-6c840c4e.js';
3
+ import { i as intl } from './global-04c7d3b5.js';
4
+ import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-def4aec5.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
 
@@ -20,10 +20,10 @@ const GET_RANK = dist.gql `
20
20
  `;
21
21
  function useLeaderboardRank(props) {
22
22
  var _a, _b, _c, _d;
23
- const programIdContext = z();
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 = K();
26
+ const user = Q();
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 } = En(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
39
+ const { data: rankData } = yn(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
  })