@saasquatch/mint-components 1.16.0-17 → 1.16.0-19
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/sqm-banking-info-form_17.cjs.entry.js +3 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -13
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -1
- package/dist/collection/components/sqm-qr-code/useQRCode.js +1 -13
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +3 -2
- package/dist/esm/sqm-banking-info-form_17.entry.js +3 -2
- package/dist/esm/sqm-qr-code.entry.js +1 -13
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/p-8b584c46.system.entry.js +1 -0
- package/dist/mint-components/{p-cafb67b7.system.entry.js → p-9b6ac371.system.entry.js} +1 -1
- package/dist/mint-components/p-c9b08184.entry.js +17 -0
- package/dist/mint-components/{p-c10835fa.entry.js → p-f6d876c2.entry.js} +5 -5
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-0c78815e.system.entry.js +0 -1
- package/dist/mint-components/p-53730ffe.entry.js +0 -17
|
@@ -6027,7 +6027,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
6027
6027
|
slots.payoutDetailsCardSlot,
|
|
6028
6028
|
!states.loading && (index.h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
|
|
6029
6029
|
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
6030
|
-
!states.noFormNeeded && (index.h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
6030
|
+
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (index.h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
6031
6031
|
index.h("div", null, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
6032
6032
|
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
6033
6033
|
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null,
|
|
@@ -6041,7 +6041,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
6041
6041
|
documentType: states.documentTypeString,
|
|
6042
6042
|
})),
|
|
6043
6043
|
index.h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
|
|
6044
|
-
states.
|
|
6044
|
+
states.noFormNeeded &&
|
|
6045
|
+
states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
6045
6046
|
index.h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
6046
6047
|
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
6047
6048
|
index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null,
|
|
@@ -48,19 +48,7 @@ function useQRCode(props) {
|
|
|
48
48
|
if (!shareLink)
|
|
49
49
|
return;
|
|
50
50
|
const getQrCode = async () => {
|
|
51
|
-
|
|
52
|
-
try {
|
|
53
|
-
const res = await fetch(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
54
|
-
const blob = await res.blob();
|
|
55
|
-
const url = URL.createObjectURL(blob);
|
|
56
|
-
setQrUrl(url);
|
|
57
|
-
}
|
|
58
|
-
catch (e) {
|
|
59
|
-
setError(true);
|
|
60
|
-
}
|
|
61
|
-
finally {
|
|
62
|
-
setLoading(false);
|
|
63
|
-
}
|
|
51
|
+
setQrUrl(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
64
52
|
};
|
|
65
53
|
getQrCode();
|
|
66
54
|
}, [shareLink]);
|
|
@@ -6,7 +6,7 @@ import { NameFieldsView } from "./sqm-name-fields-view";
|
|
|
6
6
|
import { useNameFields } from "./useNameFields";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Form Name Fields
|
|
9
|
-
* @validParents ["sqm-portal-register","sqm-portal-registration-form"]
|
|
9
|
+
* @validParents ["sqm-portal-register","sqm-portal-registration-form", "sqm-portal-google-registration-form"]
|
|
10
10
|
* @exampleGroup Microsite Components
|
|
11
11
|
* @example Form Name Fields - <sqm-name-fields first-name-label="First Name" last-name-label="Last Name"></sqm-name-fields>
|
|
12
12
|
*/
|
|
@@ -39,19 +39,7 @@ export function useQRCode(props) {
|
|
|
39
39
|
if (!shareLink)
|
|
40
40
|
return;
|
|
41
41
|
const getQrCode = async () => {
|
|
42
|
-
|
|
43
|
-
try {
|
|
44
|
-
const res = await fetch(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
45
|
-
const blob = await res.blob();
|
|
46
|
-
const url = URL.createObjectURL(blob);
|
|
47
|
-
setQrUrl(url);
|
|
48
|
-
}
|
|
49
|
-
catch (e) {
|
|
50
|
-
setError(true);
|
|
51
|
-
}
|
|
52
|
-
finally {
|
|
53
|
-
setLoading(false);
|
|
54
|
-
}
|
|
42
|
+
setQrUrl(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
55
43
|
};
|
|
56
44
|
getQrCode();
|
|
57
45
|
}, [shareLink]);
|
|
@@ -421,7 +421,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
421
421
|
slots.payoutDetailsCardSlot,
|
|
422
422
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
423
423
|
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
424
|
-
!states.noFormNeeded && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
424
|
+
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
425
425
|
h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
426
426
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
427
427
|
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
|
|
@@ -435,7 +435,8 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
435
435
|
documentType: states.documentTypeString,
|
|
436
436
|
})),
|
|
437
437
|
h("span", { class: sheet.classes.StatusAlert }, statusMap[states.status]))),
|
|
438
|
-
states.
|
|
438
|
+
states.noFormNeeded &&
|
|
439
|
+
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
439
440
|
h("div", { class: sheet.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
440
441
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
441
442
|
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
|
|
@@ -6023,7 +6023,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
6023
6023
|
slots.payoutDetailsCardSlot,
|
|
6024
6024
|
!states.loading && (h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
|
|
6025
6025
|
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
6026
|
-
!states.noFormNeeded && (h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
6026
|
+
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$5.classes.TaxDocumentsContainer },
|
|
6027
6027
|
h("div", null, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
6028
6028
|
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
6029
6029
|
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
|
|
@@ -6037,7 +6037,8 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
6037
6037
|
documentType: states.documentTypeString,
|
|
6038
6038
|
})),
|
|
6039
6039
|
h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
|
|
6040
|
-
states.
|
|
6040
|
+
states.noFormNeeded &&
|
|
6041
|
+
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
6041
6042
|
h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
|
|
6042
6043
|
h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
|
|
6043
6044
|
h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
|
|
@@ -44,19 +44,7 @@ function useQRCode(props) {
|
|
|
44
44
|
if (!shareLink)
|
|
45
45
|
return;
|
|
46
46
|
const getQrCode = async () => {
|
|
47
|
-
|
|
48
|
-
try {
|
|
49
|
-
const res = await fetch(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
50
|
-
const blob = await res.blob();
|
|
51
|
-
const url = URL.createObjectURL(blob);
|
|
52
|
-
setQrUrl(url);
|
|
53
|
-
}
|
|
54
|
-
catch (e) {
|
|
55
|
-
setError(true);
|
|
56
|
-
}
|
|
57
|
-
finally {
|
|
58
|
-
setLoading(false);
|
|
59
|
-
}
|
|
47
|
+
setQrUrl(`${shareLink}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`);
|
|
60
48
|
};
|
|
61
49
|
getQrCode();
|
|
62
50
|
}, [shareLink]);
|