@saasquatch/mint-components 1.6.2-0 → 1.6.2-11

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 (538) hide show
  1. package/dist/{esm/useValidationState-f5db8783.js → cjs/AsYouType-6788393a.js} +2 -10
  2. package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
  3. package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
  4. package/dist/cjs/{ShadowViewAddon-7b7dd5e3.js → ShadowViewAddon-090eff1a.js} +32 -25
  5. package/dist/cjs/{global-6e1584a6.js → global-b645d18a.js} +5 -15
  6. package/dist/cjs/{index.module-d169a23f.js → index.module-93c78ac7.js} +6889 -6846
  7. package/dist/cjs/loader.cjs.js +5 -6
  8. package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
  9. package/dist/cjs/mint-components.cjs.js +5 -6
  10. package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
  11. package/dist/cjs/{re-render-83d1c1f0.js → re-render-afeabe91.js} +5 -5
  12. package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
  13. package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
  14. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +124 -131
  15. package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
  18. package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
  19. package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  21. package/dist/cjs/{sqm-navigation-sidebar-item-view-7ff14840.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
  22. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
  23. package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +17 -12
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  27. package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
  28. package/dist/cjs/{sqm-portal-email-verification-view-6b4ef802.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
  29. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -14
  30. package/dist/cjs/{sqm-portal-footer-view-204583ac.js → sqm-portal-footer-view-5d6451ad.js} +2 -2
  31. package/dist/cjs/sqm-portal-footer.cjs.entry.js +15 -7
  32. package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
  33. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +25 -15
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +9 -8
  35. package/dist/cjs/{sqm-portal-profile-view-444c8e2c.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -25
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -11
  38. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +95 -45
  39. package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
  40. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +21 -22
  41. package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
  42. package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
  43. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +36 -56
  44. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
  45. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
  46. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
  47. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
  48. package/dist/cjs/sqm-stencilbook.cjs.entry.js +114 -112
  49. package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
  50. package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
  51. package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
  52. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
  53. package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
  54. package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
  55. package/dist/cjs/useChildElements-c0cc8f5d.js +32 -0
  56. package/dist/cjs/{useReferralTable-1aab8416.js → useReferralTable-db1b33db.js} +10 -10
  57. package/dist/cjs/useRegistrationFormState-d0e43ca9.js +23 -0
  58. package/dist/collection/collection-manifest.json +1 -4
  59. package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
  60. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
  61. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
  62. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  63. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +8 -5
  64. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
  65. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -1
  66. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
  67. package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
  68. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
  69. package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
  70. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  71. package/dist/collection/components/sqm-image/sqm-image.js +1 -1
  72. package/dist/collection/components/sqm-input-field/sqm-input-field.js +4 -1
  73. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +9 -2
  74. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +5 -2
  75. package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -0
  76. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
  77. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +4 -1
  78. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +3 -0
  79. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +7 -4
  80. package/dist/collection/components/sqm-password-field/sqm-password-field.js +5 -1
  81. package/dist/collection/components/sqm-password-field/usePasswordField.js +5 -2
  82. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
  83. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +7 -3
  84. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
  85. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +9 -5
  86. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -2
  87. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +37 -1
  88. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +60 -9
  89. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +4 -2
  90. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
  91. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +44 -54
  92. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +1 -1
  93. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +6 -4
  94. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +13 -21
  95. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
  96. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +24 -31
  97. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +16 -9
  98. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +52 -32
  99. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +52 -11
  100. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
  101. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -21
  102. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +1 -1
  103. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +9 -9
  104. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +22 -41
  105. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
  106. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  107. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
  108. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
  109. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
  110. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
  111. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  112. package/dist/collection/components/sqm-route/sqm-route.js +2 -1
  113. package/dist/collection/components/sqm-router/sqm-router.js +2 -1
  114. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
  115. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  116. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  117. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
  118. package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
  119. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
  120. package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
  121. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
  122. package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
  123. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
  124. package/dist/collection/components/sqm-text/sqm-text.js +0 -7
  125. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  126. package/dist/collection/components/sqm-user-name/sqm-user-name.js +1 -1
  127. package/dist/collection/global/styles.js +2 -12
  128. package/dist/collection/global/styles.ts +2 -12
  129. package/dist/collection/tables/GenericTableView.js +2 -2
  130. package/dist/collection/tables/useChildElements.js +13 -4
  131. package/dist/{cjs/useValidationState-733d7e8c.js → esm/AsYouType-46f67d0d.js} +1 -15
  132. package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
  133. package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
  134. package/dist/esm/{ShadowViewAddon-82a3c62b.js → ShadowViewAddon-2e0cf632.js} +32 -25
  135. package/dist/esm/{global-59aa17be.js → global-c2d5e2fa.js} +5 -15
  136. package/dist/esm/{index.module-c6c6943f.js → index.module-25496635.js} +6865 -6822
  137. package/dist/esm/loader.js +5 -6
  138. package/dist/esm/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
  139. package/dist/esm/mint-components.js +5 -6
  140. package/dist/esm/raisins-plop-target.entry.js +6 -9
  141. package/dist/esm/{re-render-e804551e.js → re-render-8ece93cd.js} +5 -5
  142. package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  143. package/dist/esm/sqm-asset-card.entry.js +7 -8
  144. package/dist/esm/sqm-big-stat_35.entry.js +118 -125
  145. package/dist/esm/sqm-empty_5.entry.js +4 -5
  146. package/dist/esm/sqm-form-message.entry.js +1 -1
  147. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
  148. package/dist/esm/{sqm-hero-view-b54265df.js → sqm-hero-view-b8ce1900.js} +3 -3
  149. package/dist/esm/sqm-hero.entry.js +6 -5
  150. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
  151. package/dist/esm/{sqm-navigation-sidebar-item-view-4181f286.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
  152. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
  153. package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  154. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
  155. package/dist/esm/sqm-password-field.entry.js +17 -12
  156. package/dist/esm/sqm-popup-container.entry.js +6 -7
  157. package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  158. package/dist/esm/{sqm-portal-email-verification-view-5b888e5c.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
  159. package/dist/esm/sqm-portal-email-verification.entry.js +14 -14
  160. package/dist/esm/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-c4059af8.js} +2 -2
  161. package/dist/esm/sqm-portal-footer.entry.js +15 -7
  162. package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
  163. package/dist/esm/sqm-portal-forgot-password.entry.js +25 -15
  164. package/dist/esm/sqm-portal-logout.entry.js +9 -8
  165. package/dist/esm/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-ec58906b.js} +4 -4
  166. package/dist/esm/sqm-portal-profile.entry.js +16 -25
  167. package/dist/esm/sqm-portal-protected-route.entry.js +13 -11
  168. package/dist/esm/sqm-portal-registration-form.entry.js +93 -43
  169. package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
  170. package/dist/esm/sqm-portal-reset-password.entry.js +21 -22
  171. package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  172. package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
  173. package/dist/esm/sqm-portal-verify-email.entry.js +36 -56
  174. package/dist/esm/sqm-referral-table_11.entry.js +15 -16
  175. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  176. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  177. package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
  178. package/dist/esm/sqm-stencilbook.entry.js +114 -112
  179. package/dist/esm/sqm-tab.entry.js +7 -0
  180. package/dist/esm/sqm-tabs.entry.js +8 -7
  181. package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  182. package/dist/esm/sqm-text-span.entry.js +3 -4
  183. package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
  184. package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
  185. package/dist/esm/useChildElements-d86f03c6.js +30 -0
  186. package/dist/esm/{useReferralTable-1693d531.js → useReferralTable-7aeb954d.js} +10 -10
  187. package/dist/esm/useRegistrationFormState-e94eec81.js +18 -0
  188. package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
  189. package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
  190. package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
  191. package/dist/esm-es5/ShadowViewAddon-2e0cf632.js +1 -0
  192. package/dist/esm-es5/{global-59aa17be.js → global-c2d5e2fa.js} +2 -2
  193. package/dist/esm-es5/index.module-25496635.js +1 -0
  194. package/dist/esm-es5/loader.js +1 -1
  195. package/dist/esm-es5/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
  196. package/dist/esm-es5/mint-components.js +1 -1
  197. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  198. package/dist/esm-es5/re-render-8ece93cd.js +1 -0
  199. package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  200. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  201. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  202. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  203. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  204. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  205. package/dist/esm-es5/{sqm-hero-view-b54265df.js → sqm-hero-view-b8ce1900.js} +1 -1
  206. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  207. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  208. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-4181f286.js → sqm-navigation-sidebar-item-view-24d5f092.js} +1 -1
  209. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  210. package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  211. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  212. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  213. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  214. package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  215. package/dist/esm-es5/{sqm-portal-email-verification-view-5b888e5c.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
  216. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  217. package/dist/esm-es5/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-c4059af8.js} +1 -1
  218. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  219. package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
  220. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  221. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  222. package/dist/esm-es5/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-ec58906b.js} +1 -1
  223. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  224. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  225. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  226. package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
  227. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  228. package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  229. package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
  230. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  231. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  232. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  233. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  234. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  235. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  236. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  237. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  238. package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  239. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  240. package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
  241. package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
  242. package/dist/esm-es5/useChildElements-d86f03c6.js +1 -0
  243. package/dist/esm-es5/useReferralTable-7aeb954d.js +1 -0
  244. package/dist/esm-es5/useRegistrationFormState-e94eec81.js +1 -0
  245. package/dist/mint-components/global/styles.ts +2 -12
  246. package/dist/mint-components/mint-components.esm.js +1 -1
  247. package/dist/mint-components/mint-components.js +1 -1
  248. package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
  249. package/dist/mint-components/{p-199defdf.js → p-0425104d.js} +2 -2
  250. package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
  251. package/dist/mint-components/p-0746d416.system.entry.js +1 -0
  252. package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
  253. package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
  254. package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
  255. package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
  256. package/dist/mint-components/p-11a4a003.system.js +1 -0
  257. package/dist/mint-components/p-121cdc60.js +1 -0
  258. package/dist/mint-components/{p-72ebbd38.js → p-13cfd4bd.js} +1 -1
  259. package/dist/mint-components/{p-6882f2bb.js → p-16671c5a.js} +1 -1
  260. package/dist/mint-components/p-175ef60c.js +1 -0
  261. package/dist/mint-components/{p-fb7288a2.system.js → p-177f1699.system.js} +1 -1
  262. package/dist/mint-components/{p-e175ad25.js → p-19deed13.js} +1 -1
  263. package/dist/mint-components/p-19f572c9.entry.js +1 -0
  264. package/dist/mint-components/p-1a673057.system.js +8 -0
  265. package/dist/mint-components/{p-c1c9bd9d.system.js → p-20268b64.system.js} +1 -1
  266. package/dist/mint-components/p-233e784a.js +1 -0
  267. package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
  268. package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
  269. package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
  270. package/dist/mint-components/p-28b0cd34.entry.js +1 -0
  271. package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
  272. package/dist/mint-components/{p-10483359.entry.js → p-29d7ffd1.entry.js} +2 -2
  273. package/dist/mint-components/{p-5674fe4d.js → p-33fe169e.js} +1 -1
  274. package/dist/mint-components/p-3582d202.system.entry.js +1 -0
  275. package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
  276. package/dist/mint-components/p-379c5754.entry.js +13 -0
  277. package/dist/mint-components/{p-5ad360ab.entry.js → p-3aa067f0.entry.js} +2 -2
  278. package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
  279. package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
  280. package/dist/mint-components/p-3f15986b.entry.js +1 -0
  281. package/dist/mint-components/p-3f8b27a1.entry.js +1 -0
  282. package/dist/mint-components/p-40a8ea40.entry.js +1 -0
  283. package/dist/mint-components/p-41962e08.js +1 -0
  284. package/dist/mint-components/p-41c60fa2.system.entry.js +1 -0
  285. package/dist/mint-components/p-4352909d.js +1 -0
  286. package/dist/mint-components/p-4560faa8.entry.js +1 -0
  287. package/dist/mint-components/p-46bcab94.system.entry.js +1 -0
  288. package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
  289. package/dist/mint-components/p-4a5d61fe.entry.js +99 -0
  290. package/dist/mint-components/p-4a8494b4.entry.js +1 -0
  291. package/dist/mint-components/p-4b83d7ea.js +1 -0
  292. package/dist/mint-components/{p-648022ed.entry.js → p-4bba97ae.entry.js} +12 -12
  293. package/dist/mint-components/{p-79c04821.system.entry.js → p-4cc59fed.system.entry.js} +1 -1
  294. package/dist/mint-components/{p-55678b75.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
  295. package/dist/mint-components/p-51438962.system.entry.js +1 -0
  296. package/dist/mint-components/p-528ce342.system.entry.js +1 -0
  297. package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
  298. package/dist/mint-components/p-54db9721.js +1 -0
  299. package/dist/mint-components/p-58c173ff.entry.js +1 -0
  300. package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
  301. package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
  302. package/dist/mint-components/p-61b954e7.entry.js +1 -0
  303. package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
  304. package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
  305. package/dist/mint-components/p-6a31ddea.system.entry.js +1 -0
  306. package/dist/mint-components/p-6a529e0e.entry.js +1 -0
  307. package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
  308. package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
  309. package/dist/mint-components/p-76f151b2.entry.js +1 -0
  310. package/dist/mint-components/p-76f7b3d2.entry.js +1 -0
  311. package/dist/mint-components/p-7850a5e5.system.js +1 -0
  312. package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
  313. package/dist/mint-components/p-79d2781f.system.entry.js +1 -0
  314. package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
  315. package/dist/mint-components/p-7ab63827.entry.js +1 -0
  316. package/dist/mint-components/{p-29ceaa99.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  317. package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
  318. package/dist/mint-components/{p-11a1a6a8.js → p-914511f3.js} +2 -2
  319. package/dist/mint-components/p-92110eef.entry.js +1 -0
  320. package/dist/mint-components/{p-dfb6765a.system.js → p-94578d79.system.js} +1 -1
  321. package/dist/mint-components/p-986e52e2.system.entry.js +1 -0
  322. package/dist/mint-components/p-99397ef5.system.js +1 -0
  323. package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
  324. package/dist/mint-components/p-9d362d44.system.js +1 -0
  325. package/dist/mint-components/p-9fa6c616.entry.js +1 -0
  326. package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
  327. package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
  328. package/dist/mint-components/p-a951d772.system.entry.js +1 -0
  329. package/dist/mint-components/p-a993b2b2.system.entry.js +1 -0
  330. package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
  331. package/dist/mint-components/p-b01e28dd.system.js +1 -0
  332. package/dist/mint-components/{p-b0bcbf67.js → p-b025d888.js} +4 -4
  333. package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
  334. package/dist/mint-components/p-b33e0421.system.js +1 -0
  335. package/dist/mint-components/p-bc4f641c.entry.js +9 -0
  336. package/dist/mint-components/p-bd3c2e67.system.js +1 -0
  337. package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
  338. package/dist/mint-components/p-bf17dc65.system.js +1 -0
  339. package/dist/mint-components/p-c5db3dcc.entry.js +1 -0
  340. package/dist/mint-components/p-c869970e.system.entry.js +1 -0
  341. package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
  342. package/dist/mint-components/p-cef45012.js +1 -0
  343. package/dist/mint-components/{p-e3acae66.system.js → p-d20361b8.system.js} +1 -1
  344. package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
  345. package/dist/mint-components/p-dbfb865e.js +1 -0
  346. package/dist/mint-components/p-dd5f7670.entry.js +1 -0
  347. package/dist/mint-components/p-de2cd263.entry.js +1 -0
  348. package/dist/mint-components/p-de745531.system.entry.js +1 -0
  349. package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
  350. package/dist/mint-components/p-e5380001.system.entry.js +1 -0
  351. package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
  352. package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
  353. package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
  354. package/dist/mint-components/p-eaa9a926.entry.js +1 -0
  355. package/dist/mint-components/p-ed86f80a.system.js +1 -0
  356. package/dist/mint-components/{p-92c99ab9.system.js → p-ee5a4598.system.js} +1 -1
  357. package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
  358. package/dist/mint-components/{p-946de27f.system.js → p-fdcd2b8f.system.js} +2 -2
  359. package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
  360. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  361. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -2
  362. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
  363. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +5 -1
  364. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
  365. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
  366. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
  367. package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
  368. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  369. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
  370. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +4 -1
  371. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -0
  372. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  373. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -0
  374. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
  375. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +4 -1
  376. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -0
  377. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +6 -1
  378. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
  379. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +3 -2
  380. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
  381. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -3
  382. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -1
  383. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +14 -5
  384. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
  385. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
  386. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +13 -26
  387. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +4 -2
  388. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +5 -13
  389. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
  390. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +13 -14
  391. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -0
  392. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +19 -14
  393. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +2 -0
  394. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +17 -0
  395. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -10
  396. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -5
  397. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  398. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
  399. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
  400. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
  401. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
  402. package/dist/types/components/sqm-route/sqm-route.d.ts +2 -1
  403. package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
  404. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
  405. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  406. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  407. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  408. package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
  409. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
  410. package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
  411. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
  412. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
  413. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
  414. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  415. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +1 -1
  416. package/dist/types/components.d.ts +214 -719
  417. package/dist/types/global/styles.d.ts +1 -1
  418. package/docs/docs.docx +0 -0
  419. package/docs/raisins.json +1 -1
  420. package/grapesjs/grapesjs.js +1 -1
  421. package/package.json +5 -4
  422. package/dist/cjs/extends-08099afd.js +0 -21
  423. package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
  424. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
  425. package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
  426. package/dist/cjs/useChildElements-36106d83.js +0 -23
  427. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  428. package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
  429. package/dist/collection/assets/saasquatch-logo.png +0 -0
  430. package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
  431. package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
  432. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
  433. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
  434. package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
  435. package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
  436. package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
  437. package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
  438. package/dist/esm/extends-c31f1eff.js +0 -19
  439. package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
  440. package/dist/esm/sqm-qa-tabs.entry.js +0 -96
  441. package/dist/esm/sqm-qa.entry.js +0 -108
  442. package/dist/esm/useChildElements-31287783.js +0 -21
  443. package/dist/esm-es5/ShadowViewAddon-82a3c62b.js +0 -1
  444. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  445. package/dist/esm-es5/index.module-c6c6943f.js +0 -1
  446. package/dist/esm-es5/re-render-e804551e.js +0 -1
  447. package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
  448. package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
  449. package/dist/esm-es5/sqm-qa.entry.js +0 -1
  450. package/dist/esm-es5/use-callback-697e2ff0.js +0 -1
  451. package/dist/esm-es5/useChildElements-31287783.js +0 -1
  452. package/dist/esm-es5/useReferralTable-1693d531.js +0 -1
  453. package/dist/esm-es5/useValidationState-f5db8783.js +0 -1
  454. package/dist/mint-components/p-0616e87e.system.entry.js +0 -1
  455. package/dist/mint-components/p-0accfb5c.system.entry.js +0 -1
  456. package/dist/mint-components/p-0b3b7596.entry.js +0 -1
  457. package/dist/mint-components/p-1125c6ef.entry.js +0 -1
  458. package/dist/mint-components/p-144583fb.entry.js +0 -1
  459. package/dist/mint-components/p-1537ba4c.system.entry.js +0 -1
  460. package/dist/mint-components/p-154958ee.system.js +0 -1
  461. package/dist/mint-components/p-165bfabc.entry.js +0 -1
  462. package/dist/mint-components/p-1706b667.system.entry.js +0 -1
  463. package/dist/mint-components/p-1c17892a.system.js +0 -1
  464. package/dist/mint-components/p-1e665fe0.system.entry.js +0 -1
  465. package/dist/mint-components/p-22b1898f.entry.js +0 -1
  466. package/dist/mint-components/p-2ba9b60a.system.entry.js +0 -1
  467. package/dist/mint-components/p-2c64d0fb.entry.js +0 -1
  468. package/dist/mint-components/p-31553b15.entry.js +0 -1
  469. package/dist/mint-components/p-33e657bf.entry.js +0 -1
  470. package/dist/mint-components/p-3521c62c.entry.js +0 -1
  471. package/dist/mint-components/p-3913a42f.system.entry.js +0 -1
  472. package/dist/mint-components/p-3915b77c.entry.js +0 -1
  473. package/dist/mint-components/p-3b99eaf1.js +0 -1
  474. package/dist/mint-components/p-408f983a.system.js +0 -1
  475. package/dist/mint-components/p-46aabfb7.entry.js +0 -1
  476. package/dist/mint-components/p-4d90bec1.system.entry.js +0 -1
  477. package/dist/mint-components/p-505d8965.system.entry.js +0 -1
  478. package/dist/mint-components/p-51c3cec9.system.entry.js +0 -1
  479. package/dist/mint-components/p-5928afc0.js +0 -1
  480. package/dist/mint-components/p-5b2d40f4.system.entry.js +0 -1
  481. package/dist/mint-components/p-6352cbee.entry.js +0 -1
  482. package/dist/mint-components/p-675d6c48.system.entry.js +0 -1
  483. package/dist/mint-components/p-69f10938.entry.js +0 -1
  484. package/dist/mint-components/p-6dabc870.system.entry.js +0 -1
  485. package/dist/mint-components/p-6dc6ed05.entry.js +0 -1
  486. package/dist/mint-components/p-706e42f0.system.js +0 -1
  487. package/dist/mint-components/p-71a504fd.system.js +0 -1
  488. package/dist/mint-components/p-73046229.js +0 -1
  489. package/dist/mint-components/p-745255d9.entry.js +0 -1
  490. package/dist/mint-components/p-7c660f98.entry.js +0 -1
  491. package/dist/mint-components/p-7cec4e63.entry.js +0 -1
  492. package/dist/mint-components/p-8153deff.entry.js +0 -99
  493. package/dist/mint-components/p-81f34787.js +0 -1
  494. package/dist/mint-components/p-82d1bb86.entry.js +0 -1
  495. package/dist/mint-components/p-8425534f.entry.js +0 -9
  496. package/dist/mint-components/p-8858d00c.system.js +0 -1
  497. package/dist/mint-components/p-8f09f202.entry.js +0 -1
  498. package/dist/mint-components/p-8f12df83.js +0 -1
  499. package/dist/mint-components/p-90efeeb4.entry.js +0 -1
  500. package/dist/mint-components/p-965b2770.system.entry.js +0 -1
  501. package/dist/mint-components/p-97a63829.js +0 -1
  502. package/dist/mint-components/p-98eab726.system.js +0 -1
  503. package/dist/mint-components/p-a4a62f35.entry.js +0 -1
  504. package/dist/mint-components/p-a8efda40.js +0 -1
  505. package/dist/mint-components/p-aa998fc1.entry.js +0 -1
  506. package/dist/mint-components/p-ae1a283d.entry.js +0 -1
  507. package/dist/mint-components/p-b1918aeb.system.entry.js +0 -1
  508. package/dist/mint-components/p-c11237bf.system.entry.js +0 -1
  509. package/dist/mint-components/p-c14b6ff9.system.entry.js +0 -1
  510. package/dist/mint-components/p-c4b55529.system.entry.js +0 -1
  511. package/dist/mint-components/p-c5debea4.entry.js +0 -1
  512. package/dist/mint-components/p-c8c4e727.system.entry.js +0 -1
  513. package/dist/mint-components/p-d5d32d0d.system.js +0 -8
  514. package/dist/mint-components/p-d67a6057.entry.js +0 -1
  515. package/dist/mint-components/p-d8876d3f.js +0 -1
  516. package/dist/mint-components/p-d8d0ec81.system.entry.js +0 -1
  517. package/dist/mint-components/p-d9c3f39a.system.entry.js +0 -1
  518. package/dist/mint-components/p-dced4933.system.entry.js +0 -1
  519. package/dist/mint-components/p-ddeba605.system.entry.js +0 -1
  520. package/dist/mint-components/p-dec7a657.entry.js +0 -1
  521. package/dist/mint-components/p-e00abc43.system.entry.js +0 -1
  522. package/dist/mint-components/p-e28dd7a3.system.js +0 -1
  523. package/dist/mint-components/p-e39919d4.system.js +0 -1
  524. package/dist/mint-components/p-ea5afb36.system.entry.js +0 -1
  525. package/dist/mint-components/p-ee461c80.js +0 -1
  526. package/dist/mint-components/p-eeca87d4.system.entry.js +0 -1
  527. package/dist/mint-components/p-f0e2df53.system.entry.js +0 -1
  528. package/dist/mint-components/p-f86ba72a.system.entry.js +0 -1
  529. package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
  530. package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
  531. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
  532. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
  533. package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
  534. package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
  535. package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
  536. package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
  537. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
  538. package/docs/grapesjs.js +0 -54
@@ -1,31 +1,30 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { a as commonjsGlobal, j as useMemo, k as useState, e as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-e39af977.js';
3
- import './global-59aa17be.js';
4
- import './use-callback-697e2ff0.js';
5
- import { c as Ft, R as Rt, n as ne$1, d as dist, l as lt, h as R$1 } from './index.module-c6c6943f.js';
6
- import './extends-c31f1eff.js';
2
+ import { a as commonjsGlobal, k as useMemo, i as useState, f as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-eefa3570.js';
3
+ import './global-c2d5e2fa.js';
4
+ import './use-callback-684c8bb7.js';
5
+ import { f as fn, c as cn, b as setUserIdentity, d as dist, z as ze, g as setProgramId } from './index.module-25496635.js';
7
6
  import './cjs-bdfb4486.js';
8
7
  import './mixins-f60a614c.js';
9
- import { c as createStyleSheet } from './JSS-f00f9536.js';
10
- import { G as GenericTableView } from './GenericTableView-59c5d47c.js';
11
- import './useChildElements-31287783.js';
12
- import { l as luxon } from './luxon-578505e2.js';
8
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
+ import { G as GenericTableView } from './GenericTableView-ce26115f.js';
10
+ import './useChildElements-d86f03c6.js';
11
+ import { l as luxon } from './luxon-5a398612.js';
13
12
  import './utils-334c1e34.js';
14
- import './sqm-text-span-view-0ba1484d.js';
15
- import { A as AssetCardView } from './sqm-asset-card-view-08e68656.js';
16
- import { H as HeroView } from './sqm-hero-view-b54265df.js';
13
+ import './sqm-text-span-view-8b194920.js';
14
+ import { A as AssetCardView } from './sqm-asset-card-view-b0f8ef8e.js';
15
+ import { H as HeroView } from './sqm-hero-view-b8ce1900.js';
17
16
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
18
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-06d444ca.js';
19
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4181f286.js';
20
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-5b888e5c.js';
21
- import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-56689d55.js';
22
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-86d13eef.js';
23
- import { P as PortalContainerView } from './sqm-portal-container-view-ca454627.js';
24
- import { P as PortalProfileView } from './sqm-portal-profile-view-148efa76.js';
25
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-213b3af6.js';
26
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c32dfd7e.js';
27
- import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-82a3c62b.js';
28
- import { P as PortalSectionView } from './sqm-portal-section-view-6c249c74.js';
17
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-aa1313e7.js';
18
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-24d5f092.js';
19
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-4fa01d0a.js';
20
+ import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-c4059af8.js';
21
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-29c2e39b.js';
22
+ import { P as PortalContainerView } from './sqm-portal-container-view-228f2b65.js';
23
+ import { P as PortalProfileView } from './sqm-portal-profile-view-ec58906b.js';
24
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-06f6ffac.js';
25
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-833644ac.js';
26
+ import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-2e0cf632.js';
27
+ import { P as PortalSectionView } from './sqm-portal-section-view-a991e019.js';
29
28
 
30
29
  /**
31
30
  * lodash (Custom Build) <https://lodash.com/>
@@ -2354,36 +2353,36 @@ const routes = `
2354
2353
  `;
2355
2354
  const TemplateNavigation = createHookStory(() => {
2356
2355
  return (h("div", null,
2357
- h("button", { onClick: () => Ft.push("/") }, "/"),
2358
- h("button", { onClick: () => Ft.push("/foo") }, "/foo"),
2359
- h("button", { onClick: () => Ft.push("/bar") }, "/bar"),
2360
- h("button", { onClick: () => Ft.push("/baz/bang") }, "/baz/bang"),
2361
- h("button", { onClick: () => Ft.push("/refer") }, "/refer"),
2362
- h("button", { onClick: () => Ft.push("/refer/1") }, "/refer/1"),
2363
- h("button", { onClick: () => Ft.push("/refer/2") }, "/refer/2"),
2364
- h("button", { onClick: () => Ft.back() }, "Back"),
2365
- h("button", { onClick: () => Ft.forward() }, "Forward"),
2356
+ h("button", { onClick: () => fn.push("/") }, "/"),
2357
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2358
+ h("button", { onClick: () => fn.push("/bar") }, "/bar"),
2359
+ h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
2360
+ h("button", { onClick: () => fn.push("/refer") }, "/refer"),
2361
+ h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
2362
+ h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
2363
+ h("button", { onClick: () => fn.back() }, "Back"),
2364
+ h("button", { onClick: () => fn.forward() }, "Forward"),
2366
2365
  h("hr", null),
2367
2366
  h("sqm-router", { innerHTML: templates })));
2368
2367
  });
2369
2368
  const RouteNavigation = createHookStory(() => {
2370
2369
  return (h("div", null,
2371
- h("button", { onClick: () => Ft.push("/") }, "/"),
2372
- h("button", { onClick: () => Ft.push("/foo") }, "/foo"),
2373
- h("button", { onClick: () => Ft.push("/bar") }, "/bar"),
2374
- h("button", { onClick: () => Ft.push("/baz/bang") }, "/baz/bang"),
2375
- h("button", { onClick: () => Ft.push("/refer") }, "/refer"),
2376
- h("button", { onClick: () => Ft.push("/refer/1") }, "/refer/1"),
2377
- h("button", { onClick: () => Ft.push("/refer/2") }, "/refer/2"),
2378
- h("button", { onClick: () => Ft.back() }, "Back"),
2379
- h("button", { onClick: () => Ft.forward() }, "Forward"),
2370
+ h("button", { onClick: () => fn.push("/") }, "/"),
2371
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2372
+ h("button", { onClick: () => fn.push("/bar") }, "/bar"),
2373
+ h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
2374
+ h("button", { onClick: () => fn.push("/refer") }, "/refer"),
2375
+ h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
2376
+ h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
2377
+ h("button", { onClick: () => fn.back() }, "Back"),
2378
+ h("button", { onClick: () => fn.forward() }, "Forward"),
2380
2379
  h("hr", null),
2381
2380
  h("sqm-router", { innerHTML: routes })));
2382
2381
  });
2383
2382
  const Styling = createHookStory(() => {
2384
2383
  return (h("div", null,
2385
- h("button", { onClick: () => Ft.push("/") }, "/"),
2386
- h("button", { onClick: () => Ft.push("/foo") }, "/foo"),
2384
+ h("button", { onClick: () => fn.push("/") }, "/"),
2385
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2387
2386
  h("hr", null),
2388
2387
  h("div", { style: { display: "flex", justifyContent: "space-around" } },
2389
2388
  h("sqm-router", { innerHTML: `<template path="/">
@@ -2397,7 +2396,7 @@ function useTemplate(templateString) {
2397
2396
  const [previewTemplate, setPreviewTemplate] = useState(templateString);
2398
2397
  function setPath(e) {
2399
2398
  //@ts-ignore
2400
- Ft.push(e.target.value);
2399
+ fn.push(e.target.value);
2401
2400
  }
2402
2401
  return {
2403
2402
  states: { previewTemplate, editedTemplate },
@@ -2561,8 +2560,8 @@ const FullStackFrame = () => {
2561
2560
  "Current path:",
2562
2561
  " ",
2563
2562
  h("code", null,
2564
- h("strong", null, (_a = Rt()) === null || _a === void 0 ? void 0 : _a.pathname))),
2565
- h("button", { onClick: Ft.back }, "Go Back")));
2563
+ h("strong", null, (_a = cn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2564
+ h("button", { onClick: fn.back }, "Go Back")));
2566
2565
  };
2567
2566
  const FullStackFrameLoggedOut = () => {
2568
2567
  var _a;
@@ -2586,8 +2585,8 @@ const FullStackFrameLoggedOut = () => {
2586
2585
  "Current path:",
2587
2586
  " ",
2588
2587
  h("code", null,
2589
- h("strong", null, (_a = Rt()) === null || _a === void 0 ? void 0 : _a.pathname))),
2590
- h("button", { onClick: Ft.back }, "Go Back")));
2588
+ h("strong", null, (_a = cn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2589
+ h("button", { onClick: fn.back }, "Go Back")));
2591
2590
  };
2592
2591
 
2593
2592
  const PortalFrame = /*#__PURE__*/Object.freeze({
@@ -2681,14 +2680,14 @@ function setupGraphQL$1() {
2681
2680
  programId,
2682
2681
  };
2683
2682
  useEffect(() => {
2684
- ne$1({
2683
+ setUserIdentity({
2685
2684
  accountId,
2686
2685
  id,
2687
2686
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2688
2687
  });
2689
2688
  return () => {
2690
2689
  window.widgetIdent = undefined;
2691
- ne$1(undefined);
2690
+ setUserIdentity(undefined);
2692
2691
  };
2693
2692
  }, []);
2694
2693
  }
@@ -2743,14 +2742,14 @@ function setupGraphQL$2() {
2743
2742
  programId,
2744
2743
  };
2745
2744
  useEffect(() => {
2746
- ne$1({
2745
+ setUserIdentity({
2747
2746
  accountId,
2748
2747
  id,
2749
2748
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2750
2749
  });
2751
2750
  return () => {
2752
2751
  window.widgetIdent = undefined;
2753
- ne$1(undefined);
2752
+ setUserIdentity(undefined);
2754
2753
  };
2755
2754
  }, []);
2756
2755
  }
@@ -2805,14 +2804,14 @@ function setupGraphQL$3() {
2805
2804
  programId,
2806
2805
  };
2807
2806
  useEffect(() => {
2808
- ne$1({
2807
+ setUserIdentity({
2809
2808
  accountId,
2810
2809
  id,
2811
2810
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
2812
2811
  });
2813
2812
  return () => {
2814
2813
  window.widgetIdent = undefined;
2815
- ne$1(undefined);
2814
+ setUserIdentity(undefined);
2816
2815
  };
2817
2816
  }, []);
2818
2817
  }
@@ -2946,14 +2945,14 @@ function setupGraphQL$4() {
2946
2945
  programId,
2947
2946
  };
2948
2947
  useEffect(() => {
2949
- ne$1({
2948
+ setUserIdentity({
2950
2949
  accountId,
2951
2950
  id,
2952
2951
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
2953
2952
  });
2954
2953
  return () => {
2955
2954
  window.widgetIdent = undefined;
2956
- ne$1(undefined);
2955
+ setUserIdentity(undefined);
2957
2956
  };
2958
2957
  }, []);
2959
2958
  }
@@ -2993,14 +2992,14 @@ function setupGraphQL$5() {
2993
2992
  programId,
2994
2993
  };
2995
2994
  useEffect(() => {
2996
- ne$1({
2995
+ setUserIdentity({
2997
2996
  accountId,
2998
2997
  id,
2999
2998
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3000
2999
  });
3001
3000
  return () => {
3002
3001
  window.widgetIdent = undefined;
3003
- ne$1(undefined);
3002
+ setUserIdentity(undefined);
3004
3003
  };
3005
3004
  }, []);
3006
3005
  }
@@ -3016,14 +3015,14 @@ function setupOtherGraphQL() {
3016
3015
  programId,
3017
3016
  };
3018
3017
  useEffect(() => {
3019
- ne$1({
3018
+ setUserIdentity({
3020
3019
  accountId,
3021
3020
  id,
3022
3021
  jwt: JWT,
3023
3022
  });
3024
3023
  return () => {
3025
3024
  window.widgetIdent = undefined;
3026
- ne$1(undefined);
3025
+ setUserIdentity(undefined);
3027
3026
  };
3028
3027
  }, []);
3029
3028
  return { id, accountId };
@@ -3257,14 +3256,14 @@ function setupGraphQL$6() {
3257
3256
  programId,
3258
3257
  };
3259
3258
  useEffect(() => {
3260
- ne$1({
3259
+ setUserIdentity({
3261
3260
  accountId,
3262
3261
  id,
3263
3262
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3264
3263
  });
3265
3264
  return () => {
3266
3265
  window.widgetIdent = undefined;
3267
- ne$1(undefined);
3266
+ setUserIdentity(undefined);
3268
3267
  };
3269
3268
  }, []);
3270
3269
  return { id, accountId };
@@ -3273,7 +3272,7 @@ function useExchangeButton() {
3273
3272
  const { id, accountId } = setupGraphQL$6();
3274
3273
  const [points, setPoints] = useState(10);
3275
3274
  const [rate, setRate] = useState(100);
3276
- const [exchange, { data, errors }] = lt(EXCHANGE);
3275
+ const [exchange, { data, errors }] = ze(EXCHANGE);
3277
3276
  return {
3278
3277
  states: {
3279
3278
  points,
@@ -3388,14 +3387,14 @@ function setupGraphQL$7() {
3388
3387
  appDomain: "https://staging.referralsaasquatch.com",
3389
3388
  };
3390
3389
  useEffect(() => {
3391
- ne$1({
3390
+ setUserIdentity({
3392
3391
  accountId,
3393
3392
  id,
3394
3393
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3395
3394
  });
3396
3395
  return () => {
3397
3396
  window.widgetIdent = undefined;
3398
- ne$1(undefined);
3397
+ setUserIdentity(undefined);
3399
3398
  };
3400
3399
  }, []);
3401
3400
  return { id, accountId };
@@ -3409,14 +3408,14 @@ function setupGraphQLKlip({ token, id }) {
3409
3408
  appDomain: "https://staging.referralsaasquatch.com",
3410
3409
  };
3411
3410
  useEffect(() => {
3412
- ne$1({
3411
+ setUserIdentity({
3413
3412
  accountId,
3414
3413
  id,
3415
3414
  jwt: token,
3416
3415
  });
3417
3416
  return () => {
3418
3417
  window.widgetIdent = undefined;
3419
- ne$1(undefined);
3418
+ setUserIdentity(undefined);
3420
3419
  };
3421
3420
  }, []);
3422
3421
  return { id, accountId };
@@ -3430,7 +3429,7 @@ const RewardTableDemoHook = createHookStory(() => {
3430
3429
  });
3431
3430
  const RewardsTableWithProgram = createHookStory(() => {
3432
3431
  setupGraphQL$7();
3433
- R$1("sam-partner-test-2");
3432
+ setProgramId("sam-partner-test-2");
3434
3433
  return (h("sqm-rewards-table", null,
3435
3434
  h("sqm-rewards-table-reward-column", null),
3436
3435
  h("sqm-rewards-table-status-column", null),
@@ -3439,7 +3438,7 @@ const RewardsTableWithProgram = createHookStory(() => {
3439
3438
  });
3440
3439
  const RewardsTableNoProgram = createHookStory(() => {
3441
3440
  setupGraphQL$7();
3442
- R$1(undefined);
3441
+ setProgramId(undefined);
3443
3442
  return (h("sqm-rewards-table", null,
3444
3443
  h("sqm-rewards-table-reward-column", null),
3445
3444
  h("sqm-rewards-table-status-column", null),
@@ -3451,7 +3450,7 @@ const RewardsTableEn = createHookStory(() => {
3451
3450
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
3452
3451
  id: "samenglish",
3453
3452
  });
3454
- R$1(undefined);
3453
+ setProgramId(undefined);
3455
3454
  return (h("sqm-rewards-table", { "per-page": "4" },
3456
3455
  h("sqm-rewards-table-reward-column", null),
3457
3456
  h("sqm-rewards-table-status-column", null),
@@ -3463,7 +3462,7 @@ const RewardsTableTr = createHookStory(() => {
3463
3462
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
3464
3463
  id: "samturkey",
3465
3464
  });
3466
- R$1(undefined);
3465
+ setProgramId(undefined);
3467
3466
  return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
3468
3467
  h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
3469
3468
  h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
@@ -3475,7 +3474,7 @@ const RewardsTableFr = createHookStory(() => {
3475
3474
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
3476
3475
  id: "samfrench",
3477
3476
  });
3478
- R$1(undefined);
3477
+ setProgramId(undefined);
3479
3478
  return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
3480
3479
  h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
3481
3480
  h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
@@ -3509,14 +3508,14 @@ function setupGraphQL$8() {
3509
3508
  programId,
3510
3509
  };
3511
3510
  useEffect(() => {
3512
- ne$1({
3511
+ setUserIdentity({
3513
3512
  accountId,
3514
3513
  id,
3515
3514
  jwt: JWT,
3516
3515
  });
3517
3516
  return () => {
3518
3517
  window.widgetIdent = undefined;
3519
- ne$1(undefined);
3518
+ setUserIdentity(undefined);
3520
3519
  };
3521
3520
  }, []);
3522
3521
  return { id, accountId };
@@ -3854,11 +3853,11 @@ const NewPortal = /*#__PURE__*/Object.freeze({
3854
3853
  Activity: Activity
3855
3854
  });
3856
3855
 
3857
- const referralWidget = "<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 >\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 They’ll get a $50 credit towards a new account and you’ll get:\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 Choose how you want to share\n <sub>Your unique referral link:</sub>\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 Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\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 show-labels\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";
3856
+ const referralWidget = "<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 >\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>They’ll get a $50 credit towards a new account and you’ll get:</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 Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\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";
3858
3857
 
3859
- 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 >\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 They’ll get a $50 credit towards a new account and you’ll get:\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 Choose how you want to share:\n <sub>Your unique referral link:</sub>\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 Tweet about us\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 100 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 150 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 Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\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 show-labels=\"\"\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 show-labels=\"\"\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";
3858
+ 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 >\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>They’ll get a $50 credit towards a new account and you’ll get:</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 Tweet about us\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 Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\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";
3860
3859
 
3861
- 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 >\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 100 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 150 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 Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\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 show-labels\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 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";
3860
+ 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 >\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 Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\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";
3862
3861
 
3863
3862
  const Widget_stories = {
3864
3863
  title: "Templates / Widgets",
@@ -4547,7 +4546,7 @@ const AssetCard_stories = {
4547
4546
  const Default$7 = () => {
4548
4547
  const props = {
4549
4548
  text: { titleText: "Marketing Banner" },
4550
- imgUrl: "../../assets/saasquatch-logo.png",
4549
+ imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
4551
4550
  callbacks: {},
4552
4551
  };
4553
4552
  return h(AssetCardView, Object.assign({}, props));
@@ -4555,7 +4554,7 @@ const Default$7 = () => {
4555
4554
  const CardWithLongText = () => {
4556
4555
  const props = {
4557
4556
  text: { titleText: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!" },
4558
- imgUrl: "../../assets/saasquatch-logo.png",
4557
+ imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
4559
4558
  callbacks: {},
4560
4559
  };
4561
4560
  return h(AssetCardView, Object.assign({}, props));
@@ -5320,7 +5319,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
5320
5319
  tenRewardsCell: tenRewardsCell
5321
5320
  });
5322
5321
 
5323
- const scenario$c = "@owner:sam\n@author:sam\nFeature: Referral Table\n\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\n with a collection of columns.\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no referrals\n Given a user with no referrals\n When they view the referral table\n Then no referrals are displayed\n And they see an image with a user icon\n And \"View your referral details\" in bold\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario: The empty state image and text are customizable\n Given the referral table has 'sqm-empty' as a child with the following props\n | prop | value |\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\n | empty-state-header | View your referral history |\n | empty-state-text | See your previous referrals and what you earned! |\n And a user with no referrals\n When they view the referral table\n Then they see no referrals\n And they see the SaaSquatch logo\n And \"View your referral history\" in bold\n And \"See your previous referrals and what you earned!\" below the bolded text\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no referrals\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the referral table\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: The loading state is shown while referrals are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\n Given the user has <number of referrals>\n And the table is configured to show <page limit> referrals per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of referrals\n And the pagination button to go to the previous page is disabled on the first page of referrals\n Examples:\n | number of referrals | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the referral table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\n Given a referral table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with referrals\n When they view the referral table\n And their window size is below the tablet breakpoint\n Then referral cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: The use who referred the current user can be shown in the table\n Given the table is configured with <showReferrer> set to true\n And the current user was referrered by <referrer>\n Then the first table row on the first page of the table is for <referrer>\n\n @motivating\n Scenario: Only referrals which occured in the program specific by program-id are shown\n Given the table is configured with \"program-id\"\n Then only referrals from the program with \"program-id\" are shown\n\n @motivating\n Scenario: Classic program shows only classic referrals\n Given the \"program-id\" of the table is set to \"classic\"\n Then only classic referrals are shown in the table\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"show-labels\" set to false\n Then the table is displayed without column headings";
5322
+ const scenario$c = "@owner:sam\n@author:sam\nFeature: Referral Table\n\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\n with a collection of columns.\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no referrals\n Given a user with no referrals\n When they view the referral table\n Then no referrals are displayed\n And they see an image with a user icon\n And \"View your referral details\" in bold\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario: The empty state image and text are customizable\n Given the referral table has 'sqm-empty' as a child with the following props\n | prop | value |\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\n | empty-state-header | View your referral history |\n | empty-state-text | See your previous referrals and what you earned! |\n And a user with no referrals\n When they view the referral table\n Then they see no referrals\n And they see the SaaSquatch logo\n And \"View your referral history\" in bold\n And \"See your previous referrals and what you earned!\" below the bolded text\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no referrals\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the referral table\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: The loading state is shown while referrals are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\n Given the user has <number of referrals>\n And the table is configured to show <page limit> referrals per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of referrals\n And the pagination button to go to the previous page is disabled on the first page of referrals\n Examples:\n | number of referrals | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the referral table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\n Given a referral table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with referrals\n When they view the referral table\n And their window size is below the tablet breakpoint\n Then referral cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: The use who referred the current user can be shown in the table\n Given the table is configured with <showReferrer> set to true\n And the current user was referrered by <referrer>\n Then the first table row on the first page of the table is for <referrer>\n\n @motivating\n Scenario: Only referrals which occured in the program specific by program-id are shown\n Given the table is configured with \"program-id\"\n Then only referrals from the program with \"program-id\" are shown\n\n @motivating\n Scenario: Classic program shows only classic referrals\n Given the \"program-id\" of the table is set to \"classic\"\n Then only classic referrals are shown in the table\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"hide-labels\" set to \"true\"\n Then the table is displayed without column headings";
5324
5323
 
5325
5324
  const ReferralTable_stories = {
5326
5325
  title: "Components/Referral Table",
@@ -5982,6 +5981,7 @@ const Start = () => {
5982
5981
  initValue: "",
5983
5982
  states: {
5984
5983
  enableValidation: true,
5984
+ registrationFormState: {},
5985
5985
  validationErrors: {},
5986
5986
  content: {
5987
5987
  fieldLabel: "Password",
@@ -5995,6 +5995,7 @@ const EmptyError = () => {
5995
5995
  states: {
5996
5996
  enableValidation: true,
5997
5997
  validationErrors: { password: "Cannot be empty" },
5998
+ registrationFormState: {},
5998
5999
  content: {
5999
6000
  fieldLabel: "Password",
6000
6001
  },
@@ -6006,6 +6007,7 @@ const ValidationError = () => {
6006
6007
  initValue: "asdf",
6007
6008
  states: {
6008
6009
  enableValidation: true,
6010
+ registrationFormState: {},
6009
6011
  validationErrors: { password: "Incomplete" },
6010
6012
  content: {
6011
6013
  fieldLabel: "Password",
@@ -9574,21 +9576,21 @@ var marked = createCommonjsModule(function (module, exports) {
9574
9576
  })));
9575
9577
  });
9576
9578
 
9577
- const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | Label for email field | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | Label for forgotten password button | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | Forgot password redirect path | `string` | `\"/forgotPassword\"` |\n| `nextPage` | `next-page` | Page navigated to after sign-in | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | Label for password field | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | Label for register button | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | Register redirect path | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | Label for submit button | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9579
+ const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | | `string` | `\"/forgotPassword\"` |\n| `nextPage` | `next-page` | Page participants are navigated to after login. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9578
9580
 
9579
9581
  const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Height of the iframe container | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Width of the iframe container | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9580
9582
 
9581
- const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9583
+ const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `loginText` | `login-text` | Sign In Link Text | `string` | `\"Sign In\"` |\n| `redirectPath` | `redirect-path` | The microsite page that participants are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9582
9584
 
9583
- const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page navigated to after registration | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9585
+ const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input. | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path. | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page participants are navigated to after registration. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9584
9586
 
9585
- const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | Country input field label | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | Email input field label | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | First name input field label | `string` | `\"First Name\"` |\n| `lastnametext` | `lastnametext` | Last name input field label | `string` | `\"Last Name\"` |\n| `showCountry` | `show-country` | Show or hide the country field | `boolean` | `true` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9587
+ const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\n| `showCountry` | `show-country` | Show or hide the country field. | `boolean` | `true` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9586
9588
 
9587
- const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide confirm password field | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9589
+ const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide confirm password field. | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that participants are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that participants are redirected to when the password reset succeeds. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9588
9590
 
9589
- const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9591
+ const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `redirectPath` | `redirect-path` | The microsite page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9590
9592
 
9591
- const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `\"/\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9593
+ const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that participants are redirected to if verification fails due to outdated verification attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that participants are redirected to when the verification succeeds. | `string` | `\"/\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9592
9594
 
9593
9595
  const PortalTemplates_stories = {
9594
9596
  title: "Templates / Portal",
@@ -9628,16 +9630,16 @@ function DefaultTemplateView$1(props) {
9628
9630
  gridTemplateColumns: "repeat(9, 80px)",
9629
9631
  gridGap: "10px",
9630
9632
  } },
9631
- h("button", { onClick: () => Ft.push("/") }, "Dashboard"),
9632
- props.leadSubmit && (h("button", { onClick: () => Ft.push("/refer") }, "Submit a Referral")),
9633
- h("button", { onClick: () => Ft.push("/activity") }, "Activity"),
9634
- h("button", { onClick: () => Ft.push("/editProfile") }, "Edit Profile"),
9635
- h("button", { onClick: () => Ft.push("/login") }, "Login"),
9636
- h("button", { onClick: () => Ft.push("/register") }, "Register"),
9637
- h("button", { onClick: () => Ft.push("/emailVerification") }, "Email Verification"),
9638
- h("button", { onClick: () => Ft.push("/verifyEmail") }, "Verify Email"),
9639
- h("button", { onClick: () => Ft.push("/forgotPassword") }, "Forgot Password"),
9640
- h("button", { onClick: () => Ft.push("/resetPassword") }, "Reset Password")),
9633
+ h("button", { onClick: () => fn.push("/") }, "Dashboard"),
9634
+ props.leadSubmit && (h("button", { onClick: () => fn.push("/refer") }, "Submit a Referral")),
9635
+ h("button", { onClick: () => fn.push("/activity") }, "Activity"),
9636
+ h("button", { onClick: () => fn.push("/editProfile") }, "Edit Profile"),
9637
+ h("button", { onClick: () => fn.push("/login") }, "Login"),
9638
+ h("button", { onClick: () => fn.push("/register") }, "Register"),
9639
+ h("button", { onClick: () => fn.push("/emailVerification") }, "Email Verification"),
9640
+ h("button", { onClick: () => fn.push("/verifyEmail") }, "Verify Email"),
9641
+ h("button", { onClick: () => fn.push("/forgotPassword") }, "Forgot Password"),
9642
+ h("button", { onClick: () => fn.push("/resetPassword") }, "Reset Password")),
9641
9643
  h("br", null),
9642
9644
  h("div", { innerHTML: states.previewTemplate })));
9643
9645
  }
@@ -10211,14 +10213,14 @@ function setupGraphQL$9() {
10211
10213
  programId,
10212
10214
  };
10213
10215
  useEffect(() => {
10214
- ne$1({
10216
+ setUserIdentity({
10215
10217
  accountId,
10216
10218
  id,
10217
10219
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10218
10220
  });
10219
10221
  return () => {
10220
10222
  window.widgetIdent = undefined;
10221
- ne$1(undefined);
10223
+ setUserIdentity(undefined);
10222
10224
  };
10223
10225
  }, []);
10224
10226
  return { id, accountId };
@@ -10327,14 +10329,14 @@ function setupGraphQL$a() {
10327
10329
  programId,
10328
10330
  };
10329
10331
  useEffect(() => {
10330
- ne$1({
10332
+ setUserIdentity({
10331
10333
  accountId,
10332
10334
  id,
10333
10335
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10334
10336
  });
10335
10337
  return () => {
10336
10338
  window.widgetIdent = undefined;
10337
- ne$1(undefined);
10339
+ setUserIdentity(undefined);
10338
10340
  };
10339
10341
  }, []);
10340
10342
  return { id, accountId };
@@ -10482,14 +10484,14 @@ function setupGraphQL$b() {
10482
10484
  programId,
10483
10485
  };
10484
10486
  useEffect(() => {
10485
- ne$1({
10487
+ setUserIdentity({
10486
10488
  accountId,
10487
10489
  id,
10488
10490
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10489
10491
  });
10490
10492
  return () => {
10491
10493
  window.widgetIdent = undefined;
10492
- ne$1(undefined);
10494
+ setUserIdentity(undefined);
10493
10495
  };
10494
10496
  }, []);
10495
10497
  return { id, accountId };
@@ -11483,7 +11485,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
11483
11485
  EmptyCell: EmptyCell$2
11484
11486
  });
11485
11487
 
11486
- const scenario$s = "@owner:sam\n@author:sam\nFeature: Rewards Table\n\n Shows a list of rewards as a table\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no rewards\n Given a user with rewards\n When they view the reward table\n Then no rewards are displayed\n And they see an image with a user icon\n And \"View your rewards\" in bold\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no rewards\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the reward table\n Then they see the custom empty state\n\n @minutae\n @ui\n Scenario: The loading state is shown while rewards are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\n Given the user has <number of rewards>\n And the table is configured to show <page limit> rewards per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of rewards\n And the pagination button to go to the previous page is disabled on the first page of rewards\n Examples:\n | number of rewards | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the reward table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile\n Given a reward table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with rewards\n When they view the reward table\n And their window size is below the tablet breakpoint\n Then reward cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\n Given the table is configured with \"program-id\"\n Then only rewards from the program with \"program-id\" are shown\n\n @landmine\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\n There is no easy way for the backend to filter for \"classic\" programs,\n thus we are filtering for rewards without programId's.\n\n Given the \"program-id\" of the table is set to \"classic\"\n Then rewards from classic programs are shown\n And manual rewards are shown\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"show-labels\" set to false\n Then the table is displayed without column headings";
11488
+ const scenario$s = "@owner:sam\n@author:sam\nFeature: Rewards Table\n\n Shows a list of rewards as a table\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no rewards\n Given a user with rewards\n When they view the reward table\n Then no rewards are displayed\n And they see an image with a user icon\n And \"View your rewards\" in bold\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no rewards\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the reward table\n Then they see the custom empty state\n\n @minutae\n @ui\n Scenario: The loading state is shown while rewards are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\n Given the user has <number of rewards>\n And the table is configured to show <page limit> rewards per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of rewards\n And the pagination button to go to the previous page is disabled on the first page of rewards\n Examples:\n | number of rewards | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the reward table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile\n Given a reward table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with rewards\n When they view the reward table\n And their window size is below the tablet breakpoint\n Then reward cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\n Given the table is configured with \"program-id\"\n Then only rewards from the program with \"program-id\" are shown\n\n @landmine\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\n There is no easy way for the backend to filter for \"classic\" programs,\n thus we are filtering for rewards without programId's.\n\n Given the \"program-id\" of the table is set to \"classic\"\n Then rewards from classic programs are shown\n And manual rewards are shown\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"hide-labels\" set to \"true\"\n Then the table is displayed without column headings";
11487
11489
 
11488
11490
  const RewardsTable_stories = {
11489
11491
  title: "Components/Rewards Table",
@@ -11628,14 +11630,14 @@ function setupGraphQL$c() {
11628
11630
  appDomain: "https://staging.referralsaasquatch.com",
11629
11631
  };
11630
11632
  useEffect(() => {
11631
- ne$1({
11633
+ setUserIdentity({
11632
11634
  accountId,
11633
11635
  id,
11634
11636
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
11635
11637
  });
11636
11638
  return () => {
11637
11639
  window.widgetIdent = undefined;
11638
- ne$1(undefined);
11640
+ setUserIdentity(undefined);
11639
11641
  };
11640
11642
  }, []);
11641
11643
  return { id, accountId };
@@ -11649,21 +11651,21 @@ function setupGraphQLKlip$1({ token, id }) {
11649
11651
  appDomain: "https://staging.referralsaasquatch.com",
11650
11652
  };
11651
11653
  useEffect(() => {
11652
- ne$1({
11654
+ setUserIdentity({
11653
11655
  accountId,
11654
11656
  id,
11655
11657
  jwt: token,
11656
11658
  });
11657
11659
  return () => {
11658
11660
  window.widgetIdent = undefined;
11659
- ne$1(undefined);
11661
+ setUserIdentity(undefined);
11660
11662
  };
11661
11663
  }, []);
11662
11664
  return { id, accountId };
11663
11665
  }
11664
11666
  const ReferralTable$1 = createHookStory(() => {
11665
11667
  setupGraphQL$c();
11666
- R$1("sam-partner-test-2");
11668
+ setProgramId("sam-partner-test-2");
11667
11669
  return (h("sqm-referral-table", null,
11668
11670
  h("sqm-referral-table-user-column", null),
11669
11671
  h("sqm-referral-table-status-column", null),
@@ -11689,7 +11691,7 @@ const ReferralTableEn = createHookStory(() => {
11689
11691
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
11690
11692
  id: "samenglish",
11691
11693
  });
11692
- R$1("klip-referral-program");
11694
+ setProgramId("klip-referral-program");
11693
11695
  return (h("sqm-referral-table", { "per-page": "4" },
11694
11696
  h("sqm-referral-table-user-column", { "column-title": "User" }),
11695
11697
  h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
@@ -11701,7 +11703,7 @@ const ReferralTableTr = createHookStory(() => {
11701
11703
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
11702
11704
  id: "samturkey",
11703
11705
  });
11704
- R$1("klip-referral-program");
11706
+ setProgramId("klip-referral-program");
11705
11707
  return (h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
11706
11708
  h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
11707
11709
  h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
@@ -11713,7 +11715,7 @@ const ReferralTableFr = createHookStory(() => {
11713
11715
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
11714
11716
  id: "samfrench",
11715
11717
  });
11716
- R$1("klip-referral-program");
11718
+ setProgramId("klip-referral-program");
11717
11719
  return (h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
11718
11720
  h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
11719
11721
  h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),