@saasquatch/mint-components 1.12.0-8 → 1.12.0

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 (570) hide show
  1. package/dist/cjs/{GenericTableView-80d7642e.js → GenericTableView-bb2fcd95.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-040cffad.js → ShadowViewAddon-652aa5e4.js} +178 -236
  3. package/dist/cjs/copy-text-view-f1ce8888.js +231 -0
  4. package/dist/cjs/{email-registration-view-248652bb.js → email-registration-view-54cedb43.js} +2 -2
  5. package/dist/cjs/{global-c3637175.js → global-ae358e7d.js} +3 -3
  6. package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
  7. package/dist/cjs/{index.module-b8d9d0ba.js → index.module-191d84c2.js} +19 -52
  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-5bde3d2e.js → re-render-811491ef.js} +5 -5
  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 +4 -4
  16. package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +927 -239
  17. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +226 -164
  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 +4 -4
  21. package/dist/cjs/sqm-email-verification.cjs.entry.js +30 -22
  22. package/dist/cjs/sqm-empty_4.cjs.entry.js +12 -8
  23. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  25. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
  27. package/dist/cjs/{sqm-invoice-table-view-5d3a2d35.js → sqm-invoice-table-view-bfea11c8.js} +117 -5
  28. package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
  29. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
  30. package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
  31. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -7
  32. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-67d1184c.js} +4 -4
  33. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -7
  34. package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
  35. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
  36. package/dist/cjs/sqm-pagination_3.cjs.entry.js +392 -0
  37. package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
  38. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  39. package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
  40. package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-1a852b01.js} +4 -4
  41. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +12 -12
  42. package/dist/cjs/{sqm-portal-forgot-password-view-969c49ed.js → sqm-portal-forgot-password-view-24339191.js} +3 -3
  43. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +9 -9
  44. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  45. package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-a2ed3b27.js} +3 -3
  46. package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -11
  47. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  48. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -11
  49. package/dist/cjs/{sqm-portal-reset-password-view-96f329ed.js → sqm-portal-reset-password-view-1b85b8cf.js} +3 -3
  50. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -12
  51. package/dist/cjs/{sqm-portal-verify-email-view-7ffcc0d4.js → sqm-portal-verify-email-view-cc3c87c3.js} +3 -3
  52. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  53. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -13
  54. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  55. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  56. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  57. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +17 -17
  58. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  59. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  60. package/dist/cjs/sqm-stencilbook.cjs.entry.js +427 -183
  61. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  62. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  63. package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
  64. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  65. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
  66. package/dist/cjs/sqm-widget-verification.cjs.entry.js +104 -111
  67. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
  68. package/dist/cjs/{useChildElements-410d2435.js → useChildElements-d64dfedd.js} +3 -3
  69. package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-fb1d317a.js} +4 -4
  70. package/dist/cjs/usePayoutStatus-9f25038a.js +1045 -0
  71. package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-b09d9b9e.js} +11 -11
  72. package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-b07ba3d4.js} +3 -3
  73. package/dist/cjs/{useVerificationEmail-6aacdb71.js → useVerificationEmail-f3db90da.js} +13 -9
  74. package/dist/cjs/{utilities-f7de6c04.js → utilities-cec246be.js} +2 -2
  75. package/dist/collection/collection-manifest.json +11 -1
  76. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  77. package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
  78. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  79. package/dist/collection/components/sqm-pagination/Pagination.stories.js +12 -0
  80. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +32 -0
  81. package/dist/collection/components/sqm-pagination/sqm-pagination.js +112 -0
  82. package/dist/collection/components/sqm-pagination/usePagination.js +29 -0
  83. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
  84. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +2 -1
  85. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
  86. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
  87. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -4
  88. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +20 -0
  89. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +60 -0
  90. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +317 -0
  91. package/dist/collection/components/sqm-referral-code/useReferralCode.js +63 -0
  92. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +65 -0
  93. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +69 -0
  94. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +219 -0
  95. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +131 -0
  96. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
  97. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
  98. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -2
  99. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +8 -15
  100. package/dist/collection/components/sqm-share-button/useShareButton.js +29 -18
  101. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  102. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  103. package/dist/collection/components/sqm-share-link/useShareLink.js +11 -4
  104. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  105. package/dist/collection/components/sqm-text/sqm-text.js +1 -1
  106. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +1 -1
  107. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  108. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +3 -6
  109. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +22 -6
  110. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +10 -6
  111. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
  112. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +2 -2
  113. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
  114. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +106 -127
  115. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +5 -1
  116. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
  117. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +18 -0
  118. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +111 -3
  119. package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
  120. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  121. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +127 -14
  122. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
  123. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  124. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  125. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
  126. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  127. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  128. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
  129. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
  130. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
  131. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
  132. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +5 -9
  133. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -24
  134. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +186 -13
  135. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +31 -20
  136. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
  137. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +414 -23
  138. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +133 -15
  139. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +276 -11
  140. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +15 -1
  141. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
  142. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
  143. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -0
  144. package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
  145. package/dist/collection/components/views/copy-text-view.js +18 -3
  146. package/dist/collection/stories/Widget.stories.js +5 -0
  147. package/dist/esm/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +2 -2
  148. package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-a0cff36f.js} +177 -234
  149. package/dist/esm/copy-text-view-200d6958.js +225 -0
  150. package/dist/esm/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +2 -2
  151. package/dist/esm/{global-6306a9b8.js → global-9832e13a.js} +3 -3
  152. package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
  153. package/dist/esm/{index.module-6c840c4e.js → index.module-32d2bf62.js} +4 -37
  154. package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  155. package/dist/esm/loader.js +5 -5
  156. package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  157. package/dist/esm/mint-components.js +5 -5
  158. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  159. package/dist/esm/raisins-plop-target.entry.js +1 -1
  160. package/dist/esm/{re-render-1bcfd0de.js → re-render-6977623c.js} +5 -5
  161. package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  162. package/dist/esm/sqm-asset-card.entry.js +4 -4
  163. package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +927 -240
  164. package/dist/esm/sqm-big-stat_39.entry.js +223 -161
  165. package/dist/esm/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +2 -2
  166. package/dist/esm/sqm-close-button.entry.js +5 -5
  167. package/dist/esm/sqm-context-router.entry.js +4 -4
  168. package/dist/esm/sqm-email-verification.entry.js +31 -23
  169. package/dist/esm/sqm-empty_4.entry.js +12 -8
  170. package/dist/esm/sqm-form-message.entry.js +2 -2
  171. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
  172. package/dist/esm/sqm-header-logo.entry.js +2 -2
  173. package/dist/esm/sqm-instant-access-registration.entry.js +7 -7
  174. package/dist/esm/{sqm-invoice-table-view-e9075c0b.js → sqm-invoice-table-view-e3a1287a.js} +117 -5
  175. package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
  176. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
  177. package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  178. package/dist/esm/sqm-logout-current-user.entry.js +7 -7
  179. package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +4 -4
  180. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -7
  181. package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  182. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
  183. package/dist/esm/sqm-pagination_3.entry.js +386 -0
  184. package/dist/esm/sqm-password-field.entry.js +6 -6
  185. package/dist/esm/sqm-popup-container.entry.js +6 -6
  186. package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  187. package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +4 -4
  188. package/dist/esm/sqm-portal-email-verification.entry.js +12 -12
  189. package/dist/esm/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +3 -3
  190. package/dist/esm/sqm-portal-forgot-password.entry.js +9 -9
  191. package/dist/esm/sqm-portal-logout.entry.js +4 -4
  192. package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +3 -3
  193. package/dist/esm/sqm-portal-profile.entry.js +11 -11
  194. package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
  195. package/dist/esm/sqm-portal-registration-form.entry.js +11 -11
  196. package/dist/esm/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +3 -3
  197. package/dist/esm/sqm-portal-reset-password.entry.js +12 -12
  198. package/dist/esm/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +3 -3
  199. package/dist/esm/sqm-portal-verify-email.entry.js +12 -12
  200. package/dist/esm/sqm-referral-table_11.entry.js +15 -13
  201. package/dist/esm/sqm-referred-registration.entry.js +7 -7
  202. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  203. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  204. package/dist/esm/sqm-rewards-table_9.entry.js +17 -17
  205. package/dist/esm/sqm-route.entry.js +1 -1
  206. package/dist/esm/sqm-scroll.entry.js +2 -2
  207. package/dist/esm/sqm-stencilbook.entry.js +414 -170
  208. package/dist/esm/sqm-tab.entry.js +4 -4
  209. package/dist/esm/sqm-tabs.entry.js +6 -6
  210. package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  211. package/dist/esm/sqm-text-span.entry.js +3 -3
  212. package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
  213. package/dist/esm/sqm-widget-verification.entry.js +105 -112
  214. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  215. package/dist/esm/{useChildElements-fc84e640.js → useChildElements-dd86d4a4.js} +3 -3
  216. package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +4 -4
  217. package/dist/esm/usePayoutStatus-a7510912.js +1039 -0
  218. package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +11 -11
  219. package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-6e89095a.js} +3 -3
  220. package/dist/esm/{useVerificationEmail-c32696ba.js → useVerificationEmail-7e3eb7c0.js} +13 -9
  221. package/dist/esm/{utilities-443732be.js → utilities-34fdb9e3.js} +2 -2
  222. package/dist/esm-es5/{GenericTableView-d59d8ab4.js → GenericTableView-706f5b56.js} +1 -1
  223. package/dist/esm-es5/ShadowViewAddon-a0cff36f.js +1 -0
  224. package/dist/esm-es5/copy-text-view-200d6958.js +1 -0
  225. package/dist/esm-es5/{email-registration-view-a89a88bf.js → email-registration-view-5ecee6f8.js} +1 -1
  226. package/dist/esm-es5/{global-6306a9b8.js → global-9832e13a.js} +2 -2
  227. package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
  228. package/dist/esm-es5/index.module-32d2bf62.js +1 -0
  229. package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  230. package/dist/esm-es5/loader.js +1 -1
  231. package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  232. package/dist/esm-es5/mint-components.js +1 -1
  233. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  234. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  235. package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-6977623c.js} +1 -1
  236. package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  237. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  238. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  239. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  240. package/dist/esm-es5/{sqm-close-button-view-dc65b4e3.js → sqm-close-button-view-8058642b.js} +1 -1
  241. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  242. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  243. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  244. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  245. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  246. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  247. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  248. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  249. package/dist/esm-es5/sqm-invoice-table-view-e3a1287a.js +1 -0
  250. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
  251. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  252. package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  253. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  254. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-721b0060.js} +1 -1
  255. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  256. package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  257. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  258. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -0
  259. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  260. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  261. package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  262. package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-d90f5490.js} +1 -1
  263. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  264. package/dist/esm-es5/{sqm-portal-forgot-password-view-c2ed8fed.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
  265. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  266. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  267. package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-9ac8ea4d.js} +1 -1
  268. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  269. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  270. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  271. package/dist/esm-es5/{sqm-portal-reset-password-view-79a85e02.js → sqm-portal-reset-password-view-865655da.js} +1 -1
  272. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  273. package/dist/esm-es5/{sqm-portal-verify-email-view-d7ea2c56.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
  274. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  275. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  276. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  277. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  278. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  279. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  280. package/dist/esm-es5/sqm-route.entry.js +1 -1
  281. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  282. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  283. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  284. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  285. package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  286. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  287. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
  288. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  289. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  290. package/dist/esm-es5/useChildElements-dd86d4a4.js +1 -0
  291. package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-82ac94b9.js} +1 -1
  292. package/dist/esm-es5/usePayoutStatus-a7510912.js +6 -0
  293. package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f677f1aa.js} +1 -1
  294. package/dist/esm-es5/useRegistrationFormState-6e89095a.js +1 -0
  295. package/dist/esm-es5/useVerificationEmail-7e3eb7c0.js +1 -0
  296. package/dist/esm-es5/{utilities-443732be.js → utilities-34fdb9e3.js} +1 -1
  297. package/dist/mint-components/mint-components.esm.js +1 -1
  298. package/dist/mint-components/mint-components.js +1 -1
  299. package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
  300. package/dist/mint-components/{p-43621f12.system.js → p-01d6c1f0.system.js} +1 -1
  301. package/dist/mint-components/{p-59818690.system.entry.js → p-04a17b6f.system.entry.js} +1 -1
  302. package/dist/mint-components/p-062051ad.entry.js +1 -0
  303. package/dist/mint-components/{p-c5577dd7.system.js → p-06b8a582.system.js} +1 -1
  304. package/dist/mint-components/p-0740469e.entry.js +33 -0
  305. package/dist/mint-components/p-0d485762.system.entry.js +1 -0
  306. package/dist/mint-components/{p-a51533cb.system.js → p-0dc18b5c.system.js} +1 -1
  307. package/dist/mint-components/p-11c8ad61.entry.js +9 -0
  308. package/dist/mint-components/{p-d468925f.entry.js → p-135356c8.entry.js} +1 -1
  309. package/dist/mint-components/p-147eddc7.system.js +1 -0
  310. package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-14f23e8b.system.entry.js} +1 -1
  311. package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
  312. package/dist/mint-components/p-1d00f622.entry.js +25 -0
  313. package/dist/mint-components/{p-cb433855.system.entry.js → p-1da85c55.system.entry.js} +1 -1
  314. package/dist/mint-components/{p-7d5e0645.system.js → p-1e03d640.system.js} +1 -1
  315. package/dist/mint-components/{p-f4cbbe47.entry.js → p-1f03999a.entry.js} +1 -1
  316. package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
  317. package/dist/mint-components/p-2478ab2e.js +1 -0
  318. package/dist/mint-components/p-26989f51.system.entry.js +1 -0
  319. package/dist/mint-components/{p-04348a9b.js → p-27063220.js} +1 -1
  320. package/dist/mint-components/{p-fd21ae8f.entry.js → p-27f4da12.entry.js} +1 -1
  321. package/dist/mint-components/{p-e12d3414.system.entry.js → p-28e02729.system.entry.js} +1 -1
  322. package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
  323. package/dist/mint-components/p-2a2fb958.system.js +1 -0
  324. package/dist/mint-components/{p-ac51940e.system.js → p-2ae74e3d.system.js} +1 -1
  325. package/dist/mint-components/{p-5becb2ff.system.js → p-2bc74e74.system.js} +1 -1
  326. package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
  327. package/dist/mint-components/{p-94454880.entry.js → p-2be940fd.entry.js} +1 -1
  328. package/dist/mint-components/{p-d83b0cf3.js → p-346b0453.js} +1 -1
  329. package/dist/mint-components/p-38c7775a.js +1 -0
  330. package/dist/mint-components/p-38e25302.system.js +1 -0
  331. package/dist/mint-components/{p-cd44de66.system.js → p-38eeea85.system.js} +1 -1
  332. package/dist/mint-components/p-3a82938a.system.js +1 -0
  333. package/dist/mint-components/p-3b9a0443.js +1 -0
  334. package/dist/mint-components/{p-3ed71bef.system.js → p-3c6bc373.system.js} +1 -1
  335. package/dist/mint-components/{p-fb93c962.js → p-42390bcc.js} +1 -1
  336. package/dist/mint-components/p-437d9179.entry.js +1 -0
  337. package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-4460a1b5.system.entry.js} +1 -1
  338. package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
  339. package/dist/mint-components/{p-5291891c.entry.js → p-45348151.entry.js} +2 -2
  340. package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
  341. package/dist/mint-components/{p-fc422446.system.js → p-4665c2df.system.js} +1 -1
  342. package/dist/mint-components/p-4769ea4e.js +1 -0
  343. package/dist/mint-components/p-4810eded.js +52 -0
  344. package/dist/mint-components/p-493ceeaa.system.entry.js +1 -0
  345. package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4d50c2fd.system.entry.js} +1 -1
  346. package/dist/mint-components/{p-0527d90b.system.entry.js → p-4e88b1cc.system.entry.js} +1 -1
  347. package/dist/mint-components/p-5327c91f.system.js +1 -0
  348. package/dist/mint-components/p-533a6058.entry.js +1 -0
  349. package/dist/mint-components/p-558daf4f.system.js +1 -0
  350. package/dist/mint-components/p-55a5bbca.system.entry.js +1 -0
  351. package/dist/mint-components/{p-3925bcd6.entry.js → p-567510ed.entry.js} +1 -1
  352. package/dist/mint-components/p-57dd28bd.system.js +1 -0
  353. package/dist/mint-components/p-57f92fe0.entry.js +1 -0
  354. package/dist/mint-components/{p-c3b37bbf.js → p-597d9584.js} +1 -1
  355. package/dist/mint-components/{p-1b9e6fc6.js → p-59e310c8.js} +1 -1
  356. package/dist/mint-components/p-59fb25c9.system.entry.js +1 -0
  357. package/dist/mint-components/{p-2816bf6a.js → p-5c3bf70d.js} +1 -1
  358. package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
  359. package/dist/mint-components/p-606f8320.js +31 -0
  360. package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
  361. package/dist/mint-components/{p-509e29e6.js → p-6568392b.js} +1 -1
  362. package/dist/mint-components/{p-03dbe2ce.entry.js → p-6765a6d5.entry.js} +1 -1
  363. package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-69429d09.system.entry.js} +1 -1
  364. package/dist/mint-components/p-6b3cb50a.entry.js +1 -0
  365. package/dist/mint-components/{p-0121e044.js → p-6c03512b.js} +1 -1
  366. package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
  367. package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-70f4aab2.system.entry.js} +1 -1
  368. package/dist/mint-components/p-72aff425.js +48 -0
  369. package/dist/mint-components/p-72b57205.js +1 -0
  370. package/dist/mint-components/p-73e9caad.system.js +1 -0
  371. package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
  372. package/dist/mint-components/{p-5fba1a04.system.entry.js → p-775685a2.system.entry.js} +1 -1
  373. package/dist/mint-components/p-7a4a47b2.entry.js +205 -0
  374. package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
  375. package/dist/mint-components/{p-f450654b.system.entry.js → p-7c1650bb.system.entry.js} +1 -1
  376. package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-7d85fba4.system.entry.js} +1 -1
  377. package/dist/mint-components/p-7ddd0248.entry.js +1 -0
  378. package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7e0c2fd5.system.entry.js} +1 -1
  379. package/dist/mint-components/{p-a45b03d2.entry.js → p-813f6633.entry.js} +1 -1
  380. package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
  381. package/dist/mint-components/p-81fd8e56.system.js +1 -0
  382. package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
  383. package/dist/mint-components/{p-88bf51b7.system.entry.js → p-87bde6c3.system.entry.js} +1 -1
  384. package/dist/mint-components/{p-64491210.system.entry.js → p-89283c37.system.entry.js} +1 -1
  385. package/dist/mint-components/{p-d35d8c06.entry.js → p-8b24b795.entry.js} +2 -2
  386. package/dist/mint-components/{p-6c928c7d.entry.js → p-8b66735f.entry.js} +1 -1
  387. package/dist/mint-components/p-8e6c97b5.system.entry.js +1 -0
  388. package/dist/mint-components/{p-8d554a89.system.js → p-90b906e3.system.js} +1 -1
  389. package/dist/mint-components/p-95f71da6.entry.js +1 -0
  390. package/dist/mint-components/p-96755021.entry.js +16 -0
  391. package/dist/mint-components/{p-ead27698.system.entry.js → p-98c5589b.system.entry.js} +1 -1
  392. package/dist/mint-components/p-9a3612e3.system.js +1 -0
  393. package/dist/mint-components/{p-012daf3c.entry.js → p-9c980a21.entry.js} +1 -1
  394. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
  395. package/dist/mint-components/{p-4e48267b.system.js → p-9fc73ff8.system.js} +1 -1
  396. package/dist/mint-components/p-a13c83c5.entry.js +1 -0
  397. package/dist/mint-components/p-a1cc7c75.system.js +6 -0
  398. package/dist/mint-components/{p-e8dde8f4.system.js → p-a2aed0da.system.js} +1 -1
  399. package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
  400. package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
  401. package/dist/mint-components/p-a5c46b1f.system.entry.js +1 -0
  402. package/dist/mint-components/p-a966450d.entry.js +1 -0
  403. package/dist/mint-components/{p-1f7d7524.system.entry.js → p-a9ad04e3.system.entry.js} +1 -1
  404. package/dist/mint-components/{p-c5d2e4ba.js → p-a9ff5495.js} +1 -1
  405. package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
  406. package/dist/mint-components/{p-bc826117.system.entry.js → p-b38c43c6.system.entry.js} +1 -1
  407. package/dist/mint-components/{p-04ced592.system.entry.js → p-b4fd6877.system.entry.js} +1 -1
  408. package/dist/mint-components/{p-c8610d0c.js → p-b7705066.js} +1 -1
  409. package/dist/mint-components/p-b7ea46a9.system.entry.js +1 -0
  410. package/dist/mint-components/{p-a85f57bb.entry.js → p-b8e79be3.entry.js} +1 -1
  411. package/dist/mint-components/p-bc827206.entry.js +241 -0
  412. package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
  413. package/dist/mint-components/{p-51d53165.system.entry.js → p-bf1ce947.system.entry.js} +1 -1
  414. package/dist/mint-components/{p-83c9f37b.system.entry.js → p-c10eb4d9.system.entry.js} +1 -1
  415. package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
  416. package/dist/mint-components/{p-1d27da33.js → p-c49e034d.js} +2 -2
  417. package/dist/mint-components/p-c5a86ae0.system.js +1 -0
  418. package/dist/mint-components/{p-bee1e573.entry.js → p-c6b10310.entry.js} +1 -1
  419. package/dist/mint-components/p-c7d74b3d.entry.js +1 -0
  420. package/dist/mint-components/{p-f56348dc.system.entry.js → p-c9a1e91f.system.entry.js} +1 -1
  421. package/dist/mint-components/{p-9e0230c3.entry.js → p-ce7d155e.entry.js} +1 -1
  422. package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
  423. package/dist/mint-components/{p-f531a5c9.system.entry.js → p-d2ce8962.system.entry.js} +1 -1
  424. package/dist/mint-components/{p-76392386.entry.js → p-d2fdccaf.entry.js} +1 -1
  425. package/dist/mint-components/p-d30d4615.system.entry.js +1 -0
  426. package/dist/mint-components/p-d72ca162.entry.js +13 -0
  427. package/dist/mint-components/p-d8d97ff5.js +1 -0
  428. package/dist/mint-components/p-d9125705.entry.js +1 -0
  429. package/dist/mint-components/{p-bdd6bb13.js → p-d998f2cf.js} +1 -1
  430. package/dist/mint-components/{p-e0e7635a.js → p-da694498.js} +1 -1
  431. package/dist/mint-components/p-dc10f1c8.entry.js +1 -0
  432. package/dist/mint-components/p-dd5a844d.entry.js +1 -0
  433. package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
  434. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
  435. package/dist/mint-components/{p-68747d88.js → p-e445df4e.js} +1 -1
  436. package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
  437. package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
  438. package/dist/mint-components/p-e9561792.entry.js +1 -0
  439. package/dist/mint-components/{p-36e9296e.system.entry.js → p-ea99fae7.system.entry.js} +1 -1
  440. package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
  441. package/dist/mint-components/{p-22425c71.system.entry.js → p-f1a8e889.system.entry.js} +1 -1
  442. package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
  443. package/dist/mint-components/{p-9eae245f.js → p-f754e08b.js} +23 -23
  444. package/dist/mint-components/p-f831ddd1.entry.js +13 -0
  445. package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
  446. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  447. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +5 -0
  448. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +15 -0
  449. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +22 -0
  450. package/dist/types/components/sqm-pagination/usePagination.d.ts +16 -0
  451. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
  452. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -1
  453. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +1 -0
  454. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +18 -0
  455. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +70 -0
  456. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +3 -0
  457. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +12 -0
  458. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +16 -0
  459. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +39 -0
  460. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +52 -0
  461. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  462. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  463. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -0
  464. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +1 -0
  465. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
  466. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
  467. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
  468. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +13 -4
  469. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +1 -0
  470. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
  471. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  472. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +4 -0
  473. package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
  474. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  475. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
  476. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  477. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  478. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  479. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  480. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
  481. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
  482. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
  483. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +3 -1
  484. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -2
  485. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +30 -2
  486. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +5 -4
  487. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
  488. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
  489. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
  490. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -2
  491. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +45 -0
  492. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  493. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  494. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
  495. package/dist/types/components/views/copy-text-view.d.ts +3 -0
  496. package/dist/types/components.d.ts +625 -92
  497. package/dist/types/stories/Widget.stories.d.ts +6 -0
  498. package/docs/docs.docx +0 -0
  499. package/docs/raisins.json +1 -1
  500. package/grapesjs/grapesjs.js +1 -1
  501. package/package.json +3 -2
  502. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -345
  503. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
  504. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
  505. package/dist/esm/sqm-code-verification.entry.js +0 -341
  506. package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
  507. package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
  508. package/dist/esm-es5/index.module-6c840c4e.js +0 -1
  509. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
  510. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  511. package/dist/esm-es5/sqm-invoice-table-view-e9075c0b.js +0 -1
  512. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
  513. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
  514. package/dist/esm-es5/useChildElements-fc84e640.js +0 -1
  515. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
  516. package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
  517. package/dist/mint-components/p-0893073b.entry.js +0 -1
  518. package/dist/mint-components/p-0a898ab1.js +0 -1
  519. package/dist/mint-components/p-11d1b212.js +0 -1
  520. package/dist/mint-components/p-1649ee1e.entry.js +0 -240
  521. package/dist/mint-components/p-1712a9fd.entry.js +0 -11
  522. package/dist/mint-components/p-1b861be5.entry.js +0 -1
  523. package/dist/mint-components/p-1e616d45.system.js +0 -1
  524. package/dist/mint-components/p-2868f475.entry.js +0 -1
  525. package/dist/mint-components/p-39840341.js +0 -1
  526. package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
  527. package/dist/mint-components/p-4364001c.entry.js +0 -12
  528. package/dist/mint-components/p-4671e644.entry.js +0 -1
  529. package/dist/mint-components/p-4babe350.system.js +0 -1
  530. package/dist/mint-components/p-4e373c3d.system.js +0 -1
  531. package/dist/mint-components/p-4eae91a9.system.js +0 -1
  532. package/dist/mint-components/p-54ffae13.entry.js +0 -194
  533. package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
  534. package/dist/mint-components/p-639d3dd3.entry.js +0 -1
  535. package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
  536. package/dist/mint-components/p-84b25a46.entry.js +0 -1
  537. package/dist/mint-components/p-8690f682.system.js +0 -1
  538. package/dist/mint-components/p-93576222.system.js +0 -1
  539. package/dist/mint-components/p-947fe79b.entry.js +0 -1
  540. package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
  541. package/dist/mint-components/p-974070c4.system.entry.js +0 -1
  542. package/dist/mint-components/p-99c15c5e.entry.js +0 -1
  543. package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
  544. package/dist/mint-components/p-9dcfa187.system.js +0 -1
  545. package/dist/mint-components/p-9ec008cb.system.entry.js +0 -1
  546. package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
  547. package/dist/mint-components/p-b1e8a802.entry.js +0 -1
  548. package/dist/mint-components/p-b2a99637.system.js +0 -1
  549. package/dist/mint-components/p-c510fb88.entry.js +0 -1
  550. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  551. package/dist/mint-components/p-c92a743e.entry.js +0 -1
  552. package/dist/mint-components/p-c9fb6102.entry.js +0 -1
  553. package/dist/mint-components/p-ca809fdd.system.js +0 -1
  554. package/dist/mint-components/p-d238372a.system.entry.js +0 -1
  555. package/dist/mint-components/p-d49e2f7a.js +0 -1
  556. package/dist/mint-components/p-d7806f31.js +0 -48
  557. package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
  558. package/dist/mint-components/p-def516b8.system.js +0 -1
  559. package/dist/mint-components/p-e01ac27c.system.js +0 -1
  560. package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
  561. package/dist/mint-components/p-f340214f.entry.js +0 -25
  562. package/dist/mint-components/p-f36e33ff.entry.js +0 -13
  563. package/dist/mint-components/p-f55060db.js +0 -1
  564. package/dist/mint-components/p-f655a7df.js +0 -1
  565. package/dist/mint-components/p-fffc3590.entry.js +0 -9
  566. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
  567. package/dist/types/global/android.d.ts +0 -7
  568. package/dist/types/global/demo.d.ts +0 -2
  569. package/dist/types/stories/features.d.ts +0 -4
  570. package/dist/types/stories/templates.d.ts +0 -4
