@saasquatch/mint-components 1.7.0-7 → 1.7.0-9

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 (601) hide show
  1. package/dist/cjs/AsYouType-6788393a.js +3874 -0
  2. package/dist/cjs/{GenericTableView-6b0d1f93.js → GenericTableView-fa0cb936.js} +1 -1
  3. package/dist/cjs/{JSS-a75f3a9a.js → JSS-c73206b7.js} +35 -19
  4. package/dist/cjs/{ShadowViewAddon-260da162.js → ShadowViewAddon-970dff24.js} +172 -194
  5. package/dist/cjs/{global-a7614907.js → global-97364373.js} +4 -4
  6. package/dist/cjs/{index.module-1c799b1f.js → index.module-d3a28293.js} +6887 -6843
  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/{re-render-c02c16c0.js → re-render-7b0c34bb.js} +5 -5
  11. package/dist/cjs/{sqm-asset-card-view-07420209.js → sqm-asset-card-view-7e16757a.js} +1 -1
  12. package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -7
  13. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +383 -4308
  14. package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -6
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
  17. package/dist/cjs/sqm-hamburger-menu.cjs.entry.js +160 -0
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
  19. package/dist/cjs/{sqm-hero-view-d5d46a36.js → sqm-hero-view-f4264d5e.js} +3 -3
  20. package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-85e51ba6.js → sqm-navigation-sidebar-item-view-46a53c67.js} +3 -3
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +197 -6
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  27. package/dist/cjs/{sqm-portal-container-view-a3e86fc2.js → sqm-portal-container-view-4a8432e9.js} +1 -3
  28. package/dist/cjs/{sqm-portal-email-verification-view-c60833cc.js → sqm-portal-email-verification-view-56d07e94.js} +3 -3
  29. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
  30. package/dist/cjs/{sqm-portal-footer-view-d5478077.js → sqm-portal-footer-view-cbd4cd48.js} +3 -3
  31. package/dist/cjs/sqm-portal-footer.cjs.entry.js +16 -9
  32. package/dist/cjs/{sqm-portal-forgot-password-view-97932f7a.js → sqm-portal-forgot-password-view-aaa8dd17.js} +2 -2
  33. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
  35. package/dist/cjs/{sqm-portal-profile-view-a8ee44c2.js → sqm-portal-profile-view-9792a786.js} +4 -4
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +26 -37
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +14 -12
  38. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +441 -0
  39. package/dist/cjs/{sqm-portal-reset-password-view-042073ca.js → sqm-portal-reset-password-view-035245e6.js} +2 -2
  40. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
  41. package/dist/cjs/{sqm-portal-section-view-765aae4d.js → sqm-portal-section-view-71a57cd9.js} +1 -1
  42. package/dist/cjs/{sqm-portal-verify-email-view-cb3c9c2f.js → sqm-portal-verify-email-view-7014ca89.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 +12 -13
  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 +32 -30
  48. package/dist/cjs/sqm-stencilbook.cjs.entry.js +205 -250
  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-ab4ad6ef.js → sqm-text-span-view-b0c90c27.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-dc4c3132.js → useChildElements-24fbca82.js} +7 -5
  56. package/dist/cjs/{useReferralTable-f52c7f8e.js → useReferralTable-8f7a049c.js} +9 -9
  57. package/dist/cjs/useRegistrationFormState-3f88db90.js +14 -0
  58. package/dist/collection/collection-manifest.json +3 -3
  59. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -13
  60. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -144
  61. package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -3
  62. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +2 -10
  63. package/dist/collection/components/sqm-brand/sqm-brand.js +13 -32
  64. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -16
  65. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
  66. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
  67. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
  68. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
  69. package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +6 -5
  70. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
  71. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +40 -2
  72. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
  73. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  74. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +11 -4
  75. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
  76. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
  77. package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
  78. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
  79. package/dist/collection/components/sqm-hamburger-menu/HamburgerMenu.stories.js +7 -0
  80. package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu-view.js +139 -0
  81. package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu.js +45 -0
  82. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
  83. package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
  84. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +0 -2
  85. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -22
  86. package/dist/collection/components/sqm-image/sqm-image-view.js +0 -1
  87. package/dist/collection/components/sqm-image/sqm-image.js +1 -21
  88. package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
  89. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
  90. package/dist/collection/components/sqm-input-field/sqm-input-field.js +10 -4
  91. package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
  92. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
  93. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
  94. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
  95. package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
  96. package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +6 -5
  97. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +146 -7
  98. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +36 -5
  99. package/dist/collection/components/sqm-navigation-sidebar/useNavigationSidebar.js +17 -0
  100. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
  101. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
  102. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
  103. package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
  104. package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
  105. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +29 -23
  106. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
  107. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +0 -2
  108. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +3 -46
  109. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
  110. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
  111. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
  112. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
  113. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +38 -6
  114. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
  115. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
  116. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -7
  117. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
  118. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -54
  119. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
  120. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
  121. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +26 -36
  122. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
  123. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
  124. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
  125. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
  126. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +49 -45
  127. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
  128. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +105 -0
  129. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +80 -0
  130. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +595 -0
  131. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +207 -0
  132. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
  133. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +39 -33
  134. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
  135. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
  136. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +20 -41
  137. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
  138. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -1
  139. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
  140. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -20
  141. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -130
  142. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
  143. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
  144. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +18 -15
  145. package/dist/collection/components/sqm-route/sqm-route.js +1 -1
  146. package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
  147. package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
  148. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +9 -22
  149. package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -125
  150. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +2 -6
  151. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -49
  152. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  153. package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
  154. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
  155. package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -3
  156. package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
  157. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -1
  158. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
  159. package/dist/collection/components/sqm-text/sqm-text.js +0 -7
  160. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -1
  161. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -23
  162. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  163. package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
  164. package/dist/collection/global/styles.js +1 -1
  165. package/dist/collection/global/styles.ts +1 -1
  166. package/dist/collection/stories/NewPortal.stories.js +6 -5
  167. package/dist/collection/tables/useChildElements.js +5 -3
  168. package/dist/esm/AsYouType-46f67d0d.js +3872 -0
  169. package/dist/esm/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
  170. package/dist/esm/{JSS-418cab16.js → JSS-506b9295.js} +17 -1
  171. package/dist/esm/{ShadowViewAddon-b2386d47.js → ShadowViewAddon-f0daae38.js} +172 -194
  172. package/dist/esm/{global-2d97b8c1.js → global-5f5e66ae.js} +4 -4
  173. package/dist/esm/{index.module-2b4f1755.js → index.module-877f3231.js} +6865 -6822
  174. package/dist/esm/loader.js +5 -6
  175. package/dist/esm/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
  176. package/dist/esm/mint-components.js +5 -6
  177. package/dist/esm/{re-render-2c1d8030.js → re-render-9d31cb93.js} +5 -5
  178. package/dist/esm/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
  179. package/dist/esm/sqm-asset-card.entry.js +6 -7
  180. package/dist/esm/sqm-big-stat_35.entry.js +383 -4308
  181. package/dist/esm/sqm-empty_5.entry.js +4 -6
  182. package/dist/esm/sqm-form-message.entry.js +1 -1
  183. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
  184. package/dist/esm/sqm-hamburger-menu.entry.js +156 -0
  185. package/dist/esm/sqm-header-logo.entry.js +26 -0
  186. package/dist/esm/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +3 -3
  187. package/dist/esm/sqm-hero.entry.js +6 -5
  188. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
  189. package/dist/esm/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +3 -3
  190. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
  191. package/dist/esm/sqm-navigation-sidebar.entry.js +199 -8
  192. package/dist/esm/sqm-password-field.entry.js +23 -20
  193. package/dist/esm/sqm-popup-container.entry.js +6 -7
  194. package/dist/esm/{sqm-portal-container-view-5d6f1411.js → sqm-portal-container-view-8f1bcc77.js} +1 -3
  195. package/dist/esm/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +3 -3
  196. package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
  197. package/dist/esm/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +3 -3
  198. package/dist/esm/sqm-portal-footer.entry.js +16 -9
  199. package/dist/esm/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +2 -2
  200. package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
  201. package/dist/esm/sqm-portal-logout.entry.js +10 -8
  202. package/dist/esm/{sqm-portal-profile-view-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +4 -4
  203. package/dist/esm/sqm-portal-profile.entry.js +26 -37
  204. package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
  205. package/dist/esm/sqm-portal-registration-form.entry.js +437 -0
  206. package/dist/esm/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +2 -2
  207. package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
  208. package/dist/esm/{sqm-portal-section-view-c8d1c727.js → sqm-portal-section-view-d64cd5de.js} +1 -1
  209. package/dist/esm/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +2 -2
  210. package/dist/esm/sqm-portal-verify-email.entry.js +36 -56
  211. package/dist/esm/sqm-referral-table_11.entry.js +12 -13
  212. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  213. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  214. package/dist/esm/sqm-rewards-table_9.entry.js +32 -30
  215. package/dist/esm/sqm-stencilbook.entry.js +205 -250
  216. package/dist/esm/sqm-tab.entry.js +7 -0
  217. package/dist/esm/sqm-tabs.entry.js +8 -7
  218. package/dist/esm/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
  219. package/dist/esm/sqm-text-span.entry.js +3 -4
  220. package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
  221. package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
  222. package/dist/esm/{useChildElements-0eab9c95.js → useChildElements-591435be.js} +7 -5
  223. package/dist/esm/{useReferralTable-3513622d.js → useReferralTable-f991c78a.js} +9 -9
  224. package/dist/esm/useRegistrationFormState-04a77cee.js +11 -0
  225. package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
  226. package/dist/esm-es5/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
  227. package/dist/esm-es5/{JSS-418cab16.js → JSS-506b9295.js} +1 -1
  228. package/dist/esm-es5/ShadowViewAddon-f0daae38.js +1 -0
  229. package/dist/esm-es5/{global-2d97b8c1.js → global-5f5e66ae.js} +2 -2
  230. package/dist/esm-es5/index.module-877f3231.js +1 -0
  231. package/dist/esm-es5/loader.js +1 -1
  232. package/dist/esm-es5/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
  233. package/dist/esm-es5/mint-components.js +1 -1
  234. package/dist/esm-es5/{re-render-2c1d8030.js → re-render-9d31cb93.js} +1 -1
  235. package/dist/esm-es5/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
  236. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  237. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  238. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  239. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  240. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  241. package/dist/esm-es5/sqm-hamburger-menu.entry.js +1 -0
  242. package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
  243. package/dist/esm-es5/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +1 -1
  244. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  245. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  246. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +1 -1
  247. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  248. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  249. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  250. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  251. package/dist/esm-es5/sqm-portal-container-view-8f1bcc77.js +1 -0
  252. package/dist/esm-es5/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +1 -1
  253. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  254. package/dist/esm-es5/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +1 -1
  255. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  256. package/dist/esm-es5/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +1 -1
  257. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  258. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  259. package/dist/esm-es5/{sqm-portal-profile-view-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +1 -1
  260. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  261. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  262. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -0
  263. package/dist/esm-es5/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +1 -1
  264. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  265. package/dist/esm-es5/sqm-portal-section-view-d64cd5de.js +1 -0
  266. package/dist/esm-es5/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +1 -1
  267. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  268. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  269. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  270. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  271. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  272. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  273. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  274. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  275. package/dist/esm-es5/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
  276. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  277. package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
  278. package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
  279. package/dist/esm-es5/useChildElements-591435be.js +1 -0
  280. package/dist/esm-es5/useReferralTable-f991c78a.js +1 -0
  281. package/dist/esm-es5/useRegistrationFormState-04a77cee.js +1 -0
  282. package/dist/mint-components/global/styles.ts +1 -1
  283. package/dist/mint-components/mint-components.esm.js +1 -1
  284. package/dist/mint-components/mint-components.js +1 -1
  285. package/dist/mint-components/p-00732eb1.entry.js +1 -0
  286. package/dist/mint-components/p-0222e8b1.system.js +1 -0
  287. package/dist/mint-components/p-03b1dda6.js +1 -0
  288. package/dist/mint-components/p-0571ac6b.system.entry.js +1 -0
  289. package/dist/mint-components/p-0878d563.system.entry.js +1 -0
  290. package/dist/mint-components/p-095d7d5e.entry.js +1 -0
  291. package/dist/mint-components/p-09a4bd9b.system.entry.js +1 -0
  292. package/dist/mint-components/{p-ec634002.system.entry.js → p-0a27f867.system.entry.js} +1 -1
  293. package/dist/mint-components/{p-b8452e47.entry.js → p-0b85f581.entry.js} +1 -1
  294. package/dist/mint-components/{p-be4cfea0.system.js → p-0bf5d514.system.js} +1 -1
  295. package/dist/mint-components/p-0f1fc54b.entry.js +1 -0
  296. package/dist/mint-components/p-121cdc60.js +1 -0
  297. package/dist/mint-components/{p-fb5163d7.js → p-14aacddf.js} +1 -1
  298. package/dist/mint-components/{p-0935fef5.system.js → p-1c87be0c.system.js} +1 -1
  299. package/dist/mint-components/{p-a1b9ca51.system.js → p-1cc7a8e6.system.js} +1 -1
  300. package/dist/mint-components/p-1e541014.system.entry.js +1 -0
  301. package/dist/mint-components/{p-ab2cbd56.js → p-1fbf8d0b.js} +1 -1
  302. package/dist/mint-components/{p-aa0ccc8d.js → p-2506531b.js} +1 -1
  303. package/dist/mint-components/p-2a33de60.entry.js +13 -0
  304. package/dist/mint-components/p-2c4c978e.system.entry.js +1 -0
  305. package/dist/mint-components/{p-903a6d4d.js → p-2dc6e74c.js} +1 -1
  306. package/dist/mint-components/{p-5fca1bb9.system.js → p-330680dd.system.js} +1 -1
  307. package/dist/mint-components/p-3ac7063d.entry.js +1 -0
  308. package/dist/mint-components/p-3af0caba.entry.js +159 -0
  309. package/dist/mint-components/p-3b7d870e.entry.js +1 -0
  310. package/dist/mint-components/p-3bb4fd18.system.js +8 -0
  311. package/dist/mint-components/p-3bb76558.system.js +1 -0
  312. package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
  313. package/dist/mint-components/{p-967445d6.system.js → p-3f13dae9.system.js} +1 -1
  314. package/dist/mint-components/p-41860440.system.entry.js +1 -0
  315. package/dist/mint-components/{p-541460a6.js → p-4494b612.js} +2 -2
  316. package/dist/mint-components/p-456571a6.entry.js +9 -0
  317. package/dist/mint-components/p-46a2d411.system.js +1 -0
  318. package/dist/mint-components/p-4708ece8.system.js +1 -0
  319. package/dist/mint-components/{p-38889f3c.system.js → p-48631971.system.js} +1 -1
  320. package/dist/mint-components/p-4a165275.entry.js +99 -0
  321. package/dist/mint-components/p-4f0a49e2.system.entry.js +1 -0
  322. package/dist/mint-components/{p-894cf728.system.js → p-51fc3d02.system.js} +1 -1
  323. package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
  324. package/dist/mint-components/p-5711de63.system.js +1 -0
  325. package/dist/mint-components/p-5934c4ab.entry.js +1 -0
  326. package/dist/mint-components/{p-e8f5f4e0.js → p-5a1ed9bb.js} +1 -1
  327. package/dist/mint-components/{p-937bf427.system.js → p-621a2912.system.js} +1 -1
  328. package/dist/mint-components/p-628437e6.entry.js +1 -0
  329. package/dist/mint-components/{p-97483814.system.entry.js → p-647256a7.system.entry.js} +1 -1
  330. package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
  331. package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
  332. package/dist/mint-components/p-6b468f72.system.entry.js +1 -0
  333. package/dist/mint-components/p-6cf00931.system.entry.js +1 -0
  334. package/dist/mint-components/p-6cf891f8.system.entry.js +1 -0
  335. package/dist/mint-components/p-7341c340.entry.js +1 -0
  336. package/dist/mint-components/p-740afefb.entry.js +1 -0
  337. package/dist/mint-components/p-76767c7d.system.entry.js +1 -0
  338. package/dist/mint-components/p-767aedc8.entry.js +1 -0
  339. package/dist/mint-components/{p-72b3562a.system.js → p-774c9bb9.system.js} +1 -1
  340. package/dist/mint-components/p-7fa5ce30.system.js +1 -0
  341. package/dist/mint-components/{p-25846611.js → p-80934ab7.js} +2 -2
  342. package/dist/mint-components/{p-6081728e.system.js → p-8128c64d.system.js} +1 -1
  343. package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
  344. package/dist/mint-components/{p-6e0c7f7c.system.js → p-85528bea.system.js} +1 -1
  345. package/dist/mint-components/p-85a21d7b.entry.js +1 -0
  346. package/dist/mint-components/p-85e934c8.js +1 -0
  347. package/dist/mint-components/{p-46416f3e.js → p-864be7c2.js} +1 -1
  348. package/dist/mint-components/p-88cc585a.system.entry.js +1 -0
  349. package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
  350. package/dist/mint-components/p-9124a1e9.system.entry.js +1 -0
  351. package/dist/mint-components/p-919b93f1.js +1 -0
  352. package/dist/mint-components/p-92e8439a.system.entry.js +1 -0
  353. package/dist/mint-components/p-99397ef5.system.js +1 -0
  354. package/dist/mint-components/p-9c1841c6.entry.js +1 -0
  355. package/dist/mint-components/p-9d362d44.system.js +1 -0
  356. package/dist/mint-components/{p-066a4b23.system.js → p-9db19ba0.system.js} +2 -2
  357. package/dist/mint-components/p-9fd08e41.js +1 -0
  358. package/dist/mint-components/p-a91c1995.entry.js +1 -0
  359. package/dist/mint-components/p-af10beae.entry.js +33 -0
  360. package/dist/mint-components/p-b3436fd3.system.entry.js +1 -0
  361. package/dist/mint-components/p-b3610b44.entry.js +1 -0
  362. package/dist/mint-components/p-b9b4142b.js +268 -0
  363. package/dist/mint-components/p-be126e55.system.entry.js +1 -0
  364. package/dist/mint-components/{p-8763472e.js → p-bf4cd488.js} +1 -1
  365. package/dist/mint-components/p-c2c92ece.entry.js +1 -0
  366. package/dist/mint-components/p-c4b5c3b0.entry.js +1 -0
  367. package/dist/mint-components/p-c52e21cf.entry.js +1 -0
  368. package/dist/mint-components/p-c53322f8.system.entry.js +1 -0
  369. package/dist/mint-components/p-c586b1bb.entry.js +1 -0
  370. package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
  371. package/dist/mint-components/{p-edb569b8.js → p-cecf6365.js} +1 -1
  372. package/dist/mint-components/{p-190d0446.system.js → p-d1242e79.system.js} +1 -1
  373. package/dist/mint-components/p-d1341773.entry.js +1 -0
  374. package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
  375. package/dist/mint-components/p-d5645202.entry.js +1 -0
  376. package/dist/mint-components/p-d873d405.system.entry.js +1 -0
  377. package/dist/mint-components/p-dbfb865e.js +1 -0
  378. package/dist/mint-components/{p-6fd0198e.js → p-ddadc8e3.js} +1 -1
  379. package/dist/mint-components/p-df0899d3.entry.js +1 -0
  380. package/dist/mint-components/p-e3290be6.js +1 -0
  381. package/dist/mint-components/{p-54694cd4.system.js → p-e6b17831.system.js} +1 -1
  382. package/dist/mint-components/p-e71c3590.system.entry.js +1 -0
  383. package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
  384. package/dist/mint-components/p-ea7ba030.system.entry.js +1 -0
  385. package/dist/mint-components/p-ec7e6d40.entry.js +1 -0
  386. package/dist/mint-components/p-eccd7d60.system.entry.js +1 -0
  387. package/dist/mint-components/p-ef147f86.system.entry.js +1 -0
  388. package/dist/mint-components/p-ef39ca69.system.entry.js +1 -0
  389. package/dist/mint-components/{p-9f08dc58.js → p-f30000d4.js} +1 -1
  390. package/dist/mint-components/p-f3a65df7.js +1 -0
  391. package/dist/mint-components/p-f6aa512e.system.js +1 -0
  392. package/dist/mint-components/p-fd14c63e.js +1 -0
  393. package/dist/mint-components/p-fdb3c23e.system.entry.js +1 -0
  394. package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
  395. package/dist/mint-components/{p-380b25a3.js → p-ff39746d.js} +1 -1
  396. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
  397. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -25
  398. package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -6
  399. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  400. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
  401. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +7 -2
  402. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
  403. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -0
  404. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +9 -1
  405. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
  406. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +7 -1
  407. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
  408. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
  409. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
  410. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
  411. package/dist/types/components/sqm-hamburger-menu/HamburgerMenu.stories.d.ts +5 -0
  412. package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu-view.d.ts +6 -0
  413. package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu.d.ts +11 -0
  414. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
  415. package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
  416. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
  417. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -7
  418. package/dist/types/components/sqm-image/sqm-image-view.d.ts +0 -1
  419. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -6
  420. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
  421. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +6 -2
  422. package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
  423. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
  424. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  425. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
  426. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +2 -1
  427. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +3 -3
  428. package/dist/types/components/sqm-navigation-sidebar/useNavigationSidebar.d.ts +4 -0
  429. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
  430. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
  431. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
  432. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -7
  433. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +0 -2
  434. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -13
  435. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
  436. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
  437. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -2
  438. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
  439. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
  440. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
  441. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
  442. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -26
  443. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
  444. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +6 -16
  445. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
  446. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +8 -4
  447. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
  448. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +19 -19
  449. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
  450. package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -0
  451. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +37 -0
  452. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +118 -0
  453. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +27 -0
  454. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
  455. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +13 -13
  456. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
  457. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  458. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
  459. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
  460. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -6
  461. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -28
  462. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
  463. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
  464. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
  465. package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
  466. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  467. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +0 -5
  468. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -28
  469. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -2
  470. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -10
  471. package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
  472. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
  473. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -3
  474. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
  475. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
  476. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -1
  477. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -5
  478. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  479. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +4 -4
  480. package/dist/types/components.d.ts +556 -1002
  481. package/dist/types/global/styles.d.ts +1 -1
  482. package/docs/docs.docx +0 -0
  483. package/docs/raisins.json +1 -1
  484. package/grapesjs/grapesjs.js +1 -1
  485. package/package.json +3 -3
  486. package/CHANGELOG.md +0 -473
  487. package/dist/cjs/extends-08099afd.js +0 -21
  488. package/dist/cjs/sqm-navigation-sidebar-view-0ee28f65.js +0 -36
  489. package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
  490. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
  491. package/dist/cjs/sqm-qa.cjs.entry.js +0 -117
  492. package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
  493. package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1064
  494. package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
  495. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
  496. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
  497. package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
  498. package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
  499. package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
  500. package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
  501. package/dist/esm/extends-c31f1eff.js +0 -19
  502. package/dist/esm/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -34
  503. package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
  504. package/dist/esm/sqm-qa-tabs.entry.js +0 -96
  505. package/dist/esm/sqm-qa.entry.js +0 -113
  506. package/dist/esm-es5/ShadowViewAddon-b2386d47.js +0 -1
  507. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  508. package/dist/esm-es5/index.module-2b4f1755.js +0 -1
  509. package/dist/esm-es5/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -1
  510. package/dist/esm-es5/sqm-portal-container-view-5d6f1411.js +0 -1
  511. package/dist/esm-es5/sqm-portal-section-view-c8d1c727.js +0 -1
  512. package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
  513. package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
  514. package/dist/esm-es5/sqm-qa.entry.js +0 -1
  515. package/dist/esm-es5/use-callback-697e2ff0.js +0 -1
  516. package/dist/esm-es5/useChildElements-0eab9c95.js +0 -1
  517. package/dist/esm-es5/useReferralTable-3513622d.js +0 -1
  518. package/dist/mint-components/p-03d5b192.entry.js +0 -159
  519. package/dist/mint-components/p-0ec3b3e5.system.js +0 -1
  520. package/dist/mint-components/p-127e25e6.system.entry.js +0 -1
  521. package/dist/mint-components/p-13f034ac.system.js +0 -1
  522. package/dist/mint-components/p-15b1a2b2.system.entry.js +0 -1
  523. package/dist/mint-components/p-16b6aea4.js +0 -1
  524. package/dist/mint-components/p-174767c7.entry.js +0 -1
  525. package/dist/mint-components/p-1c17892a.system.js +0 -1
  526. package/dist/mint-components/p-1e13c65a.system.entry.js +0 -1
  527. package/dist/mint-components/p-242d76ee.system.entry.js +0 -1
  528. package/dist/mint-components/p-24f8c2f6.entry.js +0 -1
  529. package/dist/mint-components/p-2800ad44.system.js +0 -8
  530. package/dist/mint-components/p-3149462a.system.entry.js +0 -1
  531. package/dist/mint-components/p-353a6419.system.js +0 -1
  532. package/dist/mint-components/p-36578b9f.system.entry.js +0 -1
  533. package/dist/mint-components/p-3894495a.js +0 -1
  534. package/dist/mint-components/p-39c637da.system.entry.js +0 -1
  535. package/dist/mint-components/p-408f983a.system.js +0 -1
  536. package/dist/mint-components/p-4647ef97.entry.js +0 -1
  537. package/dist/mint-components/p-46ab109e.system.entry.js +0 -1
  538. package/dist/mint-components/p-4d4fbaec.entry.js +0 -1
  539. package/dist/mint-components/p-505d8965.system.entry.js +0 -1
  540. package/dist/mint-components/p-50ef8db6.system.entry.js +0 -1
  541. package/dist/mint-components/p-54bad89f.system.entry.js +0 -1
  542. package/dist/mint-components/p-555c9e1d.system.entry.js +0 -1
  543. package/dist/mint-components/p-59d481ea.entry.js +0 -1
  544. package/dist/mint-components/p-5c454d18.entry.js +0 -1
  545. package/dist/mint-components/p-5dd4dcc7.system.entry.js +0 -1
  546. package/dist/mint-components/p-6073e2f7.entry.js +0 -1
  547. package/dist/mint-components/p-60e2423f.entry.js +0 -1
  548. package/dist/mint-components/p-63617b4b.system.entry.js +0 -1
  549. package/dist/mint-components/p-6505fca3.system.entry.js +0 -1
  550. package/dist/mint-components/p-673a731f.entry.js +0 -1
  551. package/dist/mint-components/p-684967e6.entry.js +0 -1
  552. package/dist/mint-components/p-6882941e.system.entry.js +0 -1
  553. package/dist/mint-components/p-6e2ca2a0.js +0 -1
  554. package/dist/mint-components/p-6fc2fea4.entry.js +0 -1
  555. package/dist/mint-components/p-7473b40b.system.entry.js +0 -1
  556. package/dist/mint-components/p-77e5a1d4.entry.js +0 -1
  557. package/dist/mint-components/p-7d2d6a2b.system.js +0 -1
  558. package/dist/mint-components/p-7fd6f6ef.system.entry.js +0 -1
  559. package/dist/mint-components/p-81f34787.js +0 -1
  560. package/dist/mint-components/p-86fcb500.system.entry.js +0 -1
  561. package/dist/mint-components/p-889dbba5.entry.js +0 -1
  562. package/dist/mint-components/p-8d445a96.entry.js +0 -1
  563. package/dist/mint-components/p-96b0537b.system.js +0 -1
  564. package/dist/mint-components/p-9744ae44.system.js +0 -1
  565. package/dist/mint-components/p-991d3c0c.system.entry.js +0 -1
  566. package/dist/mint-components/p-9f54769f.system.entry.js +0 -1
  567. package/dist/mint-components/p-9f5e7313.entry.js +0 -33
  568. package/dist/mint-components/p-a73784bb.entry.js +0 -1
  569. package/dist/mint-components/p-ab8f86d3.js +0 -1
  570. package/dist/mint-components/p-ac80106e.entry.js +0 -1
  571. package/dist/mint-components/p-b3fa7c87.entry.js +0 -1
  572. package/dist/mint-components/p-bbb584e6.system.entry.js +0 -1
  573. package/dist/mint-components/p-be45347d.entry.js +0 -1
  574. package/dist/mint-components/p-bed4977e.entry.js +0 -1
  575. package/dist/mint-components/p-bf29e206.system.entry.js +0 -1
  576. package/dist/mint-components/p-c469be65.entry.js +0 -9
  577. package/dist/mint-components/p-c5573b7c.js +0 -1
  578. package/dist/mint-components/p-c81305b3.js +0 -268
  579. package/dist/mint-components/p-ccbacc32.entry.js +0 -1
  580. package/dist/mint-components/p-cee807de.system.entry.js +0 -1
  581. package/dist/mint-components/p-cf7d0aee.js +0 -1
  582. package/dist/mint-components/p-d298e4c5.system.entry.js +0 -1
  583. package/dist/mint-components/p-d30d1664.system.entry.js +0 -1
  584. package/dist/mint-components/p-d9488d28.entry.js +0 -1
  585. package/dist/mint-components/p-dc564561.js +0 -1
  586. package/dist/mint-components/p-dec7a657.entry.js +0 -1
  587. package/dist/mint-components/p-e4f4bfbb.entry.js +0 -1
  588. package/dist/mint-components/p-eb2f96a0.system.js +0 -1
  589. package/dist/mint-components/p-ec5b69bd.system.entry.js +0 -1
  590. package/dist/mint-components/p-ee461c80.js +0 -1
  591. package/dist/mint-components/p-f33e65c8.entry.js +0 -1
  592. package/dist/mint-components/p-f55d96ad.entry.js +0 -99
  593. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
  594. package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -255
  595. package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
  596. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
  597. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
  598. package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
  599. package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
  600. package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
  601. package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
@@ -1,31 +1,29 @@
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-2d97b8c1.js';
4
- import './use-callback-697e2ff0.js';
5
- import { w as wn, e as bn, t as te$1, d as dist, Y as Ye, D as D$1 } from './index.module-2b4f1755.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-5f5e66ae.js';
4
+ import './use-callback-684c8bb7.js';
5
+ import { f as fn, l as ln, b as setUserIdentity, d as dist, z as ze, e as setProgramId } from './index.module-877f3231.js';
7
6
  import './cjs-bdfb4486.js';
8
7
  import './mixins-59fd94b7.js';
9
- import { c as createStyleSheet } from './JSS-418cab16.js';
10
- import { G as GenericTableView } from './GenericTableView-80119630.js';
11
- import './useChildElements-0eab9c95.js';
12
- import { l as luxon } from './luxon-578505e2.js';
8
+ import { c as createStyleSheet } from './JSS-506b9295.js';
9
+ import { G as GenericTableView } from './GenericTableView-5dd51546.js';
10
+ import './useChildElements-591435be.js';
11
+ import { l as luxon } from './luxon-5a398612.js';
13
12
  import './utils-d7bbb0e2.js';
14
- import './sqm-text-span-view-020db63f.js';
15
- import { A as AssetCardView } from './sqm-asset-card-view-68f80b85.js';
16
- import { H as HeroView } from './sqm-hero-view-1f148798.js';
13
+ import './sqm-text-span-view-20c0f018.js';
14
+ import { A as AssetCardView } from './sqm-asset-card-view-de0f3463.js';
15
+ import { H as HeroView } from './sqm-hero-view-ed7fa8f3.js';
17
16
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-da91f5f3.js';
18
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-9cb9a5f4.js';
19
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-b22b07a2.js';
20
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-3dad1010.js';
21
- import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-c35314a2.js';
22
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-f7239087.js';
23
- import { P as PortalContainerView } from './sqm-portal-container-view-5d6f1411.js';
24
- import { P as PortalProfileView } from './sqm-portal-profile-view-3d621db8.js';
25
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-e0436989.js';
26
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c489166b.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-b2386d47.js';
28
- import { P as PortalSectionView } from './sqm-portal-section-view-c8d1c727.js';
17
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-393c5475.js';
18
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-96f98975.js';
19
+ import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-744654ef.js';
20
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-38910bc9.js';
21
+ import { P as PortalContainerView } from './sqm-portal-container-view-8f1bcc77.js';
22
+ import { P as PortalProfileView } from './sqm-portal-profile-view-f5904a10.js';
23
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-55411ca5.js';
24
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-7ba350f9.js';
25
+ 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-f0daae38.js';
26
+ import { P as PortalSectionView } from './sqm-portal-section-view-d64cd5de.js';
29
27
 
30
28
  /**
31
29
  * lodash (Custom Build) <https://lodash.com/>
@@ -2354,36 +2352,36 @@ const routes = `
2354
2352
  `;
2355
2353
  const TemplateNavigation = createHookStory(() => {
2356
2354
  return (h("div", null,
2357
- h("button", { onClick: () => wn.push("/") }, "/"),
2358
- h("button", { onClick: () => wn.push("/foo") }, "/foo"),
2359
- h("button", { onClick: () => wn.push("/bar") }, "/bar"),
2360
- h("button", { onClick: () => wn.push("/baz/bang") }, "/baz/bang"),
2361
- h("button", { onClick: () => wn.push("/refer") }, "/refer"),
2362
- h("button", { onClick: () => wn.push("/refer/1") }, "/refer/1"),
2363
- h("button", { onClick: () => wn.push("/refer/2") }, "/refer/2"),
2364
- h("button", { onClick: () => wn.back() }, "Back"),
2365
- h("button", { onClick: () => wn.forward() }, "Forward"),
2355
+ h("button", { onClick: () => fn.push("/") }, "/"),
2356
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2357
+ h("button", { onClick: () => fn.push("/bar") }, "/bar"),
2358
+ h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
2359
+ h("button", { onClick: () => fn.push("/refer") }, "/refer"),
2360
+ h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
2361
+ h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
2362
+ h("button", { onClick: () => fn.back() }, "Back"),
2363
+ h("button", { onClick: () => fn.forward() }, "Forward"),
2366
2364
  h("hr", null),
2367
2365
  h("sqm-router", { innerHTML: templates })));
2368
2366
  });
2369
2367
  const RouteNavigation = createHookStory(() => {
2370
2368
  return (h("div", null,
2371
- h("button", { onClick: () => wn.push("/") }, "/"),
2372
- h("button", { onClick: () => wn.push("/foo") }, "/foo"),
2373
- h("button", { onClick: () => wn.push("/bar") }, "/bar"),
2374
- h("button", { onClick: () => wn.push("/baz/bang") }, "/baz/bang"),
2375
- h("button", { onClick: () => wn.push("/refer") }, "/refer"),
2376
- h("button", { onClick: () => wn.push("/refer/1") }, "/refer/1"),
2377
- h("button", { onClick: () => wn.push("/refer/2") }, "/refer/2"),
2378
- h("button", { onClick: () => wn.back() }, "Back"),
2379
- h("button", { onClick: () => wn.forward() }, "Forward"),
2369
+ h("button", { onClick: () => fn.push("/") }, "/"),
2370
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2371
+ h("button", { onClick: () => fn.push("/bar") }, "/bar"),
2372
+ h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
2373
+ h("button", { onClick: () => fn.push("/refer") }, "/refer"),
2374
+ h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
2375
+ h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
2376
+ h("button", { onClick: () => fn.back() }, "Back"),
2377
+ h("button", { onClick: () => fn.forward() }, "Forward"),
2380
2378
  h("hr", null),
2381
2379
  h("sqm-router", { innerHTML: routes })));
2382
2380
  });
2383
2381
  const Styling = createHookStory(() => {
2384
2382
  return (h("div", null,
2385
- h("button", { onClick: () => wn.push("/") }, "/"),
2386
- h("button", { onClick: () => wn.push("/foo") }, "/foo"),
2383
+ h("button", { onClick: () => fn.push("/") }, "/"),
2384
+ h("button", { onClick: () => fn.push("/foo") }, "/foo"),
2387
2385
  h("hr", null),
2388
2386
  h("div", { style: { display: "flex", justifyContent: "space-around" } },
2389
2387
  h("sqm-router", { innerHTML: `<template path="/">
@@ -2397,7 +2395,7 @@ function useTemplate(templateString) {
2397
2395
  const [previewTemplate, setPreviewTemplate] = useState(templateString);
2398
2396
  function setPath(e) {
2399
2397
  //@ts-ignore
2400
- wn.push(e.target.value);
2398
+ fn.push(e.target.value);
2401
2399
  }
2402
2400
  return {
2403
2401
  states: { previewTemplate, editedTemplate },
@@ -2561,8 +2559,8 @@ const FullStackFrame = () => {
2561
2559
  "Current path:",
2562
2560
  " ",
2563
2561
  h("code", null,
2564
- h("strong", null, (_a = bn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2565
- h("button", { onClick: wn.back }, "Go Back")));
2562
+ h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2563
+ h("button", { onClick: fn.back }, "Go Back")));
2566
2564
  };
2567
2565
  const FullStackFrameLoggedOut = () => {
2568
2566
  var _a;
@@ -2586,8 +2584,8 @@ const FullStackFrameLoggedOut = () => {
2586
2584
  "Current path:",
2587
2585
  " ",
2588
2586
  h("code", null,
2589
- h("strong", null, (_a = bn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2590
- h("button", { onClick: wn.back }, "Go Back")));
2587
+ h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2588
+ h("button", { onClick: fn.back }, "Go Back")));
2591
2589
  };
2592
2590
 
2593
2591
  const PortalFrame = /*#__PURE__*/Object.freeze({
@@ -2681,14 +2679,14 @@ function setupGraphQL$1() {
2681
2679
  programId,
2682
2680
  };
2683
2681
  useEffect(() => {
2684
- te$1({
2682
+ setUserIdentity({
2685
2683
  accountId,
2686
2684
  id,
2687
2685
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2688
2686
  });
2689
2687
  return () => {
2690
2688
  window.widgetIdent = undefined;
2691
- te$1(undefined);
2689
+ setUserIdentity(undefined);
2692
2690
  };
2693
2691
  }, []);
2694
2692
  }
@@ -2743,14 +2741,14 @@ function setupGraphQL$2() {
2743
2741
  programId,
2744
2742
  };
2745
2743
  useEffect(() => {
2746
- te$1({
2744
+ setUserIdentity({
2747
2745
  accountId,
2748
2746
  id,
2749
2747
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2750
2748
  });
2751
2749
  return () => {
2752
2750
  window.widgetIdent = undefined;
2753
- te$1(undefined);
2751
+ setUserIdentity(undefined);
2754
2752
  };
2755
2753
  }, []);
2756
2754
  }
@@ -2805,14 +2803,14 @@ function setupGraphQL$3() {
2805
2803
  programId,
2806
2804
  };
2807
2805
  useEffect(() => {
2808
- te$1({
2806
+ setUserIdentity({
2809
2807
  accountId,
2810
2808
  id,
2811
2809
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
2812
2810
  });
2813
2811
  return () => {
2814
2812
  window.widgetIdent = undefined;
2815
- te$1(undefined);
2813
+ setUserIdentity(undefined);
2816
2814
  };
2817
2815
  }, []);
2818
2816
  }
@@ -2946,14 +2944,14 @@ function setupGraphQL$4() {
2946
2944
  programId,
2947
2945
  };
2948
2946
  useEffect(() => {
2949
- te$1({
2947
+ setUserIdentity({
2950
2948
  accountId,
2951
2949
  id,
2952
2950
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
2953
2951
  });
2954
2952
  return () => {
2955
2953
  window.widgetIdent = undefined;
2956
- te$1(undefined);
2954
+ setUserIdentity(undefined);
2957
2955
  };
2958
2956
  }, []);
2959
2957
  }
@@ -2993,14 +2991,14 @@ function setupGraphQL$5() {
2993
2991
  programId,
2994
2992
  };
2995
2993
  useEffect(() => {
2996
- te$1({
2994
+ setUserIdentity({
2997
2995
  accountId,
2998
2996
  id,
2999
2997
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3000
2998
  });
3001
2999
  return () => {
3002
3000
  window.widgetIdent = undefined;
3003
- te$1(undefined);
3001
+ setUserIdentity(undefined);
3004
3002
  };
3005
3003
  }, []);
3006
3004
  }
@@ -3016,14 +3014,14 @@ function setupOtherGraphQL() {
3016
3014
  programId,
3017
3015
  };
3018
3016
  useEffect(() => {
3019
- te$1({
3017
+ setUserIdentity({
3020
3018
  accountId,
3021
3019
  id,
3022
3020
  jwt: JWT,
3023
3021
  });
3024
3022
  return () => {
3025
3023
  window.widgetIdent = undefined;
3026
- te$1(undefined);
3024
+ setUserIdentity(undefined);
3027
3025
  };
3028
3026
  }, []);
3029
3027
  return { id, accountId };
@@ -3257,14 +3255,14 @@ function setupGraphQL$6() {
3257
3255
  programId,
3258
3256
  };
3259
3257
  useEffect(() => {
3260
- te$1({
3258
+ setUserIdentity({
3261
3259
  accountId,
3262
3260
  id,
3263
3261
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3264
3262
  });
3265
3263
  return () => {
3266
3264
  window.widgetIdent = undefined;
3267
- te$1(undefined);
3265
+ setUserIdentity(undefined);
3268
3266
  };
3269
3267
  }, []);
3270
3268
  return { id, accountId };
@@ -3273,7 +3271,7 @@ function useExchangeButton() {
3273
3271
  const { id, accountId } = setupGraphQL$6();
3274
3272
  const [points, setPoints] = useState(10);
3275
3273
  const [rate, setRate] = useState(100);
3276
- const [exchange, { data, errors }] = Ye(EXCHANGE);
3274
+ const [exchange, { data, errors }] = ze(EXCHANGE);
3277
3275
  return {
3278
3276
  states: {
3279
3277
  points,
@@ -3388,14 +3386,14 @@ function setupGraphQL$7() {
3388
3386
  appDomain: "https://staging.referralsaasquatch.com",
3389
3387
  };
3390
3388
  useEffect(() => {
3391
- te$1({
3389
+ setUserIdentity({
3392
3390
  accountId,
3393
3391
  id,
3394
3392
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3395
3393
  });
3396
3394
  return () => {
3397
3395
  window.widgetIdent = undefined;
3398
- te$1(undefined);
3396
+ setUserIdentity(undefined);
3399
3397
  };
3400
3398
  }, []);
3401
3399
  return { id, accountId };
@@ -3409,14 +3407,14 @@ function setupGraphQLKlip({ token, id }) {
3409
3407
  appDomain: "https://staging.referralsaasquatch.com",
3410
3408
  };
3411
3409
  useEffect(() => {
3412
- te$1({
3410
+ setUserIdentity({
3413
3411
  accountId,
3414
3412
  id,
3415
3413
  jwt: token,
3416
3414
  });
3417
3415
  return () => {
3418
3416
  window.widgetIdent = undefined;
3419
- te$1(undefined);
3417
+ setUserIdentity(undefined);
3420
3418
  };
3421
3419
  }, []);
3422
3420
  return { id, accountId };
@@ -3430,7 +3428,7 @@ const RewardTableDemoHook = createHookStory(() => {
3430
3428
  });
3431
3429
  const RewardsTableWithProgram = createHookStory(() => {
3432
3430
  setupGraphQL$7();
3433
- D$1("sam-partner-test-2");
3431
+ setProgramId("sam-partner-test-2");
3434
3432
  return (h("sqm-rewards-table", null,
3435
3433
  h("sqm-rewards-table-reward-column", null),
3436
3434
  h("sqm-rewards-table-status-column", null),
@@ -3439,7 +3437,7 @@ const RewardsTableWithProgram = createHookStory(() => {
3439
3437
  });
3440
3438
  const RewardsTableNoProgram = createHookStory(() => {
3441
3439
  setupGraphQL$7();
3442
- D$1(undefined);
3440
+ setProgramId(undefined);
3443
3441
  return (h("sqm-rewards-table", null,
3444
3442
  h("sqm-rewards-table-reward-column", null),
3445
3443
  h("sqm-rewards-table-status-column", null),
@@ -3451,7 +3449,7 @@ const RewardsTableEn = createHookStory(() => {
3451
3449
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
3452
3450
  id: "samenglish",
3453
3451
  });
3454
- D$1(undefined);
3452
+ setProgramId(undefined);
3455
3453
  return (h("sqm-rewards-table", { "per-page": "4" },
3456
3454
  h("sqm-rewards-table-reward-column", null),
3457
3455
  h("sqm-rewards-table-status-column", null),
@@ -3463,7 +3461,7 @@ const RewardsTableTr = createHookStory(() => {
3463
3461
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
3464
3462
  id: "samturkey",
3465
3463
  });
3466
- D$1(undefined);
3464
+ setProgramId(undefined);
3467
3465
  return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
3468
3466
  h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
3469
3467
  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 +3473,7 @@ const RewardsTableFr = createHookStory(() => {
3475
3473
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
3476
3474
  id: "samfrench",
3477
3475
  });
3478
- D$1(undefined);
3476
+ setProgramId(undefined);
3479
3477
  return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
3480
3478
  h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
3481
3479
  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 +3507,14 @@ function setupGraphQL$8() {
3509
3507
  programId,
3510
3508
  };
3511
3509
  useEffect(() => {
3512
- te$1({
3510
+ setUserIdentity({
3513
3511
  accountId,
3514
3512
  id,
3515
3513
  jwt: JWT,
3516
3514
  });
3517
3515
  return () => {
3518
3516
  window.widgetIdent = undefined;
3519
- te$1(undefined);
3517
+ setUserIdentity(undefined);
3520
3518
  };
3521
3519
  }, []);
3522
3520
  return { id, accountId };
@@ -3564,44 +3562,13 @@ const style = {
3564
3562
  };
3565
3563
  const sheet = createStyleSheet(style);
3566
3564
  const styleString = sheet.toString();
3567
- const barProps = {
3568
- data: {
3569
- programs: [
3570
- {
3571
- key: "program1",
3572
- label: "My Referral Program",
3573
- },
3574
- {
3575
- key: "program2",
3576
- label: "My Rewards Program",
3577
- },
3578
- ],
3579
- },
3580
- };
3581
- const item1Props = {
3582
- states: {
3583
- active: false,
3584
- },
3585
- data: {
3586
- label: "Dashboard",
3587
- icon: "house",
3588
- path: "/",
3589
- },
3590
- };
3591
- const item2Props = {
3592
- states: {
3593
- active: true,
3594
- },
3595
- data: {
3596
- label: "Activity",
3597
- icon: "bar-chart",
3598
- path: "/",
3599
- },
3600
- };
3601
3565
  const Sidebar = () => {
3602
- return (h(NavigationSidebarView, Object.assign({}, barProps),
3603
- h(NavigationSidebarItemView, Object.assign({}, item1Props)),
3604
- h(NavigationSidebarItemView, Object.assign({}, item2Props))));
3566
+ return (h("div", null)
3567
+ // <NavigationSidebarView {...barProps}>
3568
+ // <NavigationSidebarItemView {...item1Props} />
3569
+ // <NavigationSidebarItemView {...item2Props} />
3570
+ // </NavigationSidebarView>
3571
+ );
3605
3572
  };
3606
3573
  const Dashboard = () => {
3607
3574
  const sharelinkProps = {
@@ -3854,11 +3821,11 @@ const NewPortal = /*#__PURE__*/Object.freeze({
3854
3821
  Activity: Activity
3855
3822
  });
3856
3823
 
3857
- const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer a friend and earn up to $1200 in rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <p>Referrals</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <p>Giftcards</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>>Choose how you want to share</p>\r\n <p><sub>Your unique referral link:</sub></p>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n padding=\"none\"\r\n text-align=\"center\"\r\n label-margin=\"xx-small\"\r\n >\r\n <h3 slot=\"label\">Referral History</h3>\r\n </sqm-titled-section>\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n ></sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3824
+ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer a friend and earn up to $1200 in rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <p>Referrals</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <p>Giftcards</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>>Choose how you want to share</p>\r\n <p><sub>Your unique referral link:</sub></p>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n padding=\"none\"\r\n text-align=\"center\"\r\n label-margin=\"xx-small\"\r\n >\r\n <h3 slot=\"label\">Referral History</h3>\r\n </sqm-titled-section>\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n ></sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3858
3825
 
3859
- const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer friends and complete tasks to earn rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n image-mobile-pos=\"top\"\r\n image-percentage=\"50\"\r\n padding-image=\"none\"\r\n padding-text=\"xxxx-large\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <p>Referrals</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <p>Giftcards Earned</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <p>Points Balance</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <h3 slot=\"label\">Share $50 with friends</h3>\r\n <p slot=\"content\">\r\n They’ll get a $50 credit towards a new account and you’ll get up to\r\n $1200\r\n </p>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>Choose how you want to share:</p>\r\n <p><sub>Your unique referral link:</sub></p>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n min-width=\"\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\r\n <h3 slot=\"label\">Earn more rewards</h3>\r\n <p slot=\"content\">\r\n Get points while using our product. Use those points to redeem\r\n rewards like one free month of Enterprise or two plane tickets to\r\n anywhere in North America\r\n </p>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n </sqm-portal-container>\r\n <sqm-tabs>\r\n <sqm-tab header=\"Referral history\">\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n >\r\n </sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n program-id=\"\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3826
+ const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer friends and complete tasks to earn rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n image-mobile-pos=\"top\"\r\n image-percentage=\"50\"\r\n padding-image=\"none\"\r\n padding-text=\"xxxx-large\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <p>Referrals</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <p>Giftcards Earned</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <p>Points Balance</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <h3 slot=\"label\">Share $50 with friends</h3>\r\n <p slot=\"content\">\r\n They’ll get a $50 credit towards a new account and you’ll get up to\r\n $1200\r\n </p>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <p>Choose how you want to share:</p>\r\n <p><sub>Your unique referral link:</sub></p>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n min-width=\"\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\r\n <h3 slot=\"label\">Earn more rewards</h3>\r\n <p slot=\"content\">\r\n Get points while using our product. Use those points to redeem\r\n rewards like one free month of Enterprise or two plane tickets to\r\n anywhere in North America\r\n </p>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 250 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n </sqm-portal-container>\r\n <sqm-tabs>\r\n <sqm-tab header=\"Referral history\">\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n >\r\n </sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n program-id=\"\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3860
3827
 
3861
- const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Complete tasks to earn rewards\"\r\n layout=\"overlay\"\r\n padding-image=\"xxxx-large\"\r\n padding-text=\"xxx-large\"\r\n image-pos=\"center\"\r\n overlay-color=\"#5e5669\"\r\n overlay-opacity=\"0.9\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-program-explainer header=\"How it works\">\r\n <sqm-program-explainer-step\r\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\r\n header=\"Earn points for using our product\"\r\n icon=\"cash-stack\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n <sqm-program-explainer-step\r\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\r\n header=\"Redeem rewards with your points\"\r\n icon=\"people\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n </sqm-program-explainer>\r\n <sqm-portal-container\r\n center\r\n direction=\"row\"\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\r\n >\r\n <p>Points Redeemed</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <p>Points Balance</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-titled-section\r\n label-margin=\"small\"\r\n padding=\"none\"\r\n text-align=\"center\"\r\n >\r\n <h3 slot=\"label\">Earn points</h3>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n padding=\"none\"\r\n text-align=\"center\"\r\n label-margin=\"xx-small\"\r\n >\r\n <h3 slot=\"label\">Reward History</h3>\r\n </sqm-titled-section>\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3828
+ const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Complete tasks to earn rewards\"\r\n layout=\"overlay\"\r\n padding-image=\"xxxx-large\"\r\n padding-text=\"xxx-large\"\r\n image-pos=\"center\"\r\n overlay-color=\"#5e5669\"\r\n overlay-opacity=\"0.9\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-program-explainer header=\"How it works\">\r\n <sqm-program-explainer-step\r\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\r\n header=\"Earn points for using our product\"\r\n icon=\"cash-stack\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n <sqm-program-explainer-step\r\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\r\n header=\"Redeem rewards with your points\"\r\n icon=\"people\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n </sqm-program-explainer>\r\n <sqm-portal-container\r\n center\r\n direction=\"row\"\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\r\n >\r\n <p>Points Redeemed</p>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <p>Points Balance</p>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-titled-section\r\n label-margin=\"small\"\r\n padding=\"none\"\r\n text-align=\"center\"\r\n >\r\n <h3 slot=\"label\">Earn points</h3>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 250 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n padding=\"none\"\r\n text-align=\"center\"\r\n label-margin=\"xx-small\"\r\n >\r\n <h3 slot=\"label\">Reward History</h3>\r\n </sqm-titled-section>\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n slot=\"empty\"\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n <sqm-portal-footer\r\n support-email=\"support@example.com\"\r\n terms-link=\"https://example.com\"\r\n faq-link=\"https://example.com\"\r\n terms-text=\"Terms And Conditions\"\r\n faq-text=\"FAQ\"\r\n show-powered-by=\"true\"\r\n padding-bottom=\"none\"\r\n padding-left=\"none\"\r\n padding-right=\"none\"\r\n padding-top=\"none\"\r\n ></sqm-portal-footer>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
3862
3829
 
3863
3830
  const Widget_stories = {
3864
3831
  title: "Templates / Widgets",
@@ -3953,43 +3920,12 @@ const NavigationSidebar_stories = {
3953
3920
  title: "Components/Navigation Sidebar",
3954
3921
  };
3955
3922
  const DefaultNavigationSidebar = () => {
3956
- const barProps = {
3957
- data: {
3958
- programs: [
3959
- {
3960
- key: "program1",
3961
- label: "My Referral Program",
3962
- },
3963
- {
3964
- key: "program2",
3965
- label: "My Rewards Program",
3966
- },
3967
- ],
3968
- },
3969
- };
3970
- const item1Props = {
3971
- states: {
3972
- active: false,
3973
- },
3974
- data: {
3975
- label: "Dashboard",
3976
- icon: "house",
3977
- path: "/",
3978
- },
3979
- };
3980
- const item2Props = {
3981
- states: {
3982
- active: true,
3983
- },
3984
- data: {
3985
- label: "Activity",
3986
- icon: "bar-chart",
3987
- path: "/",
3988
- },
3989
- };
3990
- return (h(NavigationSidebarView, Object.assign({}, barProps),
3991
- h(NavigationSidebarItemView, Object.assign({}, item1Props)),
3992
- h(NavigationSidebarItemView, Object.assign({}, item2Props))));
3923
+ return (h("div", null)
3924
+ // <NavigationSidebarView {...barProps}>
3925
+ // <NavigationSidebarItemView {...item1Props} />
3926
+ // <NavigationSidebarItemView {...item2Props} />
3927
+ // </NavigationSidebarView>
3928
+ );
3993
3929
  };
3994
3930
 
3995
3931
  const NavigationSidebar = /*#__PURE__*/Object.freeze({
@@ -4054,6 +3990,7 @@ const PortalRegister_stories = {
4054
3990
  };
4055
3991
  const defaultProps$3 = {
4056
3992
  states: {
3993
+ registrationFormState: {},
4057
3994
  error: "",
4058
3995
  loading: false,
4059
3996
  confirmPassword: true,
@@ -4072,6 +4009,7 @@ const defaultProps$3 = {
4072
4009
  const errorProps$1 = {
4073
4010
  states: {
4074
4011
  error: "Something went wrong. Please try again.",
4012
+ registrationFormState: {},
4075
4013
  loading: false,
4076
4014
  confirmPassword: true,
4077
4015
  hideInputs: false,
@@ -4091,6 +4029,7 @@ const errorProps$1 = {
4091
4029
  };
4092
4030
  const loadingProps$1 = {
4093
4031
  states: {
4032
+ registrationFormState: {},
4094
4033
  error: "",
4095
4034
  loading: true,
4096
4035
  confirmPassword: true,
@@ -4108,6 +4047,7 @@ const loadingProps$1 = {
4108
4047
  };
4109
4048
  const slottedProps = {
4110
4049
  states: {
4050
+ registrationFormState: {},
4111
4051
  error: "",
4112
4052
  loading: false,
4113
4053
  confirmPassword: true,
@@ -4135,6 +4075,7 @@ const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingPro
4135
4075
  const FieldsHidden = () => {
4136
4076
  return (h("sqm-portal-register", { demoData: {
4137
4077
  states: {
4078
+ registrationFormState: {},
4138
4079
  error: "",
4139
4080
  loading: true,
4140
4081
  confirmPassword: true,
@@ -4580,44 +4521,13 @@ const AssetCard = /*#__PURE__*/Object.freeze({
4580
4521
  const DividedLayout_stories = {
4581
4522
  title: "Components/Divided Layout",
4582
4523
  };
4583
- const barProps$1 = {
4584
- data: {
4585
- programs: [
4586
- {
4587
- key: "program1",
4588
- label: "My Referral Program",
4589
- },
4590
- {
4591
- key: "program2",
4592
- label: "My Rewards Program",
4593
- },
4594
- ],
4595
- },
4596
- };
4597
- const item1Props$1 = {
4598
- states: {
4599
- active: false,
4600
- },
4601
- data: {
4602
- label: "Dashboard",
4603
- icon: "house",
4604
- path: "/",
4605
- },
4606
- };
4607
- const item2Props$1 = {
4608
- states: {
4609
- active: true,
4610
- },
4611
- data: {
4612
- label: "Activity",
4613
- icon: "bar-chart",
4614
- path: "/",
4615
- },
4616
- };
4617
4524
  const Sidebar$1 = () => {
4618
- return (h(NavigationSidebarView, Object.assign({}, barProps$1),
4619
- h(NavigationSidebarItemView, Object.assign({}, item1Props$1)),
4620
- h(NavigationSidebarItemView, Object.assign({}, item2Props$1))));
4525
+ return (h("div", null)
4526
+ // <NavigationSidebarView {...barProps}>
4527
+ // <NavigationSidebarItemView {...item1Props} />
4528
+ // <NavigationSidebarItemView {...item2Props} />
4529
+ // </NavigationSidebarView>
4530
+ );
4621
4531
  };
4622
4532
  const Row = () => {
4623
4533
  return (h("sqm-divided-layout", { direction: "row" },
@@ -5320,7 +5230,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
5320
5230
  tenRewardsCell: tenRewardsCell
5321
5231
  });
5322
5232
 
5323
- const scenario$c = "@owner:sam\r\n@author:sam\r\nFeature: Referral Table\r\n\r\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\r\n with a collection of columns.\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state is shown if there are no referrals\r\n Given a user with no referrals\r\n When they view the referral table\r\n Then no referrals are displayed\r\n And they see an image with a user icon\r\n And \"View your referral details\" in bold\r\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state image and text are customizable\r\n Given the referral table has 'sqm-empty' as a child with the following props\r\n | prop | value |\r\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\r\n | empty-state-header | View your referral history |\r\n | empty-state-text | See your previous referrals and what you earned! |\r\n And a user with no referrals\r\n When they view the referral table\r\n Then they see no referrals\r\n And they see the SaaSquatch logo\r\n And \"View your referral history\" in bold\r\n And \"See your previous referrals and what you earned!\" below the bolded text\r\n\r\n @minutae\r\n @ui\r\n Scenario: A custom empty state can be provided\r\n Given a user with no referrals\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the referral table\r\n Then they see the custom empty state\r\n\r\n @motivating\r\n @ui\r\n Scenario: The loading state is shown while referrals are loading\r\n Given the table is loading\r\n Then the loading state is shown in the table\r\n And a custom loading state can be supplied in the \"loading\" slot\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\r\n Given the user has <number of referrals>\r\n And the table is configured to show <page limit> referrals per page\r\n Then the table will have <number of pages> page(s)\r\n And pagination buttons will allow users to navigate between pages\r\n And the pagination button to go to the next page is disabled on the last page of referrals\r\n And the pagination button to go to the previous page is disabled on the first page of referrals\r\n Examples:\r\n | number of referrals | page limit | number of pages |\r\n | 0 | 4 | 1 |\r\n | 1 | 4 | 1 |\r\n | 3 | 4 | 1 |\r\n | 5 | 4 | 2 |\r\n | 42 | 4 | 11 |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The table converts to a card view on tablet and mobile window sizes\r\n Given a user with referrals\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then referrals are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the referrals are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario: Table and Mobile beakpoints can be configured\r\n Given the referral table has been configured with the following props\r\n | prop | value |\r\n | smBreakpoint | 599 |\r\n | mdBreakpoint | 799 |\r\n And a user with referrals\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then referrals are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the referrals are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\r\n Given a referral table with 4 columns\r\n And prop \"hidden-columns\" with <hideColumnValue>\r\n And a user with referrals\r\n When they view the referral table\r\n And their window size is below the tablet breakpoint\r\n Then referral cards are displayed\r\n And the titles of <columnsArehidden> within the card\r\n Examples:\r\n | hideColumnValue | columnsArehidden |\r\n | | the first column |\r\n | 0,1,2 | the first, second and third columns |\r\n | 3 | the fourth column |\r\n\r\n @motivating\r\n Scenario: The use who referred the current user can be shown in the table\r\n Given the table is configured with <showReferrer> set to true\r\n And the current user was referrered by <referrer>\r\n Then the first table row on the first page of the table is for <referrer>\r\n\r\n @motivating\r\n Scenario: Only referrals which occured in the program specific by program-id are shown\r\n Given the table is configured with \"program-id\"\r\n Then only referrals from the program with \"program-id\" are shown\r\n\r\n @motivating\r\n Scenario: Classic program shows only classic referrals\r\n Given the \"program-id\" of the table is set to \"classic\"\r\n Then only classic referrals are shown in the table\r\n\r\n @minutae\r\n @ui\r\n Scenario: Column heading can be hidden\r\n Given the table is configured with \"show-labels\" set to false\r\n Then the table is displayed without column headings";
5233
+ const scenario$c = "@owner:sam\r\n@author:sam\r\nFeature: Referral Table\r\n\r\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\r\n with a collection of columns.\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state is shown if there are no referrals\r\n Given a user with no referrals\r\n When they view the referral table\r\n Then no referrals are displayed\r\n And they see an image with a user icon\r\n And \"View your referral details\" in bold\r\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state image and text are customizable\r\n Given the referral table has 'sqm-empty' as a child with the following props\r\n | prop | value |\r\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\r\n | empty-state-header | View your referral history |\r\n | empty-state-text | See your previous referrals and what you earned! |\r\n And a user with no referrals\r\n When they view the referral table\r\n Then they see no referrals\r\n And they see the SaaSquatch logo\r\n And \"View your referral history\" in bold\r\n And \"See your previous referrals and what you earned!\" below the bolded text\r\n\r\n @minutae\r\n @ui\r\n Scenario: A custom empty state can be provided\r\n Given a user with no referrals\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the referral table\r\n Then they see the custom empty state\r\n\r\n @motivating\r\n @ui\r\n Scenario: The loading state is shown while referrals are loading\r\n Given the table is loading\r\n Then the loading state is shown in the table\r\n And a custom loading state can be supplied in the \"loading\" slot\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\r\n Given the user has <number of referrals>\r\n And the table is configured to show <page limit> referrals per page\r\n Then the table will have <number of pages> page(s)\r\n And pagination buttons will allow users to navigate between pages\r\n And the pagination button to go to the next page is disabled on the last page of referrals\r\n And the pagination button to go to the previous page is disabled on the first page of referrals\r\n Examples:\r\n | number of referrals | page limit | number of pages |\r\n | 0 | 4 | 1 |\r\n | 1 | 4 | 1 |\r\n | 3 | 4 | 1 |\r\n | 5 | 4 | 2 |\r\n | 42 | 4 | 11 |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The table converts to a card view on tablet and mobile window sizes\r\n Given a user with referrals\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then referrals are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the referrals are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario: Table and Mobile beakpoints can be configured\r\n Given the referral table has been configured with the following props\r\n | prop | value |\r\n | smBreakpoint | 599 |\r\n | mdBreakpoint | 799 |\r\n And a user with referrals\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then referrals are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the referrals are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\r\n Given a referral table with 4 columns\r\n And prop \"hidden-columns\" with <hideColumnValue>\r\n And a user with referrals\r\n When they view the referral table\r\n And their window size is below the tablet breakpoint\r\n Then referral cards are displayed\r\n And the titles of <columnsArehidden> within the card\r\n Examples:\r\n | hideColumnValue | columnsArehidden |\r\n | | the first column |\r\n | 0,1,2 | the first, second and third columns |\r\n | 3 | the fourth column |\r\n\r\n @motivating\r\n Scenario: The use who referred the current user can be shown in the table\r\n Given the table is configured with <showReferrer> set to true\r\n And the current user was referrered by <referrer>\r\n Then the first table row on the first page of the table is for <referrer>\r\n\r\n @motivating\r\n Scenario: Only referrals which occured in the program specific by program-id are shown\r\n Given the table is configured with \"program-id\"\r\n Then only referrals from the program with \"program-id\" are shown\r\n\r\n @motivating\r\n Scenario: Classic program shows only classic referrals\r\n Given the \"program-id\" of the table is set to \"classic\"\r\n Then only classic referrals are shown in the table\r\n\r\n @minutae\r\n @ui\r\n Scenario: Column heading can be hidden\r\n Given the table is configured with \"hide-labels\" set to \"true\"\r\n Then the table is displayed without column headings";
5324
5234
 
5325
5235
  const ReferralTable_stories = {
5326
5236
  title: "Components/Referral Table",
@@ -5982,7 +5892,9 @@ const Start = () => {
5982
5892
  initValue: "",
5983
5893
  states: {
5984
5894
  enableValidation: true,
5985
- validationErrors: {},
5895
+ registrationFormState: {
5896
+ validationErrors: {},
5897
+ },
5986
5898
  content: {
5987
5899
  fieldLabel: "Password",
5988
5900
  },
@@ -5994,7 +5906,9 @@ const EmptyError = () => {
5994
5906
  initValue: "",
5995
5907
  states: {
5996
5908
  enableValidation: true,
5997
- validationErrors: { password: "Cannot be empty" },
5909
+ registrationFormState: {
5910
+ validationErrors: { password: "Cannot be empty" },
5911
+ },
5998
5912
  content: {
5999
5913
  fieldLabel: "Password",
6000
5914
  },
@@ -6006,7 +5920,9 @@ const ValidationError = () => {
6006
5920
  initValue: "asdf",
6007
5921
  states: {
6008
5922
  enableValidation: true,
6009
- validationErrors: { password: "Incomplete" },
5923
+ registrationFormState: {
5924
+ validationErrors: { password: "Incomplete" },
5925
+ },
6010
5926
  content: {
6011
5927
  fieldLabel: "Password",
6012
5928
  },
@@ -9574,21 +9490,21 @@ var marked = createCommonjsModule(function (module, exports) {
9574
9490
  })));
9575
9491
  });
9576
9492
 
9577
- const LoginReadme = "# sqm-portal-login\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\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` |\r\n| `emailLabel` | `email-label` | Label for email field | `string` | `\"Email\"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | Label for forgotten password button | `string` | `\"Forgot Password?\"` |\r\n| `forgotPasswordPath` | `forgot-password-path` | Forgot password redirect path | `string` | `\"/forgotPassword\"` |\r\n| `nextPage` | `next-page` | Page navigated to after sign-in | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\r\n| `passwordLabel` | `password-label` | Label for password field | `string` | `\"Password\"` |\r\n| `registerLabel` | `register-label` | Label for register button | `string` | `\"Register\"` |\r\n| `registerPath` | `register-path` | Register redirect path | `string` | `\"/register\"` |\r\n| `submitLabel` | `submit-label` | Label for submit button | `string` | `\"Sign In\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --> sqm-form-message\r\n sqm-stencilbook --> sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9493
+ const LoginReadme = "# sqm-portal-login\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------- | ----------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\r\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` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\r\n| `forgotPasswordPath` | `forgot-password-path` | Redirect participants to this page to reset their password | `string` | `\"/forgotPassword\"` |\r\n| `nextPage` | `next-page` | Redirect participants to this page after they successfully login. | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\r\n| `registerPath` | `register-path` | Redirect participants to this page to start registration. | `string` | `\"/register\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-login --> sqm-form-message\r\n sqm-stencilbook --> sqm-portal-login\r\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9578
9494
 
9579
- const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | Height of the iframe container | `string` | `\"100%\"` |\r\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | Width of the iframe container | `string` | `\"100%\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --> sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9495
+ const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | Define the height of the iframe with any valid CSS height value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\r\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | Define the width of the iframe with any valid CSS width value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --> sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9580
9496
 
9581
- const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9497
+ const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `loginText` | `login-text` | Sign In Link Text | `string` | `\"Sign In\"` |\r\n| `redirectPath` | `redirect-path` | Redirect participants to this page after they verify their email. | `string` | `\"/resetPassword\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9582
9498
 
9583
- const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\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` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\r\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\r\n| `loginPath` | `login-path` | Login button redirection path | `string` | `\"/login\"` |\r\n| `nextPage` | `next-page` | Page navigated to after registration | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --> sqm-form-message\r\n sqm-portal-register --> sqm-password-field\r\n sqm-stencilbook --> sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9499
+ const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: 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` |\r\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `hideInputs` | `hide-inputs` | Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes \"email\" and \"password\" for this form to succeed. | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\r\n| `loginPath` | `login-path` | Redirect participants to this page after clicking the login button. | `string` | `\"/login\"` |\r\n| `nextPage` | `next-page` | Redirect participants to this page from their verification email | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --> sqm-form-message\r\n sqm-portal-register --> sqm-password-field\r\n sqm-stencilbook --> sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9584
9500
 
9585
- const EditProfileReadme = "# sqm-portal-profile\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | Country input field label | `string` | `\"Country\"` |\r\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` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\r\n| `emailtext` | `emailtext` | Email input field label | `string` | `\"Email\"` |\r\n| `firstnametext` | `firstnametext` | First name input field label | `string` | `\"First Name\"` |\r\n| `lastnametext` | `lastnametext` | Last name input field label | `string` | `\"Last Name\"` |\r\n| `showCountry` | `show-country` | Show or hide the country field | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --> sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9501
+ const EditProfileReadme = "# sqm-portal-profile\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\r\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` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\r\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\r\n| `hideCountry` | `hide-country` | | `boolean` | `false` |\r\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --> sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9586
9502
 
9587
- const ResetPasswordReadme = "# sqm-portal-reset-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | Show or hide confirm password field | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\r\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset | `string` | `\"Continue\"` |\r\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` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `\"/\"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `\"Password reset\"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --> sqm-form-message\r\n sqm-portal-reset-password --> sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9503
+ const ResetPasswordReadme = "# sqm-portal-reset-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\r\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\r\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` |\r\n| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `\"/\"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --> sqm-form-message\r\n sqm-portal-reset-password --> sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9588
9504
 
9589
- const EmailVerificationReadme = "# sqm-portal-email-verification\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --> sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9505
+ const EmailVerificationReadme = "# sqm-portal-email-verification\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\r\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `\"/verifyEmail\"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --> sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9590
9506
 
9591
- const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `\"/\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --> sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9507
+ const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --> sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
9592
9508
 
9593
9509
  const PortalTemplates_stories = {
9594
9510
  title: "Templates / Portal",
@@ -9628,16 +9544,16 @@ function DefaultTemplateView$1(props) {
9628
9544
  gridTemplateColumns: "repeat(9, 80px)",
9629
9545
  gridGap: "10px",
9630
9546
  } },
9631
- h("button", { onClick: () => wn.push("/") }, "Dashboard"),
9632
- props.leadSubmit && (h("button", { onClick: () => wn.push("/refer") }, "Submit a Referral")),
9633
- h("button", { onClick: () => wn.push("/activity") }, "Activity"),
9634
- h("button", { onClick: () => wn.push("/editProfile") }, "Edit Profile"),
9635
- h("button", { onClick: () => wn.push("/login") }, "Login"),
9636
- h("button", { onClick: () => wn.push("/register") }, "Register"),
9637
- h("button", { onClick: () => wn.push("/emailVerification") }, "Email Verification"),
9638
- h("button", { onClick: () => wn.push("/verifyEmail") }, "Verify Email"),
9639
- h("button", { onClick: () => wn.push("/forgotPassword") }, "Forgot Password"),
9640
- h("button", { onClick: () => wn.push("/resetPassword") }, "Reset Password")),
9547
+ h("button", { onClick: () => fn.push("/") }, "Dashboard"),
9548
+ props.leadSubmit && (h("button", { onClick: () => fn.push("/refer") }, "Submit a Referral")),
9549
+ h("button", { onClick: () => fn.push("/activity") }, "Activity"),
9550
+ h("button", { onClick: () => fn.push("/editProfile") }, "Edit Profile"),
9551
+ h("button", { onClick: () => fn.push("/login") }, "Login"),
9552
+ h("button", { onClick: () => fn.push("/register") }, "Register"),
9553
+ h("button", { onClick: () => fn.push("/emailVerification") }, "Email Verification"),
9554
+ h("button", { onClick: () => fn.push("/verifyEmail") }, "Verify Email"),
9555
+ h("button", { onClick: () => fn.push("/forgotPassword") }, "Forgot Password"),
9556
+ h("button", { onClick: () => fn.push("/resetPassword") }, "Reset Password")),
9641
9557
  h("br", null),
9642
9558
  h("div", { innerHTML: states.previewTemplate })));
9643
9559
  }
@@ -9797,7 +9713,7 @@ const PoweredByImg = /*#__PURE__*/Object.freeze({
9797
9713
  CustomWidthAndHeight: CustomWidthAndHeight
9798
9714
  });
9799
9715
 
9800
- const scenario$f = "Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\r\n And prop \"terms-text\" with value \"Terms and Conditions\"\r\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\r\n And prop \"faq-text\" with value \"Visit FAQ\"\r\n When a user clicks on the \"Visit FAQ\" link\r\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\r\n When they go back to the portal\r\n And click on the \"Terms and Conditions\" link\r\n Then they will be redirected to \"https://example.com/terms\" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn't have | | | T&C Link |\r\n | faq-link | doesn't have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer's support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> \"show-powered-by\" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | is shown |\r\n | has prop | false | isn't shown |\r\n | has prop | test | is shown |\r\n | has prop | | is shown |\r\n | doesn't have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
9716
+ const scenario$f = "Feature: Portal Footer\r\n\r\n Background: A user is viewing the portal\r\n Given a hosted portal\r\n And a user is viewing the portal\r\n And the portal has a footer\r\n\r\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\r\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\r\n And prop \"terms-text\" with value \"Terms and Conditions\"\r\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\r\n And prop \"faq-text\" with value \"Visit FAQ\"\r\n When a user clicks on the \"Visit FAQ\" link\r\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\r\n When they go back to the portal\r\n And click on the \"Terms and Conditions\" link\r\n Then they will be redirected to \"https://example.com/terms\" in a new page\r\n\r\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\r\n Given the footer does not have <linkProp>\r\n But it <mayHave> <textProp> with <value>\r\n Then the <link> will not be shown in the footer\r\n Examples:\r\n | linkProp | mayHave | textProp | value | link |\r\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\r\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\r\n | terms-link | doesn't have | | | T&C Link |\r\n | faq-link | doesn't have | | | FAQ Link |\r\n\r\n Scenario Outline: The support email and text is configurable but has a default\r\n Given the footer <mayHave> <emailPropWithValue>\r\n And the footer <mayAlsoHave> <textPropWithValue>\r\n Then the footer's support email text is <renderedEmailText>\r\n And the email address will be a mailto link with <mailtoEmail>\r\n When the user clicks on the email address mailto Link\r\n Then the users preferred email client will open with a draft email to <mailtoEmail>\r\n Examples:\r\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\r\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\r\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\r\n\r\n Scenario Outline: Powered by SaaSquatch is shown by default\r\n Given the footer <mayHaveProp> \"hide-powered-by\" with <value>\r\n Then the powered by SaaSquatch image <mayBeShown>\r\n Examples:\r\n | mayHaveProp | value | mayBeShown |\r\n | has prop | true | isn't shown |\r\n | has prop | false | is shown |\r\n | has prop | test | isn't shown |\r\n | has prop | | isn't shown |\r\n | doesn't have prop | | is shown |\r\n\r\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\r\n Given the footer has the powered by SaaSquatch image\r\n When a user clicks on it\r\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
9801
9717
 
9802
9718
  const PortalFooter_stories = {
9803
9719
  title: "Components/Portal Footer",
@@ -9808,7 +9724,7 @@ const PortalFooter_stories = {
9808
9724
  const defaultProps$9 = {
9809
9725
  supportEmail: "support@example.com",
9810
9726
  supportText: "For program support, contact {email}",
9811
- showPoweredBy: true,
9727
+ hidePoweredBy: false,
9812
9728
  poweredByLink: "https://saasquatch.com",
9813
9729
  paddingTop: "large",
9814
9730
  paddingRight: "large",
@@ -9819,7 +9735,7 @@ const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$9
9819
9735
  const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
9820
9736
  const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { faqLink: "https://example.com", faqText: "FAQ" })));
9821
9737
  const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
9822
- const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", showPoweredBy: false })));
9738
+ const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
9823
9739
 
9824
9740
  const PortalFooter = /*#__PURE__*/Object.freeze({
9825
9741
  __proto__: null,
@@ -10059,7 +9975,9 @@ const NameFields_stories = {
10059
9975
  };
10060
9976
  const props$1 = {
10061
9977
  states: {
10062
- validationErrors: undefined,
9978
+ registrationFormState: {
9979
+ validationErrors: undefined,
9980
+ },
10063
9981
  content: {
10064
9982
  firstNameLabel: "First Name",
10065
9983
  lastNameLabel: "Last Name",
@@ -10068,9 +9986,11 @@ const props$1 = {
10068
9986
  };
10069
9987
  const errorProps$8 = {
10070
9988
  states: {
10071
- validationErrors: {
10072
- firstName: "Cannot be empty",
10073
- lastName: "Cannot be empty",
9989
+ registrationFormState: {
9990
+ validationErrors: {
9991
+ firstName: "Cannot be empty",
9992
+ lastName: "Cannot be empty",
9993
+ },
10074
9994
  },
10075
9995
  content: {
10076
9996
  firstNameLabel: "First Name",
@@ -10102,7 +10022,9 @@ const CheckboxField_stories = {
10102
10022
  };
10103
10023
  const defaultProps$a = {
10104
10024
  states: {
10105
- validationErrors: {},
10025
+ registrationFormState: {
10026
+ validationErrors: {},
10027
+ },
10106
10028
  checked: false,
10107
10029
  },
10108
10030
  content: {
@@ -10118,6 +10040,7 @@ const defaultProps$a = {
10118
10040
  };
10119
10041
  const defaultRegisterProps = {
10120
10042
  states: {
10043
+ registrationFormState: {},
10121
10044
  error: "",
10122
10045
  loading: false,
10123
10046
  confirmPassword: true,
@@ -10144,14 +10067,18 @@ const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}
10144
10067
  } }))));
10145
10068
  const Error$3 = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10146
10069
  ...defaultProps$a.states,
10147
- validationErrors: {
10148
- agree: "Must be checked",
10070
+ registrationFormState: {
10071
+ validationErrors: {
10072
+ agree: "Must be checked",
10073
+ },
10149
10074
  },
10150
10075
  } }))));
10151
10076
  const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10152
10077
  ...defaultProps$a.states,
10153
- validationErrors: {
10154
- agree: "Must be checked",
10078
+ registrationFormState: {
10079
+ validationErrors: {
10080
+ agree: "Must be checked",
10081
+ },
10155
10082
  },
10156
10083
  }, content: {
10157
10084
  ...defaultProps$a.content,
@@ -10211,14 +10138,14 @@ function setupGraphQL$9() {
10211
10138
  programId,
10212
10139
  };
10213
10140
  useEffect(() => {
10214
- te$1({
10141
+ setUserIdentity({
10215
10142
  accountId,
10216
10143
  id,
10217
10144
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10218
10145
  });
10219
10146
  return () => {
10220
10147
  window.widgetIdent = undefined;
10221
- te$1(undefined);
10148
+ setUserIdentity(undefined);
10222
10149
  };
10223
10150
  }, []);
10224
10151
  return { id, accountId };
@@ -10273,7 +10200,7 @@ const DropdownField_stories = {
10273
10200
  };
10274
10201
  const defaultProps$b = {
10275
10202
  states: {
10276
- validationErrors: {},
10203
+ registrationFormState: {},
10277
10204
  },
10278
10205
  content: {
10279
10206
  dropdownName: "options",
@@ -10293,14 +10220,21 @@ const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
10293
10220
  } }))));
10294
10221
  const Error$4 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { states: {
10295
10222
  ...defaultProps$b.states,
10296
- validationErrors: {
10297
- options: "Must select an option",
10223
+ registrationFormState: {
10224
+ validationErrors: {
10225
+ options: "Must select an option",
10226
+ },
10298
10227
  },
10299
10228
  } }))));
10300
- const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: { ...defaultProps$b.content, errorMessage: "An option must be selected to continue", }, states: {
10229
+ const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10230
+ ...defaultProps$b.content,
10231
+ errorMessage: "An option must be selected to continue",
10232
+ }, states: {
10301
10233
  ...defaultProps$b.states,
10302
- validationErrors: {
10303
- options: "Must select an option",
10234
+ registrationFormState: {
10235
+ validationErrors: {
10236
+ options: "Must select an option",
10237
+ },
10304
10238
  },
10305
10239
  } }))));
10306
10240
 
@@ -10327,14 +10261,14 @@ function setupGraphQL$a() {
10327
10261
  programId,
10328
10262
  };
10329
10263
  useEffect(() => {
10330
- te$1({
10264
+ setUserIdentity({
10331
10265
  accountId,
10332
10266
  id,
10333
10267
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10334
10268
  });
10335
10269
  return () => {
10336
10270
  window.widgetIdent = undefined;
10337
- te$1(undefined);
10271
+ setUserIdentity(undefined);
10338
10272
  };
10339
10273
  }, []);
10340
10274
  return { id, accountId };
@@ -10382,7 +10316,9 @@ const InputField_stories = {
10382
10316
  };
10383
10317
  const defaultProps$c = {
10384
10318
  states: {
10385
- validationErrors: {},
10319
+ registrationFormState: {
10320
+ validationErrors: {},
10321
+ },
10386
10322
  },
10387
10323
  content: {
10388
10324
  fieldName: "field",
@@ -10394,6 +10330,7 @@ const defaultProps$c = {
10394
10330
  };
10395
10331
  const defaultRegisterProps$1 = {
10396
10332
  states: {
10333
+ registrationFormState: {},
10397
10334
  error: "",
10398
10335
  loading: false,
10399
10336
  confirmPassword: true,
@@ -10413,8 +10350,10 @@ const Default$d = () => h(InputFieldView, Object.assign({}, defaultProps$c));
10413
10350
  const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10414
10351
  const Error$5 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { states: {
10415
10352
  ...defaultProps$c.states,
10416
- validationErrors: {
10417
- field: "Cannot be empty",
10353
+ registrationFormState: {
10354
+ validationErrors: {
10355
+ field: "Cannot be empty",
10356
+ },
10418
10357
  },
10419
10358
  } })));
10420
10359
  const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: {
@@ -10422,8 +10361,10 @@ const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c,
10422
10361
  errorMessage: "A value must be entered to continue",
10423
10362
  }, states: {
10424
10363
  ...defaultProps$c.states,
10425
- validationErrors: {
10426
- field: "Cannot be empty",
10364
+ registrationFormState: {
10365
+ validationErrors: {
10366
+ field: "Cannot be empty",
10367
+ },
10427
10368
  },
10428
10369
  } })));
10429
10370
  const DateType = () => {
@@ -10482,14 +10423,14 @@ function setupGraphQL$b() {
10482
10423
  programId,
10483
10424
  };
10484
10425
  useEffect(() => {
10485
- te$1({
10426
+ setUserIdentity({
10486
10427
  accountId,
10487
10428
  id,
10488
10429
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10489
10430
  });
10490
10431
  return () => {
10491
10432
  window.widgetIdent = undefined;
10492
- te$1(undefined);
10433
+ setUserIdentity(undefined);
10493
10434
  };
10494
10435
  }, []);
10495
10436
  return { id, accountId };
@@ -11483,7 +11424,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
11483
11424
  EmptyCell: EmptyCell$2
11484
11425
  });
11485
11426
 
11486
- const scenario$s = "@owner:sam\r\n@author:sam\r\nFeature: Rewards Table\r\n\r\n Shows a list of rewards as a table\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state is shown if there are no rewards\r\n Given a user with rewards\r\n When they view the reward table\r\n Then no rewards are displayed\r\n And they see an image with a user icon\r\n And \"View your rewards\" in bold\r\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @minutae\r\n @ui\r\n Scenario: A custom empty state can be provided\r\n Given a user with no rewards\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the reward table\r\n Then they see the custom empty state\r\n\r\n @minutae\r\n @ui\r\n Scenario: The loading state is shown while rewards are loading\r\n Given the table is loading\r\n Then the loading state is shown in the table\r\n And a custom loading state can be supplied in the \"loading\" slot\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\r\n Given the user has <number of rewards>\r\n And the table is configured to show <page limit> rewards per page\r\n Then the table will have <number of pages> page(s)\r\n And pagination buttons will allow users to navigate between pages\r\n And the pagination button to go to the next page is disabled on the last page of rewards\r\n And the pagination button to go to the previous page is disabled on the first page of rewards\r\n Examples:\r\n | number of rewards | page limit | number of pages |\r\n | 0 | 4 | 1 |\r\n | 1 | 4 | 1 |\r\n | 3 | 4 | 1 |\r\n | 5 | 4 | 2 |\r\n | 42 | 4 | 11 |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The table converts to a card view on tablet and mobile window sizes\r\n Given a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario: Table and Mobile beakpoints can be configured\r\n Given the reward table has been configured with the following props\r\n | prop | value |\r\n | smBreakpoint | 599 |\r\n | mdBreakpoint | 799 |\r\n And a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: By default the first column heading is hidden in mobile\r\n Given a reward table with 4 columns\r\n And prop \"hidden-columns\" with <hideColumnValue>\r\n And a user with rewards\r\n When they view the reward table\r\n And their window size is below the tablet breakpoint\r\n Then reward cards are displayed\r\n And the titles of <columnsArehidden> within the card\r\n Examples:\r\n | hideColumnValue | columnsArehidden |\r\n | | the first column |\r\n | 0,1,2 | the first, second and third columns |\r\n | 3 | the fourth column |\r\n\r\n @motivating\r\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\r\n Given the table is configured with \"program-id\"\r\n Then only rewards from the program with \"program-id\" are shown\r\n\r\n @landmine\r\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\r\n There is no easy way for the backend to filter for \"classic\" programs,\r\n thus we are filtering for rewards without programId's.\r\n\r\n Given the \"program-id\" of the table is set to \"classic\"\r\n Then rewards from classic programs are shown\r\n And manual rewards are shown\r\n\r\n @minutae\r\n @ui\r\n Scenario: Column heading can be hidden\r\n Given the table is configured with \"show-labels\" set to false\r\n Then the table is displayed without column headings";
11427
+ const scenario$s = "@owner:sam\r\n@author:sam\r\nFeature: Rewards Table\r\n\r\n Shows a list of rewards as a table\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state is shown if there are no rewards\r\n Given a user with rewards\r\n When they view the reward table\r\n Then no rewards are displayed\r\n And they see an image with a user icon\r\n And \"View your rewards\" in bold\r\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @minutae\r\n @ui\r\n Scenario: A custom empty state can be provided\r\n Given a user with no rewards\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the reward table\r\n Then they see the custom empty state\r\n\r\n @minutae\r\n @ui\r\n Scenario: The loading state is shown while rewards are loading\r\n Given the table is loading\r\n Then the loading state is shown in the table\r\n And a custom loading state can be supplied in the \"loading\" slot\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\r\n Given the user has <number of rewards>\r\n And the table is configured to show <page limit> rewards per page\r\n Then the table will have <number of pages> page(s)\r\n And pagination buttons will allow users to navigate between pages\r\n And the pagination button to go to the next page is disabled on the last page of rewards\r\n And the pagination button to go to the previous page is disabled on the first page of rewards\r\n Examples:\r\n | number of rewards | page limit | number of pages |\r\n | 0 | 4 | 1 |\r\n | 1 | 4 | 1 |\r\n | 3 | 4 | 1 |\r\n | 5 | 4 | 2 |\r\n | 42 | 4 | 11 |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The table converts to a card view on tablet and mobile window sizes\r\n Given a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario: Table and Mobile beakpoints can be configured\r\n Given the reward table has been configured with the following props\r\n | prop | value |\r\n | smBreakpoint | 599 |\r\n | mdBreakpoint | 799 |\r\n And a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n @ui\r\n Scenario Outline: By default the first column heading is hidden in mobile\r\n Given a reward table with 4 columns\r\n And prop \"hidden-columns\" with <hideColumnValue>\r\n And a user with rewards\r\n When they view the reward table\r\n And their window size is below the tablet breakpoint\r\n Then reward cards are displayed\r\n And the titles of <columnsArehidden> within the card\r\n Examples:\r\n | hideColumnValue | columnsArehidden |\r\n | | the first column |\r\n | 0,1,2 | the first, second and third columns |\r\n | 3 | the fourth column |\r\n\r\n @motivating\r\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\r\n Given the table is configured with \"program-id\"\r\n Then only rewards from the program with \"program-id\" are shown\r\n\r\n @landmine\r\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\r\n There is no easy way for the backend to filter for \"classic\" programs,\r\n thus we are filtering for rewards without programId's.\r\n\r\n Given the \"program-id\" of the table is set to \"classic\"\r\n Then rewards from classic programs are shown\r\n And manual rewards are shown\r\n\r\n @minutae\r\n @ui\r\n Scenario: Column heading can be hidden\r\n Given the table is configured with \"hide-labels\" set to \"true\"\r\n Then the table is displayed without column headings";
11487
11428
 
11488
11429
  const RewardsTable_stories = {
11489
11430
  title: "Components/Rewards Table",
@@ -11628,14 +11569,14 @@ function setupGraphQL$c() {
11628
11569
  appDomain: "https://staging.referralsaasquatch.com",
11629
11570
  };
11630
11571
  useEffect(() => {
11631
- te$1({
11572
+ setUserIdentity({
11632
11573
  accountId,
11633
11574
  id,
11634
11575
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
11635
11576
  });
11636
11577
  return () => {
11637
11578
  window.widgetIdent = undefined;
11638
- te$1(undefined);
11579
+ setUserIdentity(undefined);
11639
11580
  };
11640
11581
  }, []);
11641
11582
  return { id, accountId };
@@ -11649,21 +11590,21 @@ function setupGraphQLKlip$1({ token, id }) {
11649
11590
  appDomain: "https://staging.referralsaasquatch.com",
11650
11591
  };
11651
11592
  useEffect(() => {
11652
- te$1({
11593
+ setUserIdentity({
11653
11594
  accountId,
11654
11595
  id,
11655
11596
  jwt: token,
11656
11597
  });
11657
11598
  return () => {
11658
11599
  window.widgetIdent = undefined;
11659
- te$1(undefined);
11600
+ setUserIdentity(undefined);
11660
11601
  };
11661
11602
  }, []);
11662
11603
  return { id, accountId };
11663
11604
  }
11664
11605
  const ReferralTable$1 = createHookStory(() => {
11665
11606
  setupGraphQL$c();
11666
- D$1("sam-partner-test-2");
11607
+ setProgramId("sam-partner-test-2");
11667
11608
  return (h("sqm-referral-table", null,
11668
11609
  h("sqm-referral-table-user-column", null),
11669
11610
  h("sqm-referral-table-status-column", null),
@@ -11689,7 +11630,7 @@ const ReferralTableEn = createHookStory(() => {
11689
11630
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
11690
11631
  id: "samenglish",
11691
11632
  });
11692
- D$1("klip-referral-program");
11633
+ setProgramId("klip-referral-program");
11693
11634
  return (h("sqm-referral-table", { "per-page": "4" },
11694
11635
  h("sqm-referral-table-user-column", { "column-title": "User" }),
11695
11636
  h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
@@ -11701,7 +11642,7 @@ const ReferralTableTr = createHookStory(() => {
11701
11642
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
11702
11643
  id: "samturkey",
11703
11644
  });
11704
- D$1("klip-referral-program");
11645
+ setProgramId("klip-referral-program");
11705
11646
  return (h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
11706
11647
  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
11648
  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 +11654,7 @@ const ReferralTableFr = createHookStory(() => {
11713
11654
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
11714
11655
  id: "samfrench",
11715
11656
  });
11716
- D$1("klip-referral-program");
11657
+ setProgramId("klip-referral-program");
11717
11658
  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
11659
  h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
11719
11660
  h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
@@ -12953,6 +12894,19 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
12953
12894
  CustomTooltipDuration: CustomTooltipDuration
12954
12895
  });
12955
12896
 
12897
+ const HamburgerMenu_stories = {
12898
+ title: "Components/Hamburger Menu",
12899
+ };
12900
+ const Default$e = () => {
12901
+ return h("div", null, "Default");
12902
+ };
12903
+
12904
+ const HamburgerMenu = /*#__PURE__*/Object.freeze({
12905
+ __proto__: null,
12906
+ 'default': HamburgerMenu_stories,
12907
+ Default: Default$e
12908
+ });
12909
+
12956
12910
  /**
12957
12911
  *
12958
12912
  * Themes
@@ -12965,7 +12919,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
12965
12919
  *
12966
12920
  */
12967
12921
  //
12968
- const Default$e = `
12922
+ const Default$f = `
12969
12923
  // No CSS
12970
12924
  `;
12971
12925
  const Orangey = `
@@ -12999,7 +12953,7 @@ const Klip = `
12999
12953
 
13000
12954
  const Themes = /*#__PURE__*/Object.freeze({
13001
12955
  __proto__: null,
13002
- Default: Default$e,
12956
+ Default: Default$f,
13003
12957
  Orangey: Orangey,
13004
12958
  Netflix: Netflix,
13005
12959
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -15662,6 +15616,7 @@ const stories = [
15662
15616
  Scroll,
15663
15617
  Tabs,
15664
15618
  ShareCode$1,
15619
+ HamburgerMenu,
15665
15620
  ];
15666
15621
  const StencilStorybook = class {
15667
15622
  constructor(hostRef) {