@saasquatch/mint-components 1.11.1-63 → 1.11.1-64

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 (427) hide show
  1. package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-c3e91cee.js → ShadowViewAddon-d714d857.js} +166 -224
  3. package/dist/cjs/copy-text-view-bb2d108f.js +229 -0
  4. package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
  5. package/dist/cjs/{global-02e50f09.js → global-e067aa06.js} +2 -2
  6. package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
  7. package/dist/cjs/{index.module-df530553.js → index.module-224d7b8d.js} +1 -1
  8. package/dist/cjs/loader.cjs.js +5 -5
  9. package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
  10. package/dist/cjs/mint-components.cjs.js +5 -5
  11. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
  12. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  13. package/dist/cjs/{re-render-1976e05e.js → re-render-cd2f8774.js} +2 -2
  14. package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
  15. package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
  16. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +12 -12
  17. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +17 -16
  18. package/dist/cjs/{sqm-close-button-view-fd6e8f60.js → sqm-close-button-view-6a709e00.js} +2 -2
  19. package/dist/cjs/sqm-close-button.cjs.entry.js +5 -5
  20. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-empty_4.cjs.entry.js +11 -7
  22. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
  26. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-2f4f426b.js} +2 -2
  27. package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
  28. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  29. package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
  30. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  31. package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-010a81c7.js} +3 -3
  32. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
  33. package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
  34. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-pagination_3.cjs.entry.js +391 -0
  36. package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
  37. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  38. package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
  39. package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-f8980d11.js} +4 -4
  40. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
  41. package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
  42. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
  43. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  44. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c70d7f9.js} +3 -3
  45. package/dist/cjs/sqm-portal-profile.cjs.entry.js +9 -9
  46. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  47. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
  48. package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
  49. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
  50. package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
  51. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
  52. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +13 -13
  53. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  54. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  55. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  56. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +12 -12
  57. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  58. package/dist/cjs/sqm-stencilbook.cjs.entry.js +296 -99
  59. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  60. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  61. package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
  62. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  63. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
  64. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-176ac928.js} +2 -2
  65. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-151a3f4a.js} +3 -3
  66. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-c91d9310.js} +5 -5
  67. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-49dd9295.js} +2 -2
  68. package/dist/cjs/{utilities-cec9dd36.js → utilities-719c980a.js} +2 -2
  69. package/dist/collection/collection-manifest.json +10 -0
  70. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  71. package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
  72. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  73. package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
  74. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +30 -0
  75. package/dist/collection/components/sqm-pagination/sqm-pagination.js +108 -0
  76. package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
  77. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
  78. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
  79. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
  80. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
  81. package/dist/collection/components/sqm-referral-code/useReferralCode.js +62 -0
  82. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
  83. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
  84. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +227 -0
  85. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +129 -0
  86. package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
  87. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  88. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  89. package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
  90. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  91. package/dist/collection/components/views/copy-text-view.js +18 -3
  92. package/dist/collection/stories/Widget.stories.js +5 -0
  93. package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
  94. package/dist/esm/{ShadowViewAddon-e012b2aa.js → ShadowViewAddon-bc74643a.js} +165 -222
  95. package/dist/esm/copy-text-view-32aad903.js +223 -0
  96. package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
  97. package/dist/esm/{global-04c7d3b5.js → global-701bd5b0.js} +2 -2
  98. package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
  99. package/dist/esm/{index.module-def4aec5.js → index.module-5eb0926c.js} +2 -2
  100. package/dist/esm/loader.js +5 -5
  101. package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  102. package/dist/esm/mint-components.js +5 -5
  103. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  104. package/dist/esm/raisins-plop-target.entry.js +1 -1
  105. package/dist/esm/{re-render-12fd274a.js → re-render-b31d83d7.js} +2 -2
  106. package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  107. package/dist/esm/sqm-asset-card.entry.js +5 -5
  108. package/dist/esm/sqm-banking-info-form_16.entry.js +12 -12
  109. package/dist/esm/sqm-big-stat_38.entry.js +15 -14
  110. package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
  111. package/dist/esm/sqm-close-button.entry.js +5 -5
  112. package/dist/esm/sqm-context-router.entry.js +3 -3
  113. package/dist/esm/sqm-empty_4.entry.js +11 -7
  114. package/dist/esm/sqm-form-message.entry.js +2 -2
  115. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  116. package/dist/esm/sqm-header-logo.entry.js +2 -2
  117. package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
  118. package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-7d1aa71f.js} +2 -2
  119. package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
  120. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  121. package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  122. package/dist/esm/sqm-logout-current-user.entry.js +6 -6
  123. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +3 -3
  124. package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
  125. package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  126. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  127. package/dist/esm/sqm-pagination_3.entry.js +385 -0
  128. package/dist/esm/sqm-password-field.entry.js +6 -6
  129. package/dist/esm/sqm-popup-container.entry.js +3 -3
  130. package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  131. package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-332e1339.js} +4 -4
  132. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  133. package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
  134. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  135. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  136. package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-847526a2.js} +3 -3
  137. package/dist/esm/sqm-portal-profile.entry.js +9 -9
  138. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  139. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  140. package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
  141. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  142. package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
  143. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  144. package/dist/esm/sqm-referral-table_11.entry.js +13 -13
  145. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  146. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  147. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  148. package/dist/esm/sqm-rewards-table_9.entry.js +12 -12
  149. package/dist/esm/sqm-route.entry.js +1 -1
  150. package/dist/esm/sqm-stencilbook.entry.js +283 -86
  151. package/dist/esm/sqm-tab.entry.js +4 -4
  152. package/dist/esm/sqm-tabs.entry.js +5 -5
  153. package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  154. package/dist/esm/sqm-text-span.entry.js +3 -3
  155. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  156. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-ebcfbc19.js} +2 -2
  157. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-7b2ea2bd.js} +3 -3
  158. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-df227f15.js} +5 -5
  159. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-faea9402.js} +2 -2
  160. package/dist/esm/{utilities-3f5bba22.js → utilities-292b61b9.js} +2 -2
  161. package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
  162. package/dist/esm-es5/ShadowViewAddon-bc74643a.js +1 -0
  163. package/dist/esm-es5/copy-text-view-32aad903.js +1 -0
  164. package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
  165. package/dist/esm-es5/{global-04c7d3b5.js → global-701bd5b0.js} +1 -1
  166. package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
  167. package/dist/esm-es5/{index.module-def4aec5.js → index.module-5eb0926c.js} +1 -1
  168. package/dist/esm-es5/loader.js +1 -1
  169. package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  170. package/dist/esm-es5/mint-components.js +1 -1
  171. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  172. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  173. package/dist/esm-es5/{re-render-12fd274a.js → re-render-b31d83d7.js} +1 -1
  174. package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  175. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  176. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  177. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +1 -1
  179. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  180. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  181. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  182. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  183. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  184. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  185. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-7d1aa71f.js} +1 -1
  187. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
  188. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  189. package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  190. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  191. package/dist/esm-es5/sqm-navigation-sidebar-item-view-9fa7f5ea.js +1 -0
  192. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  193. package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  194. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  195. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
  196. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  197. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  199. package/dist/esm-es5/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-332e1339.js} +1 -1
  200. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  201. package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
  202. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  203. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  204. package/dist/esm-es5/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-847526a2.js} +1 -1
  205. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  206. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  207. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  208. package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
  209. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  210. package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
  211. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  212. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  213. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  214. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  215. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  216. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  217. package/dist/esm-es5/sqm-route.entry.js +1 -1
  218. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  219. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  220. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  221. package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  222. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  223. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  224. package/dist/esm-es5/useChildElements-ebcfbc19.js +1 -0
  225. package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +1 -0
  226. package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-df227f15.js} +1 -1
  227. package/dist/esm-es5/useRegistrationFormState-faea9402.js +1 -0
  228. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-292b61b9.js} +1 -1
  229. package/dist/mint-components/mint-components.esm.js +1 -1
  230. package/dist/mint-components/mint-components.js +1 -1
  231. package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
  232. package/dist/mint-components/p-03e2a88c.js +1 -0
  233. package/dist/mint-components/p-062051ad.entry.js +1 -0
  234. package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
  235. package/dist/mint-components/p-099b57de.system.js +1 -0
  236. package/dist/mint-components/p-0a26adee.js +1 -0
  237. package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
  238. package/dist/mint-components/p-0ebd104c.js +1 -0
  239. package/dist/mint-components/p-119e24fd.system.entry.js +1 -0
  240. package/dist/mint-components/{p-41a11a7f.js → p-134424df.js} +1 -1
  241. package/dist/mint-components/p-146c2a0e.js +1 -0
  242. package/dist/mint-components/p-16b9efe1.system.js +1 -0
  243. package/dist/mint-components/{p-2ee2ebba.js → p-195e306e.js} +1 -1
  244. package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
  245. package/dist/mint-components/p-1a5f4a13.system.entry.js +1 -0
  246. package/dist/mint-components/{p-56f14840.entry.js → p-1c45b7d0.entry.js} +1 -1
  247. package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
  248. package/dist/mint-components/{p-b370fca8.system.js → p-1e68fa26.system.js} +1 -1
  249. package/dist/mint-components/p-20c6c73e.entry.js +1 -0
  250. package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
  251. package/dist/mint-components/p-2474c5c6.entry.js +1 -0
  252. package/dist/mint-components/p-2478ab2e.js +1 -0
  253. package/dist/mint-components/{p-ce621bcc.js → p-249798d3.js} +1 -1
  254. package/dist/mint-components/p-25ebf256.system.js +1 -0
  255. package/dist/mint-components/{p-a9050eb0.entry.js → p-26383fdd.entry.js} +1 -1
  256. package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
  258. package/dist/mint-components/{p-674a64fe.system.js → p-2cb2401d.system.js} +1 -1
  259. package/dist/mint-components/{p-b4c52c5a.entry.js → p-2d688fe9.entry.js} +2 -2
  260. package/dist/mint-components/{p-22bb14d0.system.entry.js → p-34a6dea7.system.entry.js} +1 -1
  261. package/dist/mint-components/{p-86990110.entry.js → p-391b6274.entry.js} +1 -1
  262. package/dist/mint-components/{p-be4b748a.system.entry.js → p-3973cf23.system.entry.js} +1 -1
  263. package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
  264. package/dist/mint-components/p-3ee0a8af.entry.js +1 -0
  265. package/dist/mint-components/p-3f03a247.entry.js +13 -0
  266. package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
  267. package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
  268. package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
  269. package/dist/mint-components/{p-4edde470.entry.js → p-45f46e4c.entry.js} +1 -1
  270. package/dist/mint-components/{p-4ea58025.system.entry.js → p-48a72a05.system.entry.js} +1 -1
  271. package/dist/mint-components/{p-e5a0c50e.entry.js → p-4be053fb.entry.js} +2 -2
  272. package/dist/mint-components/{p-b6fc1227.system.entry.js → p-4c1b1914.system.entry.js} +1 -1
  273. package/dist/mint-components/{p-eba44835.system.entry.js → p-4ef2f4f6.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-ec41d6a4.entry.js → p-5073b8c9.entry.js} +6 -6
  275. package/dist/mint-components/{p-bb00db59.js → p-517bcc71.js} +1 -1
  276. package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-51dba12d.system.entry.js} +1 -1
  277. package/dist/mint-components/p-53e25b79.entry.js +1 -0
  278. package/dist/mint-components/{p-ce5afa40.entry.js → p-549139be.entry.js} +1 -1
  279. package/dist/mint-components/p-57f92fe0.entry.js +1 -0
  280. package/dist/mint-components/{p-afd366ae.system.entry.js → p-5922cd9e.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
  282. package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
  283. package/dist/mint-components/p-5dcd7fc9.system.entry.js +1 -0
  284. package/dist/mint-components/p-5fe660bb.system.entry.js +1 -0
  285. package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
  286. package/dist/mint-components/p-61e74000.system.entry.js +1 -0
  287. package/dist/mint-components/{p-28ece826.entry.js → p-62cdc746.entry.js} +1 -1
  288. package/dist/mint-components/{p-4d233cd4.js → p-65535cf7.js} +1 -1
  289. package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
  290. package/dist/mint-components/p-66aca488.entry.js +1 -0
  291. package/dist/mint-components/{p-8704937c.js → p-66c7b15c.js} +1 -1
  292. package/dist/mint-components/{p-4df8f1d2.system.js → p-66d9a540.system.js} +1 -1
  293. package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
  294. package/dist/mint-components/{p-1c857edb.entry.js → p-6dab9a17.entry.js} +2 -2
  295. package/dist/mint-components/p-6dec87e3.js +52 -0
  296. package/dist/mint-components/{p-3d4656bb.system.js → p-71e0ca2b.system.js} +1 -1
  297. package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
  298. package/dist/mint-components/{p-32d1d162.entry.js → p-752fd47b.entry.js} +1 -1
  299. package/dist/mint-components/{p-0d8c53ac.system.js → p-778b3774.system.js} +1 -1
  300. package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
  301. package/dist/mint-components/{p-3f385f47.entry.js → p-7d7084f0.entry.js} +9 -9
  302. package/dist/mint-components/p-7f43c280.system.entry.js +1 -0
  303. package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
  304. package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
  305. package/dist/mint-components/{p-e3735866.entry.js → p-87113437.entry.js} +2 -2
  306. package/dist/mint-components/p-8925f3c5.entry.js +1 -0
  307. package/dist/mint-components/{p-02424350.system.js → p-8b9408e5.system.js} +1 -1
  308. package/dist/mint-components/{p-a8f7cb95.js → p-8c765c81.js} +1 -1
  309. package/dist/mint-components/p-9041bce0.entry.js +13 -0
  310. package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-9a1a4d71.system.entry.js} +1 -1
  311. package/dist/mint-components/p-9ed09b3a.system.js +1 -0
  312. package/dist/mint-components/p-9ee50200.entry.js +1 -0
  313. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
  314. package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
  315. package/dist/mint-components/p-a13c83c5.entry.js +1 -0
  316. package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
  317. package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
  318. package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
  319. package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
  320. package/dist/mint-components/{p-9c310991.system.entry.js → p-af4cce6a.system.entry.js} +1 -1
  321. package/dist/mint-components/p-b08e9577.entry.js +1 -0
  322. package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
  323. package/dist/mint-components/p-b3aaeb2f.system.entry.js +1 -0
  324. package/dist/mint-components/p-b3d193e3.system.entry.js +1 -0
  325. package/dist/mint-components/{p-770368bc.system.js → p-b3f02315.system.js} +1 -1
  326. package/dist/mint-components/{p-4502ed11.system.entry.js → p-b4448aec.system.entry.js} +1 -1
  327. package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
  328. package/dist/mint-components/{p-44787d6e.system.js → p-b8230f83.system.js} +1 -1
  329. package/dist/mint-components/p-bab29c11.entry.js +9 -0
  330. package/dist/mint-components/p-bd1975cb.system.entry.js +1 -0
  331. package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
  332. package/dist/mint-components/{p-35d84041.system.entry.js → p-c134af86.system.entry.js} +1 -1
  333. package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
  334. package/dist/mint-components/{p-5b333fa8.system.entry.js → p-c3188365.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-8679ed9f.system.entry.js → p-c3b8765c.system.entry.js} +1 -1
  336. package/dist/mint-components/{p-10685090.js → p-c65f5d44.js} +23 -23
  337. package/dist/mint-components/{p-733825fa.system.entry.js → p-ca182259.system.entry.js} +1 -1
  338. package/dist/mint-components/{p-2dd67762.entry.js → p-cc1ffc0c.entry.js} +1 -1
  339. package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
  340. package/dist/mint-components/{p-c84659a3.system.js → p-d2abffc0.system.js} +1 -1
  341. package/dist/mint-components/p-d8d97ff5.js +1 -0
  342. package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
  343. package/dist/mint-components/{p-cf690d55.system.entry.js → p-e1e700b8.system.entry.js} +1 -1
  344. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-e3411b86.system.entry.js} +1 -1
  345. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
  346. package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
  347. package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
  348. package/dist/mint-components/{p-7f088154.entry.js → p-e909906f.entry.js} +1 -1
  349. package/dist/mint-components/{p-6cef104b.entry.js → p-e92f0fbb.entry.js} +1 -1
  350. package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
  351. package/dist/mint-components/{p-ed095674.system.js → p-ee474d4c.system.js} +1 -1
  352. package/dist/mint-components/{p-7731f793.system.entry.js → p-f246f7dd.system.entry.js} +1 -1
  353. package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
  354. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-f5c3a8cf.system.entry.js} +1 -1
  355. package/dist/mint-components/{p-b5861974.system.entry.js → p-f6712472.system.entry.js} +1 -1
  356. package/dist/mint-components/{p-59fe4ad1.system.js → p-f6c279d8.system.js} +1 -1
  357. package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
  358. package/dist/mint-components/{p-1dd69917.system.entry.js → p-f9680769.system.entry.js} +1 -1
  359. package/dist/mint-components/{p-3223ba7b.entry.js → p-f9b9be03.entry.js} +1 -1
  360. package/dist/mint-components/{p-eaada4da.js → p-fd04355d.js} +1 -1
  361. package/dist/mint-components/p-feace4a6.entry.js +1 -0
  362. package/dist/mint-components/{p-af062c8f.system.entry.js → p-fef83f2a.system.entry.js} +1 -1
  363. package/dist/mint-components/{p-aad11a68.entry.js → p-ffdb1310.entry.js} +1 -1
  364. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  365. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
  366. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
  367. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
  368. package/dist/types/components/sqm-pagination/usePagination.d.ts +15 -0
  369. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
  370. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
  371. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
  372. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
  373. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +9 -0
  374. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
  375. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
  376. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +41 -0
  377. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +51 -0
  378. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
  379. package/dist/types/components/views/copy-text-view.d.ts +3 -0
  380. package/dist/types/components.d.ts +217 -3
  381. package/dist/types/stories/Widget.stories.d.ts +6 -0
  382. package/docs/docs.docx +0 -0
  383. package/docs/raisins.json +1 -1
  384. package/grapesjs/grapesjs.js +1 -1
  385. package/package.json +1 -1
  386. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +0 -1
  387. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
  388. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
  389. package/dist/esm-es5/useChildElements-32e1bda1.js +0 -1
  390. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
  391. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  392. package/dist/mint-components/p-021a735d.entry.js +0 -1
  393. package/dist/mint-components/p-03494732.entry.js +0 -1
  394. package/dist/mint-components/p-07f675ab.system.entry.js +0 -1
  395. package/dist/mint-components/p-0a898ab1.js +0 -1
  396. package/dist/mint-components/p-0b9fa97f.js +0 -1
  397. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  398. package/dist/mint-components/p-137ea86e.entry.js +0 -1
  399. package/dist/mint-components/p-3ec16698.entry.js +0 -13
  400. package/dist/mint-components/p-51f517a2.js +0 -1
  401. package/dist/mint-components/p-58ef25d3.system.entry.js +0 -1
  402. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  403. package/dist/mint-components/p-5f1c4160.system.entry.js +0 -1
  404. package/dist/mint-components/p-61eab172.js +0 -1
  405. package/dist/mint-components/p-639d3dd3.entry.js +0 -1
  406. package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
  407. package/dist/mint-components/p-76b2506e.system.entry.js +0 -1
  408. package/dist/mint-components/p-79191f88.entry.js +0 -1
  409. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  410. package/dist/mint-components/p-8e907ac7.system.entry.js +0 -1
  411. package/dist/mint-components/p-91669312.entry.js +0 -1
  412. package/dist/mint-components/p-95771f79.system.js +0 -1
  413. package/dist/mint-components/p-9dcfa187.system.js +0 -1
  414. package/dist/mint-components/p-9df2fe24.entry.js +0 -9
  415. package/dist/mint-components/p-9f0629ba.system.entry.js +0 -1
  416. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  417. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  418. package/dist/mint-components/p-d495896f.system.entry.js +0 -1
  419. package/dist/mint-components/p-d49e2f7a.js +0 -1
  420. package/dist/mint-components/p-d8d2de11.entry.js +0 -1
  421. package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
  422. package/dist/mint-components/p-dd7ee007.system.js +0 -1
  423. package/dist/mint-components/p-ed17e637.system.js +0 -1
  424. package/dist/types/global/android.d.ts +0 -7
  425. package/dist/types/global/demo.d.ts +0 -2
  426. package/dist/types/stories/features.d.ts +0 -4
  427. package/dist/types/stories/templates.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- import { h } from './index-17b4da69.js';
