@saasquatch/mint-components 1.11.1-8 → 1.11.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 (419) hide show
  1. package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-bb2fcd95.js} +1 -1
  2. package/dist/cjs/{ShadowViewAddon-d2b1e28a.js → ShadowViewAddon-a7926766.js} +29 -21
  3. package/dist/cjs/{copy-text-view-94e76d0a.js → copy-text-view-b70b5e73.js} +52 -40
  4. package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-54cedb43.js} +1 -1
  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 +11 -11
  17. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +14 -14
  18. package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-6a709e00.js} +1 -1
  19. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  20. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-empty_4.cjs.entry.js +10 -6
  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 +5 -5
  31. package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-010a81c7.js} +2 -2
  32. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  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 +110 -45
  36. package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
  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-bff9783d.js → sqm-portal-email-verification-view-f8980d11.js} +3 -3
  40. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
  41. package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-24339191.js} +2 -2
  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 +8 -8
  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-34771d2c.js → sqm-portal-reset-password-view-1b85b8cf.js} +2 -2
  49. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  50. package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-cc3c87c3.js} +2 -2
  51. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  52. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -12
  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 +11 -11
  57. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  58. package/dist/cjs/sqm-stencilbook.cjs.entry.js +69 -29
  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 +2 -2
  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/sqm-pagination-view.js +10 -8
  74. package/dist/collection/components/sqm-pagination/sqm-pagination.js +50 -24
  75. package/dist/collection/components/sqm-pagination/usePagination.js +23 -2
  76. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
  77. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +8 -6
  78. package/dist/collection/components/sqm-referral-code/useReferralCode.js +14 -6
  79. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +30 -0
  80. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +14 -4
  81. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +121 -7
  82. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +47 -36
  83. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
  84. package/dist/collection/components/sqm-share-button/useShareButton.js +15 -8
  85. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  86. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  87. package/dist/collection/components/sqm-share-link/useShareLink.js +5 -4
  88. package/dist/collection/components/views/copy-text-view.js +4 -3
  89. package/dist/collection/stories/Widget.stories.js +5 -0
  90. package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
  91. package/dist/esm/{ShadowViewAddon-76b1137d.js → ShadowViewAddon-43305632.js} +29 -21
  92. package/dist/esm/{copy-text-view-2ba105b6.js → copy-text-view-e66261c5.js} +52 -40
  93. package/dist/esm/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
  94. package/dist/esm/{global-b89b6edc.js → global-701bd5b0.js} +2 -2
  95. package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
  96. package/dist/esm/{index.module-f122af7b.js → index.module-5eb0926c.js} +2 -2
  97. package/dist/esm/loader.js +5 -5
  98. package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  99. package/dist/esm/mint-components.js +5 -5
  100. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  101. package/dist/esm/raisins-plop-target.entry.js +1 -1
  102. package/dist/esm/{re-render-c64289f3.js → re-render-b31d83d7.js} +2 -2
  103. package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  104. package/dist/esm/sqm-asset-card.entry.js +5 -5
  105. package/dist/esm/sqm-banking-info-form_16.entry.js +11 -11
  106. package/dist/esm/sqm-big-stat_38.entry.js +14 -14
  107. package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
  108. package/dist/esm/sqm-close-button.entry.js +4 -4
  109. package/dist/esm/sqm-context-router.entry.js +3 -3
  110. package/dist/esm/sqm-empty_4.entry.js +10 -6
  111. package/dist/esm/sqm-form-message.entry.js +2 -2
  112. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  113. package/dist/esm/sqm-header-logo.entry.js +2 -2
  114. package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
  115. package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +2 -2
  116. package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
  117. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  118. package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  119. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  120. package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +2 -2
  121. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
  122. package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  123. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  124. package/dist/esm/sqm-pagination_3.entry.js +110 -45
  125. package/dist/esm/sqm-password-field.entry.js +5 -5
  126. package/dist/esm/sqm-popup-container.entry.js +3 -3
  127. package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  128. package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +3 -3
  129. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  130. package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.js} +2 -2
  131. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  132. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  133. package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +3 -3
  134. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  135. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  136. package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
  137. package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +2 -2
  138. package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
  139. package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +2 -2
  140. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  141. package/dist/esm/sqm-referral-table_11.entry.js +14 -12
  142. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  143. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  144. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  145. package/dist/esm/sqm-rewards-table_9.entry.js +11 -11
  146. package/dist/esm/sqm-route.entry.js +1 -1
  147. package/dist/esm/sqm-stencilbook.entry.js +69 -29
  148. package/dist/esm/sqm-tab.entry.js +4 -4
  149. package/dist/esm/sqm-tabs.entry.js +5 -5
  150. package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  151. package/dist/esm/sqm-text-span.entry.js +3 -3
  152. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  153. package/dist/esm/{useChildElements-37daf533.js → useChildElements-ebcfbc19.js} +2 -2
  154. package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-7b2ea2bd.js} +3 -3
  155. package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +5 -5
  156. package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-faea9402.js} +2 -2
  157. package/dist/esm/{utilities-18d10876.js → utilities-292b61b9.js} +2 -2
  158. package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
  159. package/dist/esm-es5/ShadowViewAddon-43305632.js +1 -0
  160. package/dist/esm-es5/copy-text-view-e66261c5.js +1 -0
  161. package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
  162. package/dist/esm-es5/{global-b89b6edc.js → global-701bd5b0.js} +1 -1
  163. package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
  164. package/dist/esm-es5/{index.module-f122af7b.js → index.module-5eb0926c.js} +1 -1
  165. package/dist/esm-es5/loader.js +1 -1
  166. package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  167. package/dist/esm-es5/mint-components.js +1 -1
  168. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  169. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  170. package/dist/esm-es5/{re-render-c64289f3.js → re-render-b31d83d7.js} +1 -1
  171. package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  172. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  173. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  174. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  175. package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
  176. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  177. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  178. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  179. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  180. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  181. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  182. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  183. package/dist/esm-es5/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +1 -1
  184. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
  185. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  187. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  188. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +1 -1
  189. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  190. package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  191. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  192. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  193. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  194. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  195. package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  196. package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +1 -1
  197. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
  199. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  200. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  201. package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +1 -1
  202. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  203. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  204. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  205. package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +1 -1
  206. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  207. package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
  208. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  209. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  210. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  211. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  212. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  213. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  214. package/dist/esm-es5/sqm-route.entry.js +1 -1
  215. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  216. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  217. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  218. package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  219. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  220. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  221. package/dist/esm-es5/useChildElements-ebcfbc19.js +1 -0
  222. package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +1 -0
  223. package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +1 -1
  224. package/dist/esm-es5/useRegistrationFormState-faea9402.js +1 -0
  225. package/dist/esm-es5/{utilities-18d10876.js → utilities-292b61b9.js} +1 -1
  226. package/dist/mint-components/mint-components.esm.js +1 -1
  227. package/dist/mint-components/mint-components.js +1 -1
  228. package/dist/mint-components/{p-246a2827.entry.js → p-00105748.entry.js} +2 -2
  229. package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
  230. package/dist/mint-components/p-03e2a88c.js +1 -0
  231. package/dist/mint-components/p-062051ad.entry.js +1 -0
  232. package/dist/mint-components/{p-18a19cb5.system.js → p-06b8a582.system.js} +1 -1
  233. package/dist/mint-components/p-0a26adee.js +1 -0
  234. package/dist/mint-components/{p-523ed056.system.js → p-0dc18b5c.system.js} +1 -1
  235. package/dist/mint-components/p-0ebd104c.js +1 -0
  236. package/dist/mint-components/{p-8077e9c6.js → p-134424df.js} +1 -1
  237. package/dist/mint-components/p-146c2a0e.js +1 -0
  238. package/dist/mint-components/{p-c7ce2c1e.system.js → p-16b9efe1.system.js} +1 -1
  239. package/dist/mint-components/{p-991c9787.js → p-195e306e.js} +2 -2
  240. package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
  241. package/dist/mint-components/p-1a5f4a13.system.entry.js +1 -0
  242. package/dist/mint-components/{p-c3dc5a23.js → p-1cd93999.js} +4 -4
  243. package/dist/mint-components/{p-bb6f6681.system.js → p-1e03d640.system.js} +1 -1
  244. package/dist/mint-components/{p-a1150633.system.entry.js → p-1e1c87a2.system.entry.js} +1 -1
  245. package/dist/mint-components/{p-1099290c.system.js → p-1e68fa26.system.js} +1 -1
  246. package/dist/mint-components/{p-5c845bc2.system.entry.js → p-1e8bafbc.system.entry.js} +1 -1
  247. package/dist/mint-components/p-20c6c73e.entry.js +1 -0
  248. package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
  249. package/dist/mint-components/{p-48b7d703.entry.js → p-23bc62d8.entry.js} +6 -6
  250. package/dist/mint-components/p-2478ab2e.js +1 -0
  251. package/dist/mint-components/{p-3373d84e.js → p-249798d3.js} +1 -1
  252. package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-25720e4b.system.entry.js} +1 -1
  253. package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
  255. package/dist/mint-components/{p-9deac406.system.js → p-2cb2401d.system.js} +1 -1
  256. package/dist/mint-components/p-367b6513.entry.js +1 -0
  257. package/dist/mint-components/{p-96cb9c17.entry.js → p-391b6274.entry.js} +1 -1
  258. package/dist/mint-components/{p-942d1c22.entry.js → p-3c62ed18.entry.js} +2 -2
  259. package/dist/mint-components/{p-59c141a2.system.js → p-3c6bc373.system.js} +1 -1
  260. package/dist/mint-components/p-3ee0a8af.entry.js +1 -0
  261. package/dist/mint-components/{p-1c6e4a5f.entry.js → p-3f03a247.entry.js} +2 -2
  262. package/dist/mint-components/{p-855ae1b5.js → p-42390bcc.js} +1 -1
  263. package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
  264. package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
  265. package/dist/mint-components/{p-798ed3a2.entry.js → p-45f46e4c.entry.js} +1 -1
  266. package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-46aaa8b9.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-daba8cd2.system.entry.js → p-48a72a05.system.entry.js} +1 -1
  268. package/dist/mint-components/p-4c5c84f5.js +52 -0
  269. package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-4ef2f4f6.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-a182b053.entry.js → p-4f467838.entry.js} +9 -9
  271. package/dist/mint-components/{p-ea88142c.js → p-517bcc71.js} +1 -1
  272. package/dist/mint-components/p-53e25b79.entry.js +1 -0
  273. package/dist/mint-components/p-549139be.entry.js +1 -0
  274. package/dist/mint-components/{p-9288cca6.system.entry.js → p-566dc091.system.entry.js} +1 -1
  275. package/dist/mint-components/p-57f92fe0.entry.js +1 -0
  276. package/dist/mint-components/{p-de2a8fae.system.entry.js → p-5922cd9e.system.entry.js} +1 -1
  277. package/dist/mint-components/{p-32cf8417.js → p-59e310c8.js} +1 -1
  278. package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
  279. package/dist/mint-components/p-5fe660bb.system.entry.js +1 -0
  280. package/dist/mint-components/{p-f52c3aec.system.entry.js → p-607b75ef.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
  282. package/dist/mint-components/{p-fae82751.entry.js → p-63f2aad0.entry.js} +1 -1
  283. package/dist/mint-components/{p-e41cb11f.js → p-65535cf7.js} +1 -1
  284. package/dist/mint-components/{p-0806343b.js → p-6568392b.js} +1 -1
  285. package/dist/mint-components/p-66aca488.entry.js +1 -0
  286. package/dist/mint-components/{p-9c3d78e9.js → p-66c7b15c.js} +1 -1
  287. package/dist/mint-components/{p-f44d88fa.system.js → p-66d9a540.system.js} +1 -1
  288. package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
  289. package/dist/mint-components/{p-3cc5474d.entry.js → p-6dadd556.entry.js} +1 -1
  290. package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-707884d9.system.entry.js} +1 -1
  291. package/dist/mint-components/{p-0f028514.system.js → p-71e0ca2b.system.js} +1 -1
  292. package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
  293. package/dist/mint-components/{p-55588b46.system.js → p-778b3774.system.js} +1 -1
  294. package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
  295. package/dist/mint-components/{p-ecefeaa9.system.entry.js → p-7d8b3d62.system.entry.js} +1 -1
  296. package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
  297. package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
  298. package/dist/mint-components/{p-21d4f6ce.system.js → p-8b9408e5.system.js} +1 -1
  299. package/dist/mint-components/{p-1c710e16.entry.js → p-8b97c4f8.entry.js} +1 -1
  300. package/dist/mint-components/{p-6e62f207.entry.js → p-8c1e39ea.entry.js} +1 -1
  301. package/dist/mint-components/{p-00be5090.js → p-8c765c81.js} +1 -1
  302. package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-8d9ff497.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-14dac608.system.entry.js → p-902a70fb.system.entry.js} +1 -1
  304. package/dist/mint-components/{p-1b1d10e5.entry.js → p-9114b10e.entry.js} +1 -1
  305. package/dist/mint-components/p-9a4a5702.entry.js +11 -0
  306. package/dist/mint-components/p-9be2c9a1.system.entry.js +1 -0
  307. package/dist/mint-components/p-9ed09b3a.system.js +1 -0
  308. package/dist/mint-components/p-9ee50200.entry.js +1 -0
  309. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-03a647c2.system.js → p-9fc73ff8.system.js} +1 -1
  311. package/dist/mint-components/p-a13c83c5.entry.js +1 -0
  312. package/dist/mint-components/{p-b334bde8.entry.js → p-a1c4b92d.entry.js} +2 -2
  313. package/dist/mint-components/{p-ce746af8.system.js → p-a2aed0da.system.js} +1 -1
  314. package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
  315. package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
  316. package/dist/mint-components/{p-02f6cda4.js → p-a9ff5495.js} +1 -1
  317. package/dist/mint-components/{p-acc93caa.system.entry.js → p-af4cce6a.system.entry.js} +1 -1
  318. package/dist/mint-components/p-b08e9577.entry.js +1 -0
  319. package/dist/mint-components/{p-55a421bb.system.entry.js → p-b1f4cbc7.system.entry.js} +1 -1
  320. package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
  321. package/dist/mint-components/p-b3aaeb2f.system.entry.js +1 -0
  322. package/dist/mint-components/p-b3d193e3.system.entry.js +1 -0
  323. package/dist/mint-components/{p-6e7e8af6.system.js → p-b3f02315.system.js} +1 -1
  324. package/dist/mint-components/{p-67846dce.system.entry.js → p-b4448aec.system.entry.js} +1 -1
  325. package/dist/mint-components/{p-cfbe2f86.entry.js → p-b6a7b4cf.entry.js} +1 -1
  326. package/dist/mint-components/{p-ed161025.js → p-b7705066.js} +1 -1
  327. package/dist/mint-components/{p-43a990b6.system.js → p-b8230f83.system.js} +1 -1
  328. package/dist/mint-components/p-ba734685.system.entry.js +1 -0
  329. package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
  330. package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
  331. package/dist/mint-components/p-c2d49e51.entry.js +13 -0
  332. package/dist/mint-components/p-c33c3b47.system.js +1 -0
  333. package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-c721e692.system.entry.js} +1 -1
  334. package/dist/mint-components/{p-22de9f73.system.entry.js → p-cd2f57bb.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
  336. package/dist/mint-components/{p-73decce7.system.js → p-d2abffc0.system.js} +1 -1
  337. package/dist/mint-components/p-d8d97ff5.js +1 -0
  338. package/dist/mint-components/p-d9a55dc5.entry.js +9 -0
  339. package/dist/mint-components/p-dbf3a976.entry.js +1 -0
  340. package/dist/mint-components/p-df6642a2.system.entry.js +1 -0
  341. package/dist/mint-components/p-e029c250.entry.js +1 -0
  342. package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
  343. package/dist/mint-components/p-e14d1312.system.js +1 -0
  344. package/dist/mint-components/{p-82e09b8d.system.entry.js → p-e1e700b8.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-41499327.entry.js → p-ecad6d86.entry.js} +1 -1
  349. package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
  350. package/dist/mint-components/{p-bf834367.system.js → p-ee474d4c.system.js} +1 -1
  351. package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
  352. package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-f3978cec.system.entry.js} +1 -1
  353. package/dist/mint-components/{p-a474b0ec.system.entry.js → p-f6712472.system.entry.js} +1 -1
  354. package/dist/mint-components/{p-46ca288c.system.js → p-f6c279d8.system.js} +1 -1
  355. package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
  356. package/dist/mint-components/{p-d3d281ff.entry.js → p-f9b9be03.entry.js} +1 -1
  357. package/dist/mint-components/{p-1df19ea2.js → p-fd04355d.js} +1 -1
  358. package/dist/mint-components/{p-ff41c804.system.entry.js → p-fe516032.system.entry.js} +1 -1
  359. package/dist/mint-components/p-feace4a6.entry.js +1 -0
  360. package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-fef83f2a.system.entry.js} +1 -1
  361. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  362. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +12 -4
  363. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +6 -1
  364. package/dist/types/components/sqm-pagination/usePagination.d.ts +10 -9
  365. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
  366. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +3 -3
  367. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +2 -8
  368. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +3 -0
  369. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +6 -2
  370. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +20 -2
  371. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +9 -5
  372. package/dist/types/components/views/copy-text-view.d.ts +1 -0
  373. package/dist/types/components.d.ts +50 -9
  374. package/dist/types/stories/Widget.stories.d.ts +6 -0
  375. package/docs/docs.docx +0 -0
  376. package/docs/raisins.json +1 -1
  377. package/grapesjs/grapesjs.js +1 -1
  378. package/package.json +1 -1
  379. package/dist/esm-es5/ShadowViewAddon-76b1137d.js +0 -1
  380. package/dist/esm-es5/copy-text-view-2ba105b6.js +0 -1
  381. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
  382. package/dist/esm-es5/useChildElements-37daf533.js +0 -1
  383. package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
  384. package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
  385. package/dist/mint-components/p-01434e4a.entry.js +0 -1
  386. package/dist/mint-components/p-09e30e46.entry.js +0 -13
  387. package/dist/mint-components/p-0a898ab1.js +0 -1
  388. package/dist/mint-components/p-110dddfe.entry.js +0 -1
  389. package/dist/mint-components/p-12c56ba6.entry.js +0 -1
  390. package/dist/mint-components/p-15dee492.js +0 -1
  391. package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
  392. package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
  393. package/dist/mint-components/p-2e16db11.entry.js +0 -1
  394. package/dist/mint-components/p-476182e7.system.entry.js +0 -1
  395. package/dist/mint-components/p-494e407e.entry.js +0 -1
  396. package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
  397. package/dist/mint-components/p-5d37482d.entry.js +0 -1
  398. package/dist/mint-components/p-5fc8d87c.system.js +0 -1
  399. package/dist/mint-components/p-639d3dd3.entry.js +0 -1
  400. package/dist/mint-components/p-6b0e6a6c.js +0 -1
  401. package/dist/mint-components/p-7356f9c9.system.js +0 -1
  402. package/dist/mint-components/p-7962ab58.system.entry.js +0 -1
  403. package/dist/mint-components/p-89a760ea.js +0 -1
  404. package/dist/mint-components/p-89fc3144.entry.js +0 -9
  405. package/dist/mint-components/p-8f33fa36.system.entry.js +0 -1
  406. package/dist/mint-components/p-9dcfa187.system.js +0 -1
  407. package/dist/mint-components/p-a0b1ecf2.system.entry.js +0 -1
  408. package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
  409. package/dist/mint-components/p-b5176703.entry.js +0 -1
  410. package/dist/mint-components/p-bd4e9c2b.js +0 -1
  411. package/dist/mint-components/p-c1ba2ad0.system.entry.js +0 -1
  412. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  413. package/dist/mint-components/p-ca17d998.entry.js +0 -1
  414. package/dist/mint-components/p-d666b326.js +0 -1
  415. package/dist/mint-components/p-dc41ff27.entry.js +0 -1
  416. package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
  417. package/dist/mint-components/p-e983c342.js +0 -48
  418. package/dist/mint-components/p-f1ec1180.entry.js +0 -1
  419. package/dist/mint-components/p-f6b820fd.system.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-1a673057.system.js","./p-4f775e84.system.js"],(function(t){"use strict";var n,e,s,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.n},function(){},function(t){o=t.T}],execute:function(){var i=t("sqm_text_span",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e(o,{type:this.type},this.text)};return t}())}}}));
