@saasquatch/mint-components 1.16.0-0 → 1.16.0-10
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/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +54 -15
- package/dist/cjs/sqm-big-stat_43.cjs.entry.js +7 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +2 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +3 -3
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +3 -3
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +29 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +61 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +19 -13
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +27 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_17.entry.js +54 -15
- package/dist/esm/sqm-big-stat_43.entry.js +7 -3
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-4465b8e0.system.entry.js → p-01a851f7.system.entry.js} +1 -1
- package/dist/mint-components/p-0309fdfa.entry.js +1 -0
- package/dist/mint-components/p-1086f9c1.system.entry.js +1 -0
- package/dist/mint-components/p-1870ab08.system.entry.js +1 -0
- package/dist/mint-components/p-19d60c22.entry.js +205 -0
- package/dist/mint-components/{p-08090b99.entry.js → p-267c8f8c.entry.js} +2 -2
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-fc7a2647.system.entry.js → p-37a4452c.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2f1dd8e.entry.js → p-7893e7d1.entry.js} +1 -1
- package/dist/mint-components/p-986d4c17.system.entry.js +1 -0
- package/dist/mint-components/{p-b94ffed3.entry.js → p-d8ea88f9.entry.js} +1 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +11 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +4 -0
- package/dist/types/components.d.ts +38 -0
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-00658daa.entry.js +0 -205
- package/dist/mint-components/p-43b4bb99.entry.js +0 -1
- package/dist/mint-components/p-8e478d2c.system.entry.js +0 -1
- package/dist/mint-components/p-ef75f3a9.system.entry.js +0 -1
- package/dist/mint-components/p-fe7af690.system.entry.js +0 -1
|
@@ -823,7 +823,7 @@ const RewardTableStatusCell = class {
|
|
|
823
823
|
this.pendingReviewText = "Awaiting review";
|
|
824
824
|
this.deniedText = "Detected self-referral";
|
|
825
825
|
this.payoutFailed = "Payout failed due to a fulfillment issue and is current being retried.";
|
|
826
|
-
this.payoutApproved = "Reward
|
|
826
|
+
this.payoutApproved = "Reward was scheduled for payment based on your settings, barring any account holds.";
|
|
827
827
|
this.payoutCancelled = "If you think this is a mistake, contact our Support team.";
|
|
828
828
|
}
|
|
829
829
|
rewardStatus(reward) {
|
|
@@ -1066,7 +1066,7 @@ const RewardTableStatusColumn = class {
|
|
|
1066
1066
|
*
|
|
1067
1067
|
* @uiName Payout approved text
|
|
1068
1068
|
*/
|
|
1069
|
-
this.payoutApproved = "Reward
|
|
1069
|
+
this.payoutApproved = "Reward was scheduled for payment based on your settings, barring any account holds.";
|
|
1070
1070
|
stencilHooks_module.h$1(this);
|
|
1071
1071
|
}
|
|
1072
1072
|
disconnectedCallback() { }
|
|
@@ -10324,7 +10324,7 @@ const leadSubmitTemplate = "<sqm-referral-iframe></sqm-referral-iframe>\n";
|
|
|
10324
10324
|
|
|
10325
10325
|
const editProfileTemplate = "<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<sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-marketing></sqm-portal-change-marketing>\n</sqm-portal-container>\n";
|
|
10326
10326
|
|
|
10327
|
-
const activityTemplate = "<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\" padding=\"xxx-large\" gap=\"xxx-large\">\n <sqm-text> <h1>Activity</h1></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><p>Referrals</p></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><p>Rewards Earned</p></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><p>Reward Balance</p></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";
|
|
10327
|
+
const activityTemplate = "<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\" padding=\"xxx-large\" gap=\"xxx-large\">\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-payout-status-alert\n cash-payouts-page-url=\"/taxAndCash#3\"\n ></sqm-payout-status-alert>\n <sqm-stat-container alignment=\"left\" space=\"xxxx-large\" display=\"grid\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text><p>Referrals</p></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><p>Rewards Earned</p></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><p>Reward Balance</p></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";
|
|
10328
10328
|
|
|
10329
10329
|
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: 1px solid #2270ee;\n border-right: 1px solid #2270ee;\n border-bottom: 1px solid #2270ee;\n border-left: 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 >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>";
|
|
10330
10330
|
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js
CHANGED
|
@@ -7,7 +7,7 @@ import { TextSpanView } from "../../sqm-text-span/sqm-text-span-view";
|
|
|
7
7
|
export class ReferralTableRewardsCell {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }";
|
|
10
|
-
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
10
|
+
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
|
|
11
11
|
this.locale = "en";
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
@@ -362,7 +362,7 @@ export class ReferralTableRewardsCell {
|
|
|
362
362
|
},
|
|
363
363
|
"attribute": "status-long-text",
|
|
364
364
|
"reflect": false,
|
|
365
|
-
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
365
|
+
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }\""
|
|
366
366
|
},
|
|
367
367
|
"fuelTankText": {
|
|
368
368
|
"type": "string",
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
5
5
|
* @uiName Referral Table Rewards Column
|
|
6
6
|
* @validParents ["sqm-referral-table"]
|
|
7
7
|
* @exampleGroup Referrals
|
|
8
|
-
* @example Referral Table Rewards Column - <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
8
|
+
* @example Referral Table Rewards Column - <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }" fuel-tank-text="Your code is" reward-received-text="Reward received on" expiring-text="Expiring in" pending-for-text="{status} for {date}" denied-help-text="Contact support if you think this is a mistake." ></sqm-referral-table-rewards-column>
|
|
9
9
|
*/
|
|
10
10
|
export class ReferralTableRewardsColumn {
|
|
11
11
|
constructor() {
|
|
@@ -26,7 +26,7 @@ export class ReferralTableRewardsColumn {
|
|
|
26
26
|
* @uiName Reward status long text
|
|
27
27
|
* @uiWidget textArea
|
|
28
28
|
*/
|
|
29
|
-
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
29
|
+
this.statusLongText = "{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }";
|
|
30
30
|
/**
|
|
31
31
|
* Shown in the dropdown details when a reward has an associated fuel tank code.
|
|
32
32
|
*
|
|
@@ -158,7 +158,7 @@ export class ReferralTableRewardsColumn {
|
|
|
158
158
|
},
|
|
159
159
|
"attribute": "status-long-text",
|
|
160
160
|
"reflect": false,
|
|
161
|
-
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
161
|
+
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }\""
|
|
162
162
|
},
|
|
163
163
|
"fuelTankText": {
|
|
164
164
|
"type": "string",
|
|
@@ -12,7 +12,7 @@ import { tryMethod, useReferralTable } from "./useReferralTable";
|
|
|
12
12
|
* @uiName Referral Table
|
|
13
13
|
* @exampleGroup Referrals
|
|
14
14
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
|
-
* @example Referral Table - <sqm-referral-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" > <sqm-referral-table-user-column column-title="Customer" anonymous-user="Anonymous User" deleted-user="Deleted User" ></sqm-referral-table-user-column> <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward
|
|
15
|
+
* @example Referral Table - <sqm-referral-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" > <sqm-referral-table-user-column column-title="Customer" anonymous-user="Anonymous User" deleted-user="Deleted User" ></sqm-referral-table-user-column> <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward was scheduled for payment based on your settings, barring any account holds.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }" fuel-tank-text="Your code is" reward-received-text="Reward received on" expiring-text="Expiring in" pending-for-text="{status} for {date}" denied-help-text="Contact support if you think this is a mistake." ></sqm-referral-table-rewards-column> <sqm-referral-table-date-column column-title="Date converted" date-shown="dateConverted" ></sqm-referral-table-date-column> <sqm-referral-table-status-column column-title="Status" converted-status-text="Converted" in-progress-status-text="In Progress" pending-review-status-text="Pending" denied-status-text="Denied" pending-review-status-sub-text="Awaiting review" denied-status-sub-text="Detected self-referral" ></sqm-referral-table-status-column> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png" empty-state-header="View your referral details" empty-state-text="Refer a friend to view the status of your referrals and rewards earned" slot="empty" ></sqm-empty> </sqm-referral-table>
|
|
16
16
|
*/
|
|
17
17
|
export class ReferralTable {
|
|
18
18
|
constructor() {
|
|
@@ -41,7 +41,7 @@ export class RewardTableStatusCell {
|
|
|
41
41
|
this.pendingReviewText = "Awaiting review";
|
|
42
42
|
this.deniedText = "Detected self-referral";
|
|
43
43
|
this.payoutFailed = "Payout failed due to a fulfillment issue and is current being retried.";
|
|
44
|
-
this.payoutApproved = "Reward
|
|
44
|
+
this.payoutApproved = "Reward was scheduled for payment based on your settings, barring any account holds.";
|
|
45
45
|
this.payoutCancelled = "If you think this is a mistake, contact our Support team.";
|
|
46
46
|
}
|
|
47
47
|
rewardStatus(reward) {
|
|
@@ -486,7 +486,7 @@ export class RewardTableStatusCell {
|
|
|
486
486
|
},
|
|
487
487
|
"attribute": "payout-approved",
|
|
488
488
|
"reflect": false,
|
|
489
|
-
"defaultValue": "\"Reward
|
|
489
|
+
"defaultValue": "\"Reward was scheduled for payment based on your settings, barring any account holds.\""
|
|
490
490
|
},
|
|
491
491
|
"payoutCancelled": {
|
|
492
492
|
"type": "string",
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
5
5
|
* @uiName Reward Table Source Column
|
|
6
6
|
* @validParents ["sqm-rewards-table"]
|
|
7
7
|
* @exampleGroup Rewards
|
|
8
|
-
* @example Reward Table Source Column - <sqm-rewards-table-source-column column-title="Source" anonymous-user="Anonymous User" deleted-user="Deleted User" reward-exchange-text="Reward Exchange" referral-
|
|
8
|
+
* @example Reward Table Source Column - <sqm-rewards-table-source-column column-title="Source" anonymous-user="Anonymous User" deleted-user="Deleted User" reward-exchange-text="Reward Exchange" referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"></sqm-rewards-table-source-column>
|
|
9
9
|
*/
|
|
10
10
|
export class RewardTableUserColumn {
|
|
11
11
|
constructor() {
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
5
5
|
* @uiName Reward Table Status Column
|
|
6
6
|
* @validParents ["sqm-rewards-table"]
|
|
7
7
|
* @exampleGroup Rewards
|
|
8
|
-
* @example Reward Table Status Column - <sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward
|
|
8
|
+
* @example Reward Table Status Column - <sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward was scheduled for payment based on your settings, barring any account holds." ></sqm-rewards-table-status-column>
|
|
9
9
|
*/
|
|
10
10
|
export class RewardTableStatusColumn {
|
|
11
11
|
constructor() {
|
|
@@ -95,7 +95,7 @@ export class RewardTableStatusColumn {
|
|
|
95
95
|
*
|
|
96
96
|
* @uiName Payout approved text
|
|
97
97
|
*/
|
|
98
|
-
this.payoutApproved = "Reward
|
|
98
|
+
this.payoutApproved = "Reward was scheduled for payment based on your settings, barring any account holds.";
|
|
99
99
|
withHooks(this);
|
|
100
100
|
}
|
|
101
101
|
disconnectedCallback() { }
|
|
@@ -436,7 +436,7 @@ export class RewardTableStatusColumn {
|
|
|
436
436
|
},
|
|
437
437
|
"attribute": "payout-approved",
|
|
438
438
|
"reflect": false,
|
|
439
|
-
"defaultValue": "\"Reward
|
|
439
|
+
"defaultValue": "\"Reward was scheduled for payment based on your settings, barring any account holds.\""
|
|
440
440
|
}
|
|
441
441
|
}; }
|
|
442
442
|
static get methods() { return {
|
|
@@ -12,7 +12,7 @@ import { tryMethod, useRewardsTable } from "./useRewardsTable";
|
|
|
12
12
|
* @uiName Reward Table
|
|
13
13
|
* @exampleGroup Rewards
|
|
14
14
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
|
-
* @example Reward Table - <sqm-rewards-table per-page="4" prev-label="Prev" more-label="Next" hidden-columns="0" sm-breakpoint="599" md-breakpoint="799" ><sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward
|
|
15
|
+
* @example Reward Table - <sqm-rewards-table per-page="4" prev-label="Prev" more-label="Next" hidden-columns="0" sm-breakpoint="599" md-breakpoint="799" ><sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward was scheduled for payment based on your settings, barring any account holds." ></sqm-rewards-table-status-column> <sqm-rewards-table-source-column column-title="Source" anonymous-user="Anonymous User" deleted-user="Deleted User" reward-exchange-text="Reward Exchange" referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}" ></sqm-rewards-table-source-column ><sqm-rewards-table-reward-column column-title="Reward" redeemed-text="{redeemedAmount} redeemed" available-text="{availableAmount} remaining" copy-text="Copied!" ></sqm-rewards-table-reward-column ><sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven" ></sqm-rewards-table-date-column ><sqm-rewards-table-customer-note-column column-title="Note" ></sqm-rewards-table-customer-note-column ><sqm-empty slot="empty" empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png" empty-state-header="View your rewards" empty-state-text="Complete program tasks to view the details of your rewards" ></sqm-empty ></sqm-rewards-table>
|
|
16
16
|
*/
|
|
17
17
|
export class RewardsTable {
|
|
18
18
|
constructor() {
|
|
@@ -125,6 +125,10 @@ export function useBankingInfoForm(props) {
|
|
|
125
125
|
const paymentMethodChecked = !hasPayPal
|
|
126
126
|
? "toBankAccount"
|
|
127
127
|
: _paymentMethodChecked;
|
|
128
|
+
useEffect(() => {
|
|
129
|
+
// reset redirect hash
|
|
130
|
+
window.location.hash = "";
|
|
131
|
+
}, []);
|
|
128
132
|
useEffect(() => {
|
|
129
133
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
130
134
|
if (!userData)
|
|
@@ -50,6 +50,10 @@ export function useDocusignForm(props) {
|
|
|
50
50
|
? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
|
|
51
51
|
const actualDocumentType = existingDocumentType ||
|
|
52
52
|
getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
// reset redirect hash
|
|
55
|
+
window.location.hash = "";
|
|
56
|
+
}, []);
|
|
53
57
|
useEffect(() => {
|
|
54
58
|
if (!existingDocumentType)
|
|
55
59
|
return;
|
|
@@ -62,6 +62,10 @@ export function useIndirectTaxForm(props) {
|
|
|
62
62
|
const [filteredCountries, setFilteredCountries] = useState(_countries || []);
|
|
63
63
|
const [option, setOption] = useState("notRegistered");
|
|
64
64
|
const publisher = (_c = (_b = userData === null || userData === void 0 ? void 0 : userData.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher;
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
// reset redirect hash
|
|
67
|
+
window.location.hash = "";
|
|
68
|
+
}, []);
|
|
65
69
|
useEffect(() => {
|
|
66
70
|
var _a;
|
|
67
71
|
if (!((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxCountryCode))
|
|
@@ -132,7 +132,7 @@ export function PayoutStatusAlertView(props) {
|
|
|
132
132
|
case "OVER_W9_THRESHOLD":
|
|
133
133
|
return {
|
|
134
134
|
header: text.w9RequiredHeader,
|
|
135
|
-
description: text.w9RequiredDescription,
|
|
135
|
+
description: intl.formatMessage({ id: "w9RequiredDescription", defaultMessage: text.w9RequiredDescription }, { termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)) }),
|
|
136
136
|
buttonText: text.w9RequiredButtonText,
|
|
137
137
|
alertType: "warning",
|
|
138
138
|
icon: "exclamation-triangle",
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -67,7 +67,7 @@ export class PayoutStatusAlert {
|
|
|
67
67
|
/**
|
|
68
68
|
* @uiName W9 payment threshold alert description
|
|
69
69
|
*/
|
|
70
|
-
this.w9RequiredDescription = "To remove the hold, you need to submit a W9 tax form as
|
|
70
|
+
this.w9RequiredDescription = "You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.";
|
|
71
71
|
/**
|
|
72
72
|
* @uiName W9 payment threshold alert button text
|
|
73
73
|
*/
|
|
@@ -83,11 +83,15 @@ export class PayoutStatusAlert {
|
|
|
83
83
|
/**
|
|
84
84
|
* @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
|
|
85
85
|
*/
|
|
86
|
-
this.cashPayoutsPageUrl = "/
|
|
86
|
+
this.cashPayoutsPageUrl = "/taxAndCash#3";
|
|
87
87
|
/**
|
|
88
88
|
* @uiName Support link text
|
|
89
89
|
*/
|
|
90
90
|
this.supportLink = "support team";
|
|
91
|
+
/**
|
|
92
|
+
* @uiName Terms and Conditions text
|
|
93
|
+
*/
|
|
94
|
+
this.termsAndConditions = "Terms and Conditions";
|
|
91
95
|
/**
|
|
92
96
|
* @uiName Error header
|
|
93
97
|
*/
|
|
@@ -403,7 +407,7 @@ export class PayoutStatusAlert {
|
|
|
403
407
|
},
|
|
404
408
|
"attribute": "w-9-required-description",
|
|
405
409
|
"reflect": false,
|
|
406
|
-
"defaultValue": "\"To remove the hold, you need to submit a W9 tax form as
|
|
410
|
+
"defaultValue": "\"You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.\""
|
|
407
411
|
},
|
|
408
412
|
"w9RequiredButtonText": {
|
|
409
413
|
"type": "string",
|
|
@@ -487,7 +491,7 @@ export class PayoutStatusAlert {
|
|
|
487
491
|
},
|
|
488
492
|
"attribute": "cash-payouts-page-url",
|
|
489
493
|
"reflect": false,
|
|
490
|
-
"defaultValue": "\"/
|
|
494
|
+
"defaultValue": "\"/taxAndCash#3\""
|
|
491
495
|
},
|
|
492
496
|
"supportLink": {
|
|
493
497
|
"type": "string",
|
|
@@ -510,6 +514,27 @@ export class PayoutStatusAlert {
|
|
|
510
514
|
"reflect": false,
|
|
511
515
|
"defaultValue": "\"support team\""
|
|
512
516
|
},
|
|
517
|
+
"termsAndConditions": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"mutable": false,
|
|
520
|
+
"complexType": {
|
|
521
|
+
"original": "string",
|
|
522
|
+
"resolved": "string",
|
|
523
|
+
"references": {}
|
|
524
|
+
},
|
|
525
|
+
"required": false,
|
|
526
|
+
"optional": false,
|
|
527
|
+
"docs": {
|
|
528
|
+
"tags": [{
|
|
529
|
+
"text": "Terms and Conditions text",
|
|
530
|
+
"name": "uiName"
|
|
531
|
+
}],
|
|
532
|
+
"text": ""
|
|
533
|
+
},
|
|
534
|
+
"attribute": "terms-and-conditions",
|
|
535
|
+
"reflect": false,
|
|
536
|
+
"defaultValue": "\"Terms and Conditions\""
|
|
537
|
+
},
|
|
513
538
|
"errorHeader": {
|
|
514
539
|
"type": "string",
|
|
515
540
|
"mutable": false,
|
|
@@ -930,7 +930,12 @@ export class TaxAndCashMonolith {
|
|
|
930
930
|
* @uiGroup Dashboard Properties
|
|
931
931
|
* @uiWidget textArea
|
|
932
932
|
*/
|
|
933
|
-
this.dashboard_w9RequiredDescription = "To remove the hold, you need to submit a W9 tax form as
|
|
933
|
+
this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.";
|
|
934
|
+
/**
|
|
935
|
+
* @uiName Terms and Conditions text
|
|
936
|
+
* @uiGroup Dashboard Properties
|
|
937
|
+
*/
|
|
938
|
+
this.dashboard_termsAndConditions = "Terms and Conditions";
|
|
934
939
|
/**
|
|
935
940
|
* @uiName W9 payment threshold alert button text
|
|
936
941
|
* @uiGroup Dashboard Properties
|
|
@@ -1038,6 +1043,12 @@ export class TaxAndCashMonolith {
|
|
|
1038
1043
|
* @uiGroup General Form Properties
|
|
1039
1044
|
*/
|
|
1040
1045
|
this.supportLink = "support team";
|
|
1046
|
+
/**
|
|
1047
|
+
* Link text for Terms and Conditions
|
|
1048
|
+
* @uiName Terms and Conditions text
|
|
1049
|
+
* @uiGroup General Form Properties
|
|
1050
|
+
*/
|
|
1051
|
+
this.termsAndConditions = "Terms and Conditions";
|
|
1041
1052
|
withHooks(this);
|
|
1042
1053
|
}
|
|
1043
1054
|
disconnectedCallback() { }
|
|
@@ -4939,7 +4950,31 @@ export class TaxAndCashMonolith {
|
|
|
4939
4950
|
},
|
|
4940
4951
|
"attribute": "dashboard_w-9-required-description",
|
|
4941
4952
|
"reflect": false,
|
|
4942
|
-
"defaultValue": "\"To remove the hold, you need to submit a W9 tax form as
|
|
4953
|
+
"defaultValue": "\"You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.\""
|
|
4954
|
+
},
|
|
4955
|
+
"dashboard_termsAndConditions": {
|
|
4956
|
+
"type": "string",
|
|
4957
|
+
"mutable": false,
|
|
4958
|
+
"complexType": {
|
|
4959
|
+
"original": "string",
|
|
4960
|
+
"resolved": "string",
|
|
4961
|
+
"references": {}
|
|
4962
|
+
},
|
|
4963
|
+
"required": false,
|
|
4964
|
+
"optional": false,
|
|
4965
|
+
"docs": {
|
|
4966
|
+
"tags": [{
|
|
4967
|
+
"text": "Terms and Conditions text",
|
|
4968
|
+
"name": "uiName"
|
|
4969
|
+
}, {
|
|
4970
|
+
"text": "Dashboard Properties",
|
|
4971
|
+
"name": "uiGroup"
|
|
4972
|
+
}],
|
|
4973
|
+
"text": ""
|
|
4974
|
+
},
|
|
4975
|
+
"attribute": "dashboard_terms-and-conditions",
|
|
4976
|
+
"reflect": false,
|
|
4977
|
+
"defaultValue": "\"Terms and Conditions\""
|
|
4943
4978
|
},
|
|
4944
4979
|
"dashboard_w9RequiredButtonText": {
|
|
4945
4980
|
"type": "string",
|
|
@@ -5370,6 +5405,30 @@ export class TaxAndCashMonolith {
|
|
|
5370
5405
|
"reflect": false,
|
|
5371
5406
|
"defaultValue": "\"support team\""
|
|
5372
5407
|
},
|
|
5408
|
+
"termsAndConditions": {
|
|
5409
|
+
"type": "string",
|
|
5410
|
+
"mutable": false,
|
|
5411
|
+
"complexType": {
|
|
5412
|
+
"original": "string",
|
|
5413
|
+
"resolved": "string",
|
|
5414
|
+
"references": {}
|
|
5415
|
+
},
|
|
5416
|
+
"required": false,
|
|
5417
|
+
"optional": false,
|
|
5418
|
+
"docs": {
|
|
5419
|
+
"tags": [{
|
|
5420
|
+
"text": "Terms and Conditions text",
|
|
5421
|
+
"name": "uiName"
|
|
5422
|
+
}, {
|
|
5423
|
+
"text": "General Form Properties",
|
|
5424
|
+
"name": "uiGroup"
|
|
5425
|
+
}],
|
|
5426
|
+
"text": "Link text for Terms and Conditions"
|
|
5427
|
+
},
|
|
5428
|
+
"attribute": "terms-and-conditions",
|
|
5429
|
+
"reflect": false,
|
|
5430
|
+
"defaultValue": "\"Terms and Conditions\""
|
|
5431
|
+
},
|
|
5373
5432
|
"demoData": {
|
|
5374
5433
|
"type": "unknown",
|
|
5375
5434
|
"mutable": false,
|
|
@@ -202,7 +202,12 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
202
202
|
case "OVER_W9_THRESHOLD":
|
|
203
203
|
return {
|
|
204
204
|
header: text.w9RequiredHeader,
|
|
205
|
-
description:
|
|
205
|
+
description: intl.formatMessage({
|
|
206
|
+
id: "w9RequiredDescription",
|
|
207
|
+
defaultMessage: text.w9RequiredDescription,
|
|
208
|
+
}, {
|
|
209
|
+
termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
|
|
210
|
+
}),
|
|
206
211
|
button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
|
|
207
212
|
alertType: "info",
|
|
208
213
|
icon: "info-circle",
|
|
@@ -402,20 +407,21 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
402
407
|
slots.payoutDetailsCardSlot,
|
|
403
408
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
404
409
|
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
405
|
-
h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
410
|
+
!states.noFormNeeded && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
406
411
|
h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
407
412
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
408
|
-
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
|
|
409
|
-
h("
|
|
410
|
-
h("
|
|
411
|
-
h("
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
413
|
+
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
|
|
414
|
+
h("div", null,
|
|
415
|
+
h("span", { class: sheet.classes.TaxFormDetailsContainer },
|
|
416
|
+
h("div", { class: sheet.classes.StatusContainer },
|
|
417
|
+
h("h3", null, intl.formatMessage({
|
|
418
|
+
id: "section-subheader",
|
|
419
|
+
defaultMessage: text.taxDocumentSectionSubHeader,
|
|
420
|
+
}, {
|
|
421
|
+
documentType: states.documentTypeString,
|
|
422
|
+
})),
|
|
423
|
+
h("span", { class: sheet.classes.StatusAlert }, statusMap[states.status]))),
|
|
424
|
+
states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
|
|
419
425
|
h("div", { class: sheet.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
420
426
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
421
427
|
h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
|
|
@@ -238,7 +238,11 @@ export class TaxAndCashDashboard {
|
|
|
238
238
|
/**
|
|
239
239
|
* @uiName W9 payment threshold alert description
|
|
240
240
|
*/
|
|
241
|
-
this.w9RequiredDescription = "To remove the hold, you need to submit a W9 tax form as
|
|
241
|
+
this.w9RequiredDescription = "You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.";
|
|
242
|
+
/**
|
|
243
|
+
* @uiName Terms and Conditions text
|
|
244
|
+
*/
|
|
245
|
+
this.termsAndConditions = "Terms and Conditions";
|
|
242
246
|
/**
|
|
243
247
|
* @uiName W9 payment threshold alert button text
|
|
244
248
|
*/
|
|
@@ -1310,7 +1314,28 @@ export class TaxAndCashDashboard {
|
|
|
1310
1314
|
},
|
|
1311
1315
|
"attribute": "w-9-required-description",
|
|
1312
1316
|
"reflect": false,
|
|
1313
|
-
"defaultValue": "\"To remove the hold, you need to submit a W9 tax form as
|
|
1317
|
+
"defaultValue": "\"You have surpassed the $600 threshold for a W9 tax form. To remove the hold, you need to submit a W9 tax form as outlined in our {termsAndConditions}. Please click 'Submit W9' to start the process.\""
|
|
1318
|
+
},
|
|
1319
|
+
"termsAndConditions": {
|
|
1320
|
+
"type": "string",
|
|
1321
|
+
"mutable": false,
|
|
1322
|
+
"complexType": {
|
|
1323
|
+
"original": "string",
|
|
1324
|
+
"resolved": "string",
|
|
1325
|
+
"references": {}
|
|
1326
|
+
},
|
|
1327
|
+
"required": false,
|
|
1328
|
+
"optional": false,
|
|
1329
|
+
"docs": {
|
|
1330
|
+
"tags": [{
|
|
1331
|
+
"text": "Terms and Conditions text",
|
|
1332
|
+
"name": "uiName"
|
|
1333
|
+
}],
|
|
1334
|
+
"text": ""
|
|
1335
|
+
},
|
|
1336
|
+
"attribute": "terms-and-conditions",
|
|
1337
|
+
"reflect": false,
|
|
1338
|
+
"defaultValue": "\"Terms and Conditions\""
|
|
1314
1339
|
},
|
|
1315
1340
|
"w9RequiredButtonText": {
|
|
1316
1341
|
"type": "string",
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -51,6 +51,8 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
51
51
|
useEffect(() => {
|
|
52
52
|
// Clear override context once on submitted
|
|
53
53
|
setContext({});
|
|
54
|
+
if (window.location.hash)
|
|
55
|
+
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
54
56
|
}, []);
|
|
55
57
|
const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
56
58
|
const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
|
|
@@ -23,6 +23,10 @@ export function useUserInfoForm(props) {
|
|
|
23
23
|
const [currencySearch, setCurrencySearch] = useState("");
|
|
24
24
|
const [filteredCurrencies, setFilteredCurrencies] = useState(currencies || []);
|
|
25
25
|
const [formErrors, setErrors] = useState({});
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
// reset redirect hash
|
|
28
|
+
window.location.hash = "";
|
|
29
|
+
}, []);
|
|
26
30
|
useEffect(() => {
|
|
27
31
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
28
32
|
const user = data === null || data === void 0 ? void 0 : data.user;
|