1
+ import { h } from './index-014ddfa3.js';
2
2
 
3
3
  function LeaderboardRankView(props) {
4
4
  const { data } = props;
@@ -1,9 +1,9 @@
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 { i as intl } from './global-04c7d3b5.js';
4
- import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { i as intl } from './global-701bd5b0.js';
4
+ import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-5eb0926c.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
- import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
6
+ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-773a586f.js';
7
7
 
8
8
  const GET_RANK = dist.gql `
9
9
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
@@ -1,4 +1,4 @@
1
- import { h } from './index-17b4da69.js';
1
+ import { h } from './index-014ddfa3.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  const style = {
@@ -1,10 +1,10 @@
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 { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-def4aec5.js';
4
- import { c as cjs } from './cjs-bdfb4486.js';
5
- import './JSS-67b5cff8.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { d as dist, Q, y as yn, c as setUserIdentity, i as isDemo } from './index.module-5eb0926c.js';
6
4
  import { g as getProps } from './utils-334c1e34.js';
7
- import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
5
+ import './JSS-67b5cff8.js';
6
+ import { c as cjs } from './cjs-bdfb4486.js';
7
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-dfcd508a.js';
8
8
 
9
9
  const GET_USER_DETAILS = dist.gql `
10
10
  query getUserDetails {
@@ -1,7 +1,7 @@
1
- import { h } from './index-17b4da69.js';
2
- import { $ as $n } from './index.module-def4aec5.js';
3
- import { g as gap } from './mixins-f60a614c.js';
1
+ import { h } from './index-014ddfa3.js';
2
+ import { f as $n } from './index.module-5eb0926c.js';
4
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
+ import { g as gap } from './mixins-f60a614c.js';
5
5
 
6
6
  function NavigationSidebarItemView(props) {
7
7
  const { states, data } = props;
@@ -1,11 +1,11 @@
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 { S as Sn, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { S as Sn, i as isDemo } from './index.module-5eb0926c.js';
4
+ import { g as getProps } from './utils-334c1e34.js';
5
+ import './JSS-67b5cff8.js';
4
6
  import { c as cjs } from './cjs-bdfb4486.js';
5
7
  import './mixins-f60a614c.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-60ef06cc.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-9fa7f5ea.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
11
  const currentPage = Sn();
@@ -1,4 +1,4 @@
1
- import { h } from './index-17b4da69.js';
1
+ import { h } from './index-014ddfa3.js';
2
2
 
3
3
  const vanillaStyle = `
4
4
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
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-def4aec5.js';
4
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-576d7f01.js';
3
+ import { S as Sn, H } from './index.module-5eb0926c.js';
4
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-5f332ea1.js';
5
5
 
6
6
  const NavigationSidebar = class {
7
7
  constructor(hostRef) {
@@ -0,0 +1,385 @@
1
+ import { h, F as Fragment, r as registerInstance } from './index-014ddfa3.js';
2
+ import { n as h$1, k as useState } from './stencil-hooks.module-576d7f01.js';
3
+ import { i as intl } from './global-701bd5b0.js';
4
+ import { I as In, i as isDemo, d as dist, H, Q, y as yn, $ as $e, B } from './index.module-5eb0926c.js';
5
+ import { g as getProps } from './utils-334c1e34.js';
6
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
+ import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-32aad903.js';
8
+ import { c as cjs } from './cjs-bdfb4486.js';
9
+ import './mixins-f60a614c.js';
10
+
11
+ const style = {
12
+ Container: {
13
+ display: "flex",
14
+ justifyContent: "flex-end",
15
+ alignItems: "center",
16
+ gap: "var(--sl-spacing-small)",
17
+ width: "100%",
18
+ },
19
+ TextContainer: {
20
+ display: "flex",
21
+ gap: "var(--sl-spacing-xx-small)",
22
+ },
23
+ };
24
+ const sheet = createStyleSheet(style);
25
+ const styleString = sheet.toString();
26
+ function PaginationView(props) {
27
+ const { states, callbacks, text } = props;
28
+ const { onNext, onPrev } = callbacks;
29
+ const { currentPage, totalPages, loading } = states;
30
+ return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
31
+ h("style", { type: "text/css" }, styleString),
32
+ !loading && (h(Fragment, null,
33
+ h("sl-button", { onClick: onPrev, part: "sqm-pagination-button", circle: true, disabled: currentPage === 1 },
34
+ h("sl-icon", { name: "chevron-left", label: "Previous Page" })),
35
+ h("div", { class: sheet.classes.TextContainer }, text.paginationText))),
36
+ h("sl-button", { onClick: onNext, part: "sqm-pagination-button", circle: true, disabled: currentPage === totalPages },
37
+ h("sl-icon", { name: "chevron-right", label: "Previous Page" }))));
38
+ }
39
+
40
+ function usePagination(props) {
41
+ var _a;
42
+ const context = In(REFERRAL_CODES_PAGINATION_CONTEXT);
43
+ const currentPage = context.states.currentPage + 1;
44
+ const totalPages = (_a = context.states) === null || _a === void 0 ? void 0 : _a.pageCount;
45
+ return {
46
+ states: {
47
+ currentPage,
48
+ totalPages,
49
+ loading: context.states.loading,
50
+ },
51
+ callbacks: {
52
+ onNext: () => { var _a, _b; return (_a = context.callbacks) === null || _a === void 0 ? void 0 : _a.setCurrentPage(((_b = context.states) === null || _b === void 0 ? void 0 : _b.currentPage) + 1); },
53
+ onPrev: () => { var _a, _b; return (_a = context.callbacks) === null || _a === void 0 ? void 0 : _a.setCurrentPage(((_b = context.states) === null || _b === void 0 ? void 0 : _b.currentPage) - 1); },
54
+ },
55
+ text: {
56
+ paginationText: intl.formatMessage({
57
+ id: `paginationText`,
58
+ defaultMessage: props.paginationText,
59
+ }, {
60
+ currentPage,
61
+ totalPages,
62
+ }),
63
+ },
64
+ };
65
+ }
66
+
67
+ const Pagination = class {
68
+ constructor(hostRef) {
69
+ registerInstance(this, hostRef);
70
+ this.ignored = true;
71
+ /**
72
+ * @uiName Pagination text
73
+ */
74
+ this.paginationText = "{currentPage} of {totalPages}";
75
+ h$1(this);
76
+ }
77
+ disconnectedCallback() { }
78
+ render() {
79
+ const hookProps = isDemo()
80
+ ? useDemoPagination(getProps(this))
81
+ : usePagination(getProps(this));
82
+ return h(PaginationView, Object.assign({}, hookProps));
83
+ }
84
+ };
85
+ function useDemoPagination(props) {
86
+ const [currentPage, setCurrentPage] = useState(1);
87
+ return cjs({
88
+ states: {
89
+ currentPage,
90
+ totalPages: 5,
91
+ loading: false,
92
+ },
93
+ callbacks: {
94
+ onNext: () => setCurrentPage(currentPage + 1),
95
+ onPrev: () => setCurrentPage(currentPage - 1),
96
+ },
97
+ text: {
98
+ paginationText: intl.formatMessage({
99
+ id: `paginationText`,
100
+ defaultMessage: props.paginationText || "{currentPage} of {totalPages}",
101
+ }, {
102
+ currentPage: currentPage,
103
+ totalPages: 5,
104
+ }),
105
+ },
106
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
107
+ }
108
+
109
+ const MessageLinkQuery = dist.gql `
110
+ query getReferralCode($programId: ID) {
111
+ user: viewer {
112
+ ... on User {
113
+ referralCode(programId: $programId)
114
+ }
115
+ }
116
+ }
117
+ `;
118
+ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
119
+ mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
120
+ createUserAnalyticsEvent(eventMeta: $eventMeta)
121
+ }
122
+ `;
123
+ function useReferralCode(props) {
124
+ var _a, _b;
125
+ const { programId = H() } = props;
126
+ const user = Q();
127
+ const engagementMedium = B();
128
+ const contextData = In(REFERRAL_CODES_NAMESPACE);
129
+ const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || (contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) !== undefined);
130
+ const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
131
+ const [setCopied] = $e(SET_CODE_COPIED);
132
+ const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.referralCode) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode))) !== null && _b !== void 0 ? _b :
133
+ // Shown during loading
134
+ "...";
135
+ const [open, setOpen] = useState(false);
136
+ async function onClick() {
137
+ if (contextData) {
138
+ await setCopied({ referralCode: contextData.referralCode });
139
+ contextData.refresh();
140
+ }
141
+ // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
142
+ // Only if called from a user-initiated event
143
+ navigator.clipboard.writeText(copyString);
144
+ setOpen(true);
145
+ setTimeout(() => setOpen(false), props.tooltiplifespan);
146
+ sendLoadEvent({
147
+ eventMeta: {
148
+ programId,
149
+ id: user === null || user === void 0 ? void 0 : user.id,
150
+ accountId: user === null || user === void 0 ? void 0 : user.accountId,
151
+ type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
152
+ meta: {
153
+ engagementMedium,
154
+ shareMedium: "DIRECT",
155
+ },
156
+ },
157
+ });
158
+ }
159
+ return {
160
+ ...props,
161
+ onClick,
162
+ open,
163
+ copyString: copyString,
164
+ isCopied: contextData === null || contextData === void 0 ? void 0 : contextData.isCopied,
165
+ };
166
+ }
167
+
168
+ const ReferralCode = class {
169
+ constructor(hostRef) {
170
+ registerInstance(this, hostRef);
171
+ /**
172
+ * Shown inside a tooltip after someone has successfully copied the link to their clipboard
173
+ *
174
+ * @uiName Tooltip text
175
+ */
176
+ this.tooltiptext = "Copied to Clipboard";
177
+ /**
178
+ * Boolean used to show notification text below input
179
+ *
180
+ * @uiName Show notification text
181
+ */
182
+ this.showNotificationText = false;
183
+ /**
184
+ * Shown underneath the referral code when the user has already copied the code
185
+ *
186
+ * @uiName Notification text
187
+ */
188
+ this.notificationText = "You've copied this code before";
189
+ /**
190
+ * The number of milliseconds that the tooltip appears for
191
+ *
192
+ * @uiName Tooltip lifespan
193
+ */
194
+ this.tooltiplifespan = 1000;
195
+ /**
196
+ * Change the text alignment
197
+ *
198
+ * @uiName Referral code alignment
199
+ * @uiType string
200
+ * @uiEnum ["left", "center", "right"]
201
+ * @uiEnumNames ["Left", "Center", "Right"]
202
+ */
203
+ this.textAlign = "left";
204
+ /**
205
+ * @uiName Copy button label
206
+ */
207
+ this.copyButtonLabel = "Copy Code";
208
+ /**
209
+ * Set the copy button style and placement
210
+ *
211
+ * @uiName Style
212
+ * @uiType string
213
+ * @uiEnum ["icon", "button-outside", "button-below"]
214
+ * @uiEnumNames ["Icon", "Button outside", "Button below"]
215
+ */
216
+ this.buttonStyle = "icon";
217
+ h$1(this);
218
+ }
219
+ disconnectedCallback() { }
220
+ render() {
221
+ const thisProps = getProps(this);
222
+ const props = isDemo()
223
+ ? useDemoReferralCode(thisProps)
224
+ : useReferralCode(thisProps);
225
+ return h(CopyTextView, Object.assign({}, props));
226
+ }
227
+ };
228
+ function useDemoReferralCode(props) {
229
+ const [open, setOpen] = useState(false);
230
+ const copyString = "REFERRALCODE001";
231
+ return cjs({
232
+ copyString: copyString,
233
+ tooltiptext: props.tooltiptext,
234
+ textAlign: props.textAlign,
235
+ copyButtonLabel: props.copyButtonLabel,
236
+ buttonStyle: props.buttonStyle,
237
+ notificationText: props.notificationText,
238
+ showNotificationText: props.showNotificationText,
239
+ isCopied: props.showNotificationText,
240
+ isUsed: false,
241
+ rewardStatus: "AVAILABLE",
242
+ open,
243
+ onClick: () => {
244
+ // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
245
+ // Only if called from a user-initiated event
246
+ navigator.clipboard.writeText(copyString);
247
+ setOpen(true);
248
+ setTimeout(() => setOpen(false), props.tooltiplifespan);
249
+ },
250
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
251
+ }
252
+
253
+ const style$1 = {
254
+ Wrapper: {
255
+ width: "100%",
256
+ display: "flex",
257
+ alignItems: "flex-start",
258
+ justifyContent: "center",
259
+ flexDirection: "column",
260
+ gap: "var(--sl-spacing-large)",
261
+ },
262
+ HeaderContainer: {
263
+ display: "flex",
264
+ alignItems: "center",
265
+ justifyContent: "space-between",
266
+ width: "100%",
267
+ },
268
+ ShareCodeContainer: {
269
+ width: "100%",
270
+ display: "flex",
271
+ alignItems: "flex-start",
272
+ justifyContent: "center",
273
+ flexDirection: "column",
274
+ },
275
+ ShareButtonContainer: {
276
+ width: "100%",
277
+ display: "flex",
278
+ alignItems: "flex-start",
279
+ justifyContent: "center",
280
+ flexDirection: "column",
281
+ },
282
+ TitleText: {
283
+ color: "var(--sl-color-neutral-700)",
284
+ fontSize: "var(--sl-font-size-large)",
285
+ margin: "0",
286
+ },
287
+ };
288
+ const vanillaStyle = `
289
+ :host {
290
+ display: block;
291
+ }
292
+ :host([hidden]): {
293
+ display: none;
294
+ }
295
+ `;
296
+ const sheet$1 = createStyleSheet(style$1);
297
+ const styleString$1 = sheet$1.toString();
298
+ function ReferralCodesView(props) {
299
+ const { slots, titleText, states } = props;
300
+ const getSlotContent = (states) => {
301
+ if (states.noCodes) {
302
+ return slots.empty;
303
+ }
304
+ if (states.loading) {
305
+ return slots.loading;
306
+ }
307
+ return (h("div", { class: sheet$1.classes.Wrapper },
308
+ h("div", { class: sheet$1.classes.ShareCodeContainer }, slots.shareCodes),
309
+ h("div", { class: sheet$1.classes.ShareButtonContainer }, slots.shareButtons)));
310
+ };
311
+ return (h("div", { class: sheet$1.classes.Wrapper, part: "sqm-base" },
312
+ h("style", { type: "text/css" },
313
+ vanillaStyle,
314
+ styleString$1),
315
+ h("div", { class: sheet$1.classes.HeaderContainer },
316
+ h("h2", { class: sheet$1.classes.TitleText }, titleText),
317
+ !states.noCodes && !states.loading && slots.pagination),
318
+ getSlotContent(states)));
319
+ }
320
+
321
+ const ReferralCodes = class {
322
+ constructor(hostRef) {
323
+ registerInstance(this, hostRef);
324
+ /**
325
+ * @uiName Title Text
326
+ */
327
+ this.titleText = "Start sharing";
328
+ /**
329
+ * @uiName Empty State Header Text
330
+ */
331
+ this.emptyStateHeaderText = "Your new codes and links aren’t ready yet";
332
+ /**
333
+ * @uiName Empty State Description Text
334
+ */
335
+ this.emptyStateDescriptionText = "Please contact our program support team to let them know you’re out of codes.";
336
+ /**
337
+ * @uiName Empty State Image URL
338
+ * @format url
339
+ * @uiWidget ImageUpload
340
+ */
341
+ this.emptyStateImageUrl = "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";
342
+ h$1(this);
343
+ }
344
+ disconnectedCallback() { }
345
+ render() {
346
+ const thisProps = getProps(this);
347
+ const props = isDemo()
348
+ ? useDemoReferralCodes(thisProps)
349
+ : useReferralCodes(thisProps);
350
+ const slots = {
351
+ shareButtons: h("slot", { name: "shareButtons" }),
352
+ shareCodes: h("slot", { name: "shareCodes" }),
353
+ pagination: h("slot", { name: "pagination" }),
354
+ empty: (h(EmptySlot, { headerText: this.emptyStateHeaderText, descriptionText: this.emptyStateDescriptionText, imageUrl: this.emptyStateImageUrl })),
355
+ loading: h(LoadingSlot, null),
356
+ };
357
+ const viewProps = {
358
+ slots,
359
+ ...props,
360
+ loading: props.states.loading,
361
+ noCodes: props.states.noCodes,
362
+ };
363
+ return h(ReferralCodesView, Object.assign({}, viewProps));
364
+ }
365
+ };
366
+ function EmptySlot({ headerText, descriptionText, imageUrl, }) {
367
+ return (h("slot", { name: "empty" }, h("sqm-empty", { emptyStateHeader: headerText, emptyStateText: descriptionText, emptyStateImage: imageUrl })));
368
+ }
369
+ function LoadingSlot() {
370
+ return (h("slot", { name: "loading" }, h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null)));
371
+ }
372
+ function LoadingRow() {
373
+ return h("sl-skeleton", { style: { width: "100%" } });
374
+ }
375
+ function useDemoReferralCodes(props) {
376
+ return cjs({
377
+ titleText: props.titleText,
378
+ states: {
379
+ noCodes: false,
380
+ loading: false,
381
+ },
382
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
383
+ }
384
+
385
+ export { Pagination as sqm_pagination, ReferralCode as sqm_referral_code, ReferralCodes as sqm_referral_codes };
@@ -1,11 +1,11 @@
1
- import { h, r as registerInstance } from './index-17b4da69.js';
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-def4aec5.js';
1
+ import { h, r as registerInstance } from './index-014ddfa3.js';
2
+ import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
+ import { i as isDemo } from './index.module-5eb0926c.js';
4
+ import { g as getProps } from './utils-334c1e34.js';
5
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
6
  import { c as cjs } from './cjs-bdfb4486.js';
5
7
  import { E as ErrorStyles } from './mixins-f60a614c.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-9fc1ac80.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-faea9402.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,6 +1,6 @@
1
- import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { B } from './index.module-def4aec5.js';
1
+ import { h, c as Host, r as registerInstance } from './index-014ddfa3.js';
2
+ import { n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
+ import { B } from './index.module-5eb0926c.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -1,4 +1,4 @@
1
- import { h } from './index-17b4da69.js';
1
+ import { h } from './index-014ddfa3.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  function PortalSectionView(props) {
@@ -1,8 +1,8 @@
1
- import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-04c7d3b5.js';
3
- import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
1
+ import { h } from './index-014ddfa3.js';
2
+ import { i as intl } from './global-701bd5b0.js';
4
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
- import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
4
+ import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
5
+ import { T as TextSpanView } from './sqm-text-span-view-d6e03f93.js';
6
6
 
7
7
  const style = {
8
8
  Wrapper: AuthWrapper,
@@ -1,12 +1,12 @@
1
- import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import './global-04c7d3b5.js';
4
- import { l as ln, n as nn, Q, $ as $n, u as useCallback, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import './global-701bd5b0.js';
4
+ import { l as ln, n as nn, Q, f as $n, u as useCallback, i as isDemo } from './index.module-5eb0926c.js';
5
+ import './JSS-67b5cff8.js';
5
6
  import { c as cjs } from './cjs-bdfb4486.js';
6
7
  import './mixins-f60a614c.js';
7
- import './JSS-67b5cff8.js';
8
- import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4307c992.js';
8
+ import './sqm-text-span-view-d6e03f93.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-332e1339.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -1,7 +1,7 @@
1
- import { h } from './index-17b4da69.js';
2
- import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
1
+ import { h } from './index-014ddfa3.js';
3
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
3
+ import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-d6e03f93.js';
5
5
 
6
6
  const style = {
7
7
  Wrapper: AuthWrapper,
@@ -1,12 +1,12 @@
1
- import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { e as un, $ as $n, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { k as useState, n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { h as un, f as $n, i as isDemo } from './index.module-5eb0926c.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
+ import './JSS-67b5cff8.js';
5
6
  import { c as cjs } from './cjs-bdfb4486.js';
6
7
  import './mixins-f60a614c.js';
7
- import './JSS-67b5cff8.js';
8
- import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
8
+ import './sqm-text-span-view-d6e03f93.js';
9
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-8629f753.js';
10
10
 
11
11
  function usePortalForgotPassword(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g;
@@ -1,6 +1,6 @@
1
- import { r as registerInstance } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { b as setUserIdentity, $ as $n, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance } from './index-014ddfa3.js';
2
+ import { n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { c as setUserIdentity, f as $n, i as isDemo } from './index.module-5eb0926c.js';
4
4
 
5
5
  function usePortalLogout({ nextPage }) {
6
6
  setUserIdentity(undefined);
@@ -1,7 +1,7 @@
1
- import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-04c7d3b5.js';
1
+ import { h } from './index-014ddfa3.js';
2
+ import { i as intl } from './global-701bd5b0.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-d6e03f93.js';
5
5
 
6
6
  function PortalProfileView(props) {
7
7
  var _a, _b, _c, _d, _e;
@@ -1,13 +1,13 @@
1
- import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import './global-04c7d3b5.js';
4
- import { d as dist, Q, y as yn, f as $e, i as isDemo } from './index.module-def4aec5.js';
5
- import { c as cjs } from './cjs-bdfb4486.js';
6
- import './JSS-67b5cff8.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import './global-701bd5b0.js';
4
+ import { d as dist, Q, y as yn, $ as $e, i as isDemo } from './index.module-5eb0926c.js';
7
5
  import { g as getProps } from './utils-334c1e34.js';
8
- import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-ffe955c8.js';
10
- import { i as isEmpty } from './utilities-3f5bba22.js';
6
+ import './JSS-67b5cff8.js';
7
+ import { c as cjs } from './cjs-bdfb4486.js';
8
+ import './sqm-text-span-view-d6e03f93.js';
9
+ import { P as PortalProfileView } from './sqm-portal-profile-view-847526a2.js';
10
+ import { i as isEmpty } from './utilities-292b61b9.js';
11
11
 
12
12
  const GET_USER = dist.gql `
13
13
  query {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { Q, S as Sn, $ as $n, i as isDemo } from './index.module-def4aec5.js';
1
+ import { r as registerInstance, h as h$1, c as Host } from './index-014ddfa3.js';
2
+ import { f as useEffect, n as h } from './stencil-hooks.module-576d7f01.js';
3
+ import { Q, S as Sn, f as $n, i as isDemo } from './index.module-5eb0926c.js';
4
4
 
5
5
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
6
6
  var _a;