@saasquatch/mint-components 1.13.1-7 → 1.13.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-829de149.js → ShadowViewAddon-cf0ee0a0.js} +1 -4
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/cjs/{useInstantAccessRegistration-9a46c324.js → useInstantAccessRegistration-0537e28e.js} +2 -0
- package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +3 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +0 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +1 -3
- package/dist/esm/{ShadowViewAddon-1ef084f6.js → ShadowViewAddon-fd07e6e1.js} +1 -4
- package/dist/esm/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm/sqm-referred-registration.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm/{useInstantAccessRegistration-cd0172c8.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -1
- package/dist/esm-es5/ShadowViewAddon-fd07e6e1.js +1 -0
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-99374849.entry.js → p-00ed4c2e.entry.js} +1 -1
- package/dist/mint-components/p-05f29f64.js +1 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-4469fea6.system.entry.js → p-42187319.system.entry.js} +1 -1
- package/dist/mint-components/p-57e2c2fa.system.js +1 -0
- package/dist/mint-components/{p-54440d8d.entry.js → p-775f3ded.entry.js} +1 -1
- package/dist/mint-components/{p-89903f6d.system.js → p-7c2b9fe4.system.js} +1 -1
- package/dist/mint-components/{p-a6d303ff.entry.js → p-87d385d8.entry.js} +1 -1
- package/dist/mint-components/{p-b2c065f0.system.entry.js → p-abedbbf3.system.entry.js} +1 -1
- package/dist/mint-components/{p-beee7f43.system.entry.js → p-bc83460e.system.entry.js} +1 -1
- package/dist/mint-components/{p-4209c356.js → p-d12fc50f.js} +20 -20
- package/dist/mint-components/{p-f5b0bcaf.entry.js → p-da932ca2.entry.js} +1 -1
- package/dist/mint-components/{p-99bc1231.system.entry.js → p-f2d8d3d3.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-1ef084f6.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-cd0172c8.js +0 -1
- package/dist/mint-components/p-66d42355.system.js +0 -1
- package/dist/mint-components/p-bd91bba4.js +0 -1
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
|
@@ -83,7 +83,6 @@ function ShareButtonView(props, children) {
|
|
|
83
83
|
top: 2%;
|
|
84
84
|
}
|
|
85
85
|
`;
|
|
86
|
-
console.log("href", props.isPlainLink ? props.messageLink : undefined);
|
|
87
86
|
return props.hide ? (index.h(index.Host, { style: { display: "none" } })) : (index.h("div", null,
|
|
88
87
|
index.h("style", { type: "text/css" }, styleString),
|
|
89
88
|
index.h("style", { type: "text/css" }, vanillaStyle),
|
|
@@ -505,14 +504,12 @@ function useShareButton(props) {
|
|
|
505
504
|
messageLink;
|
|
506
505
|
const userAgent = window.navigator.userAgent.toLowerCase(), safari = /safari/.test(userAgent), ios = /iphone|ipod|ipad/.test(userAgent);
|
|
507
506
|
const openInSameTab = ios && !safari;
|
|
508
|
-
console.log("isPlainLink", isPlainLink);
|
|
509
507
|
return {
|
|
510
508
|
...props,
|
|
511
509
|
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
512
510
|
messageLink,
|
|
513
511
|
isPlainLink,
|
|
514
|
-
|
|
515
|
-
onClick: onClick,
|
|
512
|
+
onClick,
|
|
516
513
|
openInSameTab,
|
|
517
514
|
hide,
|
|
518
515
|
};
|
|
@@ -22,7 +22,7 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-761a4d8e.js');
|
|
|
22
22
|
const usePortalLogin = require('./usePortalLogin-63d896d1.js');
|
|
23
23
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
24
24
|
const utilities = require('./utilities-78f5e169.js');
|
|
25
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
25
|
+
const ShadowViewAddon = require('./ShadowViewAddon-cf0ee0a0.js');
|
|
26
26
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
27
27
|
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
28
28
|
|
|
@@ -11,7 +11,7 @@ require('./JSS-8503a151.js');
|
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-55b378dc.js');
|
|
13
13
|
require('./useRegistrationFormState-7b820f0c.js');
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-0537e28e.js');
|
|
15
15
|
|
|
16
16
|
const InstantAccessRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ require('./JSS-8503a151.js');
|
|
|
11
11
|
require('./mixins-f7e0377a.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-55b378dc.js');
|
|
13
13
|
require('./useRegistrationFormState-7b820f0c.js');
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-0537e28e.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -32,7 +32,7 @@ const sqmPortalProfileView = require('./sqm-portal-profile-view-33164798.js');
|
|
|
32
32
|
require('./utilities-78f5e169.js');
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-fe602822.js');
|
|
34
34
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7b678f34.js');
|
|
35
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
35
|
+
const ShadowViewAddon = require('./ShadowViewAddon-cf0ee0a0.js');
|
|
36
36
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
37
37
|
const sqmInvoiceTableView = require('./sqm-invoice-table-view-baded4af.js');
|
|
38
38
|
|
|
@@ -6,6 +6,7 @@ const jsonpointer = require('./jsonpointer-11327262.js');
|
|
|
6
6
|
const useRegistrationFormState = require('./useRegistrationFormState-7b820f0c.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
|
+
const locale = index_module.L();
|
|
9
10
|
const cookie = new URLSearchParams(window.location.search);
|
|
10
11
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
11
12
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState();
|
|
@@ -38,6 +39,7 @@ function useInstantAccessRegistration(props) {
|
|
|
38
39
|
firstName: formData.firstName,
|
|
39
40
|
lastName: formData.lastName,
|
|
40
41
|
email: formData.email,
|
|
42
|
+
locale,
|
|
41
43
|
...((props === null || props === void 0 ? void 0 : props.includeCookies) && cookies ? { cookies } : {}),
|
|
42
44
|
};
|
|
43
45
|
try {
|
package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { useAuthenticateManagedIdentityWithInstantAccess } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { useAuthenticateManagedIdentityWithInstantAccess, useLocale, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import jsonpointer from "jsonpointer";
|
|
4
4
|
import { useRegistrationFormState } from "../sqm-portal-registration-form/useRegistrationFormState";
|
|
5
5
|
export function useInstantAccessRegistration(props) {
|
|
6
|
+
const locale = useLocale();
|
|
6
7
|
const cookie = new URLSearchParams(window.location.search);
|
|
7
8
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
8
9
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState();
|
|
@@ -35,6 +36,7 @@ export function useInstantAccessRegistration(props) {
|
|
|
35
36
|
firstName: formData.firstName,
|
|
36
37
|
lastName: formData.lastName,
|
|
37
38
|
email: formData.email,
|
|
39
|
+
locale,
|
|
38
40
|
...((props === null || props === void 0 ? void 0 : props.includeCookies) && cookies ? { cookies } : {}),
|
|
39
41
|
};
|
|
40
42
|
try {
|
|
@@ -68,7 +68,6 @@ export function ShareButtonView(props, children) {
|
|
|
68
68
|
top: 2%;
|
|
69
69
|
}
|
|
70
70
|
`;
|
|
71
|
-
console.log("href", props.isPlainLink ? props.messageLink : undefined);
|
|
72
71
|
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
|
|
73
72
|
h("style", { type: "text/css" }, styleString),
|
|
74
73
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
@@ -94,14 +94,12 @@ export function useShareButton(props) {
|
|
|
94
94
|
messageLink;
|
|
95
95
|
const userAgent = window.navigator.userAgent.toLowerCase(), safari = /safari/.test(userAgent), ios = /iphone|ipod|ipad/.test(userAgent);
|
|
96
96
|
const openInSameTab = ios && !safari;
|
|
97
|
-
console.log("isPlainLink", isPlainLink);
|
|
98
97
|
return {
|
|
99
98
|
...props,
|
|
100
99
|
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
101
100
|
messageLink,
|
|
102
101
|
isPlainLink,
|
|
103
|
-
|
|
104
|
-
onClick: onClick,
|
|
102
|
+
onClick,
|
|
105
103
|
openInSameTab,
|
|
106
104
|
hide,
|
|
107
105
|
};
|
|
@@ -81,7 +81,6 @@ function ShareButtonView(props, children) {
|
|
|
81
81
|
top: 2%;
|
|
82
82
|
}
|
|
83
83
|
`;
|
|
84
|
-
console.log("href", props.isPlainLink ? props.messageLink : undefined);
|
|
85
84
|
return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
|
|
86
85
|
h("style", { type: "text/css" }, styleString),
|
|
87
86
|
h("style", { type: "text/css" }, vanillaStyle),
|
|
@@ -503,14 +502,12 @@ function useShareButton(props) {
|
|
|
503
502
|
messageLink;
|
|
504
503
|
const userAgent = window.navigator.userAgent.toLowerCase(), safari = /safari/.test(userAgent), ios = /iphone|ipod|ipad/.test(userAgent);
|
|
505
504
|
const openInSameTab = ios && !safari;
|
|
506
|
-
console.log("isPlainLink", isPlainLink);
|
|
507
505
|
return {
|
|
508
506
|
...props,
|
|
509
507
|
loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
|
|
510
508
|
messageLink,
|
|
511
509
|
isPlainLink,
|
|
512
|
-
|
|
513
|
-
onClick: onClick,
|
|
510
|
+
onClick,
|
|
514
511
|
openInSameTab,
|
|
515
512
|
hide,
|
|
516
513
|
};
|
|
@@ -18,7 +18,7 @@ import { P as PortalLoginView } from './sqm-portal-login-view-7e49609a.js';
|
|
|
18
18
|
import { u as usePortalLogin } from './usePortalLogin-ef647a50.js';
|
|
19
19
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
20
20
|
import { i as isEmpty } from './utilities-5b0ca040.js';
|
|
21
|
-
import { b as useDemoBigStat, Q as useBigStat, B as BigStatView, M as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, J as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, V as demoRewardExchange, i as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
21
|
+
import { b as useDemoBigStat, Q as useBigStat, B as BigStatView, M as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, J as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, V as demoRewardExchange, i as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-fd07e6e1.js';
|
|
22
22
|
import './sqm-portal-container-view-1683ae32.js';
|
|
23
23
|
import { u as usePayoutStatus } from './usePayoutStatus-58aa56b4.js';
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@ import './JSS-67b5cff8.js';
|
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.js';
|
|
9
9
|
import './useRegistrationFormState-d6f33135.js';
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dc4ad9f2.js';
|
|
11
11
|
|
|
12
12
|
const InstantAccessRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -7,7 +7,7 @@ import './JSS-67b5cff8.js';
|
|
|
7
7
|
import './mixins-83f90fa1.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.js';
|
|
9
9
|
import './useRegistrationFormState-d6f33135.js';
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-dc4ad9f2.js';
|
|
11
11
|
|
|
12
12
|
const ReferredRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -28,7 +28,7 @@ import { P as PortalProfileView } from './sqm-portal-profile-view-93003974.js';
|
|
|
28
28
|
import './utilities-5b0ca040.js';
|
|
29
29
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-54a8651f.js';
|
|
30
30
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-b12cb894.js';
|
|
31
|
-
import { S as ShareButtonView, L as LeaderboardView, 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 PortalRegisterView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, J as CouponCodeView, K as ProgressBar$2, M as autoColorScaleCss, O as ShadowViewAddon } from './ShadowViewAddon-
|
|
31
|
+
import { S as ShareButtonView, L as LeaderboardView, 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 PortalRegisterView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, J as CouponCodeView, K as ProgressBar$2, M as autoColorScaleCss, O as ShadowViewAddon } from './ShadowViewAddon-fd07e6e1.js';
|
|
32
32
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
|
|
33
33
|
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-af69cd33.js';
|
|
34
34
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { k as useState } from './stencil-hooks.module-4bc38af4.js';
|
|
2
|
-
import { v as vn } from './index.module-89a79f66.js';
|
|
2
|
+
import { L, v as vn } from './index.module-89a79f66.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
4
|
import { u as useRegistrationFormState } from './useRegistrationFormState-d6f33135.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
|
+
const locale = L();
|
|
7
8
|
const cookie = new URLSearchParams(window.location.search);
|
|
8
9
|
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
9
10
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState();
|
|
@@ -36,6 +37,7 @@ function useInstantAccessRegistration(props) {
|
|
|
36
37
|
firstName: formData.firstName,
|
|
37
38
|
lastName: formData.lastName,
|
|
38
39
|
email: formData.email,
|
|
40
|
+
locale,
|
|
39
41
|
...((props === null || props === void 0 ? void 0 : props.includeCookies) && cookies ? { cookies } : {}),
|
|
40
42
|
};
|
|
41
43
|
try {
|