1
+ System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1a673057.system.js","./p-2be11651.system.js"],(function(t){"use strict";var n,e,s,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.n},function(){},function(t){o=t.T}],execute:function(){var i=t("sqm_text_span",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e(o,{type:this.type},this.text)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,h as o,c as n}from"./p-64c3217a.js";import{b as r,k as e,i as s,f as a,n as i}from"./p-fd2c5407.js";import{_ as d}from"./p-00be5090.js";import{g as l}from"./p-9ec99ced.js";import{p as c}from"./p-8d363802.js";const u=r("sq:useRouter");function p(t,o){if(t)return c(t).exec(o)}const v=class{constructor(o){t(this,o),this.ignored=!0,i(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(t){const o=d(),[n,r]=e(void 0),[i,l]=e(void 0),c=s(t.contextName);return a((()=>{const t=o.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const o=document.createElement("template");o.setAttribute("path",t.path),o.innerHTML=t.innerHTML,t.parentNode.appendChild(o),t.parentNode.removeChild(t)}))}),[]),a((()=>{var t,o;if(!i||!n)return void u("DOM not ready for navigation rendering on:",c);const r=n.querySelectorAll("template"),e=Array.from(r).find((t=>{var o,n,r;if(null===(r=p(null===(n=null===(o=t.attributes)||void 0===o?void 0:o.path)||void 0===n?void 0:n.nodeValue,c))||void 0===r?void 0:r.length)return t})),s=null===(o=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.path)||void 0===o?void 0:o.nodeValue;if(u({containerDatasetPage:i.dataset.page,templatePath:s,page:c}),!e)return u("No matching page found for ",c,", so render nothing"),i.innerHTML="",void(i.dataset.page=c);u("Page updated to ",c,e),p(s,i.dataset.page)?u("don't rerender"):e&&(i.innerHTML=e.innerHTML,i.dataset.page=c)}),[n,i,c]),{callbacks:{setSlot:r,setContainer:l}}}(l(this));return o(n,null,o("div",{ref:t.setSlot,style:{display:"none"}},o("slot",null)),o("div",{style:{display:"contents"},ref:t.setContainer}))}};v.style="sqm-router{display:contents}";export{v as sqm_context_router}
1
+ import{r as t,h as o,c as n}from"./p-61d5f26e.js";import{b as r,k as e,i as s,f as i,n as a}from"./p-019506c4.js";import{_ as d}from"./p-8c765c81.js";import{g as l}from"./p-9ec99ced.js";import{p as c}from"./p-8d363802.js";const u=r("sq:useRouter");function p(t,o){if(t)return c(t).exec(o)}const v=class{constructor(o){t(this,o),this.ignored=!0,a(this)}disconnectedCallback(){}render(){const{callbacks:t}=function(t){const o=d(),[n,r]=e(void 0),[a,l]=e(void 0),c=s(t.contextName);return i((()=>{const t=o.querySelectorAll("sqm-route");Array.from(t).forEach((t=>{const o=document.createElement("template");o.setAttribute("path",t.path),o.innerHTML=t.innerHTML,t.parentNode.appendChild(o),t.parentNode.removeChild(t)}))}),[]),i((()=>{var t,o;if(!a||!n)return void u("DOM not ready for navigation rendering on:",c);const r=n.querySelectorAll("template"),e=Array.from(r).find((t=>{var o,n,r;if(null===(r=p(null===(n=null===(o=t.attributes)||void 0===o?void 0:o.path)||void 0===n?void 0:n.nodeValue,c))||void 0===r?void 0:r.length)return t})),s=null===(o=null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.path)||void 0===o?void 0:o.nodeValue;if(u({containerDatasetPage:a.dataset.page,templatePath:s,page:c}),!e)return u("No matching page found for ",c,", so render nothing"),a.innerHTML="",void(a.dataset.page=c);u("Page updated to ",c,e),p(s,a.dataset.page)?u("don't rerender"):e&&(a.innerHTML=e.innerHTML,a.dataset.page=c)}),[n,a,c]),{callbacks:{setSlot:r,setContainer:l}}}(l(this));return o(n,null,o("div",{ref:t.setSlot,style:{display:"none"}},o("slot",null)),o("div",{style:{display:"contents"},ref:t.setContainer}))}};v.style="sqm-router{display:contents}";export{v as sqm_context_router}
@@ -1 +1 @@
1
- import{h as r}from"./p-64c3217a.js";import{e as o}from"./p-00be5090.js";import{c as a}from"./p-cef45012.js";import{g as s}from"./p-02be1a88.js";function e(e){const{states:t,data:l}=e,c={ItemContainer:{display:"flex","background-color":t.active?"var(--sl-color-gray-200)":"var(--sl-color-white)","border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center",...s({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:t.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},n=a(c),i=n.toString();return r("a",{part:"sqm-link",href:l.path,onClick:r=>{r.preventDefault(),o.push(l.path)},class:n.classes.ItemContainer},r("style",{type:"text/css"},i),r("sl-icon",{class:n.classes.Icon,name:l.icon}),r("p",{class:n.classes.Label,part:"sqm-label"},l.label))}export{e as N}
1
+ import{h as r}from"./p-61d5f26e.js";import{f as o}from"./p-8c765c81.js";import{c as s}from"./p-cef45012.js";import{g as a}from"./p-02be1a88.js";function e(e){const{states:t,data:l}=e,c={ItemContainer:{display:"flex","background-color":t.active?"var(--sl-color-gray-200)":"var(--sl-color-white)","border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center",...a({direction:"row",size:"var(--sl-font-size-small)"}),"&:hover":{cursor:"pointer",background:t.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}},Label:{margin:"0"},Icon:{"flex-shrink":"0"}},n=s(c),i=n.toString();return r("a",{part:"sqm-link",href:l.path,onClick:r=>{r.preventDefault(),o.push(l.path)},class:n.classes.ItemContainer},r("style",{type:"text/css"},i),r("sl-icon",{class:n.classes.Icon,name:l.icon}),r("p",{class:n.classes.Label,part:"sqm-label"},l.label))}export{e as N}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function s(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):s(e.value).then(a,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,s&&(i=a[0]&2?s["return"]:a[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,a[1])).done)return i;if(s=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;s=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];s=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-1099290c.system.js","./p-b2295bc5.system.js","./p-1a673057.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-4f775e84.system.js","./p-bb6f6681.system.js"],(function(e){"use strict";var t,n,r,s,i,a,o,l,u,c;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.k;s=e.n},function(e){i=e.f;a=e.e;o=e.i},function(e){l=e.j},function(){},function(e){u=e.c},function(){},function(){},function(e){c=e.P}],execute:function(){function f(e){var t=this;var n,s,o,u,c,f,d;var h=r(false),v=h[0],b=h[1];var m=r(""),p=m[0],g=m[1];var y=i(),w=y[0],x=y[1],_=x.loading,P=x.data,k=x.errors;var T=new URLSearchParams(a.location.search);var j=T.get("nextPage");var E=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,s,i,a,o;return __generator(this,(function(u){switch(u.label){case 0:g("");b(false);r=n.detail.formData;r===null||r===void 0?void 0:r.forEach((function(e,t){l.set(r,t,e)}));s=j?{nextPage:j}:null;i=e.redirectPath;a={email:r.email,urlParams:s,redirectPath:i};return[4,w(a)];case 1:o=u.sent();if(o instanceof Error){if(o.message)g(e.networkErrorMessage);return[2]}if((t=o.requestManagedIdentityPasswordResetEmail)===null||t===void 0?void 0:t.success){b(true)}return[2]}}))}))};return{states:{loading:_,error:((u=(o=(s=(n=k===null||k===void 0?void 0:k.response)===null||n===void 0?void 0:n.errors)===null||s===void 0?void 0:s[0])===null||o===void 0?void 0:o.extensions)===null||u===void 0?void 0:u.message)||((d=(f=(c=k===null||k===void 0?void 0:k.response)===null||c===void 0?void 0:c.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.message)||p,success:v,loginPath:e.loginPath,headerText:e.headerText,loginText:e.loginText},callbacks:{submit:E}}}var d=e("sqm_portal_forgot_password",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/resetPassword";this.emailLabel="Email";this.submitLabel="Request Password Reset";this.loginPath="/login";this.headerText="Enter your email below to receive a password reset link.";this.loginText="Sign In";this.networkErrorMessage="An error occurred while loading this page. Please refresh the page.";this.successAlertText="If an account with that email exists, a password reset email will be sent.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=o()?h(this):f(this),t=e.states,r=e.callbacks;var s={secondaryButton:n("slot",{name:"secondaryButton"},n("sl-button",{type:"text",disabled:t.loading,onClick:function(){return a.push(t.loginPath)}},this.loginText)),messageSlot:n("slot",{name:"messageSlot"},this.headerText),emailLabel:this.emailLabel,submitLabel:this.submitLabel,successAlertText:this.successAlertText};return n(c,{states:t,callbacks:r,content:s})};return e}());function h(e){var t=this;return u({states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function s(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):s(e.value).then(a,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,s&&(i=a[0]&2?s["return"]:a[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,a[1])).done)return i;if(s=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;s=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];s=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-f6934a55.system.js","./p-2be11651.system.js","./p-1e03d640.system.js"],(function(e){"use strict";var t,n,r,s,i,a,o,l,u,c;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.k;s=e.n},function(e){i=e.h;a=e.f;o=e.i},function(e){l=e.j},function(e){u=e.c},function(){},function(){},function(){},function(e){c=e.P}],execute:function(){function f(e){var t=this;var n,s,o,u,c,f,d;var h=r(false),v=h[0],b=h[1];var m=r(""),p=m[0],g=m[1];var y=i(),w=y[0],x=y[1],_=x.loading,P=x.data,k=x.errors;var T=new URLSearchParams(a.location.search);var j=T.get("nextPage");var E=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,s,i,a,o;return __generator(this,(function(u){switch(u.label){case 0:g("");b(false);r=n.detail.formData;r===null||r===void 0?void 0:r.forEach((function(e,t){l.set(r,t,e)}));s=j?{nextPage:j}:null;i=e.redirectPath;a={email:r.email,urlParams:s,redirectPath:i};return[4,w(a)];case 1:o=u.sent();if(o instanceof Error){if(o.message)g(e.networkErrorMessage);return[2]}if((t=o.requestManagedIdentityPasswordResetEmail)===null||t===void 0?void 0:t.success){b(true)}return[2]}}))}))};return{states:{loading:_,error:((u=(o=(s=(n=k===null||k===void 0?void 0:k.response)===null||n===void 0?void 0:n.errors)===null||s===void 0?void 0:s[0])===null||o===void 0?void 0:o.extensions)===null||u===void 0?void 0:u.message)||((d=(f=(c=k===null||k===void 0?void 0:k.response)===null||c===void 0?void 0:c.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.message)||p,success:v,loginPath:e.loginPath,headerText:e.headerText,loginText:e.loginText},callbacks:{submit:E}}}var d=e("sqm_portal_forgot_password",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/resetPassword";this.emailLabel="Email";this.submitLabel="Request Password Reset";this.loginPath="/login";this.headerText="Enter your email below to receive a password reset link.";this.loginText="Sign In";this.networkErrorMessage="An error occurred while loading this page. Please refresh the page.";this.successAlertText="If an account with that email exists, a password reset email will be sent.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=o()?h(this):f(this),t=e.states,r=e.callbacks;var s={secondaryButton:n("slot",{name:"secondaryButton"},n("sl-button",{type:"text",disabled:t.loading,onClick:function(){return a.push(t.loginPath)}},this.loginText)),messageSlot:n("slot",{name:"messageSlot"},this.headerText),emailLabel:this.emailLabel,submitLabel:this.submitLabel,successAlertText:this.successAlertText};return n(c,{states:t,callbacks:r,content:s})};return e}());function h(e){var t=this;return u({states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -0,0 +1 @@
1
+ import{r as s}from"./p-61d5f26e.js";import{n as t}from"./p-019506c4.js";import{c as o,f as a,i as r}from"./p-8c765c81.js";const c=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{c as sqm_portal_logout}
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-2a414b2e.system.js","./p-1099290c.system.js","./p-6333265f.system.js","./p-9deac406.system.js","./p-6e7e8af6.system.js"],(function(t){"use strict";var e,n,a,r,s,o,i,l,u,c;return{setters:[function(t){e=t.h;n=t.c;a=t.r},function(t){r=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.g},function(t){u=t.u},function(t){c=t.u}],execute:function(){var p=function(t){var a=t.content,r=t.placement;var s=!r||r==="top"||r==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var o="\n sl-tab-panel::part(base) {\n padding: "+s+";\n }\n ";return e(n,null,e("style",{type:"text/css"},o),e("sl-tab-group",{placement:r},a.tabs.map((function(t){var n=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return e("sl-tab",{slot:"nav"},e("div",{style:{marginTop:"10px"}},e("slot",{name:n})))}return[e("sl-tab",{slot:"nav",panel:n,id:t.getAttribute("id")||n},t.getAttribute("header")),e("sl-tab-panel",{name:n},e("slot",{name:n}))]}))),e("div",{style:{display:"none"}},e("slot",null)))};var v="sq:reveal";function f(){var t=c();var e=i();var n=u();var a=r((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,e){if(t.tagName==="RAISINS-PLOP-TARGET"){var n=t;n.style.position="absolute";n.style.left="6px";var a=t.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px"}t.setAttribute("slot","tab-"+e);t.setAttribute("id","tab-"+e);return t}))}),[t,n]);s((function(){var t=function(t){var n;var a=t.target;t.stopPropagation();if(!a)return;var r=a.closest("sqm-tabs");if(!e.contains(a)||!r)return;var s=a.closest("sqm-tab");var o=r.shadowRoot.querySelector("sl-tab-group");(n=o)===null||n===void 0?void 0:n.show(s.id)};e.addEventListener(v,t);return function(){e.removeEventListener(v,t)}}),[]);return{content:{tabs:a}}}var m=t("sqm_tabs",function(){function t(t){a(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=f().content;var n=l(this).placement;return e(p,{placement:n,content:t},e("slot",null))};return t}())}}}));
1
+ System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-6333265f.system.js","./p-2cb2401d.system.js","./p-b3f02315.system.js"],(function(t){"use strict";var e,n,a,r,s,o,i,l,u,c;return{setters:[function(t){e=t.h;n=t.c;a=t.r},function(t){r=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.g},function(t){u=t.u},function(t){c=t.u}],execute:function(){var p=function(t){var a=t.content,r=t.placement;var s=!r||r==="top"||r==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var o="\n sl-tab-panel::part(base) {\n padding: "+s+";\n }\n ";return e(n,null,e("style",{type:"text/css"},o),e("sl-tab-group",{placement:r},a.tabs.map((function(t){var n=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return e("sl-tab",{slot:"nav"},e("div",{style:{marginTop:"10px"}},e("slot",{name:n})))}return[e("sl-tab",{slot:"nav",panel:n,id:t.getAttribute("id")||n},t.getAttribute("header")),e("sl-tab-panel",{name:n},e("slot",{name:n}))]}))),e("div",{style:{display:"none"}},e("slot",null)))};var v="sq:reveal";function f(){var t=c();var e=i();var n=u();var a=r((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,e){if(t.tagName==="RAISINS-PLOP-TARGET"){var n=t;n.style.position="absolute";n.style.left="6px";var a=t.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px"}t.setAttribute("slot","tab-"+e);t.setAttribute("id","tab-"+e);return t}))}),[t,n]);s((function(){var t=function(t){var n;var a=t.target;t.stopPropagation();if(!a)return;var r=a.closest("sqm-tabs");if(!e.contains(a)||!r)return;var s=a.closest("sqm-tab");var o=r.shadowRoot.querySelector("sl-tab-group");(n=o)===null||n===void 0?void 0:n.show(s.id)};e.addEventListener(v,t);return function(){e.removeEventListener(v,t)}}),[]);return{content:{tabs:a}}}var m=t("sqm_tabs",function(){function t(t){a(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=f().content;var n=l(this).placement;return e(p,{placement:n,content:t},e("slot",null))};return t}())}}}));
@@ -7,7 +7,7 @@ export declare class Empty {
7
7
  * @uiWidget ImageUpload
8
8
  * @format url
9
9
  * @uiName Image */
10
- emptyStateImage: string;
10
+ emptyStateImage?: string;
11
11
  /** @uiName Title */
12
12
  emptyStateHeader: string;
13
13
  /**
@@ -1,7 +1,15 @@
1
1
  export interface PaginationViewProps {
2
- currentPage?: number;
3
- totalPages?: number;
4
- onNext: (e: Event) => void;
5
- onPrev: (e: Event) => void;
2
+ states: {
3
+ currentPage?: number;
4
+ totalPages?: number;
5
+ loading: boolean;
6
+ };
7
+ text: {
8
+ paginationText: string;
9
+ };
10
+ callbacks: {
11
+ onNext: (e: Event) => void;
12
+ onPrev: (e: Event) => void;
13
+ };
6
14
  }
7
15
  export declare function PaginationView(props: PaginationViewProps): any;
@@ -1,4 +1,5 @@
1
1
  import { DemoData } from "../../global/demo";
2
+ import { UsePagination } from "./usePagination";
2
3
  /**
3
4
  * @uiName Pagination
4
5
  * @exampleGroup Common Components
@@ -6,11 +7,15 @@ import { DemoData } from "../../global/demo";
6
7
  */
7
8
  export declare class Pagination {
8
9
  ignored: boolean;
10
+ /**
11
+ * @uiName Pagination text
12
+ */
13
+ paginationText: string;
9
14
  /**
10
15
  * @undocumented
11
16
  * @uiType object
12
17
  */
13
- demoData?: DemoData<any>;
18
+ demoData?: DemoData<UsePagination>;
14
19
  constructor();
15
20
  disconnectedCallback(): void;
16
21
  render(): any;
@@ -1,15 +1,16 @@
1
- export declare function usePagination(): {
1
+ import { Pagination } from "./sqm-pagination";
2
+ export declare type UsePagination = typeof usePagination;
3
+ export declare function usePagination(props: Pagination): {
2
4
  states: {
3
- errors: import("@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery").GraphQlRequestError<any>;
4
- loading: boolean;
5
- limit: number;
6
5
  currentPage: number;
7
- pageCount: number;
8
- pageProgress: string;
6
+ totalPages: number;
7
+ loading: boolean;
9
8
  };
10
9
  callbacks: {
11
- refetch: (variables?: unknown) => Promise<any>;
12
- setLimit: (newLimit: number) => void;
13
- setCurrentPage: (newPage: number) => void;
10
+ onNext: () => void;
11
+ onPrev: () => void;
12
+ };
13
+ text: {
14
+ paginationText: string;
14
15
  };
15
16
  };
@@ -65,7 +65,6 @@ export declare class PortalContainer {
65
65
  /**
66
66
  * @uiName Background color
67
67
  * @uiWidget color
68
- * @uiGroup Card style
69
68
  * @uiType string
70
69
  */
71
70
  backgroundColor?: string;
@@ -3,7 +3,7 @@ import { CopyTextViewProps } from "../views/copy-text-view";
3
3
  /**
4
4
  * @uiName Referral Code
5
5
  * @exampleGroup Sharing
6
- * @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-referral-code>
6
+ * @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" show-notification-text="true"></sqm-referral-code>
7
7
  */
8
8
  export declare class ReferralCode {
9
9
  /**
@@ -26,7 +26,7 @@ export declare class ReferralCode {
26
26
  */
27
27
  showNotificationText: boolean;
28
28
  /**
29
- * Shown underneath the referral code when the user has already copied the code
29
+ * Shown underneath single-use promo codes when the user has already copied the code
30
30
  *
31
31
  * @uiName Notification text
32
32
  */
@@ -40,7 +40,7 @@ export declare class ReferralCode {
40
40
  /**
41
41
  * Change the text alignment
42
42
  *
43
- * @uiName referral code alignment
43
+ * @uiName Referral code alignment
44
44
  * @uiType string
45
45
  * @uiEnum ["left", "center", "right"]
46
46
  * @uiEnumNames ["Left", "Center", "Right"]
@@ -1,9 +1,3 @@
1
1
  import { CopyTextViewProps } from "../views/copy-text-view";
2
- interface ReferralCodeProps {
3
- programId?: string;
4
- tooltiptext: string;
5
- tooltiplifespan: number;
6
- codeOverride?: string;
7
- }
8
- export declare function useReferralCode(props: ReferralCodeProps): CopyTextViewProps;
9
- export {};
2
+ import { ReferralCode } from "./sqm-referral-code";
3
+ export declare function useReferralCode(props: ReferralCode): CopyTextViewProps;
@@ -7,3 +7,6 @@ declare const _default: {
7
7
  export default _default;
8
8
  export declare const ReferralCodes: () => any;
9
9
  export declare const WithPreviouslyCopiedCode: () => any;
10
+ export declare const Empty: () => any;
11
+ export declare const EmptyWithCustomTextAndImage: () => any;
12
+ export declare const Loading: () => any;
@@ -4,9 +4,13 @@ export interface ReferralCodesViewProps {
4
4
  shareButtons: VNode;
5
5
  shareCodes: VNode;
6
6
  pagination: VNode;
7
+ empty: VNode;
8
+ loading: VNode;
9
+ };
10
+ states: {
11
+ noCodes: boolean;
12
+ loading: boolean;
7
13
  };
8
14
  titleText?: string;
9
- noCodes: boolean;
10
- loading: boolean;
11
15
  }
12
16
  export declare function ReferralCodesView(props: ReferralCodesViewProps): any;
@@ -1,15 +1,33 @@
1
1
  import { DemoData } from "../../global/demo";
2
2
  import { ReferralCodesViewProps } from "./sqm-referral-codes-view";
3
3
  /**
4
- * @uiName Referral Codes
4
+ * @uiName Promo Codes
5
+ * @slots [{"name":"", "title":"Promo Codes Content"}]
5
6
  * @exampleGroup Sharing
6
- * @example Referral Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="facebook">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
7
+ * @example Promo Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes" show-notification-text="true"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
7
8
  */
8
9
  export declare class ReferralCodes {
9
10
  /**
10
11
  * @uiName Title Text
11
12
  */
12
13
  titleText?: string;
14
+ /**
15
+ * @uiName Empty State Header Text
16
+ */
17
+ emptyStateHeaderText?: string;
18
+ /**
19
+ * @uiName Empty State Description Text
20
+ */
21
+ emptyStateDescriptionText?: string;
22
+ /**
23
+ * @uiName Empty State Image URL
24
+ */
25
+ emptyStateImageUrl?: string;
26
+ /**
27
+ * @uiName Program ID
28
+ * @uiWidget programSelector
29
+ */
30
+ programId?: string;
13
31
  /**
14
32
  * @undocumented
15
33
  * @uiType object
@@ -1,20 +1,24 @@
1
- import { ReferralCodes } from "./sqm-referral-codes";
2
1
  import { GraphQlRequestError } from "@saasquatch/component-boilerplate/dist/hooks/graphql/useBaseQuery";
2
+ import { ReferralCodes } from "./sqm-referral-codes";
3
3
  export declare const REFERRAL_CODES_NAMESPACE = "sq:referral-codes";
4
4
  export declare const REFERRAL_CODES_PAGINATION_CONTEXT = "sq:referral-codes-pagination";
5
- export declare const SET_CODE_USED: string;
5
+ export declare const SET_CODE_COPIED: string;
6
6
  export declare type ReferralCodeContext = {
7
+ refresh: () => void;
7
8
  loading?: boolean;
8
9
  referralCode: string;
10
+ isUsed: boolean;
11
+ isCopied: boolean;
9
12
  shareLink: string;
13
+ singleUse: boolean;
10
14
  email: {
11
15
  messageLink: string;
12
16
  };
13
- fbMessenger: {
17
+ fbmessenger: {
14
18
  messageLink: string;
15
19
  shareLink: string;
16
20
  };
17
- whatsApp: {
21
+ whatsapp: {
18
22
  messageLink: string;
19
23
  };
20
24
  };
@@ -28,7 +32,7 @@ export declare type PaginationContext = {
28
32
  pageProgress: string;
29
33
  };
30
34
  callbacks: {
31
- refetch: (variables?: unknown) => Promise<any>;
35
+ refetch: (variables: unknown) => Promise<any>;
32
36
  setLimit: (newLimit: number) => void;
33
37
  setCurrentPage: (newPage: number) => void;
34
38
  };
@@ -13,6 +13,7 @@ export interface CopyTextViewProps {
13
13
  inputPlaceholderText?: string;
14
14
  dateAvailable?: string;
15
15
  loading?: boolean;
16
+ isCopied?: boolean;
16
17
  onClick?: () => void;
17
18
  }
18
19
  export declare function CopyTextView(props: CopyTextViewProps): any;
@@ -26,6 +26,7 @@ import { CopyTextViewProps } from "./components/views/copy-text-view";
26
26
  import { NameFieldsViewProps } from "./components/sqm-name-fields/sqm-name-fields-view";
27
27
  import { NavigationMenuViewProps } from "./components/sqm-navigation-menu/sqm-navigation-menu-view";
28
28
  import { NavigationSidebarItemViewProps } from "./components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view";
29
+ import { UsePagination } from "./components/sqm-pagination/usePagination";
29
30
  import { PasswordFieldViewDemoProps } from "./components/sqm-password-field/sqm-password-field";
30
31
  import { PortalChangePasswordViewProps } from "./components/sqm-portal-change-password/sqm-portal-change-password-view";
31
32
  import { PortalEmailVerificationViewProps } from "./components/sqm-portal-email-verification/sqm-portal-email-verification-view";
@@ -731,7 +732,7 @@ export namespace Components {
731
732
  * @format url
732
733
  * @uiName Image
733
734
  */
734
- "emptyStateImage": string;
735
+ "emptyStateImage"?: string;
735
736
  /**
736
737
  * @uiName Description
737
738
  * @uiWidget textArea
@@ -1548,7 +1549,11 @@ export namespace Components {
1548
1549
  * @undocumented
1549
1550
  * @uiType object
1550
1551
  */
1551
- "demoData"?: DemoData<any>;
1552
+ "demoData"?: DemoData<UsePagination>;
1553
+ /**
1554
+ * @uiName Pagination text
1555
+ */
1556
+ "paginationText": string;
1552
1557
  }
1553
1558
  interface SqmPasswordField {
1554
1559
  /**
@@ -1749,7 +1754,6 @@ export namespace Components {
1749
1754
  /**
1750
1755
  * @uiName Background color
1751
1756
  * @uiWidget color
1752
- * @uiGroup Card style
1753
1757
  * @uiType string
1754
1758
  */
1755
1759
  "backgroundColor"?: string;
@@ -2606,7 +2610,7 @@ export namespace Components {
2606
2610
  */
2607
2611
  "demoData"?: DemoData<CopyTextViewProps>;
2608
2612
  /**
2609
- * Shown underneath the referral code when the user has already copied the code
2613
+ * Shown underneath single-use promo codes when the user has already copied the code
2610
2614
  * @uiName Notification text
2611
2615
  */
2612
2616
  "notificationText": string;
@@ -2623,7 +2627,7 @@ export namespace Components {
2623
2627
  "showNotificationText": boolean;
2624
2628
  /**
2625
2629
  * Change the text alignment
2626
- * @uiName referral code alignment
2630
+ * @uiName Referral code alignment
2627
2631
  * @uiType string
2628
2632
  * @uiEnum ["left", "center", "right"]
2629
2633
  * @uiEnumNames ["Left", "Center", "Right"]
@@ -2646,6 +2650,23 @@ export namespace Components {
2646
2650
  * @uiType object
2647
2651
  */
2648
2652
  "demoData"?: DemoData<ReferralCodesViewProps>;
2653
+ /**
2654
+ * @uiName Empty State Description Text
2655
+ */
2656
+ "emptyStateDescriptionText"?: string;
2657
+ /**
2658
+ * @uiName Empty State Header Text
2659
+ */
2660
+ "emptyStateHeaderText"?: string;
2661
+ /**
2662
+ * @uiName Empty State Image URL
2663
+ */
2664
+ "emptyStateImageUrl"?: string;
2665
+ /**
2666
+ * @uiName Program ID
2667
+ * @uiWidget programSelector
2668
+ */
2669
+ "programId"?: string;
2649
2670
  /**
2650
2671
  * @uiName Title Text
2651
2672
  */
@@ -7480,7 +7501,11 @@ declare namespace LocalJSX {
7480
7501
  * @undocumented
7481
7502
  * @uiType object
7482
7503
  */
7483
- "demoData"?: DemoData<any>;
7504
+ "demoData"?: DemoData<UsePagination>;
7505
+ /**
7506
+ * @uiName Pagination text
7507
+ */
7508
+ "paginationText"?: string;
7484
7509
  }
7485
7510
  interface SqmPasswordField {
7486
7511
  /**
@@ -7681,7 +7706,6 @@ declare namespace LocalJSX {
7681
7706
  /**
7682
7707
  * @uiName Background color
7683
7708
  * @uiWidget color
7684
- * @uiGroup Card style
7685
7709
  * @uiType string
7686
7710
  */
7687
7711
  "backgroundColor"?: string;
@@ -8538,7 +8562,7 @@ declare namespace LocalJSX {
8538
8562
  */
8539
8563
  "demoData"?: DemoData<CopyTextViewProps>;
8540
8564
  /**
8541
- * Shown underneath the referral code when the user has already copied the code
8565
+ * Shown underneath single-use promo codes when the user has already copied the code
8542
8566
  * @uiName Notification text
8543
8567
  */
8544
8568
  "notificationText"?: string;
@@ -8555,7 +8579,7 @@ declare namespace LocalJSX {
8555
8579
  "showNotificationText"?: boolean;
8556
8580
  /**
8557
8581
  * Change the text alignment
8558
- * @uiName referral code alignment
8582
+ * @uiName Referral code alignment
8559
8583
  * @uiType string
8560
8584
  * @uiEnum ["left", "center", "right"]
8561
8585
  * @uiEnumNames ["Left", "Center", "Right"]
@@ -8578,6 +8602,23 @@ declare namespace LocalJSX {
8578
8602
  * @uiType object
8579
8603
  */
8580
8604
  "demoData"?: DemoData<ReferralCodesViewProps>;
8605
+ /**
8606
+ * @uiName Empty State Description Text
8607
+ */
8608
+ "emptyStateDescriptionText"?: string;
8609
+ /**
8610
+ * @uiName Empty State Header Text
8611
+ */
8612
+ "emptyStateHeaderText"?: string;
8613
+ /**
8614
+ * @uiName Empty State Image URL
8615
+ */
8616
+ "emptyStateImageUrl"?: string;
8617
+ /**
8618
+ * @uiName Program ID
8619
+ * @uiWidget programSelector
8620
+ */
8621
+ "programId"?: string;
8581
8622
  /**
8582
8623
  * @uiName Title Text
8583
8624
  */
@@ -20,6 +20,12 @@ export declare const Loyalty: {
20
20
  hookStory: Function;
21
21
  };
22
22
  };
23
+ export declare const PromoCodeReferralWidget: {
24
+ (): any;
25
+ parameters: {
26
+ hookStory: Function;
27
+ };
28
+ };
23
29
  export declare const InstantAccessReferrerShareWidget: {
24
30
  (): any;
25
31
  parameters: {
package/docs/docs.docx CHANGED
Binary file