@saasquatch/mint-components 2.3.0-6 → 2.3.0-7
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_10.cjs.entry.js +28 -721
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +4 -4
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +16 -31
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +253 -76
- package/dist/cjs/{sqm-user-info-form-view-0e1ddbe4.js → sqm-user-info-form-view-42323dc5.js} +743 -38
- package/dist/cjs/{useIndirectTaxForm-c3c1ec56.js → useIndirectTaxForm-d1cd23f7.js} +5 -5
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +16 -31
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +6 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +13 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.js +151 -0
- package/dist/esm/sqm-banking-info-form_10.entry.js +16 -709
- package/dist/esm/sqm-big-stat_47.entry.js +2 -2
- package/dist/esm/sqm-email-verification_2.entry.js +16 -31
- package/dist/esm/sqm-stencilbook.entry.js +217 -40
- package/dist/esm/{sqm-user-info-form-view-e1ba6009.js → sqm-user-info-form-view-dc473cb8.js} +721 -17
- package/dist/esm/{useIndirectTaxForm-b2888ea5.js → useIndirectTaxForm-27668ad4.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-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-dc473cb8.js +1 -0
- package/dist/esm-es5/subregions-24c1c137.js +1 -0
- package/dist/esm-es5/{useIndirectTaxForm-b2888ea5.js → useIndirectTaxForm-27668ad4.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-1f387c7b.system.js +1 -1
- package/dist/mint-components/{p-abe9f5b1.js → p-2e462dd9.js} +5 -5
- package/dist/mint-components/{p-b419f9ac.entry.js → p-3c052d3d.entry.js} +1 -1
- package/dist/mint-components/p-3f68e4e3.js +1 -0
- package/dist/mint-components/{p-a38eece5.system.entry.js → p-4575f71b.system.entry.js} +1 -1
- package/dist/mint-components/{p-e7f09044.entry.js → p-459c4251.entry.js} +6 -31
- package/dist/mint-components/p-547f8243.system.entry.js +1 -0
- package/dist/mint-components/p-66cb8bec.system.js +1 -0
- package/dist/mint-components/p-b21c53cb.system.entry.js +1 -0
- package/dist/mint-components/p-c2903e7d.entry.js +83 -0
- package/dist/mint-components/p-cb58a2c6.js +1 -0
- package/dist/mint-components/p-d30c8cb3.entry.js +9 -0
- package/dist/mint-components/p-df74f653.system.entry.js +1 -0
- package/dist/mint-components/p-ec58628f.system.js +1 -0
- package/dist/mint-components/{p-58c24352.system.js → p-ed945efe.system.js} +1 -1
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.d.ts +19 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-e1ba6009.js +0 -1
- package/dist/esm-es5/utils-4f5cd04c.js +0 -1
- package/dist/mint-components/p-12d11abc.system.entry.js +0 -1
- package/dist/mint-components/p-1e6a2945.js +0 -1
- package/dist/mint-components/p-88e427ac.system.entry.js +0 -1
- package/dist/mint-components/p-a0eb0331.entry.js +0 -9
- package/dist/mint-components/p-b222bace.system.entry.js +0 -1
- package/dist/mint-components/p-b96ed8eb.js +0 -1
- package/dist/mint-components/p-cdabd9de.system.js +0 -1
- package/dist/mint-components/p-ebc519bc.system.js +0 -1
- package/dist/mint-components/p-ffcebe78.entry.js +0 -83
- package/dist/cjs/{utils-a3b3d05b.js → subregions-e7273457.js} +44 -44
- package/dist/esm/{utils-4f5cd04c.js → subregions-24c1c137.js} +44 -44
|
@@ -35,8 +35,8 @@ require('./ErrorView-ee7b0f36.js');
|
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
36
|
const ShadowViewAddon = require('./ShadowViewAddon-3b477e58.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
|
|
38
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
39
|
-
const
|
|
38
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-42323dc5.js');
|
|
39
|
+
const subregions = require('./subregions-e7273457.js');
|
|
40
40
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-0cd7ebdb.js');
|
|
41
41
|
require('./data-89ac73dd.js');
|
|
42
42
|
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-65cc677a.js');
|
|
@@ -1797,7 +1797,7 @@ const resetPasswordTemplate = "<sqm-portal-reset-password confirm-password=\"tru
|
|
|
1797
1797
|
|
|
1798
1798
|
const resetPasswordEmailTemplate = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n<html\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:o=\"urn:schemas-microsoft-com:office:office\"\n xmlns:v=\"urn:schemas-microsoft-com:vml\"\n>\n <head>\n <!--[if gte mso 9\n ]><xml\n ><o:OfficeDocumentSettings\n ><o:AllowPNG /><o:PixelsPerInch\n >96</o:PixelsPerInch\n ></o:OfficeDocumentSettings\n ></xml\n ><!\n [endif]-->\n <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\" />\n <meta content=\"width=device-width\" name=\"viewport\" />\n <!--[if !mso]><!-->\n <meta content=\"IE=edge\" http-equiv=\"X-UA-Compatible\" />\n <!--<![endif]-->\n <title></title>\n <!--[if !mso]><!-->\n <!--<![endif]-->\n <style type=\"text/css\">\n body {\n margin: 0;\n padding: 0;\n }\n\n table,\n td,\n tr {\n vertical-align: top;\n border-collapse: collapse;\n }\n\n * {\n line-height: inherit;\n }\n\n a[x-apple-data-detectors=\"true\"] {\n color: inherit !important;\n text-decoration: none !important;\n }\n </style>\n <style id=\"media-query\" type=\"text/css\">\n @media (max-width: 520px) {\n .block-grid,\n .col {\n min-width: 320px !important;\n max-width: 100% !important;\n display: block !important;\n }\n\n .block-grid {\n width: 100% !important;\n }\n\n .col {\n width: 100% !important;\n }\n\n .col_cont {\n margin: 0 auto;\n }\n\n img.fullwidth,\n img.fullwidthOnMobile {\n max-width: 100% !important;\n }\n\n .no-stack .col {\n min-width: 0 !important;\n display: table-cell !important;\n }\n\n .no-stack.two-up .col {\n width: 50% !important;\n }\n\n .no-stack .col.num2 {\n width: 16.6% !important;\n }\n\n .no-stack .col.num3 {\n width: 25% !important;\n }\n\n .no-stack .col.num4 {\n width: 33% !important;\n }\n\n .no-stack .col.num5 {\n width: 41.6% !important;\n }\n\n .no-stack .col.num6 {\n width: 50% !important;\n }\n\n .no-stack .col.num7 {\n width: 58.3% !important;\n }\n\n .no-stack .col.num8 {\n width: 66.6% !important;\n }\n\n .no-stack .col.num9 {\n width: 75% !important;\n }\n\n .no-stack .col.num10 {\n width: 83.3% !important;\n }\n\n .video-block {\n max-width: none !important;\n }\n\n .mobile_hide {\n min-height: 0px;\n max-height: 0px;\n max-width: 0px;\n display: none;\n overflow: hidden;\n font-size: 0px;\n }\n\n .desktop_hide {\n display: block !important;\n max-height: none !important;\n }\n }\n </style>\n <style id=\"icon-media-query\" type=\"text/css\">\n @media (max-width: 520px) {\n .icons-inner {\n text-align: center;\n }\n\n .icons-inner td {\n margin: 0 auto;\n }\n }\n </style>\n </head>\n <body\n class=\"clean-body\"\n style=\"\n margin: 0;\n padding: 0;\n -webkit-text-size-adjust: 100%;\n background-color: #ffffff;\n \"\n >\n <!--[if IE]><div class=\"ie-browser\"><![endif]-->\n <table\n bgcolor=\"#FFFFFF\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n class=\"nl-container\"\n role=\"presentation\"\n style=\"\n table-layout: fixed;\n vertical-align: top;\n min-width: 320px;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n background-color: #ffffff;\n width: 100%;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <tbody>\n <tr style=\"vertical-align: top\" valign=\"top\">\n <td style=\"word-break: break-word; vertical-align: top\" valign=\"top\">\n <!--[if (mso)|(IE)]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td align=\"center\" style=\"background-color:#FFFFFF\"><![endif]-->\n <div style=\"background-color: transparent\">\n <div\n class=\"block-grid\"\n style=\"\n min-width: 320px;\n max-width: 500px;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n margin: 0 auto;\n background-color: transparent;\n \"\n >\n <div\n style=\"\n border-collapse: collapse;\n display: table;\n width: 100%;\n background-color: transparent;\n \"\n >\n <!--[if (mso)|(IE)]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"background-color:transparent;\"><tr><td align=\"center\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:500px\"><tr class=\"layout-full-width\" style=\"background-color:transparent\"><![endif]-->\n <!--[if (mso)|(IE)]><td align=\"center\" width=\"500\" style=\"background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;\" valign=\"top\"><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;\"><![endif]-->\n <div\n class=\"col num12\"\n style=\"\n min-width: 320px;\n max-width: 500px;\n display: table-cell;\n vertical-align: top;\n width: 500px;\n \"\n >\n <div class=\"col_cont\" style=\"width: 100% !important\">\n <!--[if (!mso)&(!IE)]><!-->\n <div\n style=\"\n border-top: 0px solid transparent;\n border-left: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-right: 0px solid transparent;\n padding-top: 5px;\n padding-bottom: 5px;\n padding-right: 0px;\n padding-left: 0px;\n \"\n >\n <!--<![endif]-->\n <table\n cellpadding=\"0\"\n cellspacing=\"0\"\n role=\"presentation\"\n style=\"\n table-layout: fixed;\n vertical-align: top;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <tr style=\"vertical-align: top\" valign=\"top\">\n <td\n align=\"center\"\n style=\"\n word-break: break-word;\n vertical-align: top;\n padding-bottom: 20px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <h1\n style=\"\n color: #444445;\n direction: ltr;\n font-family: 'Helvetica Neue', Helvetica,\n Arial, sans-serif;\n font-size: 20px;\n font-weight: normal;\n letter-spacing: normal;\n line-height: 120%;\n text-align: left;\n margin-top: 0;\n margin-bottom: 0;\n \"\n >\n <strong>Reset your password</strong>\n </h1>\n </td>\n </tr>\n </table>\n <!--[if mso]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif\"><![endif]-->\n <div\n style=\"\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.8;\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n \"\n >\n <div\n class=\"txtTinyMce-wrapper\"\n style=\"\n font-size: 14px;\n line-height: 1.8;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 25px;\n \"\n >\n <p\n style=\"\n margin: 0;\n font-size: 14px;\n line-height: 1.8;\n word-break: break-word;\n mso-line-height-alt: 25px;\n margin-top: 0;\n margin-bottom: 0;\n \"\n >\n <span style=\"font-size: 14px\"\n >We received a request to reset your password.\n Click the button below to reset your\n password.</span\n >\n </p>\n </div>\n </div>\n <div\n align=\"center\"\n class=\"button-container\"\n style=\"\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n \"\n >\n <!--[if mso]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;\"><tr><td style=\"padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px\" align=\"center\"><v:roundrect xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:w=\"urn:schemas-microsoft-com:office:word\" target=\"_blank\" href={{validationLink}} style=\"height:31.5pt;width:390pt;v-text-anchor:middle;\" arcsize=\"12%\" stroke=\"false\" fillcolor=\"#2270ee\"><w:anchorlock/><v:textbox inset=\"0,0,0,0\"><center style=\"color:#ffffff; font-family:Arial, sans-serif; font-size:14px\"><!\n [endif]--><a\n href=\"{{validationLink}}\"\n target=\"_blank\"\n style=\"\n -webkit-text-size-adjust: none;\n text-decoration: none;\n display: block;\n color: #ffffff;\n background-color: #2270ee;\n border-radius: 5px;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n width: 100%;\n width: calc(100% - 2px);\n border-top: var(--sqm-border-thickness, 1px) solid\n #2270ee;\n border-right: var(--sqm-border-thickness, 1px)\n solid #2270ee;\n border-bottom: var(--sqm-border-thickness, 1px)\n solid #2270ee;\n border-left: var(--sqm-border-thickness, 1px)\n solid #2270ee;\n padding-top: 5px;\n padding-bottom: 5px;\n font-family: 'Helvetica Neue', Helvetica, Arial,\n sans-serif;\n text-align: center;\n mso-border-alt: none;\n word-break: keep-all;\n \"\n target=\"_blank\"\n ><span\n style=\"\n padding-left: 20px;\n padding-right: 20px;\n font-size: 14px;\n display: inline-block;\n letter-spacing: undefined;\n \"\n ><span\n style=\"\n font-size: 16px;\n line-height: 2;\n word-break: break-word;\n mso-line-height-alt: 32px;\n \"\n ><span\n style=\"font-size: 14px; line-height: 28px\"\n >Reset Password</span\n ></span\n ></span\n ></a\n >\n <!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]-->\n </div>\n <!--[if mso]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding-right: 10px; padding-left: 10px; padding-top: 15px; padding-bottom: 15px; font-family: Arial, sans-serif\"><![endif]-->\n <div\n style=\"\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.2;\n padding-top: 15px;\n padding-right: 10px;\n padding-bottom: 15px;\n padding-left: 10px;\n \"\n >\n <div\n class=\"txtTinyMce-wrapper\"\n style=\"\n font-size: 14px;\n line-height: 1.2;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 17px;\n \"\n >\n <p\n style=\"\n margin: 0;\n font-size: 12px;\n line-height: 1.2;\n word-break: break-word;\n mso-line-height-alt: 14px;\n margin-top: 0;\n margin-bottom: 0;\n \"\n >\n <span style=\"font-size: 12px\"\n >If you didn't request a password reset please\n ignore this email. Your password will not\n change.</span\n >\n </p>\n </div>\n </div>\n <!--[if mso]></td></tr></table><![endif]-->\n <!--[if (!mso)&(!IE)]><!-->\n </div>\n <!--<![endif]-->\n </div>\n </div>\n <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n <!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]-->\n </div>\n </div>\n </div>\n <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n </td>\n </tr>\n </tbody>\n </table>\n <!--[if (IE)]></div><![endif]-->\n </body>\n</html>\n";
|
|
1799
1799
|
|
|
1800
|
-
const taxAndCashTemplate = "<sqm-portal-frame>\n <a slot=\"header\" href=\"/\">\n <sqm-text style=\"height: 60px\">\n <img\n style=\"height: 60px\"\n src=\"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png\"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id=\"referral-program\">\n <sqm-router>\n <template\n path=\"/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)\"\n >\n <sqm-hero\n background=\"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80\"\n >\n <sqm-router>\n <template path=\"/register\">\n <sqm-portal-login></sqm-portal-login>\n <sqm-portal-register>\n <sqm-name-fields slot=\"formData\"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path=\"/emailVerification\">\n <sqm-portal-protected-route\n redirect-to=\"/login\"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path=\"/login\">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path=\"/verifyEmail\">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path=\"/forgotPassword\">\n <sqm-portal-forgot-password\n email-label=\"Business Email\"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path=\"/resetPassword\">\n <sqm-portal-reset-password\n confirm-password=\"true\"\n ></sqm-portal-reset-password>\n </template>\n <template path=\"/logout\">\n <sqm-portal-logout next-page=\"/login\"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path=\"/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?\">\n <sqm-divided-layout\n direction=\"row\"\n style=\"\n border-top: var(--sqm-border-thickness, 1px) solid #eaeaea;\n border-bottom: var(--sqm-border-thickness, 1px) solid #eaeaea;\n \"\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path=\"/\"\n icon=\"house\"\n label=\"Dashboard\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/activity\"\n icon=\"bar-chart\"\n label=\"Activity\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/editProfile\"\n icon=\"person\"\n label=\"Edit Profile\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/taxAndCash\"\n icon=\"file-earmark-text\"\n label=\"Tax & Payout Settings\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/logout\"\n icon=\"box-arrow-right\"\n label=\"Logout\"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction=\"column\" content-area-width=\"1200px\">\n <sqm-router>\n <template path=\"/\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type=\"p/referral-program/w/referrerWidget\"\n track-loads=\"true\"\n ></sqb-widget>\n </template>\n <template path=\"/editProfile\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path=\"/refer\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-referral-iframe></sqm-referral-iframe>\n </template>\n <template path=\"/activity\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction=\"column\"\n padding=\"xxx-large\"\n gap=\"xxx-large\"\n >\n <sqm-text>\n <h1>Activity</h1>\n </sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text>\n <p>Referrals</p>\n </sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text>\n <p>Rewards Earned</p>\n </sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text>\n <p>Reward Balance</p>\n </sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n <template path=\"/taxAndCash\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-tax-and-cash\n step-1_first-name=\"First name\"\n step-1_last-name=\"Last name\"\n step-1_email=\"Email\"\n step-1_country=\"Country\"\n step-1_phone-number=\"Phone number\"\n step-1_address=\"Address\"\n step-1_city=\"City\"\n step-1_state=\"State\"\n step-1_province=\"Province\"\n step-1_region=\"Region\"\n step-1_postal-code=\"Postal code\"\n step-1_currency=\"Currency\"\n step-1_currency-help-text=\"Choose your preferred payout currency\"\n step-1_allow-banking-collection=\"I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information\"\n step-1_personal-information=\"Personal Information\"\n step-1_terms-and-conditions-label=\"terms and conditions\"\n step-1_terms-and-conditions-link=\"/payout-terms-and-conditions\"\n step-1_search-for-currency-text=\"Search for currency..\"\n step-2_indirect-tax=\"Indirect Tax\"\n step-2_indirect-tax-description=\"Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.\"\n step-2_indirect-tax-details=\"Indirect tax details\"\n step-2_other-region=\"Registered for indirect tax\"\n step-2_other-region-subtext=\"If you’ve registered with your tax authority, add your information to stay tax compliant.\"\n step-2_not-registered=\"Not registered for indirect tax\"\n step-2_not-registered-subtext=\"If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.\"\n step-2_selected-region=\"Country / region of indirect tax\"\n step-2_indirect-tax-number=\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}\"\n step-2_province=\"Province\"\n step-2_indirect-tax-number-error=\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required\"\n step-2_qst-number=\"QST number\"\n step-2_is-registered-q-s-t=\"I am registered for QST Tax\"\n step-2_is-registered-sub-region-income-tax=\"I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.\"\n step-2_sub-region=\"Sub-region\"\n step-2_sub-region-tax-number-label=\"Income Tax Number\"\n step-2_cannot-change-info-alert=\"Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.\"\n step-3_tax-form=\"Tax form\"\n step-3_tax-form-label=\"{documentType} Tax Form\"\n step-3_participant-type=\"Participant type\"\n step-3_business-entity=\"I represent a business\"\n step-3_individual-participant=\"I am an individual participant\"\n step-3_tax-form-description=\"Participants based in the US need to submit a {documentType} form.\"\n step-3_tax-form-description-individual-participant=\"Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.\"\n step-3_tax-form-description-business-entity=\"Participants residing outside of the US working with a US Brand need to submit a {documentType} form.\"\n step-3_docusign-expired=\"For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.\"\n step-3_docusign-session-warning=\"For your security, we automatically end your session when you have not interacted with the form after 20 minutes.\"\n step-3_docusign-error=\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.\"\n step-3_refresh-button=\"Refresh Page\"\n step-3_exit-button=\"Exit\"\n step-3_modal-title=\"Important Note\"\n step-3_modal-description=\"Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\"\n step-3_modal-button-text=\"I understand\"\n step-4_tax-and-payouts=\"Payouts\"\n step-4_directly-to-bank-account=\"Directly to my bank account\"\n step-4_to-pay-pal-account=\"PayPal (2% processing fee capped to {feeCap})\"\n step-4_payment-schedule-balance-threshold=\"Pay me when my balance reaches a threshold\"\n step-4_payment-schedule-fixed-day=\"Pay me on a fixed day of the month\"\n step-4_payment-day-select-label=\"Payment Day\"\n step-4_payment-threshold-select-label=\"Payment threshold\"\n step-4_payment-day-first-of-month-label-text=\"1st of the month\"\n step-4_payment-day-fifteenth-of-month-label-text=\"15th of the month\"\n step-4_payment-method=\"Payment method\"\n step-4_payment-schedule=\"Payment schedule\"\n step-4_payment-method-subtext=\"Payouts will be sent from our referral program provider, impact.com.\"\n step-4_pay-pal-input-label=\"PayPal email\"\n step-4_bank-location-label=\"Bank country location\"\n step-4_beneficiary-account-name-label=\"Account holder name\"\n step-4_beneficiary-account-name-description=\"The beneficiary name of your bank account. Ensure this matches the name on your tax form.\"\n step-4_bank-account-type-label=\"Bank account type\"\n step-4_checking-select-item-label=\"Checking\"\n step-4_savings-select-item-label=\"Savings\"\n step-4_bank-account-number-label=\"Bank account number\"\n step-4_iban-label=\"IBAN\"\n step-4_swift-code-label=\"SWIFT code\"\n step-4_routing-code-label=\"{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }\"\n step-4_bank-name-label=\"Bank name\"\n step-4_classification-entity-label=\"Classification entity\"\n step-4_business-select-item-label=\"Business\"\n step-4_individual-select-item-label=\"Individual\"\n step-4_foreign-select-item-label=\"Foreign\"\n step-4_classification-c-p-f-label=\"Classification CPF\"\n step-4_patronymic-name-label=\"Patronymic name\"\n step-4_vo-code-label=\"VO code\"\n step-4_agency-code-label=\"Agency code\"\n step-4_branch-code-label=\"Branch code\"\n step-4_branch-name-label=\"Branch name\"\n step-4_classification-label=\"Classification\"\n step-4_classification-code-label=\"KBE code\"\n step-4_tax-payer-id-label=\"Beneficiary INN\"\n step-4-bank-address-label=\"Bank address\"\n step-4_bank-city-label=\"Bank city\"\n step-4_bank-state-label=\"Bank Province / State\"\n step-4_bank-postal-code-label=\"Bank postal code\"\n step-4_eft-withdrawal-label=\"EFT Withdrawal (free)\"\n step-4_fx-wire-processing-fee-label=\"FX Wire (Processing Fee {currency}{defaultFxFee}.00)\"\n step-4_modal-title=\"Important Note\"\n step-4_modal-description=\"Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.\"\n step-4_modal-button-text=\"I understand, update my information\"\n dashboard_status-text-active=\"Active\"\n dashboard_status-text-not-active=\"Invalid Tax Form\"\n dashboard_status-text-not-verified=\"Not Verified\"\n dashboard_badge-text-submitted-on=\"Submitted on {dateSubmitted}.\"\n dashboard_badge-text-submitted-on-w-8=\"Submitted on {dateSubmitted}. Valid for three years after submission.\"\n dashboard_badge-text-awaiting-review=\"Awaiting review. Submitted on {dateSubmitted}.\"\n dashboard_tax-alert-header-not-active-w-9=\"Your W-9 tax form has personal information that doesn’t match your profile\"\n dashboard_tax-alert-header-not-active-w-8=\"{documentType} tax form is invalid\"\n dashboard_tax-alert-not-active-message-w-9=\"Please resubmit a new {documentType} form.\"\n dashboard_tax-alert-not-active-message-w-8=\"Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.\"\n dashboard_invalid-form=\"Make sure your information is correct and submit new form.\"\n dashboard_banking-information-section-header=\"Payout Information\"\n dashboard_tax-document-section-header=\"Tax documents\"\n dashboard_tax-document-section-sub-header=\"{documentType} tax form\"\n dashboard_no-form-needed-subtext=\"Tax documents are only required if you are based in the US or joining the referral program of a US based brand.\"\n dashboard_indirect-tax-info-section-header=\"Indirect tax\"\n dashboard_indirect-tax-info-spain=\"Registered in {country}, {subRegion}\"\n dashboard_indirect-tax-info-other-country=\"Registered in {country}\"\n dashboard_indirect-tax-info-canada=\"Registered in {province}, {country}\"\n dashboard_indirect-tax-tooltip-support=\"To make changes to your indirect tax information, please contact Support.\"\n dashboard_indirect-tax-details=\"{indirectTaxType} number: {indirectTaxNumber}\"\n dashboard_new-form-button=\"Submit new tax form\"\n dashboard_edit-payment-information-button=\"Edit payout information\"\n dashboard_not-registered-for-tax=\"Not registered for indirect tax. If you’ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.\"\n dashboard_qst-number=\"QST number: {qstNumber}\"\n dashboard_sub-region-tax-number=\"Income tax number: {subRegionTaxNumber}\"\n dashboard_status-badge-text=\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }\"\n dashboard_threshold-payout-text=\"Next payout occurs when balance is {thresholdBalance}\"\n dashboard_account-text=\"Account\"\n dashboard_invoice-column-title=\"Invoice\"\n dashboard_date-column-title=\"Date\"\n dashboard_earnings-column-title=\"Earnings\"\n dashboard_indirect-tax-column-title=\"Indirect tax\"\n dashboard_payout-from-impact=\"Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.\"\n dashboard_earnings-after-tax-column-title=\"Earnings after tax\"\n dashboard_error-title-text=\"Your payout is on hold \"\n dashboard_error-description-text=\"If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\"\n dashboard_payout-missing-information-text=\"Missing banking information, go to Impact.com to resolve.\"\n dashboard_invoice-description=\"View and download your invoices to report your earnings and stay tax compliant.\"\n dashboard_invoice-prev-label=\"Prev\"\n dashboard_invoice-more-label=\"Next\"\n dashboard_invoice-header=\"Invoices\"\n dashboard_invoice-empty-state-header=\"View your invoice details\"\n dashboard_invoice-empty-state-text=\"Refer a friend to view the status of your invoices and rewards earned\"\n dashboard_replace-tax-form-modal-header=\"Replace existing tax form\"\n dashboard_replace-tax-form-modal-body-text=\"Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.\"\n form-step=\"Step {step} of {count}\"\n general-error-title=\"There was a problem submitting your information\"\n general-error-description=\"Please review your information and try again. If this problem continues, contact Support.\"\n field-required-error=\"{fieldName} is required\"\n invalid-character-error=\"{fieldName} includes characters that aren't supported.\"\n field-invalid-error=\"{fieldName} is invalid\"\n continue-button=\"Continue\"\n back-button=\"Back\"\n cancel-button=\"Cancel\"\n is-partner-alert-header=\"An account with this email already exists with our referral program provider, impact.com\"\n is-partner-alert-description=\"If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.\"\n search-for-country-text=\"Search for country..\"\n loading-error-alert-header=\"There was a problem loading your form\"\n loading-error-alert-description=\"Please refresh the page and try again. If this problem continues, contact Support.\"\n tax-and-payouts-description=\"Submit your tax documents and add your banking information to receive your rewards.\"\n ></sqm-tax-and-cash>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot=\"footer\"\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n";
|
|
1800
|
+
const taxAndCashTemplate = "<sqm-portal-frame>\n <a slot=\"header\" href=\"/\">\n <sqm-text style=\"height: 60px\">\n <img\n style=\"height: 60px\"\n src=\"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png\"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id=\"referral-program\">\n <sqm-router>\n <template\n path=\"/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)\"\n >\n <sqm-hero\n background=\"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80\"\n >\n <sqm-router>\n <template path=\"/register\">\n <sqm-portal-login></sqm-portal-login>\n <sqm-portal-register>\n <sqm-name-fields slot=\"formData\"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path=\"/emailVerification\">\n <sqm-portal-protected-route\n redirect-to=\"/login\"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path=\"/login\">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path=\"/verifyEmail\">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path=\"/forgotPassword\">\n <sqm-portal-forgot-password\n email-label=\"Business Email\"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path=\"/resetPassword\">\n <sqm-portal-reset-password\n confirm-password=\"true\"\n ></sqm-portal-reset-password>\n </template>\n <template path=\"/logout\">\n <sqm-portal-logout next-page=\"/login\"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path=\"/:path(\\bactivity\\b|\\beditProfile\\b|\\brefer\\b)?\">\n <sqm-divided-layout\n direction=\"row\"\n style=\"\n border-top: var(--sqm-border-thickness, 1px) solid #eaeaea;\n border-bottom: var(--sqm-border-thickness, 1px) solid #eaeaea;\n \"\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path=\"/\"\n icon=\"house\"\n label=\"Dashboard\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/activity\"\n icon=\"bar-chart\"\n label=\"Activity\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/editProfile\"\n icon=\"person\"\n label=\"Edit Profile\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/taxAndCash\"\n icon=\"file-earmark-text\"\n label=\"Tax & Payout Settings\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/logout\"\n icon=\"box-arrow-right\"\n label=\"Logout\"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction=\"column\" content-area-width=\"1200px\">\n <sqm-router>\n <template path=\"/\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type=\"p/referral-program/w/referrerWidget\"\n track-loads=\"true\"\n ></sqb-widget>\n </template>\n <template path=\"/editProfile\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n <template path=\"/refer\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-referral-iframe></sqm-referral-iframe>\n </template>\n <template path=\"/activity\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction=\"column\"\n padding=\"xxx-large\"\n gap=\"xxx-large\"\n >\n <sqm-text>\n <h1>Activity</h1>\n </sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text>\n <p>Referrals</p>\n </sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text>\n <p>Rewards Earned</p>\n </sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text>\n <p>Reward Balance</p>\n </sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n <template path=\"/taxAndCash\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-tax-and-cash\n step-1_first-name=\"First name\"\n step-1_last-name=\"Last name\"\n step-1_email=\"Email\"\n step-1_country=\"Country\"\n step-1_phone-number=\"Phone number\"\n step-1_address=\"Address\"\n step-1_city=\"City\"\n step-1_state=\"State\"\n step-1_province=\"Province\"\n step-1_region=\"Region\"\n step-1_postal-code=\"Postal code\"\n step-1_currency=\"Currency\"\n step-1_currency-help-text=\"Choose your preferred payout currency\"\n step-1_allow-banking-collection=\"I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information\"\n step-1_personal-information=\"Personal Information\"\n step-1_terms-and-conditions-label=\"terms and conditions\"\n step-1_terms-and-conditions-link=\"/payout-terms-and-conditions\"\n step-1_search-for-currency-text=\"Search for currency..\"\n step-2_indirect-tax=\"Indirect Tax\"\n step-2_indirect-tax-description=\"Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.\"\n step-2_indirect-tax-details=\"Indirect tax details\"\n step-2_other-region=\"Registered for indirect tax\"\n step-2_other-region-subtext=\"If you’ve registered with your tax authority, add your information to stay tax compliant.\"\n step-2_not-registered=\"Not registered for indirect tax\"\n step-2_not-registered-subtext=\"If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.\"\n step-2_selected-region=\"Country / region of indirect tax\"\n step-2_indirect-tax-number=\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}\"\n step-2_province=\"Province\"\n step-2_indirect-tax-number-error=\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required\"\n step-2_qst-number=\"QST number\"\n step-2_is-registered-q-s-t=\"I am registered for QST Tax\"\n step-2_is-registered-sub-region-income-tax=\"I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.\"\n step-2_sub-region=\"Sub-region\"\n step-2_sub-region-tax-number-label=\"Income Tax Number\"\n step-2_cannot-change-info-alert=\"Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.\"\n step-3_tax-form=\"Tax form\"\n step-3_tax-form-label=\"{documentType} Tax Form\"\n step-3_participant-type=\"Participant type\"\n step-3_business-entity=\"I represent a business\"\n step-3_individual-participant=\"I am an individual participant\"\n step-3_tax-form-description=\"Participants based in the US need to submit a {documentType} form.\"\n step-3_tax-form-description-individual-participant=\"Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.\"\n step-3_tax-form-description-business-entity=\"Participants residing outside of the US working with a US Brand need to submit a {documentType} form.\"\n step-3_docusign-expired=\"For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.\"\n step-3_docusign-session-warning=\"For your security, we automatically end your session when you have not interacted with the form after 20 minutes.\"\n step-3_docusign-error=\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.\"\n step-3_refresh-button=\"Refresh Page\"\n step-3_exit-button=\"Exit\"\n step-3_modal-title=\"Important Note\"\n step-3_modal-description=\"Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\"\n step-3_modal-button-text=\"I understand\"\n step-4_tax-and-payouts=\"Payouts\"\n step-4_directly-to-bank-account=\"Directly to my bank account\"\n step-4_to-pay-pal-account=\"PayPal (2% processing fee capped to {feeCap})\"\n step-4_payment-schedule-balance-threshold=\"Pay me when my balance reaches a threshold\"\n step-4_payment-schedule-fixed-day=\"Pay me on a fixed day of the month\"\n step-4_payment-day-select-label=\"Payment Day\"\n step-4_payment-threshold-select-label=\"Payment threshold\"\n step-4_payment-day-first-of-month-label-text=\"1st of the month\"\n step-4_payment-day-fifteenth-of-month-label-text=\"15th of the month\"\n step-4_payment-method=\"Payment method\"\n step-4_payment-schedule=\"Payment schedule\"\n step-4_payment-method-subtext=\"Payouts will be sent from our referral program provider, impact.com.\"\n step-4_pay-pal-input-label=\"PayPal email\"\n step-4_bank-location-label=\"Bank country location\"\n step-4_beneficiary-account-name-label=\"Account holder name\"\n step-4_beneficiary-account-name-description=\"The beneficiary name of your bank account. Ensure this matches the name on your tax form.\"\n step-4_bank-account-type-label=\"Bank account type\"\n step-4_checking-select-item-label=\"Checking\"\n step-4_savings-select-item-label=\"Savings\"\n step-4_bank-account-number-label=\"Bank account number\"\n step-4_iban-label=\"IBAN\"\n step-4_swift-code-label=\"SWIFT code\"\n step-4_routing-code-label=\"{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }\"\n step-4_bank-name-label=\"Bank name\"\n step-4_classification-entity-label=\"Classification entity\"\n step-4_business-select-item-label=\"Business\"\n step-4_individual-select-item-label=\"Individual\"\n step-4_foreign-select-item-label=\"Foreign\"\n step-4_classification-c-p-f-label=\"Classification CPF\"\n step-4_patronymic-name-label=\"Patronymic name\"\n step-4_vo-code-label=\"VO code\"\n step-4_agency-code-label=\"Agency code\"\n step-4_branch-code-label=\"Branch code\"\n step-4_branch-name-label=\"Branch name\"\n step-4_classification-label=\"Classification\"\n step-4_classification-code-label=\"KBE code\"\n step-4_tax-payer-id-label=\"Beneficiary INN\"\n step-4-bank-address-label=\"Bank address\"\n step-4_bank-city-label=\"Bank city\"\n step-4_bank-state-label=\"Bank Province / State\"\n step-4_bank-postal-code-label=\"Bank postal code\"\n step-4_eft-withdrawal-label=\"EFT Withdrawal (free)\"\n step-4_fx-wire-processing-fee-label=\"FX Wire (Processing Fee {currency}{defaultFxFee}.00)\"\n step-4_modal-title=\"Important Note\"\n step-4_modal-description=\"Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.\"\n step-4_modal-button-text=\"I understand, update my information\"\n dashboard_status-text-active=\"Active\"\n dashboard_status-text-not-active=\"Invalid Tax Form\"\n dashboard_status-text-not-verified=\"Not Verified\"\n dashboard_badge-text-submitted-on=\"Submitted on {dateSubmitted}.\"\n dashboard_badge-text-submitted-on-w-8=\"Submitted on {dateSubmitted}. Valid for three years after submission.\"\n dashboard_badge-text-awaiting-review=\"Awaiting review. Submitted on {dateSubmitted}.\"\n dashboard_tax-alert-header-not-active-w-9=\"Your W-9 tax form has personal information that doesn’t match your profile\"\n dashboard_tax-alert-header-not-active-w-8=\"{documentType} tax form is invalid\"\n dashboard_tax-alert-not-active-message-w-9=\"Please resubmit a new {documentType} form.\"\n dashboard_tax-alert-not-active-message-w-8=\"Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.\"\n dashboard_invalid-form=\"Make sure your information is correct and submit new form.\"\n dashboard_banking-information-section-header=\"Payout Information\"\n dashboard_tax-document-section-header=\"Tax documents\"\n dashboard_tax-document-section-sub-header=\"{documentType} tax form\"\n dashboard_no-form-needed-subtext=\"Tax documents are only required if you are based in the US or joining the referral program of a US based brand.\"\n dashboard_indirect-tax-info-section-header=\"Indirect tax\"\n dashboard_indirect-tax-info-spain=\"Registered in {country}, {subRegion}\"\n dashboard_indirect-tax-info-other-country=\"Registered in {country}\"\n dashboard_indirect-tax-info-canada=\"Registered in {province}, {country}\"\n dashboard_indirect-tax-tooltip-support=\"To make changes to your indirect tax information, please contact Support.\"\n dashboard_indirect-tax-details=\"{indirectTaxType} number: {indirectTaxNumber}\"\n dashboard_new-form-button=\"Submit new tax form\"\n dashboard_edit-payment-information-button=\"Edit payout information\"\n dashboard_not-registered-for-tax=\"Not registered for indirect tax. If you’ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.\"\n dashboard_qst-number=\"QST number: {qstNumber}\"\n dashboard_sub-region-tax-number=\"Income tax number: {subRegionTaxNumber}\"\n dashboard_status-badge-text=\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }\"\n dashboard_threshold-payout-text=\"Next payout occurs when balance is {thresholdBalance}\"\n dashboard_account-text=\"Account\"\n dashboard_invoice-column-title=\"Invoice\"\n dashboard_date-column-title=\"Date\"\n dashboard_earnings-column-title=\"Earnings\"\n dashboard_indirect-tax-column-title=\"Indirect tax\"\n dashboard_payout-from-impact=\"Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.\"\n dashboard_earnings-after-tax-column-title=\"Earnings after tax\"\n dashboard_error-title-text=\"Your payout is on hold \"\n dashboard_error-description-text=\"If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\"\n dashboard_payout-missing-information-text=\"Missing banking information, go to Impact.com to resolve.\"\n dashboard_invoice-description=\"View and download your invoices to report your earnings and stay tax compliant.\"\n dashboard_invoice-prev-label=\"Prev\"\n dashboard_invoice-more-label=\"Next\"\n dashboard_invoice-header=\"Invoices\"\n dashboard_invoice-empty-state-header=\"View your invoice details\"\n dashboard_invoice-empty-state-text=\"Refer a friend to view the status of your invoices and rewards earned\"\n dashboard_replace-tax-form-modal-header=\"Replace existing tax form\"\n dashboard_replace-tax-form-modal-body-text=\"Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.\"\n form-step=\"Step {step} of {count}\"\n general-error-title=\"There was a problem submitting your information\"\n general-error-description=\"Please review your information and try again. If this problem continues, contact Support.\"\n field-required-error=\"{fieldName} is required\"\n invalid-character-error=\"{fieldName} includes characters that aren't supported.\"\n field-invalid-error=\"{fieldName} is invalid\"\n continue-button=\"Continue\"\n back-button=\"Back\"\n cancel-button=\"Cancel\"\n is-partner-alert-header=\"An account with this email already exists with our referral program provider, impact.com\"\n is-partner-alert-description=\"If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.\"\n search-for-country-text=\"Search for country..\"\n loading-error-alert-header=\"There was a problem loading your form\"\n loading-error-alert-description=\"Please refresh the page and try again. If this problem continues, contact Support.\"\n tax-and-payouts-description=\"Submit your tax documents and add your banking information to receive your rewards.\"\n ></sqm-tax-and-cash>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot=\"footer\"\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n";
|
|
1801
1801
|
|
|
1802
1802
|
const taxPayoutReminderEmailTemplate = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n<html\n xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:o=\"urn:schemas-microsoft-com:office:office\"\n xmlns:v=\"urn:schemas-microsoft-com:vml\"\n>\n <head>\n <!--[if gte mso 9\n ]><xml\n ><o:OfficeDocumentSettings\n ><o:AllowPNG /><o:PixelsPerInch\n >96</o:PixelsPerInch\n ></o:OfficeDocumentSettings\n ></xml\n ><!\n [endif]-->\n <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\" />\n <meta content=\"width=device-width\" name=\"viewport\" />\n <!--[if !mso]><!-->\n <meta content=\"IE=edge\" http-equiv=\"X-UA-Compatible\" />\n <!--<![endif]-->\n <title></title>\n <!--[if !mso]><!-->\n <!--<![endif]-->\n <style type=\"text/css\">\n body {\n margin: 0;\n padding: 0;\n }\n\n table,\n td,\n tr {\n vertical-align: top;\n border-collapse: collapse;\n }\n\n * {\n line-height: inherit;\n }\n\n a[x-apple-data-detectors=\"true\"] {\n color: inherit !important;\n text-decoration: none !important;\n }\n </style>\n <style id=\"media-query\" type=\"text/css\">\n @media (max-width: 520px) {\n .block-grid,\n .col {\n min-width: 320px !important;\n max-width: 100% !important;\n display: block !important;\n }\n\n .block-grid {\n width: 100% !important;\n }\n\n .col {\n width: 100% !important;\n }\n\n .col_cont {\n margin: 0 auto;\n }\n\n img.fullwidth,\n img.fullwidthOnMobile {\n max-width: 100% !important;\n }\n\n .no-stack .col {\n min-width: 0 !important;\n display: table-cell !important;\n }\n\n .no-stack.two-up .col {\n width: 50% !important;\n }\n\n .no-stack .col.num2 {\n width: 16.6% !important;\n }\n\n .no-stack .col.num3 {\n width: 25% !important;\n }\n\n .no-stack .col.num4 {\n width: 33% !important;\n }\n\n .no-stack .col.num5 {\n width: 41.6% !important;\n }\n\n .no-stack .col.num6 {\n width: 50% !important;\n }\n\n .no-stack .col.num7 {\n width: 58.3% !important;\n }\n\n .no-stack .col.num8 {\n width: 66.6% !important;\n }\n\n .no-stack .col.num9 {\n width: 75% !important;\n }\n\n .no-stack .col.num10 {\n width: 83.3% !important;\n }\n\n .video-block {\n max-width: none !important;\n }\n\n .mobile_hide {\n min-height: 0px;\n max-height: 0px;\n max-width: 0px;\n display: none;\n overflow: hidden;\n font-size: 0px;\n }\n\n .desktop_hide {\n display: block !important;\n max-height: none !important;\n }\n }\n </style>\n <style id=\"icon-media-query\" type=\"text/css\">\n @media (max-width: 520px) {\n .icons-inner {\n text-align: center;\n }\n\n .icons-inner td {\n margin: 0 auto;\n }\n }\n </style>\n </head>\n <body\n class=\"clean-body\"\n style=\"\n margin: 0;\n padding: 0;\n -webkit-text-size-adjust: 100%;\n background-color: #ffffff;\n \"\n >\n <!--[if IE]><div class=\"ie-browser\"><![endif]-->\n <table\n bgcolor=\"#FFFFFF\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n class=\"nl-container\"\n role=\"presentation\"\n style=\"\n table-layout: fixed;\n vertical-align: top;\n min-width: 320px;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n background-color: #ffffff;\n width: 100%;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <tbody>\n <tr style=\"vertical-align: top\" valign=\"top\">\n <td style=\"word-break: break-word; vertical-align: top\" valign=\"top\">\n <!--[if (mso)|(IE)]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td align=\"center\" style=\"background-color:#FFFFFF\"><![endif]-->\n <div style=\"background-color: transparent\">\n <div\n class=\"block-grid\"\n style=\"\n min-width: 320px;\n max-width: 500px;\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n margin: 0 auto;\n background-color: transparent;\n \"\n >\n <div\n style=\"\n border-collapse: collapse;\n display: table;\n width: 100%;\n background-color: transparent;\n \"\n >\n <!--[if (mso)|(IE)]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"background-color:transparent;\"><tr><td align=\"center\"><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:500px\"><tr class=\"layout-full-width\" style=\"background-color:transparent\"><![endif]-->\n <!--[if (mso)|(IE)]><td align=\"center\" width=\"500\" style=\"background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;\" valign=\"top\"><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;\"><![endif]-->\n <div\n class=\"col num12\"\n style=\"\n min-width: 320px;\n max-width: 500px;\n display: table-cell;\n vertical-align: top;\n width: 500px;\n \"\n >\n <div class=\"col_cont\" style=\"width: 100% !important\">\n <!--[if (!mso)&(!IE)]><!-->\n <div\n style=\"\n border-top: 0px solid transparent;\n border-left: 0px solid transparent;\n border-bottom: 0px solid transparent;\n border-right: 0px solid transparent;\n padding-top: 5px;\n padding-bottom: 5px;\n padding-right: 0px;\n padding-left: 0px;\n \"\n >\n <!--<![endif]-->\n <table\n cellpadding=\"0\"\n cellspacing=\"0\"\n role=\"presentation\"\n style=\"\n table-layout: fixed;\n vertical-align: top;\n border-spacing: 0;\n border-collapse: collapse;\n mso-table-lspace: 0pt;\n mso-table-rspace: 0pt;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <tr style=\"vertical-align: top\" valign=\"top\">\n <td\n align=\"center\"\n style=\"\n word-break: break-word;\n vertical-align: top;\n padding-bottom: 20px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 10px;\n text-align: center;\n width: 100%;\n \"\n valign=\"top\"\n width=\"100%\"\n >\n <h1\n style=\"\n color: #444445;\n direction: ltr;\n font-family: 'Helvetica Neue', Helvetica,\n Arial, sans-serif;\n font-size: 20px;\n font-weight: normal;\n letter-spacing: normal;\n line-height: 120%;\n text-align: left;\n margin-top: 0;\n margin-bottom: 0;\n \"\n >\n <strong>Submit your tax and payout info to receive your rewards</strong>\n </h1>\n </td>\n </tr>\n </table>\n <!--[if mso]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td style=\"padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif\"><![endif]-->\n <div\n style=\"\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n line-height: 1.8;\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n \"\n >\n <div\n class=\"txtTinyMce-wrapper\"\n style=\"\n font-size: 14px;\n line-height: 1.8;\n color: #444445;\n font-family: Arial, Helvetica Neue, Helvetica,\n sans-serif;\n mso-line-height-alt: 25px;\n \"\n >\n <p\n style=\"\n margin: 0;\n font-size: 14px;\n line-height: 1.8;\n word-break: break-word;\n mso-line-height-alt: 25px;\n margin-top: 0;\n margin-bottom: 0;\n \"\n >\n <span style=\"font-size: 14px\"\n >Congratulations! You earned a cash reward in our {{programName}}. To\n receive your reward payment, log in to your account and submit your\n tax and payout information.</span\n >\n </p>\n </div>\n </div>\n <!--[if mso]></td></tr></table><![endif]-->\n <div\n align=\"center\"\n class=\"button-container\"\n style=\"\n padding-top: 10px;\n padding-right: 10px;\n padding-bottom: 10px;\n padding-left: 10px;\n \"\n >\n <!--[if mso]><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"border-spacing: 0; border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;\"><tr><td style=\"padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px\" align=\"center\"><v:roundrect xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:w=\"urn:schemas-microsoft-com:office:word\" target=\"_blank\" href={{validationLink}} style=\"height:31.5pt;width:390pt;v-text-anchor:middle;\" arcsize=\"12%\" stroke=\"false\" fillcolor=\"#2270ee\"><w:anchorlock/><v:textbox inset=\"0,0,0,0\"><center style=\"color:#ffffff; font-family:Arial, sans-serif; font-size:14px\"><!\n [endif]--><a\n href={{loginLink}}\n\t\t\t\t\t\t\ttarget=\"_blank\"\n style=\"\n -webkit-text-size-adjust: none;\n text-decoration: none;\n display: block;\n color: #ffffff;\n background-color: #2270ee;\n border-radius: 5px;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n width: 100%;\n width: calc(100% - 2px);\n border-top: var(--sqm-border-thickness, 1px) solid #2270ee;\n border-right: var(--sqm-border-thickness, 1px) solid #2270ee;\n border-bottom: var(--sqm-border-thickness, 1px) solid #2270ee;\n border-left: var(--sqm-border-thickness, 1px) solid #2270ee;\n padding-top: 5px;\n padding-bottom: 5px;\n font-family: 'Helvetica Neue', Helvetica, Arial,\n sans-serif;\n text-align: center;\n mso-border-alt: none;\n word-break: keep-all;\n \"\n target=\"_blank\"\n ><span\n style=\"\n padding-left: 20px;\n padding-right: 20px;\n font-size: 14px;\n display: inline-block;\n letter-spacing: undefined;\n \"\n ><span\n style=\"\n font-size: 16px;\n line-height: 2;\n word-break: break-word;\n mso-line-height-alt: 32px;\n \"\n ><span\n style=\"font-size: 14px; line-height: 28px\"\n >Log In</span\n ></span\n ></span\n ></a\n >\n <!--[if mso]></center></v:textbox></v:roundrect></td></tr></table><![endif]-->\n </div>\n <!--<![endif]-->\n </div>\n </div>\n <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n <!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]-->\n </div>\n </div>\n </div>\n <!--[if (mso)|(IE)]></td></tr></table><![endif]-->\n </td>\n </tr>\n </tbody>\n </table>\n <!--[if (IE)]></div><![endif]-->\n </body>\n</html>";
|
|
1803
1803
|
|
|
@@ -16521,6 +16521,175 @@ const BankingInfoForm = /*#__PURE__*/Object.freeze({
|
|
|
16521
16521
|
BankingInfoFormModalOpen: BankingInfoFormModalOpen
|
|
16522
16522
|
});
|
|
16523
16523
|
|
|
16524
|
+
const TaxAndCashDashboardView_stories = {
|
|
16525
|
+
title: "Components/Tax And Cash Dashboard View",
|
|
16526
|
+
};
|
|
16527
|
+
const defaultText = {
|
|
16528
|
+
statusTextActive: "Active",
|
|
16529
|
+
statusTextNotActive: "Invalid Tax Form",
|
|
16530
|
+
statusTextNotVerified: "Not Verified",
|
|
16531
|
+
statusTextRequired: "Required",
|
|
16532
|
+
requiredTaxForm: "Your payouts are on hold until you submit a {taxFormType} tax form.",
|
|
16533
|
+
badgeTextSubmittedOn: "Submitted on {dateSubmitted}.",
|
|
16534
|
+
badgeTextSubmittedOnW8: "Submitted on {dateSubmitted}. Valid for three years after submission.",
|
|
16535
|
+
badgeTextAwaitingReview: "Awaiting review. Submitted on {dateSubmitted}.",
|
|
16536
|
+
taxAlertHeaderNotActiveW9: "Your W-9 tax form has personal information that doesn't match your profile",
|
|
16537
|
+
taxAlertHeaderNotActiveW8: "{documentType} tax form is invalid",
|
|
16538
|
+
taxAlertNotActiveMessageW9: "Please resubmit a new {documentType} form.",
|
|
16539
|
+
taxAlertNotActiveMessageW8: "Your tax form may have expired or has personal information that doesn't match your profile. Please submit a new {documentType} form.",
|
|
16540
|
+
invalidForm: "Make sure your information is correct and submit new form.",
|
|
16541
|
+
bankingInformationSectionHeader: "Payout information",
|
|
16542
|
+
taxDocumentSectionHeader: "Tax documents",
|
|
16543
|
+
taxDocumentSectionSubHeader: "{documentType} tax form",
|
|
16544
|
+
taxDocumentSectionSubHeaderNoDocument: "Tax form",
|
|
16545
|
+
indirectTaxInfoSectionHeader: "Indirect tax",
|
|
16546
|
+
indirectTaxInfoCanada: "Registered in {province}, {country}",
|
|
16547
|
+
indirectTaxInfoOtherCountry: "Registered in {country}",
|
|
16548
|
+
indirectTaxInfoSpain: "Registered in {country}, {subRegion}",
|
|
16549
|
+
indirectTaxTooltipSupport: "To make changes to your indirect tax information, please contact our {supportLink}.",
|
|
16550
|
+
indirectTaxDetails: "{indirectTaxType} number: {indirectTaxNumber}",
|
|
16551
|
+
newFormButton: "Submit new tax form",
|
|
16552
|
+
editPaymentInformationButton: "Edit payout information",
|
|
16553
|
+
notRegisteredForTax: "Not registered for indirect tax. If you've previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.",
|
|
16554
|
+
qstNumber: "QST number: {qstNumber}",
|
|
16555
|
+
subRegionTaxNumber: "Income tax number: {subRegionTaxNumber}",
|
|
16556
|
+
invoiceColumnTitle: "Invoice",
|
|
16557
|
+
dateColumnTitle: "Date",
|
|
16558
|
+
earningsColumnTitle: "Earnings",
|
|
16559
|
+
indirectTaxColumnTitle: "Indirect tax",
|
|
16560
|
+
earningsAfterTaxColumnTitle: "Earnings after tax",
|
|
16561
|
+
invoiceDescription: "View and download your invoices to report your earnings and stay tax compliant.",
|
|
16562
|
+
invoicePrevLabel: "Prev",
|
|
16563
|
+
invoiceMoreLabel: "Next",
|
|
16564
|
+
invoiceHeader: "Invoices",
|
|
16565
|
+
invoiceEmptyStateHeader: "View your invoice details",
|
|
16566
|
+
invoiceEmptyStateText: "Refer a friend to view the status of your invoices and rewards earned",
|
|
16567
|
+
payoutFromImpact: "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.",
|
|
16568
|
+
replaceTaxFormModalHeader: "Replace existing tax form",
|
|
16569
|
+
replaceTaxFormModalBodyText: "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.",
|
|
16570
|
+
supportLink: "support team",
|
|
16571
|
+
cancelButton: "Cancel",
|
|
16572
|
+
payoutHoldAlertHeader: "Your payout is on hold",
|
|
16573
|
+
payoutHoldAlertDescription: "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.",
|
|
16574
|
+
verificationRequiredHeader: "Verify your identity",
|
|
16575
|
+
verificationRequiredDescription: "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.",
|
|
16576
|
+
verificationRequiredButtonText: "Start Verification",
|
|
16577
|
+
verificationRequiredInternalHeader: "Identity verification in progress",
|
|
16578
|
+
verificationRequiredInternalDescription: "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.",
|
|
16579
|
+
verificationReviewInternalHeader: "Identity verification under review",
|
|
16580
|
+
verificationReviewInternalDescription: "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.",
|
|
16581
|
+
verificationFailedInternalHeader: "Identity verification unsuccessful",
|
|
16582
|
+
verificationFailedInternalDescription: "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.",
|
|
16583
|
+
w9RequiredHeader: "Your next payout is on hold",
|
|
16584
|
+
w9RequiredDescription: "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.",
|
|
16585
|
+
w9RequiredButtonText: "Submit W-9",
|
|
16586
|
+
accountReviewHeader: "Your account is under review",
|
|
16587
|
+
accountReviewDescription: "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.",
|
|
16588
|
+
paymentHoldOnChangeHeader: "We are reviewing your new payout settings",
|
|
16589
|
+
paymentHoldOnChangeDescription: "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.",
|
|
16590
|
+
beneficiaryNameInvalidHeader: "Your payment information does not match your tax form",
|
|
16591
|
+
beneficiaryNameInvalidDescription: "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.",
|
|
16592
|
+
beneficiaryNameMismatchHeader: "Your payment information does not match your tax form",
|
|
16593
|
+
beneficiaryNameMismatchDescription: "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.",
|
|
16594
|
+
bankTaxNameMismatchHeader: "Your payment information does not match your tax form",
|
|
16595
|
+
bankTaxNameMismatchDescription: "The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.",
|
|
16596
|
+
withdrawalSettingsInvalidHeader: "Your payment information is incomplete or includes invalid characters",
|
|
16597
|
+
withdrawalSettingsInvalidDescription: "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.",
|
|
16598
|
+
paymentReturnedHeader: "Payout unsuccessful",
|
|
16599
|
+
paymentReturnedDescription: "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.",
|
|
16600
|
+
termsAndConditions: "Terms and Conditions",
|
|
16601
|
+
error: {
|
|
16602
|
+
generalTitle: "There was a problem submitting your information",
|
|
16603
|
+
generalDescription: "Please review your information and try again. If this problem continues, contact our {supportLink}.",
|
|
16604
|
+
loadingErrorAlertHeader: "There was a problem loading your form",
|
|
16605
|
+
loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact our {supportLink}.",
|
|
16606
|
+
},
|
|
16607
|
+
};
|
|
16608
|
+
const defaultCallbacks$1 = {
|
|
16609
|
+
onClick: () => { },
|
|
16610
|
+
onVerifyClick: () => { },
|
|
16611
|
+
onEditPayoutInfo: () => { },
|
|
16612
|
+
onNewFormCancel: () => { },
|
|
16613
|
+
onNewFormClick: () => { },
|
|
16614
|
+
};
|
|
16615
|
+
const defaultSlots = {
|
|
16616
|
+
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: { states: { badgeStatus: "nextPayout" } } })),
|
|
16617
|
+
};
|
|
16618
|
+
const baseStates = {
|
|
16619
|
+
payoutStatus: "DONE",
|
|
16620
|
+
veriffLoading: false,
|
|
16621
|
+
canEditPayoutInfo: true,
|
|
16622
|
+
disabled: false,
|
|
16623
|
+
status: "ACTIVE",
|
|
16624
|
+
documentType: "W9",
|
|
16625
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
16626
|
+
dateSubmitted: "Jan 18th, 2025",
|
|
16627
|
+
noFormNeeded: false,
|
|
16628
|
+
country: "United States",
|
|
16629
|
+
indirectTaxType: "VAT",
|
|
16630
|
+
indirectTaxNumber: "123456",
|
|
16631
|
+
showNewFormDialog: false,
|
|
16632
|
+
hasHold: false,
|
|
16633
|
+
loading: false,
|
|
16634
|
+
loadingError: false,
|
|
16635
|
+
};
|
|
16636
|
+
// Stories not covered by TaxForm.stories.tsx (which uses sqm-tax-and-cash-dashboard WC)
|
|
16637
|
+
// ─── Base ─────────────────────────────────────────────────────────────────────
|
|
16638
|
+
const ActiveW9Form = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: baseStates, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16639
|
+
const TaxFormRequired = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: {
|
|
16640
|
+
...baseStates,
|
|
16641
|
+
status: undefined,
|
|
16642
|
+
documentType: "W9",
|
|
16643
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
16644
|
+
noFormNeeded: false,
|
|
16645
|
+
}, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16646
|
+
// ─── Payout hold statuses not in TaxForm.stories.tsx ─────────────────────────
|
|
16647
|
+
const AccountUnderReview = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "NEW_PAYEE_REVIEW" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16648
|
+
const PaymentHoldOnChange = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "PAYMENT_HOLD_ON_CHANGE" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16649
|
+
const BeneficiaryNameInvalid = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BENEFICIARY_NAME_INVALID" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16650
|
+
const BeneficiaryNameMismatch = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BENEFICIARY_NAME_MISMATCH" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16651
|
+
const BankTaxNameMismatch = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "BANK_TAX_NAME_MISMATCH" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16652
|
+
const WithdrawalSettingsInvalid = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "WITHDRAWAL_SETTINGS_INVALID" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16653
|
+
const PaymentReturned = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, payoutStatus: "PAYMENT_RETURNED" }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16654
|
+
const W9ThresholdReachedHardBlock = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: {
|
|
16655
|
+
...baseStates,
|
|
16656
|
+
payoutStatus: "OVER_W9_THRESHOLD",
|
|
16657
|
+
enforceUsTaxComplianceOption: "HARD_BLOCK",
|
|
16658
|
+
status: undefined,
|
|
16659
|
+
}, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16660
|
+
// ─── Verification loading state ───────────────────────────────────────────────
|
|
16661
|
+
const VerificationRequiredLoading = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: {
|
|
16662
|
+
...baseStates,
|
|
16663
|
+
payoutStatus: "VERIFICATION:REQUIRED",
|
|
16664
|
+
veriffLoading: true,
|
|
16665
|
+
notRegistered: true,
|
|
16666
|
+
}, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16667
|
+
// ─── Loading and error states ─────────────────────────────────────────────────
|
|
16668
|
+
const Loading$c = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, loading: true }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16669
|
+
const LoadingError = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, loadingError: true }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16670
|
+
const GeneralError = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, errors: { general: true } }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16671
|
+
const Disabled$2 = () => (index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { states: { ...baseStates, disabled: true }, text: defaultText, callbacks: defaultCallbacks$1, slots: defaultSlots }));
|
|
16672
|
+
|
|
16673
|
+
const TaxAndCashDashboardView = /*#__PURE__*/Object.freeze({
|
|
16674
|
+
__proto__: null,
|
|
16675
|
+
'default': TaxAndCashDashboardView_stories,
|
|
16676
|
+
ActiveW9Form: ActiveW9Form,
|
|
16677
|
+
TaxFormRequired: TaxFormRequired,
|
|
16678
|
+
AccountUnderReview: AccountUnderReview,
|
|
16679
|
+
PaymentHoldOnChange: PaymentHoldOnChange,
|
|
16680
|
+
BeneficiaryNameInvalid: BeneficiaryNameInvalid,
|
|
16681
|
+
BeneficiaryNameMismatch: BeneficiaryNameMismatch,
|
|
16682
|
+
BankTaxNameMismatch: BankTaxNameMismatch,
|
|
16683
|
+
WithdrawalSettingsInvalid: WithdrawalSettingsInvalid,
|
|
16684
|
+
PaymentReturned: PaymentReturned,
|
|
16685
|
+
W9ThresholdReachedHardBlock: W9ThresholdReachedHardBlock,
|
|
16686
|
+
VerificationRequiredLoading: VerificationRequiredLoading,
|
|
16687
|
+
Loading: Loading$c,
|
|
16688
|
+
LoadingError: LoadingError,
|
|
16689
|
+
GeneralError: GeneralError,
|
|
16690
|
+
Disabled: Disabled$2
|
|
16691
|
+
});
|
|
16692
|
+
|
|
16524
16693
|
const TaxForm_stories = {
|
|
16525
16694
|
title: "Components/Tax Form",
|
|
16526
16695
|
};
|
|
@@ -16669,7 +16838,7 @@ const stepTwoProps = {
|
|
|
16669
16838
|
setCountrySearch: (c) => console.log(c),
|
|
16670
16839
|
},
|
|
16671
16840
|
data: {
|
|
16672
|
-
esRegions:
|
|
16841
|
+
esRegions: subregions.INDIRECT_TAX_SPAIN_REGIONS,
|
|
16673
16842
|
countries: [
|
|
16674
16843
|
{
|
|
16675
16844
|
countryCode: "CA",
|
|
@@ -16706,7 +16875,7 @@ const stepTwoProps = {
|
|
|
16706
16875
|
displayName: "United States",
|
|
16707
16876
|
},
|
|
16708
16877
|
],
|
|
16709
|
-
provinces:
|
|
16878
|
+
provinces: subregions.INDIRECT_TAX_PROVINCES,
|
|
16710
16879
|
},
|
|
16711
16880
|
slotProps: {
|
|
16712
16881
|
formState: {
|
|
@@ -16784,7 +16953,7 @@ const dashboardProps = {
|
|
|
16784
16953
|
disabled: false,
|
|
16785
16954
|
status: "ACTIVE",
|
|
16786
16955
|
documentType: "W9",
|
|
16787
|
-
documentTypeString:
|
|
16956
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
16788
16957
|
dateSubmitted: "Jan 18th, 2025",
|
|
16789
16958
|
noFormNeeded: false,
|
|
16790
16959
|
country: "United Kingdom",
|
|
@@ -16802,7 +16971,7 @@ const dashboardProps = {
|
|
|
16802
16971
|
},
|
|
16803
16972
|
};
|
|
16804
16973
|
const GeneralLoadingView = () => {
|
|
16805
|
-
return index.h(
|
|
16974
|
+
return index.h(subregions.LoadingView, null);
|
|
16806
16975
|
};
|
|
16807
16976
|
const GeneralErrorView = () => {
|
|
16808
16977
|
return (index.h("sqm-form-message", { type: "error" },
|
|
@@ -17141,7 +17310,7 @@ const StepThreeWithDocusign = () => {
|
|
|
17141
17310
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
17142
17311
|
states: {
|
|
17143
17312
|
documentType: "W9",
|
|
17144
|
-
documentTypeString:
|
|
17313
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17145
17314
|
...docusignFormProps.states,
|
|
17146
17315
|
},
|
|
17147
17316
|
} }));
|
|
@@ -17151,7 +17320,7 @@ const StepThreeWithDocusignW8BEN = () => {
|
|
|
17151
17320
|
states: {
|
|
17152
17321
|
...docusignFormProps.states,
|
|
17153
17322
|
documentType: "W8BEN",
|
|
17154
|
-
documentTypeString:
|
|
17323
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17155
17324
|
},
|
|
17156
17325
|
} }));
|
|
17157
17326
|
};
|
|
@@ -17160,7 +17329,7 @@ const StepThreeWithDocusignW8BENE = () => {
|
|
|
17160
17329
|
states: {
|
|
17161
17330
|
...docusignFormProps.states,
|
|
17162
17331
|
documentType: "W8BENE",
|
|
17163
|
-
documentTypeString:
|
|
17332
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17164
17333
|
formState: {
|
|
17165
17334
|
taxFormExpired: false,
|
|
17166
17335
|
participantType: "businessEntity",
|
|
@@ -17256,7 +17425,7 @@ const StepThreeWithDocusignModalOpen = () => {
|
|
|
17256
17425
|
return (index.h("sqm-docusign-form", { demoData: {
|
|
17257
17426
|
states: {
|
|
17258
17427
|
documentType: "W9",
|
|
17259
|
-
documentTypeString:
|
|
17428
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17260
17429
|
...docusignFormProps.states,
|
|
17261
17430
|
showModal: true,
|
|
17262
17431
|
},
|
|
@@ -17329,7 +17498,7 @@ const TaxAndCashDashboardActiveW8BENForm = () => {
|
|
|
17329
17498
|
noFormNeeded: false,
|
|
17330
17499
|
canEditPayoutInfo: true,
|
|
17331
17500
|
documentType: "W8BEN",
|
|
17332
|
-
documentTypeString:
|
|
17501
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17333
17502
|
country: "United Kingdom",
|
|
17334
17503
|
indirectTaxType: "VAT",
|
|
17335
17504
|
indirectTaxNumber: "123456",
|
|
@@ -17347,7 +17516,7 @@ const TaxAndCashDashboardActiveW8BENEForm = () => {
|
|
|
17347
17516
|
noFormNeeded: false,
|
|
17348
17517
|
canEditPayoutInfo: true,
|
|
17349
17518
|
documentType: "W8BENE",
|
|
17350
|
-
documentTypeString:
|
|
17519
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17351
17520
|
country: "United Kingdom",
|
|
17352
17521
|
indirectTaxType: "VAT",
|
|
17353
17522
|
indirectTaxNumber: "123456",
|
|
@@ -17365,7 +17534,7 @@ const TaxAndCashDashboardNotActiveW9Form = () => {
|
|
|
17365
17534
|
canEditPayoutInfo: true,
|
|
17366
17535
|
status: "INACTIVE",
|
|
17367
17536
|
documentType: "W9",
|
|
17368
|
-
documentTypeString:
|
|
17537
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17369
17538
|
country: "United Kingdom",
|
|
17370
17539
|
indirectTaxType: "VAT",
|
|
17371
17540
|
indirectTaxNumber: "123456",
|
|
@@ -17385,7 +17554,7 @@ const TaxAndCashDashboardNotActiveW8Form = () => {
|
|
|
17385
17554
|
canEditPayoutInfo: true,
|
|
17386
17555
|
status: "INACTIVE",
|
|
17387
17556
|
documentType: "W8BEN",
|
|
17388
|
-
documentTypeString:
|
|
17557
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17389
17558
|
country: "United Kingdom",
|
|
17390
17559
|
indirectTaxType: "VAT",
|
|
17391
17560
|
indirectTaxNumber: "123456",
|
|
@@ -17422,7 +17591,7 @@ const TaxAndCashDashboardNotVerifiedW9Form = () => {
|
|
|
17422
17591
|
disabled: false,
|
|
17423
17592
|
status: "NOT_VERIFIED",
|
|
17424
17593
|
documentType: "W9",
|
|
17425
|
-
documentTypeString:
|
|
17594
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17426
17595
|
noFormNeeded: false,
|
|
17427
17596
|
country: "United States",
|
|
17428
17597
|
indirectTaxType: "VAT",
|
|
@@ -17443,7 +17612,7 @@ const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
|
|
|
17443
17612
|
disabled: false,
|
|
17444
17613
|
status: "NOT_VERIFIED",
|
|
17445
17614
|
documentType: "W8BEN",
|
|
17446
|
-
documentTypeString:
|
|
17615
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17447
17616
|
dateSubmitted: "Jan 18th, 2025",
|
|
17448
17617
|
noFormNeeded: false,
|
|
17449
17618
|
country: "United Kingdom",
|
|
@@ -17464,7 +17633,7 @@ const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
|
|
|
17464
17633
|
disabled: false,
|
|
17465
17634
|
status: "NOT_VERIFIED",
|
|
17466
17635
|
documentType: "W8BENE",
|
|
17467
|
-
documentTypeString:
|
|
17636
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17468
17637
|
dateSubmitted: "Jan 18th, 2025",
|
|
17469
17638
|
noFormNeeded: false,
|
|
17470
17639
|
country: "United Kingdom",
|
|
@@ -17485,7 +17654,7 @@ const TaxAndCashDashboardNotActiveW8BENEForm = () => {
|
|
|
17485
17654
|
disabled: false,
|
|
17486
17655
|
status: "NOT_ACTIVE",
|
|
17487
17656
|
documentType: "W8BENE",
|
|
17488
|
-
documentTypeString:
|
|
17657
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17489
17658
|
dateSubmitted: "Jan 18th, 2025",
|
|
17490
17659
|
noFormNeeded: false,
|
|
17491
17660
|
indirectTaxNumber: "123456",
|
|
@@ -17505,7 +17674,7 @@ const TaxAndCashDashboardNoFormNeeded = () => {
|
|
|
17505
17674
|
canEditPayoutInfo: true,
|
|
17506
17675
|
disabled: false,
|
|
17507
17676
|
documentType: "W9",
|
|
17508
|
-
documentTypeString:
|
|
17677
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17509
17678
|
dateSubmitted: "Jan 18th, 2025",
|
|
17510
17679
|
noFormNeeded: true,
|
|
17511
17680
|
province: "Ontario",
|
|
@@ -17527,7 +17696,7 @@ const TaxAndCashDashboardIndirectTaxCanada = () => {
|
|
|
17527
17696
|
status: "ACTIVE",
|
|
17528
17697
|
disabled: false,
|
|
17529
17698
|
documentType: "W8BENE",
|
|
17530
|
-
documentTypeString:
|
|
17699
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17531
17700
|
dateSubmitted: "Jan 18th, 2025",
|
|
17532
17701
|
noFormNeeded: false,
|
|
17533
17702
|
province: "Ontario",
|
|
@@ -17549,7 +17718,7 @@ const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
|
|
|
17549
17718
|
status: "ACTIVE",
|
|
17550
17719
|
disabled: false,
|
|
17551
17720
|
documentType: "W8BENE",
|
|
17552
|
-
documentTypeString:
|
|
17721
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17553
17722
|
dateSubmitted: "Jan 18th, 2025",
|
|
17554
17723
|
noFormNeeded: false,
|
|
17555
17724
|
province: "Quebec",
|
|
@@ -17572,7 +17741,7 @@ const TaxAndCashDashboardIndirectTaxSpain = () => {
|
|
|
17572
17741
|
status: "ACTIVE",
|
|
17573
17742
|
disabled: false,
|
|
17574
17743
|
documentType: "W8BENE",
|
|
17575
|
-
documentTypeString:
|
|
17744
|
+
documentTypeString: subregions.taxTypeToName("W8BENE"),
|
|
17576
17745
|
dateSubmitted: "Jan 18th, 2025",
|
|
17577
17746
|
noFormNeeded: false,
|
|
17578
17747
|
country: "Spain",
|
|
@@ -17594,7 +17763,7 @@ const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
|
|
|
17594
17763
|
canEditPayoutInfo: true,
|
|
17595
17764
|
status: "ACTIVE",
|
|
17596
17765
|
documentType: "W8BEN",
|
|
17597
|
-
documentTypeString:
|
|
17766
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17598
17767
|
dateSubmitted: "Jan 18th, 2025",
|
|
17599
17768
|
noFormNeeded: false,
|
|
17600
17769
|
notRegistered: true,
|
|
@@ -17612,7 +17781,7 @@ const TaxAndCashDashboardIdentityVerifcationRequired = () => {
|
|
|
17612
17781
|
canEditPayoutInfo: true,
|
|
17613
17782
|
status: "ACTIVE",
|
|
17614
17783
|
documentType: "W8BEN",
|
|
17615
|
-
documentTypeString:
|
|
17784
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17616
17785
|
dateSubmitted: "Jan 18th, 2025",
|
|
17617
17786
|
noFormNeeded: false,
|
|
17618
17787
|
notRegistered: true,
|
|
@@ -17630,7 +17799,7 @@ const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
|
|
|
17630
17799
|
canEditPayoutInfo: true,
|
|
17631
17800
|
status: "ACTIVE",
|
|
17632
17801
|
documentType: "W8BEN",
|
|
17633
|
-
documentTypeString:
|
|
17802
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17634
17803
|
dateSubmitted: "Jan 18th, 2025",
|
|
17635
17804
|
noFormNeeded: false,
|
|
17636
17805
|
notRegistered: true,
|
|
@@ -17648,7 +17817,7 @@ const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
|
|
|
17648
17817
|
canEditPayoutInfo: true,
|
|
17649
17818
|
status: "ACTIVE",
|
|
17650
17819
|
documentType: "W8BEN",
|
|
17651
|
-
documentTypeString:
|
|
17820
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17652
17821
|
dateSubmitted: "Jan 18th, 2025",
|
|
17653
17822
|
noFormNeeded: false,
|
|
17654
17823
|
notRegistered: true,
|
|
@@ -17666,7 +17835,7 @@ const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
|
|
|
17666
17835
|
canEditPayoutInfo: true,
|
|
17667
17836
|
status: "ACTIVE",
|
|
17668
17837
|
documentType: "W8BEN",
|
|
17669
|
-
documentTypeString:
|
|
17838
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17670
17839
|
dateSubmitted: "Jan 18th, 2025",
|
|
17671
17840
|
noFormNeeded: false,
|
|
17672
17841
|
notRegistered: true,
|
|
@@ -17684,7 +17853,7 @@ const TaxAndCashDashboardW9ThresholdReached = () => {
|
|
|
17684
17853
|
canEditPayoutInfo: true,
|
|
17685
17854
|
status: null,
|
|
17686
17855
|
documentType: "W9",
|
|
17687
|
-
documentTypeString:
|
|
17856
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17688
17857
|
dateSubmitted: "Jan 18th, 2025",
|
|
17689
17858
|
noFormNeeded: false,
|
|
17690
17859
|
notRegistered: false,
|
|
@@ -17703,7 +17872,7 @@ const TaxAndCashDashboardNewTaxForm = () => {
|
|
|
17703
17872
|
canEditPayoutInfo: true,
|
|
17704
17873
|
status: "ACTIVE",
|
|
17705
17874
|
documentType: "W8BEN",
|
|
17706
|
-
documentTypeString:
|
|
17875
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17707
17876
|
dateSubmitted: "Jan 18th, 2025",
|
|
17708
17877
|
noFormNeeded: false,
|
|
17709
17878
|
notRegistered: true,
|
|
@@ -17722,7 +17891,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
|
|
|
17722
17891
|
disabled: true,
|
|
17723
17892
|
status: "ACTIVE",
|
|
17724
17893
|
documentType: "W8BEN",
|
|
17725
|
-
documentTypeString:
|
|
17894
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17726
17895
|
dateSubmitted: "Jan 18th, 2025",
|
|
17727
17896
|
noFormNeeded: false,
|
|
17728
17897
|
indirectTaxNumber: "123456",
|
|
@@ -17742,7 +17911,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalid = () => {
|
|
|
17742
17911
|
disabled: true,
|
|
17743
17912
|
status: "ACTIVE",
|
|
17744
17913
|
documentType: undefined,
|
|
17745
|
-
documentTypeString:
|
|
17914
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17746
17915
|
dateSubmitted: "Jan 18th, 2025",
|
|
17747
17916
|
noFormNeeded: true,
|
|
17748
17917
|
indirectTaxNumber: "123456",
|
|
@@ -17762,7 +17931,7 @@ const TaxAndCashDashboardNoTaxFormRequiredAndBeneficiaryNameInvalidUS = () => {
|
|
|
17762
17931
|
disabled: true,
|
|
17763
17932
|
status: "ACTIVE",
|
|
17764
17933
|
documentType: undefined,
|
|
17765
|
-
documentTypeString:
|
|
17934
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17766
17935
|
dateSubmitted: "Jan 18th, 2025",
|
|
17767
17936
|
noFormNeeded: true,
|
|
17768
17937
|
indirectTaxNumber: "123456",
|
|
@@ -17823,7 +17992,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW9 = () => {
|
|
|
17823
17992
|
disabled: false,
|
|
17824
17993
|
status: "ACTIVE",
|
|
17825
17994
|
documentType: "W9",
|
|
17826
|
-
documentTypeString:
|
|
17995
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17827
17996
|
dateSubmitted: "Mar 15, 2025",
|
|
17828
17997
|
noFormNeeded: false,
|
|
17829
17998
|
indirectTaxNumber: "123456",
|
|
@@ -17844,7 +18013,7 @@ const TaxAndCashDashboardFallbackDocumentTypeW8BEN = () => {
|
|
|
17844
18013
|
disabled: false,
|
|
17845
18014
|
status: "ACTIVE",
|
|
17846
18015
|
documentType: "W8BEN",
|
|
17847
|
-
documentTypeString:
|
|
18016
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17848
18017
|
dateSubmitted: "Feb 20, 2025",
|
|
17849
18018
|
noFormNeeded: false,
|
|
17850
18019
|
indirectTaxNumber: "654321",
|
|
@@ -17886,7 +18055,7 @@ const TaxAndCashDashboardLoading = () => {
|
|
|
17886
18055
|
disabled: false,
|
|
17887
18056
|
status: "ACTIVE",
|
|
17888
18057
|
documentType: "W9",
|
|
17889
|
-
documentTypeString:
|
|
18058
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17890
18059
|
dateSubmitted: "Jan 18th, 2025",
|
|
17891
18060
|
noFormNeeded: false,
|
|
17892
18061
|
loading: true,
|
|
@@ -17905,7 +18074,7 @@ const TaxAndCashDashboardWithLoadingError = () => {
|
|
|
17905
18074
|
canEditPayoutInfo: true,
|
|
17906
18075
|
status: "ACTIVE",
|
|
17907
18076
|
documentType: "W9",
|
|
17908
|
-
documentTypeString:
|
|
18077
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17909
18078
|
dateSubmitted: "Jan 18th, 2025",
|
|
17910
18079
|
noFormNeeded: false,
|
|
17911
18080
|
loading: true,
|
|
@@ -17925,7 +18094,7 @@ const TaxAndCashDashboardWithGeneralError = () => {
|
|
|
17925
18094
|
disabled: false,
|
|
17926
18095
|
status: "ACTIVE",
|
|
17927
18096
|
documentType: "W9",
|
|
17928
|
-
documentTypeString:
|
|
18097
|
+
documentTypeString: subregions.taxTypeToName("W9"),
|
|
17929
18098
|
dateSubmitted: "Jan 18th, 2025",
|
|
17930
18099
|
noFormNeeded: false,
|
|
17931
18100
|
indirectTaxNumber: "123456",
|
|
@@ -17949,7 +18118,7 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
17949
18118
|
disabled: true,
|
|
17950
18119
|
status: "ACTIVE",
|
|
17951
18120
|
documentType: "W8BEN",
|
|
17952
|
-
documentTypeString:
|
|
18121
|
+
documentTypeString: subregions.taxTypeToName("W8BEN"),
|
|
17953
18122
|
dateSubmitted: "Jan 18th, 2025",
|
|
17954
18123
|
noFormNeeded: false,
|
|
17955
18124
|
indirectTaxNumber: "123456",
|
|
@@ -18050,7 +18219,7 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
18050
18219
|
const PayoutDetailsCard_stories = {
|
|
18051
18220
|
title: "Components/Payout Details Card",
|
|
18052
18221
|
};
|
|
18053
|
-
const Loading$
|
|
18222
|
+
const Loading$d = () => {
|
|
18054
18223
|
return (index.h("sqm-payout-details-card", { demoData: {
|
|
18055
18224
|
states: {
|
|
18056
18225
|
loading: true,
|
|
@@ -18086,15 +18255,22 @@ const PaypalPayout = () => {
|
|
|
18086
18255
|
},
|
|
18087
18256
|
} }));
|
|
18088
18257
|
};
|
|
18258
|
+
const BadgeTextICUParsing = () => {
|
|
18259
|
+
return (index.h("div", { style: { display: "flex", flexDirection: "column", gap: "16px" } },
|
|
18260
|
+
index.h("sqm-payout-details-card", { "status-badge-text": "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }", demoData: { states: { badgeStatus: "nextPayout" } } }),
|
|
18261
|
+
index.h("sqm-payout-details-card", { "status-badge-text": "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }", demoData: { states: { badgeStatus: "payoutToday" } } }),
|
|
18262
|
+
index.h("sqm-payout-details-card", { "status-badge-text": "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }", demoData: { states: { badgeStatus: "error" } } })));
|
|
18263
|
+
};
|
|
18089
18264
|
|
|
18090
18265
|
const PayoutDetailsCard = /*#__PURE__*/Object.freeze({
|
|
18091
18266
|
__proto__: null,
|
|
18092
18267
|
'default': PayoutDetailsCard_stories,
|
|
18093
|
-
Loading: Loading$
|
|
18268
|
+
Loading: Loading$d,
|
|
18094
18269
|
NextPayout: NextPayout,
|
|
18095
18270
|
PayoutToday: PayoutToday,
|
|
18096
18271
|
ThresholdPayout: ThresholdPayout,
|
|
18097
|
-
PaypalPayout: PaypalPayout
|
|
18272
|
+
PaypalPayout: PaypalPayout,
|
|
18273
|
+
BadgeTextICUParsing: BadgeTextICUParsing
|
|
18098
18274
|
});
|
|
18099
18275
|
|
|
18100
18276
|
const PayoutStatusAlert_stories = {
|
|
@@ -18124,21 +18300,21 @@ const W9ThresholdReached = () => (index.h("sqm-payout-status-alert", { demoData:
|
|
|
18124
18300
|
},
|
|
18125
18301
|
} }));
|
|
18126
18302
|
const Hold = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "HOLD" } } }));
|
|
18127
|
-
const Loading$
|
|
18303
|
+
const Loading$e = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, loading: true } } }));
|
|
18128
18304
|
const Error$b = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, error: true } } }));
|
|
18129
18305
|
const NewPayeeReview = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "NEW_PAYEE_REVIEW" } } }));
|
|
18130
|
-
const PaymentHoldOnChange = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
18131
|
-
const BeneficiaryNameInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18306
|
+
const PaymentHoldOnChange$1 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_HOLD_ON_CHANGE" } } }));
|
|
18307
|
+
const BeneficiaryNameInvalid$1 = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18132
18308
|
states: { ...defaultProps$s, status: "BENEFICIARY_NAME_INVALID" },
|
|
18133
18309
|
} }));
|
|
18134
|
-
const BeneficiaryNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18310
|
+
const BeneficiaryNameMismatch$1 = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18135
18311
|
states: { ...defaultProps$s, status: "BENEFICIARY_NAME_MISMATCH" },
|
|
18136
18312
|
} }));
|
|
18137
|
-
const BankTaxNameMismatch = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "BANK_TAX_NAME_MISMATCH" } } }));
|
|
18138
|
-
const WithdrawalSettingsInvalid = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18313
|
+
const BankTaxNameMismatch$1 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "BANK_TAX_NAME_MISMATCH" } } }));
|
|
18314
|
+
const WithdrawalSettingsInvalid$1 = () => (index.h("sqm-payout-status-alert", { demoData: {
|
|
18139
18315
|
states: { ...defaultProps$s, status: "WITHDRAWAL_SETTINGS_INVALID" },
|
|
18140
18316
|
} }));
|
|
18141
|
-
const PaymentReturned = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_RETURNED" } } }));
|
|
18317
|
+
const PaymentReturned$1 = () => (index.h("sqm-payout-status-alert", { demoData: { states: { ...defaultProps$s, status: "PAYMENT_RETURNED" } } }));
|
|
18142
18318
|
|
|
18143
18319
|
const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
18144
18320
|
__proto__: null,
|
|
@@ -18150,15 +18326,15 @@ const PayoutStatusAlert = /*#__PURE__*/Object.freeze({
|
|
|
18150
18326
|
VerifyIdentityFailedInternal: VerifyIdentityFailedInternal,
|
|
18151
18327
|
W9ThresholdReached: W9ThresholdReached,
|
|
18152
18328
|
Hold: Hold,
|
|
18153
|
-
Loading: Loading$
|
|
18329
|
+
Loading: Loading$e,
|
|
18154
18330
|
Error: Error$b,
|
|
18155
18331
|
NewPayeeReview: NewPayeeReview,
|
|
18156
|
-
PaymentHoldOnChange: PaymentHoldOnChange,
|
|
18157
|
-
BeneficiaryNameInvalid: BeneficiaryNameInvalid,
|
|
18158
|
-
BeneficiaryNameMismatch: BeneficiaryNameMismatch,
|
|
18159
|
-
BankTaxNameMismatch: BankTaxNameMismatch,
|
|
18160
|
-
WithdrawalSettingsInvalid: WithdrawalSettingsInvalid,
|
|
18161
|
-
PaymentReturned: PaymentReturned
|
|
18332
|
+
PaymentHoldOnChange: PaymentHoldOnChange$1,
|
|
18333
|
+
BeneficiaryNameInvalid: BeneficiaryNameInvalid$1,
|
|
18334
|
+
BeneficiaryNameMismatch: BeneficiaryNameMismatch$1,
|
|
18335
|
+
BankTaxNameMismatch: BankTaxNameMismatch$1,
|
|
18336
|
+
WithdrawalSettingsInvalid: WithdrawalSettingsInvalid$1,
|
|
18337
|
+
PaymentReturned: PaymentReturned$1
|
|
18162
18338
|
});
|
|
18163
18339
|
|
|
18164
18340
|
// ! IMPORTANT: These objects cannot be used as default values for component props
|
|
@@ -18342,7 +18518,7 @@ const BackgroundColor$2 = () => (index.h(emailRegistrationView.EmailRegistration
|
|
|
18342
18518
|
backgroundColor: "aquamarine",
|
|
18343
18519
|
},
|
|
18344
18520
|
})));
|
|
18345
|
-
const Loading$
|
|
18521
|
+
const Loading$f = () => (index.h(emailRegistrationView.EmailRegistrationView, Object.assign({}, {
|
|
18346
18522
|
...defaultProps$t,
|
|
18347
18523
|
states: {
|
|
18348
18524
|
error: "",
|
|
@@ -18382,7 +18558,7 @@ const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
|
18382
18558
|
WithSlots: WithSlots,
|
|
18383
18559
|
NoBorder: NoBorder$1,
|
|
18384
18560
|
BackgroundColor: BackgroundColor$2,
|
|
18385
|
-
Loading: Loading$
|
|
18561
|
+
Loading: Loading$f,
|
|
18386
18562
|
Error: Error$c,
|
|
18387
18563
|
FraudError: FraudError,
|
|
18388
18564
|
EmptyEmailError: EmptyEmailError
|
|
@@ -18522,7 +18698,7 @@ const WithError$1 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Obj
|
|
|
18522
18698
|
},
|
|
18523
18699
|
},
|
|
18524
18700
|
} })));
|
|
18525
|
-
const Disabled$
|
|
18701
|
+
const Disabled$3 = () => (index.h(sqmLeadInputFieldView.LeadInputFieldView, Object.assign({}, defaultProps$v, { states: {
|
|
18526
18702
|
...defaultProps$v.states,
|
|
18527
18703
|
leadFormState: {
|
|
18528
18704
|
...defaultProps$v.states.leadFormState,
|
|
@@ -18544,7 +18720,7 @@ const LeadInputField = /*#__PURE__*/Object.freeze({
|
|
|
18544
18720
|
'default': LeadInputField_stories,
|
|
18545
18721
|
Default: Default$s,
|
|
18546
18722
|
WithError: WithError$1,
|
|
18547
|
-
Disabled: Disabled$
|
|
18723
|
+
Disabled: Disabled$3,
|
|
18548
18724
|
WithInitialValue: WithInitialValue
|
|
18549
18725
|
});
|
|
18550
18726
|
|
|
@@ -18585,14 +18761,14 @@ const WithError$2 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object
|
|
|
18585
18761
|
},
|
|
18586
18762
|
},
|
|
18587
18763
|
} })));
|
|
18588
|
-
const Disabled$
|
|
18764
|
+
const Disabled$4 = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18589
18765
|
...defaultProps$w.states,
|
|
18590
18766
|
leadFormState: {
|
|
18591
18767
|
...defaultProps$w.states.leadFormState,
|
|
18592
18768
|
disabled: true,
|
|
18593
18769
|
},
|
|
18594
18770
|
} })));
|
|
18595
|
-
const Loading$
|
|
18771
|
+
const Loading$g = () => (index.h(ShadowViewAddon.LeadDropdownFieldView, Object.assign({}, defaultProps$w, { states: {
|
|
18596
18772
|
...defaultProps$w.states,
|
|
18597
18773
|
leadFormState: {
|
|
18598
18774
|
...defaultProps$w.states.leadFormState,
|
|
@@ -18615,8 +18791,8 @@ const LeadFormDropdownField = /*#__PURE__*/Object.freeze({
|
|
|
18615
18791
|
Default: Default$t,
|
|
18616
18792
|
Multiple: Multiple,
|
|
18617
18793
|
WithError: WithError$2,
|
|
18618
|
-
Disabled: Disabled$
|
|
18619
|
-
Loading: Loading$
|
|
18794
|
+
Disabled: Disabled$4,
|
|
18795
|
+
Loading: Loading$g,
|
|
18620
18796
|
WithInitialValue: WithInitialValue$1
|
|
18621
18797
|
});
|
|
18622
18798
|
|
|
@@ -18752,7 +18928,7 @@ const mockPartnerData = {
|
|
|
18752
18928
|
balance: "0",
|
|
18753
18929
|
},
|
|
18754
18930
|
};
|
|
18755
|
-
const defaultText = {
|
|
18931
|
+
const defaultText$1 = {
|
|
18756
18932
|
formStep: "Step {step} of {count}",
|
|
18757
18933
|
firstName: "First Name",
|
|
18758
18934
|
lastName: "Last Name",
|
|
@@ -18831,7 +19007,7 @@ const baseProps = {
|
|
|
18831
19007
|
onSubmit: (props) => console.log("onSubmit", props),
|
|
18832
19008
|
onFormChange: (field, e) => console.log("onFormChange", field, e),
|
|
18833
19009
|
},
|
|
18834
|
-
text: defaultText,
|
|
19010
|
+
text: defaultText$1,
|
|
18835
19011
|
refs: {
|
|
18836
19012
|
formRef: { current: null },
|
|
18837
19013
|
currencyRef: { current: null },
|
|
@@ -18860,13 +19036,13 @@ const WithPrefilledData = () => {
|
|
|
18860
19036
|
},
|
|
18861
19037
|
} })));
|
|
18862
19038
|
};
|
|
18863
|
-
const Loading$
|
|
19039
|
+
const Loading$h = () => {
|
|
18864
19040
|
return (index.h(sqmUserInfoFormView.UserInfoFormView, Object.assign({}, baseProps, { states: {
|
|
18865
19041
|
...baseProps.states,
|
|
18866
19042
|
loading: true,
|
|
18867
19043
|
} })));
|
|
18868
19044
|
};
|
|
18869
|
-
const LoadingError = () => {
|
|
19045
|
+
const LoadingError$1 = () => {
|
|
18870
19046
|
return (index.h(sqmUserInfoFormView.UserInfoFormView, Object.assign({}, baseProps, { states: {
|
|
18871
19047
|
...baseProps.states,
|
|
18872
19048
|
loadingError: true,
|
|
@@ -19024,8 +19200,8 @@ const UserInfoFormView = /*#__PURE__*/Object.freeze({
|
|
|
19024
19200
|
'default': UserInfoFormView_stories,
|
|
19025
19201
|
Default: Default$w,
|
|
19026
19202
|
WithPrefilledData: WithPrefilledData,
|
|
19027
|
-
Loading: Loading$
|
|
19028
|
-
LoadingError: LoadingError,
|
|
19203
|
+
Loading: Loading$h,
|
|
19204
|
+
LoadingError: LoadingError$1,
|
|
19029
19205
|
WithValidationErrors: WithValidationErrors,
|
|
19030
19206
|
WithGeneralError: WithGeneralError,
|
|
19031
19207
|
PartnerAccount: PartnerAccount,
|
|
@@ -19065,7 +19241,7 @@ const noopCallbacks = {
|
|
|
19065
19241
|
onSubmit: () => console.log("Submit"),
|
|
19066
19242
|
onClose: () => console.log("Close"),
|
|
19067
19243
|
};
|
|
19068
|
-
const defaultText$
|
|
19244
|
+
const defaultText$2 = {
|
|
19069
19245
|
modalHeader: "Let's get you ready for rewards",
|
|
19070
19246
|
modalHeaderExistingPartner: "We found an existing account",
|
|
19071
19247
|
descriptionNewPartner: "Confirm your country and currency now to get your future rewards faster.",
|
|
@@ -19099,7 +19275,7 @@ const defaultProps$y = {
|
|
|
19099
19275
|
disabled: false,
|
|
19100
19276
|
},
|
|
19101
19277
|
callbacks: noopCallbacks,
|
|
19102
|
-
text: defaultText$
|
|
19278
|
+
text: defaultText$2,
|
|
19103
19279
|
};
|
|
19104
19280
|
const NewPartnerEmpty = () => {
|
|
19105
19281
|
return index.h(sqmPartnerInfoModalView.PartnerInfoModalView, Object.assign({}, defaultProps$y));
|
|
@@ -19235,7 +19411,7 @@ const Step2Code = () => (index.h("sqm-widget-verification", { stateController: J
|
|
|
19235
19411
|
const Step3PartnerModal = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
19236
19412
|
"sqm-widget-verification": { showPartnerModal: true },
|
|
19237
19413
|
}) }));
|
|
19238
|
-
const Loading$
|
|
19414
|
+
const Loading$i = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
19239
19415
|
"sqm-widget-verification": { loading: true },
|
|
19240
19416
|
}) }));
|
|
19241
19417
|
|
|
@@ -19245,7 +19421,7 @@ const WidgetVerification = /*#__PURE__*/Object.freeze({
|
|
|
19245
19421
|
Step1Email: Step1Email,
|
|
19246
19422
|
Step2Code: Step2Code,
|
|
19247
19423
|
Step3PartnerModal: Step3PartnerModal,
|
|
19248
|
-
Loading: Loading$
|
|
19424
|
+
Loading: Loading$i
|
|
19249
19425
|
});
|
|
19250
19426
|
|
|
19251
19427
|
const scenario$G = "@owner:zach @author:zach\nFeature: User Attribute\n Displays a user's custom field value.\n\n Background: A user exists\n Given a user is logged in\n And the user has custom fields\n\n @motivating\n Scenario: A custom field value is displayed\n Given the component has prop \"value\" with value \"firstName\"\n And the user has a custom field \"firstName\" with value \"John\"\n When the component is rendered\n Then the text \"John\" is displayed\n\n @landmine\n Scenario: Nothing is rendered when the custom field does not exist\n Given the component has prop \"value\" with value \"nonExistentField\"\n And the user does not have a custom field \"nonExistentField\"\n Then component is not rendered\n And nothing is displayed\n\n @motivating\n Scenario: Nothing is rendered while user data is loading\n Given the component is loading user data\n When the component is rendered\n Then component is not rendered\n And nothing is displayed\n\n @motivating\n Scenario Outline: Optional styling props can be applied to customize the text appearance\n Given the component has prop <prop> with value <value>\n When the component is rendered\n Then the text is displayed with <cssProperty> set to <value>\n\n Examples:\n | prop | value | cssProperty |\n | fontSize | 24 | font-size |\n | color | #E91E63 | color |\n | fontWeight | 700 | font-weight |\n\n @minutia\n Scenario: Style props are optional and default to no custom styling\n Given the component has no style props set\n When the component is rendered\n Then the text is displayed with default browser styles\n";
|
|
@@ -19276,7 +19452,7 @@ const InvalidValue = () => {
|
|
|
19276
19452
|
} }),
|
|
19277
19453
|
index.h("div", { style: { background: "#e0e0e0", padding: "8px" } }, "Below")));
|
|
19278
19454
|
};
|
|
19279
|
-
const Loading$
|
|
19455
|
+
const Loading$j = () => {
|
|
19280
19456
|
return (index.h("sqm-user-attribute", { demoData: {
|
|
19281
19457
|
loading: true,
|
|
19282
19458
|
value: "impact.com",
|
|
@@ -19297,7 +19473,7 @@ const UserAttribute = /*#__PURE__*/Object.freeze({
|
|
|
19297
19473
|
'default': UserAttribute_stories,
|
|
19298
19474
|
Default: Default$x,
|
|
19299
19475
|
InvalidValue: InvalidValue,
|
|
19300
|
-
Loading: Loading$
|
|
19476
|
+
Loading: Loading$j,
|
|
19301
19477
|
WithCustomStyles: WithCustomStyles
|
|
19302
19478
|
});
|
|
19303
19479
|
|
|
@@ -21994,6 +22170,7 @@ const stories = [
|
|
|
21994
22170
|
TaxAndCashRewardsTable,
|
|
21995
22171
|
TaxAndCashReferralTableRewardsCell,
|
|
21996
22172
|
TaxAndCashReferralTable$1,
|
|
22173
|
+
TaxAndCashDashboardView,
|
|
21997
22174
|
PartnerInfoModal,
|
|
21998
22175
|
WidgetVerification,
|
|
21999
22176
|
UserAttribute,
|