@saasquatch/mint-components 1.5.0-4 → 1.5.0-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-a85b8c8d.js → ShadowViewAddon-475e00d3.js} +3 -3
- package/dist/cjs/{global-6223fe8f.js → global-89f66e76.js} +2 -2
- package/dist/cjs/{index.module-7dd4b981.js → index.module-c0bf9df0.js} +16 -16
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-6111d4bd.js → re-render-124b56ee.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
- package/dist/cjs/sqm-brand_31.cjs.entry.js +112 -117
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-leaderboard-rank-view-7dd44d62.js → sqm-leaderboard-rank-view-510f16d3.js} +2 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
- package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6c7f78e6.js → sqm-navigation-sidebar-item-view-a2bdcf05.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-08d1848c.js → sqm-portal-email-verification-view-5093ac20.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-footer-view-69c73802.js → sqm-portal-footer-view-03408484.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-14b41436.js → sqm-portal-profile-view-fa2db439.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-program-explainer-step-view-74863815.js → sqm-program-explainer-step-view-6a01cda0.js} +1 -1
- package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-program-explainer-view-afed92f5.js → sqm-program-explainer-view-8a4af972.js} +1 -1
- package/dist/cjs/sqm-program-explainer.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-share-code.cjs.entry.js +4 -4
- package/dist/cjs/{useDemoBigStat-2786227e.js → useDemoBigStat-5d71bbdf.js} +3 -3
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +4 -4
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -2
- package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +4 -9
- package/dist/esm/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-558fabb7.js} +3 -3
- package/dist/esm/{global-90da933f.js → global-e0e25c22.js} +2 -2
- package/dist/esm/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat.entry.js +2 -2
- package/dist/esm/sqm-brand_31.entry.js +112 -117
- package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
- package/dist/esm/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +2 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-leaderboard.entry.js +2 -2
- package/dist/esm/sqm-name-fields.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-f2304ad9.js → sqm-navigation-sidebar-item-view-2d8c368c.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
- package/dist/esm/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
- package/dist/esm/sqm-program-explainer-step.entry.js +1 -1
- package/dist/esm/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
- package/dist/esm/sqm-program-explainer.entry.js +1 -1
- package/dist/esm/sqm-referral-table-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
- package/dist/esm/sqm-share-code.entry.js +4 -4
- package/dist/esm/{useDemoBigStat-c3b955b7.js → useDemoBigStat-d227b2f9.js} +3 -3
- package/dist/esm-es5/ShadowViewAddon-558fabb7.js +1 -0
- package/dist/esm-es5/{global-90da933f.js → global-e0e25c22.js} +2 -2
- package/dist/esm-es5/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-brand_31.entry.js +2 -2
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-2d8c368c.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.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-b67467b4.js → sqm-portal-profile-view-f1deea0f.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
- package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
- package/dist/esm-es5/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
- package/dist/esm-es5/sqm-program-explainer.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/esm-es5/useDemoBigStat-d227b2f9.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-a6094ff9.system.js → p-02dc36a4.system.js} +1 -1
- package/dist/mint-components/{p-3ce2fb83.system.js → p-03e93c82.system.js} +1 -1
- package/dist/mint-components/p-0d8b2757.system.entry.js +1 -0
- package/dist/mint-components/{p-b608f7a4.system.js → p-0e8ae7e3.system.js} +1 -1
- package/dist/mint-components/{p-3b6228f4.system.js → p-10103ce2.system.js} +1 -1
- package/dist/mint-components/{p-221a4097.entry.js → p-1705e549.entry.js} +1 -1
- package/dist/mint-components/{p-2d6421b6.system.js → p-1b5b5928.system.js} +1 -1
- package/dist/mint-components/{p-0eb3e89c.js → p-1f95b411.js} +1 -1
- package/dist/mint-components/{p-44d0fc80.system.entry.js → p-2027edc0.system.entry.js} +1 -1
- package/dist/mint-components/{p-a4c2c7ed.entry.js → p-20c95798.entry.js} +1 -1
- package/dist/mint-components/{p-b1bb07db.entry.js → p-21b4044a.entry.js} +1 -1
- package/dist/mint-components/{p-9e4e397a.system.entry.js → p-21df3f85.system.entry.js} +1 -1
- package/dist/mint-components/{p-db2e4c42.js → p-221bd06e.js} +1 -1
- package/dist/mint-components/p-2338162a.entry.js +1 -0
- package/dist/mint-components/{p-73148868.system.entry.js → p-24fa8920.system.entry.js} +1 -1
- package/dist/mint-components/{p-e6d77d20.system.entry.js → p-29ee7d11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e7f633b9.system.js → p-2e63dcfd.system.js} +1 -1
- package/dist/mint-components/{p-9d6dbb2d.entry.js → p-3143cce4.entry.js} +1 -1
- package/dist/mint-components/p-34112d74.entry.js +1 -0
- package/dist/mint-components/{p-3b97aed8.system.js → p-40e83a85.system.js} +1 -1
- package/dist/mint-components/{p-be2738b0.system.entry.js → p-46493de5.system.entry.js} +1 -1
- package/dist/mint-components/{p-1dcdca58.system.entry.js → p-4658d225.system.entry.js} +1 -1
- package/dist/mint-components/{p-6882070c.js → p-4b719313.js} +1 -1
- package/dist/mint-components/{p-29fab29b.entry.js → p-53e51b3f.entry.js} +1 -1
- package/dist/mint-components/p-5939212e.system.entry.js +1 -0
- package/dist/mint-components/{p-d35b0366.js → p-5d925bb6.js} +1 -1
- package/dist/mint-components/{p-c6114bfe.system.js → p-5e4e7f01.system.js} +1 -1
- package/dist/mint-components/{p-224504ad.js → p-61acba7a.js} +1 -1
- package/dist/mint-components/{p-f17050de.entry.js → p-65c79eec.entry.js} +1 -1
- package/dist/mint-components/{p-bf1b79ba.entry.js → p-748ad4f5.entry.js} +1 -1
- package/dist/mint-components/{p-52802c88.entry.js → p-759d3800.entry.js} +2 -2
- package/dist/mint-components/{p-49cbd0a2.entry.js → p-760762d3.entry.js} +2 -2
- package/dist/mint-components/{p-33c5ffb7.entry.js → p-7cdbe82a.entry.js} +1 -1
- package/dist/mint-components/{p-84dc4854.entry.js → p-7cec5098.entry.js} +4 -3
- package/dist/mint-components/{p-223b42bd.system.entry.js → p-7ff22998.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c9c4477.js → p-81786aa0.js} +1 -1
- package/dist/mint-components/p-85efd952.entry.js +1 -0
- package/dist/mint-components/p-86255b95.entry.js +1 -0
- package/dist/mint-components/{p-24c9a599.system.entry.js → p-88fdfd94.system.entry.js} +1 -1
- package/dist/mint-components/{p-c3f91add.system.entry.js → p-8ec5127e.system.entry.js} +1 -1
- package/dist/mint-components/{p-46a4269a.js → p-8fd8682c.js} +1 -1
- package/dist/mint-components/{p-412a9226.system.entry.js → p-97b946c2.system.entry.js} +1 -1
- package/dist/mint-components/p-9be0cb19.entry.js +1 -0
- package/dist/mint-components/{p-1a09e4e1.system.entry.js → p-a0a26fc5.system.entry.js} +1 -1
- package/dist/mint-components/{p-304e6c82.system.entry.js → p-a355eeaf.system.entry.js} +1 -1
- package/dist/mint-components/p-a4bd0778.system.entry.js +58 -0
- package/dist/mint-components/{p-67ae18d1.system.entry.js → p-a8246a50.system.entry.js} +1 -1
- package/dist/mint-components/p-a831de18.entry.js +1 -0
- package/dist/mint-components/p-a833dbb3.js +1 -0
- package/dist/mint-components/p-a88a08bb.system.js +1 -0
- package/dist/mint-components/{p-b8bd2607.entry.js → p-a9a6f205.entry.js} +1 -1
- package/dist/mint-components/{p-6e245fa3.system.entry.js → p-aee83885.system.entry.js} +1 -1
- package/dist/mint-components/{p-cca9026f.system.entry.js → p-b86cbac3.system.entry.js} +1 -1
- package/dist/mint-components/{p-07c924fa.system.js → p-be3a0cc4.system.js} +1 -1
- package/dist/mint-components/{p-3397167c.entry.js → p-c0f9d0b1.entry.js} +1 -1
- package/dist/mint-components/{p-60855d33.system.js → p-c65cfc9d.system.js} +1 -1
- package/dist/mint-components/{p-dc603d08.system.entry.js → p-ca40dbaa.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c554ca0.system.js → p-cc189fc4.system.js} +1 -1
- package/dist/mint-components/{p-fce1dbf6.entry.js → p-cc652a53.entry.js} +1 -1
- package/dist/mint-components/{p-f90486ca.js → p-d19d6012.js} +15 -15
- package/dist/mint-components/p-d3c7dbfc.entry.js +1 -0
- package/dist/mint-components/{p-24b3c6f0.system.entry.js → p-d4a1bce9.system.entry.js} +1 -1
- package/dist/mint-components/p-d68f6b64.system.entry.js +1 -0
- package/dist/mint-components/p-e36ff7fa.entry.js +1 -0
- package/dist/mint-components/{p-723ebe45.entry.js → p-e608f340.entry.js} +2 -2
- package/dist/mint-components/{p-c79c608d.system.entry.js → p-e7cb4274.system.entry.js} +1 -1
- package/dist/mint-components/{p-bc8b6125.js → p-ee684b5f.js} +1 -1
- package/dist/mint-components/{p-6bf0a4d9.system.entry.js → p-ef7f70f2.system.entry.js} +1 -1
- package/dist/mint-components/{p-396bf448.system.entry.js → p-f20d9204.system.entry.js} +1 -1
- package/dist/mint-components/{p-96a1967b.entry.js → p-f5cfc52a.entry.js} +1 -1
- package/dist/mint-components/{p-d21e0dbd.js → p-f7f87338.js} +1 -1
- package/dist/mint-components/{p-cdeae699.system.js → p-f9ada3d7.system.js} +1 -1
- package/dist/mint-components/{p-563253e8.js → p-faf66fdb.js} +1 -1
- package/dist/mint-components/p-fcd03042.entry.js +1 -0
- package/dist/mint-components/{p-69bcf4fa.system.entry.js → p-fd281e6b.system.entry.js} +1 -1
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +1 -1
- 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-view.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
- package/dist/types/components.d.ts +16 -16
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-a3f510db.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f2304ad9.js +0 -1
- package/dist/esm-es5/useDemoBigStat-c3b955b7.js +0 -1
- package/dist/mint-components/p-160bd62f.entry.js +0 -1
- package/dist/mint-components/p-16f5a7cb.system.js +0 -1
- package/dist/mint-components/p-1c8b0290.entry.js +0 -1
- package/dist/mint-components/p-20d41ab1.entry.js +0 -1
- package/dist/mint-components/p-3d856985.entry.js +0 -1
- package/dist/mint-components/p-4052b948.system.entry.js +0 -1
- package/dist/mint-components/p-45c752a0.entry.js +0 -1
- package/dist/mint-components/p-5480e4ee.entry.js +0 -1
- package/dist/mint-components/p-5f4d838e.system.entry.js +0 -58
- package/dist/mint-components/p-8435a22d.entry.js +0 -1
- package/dist/mint-components/p-883a32e7.entry.js +0 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
- package/dist/mint-components/p-a2c3cff3.js +0 -1
- package/dist/mint-components/p-ade44a4e.entry.js +0 -1
- package/dist/mint-components/p-d174d0bc.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host, d as getAssetPath } from './index-17b4da69.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, m as h, e as useEffect, j as useState, f as useRef, n as d$2, y as y$1, b as browser, u as useReducer, k as useMemo } from './extends-3a3f9fe2.js';
|
|
3
|
-
import { i as intl, a as insertCSS } from './global-
|
|
3
|
+
import { i as intl, a as insertCSS } from './global-e0e25c22.js';
|
|
4
4
|
import { u as useCallback } from './use-callback-b38a1523.js';
|
|
5
|
-
import { d as dist,
|
|
5
|
+
import { d as dist, n as ne$1, c as cn, D as De, j as j$1, a as sn, b as mn, H as He, $ as $e, S as S$1, V as Ve, M as M$1, p as pn, v as vn, x as x$1, e as D$1, Y, z as ze, A as A$1 } from './index.module-eb50a8d2.js';
|
|
6
6
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
7
7
|
import { j as jss, c as create } from './jss-preset-default.esm-71fae192.js';
|
|
8
8
|
import { g as getProps, a as getMissingProps } from './utils-454405f5.js';
|
|
@@ -11,25 +11,25 @@ import { E as ErrorStyles, H as HostBlock, A as AuthWrapper, a as AuthColumn, b
|
|
|
11
11
|
import { P as PortalContainerView } from './sqm-portal-container-view-73757ca5.js';
|
|
12
12
|
import { P as PortalSectionView } from './sqm-portal-section-view-f0876545.js';
|
|
13
13
|
import { T as TextSpanView } from './sqm-text-span-view-1781df94.js';
|
|
14
|
-
import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-
|
|
15
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
14
|
+
import { g as gql, L as LeaderboardRankView } from './sqm-leaderboard-rank-view-cd1e8962.js';
|
|
15
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-6d5b856e.js';
|
|
16
16
|
import { S as ShareLinkView } from './sqm-share-link-view-9282b8e8.js';
|
|
17
|
-
import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-
|
|
18
|
-
import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './ShadowViewAddon-
|
|
17
|
+
import { p as pathToRegexp, B as BigStatView, u as useBigStat, a as useDemoBigStat } from './useDemoBigStat-d227b2f9.js';
|
|
18
|
+
import { L as LeaderboardView, u as useLeaderboard, S as ShadowViewAddon } from './ShadowViewAddon-558fabb7.js';
|
|
19
19
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-2242502c.js';
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-2d8c368c.js';
|
|
21
21
|
import { S as StatContainerView } from './sqm-stat-container-view-4133feb6.js';
|
|
22
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
22
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-f1deea0f.js';
|
|
23
23
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-e3a6a716.js';
|
|
24
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
24
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-2af31979.js';
|
|
25
25
|
import { P as PortalResetPasswordView$1 } from './sqm-portal-reset-password-view-a4e50da2.js';
|
|
26
26
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-6f18bac2.js';
|
|
27
27
|
import { A as AssetCardView } from './sqm-asset-card-view-6f360937.js';
|
|
28
|
-
import { P as PoweredByImg$1, a as PortalFooterView } from './sqm-portal-footer-view-
|
|
28
|
+
import { P as PoweredByImg$1, a as PortalFooterView } from './sqm-portal-footer-view-60cd9ae5.js';
|
|
29
29
|
import { H as HeroView } from './sqm-hero-view-bfd8abd1.js';
|
|
30
30
|
import { N as NameFieldsView } from './sqm-name-fields-view-4162fb7b.js';
|
|
31
|
-
import { P as ProgramExplainerView } from './sqm-program-explainer-view-
|
|
32
|
-
import { P as ProgramExplainerStepView } from './sqm-program-explainer-step-view-
|
|
31
|
+
import { P as ProgramExplainerView } from './sqm-program-explainer-view-098a64a9.js';
|
|
32
|
+
import { P as ProgramExplainerStepView } from './sqm-program-explainer-step-view-41c1eecd.js';
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Build a font CSS URL using the Google Fonts CSS API
|
|
@@ -3514,13 +3514,13 @@ const defaultFormState = {
|
|
|
3514
3514
|
error: "",
|
|
3515
3515
|
};
|
|
3516
3516
|
function useEditProfile(props) {
|
|
3517
|
-
const userIdent =
|
|
3517
|
+
const userIdent = ne$1();
|
|
3518
3518
|
const [showEdit, setShowEdit] = useState(false);
|
|
3519
3519
|
const [error, setError] = useState("");
|
|
3520
3520
|
const [userData, setUserData] = useState(undefined);
|
|
3521
3521
|
const [formState, setFormState] = useState(defaultFormState);
|
|
3522
|
-
const userDataResponse =
|
|
3523
|
-
const [upsertUser, upsertUserResponse] =
|
|
3522
|
+
const userDataResponse = cn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
3523
|
+
const [upsertUser, upsertUserResponse] = De(UPSERT_USER);
|
|
3524
3524
|
useEffect(() => {
|
|
3525
3525
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
3526
3526
|
return;
|
|
@@ -3746,12 +3746,12 @@ function NavigationMenuView(props) {
|
|
|
3746
3746
|
}
|
|
3747
3747
|
|
|
3748
3748
|
function handleMenu(e) {
|
|
3749
|
-
|
|
3749
|
+
mn.push(e.detail.item.value);
|
|
3750
3750
|
}
|
|
3751
3751
|
function useNavigationMenu(props) {
|
|
3752
3752
|
const ref = useRef();
|
|
3753
|
-
const [, rerender] =
|
|
3754
|
-
const user =
|
|
3753
|
+
const [, rerender] = sn();
|
|
3754
|
+
const user = ne$1();
|
|
3755
3755
|
useEffect(() => {
|
|
3756
3756
|
var _a;
|
|
3757
3757
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -4445,11 +4445,11 @@ function PortalChangePasswordView(props) {
|
|
|
4445
4445
|
|
|
4446
4446
|
function usePortalChangePassword(props) {
|
|
4447
4447
|
var _a, _b, _c, _d;
|
|
4448
|
-
const [request, { loading, errors, data }] =
|
|
4448
|
+
const [request, { loading, errors, data }] = He();
|
|
4449
4449
|
const [open, setOpen] = useState(false);
|
|
4450
4450
|
const [error, setError] = useState("");
|
|
4451
4451
|
const [success, setSuccess] = useState(false);
|
|
4452
|
-
const user =
|
|
4452
|
+
const user = ne$1();
|
|
4453
4453
|
const submit = async (event) => {
|
|
4454
4454
|
var _a;
|
|
4455
4455
|
setSuccess(false);
|
|
@@ -4624,7 +4624,7 @@ function PortalFrameView(props, children) {
|
|
|
4624
4624
|
}
|
|
4625
4625
|
|
|
4626
4626
|
function usePortalFrame(footerContent, headerContent) {
|
|
4627
|
-
const [, rerender] =
|
|
4627
|
+
const [, rerender] = sn();
|
|
4628
4628
|
return {
|
|
4629
4629
|
data: {
|
|
4630
4630
|
footer: footerContent,
|
|
@@ -4712,7 +4712,7 @@ function PortalLoginView(props) {
|
|
|
4712
4712
|
|
|
4713
4713
|
function usePortalLogin({ nextPage }) {
|
|
4714
4714
|
var _a, _b, _c, _d;
|
|
4715
|
-
const [request, { loading, errors, data }] =
|
|
4715
|
+
const [request, { loading, errors, data }] = $e();
|
|
4716
4716
|
const [error, setError] = useState("");
|
|
4717
4717
|
const urlParams = new URLSearchParams(window.location.search);
|
|
4718
4718
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -4729,7 +4729,7 @@ function usePortalLogin({ nextPage }) {
|
|
|
4729
4729
|
var _a;
|
|
4730
4730
|
if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
4731
4731
|
urlParams.delete("nextPage");
|
|
4732
|
-
|
|
4732
|
+
mn.push({
|
|
4733
4733
|
pathname: nextPageOverride || nextPage,
|
|
4734
4734
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
4735
4735
|
});
|
|
@@ -4793,8 +4793,8 @@ const PortalLogin = class {
|
|
|
4793
4793
|
? useLoginDemo(this)
|
|
4794
4794
|
: usePortalLogin(this);
|
|
4795
4795
|
const content = {
|
|
4796
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
4797
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
4796
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => mn.push("/forgotPassword") }, this.forgotPasswordLabel))),
|
|
4797
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => mn.push("/register") }, this.registerLabel))),
|
|
4798
4798
|
emailLabel: this.emailLabel,
|
|
4799
4799
|
passwordLabel: this.passwordLabel,
|
|
4800
4800
|
submitLabel: this.submitLabel,
|
|
@@ -4887,7 +4887,7 @@ function PortalRegisterView(props) {
|
|
|
4887
4887
|
|
|
4888
4888
|
const CONTEXT_NAME$1 = "sq:validation-state";
|
|
4889
4889
|
function useValidationState(formState) {
|
|
4890
|
-
const host =
|
|
4890
|
+
const host = S$1();
|
|
4891
4891
|
const [validationState, setValidationState] = y$1(host, CONTEXT_NAME$1, formState);
|
|
4892
4892
|
return { validationState, setValidationState };
|
|
4893
4893
|
}
|
|
@@ -8767,7 +8767,7 @@ function usePortalRegister(props) {
|
|
|
8767
8767
|
var _a, _b, _c, _d, _e, _f;
|
|
8768
8768
|
const formRef = useRef(null);
|
|
8769
8769
|
const { validationState, setValidationState } = useValidationState({});
|
|
8770
|
-
const [request, { loading, errors, data }] =
|
|
8770
|
+
const [request, { loading, errors, data }] = Ve();
|
|
8771
8771
|
const submit = async (event) => {
|
|
8772
8772
|
let formControls = event.target.getFormControls();
|
|
8773
8773
|
let formData = {};
|
|
@@ -8830,7 +8830,7 @@ function usePortalRegister(props) {
|
|
|
8830
8830
|
useEffect(() => {
|
|
8831
8831
|
var _a;
|
|
8832
8832
|
if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
8833
|
-
|
|
8833
|
+
mn.push(props.nextPage);
|
|
8834
8834
|
}
|
|
8835
8835
|
}, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
8836
8836
|
useEffect(() => {
|
|
@@ -8924,7 +8924,7 @@ const PortalRegister = class {
|
|
|
8924
8924
|
: usePortalRegister(this);
|
|
8925
8925
|
const content = {
|
|
8926
8926
|
formData: h$1("slot", { name: "formData" }),
|
|
8927
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
8927
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => mn.push("/login") }, this.loginLabel))),
|
|
8928
8928
|
emailLabel: this.emailLabel,
|
|
8929
8929
|
passwordLabel: this.passwordLabel,
|
|
8930
8930
|
submitLabel: this.submitLabel,
|
|
@@ -8959,10 +8959,10 @@ const debug = browser('sq:useProgramMenu');
|
|
|
8959
8959
|
const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
|
|
8960
8960
|
function useProgramMenu(props) {
|
|
8961
8961
|
const programId = M$1();
|
|
8962
|
-
const host =
|
|
8962
|
+
const host = S$1();
|
|
8963
8963
|
debug({ programId, props });
|
|
8964
8964
|
const ref = useRef();
|
|
8965
|
-
const [, rerender] =
|
|
8965
|
+
const [, rerender] = sn();
|
|
8966
8966
|
useEffect(() => {
|
|
8967
8967
|
var _a;
|
|
8968
8968
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
|
|
@@ -9011,8 +9011,8 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
9011
9011
|
function useReferralIframe(props) {
|
|
9012
9012
|
var _a;
|
|
9013
9013
|
const programId = M$1();
|
|
9014
|
-
const user =
|
|
9015
|
-
const { data } =
|
|
9014
|
+
const user = ne$1();
|
|
9015
|
+
const { data } = cn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
9016
9016
|
return {
|
|
9017
9017
|
states: {
|
|
9018
9018
|
content: props,
|
|
@@ -9076,7 +9076,7 @@ const styleString$5 = sheet$5.toString();
|
|
|
9076
9076
|
function RequiredPropsError({ missingProps }) {
|
|
9077
9077
|
if (!missingProps)
|
|
9078
9078
|
return false;
|
|
9079
|
-
const host =
|
|
9079
|
+
const host = S$1();
|
|
9080
9080
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
9081
9081
|
return (h$1("sl-alert", { type: "danger", open: true, class: sheet$5.classes.Alert },
|
|
9082
9082
|
h$1("style", { type: "text/css" }, styleString$5),
|
|
@@ -9193,7 +9193,7 @@ function ReferralTableView(props) {
|
|
|
9193
9193
|
}
|
|
9194
9194
|
|
|
9195
9195
|
function useChildElements() {
|
|
9196
|
-
const host =
|
|
9196
|
+
const host = S$1();
|
|
9197
9197
|
const initialState = host.children.length ? Array.from(host.children) : [];
|
|
9198
9198
|
const [childElements, setChildElements] = useState(initialState);
|
|
9199
9199
|
useEffect(() => {
|
|
@@ -9366,7 +9366,7 @@ const GET_REFERRAL_DATA = gql `
|
|
|
9366
9366
|
`;
|
|
9367
9367
|
function useReferralTable(props, emptyElement, loadingElement) {
|
|
9368
9368
|
var _a, _b;
|
|
9369
|
-
const user =
|
|
9369
|
+
const user = ne$1();
|
|
9370
9370
|
const programIdContext = M$1();
|
|
9371
9371
|
// Default to context, overriden by props
|
|
9372
9372
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
@@ -9389,13 +9389,13 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
9389
9389
|
loading: false,
|
|
9390
9390
|
page: 0,
|
|
9391
9391
|
});
|
|
9392
|
-
const { data: referrerResponse, loading: referrerLoading, refetch, } =
|
|
9392
|
+
const { data: referrerResponse, loading: referrerLoading, refetch, } = cn(GET_REFERRER_DATA, {
|
|
9393
9393
|
programId: programId === "classic" ? null : programId,
|
|
9394
9394
|
rewardFilter,
|
|
9395
9395
|
}, !props.showReferrer || !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
9396
9396
|
const referrerData = (_b = referrerResponse === null || referrerResponse === void 0 ? void 0 : referrerResponse.viewer) === null || _b === void 0 ? void 0 : _b.referredByReferral;
|
|
9397
9397
|
const showReferrerRow = props.showReferrer && !!(referrerData === null || referrerData === void 0 ? void 0 : referrerData.dateReferralStarted);
|
|
9398
|
-
const { envelope: referralData, states, callbacks, } =
|
|
9398
|
+
const { envelope: referralData, states, callbacks, } = pn(GET_REFERRAL_DATA, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.referrals; }, {
|
|
9399
9399
|
limit: props.perPage,
|
|
9400
9400
|
offset: 0,
|
|
9401
9401
|
}, {
|
|
@@ -18101,6 +18101,7 @@ const GET_EXCHANGE_LIST = dist.gql `
|
|
|
18101
18101
|
available
|
|
18102
18102
|
globalRewardKey
|
|
18103
18103
|
unavailableReasonCode
|
|
18104
|
+
rewardInput
|
|
18104
18105
|
}
|
|
18105
18106
|
}
|
|
18106
18107
|
totalCount
|
|
@@ -18133,9 +18134,9 @@ function useRewardExchangeList(props) {
|
|
|
18133
18134
|
});
|
|
18134
18135
|
const [open, setOpen] = useState(false);
|
|
18135
18136
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
18136
|
-
const user =
|
|
18137
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] =
|
|
18138
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
18137
|
+
const user = ne$1();
|
|
18138
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = De(EXCHANGE);
|
|
18139
|
+
const { data, loading, refetch, errors: queryError, } = cn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
18139
18140
|
useEffect(() => {
|
|
18140
18141
|
var _a, _b;
|
|
18141
18142
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -18181,9 +18182,7 @@ function useRewardExchangeList(props) {
|
|
|
18181
18182
|
unit: selectedItem.sourceUnit,
|
|
18182
18183
|
},
|
|
18183
18184
|
globalRewardKey: selectedItem.globalRewardKey,
|
|
18184
|
-
rewardInput:
|
|
18185
|
-
valueInCents: selectedStep.destinationValue,
|
|
18186
|
-
},
|
|
18185
|
+
rewardInput: selectedStep.rewardInput,
|
|
18187
18186
|
};
|
|
18188
18187
|
break;
|
|
18189
18188
|
case "VARIABLE_CREDIT_REWARD":
|
|
@@ -18203,11 +18202,7 @@ function useRewardExchangeList(props) {
|
|
|
18203
18202
|
default:
|
|
18204
18203
|
exchangeVariables = {
|
|
18205
18204
|
...exchangeVariables,
|
|
18206
|
-
|
|
18207
|
-
amount: selectedItem.sourceValue,
|
|
18208
|
-
unit: selectedItem.sourceUnit,
|
|
18209
|
-
},
|
|
18210
|
-
globalRewardKey: selectedItem.globalRewardKey,
|
|
18205
|
+
...selectedStep.rewardInput,
|
|
18211
18206
|
};
|
|
18212
18207
|
}
|
|
18213
18208
|
exchange({ exchangeRewardInput: exchangeVariables });
|
|
@@ -19080,7 +19075,7 @@ const GET_REWARDS = gql `
|
|
|
19080
19075
|
`;
|
|
19081
19076
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
19082
19077
|
var _a, _b;
|
|
19083
|
-
const user =
|
|
19078
|
+
const user = ne$1();
|
|
19084
19079
|
const programIdContext = M$1();
|
|
19085
19080
|
// Default to context, overriden by props
|
|
19086
19081
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
@@ -19103,7 +19098,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
19103
19098
|
loading: false,
|
|
19104
19099
|
page: 0,
|
|
19105
19100
|
});
|
|
19106
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
19101
|
+
const { envelope: rewardsData, states, callbacks, } = pn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
19107
19102
|
limit: props.perPage,
|
|
19108
19103
|
offset: 0,
|
|
19109
19104
|
}, {
|
|
@@ -19305,8 +19300,8 @@ function matchPath(pattern, page) {
|
|
|
19305
19300
|
return regexp.exec(page);
|
|
19306
19301
|
}
|
|
19307
19302
|
function useRouter() {
|
|
19308
|
-
const location =
|
|
19309
|
-
const host =
|
|
19303
|
+
const location = vn();
|
|
19304
|
+
const host = S$1();
|
|
19310
19305
|
const [slot, setSlot] = useState(undefined);
|
|
19311
19306
|
const [container, setContainer] = useState(undefined);
|
|
19312
19307
|
const page = location.pathname;
|
|
@@ -19465,14 +19460,14 @@ function useShareButton(props) {
|
|
|
19465
19460
|
var _a, _b;
|
|
19466
19461
|
const { sharetitle, sharetext, medium } = props;
|
|
19467
19462
|
const programId = props.programId ? props.programId : M$1();
|
|
19468
|
-
const user =
|
|
19463
|
+
const user = ne$1();
|
|
19469
19464
|
const variables = {
|
|
19470
19465
|
engagementMedium: x$1(),
|
|
19471
19466
|
programId: programId,
|
|
19472
19467
|
shareMedium: medium.toUpperCase(),
|
|
19473
19468
|
};
|
|
19474
19469
|
// only queries if a programId is available
|
|
19475
|
-
const res =
|
|
19470
|
+
const res = cn(MessageLinkQuery, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
19476
19471
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
19477
19472
|
const environment = D$1();
|
|
19478
19473
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -19567,10 +19562,10 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
19567
19562
|
function useShareLink(props) {
|
|
19568
19563
|
var _a, _b;
|
|
19569
19564
|
const { programId = M$1() } = props;
|
|
19570
|
-
const user =
|
|
19565
|
+
const user = ne$1();
|
|
19571
19566
|
const engagementMedium = x$1();
|
|
19572
|
-
const { data } =
|
|
19573
|
-
const [sendLoadEvent] =
|
|
19567
|
+
const { data } = cn(MessageLinkQuery$1, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
19568
|
+
const [sendLoadEvent] = De(WIDGET_ENGAGEMENT_EVENT);
|
|
19574
19569
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
19575
19570
|
// Shown during loading
|
|
19576
19571
|
"...";
|
|
@@ -21426,36 +21421,36 @@ const routes = `
|
|
|
21426
21421
|
`;
|
|
21427
21422
|
const TemplateNavigation = createHookStory(() => {
|
|
21428
21423
|
return (h$1("div", null,
|
|
21429
|
-
h$1("button", { onClick: () =>
|
|
21430
|
-
h$1("button", { onClick: () =>
|
|
21431
|
-
h$1("button", { onClick: () =>
|
|
21432
|
-
h$1("button", { onClick: () =>
|
|
21433
|
-
h$1("button", { onClick: () =>
|
|
21434
|
-
h$1("button", { onClick: () =>
|
|
21435
|
-
h$1("button", { onClick: () =>
|
|
21436
|
-
h$1("button", { onClick: () =>
|
|
21437
|
-
h$1("button", { onClick: () =>
|
|
21424
|
+
h$1("button", { onClick: () => mn.push("/") }, "/"),
|
|
21425
|
+
h$1("button", { onClick: () => mn.push("/foo") }, "/foo"),
|
|
21426
|
+
h$1("button", { onClick: () => mn.push("/bar") }, "/bar"),
|
|
21427
|
+
h$1("button", { onClick: () => mn.push("/baz/bang") }, "/baz/bang"),
|
|
21428
|
+
h$1("button", { onClick: () => mn.push("/refer") }, "/refer"),
|
|
21429
|
+
h$1("button", { onClick: () => mn.push("/refer/1") }, "/refer/1"),
|
|
21430
|
+
h$1("button", { onClick: () => mn.push("/refer/2") }, "/refer/2"),
|
|
21431
|
+
h$1("button", { onClick: () => mn.back() }, "Back"),
|
|
21432
|
+
h$1("button", { onClick: () => mn.forward() }, "Forward"),
|
|
21438
21433
|
h$1("hr", null),
|
|
21439
21434
|
h$1("sqm-router", { innerHTML: templates })));
|
|
21440
21435
|
});
|
|
21441
21436
|
const RouteNavigation = createHookStory(() => {
|
|
21442
21437
|
return (h$1("div", null,
|
|
21443
|
-
h$1("button", { onClick: () =>
|
|
21444
|
-
h$1("button", { onClick: () =>
|
|
21445
|
-
h$1("button", { onClick: () =>
|
|
21446
|
-
h$1("button", { onClick: () =>
|
|
21447
|
-
h$1("button", { onClick: () =>
|
|
21448
|
-
h$1("button", { onClick: () =>
|
|
21449
|
-
h$1("button", { onClick: () =>
|
|
21450
|
-
h$1("button", { onClick: () =>
|
|
21451
|
-
h$1("button", { onClick: () =>
|
|
21438
|
+
h$1("button", { onClick: () => mn.push("/") }, "/"),
|
|
21439
|
+
h$1("button", { onClick: () => mn.push("/foo") }, "/foo"),
|
|
21440
|
+
h$1("button", { onClick: () => mn.push("/bar") }, "/bar"),
|
|
21441
|
+
h$1("button", { onClick: () => mn.push("/baz/bang") }, "/baz/bang"),
|
|
21442
|
+
h$1("button", { onClick: () => mn.push("/refer") }, "/refer"),
|
|
21443
|
+
h$1("button", { onClick: () => mn.push("/refer/1") }, "/refer/1"),
|
|
21444
|
+
h$1("button", { onClick: () => mn.push("/refer/2") }, "/refer/2"),
|
|
21445
|
+
h$1("button", { onClick: () => mn.back() }, "Back"),
|
|
21446
|
+
h$1("button", { onClick: () => mn.forward() }, "Forward"),
|
|
21452
21447
|
h$1("hr", null),
|
|
21453
21448
|
h$1("sqm-router", { innerHTML: routes })));
|
|
21454
21449
|
});
|
|
21455
21450
|
const Styling = createHookStory(() => {
|
|
21456
21451
|
return (h$1("div", null,
|
|
21457
|
-
h$1("button", { onClick: () =>
|
|
21458
|
-
h$1("button", { onClick: () =>
|
|
21452
|
+
h$1("button", { onClick: () => mn.push("/") }, "/"),
|
|
21453
|
+
h$1("button", { onClick: () => mn.push("/foo") }, "/foo"),
|
|
21459
21454
|
h$1("hr", null),
|
|
21460
21455
|
h$1("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
21461
21456
|
h$1("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -21469,7 +21464,7 @@ function useTemplate(templateString) {
|
|
|
21469
21464
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
21470
21465
|
function setPath(e) {
|
|
21471
21466
|
//@ts-ignore
|
|
21472
|
-
|
|
21467
|
+
mn.push(e.target.value);
|
|
21473
21468
|
}
|
|
21474
21469
|
return {
|
|
21475
21470
|
states: { previewTemplate, editedTemplate },
|
|
@@ -21612,8 +21607,8 @@ const FullStackFrame = () => {
|
|
|
21612
21607
|
"Current path:",
|
|
21613
21608
|
" ",
|
|
21614
21609
|
h$1("code", null,
|
|
21615
|
-
h$1("strong", null, (_a =
|
|
21616
|
-
h$1("button", { onClick:
|
|
21610
|
+
h$1("strong", null, (_a = vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
21611
|
+
h$1("button", { onClick: mn.back }, "Go Back")));
|
|
21617
21612
|
};
|
|
21618
21613
|
const FullStackFrameLoggedOut = () => {
|
|
21619
21614
|
var _a;
|
|
@@ -21637,8 +21632,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
21637
21632
|
"Current path:",
|
|
21638
21633
|
" ",
|
|
21639
21634
|
h$1("code", null,
|
|
21640
|
-
h$1("strong", null, (_a =
|
|
21641
|
-
h$1("button", { onClick:
|
|
21635
|
+
h$1("strong", null, (_a = vn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
21636
|
+
h$1("button", { onClick: mn.back }, "Go Back")));
|
|
21642
21637
|
};
|
|
21643
21638
|
|
|
21644
21639
|
const PortalFrame$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -21732,14 +21727,14 @@ function setupGraphQL$1() {
|
|
|
21732
21727
|
programId,
|
|
21733
21728
|
};
|
|
21734
21729
|
useEffect(() => {
|
|
21735
|
-
|
|
21730
|
+
Y({
|
|
21736
21731
|
accountId,
|
|
21737
21732
|
id,
|
|
21738
21733
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
21739
21734
|
});
|
|
21740
21735
|
return () => {
|
|
21741
21736
|
window.widgetIdent = undefined;
|
|
21742
|
-
|
|
21737
|
+
Y(undefined);
|
|
21743
21738
|
};
|
|
21744
21739
|
}, []);
|
|
21745
21740
|
}
|
|
@@ -21794,14 +21789,14 @@ function setupGraphQL$2() {
|
|
|
21794
21789
|
programId,
|
|
21795
21790
|
};
|
|
21796
21791
|
useEffect(() => {
|
|
21797
|
-
|
|
21792
|
+
Y({
|
|
21798
21793
|
accountId,
|
|
21799
21794
|
id,
|
|
21800
21795
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
21801
21796
|
});
|
|
21802
21797
|
return () => {
|
|
21803
21798
|
window.widgetIdent = undefined;
|
|
21804
|
-
|
|
21799
|
+
Y(undefined);
|
|
21805
21800
|
};
|
|
21806
21801
|
}, []);
|
|
21807
21802
|
}
|
|
@@ -21856,14 +21851,14 @@ function setupGraphQL$3() {
|
|
|
21856
21851
|
programId,
|
|
21857
21852
|
};
|
|
21858
21853
|
useEffect(() => {
|
|
21859
|
-
|
|
21854
|
+
Y({
|
|
21860
21855
|
accountId,
|
|
21861
21856
|
id,
|
|
21862
21857
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6Im55bmVsbGllIiwiaWQiOiJueW5lbGxpZSJ9fQ.3KV974VPLgk4tD8LQfJTi4IPkKCmnaB8w48HzVJYDuI",
|
|
21863
21858
|
});
|
|
21864
21859
|
return () => {
|
|
21865
21860
|
window.widgetIdent = undefined;
|
|
21866
|
-
|
|
21861
|
+
Y(undefined);
|
|
21867
21862
|
};
|
|
21868
21863
|
}, []);
|
|
21869
21864
|
}
|
|
@@ -21987,14 +21982,14 @@ function setupGraphQL$4() {
|
|
|
21987
21982
|
programId,
|
|
21988
21983
|
};
|
|
21989
21984
|
useEffect(() => {
|
|
21990
|
-
|
|
21985
|
+
Y({
|
|
21991
21986
|
accountId,
|
|
21992
21987
|
id,
|
|
21993
21988
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
|
|
21994
21989
|
});
|
|
21995
21990
|
return () => {
|
|
21996
21991
|
window.widgetIdent = undefined;
|
|
21997
|
-
|
|
21992
|
+
Y(undefined);
|
|
21998
21993
|
};
|
|
21999
21994
|
}, []);
|
|
22000
21995
|
}
|
|
@@ -22034,14 +22029,14 @@ function setupGraphQL$5() {
|
|
|
22034
22029
|
programId,
|
|
22035
22030
|
};
|
|
22036
22031
|
useEffect(() => {
|
|
22037
|
-
|
|
22032
|
+
Y({
|
|
22038
22033
|
accountId,
|
|
22039
22034
|
id,
|
|
22040
22035
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
22041
22036
|
});
|
|
22042
22037
|
return () => {
|
|
22043
22038
|
window.widgetIdent = undefined;
|
|
22044
|
-
|
|
22039
|
+
Y(undefined);
|
|
22045
22040
|
};
|
|
22046
22041
|
}, []);
|
|
22047
22042
|
}
|
|
@@ -22161,14 +22156,14 @@ function setupGraphQL$6() {
|
|
|
22161
22156
|
programId,
|
|
22162
22157
|
};
|
|
22163
22158
|
useEffect(() => {
|
|
22164
|
-
|
|
22159
|
+
Y({
|
|
22165
22160
|
accountId,
|
|
22166
22161
|
id,
|
|
22167
22162
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
22168
22163
|
});
|
|
22169
22164
|
return () => {
|
|
22170
22165
|
window.widgetIdent = undefined;
|
|
22171
|
-
|
|
22166
|
+
Y(undefined);
|
|
22172
22167
|
};
|
|
22173
22168
|
}, []);
|
|
22174
22169
|
return { id, accountId };
|
|
@@ -22177,7 +22172,7 @@ function useExchangeButton() {
|
|
|
22177
22172
|
const { id, accountId } = setupGraphQL$6();
|
|
22178
22173
|
const [points, setPoints] = useState(10);
|
|
22179
22174
|
const [rate, setRate] = useState(100);
|
|
22180
|
-
const [exchange, { data, errors }] =
|
|
22175
|
+
const [exchange, { data, errors }] = ze(EXCHANGE$1);
|
|
22181
22176
|
return {
|
|
22182
22177
|
states: {
|
|
22183
22178
|
points,
|
|
@@ -22292,14 +22287,14 @@ function setupGraphQL$7() {
|
|
|
22292
22287
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
22293
22288
|
};
|
|
22294
22289
|
useEffect(() => {
|
|
22295
|
-
|
|
22290
|
+
Y({
|
|
22296
22291
|
accountId,
|
|
22297
22292
|
id,
|
|
22298
22293
|
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
22299
22294
|
});
|
|
22300
22295
|
return () => {
|
|
22301
22296
|
window.widgetIdent = undefined;
|
|
22302
|
-
|
|
22297
|
+
Y(undefined);
|
|
22303
22298
|
};
|
|
22304
22299
|
}, []);
|
|
22305
22300
|
return { id, accountId };
|
|
@@ -22339,14 +22334,14 @@ function setupGraphQL$8() {
|
|
|
22339
22334
|
programId,
|
|
22340
22335
|
};
|
|
22341
22336
|
useEffect(() => {
|
|
22342
|
-
|
|
22337
|
+
Y({
|
|
22343
22338
|
accountId,
|
|
22344
22339
|
id,
|
|
22345
22340
|
jwt: JWT,
|
|
22346
22341
|
});
|
|
22347
22342
|
return () => {
|
|
22348
22343
|
window.widgetIdent = undefined;
|
|
22349
|
-
|
|
22344
|
+
Y(undefined);
|
|
22350
22345
|
};
|
|
22351
22346
|
}, []);
|
|
22352
22347
|
return { id, accountId };
|
|
@@ -28877,16 +28872,16 @@ function DefaultTemplateView(props) {
|
|
|
28877
28872
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
28878
28873
|
gridGap: "10px",
|
|
28879
28874
|
} },
|
|
28880
|
-
h$1("button", { onClick: () =>
|
|
28881
|
-
props.leadSubmit && (h$1("button", { onClick: () =>
|
|
28882
|
-
h$1("button", { onClick: () =>
|
|
28883
|
-
h$1("button", { onClick: () =>
|
|
28884
|
-
h$1("button", { onClick: () =>
|
|
28885
|
-
h$1("button", { onClick: () =>
|
|
28886
|
-
h$1("button", { onClick: () =>
|
|
28887
|
-
h$1("button", { onClick: () =>
|
|
28888
|
-
h$1("button", { onClick: () =>
|
|
28889
|
-
h$1("button", { onClick: () =>
|
|
28875
|
+
h$1("button", { onClick: () => mn.push("/") }, "Dashboard"),
|
|
28876
|
+
props.leadSubmit && (h$1("button", { onClick: () => mn.push("/refer") }, "Submit a Referral")),
|
|
28877
|
+
h$1("button", { onClick: () => mn.push("/activity") }, "Activity"),
|
|
28878
|
+
h$1("button", { onClick: () => mn.push("/editProfile") }, "Edit Profile"),
|
|
28879
|
+
h$1("button", { onClick: () => mn.push("/login") }, "Login"),
|
|
28880
|
+
h$1("button", { onClick: () => mn.push("/register") }, "Register"),
|
|
28881
|
+
h$1("button", { onClick: () => mn.push("/emailVerification") }, "Email Verification"),
|
|
28882
|
+
h$1("button", { onClick: () => mn.push("/verifyEmail") }, "Verify Email"),
|
|
28883
|
+
h$1("button", { onClick: () => mn.push("/forgotPassword") }, "Forgot Password"),
|
|
28884
|
+
h$1("button", { onClick: () => mn.push("/resetPassword") }, "Reset Password")),
|
|
28890
28885
|
h$1("br", null),
|
|
28891
28886
|
h$1("div", { innerHTML: states.previewTemplate })));
|
|
28892
28887
|
}
|
|
@@ -29611,27 +29606,27 @@ const ProgramExplainer_stories = {
|
|
|
29611
29606
|
};
|
|
29612
29607
|
const props$2 = {
|
|
29613
29608
|
header: "Klip Rewards",
|
|
29614
|
-
|
|
29609
|
+
cardTitle: "Earn rewards with our loyalty program",
|
|
29615
29610
|
description: "Earn points by completing tasks like uploading your first video or sharing videos with friends. Use your points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America.",
|
|
29616
29611
|
color: "black",
|
|
29617
29612
|
background: "#F3F0EC",
|
|
29618
29613
|
};
|
|
29619
29614
|
const steps1 = {
|
|
29620
|
-
|
|
29615
|
+
cardTitle: "Invite your friends to Klip",
|
|
29621
29616
|
description: "Earn up to $1200 in rewards for each referral",
|
|
29622
29617
|
color: "white",
|
|
29623
29618
|
background: "#5B3EDA",
|
|
29624
29619
|
icon: "person-plus-fill",
|
|
29625
29620
|
};
|
|
29626
29621
|
const steps2 = {
|
|
29627
|
-
|
|
29622
|
+
cardTitle: "If your friend signs up for a Klip Business plan",
|
|
29628
29623
|
description: "Get a $50 VISA giftcard when they pay for their first month",
|
|
29629
29624
|
color: "black",
|
|
29630
29625
|
background: "#F3CC66",
|
|
29631
29626
|
icon: "server",
|
|
29632
29627
|
};
|
|
29633
29628
|
const steps3 = {
|
|
29634
|
-
|
|
29629
|
+
cardTitle: "If your friend signs up for a Klip Enterprise plan",
|
|
29635
29630
|
description: "Get up to $1200 in rewards - a $200 VISA giftcard when our sales team qualifies them as a good fit for Klip, and a $1000 VISA giftcard when they become a paying customer",
|
|
29636
29631
|
color: "black",
|
|
29637
29632
|
background: "#D3CCF5",
|
|
@@ -29666,7 +29661,7 @@ const ProgramExplainerStep_stories = {
|
|
|
29666
29661
|
};
|
|
29667
29662
|
const Example1 = () => {
|
|
29668
29663
|
const props = {
|
|
29669
|
-
|
|
29664
|
+
cardTitle: "Invite your friends to Klip",
|
|
29670
29665
|
description: "Earn up to $1200 in rewards for each referral",
|
|
29671
29666
|
color: "white",
|
|
29672
29667
|
background: "#5B3EDA",
|
|
@@ -32708,8 +32703,8 @@ const GET_USER_NAME = gql `
|
|
|
32708
32703
|
`;
|
|
32709
32704
|
function useUserName(props) {
|
|
32710
32705
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
32711
|
-
const user =
|
|
32712
|
-
const res =
|
|
32706
|
+
const user = ne$1();
|
|
32707
|
+
const res = cn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
32713
32708
|
const loading = res.loading;
|
|
32714
32709
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
32715
32710
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|