@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
@@ -3,33 +3,31 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
7
- require('./global-a7614907.js');
8
- require('./use-callback-e754042f.js');
9
- const index_module = require('./index.module-1c799b1f.js');
10
- require('./extends-08099afd.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
7
+ require('./global-97364373.js');
8
+ require('./use-callback-5d15897d.js');
9
+ const index_module = require('./index.module-d3a28293.js');
11
10
  require('./cjs-1066ec21.js');
12
11
  require('./mixins-338ca5f1.js');
13
- const JSS = require('./JSS-a75f3a9a.js');
14
- const GenericTableView = require('./GenericTableView-6b0d1f93.js');
15
- require('./useChildElements-dc4c3132.js');
16
- const luxon = require('./luxon-59ca7d19.js');
12
+ const JSS = require('./JSS-c73206b7.js');
13
+ const GenericTableView = require('./GenericTableView-fa0cb936.js');
14
+ require('./useChildElements-24fbca82.js');
15
+ const luxon = require('./luxon-479fc825.js');
17
16
  require('./utils-8ef4fe4a.js');
18
- require('./sqm-text-span-view-ab4ad6ef.js');
19
- const sqmAssetCardView = require('./sqm-asset-card-view-07420209.js');
20
- const sqmHeroView = require('./sqm-hero-view-d5d46a36.js');
17
+ require('./sqm-text-span-view-b0c90c27.js');
18
+ const sqmAssetCardView = require('./sqm-asset-card-view-7e16757a.js');
19
+ const sqmHeroView = require('./sqm-hero-view-f4264d5e.js');
21
20
  const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-35015d30.js');
22
- const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-0ee28f65.js');
23
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-85e51ba6.js');
24
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-c60833cc.js');
25
- const sqmPortalFooterView = require('./sqm-portal-footer-view-d5478077.js');
26
- const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-97932f7a.js');
27
- const sqmPortalContainerView = require('./sqm-portal-container-view-a3e86fc2.js');
28
- const sqmPortalProfileView = require('./sqm-portal-profile-view-a8ee44c2.js');
29
- const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-042073ca.js');
30
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cb3c9c2f.js');
31
- const ShadowViewAddon = require('./ShadowViewAddon-260da162.js');
32
- const sqmPortalSectionView = require('./sqm-portal-section-view-765aae4d.js');
21
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-46a53c67.js');
22
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-56d07e94.js');
23
+ const sqmPortalFooterView = require('./sqm-portal-footer-view-cbd4cd48.js');
24
+ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-aaa8dd17.js');
25
+ const sqmPortalContainerView = require('./sqm-portal-container-view-4a8432e9.js');
26
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-9792a786.js');
27
+ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-035245e6.js');
28
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7014ca89.js');
29
+ const ShadowViewAddon = require('./ShadowViewAddon-970dff24.js');
30
+ const sqmPortalSectionView = require('./sqm-portal-section-view-71a57cd9.js');
33
31
 
34
32
  /**
35
33
  * lodash (Custom Build) <https://lodash.com/>
@@ -2358,36 +2356,36 @@ const routes = `
2358
2356
  `;
2359
2357
  const TemplateNavigation = createHookStory(() => {
2360
2358
  return (index.h("div", null,
2361
- index.h("button", { onClick: () => index_module.wn.push("/") }, "/"),
2362
- index.h("button", { onClick: () => index_module.wn.push("/foo") }, "/foo"),
2363
- index.h("button", { onClick: () => index_module.wn.push("/bar") }, "/bar"),
2364
- index.h("button", { onClick: () => index_module.wn.push("/baz/bang") }, "/baz/bang"),
2365
- index.h("button", { onClick: () => index_module.wn.push("/refer") }, "/refer"),
2366
- index.h("button", { onClick: () => index_module.wn.push("/refer/1") }, "/refer/1"),
2367
- index.h("button", { onClick: () => index_module.wn.push("/refer/2") }, "/refer/2"),
2368
- index.h("button", { onClick: () => index_module.wn.back() }, "Back"),
2369
- index.h("button", { onClick: () => index_module.wn.forward() }, "Forward"),
2359
+ index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
2360
+ index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
2361
+ index.h("button", { onClick: () => index_module.fn.push("/bar") }, "/bar"),
2362
+ index.h("button", { onClick: () => index_module.fn.push("/baz/bang") }, "/baz/bang"),
2363
+ index.h("button", { onClick: () => index_module.fn.push("/refer") }, "/refer"),
2364
+ index.h("button", { onClick: () => index_module.fn.push("/refer/1") }, "/refer/1"),
2365
+ index.h("button", { onClick: () => index_module.fn.push("/refer/2") }, "/refer/2"),
2366
+ index.h("button", { onClick: () => index_module.fn.back() }, "Back"),
2367
+ index.h("button", { onClick: () => index_module.fn.forward() }, "Forward"),
2370
2368
  index.h("hr", null),
2371
2369
  index.h("sqm-router", { innerHTML: templates })));
2372
2370
  });
2373
2371
  const RouteNavigation = createHookStory(() => {
2374
2372
  return (index.h("div", null,
2375
- index.h("button", { onClick: () => index_module.wn.push("/") }, "/"),
2376
- index.h("button", { onClick: () => index_module.wn.push("/foo") }, "/foo"),
2377
- index.h("button", { onClick: () => index_module.wn.push("/bar") }, "/bar"),
2378
- index.h("button", { onClick: () => index_module.wn.push("/baz/bang") }, "/baz/bang"),
2379
- index.h("button", { onClick: () => index_module.wn.push("/refer") }, "/refer"),
2380
- index.h("button", { onClick: () => index_module.wn.push("/refer/1") }, "/refer/1"),
2381
- index.h("button", { onClick: () => index_module.wn.push("/refer/2") }, "/refer/2"),
2382
- index.h("button", { onClick: () => index_module.wn.back() }, "Back"),
2383
- index.h("button", { onClick: () => index_module.wn.forward() }, "Forward"),
2373
+ index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
2374
+ index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
2375
+ index.h("button", { onClick: () => index_module.fn.push("/bar") }, "/bar"),
2376
+ index.h("button", { onClick: () => index_module.fn.push("/baz/bang") }, "/baz/bang"),
2377
+ index.h("button", { onClick: () => index_module.fn.push("/refer") }, "/refer"),
2378
+ index.h("button", { onClick: () => index_module.fn.push("/refer/1") }, "/refer/1"),
2379
+ index.h("button", { onClick: () => index_module.fn.push("/refer/2") }, "/refer/2"),
2380
+ index.h("button", { onClick: () => index_module.fn.back() }, "Back"),
2381
+ index.h("button", { onClick: () => index_module.fn.forward() }, "Forward"),
2384
2382
  index.h("hr", null),
2385
2383
  index.h("sqm-router", { innerHTML: routes })));
2386
2384
  });
2387
2385
  const Styling = createHookStory(() => {
2388
2386
  return (index.h("div", null,
2389
- index.h("button", { onClick: () => index_module.wn.push("/") }, "/"),
2390
- index.h("button", { onClick: () => index_module.wn.push("/foo") }, "/foo"),
2387
+ index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
2388
+ index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
2391
2389
  index.h("hr", null),
2392
2390
  index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
2393
2391
  index.h("sqm-router", { innerHTML: `<template path="/">
@@ -2401,7 +2399,7 @@ function useTemplate(templateString) {
2401
2399
  const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
2402
2400
  function setPath(e) {
2403
2401
  //@ts-ignore
2404
- index_module.wn.push(e.target.value);
2402
+ index_module.fn.push(e.target.value);
2405
2403
  }
2406
2404
  return {
2407
2405
  states: { previewTemplate, editedTemplate },
@@ -2565,8 +2563,8 @@ const FullStackFrame = () => {
2565
2563
  "Current path:",
2566
2564
  " ",
2567
2565
  index.h("code", null,
2568
- index.h("strong", null, (_a = index_module.bn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2569
- index.h("button", { onClick: index_module.wn.back }, "Go Back")));
2566
+ index.h("strong", null, (_a = index_module.ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2567
+ index.h("button", { onClick: index_module.fn.back }, "Go Back")));
2570
2568
  };
2571
2569
  const FullStackFrameLoggedOut = () => {
2572
2570
  var _a;
@@ -2590,8 +2588,8 @@ const FullStackFrameLoggedOut = () => {
2590
2588
  "Current path:",
2591
2589
  " ",
2592
2590
  index.h("code", null,
2593
- index.h("strong", null, (_a = index_module.bn()) === null || _a === void 0 ? void 0 : _a.pathname))),
2594
- index.h("button", { onClick: index_module.wn.back }, "Go Back")));
2591
+ index.h("strong", null, (_a = index_module.ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
2592
+ index.h("button", { onClick: index_module.fn.back }, "Go Back")));
2595
2593
  };
2596
2594
 
2597
2595
  const PortalFrame = /*#__PURE__*/Object.freeze({
@@ -2685,14 +2683,14 @@ function setupGraphQL$1() {
2685
2683
  programId,
2686
2684
  };
2687
2685
  stencilHooks_module.useEffect(() => {
2688
- index_module.te({
2686
+ index_module.setUserIdentity({
2689
2687
  accountId,
2690
2688
  id,
2691
2689
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2692
2690
  });
2693
2691
  return () => {
2694
2692
  window.widgetIdent = undefined;
2695
- index_module.te(undefined);
2693
+ index_module.setUserIdentity(undefined);
2696
2694
  };
2697
2695
  }, []);
2698
2696
  }
@@ -2747,14 +2745,14 @@ function setupGraphQL$2() {
2747
2745
  programId,
2748
2746
  };
2749
2747
  stencilHooks_module.useEffect(() => {
2750
- index_module.te({
2748
+ index_module.setUserIdentity({
2751
2749
  accountId,
2752
2750
  id,
2753
2751
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
2754
2752
  });
2755
2753
  return () => {
2756
2754
  window.widgetIdent = undefined;
2757
- index_module.te(undefined);
2755
+ index_module.setUserIdentity(undefined);
2758
2756
  };
2759
2757
  }, []);
2760
2758
  }
@@ -2809,14 +2807,14 @@ function setupGraphQL$3() {
2809
2807
  programId,
2810
2808
  };
2811
2809
  stencilHooks_module.useEffect(() => {
2812
- index_module.te({
2810
+ index_module.setUserIdentity({
2813
2811
  accountId,
2814
2812
  id,
2815
2813
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
2816
2814
  });
2817
2815
  return () => {
2818
2816
  window.widgetIdent = undefined;
2819
- index_module.te(undefined);
2817
+ index_module.setUserIdentity(undefined);
2820
2818
  };
2821
2819
  }, []);
2822
2820
  }
@@ -2950,14 +2948,14 @@ function setupGraphQL$4() {
2950
2948
  programId,
2951
2949
  };
2952
2950
  stencilHooks_module.useEffect(() => {
2953
- index_module.te({
2951
+ index_module.setUserIdentity({
2954
2952
  accountId,
2955
2953
  id,
2956
2954
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
2957
2955
  });
2958
2956
  return () => {
2959
2957
  window.widgetIdent = undefined;
2960
- index_module.te(undefined);
2958
+ index_module.setUserIdentity(undefined);
2961
2959
  };
2962
2960
  }, []);
2963
2961
  }
@@ -2997,14 +2995,14 @@ function setupGraphQL$5() {
2997
2995
  programId,
2998
2996
  };
2999
2997
  stencilHooks_module.useEffect(() => {
3000
- index_module.te({
2998
+ index_module.setUserIdentity({
3001
2999
  accountId,
3002
3000
  id,
3003
3001
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3004
3002
  });
3005
3003
  return () => {
3006
3004
  window.widgetIdent = undefined;
3007
- index_module.te(undefined);
3005
+ index_module.setUserIdentity(undefined);
3008
3006
  };
3009
3007
  }, []);
3010
3008
  }
@@ -3020,14 +3018,14 @@ function setupOtherGraphQL() {
3020
3018
  programId,
3021
3019
  };
3022
3020
  stencilHooks_module.useEffect(() => {
3023
- index_module.te({
3021
+ index_module.setUserIdentity({
3024
3022
  accountId,
3025
3023
  id,
3026
3024
  jwt: JWT,
3027
3025
  });
3028
3026
  return () => {
3029
3027
  window.widgetIdent = undefined;
3030
- index_module.te(undefined);
3028
+ index_module.setUserIdentity(undefined);
3031
3029
  };
3032
3030
  }, []);
3033
3031
  return { id, accountId };
@@ -3261,14 +3259,14 @@ function setupGraphQL$6() {
3261
3259
  programId,
3262
3260
  };
3263
3261
  stencilHooks_module.useEffect(() => {
3264
- index_module.te({
3262
+ index_module.setUserIdentity({
3265
3263
  accountId,
3266
3264
  id,
3267
3265
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3268
3266
  });
3269
3267
  return () => {
3270
3268
  window.widgetIdent = undefined;
3271
- index_module.te(undefined);
3269
+ index_module.setUserIdentity(undefined);
3272
3270
  };
3273
3271
  }, []);
3274
3272
  return { id, accountId };
@@ -3277,7 +3275,7 @@ function useExchangeButton() {
3277
3275
  const { id, accountId } = setupGraphQL$6();
3278
3276
  const [points, setPoints] = stencilHooks_module.useState(10);
3279
3277
  const [rate, setRate] = stencilHooks_module.useState(100);
3280
- const [exchange, { data, errors }] = index_module.Ye(EXCHANGE);
3278
+ const [exchange, { data, errors }] = index_module.ze(EXCHANGE);
3281
3279
  return {
3282
3280
  states: {
3283
3281
  points,
@@ -3392,14 +3390,14 @@ function setupGraphQL$7() {
3392
3390
  appDomain: "https://staging.referralsaasquatch.com",
3393
3391
  };
3394
3392
  stencilHooks_module.useEffect(() => {
3395
- index_module.te({
3393
+ index_module.setUserIdentity({
3396
3394
  accountId,
3397
3395
  id,
3398
3396
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
3399
3397
  });
3400
3398
  return () => {
3401
3399
  window.widgetIdent = undefined;
3402
- index_module.te(undefined);
3400
+ index_module.setUserIdentity(undefined);
3403
3401
  };
3404
3402
  }, []);
3405
3403
  return { id, accountId };
@@ -3413,14 +3411,14 @@ function setupGraphQLKlip({ token, id }) {
3413
3411
  appDomain: "https://staging.referralsaasquatch.com",
3414
3412
  };
3415
3413
  stencilHooks_module.useEffect(() => {
3416
- index_module.te({
3414
+ index_module.setUserIdentity({
3417
3415
  accountId,
3418
3416
  id,
3419
3417
  jwt: token,
3420
3418
  });
3421
3419
  return () => {
3422
3420
  window.widgetIdent = undefined;
3423
- index_module.te(undefined);
3421
+ index_module.setUserIdentity(undefined);
3424
3422
  };
3425
3423
  }, []);
3426
3424
  return { id, accountId };
@@ -3434,7 +3432,7 @@ const RewardTableDemoHook = createHookStory(() => {
3434
3432
  });
3435
3433
  const RewardsTableWithProgram = createHookStory(() => {
3436
3434
  setupGraphQL$7();
3437
- index_module.D("sam-partner-test-2");
3435
+ index_module.setProgramId("sam-partner-test-2");
3438
3436
  return (index.h("sqm-rewards-table", null,
3439
3437
  index.h("sqm-rewards-table-reward-column", null),
3440
3438
  index.h("sqm-rewards-table-status-column", null),
@@ -3443,7 +3441,7 @@ const RewardsTableWithProgram = createHookStory(() => {
3443
3441
  });
3444
3442
  const RewardsTableNoProgram = createHookStory(() => {
3445
3443
  setupGraphQL$7();
3446
- index_module.D(undefined);
3444
+ index_module.setProgramId(undefined);
3447
3445
  return (index.h("sqm-rewards-table", null,
3448
3446
  index.h("sqm-rewards-table-reward-column", null),
3449
3447
  index.h("sqm-rewards-table-status-column", null),
@@ -3455,7 +3453,7 @@ const RewardsTableEn = createHookStory(() => {
3455
3453
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
3456
3454
  id: "samenglish",
3457
3455
  });
3458
- index_module.D(undefined);
3456
+ index_module.setProgramId(undefined);
3459
3457
  return (index.h("sqm-rewards-table", { "per-page": "4" },
3460
3458
  index.h("sqm-rewards-table-reward-column", null),
3461
3459
  index.h("sqm-rewards-table-status-column", null),
@@ -3467,7 +3465,7 @@ const RewardsTableTr = createHookStory(() => {
3467
3465
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
3468
3466
  id: "samturkey",
3469
3467
  });
3470
- index_module.D(undefined);
3468
+ index_module.setProgramId(undefined);
3471
3469
  return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
3472
3470
  index.h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
3473
3471
  index.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 {}}" }),
@@ -3479,7 +3477,7 @@ const RewardsTableFr = createHookStory(() => {
3479
3477
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
3480
3478
  id: "samfrench",
3481
3479
  });
3482
- index_module.D(undefined);
3480
+ index_module.setProgramId(undefined);
3483
3481
  return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
3484
3482
  index.h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
3485
3483
  index.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 {}}" }),
@@ -3513,14 +3511,14 @@ function setupGraphQL$8() {
3513
3511
  programId,
3514
3512
  };
3515
3513
  stencilHooks_module.useEffect(() => {
3516
- index_module.te({
3514
+ index_module.setUserIdentity({
3517
3515
  accountId,
3518
3516
  id,
3519
3517
  jwt: JWT,
3520
3518
  });
3521
3519
  return () => {
3522
3520
  window.widgetIdent = undefined;
3523
- index_module.te(undefined);
3521
+ index_module.setUserIdentity(undefined);
3524
3522
  };
3525
3523
  }, []);
3526
3524
  return { id, accountId };
@@ -3568,44 +3566,13 @@ const style = {
3568
3566
  };
3569
3567
  const sheet = JSS.createStyleSheet(style);
3570
3568
  const styleString = sheet.toString();
3571
- const barProps = {
3572
- data: {
3573
- programs: [
3574
- {
3575
- key: "program1",
3576
- label: "My Referral Program",
3577
- },
3578
- {
3579
- key: "program2",
3580
- label: "My Rewards Program",
3581
- },
3582
- ],
3583
- },
3584
- };
3585
- const item1Props = {
3586
- states: {
3587
- active: false,
3588
- },
3589
- data: {
3590
- label: "Dashboard",
3591
- icon: "house",
3592
- path: "/",
3593
- },
3594
- };
3595
- const item2Props = {
3596
- states: {
3597
- active: true,
3598
- },
3599
- data: {
3600
- label: "Activity",
3601
- icon: "bar-chart",
3602
- path: "/",
3603
- },
3604
- };
3605
3569
  const Sidebar = () => {
3606
- return (index.h(sqmNavigationSidebarView.NavigationSidebarView, Object.assign({}, barProps),
3607
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item1Props)),
3608
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item2Props))));
3570
+ return (index.h("div", null)
3571
+ // <NavigationSidebarView {...barProps}>
3572
+ // <NavigationSidebarItemView {...item1Props} />
3573
+ // <NavigationSidebarItemView {...item2Props} />
3574
+ // </NavigationSidebarView>
3575
+ );
3609
3576
  };
3610
3577
  const Dashboard = () => {
3611
3578
  const sharelinkProps = {
@@ -3858,11 +3825,11 @@ const NewPortal = /*#__PURE__*/Object.freeze({
3858
3825
  Activity: Activity
3859
3826
  });
3860
3827
 
3861
- 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";
3828
+ 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";
3862
3829
 
3863
- 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";
3830
+ 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";
3864
3831
 
3865
- 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";
3832
+ 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";
3866
3833
 
3867
3834
  const Widget_stories = {
3868
3835
  title: "Templates / Widgets",
@@ -3957,43 +3924,12 @@ const NavigationSidebar_stories = {
3957
3924
  title: "Components/Navigation Sidebar",
3958
3925
  };
3959
3926
  const DefaultNavigationSidebar = () => {
3960
- const barProps = {
3961
- data: {
3962
- programs: [
3963
- {
3964
- key: "program1",
3965
- label: "My Referral Program",
3966
- },
3967
- {
3968
- key: "program2",
3969
- label: "My Rewards Program",
3970
- },
3971
- ],
3972
- },
3973
- };
3974
- const item1Props = {
3975
- states: {
3976
- active: false,
3977
- },
3978
- data: {
3979
- label: "Dashboard",
3980
- icon: "house",
3981
- path: "/",
3982
- },
3983
- };
3984
- const item2Props = {
3985
- states: {
3986
- active: true,
3987
- },
3988
- data: {
3989
- label: "Activity",
3990
- icon: "bar-chart",
3991
- path: "/",
3992
- },
3993
- };
3994
- return (index.h(sqmNavigationSidebarView.NavigationSidebarView, Object.assign({}, barProps),
3995
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item1Props)),
3996
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item2Props))));
3927
+ return (index.h("div", null)
3928
+ // <NavigationSidebarView {...barProps}>
3929
+ // <NavigationSidebarItemView {...item1Props} />
3930
+ // <NavigationSidebarItemView {...item2Props} />
3931
+ // </NavigationSidebarView>
3932
+ );
3997
3933
  };
3998
3934
 
3999
3935
  const NavigationSidebar = /*#__PURE__*/Object.freeze({
@@ -4058,6 +3994,7 @@ const PortalRegister_stories = {
4058
3994
  };
4059
3995
  const defaultProps$3 = {
4060
3996
  states: {
3997
+ registrationFormState: {},
4061
3998
  error: "",
4062
3999
  loading: false,
4063
4000
  confirmPassword: true,
@@ -4076,6 +4013,7 @@ const defaultProps$3 = {
4076
4013
  const errorProps$1 = {
4077
4014
  states: {
4078
4015
  error: "Something went wrong. Please try again.",
4016
+ registrationFormState: {},
4079
4017
  loading: false,
4080
4018
  confirmPassword: true,
4081
4019
  hideInputs: false,
@@ -4095,6 +4033,7 @@ const errorProps$1 = {
4095
4033
  };
4096
4034
  const loadingProps$1 = {
4097
4035
  states: {
4036
+ registrationFormState: {},
4098
4037
  error: "",
4099
4038
  loading: true,
4100
4039
  confirmPassword: true,
@@ -4112,6 +4051,7 @@ const loadingProps$1 = {
4112
4051
  };
4113
4052
  const slottedProps = {
4114
4053
  states: {
4054
+ registrationFormState: {},
4115
4055
  error: "",
4116
4056
  loading: false,
4117
4057
  confirmPassword: true,
@@ -4139,6 +4079,7 @@ const RegisterLoading = () => index.h(ShadowViewAddon.PortalRegisterView, Object
4139
4079
  const FieldsHidden = () => {
4140
4080
  return (index.h("sqm-portal-register", { demoData: {
4141
4081
  states: {
4082
+ registrationFormState: {},
4142
4083
  error: "",
4143
4084
  loading: true,
4144
4085
  confirmPassword: true,
@@ -4584,44 +4525,13 @@ const AssetCard = /*#__PURE__*/Object.freeze({
4584
4525
  const DividedLayout_stories = {
4585
4526
  title: "Components/Divided Layout",
4586
4527
  };
4587
- const barProps$1 = {
4588
- data: {
4589
- programs: [
4590
- {
4591
- key: "program1",
4592
- label: "My Referral Program",
4593
- },
4594
- {
4595
- key: "program2",
4596
- label: "My Rewards Program",
4597
- },
4598
- ],
4599
- },
4600
- };
4601
- const item1Props$1 = {
4602
- states: {
4603
- active: false,
4604
- },
4605
- data: {
4606
- label: "Dashboard",
4607
- icon: "house",
4608
- path: "/",
4609
- },
4610
- };
4611
- const item2Props$1 = {
4612
- states: {
4613
- active: true,
4614
- },
4615
- data: {
4616
- label: "Activity",
4617
- icon: "bar-chart",
4618
- path: "/",
4619
- },
4620
- };
4621
4528
  const Sidebar$1 = () => {
4622
- return (index.h(sqmNavigationSidebarView.NavigationSidebarView, Object.assign({}, barProps$1),
4623
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item1Props$1)),
4624
- index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, item2Props$1))));
4529
+ return (index.h("div", null)
4530
+ // <NavigationSidebarView {...barProps}>
4531
+ // <NavigationSidebarItemView {...item1Props} />
4532
+ // <NavigationSidebarItemView {...item2Props} />
4533
+ // </NavigationSidebarView>
4534
+ );
4625
4535
  };
4626
4536
  const Row = () => {
4627
4537
  return (index.h("sqm-divided-layout", { direction: "row" },
@@ -5324,7 +5234,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
5324
5234
  tenRewardsCell: tenRewardsCell
5325
5235
  });
5326
5236
 
5327
- 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";
5237
+ 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";
5328
5238
 
5329
5239
  const ReferralTable_stories = {
5330
5240
  title: "Components/Referral Table",
@@ -5986,7 +5896,9 @@ const Start = () => {
5986
5896
  initValue: "",
5987
5897
  states: {
5988
5898
  enableValidation: true,
5989
- validationErrors: {},
5899
+ registrationFormState: {
5900
+ validationErrors: {},
5901
+ },
5990
5902
  content: {
5991
5903
  fieldLabel: "Password",
5992
5904
  },
@@ -5998,7 +5910,9 @@ const EmptyError = () => {
5998
5910
  initValue: "",
5999
5911
  states: {
6000
5912
  enableValidation: true,
6001
- validationErrors: { password: "Cannot be empty" },
5913
+ registrationFormState: {
5914
+ validationErrors: { password: "Cannot be empty" },
5915
+ },
6002
5916
  content: {
6003
5917
  fieldLabel: "Password",
6004
5918
  },
@@ -6010,7 +5924,9 @@ const ValidationError = () => {
6010
5924
  initValue: "asdf",
6011
5925
  states: {
6012
5926
  enableValidation: true,
6013
- validationErrors: { password: "Incomplete" },
5927
+ registrationFormState: {
5928
+ validationErrors: { password: "Incomplete" },
5929
+ },
6014
5930
  content: {
6015
5931
  fieldLabel: "Password",
6016
5932
  },
@@ -9578,21 +9494,21 @@ var marked = stencilHooks_module.createCommonjsModule(function (module, exports)
9578
9494
  })));
9579
9495
  });
9580
9496
 
9581
- 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";
9497
+ 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";
9582
9498
 
9583
- 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";
9499
+ 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";
9584
9500
 
9585
- 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";
9501
+ 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";
9586
9502
 
9587
- 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";
9503
+ 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";
9588
9504
 
9589
- 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";
9505
+ 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";
9590
9506
 
9591
- 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";
9507
+ 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";
9592
9508
 
9593
- 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";
9509
+ 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";
9594
9510
 
9595
- 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";
9511
+ 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";
9596
9512
 
9597
9513
  const PortalTemplates_stories = {
9598
9514
  title: "Templates / Portal",
@@ -9632,16 +9548,16 @@ function DefaultTemplateView$1(props) {
9632
9548
  gridTemplateColumns: "repeat(9, 80px)",
9633
9549
  gridGap: "10px",
9634
9550
  } },
9635
- index.h("button", { onClick: () => index_module.wn.push("/") }, "Dashboard"),
9636
- props.leadSubmit && (index.h("button", { onClick: () => index_module.wn.push("/refer") }, "Submit a Referral")),
9637
- index.h("button", { onClick: () => index_module.wn.push("/activity") }, "Activity"),
9638
- index.h("button", { onClick: () => index_module.wn.push("/editProfile") }, "Edit Profile"),
9639
- index.h("button", { onClick: () => index_module.wn.push("/login") }, "Login"),
9640
- index.h("button", { onClick: () => index_module.wn.push("/register") }, "Register"),
9641
- index.h("button", { onClick: () => index_module.wn.push("/emailVerification") }, "Email Verification"),
9642
- index.h("button", { onClick: () => index_module.wn.push("/verifyEmail") }, "Verify Email"),
9643
- index.h("button", { onClick: () => index_module.wn.push("/forgotPassword") }, "Forgot Password"),
9644
- index.h("button", { onClick: () => index_module.wn.push("/resetPassword") }, "Reset Password")),
9551
+ index.h("button", { onClick: () => index_module.fn.push("/") }, "Dashboard"),
9552
+ props.leadSubmit && (index.h("button", { onClick: () => index_module.fn.push("/refer") }, "Submit a Referral")),
9553
+ index.h("button", { onClick: () => index_module.fn.push("/activity") }, "Activity"),
9554
+ index.h("button", { onClick: () => index_module.fn.push("/editProfile") }, "Edit Profile"),
9555
+ index.h("button", { onClick: () => index_module.fn.push("/login") }, "Login"),
9556
+ index.h("button", { onClick: () => index_module.fn.push("/register") }, "Register"),
9557
+ index.h("button", { onClick: () => index_module.fn.push("/emailVerification") }, "Email Verification"),
9558
+ index.h("button", { onClick: () => index_module.fn.push("/verifyEmail") }, "Verify Email"),
9559
+ index.h("button", { onClick: () => index_module.fn.push("/forgotPassword") }, "Forgot Password"),
9560
+ index.h("button", { onClick: () => index_module.fn.push("/resetPassword") }, "Reset Password")),
9645
9561
  index.h("br", null),
9646
9562
  index.h("div", { innerHTML: states.previewTemplate })));
9647
9563
  }
@@ -9801,7 +9717,7 @@ const PoweredByImg = /*#__PURE__*/Object.freeze({
9801
9717
  CustomWidthAndHeight: CustomWidthAndHeight
9802
9718
  });
9803
9719
 
9804
- 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";
9720
+ 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";
9805
9721
 
9806
9722
  const PortalFooter_stories = {
9807
9723
  title: "Components/Portal Footer",
@@ -9812,7 +9728,7 @@ const PortalFooter_stories = {
9812
9728
  const defaultProps$9 = {
9813
9729
  supportEmail: "support@example.com",
9814
9730
  supportText: "For program support, contact {email}",
9815
- showPoweredBy: true,
9731
+ hidePoweredBy: false,
9816
9732
  poweredByLink: "https://saasquatch.com",
9817
9733
  paddingTop: "large",
9818
9734
  paddingRight: "large",
@@ -9823,7 +9739,7 @@ const DefaultFooter = () => index.h(sqmPortalFooterView.PortalFooterView, Object
9823
9739
  const FooterWithTerms = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
9824
9740
  const FooterWithFAQ = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$9, { faqLink: "https://example.com", faqText: "FAQ" })));
9825
9741
  const FooterWithTermsAndFAQ = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
9826
- const FooterNoPoweredBy = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", showPoweredBy: false })));
9742
+ const FooterNoPoweredBy = () => (index.h(sqmPortalFooterView.PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
9827
9743
 
9828
9744
  const PortalFooter = /*#__PURE__*/Object.freeze({
9829
9745
  __proto__: null,
@@ -10063,7 +9979,9 @@ const NameFields_stories = {
10063
9979
  };
10064
9980
  const props$1 = {
10065
9981
  states: {
10066
- validationErrors: undefined,
9982
+ registrationFormState: {
9983
+ validationErrors: undefined,
9984
+ },
10067
9985
  content: {
10068
9986
  firstNameLabel: "First Name",
10069
9987
  lastNameLabel: "Last Name",
@@ -10072,9 +9990,11 @@ const props$1 = {
10072
9990
  };
10073
9991
  const errorProps$8 = {
10074
9992
  states: {
10075
- validationErrors: {
10076
- firstName: "Cannot be empty",
10077
- lastName: "Cannot be empty",
9993
+ registrationFormState: {
9994
+ validationErrors: {
9995
+ firstName: "Cannot be empty",
9996
+ lastName: "Cannot be empty",
9997
+ },
10078
9998
  },
10079
9999
  content: {
10080
10000
  firstNameLabel: "First Name",
@@ -10106,7 +10026,9 @@ const CheckboxField_stories = {
10106
10026
  };
10107
10027
  const defaultProps$a = {
10108
10028
  states: {
10109
- validationErrors: {},
10029
+ registrationFormState: {
10030
+ validationErrors: {},
10031
+ },
10110
10032
  checked: false,
10111
10033
  },
10112
10034
  content: {
@@ -10122,6 +10044,7 @@ const defaultProps$a = {
10122
10044
  };
10123
10045
  const defaultRegisterProps = {
10124
10046
  states: {
10047
+ registrationFormState: {},
10125
10048
  error: "",
10126
10049
  loading: false,
10127
10050
  confirmPassword: true,
@@ -10148,14 +10071,18 @@ const CustomLabel = createHookStory(() => (index.h(ShadowViewAddon.CheckboxField
10148
10071
  } }))));
10149
10072
  const Error$3 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10150
10073
  ...defaultProps$a.states,
10151
- validationErrors: {
10152
- agree: "Must be checked",
10074
+ registrationFormState: {
10075
+ validationErrors: {
10076
+ agree: "Must be checked",
10077
+ },
10153
10078
  },
10154
10079
  } }))));
10155
10080
  const CustomError = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
10156
10081
  ...defaultProps$a.states,
10157
- validationErrors: {
10158
- agree: "Must be checked",
10082
+ registrationFormState: {
10083
+ validationErrors: {
10084
+ agree: "Must be checked",
10085
+ },
10159
10086
  },
10160
10087
  }, content: {
10161
10088
  ...defaultProps$a.content,
@@ -10215,14 +10142,14 @@ function setupGraphQL$9() {
10215
10142
  programId,
10216
10143
  };
10217
10144
  stencilHooks_module.useEffect(() => {
10218
- index_module.te({
10145
+ index_module.setUserIdentity({
10219
10146
  accountId,
10220
10147
  id,
10221
10148
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10222
10149
  });
10223
10150
  return () => {
10224
10151
  window.widgetIdent = undefined;
10225
- index_module.te(undefined);
10152
+ index_module.setUserIdentity(undefined);
10226
10153
  };
10227
10154
  }, []);
10228
10155
  return { id, accountId };
@@ -10277,7 +10204,7 @@ const DropdownField_stories = {
10277
10204
  };
10278
10205
  const defaultProps$b = {
10279
10206
  states: {
10280
- validationErrors: {},
10207
+ registrationFormState: {},
10281
10208
  },
10282
10209
  content: {
10283
10210
  dropdownName: "options",
@@ -10297,14 +10224,21 @@ const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFie
10297
10224
  } }))));
10298
10225
  const Error$4 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { states: {
10299
10226
  ...defaultProps$b.states,
10300
- validationErrors: {
10301
- options: "Must select an option",
10227
+ registrationFormState: {
10228
+ validationErrors: {
10229
+ options: "Must select an option",
10230
+ },
10302
10231
  },
10303
10232
  } }))));
10304
- const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: { ...defaultProps$b.content, errorMessage: "An option must be selected to continue", }, states: {
10233
+ const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
10234
+ ...defaultProps$b.content,
10235
+ errorMessage: "An option must be selected to continue",
10236
+ }, states: {
10305
10237
  ...defaultProps$b.states,
10306
- validationErrors: {
10307
- options: "Must select an option",
10238
+ registrationFormState: {
10239
+ validationErrors: {
10240
+ options: "Must select an option",
10241
+ },
10308
10242
  },
10309
10243
  } }))));
10310
10244
 
@@ -10331,14 +10265,14 @@ function setupGraphQL$a() {
10331
10265
  programId,
10332
10266
  };
10333
10267
  stencilHooks_module.useEffect(() => {
10334
- index_module.te({
10268
+ index_module.setUserIdentity({
10335
10269
  accountId,
10336
10270
  id,
10337
10271
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10338
10272
  });
10339
10273
  return () => {
10340
10274
  window.widgetIdent = undefined;
10341
- index_module.te(undefined);
10275
+ index_module.setUserIdentity(undefined);
10342
10276
  };
10343
10277
  }, []);
10344
10278
  return { id, accountId };
@@ -10386,7 +10320,9 @@ const InputField_stories = {
10386
10320
  };
10387
10321
  const defaultProps$c = {
10388
10322
  states: {
10389
- validationErrors: {},
10323
+ registrationFormState: {
10324
+ validationErrors: {},
10325
+ },
10390
10326
  },
10391
10327
  content: {
10392
10328
  fieldName: "field",
@@ -10398,6 +10334,7 @@ const defaultProps$c = {
10398
10334
  };
10399
10335
  const defaultRegisterProps$1 = {
10400
10336
  states: {
10337
+ registrationFormState: {},
10401
10338
  error: "",
10402
10339
  loading: false,
10403
10340
  confirmPassword: true,
@@ -10417,8 +10354,10 @@ const Default$d = () => index.h(ShadowViewAddon.InputFieldView, Object.assign({}
10417
10354
  const CustomLabel$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
10418
10355
  const Error$5 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { states: {
10419
10356
  ...defaultProps$c.states,
10420
- validationErrors: {
10421
- field: "Cannot be empty",
10357
+ registrationFormState: {
10358
+ validationErrors: {
10359
+ field: "Cannot be empty",
10360
+ },
10422
10361
  },
10423
10362
  } })));
10424
10363
  const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assign({}, defaultProps$c, { content: {
@@ -10426,8 +10365,10 @@ const CustomError$2 = () => (index.h(ShadowViewAddon.InputFieldView, Object.assi
10426
10365
  errorMessage: "A value must be entered to continue",
10427
10366
  }, states: {
10428
10367
  ...defaultProps$c.states,
10429
- validationErrors: {
10430
- field: "Cannot be empty",
10368
+ registrationFormState: {
10369
+ validationErrors: {
10370
+ field: "Cannot be empty",
10371
+ },
10431
10372
  },
10432
10373
  } })));
10433
10374
  const DateType = () => {
@@ -10486,14 +10427,14 @@ function setupGraphQL$b() {
10486
10427
  programId,
10487
10428
  };
10488
10429
  stencilHooks_module.useEffect(() => {
10489
- index_module.te({
10430
+ index_module.setUserIdentity({
10490
10431
  accountId,
10491
10432
  id,
10492
10433
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
10493
10434
  });
10494
10435
  return () => {
10495
10436
  window.widgetIdent = undefined;
10496
- index_module.te(undefined);
10437
+ index_module.setUserIdentity(undefined);
10497
10438
  };
10498
10439
  }, []);
10499
10440
  return { id, accountId };
@@ -11487,7 +11428,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
11487
11428
  EmptyCell: EmptyCell$2
11488
11429
  });
11489
11430
 
11490
- 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";
11431
+ 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";
11491
11432
 
11492
11433
  const RewardsTable_stories = {
11493
11434
  title: "Components/Rewards Table",
@@ -11632,14 +11573,14 @@ function setupGraphQL$c() {
11632
11573
  appDomain: "https://staging.referralsaasquatch.com",
11633
11574
  };
11634
11575
  stencilHooks_module.useEffect(() => {
11635
- index_module.te({
11576
+ index_module.setUserIdentity({
11636
11577
  accountId,
11637
11578
  id,
11638
11579
  jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
11639
11580
  });
11640
11581
  return () => {
11641
11582
  window.widgetIdent = undefined;
11642
- index_module.te(undefined);
11583
+ index_module.setUserIdentity(undefined);
11643
11584
  };
11644
11585
  }, []);
11645
11586
  return { id, accountId };
@@ -11653,21 +11594,21 @@ function setupGraphQLKlip$1({ token, id }) {
11653
11594
  appDomain: "https://staging.referralsaasquatch.com",
11654
11595
  };
11655
11596
  stencilHooks_module.useEffect(() => {
11656
- index_module.te({
11597
+ index_module.setUserIdentity({
11657
11598
  accountId,
11658
11599
  id,
11659
11600
  jwt: token,
11660
11601
  });
11661
11602
  return () => {
11662
11603
  window.widgetIdent = undefined;
11663
- index_module.te(undefined);
11604
+ index_module.setUserIdentity(undefined);
11664
11605
  };
11665
11606
  }, []);
11666
11607
  return { id, accountId };
11667
11608
  }
11668
11609
  const ReferralTable$1 = createHookStory(() => {
11669
11610
  setupGraphQL$c();
11670
- index_module.D("sam-partner-test-2");
11611
+ index_module.setProgramId("sam-partner-test-2");
11671
11612
  return (index.h("sqm-referral-table", null,
11672
11613
  index.h("sqm-referral-table-user-column", null),
11673
11614
  index.h("sqm-referral-table-status-column", null),
@@ -11693,7 +11634,7 @@ const ReferralTableEn = createHookStory(() => {
11693
11634
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
11694
11635
  id: "samenglish",
11695
11636
  });
11696
- index_module.D("klip-referral-program");
11637
+ index_module.setProgramId("klip-referral-program");
11697
11638
  return (index.h("sqm-referral-table", { "per-page": "4" },
11698
11639
  index.h("sqm-referral-table-user-column", { "column-title": "User" }),
11699
11640
  index.h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
@@ -11705,7 +11646,7 @@ const ReferralTableTr = createHookStory(() => {
11705
11646
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
11706
11647
  id: "samturkey",
11707
11648
  });
11708
- index_module.D("klip-referral-program");
11649
+ index_module.setProgramId("klip-referral-program");
11709
11650
  return (index.h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
11710
11651
  index.h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
11711
11652
  index.h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
@@ -11717,7 +11658,7 @@ const ReferralTableFr = createHookStory(() => {
11717
11658
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
11718
11659
  id: "samfrench",
11719
11660
  });
11720
- index_module.D("klip-referral-program");
11661
+ index_module.setProgramId("klip-referral-program");
11721
11662
  return (index.h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
11722
11663
  index.h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
11723
11664
  index.h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
@@ -12957,6 +12898,19 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
12957
12898
  CustomTooltipDuration: CustomTooltipDuration
12958
12899
  });
12959
12900
 
12901
+ const HamburgerMenu_stories = {
12902
+ title: "Components/Hamburger Menu",
12903
+ };
12904
+ const Default$e = () => {
12905
+ return index.h("div", null, "Default");
12906
+ };
12907
+
12908
+ const HamburgerMenu = /*#__PURE__*/Object.freeze({
12909
+ __proto__: null,
12910
+ 'default': HamburgerMenu_stories,
12911
+ Default: Default$e
12912
+ });
12913
+
12960
12914
  /**
12961
12915
  *
12962
12916
  * Themes
@@ -12969,7 +12923,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
12969
12923
  *
12970
12924
  */
12971
12925
  //
12972
- const Default$e = `
12926
+ const Default$f = `
12973
12927
  // No CSS
12974
12928
  `;
12975
12929
  const Orangey = `
@@ -13003,7 +12957,7 @@ const Klip = `
13003
12957
 
13004
12958
  const Themes = /*#__PURE__*/Object.freeze({
13005
12959
  __proto__: null,
13006
- Default: Default$e,
12960
+ Default: Default$f,
13007
12961
  Orangey: Orangey,
13008
12962
  Netflix: Netflix,
13009
12963
  SaaSquatchCorporate: SaaSquatchCorporate,
@@ -15666,6 +15620,7 @@ const stories = [
15666
15620
  Scroll,
15667
15621
  Tabs,
15668
15622
  ShareCode$1,
15623
+ HamburgerMenu,
15669
15624
  ];
15670
15625
  const StencilStorybook = class {
15671
15626
  constructor(hostRef) {