@@ -2,35 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
- require('./global-c3637175.js');
8
- const index_module = require('./index.module-b8d9d0ba.js');
5
+ const index = require('./index-ff72278c.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-8f69ed33.js');
7
+ require('./global-ae358e7d.js');
8
+ const index_module = require('./index.module-191d84c2.js');
9
9
  require('./cjs-1066ec21.js');
10
- require('./mixins-fe9d4112.js');
11
- const JSS = require('./JSS-8503a151.js');
12
- const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- require('./useChildElements-410d2435.js');
14
- const luxon = require('./luxon-05098e19.js');
15
10
  require('./utils-6847bc06.js');
16
- require('./sqm-text-span-view-e1cd9bd3.js');
17
- const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
18
- const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
11
+ const JSS = require('./JSS-8503a151.js');
12
+ const copyTextView = require('./copy-text-view-f1ce8888.js');
13
+ require('./mixins-fe9d4112.js');
14
+ const GenericTableView = require('./GenericTableView-bb2fcd95.js');
15
+ require('./useChildElements-d64dfedd.js');
16
+ const luxon = require('./luxon-45228ff5.js');
17
+ require('./sqm-text-span-view-38222836.js');
18
+ const sqmAssetCardView = require('./sqm-asset-card-view-30ca5188.js');
19
+ const sqmCloseButtonView = require('./sqm-close-button-view-6a709e00.js');
19
20
  require('./index-8c6255f5.js');
