@saasquatch/mint-components 1.6.2-0 → 1.6.2-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{esm/useValidationState-f5db8783.js → cjs/AsYouType-6788393a.js} +2 -10
- 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-7b7dd5e3.js → ShadowViewAddon-090eff1a.js} +32 -25
- package/dist/cjs/{global-6e1584a6.js → global-b645d18a.js} +5 -15
- package/dist/cjs/{index.module-d169a23f.js → index.module-93c78ac7.js} +6889 -6846
- 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-83d1c1f0.js → re-render-afeabe91.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 +124 -131
- 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-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-7ff14840.js → sqm-navigation-sidebar-item-view-2eda59bf.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 -12
- 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-6b4ef802.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -14
- package/dist/cjs/{sqm-portal-footer-view-204583ac.js → sqm-portal-footer-view-5d6451ad.js} +2 -2
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +15 -7
- 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 +25 -15
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-portal-profile-view-444c8e2c.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -25
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -11
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +95 -45
- 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 +21 -22
- 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 +36 -56
- 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 +114 -112
- 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-c0cc8f5d.js +32 -0
- package/dist/cjs/{useReferralTable-1aab8416.js → useReferralTable-db1b33db.js} +10 -10
- package/dist/cjs/useRegistrationFormState-d0e43ca9.js +23 -0
- package/dist/collection/collection-manifest.json +1 -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-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +8 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -1
- 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-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/sqm-input-field.js +4 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +9 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +5 -2
- package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -0
- 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 +4 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +3 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +7 -4
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +5 -1
- package/dist/collection/components/sqm-password-field/usePasswordField.js +5 -2
- 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 +7 -3
- 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 +9 -5
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +37 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +60 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +4 -2
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +44 -54
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +1 -1
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +6 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +13 -21
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +24 -31
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +16 -9
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +52 -32
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +52 -11
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -21
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +9 -9
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +22 -41
- 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-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 +2 -1
- 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-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 +1 -1
- package/dist/collection/global/styles.js +2 -12
- package/dist/collection/global/styles.ts +2 -12
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/{cjs/useValidationState-733d7e8c.js → esm/AsYouType-46f67d0d.js} +1 -15
- 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-82a3c62b.js → ShadowViewAddon-2e0cf632.js} +32 -25
- package/dist/esm/{global-59aa17be.js → global-c2d5e2fa.js} +5 -15
- package/dist/esm/{index.module-c6c6943f.js → index.module-25496635.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-578505e2.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-e804551e.js → re-render-8ece93cd.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 +118 -125
- 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-hero-view-b54265df.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-4181f286.js → sqm-navigation-sidebar-item-view-24d5f092.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 -12
- 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-5b888e5c.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +14 -14
- package/dist/esm/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-c4059af8.js} +2 -2
- package/dist/esm/sqm-portal-footer.entry.js +15 -7
- 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 +25 -15
- package/dist/esm/sqm-portal-logout.entry.js +9 -8
- package/dist/esm/{sqm-portal-profile-view-148efa76.js → sqm-portal-profile-view-ec58906b.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +16 -25
- package/dist/esm/sqm-portal-protected-route.entry.js +13 -11
- package/dist/esm/sqm-portal-registration-form.entry.js +93 -43
- 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 +21 -22
- 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 +36 -56
- 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 +114 -112
- 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-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/useChildElements-d86f03c6.js +30 -0
- package/dist/esm/{useReferralTable-1693d531.js → useReferralTable-7aeb954d.js} +10 -10
- package/dist/esm/useRegistrationFormState-e94eec81.js +18 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -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-2e0cf632.js +1 -0
- package/dist/esm-es5/{global-59aa17be.js → global-c2d5e2fa.js} +2 -2
- package/dist/esm-es5/index.module-25496635.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-578505e2.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-8ece93cd.js +1 -0
- 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-hero-view-b54265df.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-4181f286.js → sqm-navigation-sidebar-item-view-24d5f092.js} +1 -1
- 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-5b888e5c.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-56689d55.js → sqm-portal-footer-view-c4059af8.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-148efa76.js → sqm-portal-profile-view-ec58906b.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-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-d86f03c6.js +1 -0
- package/dist/esm-es5/useReferralTable-7aeb954d.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-e94eec81.js +1 -0
- package/dist/mint-components/global/styles.ts +2 -12
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
- package/dist/mint-components/{p-199defdf.js → p-0425104d.js} +2 -2
- package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-0746d416.system.entry.js +1 -0
- package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
- package/dist/mint-components/p-11a4a003.system.js +1 -0
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/{p-72ebbd38.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/{p-6882f2bb.js → p-16671c5a.js} +1 -1
- package/dist/mint-components/p-175ef60c.js +1 -0
- package/dist/mint-components/{p-fb7288a2.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/{p-e175ad25.js → p-19deed13.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-c1c9bd9d.system.js → p-20268b64.system.js} +1 -1
- package/dist/mint-components/p-233e784a.js +1 -0
- package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
- 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-28b0cd34.entry.js +1 -0
- package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
- package/dist/mint-components/{p-10483359.entry.js → p-29d7ffd1.entry.js} +2 -2
- package/dist/mint-components/{p-5674fe4d.js → p-33fe169e.js} +1 -1
- package/dist/mint-components/p-3582d202.system.entry.js +1 -0
- package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
- package/dist/mint-components/p-379c5754.entry.js +13 -0
- package/dist/mint-components/{p-5ad360ab.entry.js → p-3aa067f0.entry.js} +2 -2
- package/dist/mint-components/{p-c8c83a9e.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-3f15986b.entry.js +1 -0
- package/dist/mint-components/p-3f8b27a1.entry.js +1 -0
- package/dist/mint-components/p-40a8ea40.entry.js +1 -0
- package/dist/mint-components/p-41962e08.js +1 -0
- package/dist/mint-components/p-41c60fa2.system.entry.js +1 -0
- package/dist/mint-components/p-4352909d.js +1 -0
- package/dist/mint-components/p-4560faa8.entry.js +1 -0
- package/dist/mint-components/p-46bcab94.system.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/p-4a5d61fe.entry.js +99 -0
- package/dist/mint-components/p-4a8494b4.entry.js +1 -0
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/{p-648022ed.entry.js → p-4bba97ae.entry.js} +12 -12
- package/dist/mint-components/{p-79c04821.system.entry.js → p-4cc59fed.system.entry.js} +1 -1
- package/dist/mint-components/{p-55678b75.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
- package/dist/mint-components/p-51438962.system.entry.js +1 -0
- package/dist/mint-components/p-528ce342.system.entry.js +1 -0
- package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-54db9721.js +1 -0
- package/dist/mint-components/p-58c173ff.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
- package/dist/mint-components/p-61b954e7.entry.js +1 -0
- package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
- package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6a31ddea.system.entry.js +1 -0
- package/dist/mint-components/p-6a529e0e.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-76f151b2.entry.js +1 -0
- package/dist/mint-components/p-76f7b3d2.entry.js +1 -0
- package/dist/mint-components/p-7850a5e5.system.js +1 -0
- package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/p-79d2781f.system.entry.js +1 -0
- package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
- package/dist/mint-components/p-7ab63827.entry.js +1 -0
- package/dist/mint-components/{p-29ceaa99.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/{p-11a1a6a8.js → p-914511f3.js} +2 -2
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/{p-dfb6765a.system.js → p-94578d79.system.js} +1 -1
- package/dist/mint-components/p-986e52e2.system.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/p-9fa6c616.entry.js +1 -0
- 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-a951d772.system.entry.js +1 -0
- package/dist/mint-components/p-a993b2b2.system.entry.js +1 -0
- package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
- package/dist/mint-components/p-b01e28dd.system.js +1 -0
- package/dist/mint-components/{p-b0bcbf67.js → p-b025d888.js} +4 -4
- package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/p-b33e0421.system.js +1 -0
- package/dist/mint-components/p-bc4f641c.entry.js +9 -0
- package/dist/mint-components/p-bd3c2e67.system.js +1 -0
- package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-bf17dc65.system.js +1 -0
- package/dist/mint-components/p-c5db3dcc.entry.js +1 -0
- package/dist/mint-components/p-c869970e.system.entry.js +1 -0
- 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-e3acae66.system.js → p-d20361b8.system.js} +1 -1
- package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-dd5f7670.entry.js +1 -0
- package/dist/mint-components/p-de2cd263.entry.js +1 -0
- package/dist/mint-components/p-de745531.system.entry.js +1 -0
- package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
- package/dist/mint-components/p-e5380001.system.entry.js +1 -0
- package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
- package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-eaa9a926.entry.js +1 -0
- package/dist/mint-components/p-ed86f80a.system.js +1 -0
- package/dist/mint-components/{p-92c99ab9.system.js → p-ee5a4598.system.js} +1 -1
- package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/{p-946de27f.system.js → p-fdcd2b8f.system.js} +2 -2
- 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.d.ts +5 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +5 -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-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.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -0
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -0
- 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 +4 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +6 -1
- 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 +3 -2
- 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 +4 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +14 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +13 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +4 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +5 -13
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +13 -14
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +19 -14
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +2 -0
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +17 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -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-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 +2 -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 +1 -1
- package/dist/types/components.d.ts +214 -719
- 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-36106d83.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-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-31287783.js +0 -21
- package/dist/esm-es5/ShadowViewAddon-82a3c62b.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-c6c6943f.js +0 -1
- package/dist/esm-es5/re-render-e804551e.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-697e2ff0.js +0 -1
- package/dist/esm-es5/useChildElements-31287783.js +0 -1
- package/dist/esm-es5/useReferralTable-1693d531.js +0 -1
- package/dist/esm-es5/useValidationState-f5db8783.js +0 -1
- package/dist/mint-components/p-0616e87e.system.entry.js +0 -1
- package/dist/mint-components/p-0accfb5c.system.entry.js +0 -1
- package/dist/mint-components/p-0b3b7596.entry.js +0 -1
- package/dist/mint-components/p-1125c6ef.entry.js +0 -1
- package/dist/mint-components/p-144583fb.entry.js +0 -1
- package/dist/mint-components/p-1537ba4c.system.entry.js +0 -1
- package/dist/mint-components/p-154958ee.system.js +0 -1
- package/dist/mint-components/p-165bfabc.entry.js +0 -1
- package/dist/mint-components/p-1706b667.system.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1e665fe0.system.entry.js +0 -1
- package/dist/mint-components/p-22b1898f.entry.js +0 -1
- package/dist/mint-components/p-2ba9b60a.system.entry.js +0 -1
- package/dist/mint-components/p-2c64d0fb.entry.js +0 -1
- package/dist/mint-components/p-31553b15.entry.js +0 -1
- package/dist/mint-components/p-33e657bf.entry.js +0 -1
- package/dist/mint-components/p-3521c62c.entry.js +0 -1
- package/dist/mint-components/p-3913a42f.system.entry.js +0 -1
- package/dist/mint-components/p-3915b77c.entry.js +0 -1
- package/dist/mint-components/p-3b99eaf1.js +0 -1
- package/dist/mint-components/p-408f983a.system.js +0 -1
- package/dist/mint-components/p-46aabfb7.entry.js +0 -1
- package/dist/mint-components/p-4d90bec1.system.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-51c3cec9.system.entry.js +0 -1
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-5b2d40f4.system.entry.js +0 -1
- package/dist/mint-components/p-6352cbee.entry.js +0 -1
- package/dist/mint-components/p-675d6c48.system.entry.js +0 -1
- package/dist/mint-components/p-69f10938.entry.js +0 -1
- package/dist/mint-components/p-6dabc870.system.entry.js +0 -1
- package/dist/mint-components/p-6dc6ed05.entry.js +0 -1
- package/dist/mint-components/p-706e42f0.system.js +0 -1
- package/dist/mint-components/p-71a504fd.system.js +0 -1
- package/dist/mint-components/p-73046229.js +0 -1
- package/dist/mint-components/p-745255d9.entry.js +0 -1
- package/dist/mint-components/p-7c660f98.entry.js +0 -1
- package/dist/mint-components/p-7cec4e63.entry.js +0 -1
- package/dist/mint-components/p-8153deff.entry.js +0 -99
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-82d1bb86.entry.js +0 -1
- package/dist/mint-components/p-8425534f.entry.js +0 -9
- package/dist/mint-components/p-8858d00c.system.js +0 -1
- package/dist/mint-components/p-8f09f202.entry.js +0 -1
- package/dist/mint-components/p-8f12df83.js +0 -1
- package/dist/mint-components/p-90efeeb4.entry.js +0 -1
- package/dist/mint-components/p-965b2770.system.entry.js +0 -1
- package/dist/mint-components/p-97a63829.js +0 -1
- package/dist/mint-components/p-98eab726.system.js +0 -1
- package/dist/mint-components/p-a4a62f35.entry.js +0 -1
- package/dist/mint-components/p-a8efda40.js +0 -1
- package/dist/mint-components/p-aa998fc1.entry.js +0 -1
- package/dist/mint-components/p-ae1a283d.entry.js +0 -1
- package/dist/mint-components/p-b1918aeb.system.entry.js +0 -1
- package/dist/mint-components/p-c11237bf.system.entry.js +0 -1
- package/dist/mint-components/p-c14b6ff9.system.entry.js +0 -1
- package/dist/mint-components/p-c4b55529.system.entry.js +0 -1
- package/dist/mint-components/p-c5debea4.entry.js +0 -1
- package/dist/mint-components/p-c8c4e727.system.entry.js +0 -1
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d67a6057.entry.js +0 -1
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-d8d0ec81.system.entry.js +0 -1
- package/dist/mint-components/p-d9c3f39a.system.entry.js +0 -1
- package/dist/mint-components/p-dced4933.system.entry.js +0 -1
- package/dist/mint-components/p-ddeba605.system.entry.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e00abc43.system.entry.js +0 -1
- package/dist/mint-components/p-e28dd7a3.system.js +0 -1
- package/dist/mint-components/p-e39919d4.system.js +0 -1
- package/dist/mint-components/p-ea5afb36.system.entry.js +0 -1
- package/dist/mint-components/p-ee461c80.js +0 -1
- package/dist/mint-components/p-eeca87d4.system.entry.js +0 -1
- package/dist/mint-components/p-f0e2df53.system.entry.js +0 -1
- package/dist/mint-components/p-f86ba72a.system.entry.js +0 -1
- 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
|
@@ -3,33 +3,32 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
require('./use-callback-
|
|
9
|
-
const index_module = require('./index.module-
|
|
10
|
-
require('./extends-08099afd.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./global-b645d18a.js');
|
|
8
|
+
require('./use-callback-5d15897d.js');
|
|
9
|
+
const index_module = require('./index.module-93c78ac7.js');
|
|
11
10
|
require('./cjs-1066ec21.js');
|
|
12
11
|
require('./mixins-fe9d4112.js');
|
|
13
|
-
const JSS = require('./JSS-
|
|
14
|
-
const GenericTableView = require('./GenericTableView-
|
|
15
|
-
require('./useChildElements-
|
|
16
|
-
const luxon = require('./luxon-
|
|
12
|
+
const JSS = require('./JSS-8503a151.js');
|
|
13
|
+
const GenericTableView = require('./GenericTableView-9271483b.js');
|
|
14
|
+
require('./useChildElements-c0cc8f5d.js');
|
|
15
|
+
const luxon = require('./luxon-479fc825.js');
|
|
17
16
|
require('./utils-6847bc06.js');
|
|
18
|
-
require('./sqm-text-span-view-
|
|
19
|
-
const sqmAssetCardView = require('./sqm-asset-card-view-
|
|
20
|
-
const sqmHeroView = require('./sqm-hero-view-
|
|
17
|
+
require('./sqm-text-span-view-b318af73.js');
|
|
18
|
+
const sqmAssetCardView = require('./sqm-asset-card-view-59c39ed2.js');
|
|
19
|
+
const sqmHeroView = require('./sqm-hero-view-ba78dcaf.js');
|
|
21
20
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
22
|
-
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-
|
|
23
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
24
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
25
|
-
const sqmPortalFooterView = require('./sqm-portal-footer-view-
|
|
26
|
-
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-
|
|
27
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
28
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
29
|
-
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-
|
|
30
|
-
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-
|
|
31
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
32
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-
|
|
21
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-2ffde416.js');
|
|
22
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-2eda59bf.js');
|
|
23
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-b280d0b0.js');
|
|
24
|
+
const sqmPortalFooterView = require('./sqm-portal-footer-view-5d6451ad.js');
|
|
25
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-ccaf2bd4.js');
|
|
26
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-2ddcaa12.js');
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-e615e2b2.js');
|
|
28
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-4d23de69.js');
|
|
29
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-96adafc0.js');
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-090eff1a.js');
|
|
31
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-1e5bbcb1.js');
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -2358,36 +2357,36 @@ const routes = `
|
|
|
2358
2357
|
`;
|
|
2359
2358
|
const TemplateNavigation = createHookStory(() => {
|
|
2360
2359
|
return (index.h("div", null,
|
|
2361
|
-
index.h("button", { onClick: () => index_module.
|
|
2362
|
-
index.h("button", { onClick: () => index_module.
|
|
2363
|
-
index.h("button", { onClick: () => index_module.
|
|
2364
|
-
index.h("button", { onClick: () => index_module.
|
|
2365
|
-
index.h("button", { onClick: () => index_module.
|
|
2366
|
-
index.h("button", { onClick: () => index_module.
|
|
2367
|
-
index.h("button", { onClick: () => index_module.
|
|
2368
|
-
index.h("button", { onClick: () => index_module.
|
|
2369
|
-
index.h("button", { onClick: () => index_module.
|
|
2360
|
+
index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
|
|
2361
|
+
index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
|
|
2362
|
+
index.h("button", { onClick: () => index_module.fn.push("/bar") }, "/bar"),
|
|
2363
|
+
index.h("button", { onClick: () => index_module.fn.push("/baz/bang") }, "/baz/bang"),
|
|
2364
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer") }, "/refer"),
|
|
2365
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer/1") }, "/refer/1"),
|
|
2366
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer/2") }, "/refer/2"),
|
|
2367
|
+
index.h("button", { onClick: () => index_module.fn.back() }, "Back"),
|
|
2368
|
+
index.h("button", { onClick: () => index_module.fn.forward() }, "Forward"),
|
|
2370
2369
|
index.h("hr", null),
|
|
2371
2370
|
index.h("sqm-router", { innerHTML: templates })));
|
|
2372
2371
|
});
|
|
2373
2372
|
const RouteNavigation = createHookStory(() => {
|
|
2374
2373
|
return (index.h("div", null,
|
|
2375
|
-
index.h("button", { onClick: () => index_module.
|
|
2376
|
-
index.h("button", { onClick: () => index_module.
|
|
2377
|
-
index.h("button", { onClick: () => index_module.
|
|
2378
|
-
index.h("button", { onClick: () => index_module.
|
|
2379
|
-
index.h("button", { onClick: () => index_module.
|
|
2380
|
-
index.h("button", { onClick: () => index_module.
|
|
2381
|
-
index.h("button", { onClick: () => index_module.
|
|
2382
|
-
index.h("button", { onClick: () => index_module.
|
|
2383
|
-
index.h("button", { onClick: () => index_module.
|
|
2374
|
+
index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
|
|
2375
|
+
index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
|
|
2376
|
+
index.h("button", { onClick: () => index_module.fn.push("/bar") }, "/bar"),
|
|
2377
|
+
index.h("button", { onClick: () => index_module.fn.push("/baz/bang") }, "/baz/bang"),
|
|
2378
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer") }, "/refer"),
|
|
2379
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer/1") }, "/refer/1"),
|
|
2380
|
+
index.h("button", { onClick: () => index_module.fn.push("/refer/2") }, "/refer/2"),
|
|
2381
|
+
index.h("button", { onClick: () => index_module.fn.back() }, "Back"),
|
|
2382
|
+
index.h("button", { onClick: () => index_module.fn.forward() }, "Forward"),
|
|
2384
2383
|
index.h("hr", null),
|
|
2385
2384
|
index.h("sqm-router", { innerHTML: routes })));
|
|
2386
2385
|
});
|
|
2387
2386
|
const Styling = createHookStory(() => {
|
|
2388
2387
|
return (index.h("div", null,
|
|
2389
|
-
index.h("button", { onClick: () => index_module.
|
|
2390
|
-
index.h("button", { onClick: () => index_module.
|
|
2388
|
+
index.h("button", { onClick: () => index_module.fn.push("/") }, "/"),
|
|
2389
|
+
index.h("button", { onClick: () => index_module.fn.push("/foo") }, "/foo"),
|
|
2391
2390
|
index.h("hr", null),
|
|
2392
2391
|
index.h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2393
2392
|
index.h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2401,7 +2400,7 @@ function useTemplate(templateString) {
|
|
|
2401
2400
|
const [previewTemplate, setPreviewTemplate] = stencilHooks_module.useState(templateString);
|
|
2402
2401
|
function setPath(e) {
|
|
2403
2402
|
//@ts-ignore
|
|
2404
|
-
index_module.
|
|
2403
|
+
index_module.fn.push(e.target.value);
|
|
2405
2404
|
}
|
|
2406
2405
|
return {
|
|
2407
2406
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2565,8 +2564,8 @@ const FullStackFrame = () => {
|
|
|
2565
2564
|
"Current path:",
|
|
2566
2565
|
" ",
|
|
2567
2566
|
index.h("code", null,
|
|
2568
|
-
index.h("strong", null, (_a = index_module.
|
|
2569
|
-
index.h("button", { onClick: index_module.
|
|
2567
|
+
index.h("strong", null, (_a = index_module.cn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2568
|
+
index.h("button", { onClick: index_module.fn.back }, "Go Back")));
|
|
2570
2569
|
};
|
|
2571
2570
|
const FullStackFrameLoggedOut = () => {
|
|
2572
2571
|
var _a;
|
|
@@ -2590,8 +2589,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2590
2589
|
"Current path:",
|
|
2591
2590
|
" ",
|
|
2592
2591
|
index.h("code", null,
|
|
2593
|
-
index.h("strong", null, (_a = index_module.
|
|
2594
|
-
index.h("button", { onClick: index_module.
|
|
2592
|
+
index.h("strong", null, (_a = index_module.cn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2593
|
+
index.h("button", { onClick: index_module.fn.back }, "Go Back")));
|
|
2595
2594
|
};
|
|
2596
2595
|
|
|
2597
2596
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -2685,14 +2684,14 @@ function setupGraphQL$1() {
|
|
|
2685
2684
|
programId,
|
|
2686
2685
|
};
|
|
2687
2686
|
stencilHooks_module.useEffect(() => {
|
|
2688
|
-
index_module.
|
|
2687
|
+
index_module.setUserIdentity({
|
|
2689
2688
|
accountId,
|
|
2690
2689
|
id,
|
|
2691
2690
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2692
2691
|
});
|
|
2693
2692
|
return () => {
|
|
2694
2693
|
window.widgetIdent = undefined;
|
|
2695
|
-
index_module.
|
|
2694
|
+
index_module.setUserIdentity(undefined);
|
|
2696
2695
|
};
|
|
2697
2696
|
}, []);
|
|
2698
2697
|
}
|
|
@@ -2747,14 +2746,14 @@ function setupGraphQL$2() {
|
|
|
2747
2746
|
programId,
|
|
2748
2747
|
};
|
|
2749
2748
|
stencilHooks_module.useEffect(() => {
|
|
2750
|
-
index_module.
|
|
2749
|
+
index_module.setUserIdentity({
|
|
2751
2750
|
accountId,
|
|
2752
2751
|
id,
|
|
2753
2752
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
2754
2753
|
});
|
|
2755
2754
|
return () => {
|
|
2756
2755
|
window.widgetIdent = undefined;
|
|
2757
|
-
index_module.
|
|
2756
|
+
index_module.setUserIdentity(undefined);
|
|
2758
2757
|
};
|
|
2759
2758
|
}, []);
|
|
2760
2759
|
}
|
|
@@ -2809,14 +2808,14 @@ function setupGraphQL$3() {
|
|
|
2809
2808
|
programId,
|
|
2810
2809
|
};
|
|
2811
2810
|
stencilHooks_module.useEffect(() => {
|
|
2812
|
-
index_module.
|
|
2811
|
+
index_module.setUserIdentity({
|
|
2813
2812
|
accountId,
|
|
2814
2813
|
id,
|
|
2815
2814
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
|
|
2816
2815
|
});
|
|
2817
2816
|
return () => {
|
|
2818
2817
|
window.widgetIdent = undefined;
|
|
2819
|
-
index_module.
|
|
2818
|
+
index_module.setUserIdentity(undefined);
|
|
2820
2819
|
};
|
|
2821
2820
|
}, []);
|
|
2822
2821
|
}
|
|
@@ -2950,14 +2949,14 @@ function setupGraphQL$4() {
|
|
|
2950
2949
|
programId,
|
|
2951
2950
|
};
|
|
2952
2951
|
stencilHooks_module.useEffect(() => {
|
|
2953
|
-
index_module.
|
|
2952
|
+
index_module.setUserIdentity({
|
|
2954
2953
|
accountId,
|
|
2955
2954
|
id,
|
|
2956
2955
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
|
|
2957
2956
|
});
|
|
2958
2957
|
return () => {
|
|
2959
2958
|
window.widgetIdent = undefined;
|
|
2960
|
-
index_module.
|
|
2959
|
+
index_module.setUserIdentity(undefined);
|
|
2961
2960
|
};
|
|
2962
2961
|
}, []);
|
|
2963
2962
|
}
|
|
@@ -2997,14 +2996,14 @@ function setupGraphQL$5() {
|
|
|
2997
2996
|
programId,
|
|
2998
2997
|
};
|
|
2999
2998
|
stencilHooks_module.useEffect(() => {
|
|
3000
|
-
index_module.
|
|
2999
|
+
index_module.setUserIdentity({
|
|
3001
3000
|
accountId,
|
|
3002
3001
|
id,
|
|
3003
3002
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3004
3003
|
});
|
|
3005
3004
|
return () => {
|
|
3006
3005
|
window.widgetIdent = undefined;
|
|
3007
|
-
index_module.
|
|
3006
|
+
index_module.setUserIdentity(undefined);
|
|
3008
3007
|
};
|
|
3009
3008
|
}, []);
|
|
3010
3009
|
}
|
|
@@ -3020,14 +3019,14 @@ function setupOtherGraphQL() {
|
|
|
3020
3019
|
programId,
|
|
3021
3020
|
};
|
|
3022
3021
|
stencilHooks_module.useEffect(() => {
|
|
3023
|
-
index_module.
|
|
3022
|
+
index_module.setUserIdentity({
|
|
3024
3023
|
accountId,
|
|
3025
3024
|
id,
|
|
3026
3025
|
jwt: JWT,
|
|
3027
3026
|
});
|
|
3028
3027
|
return () => {
|
|
3029
3028
|
window.widgetIdent = undefined;
|
|
3030
|
-
index_module.
|
|
3029
|
+
index_module.setUserIdentity(undefined);
|
|
3031
3030
|
};
|
|
3032
3031
|
}, []);
|
|
3033
3032
|
return { id, accountId };
|
|
@@ -3261,14 +3260,14 @@ function setupGraphQL$6() {
|
|
|
3261
3260
|
programId,
|
|
3262
3261
|
};
|
|
3263
3262
|
stencilHooks_module.useEffect(() => {
|
|
3264
|
-
index_module.
|
|
3263
|
+
index_module.setUserIdentity({
|
|
3265
3264
|
accountId,
|
|
3266
3265
|
id,
|
|
3267
3266
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3268
3267
|
});
|
|
3269
3268
|
return () => {
|
|
3270
3269
|
window.widgetIdent = undefined;
|
|
3271
|
-
index_module.
|
|
3270
|
+
index_module.setUserIdentity(undefined);
|
|
3272
3271
|
};
|
|
3273
3272
|
}, []);
|
|
3274
3273
|
return { id, accountId };
|
|
@@ -3277,7 +3276,7 @@ function useExchangeButton() {
|
|
|
3277
3276
|
const { id, accountId } = setupGraphQL$6();
|
|
3278
3277
|
const [points, setPoints] = stencilHooks_module.useState(10);
|
|
3279
3278
|
const [rate, setRate] = stencilHooks_module.useState(100);
|
|
3280
|
-
const [exchange, { data, errors }] = index_module.
|
|
3279
|
+
const [exchange, { data, errors }] = index_module.ze(EXCHANGE);
|
|
3281
3280
|
return {
|
|
3282
3281
|
states: {
|
|
3283
3282
|
points,
|
|
@@ -3392,14 +3391,14 @@ function setupGraphQL$7() {
|
|
|
3392
3391
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3393
3392
|
};
|
|
3394
3393
|
stencilHooks_module.useEffect(() => {
|
|
3395
|
-
index_module.
|
|
3394
|
+
index_module.setUserIdentity({
|
|
3396
3395
|
accountId,
|
|
3397
3396
|
id,
|
|
3398
3397
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
3399
3398
|
});
|
|
3400
3399
|
return () => {
|
|
3401
3400
|
window.widgetIdent = undefined;
|
|
3402
|
-
index_module.
|
|
3401
|
+
index_module.setUserIdentity(undefined);
|
|
3403
3402
|
};
|
|
3404
3403
|
}, []);
|
|
3405
3404
|
return { id, accountId };
|
|
@@ -3413,14 +3412,14 @@ function setupGraphQLKlip({ token, id }) {
|
|
|
3413
3412
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
3414
3413
|
};
|
|
3415
3414
|
stencilHooks_module.useEffect(() => {
|
|
3416
|
-
index_module.
|
|
3415
|
+
index_module.setUserIdentity({
|
|
3417
3416
|
accountId,
|
|
3418
3417
|
id,
|
|
3419
3418
|
jwt: token,
|
|
3420
3419
|
});
|
|
3421
3420
|
return () => {
|
|
3422
3421
|
window.widgetIdent = undefined;
|
|
3423
|
-
index_module.
|
|
3422
|
+
index_module.setUserIdentity(undefined);
|
|
3424
3423
|
};
|
|
3425
3424
|
}, []);
|
|
3426
3425
|
return { id, accountId };
|
|
@@ -3434,7 +3433,7 @@ const RewardTableDemoHook = createHookStory(() => {
|
|
|
3434
3433
|
});
|
|
3435
3434
|
const RewardsTableWithProgram = createHookStory(() => {
|
|
3436
3435
|
setupGraphQL$7();
|
|
3437
|
-
index_module.
|
|
3436
|
+
index_module.setProgramId("sam-partner-test-2");
|
|
3438
3437
|
return (index.h("sqm-rewards-table", null,
|
|
3439
3438
|
index.h("sqm-rewards-table-reward-column", null),
|
|
3440
3439
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -3443,7 +3442,7 @@ const RewardsTableWithProgram = createHookStory(() => {
|
|
|
3443
3442
|
});
|
|
3444
3443
|
const RewardsTableNoProgram = createHookStory(() => {
|
|
3445
3444
|
setupGraphQL$7();
|
|
3446
|
-
index_module.
|
|
3445
|
+
index_module.setProgramId(undefined);
|
|
3447
3446
|
return (index.h("sqm-rewards-table", null,
|
|
3448
3447
|
index.h("sqm-rewards-table-reward-column", null),
|
|
3449
3448
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -3455,7 +3454,7 @@ const RewardsTableEn = createHookStory(() => {
|
|
|
3455
3454
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
3456
3455
|
id: "samenglish",
|
|
3457
3456
|
});
|
|
3458
|
-
index_module.
|
|
3457
|
+
index_module.setProgramId(undefined);
|
|
3459
3458
|
return (index.h("sqm-rewards-table", { "per-page": "4" },
|
|
3460
3459
|
index.h("sqm-rewards-table-reward-column", null),
|
|
3461
3460
|
index.h("sqm-rewards-table-status-column", null),
|
|
@@ -3467,7 +3466,7 @@ const RewardsTableTr = createHookStory(() => {
|
|
|
3467
3466
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
3468
3467
|
id: "samturkey",
|
|
3469
3468
|
});
|
|
3470
|
-
index_module.
|
|
3469
|
+
index_module.setProgramId(undefined);
|
|
3471
3470
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz Referans Yok" },
|
|
3472
3471
|
index.h("sqm-rewards-table-reward-column", { "column-title": "\u00D6d\u00FCller", "redeemed-text": "{redeemedAmount} kullan\u0131ld\u0131", "available-text": "{availableAmount} mevcut" }),
|
|
3473
3472
|
index.h("sqm-rewards-table-source-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131", "reward-exchange-text": "\u00D6d\u00FClleri Kulann\u0131n", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {Referans} REFERRED {Y\u00F6nlendiren} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Otomatik} other {}}" }),
|
|
@@ -3479,7 +3478,7 @@ const RewardsTableFr = createHookStory(() => {
|
|
|
3479
3478
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
3480
3479
|
id: "samfrench",
|
|
3481
3480
|
});
|
|
3482
|
-
index_module.
|
|
3481
|
+
index_module.setProgramId(undefined);
|
|
3483
3482
|
return (index.h("sqm-rewards-table", { "per-page": "4", "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9compenses Maintenant" },
|
|
3484
3483
|
index.h("sqm-rewards-table-reward-column", { "column-title": "R\u00E9compenses", "redeemed-text": "{redeemedAmount} rachet\u00E9e", "available-text": "{availableAmount} disponible" }),
|
|
3485
3484
|
index.h("sqm-rewards-table-source-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9", "reward-exchange-text": "\u00C9change de R\u00E9compenses", "referral-text": "{rewardSource, select, FRIEND_SIGNUP {R\u00E9f\u00E9rence \u00E0} REFERRED {R\u00E9f\u00E9renc\u00E9 par} other {}}", "reward-source-text": "{rewardSource, select, MANUAL {Manuel} AUTOMATED {Automatique} other {}}" }),
|
|
@@ -3513,14 +3512,14 @@ function setupGraphQL$8() {
|
|
|
3513
3512
|
programId,
|
|
3514
3513
|
};
|
|
3515
3514
|
stencilHooks_module.useEffect(() => {
|
|
3516
|
-
index_module.
|
|
3515
|
+
index_module.setUserIdentity({
|
|
3517
3516
|
accountId,
|
|
3518
3517
|
id,
|
|
3519
3518
|
jwt: JWT,
|
|
3520
3519
|
});
|
|
3521
3520
|
return () => {
|
|
3522
3521
|
window.widgetIdent = undefined;
|
|
3523
|
-
index_module.
|
|
3522
|
+
index_module.setUserIdentity(undefined);
|
|
3524
3523
|
};
|
|
3525
3524
|
}, []);
|
|
3526
3525
|
return { id, accountId };
|
|
@@ -3858,11 +3857,11 @@ const NewPortal = /*#__PURE__*/Object.freeze({
|
|
|
3858
3857
|
Activity: Activity
|
|
3859
3858
|
});
|
|
3860
3859
|
|
|
3861
|
-
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
|
|
3860
|
+
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";
|
|
3862
3861
|
|
|
3863
|
-
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";
|
|
3862
|
+
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";
|
|
3864
3863
|
|
|
3865
|
-
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
|
|
3864
|
+
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";
|
|
3866
3865
|
|
|
3867
3866
|
const Widget_stories = {
|
|
3868
3867
|
title: "Templates / Widgets",
|
|
@@ -4551,7 +4550,7 @@ const AssetCard_stories = {
|
|
|
4551
4550
|
const Default$7 = () => {
|
|
4552
4551
|
const props = {
|
|
4553
4552
|
text: { titleText: "Marketing Banner" },
|
|
4554
|
-
imgUrl: "
|
|
4553
|
+
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
4555
4554
|
callbacks: {},
|
|
4556
4555
|
};
|
|
4557
4556
|
return index.h(sqmAssetCardView.AssetCardView, Object.assign({}, props));
|
|
@@ -4559,7 +4558,7 @@ const Default$7 = () => {
|
|
|
4559
4558
|
const CardWithLongText = () => {
|
|
4560
4559
|
const props = {
|
|
4561
4560
|
text: { titleText: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, sunt dolores? Dolore temporibus autem officia blanditiis minus in voluptatem molestiae!" },
|
|
4562
|
-
imgUrl: "
|
|
4561
|
+
imgUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png",
|
|
4563
4562
|
callbacks: {},
|
|
4564
4563
|
};
|
|
4565
4564
|
return index.h(sqmAssetCardView.AssetCardView, Object.assign({}, props));
|
|
@@ -5324,7 +5323,7 @@ const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
|
5324
5323
|
tenRewardsCell: tenRewardsCell
|
|
5325
5324
|
});
|
|
5326
5325
|
|
|
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 \"
|
|
5326
|
+
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";
|
|
5328
5327
|
|
|
5329
5328
|
const ReferralTable_stories = {
|
|
5330
5329
|
title: "Components/Referral Table",
|
|
@@ -5986,6 +5985,7 @@ const Start = () => {
|
|
|
5986
5985
|
initValue: "",
|
|
5987
5986
|
states: {
|
|
5988
5987
|
enableValidation: true,
|
|
5988
|
+
registrationFormState: {},
|
|
5989
5989
|
validationErrors: {},
|
|
5990
5990
|
content: {
|
|
5991
5991
|
fieldLabel: "Password",
|
|
@@ -5999,6 +5999,7 @@ const EmptyError = () => {
|
|
|
5999
5999
|
states: {
|
|
6000
6000
|
enableValidation: true,
|
|
6001
6001
|
validationErrors: { password: "Cannot be empty" },
|
|
6002
|
+
registrationFormState: {},
|
|
6002
6003
|
content: {
|
|
6003
6004
|
fieldLabel: "Password",
|
|
6004
6005
|
},
|
|
@@ -6010,6 +6011,7 @@ const ValidationError = () => {
|
|
|
6010
6011
|
initValue: "asdf",
|
|
6011
6012
|
states: {
|
|
6012
6013
|
enableValidation: true,
|
|
6014
|
+
registrationFormState: {},
|
|
6013
6015
|
validationErrors: { password: "Incomplete" },
|
|
6014
6016
|
content: {
|
|
6015
6017
|
fieldLabel: "Password",
|
|
@@ -9578,21 +9580,21 @@ var marked = stencilHooks_module.createCommonjsModule(function (module, exports)
|
|
|
9578
9580
|
})));
|
|
9579
9581
|
});
|
|
9580
9582
|
|
|
9581
|
-
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9583
|
+
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | | `string` | `\"/forgotPassword\"` |\n| `nextPage` | `next-page` | Page participants are navigated to after login. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9582
9584
|
|
|
9583
9585
|
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Height of the iframe container | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Width of the iframe container | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9584
9586
|
|
|
9585
|
-
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9587
|
+
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `loginText` | `login-text` | Sign In Link Text | `string` | `\"Sign In\"` |\n| `redirectPath` | `redirect-path` | The microsite page that participants are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9586
9588
|
|
|
9587
|
-
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9589
|
+
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input. | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path. | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page participants are navigated to after registration. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9588
9590
|
|
|
9589
|
-
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9591
|
+
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\n| `showCountry` | `show-country` | Show or hide the country field. | `boolean` | `true` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9590
9592
|
|
|
9591
|
-
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9593
|
+
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide confirm password field. | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that participants are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that participants are redirected to when the password reset succeeds. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9592
9594
|
|
|
9593
|
-
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9595
|
+
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `redirectPath` | `redirect-path` | The microsite page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9594
9596
|
|
|
9595
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9597
|
+
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------ | ------------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that participants are redirected to if verification fails due to outdated verification attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that participants are redirected to when the verification succeeds. | `string` | `\"/\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9596
9598
|
|
|
9597
9599
|
const PortalTemplates_stories = {
|
|
9598
9600
|
title: "Templates / Portal",
|
|
@@ -9632,16 +9634,16 @@ function DefaultTemplateView$1(props) {
|
|
|
9632
9634
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
9633
9635
|
gridGap: "10px",
|
|
9634
9636
|
} },
|
|
9635
|
-
index.h("button", { onClick: () => index_module.
|
|
9636
|
-
props.leadSubmit && (index.h("button", { onClick: () => index_module.
|
|
9637
|
-
index.h("button", { onClick: () => index_module.
|
|
9638
|
-
index.h("button", { onClick: () => index_module.
|
|
9639
|
-
index.h("button", { onClick: () => index_module.
|
|
9640
|
-
index.h("button", { onClick: () => index_module.
|
|
9641
|
-
index.h("button", { onClick: () => index_module.
|
|
9642
|
-
index.h("button", { onClick: () => index_module.
|
|
9643
|
-
index.h("button", { onClick: () => index_module.
|
|
9644
|
-
index.h("button", { onClick: () => index_module.
|
|
9637
|
+
index.h("button", { onClick: () => index_module.fn.push("/") }, "Dashboard"),
|
|
9638
|
+
props.leadSubmit && (index.h("button", { onClick: () => index_module.fn.push("/refer") }, "Submit a Referral")),
|
|
9639
|
+
index.h("button", { onClick: () => index_module.fn.push("/activity") }, "Activity"),
|
|
9640
|
+
index.h("button", { onClick: () => index_module.fn.push("/editProfile") }, "Edit Profile"),
|
|
9641
|
+
index.h("button", { onClick: () => index_module.fn.push("/login") }, "Login"),
|
|
9642
|
+
index.h("button", { onClick: () => index_module.fn.push("/register") }, "Register"),
|
|
9643
|
+
index.h("button", { onClick: () => index_module.fn.push("/emailVerification") }, "Email Verification"),
|
|
9644
|
+
index.h("button", { onClick: () => index_module.fn.push("/verifyEmail") }, "Verify Email"),
|
|
9645
|
+
index.h("button", { onClick: () => index_module.fn.push("/forgotPassword") }, "Forgot Password"),
|
|
9646
|
+
index.h("button", { onClick: () => index_module.fn.push("/resetPassword") }, "Reset Password")),
|
|
9645
9647
|
index.h("br", null),
|
|
9646
9648
|
index.h("div", { innerHTML: states.previewTemplate })));
|
|
9647
9649
|
}
|
|
@@ -10215,14 +10217,14 @@ function setupGraphQL$9() {
|
|
|
10215
10217
|
programId,
|
|
10216
10218
|
};
|
|
10217
10219
|
stencilHooks_module.useEffect(() => {
|
|
10218
|
-
index_module.
|
|
10220
|
+
index_module.setUserIdentity({
|
|
10219
10221
|
accountId,
|
|
10220
10222
|
id,
|
|
10221
10223
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10222
10224
|
});
|
|
10223
10225
|
return () => {
|
|
10224
10226
|
window.widgetIdent = undefined;
|
|
10225
|
-
index_module.
|
|
10227
|
+
index_module.setUserIdentity(undefined);
|
|
10226
10228
|
};
|
|
10227
10229
|
}, []);
|
|
10228
10230
|
return { id, accountId };
|
|
@@ -10331,14 +10333,14 @@ function setupGraphQL$a() {
|
|
|
10331
10333
|
programId,
|
|
10332
10334
|
};
|
|
10333
10335
|
stencilHooks_module.useEffect(() => {
|
|
10334
|
-
index_module.
|
|
10336
|
+
index_module.setUserIdentity({
|
|
10335
10337
|
accountId,
|
|
10336
10338
|
id,
|
|
10337
10339
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10338
10340
|
});
|
|
10339
10341
|
return () => {
|
|
10340
10342
|
window.widgetIdent = undefined;
|
|
10341
|
-
index_module.
|
|
10343
|
+
index_module.setUserIdentity(undefined);
|
|
10342
10344
|
};
|
|
10343
10345
|
}, []);
|
|
10344
10346
|
return { id, accountId };
|
|
@@ -10486,14 +10488,14 @@ function setupGraphQL$b() {
|
|
|
10486
10488
|
programId,
|
|
10487
10489
|
};
|
|
10488
10490
|
stencilHooks_module.useEffect(() => {
|
|
10489
|
-
index_module.
|
|
10491
|
+
index_module.setUserIdentity({
|
|
10490
10492
|
accountId,
|
|
10491
10493
|
id,
|
|
10492
10494
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10493
10495
|
});
|
|
10494
10496
|
return () => {
|
|
10495
10497
|
window.widgetIdent = undefined;
|
|
10496
|
-
index_module.
|
|
10498
|
+
index_module.setUserIdentity(undefined);
|
|
10497
10499
|
};
|
|
10498
10500
|
}, []);
|
|
10499
10501
|
return { id, accountId };
|
|
@@ -11487,7 +11489,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
11487
11489
|
EmptyCell: EmptyCell$2
|
|
11488
11490
|
});
|
|
11489
11491
|
|
|
11490
|
-
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 \"
|
|
11492
|
+
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";
|
|
11491
11493
|
|
|
11492
11494
|
const RewardsTable_stories = {
|
|
11493
11495
|
title: "Components/Rewards Table",
|
|
@@ -11632,14 +11634,14 @@ function setupGraphQL$c() {
|
|
|
11632
11634
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11633
11635
|
};
|
|
11634
11636
|
stencilHooks_module.useEffect(() => {
|
|
11635
|
-
index_module.
|
|
11637
|
+
index_module.setUserIdentity({
|
|
11636
11638
|
accountId,
|
|
11637
11639
|
id,
|
|
11638
11640
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
11639
11641
|
});
|
|
11640
11642
|
return () => {
|
|
11641
11643
|
window.widgetIdent = undefined;
|
|
11642
|
-
index_module.
|
|
11644
|
+
index_module.setUserIdentity(undefined);
|
|
11643
11645
|
};
|
|
11644
11646
|
}, []);
|
|
11645
11647
|
return { id, accountId };
|
|
@@ -11653,21 +11655,21 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
11653
11655
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
11654
11656
|
};
|
|
11655
11657
|
stencilHooks_module.useEffect(() => {
|
|
11656
|
-
index_module.
|
|
11658
|
+
index_module.setUserIdentity({
|
|
11657
11659
|
accountId,
|
|
11658
11660
|
id,
|
|
11659
11661
|
jwt: token,
|
|
11660
11662
|
});
|
|
11661
11663
|
return () => {
|
|
11662
11664
|
window.widgetIdent = undefined;
|
|
11663
|
-
index_module.
|
|
11665
|
+
index_module.setUserIdentity(undefined);
|
|
11664
11666
|
};
|
|
11665
11667
|
}, []);
|
|
11666
11668
|
return { id, accountId };
|
|
11667
11669
|
}
|
|
11668
11670
|
const ReferralTable$1 = createHookStory(() => {
|
|
11669
11671
|
setupGraphQL$c();
|
|
11670
|
-
index_module.
|
|
11672
|
+
index_module.setProgramId("sam-partner-test-2");
|
|
11671
11673
|
return (index.h("sqm-referral-table", null,
|
|
11672
11674
|
index.h("sqm-referral-table-user-column", null),
|
|
11673
11675
|
index.h("sqm-referral-table-status-column", null),
|
|
@@ -11693,7 +11695,7 @@ const ReferralTableEn = createHookStory(() => {
|
|
|
11693
11695
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
11694
11696
|
id: "samenglish",
|
|
11695
11697
|
});
|
|
11696
|
-
index_module.
|
|
11698
|
+
index_module.setProgramId("klip-referral-program");
|
|
11697
11699
|
return (index.h("sqm-referral-table", { "per-page": "4" },
|
|
11698
11700
|
index.h("sqm-referral-table-user-column", { "column-title": "User" }),
|
|
11699
11701
|
index.h("sqm-referral-table-status-column", { "column-title": "Referral Status" }),
|
|
@@ -11705,7 +11707,7 @@ const ReferralTableTr = createHookStory(() => {
|
|
|
11705
11707
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
11706
11708
|
id: "samturkey",
|
|
11707
11709
|
});
|
|
11708
|
-
index_module.
|
|
11710
|
+
index_module.setProgramId("klip-referral-program");
|
|
11709
11711
|
return (index.h("sqm-referral-table", { "more-label": "Daha", "prev-label": "\u00D6ncesi", "empty-state-text": "Hen\u00FCz \u00D6d\u00FCl Yok", "per-page": "4" },
|
|
11710
11712
|
index.h("sqm-referral-table-user-column", { "column-title": "Kullan\u0131c\u0131lar", "anonymous-user": "Anonim Kullan\u0131c\u0131", "deleted-user": "Silinmi\u015F Kullan\u0131c\u0131" }),
|
|
11711
11713
|
index.h("sqm-referral-table-status-column", { "column-title": "Durumu", "converted-status-text": "D\u00F6n\u00FC\u015Ft\u00FCr", "in-progress-status-text": "Devam etmekte" }),
|
|
@@ -11717,7 +11719,7 @@ const ReferralTableFr = createHookStory(() => {
|
|
|
11717
11719
|
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
11718
11720
|
id: "samfrench",
|
|
11719
11721
|
});
|
|
11720
|
-
index_module.
|
|
11722
|
+
index_module.setProgramId("klip-referral-program");
|
|
11721
11723
|
return (index.h("sqm-referral-table", { "more-label": "Plus", "prev-label": "Pr\u00E9c\u00E9dent", "empty-state-text": "Aucune R\u00E9f\u00E9rence Maintenant", "per-page": "4" },
|
|
11722
11724
|
index.h("sqm-referral-table-user-column", { "column-title": "Utilisateur", "anonymous-user": "Utilisateur Anonyme", "deleted-user": "Utilisateur Supprim\u00E9" }),
|
|
11723
11725
|
index.h("sqm-referral-table-status-column", { "column-title": "Statut de Parrainage", "converted-status-text": "Converti", "in-progress-status-text": "En cours" }),
|