@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.
- package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
- package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-d2c9b323.js → ShadowViewAddon-d7a909ff.js} +52 -47
- package/dist/cjs/{global-58e5d657.js → global-9ec22360.js} +6 -16
- package/dist/cjs/{index.module-7eab8006.js → index.module-d3a28293.js} +6884 -6841
- package/dist/cjs/loader.cjs.js +5 -6
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -6
- package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
- package/dist/cjs/{re-render-111a3ebb.js → re-render-3d59f3a4.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +244 -217
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
- package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6020bdf9.js → sqm-navigation-sidebar-item-view-dc711c36.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +17 -20
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-eebe6329.js → sqm-portal-email-verification-view-82fda25b.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-531c12fe.js → sqm-portal-footer-view-666f0d29.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-profile-view-d0818828.js → sqm-portal-profile-view-0c8b7810.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +26 -37
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +14 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +165 -86
- package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
- package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -55
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +174 -142
- package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/useChildElements-edf43c93.js +32 -0
- package/dist/cjs/{useReferralTable-a04fa0e5.js → useReferralTable-f898754d.js} +10 -10
- package/dist/cjs/useRegistrationFormState-6fd1a229.js +14 -0
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
- package/dist/collection/components/sqm-brand/sqm-brand.js +12 -3
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -2
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +11 -4
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-image/sqm-image.js +1 -1
- package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +10 -4
- package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +6 -6
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
- package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -6
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -3
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -13
- package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -4
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +29 -23
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +43 -7
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -6
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -54
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +26 -36
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +49 -45
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +12 -13
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +209 -50
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +88 -41
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +39 -33
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -40
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +3 -2
- package/dist/collection/components/sqm-router/sqm-router.js +2 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
- package/dist/collection/components/sqm-text/sqm-text.js +0 -7
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
- package/dist/collection/global/styles.js +3 -13
- package/dist/collection/global/styles.ts +3 -13
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
- package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
- package/dist/esm/{ShadowViewAddon-34b985aa.js → ShadowViewAddon-a8d9d7f4.js} +52 -47
- package/dist/esm/{global-79d68d1f.js → global-3e7a1427.js} +6 -16
- package/dist/esm/{index.module-8e654eb1.js → index.module-877f3231.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/raisins-plop-target.entry.js +6 -9
- package/dist/esm/{re-render-cd65b629.js → re-render-6f3dcb69.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +7 -8
- package/dist/esm/sqm-big-stat_35.entry.js +244 -217
- package/dist/esm/sqm-empty_5.entry.js +4 -5
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +3 -3
- package/dist/esm/sqm-hero.entry.js +6 -5
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-52b5e3b9.js → sqm-navigation-sidebar-item-view-36ee71d9.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
- package/dist/esm/sqm-password-field.entry.js +17 -20
- package/dist/esm/sqm-popup-container.entry.js +6 -7
- package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +17 -9
- package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
- package/dist/esm/sqm-portal-logout.entry.js +10 -8
- package/dist/esm/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-9d0832f5.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +26 -37
- package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +165 -86
- package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
- package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +37 -55
- package/dist/esm/sqm-referral-table_11.entry.js +15 -16
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
- package/dist/esm/sqm-stencilbook.entry.js +174 -142
- package/dist/esm/sqm-tab.entry.js +7 -0
- package/dist/esm/sqm-tabs.entry.js +8 -7
- package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/useChildElements-ec1deff1.js +30 -0
- package/dist/esm/{useReferralTable-6c14c78f.js → useReferralTable-e06d8d37.js} +10 -10
- package/dist/esm/useRegistrationFormState-1490be1c.js +11 -0
- package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-a8d9d7f4.js +1 -0
- package/dist/esm-es5/{global-79d68d1f.js → global-3e7a1427.js} +2 -2
- package/dist/esm-es5/index.module-877f3231.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-cd65b629.js → re-render-6f3dcb69.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-36ee71d9.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-785773e9.js → sqm-portal-profile-view-9d0832f5.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-ec1deff1.js +1 -0
- package/dist/esm-es5/useReferralTable-e06d8d37.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-1490be1c.js +1 -0
- package/dist/mint-components/global/styles.ts +3 -13
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-00732eb1.entry.js +1 -0
- package/dist/mint-components/{p-5aedc3a5.system.js → p-018ab72e.system.js} +2 -2
- package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
- package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-0a27f867.system.entry.js +1 -0
- package/dist/mint-components/p-0de3798e.system.entry.js +1 -0
- package/dist/mint-components/{p-c32cc965.entry.js → p-0e530ca5.entry.js} +12 -12
- package/dist/mint-components/p-0e6dd3c3.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/p-0ea25bc2.system.entry.js +1 -0
- package/dist/mint-components/p-0eafd192.js +1 -0
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/p-1777aab5.system.entry.js +1 -0
- package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/p-19f572c9.entry.js +1 -0
- package/dist/mint-components/p-1a673057.system.js +8 -0
- package/dist/mint-components/p-1d4e2d70.entry.js +1 -0
- package/dist/mint-components/p-1e666517.system.js +1 -0
- package/dist/mint-components/p-239a3202.js +1 -0
- package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
- package/dist/mint-components/p-26e0a9a1.js +1 -0
- package/dist/mint-components/p-27cd896e.entry.js +1 -0
- package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
- package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
- package/dist/mint-components/p-2a2dcc94.system.entry.js +1 -0
- package/dist/mint-components/p-31852747.system.entry.js +1 -0
- package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
- package/dist/mint-components/{p-20f0c0cc.system.js → p-3eb37132.system.js} +1 -1
- package/dist/mint-components/p-3f15986b.entry.js +1 -0
- package/dist/mint-components/p-43df1499.system.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/p-528ce342.system.entry.js +1 -0
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-568fee15.entry.js +1 -0
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/p-58c173ff.entry.js +1 -0
- package/dist/mint-components/p-5c89fdcf.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5dcd31b1.system.js +1 -0
- package/dist/mint-components/p-5fd41dab.js +1 -0
- package/dist/mint-components/{p-a94d07d9.system.js → p-5fdd7c33.system.js} +1 -1
- package/dist/mint-components/p-634c11a9.system.entry.js +1 -0
- package/dist/mint-components/p-63a82133.system.entry.js +1 -0
- package/dist/mint-components/p-67e1388f.system.entry.js +1 -0
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
- package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/p-6f7f2785.system.entry.js +1 -0
- package/dist/mint-components/p-756dc511.entry.js +1 -0
- package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/p-7f245284.entry.js +9 -0
- package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
- package/dist/mint-components/p-8762216a.system.js +1 -0
- package/dist/mint-components/p-88636d99.system.entry.js +1 -0
- package/dist/mint-components/p-88a076c3.system.entry.js +1 -0
- package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8cb184bb.system.entry.js +1 -0
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/p-93d76d7e.entry.js +1 -0
- package/dist/mint-components/{p-da02c4e6.system.js → p-94d0d79c.system.js} +1 -1
- package/dist/mint-components/p-978f49d4.entry.js +13 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/{p-ad04fd37.js → p-a05d3b2a.js} +1 -1
- package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
- package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/{p-201076d0.system.js → p-a52da2f8.system.js} +1 -1
- package/dist/mint-components/{p-dc2120a9.entry.js → p-a5c3ea10.entry.js} +2 -2
- package/dist/mint-components/p-a7021805.entry.js +1 -0
- package/dist/mint-components/p-aff79391.system.entry.js +1 -0
- package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/p-b2e6f2e3.system.js +1 -0
- package/dist/mint-components/p-b690dfc3.entry.js +1 -0
- package/dist/mint-components/p-bad3afd4.entry.js +99 -0
- package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-c2046070.system.entry.js +1 -0
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
- package/dist/mint-components/{p-7ba78151.js → p-c785501a.js} +1 -1
- package/dist/mint-components/p-c869970e.system.entry.js +1 -0
- package/dist/mint-components/{p-5f2d84e2.js → p-c8dc66a7.js} +2 -2
- package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
- package/dist/mint-components/p-cef45012.js +1 -0
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/{p-d8f4703a.js → p-d9a21b16.js} +2 -2
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-de745531.system.entry.js +1 -0
- package/dist/mint-components/p-e35a0890.js +1 -0
- package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/p-e6b1a530.system.js +1 -0
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-e84ac911.system.entry.js +1 -0
- package/dist/mint-components/p-eaa9a926.entry.js +1 -0
- package/dist/mint-components/p-ed7a788f.system.entry.js +1 -0
- package/dist/mint-components/p-edba9e57.system.js +1 -0
- package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/p-ef84ea76.system.entry.js +1 -0
- package/dist/mint-components/p-f6ffeb8e.entry.js +1 -0
- package/dist/mint-components/p-f77faf82.entry.js +1 -0
- package/dist/mint-components/p-f8e32f0d.entry.js +33 -0
- package/dist/mint-components/p-f912105b.system.entry.js +1 -0
- package/dist/mint-components/p-fb9c8388.entry.js +1 -0
- package/dist/mint-components/p-fbefca83.js +268 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/mint-components/p-ff68c6ab.entry.js +1 -0
- package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +7 -2
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +7 -1
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +6 -2
- package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +0 -2
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +0 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +7 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -7
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +12 -3
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +6 -16
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +8 -4
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +19 -19
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +6 -3
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +56 -20
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -6
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +13 -13
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
- package/dist/types/components/sqm-route/sqm-route.d.ts +3 -1
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
- package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +4 -4
- package/dist/types/components.d.ts +431 -787
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +5 -4
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
- package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
- package/dist/cjs/useChildElements-3a4087c1.js +0 -23
- package/dist/cjs/useRegistrationFormState-aa366992.js +0 -23
- package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
- package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
- package/dist/collection/assets/saasquatch-logo.png +0 -0
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
- package/dist/esm/sqm-qa-tabs.entry.js +0 -96
- package/dist/esm/sqm-qa.entry.js +0 -108
- package/dist/esm/useChildElements-5a1262d5.js +0 -21
- package/dist/esm/useRegistrationFormState-1378c47e.js +0 -18
- package/dist/esm-es5/ShadowViewAddon-34b985aa.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-8e654eb1.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-52b5e3b9.js +0 -1
- package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
- package/dist/esm-es5/sqm-qa.entry.js +0 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
- package/dist/esm-es5/useChildElements-5a1262d5.js +0 -1
- package/dist/esm-es5/useReferralTable-6c14c78f.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-1378c47e.js +0 -1
- package/dist/mint-components/p-0049fc60.entry.js +0 -1
- package/dist/mint-components/p-03d611e6.system.entry.js +0 -1
- package/dist/mint-components/p-0c6077a8.system.entry.js +0 -1
- package/dist/mint-components/p-1260d387.entry.js +0 -1
- package/dist/mint-components/p-12b08957.js +0 -1
- package/dist/mint-components/p-1670c8d5.system.entry.js +0 -1
- package/dist/mint-components/p-16beb451.system.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-250e8ca9.system.entry.js +0 -1
- package/dist/mint-components/p-27557cc8.entry.js +0 -1
- package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
- package/dist/mint-components/p-28002477.system.js +0 -1
- package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
- package/dist/mint-components/p-2db3e574.entry.js +0 -1
- package/dist/mint-components/p-36ff7a62.entry.js +0 -1
- package/dist/mint-components/p-4392ba94.js +0 -1
- package/dist/mint-components/p-458416a0.system.js +0 -1
- package/dist/mint-components/p-4587520e.entry.js +0 -1
- package/dist/mint-components/p-45d161fe.entry.js +0 -1
- package/dist/mint-components/p-46ed891a.entry.js +0 -1
- package/dist/mint-components/p-47aa639f.system.entry.js +0 -1
- package/dist/mint-components/p-494c99f7.js +0 -1
- package/dist/mint-components/p-4b34c8b6.system.js +0 -1
- package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
- package/dist/mint-components/p-4c93df52.entry.js +0 -1
- package/dist/mint-components/p-4cdef37c.system.entry.js +0 -1
- package/dist/mint-components/p-4e89da81.js +0 -1
- package/dist/mint-components/p-4f4c7f69.system.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-55411493.js +0 -268
- package/dist/mint-components/p-586eec52.js +0 -1
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-6d0a42f8.system.entry.js +0 -1
- package/dist/mint-components/p-72435015.entry.js +0 -99
- package/dist/mint-components/p-72dd2010.system.entry.js +0 -1
- package/dist/mint-components/p-7ca29279.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-89841802.system.entry.js +0 -1
- package/dist/mint-components/p-89d8133d.entry.js +0 -1
- package/dist/mint-components/p-986000f9.system.entry.js +0 -1
- package/dist/mint-components/p-9c58002f.entry.js +0 -1
- package/dist/mint-components/p-a3f87461.entry.js +0 -1
- package/dist/mint-components/p-a6291305.system.entry.js +0 -1
- package/dist/mint-components/p-af290d9f.entry.js +0 -1
- package/dist/mint-components/p-b2ad0a75.system.entry.js +0 -1
- package/dist/mint-components/p-b670cff3.system.js +0 -1
- package/dist/mint-components/p-b7b610d9.entry.js +0 -1
- package/dist/mint-components/p-bc796bc0.system.js +0 -1
- package/dist/mint-components/p-bdf8f103.js +0 -1
- package/dist/mint-components/p-c0221050.entry.js +0 -13
- package/dist/mint-components/p-c14b8c38.entry.js +0 -1
- package/dist/mint-components/p-c2b5997d.entry.js +0 -1
- package/dist/mint-components/p-c7514dbd.system.entry.js +0 -1
- package/dist/mint-components/p-c78782b3.system.js +0 -1
- package/dist/mint-components/p-c7eaa296.system.entry.js +0 -1
- package/dist/mint-components/p-c88cb982.entry.js +0 -1
- package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
- package/dist/mint-components/p-ca2819e8.system.js +0 -1
- package/dist/mint-components/p-cbe1f72a.system.entry.js +0 -1
- package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
- package/dist/mint-components/p-cd4ae408.system.entry.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-cfce9e5c.entry.js +0 -1
- package/dist/mint-components/p-d0f1cc06.entry.js +0 -9
- package/dist/mint-components/p-d1aef95c.entry.js +0 -1
- package/dist/mint-components/p-d3c61681.system.js +0 -1
- package/dist/mint-components/p-d5be4f5e.entry.js +0 -33
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-d8c1aa2f.entry.js +0 -1
- package/dist/mint-components/p-dd2506bd.system.entry.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-df9c90db.system.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-e5591fd2.entry.js +0 -1
- package/dist/mint-components/p-e647c594.entry.js +0 -1
- package/dist/mint-components/p-f79a103c.system.entry.js +0 -1
- package/dist/mint-components/p-fb8715c9.system.entry.js +0 -1
- package/dist/mint-components/p-fcb6bc22.entry.js +0 -1
- package/dist/mint-components/p-fd2e16a3.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
- package/docs/grapesjs.js +0 -54
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { a as commonjsGlobal, k as useMemo, i as useState,
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
6
|
-
import './extends-c31f1eff.js';
|
|
2
|
+
import { a as commonjsGlobal, k as useMemo, i as useState, f as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
+
import './global-3e7a1427.js';
|
|
4
|
+
import './use-callback-684c8bb7.js';
|
|
5
|
+
import { f as fn, l as ln, b as setUserIdentity, d as dist, z as ze, e as setProgramId } from './index.module-877f3231.js';
|
|
7
6
|
import './cjs-bdfb4486.js';
|
|
8
7
|
import './mixins-f60a614c.js';
|
|
9
|
-
import { c as createStyleSheet } from './JSS-
|
|
10
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
11
|
-
import './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
8
|
+
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-ce26115f.js';
|
|
10
|
+
import './useChildElements-ec1deff1.js';
|
|
11
|
+
import { l as luxon } from './luxon-5a398612.js';
|
|
13
12
|
import './utils-334c1e34.js';
|
|
14
|
-
import './sqm-text-span-view-
|
|
15
|
-
import { A as AssetCardView } from './sqm-asset-card-view-
|
|
16
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
13
|
+
import './sqm-text-span-view-8b194920.js';
|
|
14
|
+
import { A as AssetCardView } from './sqm-asset-card-view-b0f8ef8e.js';
|
|
15
|
+
import { H as HeroView } from './sqm-hero-view-b8ce1900.js';
|
|
17
16
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
|
-
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-
|
|
19
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
20
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
21
|
-
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-
|
|
22
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
23
|
-
import { P as PortalContainerView } from './sqm-portal-container-view-
|
|
24
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
25
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
26
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
27
|
-
import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-
|
|
28
|
-
import { P as PortalSectionView } from './sqm-portal-section-view-
|
|
17
|
+
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-aa1313e7.js';
|
|
18
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-36ee71d9.js';
|
|
19
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-5cea9df2.js';
|
|
20
|
+
import { a as PoweredByImg$1, P as PortalFooterView } from './sqm-portal-footer-view-636ff6bb.js';
|
|
21
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-29c2e39b.js';
|
|
22
|
+
import { P as PortalContainerView } from './sqm-portal-container-view-228f2b65.js';
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-9d0832f5.js';
|
|
24
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-06f6ffac.js';
|
|
25
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-833644ac.js';
|
|
26
|
+
import { S as ShareButtonView, L as LeaderboardView, a as ShareLinkView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, b as useShareButton, c as useDemoBigStat, d as StatContainerView, e as PortalChangePasswordView, f as PortalLoginView, g as PortalRegisterView, T as TaskCardView, h as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-a8d9d7f4.js';
|
|
27
|
+
import { P as PortalSectionView } from './sqm-portal-section-view-a991e019.js';
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
30
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2354,36 +2353,36 @@ const routes = `
|
|
|
2354
2353
|
`;
|
|
2355
2354
|
const TemplateNavigation = createHookStory(() => {
|
|
2356
2355
|
return (h("div", null,
|
|
2357
|
-
h("button", { onClick: () =>
|
|
2358
|
-
h("button", { onClick: () =>
|
|
2359
|
-
h("button", { onClick: () =>
|
|
2360
|
-
h("button", { onClick: () =>
|
|
2361
|
-
h("button", { onClick: () =>
|
|
2362
|
-
h("button", { onClick: () =>
|
|
2363
|
-
h("button", { onClick: () =>
|
|
2364
|
-
h("button", { onClick: () =>
|
|
2365
|
-
h("button", { onClick: () =>
|
|
2356
|
+
h("button", { onClick: () => fn.push("/") }, "/"),
|
|
2357
|
+
h("button", { onClick: () => fn.push("/foo") }, "/foo"),
|
|
2358
|
+
h("button", { onClick: () => fn.push("/bar") }, "/bar"),
|
|
2359
|
+
h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
|
|
2360
|
+
h("button", { onClick: () => fn.push("/refer") }, "/refer"),
|
|
2361
|
+
h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
|
|
2362
|
+
h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
|
|
2363
|
+
h("button", { onClick: () => fn.back() }, "Back"),
|
|
2364
|
+
h("button", { onClick: () => fn.forward() }, "Forward"),
|
|
2366
2365
|
h("hr", null),
|
|
2367
2366
|
h("sqm-router", { innerHTML: templates })));
|
|
2368
2367
|
});
|
|
2369
2368
|
const RouteNavigation = createHookStory(() => {
|
|
2370
2369
|
return (h("div", null,
|
|
2371
|
-
h("button", { onClick: () =>
|
|
2372
|
-
h("button", { onClick: () =>
|
|
2373
|
-
h("button", { onClick: () =>
|
|
2374
|
-
h("button", { onClick: () =>
|
|
2375
|
-
h("button", { onClick: () =>
|
|
2376
|
-
h("button", { onClick: () =>
|
|
2377
|
-
h("button", { onClick: () =>
|
|
2378
|
-
h("button", { onClick: () =>
|
|
2379
|
-
h("button", { onClick: () =>
|
|
2370
|
+
h("button", { onClick: () => fn.push("/") }, "/"),
|
|
2371
|
+
h("button", { onClick: () => fn.push("/foo") }, "/foo"),
|
|
2372
|
+
h("button", { onClick: () => fn.push("/bar") }, "/bar"),
|
|
2373
|
+
h("button", { onClick: () => fn.push("/baz/bang") }, "/baz/bang"),
|
|
2374
|
+
h("button", { onClick: () => fn.push("/refer") }, "/refer"),
|
|
2375
|
+
h("button", { onClick: () => fn.push("/refer/1") }, "/refer/1"),
|
|
2376
|
+
h("button", { onClick: () => fn.push("/refer/2") }, "/refer/2"),
|
|
2377
|
+
h("button", { onClick: () => fn.back() }, "Back"),
|
|
2378
|
+
h("button", { onClick: () => fn.forward() }, "Forward"),
|
|
2380
2379
|
h("hr", null),
|
|
2381
2380
|
h("sqm-router", { innerHTML: routes })));
|
|
2382
2381
|
});
|
|
2383
2382
|
const Styling = createHookStory(() => {
|
|
2384
2383
|
return (h("div", null,
|
|
2385
|
-
h("button", { onClick: () =>
|
|
2386
|
-
h("button", { onClick: () =>
|
|
2384
|
+
h("button", { onClick: () => fn.push("/") }, "/"),
|
|
2385
|
+
h("button", { onClick: () => fn.push("/foo") }, "/foo"),
|
|
2387
2386
|
h("hr", null),
|
|
2388
2387
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2389
2388
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2397,7 +2396,7 @@ function useTemplate(templateString) {
|
|
|
2397
2396
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2398
2397
|
function setPath(e) {
|
|
2399
2398
|
//@ts-ignore
|
|
2400
|
-
|
|
2399
|
+
fn.push(e.target.value);
|
|
2401
2400
|
}
|
|
2402
2401
|
return {
|
|
2403
2402
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2561,8 +2560,8 @@ const FullStackFrame = () => {
|
|
|
2561
2560
|
"Current path:",
|
|
2562
2561
|
" ",
|
|
2563
2562
|
h("code", null,
|
|
2564
|
-
h("strong", null, (_a =
|
|
2565
|
-
h("button", { onClick:
|
|
2563
|
+
h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2564
|
+
h("button", { onClick: fn.back }, "Go Back")));
|
|
2566
2565
|
};
|
|
2567
2566
|
const FullStackFrameLoggedOut = () => {
|
|
2568
2567
|
var _a;
|
|
@@ -2586,8 +2585,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2586
2585
|
"Current path:",
|
|
2587
2586
|
" ",
|
|
2588
2587
|
h("code", null,
|
|
2589
|
-
h("strong", null, (_a =
|
|
2590
|
-
h("button", { onClick:
|
|
2588
|
+
h("strong", null, (_a = ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2589
|
+
h("button", { onClick: fn.back }, "Go Back")));
|
|
2591
2590
|
};
|
|
2592
2591
|
|
|
2593
2592
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -2681,14 +2680,14 @@ function setupGraphQL$1() {
|
|
|
2681
2680
|
programId,
|
|
2682
2681
|
};
|
|
2683
2682
|
useEffect(() => {
|
|
2684
|
-
|
|
2683
|
+
setUserIdentity({
|
|
2685
2684
|
accountId,
|
|
2686
2685
|
id,
|
|
2687
2686
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2688
2687
|
});
|
|
2689
2688
|
return () => {
|
|
2690
2689
|
window.widgetIdent = undefined;
|
|
2691
|
-
|
|
2690
|
+
setUserIdentity(undefined);
|
|
2692
2691
|
};
|
|
2693
2692
|
}, []);
|
|
2694
2693
|
}
|
|
@@ -2743,14 +2742,14 @@ function setupGraphQL$2() {
|
|
|
2743
2742
|
programId,
|
|
2744
2743
|
};
|
|
2745
2744
|
useEffect(() => {
|
|
2746
|
-
|
|
2745
|
+
setUserIdentity({
|
|
2747
2746
|
accountId,
|
|
2748
2747
|
id,
|
|
2749
2748
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2750
2749
|
});
|
|
2751
2750
|
return () => {
|
|
2752
2751
|
window.widgetIdent = undefined;
|
|
2753
|
-
|
|
2752
|
+
setUserIdentity(undefined);
|
|
2754
2753
|
};
|
|
2755
2754
|
}, []);
|
|
2756
2755
|
}
|
|
@@ -2805,14 +2804,14 @@ function setupGraphQL$3() {
|
|
|
2805
2804
|
programId,
|
|
2806
2805
|
};
|
|
2807
2806
|
useEffect(() => {
|
|
2808
|
-
|
|
2807
|
+
setUserIdentity({
|
|
2809
2808
|
accountId,
|
|
2810
2809
|
id,
|
|
2811
2810
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
|
|
2812
2811
|
});
|
|
2813
2812
|
return () => {
|
|
2814
2813
|
window.widgetIdent = undefined;
|
|
2815
|
-
|
|
2814
|
+
setUserIdentity(undefined);
|
|
2816
2815
|
};
|
|
2817
2816
|
}, []);
|
|
2818
2817
|
}
|
|
@@ -2946,14 +2945,14 @@ function setupGraphQL$4() {
|
|
|
2946
2945
|
programId,
|
|
2947
2946
|
};
|
|
2948
2947
|
useEffect(() => {
|
|
2949
|
-
|
|
2948
|
+
setUserIdentity({
|
|
2950
2949
|
accountId,
|
|
2951
2950
|
id,
|
|
2952
2951
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
|
|
2953
2952
|
});
|
|
2954
2953
|
return () => {
|
|
2955
2954
|
window.widgetIdent = undefined;
|
|
2956
|
-
|
|
2955
|
+
setUserIdentity(undefined);
|
|
2957
2956
|
};
|
|
2958
2957
|
}, []);
|
|
2959
2958
|
}
|
|
@@ -2993,14 +2992,14 @@ function setupGraphQL$5() {
|
|
|
2993
2992
|
programId,
|
|
2994
2993
|
};
|
|
2995
2994
|
useEffect(() => {
|
|
2996
|
-
|
|
2995
|
+
setUserIdentity({
|
|
2997
2996
|
accountId,
|
|
2998
2997
|
id,
|
|
2999
2998
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3000
2999
|
});
|
|
3001
3000
|
return () => {
|
|
3002
3001
|
window.widgetIdent = undefined;
|
|
3003
|
-
|
|
3002
|
+
setUserIdentity(undefined);
|
|
3004
3003
|
};
|
|
3005
3004
|
}, []);
|
|
3006
3005
|
}
|
|
@@ -3016,14 +3015,14 @@ function setupOtherGraphQL() {
|
|
|
3016
3015
|
programId,
|
|
3017
3016
|
};
|
|
3018
3017
|
useEffect(() => {
|
|
3019
|
-
|
|
3018
|
+
setUserIdentity({
|
|
3020
3019
|
accountId,
|
|
3021
3020
|
id,
|
|
3022
3021
|
jwt: JWT,
|
|
3023
3022
|
});
|
|
3024
3023
|
return () => {
|
|
3025
3024
|
window.widgetIdent = undefined;
|
|
3026
|
-
|
|
3025
|
+
setUserIdentity(undefined);
|
|
3027
3026
|
};
|
|
3028
3027
|
}, []);
|
|
3029
3028
|
return { id, accountId };
|
|
@@ -3257,14 +3256,14 @@ function setupGraphQL$6() {
|
|
|
3257
3256
|
programId,
|
|
3258
3257
|
};
|
|
3259
3258
|
useEffect(() => {
|
|
3260
|
-
|
|
3259
|
+
setUserIdentity({
|
|
3261
3260
|
accountId,
|
|
3262
3261
|
id,
|
|
3263
3262
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3264
3263
|
});
|
|
3265
3264
|
return () => {
|
|
3266
3265
|
window.widgetIdent = undefined;
|
|
3267
|
-
|
|
3266
|
+
setUserIdentity(undefined);
|
|
3268
3267
|
};
|
|
3269
3268
|
}, []);
|
|
3270
3269
|
return { id, accountId };
|
|
@@ -3273,7 +3272,7 @@ function useExchangeButton() {
|
|
|
3273
3272
|
const { id, accountId } = setupGraphQL$6();
|
|
3274
3273
|
const [points, setPoints] = useState(10);
|
|
3275
3274
|
const [rate, setRate] = useState(100);
|
|
3276
|
-
const [exchange, { data, errors }] =
|
|
3275
|
+
const [exchange, { data, errors }] = ze(EXCHANGE);
|
|
3277
3276
|
return {
|
|
3278
3277
|
states: {
|
|
3279
3278
|
points,
|
|
@@ -3388,14 +3387,14 @@ function setupGraphQL$7() {
|
|
|
3388
3387
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3389
3388
|
};
|
|
3390
3389
|
useEffect(() => {
|
|
3391
|
-
|
|
3390
|
+
setUserIdentity({
|
|
3392
3391
|
accountId,
|
|
3393
3392
|
id,
|
|
3394
3393
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3395
3394
|
});
|
|
3396
3395
|
return () => {
|
|
3397
3396
|
window.widgetIdent = undefined;
|
|
3398
|
-
|
|
3397
|
+
setUserIdentity(undefined);
|
|
3399
3398
|
};
|
|
3400
3399
|
}, []);
|
|
3401
3400
|
return { id, accountId };
|
|
@@ -3409,14 +3408,14 @@ function setupGraphQLKlip({ token, id }) {
|
|
|
3409
3408
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3410
3409
|
};
|
|
3411
3410
|
useEffect(() => {
|
|
3412
|
-
|
|
3411
|
+
setUserIdentity({
|
|
3413
3412
|
accountId,
|
|
3414
3413
|
id,
|
|
3415
3414
|
jwt: token,
|
|
3416
3415
|
});
|
|
3417
3416
|
return () => {
|
|
3418
3417
|
window.widgetIdent = undefined;
|
|
3419
|
-
|
|
3418
|
+
setUserIdentity(undefined);
|
|
3420
3419
|
};
|
|
3421
3420
|
}, []);
|
|
3422
3421
|
return { id, accountId };
|
|
@@ -3430,7 +3429,7 @@ const RewardTableDemoHook = createHookStory(() => {
|
|
|
3430
3429
|
});
|
|
3431
3430
|
const RewardsTableWithProgram = createHookStory(() => {
|
|
3432
3431
|
setupGraphQL$7();
|
|
3433
|
-
|
|
3432
|
+
setProgramId("sam-partner-test-2");
|
|
3434
3433
|
return (h("sqm-rewards-table", null,
|
|
3435
3434
|
h("sqm-rewards-table-reward-column", null),
|
|
3436
3435
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3439,7 +3438,7 @@ const RewardsTableWithProgram = createHookStory(() => {
|
|
|
3439
3438
|
});
|
|
3440
3439
|
const RewardsTableNoProgram = createHookStory(() => {
|
|
3441
3440
|
setupGraphQL$7();
|
|
3442
|
-
|
|
3441
|
+
setProgramId(undefined);
|
|
3443
3442
|
return (h("sqm-rewards-table", null,
|
|
3444
3443
|
h("sqm-rewards-table-reward-column", null),
|
|
3445
3444
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3451,7 +3450,7 @@ const RewardsTableEn = createHookStory(() => {
|
|
|
3451
3450
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
3452
3451
|
id: "samenglish",
|
|
3453
3452
|
});
|
|
3454
|
-
|
|
3453
|
+
setProgramId(undefined);
|
|
3455
3454
|
return (h("sqm-rewards-table", { "per-page": "4" },
|
|
3456
3455
|
h("sqm-rewards-table-reward-column", null),
|
|
3457
3456
|
h("sqm-rewards-table-status-column", null),
|
|
@@ -3463,7 +3462,7 @@ const RewardsTableTr = createHookStory(() => {
|
|
|
3463
3462
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
3464
3463
|
id: "samturkey",
|
|
3465
3464
|
});
|
|
3466
|
-
|
|
3465
|
+
setProgramId(undefined);
|
|
3467
3466
|
return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
|
|
3468
3467
|
h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
|
|
3469
3468
|
h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
|
|
@@ -3475,7 +3474,7 @@ const RewardsTableFr = createHookStory(() => {
|
|
|
3475
3474
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
3476
3475
|
id: "samfrench",
|
|
3477
3476
|
});
|
|
3478
|
-
|
|
3477
|
+
setProgramId(undefined);
|
|
3479
3478
|
return (h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
|
|
3480
3479
|
h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
|
|
3481
3480
|
h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
|
|
@@ -3509,14 +3508,14 @@ function setupGraphQL$8() {
|
|
|
3509
3508
|
programId,
|
|
3510
3509
|
};
|
|
3511
3510
|
useEffect(() => {
|
|
3512
|
-
|
|
3511
|
+
setUserIdentity({
|
|
3513
3512
|
accountId,
|
|
3514
3513
|
id,
|
|
3515
3514
|
jwt: JWT,
|
|
3516
3515
|
});
|
|
3517
3516
|
return () => {
|
|
3518
3517
|
window.widgetIdent = undefined;
|
|
3519
|
-
|
|
3518
|
+
setUserIdentity(undefined);
|
|
3520
3519
|
};
|
|
3521
3520
|
}, []);
|
|
3522
3521
|
return { id, accountId };
|
|
@@ -3854,11 +3853,11 @@ const NewPortal = /*#__PURE__*/Object.freeze({
|
|
|
3854
3853
|
Activity: Activity
|
|
3855
3854
|
});
|
|
3856
3855
|
|
|
3857
|
-
const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n They’ll get a $50 credit towards a new account and you’ll get
|
|
3856
|
+
const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>>Choose how you want to share</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3858
3857
|
|
|
3859
|
-
const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n They’ll get a $50 credit towards a new account and you’ll get:\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n Choose how you want to share:\n <sub>Your unique referral link:</sub>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 150 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n show-labels=\"\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n show-labels=\"\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3858
|
+
const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>They’ll get a $50 credit towards a new account and you’ll get:</p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3860
3859
|
|
|
3861
|
-
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get
|
|
3860
|
+
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3862
3861
|
|
|
3863
3862
|
const Widget_stories = {
|
|
3864
3863
|
title: "Templates / Widgets",
|
|
@@ -4054,6 +4053,7 @@ const PortalRegister_stories = {
|
|
|
4054
4053
|
};
|
|
4055
4054
|
const defaultProps$3 = {
|
|
4056
4055
|
states: {
|
|
4056
|
+
registrationFormState: {},
|
|
4057
4057
|
error: "",
|
|
4058
4058
|
loading: false,
|
|
4059
4059
|
confirmPassword: true,
|
|
@@ -4072,6 +4072,7 @@ const defaultProps$3 = {
|
|
|
4072
4072
|
const errorProps$1 = {
|
|
4073
4073
|
states: {
|
|
4074
4074
|
error: "Something went wrong. Please try again.",
|
|
4075
|
+
registrationFormState: {},
|
|
4075
4076
|
loading: false,
|
|
4076
4077
|
confirmPassword: true,
|
|
4077
4078
|
hideInputs: false,
|
|
@@ -4091,6 +4092,7 @@ const errorProps$1 = {
|
|
|
4091
4092
|
};
|
|
4092
4093
|
const loadingProps$1 = {
|
|
4093
4094
|
states: {
|
|
4095
|
+
registrationFormState: {},
|
|
4094
4096
|
error: "",
|
|
4095
4097
|
loading: true,
|
|
4096
4098
|
confirmPassword: true,
|
|
@@ -4108,6 +4110,7 @@ const loadingProps$1 = {
|
|
|
4108
4110
|
};
|
|
4109
4111
|
const slottedProps = {
|
|
4110
4112
|
states: {
|
|
4113
|
+
registrationFormState: {},
|
|
4111
4114
|
error: "",
|
|
4112
4115
|
loading: false,
|
|
4113
4116
|
confirmPassword: true,
|
|
@@ -4135,6 +4138,7 @@ const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loadingPro
|
|
|
4135
4138
|
const FieldsHidden = () => {
|
|
4136
4139
|
return (h("sqm-portal-register", { demoData: {
|
|
4137
4140
|
states: {
|
|
4141
|
+
registrationFormState: {},
|
|
4138
4142
|
error: "",
|
|
4139
4143
|
loading: true,
|
|
4140
4144
|
confirmPassword: true,
|
|
@@ -4547,7 +4551,7 @@ const AssetCard_stories = {
|
|
|
4547
4551
|
const Default$7 = () => {
|
|
4548
4552
|
const props = {
|
|
4549
4553
|
text: { titleText: "Marketing Banner" },
|
|
4550
|
-
imgUrl: "
|
|
4554
|
+
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
4551
4555
|
callbacks: {},
|
|
4552
4556
|
};
|
|
4553
4557
|
return h(AssetCardView, Object.assign({}, props));
|
|
@@ -4555,7 +4559,7 @@ const Default$7 = () => {
|
|
|
4555
4559
|
const CardWithLongText = () => {
|
|
4556
4560
|
const props = {
|
|
4557
4561
|
text: { titleText: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!" },
|
|
4558
|
-
imgUrl: "
|
|
4562
|
+
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
4559
4563
|
callbacks: {},
|
|
4560
4564
|
};
|
|
4561
4565
|
return h(AssetCardView, Object.assign({}, props));
|
|
@@ -5320,7 +5324,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
|
5320
5324
|
tenRewardsCell: tenRewardsCell
|
|
5321
5325
|
});
|
|
5322
5326
|
|
|
5323
|
-
const scenario$c = "@owner:sam\n@author:sam\nFeature: Referral Table\n\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\n with a collection of columns.\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no referrals\n Given a user with no referrals\n When they view the referral table\n Then no referrals are displayed\n And they see an image with a user icon\n And \"View your referral details\" in bold\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario: The empty state image and text are customizable\n Given the referral table has 'sqm-empty' as a child with the following props\n | prop | value |\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\n | empty-state-header | View your referral history |\n | empty-state-text | See your previous referrals and what you earned! |\n And a user with no referrals\n When they view the referral table\n Then they see no referrals\n And they see the SaaSquatch logo\n And \"View your referral history\" in bold\n And \"See your previous referrals and what you earned!\" below the bolded text\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no referrals\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the referral table\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: The loading state is shown while referrals are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\n Given the user has <number of referrals>\n And the table is configured to show <page limit> referrals per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of referrals\n And the pagination button to go to the previous page is disabled on the first page of referrals\n Examples:\n | number of referrals | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the referral table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\n Given a referral table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with referrals\n When they view the referral table\n And their window size is below the tablet breakpoint\n Then referral cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: The use who referred the current user can be shown in the table\n Given the table is configured with <showReferrer> set to true\n And the current user was referrered by <referrer>\n Then the first table row on the first page of the table is for <referrer>\n\n @motivating\n Scenario: Only referrals which occured in the program specific by program-id are shown\n Given the table is configured with \"program-id\"\n Then only referrals from the program with \"program-id\" are shown\n\n @motivating\n Scenario: Classic program shows only classic referrals\n Given the \"program-id\" of the table is set to \"classic\"\n Then only classic referrals are shown in the table\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"
|
|
5327
|
+
const scenario$c = "@owner:sam\n@author:sam\nFeature: Referral Table\n\n The Referral table component shows users a list of their referrals. The referral table it's self can be customized\n with a collection of columns.\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no referrals\n Given a user with no referrals\n When they view the referral table\n Then no referrals are displayed\n And they see an image with a user icon\n And \"View your referral details\" in bold\n And \"Track the status of your referrals and rewards earned by referring friends\" below the bolded text\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario: The empty state image and text are customizable\n Given the referral table has 'sqm-empty' as a child with the following props\n | prop | value |\n | empty-state-imgage | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\n | empty-state-header | View your referral history |\n | empty-state-text | See your previous referrals and what you earned! |\n And a user with no referrals\n When they view the referral table\n Then they see no referrals\n And they see the SaaSquatch logo\n And \"View your referral history\" in bold\n And \"See your previous referrals and what you earned!\" below the bolded text\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no referrals\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the referral table\n Then they see the custom empty state\n\n @motivating\n @ui\n Scenario: The loading state is shown while referrals are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of referrals exceeds the per page limit\n Given the user has <number of referrals>\n And the table is configured to show <page limit> referrals per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of referrals\n And the pagination button to go to the previous page is disabled on the first page of referrals\n Examples:\n | number of referrals | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the referral table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with referrals\n When they view the table\n And their window size is smaller than \"799px\"\n Then referrals are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the referrals are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile, but others can be hidden\n Given a referral table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with referrals\n When they view the referral table\n And their window size is below the tablet breakpoint\n Then referral cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: The use who referred the current user can be shown in the table\n Given the table is configured with <showReferrer> set to true\n And the current user was referrered by <referrer>\n Then the first table row on the first page of the table is for <referrer>\n\n @motivating\n Scenario: Only referrals which occured in the program specific by program-id are shown\n Given the table is configured with \"program-id\"\n Then only referrals from the program with \"program-id\" are shown\n\n @motivating\n Scenario: Classic program shows only classic referrals\n Given the \"program-id\" of the table is set to \"classic\"\n Then only classic referrals are shown in the table\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"hide-labels\" set to \"true\"\n Then the table is displayed without column headings";
|
|
5324
5328
|
|
|
5325
5329
|
const ReferralTable_stories = {
|
|
5326
5330
|
title: "Components/Referral Table",
|
|
@@ -5982,8 +5986,9 @@ const Start = () => {
|
|
|
5982
5986
|
initValue: "",
|
|
5983
5987
|
states: {
|
|
5984
5988
|
enableValidation: true,
|
|
5985
|
-
registrationFormState: {
|
|
5986
|
-
|
|
5989
|
+
registrationFormState: {
|
|
5990
|
+
validationErrors: {},
|
|
5991
|
+
},
|
|
5987
5992
|
content: {
|
|
5988
5993
|
fieldLabel: "Password",
|
|
5989
5994
|
},
|
|
@@ -5995,8 +6000,9 @@ const EmptyError = () => {
|
|
|
5995
6000
|
initValue: "",
|
|
5996
6001
|
states: {
|
|
5997
6002
|
enableValidation: true,
|
|
5998
|
-
|
|
5999
|
-
|
|
6003
|
+
registrationFormState: {
|
|
6004
|
+
validationErrors: { password: "Cannot be empty" },
|
|
6005
|
+
},
|
|
6000
6006
|
content: {
|
|
6001
6007
|
fieldLabel: "Password",
|
|
6002
6008
|
},
|
|
@@ -6008,8 +6014,9 @@ const ValidationError = () => {
|
|
|
6008
6014
|
initValue: "asdf",
|
|
6009
6015
|
states: {
|
|
6010
6016
|
enableValidation: true,
|
|
6011
|
-
registrationFormState: {
|
|
6012
|
-
|
|
6017
|
+
registrationFormState: {
|
|
6018
|
+
validationErrors: { password: "Incomplete" },
|
|
6019
|
+
},
|
|
6013
6020
|
content: {
|
|
6014
6021
|
fieldLabel: "Password",
|
|
6015
6022
|
},
|
|
@@ -9577,21 +9584,21 @@ var marked = createCommonjsModule(function (module, exports) {
|
|
|
9577
9584
|
})));
|
|
9578
9585
|
});
|
|
9579
9586
|
|
|
9580
|
-
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9587
|
+
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | Redirect participants to this page to reset their password | `string` | `\"/forgotPassword\"` |\n| `nextPage` | `next-page` | Redirect participants to this page after they successfully login. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | Redirect participants to this page to start registration. | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9581
9588
|
|
|
9582
|
-
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9589
|
+
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Define the height of the iframe with any valid CSS height value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Define the width of the iframe with any valid CSS width value. Example: 100px, 5rem, or auto. | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9583
9590
|
|
|
9584
|
-
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9591
|
+
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `loginText` | `login-text` | Sign In Link Text | `string` | `\"Sign In\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page after they verify their email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9585
9592
|
|
|
9586
|
-
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page navigated to after registration | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9593
|
+
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `hideInputs` | `hide-inputs` | Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes \"email\" and \"password\" for this form to succeed. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Redirect participants to this page after clicking the login button. | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Redirect participants to this page from their verification email | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9587
9594
|
|
|
9588
|
-
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9595
|
+
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\n| `hideCountry` | `hide-country` | | `boolean` | `false` |\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9589
9596
|
|
|
9590
|
-
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9597
|
+
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9591
9598
|
|
|
9592
|
-
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9599
|
+
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9593
9600
|
|
|
9594
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` |
|
|
9601
|
+
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9595
9602
|
|
|
9596
9603
|
const PortalTemplates_stories = {
|
|
9597
9604
|
title: "Templates / Portal",
|
|
@@ -9631,16 +9638,16 @@ function DefaultTemplateView$1(props) {
|
|
|
9631
9638
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
9632
9639
|
gridGap: "10px",
|
|
9633
9640
|
} },
|
|
9634
|
-
h("button", { onClick: () =>
|
|
9635
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
9636
|
-
h("button", { onClick: () =>
|
|
9637
|
-
h("button", { onClick: () =>
|
|
9638
|
-
h("button", { onClick: () =>
|
|
9639
|
-
h("button", { onClick: () =>
|
|
9640
|
-
h("button", { onClick: () =>
|
|
9641
|
-
h("button", { onClick: () =>
|
|
9642
|
-
h("button", { onClick: () =>
|
|
9643
|
-
h("button", { onClick: () =>
|
|
9641
|
+
h("button", { onClick: () => fn.push("/") }, "Dashboard"),
|
|
9642
|
+
props.leadSubmit && (h("button", { onClick: () => fn.push("/refer") }, "Submit a Referral")),
|
|
9643
|
+
h("button", { onClick: () => fn.push("/activity") }, "Activity"),
|
|
9644
|
+
h("button", { onClick: () => fn.push("/editProfile") }, "Edit Profile"),
|
|
9645
|
+
h("button", { onClick: () => fn.push("/login") }, "Login"),
|
|
9646
|
+
h("button", { onClick: () => fn.push("/register") }, "Register"),
|
|
9647
|
+
h("button", { onClick: () => fn.push("/emailVerification") }, "Email Verification"),
|
|
9648
|
+
h("button", { onClick: () => fn.push("/verifyEmail") }, "Verify Email"),
|
|
9649
|
+
h("button", { onClick: () => fn.push("/forgotPassword") }, "Forgot Password"),
|
|
9650
|
+
h("button", { onClick: () => fn.push("/resetPassword") }, "Reset Password")),
|
|
9644
9651
|
h("br", null),
|
|
9645
9652
|
h("div", { innerHTML: states.previewTemplate })));
|
|
9646
9653
|
}
|
|
@@ -9800,7 +9807,7 @@ const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
|
9800
9807
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
9801
9808
|
});
|
|
9802
9809
|
|
|
9803
|
-
const scenario$f = "Feature: Portal Footer\n\n Background: A user is viewing the portal\n Given a hosted portal\n And a user is viewing the portal\n And the portal has a footer\n\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\n And prop \"terms-text\" with value \"Terms and Conditions\"\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\n And prop \"faq-text\" with value \"Visit FAQ\"\n When a user clicks on the \"Visit FAQ\" link\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\n When they go back to the portal\n And click on the \"Terms and Conditions\" link\n Then they will be redirected to \"https://example.com/terms\" in a new page\n\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\n Given the footer does not have <linkProp>\n But it <mayHave> <textProp> with <value>\n Then the <link> will not be shown in the footer\n Examples:\n | linkProp | mayHave | textProp | value | link |\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\n | terms-link | doesn't have | | | T&C Link |\n | faq-link | doesn't have | | | FAQ Link |\n\n Scenario Outline: The support email and text is configurable but has a default\n Given the footer <mayHave> <emailPropWithValue>\n And the footer <mayAlsoHave> <textPropWithValue>\n Then the footer's support email text is <renderedEmailText>\n And the email address will be a mailto link with <mailtoEmail>\n When the user clicks on the email address mailto Link\n Then the users preferred email client will open with a draft email to <mailtoEmail>\n Examples:\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\n\n Scenario Outline: Powered by SaaSquatch is shown by default\n Given the footer <mayHaveProp> \"
|
|
9810
|
+
const scenario$f = "Feature: Portal Footer\n\n Background: A user is viewing the portal\n Given a hosted portal\n And a user is viewing the portal\n And the portal has a footer\n\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\n And prop \"terms-text\" with value \"Terms and Conditions\"\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\n And prop \"faq-text\" with value \"Visit FAQ\"\n When a user clicks on the \"Visit FAQ\" link\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\n When they go back to the portal\n And click on the \"Terms and Conditions\" link\n Then they will be redirected to \"https://example.com/terms\" in a new page\n\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\n Given the footer does not have <linkProp>\n But it <mayHave> <textProp> with <value>\n Then the <link> will not be shown in the footer\n Examples:\n | linkProp | mayHave | textProp | value | link |\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\n | terms-link | doesn't have | | | T&C Link |\n | faq-link | doesn't have | | | FAQ Link |\n\n Scenario Outline: The support email and text is configurable but has a default\n Given the footer <mayHave> <emailPropWithValue>\n And the footer <mayAlsoHave> <textPropWithValue>\n Then the footer's support email text is <renderedEmailText>\n And the email address will be a mailto link with <mailtoEmail>\n When the user clicks on the email address mailto Link\n Then the users preferred email client will open with a draft email to <mailtoEmail>\n Examples:\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\n\n Scenario Outline: Powered by SaaSquatch is shown by default\n Given the footer <mayHaveProp> \"hide-powered-by\" with <value>\n Then the powered by SaaSquatch image <mayBeShown>\n Examples:\n | mayHaveProp | value | mayBeShown |\n | has prop | true | isn't shown |\n | has prop | false | is shown |\n | has prop | test | isn't shown |\n | has prop | | isn't shown |\n | doesn't have prop | | is shown |\n\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\n Given the footer has the powered by SaaSquatch image\n When a user clicks on it\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
|
|
9804
9811
|
|
|
9805
9812
|
const PortalFooter_stories = {
|
|
9806
9813
|
title: "Components/Portal Footer",
|
|
@@ -9811,7 +9818,7 @@ const PortalFooter_stories = {
|
|
|
9811
9818
|
const defaultProps$9 = {
|
|
9812
9819
|
supportEmail: "support@example.com",
|
|
9813
9820
|
supportText: "For program support, contact {email}",
|
|
9814
|
-
|
|
9821
|
+
hidePoweredBy: false,
|
|
9815
9822
|
poweredByLink: "https://saasquatch.com",
|
|
9816
9823
|
paddingTop: "large",
|
|
9817
9824
|
paddingRight: "large",
|
|
@@ -9822,7 +9829,7 @@ const DefaultFooter = () => h(PortalFooterView, Object.assign({}, defaultProps$9
|
|
|
9822
9829
|
const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
9823
9830
|
const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9824
9831
|
const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9825
|
-
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ",
|
|
9832
|
+
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
9826
9833
|
|
|
9827
9834
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
9828
9835
|
__proto__: null,
|
|
@@ -10062,7 +10069,9 @@ const NameFields_stories = {
|
|
|
10062
10069
|
};
|
|
10063
10070
|
const props$1 = {
|
|
10064
10071
|
states: {
|
|
10065
|
-
|
|
10072
|
+
registrationFormState: {
|
|
10073
|
+
validationErrors: undefined,
|
|
10074
|
+
},
|
|
10066
10075
|
content: {
|
|
10067
10076
|
firstNameLabel: "First Name",
|
|
10068
10077
|
lastNameLabel: "Last Name",
|
|
@@ -10071,9 +10080,11 @@ const props$1 = {
|
|
|
10071
10080
|
};
|
|
10072
10081
|
const errorProps$8 = {
|
|
10073
10082
|
states: {
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10083
|
+
registrationFormState: {
|
|
10084
|
+
validationErrors: {
|
|
10085
|
+
firstName: "Cannot be empty",
|
|
10086
|
+
lastName: "Cannot be empty",
|
|
10087
|
+
},
|
|
10077
10088
|
},
|
|
10078
10089
|
content: {
|
|
10079
10090
|
firstNameLabel: "First Name",
|
|
@@ -10105,7 +10116,9 @@ const CheckboxField_stories = {
|
|
|
10105
10116
|
};
|
|
10106
10117
|
const defaultProps$a = {
|
|
10107
10118
|
states: {
|
|
10108
|
-
|
|
10119
|
+
registrationFormState: {
|
|
10120
|
+
validationErrors: {},
|
|
10121
|
+
},
|
|
10109
10122
|
checked: false,
|
|
10110
10123
|
},
|
|
10111
10124
|
content: {
|
|
@@ -10121,6 +10134,7 @@ const defaultProps$a = {
|
|
|
10121
10134
|
};
|
|
10122
10135
|
const defaultRegisterProps = {
|
|
10123
10136
|
states: {
|
|
10137
|
+
registrationFormState: {},
|
|
10124
10138
|
error: "",
|
|
10125
10139
|
loading: false,
|
|
10126
10140
|
confirmPassword: true,
|
|
@@ -10147,14 +10161,18 @@ const CustomLabel = createHookStory(() => (h(CheckboxFieldView, Object.assign({}
|
|
|
10147
10161
|
} }))));
|
|
10148
10162
|
const Error$3 = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
10149
10163
|
...defaultProps$a.states,
|
|
10150
|
-
|
|
10151
|
-
|
|
10164
|
+
registrationFormState: {
|
|
10165
|
+
validationErrors: {
|
|
10166
|
+
agree: "Must be checked",
|
|
10167
|
+
},
|
|
10152
10168
|
},
|
|
10153
10169
|
} }))));
|
|
10154
10170
|
const CustomError = createHookStory(() => (h(CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
10155
10171
|
...defaultProps$a.states,
|
|
10156
|
-
|
|
10157
|
-
|
|
10172
|
+
registrationFormState: {
|
|
10173
|
+
validationErrors: {
|
|
10174
|
+
agree: "Must be checked",
|
|
10175
|
+
},
|
|
10158
10176
|
},
|
|
10159
10177
|
}, content: {
|
|
10160
10178
|
...defaultProps$a.content,
|
|
@@ -10214,14 +10232,14 @@ function setupGraphQL$9() {
|
|
|
10214
10232
|
programId,
|
|
10215
10233
|
};
|
|
10216
10234
|
useEffect(() => {
|
|
10217
|
-
|
|
10235
|
+
setUserIdentity({
|
|
10218
10236
|
accountId,
|
|
10219
10237
|
id,
|
|
10220
10238
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10221
10239
|
});
|
|
10222
10240
|
return () => {
|
|
10223
10241
|
window.widgetIdent = undefined;
|
|
10224
|
-
|
|
10242
|
+
setUserIdentity(undefined);
|
|
10225
10243
|
};
|
|
10226
10244
|
}, []);
|
|
10227
10245
|
return { id, accountId };
|
|
@@ -10276,7 +10294,7 @@ const DropdownField_stories = {
|
|
|
10276
10294
|
};
|
|
10277
10295
|
const defaultProps$b = {
|
|
10278
10296
|
states: {
|
|
10279
|
-
|
|
10297
|
+
registrationFormState: {},
|
|
10280
10298
|
},
|
|
10281
10299
|
content: {
|
|
10282
10300
|
dropdownName: "options",
|
|
@@ -10296,14 +10314,21 @@ const CustomLabel$1 = createHookStory(() => (h(DropdownFieldView, Object.assign(
|
|
|
10296
10314
|
} }))));
|
|
10297
10315
|
const Error$4 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { states: {
|
|
10298
10316
|
...defaultProps$b.states,
|
|
10299
|
-
|
|
10300
|
-
|
|
10317
|
+
registrationFormState: {
|
|
10318
|
+
validationErrors: {
|
|
10319
|
+
options: "Must select an option",
|
|
10320
|
+
},
|
|
10301
10321
|
},
|
|
10302
10322
|
} }))));
|
|
10303
|
-
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10323
|
+
const CustomError$1 = createHookStory(() => (h(DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10324
|
+
...defaultProps$b.content,
|
|
10325
|
+
errorMessage: "An option must be selected to continue",
|
|
10326
|
+
}, states: {
|
|
10304
10327
|
...defaultProps$b.states,
|
|
10305
|
-
|
|
10306
|
-
|
|
10328
|
+
registrationFormState: {
|
|
10329
|
+
validationErrors: {
|
|
10330
|
+
options: "Must select an option",
|
|
10331
|
+
},
|
|
10307
10332
|
},
|
|
10308
10333
|
} }))));
|
|
10309
10334
|
|
|
@@ -10330,14 +10355,14 @@ function setupGraphQL$a() {
|
|
|
10330
10355
|
programId,
|
|
10331
10356
|
};
|
|
10332
10357
|
useEffect(() => {
|
|
10333
|
-
|
|
10358
|
+
setUserIdentity({
|
|
10334
10359
|
accountId,
|
|
10335
10360
|
id,
|
|
10336
10361
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10337
10362
|
});
|
|
10338
10363
|
return () => {
|
|
10339
10364
|
window.widgetIdent = undefined;
|
|
10340
|
-
|
|
10365
|
+
setUserIdentity(undefined);
|
|
10341
10366
|
};
|
|
10342
10367
|
}, []);
|
|
10343
10368
|
return { id, accountId };
|
|
@@ -10385,7 +10410,9 @@ const InputField_stories = {
|
|
|
10385
10410
|
};
|
|
10386
10411
|
const defaultProps$c = {
|
|
10387
10412
|
states: {
|
|
10388
|
-
|
|
10413
|
+
registrationFormState: {
|
|
10414
|
+
validationErrors: {},
|
|
10415
|
+
},
|
|
10389
10416
|
},
|
|
10390
10417
|
content: {
|
|
10391
10418
|
fieldName: "field",
|
|
@@ -10397,6 +10424,7 @@ const defaultProps$c = {
|
|
|
10397
10424
|
};
|
|
10398
10425
|
const defaultRegisterProps$1 = {
|
|
10399
10426
|
states: {
|
|
10427
|
+
registrationFormState: {},
|
|
10400
10428
|
error: "",
|
|
10401
10429
|
loading: false,
|
|
10402
10430
|
confirmPassword: true,
|
|
@@ -10416,8 +10444,10 @@ const Default$d = () => h(InputFieldView, Object.assign({}, defaultProps$c));
|
|
|
10416
10444
|
const CustomLabel$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: { ...defaultProps$c.content, fieldLabel: "My Label" } })));
|
|
10417
10445
|
const Error$5 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { states: {
|
|
10418
10446
|
...defaultProps$c.states,
|
|
10419
|
-
|
|
10420
|
-
|
|
10447
|
+
registrationFormState: {
|
|
10448
|
+
validationErrors: {
|
|
10449
|
+
field: "Cannot be empty",
|
|
10450
|
+
},
|
|
10421
10451
|
},
|
|
10422
10452
|
} })));
|
|
10423
10453
|
const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c, { content: {
|
|
@@ -10425,8 +10455,10 @@ const CustomError$2 = () => (h(InputFieldView, Object.assign({}, defaultProps$c,
|
|
|
10425
10455
|
errorMessage: "A value must be entered to continue",
|
|
10426
10456
|
}, states: {
|
|
10427
10457
|
...defaultProps$c.states,
|
|
10428
|
-
|
|
10429
|
-
|
|
10458
|
+
registrationFormState: {
|
|
10459
|
+
validationErrors: {
|
|
10460
|
+
field: "Cannot be empty",
|
|
10461
|
+
},
|
|
10430
10462
|
},
|
|
10431
10463
|
} })));
|
|
10432
10464
|
const DateType = () => {
|
|
@@ -10485,14 +10517,14 @@ function setupGraphQL$b() {
|
|
|
10485
10517
|
programId,
|
|
10486
10518
|
};
|
|
10487
10519
|
useEffect(() => {
|
|
10488
|
-
|
|
10520
|
+
setUserIdentity({
|
|
10489
10521
|
accountId,
|
|
10490
10522
|
id,
|
|
10491
10523
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10492
10524
|
});
|
|
10493
10525
|
return () => {
|
|
10494
10526
|
window.widgetIdent = undefined;
|
|
10495
|
-
|
|
10527
|
+
setUserIdentity(undefined);
|
|
10496
10528
|
};
|
|
10497
10529
|
}, []);
|
|
10498
10530
|
return { id, accountId };
|
|
@@ -11486,7 +11518,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
11486
11518
|
EmptyCell: EmptyCell$2
|
|
11487
11519
|
});
|
|
11488
11520
|
|
|
11489
|
-
const scenario$s = "@owner:sam\n@author:sam\nFeature: Rewards Table\n\n Shows a list of rewards as a table\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no rewards\n Given a user with rewards\n When they view the reward table\n Then no rewards are displayed\n And they see an image with a user icon\n And \"View your rewards\" in bold\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no rewards\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the reward table\n Then they see the custom empty state\n\n @minutae\n @ui\n Scenario: The loading state is shown while rewards are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\n Given the user has <number of rewards>\n And the table is configured to show <page limit> rewards per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of rewards\n And the pagination button to go to the previous page is disabled on the first page of rewards\n Examples:\n | number of rewards | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the reward table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile\n Given a reward table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with rewards\n When they view the reward table\n And their window size is below the tablet breakpoint\n Then reward cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\n Given the table is configured with \"program-id\"\n Then only rewards from the program with \"program-id\" are shown\n\n @landmine\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\n There is no easy way for the backend to filter for \"classic\" programs,\n thus we are filtering for rewards without programId's.\n\n Given the \"program-id\" of the table is set to \"classic\"\n Then rewards from classic programs are shown\n And manual rewards are shown\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"
|
|
11521
|
+
const scenario$s = "@owner:sam\n@author:sam\nFeature: Rewards Table\n\n Shows a list of rewards as a table\n\n @motivating\n @ui\n Scenario: The empty state is shown if there are no rewards\n Given a user with rewards\n When they view the reward table\n Then no rewards are displayed\n And they see an image with a user icon\n And \"View your rewards\" in bold\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\n And the pagination buttons are disabled\n\n @minutae\n @ui\n Scenario: A custom empty state can be provided\n Given a user with no rewards\n And a custom empty state has been supplied in the \"empty\" slot\n When they view the reward table\n Then they see the custom empty state\n\n @minutae\n @ui\n Scenario: The loading state is shown while rewards are loading\n Given the table is loading\n Then the loading state is shown in the table\n And a custom loading state can be supplied in the \"loading\" slot\n And the pagination buttons are disabled\n\n @motivating\n @ui\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\n Given the user has <number of rewards>\n And the table is configured to show <page limit> rewards per page\n Then the table will have <number of pages> page(s)\n And pagination buttons will allow users to navigate between pages\n And the pagination button to go to the next page is disabled on the last page of rewards\n And the pagination button to go to the previous page is disabled on the first page of rewards\n Examples:\n | number of rewards | page limit | number of pages |\n | 0 | 4 | 1 |\n | 1 | 4 | 1 |\n | 3 | 4 | 1 |\n | 5 | 4 | 2 |\n | 42 | 4 | 11 |\n\n @motivating\n @ui\n Scenario: The table converts to a card view on tablet and mobile window sizes\n Given a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario: Table and Mobile beakpoints can be configured\n Given the reward table has been configured with the following props\n | prop | value |\n | smBreakpoint | 599 |\n | mdBreakpoint | 799 |\n And a user with rewards\n When they view the table\n And their window size is smaller than \"799px\"\n Then rewards are displayed as cards\n And they are in two columns\n When their window size is smaller than \"599px\"\n Then the rewards are displayed as cards in a singular column\n\n @motivating\n @ui\n Scenario Outline: By default the first column heading is hidden in mobile\n Given a reward table with 4 columns\n And prop \"hidden-columns\" with <hideColumnValue>\n And a user with rewards\n When they view the reward table\n And their window size is below the tablet breakpoint\n Then reward cards are displayed\n And the titles of <columnsArehidden> within the card\n Examples:\n | hideColumnValue | columnsArehidden |\n | | the first column |\n | 0,1,2 | the first, second and third columns |\n | 3 | the fourth column |\n\n @motivating\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\n Given the table is configured with \"program-id\"\n Then only rewards from the program with \"program-id\" are shown\n\n @landmine\n Scenario: When a `classic` program Id is set then any reward without a programId is shown\n There is no easy way for the backend to filter for \"classic\" programs,\n thus we are filtering for rewards without programId's.\n\n Given the \"program-id\" of the table is set to \"classic\"\n Then rewards from classic programs are shown\n And manual rewards are shown\n\n @minutae\n @ui\n Scenario: Column heading can be hidden\n Given the table is configured with \"hide-labels\" set to \"true\"\n Then the table is displayed without column headings";
|
|
11490
11522
|
|
|
11491
11523
|
const RewardsTable_stories = {
|
|
11492
11524
|
title: "Components/Rewards Table",
|
|
@@ -11631,14 +11663,14 @@ function setupGraphQL$c() {
|
|
|
11631
11663
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11632
11664
|
};
|
|
11633
11665
|
useEffect(() => {
|
|
11634
|
-
|
|
11666
|
+
setUserIdentity({
|
|
11635
11667
|
accountId,
|
|
11636
11668
|
id,
|
|
11637
11669
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
11638
11670
|
});
|
|
11639
11671
|
return () => {
|
|
11640
11672
|
window.widgetIdent = undefined;
|
|
11641
|
-
|
|
11673
|
+
setUserIdentity(undefined);
|
|
11642
11674
|
};
|
|
11643
11675
|
}, []);
|
|
11644
11676
|
return { id, accountId };
|
|
@@ -11652,21 +11684,21 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
11652
11684
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11653
11685
|
};
|
|
11654
11686
|
useEffect(() => {
|
|
11655
|
-
|
|
11687
|
+
setUserIdentity({
|
|
11656
11688
|
accountId,
|
|
11657
11689
|
id,
|
|
11658
11690
|
jwt: token,
|
|
11659
11691
|
});
|
|
11660
11692
|
return () => {
|
|
11661
11693
|
window.widgetIdent = undefined;
|
|
11662
|
-
|
|
11694
|
+
setUserIdentity(undefined);
|
|
11663
11695
|
};
|
|
11664
11696
|
}, []);
|
|
11665
11697
|
return { id, accountId };
|
|
11666
11698
|
}
|
|
11667
11699
|
const ReferralTable$1 = createHookStory(() => {
|
|
11668
11700
|
setupGraphQL$c();
|
|
11669
|
-
|
|
11701
|
+
setProgramId("sam-partner-test-2");
|
|
11670
11702
|
return (h("sqm-referral-table", null,
|
|
11671
11703
|
h("sqm-referral-table-user-column", null),
|
|
11672
11704
|
h("sqm-referral-table-status-column", null),
|
|
@@ -11692,7 +11724,7 @@ const ReferralTableEn = createHookStory(() => {
|
|
|
11692
11724
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
11693
11725
|
id: "samenglish",
|
|
11694
11726
|
});
|
|
11695
|
-
|
|
11727
|
+
setProgramId("klip-referral-program");
|
|
11696
11728
|
return (h("sqm-referral-table", { "per-page": "4" },
|
|
11697
11729
|
h("sqm-referral-table-user-column", { "column-title": "User" }),
|
|
11698
11730
|
h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
|
|
@@ -11704,7 +11736,7 @@ const ReferralTableTr = createHookStory(() => {
|
|
|
11704
11736
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
11705
11737
|
id: "samturkey",
|
|
11706
11738
|
});
|
|
11707
|
-
|
|
11739
|
+
setProgramId("klip-referral-program");
|
|
11708
11740
|
return (h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
|
|
11709
11741
|
h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
|
|
11710
11742
|
h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
|
|
@@ -11716,7 +11748,7 @@ const ReferralTableFr = createHookStory(() => {
|
|
|
11716
11748
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
11717
11749
|
id: "samfrench",
|
|
11718
11750
|
});
|
|
11719
|
-
|
|
11751
|
+
setProgramId("klip-referral-program");
|
|
11720
11752
|
return (h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
|
|
11721
11753
|
h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
|
|
11722
11754
|
h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
|