20
- const emailRegistrationView = require('./email-registration-view-248652bb.js');
21
- const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
22
- const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
23
- const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
24
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a2135064.js');
25
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-050dbe0f.js');
26
- const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
27
- const sqmPortalProfileView = require('./sqm-portal-profile-view-d97086bc.js');
28
- require('./utilities-f7de6c04.js');
29
- const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
30
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
31
- const ShadowViewAddon = require('./ShadowViewAddon-040cffad.js');
32
- const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
33
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-5d3a2d35.js');
21
+ const emailRegistrationView = require('./email-registration-view-54cedb43.js');
22
+ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-317eb84f.js');
23
+ const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-1912b773.js');
24
+ const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-215eba1d.js');
25
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-67d1184c.js');
26
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-1a852b01.js');
27
+ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-24339191.js');
28
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-a2ed3b27.js');
29
+ require('./utilities-cec246be.js');
30
+ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-1b85b8cf.js');
31
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cc3c87c3.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-652aa5e4.js');
33
+ const sqmPortalContainerView = require('./sqm-portal-container-view-976bf0f5.js');
34
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-bfea11c8.js');
34
35
 
35
36
  /**
36
37
  * lodash (Custom Build) <https://lodash.com/>
@@ -1628,6 +1629,19 @@ const EmptyState = /*#__PURE__*/Object.freeze({
1628
1629
  SlottedIntoComponent: SlottedIntoComponent
1629
1630
  });
1630
1631
 
1632
+ const Pagination_stories = {
1633
+ title: "Components/Link Button",
1634
+ };
1635
+ const Default = () => {
1636
+ return index.h("sqm-pagination", null);
1637
+ };
1638
+
1639
+ const Pagination = /*#__PURE__*/Object.freeze({
1640
+ __proto__: null,
1641
+ 'default': Pagination_stories,
1642
+ Default: Default
1643
+ });
1644
+
1631
1645
  const scenario$2 = "@author:johan\n@owner:johan\nFeature: Share Link\n\n The share link component is a box that allows users to see and copy their share link for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users sharelink can be copied to their clipboard\n Given tooltipText is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's share link\n When the clipboard icon is clicked\n Then the link is copied to clipboard\n And a tooltip appears for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share link is \"https://www.example.com/sharelink/abc\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share link is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their sharelink\n Given a user viewing the share link component\n And the component is rendered for \"program-a\"\n When they click to copy their link\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share link text\n Given a user is editing the share link component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the share link component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
1632
1646
 
1633
1647
  const ShareLink_stories = {
@@ -1636,13 +1650,13 @@ const ShareLink_stories = {
1636
1650
  scenario: scenario$2,
1637
1651
  },
1638
1652
  };
