@saasquatch/mint-components 1.11.1-1 → 1.12.0-1

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 (429) hide show
  1. package/dist/cjs/{ShadowViewAddon-2c6026c3.js → ShadowViewAddon-88821c64.js} +229 -154
  2. package/dist/cjs/{global-02e50f09.js → global-c3637175.js} +2 -2
  3. package/dist/cjs/{index.module-df530553.js → index.module-b8d9d0ba.js} +55 -18
  4. package/dist/cjs/keys-cff24974.js +11 -0
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/mint-components.cjs.js +3 -3
  7. package/dist/cjs/{re-render-1976e05e.js → re-render-5bde3d2e.js} +4 -4
  8. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +211 -105
  10. package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +278 -178
  11. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +137 -0
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
  18. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-ce9a34ac.js} +20 -1
  19. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  20. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +5 -5
  21. package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-a2135064.js} +3 -3
  22. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  23. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  25. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  26. package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-050dbe0f.js} +2 -2
  27. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
  28. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  30. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  31. package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
  32. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  33. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -8
  34. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
  35. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -9
  36. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
  37. package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
  38. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +13 -13
  40. package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
  41. package/dist/cjs/sqm-stencilbook.cjs.entry.js +225 -272
  42. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  44. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +33 -0
  45. package/dist/cjs/sqm-widget-verification.cjs.entry.js +127 -0
  46. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-410d2435.js} +2 -2
  47. package/dist/cjs/useEmailVerification-30a1c7f6.js +75 -0
  48. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  49. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-824ac152.js} +9 -9
  50. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-f9ce55be.js} +2 -2
  51. package/dist/cjs/{utilities-cec9dd36.js → utilities-f7de6c04.js} +1 -1
  52. package/dist/collection/collection-manifest.json +6 -10
  53. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  54. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  55. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +9 -0
  56. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +22 -0
  57. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +105 -0
  58. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +44 -0
  59. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
  60. package/dist/collection/components/sqm-share-button/useShareButton.js +16 -15
  61. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  62. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  63. package/dist/collection/components/sqm-share-link/useShareLink.js +3 -5
  64. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -6
  65. package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
  66. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +29 -0
  67. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +118 -0
  68. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +330 -0
  69. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +144 -0
  70. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -0
  71. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +78 -0
  72. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +172 -0
  73. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +70 -0
  74. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +27 -0
  75. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +132 -0
  76. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +3 -0
  77. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +1 -0
  78. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +18 -0
  79. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +4 -1
  80. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +94 -38
  81. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +16 -2
  82. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +12 -0
  83. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +72 -0
  84. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +217 -0
  85. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +50 -0
  86. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
  87. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +16 -0
  88. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +80 -1
  89. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
  90. package/dist/collection/components/views/copy-text-view.js +2 -16
  91. package/dist/esm/{ShadowViewAddon-5bb2b69a.js → ShadowViewAddon-65c8679e.js} +227 -153
  92. package/dist/esm/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
  93. package/dist/esm/{index.module-f122af7b.js → index.module-6c840c4e.js} +40 -3
  94. package/dist/esm/keys-a1496e39.js +6 -0
  95. package/dist/esm/loader.js +3 -3
  96. package/dist/esm/mint-components.js +3 -3
  97. package/dist/esm/{re-render-c64289f3.js → re-render-1bcfd0de.js} +4 -4
  98. package/dist/esm/sqm-asset-card.entry.js +2 -2
  99. package/dist/esm/sqm-banking-info-form_16.entry.js +211 -105
  100. package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +275 -176
  101. package/dist/esm/sqm-close-button.entry.js +3 -3
  102. package/dist/esm/sqm-code-verification.entry.js +348 -0
  103. package/dist/esm/sqm-context-router.entry.js +2 -2
  104. package/dist/esm/sqm-email-verification.entry.js +133 -0
  105. package/dist/esm/sqm-empty_4.entry.js +3 -3
  106. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  107. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  108. package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-08c03ba7.js} +20 -1
  109. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  110. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  111. package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.js} +3 -3
  112. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
  113. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  114. package/dist/esm/sqm-password-field.entry.js +4 -4
  115. package/dist/esm/sqm-popup-container.entry.js +4 -4
  116. package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +2 -2
  117. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  118. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  119. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  120. package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  121. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  122. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  123. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  124. package/dist/esm/sqm-portal-reset-password.entry.js +9 -9
  125. package/dist/esm/sqm-portal-verify-email.entry.js +9 -9
  126. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  127. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  128. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  129. package/dist/esm/sqm-rewards-table_9.entry.js +13 -13
  130. package/dist/esm/sqm-scroll.entry.js +105 -0
  131. package/dist/esm/sqm-stencilbook.entry.js +212 -259
  132. package/dist/esm/sqm-tab.entry.js +2 -2
  133. package/dist/esm/sqm-tabs.entry.js +4 -4
  134. package/dist/esm/sqm-widget-verification-internal.entry.js +29 -0
  135. package/dist/esm/sqm-widget-verification.entry.js +123 -0
  136. package/dist/esm/stencil-hooks.module-ac12ca1c.js +1 -1
  137. package/dist/esm/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +2 -2
  138. package/dist/esm/useEmailVerification-7135732c.js +72 -0
  139. package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  140. package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +9 -9
  141. package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-849e27f7.js} +2 -2
  142. package/dist/esm/{utilities-18d10876.js → utilities-443732be.js} +1 -1
  143. package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
  144. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +1 -0
  145. package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
  146. package/dist/esm-es5/{global-b89b6edc.js → global-6306a9b8.js} +2 -2
  147. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  148. package/dist/esm-es5/keys-a1496e39.js +1 -0
  149. package/dist/esm-es5/loader.js +1 -1
  150. package/dist/esm-es5/mint-components.js +1 -1
  151. package/dist/esm-es5/{re-render-c64289f3.js → re-render-1bcfd0de.js} +1 -1
  152. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  153. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  154. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
  155. package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  156. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  157. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  158. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  159. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  160. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  161. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  162. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  163. package/dist/esm-es5/sqm-invoice-table-view-08c03ba7.js +1 -0
  164. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  165. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  166. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  167. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  168. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  169. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  170. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  171. package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  172. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  173. package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  174. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  175. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  176. package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  177. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  178. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  179. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  180. package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  181. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
  183. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  184. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  185. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  186. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  187. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  188. package/dist/esm-es5/sqm-scroll.entry.js +1 -0
  189. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  190. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  191. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  192. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -0
  193. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  194. package/dist/esm-es5/stencil-hooks.module-ac12ca1c.js +1 -1
  195. package/dist/esm-es5/{useChildElements-37daf533.js → useChildElements-fc84e640.js} +1 -1
  196. package/dist/esm-es5/useEmailVerification-7135732c.js +1 -0
  197. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +1 -0
  198. package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-f6ffa103.js} +1 -1
  199. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  200. package/dist/esm-es5/{utilities-18d10876.js → utilities-443732be.js} +1 -1
  201. package/dist/mint-components/mint-components.esm.js +1 -1
  202. package/dist/mint-components/mint-components.js +1 -1
  203. package/dist/mint-components/p-0121e044.js +1 -0
  204. package/dist/mint-components/{p-12c56ba6.entry.js → p-012daf3c.entry.js} +1 -1
  205. package/dist/mint-components/{p-1b1d10e5.entry.js → p-03dbe2ce.entry.js} +1 -1
  206. package/dist/mint-components/{p-8077e9c6.js → p-04348a9b.js} +1 -1
  207. package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-04ced592.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-7962ab58.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  209. package/dist/mint-components/{p-01434e4a.entry.js → p-0893073b.entry.js} +1 -1
  210. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  211. package/dist/mint-components/p-117b4705.system.js +1 -0
  212. package/dist/mint-components/p-11d1b212.js +1 -0
  213. package/dist/mint-components/{p-dc41ff27.entry.js → p-1b861be5.entry.js} +1 -1
  214. package/dist/mint-components/{p-32cf8417.js → p-1b9e6fc6.js} +1 -1
  215. package/dist/mint-components/p-1bd0cda8.system.entry.js +1 -0
  216. package/dist/mint-components/{p-991c9787.js → p-1d27da33.js} +2 -2
  217. package/dist/mint-components/p-1ee62d9f.system.entry.js +1 -0
  218. package/dist/mint-components/{p-de2a8fae.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  219. package/dist/mint-components/p-1f9a9b70.system.entry.js +1 -0
  220. package/dist/mint-components/{p-5c845bc2.system.entry.js → p-22425c71.system.entry.js} +1 -1
  221. package/dist/mint-components/p-23fdd44e.entry.js +1 -0
  222. package/dist/mint-components/{p-3373d84e.js → p-2816bf6a.js} +1 -1
  223. package/dist/mint-components/p-2868f475.entry.js +1 -0
  224. package/dist/mint-components/p-2a414b2e.system.js +2 -2
  225. package/dist/mint-components/{p-a474b0ec.system.entry.js → p-36e9296e.system.entry.js} +1 -1
  226. package/dist/mint-components/p-36f7caec.system.entry.js +1 -0
  227. package/dist/mint-components/{p-b334bde8.entry.js → p-3925bcd6.entry.js} +2 -2
  228. package/dist/mint-components/p-39397731.entry.js +1 -0
  229. package/dist/mint-components/p-39af4acd.entry.js +240 -0
  230. package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-59c141a2.system.js → p-3ed71bef.system.js} +1 -1
  232. package/dist/mint-components/{p-bf834367.system.js → p-43621f12.system.js} +1 -1
  233. package/dist/mint-components/{p-110dddfe.entry.js → p-4671e644.entry.js} +1 -1
  234. package/dist/mint-components/{p-0f028514.system.js → p-4babe350.system.js} +1 -1
  235. package/dist/mint-components/p-4c9b6fbe.system.js +1 -0
  236. package/dist/mint-components/p-4e373c3d.system.js +1 -0
  237. package/dist/mint-components/{p-03a647c2.system.js → p-4e48267b.system.js} +1 -1
  238. package/dist/mint-components/{p-9deac406.system.js → p-4eae91a9.system.js} +1 -1
  239. package/dist/mint-components/{p-0806343b.js → p-509e29e6.js} +1 -1
  240. package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-51d53165.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-246a2827.entry.js → p-5291891c.entry.js} +2 -2
  242. package/dist/mint-components/{p-c1ba2ad0.system.entry.js → p-59818690.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-55588b46.system.js → p-5becb2ff.system.js} +1 -1
  244. package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  245. package/dist/mint-components/{p-22de9f73.system.entry.js → p-64491210.system.entry.js} +1 -1
  246. package/dist/mint-components/p-65e2c043.system.js +1 -0
  247. package/dist/mint-components/p-663303b7.entry.js +8 -0
  248. package/dist/mint-components/p-66a04cca.system.entry.js +1 -0
  249. package/dist/mint-components/{p-1df19ea2.js → p-68747d88.js} +1 -1
  250. package/dist/mint-components/{p-96cb9c17.entry.js → p-6c928c7d.entry.js} +1 -1
  251. package/dist/mint-components/p-6cae44d7.js +1 -0
  252. package/dist/mint-components/{p-b0ce005d.entry.js → p-721a89c6.entry.js} +2 -2
  253. package/dist/mint-components/{p-6e62f207.entry.js → p-76392386.entry.js} +1 -1
  254. package/dist/mint-components/{p-bb6f6681.system.js → p-7d5e0645.system.js} +1 -1
  255. package/dist/mint-components/{p-daba8cd2.system.entry.js → p-7dd1ff31.system.entry.js} +1 -1
  256. package/dist/mint-components/p-7f5c7bf7.system.entry.js +1 -0
  257. package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-d3d281ff.entry.js → p-84b25a46.entry.js} +1 -1
  259. package/dist/mint-components/{p-82e09b8d.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  260. package/dist/mint-components/p-8a337864.js +7 -0
  261. package/dist/mint-components/{p-73decce7.system.js → p-8d554a89.system.js} +1 -1
  262. package/dist/mint-components/p-93576222.system.js +1 -0
  263. package/dist/mint-components/p-94454880.entry.js +1 -0
  264. package/dist/mint-components/p-947fe79b.entry.js +1 -0
  265. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  266. package/dist/mint-components/{p-9288cca6.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  267. package/dist/mint-components/p-9d34f4f0.entry.js +33 -0
  268. package/dist/mint-components/p-9e0230c3.entry.js +1 -0
  269. package/dist/mint-components/{p-476182e7.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
  270. package/dist/mint-components/p-a02afa72.system.js +1 -0
  271. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  272. package/dist/mint-components/{p-798ed3a2.entry.js → p-a45b03d2.entry.js} +1 -1
  273. package/dist/mint-components/{p-523ed056.system.js → p-a51533cb.system.js} +1 -1
  274. package/dist/mint-components/p-a5a9aa07.entry.js +189 -0
  275. package/dist/mint-components/p-a85f57bb.entry.js +1 -0
  276. package/dist/mint-components/{p-21d4f6ce.system.js → p-ac51940e.system.js} +1 -1
  277. package/dist/mint-components/p-b1e8a802.entry.js +1 -0
  278. package/dist/mint-components/{p-fec0ac31.js → p-b651706a.js} +24 -24
  279. package/dist/mint-components/{p-14dac608.system.entry.js → p-bc826117.system.entry.js} +1 -1
  280. package/dist/mint-components/p-bdd6bb13.js +1 -0
  281. package/dist/mint-components/{p-67846dce.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  282. package/dist/mint-components/{p-3cc5474d.entry.js → p-bee1e573.entry.js} +1 -1
  283. package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  284. package/dist/mint-components/p-c3b37bbf.js +1 -0
  285. package/dist/mint-components/{p-ff41c804.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-18a19cb5.system.js → p-c5577dd7.system.js} +1 -1
  287. package/dist/mint-components/{p-02f6cda4.js → p-c5d2e4ba.js} +1 -1
  288. package/dist/mint-components/p-c763c0b2.js +1 -0
  289. package/dist/mint-components/{p-ed161025.js → p-c8610d0c.js} +1 -1
  290. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  291. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  292. package/dist/mint-components/p-ca809fdd.system.js +1 -0
  293. package/dist/mint-components/{p-f52c3aec.system.entry.js → p-cb433855.system.entry.js} +1 -1
  294. package/dist/mint-components/{p-f44d88fa.system.js → p-cd44de66.system.js} +1 -1
  295. package/dist/mint-components/p-d35d8c06.entry.js +11 -0
  296. package/dist/mint-components/{p-cfbe2f86.entry.js → p-d468925f.entry.js} +1 -1
  297. package/dist/mint-components/{p-15dee492.js → p-d49e2f7a.js} +1 -1
  298. package/dist/mint-components/{p-9c3d78e9.js → p-d83b0cf3.js} +1 -1
  299. package/dist/mint-components/{p-6e7e8af6.system.js → p-def516b8.system.js} +1 -1
  300. package/dist/mint-components/{p-e41cb11f.js → p-e0e7635a.js} +1 -1
  301. package/dist/mint-components/{p-a1150633.system.entry.js → p-e12d3414.system.entry.js} +1 -1
  302. package/dist/mint-components/{p-ce746af8.system.js → p-e8dde8f4.system.js} +1 -1
  303. package/dist/mint-components/p-e93e5740.entry.js +1 -0
  304. package/dist/mint-components/p-e9ca48fc.system.entry.js +1 -0
  305. package/dist/mint-components/p-ead27698.system.entry.js +1 -0
  306. package/dist/mint-components/{p-1c6e4a5f.entry.js → p-f36e33ff.entry.js} +2 -2
  307. package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-f450654b.system.entry.js} +1 -1
  308. package/dist/mint-components/{p-1c710e16.entry.js → p-f4cbbe47.entry.js} +1 -1
  309. package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-f531a5c9.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-acc93caa.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  311. package/dist/mint-components/p-f655a7df.js +1 -0
  312. package/dist/mint-components/{p-855ae1b5.js → p-fb93c962.js} +1 -1
  313. package/dist/mint-components/{p-46ca288c.system.js → p-fc422446.system.js} +1 -1
  314. package/dist/mint-components/{p-fae82751.entry.js → p-fd21ae8f.entry.js} +1 -1
  315. package/dist/mint-components/p-fd2c5407.js +2 -2
  316. package/dist/types/components/{sqm-pagination/Pagination.stories.d.ts → sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts} +1 -0
  317. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
  318. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +19 -0
  319. package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
  320. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
  321. package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
  322. package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
  323. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +8 -0
  324. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
  325. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +60 -0
  326. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +23 -0
  327. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +7 -0
  328. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +16 -0
  329. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +32 -0
  330. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +9 -0
  331. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +5 -0
  332. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +8 -0
  333. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +1 -0
  334. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  335. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
  336. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
  337. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +8 -0
  338. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +18 -0
  339. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +21 -0
  340. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -0
  341. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +5 -0
  342. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +16 -0
  343. package/dist/types/components/views/copy-text-view.d.ts +0 -2
  344. package/dist/types/components.d.ts +296 -170
  345. package/dist/types/global/android.d.ts +7 -0
  346. package/dist/types/global/demo.d.ts +2 -0
  347. package/dist/types/stories/features.d.ts +4 -0
  348. package/dist/types/stories/templates.d.ts +4 -0
  349. package/docs/docs.docx +0 -0
  350. package/docs/raisins.json +1 -1
  351. package/grapesjs/grapesjs.js +1 -1
  352. package/package.json +2 -2
  353. package/dist/cjs/copy-text-view-a22ad7e7.js +0 -173
  354. package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -316
  355. package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
  356. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -30
  357. package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -85
  358. package/dist/collection/components/sqm-pagination/usePagination.js +0 -8
  359. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
  360. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -315
  361. package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -51
  362. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -35
  363. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -59
  364. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -99
  365. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -75
  366. package/dist/esm/copy-text-view-bf55abeb.js +0 -168
  367. package/dist/esm/sqm-pagination_3.entry.js +0 -310
  368. package/dist/esm-es5/ShadowViewAddon-5bb2b69a.js +0 -1
  369. package/dist/esm-es5/copy-text-view-bf55abeb.js +0 -1
  370. package/dist/esm-es5/index.module-f122af7b.js +0 -1
  371. package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
  372. package/dist/esm-es5/sqm-invoice-table-view-09cc28d6.js +0 -1
  373. package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
  374. package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
  375. package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
  376. package/dist/mint-components/p-00be5090.js +0 -1
  377. package/dist/mint-components/p-0161f5da.entry.js +0 -13
  378. package/dist/mint-components/p-1099290c.system.js +0 -1
  379. package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
  380. package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
  381. package/dist/mint-components/p-2e16db11.entry.js +0 -1
  382. package/dist/mint-components/p-41499327.entry.js +0 -1
  383. package/dist/mint-components/p-43a990b6.system.js +0 -1
  384. package/dist/mint-components/p-4856b234.system.entry.js +0 -1
  385. package/dist/mint-components/p-48b7d703.entry.js +0 -174
  386. package/dist/mint-components/p-494e407e.entry.js +0 -1
  387. package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
  388. package/dist/mint-components/p-5d37482d.entry.js +0 -1
  389. package/dist/mint-components/p-5fc8d87c.system.js +0 -1
  390. package/dist/mint-components/p-646d302a.system.js +0 -1
  391. package/dist/mint-components/p-6628bc0e.system.js +0 -1
  392. package/dist/mint-components/p-6b0e6a6c.js +0 -1
  393. package/dist/mint-components/p-73c6b26d.entry.js +0 -223
  394. package/dist/mint-components/p-89a760ea.js +0 -1
  395. package/dist/mint-components/p-942d1c22.entry.js +0 -33
  396. package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
  397. package/dist/mint-components/p-b5176703.entry.js +0 -1
  398. package/dist/mint-components/p-b71c0e2d.system.entry.js +0 -1
  399. package/dist/mint-components/p-bd4e9c2b.js +0 -1
  400. package/dist/mint-components/p-c37137cd.js +0 -2
  401. package/dist/mint-components/p-c7ce2c1e.system.js +0 -1
  402. package/dist/mint-components/p-ca17d998.entry.js +0 -1
  403. package/dist/mint-components/p-d666b326.js +0 -1
  404. package/dist/mint-components/p-ea88142c.js +0 -1
  405. package/dist/mint-components/p-eb4e9efb.system.entry.js +0 -1
  406. package/dist/mint-components/p-ecefeaa9.system.entry.js +0 -1
  407. package/dist/mint-components/p-f1ec1180.entry.js +0 -1
  408. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -7
  409. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -17
  410. package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -15
  411. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
  412. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
  413. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -9
  414. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -9
  415. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -10
  416. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -21
  417. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -59
  418. package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-80d7642e.js} +1 -1
  419. package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-248652bb.js} +1 -1
  420. package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-fd6e8f60.js} +1 -1
  421. package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
  422. package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
  423. package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-7ffcc0d4.js} +1 -1
  424. package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-d59d8ab4.js} +1 -1
  425. package/dist/esm/{email-registration-view-12793040.js → email-registration-view-a89a88bf.js} +1 -1
  426. package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  427. package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  428. package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  429. package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-d7ea2c56.js} +1 -1
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { e as $n } from './index.module-f122af7b.js';
3
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
2
+ import { x as xn } from './index.module-6c840c4e.js';
4
3
  import { g as gap } from './mixins-f60a614c.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", { part: "sqm-link", href: data.path, onClick: (e) => {
