@saasquatch/mint-components 1.7.1 → 1.7.2-0
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-638315b0.js → ShadowViewAddon-d0a52d38.js} +6 -1
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +8 -8
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +7 -7
- package/dist/collection/components/sqm-share-link/useShareLink.js +6 -1
- package/dist/esm/{ShadowViewAddon-c15368cf.js → ShadowViewAddon-2c82b555.js} +6 -1
- package/dist/esm/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +8 -8
- package/dist/esm-es5/ShadowViewAddon-2c82b555.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-5f099cd8.entry.js → p-00196b47.entry.js} +1 -1
- package/dist/mint-components/p-0943b547.system.js +1 -1
- package/dist/mint-components/p-09cdd442.system.entry.js +1 -0
- package/dist/mint-components/{p-1756e474.system.entry.js → p-53f4f635.system.entry.js} +1 -1
- package/dist/mint-components/p-b9bf7576.system.js +1 -0
- package/dist/mint-components/{p-90fc8c3a.js → p-ce5b03c8.js} +8 -3
- package/dist/mint-components/{p-c3590aa9.entry.js → p-d846f34f.entry.js} +2 -2
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-c15368cf.js +0 -1
- package/dist/mint-components/p-0cb35790.system.entry.js +0 -1
- package/dist/mint-components/p-d942ebe5.system.js +0 -1
|
@@ -402,7 +402,12 @@ const MessageLinkQuery = index_module.dist.gql `
|
|
|
402
402
|
query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
403
403
|
user: viewer {
|
|
404
404
|
... on User {
|
|
405
|
-
shareLink(
|
|
405
|
+
shareLink(
|
|
406
|
+
programId: $programId
|
|
407
|
+
engagementMedium: $engagementMedium
|
|
408
|
+
shareMedium: DIRECT
|
|
409
|
+
useCleanLink: true
|
|
410
|
+
)
|
|
406
411
|
}
|
|
407
412
|
}
|
|
408
413
|
}
|
|
@@ -17,7 +17,7 @@ const utils = require('./utils-6847bc06.js');
|
|
|
17
17
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
18
18
|
const useRegistrationFormState = require('./useRegistrationFormState-01d63bda.js');
|
|
19
19
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
20
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
20
|
+
const ShadowViewAddon = require('./ShadowViewAddon-d0a52d38.js');
|
|
21
21
|
require('./sqm-portal-container-view-5fb2ad49.js');
|
|
22
22
|
|
|
23
23
|
const BigStat = class {
|
|
@@ -26,7 +26,7 @@ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0
|
|
|
26
26
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-13a1229f.js');
|
|
27
27
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-d5bc7afc.js');
|
|
28
28
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-f6c7287e.js');
|
|
29
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
29
|
+
const ShadowViewAddon = require('./ShadowViewAddon-d0a52d38.js');
|
|
30
30
|
const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -2710,12 +2710,12 @@ const UseShareLink_stories = {
|
|
|
2710
2710
|
title: "Hooks / useShareLink",
|
|
2711
2711
|
};
|
|
2712
2712
|
function setupGraphQL$1() {
|
|
2713
|
-
const id = "
|
|
2713
|
+
const id = "zach.harrison@referralsaasquatch.com";
|
|
2714
2714
|
const accountId = id;
|
|
2715
|
-
const programId = "
|
|
2715
|
+
const programId = "klip-referral-program";
|
|
2716
2716
|
//@ts-ignore
|
|
2717
2717
|
window.widgetIdent = {
|
|
2718
|
-
tenantAlias: "
|
|
2718
|
+
tenantAlias: "test_a74miwdpofztj",
|
|
2719
2719
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
2720
2720
|
programId,
|
|
2721
2721
|
};
|
|
@@ -2723,7 +2723,7 @@ function setupGraphQL$1() {
|
|
|
2723
2723
|
index_module.setUserIdentity({
|
|
2724
2724
|
accountId,
|
|
2725
2725
|
id,
|
|
2726
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
2726
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
2727
2727
|
});
|
|
2728
2728
|
return () => {
|
|
2729
2729
|
window.widgetIdent = undefined;
|
|
@@ -2734,7 +2734,7 @@ function setupGraphQL$1() {
|
|
|
2734
2734
|
const BareBonesView = createHookStory(() => {
|
|
2735
2735
|
setupGraphQL$1();
|
|
2736
2736
|
const res = ShadowViewAddon.useShareLink({
|
|
2737
|
-
programId: "
|
|
2737
|
+
programId: "klip-referral-program",
|
|
2738
2738
|
tooltiplifespan: 0,
|
|
2739
2739
|
tooltiptext: "",
|
|
2740
2740
|
});
|
|
@@ -2746,7 +2746,7 @@ const BareBonesView = createHookStory(() => {
|
|
|
2746
2746
|
const RegularView = createHookStory(() => {
|
|
2747
2747
|
setupGraphQL$1();
|
|
2748
2748
|
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
2749
|
-
programId: "
|
|
2749
|
+
programId: "klip-referral-program",
|
|
2750
2750
|
tooltiptext: "Copied to clipboard",
|
|
2751
2751
|
tooltiplifespan: 1000,
|
|
2752
2752
|
}))));
|
|
@@ -2754,7 +2754,7 @@ const RegularView = createHookStory(() => {
|
|
|
2754
2754
|
const FastTooltip = createHookStory(() => {
|
|
2755
2755
|
setupGraphQL$1();
|
|
2756
2756
|
return (index.h(ShadowViewAddon.CopyTextView, Object.assign({}, ShadowViewAddon.useShareLink({
|
|
2757
|
-
programId: "
|
|
2757
|
+
programId: "klip-referral-program",
|
|
2758
2758
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
2759
2759
|
tooltiplifespan: 500,
|
|
2760
2760
|
}))));
|
|
@@ -8,12 +8,12 @@ export default {
|
|
|
8
8
|
title: "Hooks / useShareLink",
|
|
9
9
|
};
|
|
10
10
|
function setupGraphQL() {
|
|
11
|
-
const id = "
|
|
11
|
+
const id = "zach.harrison@referralsaasquatch.com";
|
|
12
12
|
const accountId = id;
|
|
13
|
-
const programId = "
|
|
13
|
+
const programId = "klip-referral-program";
|
|
14
14
|
//@ts-ignore
|
|
15
15
|
window.widgetIdent = {
|
|
16
|
-
tenantAlias: "
|
|
16
|
+
tenantAlias: "test_a74miwdpofztj",
|
|
17
17
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
18
18
|
programId,
|
|
19
19
|
};
|
|
@@ -21,7 +21,7 @@ function setupGraphQL() {
|
|
|
21
21
|
setUserIdentity({
|
|
22
22
|
accountId,
|
|
23
23
|
id,
|
|
24
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
24
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
25
25
|
});
|
|
26
26
|
return () => {
|
|
27
27
|
window.widgetIdent = undefined;
|
|
@@ -32,7 +32,7 @@ function setupGraphQL() {
|
|
|
32
32
|
export const BareBonesView = createHookStory(() => {
|
|
33
33
|
setupGraphQL();
|
|
34
34
|
const res = useShareLink({
|
|
35
|
-
programId: "
|
|
35
|
+
programId: "klip-referral-program",
|
|
36
36
|
tooltiplifespan: 0,
|
|
37
37
|
tooltiptext: "",
|
|
38
38
|
});
|
|
@@ -44,7 +44,7 @@ export const BareBonesView = createHookStory(() => {
|
|
|
44
44
|
export const RegularView = createHookStory(() => {
|
|
45
45
|
setupGraphQL();
|
|
46
46
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
47
|
-
programId: "
|
|
47
|
+
programId: "klip-referral-program",
|
|
48
48
|
tooltiptext: "Copied to clipboard",
|
|
49
49
|
tooltiplifespan: 1000,
|
|
50
50
|
}))));
|
|
@@ -52,7 +52,7 @@ export const RegularView = createHookStory(() => {
|
|
|
52
52
|
export const FastTooltip = createHookStory(() => {
|
|
53
53
|
setupGraphQL();
|
|
54
54
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
55
|
-
programId: "
|
|
55
|
+
programId: "klip-referral-program",
|
|
56
56
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
57
57
|
tooltiplifespan: 500,
|
|
58
58
|
}))));
|
|
@@ -5,7 +5,12 @@ const MessageLinkQuery = gql `
|
|
|
5
5
|
query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
6
6
|
user: viewer {
|
|
7
7
|
... on User {
|
|
8
|
-
shareLink(
|
|
8
|
+
shareLink(
|
|
9
|
+
programId: $programId
|
|
10
|
+
engagementMedium: $engagementMedium
|
|
11
|
+
shareMedium: DIRECT
|
|
12
|
+
useCleanLink: true
|
|
13
|
+
)
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
16
|
}
|
|
@@ -400,7 +400,12 @@ const MessageLinkQuery = dist.gql `
|
|
|
400
400
|
query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
401
401
|
user: viewer {
|
|
402
402
|
... on User {
|
|
403
|
-
shareLink(
|
|
403
|
+
shareLink(
|
|
404
|
+
programId: $programId
|
|
405
|
+
engagementMedium: $engagementMedium
|
|
406
|
+
shareMedium: DIRECT
|
|
407
|
+
useCleanLink: true
|
|
408
|
+
)
|
|
404
409
|
}
|
|
405
410
|
}
|
|
406
411
|
}
|
|
@@ -13,7 +13,7 @@ import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './uti
|
|
|
13
13
|
import './sqm-text-span-view-8d140661.js';
|
|
14
14
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-c9d54ef3.js';
|
|
15
15
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
16
|
-
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
16
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-2c82b555.js';
|
|
17
17
|
import './sqm-portal-container-view-ab89c6cc.js';
|
|
18
18
|
|
|
19
19
|
const BigStat = class {
|
|
@@ -22,7 +22,7 @@ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view
|
|
|
22
22
|
import { P as PortalProfileView } from './sqm-portal-profile-view-efa44888.js';
|
|
23
23
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-0df781f6.js';
|
|
24
24
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1db4fae6.js';
|
|
25
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-
|
|
25
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-2c82b555.js';
|
|
26
26
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -2706,12 +2706,12 @@ const UseShareLink_stories = {
|
|
|
2706
2706
|
title: "Hooks / useShareLink",
|
|
2707
2707
|
};
|
|
2708
2708
|
function setupGraphQL$1() {
|
|
2709
|
-
const id = "
|
|
2709
|
+
const id = "zach.harrison@referralsaasquatch.com";
|
|
2710
2710
|
const accountId = id;
|
|
2711
|
-
const programId = "
|
|
2711
|
+
const programId = "klip-referral-program";
|
|
2712
2712
|
//@ts-ignore
|
|
2713
2713
|
window.widgetIdent = {
|
|
2714
|
-
tenantAlias: "
|
|
2714
|
+
tenantAlias: "test_a74miwdpofztj",
|
|
2715
2715
|
appDomain: "https://staging.referralsaasquatch.com",
|
|
2716
2716
|
programId,
|
|
2717
2717
|
};
|
|
@@ -2719,7 +2719,7 @@ function setupGraphQL$1() {
|
|
|
2719
2719
|
setUserIdentity({
|
|
2720
2720
|
accountId,
|
|
2721
2721
|
id,
|
|
2722
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
2722
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
2723
2723
|
});
|
|
2724
2724
|
return () => {
|
|
2725
2725
|
window.widgetIdent = undefined;
|
|
@@ -2730,7 +2730,7 @@ function setupGraphQL$1() {
|
|
|
2730
2730
|
const BareBonesView = createHookStory(() => {
|
|
2731
2731
|
setupGraphQL$1();
|
|
2732
2732
|
const res = useShareLink({
|
|
2733
|
-
programId: "
|
|
2733
|
+
programId: "klip-referral-program",
|
|
2734
2734
|
tooltiplifespan: 0,
|
|
2735
2735
|
tooltiptext: "",
|
|
2736
2736
|
});
|
|
@@ -2742,7 +2742,7 @@ const BareBonesView = createHookStory(() => {
|
|
|
2742
2742
|
const RegularView = createHookStory(() => {
|
|
2743
2743
|
setupGraphQL$1();
|
|
2744
2744
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2745
|
-
programId: "
|
|
2745
|
+
programId: "klip-referral-program",
|
|
2746
2746
|
tooltiptext: "Copied to clipboard",
|
|
2747
2747
|
tooltiplifespan: 1000,
|
|
2748
2748
|
}))));
|
|
@@ -2750,7 +2750,7 @@ const RegularView = createHookStory(() => {
|
|
|
2750
2750
|
const FastTooltip = createHookStory(() => {
|
|
2751
2751
|
setupGraphQL$1();
|
|
2752
2752
|
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2753
|
-
programId: "
|
|
2753
|
+
programId: "klip-referral-program",
|
|
2754
2754
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
2755
2755
|
tooltiplifespan: 500,
|
|
2756
2756
|
}))));
|