1639
- const Default = () => {
1653
+ const Default$1 = () => {
1640
1654
  const props = {
1641
1655
  copyString: "https://noah.example.com",
1642
1656
  open: false,
1643
1657
  tooltiptext: "Copied!",
1644
1658
  };
1645
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1659
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1646
1660
  };
1647
1661
  const Tooltip = () => {
1648
1662
  const props = {
@@ -1650,7 +1664,7 @@ const Tooltip = () => {
1650
1664
  tooltiptext: "Some text for the tooltip",
1651
1665
  open: true,
1652
1666
  };
1653
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1667
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1654
1668
  };
1655
1669
  const Disabled = () => {
1656
1670
  const props = {
@@ -1659,7 +1673,7 @@ const Disabled = () => {
1659
1673
  open: true,
1660
1674
  tooltiptext: "Copied!",
1661
1675
  };
1662
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1676
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1663
1677
  };
1664
1678
  const Error$1 = () => {
1665
1679
  const props = {
@@ -1669,7 +1683,7 @@ const Error$1 = () => {
1669
1683
  tooltiptext: "Copied!",
1670
1684
  error: true,
1671
1685
  };
1672
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
1686
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
1673
1687
  };
1674
1688
  const TextAlignCenter = () => {
1675
1689
  return index.h("sqm-share-link", { textAlign: "center" });
@@ -1678,7 +1692,7 @@ const TextAlignRight = () => {
1678
1692
  return index.h("sqm-share-link", { textAlign: "right" });
1679
1693
  };
1680
1694
  const CopyButton = () => {
1681
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
1695
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
1682
1696
  copyString: "https://noah.example.com",
1683
1697
  open: false,
1684
1698
  tooltiptext: "Copied!",
@@ -1686,7 +1700,7 @@ const CopyButton = () => {
1686
1700
  })));
1687
1701
  };
1688
1702
  const CopyButtonBelow = () => {
1689
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
1703
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
1690
1704
  copyString: "https://noah.example.com",
1691
1705
  open: false,
1692
1706
  tooltiptext: "Copied!",
@@ -1700,7 +1714,7 @@ const FullStack = () => {
1700
1714
  const ShareLink = /*#__PURE__*/Object.freeze({
1701
1715
  __proto__: null,
1702
1716
  'default': ShareLink_stories,
1703
- Default: Default,
1717
+ Default: Default$1,
1704
1718
  Tooltip: Tooltip,
1705
1719
  Disabled: Disabled,
1706
1720
  Error: Error$1,
@@ -1719,7 +1733,7 @@ const BigStat_stories = {
1719
1733
  scenario: scenario$3,
1720
1734
  },
1721
1735
  };
1722
- const Default$1 = () => {
1736
+ const Default$2 = () => {
1723
1737
  const props = { value: 990000, statvalue: "9.900,00", loading: false };
1724
1738
  return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props), "Big stat");
1725
1739
  };
@@ -1802,7 +1816,7 @@ const MultipleStats = () => {
1802
1816
  const BigStat = /*#__PURE__*/Object.freeze({
1803
1817
  __proto__: null,
1804
1818
  'default': BigStat_stories,
1805
- Default: Default$1,
1819
+ Default: Default$2,
1806
1820
  LeftAlign: LeftAlign,
1807
1821
  RightAlign: RightAlign,
1808
1822
  FlexReverse: FlexReverse,
@@ -2539,36 +2553,36 @@ const routes = `
2539
2553
  `;
2540
2554
  const TemplateNavigation = createHookStory(() => {
2541
2555
  return (index.h("div", null,
2542
- index.h("button", { onClick: () => index_module.xn.push("/") }, "/"),
2543
- index.h("button", { onClick: () => index_module.xn.push("/foo") }, "/foo"),
2544
- index.h("button", { onClick: () => index_module.xn.push("/bar") }, "/bar"),
2545
- index.h("button", { onClick: () => index_module.xn.push("/baz/bang") }, "/baz/bang"),
2546
- index.h("button", { onClick: () => index_module.xn.push("/refer") }, "/refer"),
2547
- index.h("button", { onClick: () => index_module.xn.push("/refer/1") }, "/refer/1"),
2548
- index.h("button", { onClick: () => index_module.xn.push("/refer/2") }, "/refer/2"),
2549
- index.h("button", { onClick: () => index_module.xn.back() }, "Back"),
2550
- index.h("button", { onClick: () => index_module.xn.forward() }, "Forward"),
2556
+ index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
2557
+ index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
2558
+ index.h("button", { onClick: () => index_module.$n.push("/bar") }, "/bar"),
2559
+ index.h("button", { onClick: () => index_module.$n.push("/baz/bang") }, "/baz/bang"),
2560
+ index.h("button", { onClick: () => index_module.$n.push("/refer") }, "/refer"),
2561
+ index.h("button", { onClick: () => index_module.$n.push("/refer/1") }, "/refer/1"),
2562
+ index.h("button", { onClick: () => index_module.$n.push("/refer/2") }, "/refer/2"),
2563
+ index.h("button", { onClick: () => index_module.$n.back() }, "Back"),
2564
+ index.h("button", { onClick: () => index_module.$n.forward() }, "Forward"),
2551
2565
  index.h("hr", null),
2552
2566
  index.h("sqm-router", { innerHTML: templates })));
2553
2567
  });
2554
2568
  const RouteNavigation = createHookStory(() => {
2555
2569
  return (index.h("div", null,
2556
- index.h("button", { onClick: () => index_module.xn.push("/") }, "/"),
2557
- index.h("button", { onClick: () => index_module.xn.push("/foo") }, "/foo"),
2558
- index.h("button", { onClick: () => index_module.xn.push("/bar") }, "/bar"),
2559
- index.h("button", { onClick: () => index_module.xn.push("/baz/bang") }, "/baz/bang"),
2560
- index.h("button", { onClick: () => index_module.xn.push("/refer") }, "/refer"),
2561
- index.h("button", { onClick: () => index_module.xn.push("/refer/1") }, "/refer/1"),
2562
- index.h("button", { onClick: () => index_module.xn.push("/refer/2") }, "/refer/2"),
2563
- index.h("button", { onClick: () => index_module.xn.back() }, "Back"),
2564
- index.h("button", { onClick: () => index_module.xn.forward() }, "Forward"),
2570
+ index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
2571
+ index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
2572
+ index.h("button", { onClick: () => index_module.$n.push("/bar") }, "/bar"),
2573
+ index.h("button", { onClick: () => index_module.$n.push("/baz/bang") }, "/baz/bang"),
2574
+ index.h("button", { onClick: () => index_module.$n.push("/refer") }, "/refer"),
2575
+ index.h("button", { onClick: () => index_module.$n.push("/refer/1") }, "/refer/1"),
2576
+ index.h("button", { onClick: () => index_module.$n.push("/refer/2") }, "/refer/2"),
2577
+ index.h("button", { onClick: () => index_module.$n.back() }, "Back"),
2578
+ index.h("button", { onClick: () => index_module.$n.forward() }, "Forward"),
2565
2579
  index.h("hr", null),
2566
2580
  index.h("sqm-router", { innerHTML: routes })));
2567
2581
  });
2568
2582
  const Styling = createHookStory(() => {
2569
2583
  return (index.h("div", null,
2570
- index.h("button", { onClick: () => index_module.xn.push("/") }, "/"),
2571
- index.h("button", { onClick: () => index_module.xn.push("/foo") }, "/foo"),
2584
+ index.h("button", { onClick: () => index_module.$n.push("/") }, "/"),
2585
+ index.h("button", { onClick: () => index_module.$n.push("/foo") }, "/foo"),
2572
2586
  index.h("hr", null),
2573
2587
  index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
2574
2588
  index.h("sqm-router", { innerHTML: `<template path="/">
@@ -2582,7 +2596,7 @@ function useTemplate(templateString) {
2582
2596
  const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
2583
2597
  function setPath(e) {
2584
2598
  //@ts-ignore
2585
- index_module.xn.push(e.target.value);
2599
+ index_module.$n.push(e.target.value);
2586
2600
  }
2587
2601
  return {
2588
2602
  states: { previewTemplate, editedTemplate },
@@ -2746,8 +2760,8 @@ const FullStackFrame = () => {
2746
2760
  "Current path:",
2747
2761
  " ",
2748
2762
  index.h("code", null,
2749
- index.h("strong", null, (_a = index_module.jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2750
- index.h("button", { onClick: index_module.xn.back }, "Go Back")));
2763
+ index.h("strong", null, (_a = index_module.Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2764
+ index.h("button", { onClick: index_module.$n.back }, "Go Back")));
2751
2765
  };
2752
2766
  const FullStackFrameLoggedOut = () => {
2753
2767
  var _a;
@@ -2771,8 +2785,8 @@ const FullStackFrameLoggedOut = () => {
2771
2785
  "Current path:",
2772
2786
  " ",
2773
2787
  index.h("code", null,
2774
- index.h("strong", null, (_a = index_module.jn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2775
- index.h("button", { onClick: index_module.xn.back }, "Go Back")));
2788
+ index.h("strong", null, (_a = index_module.Sn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2789
+ index.h("button", { onClick: index_module.$n.back }, "Go Back")));
2776
2790
  };
2777
2791
 
2778
2792
  const PortalFrame = /*#__PURE__*/Object.freeze({
@@ -2891,7 +2905,7 @@ const BareBonesView = createHookStory(() => {
2891
2905
  });
2892
2906
  const RegularView = createHookStory(() => {
2893
2907
  setupGraphQL$1();
2894
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2908
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2895
2909
  programId: "klip-referral-program",
2896
2910
  tooltiptext: "Copied to clipboard",
2897
2911
  tooltiplifespan: 1000,
@@ -2899,7 +2913,7 @@ const RegularView = createHookStory(() => {
2899
2913
  });
2900
2914
  const FastTooltip = createHookStory(() => {
2901
2915
  setupGraphQL$1();
2902
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2916
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
2903
2917
  programId: "klip-referral-program",
2904
2918
  tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
2905
2919
  tooltiplifespan: 500,
@@ -3499,7 +3513,7 @@ function useExchangeButton() {
3499
3513
  const { id, accountId } = setupGraphQL$6();
3500
3514
  const [points, setPoints] = stencilHooks_module.useState(10);
3501
3515
  const [rate, setRate] = stencilHooks_module.useState(100);
3502
- const [exchange, { data, errors }] = index_module.an(EXCHANGE);
3516
+ const [exchange, { data, errors }] = index_module.Xe(EXCHANGE);
3503
3517
  return {
3504
3518
  states: {
3505
3519
  points,
@@ -3901,14 +3915,14 @@ const Dashboard = () => {
3901
3915
  padding: "none",
3902
3916
  label: (index.h("sqm-text", null,
3903
3917
  index.h("h3", null, "Share your referral link"))),
3904
- content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharelinkProps)),
3918
+ content: index.h(copyTextView.CopyTextView, Object.assign({}, sharelinkProps)),
3905
3919
  })),
3906
3920
  index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
3907
3921
  labelMargin: "small",
3908
3922
  padding: "none",
3909
3923
  label: (index.h("sqm-text", null,
3910
3924
  index.h("h3", null, "Share your referral code"))),
3911
- content: index.h(ShadowViewAddon.CopyTextView, Object.assign({}, sharecodeProps)),
3925
+ content: index.h(copyTextView.CopyTextView, Object.assign({}, sharecodeProps)),
3912
3926
  })),
3913
3927
  index.h(sqmPortalContainerView.PortalSectionView, Object.assign({}, {
3914
3928
  labelMargin: "small",
@@ -4070,6 +4084,8 @@ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito S
4070
4084
 
4071
4085
  const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4072
4086
 
4087
+ const promoCodeReferralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-referral-codes slot=\"right\">\n <sqm-pagination slot=\"pagination\"></sqm-pagination>\n <sqm-referral-code\n slot=\"shareCodes\"\n show-notification-text=\"true\"\n ></sqm-referral-code>\n <sqm-portal-container gap=\"small\" slot=\"shareButtons\">\n <sqm-share-button medium=\"email\"\n >Share via email</sqm-share-button\n >\n <sqm-share-button medium=\"fbmessenger\"\n >Share on Facebook</sqm-share-button\n >\n <sqm-share-button medium=\"whatsapp\"\n >Share on WhatsApp</sqm-share-button\n >\n </sqm-portal-container>\n </sqm-referral-codes>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4088
+
4073
4089
  const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4074
4090
 
4075
4091
  const instantAccessReferrerShareWidget = "<sqm-hero\n background=\"https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png\"\n columns=\"2\"\n padding-size=\"medium\"\n wrap-direction=\"wrap\"\n secondary-background=\"#FFFFFF\"\n min-height=\"200\"\n ><sqm-referral-card\n vertical-alignment=\"start\"\n slot=\"secondary-column\"\n padding-bottom=\"small\"\n padding-left=\"x-large\"\n padding-right=\"x-large\"\n padding-top=\"small\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"none\"\n padding=\"none\"\n slot=\"header\"\n ><h1 slot=\"label\">Invite your friends to unlock rewards!</h1>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get a &#x24;50 in credit for each friend you refer.\n </p></sqm-titled-section\n >\n <sqm-portal-container\n gap=\"small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"left\"\n >\n <p style=\"margin: 0\">Choose how you want to share:</p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button> </sqm-portal-container\n ><sqm-portal-container\n display=\"flex\"\n slot=\"footer\"\n gap=\"small\"\n justify-content=\"center\"\n >\n <sqm-logout-current-user\n user-identification-text=\"{email}\"\n switch-user-link=\"#\"\n switch-user-text=\"not you?\"\n ></sqm-logout-current-user>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n show-powered-by=\"true\"\n padding-bottom=\"x-small\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n hide-support-text\n terms-text=\"Terms And Conditions\"\n terms-link=\"https://example.com\"\n ></sqm-portal-footer></sqm-portal-container\n ></sqm-referral-card>\n</sqm-hero>\n";
@@ -4100,16 +4116,16 @@ function DefaultTemplateView(props) {
4100
4116
  gridTemplateColumns: "repeat(9, 80px)",
4101
4117
  gridGap: "10px",
4102
4118
  } },
4103
- index.h("button", { onClick: () => index_module.xn.push("/") }, "Dashboard"),
4104
- props.leadSubmit && (index.h("button", { onClick: () => index_module.xn.push("/refer") }, "Submit a Referral")),
4105
- index.h("button", { onClick: () => index_module.xn.push("/activity") }, "Activity"),
4106
- index.h("button", { onClick: () => index_module.xn.push("/editProfile") }, "Edit Profile"),
4107
- index.h("button", { onClick: () => index_module.xn.push("/login") }, "Login"),
4108
- index.h("button", { onClick: () => index_module.xn.push("/register") }, "Register"),
4109
- index.h("button", { onClick: () => index_module.xn.push("/emailVerification") }, "Email Verification"),
4110
- index.h("button", { onClick: () => index_module.xn.push("/verifyEmail") }, "Verify Email"),
4111
- index.h("button", { onClick: () => index_module.xn.push("/forgotPassword") }, "Forgot Password"),
4112
- index.h("button", { onClick: () => index_module.xn.push("/resetPassword") }, "Reset Password")),
4119
+ index.h("button", { onClick: () => index_module.$n.push("/") }, "Dashboard"),
4120
+ props.leadSubmit && (index.h("button", { onClick: () => index_module.$n.push("/refer") }, "Submit a Referral")),
4121
+ index.h("button", { onClick: () => index_module.$n.push("/activity") }, "Activity"),
4122
+ index.h("button", { onClick: () => index_module.$n.push("/editProfile") }, "Edit Profile"),
4123
+ index.h("button", { onClick: () => index_module.$n.push("/login") }, "Login"),
4124
+ index.h("button", { onClick: () => index_module.$n.push("/register") }, "Register"),
4125
+ index.h("button", { onClick: () => index_module.$n.push("/emailVerification") }, "Email Verification"),
4126
+ index.h("button", { onClick: () => index_module.$n.push("/verifyEmail") }, "Verify Email"),
4127
+ index.h("button", { onClick: () => index_module.$n.push("/forgotPassword") }, "Forgot Password"),
4128
+ index.h("button", { onClick: () => index_module.$n.push("/resetPassword") }, "Reset Password")),
4113
4129
  index.h("br", null),
4114
4130
  index.h("div", { innerHTML: states.previewTemplate })));
4115
4131
  }
@@ -7126,6 +7142,10 @@ const Loyalty = createHookStory(() => {
7126
7142
  const { states, callbacks } = useTemplate$1(loyaltyWidget);
7127
7143
  return (index.h(DefaultTemplateView, { states: states, callbacks: callbacks, template: loyaltyWidget }));
7128
7144
  });
7145
+ const PromoCodeReferralWidget = createHookStory(() => {
7146
+ const { states, callbacks } = useTemplate$1(promoCodeReferralWidget);
7147
+ return (index.h(DefaultTemplateView, { states: states, callbacks: callbacks, template: referralWidget }));
7148
+ });
7129
7149
  const InstantAccessReferrerShareWidget = createHookStory(() => {
7130
7150
  const { states, callbacks } = useTemplate$1(instantAccessReferrerShareWidget);
7131
7151
  return index.h(TemplateView$1, { states: states, callbacks: callbacks });
@@ -7157,6 +7177,7 @@ const Widget = /*#__PURE__*/Object.freeze({
7157
7177
  ReferralWidget: ReferralWidget,
7158
7178
  MonoWidget: MonoWidget,
7159
7179
  Loyalty: Loyalty,
7180
+ PromoCodeReferralWidget: PromoCodeReferralWidget,
7160
7181
  InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
7161
7182
  PaypalMonoWidget: PaypalMonoWidget,
7162
7183
  PaypalReferralWidget: PaypalReferralWidget,
@@ -7276,14 +7297,14 @@ const loadingProps = {
7276
7297
  },
7277
7298
  content: { pageLabel: "Sign in to your account" },
7278
7299
  };
7279
- const Default$2 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7300
+ const Default$3 = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, defaultProps$2));
7280
7301
  const LoginWithError = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, errorProps));
7281
7302
  const LoginLoading = () => index.h(ShadowViewAddon.PortalLoginView, Object.assign({}, loadingProps));
7282
7303
 
7283
7304
  const PortalLogin = /*#__PURE__*/Object.freeze({
7284
7305
  __proto__: null,
7285
7306
  'default': PortalLogin_stories,
7286
- Default: Default$2,
7307
+ Default: Default$3,
7287
7308
  LoginWithError: LoginWithError,
7288
7309
  LoginLoading: LoginLoading
7289
7310
  });
@@ -7386,7 +7407,7 @@ const slottedProps = {
7386
7407
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", label: "Slotted Input 2", required: true }))),
7387
7408
  },
7388
7409
  };
7389
- const Default$3 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7410
+ const Default$4 = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultProps$3));
7390
7411
  const RegisterWithError = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, errorProps$1));
7391
7412
  const RegisterLoading = () => index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, loadingProps$1));
7392
7413
  const FieldsHidden = () => {
@@ -7413,7 +7434,7 @@ const TermsAndConditions = () => (index.h(ShadowViewAddon.PortalRegisterView, Ob
7413
7434
  const PortalRegister = /*#__PURE__*/Object.freeze({
7414
7435
  __proto__: null,
7415
7436
  'default': PortalRegister_stories,
7416
- Default: Default$3,
7437
+ Default: Default$4,
7417
7438
  RegisterWithError: RegisterWithError,
7418
7439
  RegisterLoading: RegisterLoading,
7419
7440
  FieldsHidden: FieldsHidden,
@@ -7489,7 +7510,7 @@ const successProps = {
7489
7510
  messageSlot: "Enter your email below to receive a password reset link.",
7490
7511
  },
7491
7512
  };
7492
- const Default$4 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7513
+ const Default$5 = () => index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, defaultProps$4));
7493
7514
  const ForgotPasswordWithError = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, errorProps$2)));
7494
7515
  const ForgotPasswordLoading = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, loadingProps$2)));
7495
7516
  const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, Object.assign({}, successProps)));
@@ -7497,7 +7518,7 @@ const ForgotPasswordSuccess = () => (index.h(sqmPortalForgotPasswordView.PortalF
7497
7518
  const PortalForgotPassword = /*#__PURE__*/Object.freeze({
7498
7519
  __proto__: null,
7499
7520
  'default': PortalForgotPassword_stories,
7500
- Default: Default$4,
7521
+ Default: Default$5,
7501
7522
  ForgotPasswordWithError: ForgotPasswordWithError,
7502
7523
  ForgotPasswordLoading: ForgotPasswordLoading,
7503
7524
  ForgotPasswordSuccess: ForgotPasswordSuccess
@@ -7568,7 +7589,7 @@ const loadingVerificationProps = {
7568
7589
  callbacks: defaultCallbacks,
7569
7590
  content: defaultContent,
7570
7591
  };
7571
- const Default$5 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7592
+ const Default$6 = () => index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, defaultProps$5));
7572
7593
  const EmailVerificationWithError = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, errorProps$3)));
7573
7594
  const EmailVerificationLoading = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingProps$3)));
7574
7595
  const EmailVerificationCheckingVerification = () => (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, Object.assign({}, loadingVerificationProps)));
@@ -7577,7 +7598,7 @@ const EmailVerificationSuccess = () => (index.h(sqmPortalEmailVerificationView.P
7577
7598
  const PortalEmailVerification = /*#__PURE__*/Object.freeze({
7578
7599
  __proto__: null,
7579
7600
  'default': PortalEmailVerification_stories,
7580
- Default: Default$5,
7601
+ Default: Default$6,
7581
7602
  EmailVerificationWithError: EmailVerificationWithError,
7582
7603
  EmailVerificationLoading: EmailVerificationLoading,
7583
7604
  EmailVerificationCheckingVerification: EmailVerificationCheckingVerification,
@@ -7730,7 +7751,7 @@ const validatingCodeProps = {
7730
7751
  failed: () => console.log("failed"),
7731
7752
  },
7732
7753
  };
7733
- const Default$6 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7754
+ const Default$7 = () => index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultProps$6));
7734
7755
  const DefaultWithoutConfirmField = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, defaultPropsNoConfirm)));
7735
7756
  const ResetPasswordWithError = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, errorProps$4)));
7736
7757
  const ResetPasswordLoading = () => (index.h(sqmPortalResetPasswordView.PortalResetPasswordView, Object.assign({}, loadingProps$4)));
@@ -7740,7 +7761,7 @@ const CodeValidating = () => (index.h(sqmPortalResetPasswordView.PortalResetPass
7740
7761
  const PortalResetPassword = /*#__PURE__*/Object.freeze({
7741
7762
  __proto__: null,
7742
7763
  'default': PortalResetPassword_stories,
7743
- Default: Default$6,
7764
+ Default: Default$7,
7744
7765
  DefaultWithoutConfirmField: DefaultWithoutConfirmField,
7745
7766
  ResetPasswordWithError: ResetPasswordWithError,
7746
7767
  ResetPasswordLoading: ResetPasswordLoading,
@@ -7803,7 +7824,7 @@ const PortalVerifyEmail = /*#__PURE__*/Object.freeze({
7803
7824
  const AssetCard_stories = {
7804
7825
  title: "Components/Asset Card",
7805
7826
  };
7806
- const Default$7 = () => {
7827
+ const Default$8 = () => {
7807
7828
  const props = {
7808
7829
  text: { titleText: "Marketing Banner" },
7809
7830
  imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
@@ -7831,7 +7852,7 @@ const CardWithNoImg = () => {
7831
7852
  const AssetCard = /*#__PURE__*/Object.freeze({
7832
7853
  __proto__: null,
7833
7854
  'default': AssetCard_stories,
7834
- Default: Default$7,
7855
+ Default: Default$8,
7835
7856
  CardWithLongText: CardWithLongText,
7836
7857
  CardWithNoImg: CardWithNoImg
7837
7858
  });
@@ -8052,7 +8073,7 @@ const successProps$3 = {
8052
8073
  submit: (e) => console.log("Submit", e),
8053
8074
  },
8054
8075
  };
8055
- const Default$8 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8076
+ const Default$9 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, defaultProps$7));
8056
8077
  const Open = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, openProps));
8057
8078
  const Error$2 = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, errorProps$6));
8058
8079
  const PaswordError = () => (index.h(ShadowViewAddon.PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
@@ -8062,7 +8083,7 @@ const Success = () => index.h(ShadowViewAddon.PortalChangePasswordView, Object.a
8062
8083
  const ChangePassword = /*#__PURE__*/Object.freeze({
8063
8084
  __proto__: null,
8064
8085
  'default': ChangePassword_stories,
8065
- Default: Default$8,
8086
+ Default: Default$9,
8066
8087
  Open: Open,
8067
8088
  Error: Error$2,
8068
8089
  PaswordError: PaswordError,
@@ -8289,7 +8310,7 @@ const successProps$4 = {
8289
8310
  onChange: (e) => console.log(e),
8290
8311
  },
8291
8312
  };
8292
- const Default$9 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8313
+ const Default$a = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, defaultProps$8));
8293
8314
  const DefaultNoCountry = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, noCountry));
8294
8315
  const Loading$2 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, loadingProps$6));
8295
8316
  const Disabled$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, disabledProps));
@@ -8299,7 +8320,7 @@ const Success$1 = () => index.h(sqmPortalProfileView.PortalProfileView, Object.a
8299
8320
  const PortalProfile = /*#__PURE__*/Object.freeze({
8300
8321
  __proto__: null,
8301
8322
  'default': PortalProfile_stories,
8302
- Default: Default$9,
8323
+ Default: Default$a,
8303
8324
  DefaultNoCountry: DefaultNoCountry,
8304
8325
  Loading: Loading$2,
8305
8326
  Disabled: Disabled$1,
@@ -8438,6 +8459,9 @@ const deniedReward = {
8438
8459
  const payoutFailedReward = {
8439
8460
  statuses: ["PAYOUT_FAILED"],
8440
8461
  };
8462
+ const payoutCancelledReward = {
8463
+ statuses: ["PAYOUT_CANCELLED"],
8464
+ };
8441
8465
  const pendingReviewReward = {
8442
8466
  statuses: ["PENDING_REVIEW"],
8443
8467
  };
@@ -8517,8 +8541,8 @@ function getMonths() {
8517
8541
  function getYears() {
8518
8542
  return luxon.luxon.DateTime.now().toMillis() + 200000000000;
8519
8543
  }
8520
- const statusText = "{status, select, AVAILABLE {Available} PAYOUT_SENT {Payout Sent} CANCELLED {Cancelled} PAYOUT_FAILED {Payout Failed} PENDING {Pending} PENDING_REVIEW {Pending} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
8521
- const statusLongText = "{status, select, AVAILABLE {Reward expiring on} PAYOUT_SENT {Reward approved for payout and was scheduled for payment based on your settings.} DENIED {Denied on} EXPIRED {Reward expired on} REDEEMED {Redeemed} other {Not available} }";
8544
+ const statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
8545
+ const statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward approved for payout and was scheduled for payment based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
8522
8546
  const PendingNoUnpend = () => {
8523
8547
  return (index.h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReward, ...nullScheduledFor }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
8524
8548
  };
@@ -8601,8 +8625,7 @@ const PayoutFailed = () => {
8601
8625
  },
8602
8626
  ], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
8603
8627
  };
8604
- // AL: TODO payout cancelled
8605
- const PayoutCancelled = () => {
8628
+ const PayoutDenied = () => {
8606
8629
  return (index.h("sqm-referral-table-rewards-cell", { rewards: [
8607
8630
  {
8608
8631
  ...cashPayoutSentReward,
@@ -8612,6 +8635,16 @@ const PayoutCancelled = () => {
8612
8635
  },
8613
8636
  ], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
8614
8637
  };
8638
+ const PayoutCancelled = () => {
8639
+ return (index.h("sqm-referral-table-rewards-cell", { rewards: [
8640
+ {
8641
+ ...cashPayoutSentReward,
8642
+ ...payoutCancelledReward,
8643
+ datePayoutRetried: getDays(),
8644
+ dateGiven: null,
8645
+ },
8646
+ ], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
8647
+ };
8615
8648
  const PendingReview = () => {
8616
8649
  return (index.h("sqm-referral-table-rewards-cell", { rewards: [{ ...baseReward, ...pendingReviewReward }], statusText: statusText, statusLongText: statusLongText, fuelTankText: "Your code is", rewardReceivedText: "Reward received on", expiringText: "Expiring in", pendingForText: "{status} for {date}", deniedHelpText: "Contact support if you think this is a mistake." }));
8617
8650
  };
@@ -8669,6 +8702,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
8669
8702
  Expired: Expired,
8670
8703
  Denied: Denied,
8671
8704
  PayoutFailed: PayoutFailed,
8705
+ PayoutDenied: PayoutDenied,
8672
8706
  PayoutCancelled: PayoutCancelled,
8673
8707
  PendingReview: PendingReview,
8674
8708
  PendingTaxReview: PendingTaxReview,
@@ -8899,6 +8933,12 @@ const simpleUserTableProps = {
8899
8933
  index.h(DateCell, null),
8900
8934
  index.h(PayoutFailed, null),
8901
8935
  ],
8936
+ [
8937
+ index.h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
8938
+ index.h(Converted, null),
8939
+ index.h(DateCell, null),
8940
+ index.h(PayoutCancelled, null),
8941
+ ],
8902
8942
  [
8903
8943
  index.h("sqm-referral-table-user-cell", { name: "Sarah Joseph" }),
8904
8944
  index.h(Converted, null),
@@ -10259,7 +10299,7 @@ const ProgramMenu = /*#__PURE__*/Object.freeze({
10259
10299
  const PoweredByImg_stories = {
10260
10300
  title: "Powered By",
10261
10301
  };
10262
- const Default$a = () => {
10302
+ const Default$b = () => {
10263
10303
  return index.h(ShadowViewAddon.PoweredByImg, null);
10264
10304
  };
10265
10305
  const CustomColor = () => {
@@ -10272,7 +10312,7 @@ const CustomWidthAndHeight = () => {
10272
10312
  const PoweredByImg = /*#__PURE__*/Object.freeze({
10273
10313
  __proto__: null,
10274
10314
  'default': PoweredByImg_stories,
10275
- Default: Default$a,
10315
+ Default: Default$b,
10276
10316
  CustomColor: CustomColor,
10277
10317
  CustomWidthAndHeight: CustomWidthAndHeight
10278
10318
  });
@@ -10659,7 +10699,7 @@ const defaultRegisterProps = {
10659
10699
  invalidEmailErrorMessage: "Must be a valid email address",
10660
10700
  },
10661
10701
  };
10662
- const Default$b = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10702
+ const Default$c = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
10663
10703
  const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10664
10704
  ...defaultProps$a.states,
10665
10705
  checked: true,
@@ -10714,7 +10754,7 @@ const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowV
10714
10754
  const CheckboxField = /*#__PURE__*/Object.freeze({
10715
10755
  __proto__: null,
10716
10756
  'default': CheckboxField_stories,
10717
- Default: Default$b,
10757
+ Default: Default$c,
10718
10758
  DefaultChecked: DefaultChecked,
10719
10759
  CustomLabel: CustomLabel,
10720
10760
  Error: Error$4,
@@ -10816,7 +10856,7 @@ const defaultProps$b = {
10816
10856
  ],
10817
10857
  },
10818
10858
  };
10819
- const Default$c = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10859
+ const Default$d = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
10820
10860
  const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10821
10861
  ...defaultProps$b.content,
10822
10862
  dropdownLabel: "Pick your favorite",
@@ -10844,7 +10884,7 @@ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
10844
10884
  const DropdownField = /*#__PURE__*/Object.freeze({
10845
10885
  __proto__: null,
10846
10886
  'default': DropdownField_stories,
10847
- Default: Default$c,
10887
+ Default: Default$d,
10848
10888
  CustomLabel: CustomLabel$1,
10849
10889
  Error: Error$5,
10850
10890
  CustomError: CustomError$1
@@ -10954,7 +10994,7 @@ const defaultRegisterProps$1 = {
10954
10994
  invalidEmailErrorMessage: "Must be a valid email address",
10955
10995
  },
10956
10996
  };
10957
- const Default$d = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10997
+ const Default$e = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c));
10958
10998
  const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10959
10999
  const Error$6 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { states: {
10960
11000
  ...defaultProps$c.states,
@@ -11004,7 +11044,7 @@ const RegistrationFieldCustomLabel = () => (index.h(ShadowViewAddon.PortalRegist
11004
11044
  const InputField = /*#__PURE__*/Object.freeze({
11005
11045
  __proto__: null,
11006
11046
  'default': InputField_stories,
11007
- Default: Default$d,
11047
+ Default: Default$e,
11008
11048
  CustomLabel: CustomLabel$2,
11009
11049
  Error: Error$6,
11010
11050
  CustomError: CustomError$2,
@@ -11754,7 +11794,7 @@ const scenario2 = "@author:derek\n@owner:derek\nFeature: Reward Table reward Col
11754
11794
 
11755
11795
  const scenario3 = "@author:derek @owner:derek\nFeature: Reward Table Status Column\n Shows the status of each reward\n\n Background: \n Given the status column is included in the reward table\n\n @motivating @ui\n Scenario Outline: The title of the status column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the status column is shown with <columnTitle>\n\n Examples: \n | value | columnTitle |\n | Status | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario Outline: The status column displays the status of each reward\n Given a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n\n Examples: \n | status | text | pillColour |\n | AVAILABLE | Available | Green |\n | CANCELLED | Cancelled | Red |\n | PENDING | Pending | Orange |\n | EXPIRED | Expired | Red |\n | REDEEMED | Redeemed | Blue |\n | PENDING_REVIEW | Pending | Orange |\n | PAYOUT_TRANSFERRED | Payout Approved | blue |\n | PAYOUT_NOT_YET_DUE | Payout Approved | blue |\n | PAYOUT_OVERDUE | Payout Failed | Red |\n | PAYOUT_REVERSED | Payout Cancelled | Red |\n | PENDING_TAX_REVIEW | Pending | Orange |\n | PENDING_NEW_TAX_FORM | Pending | Orange |\n | PENDING_TAX_SUBMISSION | Pending | Orange |\n | PENDING_PARTNER_CREATION | Pending | Orange |\n | DENIED | Denied | Red |\n\n @motivating\n Scenario Outline: Reward status related information is displayed under status pills\n Given a user\n And they have a <reward>\n And their program is\n When they view the reward table\n Then they see their reward\n And under the pill is <text>\n And the date is localized to the users locale\n\n Examples: \n | reward | text |\n | available reward with an expiry date | localized expiry date in format \"Month-Day-Year\" |\n | redeemed reward | localized redemption date in format \"Month-Day-Year\" |\n | expired reward | localized expired date in format \"Month-Day-Year\" |\n | cancelled reward | localized cancelled date in format \"Month-Day-Year\" |\n | pending reward with a end date | localized pending for date in format \"Month-Day-Year\" |\n | pending reward due to W9 | W-9 required |\n | pending reward due to fufillment error | Fulfillment error |\n | reward pending review of referral | Pending review |\n | pending reward due to no connected Impact partner | Complete your tax and cash payout setup to receive your rewards. |\n | pending reward due to an invalid tax document | Invalid tax form. Submit a new form to receive your rewards. |\n | pending reward due to user required to submit a tax document | Submit your tax documents to receive your rewards. |\n | pending reward due to tax document being in review | Awaiting tax form review. |\n | reward whose payout failed | Payout failed due to a fulfillment issue and is currently being retried. |\n | reward whose payout was approved | Reward approved for payout and was scheduled for payment based on your settings. |\n | reward whose payout was cancelled | If you think this is a mistake, contact our Support team. |\n | cancelled reward from denied referral | Flagged as fraud |\n\n @minutia\n Scenario Outline: Tax-related reward statuses are based on the user's Impact tax connection\n Given a user\n And they are in a program that has Impact tax handling enabled\n And they have at least one pending reward\n And the reward's pending reasons include \"PAYOUT_CONFIGURATION_MISSING\"\n Then the status description will be\n \"\"\"\n Complete your tax and cash payout setup to receive your rewards.\n \"\"\"\n\n @motivating\n Scenario Outline: Statuses can be customized\n Given the \"status-text\" prop is \"{status, select, AVAILABLE {Redeem me!} CANCELLED {Unavailable} PENDING {Coming soon!} EXPIRED {Past due} REDEEMED {Spent} PENDING_REVIEW {Pending Review!} PAYOUT_SENT {Payout Sent!} PAYOUT_FAILED {Payout Failed!} PENDING_TAX_REVIEW {Pending Tax Review!} PENDING_NEW_TAX_FORM {Pending new tax form!} PENDING_TAX_SUBMISSION {Pending tax submission!} PENDING_PARTNER_CREATION {Pending partner creation!} DENIED {Unlucky!}}\"\n And a user\n And they have a <status> reward\n When they view the reward table\n Then the status of their reward is displayed in <pillColour> pill with <text>\n\n Examples: \n | status | text | pillColour |\n | AVAILABLE | Redeem me! | Green |\n | CANCELLED | Unavailable | Red |\n | PENDING | Coming soon! | Orange |\n | EXPIRED | Past due | Red |\n | REDEEMED | Spent | Blue |\n | PENDING_REVIEW | Pending Review! | Orange |\n | PAYOUT_TRANSFERRED | Payout Approved! | Blue |\n | PAYOUT_NOT_YET_DUE | Payout Approved! | Blue |\n | PAYOUT_OVERDUE | Payout Failed! | Red |\n | PAYOUT_REVERSED | Payout Cancelled! | Red |\n | DENIED | Unlucky! | Red |\n\n @minutia @ui\n Scenario: Expiry status date text can be configured\n Given the \"expiry-text\" prop has <value>\n And a user with an available reward with an expiry date\n When they view the reward table\n Then they see <text> under the Available Status pill\n\n Examples: \n | value | text |\n | | Expires on <EXPIRY DATE> |\n | Redeem before | Redeem before <EXPIRY DATE> |\n";
11756
11796
 
11757
- const scenario4 = "@author:derek @owner:derek\nFeature: Reward Table Source Column\n Shows the source of each reward\n\n @motivating @ui\n Scenario Outline: The title of the source column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the source column is shown with <columnTitle>\n\n Examples:\n | value | columnTitle |\n | Source | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario: The source column displays manual if the reward is caused by a manual action\n Given a user with a \"MANUAL\" reward\n When they view the rewards table\n Then the source of their reward is displayed as \"Manual\"\n\n @motivating @ui\n Scenario: The source column displays the program name if the reward is caused automatically by a program\n Given a user with a \"AUTOMATED\" program reward\n And the program has name \"Loyalty Program\"\n When they view the rewards table\n Then the source of their reward is displayed as \"Loyalty Program\"\n\n @motivating @ui\n Scenario Outline: The source column displays customizable reward exchange text with amount if the reward is caused by reward exchange\n Given the \"reward-exchange-text\" prop is <propValue>\n And a user with a \"MANUAL\" reward\n But it was created by a reward exchange\n Then they view the rewards table\n Then the source displays <exchangeText>\n And under it displays the following\n | prettyRedeemedCredit → prettyValue |\n\n Examples:\n | propValue | exchangeText |\n | | Reward Exchange |\n | Exchanged | Exchanged |\n\n @motivating @ui\n Scenario Outline: The source column displays customizable referral information if the reward is from a referral\n Given the \"reward-source-text\" prop is <propValue>\n And a user with a referral reward\n And that reward has <rewardSource>\n When they view the rewards table\n Then then source displays <referralText>\n And under it displays the full name of the <referralUser>\n\n Examples:\n | propValue | rewardSource | referralText | referralUser |\n | | REFERRED | Referred by | referrer user |\n | | FRIEND_SIGNUP | Referral to | referred user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | REFERRED | Referred you | referrer user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | FRIEND_SIGNUP | You Referred | referred user |\n\n @motivating @ui\n Scenario Outline: The source column displays the existing name for a referral if either the first name or last name does not exist\n Given a user with a referral reward\n And referral user exists\n And referral user has <name>\n But referral user has no <otherName>\n When they view the rewards table\n Then referral user's name is displayed as <name>\n\n Examples:\n | name | otherName |\n | first.name | last.name |\n | last.name | first.name |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Anonymous User\" if the referral user has no names\n Given a user with a referral reward\n And that reward has <rewardSource>\n And the <referralUser> has no first name\n And the <referralUser> has no last name\n When they view the rewards table\n Then then source displays <sourceText>\n And under it displays \"Anonymous User\"\n\n Examples:\n | rewardSource | referralUser | sourceText |\n | FRIEND_SIGNUP | referrer | Referral to |\n | REFERRED | referred user | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted User\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted User\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n# AL: TODO DELETED REFERRAL SPEC\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted referral\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted referral\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n\n @minutia @ui\n Scenario Outline: Name fallbacks for referral users without names are customizable\n Given <prop> with <value>\n And a user with a referral reward\n But the referral user <hadAction>\n When they view the rewards table\n Then the source displays <value> as the referral user\n\n Examples:\n | prop | value | hadAction |\n | deleted-user | Former Customer | was deleted |\n | anonymous-user | Nameless User | had first and last name deleted |\n\n @motivating\n Scenario Outline: Source text can be customized\n Given the \"reward-source-text\" prop is \"{rewardSource, select, MANUAL {Support} AUTOMATED {Loyalty Program} other {}}\"\n And a user with a <rewardSource> reward\n When they view the rewards table\n Then the source is <sourceText>\n\n Examples:\n | rewardSource | sourceText |\n | MANUAL | Support |\n | AUTOMATED | Loyalty Program |\n";
11797
+ const scenario4 = "@author:derek @owner:derek\nFeature: Reward Table Source Column\n Shows the source of each reward\n\n @motivating @ui\n Scenario Outline: The title of the source column is configurable\n Given the \"column-title\" prop is set to <value>\n Then the source column is shown with <columnTitle>\n\n Examples:\n | value | columnTitle |\n | Source | |\n | My column title | My column title |\n\n @motivating @ui\n Scenario: The source column displays manual if the reward is caused by a manual action\n Given a user with a \"MANUAL\" reward\n When they view the rewards table\n Then the source of their reward is displayed as \"Manual\"\n\n @motivating @ui\n Scenario: The source column displays the program name if the reward is caused automatically by a program\n Given a user with a \"AUTOMATED\" program reward\n And the program has name \"Loyalty Program\"\n When they view the rewards table\n Then the source of their reward is displayed as \"Loyalty Program\"\n\n @motivating @ui\n Scenario Outline: The source column displays customizable reward exchange text with amount if the reward is caused by reward exchange\n Given the \"reward-exchange-text\" prop is <propValue>\n And a user with a \"MANUAL\" reward\n But it was created by a reward exchange\n Then they view the rewards table\n Then the source displays <exchangeText>\n And under it displays the following\n | prettyRedeemedCredit → prettyValue |\n\n Examples:\n | propValue | exchangeText |\n | | Reward Exchange |\n | Exchanged | Exchanged |\n\n @motivating @ui\n Scenario Outline: The source column displays customizable referral information if the reward is from a referral\n Given the \"reward-source-text\" prop is <propValue>\n And a user with a referral reward\n And that reward has <rewardSource>\n When they view the rewards table\n Then then source displays <referralText>\n And under it displays the full name of the <referralUser>\n\n Examples:\n | propValue | rewardSource | referralText | referralUser |\n | | REFERRED | Referred by | referrer user |\n | | FRIEND_SIGNUP | Referral to | referred user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | REFERRED | Referred you | referrer user |\n | {rewardSource, select, FRIEND_SIGNUP {You Referred} REFERRED {Referred you} other {}} | FRIEND_SIGNUP | You Referred | referred user |\n\n @motivating @ui\n Scenario Outline: The source column displays the existing name for a referral if either the first name or last name does not exist\n Given a user with a referral reward\n And referral user exists\n And referral user has <name>\n But referral user has no <otherName>\n When they view the rewards table\n Then referral user's name is displayed as <name>\n\n Examples:\n | name | otherName |\n | first.name | last.name |\n | last.name | first.name |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Anonymous User\" if the referral user has no names\n Given a user with a referral reward\n And that reward has <rewardSource>\n And the <referralUser> has no first name\n And the <referralUser> has no last name\n When they view the rewards table\n Then then source displays <sourceText>\n And under it displays \"Anonymous User\"\n\n Examples:\n | rewardSource | referralUser | sourceText |\n | FRIEND_SIGNUP | referrer | Referral to |\n | REFERRED | referred user | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted User\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted User\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n\n @motivating @ui\n Scenario Outline: The source column displays referral as \"Deleted referral\" if the referral user is deleted in the system\n Given a user with a referral reward\n And that reward has <rewardSource>\n But <referral> user was deleted\n When they view the rewards table\n Then the source displays <sourceText>\n And under it displays \"Deleted referral\"\n\n Examples:\n | rewardSource | referral | sourceText |\n | \"FRIEND_SIGNUP\" | referrer | Referral to |\n | \"REFERRED\" | referred | Referred by |\n\n @minutia @ui\n Scenario Outline: Name fallbacks for referral users without names are customizable\n Given <prop> with <value>\n And a user with a referral reward\n But the referral user <hadAction>\n When they view the rewards table\n Then the source displays <value> as the referral user\n\n Examples:\n | prop | value | hadAction |\n | deleted-user | Former Customer | was deleted |\n | anonymous-user | Nameless User | had first and last name deleted |\n\n @motivating\n Scenario Outline: Source text can be customized\n Given the \"reward-source-text\" prop is \"{rewardSource, select, MANUAL {Support} AUTOMATED {Loyalty Program} other {}}\"\n And a user with a <rewardSource> reward\n When they view the rewards table\n Then the source is <sourceText>\n\n Examples:\n | rewardSource | sourceText |\n | MANUAL | Support |\n | AUTOMATED | Loyalty Program |\n";
11758
11798
 
11759
11799
  const scenario$r = scenario1 + scenario2 + scenario3 + scenario4;
11760
11800
  const RewardsTableCell_stories = {
@@ -11977,9 +12017,7 @@ const SourceCellDeletedUser = () => {
11977
12017
  return (index.h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(null) }, referralText: "Referral to", deletedUserText: "Deleted User" }));
11978
12018
  };
11979
12019
  const SourceCellDeletedReferral = () => {
11980
- return (
11981
- // AL: TODO
11982
- index.h("sqm-rewards-table-source-cell", {
12020
+ return (index.h("sqm-rewards-table-source-cell", {
11983
12021
  //@ts-ignore
11984
12022
  reward: { ...rewardsData$1, ...deletedReferral() }, referralText: "Referral to", deletedReferralText: "Deleted Referral" }));
11985
12023
  };
@@ -12016,24 +12054,16 @@ const StatusCellExpired = () => {
12016
12054
  const pending = {
12017
12055
  statuses: ["PENDING"],
12018
12056
  };
12019
- // const pendingTaxReview = {
12020
- // statuses: ["PENDING_TAX_REVIEW"],
12021
- // };
12022
- // const pendingNewTaxForm = {
12023
- // statuses: ["PENDING_NEW_TAX_FORM"],
12024
- // };
12025
- // const pendingTaxSubmission = {
12026
- // statuses: ["PENDING_TAX_SUBMISSION"],
12027
- // };
12028
- // const pendingPartnerCreation = {
12029
- // statuses: ["PENDING_PARTNER_CREATION"],
12030
- // };
12031
12057
  const payoutSent = {
12032
12058
  statuses: ["PAYOUT_SENT"],
12033
12059
  };
12034
12060
  const payoutFailed = {
12035
12061
  statuses: ["PAYOUT_FAILED"],
12036
12062
  };
12063
+ const payoutCancelled = {
12064
+ statuses: ["PAYOUT_CANCELLED"],
12065
+ dateCancelled: 1355612521321,
12066
+ };
12037
12067
  const us_tax = {
12038
12068
  pendingReasons: ["US_TAX"],
12039
12069
  };
@@ -12095,6 +12125,9 @@ const StatusCellPayoutSent = () => {
12095
12125
  const StatusCellPayoutFailed = () => {
12096
12126
  return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: { ...rewardsData$1, ...payoutFailed } }));
12097
12127
  };
12128
+ const StatusCellPayoutCancelled = () => {
12129
+ return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: { ...rewardsData$1, ...payoutCancelled } }));
12130
+ };
12098
12131
  const StatusCellPendingWithLongText = () => {
12099
12132
  return (index.h("div", { style: { width: "200px" } },
12100
12133
  index.h("sqm-rewards-table-status-cell", { statusText: "Pending for 300,000,000 months and some change", reward: { ...rewardsData$1, ...pending } })));
@@ -12198,6 +12231,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
12198
12231
  StatusCellPendingPartnerCreation: StatusCellPendingPartnerCreation,
12199
12232
  StatusCellPayoutSent: StatusCellPayoutSent,
12200
12233
  StatusCellPayoutFailed: StatusCellPayoutFailed,
12234
+ StatusCellPayoutCancelled: StatusCellPayoutCancelled,
12201
12235
  StatusCellPendingWithLongText: StatusCellPendingWithLongText,
12202
12236
  StatusCellPendingUsTax: StatusCellPendingUsTax,
12203
12237
  StatusCellPendingScheduled: StatusCellPendingScheduled,
@@ -12627,6 +12661,21 @@ const sharebutton = (slot) => {
12627
12661
  index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12628
12662
  index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"))));
12629
12663
  };
12664
+ const shareButtonsWithPromoCodes = (slot) => {
12665
+ return (index.h("sqm-portal-container", { gap: "large", slot: slot },
12666
+ index.h("sqm-text", null, "Choose how you want to share:"),
12667
+ index.h("sqm-text", null,
12668
+ index.h("sub", null, "Share with your friends:"),
12669
+ index.h("sqm-share-code", null),
12670
+ index.h("sqm-share-link", null)),
12671
+ index.h("sqm-portal-container", { gap: "x-small" },
12672
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
12673
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
12674
+ index.h("sqm-share-button", { medium: "twitter" }, "Post about us on X"),
12675
+ index.h("sqm-portal-container", { gap: "x-small" },
12676
+ index.h("span", { style: { textAlign: "center", color: "var(--sl-color-gray-500)" } }, "You have copied this code before"),
12677
+ index.h("sqm-pagination", null)))));
12678
+ };
12630
12679
  const timeline = (slot, count) => {
12631
12680
  return (index.h("sqm-timeline", { slot: slot, icon: "circle" },
12632
12681
  count > 0 && (index.h("sqm-timeline-entry", { reward: "75", unit: "points", desc: "Your friends signs up for a free trial" })),
@@ -12649,6 +12698,11 @@ const TimelineAndShareButtons = () => {
12649
12698
  timeline("left", 3),
12650
12699
  sharebutton("right")));
12651
12700
  };
12701
+ const OneTimeUsePromoCodes = () => {
12702
+ return (index.h("sqm-referral-card", null,
12703
+ timeline("left", 4),
12704
+ shareButtonsWithPromoCodes("right")));
12705
+ };
12652
12706
  const StartAlignment = () => {
12653
12707
  return (index.h("sqm-referral-card", { "vertical-alignment": "start" },
12654
12708
  timeline("left", 4),
@@ -12725,6 +12779,7 @@ const ReferralCard = /*#__PURE__*/Object.freeze({
12725
12779
  ImageAndShareButtons: ImageAndShareButtons,
12726
12780
  LimitWidth: LimitWidth,
12727
12781
  TimelineAndShareButtons: TimelineAndShareButtons,
12782
+ OneTimeUsePromoCodes: OneTimeUsePromoCodes,
12728
12783
  StartAlignment: StartAlignment,
12729
12784
  CenterAlignment: CenterAlignment,
12730
12785
  EndAlignment: EndAlignment,
@@ -13787,7 +13842,7 @@ const CustomTooltipDuration = () => {
13787
13842
  return (index.h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13788
13843
  };
13789
13844
  const CopyButton$1 = () => {
13790
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13845
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13791
13846
  copyString: "https://noah.example.com",
13792
13847
  open: false,
13793
13848
  tooltiptext: "Copied!",
@@ -13795,7 +13850,7 @@ const CopyButton$1 = () => {
13795
13850
  })));
13796
13851
  };
13797
13852
  const CopyButtonBelow$1 = () => {
13798
- return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, {
13853
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13799
13854
  copyString: "https://noah.example.com",
13800
13855
  open: false,
13801
13856
  tooltiptext: "Copied!",
@@ -13810,7 +13865,7 @@ const Error$7 = () => {
13810
13865
  tooltiptext: "Copied!",
13811
13866
  error: true,
13812
13867
  };
13813
- return index.h(ShadowViewAddon.CopyTextView, Object.assign({}, props));
13868
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13814
13869
  };
13815
13870
 
13816
13871
  const ShareCode$1 = /*#__PURE__*/Object.freeze({
@@ -13826,6 +13881,82 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
13826
13881
  Error: Error$7
13827
13882
  });
13828
13883
 
13884
+ const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan can be customized\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
13885
+
13886
+ const ReferralCode_stories = {
13887
+ title: "Components/Referral Code",
13888
+ parameters: {
13889
+ scenario: scenario$A,
13890
+ },
13891
+ };
13892
+ const ReferralCode = () => {
13893
+ return (index.h("sqm-referral-code", { tooltiptext: "Copied to Clipboard" }));
13894
+ };
13895
+ const ShowNotificationText = () => {
13896
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before" }));
13897
+ };
13898
+ const ShowNotificationTextWithButton = () => {
13899
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-outside" }));
13900
+ };
13901
+ const ShowNotificationTextWithButtonBelow = () => {
13902
+ return (index.h("sqm-referral-code", { showNotificationText: true, notificationText: "You've copied this code before", buttonStyle: "button-below" }));
13903
+ };
13904
+ const CustomTooltipText$1 = () => {
13905
+ return (index.h("sqm-referral-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13906
+ };
13907
+ const TextAlignCenter$2 = () => {
13908
+ return index.h("sqm-referral-code", { textAlign: "center" });
13909
+ };
13910
+ const TextAlignRight$2 = () => {
13911
+ return index.h("sqm-referral-code", { textAlign: "right" });
13912
+ };
13913
+ const CustomTooltipDuration$1 = () => {
13914
+ return (index.h("sqm-referral-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13915
+ };
13916
+ const CopyButton$2 = () => {
13917
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13918
+ copyString: "https://noah.example.com",
13919
+ open: false,
13920
+ tooltiptext: "Copied!",
13921
+ isCopyIcon: false,
13922
+ buttonStyle: "button-outside",
13923
+ })));
13924
+ };
13925
+ const CopyButtonBelow$2 = () => {
13926
+ return (index.h(copyTextView.CopyTextView, Object.assign({}, {
13927
+ copyString: "https://noah.example.com",
13928
+ open: false,
13929
+ tooltiptext: "Copied!",
13930
+ buttonStyle: "button-below",
13931
+ })));
13932
+ };
13933
+ const Error$8 = () => {
13934
+ const props = {
13935
+ copyString: "https://noah.example.com",
13936
+ disabled: true,
13937
+ open: true,
13938
+ tooltiptext: "Copied!",
13939
+ error: true,
13940
+ };
13941
+ return index.h(copyTextView.CopyTextView, Object.assign({}, props));
13942
+ };
13943
+
13944
+ const ReferralCode$1 = /*#__PURE__*/Object.freeze({
13945
+ __proto__: null,
13946
+ 'default': ReferralCode_stories,
13947
+ ReferralCode: ReferralCode,
13948
+ ShowNotificationText: ShowNotificationText,
13949
+ ShowNotificationTextWithButton: ShowNotificationTextWithButton,
13950
+ ShowNotificationTextWithButtonBelow: ShowNotificationTextWithButtonBelow,
13951
+ CustomTooltipText: CustomTooltipText$1,
13952
+ TextAlignCenter: TextAlignCenter$2,
13953
+ TextAlignRight: TextAlignRight$2,
13954
+ CustomTooltipDuration: CustomTooltipDuration$1,
13955
+ CopyButton: CopyButton$2,
13956
+ CopyButtonBelow: CopyButtonBelow$2,
13957
+ Error: Error$8
13958
+ });
13959
+
13829
13960
  // import scenario from "./ShareCode.feature";
13830
13961
  const EmailRegistration_stories = {
13831
13962
  title: "Components/Email Registration",
@@ -13852,7 +13983,7 @@ const defaultProps$d = {
13852
13983
  fraudErrorMessageTitle: "Looks like you tried referring yourself",
13853
13984
  },
13854
13985
  };
13855
- const Default$e = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13986
+ const Default$f = () => index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, defaultProps$d));
13856
13987
  const HasFirstNameLastName = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13857
13988
  ...defaultProps$d,
13858
13989
  content: {
@@ -13889,7 +14020,7 @@ const Loading$4 = () => (index.h(emailRegistrationView.EmailRegistrationView, Ob
13889
14020
  loading: true,
13890
14021
  },
13891
14022
  })));
13892
- const Error$8 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
14023
+ const Error$9 = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
13893
14024
  ...defaultProps$d,
13894
14025
  states: {
13895
14026
  error: "Something went wrong. Please try again.",
@@ -13917,23 +14048,23 @@ const EmptyEmailError = () => (index.h(emailRegistrationView.EmailRegistrationVi
13917
14048
  const EmailRegistration = /*#__PURE__*/Object.freeze({
13918
14049
  __proto__: null,
13919
14050
  'default': EmailRegistration_stories,
13920
- Default: Default$e,
14051
+ Default: Default$f,
13921
14052
  HasFirstNameLastName: HasFirstNameLastName,
13922
14053
  WithSlots: WithSlots,
13923
14054
  NoBorder: NoBorder$1,
13924
14055
  BackgroundColor: BackgroundColor$2,
13925
14056
  Loading: Loading$4,
13926
- Error: Error$8,
14057
+ Error: Error$9,
13927
14058
  FraudError: FraudError,
13928
14059
  EmptyEmailError: EmptyEmailError
13929
14060
  });
13930
14061
 
13931
- const scenario$A = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
14062
+ const scenario$B = "@author:truman\n@owner:truman\nFeature: Coupon Code\n\n The coupon code component is a box that allows users to see and copy their coupon code for a given program\n\n @motivating\n Scenario: Component only fetches codes from current program\n Given a user has multiple rewards from various programs\n When the component is loaded\n Then it fetches the user's rewards from only the program associated with the widget\n\n @motivating\n Scenario: Component only looks at fueltank rewards\n Given a user has multiple rewards of different types\n When the component is loaded\n Then it filters the user's reward to only return FUELTANK rewards\n\n\n @motivating\n Scenario: The first (i.e. most recently received) reward is the reward that is displayed\n Given a user has at least one fueltank reward\n And the fueltank reward is available\n Then the coupon code component shows the first reward returned\n And this reward is the most recently received reward by the user\n\n @motivating\n Scenario Outline: Coupon code has multiple states depending on reward status\n Given a user has at least one fueltank reward\n And the reward has most recent status <status>\n And the dateScheduledFor field is <dateScheduledFor>\n Then the component's status is set to <componentStatus>\n And the <errorMessageTextProp> is displayed under the input field\n\n Examples:\n | status | dateScheduledFor | componentStatus | errorMessageTextProp |\n | AVAILABLE | null | AVAILABLE | N/A |\n | EXPIRED | null | EXPIRED | expiredErrorMessage |\n | REDEEMED | null | REDEEMED | redeemedMessage |\n | CANCELLED | null | CANCELLED | cancelledErrorMessage |\n | PENDING | null | EMPTY_TANK | fullfillmentErrorMessage |\n | PENDING | 123412341234 | PENDING | pendingErrorMessage |\n | null | null | ERROR | genericErrorMessage |\n\n Scenario Outline: Coupon code's error message text props are grouped\n Given an end user is viewing the coupon code component in the widget editor\n And they are looking at the component's properties\n Then they see <prop>\n And <prop> is grouped under \"Coupon code error\"\n Examples:\n | prop |\n | N/A |\n | expiredErrorMessage |\n | redeemedMessage |\n | cancelledErrorMessage |\n | fullfillmentErrorMessage |\n | pendingErrorMessage |\n | genericErrorMessage |\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip appears for ~2 seconds\n\n @ui\n Scenario: Component shows an error state when there is an error\n Given a user is viewing the coupon code component\n When there is an error in the coupon code\n Then in place of the coupon code is an alert banner\n And the alert banner gives information about the error to the user\n\n @ui\n Scenario: Component shows an loading state\n Given a user is viewing the coupon code component\n When the coupon code is loading in\n Then the text inside the input is \"Loading...\"\n And the coupon code input box has a gray background\n And the cursor is set to \"default\"\n And the user cannot copy the text\n\n @ui\n Scenario Outline: User can edit the alignment of the coupon code text\n Given a user is editing the coupon code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the coupon code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n\n @minutia\n Scenario: ICU string converts to a date\n Given a user is viewing a live coupon code code component\n And the \"pendingErrorText\" has the \"{unpendDate}\" ICU string\n And the program is configured for rewards to be pending\n Then the user will see an info alert banner\n And the ICU string is converted to the unpend date\n";
13932
14063
 
13933
14064
  const CouponCode_stories = {
13934
14065
  title: "Components/Coupon Code",
13935
14066
  parameters: {
13936
- scenario: scenario$A,
14067
+ scenario: scenario$B,
13937
14068
  },
13938
14069
  };
13939
14070
  const defaultProps$e = {
@@ -13948,25 +14079,25 @@ const defaultProps$e = {
13948
14079
  const CouponCode = () => {
13949
14080
  return index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
13950
14081
  };
13951
- const CustomTooltipText$1 = () => {
14082
+ const CustomTooltipText$2 = () => {
13952
14083
  return index.h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
13953
14084
  };
13954
- const CustomTooltipDuration$1 = () => {
14085
+ const CustomTooltipDuration$2 = () => {
13955
14086
  return (index.h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
13956
14087
  };
13957
- const TextAlignCenter$2 = () => {
14088
+ const TextAlignCenter$3 = () => {
13958
14089
  return index.h("sqm-coupon-code", { textAlign: "center" });
13959
14090
  };
13960
- const TextAlignRight$2 = () => {
14091
+ const TextAlignRight$3 = () => {
13961
14092
  return index.h("sqm-coupon-code", { textAlign: "right" });
13962
14093
  };
13963
- const CopyButton$2 = () => {
14094
+ const CopyButton$3 = () => {
13964
14095
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside" })));
13965
14096
  };
13966
14097
  const CopyButtonCustomLabel = () => {
13967
14098
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-outside", "copy-button-label": "test long custom label" })));
13968
14099
  };
13969
- const CopyButtonBelow$2 = () => {
14100
+ const CopyButtonBelow$3 = () => {
13970
14101
  return (index.h("sqm-coupon-code", Object.assign({}, defaultProps$e, { buttonStyle: "button-below" })));
13971
14102
  };
13972
14103
  const CopyButtonBelowCustomLabel = () => {
@@ -14004,13 +14135,13 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14004
14135
  __proto__: null,
14005
14136
  'default': CouponCode_stories,
14006
14137
  CouponCode: CouponCode,
14007
- CustomTooltipText: CustomTooltipText$1,
14008
- CustomTooltipDuration: CustomTooltipDuration$1,
14009
- TextAlignCenter: TextAlignCenter$2,
14010
- TextAlignRight: TextAlignRight$2,
14011
- CopyButton: CopyButton$2,
14138
+ CustomTooltipText: CustomTooltipText$2,
14139
+ CustomTooltipDuration: CustomTooltipDuration$2,
14140
+ TextAlignCenter: TextAlignCenter$3,
14141
+ TextAlignRight: TextAlignRight$3,
14142
+ CopyButton: CopyButton$3,
14012
14143
  CopyButtonCustomLabel: CopyButtonCustomLabel,
14013
- CopyButtonBelow: CopyButtonBelow$2,
14144
+ CopyButtonBelow: CopyButtonBelow$3,
14014
14145
  CopyButtonBelowCustomLabel: CopyButtonBelowCustomLabel,
14015
14146
  Loading: Loading$5,
14016
14147
  CopyButtonLoading: CopyButtonLoading,
@@ -14023,12 +14154,12 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
14023
14154
  ErrorRedeemed: ErrorRedeemed
14024
14155
  });
14025
14156
 
14026
- const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
14157
+ const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Logout Current User\n\n Background:\n Given a user viewing an instant access widget\n\n @motivating\n @ui\n Scenario: A user on an instant access widget\n Given the user is identified\n And the user is logged in\n Then the component identifies the user by displaying their email in an ICU string\n And the users email displayed in the ICU string using hte \"{email}\" variable\n\n @motivating\n @ui\n Scenario: Users can switch who they are identified as through a link\n Given the user is identified\n And the user is logged in\n When the user clicks the link in the component\n Then the saved user identity is emptied\n And they are sent back to the registration form to re-identify themselves\n\n @minutia\n Scenario: Logout link empties the saved User Identity\n Given a valid user identity\n And the user is viewing the \"logged-in\" template\n When they click the logout link\n Then the user identity is set to \"undefined\"\n And the user is returned to the \"logged-out\" template";
14027
14158
 
14028
14159
  const LogoutCurrentUser_stories = {
14029
14160
  title: "Components/Logout Current User",
14030
14161
  parameters: {
14031
- scenario: scenario$B,
14162
+ scenario: scenario$C,
14032
14163
  },
14033
14164
  };
14034
14165
  const defaultProps$f = {
@@ -14038,22 +14169,22 @@ const defaultProps$f = {
14038
14169
  loading: false,
14039
14170
  emailErrorText: "Error fetching email",
14040
14171
  };
14041
- const Default$f = () => {
14172
+ const Default$g = () => {
14042
14173
  return index.h(sqmLogoutCurrentUserView.LogoutCurrentUserView, Object.assign({}, defaultProps$f));
14043
14174
  };
14044
14175
 
14045
14176
  const LogoutCurrentUser = /*#__PURE__*/Object.freeze({
14046
14177
  __proto__: null,
14047
14178
  'default': LogoutCurrentUser_stories,
14048
- Default: Default$f
14179
+ Default: Default$g
14049
14180
  });
14050
14181
 
14051
- const scenario$C = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
14182
+ const scenario$D = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\t@ui\n\tScenario: Links can be opened in the same tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in the same tab\n\t\tAnd if the component is in an iFrame then the link is opened in the parent window not the iFrame\n\n\t@ui\n\tScenario: Links can be opened in a new tab\n\t\tWhen a user clicks the button\n\t\tThen a link opens in a new tab\n\t\tAnd if the component is in an iFrame then the link is still opened in a new tab\n\n\n\t@ui\n\tScenario: Props control the link and button text\n\t\tGiven the \"link\" prop is set to \"https://www.example.com\"\n\t\tAnd the \"buttonText\" prop is set to \"Click me!\"\n\t\tThen a button is shown with the text \"Click me!\"\n\t\tAnd when clicked the button opens https://www.example.com\n\n\t@ui\n\tScenario Outline: The button type can be set\n\t\tGiven the button type is set to <value>\n\t\tThen a <buttonType> is shown\n\t\tExamples:\n\t\t\t| value | buttonType |\n\t\t\t| <null> | primary |\n\t\t\t| default | default |\n\t\t\t| primary | primary |\n\t\t\t| success | success |\n\t\t\t| neutral | neutral |\n\t\t\t| warning | warning |\n\t\t\t| danger | danger |";
14052
14183
 
14053
14184
  const LinkButton_stories = {
14054
14185
  title: "Components/Link Button",
14055
14186
  parameters: {
14056
- scenario: scenario$C,
14187
+ scenario: scenario$D,
14057
14188
  },
14058
14189
  };
14059
14190
  const defaultProps$g = {
@@ -14061,7 +14192,7 @@ const defaultProps$g = {
14061
14192
  openInNewTab: false,
14062
14193
  buttonText: "Button Text",
14063
14194
  };
14064
- const Default$g = () => {
14195
+ const Default$h = () => {
14065
14196
  return index.h("sqm-link-button", Object.assign({}, defaultProps$g));
14066
14197
  };
14067
14198
  const OpenInNewTab = () => {
@@ -14071,7 +14202,7 @@ const OpenInNewTab = () => {
14071
14202
  const LinkButton = /*#__PURE__*/Object.freeze({
14072
14203
  __proto__: null,
14073
14204
  'default': LinkButton_stories,
14074
- Default: Default$g,
14205
+ Default: Default$h,
14075
14206
  OpenInNewTab: OpenInNewTab
14076
14207
  });
14077
14208
 
@@ -14089,7 +14220,7 @@ const containerStyles = {
14089
14220
  border: "1px solid black",
14090
14221
  padding: "25px",
14091
14222
  };
14092
- const Default$h = () => {
14223
+ const Default$i = () => {
14093
14224
  return index.h(sqmCloseButtonView.CloseButtonView, Object.assign({}, defaultProps$h));
14094
14225
  };
14095
14226
  const InAContainer = () => {
@@ -14104,7 +14235,7 @@ const CustomColor$1 = () => {
14104
14235
  const CloseButton = /*#__PURE__*/Object.freeze({
14105
14236
  __proto__: null,
14106
14237
  'default': CloseButton_stories,
14107
- Default: Default$h,
14238
+ Default: Default$i,
14108
14239
  InAContainer: InAContainer,
14109
14240
  CustomColor: CustomColor$1
14110
14241
  });
@@ -14342,13 +14473,6 @@ const Loading$6 = () => {
14342
14473
  },
14343
14474
  } }));
14344
14475
  };
14345
- const Error$9 = () => {
14346
- return (index.h("sqm-payout-details-card", { demoData: {
14347
- states: {
14348
- error: true,
14349
- },
14350
- } }));
14351
- };
14352
14476
  const NextPayout = () => {
14353
14477
  return (index.h("sqm-payout-details-card", { demoData: {
14354
14478
  states: {
@@ -14383,7 +14507,6 @@ const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
14383
14507
  __proto__: null,
14384
14508
  'default': PayoutDetailsCard_stories,
14385
14509
  Loading: Loading$6,
14386
- Error: Error$9,
14387
14510
  NextPayout: NextPayout,
14388
14511
  PayoutToday: PayoutToday,
14389
14512
  ThresholdPayout: ThresholdPayout,
@@ -14410,8 +14533,10 @@ const bankingFormProps = {
14410
14533
  thresholds: [],
14411
14534
  currency: "USD",
14412
14535
  loadingError: false,
14536
+ email: "test@example.com",
14413
14537
  },
14414
14538
  callbacks: {
14539
+ onVerificationHide: () => { },
14415
14540
  onVerification: () => { },
14416
14541
  onSubmit: async () => console.log("Submit"),
14417
14542
  setPaymentMethodChecked: () => { },
@@ -14722,6 +14847,22 @@ const BankingInfoFormWithFixedDayPaymentScheduleLoading = () => {
14722
14847
  },
14723
14848
  } }));
14724
14849
  };
14850
+ const BankingInfoFormVerififyIdentityModal = () => {
14851
+ return (index.h("sqm-banking-info-form", { demoData: {
14852
+ ...bankingFormProps,
14853
+ states: {
14854
+ ...bankingFormProps.states,
14855
+ isPartner: true,
14856
+ showVerification: true,
14857
+ formState: {
14858
+ ...bankingFormProps.states.formState,
14859
+ bankCountry: "US",
14860
+ paymentScheduleChecked: "FIXED_DAY",
14861
+ },
14862
+ currency: "USD",
14863
+ },
14864
+ } }));
14865
+ };
14725
14866
 
14726
14867
  const BankingInfoForm = /*#__PURE__*/Object.freeze({
14727
14868
  __proto__: null,
@@ -14747,7 +14888,8 @@ const BankingInfoForm = /*#__PURE__*/Object.freeze({
14747
14888
  BankingInfoFormWithBalanceThresholdPaymentScheduleLoading: BankingInfoFormWithBalanceThresholdPaymentScheduleLoading,
14748
14889
  BankingInfoFormWithFixedDayPaymentSchedule: BankingInfoFormWithFixedDayPaymentSchedule,
14749
14890
  BankingInfoFormWithFixedDayPaymentScheduleWithError: BankingInfoFormWithFixedDayPaymentScheduleWithError,
14750
- BankingInfoFormWithFixedDayPaymentScheduleLoading: BankingInfoFormWithFixedDayPaymentScheduleLoading
14891
+ BankingInfoFormWithFixedDayPaymentScheduleLoading: BankingInfoFormWithFixedDayPaymentScheduleLoading,
14892
+ BankingInfoFormVerififyIdentityModal: BankingInfoFormVerififyIdentityModal
14751
14893
  });
14752
14894
 
14753
14895
  const InvoiceTableCell_stories = {
@@ -15005,13 +15147,18 @@ const defaultProps$k = {
15005
15147
  initialLoading: false,
15006
15148
  sendCodeError: false,
15007
15149
  };
15008
- const Default$i = () => (index.h("sqm-email-verification", { demoData: {} }));
15009
- const EmailIsPrefilled = () => (index.h("sqm-email-verification", { demoData: {
15010
- states: {
15011
- ...defaultProps$k,
15012
- email: "test@example.com",
15013
- },
15014
- } }));
15150
+ const Default$j = () => (index.h("sqm-email-verification", { demoData: {} }));
15151
+ const EmailIsPrefilled = () => (index.h("div", null,
15152
+ index.h("sqm-text", null,
15153
+ index.h("h4", null, "Verify your email")),
15154
+ index.h("sqm-text", null,
15155
+ index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
15156
+ index.h("sqm-email-verification", { demoData: {
15157
+ states: {
15158
+ ...defaultProps$k,
15159
+ email: "test@example.com",
15160
+ },
15161
+ } })));
15015
15162
  const Loading$7 = () => (index.h("sqm-email-verification", { demoData: {
15016
15163
  states: {
15017
15164
  ...defaultProps$k,
@@ -15024,6 +15171,17 @@ const SaveLoading = () => (index.h("sqm-email-verification", { demoData: {
15024
15171
  loading: true,
15025
15172
  },
15026
15173
  } }));
15174
+ const WithHeader$1 = () => (index.h("div", null,
15175
+ index.h("sqm-text", null,
15176
+ index.h("h4", null, "Verify your email")),
15177
+ index.h("sqm-text", null,
15178
+ index.h("sub", null, "To get your cash paid out directly to your bank account, please complete your account setup")),
15179
+ index.h("sqm-email-verification", { demoData: {
15180
+ states: {
15181
+ ...defaultProps$k,
15182
+ email: "test@example.com",
15183
+ },
15184
+ } })));
15027
15185
  const InvalidEmail = () => (index.h("sqm-email-verification", { demoData: {
15028
15186
  states: {
15029
15187
  ...defaultProps$k,
@@ -15040,10 +15198,11 @@ const SendCodeError = () => (index.h("sqm-email-verification", { demoData: {
15040
15198
  const WidgetEmailVerification = /*#__PURE__*/Object.freeze({
15041
15199
  __proto__: null,
15042
15200
  'default': WidgetEmailVerification_stories,
15043
- Default: Default$i,
15201
+ Default: Default$j,
15044
15202
  EmailIsPrefilled: EmailIsPrefilled,
15045
15203
  Loading: Loading$7,
15046
15204
  SaveLoading: SaveLoading,
15205
+ WithHeader: WithHeader$1,
15047
15206
  InvalidEmail: InvalidEmail,
15048
15207
  SendCodeError: SendCodeError
15049
15208
  });
@@ -15058,7 +15217,7 @@ const defaultProps$l = {
15058
15217
  verifyFailed: false,
15059
15218
  emailResent: false,
15060
15219
  };
15061
- const Default$j = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$l } }));
15220
+ const Default$k = () => (index.h("sqm-code-verification", { demoData: { states: defaultProps$l } }));
15062
15221
  const InitialLoading = () => (index.h("sqm-code-verification", { demoData: {
15063
15222
  states: {
15064
15223
  ...defaultProps$l,
@@ -15087,7 +15246,7 @@ const VerificationFailed = () => (index.h("sqm-code-verification", { demoData: {
15087
15246
  const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
15088
15247
  __proto__: null,
15089
15248
  'default': WidgetCodeVerification_stories,
15090
- Default: Default$j,
15249
+ Default: Default$k,
15091
15250
  InitialLoading: InitialLoading,
15092
15251
  Loading: Loading$8,
15093
15252
  CodeResent: CodeResent,
@@ -15101,11 +15260,19 @@ const defaultProps$m = {
15101
15260
  payoutSettingsComplete: true,
15102
15261
  };
15103
15262
  const CompletedTaxForm = () => (index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } }));
15263
+ const CompletedTaxFormWithStatsContainer = () => (index.h("sqm-portal-container", { display: "flex", maxWidth: "100%", minWidth: "100%", "justify-content": "space-between", flexWrap: "nowrap" },
15264
+ index.h("sqm-portal-container", { display: "flex", "max-width": "fit-content" },
15265
+ index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/referralsCount" },
15266
+ index.h("p", null, "Referrals")),
15267
+ index.h("sqm-big-stat", { "flex-reverse": "true", alignment: "left", "stat-type": "/payoutBalance" },
15268
+ index.h("p", null, "Cash Balance"))),
15269
+ index.h("sqm-payout-button-scroll", { demoData: { states: { ...defaultProps$m, payoutSettingsComplete: true } } })));
15104
15270
 
15105
15271
  const PayoutButtonScroll = /*#__PURE__*/Object.freeze({
15106
15272
  __proto__: null,
15107
15273
  'default': PayoutButtonScroll_stories,
15108
- CompletedTaxForm: CompletedTaxForm
15274
+ CompletedTaxForm: CompletedTaxForm,
15275
+ CompletedTaxFormWithStatsContainer: CompletedTaxFormWithStatsContainer
15109
15276
  });
15110
15277
 
15111
15278
  const PayoutStatusAlert_stories = {
@@ -15115,17 +15282,13 @@ const defaultProps$n = {
15115
15282
  error: false,
15116
15283
  status: "INFORMATION_REQUIRED",
15117
15284
  loading: false,
15118
- showVerifyIdentity: false,
15285
+ veriffLoading: false,
15119
15286
  };
15120
15287
  const InformationRequired = () => (index.h("sqm-payout-status-alert", { demoData: { states: defaultProps$n } }));
15121
- const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION_NEEDED" } } }));
15122
- const VerifyIdentityOpen = () => (index.h("sqm-payout-status-alert", { demoData: {
15123
- states: {
15124
- ...defaultProps$n,
15125
- status: "VERIFICATION_NEEDED",
15126
- showVerifyIdentity: true,
15127
- },
15128
- } }));
15288
+ const VerifyIdentity = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REQUIRED" } } }));
15289
+ const VerifyIdentityRequiredInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:INTERNAL" } } }));
15290
+ const VerifyIdentityReviewInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:REVIEW" } } }));
15291
+ const VerifyIdentityFailedInternal = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "VERIFICATION:FAILED" } } }));
15129
15292
  const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, status: "HOLD" } } }));
15130
15293
  const Loading$9 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, loading: true } } }));
15131
15294
  const Error$a = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$n, error: true } } }));
@@ -15135,12 +15298,90 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
15135
15298
  'default': PayoutStatusAlert_stories,
15136
15299
  InformationRequired: InformationRequired,
15137
15300
  VerifyIdentity: VerifyIdentity,
15138
- VerifyIdentityOpen: VerifyIdentityOpen,
15301
+ VerifyIdentityRequiredInternal: VerifyIdentityRequiredInternal,
15302
+ VerifyIdentityReviewInternal: VerifyIdentityReviewInternal,
15303
+ VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
15139
15304
  Hold: Hold,
15140
15305
  Loading: Loading$9,
15141
15306
  Error: Error$a
15142
15307
  });
15143
15308
 
15309
+ const scenario$E = "@author:sam\n@owner:sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: Clicking any of the share mediums sets the code as copied\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n When clicking <shareMedium> button\n Then the code is marked as copied\n And the copied notification text is shown\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario Outline: User is notified if the currently viewed promo code has been copied already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been copied already\n Then no notification text is displayed\n When the code is changed to one that has been copied\n Then the <notificationText> is displayed\n Examples:\n | notificationText |\n | You've copied this code before |\n | Previously Copied |\n | foo |\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link uses <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n @minutia\n Scenario: Loading state is shown when changing code page\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has more than 1 available\n When the next button is clicked\n Then a loading state is shown\n\n\n";
15310
+
15311
+ const ReferralCodes_stories = {
15312
+ title: "Components/Referral Codes",
15313
+ parameters: {
15314
+ scenario: scenario$E,
15315
+ },
15316
+ };
15317
+ const demoData = {
15318
+ titleText: "Start sharing",
15319
+ emptyStateHeaderText: "Your new codes and links aren’t ready yet",
15320
+ emptyStateDescriptionText: "Please contact our program support team to let them know you’re out of codes.",
15321
+ emptyStateImageUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",
15322
+ states: {
15323
+ noCodes: false,
15324
+ loading: false,
15325
+ },
15326
+ };
15327
+ const pagination = (slot) => {
15328
+ return index.h("sqm-pagination", { slot: slot });
15329
+ };
15330
+ const shareButtons = (slot) => {
15331
+ return (index.h("sqm-portal-container", { gap: "small", slot: slot },
15332
+ index.h("sqm-share-button", { medium: "email" }, "Share via email"),
15333
+ index.h("sqm-share-button", { medium: "facebook" }, "Share on Facebook"),
15334
+ index.h("sqm-share-button", { medium: "whatsapp" }, "Share on WhatsApp")));
15335
+ };
15336
+ const shareCodes = (slot) => {
15337
+ return index.h("sqm-referral-code", { slot: slot });
15338
+ };
15339
+ const shareCodeWithPreviouslyCopied = (slot) => {
15340
+ return (index.h("sqm-referral-code", { slot: slot, showNotificationText: true, notificationText: "You\u2019ve copied this before." }));
15341
+ };
15342
+ const ReferralCodes = () => {
15343
+ return (index.h("sqm-referral-codes", null,
15344
+ pagination("pagination"),
15345
+ shareCodes("shareCodes"),
15346
+ shareButtons("shareButtons")));
15347
+ };
15348
+ const WithPreviouslyCopiedCode = () => {
15349
+ return (index.h("sqm-referral-codes", null,
15350
+ pagination("pagination"),
15351
+ shareCodeWithPreviouslyCopied("shareCodes"),
15352
+ shareButtons("shareButtons")));
15353
+ };
15354
+ const Empty$3 = () => {
15355
+ return (index.h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
15356
+ pagination("pagination"),
15357
+ shareCodes("shareCodes"),
15358
+ shareButtons("shareButtons")));
15359
+ };
15360
+ const EmptyWithCustomTextAndImage = () => {
15361
+ return (index.h("sqm-referral-codes", { emptyStateHeaderText: "Tus nuevos c\u00F3digos y enlaces a\u00FAn no est\u00E1n listos", emptyStateDescriptionText: "Comun\u00EDquese con nuestro equipo de soporte del programa para informarles que no tiene c\u00F3digos.", emptyStateImageUrl: "https://img.freepik.com/free-vector/hand-drawn-no-data-concept_52683-127829.jpg?t=st=1738890457~exp=1738894057~hmac=2f0f32c1f0fc051f47d772a4517e2e4c4f38af5069fb855edc96d8331d9d1329&w=826", demoData: {
15362
+ states: { ...demoData.states, noCodes: true },
15363
+ } },
15364
+ pagination("pagination"),
15365
+ shareCodes("shareCodes"),
15366
+ shareButtons("shareButtons")));
15367
+ };
15368
+ const Loading$a = () => {
15369
+ return (index.h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
15370
+ pagination("pagination"),
15371
+ shareCodes("shareCodes"),
15372
+ shareButtons("shareButtons")));
15373
+ };
15374
+
15375
+ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15376
+ __proto__: null,
15377
+ 'default': ReferralCodes_stories,
15378
+ ReferralCodes: ReferralCodes,
15379
+ WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
15380
+ Empty: Empty$3,
15381
+ EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
15382
+ Loading: Loading$a
15383
+ });
15384
+
15144
15385
  /**
15145
15386
  *
15146
15387
  * Themes
@@ -15153,7 +15394,7 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
15153
15394
  *
15154
15395
  */
15155
15396
  //
15156
- const Default$k = `
15397
+ const Default$l = `
15157
15398
  // No CSS
15158
15399
  `;
15159
15400
  const Orangey = `
@@ -15187,7 +15428,7 @@ const Klip = `
15187
15428
 
15188
15429
  const Themes = /*#__PURE__*/Object.freeze({
15189
15430
  __proto__: null,
15190
- Default: Default$k,
15431
+ Default: Default$l,
15191
15432
  Orangey: Orangey,
15192
15433
  Netflix: Netflix,
15193
15434
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -17786,6 +18027,7 @@ const stories = [
17786
18027
  InvoiceTableCells,
17787
18028
  UseInvoiceTableCells,
17788
18029
  ShareButton,
18030
+ Pagination,
17789
18031
  ShareLink,
17790
18032
  BigStat,
17791
18033
  Leaderboard,
@@ -17854,6 +18096,8 @@ const stories = [
17854
18096
  Tabs,
17855
18097
  ShareCode$1,
17856
18098
  CouponCode$1,
18099
+ ReferralCode$1,
18100
+ ReferralCodes$1,
17857
18101
  LogoutCurrentUser,
17858
18102
  LinkButton,
17859
18103
  EmailRegistration,