35
35
  e.preventDefault();
36
- $n.push(data.path);
36
+ xn.push(data.path);
37
37
  }, class: sheet.classes.ItemContainer },
38
38
  h("style", { type: "text/css" }, styleString),
39
39
  h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { S as Sn, i as isDemo } from './index.module-f122af7b.js';
4
- import { g as getProps } from './utils-334c1e34.js';
5
- import './JSS-67b5cff8.js';
3
+ import { j as jn, i as isDemo } from './index.module-6c840c4e.js';
6
4
  import { c as cjs } from './cjs-bdfb4486.js';
7
5
  import './mixins-f60a614c.js';
8
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-14114804.js';
6
+ import './JSS-67b5cff8.js';
7
+ import { g as getProps } from './utils-334c1e34.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-f8e78810.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
- const currentPage = Sn();
11
+ const currentPage = jn();
12
12
  return {
13
13
  states: {
14
14
  active: currentPage.pathname === props.path,
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
- import { S as Sn, H } from './index.module-f122af7b.js';
3
+ import { j as jn, z } from './index.module-6c840c4e.js';
4
4
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
5
5
 
6
6
  const NavigationSidebar = class {
@@ -16,8 +16,8 @@ const NavigationSidebar = class {
16
16
  }
17
17
  };
18
18
  function useNavigationSidebar() {
19
- const location = Sn();
20
- const programId = H();
19
+ const location = jn();
20
+ const programId = z();
21
21
  const [checked, setChecked] = useState(false);
22
22
  // Close hamburger menu after navigation
23
23
  useEffect(() => {
@@ -1,11 +1,11 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as isDemo } from './index.module-f122af7b.js';
4
- import { g as getProps } from './utils-334c1e34.js';
5
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
+ import { i as isDemo } from './index.module-6c840c4e.js';
6
4
  import { c as cjs } from './cjs-bdfb4486.js';
7
5
  import { E as ErrorStyles } from './mixins-f60a614c.js';
8
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-53c71782.js';
6
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
+ import { g as getProps } from './utils-334c1e34.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-849e27f7.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,6 +1,6 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
2
  import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { B } from './index.module-f122af7b.js';
3
+ import { n as ne } from './index.module-6c840c4e.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -14,10 +14,10 @@ const PopupContainerView = (props) => {
14
14
  };
15
15
 
16
16
  function usePopupContainer(props) {
17
- const engagementMedium = B();
17
+ const engagementMedium = ne();
18
18
  function closePopup() {
19
19
  var _a;
20
- if (B() === "POPUP") {
20
+ if (ne() === "POPUP") {
21
21
  (_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
22
22
  }
23
23
  }
@@ -31,7 +31,7 @@ function usePopupContainer(props) {
31
31
  ? "0"
32
32
  : `var(--sl-spacing-${props.embedPadding})`
33
33
  : "0";
34
- const padding = B() === "POPUP" ? popupPadding : embedPadding;
34
+ const padding = ne() === "POPUP" ? popupPadding : embedPadding;
35
35
  return {
36
36
  states: {
37
37
  showCloseButton: props.closeButton && engagementMedium === "POPUP",
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-b89b6edc.js';
3
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
2
+ import { i as intl } from './global-6306a9b8.js';
4
3
  import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
4
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
6
6
 
7
7
  const style = {
@@ -1,20 +1,20 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import './global-b89b6edc.js';
4
- import { l as ln, n as nn, Q, e as $n, u as useCallback, i as isDemo } from './index.module-f122af7b.js';
5
- import './JSS-67b5cff8.js';
3
+ import './global-6306a9b8.js';
4
+ import { h as hn, u as un, K, x as xn, b as useCallback, i as isDemo } from './index.module-6c840c4e.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import './mixins-f60a614c.js';
7
+ import './JSS-67b5cff8.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-ced567c9.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-c6ac5430.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13
- const [request, { loading, data, errors }] = ln();
14
- const [getVerificationStatus, { data: user, loading: loadingVerification }] = nn();
15
- const userIdent = Q();
13
+ const [request, { loading, data, errors }] = hn();
14
+ const [getVerificationStatus, { data: user, loading: loadingVerification }] = un();
15
+ const userIdent = K();
16
16
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
17
- const urlParams = new URLSearchParams($n.location.search);
17
+ const urlParams = new URLSearchParams(xn.location.search);
18
18
  const nextPage = urlParams.get("nextPage");
19
19
  const [success, setSuccess] = useState(false);
20
20
  const [error, setError] = useState("");
@@ -44,7 +44,7 @@ function usePortalEmailVerification(props) {
44
44
  const data = (await getVerificationStatus());
45
45
  if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
46
46
  clearInterval(timerRef.current);
47
- return $n.push({
47
+ return xn.push({
48
48
  pathname: props.redirectPath,
49
49
  search: urlParams.toString() && "?" + urlParams.toString(),
50
50
  });
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { k as useState, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { f as un, e as $n, i as isDemo } from './index.module-f122af7b.js';
3
+ import { v as vn, x as xn, i as isDemo } from './index.module-6c840c4e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
- import './JSS-67b5cff8.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import './mixins-f60a614c.js';
7
+ import './JSS-67b5cff8.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-95cd454f.js';
9
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
10
10
 
11
11
  function usePortalForgotPassword(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g;
13
13
  const [success, setSuccess] = useState(false);
14
14
  const [error, setError] = useState("");
15
- const [request, { loading, data, errors }] = un();
16
- const urlParams = new URLSearchParams($n.location.search);
15
+ const [request, { loading, data, errors }] = vn();
16
+ const urlParams = new URLSearchParams(xn.location.search);
17
17
  const nextPage = urlParams.get("nextPage");
18
18
  const submit = async (event) => {
19
19
  var _a;
@@ -102,7 +102,7 @@ const PortalForgotPassword = class {
102
102
  ? usePortalForgotPasswordDemo(this)
103
103
  : usePortalForgotPassword(this);
104
104
  const content = {
105
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginText))),
105
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginText))),
106
106
  messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
107
107
  emailLabel: this.emailLabel,
108
108
  submitLabel: this.submitLabel,
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { b as setUserIdentity, e as $n, i as isDemo } from './index.module-f122af7b.js';
3
+ import { a as setUserIdentity, x as xn, i as isDemo } from './index.module-6c840c4e.js';
4
4
 
5
5
  function usePortalLogout({ nextPage }) {
6
6
  setUserIdentity(undefined);
7
- $n.push({ pathname: nextPage, search: "" });
7
+ xn.push({ pathname: nextPage, search: "" });
8
8
  }
9
9
 
10
10
  const PortalLogout = class {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-b89b6edc.js';
2
+ import { i as intl } from './global-6306a9b8.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
5
5
 
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import './global-b89b6edc.js';
4
- import { d as dist, Q, y as yn, $ as $e, i as isDemo } from './index.module-f122af7b.js';
5
- import { g as getProps } from './utils-334c1e34.js';
6
- import './JSS-67b5cff8.js';
3
+ import './global-6306a9b8.js';
4
+ import { d as dist, K, E as En, c as xe, i as isDemo } from './index.module-6c840c4e.js';
7
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
+ import './JSS-67b5cff8.js';
7
+ import { g as getProps } from './utils-334c1e34.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-d72dd5ac.js';
10
- import { i as isEmpty } from './utilities-18d10876.js';
9
+ import { P as PortalProfileView } from './sqm-portal-profile-view-15ddbec8.js';
10
+ import { i as isEmpty } from './utilities-443732be.js';
11
11
 
12
12
  const GET_USER = dist.gql `
13
13
  query {
@@ -53,12 +53,12 @@ const defaultFormState = {
53
53
  error: "",
54
54
  };
55
55
  function usePortalProfile(props) {
56
- const userIdent = Q();
56
+ const userIdent = K();
57
57
  const [success, setSuccess] = useState(false);
58
58
  const [userData, setUserData] = useState(undefined);
59
59
  const [formState, setFormState] = useState(defaultFormState);
60
- const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
61
- const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
60
+ const userDataResponse = En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
61
+ const [upsertUser, upsertUserResponse] = xe(UPSERT_USER);
62
62
  useEffect(() => {
63
63
  if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
64
64
  return;
@@ -1,24 +1,24 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { Q, S as Sn, e as $n, i as isDemo } from './index.module-f122af7b.js';
3
+ import { K, j as jn, x as xn, i as isDemo } from './index.module-6c840c4e.js';
4
4
 
5
5
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
6
6
  var _a;
7
- const userIdent = Q();
7
+ const userIdent = K();
8
8
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
9
9
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
10
- const { pathname, search } = Sn();
10
+ const { pathname, search } = jn();
11
11
  const nextPageParam = new URLSearchParams();
12
12
  nextPageParam.append("nextPage", `${pathname}${search}`);
13
13
  useEffect(() => {
14
14
  if (!authenticated) {
15
- return $n.push({
15
+ return xn.push({
16
16
  pathname: redirectTo,
17
17
  search: "?" + nextPageParam.toString(),
18
18
  });
19
19
  }
20
20
  if (requireEmailVerification && !emailVerified) {
21
- return $n.push({
21
+ return xn.push({
22
22
  pathname: redirectToUnverified || redirectTo,
23
23
  search: "?" + nextPageParam.toString(),
24
24
  });
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
2
  import { m as useRef, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { d as dist, L, W as We, y as yn, e as $n, u as useCallback, i as isDemo } from './index.module-f122af7b.js';
3
+ import { d as dist, Q, e as Te, E as En, x as xn, b as useCallback, i as isDemo } from './index.module-6c840c4e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
9
- import { u as useRegistrationFormState } from './useRegistrationFormState-53c71782.js';
9
+ import { u as useRegistrationFormState } from './useRegistrationFormState-849e27f7.js';
10
10
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
11
 
12
12
  const style = {
@@ -102,10 +102,10 @@ const RegistrationFormQuery = dist.gql `
102
102
  function usePortalRegistrationForm(props) {
103
103
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
104
104
  const formRef = useRef(null);
105
- const locale = L();
105
+ const locale = Q();
106
106
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
107
- const [request, { loading, errors, data, formError }] = We();
108
- const queryResponse = yn(RegistrationFormQuery, { key: props.formKey });
107
+ const [request, { loading, errors, data, formError }] = Te();
108
+ const queryResponse = En(RegistrationFormQuery, { key: props.formKey });
109
109
  const formLoading = loading || queryResponse.loading;
110
110
  useEffect(() => {
111
111
  var _a, _b, _c;
@@ -208,7 +208,7 @@ function usePortalRegistrationForm(props) {
208
208
  managedIdentityResponse.result.results.length &&
209
209
  managedIdentityResponse.result.results[0].success &&
210
210
  managedIdentityResponse.result.results[0].data.token) {
211
- $n.push(props.nextPage);
211
+ xn.push(props.nextPage);
212
212
  }
213
213
  else if (
214
214
  // check for blocked email error response
@@ -421,7 +421,7 @@ const PortalRegistrationForm = class {
421
421
  : usePortalRegistrationForm(this);
422
422
  const content = {
423
423
  formData: h("slot", { name: "formData" }),
424
- secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
424
+ secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.loginPath) }, this.loginLabel))),
425
425
  terms: h("slot", { name: "terms" }),
426
426
  emailLabel: this.emailLabel,
427
427
  passwordLabel: this.passwordLabel,
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { h as Qe, T as Te, e as $n, i as isDemo } from './index.module-f122af7b.js';
3
+ import { X as Xe, f as Ke, x as xn, i as isDemo } from './index.module-6c840c4e.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
- import { s as sanitizeUrlPath } from './utils-334c1e34.js';
6
- import './JSS-67b5cff8.js';
7
5
  import { c as cjs } from './cjs-bdfb4486.js';
8
6
  import './mixins-f60a614c.js';
7
+ import './JSS-67b5cff8.js';
8
+ import { s as sanitizeUrlPath } from './utils-334c1e34.js';
9
9
  import './sqm-text-span-view-8d140661.js';
10
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f1454d43.js';
10
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
11
11
 
12
12
  function usePortalResetPassword(props) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
14
  const [reset, setReset] = useState(false);
15
15
  const [error, setError] = useState("");
16
- const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Qe();
17
- const [resetPassword, resetPasswordState] = Te();
18
- const urlParams = new URLSearchParams($n.location.search);
16
+ const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Xe();
17
+ const [resetPassword, resetPasswordState] = Ke();
18
+ const urlParams = new URLSearchParams(xn.location.search);
19
19
  const oobCode = urlParams.get("oobCode");
20
20
  urlParams.delete("oobCode");
21
21
  const nextPageOverride = urlParams.get("nextPage");
@@ -53,10 +53,10 @@ function usePortalResetPassword(props) {
53
53
  const gotoNextPage = () => {
54
54
  urlParams.delete("nextPage");
55
55
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
56
- $n.push(url.href);
56
+ xn.push(url.href);
57
57
  };
58
58
  const failed = () => {
59
- $n.push({
59
+ xn.push({
60
60
  pathname: props.failedPage,
61
61
  search: urlParams.toString() && "?" + urlParams.toString(),
62
62
  });
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { Q, j as an, e as $n, b as setUserIdentity, i as isDemo } from './index.module-f122af7b.js';
4
- import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
5
- import './JSS-67b5cff8.js';
3
+ import { K, l as ln, x as xn, a as setUserIdentity, i as isDemo } from './index.module-6c840c4e.js';
6
4
  import { c as cjs } from './cjs-bdfb4486.js';
7
5
  import './mixins-f60a614c.js';
6
+ import './JSS-67b5cff8.js';
7
+ import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-3739f523.js';
9
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
10
10
 
11
11
  let globalPromise = null;
12
12
  function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
14
  const [completed, setCompleted] = useState(false);
15
15
  const [successful, setSuccessful] = useState(false);
16
- const userIdent = Q();
17
- const [request, { loading, data, errors }] = an();
18
- const urlParams = new URLSearchParams($n.location.search);
16
+ const userIdent = K();
17
+ const [request, { loading, data, errors }] = ln();
18
+ const urlParams = new URLSearchParams(xn.location.search);
19
19
  const oobCode = urlParams.get("oobCode");
20
20
  const oobEmail = urlParams.get("email");
21
21
  const nextPageOverride = urlParams.get("nextPage");
@@ -26,7 +26,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
26
26
  successful);
27
27
  const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
28
28
  const failed = () => {
29
- return $n.push({
29
+ return xn.push({
30
30
  pathname: failedPage,
31
31
  search: urlParams.toString() && "?" + urlParams.toString(),
32
32
  });
@@ -34,7 +34,7 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
34
34
  const gotoNextPage = () => {
35
35
  urlParams.delete("nextPage");
36
36
  const url = sanitizeUrlPath(nextPageOverride || nextPage);
37
- $n.push(url.href);
37
+ xn.push(url.href);
38
38
  };
39
39
  const logout = () => {
40
40
  setTimeout(() => {
@@ -1,17 +1,17 @@
1
1
  import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
2
2
  import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-b89b6edc.js';
4
- import { i as isDemo } from './index.module-f122af7b.js';
5
- import { l as luxonLocale } from './utils-334c1e34.js';
6
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
+ import { i as intl } from './global-6306a9b8.js';
4
+ import { i as isDemo } from './index.module-6c840c4e.js';
7
5
  import { c as cjs } from './cjs-bdfb4486.js';
8
6
  import './mixins-f60a614c.js';
9
- import { G as GenericTableView } from './GenericTableView-bf154727.js';
10
- import { a as useRequestRerender, u as useRerenderListener } from './re-render-c64289f3.js';
11
- import { u as useChildElements } from './useChildElements-37daf533.js';
7
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
+ import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
9
+ import { a as useRequestRerender, u as useRerenderListener } from './re-render-1bcfd0de.js';
10
+ import { u as useChildElements } from './useChildElements-fc84e640.js';
12
11
  import { l as luxon } from './luxon-7600be8d.js';
13
12
  import { g as getPaypalMeta } from './mockRewardData-0eb6e778.js';
14
- import { u as useReferralTable, t as tryMethod } from './useReferralTable-42f99ea2.js';
13
+ import { u as useReferralTable, t as tryMethod } from './useReferralTable-f6ffa103.js';
14
+ import { l as luxonLocale } from './utils-334c1e34.js';
15
15
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
16
16
 
17
17
  const mockReferralData = (count = 4) => {
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as isDemo, b as setUserIdentity } from './index.module-f122af7b.js';
3
+ import { i as isDemo, a as setUserIdentity } from './index.module-6c840c4e.js';
4
4
  import './jsonpointer-388a7082.js';
5
- import './JSS-67b5cff8.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import './mixins-f60a614c.js';
8
- import { E as EmailRegistrationView } from './email-registration-view-12793040.js';
9
- import './useRegistrationFormState-53c71782.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-9d4cb797.js';
7
+ import './JSS-67b5cff8.js';
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';
11
11
 
12
12
  const ReferredRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
2
  import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import './index.module-f122af7b.js';
4
- import { a as useRequestRerender } from './re-render-c64289f3.js';
3
+ import './index.module-6c840c4e.js';
4
+ import { a as useRequestRerender } from './re-render-1bcfd0de.js';
5
5
 
6
6
  const RewardTableCustomerNoteColumn = class {
7
7
  constructor(hostRef) {
@@ -1,17 +1,17 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
2
  import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-b89b6edc.js';
4
- import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-f122af7b.js';
5
- import { l as luxonLocale } from './utils-334c1e34.js';
6
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
+ import { i as intl } from './global-6306a9b8.js';
4
+ import { d as dist, K, z, Q, E as En, O as On, i as isDemo } from './index.module-6c840c4e.js';
7
5
  import { c as cjs } from './cjs-bdfb4486.js';
8
6
  import './mixins-f60a614c.js';
9
- import { G as GenericTableView } from './GenericTableView-bf154727.js';
10
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-c64289f3.js';
11
- import { u as useChildElements } from './useChildElements-37daf533.js';
7
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
+ import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
9
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-1bcfd0de.js';
10
+ import { u as useChildElements } from './useChildElements-fc84e640.js';
12
11
  import { l as luxon } from './luxon-7600be8d.js';
13
12
  import { m as mockRewardData } from './mockRewardData-0eb6e778.js';
14
- import { g as generateUserError } from './useReferralTable-42f99ea2.js';
13
+ import { g as generateUserError } from './useReferralTable-f6ffa103.js';
14
+ import { l as luxonLocale } from './utils-334c1e34.js';
15
15
 
16
16
  const debug = browser("sq:useRewardsTable");
17
17
  const CSS_NAMESPACE = "sqm-rewards-table";
@@ -162,9 +162,9 @@ const GET_IMPACT_TAX = dist.gql `
162
162
  `;
163
163
  function useRewardsTable(props, emptyElement, loadingElement) {
164
164
  var _a, _b, _c;
165
- const user = Q();
166
- const programIdContext = H();
167
- const locale = L();
165
+ const user = K();
166
+ const programIdContext = z();
167
+ const locale = Q();
168
168
  // Default to context, overriden by props
169
169
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
170
170
  const rewardFilter = {
@@ -186,8 +186,8 @@ function useRewardsTable(props, emptyElement, loadingElement) {
186
186
  loading: false,
187
187
  page: 0,
188
188
  });
189
- const { data: impactTaxData, loading: taxLoading } = yn(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
190
- const { envelope: rewardsData, states, callbacks, } = kn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
189
+ const { data: impactTaxData, loading: taxLoading } = En(GET_IMPACT_TAX, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
190
+ const { envelope: rewardsData, states, callbacks, } = On(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
191
191
  limit: props.perPage,
192
192
  offset: 0,
193
193
  }, {
@@ -0,0 +1,105 @@
1
+ import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
+
5
+ const REVEAL_EVENT = "sq:reveal";
6
+ function useScroll(props) {
7
+ const { scrollTagName, scrollId } = props;
8
+ async function scroll() {
9
+ const element = document === null || document === void 0 ? void 0 : document.querySelector(scrollTagName || `#${scrollId}`);
10
+ element.dispatchEvent(new CustomEvent(REVEAL_EVENT, {
11
+ detail: scrollTagName || `#${scrollId}`,
12
+ bubbles: true,
13
+ composed: true,
14
+ }));
15
+ await new Promise((resolve) => setTimeout(resolve, 500));
16
+ element.scrollIntoView({ behavior: props.scrollAnimation });
17
+ }
18
+ return {
19
+ callbacks: { scroll },
20
+ };
21
+ }
22
+
23
+ const Scroll = class {
24
+ constructor(hostRef) {
25
+ registerInstance(this, hostRef);
26
+ this.ignored = true;
27
+ /**
28
+ * @uiName Button type
29
+ * @uiType string
30
+ * @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
31
+ * @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
32
+
33
+ */
34
+ this.buttonType = "default";
35
+ /**
36
+ * @uiName Scroll animation style
37
+ * @uiType string
38
+ * @uiEnum ["smooth", "auto"]
39
+ * @uiEnumNames ["Smooth", "Auto"]
40
+ */
41
+ this.scrollAnimation = "smooth";
42
+ h(this);
43
+ }
44
+ disconnectedCallback() { }
45
+ render() {
46
+ var _a;
47
+ const { callbacks } = useScroll(this);
48
+ const outlineColor = (_a = this.buttonType) !== null && _a !== void 0 ? _a : "primary";
49
+ const style = {
50
+ Button: {
51
+ "& .outline": {
52
+ "&::part(base)": {
53
+ color: "var(--sl-color-" + outlineColor + "-500)",
54
+ borderColor: "var(--sl-color-" + outlineColor + "-500)",
55
+ backgroundColor: "transparent",
56
+ "&:hover": {
57
+ color: "var(--sl-color-primary-text)",
58
+ backgroundColor: "var(--sl-color-" + outlineColor + "-500)",
59
+ },
60
+ },
61
+ },
62
+ "& .neutral": {
63
+ "&::part(base)": {
64
+ color: "var(--sl-color-primary-text)",
65
+ background: "var(--sl-color-neutral-500)",
66
+ "&:hover": {
67
+ opacity: "0.8",
68
+ },
69
+ },
70
+ },
71
+ "& .mobile": {
72
+ "@media (max-width: 499px)": {
73
+ width: "100%",
74
+ },
75
+ },
76
+ },
77
+ };
78
+ const sheet = createStyleSheet(style);
79
+ const styleString = sheet.toString();
80
+ const vanillaStyle = `
81
+ :host{
82
+ display: contents;
83
+ }
84
+ ${this.mobile &&
85
+ `
86
+ @media only screen and (max-width: 499px) {
87
+ :host {
88
+ display: block;
89
+ width: 100%;
90
+ }
91
+ }
92
+ `}
93
+ `;
94
+ let classStack = "";
95
+ if (this.outline && this.buttonType != "default")
96
+ classStack += "outline ";
97
+ if (this.buttonType === "neutral")
98
+ classStack += "neutral ";
99
+ if (this.mobile)
100
+ classStack += "mobile ";
101
+ return (h$1("div", { class: sheet.classes.Button }, h$1("style", { type: "text/css" }, vanillaStyle, styleString), h$1("sl-button", { type: this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill, circle: this.circle, class: classStack }, (this.iconSlot || this.iconName) && (h$1("sl-icon", { slot: this.iconSlot || "prefix", name: this.iconName })), this.buttonText, h$1("slot", null))));
102
+ }
103
+ };
104
+
105
+ export { Scroll as sqm_scroll };