@saasquatch/mint-components 2.0.4-9 → 2.0.5-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/{IndirectTaxDetailsView-d39b895d.js → IndirectTaxDetailsView-659a139c.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-7066fae7.js → ShadowViewAddon-ae3a32c3.js} +24 -22
- package/dist/cjs/{global-94f36ad7.js → global-e862bfd4.js} +54 -55
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +43 -29
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +18 -27
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +4 -7
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-form-message_2.cjs.entry.js → sqm-form-message.cjs.entry.js} +0 -50
- package/dist/cjs/{sqm-lead-checkbox-field-view-c0123bfa.js → sqm-lead-checkbox-field-view-dca40eb4.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-lead-input-field-view-6983eaa1.js → sqm-lead-input-field-view-2006001f.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-d968178a.js → sqm-portal-email-verification-view-1745d9a2.js} +6 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-f74b8d6c.js → sqm-portal-profile-view-5c5e29b1.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-qr-code-view-a2889aee.js → sqm-qr-code-view-4ccf89da.js} +5 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +52 -85
- package/dist/cjs/{useLeadFormState-f8b33c07.js → useLeadFormState-91999606.js} +1 -1
- package/dist/cjs/{utils-5ecfecd9.js → utils-4eb18a29.js} +30 -18
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +0 -5
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +0 -30
- package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +5 -5
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +7 -5
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +0 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +5 -3
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +5 -1
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +5 -5
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +8 -8
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +5 -5
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-stencilbook/Themes.js +0 -12
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +3 -6
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +14 -11
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +29 -17
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +15 -5
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -14
- package/dist/collection/global/styles.js +54 -55
- package/dist/collection/global/styles.ts +1 -6
- package/dist/collection/tables/TableSlots.js +6 -6
- package/dist/esm/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +2 -2
- package/dist/esm/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +24 -22
- package/dist/esm/{global-536c422d.js → global-58a69018.js} +54 -55
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +43 -29
- package/dist/esm/sqm-big-stat_47.entry.js +18 -27
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +4 -7
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-form-message_2.entry.js → sqm-form-message.entry.js} +1 -50
- package/dist/esm/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +3 -3
- package/dist/esm/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-8bbe5fcf.js → sqm-portal-email-verification-view-5fb1a99e.js} +6 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +5 -1
- package/dist/esm/sqm-qr-code.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +52 -85
- package/dist/esm/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
- package/dist/esm/{utils-fafc712f.js → utils-2695a43e.js} +30 -18
- package/dist/esm-es5/{IndirectTaxDetailsView-a7dd6e4c.js → IndirectTaxDetailsView-8dec05e4.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-fe2896cb.js → ShadowViewAddon-78a1c35c.js} +1 -1
- package/dist/esm-es5/{global-536c422d.js → global-58a69018.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -0
- package/dist/esm-es5/{sqm-lead-checkbox-field-view-5c387852.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-fa2488c9.js → sqm-lead-input-field-view-d543d939.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-5fb1a99e.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-9848caf1.js → sqm-portal-profile-view-e3aef106.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-qr-code-view-804b8bb6.js → sqm-qr-code-view-ea505213.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{useLeadFormState-5a6188da.js → useLeadFormState-8d4b2620.js} +1 -1
- package/dist/esm-es5/utils-2695a43e.js +1 -0
- package/dist/mint-components/global/styles.ts +1 -6
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-902b919d.system.entry.js → p-011c0990.system.entry.js} +1 -1
- package/dist/mint-components/{p-d6d31505.js → p-027c0b10.js} +32 -32
- package/dist/mint-components/{p-f6305644.js → p-088f082f.js} +1 -1
- package/dist/mint-components/{p-05e8620f.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
- package/dist/mint-components/p-0d71303d.js +1 -0
- package/dist/mint-components/{p-33fff374.system.js → p-1215518e.system.js} +1 -1
- package/dist/mint-components/{p-b8878552.entry.js → p-12e6cea7.entry.js} +2 -2
- package/dist/mint-components/{p-19e407bd.system.js → p-13c6673e.system.js} +1 -1
- package/dist/mint-components/{p-4130caec.js → p-1aa9136c.js} +1 -1
- package/dist/mint-components/{p-a65610e3.entry.js → p-1b79b186.entry.js} +1 -1
- package/dist/mint-components/{p-ceb79149.js → p-1d8c5935.js} +1 -1
- package/dist/mint-components/{p-d07a46c6.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
- package/dist/mint-components/p-325c5476.js +1 -0
- package/dist/mint-components/{p-4b595fc3.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
- package/dist/mint-components/p-3f661133.system.entry.js +1 -0
- package/dist/mint-components/{p-66effbef.entry.js → p-43ad51bc.entry.js} +1 -1
- package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
- package/dist/mint-components/{p-a71edffc.system.js → p-4965dae4.system.js} +1 -1
- package/dist/mint-components/{p-69bd9de3.entry.js → p-4c02afc8.entry.js} +7 -7
- package/dist/mint-components/{p-1e156272.system.js → p-4cc72a4e.system.js} +1 -1
- package/dist/mint-components/{p-8a24b9a9.entry.js → p-58c79873.entry.js} +1 -1
- package/dist/mint-components/{p-48bc3283.system.js → p-5fbe6356.system.js} +1 -1
- package/dist/mint-components/{p-30f37386.entry.js → p-6076dbaf.entry.js} +2 -2
- package/dist/mint-components/{p-1e0a8579.entry.js → p-775214ef.entry.js} +2 -2
- package/dist/mint-components/p-78dda262.system.js +1 -0
- package/dist/mint-components/p-829cb9ed.system.entry.js +1 -0
- package/dist/mint-components/{p-af02f28c.system.js → p-8618e8f6.system.js} +1 -1
- package/dist/mint-components/p-8d9fa981.system.js +1 -0
- package/dist/mint-components/p-947bacd1.system.js +1 -0
- package/dist/mint-components/{p-005ee5bf.js → p-988f236f.js} +1 -1
- package/dist/mint-components/{p-dcdd959e.entry.js → p-9a3ff9b9.entry.js} +2 -2
- package/dist/mint-components/{p-4e3303a8.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
- package/dist/mint-components/{p-2192a6d7.entry.js → p-a470e203.entry.js} +2 -2
- package/dist/mint-components/p-a974c549.js +1 -0
- package/dist/mint-components/p-ab1e34f5.system.entry.js +1 -0
- package/dist/mint-components/p-ac9138fd.entry.js +1 -0
- package/dist/mint-components/{p-80196216.entry.js → p-ad3ebf4d.entry.js} +1 -1
- package/dist/mint-components/{p-78968e5f.js → p-bf044217.js} +1 -1
- package/dist/mint-components/{p-000dc98f.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
- package/dist/mint-components/p-c7ac295d.system.entry.js +1 -0
- package/dist/mint-components/p-d88d8ffe.entry.js +1 -0
- package/dist/mint-components/p-dc5bca55.entry.js +1 -0
- package/dist/mint-components/{p-8f6b3391.system.entry.js → p-deecffd0.system.entry.js} +1 -1
- package/dist/mint-components/{p-e712a01d.entry.js → p-e19f0908.entry.js} +2 -2
- package/dist/mint-components/{p-648f881e.system.js → p-e3ee8c37.system.js} +1 -1
- package/dist/mint-components/p-e8bda98a.system.entry.js +1 -0
- package/dist/mint-components/p-ee3a7577.entry.js +144 -0
- package/dist/mint-components/p-ee83de0e.js +448 -0
- package/dist/mint-components/{p-f380bcd9.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45124c1.system.entry.js → p-f5256738.system.entry.js} +1 -1
- package/dist/mint-components/p-f5820d03.system.js +1 -0
- package/dist/mint-components/{p-a7157ef3.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/mint-components/{p-d8d818d9.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +0 -6
- package/dist/types/components.d.ts +0 -39
- package/dist/types/saasquatch.d.ts +0 -4
- package/docs/docs.docx +0 -0
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +0 -16
- package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +0 -90
- package/dist/esm-es5/sqm-form-message_2.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-8bbe5fcf.js +0 -1
- package/dist/esm-es5/utils-fafc712f.js +0 -1
- package/dist/mint-components/p-0d3803a2.js +0 -1
- package/dist/mint-components/p-10aea972.system.js +0 -1
- package/dist/mint-components/p-28973c9b.entry.js +0 -144
- package/dist/mint-components/p-397a5adf.system.entry.js +0 -1
- package/dist/mint-components/p-3ad8e1af.system.js +0 -1
- package/dist/mint-components/p-566d837b.system.js +0 -1
- package/dist/mint-components/p-59332a30.entry.js +0 -1
- package/dist/mint-components/p-5d39d345.system.entry.js +0 -1
- package/dist/mint-components/p-6c528a8c.system.entry.js +0 -1
- package/dist/mint-components/p-7c9520b7.system.js +0 -1
- package/dist/mint-components/p-8af550b9.system.entry.js +0 -1
- package/dist/mint-components/p-a115c57a.system.entry.js +0 -1
- package/dist/mint-components/p-a92c692b.js +0 -448
- package/dist/mint-components/p-ab4c0642.js +0 -1
- package/dist/mint-components/p-af758193.entry.js +0 -1
- package/dist/mint-components/p-c37744c7.entry.js +0 -1
- package/dist/mint-components/p-e0c7640f.js +0 -1
- package/dist/mint-components/p-ede77156.system.entry.js +0 -1
- package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +0 -8
- package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +0 -14
|
@@ -69,7 +69,11 @@ function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCodeText,
|
|
|
69
69
|
return (h(ErrorView, { loadingErrorAlertDescription: errorHeaderText, loadingErrorAlertHeader: errorDescriptionText }));
|
|
70
70
|
}
|
|
71
71
|
else if (loading) {
|
|
72
|
-
return h("
|
|
72
|
+
return (h("sl-skeleton", { className: sheet.classes.LoadingSkeleton, effect: "sheen", style: {
|
|
73
|
+
width: "100px",
|
|
74
|
+
height: "100px",
|
|
75
|
+
borderRadius: "0px !important",
|
|
76
|
+
} }));
|
|
73
77
|
}
|
|
74
78
|
else if (qrLink) {
|
|
75
79
|
return (h("svg", { width: "100", height: "100" },
|
|
@@ -6,7 +6,7 @@ import { g as getProps } from './utils-334c1e34.js';
|
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { a as REFERRAL_CODES_NAMESPACE } from './useReferralCodes-c2e809cf.js';
|
|
8
8
|
import './ErrorView-bbf0a042.js';
|
|
9
|
-
import { Q as QrCodeView } from './sqm-qr-code-view-
|
|
9
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
|
|
10
10
|
|
|
11
11
|
const ShareLinkQuery = dist.gql `
|
|
12
12
|
query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { n as h, j as useReducer, u as useMemo, f as useEffect } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -212,7 +212,7 @@ function LoadingSlot() {
|
|
|
212
212
|
return (h$1("slot", { name: "loading" }, h$1(LoadingRow, null), h$1(LoadingRow, null), h$1(LoadingRow, null), h$1(LoadingRow, null)));
|
|
213
213
|
}
|
|
214
214
|
function LoadingRow() {
|
|
215
|
-
return (h$1("sqm-table-row", null, h$1("sqm-table-cell", { colspan: 5 }, h$1("
|
|
215
|
+
return (h$1("sqm-table-row", null, h$1("sqm-table-cell", { colspan: 5 }, h$1("sl-skeleton", null))));
|
|
216
216
|
}
|
|
217
217
|
function useReferralTableDemo(props, emptyElement, loadingElement) {
|
|
218
218
|
const [content, setContent] = useReducer((state, next) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { d as dist, J, H, L, w as wn, R as Rn, i as isDemo } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -329,7 +329,7 @@ function LoadingSlot() {
|
|
|
329
329
|
return (h("slot", { name: "loading" }, h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null), h(LoadingRow, null)));
|
|
330
330
|
}
|
|
331
331
|
function LoadingRow() {
|
|
332
|
-
return (h("sqm-table-row", null, h("sqm-table-cell", { colspan: 5 }, h("
|
|
332
|
+
return (h("sqm-table-row", null, h("sqm-table-cell", { colspan: 5 }, h("sl-skeleton", null))));
|
|
333
333
|
}
|
|
334
334
|
function useRewardsTableDemo(props, emptyElement, loadingElement) {
|
|
335
335
|
const [content, setContent] = useReducer((state, next) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-b3a06de8.js';
|
|
2
|
-
import './global-
|
|
2
|
+
import './global-58a69018.js';
|
|
3
3
|
import { a as commonjsGlobal, u as useMemo, k as useState, c as createCommonjsModule, f as useEffect, n as h$1 } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { j as jn, b as setUserIdentity, o as setProgramId, k as kn, d as dist, X as Xe } from './index.module-c9811a48.js';
|
|
5
5
|
import './cjs-bdfb4486.js';
|
|
@@ -15,26 +15,26 @@ import './sqm-text-span-view-4c17b8c9.js';
|
|
|
15
15
|
import { C as CloseButtonView } from './sqm-close-button-view-2fa57229.js';
|
|
16
16
|
import './index-ffa26b43.js';
|
|
17
17
|
import { E as EmailRegistrationView } from './email-registration-view-1f587f8b.js';
|
|
18
|
-
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-
|
|
18
|
+
import { L as LeadCheckboxFieldView } from './sqm-lead-checkbox-field-view-81541e40.js';
|
|
19
19
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-18baae5b.js';
|
|
20
20
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-f21e54e3.js';
|
|
21
21
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0a2ec560.js';
|
|
22
22
|
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-5a452423.js';
|
|
23
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
23
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-5fb1a99e.js';
|
|
24
24
|
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
25
25
|
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-9e97d8b4.js';
|
|
26
26
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-8bdc3804.js';
|
|
27
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
27
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-e3aef106.js';
|
|
28
28
|
import './utilities-72c07b09.js';
|
|
29
29
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-abef7286.js';
|
|
30
30
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-33805220.js';
|
|
31
31
|
import './ErrorView-bbf0a042.js';
|
|
32
|
-
import { Q as QrCodeView } from './sqm-qr-code-view-
|
|
33
|
-
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-
|
|
32
|
+
import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
|
|
33
|
+
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-78a1c35c.js';
|
|
34
34
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
|
|
35
|
-
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView } from './IndirectTaxDetailsView-
|
|
36
|
-
import { t as taxTypeToName, L as LoadingView } from './utils-
|
|
37
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
35
|
+
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView } from './IndirectTaxDetailsView-8dec05e4.js';
|
|
36
|
+
import { t as taxTypeToName, L as LoadingView } from './utils-2695a43e.js';
|
|
37
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d543d939.js';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -6365,7 +6365,7 @@ const defaultElements = {
|
|
|
6365
6365
|
h("table", null, [...Array(10)].map(() => {
|
|
6366
6366
|
return (h("tr", null,
|
|
6367
6367
|
h("td", null,
|
|
6368
|
-
h("
|
|
6368
|
+
h("sl-skeleton", null))));
|
|
6369
6369
|
})))),
|
|
6370
6370
|
};
|
|
6371
6371
|
const SlottedIntoComponent = () => {
|
|
@@ -6442,11 +6442,6 @@ const WarningAlertTransparent = () => (h("sqm-form-message", { type: "warning",
|
|
|
6442
6442
|
const InfoAlertTransparent = () => (h("sqm-form-message", { type: "info", transparent: true },
|
|
6443
6443
|
h("p", { part: "alert-title" }, "This is the title"),
|
|
6444
6444
|
h("p", { part: "alert-description" }, "This is the description")));
|
|
6445
|
-
const Loading$1 = () => {
|
|
6446
|
-
return (h("sqm-form-message", { type: "success", loading: true },
|
|
6447
|
-
h("p", { part: "alert-title" }, "This is the title"),
|
|
6448
|
-
h("p", { part: "alert-description" }, "This is the description")));
|
|
6449
|
-
};
|
|
6450
6445
|
|
|
6451
6446
|
const FormMessage = /*#__PURE__*/Object.freeze({
|
|
6452
6447
|
__proto__: null,
|
|
@@ -6458,8 +6453,7 @@ const FormMessage = /*#__PURE__*/Object.freeze({
|
|
|
6458
6453
|
SuccessAlertTransparent: SuccessAlertTransparent,
|
|
6459
6454
|
ErrorAlertTransparent: ErrorAlertTransparent,
|
|
6460
6455
|
WarningAlertTransparent: WarningAlertTransparent,
|
|
6461
|
-
InfoAlertTransparent: InfoAlertTransparent
|
|
6462
|
-
Loading: Loading$1
|
|
6456
|
+
InfoAlertTransparent: InfoAlertTransparent
|
|
6463
6457
|
});
|
|
6464
6458
|
|
|
6465
6459
|
const scenario$6 = "@author:kutay\n@owner:kutay\nFeature: Hero Image\n\n\tThe Hero Image component displays media images with a header, description and button using an overlay or a double column layout to offer an attrative widget page.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Hero Image component\n\n\t@motivating\n\t@ui\n\tScenario: Overlay image displays header, description, and button with brand color\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\tThen they see their image\n\t\tAnd the image has no padding\n\t\tAnd it has a brand colour overlay\n\t\tAnd \"Klip Rewards\" is displayed over top of the image in xxx-large font\n\t\tAnd below \"Refer friends or complete tasks while using Klip to earn rewards\" is displayed over top of the image in x-large font\n\t\tAnd below they see a brand coloured button with text \"Start earning\"\n\t\tAnd the text section has xxx-large padding\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is scaled to fit content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay image crop can be aligned left, center or right\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| image-pos | <value> |\n\t\tThen the image with overlay is displayed\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is <alignment> to fit content\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| left | left aligned |\n\t\t\t| center | centered |\n\t\t\t| right | right aligned |\n\t\t\t| N/A | centered |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay padding is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| padding-text | <value> |\n\t\tThen the image with overlay is displayed\n\t\tAnd <padding> is applied around header, description and button\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay color and background is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| overlay-color | <overlayColor> |\n\t\t\t| overlay-opacity | <overlayOpacity> |\n\t\tThen the image with overlay is displayed\n\t\tAnd the overlay is <overlayColor>\n\t\tAnd the overlay has <overlayOpacity>\n\t\tAnd the text is <textColor>\n\t\tExamples:\n\t\t\t| textColor | overlayColor | overlayOpacity |\n\t\t\t| #fffc4b | #ff7f7f | 0.9 |\n\t\t\t| #1d0314 | #4baa1a | 0 |\n\t\t\t| #211a27 | #aa481a | 1 |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout displays an image on one side and on the other side a header, description, and button\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\tThen the image is displayed on the left\n\t\tAnd the following elements are displayed on the right\n\t\t\t| elements |\n\t\t\t| header |\n\t\t\t| description |\n\t\t\t| button |\n\t\tWhen the component is scaled down to 599px\n\t\tThen the two-column layout switches to a row layout\n\t\tAnd the image is displayed on top\n\t\tAnd the content is displayed below\n\n\t@motivating\n\t@ui\n\tScenario Outline: Image position is configurable for desktop and mobile\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-pos | <imagePos> |\n\t\t\t| image-mobile-pos | <imageMobilePos> |\n\t\tThen the image is displayed on the <imagePos>\n\t\tWhen the component is scaled down to 599px\n\t\tThen two-column layout switches to a row layout\n\t\tAnd image is displayed on the <imageMobilePos>\n\t\tExamples:\n\t\t\t| imagePos | imageMobilePos |\n\t\t\t| left | top |\n\t\t\t| right | bottom |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Padding is configurable for the image and text of two column layouts\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| padding-text | <paddingText> |\n\t\t\t| padding-image | <paddingImage> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image has padding <paddingImage>\n\t\tAnd the text has padding <paddingText>\n\t\tExamples:\n\t\t\t| paddingText | paddingImage |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| none | none |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Two-column layout image division percentage is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-percentage | <percent> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image takes up <percent> of the two-column layout\n\t\tAnd the text elements take up the remainder of the space\n\t\tExamples:\n\t\t\t| percent |\n\t\t\t| 25% |\n\t\t\t| 42% |\n\t\t\t| 66% |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout text and background color is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| background-color | <backgroundColor> |\n\t\tThen the two column layout is displayed\n\t\tAnd the text has color <textColor>\n\t\tAnd the background has color <backgroundColor>\n\t\tExamples:\n\t\t\t| textColor | backgroundColor |\n\t\t\t| #fffc4b | #ff7f7f |\n\t\t\t| #1d0314 | #4baa1a |\n\t\t\t| #211a27 | #aa481a |";
|
|
@@ -7040,19 +7034,19 @@ const InvoiceTable_stories = {
|
|
|
7040
7034
|
const loadingElement = (h("div", { slot: "loading", style: { display: "contents" } },
|
|
7041
7035
|
h("sqm-table-row", null,
|
|
7042
7036
|
h("sqm-table-cell", { colspan: 6 },
|
|
7043
|
-
h("
|
|
7037
|
+
h("sl-skeleton", null))),
|
|
7044
7038
|
h("sqm-table-row", null,
|
|
7045
7039
|
h("sqm-table-cell", { colspan: 6 },
|
|
7046
|
-
h("
|
|
7040
|
+
h("sl-skeleton", null))),
|
|
7047
7041
|
h("sqm-table-row", null,
|
|
7048
7042
|
h("sqm-table-cell", { colspan: 6 },
|
|
7049
|
-
h("
|
|
7043
|
+
h("sl-skeleton", null))),
|
|
7050
7044
|
h("sqm-table-row", null,
|
|
7051
7045
|
h("sqm-table-cell", { colspan: 6 },
|
|
7052
|
-
h("
|
|
7046
|
+
h("sl-skeleton", null))),
|
|
7053
7047
|
h("sqm-table-row", null,
|
|
7054
7048
|
h("sqm-table-cell", { colspan: 6 },
|
|
7055
|
-
h("
|
|
7049
|
+
h("sl-skeleton", null)))));
|
|
7056
7050
|
const emptyElement = (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png", "empty-state-header": "View your invoice details", "empty-state-text": "Track the status of your invoices and rewards earned by referring friends" }));
|
|
7057
7051
|
// Reward Status Cases
|
|
7058
7052
|
const simpleInvoiceTableProps = {
|
|
@@ -7468,7 +7462,7 @@ const Empty$1 = () => {
|
|
|
7468
7462
|
};
|
|
7469
7463
|
return h(LeaderboardView, Object.assign({}, props));
|
|
7470
7464
|
};
|
|
7471
|
-
const Loading$
|
|
7465
|
+
const Loading$1 = () => {
|
|
7472
7466
|
const props = {
|
|
7473
7467
|
states: {
|
|
7474
7468
|
loading: true,
|
|
@@ -7937,7 +7931,7 @@ const Leaderboard = /*#__PURE__*/Object.freeze({
|
|
|
7937
7931
|
__proto__: null,
|
|
7938
7932
|
'default': Leaderboard_stories,
|
|
7939
7933
|
Empty: Empty$1,
|
|
7940
|
-
Loading: Loading$
|
|
7934
|
+
Loading: Loading$1,
|
|
7941
7935
|
Essentials: Essentials,
|
|
7942
7936
|
One: One,
|
|
7943
7937
|
Five: Five,
|
|
@@ -8485,7 +8479,7 @@ const defaultProps$a = {
|
|
|
8485
8479
|
const Default$b = () => {
|
|
8486
8480
|
return h("sqm-portal-change-marketing", null);
|
|
8487
8481
|
};
|
|
8488
|
-
const Loading$
|
|
8482
|
+
const Loading$2 = () => {
|
|
8489
8483
|
return (h(ChangeMarktingView, Object.assign({}, defaultProps$a, { states: { ...defaultProps$a.states, loading: true } })));
|
|
8490
8484
|
};
|
|
8491
8485
|
const Error$4 = () => {
|
|
@@ -8509,7 +8503,7 @@ const ChangeMarketing = /*#__PURE__*/Object.freeze({
|
|
|
8509
8503
|
__proto__: null,
|
|
8510
8504
|
'default': ChangeMarketing_stories,
|
|
8511
8505
|
Default: Default$b,
|
|
8512
|
-
Loading: Loading$
|
|
8506
|
+
Loading: Loading$2,
|
|
8513
8507
|
Error: Error$4,
|
|
8514
8508
|
Success: Success
|
|
8515
8509
|
});
|
|
@@ -8658,7 +8652,7 @@ const Default$c = () => h(PortalChangePasswordView, Object.assign({}, defaultPro
|
|
|
8658
8652
|
const Open = () => h(PortalChangePasswordView, Object.assign({}, openProps));
|
|
8659
8653
|
const Error$5 = () => h(PortalChangePasswordView, Object.assign({}, errorProps$2));
|
|
8660
8654
|
const PaswordError = () => (h(PortalChangePasswordView, Object.assign({}, passwordErrorProps)));
|
|
8661
|
-
const Loading$
|
|
8655
|
+
const Loading$3 = () => h(PortalChangePasswordView, Object.assign({}, loadingProps));
|
|
8662
8656
|
const Success$1 = () => h(PortalChangePasswordView, Object.assign({}, successProps));
|
|
8663
8657
|
|
|
8664
8658
|
const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
@@ -8668,7 +8662,7 @@ const ChangePassword = /*#__PURE__*/Object.freeze({
|
|
|
8668
8662
|
Open: Open,
|
|
8669
8663
|
Error: Error$5,
|
|
8670
8664
|
PaswordError: PaswordError,
|
|
8671
|
-
Loading: Loading$
|
|
8665
|
+
Loading: Loading$3,
|
|
8672
8666
|
Success: Success$1
|
|
8673
8667
|
});
|
|
8674
8668
|
|
|
@@ -8855,7 +8849,6 @@ const defaultContent = {
|
|
|
8855
8849
|
resendEmailButtonText: "Re-send Email",
|
|
8856
8850
|
verificationStatusMessage: "Checking verification status in {countdown}",
|
|
8857
8851
|
verificationLoadingMessage: "Checking verification status",
|
|
8858
|
-
verificationResentMessage: "Verification email resent to {email}",
|
|
8859
8852
|
};
|
|
8860
8853
|
const defaultStates = {
|
|
8861
8854
|
error: "",
|
|
@@ -9560,7 +9553,7 @@ const successProps$3 = {
|
|
|
9560
9553
|
};
|
|
9561
9554
|
const Default$h = () => h(PortalProfileView, Object.assign({}, defaultProps$i));
|
|
9562
9555
|
const DefaultNoCountry = () => h(PortalProfileView, Object.assign({}, noCountry));
|
|
9563
|
-
const Loading$
|
|
9556
|
+
const Loading$4 = () => h(PortalProfileView, Object.assign({}, loadingProps$5));
|
|
9564
9557
|
const Disabled = () => h(PortalProfileView, Object.assign({}, disabledProps));
|
|
9565
9558
|
const Error$6 = () => h(PortalProfileView, Object.assign({}, errorProps$7));
|
|
9566
9559
|
const Success$2 = () => h(PortalProfileView, Object.assign({}, successProps$3));
|
|
@@ -9570,7 +9563,7 @@ const PortalProfile = /*#__PURE__*/Object.freeze({
|
|
|
9570
9563
|
'default': PortalProfile_stories,
|
|
9571
9564
|
Default: Default$h,
|
|
9572
9565
|
DefaultNoCountry: DefaultNoCountry,
|
|
9573
|
-
Loading: Loading$
|
|
9566
|
+
Loading: Loading$4,
|
|
9574
9567
|
Disabled: Disabled,
|
|
9575
9568
|
Error: Error$6,
|
|
9576
9569
|
Success: Success$2
|
|
@@ -10211,7 +10204,7 @@ const CenterAlign = () => {
|
|
|
10211
10204
|
const RightAlign$1 = () => {
|
|
10212
10205
|
return h(QrCodeView, Object.assign({}, defaultProps$m, { alignment: "right" }));
|
|
10213
10206
|
};
|
|
10214
|
-
const Loading$
|
|
10207
|
+
const Loading$5 = () => {
|
|
10215
10208
|
return h(QrCodeView, Object.assign({}, defaultProps$m, { loading: true }));
|
|
10216
10209
|
};
|
|
10217
10210
|
const Error$7 = () => {
|
|
@@ -10229,7 +10222,7 @@ const QRCode = /*#__PURE__*/Object.freeze({
|
|
|
10229
10222
|
LeftAlign: LeftAlign$1,
|
|
10230
10223
|
CenterAlign: CenterAlign,
|
|
10231
10224
|
RightAlign: RightAlign$1,
|
|
10232
|
-
Loading: Loading$
|
|
10225
|
+
Loading: Loading$5,
|
|
10233
10226
|
Error: Error$7,
|
|
10234
10227
|
DownloadError: DownloadError
|
|
10235
10228
|
});
|
|
@@ -10621,7 +10614,7 @@ const EmptyWithCustomTextAndImage = () => {
|
|
|
10621
10614
|
shareCodes("shareCodes"),
|
|
10622
10615
|
shareButtons("shareButtons")));
|
|
10623
10616
|
};
|
|
10624
|
-
const Loading$
|
|
10617
|
+
const Loading$6 = () => {
|
|
10625
10618
|
return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
|
|
10626
10619
|
pagination("pagination"),
|
|
10627
10620
|
shareCodes("shareCodes"),
|
|
@@ -10636,7 +10629,7 @@ const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
10636
10629
|
WithPreviouslyCopiedCodeAndCustomColor: WithPreviouslyCopiedCodeAndCustomColor,
|
|
10637
10630
|
Empty: Empty$2,
|
|
10638
10631
|
EmptyWithCustomTextAndImage: EmptyWithCustomTextAndImage,
|
|
10639
|
-
Loading: Loading$
|
|
10632
|
+
Loading: Loading$6
|
|
10640
10633
|
});
|
|
10641
10634
|
|
|
10642
10635
|
const scenario$s = "@owner:sam\n@author:sam\n\nFeature: Referral Iframe\n\n\tUsed to provide an external form for submitting referral leads using the current user's referral code\n\n\tBackground: A user is logged in\n\t\tGiven there is a logged in user\n\n\t@motivating\n\tScenario: Referral code is passed to the iframe as a query parameter\n\t\tGiven the \"iframe-src\" is \"https://example.com\"\n\t\tAnd the user has navigated to \"/refer\"\n\t\tAnd the user's referral code is \"BOBBYREFER\"\n\t\tWhen the iframe content is loaded\n\t\tThen the iframe url will be \"https://example.com?rsCode=BOBBYREFER\"\n\n\t@ui\n\tScenario Outline: The height and width of the iFrame can be controlled via props\n\t\tGiven the \"iframe-src\" is \"https://example.com\"\n\t\tAnd the iframe content is 1000x1000\n\t\tAnd the \"iframe-height\" is set to <heightValue>\n\t\tAnd the \"iframe-width\" is set to <widthValue>\n\t\tThen the content of the iframe will be displayed with scrollbars\n\t\tAnd the dimension of the iFrame displayed will be 500x500\n\t\tWhen the \"iframe-height\" is set to <heightValue>\n\t\tAnd the \"iframe-width\" is set to <widthValue>\n\t\tThen the full content of the iframe will be displayed on the page\n\t\tAnd the dimension of the iFrame displayed will be 1000x1000\n\t\tExamples:\n\t\t| heightValue | widthValue |\n\t\t| 500px | 500px |\n\t\t| 50% | 50% |\n\n\t@minutia\n\tScenario Outline: The iFrame will fail fast if a iFrame source isn't provided\n\t\tGiven \"iframe-src\" <mayBeAnAttribute>\n\t\tAnd it <mayHaveValue>\n\t\tWhen a user views the referral iFrame component\n\t\tThen an alert with an error message is displayed in place of the iFrame\n\t\tAnd it has a details section\n\t\tWhen \"More details\" is clicked\n\t\tThen the following information will be displayed\n\t\t| component being used |\n\t\t| missing attribute(s) |\n\n\tExamples:\n\t\t| mayBeAnAttribute | mayHaveValue |\n\t\t| is not an attribute | N/A |\n\t\t| is an attribute | \"\" |\n\t\t| is an attribute | |";
|
|
@@ -11160,19 +11153,19 @@ const ReferralTable_stories = {
|
|
|
11160
11153
|
const loadingElement$1 = (h("div", { slot: "loading", style: { display: "contents" } },
|
|
11161
11154
|
h("sqm-table-row", null,
|
|
11162
11155
|
h("sqm-table-cell", { colspan: 5 },
|
|
11163
|
-
h("
|
|
11156
|
+
h("sl-skeleton", null))),
|
|
11164
11157
|
h("sqm-table-row", null,
|
|
11165
11158
|
h("sqm-table-cell", { colspan: 5 },
|
|
11166
|
-
h("
|
|
11159
|
+
h("sl-skeleton", null))),
|
|
11167
11160
|
h("sqm-table-row", null,
|
|
11168
11161
|
h("sqm-table-cell", { colspan: 5 },
|
|
11169
|
-
h("
|
|
11162
|
+
h("sl-skeleton", null))),
|
|
11170
11163
|
h("sqm-table-row", null,
|
|
11171
11164
|
h("sqm-table-cell", { colspan: 5 },
|
|
11172
|
-
h("
|
|
11165
|
+
h("sl-skeleton", null))),
|
|
11173
11166
|
h("sqm-table-row", null,
|
|
11174
11167
|
h("sqm-table-cell", { colspan: 5 },
|
|
11175
|
-
h("
|
|
11168
|
+
h("sl-skeleton", null)))));
|
|
11176
11169
|
const emptyElement$1 = (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_referral2.png", "empty-state-header": "View your referral details", "empty-state-text": "Track the status of your referrals and rewards earned by referring friends" }));
|
|
11177
11170
|
const baseReward$1 = {
|
|
11178
11171
|
id: "123",
|
|
@@ -11901,7 +11894,7 @@ const RedemptionError = () => StoryBase(redemptionError);
|
|
|
11901
11894
|
const QueryError = () => StoryBase(queryError);
|
|
11902
11895
|
const SuccessPromo = () => StoryBase(success);
|
|
11903
11896
|
const SuccessVariableAndStepped = () => StoryBase(successVariable);
|
|
11904
|
-
const Loading$
|
|
11897
|
+
const Loading$7 = () => StoryBase(loading);
|
|
11905
11898
|
const Empty$3 = () => StoryBase(empty$1);
|
|
11906
11899
|
|
|
11907
11900
|
const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
@@ -11923,7 +11916,7 @@ const RewardExchangeList = /*#__PURE__*/Object.freeze({
|
|
|
11923
11916
|
QueryError: QueryError,
|
|
11924
11917
|
SuccessPromo: SuccessPromo,
|
|
11925
11918
|
SuccessVariableAndStepped: SuccessVariableAndStepped,
|
|
11926
|
-
Loading: Loading$
|
|
11919
|
+
Loading: Loading$7,
|
|
11927
11920
|
Empty: Empty$3
|
|
11928
11921
|
});
|
|
11929
11922
|
|
|
@@ -12535,19 +12528,19 @@ const RewardsTable_stories = {
|
|
|
12535
12528
|
const loadingElement$2 = (h("div", { slot: "loading", style: { display: "contents" } },
|
|
12536
12529
|
h("sqm-table-row", null,
|
|
12537
12530
|
h("sqm-table-cell", { colspan: 5 },
|
|
12538
|
-
h("
|
|
12531
|
+
h("sl-skeleton", null))),
|
|
12539
12532
|
h("sqm-table-row", null,
|
|
12540
12533
|
h("sqm-table-cell", { colspan: 5 },
|
|
12541
|
-
h("
|
|
12534
|
+
h("sl-skeleton", null))),
|
|
12542
12535
|
h("sqm-table-row", null,
|
|
12543
12536
|
h("sqm-table-cell", { colspan: 5 },
|
|
12544
|
-
h("
|
|
12537
|
+
h("sl-skeleton", null))),
|
|
12545
12538
|
h("sqm-table-row", null,
|
|
12546
12539
|
h("sqm-table-cell", { colspan: 5 },
|
|
12547
|
-
h("
|
|
12540
|
+
h("sl-skeleton", null))),
|
|
12548
12541
|
h("sqm-table-row", null,
|
|
12549
12542
|
h("sqm-table-cell", { colspan: 5 },
|
|
12550
|
-
h("
|
|
12543
|
+
h("sl-skeleton", null)))));
|
|
12551
12544
|
const emptyElement$2 = (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png", "empty-state-header": "View your rewards", "empty-state-text": "See all the rewards you have earned from referring friends and completing tasks" }));
|
|
12552
12545
|
const rewardsTableProps = (rows, empty = false, loading = false, prev = "Prev", next = "Next", hidden = "") => ({
|
|
12553
12546
|
states: {
|
|
@@ -15133,7 +15126,7 @@ const InitialLoading = () => (h("sqm-code-verification", { demoData: {
|
|
|
15133
15126
|
initialiseLoading: true,
|
|
15134
15127
|
},
|
|
15135
15128
|
} }));
|
|
15136
|
-
const Loading$
|
|
15129
|
+
const Loading$8 = () => (h("sqm-code-verification", { demoData: {
|
|
15137
15130
|
states: {
|
|
15138
15131
|
...defaultProps$p,
|
|
15139
15132
|
loading: true,
|
|
@@ -15157,7 +15150,7 @@ const WidgetCodeVerification = /*#__PURE__*/Object.freeze({
|
|
|
15157
15150
|
'default': WidgetCodeVerification_stories,
|
|
15158
15151
|
Default: Default$n,
|
|
15159
15152
|
InitialLoading: InitialLoading,
|
|
15160
|
-
Loading: Loading$
|
|
15153
|
+
Loading: Loading$8,
|
|
15161
15154
|
CodeResent: CodeResent,
|
|
15162
15155
|
VerificationFailed: VerificationFailed
|
|
15163
15156
|
});
|
|
@@ -15184,7 +15177,7 @@ const EmailIsPrefilled = () => (h("div", null,
|
|
|
15184
15177
|
email: "test@example.com",
|
|
15185
15178
|
},
|
|
15186
15179
|
} })));
|
|
15187
|
-
const Loading$
|
|
15180
|
+
const Loading$9 = () => (h("sqm-email-verification", { demoData: {
|
|
15188
15181
|
states: {
|
|
15189
15182
|
...defaultProps$q,
|
|
15190
15183
|
initialLoading: true,
|
|
@@ -15225,7 +15218,7 @@ const WidgetEmailVerification = /*#__PURE__*/Object.freeze({
|
|
|
15225
15218
|
'default': WidgetEmailVerification_stories,
|
|
15226
15219
|
Default: Default$o,
|
|
15227
15220
|
EmailIsPrefilled: EmailIsPrefilled,
|
|
15228
|
-
Loading: Loading$
|
|
15221
|
+
Loading: Loading$9,
|
|
15229
15222
|
SaveLoading: SaveLoading,
|
|
15230
15223
|
WithHeader: WithHeader$1,
|
|
15231
15224
|
InvalidEmail: InvalidEmail,
|
|
@@ -16958,7 +16951,7 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
16958
16951
|
const PayoutDetailsCard_stories = {
|
|
16959
16952
|
title: "Components/Payout Details Card",
|
|
16960
16953
|
};
|
|
16961
|
-
const Loading$
|
|
16954
|
+
const Loading$a = () => {
|
|
16962
16955
|
return (h("sqm-payout-details-card", { demoData: {
|
|
16963
16956
|
states: {
|
|
16964
16957
|
loading: true,
|
|
@@ -16998,7 +16991,7 @@ const PaypalPayout = () => {
|
|
|
16998
16991
|
const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
16999
16992
|
__proto__: null,
|
|
17000
16993
|
'default': PayoutDetailsCard_stories,
|
|
17001
|
-
Loading: Loading$
|
|
16994
|
+
Loading: Loading$a,
|
|
17002
16995
|
NextPayout: NextPayout,
|
|
17003
16996
|
PayoutToday: PayoutToday,
|
|
17004
16997
|
ThresholdPayout: ThresholdPayout,
|
|
@@ -17021,7 +17014,7 @@ const VerifyIdentityReviewInternal = () => (h("sqm-payout-status-alert", { demoD
|
|
|
17021
17014
|
const VerifyIdentityFailedInternal = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "VERIFICATION:FAILED" } } }));
|
|
17022
17015
|
const W9ThresholdReached = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "OVER_W9_THRESHOLD" } } }));
|
|
17023
17016
|
const Hold = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "HOLD" } } }));
|
|
17024
|
-
const Loading$
|
|
17017
|
+
const Loading$b = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, loading: true } } }));
|
|
17025
17018
|
const Error$b = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, error: true } } }));
|
|
17026
17019
|
const NewPayeeReview = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "NEW_PAYEE_REVIEW" } } }));
|
|
17027
17020
|
const PaymentHoldOnChange = () => (h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$r, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
@@ -17047,7 +17040,7 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
|
17047
17040
|
VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
|
|
17048
17041
|
W9ThresholdReached: W9ThresholdReached,
|
|
17049
17042
|
Hold: Hold,
|
|
17050
|
-
Loading: Loading$
|
|
17043
|
+
Loading: Loading$b,
|
|
17051
17044
|
Error: Error$b,
|
|
17052
17045
|
NewPayeeReview: NewPayeeReview,
|
|
17053
17046
|
PaymentHoldOnChange: PaymentHoldOnChange,
|
|
@@ -17239,7 +17232,7 @@ const BackgroundColor$2 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
|
17239
17232
|
backgroundColor: "aquamarine",
|
|
17240
17233
|
},
|
|
17241
17234
|
})));
|
|
17242
|
-
const Loading$
|
|
17235
|
+
const Loading$c = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
17243
17236
|
...defaultProps$s,
|
|
17244
17237
|
states: {
|
|
17245
17238
|
error: "",
|
|
@@ -17279,7 +17272,7 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
|
17279
17272
|
WithSlots: WithSlots,
|
|
17280
17273
|
NoBorder: NoBorder$1,
|
|
17281
17274
|
BackgroundColor: BackgroundColor$2,
|
|
17282
|
-
Loading: Loading$
|
|
17275
|
+
Loading: Loading$c,
|
|
17283
17276
|
Error: Error$c,
|
|
17284
17277
|
FraudError: FraudError,
|
|
17285
17278
|
EmptyEmailError: EmptyEmailError
|
|
@@ -17489,7 +17482,7 @@ const Disabled$3 = () => (h(LeadDropdownFieldView, Object.assign({}, defaultProp
|
|
|
17489
17482
|
disabled: true,
|
|
17490
17483
|
},
|
|
17491
17484
|
} })));
|
|
17492
|
-
const Loading$
|
|
17485
|
+
const Loading$d = () => (h(LeadDropdownFieldView, Object.assign({}, defaultProps$v, { states: {
|
|
17493
17486
|
...defaultProps$v.states,
|
|
17494
17487
|
leadFormState: {
|
|
17495
17488
|
...defaultProps$v.states.leadFormState,
|
|
@@ -17513,7 +17506,7 @@ const LeadFormDropdownField = /*#__PURE__*/Object.freeze({
|
|
|
17513
17506
|
Multiple: Multiple,
|
|
17514
17507
|
WithError: WithError$1,
|
|
17515
17508
|
Disabled: Disabled$3,
|
|
17516
|
-
Loading: Loading$
|
|
17509
|
+
Loading: Loading$d,
|
|
17517
17510
|
WithInitialValue: WithInitialValue$1
|
|
17518
17511
|
});
|
|
17519
17512
|
|
|
@@ -17568,31 +17561,6 @@ const LeadCheckboxField = /*#__PURE__*/Object.freeze({
|
|
|
17568
17561
|
CustomError: CustomError$3
|
|
17569
17562
|
});
|
|
17570
17563
|
|
|
17571
|
-
const Skeleton_stories = {
|
|
17572
|
-
title: "Components/Skeleton",
|
|
17573
|
-
};
|
|
17574
|
-
const Default$u = () => {
|
|
17575
|
-
return h("sqm-skeleton", null);
|
|
17576
|
-
};
|
|
17577
|
-
const CustomWidth = () => {
|
|
17578
|
-
return h("sqm-skeleton", { width: "100px" });
|
|
17579
|
-
};
|
|
17580
|
-
const CustomHeight = () => {
|
|
17581
|
-
return h("sqm-skeleton", { height: "100px" });
|
|
17582
|
-
};
|
|
17583
|
-
const CustomWidthAndHeight$1 = () => {
|
|
17584
|
-
return h("sqm-skeleton", { width: "150px", height: "50px" });
|
|
17585
|
-
};
|
|
17586
|
-
|
|
17587
|
-
const Skeleton = /*#__PURE__*/Object.freeze({
|
|
17588
|
-
__proto__: null,
|
|
17589
|
-
'default': Skeleton_stories,
|
|
17590
|
-
Default: Default$u,
|
|
17591
|
-
CustomWidth: CustomWidth,
|
|
17592
|
-
CustomHeight: CustomHeight,
|
|
17593
|
-
CustomWidthAndHeight: CustomWidthAndHeight$1
|
|
17594
|
-
});
|
|
17595
|
-
|
|
17596
17564
|
function deepFreeze(obj) {
|
|
17597
17565
|
if (obj instanceof Map) {
|
|
17598
17566
|
obj.clear = obj.delete = obj.set = function () {
|
|
@@ -20279,7 +20247,6 @@ const stories = [
|
|
|
20279
20247
|
LeadInputField,
|
|
20280
20248
|
LeadFormDropdownField,
|
|
20281
20249
|
LeadCheckboxField,
|
|
20282
|
-
Skeleton,
|
|
20283
20250
|
];
|
|
20284
20251
|
const StencilStorybook = class {
|
|
20285
20252
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { k as useState, y } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { _ } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
@@ -1,41 +1,53 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-58a69018.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
|
|
5
5
|
const style = {
|
|
6
6
|
Container: {
|
|
7
7
|
display: "flex",
|
|
8
8
|
flexDirection: "column",
|
|
9
|
-
gap: "
|
|
9
|
+
gap: "24px",
|
|
10
10
|
},
|
|
11
11
|
HeaderContainer: {
|
|
12
12
|
display: "flex",
|
|
13
13
|
flexDirection: "column",
|
|
14
14
|
gap: "10px",
|
|
15
15
|
},
|
|
16
|
+
TitleSkeleton: {
|
|
17
|
+
width: "45%",
|
|
18
|
+
height: "40px !important",
|
|
19
|
+
},
|
|
20
|
+
StepSkeleton: {
|
|
21
|
+
width: "15%",
|
|
22
|
+
},
|
|
23
|
+
HeaderSkeleton: {
|
|
24
|
+
width: "25%",
|
|
25
|
+
height: "30px !important",
|
|
26
|
+
},
|
|
27
|
+
InputSkeleton: {
|
|
28
|
+
width: "75%",
|
|
29
|
+
},
|
|
30
|
+
ButtonSkeleton: {
|
|
31
|
+
width: "80px",
|
|
32
|
+
height: "30px !important",
|
|
33
|
+
},
|
|
16
34
|
};
|
|
17
35
|
const sheet = createStyleSheet(style);
|
|
18
36
|
const styleString = sheet.toString();
|
|
19
37
|
const LoadingView = () => {
|
|
20
38
|
return (h("div", { class: sheet.classes.Container },
|
|
21
39
|
h("style", { type: "text/css" }, styleString),
|
|
22
|
-
h("
|
|
40
|
+
h("sl-skeleton", { class: sheet.classes.TitleSkeleton }),
|
|
23
41
|
h("div", { class: sheet.classes.HeaderContainer },
|
|
24
|
-
h("
|
|
25
|
-
h("
|
|
26
|
-
h("
|
|
27
|
-
h("
|
|
28
|
-
h("
|
|
29
|
-
h("
|
|
30
|
-
h("
|
|
31
|
-
h("
|
|
32
|
-
h("
|
|
33
|
-
h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
34
|
-
h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
35
|
-
h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
36
|
-
h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
37
|
-
h("sqm-skeleton", { width: "15%" }),
|
|
38
|
-
h("sqm-skeleton", { width: "80px", height: "30px !important" })));
|
|
42
|
+
h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
|
|
43
|
+
h("sl-skeleton", { class: sheet.classes.HeaderSkeleton })),
|
|
44
|
+
h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
45
|
+
h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
46
|
+
h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
47
|
+
h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
48
|
+
h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
|
|
49
|
+
h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
|
|
50
|
+
h("sl-skeleton", { class: sheet.classes.ButtonSkeleton })));
|
|
39
51
|
};
|
|
40
52
|
|
|
41
53
|
function validTaxDocument(requiredType) {
|