@saasquatch/mint-components 1.6.2-10 → 1.6.2-13

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 (333) hide show
  1. package/dist/cjs/{GenericTableView-47869553.js → GenericTableView-9271483b.js} +1 -1
  2. package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
  3. package/dist/cjs/{ShadowViewAddon-0ce4871c.js → ShadowViewAddon-58ede93c.js} +17 -21
  4. package/dist/cjs/{global-4e52f274.js → global-b645d18a.js} +2 -2
  5. package/dist/cjs/{index.module-7972acac.js → index.module-93c78ac7.js} +227 -535
  6. package/dist/cjs/loader.cjs.js +2 -3
  7. package/dist/cjs/mint-components.cjs.js +2 -3
  8. package/dist/cjs/{re-render-99b2655c.js → re-render-afeabe91.js} +4 -4
  9. package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -4
  11. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +87 -93
  12. package/dist/cjs/sqm-empty_5.cjs.entry.js +3 -4
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -6
  14. package/dist/cjs/{sqm-hero-view-bc763ed2.js → sqm-hero-view-ba78dcaf.js} +1 -1
  15. package/dist/cjs/sqm-hero.cjs.entry.js +2 -3
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -5
  17. package/dist/cjs/{sqm-navigation-sidebar-item-view-b3ca14b4.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
  18. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -5
  19. package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -3
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +3 -4
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -5
  23. package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
  24. package/dist/cjs/{sqm-portal-email-verification-view-f2a35e7c.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
  25. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +19 -23
  26. package/dist/cjs/{sqm-portal-footer-view-8eadb31d.js → sqm-portal-footer-view-5d6451ad.js} +2 -2
  27. package/dist/cjs/sqm-portal-footer.cjs.entry.js +4 -5
  28. package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
  29. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +18 -21
  30. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -3
  31. package/dist/cjs/{sqm-portal-profile-view-730252e8.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
  32. package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -9
  33. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -6
  34. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +28 -28
  35. package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
  36. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +31 -38
  37. package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
  38. package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
  39. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -11
  40. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -9
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -3
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -3
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +11 -12
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -56
  45. package/dist/cjs/sqm-tab.cjs.entry.js +2 -3
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -5
  47. package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
  48. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -3
  49. package/dist/cjs/{useChildElements-42a97f2a.js → useChildElements-c0cc8f5d.js} +2 -2
  50. package/dist/cjs/{useReferralTable-a985ce58.js → useReferralTable-db1b33db.js} +7 -7
  51. package/dist/cjs/{useRegistrationFormState-b7598d69.js → useRegistrationFormState-d0e43ca9.js} +3 -3
  52. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
  53. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
  54. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +14 -16
  55. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -4
  56. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
  57. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +21 -20
  58. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +22 -21
  59. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
  60. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +1 -2
  61. package/dist/esm/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
  62. package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
  63. package/dist/esm/{ShadowViewAddon-846aecda.js → ShadowViewAddon-6b6e9c10.js} +17 -21
  64. package/dist/esm/{global-44835899.js → global-c2d5e2fa.js} +2 -2
  65. package/dist/esm/{index.module-132e274f.js → index.module-25496635.js} +211 -519
  66. package/dist/esm/loader.js +2 -3
  67. package/dist/esm/mint-components.js +2 -3
  68. package/dist/esm/{re-render-81cd3caa.js → re-render-8ece93cd.js} +4 -4
  69. package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  70. package/dist/esm/sqm-asset-card.entry.js +3 -4
  71. package/dist/esm/sqm-big-stat_35.entry.js +87 -93
  72. package/dist/esm/sqm-empty_5.entry.js +3 -4
  73. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -6
  74. package/dist/esm/{sqm-hero-view-9fb2be89.js → sqm-hero-view-b8ce1900.js} +1 -1
  75. package/dist/esm/sqm-hero.entry.js +2 -3
  76. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -5
  77. package/dist/esm/{sqm-navigation-sidebar-item-view-364af025.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
  78. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -5
  79. package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  80. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -3
  81. package/dist/esm/sqm-password-field.entry.js +3 -4
  82. package/dist/esm/sqm-popup-container.entry.js +4 -5
  83. package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  84. package/dist/esm/{sqm-portal-email-verification-view-5ac21bb4.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
  85. package/dist/esm/sqm-portal-email-verification.entry.js +20 -24
  86. package/dist/esm/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-c4059af8.js} +2 -2
  87. package/dist/esm/sqm-portal-footer.entry.js +4 -5
  88. package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
  89. package/dist/esm/sqm-portal-forgot-password.entry.js +19 -22
  90. package/dist/esm/sqm-portal-logout.entry.js +2 -3
  91. package/dist/esm/{sqm-portal-profile-view-630f05c8.js → sqm-portal-profile-view-ec58906b.js} +4 -4
  92. package/dist/esm/sqm-portal-profile.entry.js +8 -9
  93. package/dist/esm/sqm-portal-protected-route.entry.js +5 -6
  94. package/dist/esm/sqm-portal-registration-form.entry.js +28 -28
  95. package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
  96. package/dist/esm/sqm-portal-reset-password.entry.js +31 -38
  97. package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  98. package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
  99. package/dist/esm/sqm-portal-verify-email.entry.js +9 -11
  100. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  101. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -3
  102. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -3
  103. package/dist/esm/sqm-rewards-table_9.entry.js +11 -12
  104. package/dist/esm/sqm-stencilbook.entry.js +55 -56
  105. package/dist/esm/sqm-tab.entry.js +2 -3
  106. package/dist/esm/sqm-tabs.entry.js +4 -5
  107. package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  108. package/dist/esm/sqm-text-span.entry.js +2 -3
  109. package/dist/esm/{useChildElements-9431f3e2.js → useChildElements-d86f03c6.js} +2 -2
  110. package/dist/esm/{useReferralTable-0516b6d5.js → useReferralTable-7aeb954d.js} +7 -7
  111. package/dist/esm/{useRegistrationFormState-ebb08075.js → useRegistrationFormState-e94eec81.js} +3 -3
  112. package/dist/esm-es5/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
  113. package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
  114. package/dist/esm-es5/ShadowViewAddon-6b6e9c10.js +1 -0
  115. package/dist/esm-es5/{global-44835899.js → global-c2d5e2fa.js} +2 -2
  116. package/dist/esm-es5/index.module-25496635.js +1 -0
  117. package/dist/esm-es5/loader.js +1 -1
  118. package/dist/esm-es5/mint-components.js +1 -1
  119. package/dist/esm-es5/{re-render-81cd3caa.js → re-render-8ece93cd.js} +1 -1
  120. package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  121. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  122. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  123. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  124. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  125. package/dist/esm-es5/{sqm-hero-view-9fb2be89.js → sqm-hero-view-b8ce1900.js} +1 -1
  126. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  127. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  128. package/dist/esm-es5/sqm-navigation-sidebar-item-view-24d5f092.js +1 -0
  129. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  130. package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  131. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  132. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  133. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  134. package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  135. package/dist/esm-es5/{sqm-portal-email-verification-view-5ac21bb4.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
  136. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  137. package/dist/esm-es5/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-c4059af8.js} +1 -1
  138. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  139. package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
  140. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  141. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  142. package/dist/esm-es5/{sqm-portal-profile-view-630f05c8.js → sqm-portal-profile-view-ec58906b.js} +1 -1
  143. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  144. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  145. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  146. package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
  147. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  148. package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  149. package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
  150. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  151. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  152. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  153. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  154. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  155. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  156. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  157. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  158. package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  159. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  160. package/dist/esm-es5/{useChildElements-9431f3e2.js → useChildElements-d86f03c6.js} +1 -1
  161. package/dist/esm-es5/{useReferralTable-0516b6d5.js → useReferralTable-7aeb954d.js} +1 -1
  162. package/dist/esm-es5/{useRegistrationFormState-ebb08075.js → useRegistrationFormState-e94eec81.js} +1 -1
  163. package/dist/mint-components/mint-components.esm.js +1 -1
  164. package/dist/mint-components/mint-components.js +1 -1
  165. package/dist/mint-components/p-01016d01.entry.js +1 -0
  166. package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
  167. package/dist/mint-components/{p-c627c865.js → p-0425104d.js} +2 -2
  168. package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
  169. package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
  170. package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
  171. package/dist/mint-components/{p-242bd74b.entry.js → p-0ec88b18.entry.js} +1 -1
  172. package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
  173. package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
  174. package/dist/mint-components/{p-703f4552.entry.js → p-0f44ced1.entry.js} +4 -4
  175. package/dist/mint-components/p-11a4a003.system.js +1 -0
  176. package/dist/mint-components/{p-52a2beaf.js → p-13cfd4bd.js} +1 -1
  177. package/dist/mint-components/{p-d64a0bc1.js → p-16671c5a.js} +1 -1
  178. package/dist/mint-components/p-175ef60c.js +1 -0
  179. package/dist/mint-components/{p-0e441a14.system.js → p-177f1699.system.js} +1 -1
  180. package/dist/mint-components/{p-7dea8d9a.js → p-19deed13.js} +1 -1
  181. package/dist/mint-components/p-19f572c9.entry.js +1 -0
  182. package/dist/mint-components/p-1a673057.system.js +8 -0
  183. package/dist/mint-components/p-1cb7125b.entry.js +1 -0
  184. package/dist/mint-components/{p-4935076f.system.js → p-20268b64.system.js} +1 -1
  185. package/dist/mint-components/{p-0d482ad4.js → p-233e784a.js} +1 -1
  186. package/dist/mint-components/p-23ce9541.system.entry.js +1 -0
  187. package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
  188. package/dist/mint-components/{p-1c40d459.js → p-27d8b5e4.js} +1 -1
  189. package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
  190. package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
  191. package/dist/mint-components/p-28b0cd34.entry.js +1 -0
  192. package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
  193. package/dist/mint-components/{p-0f4c1e0e.entry.js → p-29d7ffd1.entry.js} +3 -3
  194. package/dist/mint-components/{p-0d49d56d.js → p-33fe169e.js} +1 -1
  195. package/dist/mint-components/p-3582d202.system.entry.js +1 -0
  196. package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
  197. package/dist/mint-components/p-3aa067f0.entry.js +13 -0
  198. package/dist/mint-components/p-3c2febd2.system.entry.js +1 -0
  199. package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
  200. package/dist/mint-components/p-3f15986b.entry.js +1 -0
  201. package/dist/mint-components/p-40a8ea40.entry.js +1 -0
  202. package/dist/mint-components/{p-1c21b5d1.js → p-41962e08.js} +1 -1
  203. package/dist/mint-components/p-4352909d.js +1 -0
  204. package/dist/mint-components/p-4560faa8.entry.js +1 -0
  205. package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
  206. package/dist/mint-components/p-49c7d8f5.system.entry.js +1 -0
  207. package/dist/mint-components/{p-83d4885d.entry.js → p-4a5d61fe.entry.js} +2 -2
  208. package/dist/mint-components/p-4b83d7ea.js +1 -0
  209. package/dist/mint-components/p-4cc59fed.system.entry.js +1 -0
  210. package/dist/mint-components/{p-1f6fdeda.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
  211. package/dist/mint-components/p-528ce342.system.entry.js +1 -0
  212. package/dist/mint-components/p-5352b716.system.entry.js +1 -0
  213. package/dist/mint-components/p-54db9721.js +1 -0
  214. package/dist/mint-components/p-58c173ff.entry.js +1 -0
  215. package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
  216. package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
  217. package/dist/mint-components/p-61b954e7.entry.js +1 -0
  218. package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
  219. package/dist/mint-components/p-6a529e0e.entry.js +1 -0
  220. package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
  221. package/dist/mint-components/{p-0148c516.js → p-6dd27a5e.js} +1 -1
  222. package/dist/mint-components/p-76f151b2.entry.js +1 -0
  223. package/dist/mint-components/{p-89fc4544.system.js → p-7850a5e5.system.js} +1 -1
  224. package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
  225. package/dist/mint-components/p-79aa6d79.system.entry.js +1 -0
  226. package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
  227. package/dist/mint-components/p-7ab63827.entry.js +1 -0
  228. package/dist/mint-components/p-7fcb4118.system.entry.js +1 -0
  229. package/dist/mint-components/{p-afcf252c.js → p-914511f3.js} +1 -1
  230. package/dist/mint-components/{p-292857fd.system.js → p-94578d79.system.js} +1 -1
  231. package/dist/mint-components/p-986e52e2.system.entry.js +1 -0
  232. package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
  233. package/dist/mint-components/p-9db0c9fc.system.entry.js +1 -0
  234. package/dist/mint-components/p-9fa6c616.entry.js +1 -0
  235. package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
  236. package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
  237. package/dist/mint-components/p-a951d772.system.entry.js +1 -0
  238. package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
  239. package/dist/mint-components/{p-574ba520.system.js → p-b01e28dd.system.js} +1 -1
  240. package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
  241. package/dist/mint-components/p-b33e0421.system.js +1 -0
  242. package/dist/mint-components/p-b7b4772a.entry.js +1 -0
  243. package/dist/mint-components/p-bd3c2e67.system.js +1 -0
  244. package/dist/mint-components/{p-446a0805.system.js → p-bef0a1f4.system.js} +1 -1
  245. package/dist/mint-components/p-bf17dc65.system.js +1 -0
  246. package/dist/mint-components/p-c869970e.system.entry.js +1 -0
  247. package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
  248. package/dist/mint-components/p-cef45012.js +1 -0
  249. package/dist/mint-components/{p-519dc03b.system.js → p-d20361b8.system.js} +1 -1
  250. package/dist/mint-components/p-dd5f7670.entry.js +1 -0
  251. package/dist/mint-components/p-de2cd263.entry.js +1 -0
  252. package/dist/mint-components/p-de745531.system.entry.js +1 -0
  253. package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
  254. package/dist/mint-components/p-e48269b2.system.js +1 -0
  255. package/dist/mint-components/p-e502bbcc.entry.js +13 -0
  256. package/dist/mint-components/p-e5380001.system.entry.js +1 -0
  257. package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
  258. package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
  259. package/dist/mint-components/p-e67fc6a5.entry.js +1 -0
  260. package/dist/mint-components/p-eaa9a926.entry.js +1 -0
  261. package/dist/mint-components/{p-5d292177.system.js → p-ee5a4598.system.js} +1 -1
  262. package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
  263. package/dist/mint-components/{p-53aef3ba.system.js → p-fdcd2b8f.system.js} +1 -1
  264. package/docs/docs.docx +0 -0
  265. package/package.json +2 -2
  266. package/dist/cjs/extends-08099afd.js +0 -21
  267. package/dist/esm/extends-c31f1eff.js +0 -19
  268. package/dist/esm-es5/ShadowViewAddon-846aecda.js +0 -1
  269. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  270. package/dist/esm-es5/index.module-132e274f.js +0 -1
  271. package/dist/esm-es5/sqm-navigation-sidebar-item-view-364af025.js +0 -1
  272. package/dist/mint-components/p-00d4636f.system.entry.js +0 -1
  273. package/dist/mint-components/p-06f56536.js +0 -1
  274. package/dist/mint-components/p-07d424a2.system.entry.js +0 -1
  275. package/dist/mint-components/p-088d3b4a.system.entry.js +0 -1
  276. package/dist/mint-components/p-0b1d703d.entry.js +0 -1
  277. package/dist/mint-components/p-136325c0.system.js +0 -1
  278. package/dist/mint-components/p-162fca19.js +0 -1
  279. package/dist/mint-components/p-1c17892a.system.js +0 -1
  280. package/dist/mint-components/p-1cc3dfe5.system.js +0 -1
  281. package/dist/mint-components/p-222e5418.entry.js +0 -1
  282. package/dist/mint-components/p-2383eadd.system.entry.js +0 -1
  283. package/dist/mint-components/p-2dce26fa.system.entry.js +0 -1
  284. package/dist/mint-components/p-3d0dc005.system.entry.js +0 -1
  285. package/dist/mint-components/p-3f43b39c.entry.js +0 -1
  286. package/dist/mint-components/p-436779be.js +0 -1
  287. package/dist/mint-components/p-4ce8e325.system.entry.js +0 -1
  288. package/dist/mint-components/p-50553269.system.entry.js +0 -1
  289. package/dist/mint-components/p-50afa774.entry.js +0 -1
  290. package/dist/mint-components/p-51102b8f.entry.js +0 -13
  291. package/dist/mint-components/p-5928afc0.js +0 -1
  292. package/dist/mint-components/p-63101d0c.entry.js +0 -1
  293. package/dist/mint-components/p-73681688.system.entry.js +0 -1
  294. package/dist/mint-components/p-7c3e3cb4.entry.js +0 -1
  295. package/dist/mint-components/p-7f4b0ba0.system.entry.js +0 -1
  296. package/dist/mint-components/p-81f34787.js +0 -1
  297. package/dist/mint-components/p-8b7a19d3.system.entry.js +0 -1
  298. package/dist/mint-components/p-8c4bcbc6.entry.js +0 -1
  299. package/dist/mint-components/p-8d6a2a61.system.entry.js +0 -1
  300. package/dist/mint-components/p-90dfce36.entry.js +0 -1
  301. package/dist/mint-components/p-9f596d8d.system.entry.js +0 -1
  302. package/dist/mint-components/p-a1acdbb4.entry.js +0 -1
  303. package/dist/mint-components/p-a395bae0.entry.js +0 -1
  304. package/dist/mint-components/p-a4335cb5.system.entry.js +0 -1
  305. package/dist/mint-components/p-af3b56d3.system.entry.js +0 -1
  306. package/dist/mint-components/p-b2e7ca31.system.entry.js +0 -1
  307. package/dist/mint-components/p-b3d7d353.entry.js +0 -1
  308. package/dist/mint-components/p-b52109dd.entry.js +0 -1
  309. package/dist/mint-components/p-b593a42e.system.entry.js +0 -1
  310. package/dist/mint-components/p-bb9dadd3.system.entry.js +0 -1
  311. package/dist/mint-components/p-bc2cf095.entry.js +0 -1
  312. package/dist/mint-components/p-bed78bee.system.entry.js +0 -1
  313. package/dist/mint-components/p-c01e754d.system.entry.js +0 -1
  314. package/dist/mint-components/p-c4e22786.system.js +0 -1
  315. package/dist/mint-components/p-ca08cf71.entry.js +0 -1
  316. package/dist/mint-components/p-cac0e237.entry.js +0 -1
  317. package/dist/mint-components/p-ce6f7e0e.entry.js +0 -1
  318. package/dist/mint-components/p-ceeeb344.entry.js +0 -1
  319. package/dist/mint-components/p-ceefa54a.system.entry.js +0 -1
  320. package/dist/mint-components/p-d08b59df.entry.js +0 -13
  321. package/dist/mint-components/p-d21ccfa1.entry.js +0 -1
  322. package/dist/mint-components/p-d307abaa.entry.js +0 -1
  323. package/dist/mint-components/p-d5c94703.entry.js +0 -1
  324. package/dist/mint-components/p-d5d32d0d.system.js +0 -8
  325. package/dist/mint-components/p-d8876d3f.js +0 -1
  326. package/dist/mint-components/p-dc37fe51.system.js +0 -1
  327. package/dist/mint-components/p-df2b4e11.system.entry.js +0 -1
  328. package/dist/mint-components/p-e0fa9595.system.js +0 -1
  329. package/dist/mint-components/p-e8d07dfa.system.entry.js +0 -1
  330. package/dist/mint-components/p-f3eaabf8.system.entry.js +0 -1
  331. package/dist/mint-components/p-f54b436e.entry.js +0 -1
  332. package/dist/mint-components/p-f5e601b0.system.entry.js +0 -1
  333. package/dist/mint-components/p-f8863064.system.entry.js +0 -1
@@ -1,9 +1,8 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './stencil-hooks.module-eefa3570.js';
3
- import './global-44835899.js';
3
+ import './global-c2d5e2fa.js';
4
4
  import './use-callback-684c8bb7.js';
5
- import './index.module-132e274f.js';
6
- import './extends-c31f1eff.js';
5
+ import './index.module-25496635.js';
7
6
 
8
7
  /*
9
8
  Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,9 +1,8 @@
1
1
  import { p as promiseResolve, H, b as bootstrapLazy } from './index-17b4da69.js';
2
2
  import './stencil-hooks.module-eefa3570.js';
3
- import './global-44835899.js';
3
+ import './global-c2d5e2fa.js';
4
4
  import './use-callback-684c8bb7.js';
5
- import './index.module-132e274f.js';
6
- import './extends-c31f1eff.js';
5
+ import './index.module-25496635.js';
7
6
 
8
7
  /*
9
8
  Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,5 +1,5 @@
1
1
  import { f as useEffect } from './stencil-hooks.module-eefa3570.js';
2
- import { x, u as un } from './index.module-132e274f.js';
2
+ import { R, o as on } from './index.module-25496635.js';
3
3
 
4
4
  const RENDER_EVENT = "sqm:request-rerender";
5
5
  /**
@@ -10,7 +10,7 @@ const RENDER_EVENT = "sqm:request-rerender";
10
10
  * @param deps an array of dependencies used for useEffect
11
11
  */
12
12
  function useRequestRerender(deps) {
13
- const host = x();
13
+ const host = R();
14
14
  useEffect(() => {
15
15
  host.dispatchEvent(new CustomEvent(RENDER_EVENT, {
16
16
  detail: true,
@@ -23,8 +23,8 @@ function useRequestRerender(deps) {
23
23
  * Re-renders a parent component when child components make the request
24
24
  */
25
25
  function useRerenderListener() {
26
- const host = x();
27
- const [tick, rerender] = un();
26
+ const host = R();
27
+ const [tick, rerender] = on();
28
28
  useEffect(() => {
29
29
  const listener = (e) => {
30
30
  // Preventes recursively nested components from sending requests up all the way
@@ -1,5 +1,5 @@
1
1
  import { h, d as getAssetPath } from './index-17b4da69.js';
2
- import { c as createStyleSheet } from './JSS-f00f9536.js';
2
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  const style = {
5
5
  CardContainer: {
@@ -1,11 +1,10 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-eefa3570.js';
3
3
  import './use-callback-684c8bb7.js';
4
- import { i as isDemo } from './index.module-132e274f.js';
5
- import './extends-c31f1eff.js';
4
+ import { i as isDemo } from './index.module-25496635.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import './JSS-f00f9536.js';
8
- import { A as AssetCardView } from './sqm-asset-card-view-08e68656.js';
6
+ import './JSS-67b5cff8.js';
7
+ import { A as AssetCardView } from './sqm-asset-card-view-b0f8ef8e.js';
9
8
 
10
9
  const useAssetCard = (_props) => {
11
10
  return {
@@ -1,23 +1,22 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { m as h, f as useEffect, i as useState, o as d, j as useRef, b as browser, u as useReducer } from './stencil-hooks.module-eefa3570.js';
3
- import { i as intl } from './global-44835899.js';
3
+ import { i as intl } from './global-c2d5e2fa.js';
4
4
  import { u as useCallback } from './use-callback-684c8bb7.js';
5
- import { i as isDemo, x, d as dist, _, a as dn, I as Ie, W, H, u as un, v as vn, l as Oe, S as Se, $ as $e, n as Ue, g as gn, Q } from './index.module-132e274f.js';
6
- import './extends-c31f1eff.js';
5
+ import { i as isDemo, R, d as dist, N, a as dn, P as Pe, O, x, o as on, f as fn, k as Ve, M as Me, l as je, p as Le, c as cn, U } from './index.module-25496635.js';
7
6
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
8
7
  import { c as cjs } from './cjs-bdfb4486.js';
9
8
  import './mixins-f60a614c.js';
10
- import { c as createStyleSheet } from './JSS-f00f9536.js';
11
- import { a as useRequestRerender } from './re-render-81cd3caa.js';
12
- import { u as useChildElements } from './useChildElements-9431f3e2.js';
9
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
10
+ import { a as useRequestRerender } from './re-render-8ece93cd.js';
11
+ import { u as useChildElements } from './useChildElements-d86f03c6.js';
13
12
  import './luxon-5a398612.js';
14
13
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
15
- import './sqm-text-span-view-0ba1484d.js';
16
- import './sqm-portal-container-view-ca454627.js';
14
+ import './sqm-text-span-view-8b194920.js';
15
+ import './sqm-portal-container-view-228f2b65.js';
17
16
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
18
- import { F as FORM_VALIDATION_CONTEXT, R as REGISTRATION_FORM_STATE_CONTEXT, a as useValidationState } from './useRegistrationFormState-ebb08075.js';
19
- import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-846aecda.js';
20
- import './sqm-portal-section-view-6c249c74.js';
17
+ import { F as FORM_VALIDATION_CONTEXT, R as REGISTRATION_FORM_STATE_CONTEXT, a as useValidationState } from './useRegistrationFormState-e94eec81.js';
18
+ import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-6b6e9c10.js';
19
+ import './sqm-portal-section-view-a991e019.js';
21
20
 
22
21
  const BigStat = class {
23
22
  constructor(hostRef) {
@@ -36,7 +35,7 @@ const BigStat = class {
36
35
  render() {
37
36
  var _a;
38
37
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
39
- const host = x();
38
+ const host = R();
40
39
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
41
40
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
42
41
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -148,7 +147,7 @@ const styleString = sheet.toString();
148
147
  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) {
149
148
  if (!missingProps)
150
149
  return false;
151
- const host = x();
150
+ const host = R();
152
151
  const [detailsOpen, setDetailsOpen] = useState(false);
153
152
  return (h$1("sl-alert", { type: "danger", open: true },
154
153
  h$1("style", { type: "text/css" }, styleString),
@@ -418,13 +417,13 @@ const defaultFormState = {
418
417
  error: "",
419
418
  };
420
419
  function useEditProfile(props) {
421
- const userIdent = _();
420
+ const userIdent = N();
422
421
  const [showEdit, setShowEdit] = useState(false);
423
422
  const [error, setError] = useState("");
424
423
  const [userData, setUserData] = useState(undefined);
425
424
  const [formState, setFormState] = useState(defaultFormState);
426
425
  const userDataResponse = dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
427
- const [upsertUser, upsertUserResponse] = Ie(UPSERT_USER);
426
+ const [upsertUser, upsertUserResponse] = Pe(UPSERT_USER);
428
427
  useEffect(() => {
429
428
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
430
429
  return;
@@ -910,11 +909,11 @@ const GET_RANK = dist.gql `
910
909
  `;
911
910
  function useLeaderboard(props) {
912
911
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
913
- const programIdContext = W();
912
+ const programIdContext = O();
914
913
  // Default to context, overriden by props
915
914
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
916
- const user = _();
917
- const locale = H();
915
+ const user = N();
916
+ const locale = x();
918
917
  const variables = programId
919
918
  ? {
920
919
  type: props.leaderboardType,
@@ -1163,12 +1162,12 @@ function NavigationMenuView(props) {
1163
1162
  }
1164
1163
 
1165
1164
  function handleMenu(e) {
1166
- vn.push(e.detail.item.value);
1165
+ fn.push(e.detail.item.value);
1167
1166
  }
1168
1167
  function useNavigationMenu(props) {
1169
1168
  const ref = useRef();
1170
- const [, rerender] = un();
1171
- const user = _();
1169
+ const [, rerender] = on();
1170
+ const user = N();
1172
1171
  useEffect(() => {
1173
1172
  var _a;
1174
1173
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1221,14 +1220,14 @@ function useNavigationMenuDemo(props) {
1221
1220
  NavigationMenu.style = sqmNavigationMenuCss;
1222
1221
 
1223
1222
  function usePortalChangePassword(props) {
1224
- var _a, _b, _c, _d, _e, _f, _g, _h;
1225
- const [request, { loading, errors, data }] = Oe();
1223
+ var _a, _b, _c, _d, _e, _f, _g;
1224
+ const [request, { loading, errors, data }] = Ve();
1226
1225
  const [open, setOpen] = useState(false);
1227
1226
  const [error, setError] = useState("");
1228
1227
  const [success, setSuccess] = useState(false);
1229
- const user = _();
1228
+ const user = N();
1230
1229
  const submit = async (event) => {
1231
- var _a;
1230
+ var _a, _b;
1232
1231
  setSuccess(false);
1233
1232
  const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
1234
1233
  formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
@@ -1246,20 +1245,17 @@ function usePortalChangePassword(props) {
1246
1245
  const variables = {
1247
1246
  password: formData.password,
1248
1247
  };
1249
- await request(variables);
1250
- };
1251
- useEffect(() => {
1252
- var _a;
1253
- if ((_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success) {
1248
+ const result = await request(variables);
1249
+ if (!(result instanceof Error) && ((_b = result.changeManagedIdentityPassword) === null || _b === void 0 ? void 0 : _b.success)) {
1254
1250
  setSuccess(true);
1255
1251
  }
1256
- }, [(_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success]);
1252
+ };
1257
1253
  return {
1258
1254
  states: {
1259
1255
  open,
1260
1256
  loading,
1261
1257
  success,
1262
- error: error || ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message),
1258
+ error: error || ((_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),
1263
1259
  content: {
1264
1260
  modalChangePasswordHeader: props.modalChangePasswordHeader,
1265
1261
  cancelText: props.cancelText,
@@ -1362,7 +1358,7 @@ function usePortalChangePasswordDemo(props) {
1362
1358
  }
1363
1359
 
1364
1360
  function usePortalFrame(footerContent, headerContent) {
1365
- const [, rerender] = un();
1361
+ const [, rerender] = on();
1366
1362
  return {
1367
1363
  data: {
1368
1364
  footer: footerContent,
@@ -1406,35 +1402,32 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1406
1402
  }
1407
1403
 
1408
1404
  function usePortalLogin(props) {
1409
- var _a, _b, _c, _d, _e, _f, _g, _h;
1410
- const [request, { loading, errors, data }] = Se();
1405
+ var _a, _b, _c, _d, _e, _f, _g;
1406
+ const [request, { loading, errors, data }] = Me();
1411
1407
  const [error, setError] = useState("");
1412
- const urlParams = new URLSearchParams(window.location.search);
1408
+ const urlParams = new URLSearchParams(fn.location.search);
1413
1409
  const nextPageOverride = urlParams.get("nextPage");
1414
1410
  const submit = async (event) => {
1411
+ var _a, _b;
1415
1412
  setError("");
1416
1413
  let formData = event.detail.formData;
1417
1414
  formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
1418
1415
  jsonpointer.set(formData, key, value);
1419
1416
  });
1420
1417
  const variables = { email: formData.email, password: formData.password };
1421
- await request(variables);
1422
- };
1423
- useEffect(() => {
1424
- var _a;
1425
- if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1418
+ const result = await request(variables);
1419
+ if (result instanceof Error) {
1420
+ if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
1421
+ setError("Network request failed.");
1422
+ return;
1423
+ }
1424
+ if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
1426
1425
  urlParams.delete("nextPage");
1427
1426
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
1428
- vn.push(url.href);
1429
- }
1430
- }, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
1431
- useEffect(() => {
1432
- var _a;
1433
- if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
1434
- setError("Network request failed.");
1427
+ fn.push(url.href);
1435
1428
  }
1436
- }, [errors]);
1437
- const errorMessage = ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
1429
+ };
1430
+ 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) ||
1438
1431
  error;
1439
1432
  return {
1440
1433
  states: {
@@ -1500,8 +1493,8 @@ const PortalLogin = class {
1500
1493
  ? useLoginDemo(this)
1501
1494
  : usePortalLogin(this);
1502
1495
  const content = {
1503
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => vn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1504
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => vn.push(states.registerPath) }, this.registerLabel))),
1496
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => fn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1497
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => fn.push(states.registerPath) }, this.registerLabel))),
1505
1498
  emailLabel: this.emailLabel,
1506
1499
  passwordLabel: this.passwordLabel,
1507
1500
  submitLabel: this.submitLabel,
@@ -1527,11 +1520,21 @@ function useLoginDemo(props) {
1527
1520
  }
1528
1521
 
1529
1522
  function usePortalRegister(props) {
1530
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1523
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1531
1524
  const formRef = useRef(null);
1532
1525
  const { validationState, setValidationState } = useValidationState({});
1533
- const [request, { loading, errors, data }] = $e();
1526
+ const [request, { loading, errors, data }] = je();
1527
+ useEffect(() => {
1528
+ if (!formRef.current)
1529
+ return;
1530
+ const form = formRef.current;
1531
+ form.addEventListener("sl-input", inputFunction);
1532
+ return () => {
1533
+ form.removeEventListener("sl-input", inputFunction);
1534
+ };
1535
+ }, [formRef.current]);
1534
1536
  const submit = async (event) => {
1537
+ var _a;
1535
1538
  let formControls = event.target.getFormControls();
1536
1539
  let formData = {};
1537
1540
  let validationErrors = {};
@@ -1578,7 +1581,13 @@ function usePortalRegister(props) {
1578
1581
  redirectPath,
1579
1582
  };
1580
1583
  try {
1581
- await request(variables);
1584
+ const result = await request(variables);
1585
+ if (result instanceof Error) {
1586
+ throw result;
1587
+ }
1588
+ if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1589
+ fn.push(props.nextPage);
1590
+ }
1582
1591
  }
1583
1592
  catch (error) {
1584
1593
  setValidationState({ error: "Network request failed." });
@@ -1592,31 +1601,16 @@ function usePortalRegister(props) {
1592
1601
  const asYouType = new AsYouType("US");
1593
1602
  e.target.value = asYouType.input(e.target.value);
1594
1603
  }, []);
1595
- useEffect(() => {
1596
- var _a;
1597
- if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1598
- vn.push(props.nextPage);
1599
- }
1600
- }, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
1601
- useEffect(() => {
1602
- if (!formRef.current)
1603
- return;
1604
- const form = formRef.current;
1605
- form.addEventListener("sl-input", inputFunction);
1606
- return () => {
1607
- form.removeEventListener("sl-input", inputFunction);
1608
- };
1609
- }, [formRef.current]);
1610
1604
  let errorMessage = "";
1611
- if ((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b["error"]) {
1605
+ if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
1612
1606
  errorMessage = "Network request failed";
1613
1607
  }
1614
- else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors.length)) {
1608
+ else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
1615
1609
  errorMessage = "Network request failed";
1616
1610
  }
1617
1611
  else {
1618
1612
  errorMessage =
1619
- ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
1613
+ ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
1620
1614
  }
1621
1615
  return {
1622
1616
  states: {
@@ -1708,7 +1702,7 @@ const PortalRegister = class {
1708
1702
  : usePortalRegister(this);
1709
1703
  const content = {
1710
1704
  formData: h$1("slot", { name: "formData" }),
1711
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => vn.push(states.loginPath) }, this.loginLabel))),
1705
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => fn.push(states.loginPath) }, this.loginLabel))),
1712
1706
  terms: h$1("slot", { name: "terms" }),
1713
1707
  emailLabel: this.emailLabel,
1714
1708
  passwordLabel: this.passwordLabel,
@@ -1870,11 +1864,11 @@ const ProgramExplainerStep = class {
1870
1864
  const debug = browser('sq:useProgramMenu');
1871
1865
  const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
1872
1866
  function useProgramMenu(props) {
1873
- const programId = W();
1874
- const host = x();
1867
+ const programId = O();
1868
+ const host = R();
1875
1869
  debug({ programId, props });
1876
1870
  const ref = useRef();
1877
- const [, rerender] = un();
1871
+ const [, rerender] = on();
1878
1872
  useEffect(() => {
1879
1873
  var _a;
1880
1874
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
@@ -2000,8 +1994,8 @@ const GET_USER_DETAILS = dist.gql `
2000
1994
  `;
2001
1995
  function useReferralIframe(props) {
2002
1996
  var _a;
2003
- const programId = W();
2004
- const user = _();
1997
+ const programId = O();
1998
+ const user = N();
2005
1999
  const { data } = dn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2006
2000
  return {
2007
2001
  states: {
@@ -2727,8 +2721,8 @@ function useRewardExchangeList(props) {
2727
2721
  });
2728
2722
  const [open, setOpen] = useState(false);
2729
2723
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
2730
- const user = _();
2731
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Ie(EXCHANGE);
2724
+ const user = N();
2725
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Pe(EXCHANGE);
2732
2726
  const { data, loading, refetch, errors: queryError, } = dn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
2733
2727
  useEffect(() => {
2734
2728
  var _a, _b;
@@ -2748,7 +2742,7 @@ function useRewardExchangeList(props) {
2748
2742
  canvas.confetti || confetti.create(canvas, { resize: true });
2749
2743
  canvas.confetti();
2750
2744
  }, [canvasRef.current]);
2751
- const { refresh } = Ue();
2745
+ const { refresh } = Le();
2752
2746
  async function exchangeReward() {
2753
2747
  if (!selectedItem)
2754
2748
  return;
@@ -3056,8 +3050,8 @@ function matchPath(pattern, page) {
3056
3050
  return regexp.exec(page);
3057
3051
  }
3058
3052
  function useRouter() {
3059
- const location = gn();
3060
- const host = x();
3053
+ const location = cn();
3054
+ const host = R();
3061
3055
  const [slot, setSlot] = useState(undefined);
3062
3056
  const [container, setContainer] = useState(undefined);
3063
3057
  const page = location.pathname;
@@ -3308,11 +3302,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
3308
3302
  `;
3309
3303
  function useShareCode(props) {
3310
3304
  var _a, _b;
3311
- const programId = W();
3312
- const user = _();
3313
- const engagementMedium = Q();
3305
+ const programId = O();
3306
+ const user = N();
3307
+ const engagementMedium = U();
3314
3308
  const { data } = dn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3315
- const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT);
3309
+ const [sendLoadEvent] = Pe(WIDGET_ENGAGEMENT_EVENT);
3316
3310
  const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
3317
3311
  // Shown during loading
3318
3312
  "...";
@@ -3485,10 +3479,10 @@ const SEND_EVENT = dist.gql `
3485
3479
  }
3486
3480
  `;
3487
3481
  function useTaskCard(props) {
3488
- const user = _();
3489
- const locale = H();
3490
- const [sendUserEvent, { data, loading: loadingEvent }] = Ie(SEND_EVENT);
3491
- const { refresh } = Ue();
3482
+ const user = N();
3483
+ const locale = x();
3484
+ const [sendUserEvent, { data, loading: loadingEvent }] = Pe(SEND_EVENT);
3485
+ const { refresh } = Le();
3492
3486
  useEffect(() => {
3493
3487
  if (data) {
3494
3488
  refresh();
@@ -3804,7 +3798,7 @@ const GET_USER_NAME = dist.gql `
3804
3798
  `;
3805
3799
  function useUserName(props) {
3806
3800
  var _a, _b, _c, _d, _e, _f, _g, _h;
3807
- const user = _();
3801
+ const user = N();
3808
3802
  const res = dn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3809
3803
  const loading = res.loading;
3810
3804
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
@@ -1,10 +1,9 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { m as h$1 } from './stencil-hooks.module-eefa3570.js';
3
- import './extends-c31f1eff.js';
4
- import { c as createStyleSheet } from './JSS-f00f9536.js';
3
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
4
  import { g as getProps } from './utils-334c1e34.js';
6
- import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
7
- import { P as PortalSectionView } from './sqm-portal-section-view-6c249c74.js';
5
+ import { P as PortalContainerView } from './sqm-portal-container-view-228f2b65.js';
6
+ import { P as PortalSectionView } from './sqm-portal-section-view-a991e019.js';
8
7
 
9
8
  function EmptyStateView(props) {
10
9
  const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
@@ -1,16 +1,15 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as m, f as useEffect, m as h } from './stencil-hooks.module-eefa3570.js';
3
3
  import './use-callback-684c8bb7.js';
4
- import { L, C as Ce, U, b as be } from './index.module-132e274f.js';
5
- import './extends-c31f1eff.js';
4
+ import { H, y as ye, L, h as he } from './index.module-25496635.js';
6
5
 
7
6
  async function useGraphQLClientProvider({ domain }) {
8
- const token = L();
7
+ const token = H();
9
8
  const appDomain = domain;
10
- const tenantAlias = U();
9
+ const tenantAlias = L();
11
10
  // Memoization is shared. One client per domain, tenant and token (or null)
12
- const managedIdentityClient = Ce(appDomain, tenantAlias, token);
13
- const [, setGraphQLClient] = m(be, managedIdentityClient);
11
+ const managedIdentityClient = ye(appDomain, tenantAlias, token);
12
+ const [, setGraphQLClient] = m(he, managedIdentityClient);
14
13
  useEffect(() => {
15
14
  setGraphQLClient(managedIdentityClient);
16
15
  }, [managedIdentityClient]);
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { i as useState, f as useEffect } from './stencil-hooks.module-eefa3570.js';
3
3
  import { u as useCallback } from './use-callback-684c8bb7.js';
4
- import { c as createStyleSheet } from './JSS-f00f9536.js';
4
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
6
6
  // import { IntlMessageFormat } from 'intl-messageformat';
7
7
  function isMobile(breakPoint) {
@@ -1,10 +1,9 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-eefa3570.js';
3
3
  import './use-callback-684c8bb7.js';
4
- import './extends-c31f1eff.js';
5
- import './JSS-f00f9536.js';
4
+ import './JSS-67b5cff8.js';
6
5
  import { g as getProps } from './utils-334c1e34.js';
7
- import { H as HeroView } from './sqm-hero-view-9fb2be89.js';
6
+ import { H as HeroView } from './sqm-hero-view-b8ce1900.js';
8
7
 
9
8
  const Hero = class {
10
9
  constructor(hostRef) {
@@ -1,9 +1,8 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-eefa3570.js';
3
- import { i as intl } from './global-44835899.js';
3
+ import { i as intl } from './global-c2d5e2fa.js';
4
4
  import './use-callback-684c8bb7.js';
5
- import { d as dist, W, _, a as dn, i as isDemo } from './index.module-132e274f.js';
6
- import './extends-c31f1eff.js';
5
+ import { d as dist, O, N, a as dn, i as isDemo } from './index.module-25496635.js';
7
6
  import { c as cjs } from './cjs-bdfb4486.js';
8
7
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
9
8
 
@@ -22,10 +21,10 @@ const GET_RANK = dist.gql `
22
21
  `;
23
22
  function useLeaderboardRank(props) {
24
23
  var _a, _b, _c, _d;
25
- const programIdContext = W();
24
+ const programIdContext = O();
26
25
  // Default to context, overriden by props
27
26
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
28
- const user = _();
27
+ const user = N();
29
28
  const rankVariables = programId
30
29
  ? {
31
30
  type: props.leaderboardType,
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { v as vn } from './index.module-132e274f.js';
2
+ import { f as fn } from './index.module-25496635.js';
3
3
  import { g as gap } from './mixins-f60a614c.js';
4
- import { c as createStyleSheet } from './JSS-f00f9536.js';
4
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
6
6
  function NavigationSidebarItemView(props) {
7
7
  const { states, data } = props;
@@ -33,7 +33,7 @@ function NavigationSidebarItemView(props) {
33
33
  const styleString = sheet.toString();
34
34
  return (h("a", { href: data.path, onClick: (e) => {
35
35
  e.preventDefault();
36
- vn.push(data.path);
36
+ fn.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,16 +1,15 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-eefa3570.js';
3
3
  import './use-callback-684c8bb7.js';
4
- import { g as gn, i as isDemo } from './index.module-132e274f.js';
5
- import './extends-c31f1eff.js';
4
+ import { c as cn, i as isDemo } from './index.module-25496635.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import './mixins-f60a614c.js';
8
- import './JSS-f00f9536.js';
7
+ import './JSS-67b5cff8.js';
9
8
  import { g as getProps } from './utils-334c1e34.js';
10
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-364af025.js';
9
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-24d5f092.js';
11
10
 
12
11
  function useNavigationSidebarItem(props) {
13
- const currentPage = gn();
12
+ const currentPage = cn();
14
13
  return {
15
14
  states: {
16
15
  active: currentPage.pathname === props.path,
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { g as gap } from './mixins-f60a614c.js';
3
- import { c as createStyleSheet } from './JSS-f00f9536.js';
3
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
 
5
5
  const style = {
6
6
  ItemsContainer: {
@@ -1,9 +1,8 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { m as h } from './stencil-hooks.module-eefa3570.js';
3
- import './extends-c31f1eff.js';
4
3
  import './mixins-f60a614c.js';
5
- import './JSS-f00f9536.js';
6
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-06d444ca.js';
4
+ import './JSS-67b5cff8.js';
5
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-aa1313e7.js';
7
6
 
8
7
  const NavigationSidebar = class {
9
8
  constructor(hostRef) {
@@ -1,12 +1,11 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { o as d, i as useState, m as h$1 } from './stencil-hooks.module-eefa3570.js';
3
3
  import './use-callback-684c8bb7.js';
4
- import { i as isDemo } from './index.module-132e274f.js';
5
- import './extends-c31f1eff.js';
4
+ import { i as isDemo } from './index.module-25496635.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import { E as ErrorStyles } from './mixins-f60a614c.js';
8
- import { c as createStyleSheet } from './JSS-f00f9536.js';
9
- import { F as FORM_VALIDATION_CONTEXT, R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-ebb08075.js';
7
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
+ import { F as FORM_VALIDATION_CONTEXT, R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-e94eec81.js';
10
9
 
11
10
  var constants = {
12
11
  error: {