@saasquatch/mint-components 1.6.2-4 → 1.6.2-40

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 (582) hide show
  1. package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
  2. package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
  3. package/dist/cjs/{ShadowViewAddon-d2c9b323.js → ShadowViewAddon-d7a909ff.js} +52 -47
  4. package/dist/cjs/{global-58e5d657.js → global-9ec22360.js} +6 -16
  5. package/dist/cjs/{index.module-7eab8006.js → index.module-d3a28293.js} +6884 -6841
  6. package/dist/cjs/loader.cjs.js +5 -6
  7. package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
  8. package/dist/cjs/mint-components.cjs.js +5 -6
  9. package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
  10. package/dist/cjs/{re-render-111a3ebb.js → re-render-3d59f3a4.js} +5 -5
  11. package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
  12. package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
  13. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +244 -217
  14. package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
  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-header-logo.cjs.entry.js +30 -0
  18. package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
  19. package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  21. package/dist/cjs/{sqm-navigation-sidebar-item-view-6020bdf9.js → sqm-navigation-sidebar-item-view-dc711c36.js} +3 -3
  22. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
  23. package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +17 -20
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  27. package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
  28. package/dist/cjs/{sqm-portal-email-verification-view-eebe6329.js → sqm-portal-email-verification-view-82fda25b.js} +3 -3
  29. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
  30. package/dist/cjs/{sqm-portal-footer-view-531c12fe.js → sqm-portal-footer-view-666f0d29.js} +3 -3
  31. package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
  32. package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
  33. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
  35. package/dist/cjs/{sqm-portal-profile-view-d0818828.js → sqm-portal-profile-view-0c8b7810.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 +165 -86
  39. package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
  40. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
  41. package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
  42. package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
  43. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -55
  44. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
  45. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
  46. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
  47. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
  48. package/dist/cjs/sqm-stencilbook.cjs.entry.js +174 -142
  49. package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
  50. package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
  51. package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
  52. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
  53. package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
  54. package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
  55. package/dist/cjs/useChildElements-edf43c93.js +32 -0
  56. package/dist/cjs/{useReferralTable-a04fa0e5.js → useReferralTable-f898754d.js} +10 -10
  57. package/dist/cjs/useRegistrationFormState-6fd1a229.js +14 -0
  58. package/dist/collection/collection-manifest.json +2 -4
  59. package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
  60. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
  61. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
  62. package/dist/collection/components/sqm-brand/sqm-brand.js +12 -3
  63. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  64. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
  65. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
  66. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
  67. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
  68. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -2
  69. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
  70. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  71. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +11 -4
  72. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
  73. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
  74. package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
  75. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
  76. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
  77. package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
  78. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  79. package/dist/collection/components/sqm-image/sqm-image.js +1 -1
  80. package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
  81. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
  82. package/dist/collection/components/sqm-input-field/sqm-input-field.js +10 -4
  83. package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
  84. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
  85. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +6 -6
  86. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
  87. package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -3
  88. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
  89. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
  90. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -6
  91. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -3
  92. package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -13
  93. package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -4
  94. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
  95. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +29 -23
  96. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
  97. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
  98. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
  99. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
  100. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
  101. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
  102. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +43 -7
  103. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
  104. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
  105. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -6
  106. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
  107. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -54
  108. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
  109. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
  110. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +26 -36
  111. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
  112. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
  113. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
  114. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
  115. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +49 -45
  116. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
  117. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  118. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +12 -13
  119. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +209 -50
  120. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +88 -41
  121. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +39 -33
  122. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
  123. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
  124. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -40
  125. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
  126. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  127. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
  128. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
  129. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
  130. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
  131. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
  132. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  133. package/dist/collection/components/sqm-route/sqm-route.js +3 -2
  134. package/dist/collection/components/sqm-router/sqm-router.js +2 -1
  135. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
  136. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  137. package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
  138. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  139. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
  140. package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
  141. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
  142. package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
  143. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
  144. package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
  145. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
  146. package/dist/collection/components/sqm-text/sqm-text.js +0 -7
  147. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  148. package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
  149. package/dist/collection/global/styles.js +3 -13
  150. package/dist/collection/global/styles.ts +3 -13
  151. package/dist/collection/tables/GenericTableView.js +2 -2
  152. package/dist/collection/tables/useChildElements.js +13 -4
  153. package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
  154. package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
  155. package/dist/esm/{ShadowViewAddon-34b985aa.js → ShadowViewAddon-a8d9d7f4.js} +52 -47
  156. package/dist/esm/{global-79d68d1f.js → global-3e7a1427.js} +6 -16
  157. package/dist/esm/{index.module-8e654eb1.js → index.module-877f3231.js} +6865 -6822
  158. package/dist/esm/loader.js +5 -6
  159. package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  160. package/dist/esm/mint-components.js +5 -6
  161. package/dist/esm/raisins-plop-target.entry.js +6 -9
  162. package/dist/esm/{re-render-cd65b629.js → re-render-6f3dcb69.js} +5 -5
  163. package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  164. package/dist/esm/sqm-asset-card.entry.js +7 -8
  165. package/dist/esm/sqm-big-stat_35.entry.js +244 -217
  166. package/dist/esm/sqm-empty_5.entry.js +4 -5
  167. package/dist/esm/sqm-form-message.entry.js +1 -1
  168. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
  169. package/dist/esm/sqm-header-logo.entry.js +26 -0
  170. package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +3 -3
  171. package/dist/esm/sqm-hero.entry.js +6 -5
  172. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
  173. package/dist/esm/{sqm-navigation-sidebar-item-view-52b5e3b9.js → sqm-navigation-sidebar-item-view-36ee71d9.js} +3 -3
  174. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
  175. package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  176. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
  177. package/dist/esm/sqm-password-field.entry.js +17 -20
  178. package/dist/esm/sqm-popup-container.entry.js +6 -7
  179. package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  180. package/dist/esm/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +3 -3
  181. package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
  182. package/dist/esm/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +3 -3
  183. package/dist/esm/sqm-portal-footer.entry.js +17 -9
  184. package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
  185. package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
  186. package/dist/esm/sqm-portal-logout.entry.js +10 -8
  187. package/dist/esm/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-9d0832f5.js} +4 -4
  188. package/dist/esm/sqm-portal-profile.entry.js +26 -37
  189. package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
  190. package/dist/esm/sqm-portal-registration-form.entry.js +165 -86
  191. package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
  192. package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
  193. package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  194. package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
  195. package/dist/esm/sqm-portal-verify-email.entry.js +37 -55
  196. package/dist/esm/sqm-referral-table_11.entry.js +15 -16
  197. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  198. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  199. package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
  200. package/dist/esm/sqm-stencilbook.entry.js +174 -142
  201. package/dist/esm/sqm-tab.entry.js +7 -0
  202. package/dist/esm/sqm-tabs.entry.js +8 -7
  203. package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  204. package/dist/esm/sqm-text-span.entry.js +3 -4
  205. package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  206. package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
  207. package/dist/esm/useChildElements-ec1deff1.js +30 -0
  208. package/dist/esm/{useReferralTable-6c14c78f.js → useReferralTable-e06d8d37.js} +10 -10
  209. package/dist/esm/useRegistrationFormState-1490be1c.js +11 -0
  210. package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
  211. package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
  212. package/dist/esm-es5/ShadowViewAddon-a8d9d7f4.js +1 -0
  213. package/dist/esm-es5/{global-79d68d1f.js → global-3e7a1427.js} +2 -2
  214. package/dist/esm-es5/index.module-877f3231.js +1 -0
  215. package/dist/esm-es5/loader.js +1 -1
  216. package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  217. package/dist/esm-es5/mint-components.js +1 -1
  218. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  219. package/dist/esm-es5/{re-render-cd65b629.js → re-render-6f3dcb69.js} +1 -1
  220. package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  221. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  222. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  223. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  224. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  225. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  226. package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
  227. package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +1 -1
  228. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  229. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  230. package/dist/esm-es5/sqm-navigation-sidebar-item-view-36ee71d9.js +1 -0
  231. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  232. package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  233. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  234. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  235. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  236. package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  237. package/dist/esm-es5/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +1 -1
  238. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  239. package/dist/esm-es5/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +1 -1
  240. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  241. package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
  242. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  243. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  244. package/dist/esm-es5/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-9d0832f5.js} +1 -1
  245. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  246. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  247. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  248. package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
  249. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  250. package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  251. package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
  252. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  253. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  254. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  255. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  256. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  257. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  258. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  259. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  260. package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  261. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  262. package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  263. package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
  264. package/dist/esm-es5/useChildElements-ec1deff1.js +1 -0
  265. package/dist/esm-es5/useReferralTable-e06d8d37.js +1 -0
  266. package/dist/esm-es5/useRegistrationFormState-1490be1c.js +1 -0
  267. package/dist/mint-components/global/styles.ts +3 -13
  268. package/dist/mint-components/mint-components.esm.js +1 -1
  269. package/dist/mint-components/mint-components.js +1 -1
  270. package/dist/mint-components/p-00732eb1.entry.js +1 -0
  271. package/dist/mint-components/{p-5aedc3a5.system.js → p-018ab72e.system.js} +2 -2
  272. package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
  273. package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
  274. package/dist/mint-components/p-0a27f867.system.entry.js +1 -0
  275. package/dist/mint-components/p-0de3798e.system.entry.js +1 -0
  276. package/dist/mint-components/{p-c32cc965.entry.js → p-0e530ca5.entry.js} +12 -12
  277. package/dist/mint-components/p-0e6dd3c3.entry.js +1 -0
  278. package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
  279. package/dist/mint-components/p-0ea25bc2.system.entry.js +1 -0
  280. package/dist/mint-components/p-0eafd192.js +1 -0
  281. package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
  282. package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
  283. package/dist/mint-components/p-1777aab5.system.entry.js +1 -0
  284. package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
  285. package/dist/mint-components/p-19f572c9.entry.js +1 -0
  286. package/dist/mint-components/p-1a673057.system.js +8 -0
  287. package/dist/mint-components/p-1d4e2d70.entry.js +1 -0
  288. package/dist/mint-components/p-1e666517.system.js +1 -0
  289. package/dist/mint-components/p-239a3202.js +1 -0
  290. package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
  291. package/dist/mint-components/p-26e0a9a1.js +1 -0
  292. package/dist/mint-components/p-27cd896e.entry.js +1 -0
  293. package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
  294. package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
  295. package/dist/mint-components/p-2a2dcc94.system.entry.js +1 -0
  296. package/dist/mint-components/p-31852747.system.entry.js +1 -0
  297. package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
  298. package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
  299. package/dist/mint-components/{p-20f0c0cc.system.js → p-3eb37132.system.js} +1 -1
  300. package/dist/mint-components/p-3f15986b.entry.js +1 -0
  301. package/dist/mint-components/p-43df1499.system.entry.js +1 -0
  302. package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
  303. package/dist/mint-components/p-4b83d7ea.js +1 -0
  304. package/dist/mint-components/p-528ce342.system.entry.js +1 -0
  305. package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
  306. package/dist/mint-components/p-568fee15.entry.js +1 -0
  307. package/dist/mint-components/p-5711de63.system.js +1 -0
  308. package/dist/mint-components/p-58c173ff.entry.js +1 -0
  309. package/dist/mint-components/p-5c89fdcf.entry.js +1 -0
  310. package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
  311. package/dist/mint-components/p-5dcd31b1.system.js +1 -0
  312. package/dist/mint-components/p-5fd41dab.js +1 -0
  313. package/dist/mint-components/{p-a94d07d9.system.js → p-5fdd7c33.system.js} +1 -1
  314. package/dist/mint-components/p-634c11a9.system.entry.js +1 -0
  315. package/dist/mint-components/p-63a82133.system.entry.js +1 -0
  316. package/dist/mint-components/p-67e1388f.system.entry.js +1 -0
  317. package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
  318. package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
  319. package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
  320. package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
  321. package/dist/mint-components/p-6f7f2785.system.entry.js +1 -0
  322. package/dist/mint-components/p-756dc511.entry.js +1 -0
  323. package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
  324. package/dist/mint-components/p-7f245284.entry.js +9 -0
  325. package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
  326. package/dist/mint-components/p-8762216a.system.js +1 -0
  327. package/dist/mint-components/p-88636d99.system.entry.js +1 -0
  328. package/dist/mint-components/p-88a076c3.system.entry.js +1 -0
  329. package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  330. package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
  331. package/dist/mint-components/p-8cb184bb.system.entry.js +1 -0
  332. package/dist/mint-components/p-919b93f1.js +1 -0
  333. package/dist/mint-components/p-92110eef.entry.js +1 -0
  334. package/dist/mint-components/p-93d76d7e.entry.js +1 -0
  335. package/dist/mint-components/{p-da02c4e6.system.js → p-94d0d79c.system.js} +1 -1
  336. package/dist/mint-components/p-978f49d4.entry.js +13 -0
  337. package/dist/mint-components/p-99397ef5.system.js +1 -0
  338. package/dist/mint-components/{p-ad04fd37.js → p-a05d3b2a.js} +1 -1
  339. package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
  340. package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
  341. package/dist/mint-components/{p-201076d0.system.js → p-a52da2f8.system.js} +1 -1
  342. package/dist/mint-components/{p-dc2120a9.entry.js → p-a5c3ea10.entry.js} +2 -2
  343. package/dist/mint-components/p-a7021805.entry.js +1 -0
  344. package/dist/mint-components/p-aff79391.system.entry.js +1 -0
  345. package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
  346. package/dist/mint-components/p-b2e6f2e3.system.js +1 -0
  347. package/dist/mint-components/p-b690dfc3.entry.js +1 -0
  348. package/dist/mint-components/p-bad3afd4.entry.js +99 -0
  349. package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
  350. package/dist/mint-components/p-c2046070.system.entry.js +1 -0
  351. package/dist/mint-components/p-c2c92ece.entry.js +1 -0
  352. package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
  353. package/dist/mint-components/{p-7ba78151.js → p-c785501a.js} +1 -1
  354. package/dist/mint-components/p-c869970e.system.entry.js +1 -0
  355. package/dist/mint-components/{p-5f2d84e2.js → p-c8dc66a7.js} +2 -2
  356. package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
  357. package/dist/mint-components/p-cef45012.js +1 -0
  358. package/dist/mint-components/p-d1341773.entry.js +1 -0
  359. package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
  360. package/dist/mint-components/{p-d8f4703a.js → p-d9a21b16.js} +2 -2
  361. package/dist/mint-components/p-dbfb865e.js +1 -0
  362. package/dist/mint-components/p-de745531.system.entry.js +1 -0
  363. package/dist/mint-components/p-e35a0890.js +1 -0
  364. package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
  365. package/dist/mint-components/p-e6b1a530.system.js +1 -0
  366. package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
  367. package/dist/mint-components/p-e84ac911.system.entry.js +1 -0
  368. package/dist/mint-components/p-eaa9a926.entry.js +1 -0
  369. package/dist/mint-components/p-ed7a788f.system.entry.js +1 -0
  370. package/dist/mint-components/p-edba9e57.system.js +1 -0
  371. package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
  372. package/dist/mint-components/p-ef84ea76.system.entry.js +1 -0
  373. package/dist/mint-components/p-f6ffeb8e.entry.js +1 -0
  374. package/dist/mint-components/p-f77faf82.entry.js +1 -0
  375. package/dist/mint-components/p-f8e32f0d.entry.js +33 -0
  376. package/dist/mint-components/p-f912105b.system.entry.js +1 -0
  377. package/dist/mint-components/p-fb9c8388.entry.js +1 -0
  378. package/dist/mint-components/p-fbefca83.js +268 -0
  379. package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
  380. package/dist/mint-components/p-ff68c6ab.entry.js +1 -0
  381. package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
  382. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  383. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
  384. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +7 -2
  385. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
  386. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -1
  387. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
  388. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +7 -1
  389. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
  390. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
  391. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
  392. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
  393. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
  394. package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
  395. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  396. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
  397. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
  398. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +6 -2
  399. package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
  400. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +0 -2
  401. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  402. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -1
  403. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
  404. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
  405. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +0 -1
  406. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +7 -5
  407. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
  408. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -7
  409. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
  410. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
  411. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
  412. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +12 -3
  413. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
  414. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
  415. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
  416. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
  417. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -26
  418. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
  419. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +6 -16
  420. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
  421. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +8 -4
  422. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
  423. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +19 -19
  424. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
  425. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +6 -3
  426. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +56 -20
  427. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
  428. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -6
  429. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +13 -13
  430. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
  431. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  432. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
  433. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
  434. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
  435. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
  436. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
  437. package/dist/types/components/sqm-route/sqm-route.d.ts +3 -1
  438. package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
  439. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
  440. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  441. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  442. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  443. package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
  444. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
  445. package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
  446. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
  447. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
  448. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
  449. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  450. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +4 -4
  451. package/dist/types/components.d.ts +431 -787
  452. package/dist/types/global/styles.d.ts +1 -1
  453. package/docs/docs.docx +0 -0
  454. package/docs/raisins.json +1 -1
  455. package/grapesjs/grapesjs.js +1 -1
  456. package/package.json +5 -4
  457. package/dist/cjs/extends-08099afd.js +0 -21
  458. package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
  459. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
  460. package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
  461. package/dist/cjs/useChildElements-3a4087c1.js +0 -23
  462. package/dist/cjs/useRegistrationFormState-aa366992.js +0 -23
  463. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  464. package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
  465. package/dist/collection/assets/saasquatch-logo.png +0 -0
  466. package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
  467. package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
  468. package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
  469. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
  470. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
  471. package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
  472. package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
  473. package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
  474. package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
  475. package/dist/esm/extends-c31f1eff.js +0 -19
  476. package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
  477. package/dist/esm/sqm-qa-tabs.entry.js +0 -96
  478. package/dist/esm/sqm-qa.entry.js +0 -108
  479. package/dist/esm/useChildElements-5a1262d5.js +0 -21
  480. package/dist/esm/useRegistrationFormState-1378c47e.js +0 -18
  481. package/dist/esm-es5/ShadowViewAddon-34b985aa.js +0 -1
  482. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  483. package/dist/esm-es5/index.module-8e654eb1.js +0 -1
  484. package/dist/esm-es5/sqm-navigation-sidebar-item-view-52b5e3b9.js +0 -1
  485. package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
  486. package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
  487. package/dist/esm-es5/sqm-qa.entry.js +0 -1
  488. package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
  489. package/dist/esm-es5/useChildElements-5a1262d5.js +0 -1
  490. package/dist/esm-es5/useReferralTable-6c14c78f.js +0 -1
  491. package/dist/esm-es5/useRegistrationFormState-1378c47e.js +0 -1
  492. package/dist/mint-components/p-0049fc60.entry.js +0 -1
  493. package/dist/mint-components/p-03d611e6.system.entry.js +0 -1
  494. package/dist/mint-components/p-0c6077a8.system.entry.js +0 -1
  495. package/dist/mint-components/p-1260d387.entry.js +0 -1
  496. package/dist/mint-components/p-12b08957.js +0 -1
  497. package/dist/mint-components/p-1670c8d5.system.entry.js +0 -1
  498. package/dist/mint-components/p-16beb451.system.entry.js +0 -1
  499. package/dist/mint-components/p-1c17892a.system.js +0 -1
  500. package/dist/mint-components/p-250e8ca9.system.entry.js +0 -1
  501. package/dist/mint-components/p-27557cc8.entry.js +0 -1
  502. package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
  503. package/dist/mint-components/p-28002477.system.js +0 -1
  504. package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
  505. package/dist/mint-components/p-2db3e574.entry.js +0 -1
  506. package/dist/mint-components/p-36ff7a62.entry.js +0 -1
  507. package/dist/mint-components/p-4392ba94.js +0 -1
  508. package/dist/mint-components/p-458416a0.system.js +0 -1
  509. package/dist/mint-components/p-4587520e.entry.js +0 -1
  510. package/dist/mint-components/p-45d161fe.entry.js +0 -1
  511. package/dist/mint-components/p-46ed891a.entry.js +0 -1
  512. package/dist/mint-components/p-47aa639f.system.entry.js +0 -1
  513. package/dist/mint-components/p-494c99f7.js +0 -1
  514. package/dist/mint-components/p-4b34c8b6.system.js +0 -1
  515. package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
  516. package/dist/mint-components/p-4c93df52.entry.js +0 -1
  517. package/dist/mint-components/p-4cdef37c.system.entry.js +0 -1
  518. package/dist/mint-components/p-4e89da81.js +0 -1
  519. package/dist/mint-components/p-4f4c7f69.system.entry.js +0 -1
  520. package/dist/mint-components/p-505d8965.system.entry.js +0 -1
  521. package/dist/mint-components/p-55411493.js +0 -268
  522. package/dist/mint-components/p-586eec52.js +0 -1
  523. package/dist/mint-components/p-5928afc0.js +0 -1
  524. package/dist/mint-components/p-6d0a42f8.system.entry.js +0 -1
  525. package/dist/mint-components/p-72435015.entry.js +0 -99
  526. package/dist/mint-components/p-72dd2010.system.entry.js +0 -1
  527. package/dist/mint-components/p-7ca29279.system.entry.js +0 -1
  528. package/dist/mint-components/p-81f34787.js +0 -1
  529. package/dist/mint-components/p-89841802.system.entry.js +0 -1
  530. package/dist/mint-components/p-89d8133d.entry.js +0 -1
  531. package/dist/mint-components/p-986000f9.system.entry.js +0 -1
  532. package/dist/mint-components/p-9c58002f.entry.js +0 -1
  533. package/dist/mint-components/p-a3f87461.entry.js +0 -1
  534. package/dist/mint-components/p-a6291305.system.entry.js +0 -1
  535. package/dist/mint-components/p-af290d9f.entry.js +0 -1
  536. package/dist/mint-components/p-b2ad0a75.system.entry.js +0 -1
  537. package/dist/mint-components/p-b670cff3.system.js +0 -1
  538. package/dist/mint-components/p-b7b610d9.entry.js +0 -1
  539. package/dist/mint-components/p-bc796bc0.system.js +0 -1
  540. package/dist/mint-components/p-bdf8f103.js +0 -1
  541. package/dist/mint-components/p-c0221050.entry.js +0 -13
  542. package/dist/mint-components/p-c14b8c38.entry.js +0 -1
  543. package/dist/mint-components/p-c2b5997d.entry.js +0 -1
  544. package/dist/mint-components/p-c7514dbd.system.entry.js +0 -1
  545. package/dist/mint-components/p-c78782b3.system.js +0 -1
  546. package/dist/mint-components/p-c7eaa296.system.entry.js +0 -1
  547. package/dist/mint-components/p-c88cb982.entry.js +0 -1
  548. package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
  549. package/dist/mint-components/p-ca2819e8.system.js +0 -1
  550. package/dist/mint-components/p-cbe1f72a.system.entry.js +0 -1
  551. package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
  552. package/dist/mint-components/p-cd4ae408.system.entry.js +0 -1
  553. package/dist/mint-components/p-cdabe7a8.js +0 -1
  554. package/dist/mint-components/p-cfce9e5c.entry.js +0 -1
  555. package/dist/mint-components/p-d0f1cc06.entry.js +0 -9
  556. package/dist/mint-components/p-d1aef95c.entry.js +0 -1
  557. package/dist/mint-components/p-d3c61681.system.js +0 -1
  558. package/dist/mint-components/p-d5be4f5e.entry.js +0 -33
  559. package/dist/mint-components/p-d5d32d0d.system.js +0 -8
  560. package/dist/mint-components/p-d8876d3f.js +0 -1
  561. package/dist/mint-components/p-d8c1aa2f.entry.js +0 -1
  562. package/dist/mint-components/p-dd2506bd.system.entry.js +0 -1
  563. package/dist/mint-components/p-dec7a657.entry.js +0 -1
  564. package/dist/mint-components/p-df9c90db.system.entry.js +0 -1
  565. package/dist/mint-components/p-e0140005.system.entry.js +0 -1
  566. package/dist/mint-components/p-e5591fd2.entry.js +0 -1
  567. package/dist/mint-components/p-e647c594.entry.js +0 -1
  568. package/dist/mint-components/p-f79a103c.system.entry.js +0 -1
  569. package/dist/mint-components/p-fb8715c9.system.entry.js +0 -1
  570. package/dist/mint-components/p-fcb6bc22.entry.js +0 -1
  571. package/dist/mint-components/p-fd2e16a3.system.entry.js +0 -1
  572. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
  573. package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
  574. package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
  575. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
  576. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
  577. package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
  578. package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
  579. package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
  580. package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
  581. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
  582. package/docs/grapesjs.js +0 -54
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++){t=arguments[i];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,i,r){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function o(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(o,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,a&&(n=o[0]&2?a["return"]:o[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;if(a=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(o[0]===6&&i.label<n[1]){i.label=n[1];n=o;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(o);break}if(n[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];a=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-ca2819e8.system.js","./p-bc796bc0.system.js","./p-1c17892a.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-d5d32d0d.system.js","./p-b0668789.system.js","./p-9d362d44.system.js","./p-28002477.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l,d,u,v,c,f,m,p,b,g,h,y,w,_,P,k;return{setters:[function(e){t=e.h;i=e.r},function(e){r=e.j;a=e.e;n=e.m},function(e){o=e.u},function(e){s=e.d;l=e.W;d=e.w;u=e.I;v=e.L},function(){},function(e){c=e.j},function(e){f=e.c},function(e){m=e.A;p=e.a;b=e.H;g=e.b;h=e.E},function(e){y=e.c},function(e){w=e.T},function(e){_=e.A},function(e){P=e.u;k=e.a}],execute:function(){var E={Wrapper:__assign(__assign({},m),{"max-width":"600px"}),Column:p,HostBlock:b,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:g,ErrorStyle:h};var S="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var L=y(E);var j=L.toString();function x(e){var i,r,a,n,o,s,l,d,u,v,c,f,m,p,b,g,h,y,_;var P=e.states,k=e.refs,E=e.callbacks,x=e.content;if(P.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return t("div",{class:L.classes.Wrapper},t("style",{type:"text/css"},S,j),t(w,{type:"h3"},x.pageLabel),t("sl-form",{class:L.classes.Column,"onSl-submit":E.submit,ref:function(e){return k.formRef.current=e},novalidate:true},((i=P.registrationFormState)===null||i===void 0?void 0:i.disabled)?t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},P.registrationFormState.disabledMessage)):P.error&&t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},e.states.error)),x.formData,!P.hideInputs&&t("sl-input",Object.assign({exportparts:"label: input-label",type:"email",name:"/email",label:x.emailLabel||"Email",disabled:P.loading||((r=P.registrationFormState)===null||r===void 0?void 0:r.disabled),required:true,validationError:function(e){var t=e.value;if(!t){return"Cannot be empty"}if(!t.includes("@")){return"Must be a valid email address"}}},((n=(a=P.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||n===void 0?void 0:n.email)?{value:(s=(o=P.registrationFormState)===null||o===void 0?void 0:o.initialData)===null||s===void 0?void 0:s.email}:{},((d=(l=P.validationState)===null||l===void 0?void 0:l.validationErrors)===null||d===void 0?void 0:d.email)?{class:L.classes.ErrorStyle,helpText:((v=(u=P.validationState)===null||u===void 0?void 0:u.validationErrors)===null||v===void 0?void 0:v.email)||"Cannot be empty"}:[])),!P.hideInputs&&t("sqm-password-field",{fieldLabel:x.passwordLabel,"enable-validation":P.enablePasswordValidation}),x.passwordField,!P.hideInputs&&P.confirmPassword&&t("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/confirmPassword",label:x.confirmPasswordLabel,disabled:P.loading,required:true},((f=(c=P.registrationFormState)===null||c===void 0?void 0:c.initialData)===null||f===void 0?void 0:f.confirmPassword)?{value:(p=(m=P.registrationFormState)===null||m===void 0?void 0:m.initialData)===null||p===void 0?void 0:p.confirmPassword}:{},((g=(b=P.validationState)===null||b===void 0?void 0:b.validationErrors)===null||g===void 0?void 0:g.confirmPassword)?{class:L.classes.ErrorStyle,helpText:((y=(h=P.validationState)===null||h===void 0?void 0:h.validationErrors)===null||y===void 0?void 0:y.confirmPassword)||"Cannot be empty"}:[])),x.terms,t("div",{class:L.classes.ButtonsContainer},t("sl-button",{submit:true,loading:P.loading,disabled:(_=P.registrationFormState)===null||_===void 0?void 0:_.disabled,exportparts:"base: primarybutton-base",type:"primary"},x.submitLabel||"Register"),x.secondaryButton)))}var D=s.gql(__makeTemplateObject(["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"],["\n query RegistrationFormQuery($key: String!) {\n form(key: $key) {\n key\n type\n initialData {\n initialData\n isEnabled\n isEnabledErrorMessage\n }\n }\n }\n"]));function F(e){var t=this;var i,n,s,v,f,m,p,b,g,h,y,w,E,S,L,j;var x=r(null);var F=P({}),q=F.registrationFormState,C=F.setRegistrationFormState;var O=k({}),T=O.validationState,I=O.setValidationState;var R=l(),M=R[0],B=R[1],$=B.loading,H=B.errors,K=B.data,N=B.formError;var V=d(D,{key:e.formKey});var W=$||V.loading;a((function(){var e,t,i;var r=(e=V===null||V===void 0?void 0:V.data)===null||e===void 0?void 0:e.form.initialData.initialData;var a=!((t=V===null||V===void 0?void 0:V.data)===null||t===void 0?void 0:t.form.initialData.isEnabled);var n=((i=V===null||V===void 0?void 0:V.data)===null||i===void 0?void 0:i.form.initialData.isEnabledErrorMessage)||"The registration form is currently disabled.";var o={loading:W,disabled:a,disabledMessage:n,initialData:r};C(o)}),[(i=V===null||V===void 0?void 0:V.data)===null||i===void 0?void 0:i.form.initialData,W]);var A=function(i){return __awaiter(t,void 0,void 0,(function(){var t,r,a,n,o,s,l,d;return __generator(this,(function(u){switch(u.label){case 0:t=i.target.getFormControls();r={};a={};t===null||t===void 0?void 0:t.forEach((function(e){console.log({control:e},e.name);if(!e.name)return;var t=e.name;var i=e.value;c.set(r,t,i);if(e.required&&!i){c.set(a,t,"Cannot be empty")}if(typeof e.validationError==="function"){var n=e.validationError;var o=n({control:e,key:t,value:i});if(o)c.set(a,t,o)}}));if((e.confirmPassword||r.confirmPassword)&&r.password!==r.confirmPassword){a=__assign(__assign({},a),{confirmPassword:"Passwords do not match."})}I({error:"",validationErrors:a});if(Object.keys(a).length){return[2]}n=r.email,o=r.password;delete r.email;delete r.password;delete r.confirmPassword;r=__assign({},r);s=e.redirectPath;l={key:e.formKey,email:n,password:o,formData:r,redirectPath:s};u.label=1;case 1:u.trys.push([1,3,,4]);return[4,M(l)];case 2:u.sent();return[3,4];case 3:d=u.sent();I({error:"Network request failed."});return[3,4];case 4:return[2]}}))}))};var Q=o((function(e){var t,i;var r=(i=(t=e.target)===null||t===void 0?void 0:t.type)===null||i===void 0?void 0:i.toLowerCase();if(r!=="tel")return;var a=new _("US");e.target.value=a.input(e.target.value)}),[]);a((function(){var t;var i=(t=K===null||K===void 0?void 0:K.submitForm)===null||t===void 0?void 0:t.results.find((function(e){return e.formHandler.namespace==="identity"}));if(i&&i.result.results.length&&i.result.results[0].success&&i.result.results[0].data.token){u.push(e.nextPage)}}),[K===null||K===void 0?void 0:K.submitForm]);a((function(){if(!x.current)return;var e=x.current;e.addEventListener("sl-input",Q);return function(){e.removeEventListener("sl-input",Q)}}),[x.current]);var G="";if(((n=V===null||V===void 0?void 0:V.data)===null||n===void 0?void 0:n.form.initialData.isEnabled)===false){G=((s=V===null||V===void 0?void 0:V.data)===null||s===void 0?void 0:s.form.initialData.isEnabledErrorMessage)||"The registration form is disabled"}else if((v=H===null||H===void 0?void 0:H.response)===null||v===void 0?void 0:v["error"]){G="Network request failed"}else if((H===null||H===void 0?void 0:H.message)&&!((f=H===null||H===void 0?void 0:H.response)===null||f===void 0?void 0:f.errors.length)){G="Network request failed"}else{G=N||((g=(b=(p=(m=V===null||V===void 0?void 0:V.errors)===null||m===void 0?void 0:m.response)===null||p===void 0?void 0:p.errors)===null||b===void 0?void 0:b[0])===null||g===void 0?void 0:g.message)||((E=(w=(y=(h=H===null||H===void 0?void 0:H.response)===null||h===void 0?void 0:h.errors)===null||y===void 0?void 0:y[0])===null||w===void 0?void 0:w.extensions)===null||E===void 0?void 0:E.message)||((j=(L=(S=H===null||H===void 0?void 0:H.response)===null||S===void 0?void 0:S.errors)===null||L===void 0?void 0:L[0])===null||j===void 0?void 0:j.message)||(T===null||T===void 0?void 0:T.error)}return{states:{loading:$||V.loading,error:G,validationState:T,registrationFormState:q,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs,loginPath:e.loginPath},callbacks:{submit:A,inputFunction:Q},refs:{formRef:x}}}var q=e("sqm_portal_registration_form",function(){function e(e){i(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.enablePasswordValidation=true;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.formKey="microsite-registration-form";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?C(this):F(this),i=e.states,r=e.callbacks,a=e.refs;var n={formData:t("slot",{name:"formData"}),secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:i.loading,onClick:function(){return u.push(i.loginPath)}},this.loginLabel)),terms:t("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel};return t(x,{states:i,callbacks:r,content:n,refs:a})};return e}());function C(e){var t=this;return f({states:{error:"",loading:false,confirmPassword:true,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-1c17892a.system.js","./p-d5d32d0d.system.js","./p-b0668789.system.js"],(function(t){"use strict";var n,e,s,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(){},function(t){o=t.T}],execute:function(){var i=t("sqm_text_span",function(){function t(t){n(this,t);this.ignored=true;s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.componentWillLoad=function(){};t.prototype.render=function(){return e(o,{type:this.type},this.text)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{h as t,r as s}from"./p-64c3217a.js";import{o as i,i as n,m as e}from"./p-78c7b4b7.js";import"./p-cdabe7a8.js";import{L as r}from"./p-4e89da81.js";import"./p-81f34787.js";import{c as l}from"./p-c1086930.js";import{E as a}from"./p-02be1a88.js";import{c as o}from"./p-d8876d3f.js";import{F as u,R as c}from"./p-586eec52.js";var d="(\\d.*)",h="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,d,t)},letters:function(t){return m.call(this,h,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=t=>{const s=x.validate(t,{list:!0});return M(s,t)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={min:"be a minimum of 8 characters",uppercase:"contain at least 1 uppercase character",lowercase:"contain at least 1 lowercase character",has:"contain at least 1 number or symbol"},E={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},V=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...E,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...E}}),k=V.toString(),M=(s,i)=>!s.length&&i?t("div",{class:V.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},k),t(L,null)," ",t("span",null,"Password has met all requirements")):t("div",{class:V.classes.Base},t("style",{type:"text/css"},k),"Password must meet the following requirements:",t("ul",{class:V.classes.ValidationList},Object.keys(I).map((i=>s.includes(i)?t("li",{class:V.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,I[i])):t("li",{class:V.classes.ValidationItemValid},t(L,null)," ",t("span",null,I[i])))))),S=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:a}),Z=S.toString();function z(s){var i,n,e,r,l,a,o,u;const{states:c,callbacks:d}=s;return t("div",{class:S.classes.InputContainer},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",Z),t("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/password",label:c.content.fieldLabel||"Password",required:!0,disabled:(null===(i=c.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=c.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=c.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=c.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(o=c.validationErrors)||void 0===o?void 0:o.password)?{class:S.classes.ErrorStyle,helpText:(null===(u=c.validationErrors)||void 0===u?void 0:u.password)||"Cannot be empty"}:[],{onInput:t=>c.enableValidation&&d.onInput(t)})),c.dynamicValidation)}const B=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.enableValidation=!0,e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,d]=n(""),[h,p]=n("");if(t.demoData&&h!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"");d(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!0,dynamicValidation:c,validationErrors:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.validationErrors)||{},registrationFormState:{},content:{fieldLabel:"Password"}},callbacks:{onInput:function(t){const s=C(t.target.value);d(s)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(this):function(t){const s=i(u),e=i(c),[r,l]=n("");return{states:{enableValidation:t.enableValidation,dynamicValidation:r,registrationFormState:e,validationErrors:null==s?void 0:s.validationErrors,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(t){const s=C(t.target.value);l(s)}}}}(this);return t(z,{states:s,callbacks:e})}};export{B as sqm_password_field}
@@ -1 +0,0 @@
1
- import{r as s}from"./p-64c3217a.js";import{m as t}from"./p-78c7b4b7.js";import"./p-cdabe7a8.js";import{t as o,I as a,L as r}from"./p-4e89da81.js";import"./p-81f34787.js";const i=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{i as sqm_portal_logout}
@@ -1 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,n=1,e=arguments.length;n<e;n++){s=arguments[n];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a))t[a]=s[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-ca2819e8.system.js","./p-bc796bc0.system.js","./p-1c17892a.system.js","./p-6333265f.system.js"],(function(t){"use strict";var s,n,e,a,o,c;return{setters:[function(t){s=t.h;n=t.c;e=t.r},function(t){a=t.m},function(){},function(t){o=t.J},function(){},function(t){c=t.g}],execute:function(){var r=function(t){var e=t.states,a=t.callbacks;var o=e.styles;return s(n,{class:"squatch-container"},s("div",{style:{padding:t.states.styles.padding}},o.closeButton&&s("span",{class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:function(){return a.closePopup()}},o.closeButtonText),s("slot",null),o.poweredBy?s("a",{class:"sqh-attribution",href:"https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget",target:"_blank"},"Powered By"):""))};function i(t){var s=o();function n(){var t;if(o()==="POPUP"){(t=window.frameElement["squatchJsApi"])===null||t===void 0?void 0:t.close()}}var e=t.popupPadding?t.popupPadding==="none"?"0":"var(--sl-spacing-"+t.popupPadding+")":"var(--sl-spacing-medium)";var a=t.embedPadding?t.embedPadding==="none"?"0":"var(--sl-spacing-"+t.embedPadding+")":"0";var c=o()==="POPUP"?e:a;return{states:{showCloseButton:t.closeButton&&s==="POPUP",styles:__assign(__assign({},t),{padding:c,closeButtonText:t.closeButtonText?t.closeButtonText:"X"})},data:{},callbacks:{closePopup:n}}}var u=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";var p=t("sqm_popup_container",function(){function t(t){e(this,t);a(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=c(this);return s(r,Object.assign({},i(t)))};return t}());p.style=u}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-ca2819e8.system.js","./p-bc796bc0.system.js","./p-1c17892a.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-d5d32d0d.system.js","./p-6333265f.system.js","./p-458416a0.system.js"],(function(t){"use strict";var n,s,e,a,c,i,o,r;return{setters:[function(t){n=t.r;s=t.h},function(t){e=t.m},function(){},function(t){a=t.F;c=t.L},function(){},function(t){i=t.c},function(){},function(){},function(t){o=t.g},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);e(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=c()?p(o(this)):u(o(this));return s(r,Object.assign({},t))};return t}());function p(t){return i({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as a}from"./p-64c3217a.js";import{i,e as d,m as e}from"./p-78c7b4b7.js";import"./p-cdabe7a8.js";import{a as l,c as s,I as t,L as r}from"./p-4e89da81.js";import"./p-81f34787.js";import{c as n}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-d8876d3f.js";import{s as v}from"./p-9ec99ced.js";import"./p-210cd41b.js";import{P as c}from"./p-6b5fbbdb.js";const u=class{constructor(a){o(this,a),this.ignored=!0,this.nextPage="/",this.failedPage="/",e(this)}disconnectedCallback(){}render(){const{states:o,data:e,callbacks:u}=r()?n({states:{error:"",loading:!1,verified:!0},data:{oobCode:"code"},callbacks:{failed:()=>{console.log("failed")},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(o,a)=>a}):function({nextPage:o,failedPage:a}){var e,r,n,c,u,p,m,b,f;const[g,h]=i(!1),[j,P]=i(!0),k=l(),[x,{loading:w,data:C,errors:y}]=s(),[N,_]=i(""),q=new URLSearchParams(window.location.search),T=q.get("oobCode"),I=q.get("nextPage"),L=()=>{q.delete("nextPage");const a=v(I||o);t.push(a.href)};return d((()=>{var o;(null===(o=null==C?void 0:C.verifyManagedIdentityEmail)||void 0===o?void 0:o.success)&&h(!0)}),[null===(e=null==C?void 0:C.verifyManagedIdentityEmail)||void 0===e?void 0:e.success]),d((()=>{(async()=>{T&&(_(""),await x({oobCode:T}))})()}),[]),d((()=>{var o,a;(null===(o=null==k?void 0:k.managedIdentity)||void 0===o?void 0:o.emailVerified)?(P(!1),setTimeout((()=>{L()}),3e3)):T&&!1!==(null===(a=null==C?void 0:C.verifyManagedIdentityEmail)||void 0===a?void 0:a.success)?k||(P(!1),setTimeout((()=>{L()}),3e3)):P(!1)}),[null===(r=null==k?void 0:k.managedIdentity)||void 0===r?void 0:r.emailVerified]),d((()=>{(null==y?void 0:y.message)&&_("Network request failed.")}),[y]),{states:{loading:w||j,error:(null===(p=null===(u=null===(c=null===(n=null==y?void 0:y.response)||void 0===n?void 0:n.errors)||void 0===c?void 0:c[0])||void 0===u?void 0:u.extensions)||void 0===p?void 0:p.message)||(null===(f=null===(b=null===(m=null==y?void 0:y.response)||void 0===m?void 0:m.errors)||void 0===b?void 0:b[0])||void 0===f?void 0:f.message)||N,verified:g},data:{oobCode:T},callbacks:{failed:()=>t.push({pathname:a,search:q.toString()&&"?"+q.toString()}),gotoNextPage:L}}}(this);return a(c,{states:o,data:e,callbacks:u})}};export{u as sqm_portal_verify_email}
@@ -1 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{o(n.next(e))}catch(e){i(e)}}function l(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?r(e.value):a(e.value).then(s,l)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),a=0,t=0;t<r;t++)for(var i=arguments[t],s=0,l=i.length;s<l;s++,a++)n[a]=i[s];return n};System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-5aedc3a5.system.js","./p-ca2819e8.system.js","./p-bc796bc0.system.js","./p-1c17892a.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-d5d32d0d.system.js","./p-e2bf9132.system.js","./p-b670cff3.system.js","./p-4b34c8b6.system.js","./p-9bac73dc.system.js","./p-201076d0.system.js","./p-6333265f.system.js","./p-b0668789.system.js"],(function(e){"use strict";var t,r,n,a,i,s,l,o,u,d,c,f,p,v,h,m,g,y,_,b,T;return{setters:[function(e){t=e.r;r=e.h;n=e.g;a=e.c},function(e){i=e.m;s=e.u;l=e.k;o=e.e},function(e){u=e.i},function(){},function(e){d=e.L},function(){},function(e){c=e.c},function(){},function(e){f=e.c},function(e){p=e.G},function(e){v=e.a;h=e.u},function(e){m=e.u},function(e){g=e.l},function(e){y=e.u;_=e.t},function(e){b=e.l},function(e){T=e.T}],execute:function(){var x=function(e){if(e===void 0){e=4}var t=__spreadArrays(Array(e)).map((function(){return C()}));return{totalCount:6,count:e,referredByReferral:{dateConverted:null,dateReferralStarted:1643912659850,referrerUser:{firstName:"John",lastName:"Snow",rewards:[]}},data:t}};var w=[["AVAILABLE"],["PENDING"],["CANCELLED"],["EXPIRED"],["REDEEMED"]];var E=["Rajesh","Pierre","Ji-Ho","Chinua","Charleston","Sally","Gael","Jill","Jane","Khadija"];var D=["Smith","Parker","Kent","Chew","Stark","Banner","Jones","Odinson","Pym","Rogers"];var C=function(){return{id:"5cae6b0fcc540e209db45b53",referredUser:{id:"5cae6b0ce4b0d81c67b78e82",accountId:"SPX1MZBIPTFL3E1H",firstName:E[Math.floor(Math.random()*E.length)],lastName:D[Math.floor(Math.random()*D.length)],email:"example.uexwltgh@mailosaur.io",programGoals:[]},shareLinkUsed:null,referralCodeUsed:"JIMBONEUTRON2",moderationStatus:"PENDING",dateConverted:Math.floor(Math.random()*10)>=5?g.DateTime.now().minus({days:6}).toMillis():null,dateFraudChecksCompleted:null,dateModerated:1558730033306,dateModified:1554934543447,dateReferralEnded:null,dateReferralPaid:null,dateReferralStarted:g.DateTime.now().minus({days:8}).toMillis(),dateUserModified:null,programId:"sam-partner-test-2",program:{id:"sam-partner-test-2",name:"Partner Program 2.0"},rewards:Math.floor(Math.random()*10)>=5?[{id:"5cae6b16cc540e209db45cfa",type:"CREDIT",value:1,unit:"POINT",name:"Partner Reward",dateGiven:1554934550726,dateExpires:null,dateCancelled:null,dateRedeemed:1637004373582,dateScheduledFor:null,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:"1 Point",statuses:w[Math.floor(Math.random()*w.length)],globalRewardKey:null,programRewardKey:"partnerReward",rewardRedemptionTransactions:{data:[{exchangedRewards:{data:[{prettyValue:"CAD10.00 Visa* Prepaid Card CAD",type:"INTEGRATION",fuelTankCode:null,globalRewardKey:"gc1"}]}}]}}]:[],childNodes:{data:[{data:{id:"5cae6b16cc540e209db45cb3",statuses:w[Math.floor(Math.random()*w.length)],type:"PCT_DISCOUNT",value:50},depth:1},{data:{id:"5cae6b16cc540e209db45cfa",statuses:w[Math.floor(Math.random()*w.length)],type:"CREDIT",value:1},depth:1}]}}};var L=e("sqm_referral_table",function(){function e(e){t(this,e);this.perPage=4;this.showLabels=true;this.prevLabel="Prev";this.moreLabel="Next";this.showReferrer=false;this.hiddenColumns="0";this.smBreakpoint=599;this.mdBreakpoint=799;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=r(R,null);var t=r(N,null);var n=d()?A(this,e,t):y(this,e,t),a=n.states,i=n.data,s=n.callbacks,l=n.elements;v([this.showReferrer,this.perPage]);return r(p,{states:a,data:i,callbacks:s,elements:l})};return e}());function R(){return r("slot",{name:"empty"},r("sqm-empty",{"empty-state-image":"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png","empty-state-header":"View your referral details","empty-state-text":"Refer a friend to view the status of your referrals and rewards earned"}))}function N(){return r("slot",{name:"loading"},r(P,null),r(P,null),r(P,null),r(P,null))}function P(){return r("sqm-table-row",null,r("sqm-table-cell",{colspan:5},r("sl-skeleton",null)))}function A(e,t,r){var n=s((function(e,t){return __assign(__assign({},e),t)}),{columns:[],rows:[],loading:false,page:0}),a=n[0],i=n[1];var u=h();var d=l((function(){return x(e.perPage)}),[e.perPage]);var f=m();function p(t){return __awaiter(this,void 0,void 0,(function(){var r,n,a,s,l,o,u,c,f,p,v,h,m,g;var y=this;return __generator(this,(function(b){switch(b.label){case 0:a=d===null||d===void 0?void 0:d.referredByReferral;s=e.showReferrer&&!!((r=d===null||d===void 0?void 0:d.referredByReferral)===null||r===void 0?void 0:r.dateReferralStarted);if(s){n=d.data.slice(0,e.perPage-1)}else{n=d.data.slice(0,e.perPage)}l=t.filter((function(e){var t,r;return e.slot!=="loading"&&e.slot!=="empty"&&((t=e===null||e===void 0?void 0:e.firstElementChild)===null||t===void 0?void 0:t.getAttribute("slot"))!=="loading"&&((r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot"))!=="empty"}));o=l===null||l===void 0?void 0:l.map((function(e,t){return __awaiter(y,void 0,void 0,(function(){var r,n,a;return __generator(this,(function(i){n=(r=e===null||e===void 0?void 0:e.firstElementChild)===null||r===void 0?void 0:r.getAttribute("slot");if(e.tagName==="RAISINS-PLOP-TARGET"&&n!=="loading"&&n!=="empty"){e.setAttribute("slot","column-"+t);e.style.position="absolute";a=e.firstElementChild.childNodes[1];a.innerHTML="+";a.style.lineHeight="20px";return[2,_(e,(function(){return e.renderLabel(t)}))]}return[2,_(e,(function(){return e.renderLabel()}))]}))}))}));if(!s)return[3,2];c=l===null||l===void 0?void 0:l.map((function(e){return __awaiter(y,void 0,void 0,(function(){return __generator(this,(function(t){return[2,_(e,(function t(){return e.renderCell(a,e)}))]}))}))}));return[4,Promise.all(c)];case 1:u=b.sent();b.label=2;case 2:f=n===null||n===void 0?void 0:n.map((function(e){return __awaiter(y,void 0,void 0,(function(){var t,r;var n=this;return __generator(this,(function(a){switch(a.label){case 0:t=l===null||l===void 0?void 0:l.map((function(t){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(r){return[2,_(t,(function(){return t.renderCell(e,undefined)}))]}))}))}));return[4,Promise.all(t)];case 1:r=a.sent();return[2,r]}}))}))}));v=f;if(!v)return[3,4];h=[[u]];return[4,Promise.all(f)];case 3:v=__spreadArrays.apply(void 0,h.concat([b.sent()])).filter((function(e){return e}));b.label=4;case 4:p=v;i({rows:p});g=o;if(!g)return[3,6];return[4,Promise.all(o)];case 5:g=b.sent();b.label=6;case 6:m=g;i({columns:m,loading:false,page:0});return[2]}}))}))}o((function(){i({loading:true});(d===null||d===void 0?void 0:d.data)&&p(f)}),[d===null||d===void 0?void 0:d.data,f,u]);var v=c({states:{hasPrev:false,hasNext:false,loading:false,show:"rows"},callbacks:{prevPage:function(){return console.log("Prev")},nextPage:function(){return console.log("Next")}},data:{textOverrides:{showLabels:e.showLabels,prevLabel:e.prevLabel,moreLabel:e.moreLabel},hiddenColumns:e.hiddenColumns,referralData:[],mdBreakpoint:799,smBreakpoint:599},elements:{columns:a.columns,rows:a.rows,emptyElement:t,loadingElement:r}},e.demoData||{},{arrayMerge:function(e,t){return t}});return v}var M=e("sqm_referral_table_cell",function(){function e(e){t(this,e);this.ignored=true;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){return r("div",{innerHTML:this.innerTemplate})};return e}());var S=e("sqm_referral_table_column",function(){function e(e){t(this,e);i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,r("sqm-referral-table-cell",{"inner-template":n(this).innerHTML})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,Promise.resolve(this.columnTitle)]}))}))};e.prototype.render=function(){v([this.columnTitle]);return r(a,{style:{display:"none"}},r("slot",null))};return e}());var k=e("sqm_referral_table_date_cell",function(){function e(e){t(this,e);this.ignored=true;this.locale="en";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e;var t=!this.date?"-":(e=g.DateTime.fromMillis(this.date))===null||e===void 0?void 0:e.setLocale(b(this.locale)).toLocaleString(g.DateTime.DATE_MED);return t};return e}());var B=e("sqm_referral_table_date_column",function(){function e(e){t(this,e);this.columnTitle="Date converted";this.dateShown="dateConverted";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown],locale:t})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-date-cell",{date:e[this.dateShown]})]}))}))};e.prototype.render=function(){v([this.dateShown,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}());var I=e("sqm_referral_table_rewards_cell",function(){function e(e){t(this,e);this.locale="en"}e.prototype.render=function(){var e=this;var t;u.locale=this.locale;var n={"@keyframes slideRight":{from:{opacity:0},to:{opacity:1}},DetailsContainer:{width:"100%",display:"flex","align-items":"center","justify-content":"space-between","margin-right":"var(--sl-spacing-small)","flex-wrap":"wrap"},Details:{"padding-bottom":"var(--sl-spacing-small)","max-width":"500px","&::part(header)":{padding:"var(--sl-spacing-x-small)",cursor:""+(this.hideDetails?"default":"pointer")},"&::part(content)":{padding:"var(--sl-spacing-x-small) var(--sl-spacing-medium)"},"&::part(base)":{opacity:"1"},"&::part(summary-icon)":{display:""+(this.hideDetails?"none":"flex")},"&::part(summary-icon[open])":{transform:"rotate(-90deg)",background:"red"}},BadgeContainer:{"& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},BoldText:{"font-weight":"var(--sl-font-weight-semibold)"},StatusBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{textAlign:"center",maxWidth:"170px",whiteSpace:"pre-line"}},RedeemBadge:{paddingLeft:"var(--sl-spacing-xxx-small)","&::part(base)":{background:"var(--sl-color-blue-600)"}}};var a=f(n);var i=a.toString();var s=function(e){var t=["REDEEMED","CANCELLED","EXPIRED","PENDING","AVAILABLE"];if(e.length===1)return e[0];return t.find((function(t){return e.includes(t)&&t}))};var l=function(e){switch(e){case"REDEEMED":return"primary";case"EXPIRED":return"danger";case"CANCELLED":return"danger";case"PENDING":return"warning";case"AVAILABLE":return"success"}};var o=function(t){return g.DateTime.fromMillis(t).setLocale(b(e.locale)).toRelative().replace("in","").trim()};return(t=this.rewards)===null||t===void 0?void 0:t.map((function(t){var n=s(t.statuses);var d=l(n);var c=u.formatMessage({id:"statusShortMessage",defaultMessage:e.statusText},{status:n});var f=u.formatMessage({id:"statusLongMessage",defaultMessage:e.statusLongText},{status:n});return r("sl-details",{class:a.classes.Details,disabled:e.hideDetails},r("style",{type:"text/css"},i),r("div",{slot:"summary",class:a.classes.DetailsContainer},r(T,{type:"p"},r("span",{class:a.classes.BoldText},t.prettyValue)),r("div",{class:a.classes.BadgeContainer},n==="PENDING"&&t.dateScheduledFor?r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},u.formatMessage({id:"pendingForText",defaultMessage:e.pendingForText},{status:c,date:o(t.dateScheduledFor)})):r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:d,pill:true},c),t.dateExpires&&n==="AVAILABLE"&&r("sl-badge",{class:d==="primary"?a.classes.RedeemBadge:a.classes.StatusBadge,type:"info",pill:true},e.expiringText," "+o(t.dateExpires)))),r("div",null,t.dateGiven&&r("div",null,r(T,{type:"p"},e.rewardReceivedText," ",r("span",{class:a.classes.BoldText},g.DateTime.fromMillis(t.dateGiven).setLocale(b(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="EXPIRED"&&t.dateExpires&&r("div",null,r(T,{type:"p"},f," ",r("span",{class:a.classes.BoldText},g.DateTime.fromMillis(t.dateExpires).setLocale(b(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="CANCELLED"&&t.dateCancelled&&r("div",null,r(T,{type:"p"},f," ",r("span",{class:a.classes.BoldText},g.DateTime.fromMillis(t.dateCancelled).setLocale(b(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),n==="PENDING"&&t.dateScheduledFor&&r("div",null,r(T,{type:"p"},f," ",r("span",{class:a.classes.BoldText},g.DateTime.fromMillis(t.dateScheduledFor).setLocale(b(e.locale)).toLocaleString(g.DateTime.DATE_MED))))," ",n==="AVAILABLE"&&t.dateExpires&&r("div",null,r(T,{type:"p"},f," ",r("span",{class:a.classes.BoldText},g.DateTime.fromMillis(t.dateExpires).setLocale(b(e.locale)).toLocaleString(g.DateTime.DATE_MED)))),t.fuelTankCode&&r("div",null,e.fuelTankText," ",r("span",{class:a.classes.BoldText},t.fuelTankCode))))}))};return e}());var U=e("sqm_referral_table_rewards_column",function(){function e(e){t(this,e);this.columnTitle="Rewards";this.statusText="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";this.statusLongText="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }";this.fuelTankText="Your code is";this.rewardReceivedText="Reward received on";this.expiringText="Expiring in";this.pendingForText="{status} for {date}";this.hideDetails=false;i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards,statusText:this.statusText,statusLongText:this.statusLongText,fuelTankText:this.fuelTankText,rewardReceivedText:this.rewardReceivedText,expiringText:this.expiringText,pendingForText:this.pendingForText,hideDetails:this.hideDetails,locale:t})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,r("sqm-referral-table-rewards-cell",{rewards:e.rewards})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.statusText,this.statusLongText,this.fuelTankText,this.rewardReceivedText,this.expiringText,this.pendingForText,this.hideDetails]);return r(a,{style:{display:"none"}})};return e}());var q={Badge:{"&::part(base)":{fontSize:"var(--sl-font-size-small)",padding:"4px 8px",whiteSpace:"pre-line"}}};var j=f(q);var G=j.toString();var F=e("sqm_referral_table_status_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return r("div",null,r("style",{type:"text/css"},G),r("sl-badge",{pill:true,type:this.converted?"success":"warning",class:j.classes.Badge},this.statusText))};return e}());var V=e("sqm_referral_table_status_column",function(){function e(e){t(this,e);this.columnTitle="Status";this.convertedStatusText="Converted";this.inProgressStatusText="In Progress";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=e.dateConverted?this.convertedStatusText:this.inProgressStatusText;return[2,r("sqm-referral-table-status-cell",{"status-text":t,converted:e.dateConverted?true:false})]}))}))};e.prototype.render=function(){v([this.columnTitle,this.convertedStatusText,this.inProgressStatusText]);return r(a,{style:{display:"none"}})};return e}());var O=e("sqm_referral_table_user_cell",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.name};return e}());var X=e("sqm_referral_table_user_column",function(){function e(e){t(this,e);this.columnTitle="Customer";this.anonymousUser="Anonymous User";this.deletedUser="Deleted User";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.renderCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s,l,o,u,d;return __generator(this,(function(c){if(!(e===null||e===void 0?void 0:e.referredUser)&&!(e===null||e===void 0?void 0:e.referrerUser)){d=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referredUser)===null||t===void 0?void 0:t.firstName)&&!((n=e===null||e===void 0?void 0:e.referredUser)===null||n===void 0?void 0:n.lastName)&&!((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)&&!((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)){d=this.anonymousUser}else if(e===null||e===void 0?void 0:e.referrerUser){d=((s=e===null||e===void 0?void 0:e.referrerUser)===null||s===void 0?void 0:s.firstName)+" "+((l=e===null||e===void 0?void 0:e.referrerUser)===null||l===void 0?void 0:l.lastName)}else{d=((o=e===null||e===void 0?void 0:e.referredUser)===null||o===void 0?void 0:o.firstName)+" "+((u=e===null||e===void 0?void 0:e.referredUser)===null||u===void 0?void 0:u.lastName)}return[2,r("sqm-referral-table-user-cell",{name:d})]}))}))};e.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.columnTitle]}))}))};e.prototype.renderReferrerCell=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,i,s;return __generator(this,(function(l){if(!e){s=this.deletedUser}else if(!((t=e===null||e===void 0?void 0:e.referrerUser)===null||t===void 0?void 0:t.firstName)&&!((n=e.referrerUser)===null||n===void 0?void 0:n.lastName)){s=this.anonymousUser}else{s=((a=e===null||e===void 0?void 0:e.referrerUser)===null||a===void 0?void 0:a.firstName)+" "+((i=e===null||e===void 0?void 0:e.referrerUser)===null||i===void 0?void 0:i.lastName)}return[2,r("sqm-referral-table-user-cell",{name:s})]}))}))};e.prototype.render=function(){v([this.deletedUser,this.anonymousUser,this.columnTitle]);return r(a,{style:{display:"none"}})};return e}())}}}));
@@ -1,18 +0,0 @@
1
- import { ContextProvider } from "dom-context";
2
- export declare const FORM_VALIDATION_CONTEXT = "sq:validation-state";
3
- declare global {
4
- interface Window {
5
- squatchValidationState: ContextProvider<any>;
6
- }
7
- }
8
- export declare type FormState = {
9
- error?: string;
10
- validationErrors?: ValidationErrors;
11
- };
12
- export declare type ValidationErrors = {
13
- [key: string]: string;
14
- };
15
- export declare function useValidationState(formState?: FormState): {
16
- validationState: FormState;
17
- setValidationState: (value: FormState | ((previousState?: FormState) => FormState)) => void;
18
- };
@@ -1,250 +0,0 @@
1
- /**
2
- * @uiName QA Component
3
- */
4
- export declare class ShareButton {
5
- /**
6
- * Description here
7
- * @uiName Text Input with default
8
- */
9
- textInput?: string;
10
- /**
11
- * Description here
12
- * @uiName Number Input with default
13
- */
14
- numberInput?: number;
15
- /**
16
- * Description here
17
- * @uiName Boolean Switch with default
18
- */
19
- booleanSwitch?: boolean;
20
- /**
21
- * Description here
22
- * @uiName Text Area Input
23
- * @uiWidget textArea with default
24
- */
25
- textAreaInput?: string;
26
- /**
27
- * Description here
28
- * @uiName String Enum Select with default
29
- * @uiEnum ["option1","option2","option3"]
30
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
31
- */
32
- stringEnumSelect?: string;
33
- /**
34
- * Description here
35
- * @uiName Number Enum Select with default
36
- * @uiEnum [1,2,3]
37
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
38
- */
39
- numberEnumSelect?: number;
40
- /**
41
- * Description here
42
- * @uiName Color with default
43
- * @uiWidget color
44
- * @format color
45
- */
46
- color?: string;
47
- /**
48
- * Description here
49
- * @uiName Image Upload with default
50
- * @uiWidget ImageUpload
51
- * @format url
52
- */
53
- imageUpload?: string;
54
- /**
55
- * Description here
56
- * @uiName Date Interval with default
57
- * @uiWidget dateRange
58
- * @uiWidgetOptions {"allowPastDates":true, "months": 1}
59
- * @format date-interval
60
- */
61
- dateInterval?: string;
62
- /**
63
- * Description here
64
- * @uiName Stat Selector with default
65
- * @uiWidget statTypeSelectWidget
66
- */
67
- statSelector?: string;
68
- /**
69
- * Description here
70
- * @uiName Program Selector with default
71
- * @uiWidget programSelector
72
- */
73
- programSelector?: string;
74
- /**
75
- * Description here
76
- * @uiName Text Input with no default
77
- */
78
- textInputNoDefault?: string;
79
- /**
80
- * Description here
81
- * @uiName Number Input with no default
82
- */
83
- numberInputNoDefault?: number;
84
- /**
85
- * Description here
86
- * @uiName Boolean Switch with no default
87
- */
88
- booleanSwitchNoDefault?: boolean;
89
- /**
90
- * Description here
91
- * @uiName Text Area Input
92
- * @uiWidget textArea with no default
93
- */
94
- textAreaInputNoDefault?: string;
95
- /**
96
- * Description here
97
- * @uiName String Enum Select with no default
98
- * @uiEnum ["option1","option2","option3"]
99
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
100
- */
101
- stringEnumSelectNoDefault?: string;
102
- /**
103
- * Description here
104
- * @uiName Number Enum Select with no default
105
- * @uiEnum [1,2,3]
106
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
107
- */
108
- numberEnumSelectNoDefault?: number;
109
- /**
110
- * Description here
111
- * @uiName Color with no default
112
- * @uiWidget color
113
- * @format color
114
- */
115
- colorNoDefault?: string;
116
- /**
117
- * Description here
118
- * @uiName Image Upload with no default
119
- * @uiWidget ImageUpload
120
- * @format url
121
- */
122
- imageUploadNoDefault?: string;
123
- /**
124
- * Description here
125
- * @uiName Date Interval with no default
126
- * @uiWidget dateRange
127
- * @uiWidgetOptions {"allowPastDates":true, "months": 1}
128
- * @format date-interval
129
- */
130
- dateIntervalNoDefault?: string;
131
- /**
132
- * Description here
133
- * @uiName Stat Selector with no default
134
- * @uiWidget statTypeSelectWidget
135
- */
136
- statSelectorNoDefault?: string;
137
- /**
138
- * Description here
139
- * @uiName Program Selector with no default
140
- * @uiWidget programSelector
141
- */
142
- programSelectorNoDefault?: string;
143
- /**
144
- * Description here
145
- * @uiName String required with no default
146
- * @required
147
- */
148
- stringRequired?: string;
149
- /**
150
- * Description here
151
- * @uiName Number required with no default
152
- * @required
153
- */
154
- numberRequired?: number;
155
- /**
156
- * Description here
157
- * @uiName Boolean Switch required with no default
158
- * @required
159
- */
160
- booleanSwitchRequiredNoDefault?: boolean;
161
- /**
162
- * Description here
163
- * @uiName Text Area Input
164
- * @uiWidget textArea required with no default
165
- * @required
166
- */
167
- textAreaInputRequiredNoDefault?: string;
168
- /**
169
- * Description here
170
- * @uiName String Enum Select required with no default
171
- * @required
172
- * @uiEnum ["option1","option2","option3"]
173
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
174
- */
175
- stringEnumSelectRequiredNoDefault?: string;
176
- /**
177
- * Description here
178
- * @uiName Number Enum Select required with no default
179
- * @required
180
- * @uiEnum [1,2,3]
181
- * @uiEnumNames ["Option 1", "Option 2", "Option 3"]
182
- */
183
- numberEnumSelectRequiredNoDefault?: number;
184
- /**
185
- * Description here
186
- * @uiName Color required with no default
187
- * @required
188
- * @uiWidget color
189
- * @format color
190
- */
191
- colorRequiredNoDefault?: string;
192
- /**
193
- * Description here
194
- * @uiName Image Upload required with no default
195
- * @required
196
- * @uiWidget ImageUpload
197
- * @format url
198
- */
199
- imageUploadRequiredNoDefault?: string;
200
- /**
201
- * Description here
202
- * @uiName Date Interval required with no default
203
- * @required
204
- * @uiWidget dateRange
205
- * @uiWidgetOptions {"allowPastDates":true, "months": 1}
206
- * @format date-interval
207
- */
208
- dateIntervalRequiredNoDefault?: string;
209
- /**
210
- * Description here
211
- * @uiName Stat Selector required with no default
212
- * @required
213
- * @uiWidget statTypeSelectWidget
214
- */
215
- statSelectorRequiredNoDefault?: string;
216
- /**
217
- * Description here
218
- * @uiName Program Selector required with no default
219
- * @required
220
- * @uiWidget programSelector
221
- */
222
- programSelectorRequiredNoDefault?: string;
223
- /**
224
- * Description here
225
- * @uiName Number Max 7
226
- * @maximum 7
227
- */
228
- max?: number;
229
- /**
230
- * Description here
231
- * @uiName Number Min 7
232
- * @minimum 7
233
- */
234
- min?: number;
235
- /**
236
- * Description here
237
- * @uiName String Max Length 10
238
- * @maxLength 10
239
- */
240
- maxLength?: string;
241
- /**
242
- * Description here
243
- * @uiName String Min Length 10
244
- * @minLength 10
245
- */
246
- minLength?: string;
247
- constructor();
248
- disconnectedCallback(): void;
249
- render(): any;
250
- }
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- scenario: string;
5
- };
6
- };
7
- export default _default;
8
- export declare const ImageAndShareButtons: () => any;
9
- export declare const TimelineAndShareButtons: () => any;
10
- export declare const StartAlignment: () => any;
11
- export declare const CenterAlignment: () => any;
12
- export declare const EndAlignment: () => any;
13
- export declare const FlippedSlots: () => any;
14
- export declare const ReferralCardGeneric: () => any;
@@ -1,9 +0,0 @@
1
- import { VNode } from "../../stencil-public-runtime";
2
- export interface ReferralCardViewProps {
3
- verticalAlignment: "start" | "center" | "end";
4
- slots: {
5
- left: VNode;
6
- right: VNode;
7
- };
8
- }
9
- export declare function ReferralCardView(props: ReferralCardViewProps): any;
@@ -1,20 +0,0 @@
1
- /**
2
- * @uiName Referral Card
3
- * @exampleGroup Referrals
4
- * @slotEditor richtext
5
- * @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"}]
6
- * @example Referral Card - <sqm-referral-card vertical-alignment="start"> <sqm-portal-container gap="large" slot="left" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text >They’ll get a $50 credit towards a new account and you’ll get: </sqm-text> <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="Your friend purchases a Business plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry> </sqm-timeline> </sqm-portal-container> <sqm-portal-container gap="large" slot="right" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text>Choose how you want to share: </sqm-text> <sqm-text> <sub>Your unique referral link:</sub> <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" > </sqm-share-link> </sqm-text> <sqm-portal-container gap="x-small" direction="column" display="grid" max-width="100%" padding="none" > <sqm-share-button medium="email" icon-slot="prefix" size="medium" type="default" > Share via email </sqm-share-button> <sqm-share-button medium="linkedin" icon-slot="prefix" size="medium" type="default" > Share on LinkedIn </sqm-share-button> <sqm-share-button medium="twitter" icon-slot="prefix" size="medium" type="default" > Share on Twitter </sqm-share-button> </sqm-portal-container> </sqm-portal-container> </sqm-referral-card>
7
- */
8
- export declare class ReferralCard {
9
- ignored: boolean;
10
- /**
11
- * @uiName Vertical Aligment
12
- * @uiType string
13
- * @uiEnum ["start", "center", "end"]
14
- * @uiEnumNames ["Top", "Center", "Bottom"]
15
- */
16
- verticalAlignment: "start" | "center" | "end";
17
- constructor();
18
- disconnectedCallback(): void;
19
- render(): any;
20
- }
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- parameters: {
4
- scenario: string;
5
- };
6
- };
7
- export default _default;
8
- export declare const SimpleTabs: () => any;
9
- export declare const ManyTabs: () => any;
10
- export declare const SingleTab: () => any;
11
- export declare const ReferralProgram: () => any;
12
- export declare const LoyaltyProgram: () => any;
13
- export declare const BottomTabs: () => any;
14
- export declare const LeftTabs: () => any;
15
- export declare const RightTabs: () => any;
@@ -1,9 +0,0 @@
1
- import { FunctionalComponent } from "../../stencil-public-runtime";
2
- import { TabElement } from "./useTabs";
3
- export declare type TabsViewProps = {
4
- placement: "left" | "right" | "bottom" | "top";
5
- content: {
6
- tabs: TabElement[];
7
- };
8
- };
9
- export declare const TabsView: FunctionalComponent<TabsViewProps>;
@@ -1,23 +0,0 @@
1
- /**
2
- * @uiName Tab Group
3
- * @slots [{"name":"", "title":"Tabs","validChildren":["sqm-tab"]}]
4
- * @canvasRenderer always-replace
5
- * @exampleGroup Layout
6
- * @example Generic Tab Group - <sqm-tabs><sqm-tab header="Tab 1">This is the first tab</sqm-tab><sqm-tab header="Tab 2">This is the second tab</sqm-tab><sqm-tab header="Tab 3">This is the third tab</sqm-tab></sqm-tabs>
7
- * @example Referral Tab Group - <sqm-tabs><sqm-tab header="Leaderboard"><sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topStartedReferrers" show-rank anonymous-user="Anonymous User"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard"></sqm-empty></sqm-leaderboard></sqm-tab><sqm-tab header="Referral history"><sqm-referral-table><sqm-referral-table-user-column column-title="User" anonymous-user="Anonymous User" deleted-user="Deleted User"></sqm-referral-table-user-column><sqm-referral-table-status-column column-title="Referral status" converted-status-text="Converted" in-progress-status-text="In Progress"></sqm-referral-table-status-column><sqm-referral-table-rewards-column column-title="Rewards" expiring-text="Expiring in" fuel-tank-text="Your code is" pending-for-text="{status} for {date}" reward-received-text="Reward received on" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"></sqm-referral-table-rewards-column><sqm-referral-table-date-column column-title="Date referred" date-shown="dateReferralStarted"></sqm-referral-table-date-column><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png" empty-state-header="View your referral details" empty-state-text="Refer a friend to view the status of your referrals and rewards earned"></sqm-empty></sqm-referral-table></sqm-tab></sqm-tabs>
8
- * @example Loyalty Tab Group - <sqm-tabs placement="top"> <sqm-tab header="Leaderboard"> <sqm-leaderboard usersheading="Users" statsheading="Points Earned" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topPointEarners" show-rank anonymous-user="Anonymous User" > <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to earn points and reach the top of the leaderboard" ></sqm-empty ></sqm-leaderboard> </sqm-tab> <sqm-tab header="Reward history"> <sqm-rewards-table ><sqm-rewards-table-reward-column available-text="{availableAmount} remaining" column-title="Reward" copy-text="Copied!" redeemed-text="{redeemedAmount} redeemed" > </sqm-rewards-table-reward-column> <sqm-rewards-table-source-column anonymous-user="Anonymous User" column-title="Source" deleted-user="Deleted User" referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-exchange-text="Reward Exchange" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}" > </sqm-rewards-table-source-column><sqm-rewards-table-status-column column-title="Status" expiry-text="Expires on " status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"></sqm-rewards-table-status-column><sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven"></sqm-rewards-table-date-column><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png" empty-state-header="View your rewards" empty-state-text="Refer friends and complete tasks to view the details of your rewards"></sqm-empty></sqm-rewards-table></sqm-tab><sqm-tab header="Redeem"><sqm-reward-exchange-list back-text="Back" button-text="Exchange Rewards" cancel-text="Cancel" choose-amount-title="Select" choose-reward-title="Rewards" confirmation-title="Confirm" continue-text="Continue" continue-to-confirmation-text="Continue to confirmation" done-text="Done" reward-title="Choose a reward" not-available-error="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }" not-enough-error="Not enough {sourceUnit} to redeem for this reward" query-error="Unable to load reward exchange list. Please try again" redeem-text="Redeem" redeem-title="Confirm and redeem" redemption-error="An error occured trying to redeem this reward. Please try again" redemption-success-text="Redeemed {sourceValue} for {destinationValue}" select-text="Select amount to receive" source-amount-message="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}" tooltiptext="Copied" reward-name-title="Reward" reward-amount-title="Reward Amount" cost-title="Cost to Redeem" reward-redeemed-text="Reward redeemed" skeleton-card-num="8" promo-code="Promo Code" tooltip-text="Copied!"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png" empty-state-header="Redeem rewards" empty-state-text="Use your points to redeem rewards once they become available"></sqm-empty></sqm-reward-exchange-list></sqm-tab></sqm-tabs>
9
- */
10
- export declare class Tabs {
11
- /**
12
- * Used to specify the placement of the tabs
13
- *
14
- * @uiName Tabs Placement
15
- * @uiType string
16
- * @uiEnum ["left", "right", "bottom", "top"]
17
- * @uiEnumNames ["Left", "Right", "Bottom", "Top"]
18
- */
19
- placement?: "left" | "right" | "bottom" | "top";
20
- constructor();
21
- disconnectedCallback(): void;
22
- render(): any;
23
- }
@@ -1,9 +0,0 @@
1
- export interface TabElement extends Element {
2
- open: boolean;
3
- header: string;
4
- }
5
- export declare function useTabs(): {
6
- content: {
7
- tabs: TabElement[];
8
- };
9
- };
@@ -1,11 +0,0 @@
1
- import { RewardTableColumn } from "./RewardTableColumn";
2
- /**
3
- * @undocumented
4
- */
5
- export declare class RewardTablePlopTarget implements RewardTableColumn {
6
- constructor();
7
- disconnectedCallback(): void;
8
- renderCell(): Promise<any>;
9
- renderLabel(idx: any): Promise<any>;
10
- render(): any;
11
- }