@saasquatch/mint-components 2.0.9 → 2.0.10-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -10
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +19 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +21 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +19 -11
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +8 -1
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +13 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +38 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +16 -10
- package/dist/esm/sqm-rewards-table_9.entry.js +19 -8
- package/dist/esm/sqm-stencilbook.entry.js +21 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.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-b08373f5.entry.js → p-1203413f.entry.js} +1 -1
- package/dist/mint-components/p-298cba7a.system.entry.js +1 -0
- package/dist/mint-components/{p-63a928e0.system.entry.js → p-46db3c50.system.entry.js} +1 -1
- package/dist/mint-components/p-af123d2b.system.js +1 -1
- package/dist/mint-components/{p-f08dd2a8.entry.js → p-c0f92b1f.entry.js} +3 -3
- package/dist/mint-components/{p-259285a8.system.entry.js → p-cc35317b.system.entry.js} +1 -1
- package/dist/mint-components/p-dba31764.entry.js +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
- package/dist/types/components.d.ts +2 -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-636a841f.entry.js +0 -1
- package/dist/mint-components/p-9d19a0f7.system.entry.js +0 -1
|
@@ -12155,6 +12155,7 @@ const rewardsData$1 = {
|
|
|
12155
12155
|
rewardRedemptionTransactions: {
|
|
12156
12156
|
data: null,
|
|
12157
12157
|
},
|
|
12158
|
+
partnerFundsTransfer: null,
|
|
12158
12159
|
};
|
|
12159
12160
|
const taxConnection = {
|
|
12160
12161
|
connected: true,
|
|
@@ -12385,6 +12386,15 @@ const payoutCancelled = {
|
|
|
12385
12386
|
statuses: ["PAYOUT_CANCELLED"],
|
|
12386
12387
|
dateCancelled: 1355612521321,
|
|
12387
12388
|
};
|
|
12389
|
+
const processing = {
|
|
12390
|
+
partnerFundsTransfer: {
|
|
12391
|
+
id: "123",
|
|
12392
|
+
status: null,
|
|
12393
|
+
dateCreated: 1355612521321,
|
|
12394
|
+
dateScheduled: 2779257600000,
|
|
12395
|
+
dateTransferred: null,
|
|
12396
|
+
},
|
|
12397
|
+
};
|
|
12388
12398
|
const us_tax = {
|
|
12389
12399
|
pendingReasons: ["US_TAX"],
|
|
12390
12400
|
};
|
|
@@ -12446,6 +12456,9 @@ const StatusCellPayoutSent = () => {
|
|
|
12446
12456
|
const StatusCellPayoutFailed = () => {
|
|
12447
12457
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: { ...rewardsData$1, ...payoutFailed } }));
|
|
12448
12458
|
};
|
|
12459
|
+
const StatusCellPayoutProcessing = () => {
|
|
12460
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Processing", reward: { ...rewardsData$1, ...processing } }));
|
|
12461
|
+
};
|
|
12449
12462
|
const StatusCellPayoutCancelled = () => {
|
|
12450
12463
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: { ...rewardsData$1, ...payoutCancelled } }));
|
|
12451
12464
|
};
|
|
@@ -12552,6 +12565,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
12552
12565
|
StatusCellPendingPartnerCreation: StatusCellPendingPartnerCreation,
|
|
12553
12566
|
StatusCellPayoutSent: StatusCellPayoutSent,
|
|
12554
12567
|
StatusCellPayoutFailed: StatusCellPayoutFailed,
|
|
12568
|
+
StatusCellPayoutProcessing: StatusCellPayoutProcessing,
|
|
12555
12569
|
StatusCellPayoutCancelled: StatusCellPayoutCancelled,
|
|
12556
12570
|
StatusCellPendingWithLongText: StatusCellPendingWithLongText,
|
|
12557
12571
|
StatusCellPendingUsTax: StatusCellPendingUsTax,
|
|
@@ -12687,6 +12701,12 @@ const r_payout_sent = [
|
|
|
12687
12701
|
index.h(SourceCellReferral, null),
|
|
12688
12702
|
index.h(DateCell$2, null),
|
|
12689
12703
|
];
|
|
12704
|
+
const r_payout_processing = [
|
|
12705
|
+
index.h(RewardsCellCreditFull, null),
|
|
12706
|
+
index.h(StatusCellPayoutProcessing, null),
|
|
12707
|
+
index.h(SourceCellReferral, null),
|
|
12708
|
+
index.h(DateCell$2, null),
|
|
12709
|
+
];
|
|
12690
12710
|
const r_payout_failed = [
|
|
12691
12711
|
index.h(RewardsCellCreditRedeemed, null),
|
|
12692
12712
|
index.h(StatusCellPayoutFailed, null),
|
|
@@ -12732,6 +12752,7 @@ const RewardsTable = () => {
|
|
|
12732
12752
|
r_pending_partner_creation,
|
|
12733
12753
|
r_pending_tax_submission,
|
|
12734
12754
|
r_pending_tax_review,
|
|
12755
|
+
r_payout_processing,
|
|
12735
12756
|
]))));
|
|
12736
12757
|
};
|
|
12737
12758
|
const RewardsTableSingle = () => {
|
package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js
CHANGED
|
@@ -6,8 +6,8 @@ import { luxonLocale } from "../../../utils/utils";
|
|
|
6
6
|
import { TextSpanView } from "../../sqm-text-span/sqm-text-span-view";
|
|
7
7
|
export class ReferralTableRewardsCell {
|
|
8
8
|
constructor() {
|
|
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 {
|
|
9
|
+
this.statusText = "{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Processing} 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 {Processing until {date}. Payout is then scheduled based your settings.} 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() {
|
|
@@ -137,14 +137,19 @@ export class ReferralTableRewardsCell {
|
|
|
137
137
|
return "DENIED";
|
|
138
138
|
}
|
|
139
139
|
const partnerFundsStatus = (_g = reward.partnerFundsTransfer) === null || _g === void 0 ? void 0 : _g.status;
|
|
140
|
-
if (
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
if (reward.partnerFundsTransfer) {
|
|
141
|
+
if (reward.partnerFundsTransfer.dateScheduled > Date.now()) {
|
|
142
|
+
return "PROCESSING";
|
|
143
|
+
}
|
|
144
|
+
if (partnerFundsStatus === "TRANSFERRED" ||
|
|
145
|
+
partnerFundsStatus === "NOT_YET_DUE" ||
|
|
146
|
+
reward.partnerFundsTransfer.dateScheduled < Date.now())
|
|
147
|
+
return "PAYOUT_APPROVED";
|
|
148
|
+
else if (partnerFundsStatus === "OVERDUE")
|
|
149
|
+
return "PAYOUT_FAILED";
|
|
150
|
+
else if (partnerFundsStatus === "REVERSED")
|
|
151
|
+
return "PAYOUT_CANCELLED";
|
|
143
152
|
}
|
|
144
|
-
else if (partnerFundsStatus === "OVERDUE")
|
|
145
|
-
return "PAYOUT_FAILED";
|
|
146
|
-
else if (partnerFundsStatus === "REVERSED")
|
|
147
|
-
return "PAYOUT_CANCELLED";
|
|
148
153
|
if ((_h = reward === null || reward === void 0 ? void 0 : reward.pendingReasons) === null || _h === void 0 ? void 0 : _h.includes("US_TAX")) {
|
|
149
154
|
if (!(taxConnection === null || taxConnection === void 0 ? void 0 : taxConnection.taxHandlingEnabled))
|
|
150
155
|
return "PENDING";
|
|
@@ -175,6 +180,7 @@ export class ReferralTableRewardsCell {
|
|
|
175
180
|
switch (state) {
|
|
176
181
|
case "REDEEMED":
|
|
177
182
|
case "PAYOUT_APPROVED":
|
|
183
|
+
case "PROCESSING":
|
|
178
184
|
return "primary";
|
|
179
185
|
case "DENIED":
|
|
180
186
|
case "EXPIRED":
|
|
@@ -240,6 +246,8 @@ export class ReferralTableRewardsCell {
|
|
|
240
246
|
.toLocaleString(DateTime.DATE_MED))))),
|
|
241
247
|
state === "PAYOUT_APPROVED" && (h("div", null,
|
|
242
248
|
h(TextSpanView, { type: "p" }, statusText))),
|
|
249
|
+
state === "PROCESSING" && (h("div", null,
|
|
250
|
+
h(TextSpanView, { type: "p" }, statusText))),
|
|
243
251
|
state === "PAYOUT_FAILED" && (h("div", null,
|
|
244
252
|
h(TextSpanView, { type: "p" }, statusText))),
|
|
245
253
|
state === "PAYOUT_CANCELLED" && (h("div", null,
|
|
@@ -379,7 +387,7 @@ export class ReferralTableRewardsCell {
|
|
|
379
387
|
},
|
|
380
388
|
"attribute": "status-text",
|
|
381
389
|
"reflect": false,
|
|
382
|
-
"defaultValue": "\"{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} }\""
|
|
390
|
+
"defaultValue": "\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PROCESSING {Processing} 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} }\""
|
|
383
391
|
},
|
|
384
392
|
"statusLongText": {
|
|
385
393
|
"type": "string",
|
|
@@ -397,7 +405,7 @@ export class ReferralTableRewardsCell {
|
|
|
397
405
|
},
|
|
398
406
|
"attribute": "status-long-text",
|
|
399
407
|
"reflect": false,
|
|
400
|
-
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {
|
|
408
|
+
"defaultValue": "\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Processing until {date}. Payout is then scheduled based your settings.} 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} }\""
|
|
401
409
|
},
|
|
402
410
|
"fuelTankText": {
|
|
403
411
|
"type": "string",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { GenericTableView } from "../../tables/GenericTableView";
|
|
3
|
-
import { DateCell, RewardsCellCreditCancelled, RewardsCellCreditFull, RewardsCellCreditLong, RewardsCellCreditPartial, RewardsCellCreditRedeemed, RewardsCellFueltank, RewardsCellFueltankLong, SourceCellDeletedUser, SourceCellDeletedReferral, SourceCellManual, SourceCellReferral, SourceCellReferred, StatusCellAvailable, StatusCellAvailableExpiry, StatusCellCancelled, StatusCellPending, StatusCellPendingUnhandled, StatusCellRedeemed, StatusCellDenied, StatusCellPendingReview, StatusCellPayoutSent, StatusCellPayoutFailed, StatusCellPendingNewTaxForm, StatusCellPendingPartnerCreation, StatusCellPendingTaxReview, StatusCellPendingTaxSubmission, } from "./RewardsTableCell.stories";
|
|
3
|
+
import { DateCell, RewardsCellCreditCancelled, RewardsCellCreditFull, RewardsCellCreditLong, RewardsCellCreditPartial, RewardsCellCreditRedeemed, RewardsCellFueltank, RewardsCellFueltankLong, SourceCellDeletedUser, SourceCellDeletedReferral, SourceCellManual, SourceCellReferral, SourceCellReferred, StatusCellAvailable, StatusCellAvailableExpiry, StatusCellCancelled, StatusCellPending, StatusCellPendingUnhandled, StatusCellRedeemed, StatusCellDenied, StatusCellPendingReview, StatusCellPayoutSent, StatusCellPayoutFailed, StatusCellPendingNewTaxForm, StatusCellPendingPartnerCreation, StatusCellPendingTaxReview, StatusCellPendingTaxSubmission, StatusCellPayoutProcessing, } from "./RewardsTableCell.stories";
|
|
4
4
|
import scenario from "./rewards-table.feature";
|
|
5
5
|
export default {
|
|
6
6
|
title: "Components/Rewards Table",
|
|
@@ -123,6 +123,12 @@ const r_payout_sent = [
|
|
|
123
123
|
h(SourceCellReferral, null),
|
|
124
124
|
h(DateCell, null),
|
|
125
125
|
];
|
|
126
|
+
const r_payout_processing = [
|
|
127
|
+
h(RewardsCellCreditFull, null),
|
|
128
|
+
h(StatusCellPayoutProcessing, null),
|
|
129
|
+
h(SourceCellReferral, null),
|
|
130
|
+
h(DateCell, null),
|
|
131
|
+
];
|
|
126
132
|
const r_payout_failed = [
|
|
127
133
|
h(RewardsCellCreditRedeemed, null),
|
|
128
134
|
h(StatusCellPayoutFailed, null),
|
|
@@ -168,6 +174,7 @@ export const RewardsTable = () => {
|
|
|
168
174
|
r_pending_partner_creation,
|
|
169
175
|
r_pending_tax_submission,
|
|
170
176
|
r_pending_tax_review,
|
|
177
|
+
r_payout_processing,
|
|
171
178
|
]))));
|
|
172
179
|
};
|
|
173
180
|
export const RewardsTableSingle = () => {
|
|
@@ -41,6 +41,7 @@ const rewardsData = {
|
|
|
41
41
|
rewardRedemptionTransactions: {
|
|
42
42
|
data: null,
|
|
43
43
|
},
|
|
44
|
+
partnerFundsTransfer: null,
|
|
44
45
|
};
|
|
45
46
|
const taxConnection = {
|
|
46
47
|
connected: true,
|
|
@@ -271,6 +272,15 @@ const payoutCancelled = {
|
|
|
271
272
|
statuses: ["PAYOUT_CANCELLED"],
|
|
272
273
|
dateCancelled: 1355612521321,
|
|
273
274
|
};
|
|
275
|
+
const processing = {
|
|
276
|
+
partnerFundsTransfer: {
|
|
277
|
+
id: "123",
|
|
278
|
+
status: null,
|
|
279
|
+
dateCreated: 1355612521321,
|
|
280
|
+
dateScheduled: 2779257600000,
|
|
281
|
+
dateTransferred: null,
|
|
282
|
+
},
|
|
283
|
+
};
|
|
274
284
|
const us_tax = {
|
|
275
285
|
pendingReasons: ["US_TAX"],
|
|
276
286
|
};
|
|
@@ -332,6 +342,9 @@ export const StatusCellPayoutSent = () => {
|
|
|
332
342
|
export const StatusCellPayoutFailed = () => {
|
|
333
343
|
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Failed", reward: { ...rewardsData, ...payoutFailed } }));
|
|
334
344
|
};
|
|
345
|
+
export const StatusCellPayoutProcessing = () => {
|
|
346
|
+
return (h("sqm-rewards-table-status-cell", { statusText: "Processing", reward: { ...rewardsData, ...processing } }));
|
|
347
|
+
};
|
|
335
348
|
export const StatusCellPayoutCancelled = () => {
|
|
336
349
|
return (h("sqm-rewards-table-status-cell", { statusText: "Payout Cancelled", reward: { ...rewardsData, ...payoutCancelled } }));
|
|
337
350
|
};
|
|
@@ -74,8 +74,9 @@ export class RewardTableStatusCell {
|
|
|
74
74
|
this.pendingReviewText = "Awaiting review";
|
|
75
75
|
this.deniedText = "Detected self-referral";
|
|
76
76
|
this.payoutFailed = "Payout failed due to a fulfillment issue and is current being retried.";
|
|
77
|
-
this.payoutApproved = "
|
|
77
|
+
this.payoutApproved = "Payout approved and scheduled for payment based on your settings.";
|
|
78
78
|
this.payoutCancelled = "If you think this is a mistake, contact our Support team.";
|
|
79
|
+
this.payoutProcessing = "Processing until {date}. Payout is then scheduled based your settings.";
|
|
79
80
|
}
|
|
80
81
|
rewardStatus(reward) {
|
|
81
82
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -88,13 +89,19 @@ export class RewardTableStatusCell {
|
|
|
88
89
|
if (fraudStatus === "PENDING")
|
|
89
90
|
return "PENDING_REVIEW";
|
|
90
91
|
const partnerTransferStatus = (_e = reward.partnerFundsTransfer) === null || _e === void 0 ? void 0 : _e.status;
|
|
91
|
-
if (
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
if (reward.partnerFundsTransfer) {
|
|
93
|
+
if (reward.partnerFundsTransfer.dateScheduled > Date.now()) {
|
|
94
|
+
return "PROCESSING";
|
|
95
|
+
}
|
|
96
|
+
if (partnerTransferStatus === "TRANSFERRED" ||
|
|
97
|
+
partnerTransferStatus === "NOT_YET_DUE" ||
|
|
98
|
+
reward.partnerFundsTransfer.dateScheduled < Date.now())
|
|
99
|
+
return "PAYOUT_APPROVED";
|
|
100
|
+
if (partnerTransferStatus === "OVERDUE")
|
|
101
|
+
return "PAYOUT_FAILED";
|
|
102
|
+
if (partnerTransferStatus === "REVERSED")
|
|
103
|
+
return "PAYOUT_CANCELLED";
|
|
104
|
+
}
|
|
98
105
|
if (reward.dateCancelled)
|
|
99
106
|
return "CANCELLED";
|
|
100
107
|
if (hasExpired)
|
|
@@ -148,6 +155,7 @@ export class RewardTableStatusCell {
|
|
|
148
155
|
return "success";
|
|
149
156
|
case "REDEEMED":
|
|
150
157
|
case "PAYOUT_APPROVED":
|
|
158
|
+
case "PROCESSING":
|
|
151
159
|
return "primary";
|
|
152
160
|
case "PENDING":
|
|
153
161
|
case "PENDING_REVIEW":
|
|
@@ -174,6 +182,8 @@ export class RewardTableStatusCell {
|
|
|
174
182
|
return this.pendingTaxSubmission;
|
|
175
183
|
case "PENDING_PARTNER_CREATION":
|
|
176
184
|
return this.pendingPartnerCreation;
|
|
185
|
+
case "PROCESSING":
|
|
186
|
+
return this.payoutProcessing;
|
|
177
187
|
}
|
|
178
188
|
}
|
|
179
189
|
render() {
|
|
@@ -207,6 +217,7 @@ export class RewardTableStatusCell {
|
|
|
207
217
|
return sheet.classes.SuccessBadge;
|
|
208
218
|
case "REDEEMED":
|
|
209
219
|
case "PAYOUT_APPROVED":
|
|
220
|
+
case "PROCESSING":
|
|
210
221
|
return sheet.classes.RedeemBadge;
|
|
211
222
|
case "PENDING":
|
|
212
223
|
case "PENDING_REVIEW":
|
|
@@ -534,7 +545,7 @@ export class RewardTableStatusCell {
|
|
|
534
545
|
},
|
|
535
546
|
"attribute": "payout-approved",
|
|
536
547
|
"reflect": false,
|
|
537
|
-
"defaultValue": "\"
|
|
548
|
+
"defaultValue": "\"Payout approved and scheduled for payment based on your settings.\""
|
|
538
549
|
},
|
|
539
550
|
"payoutCancelled": {
|
|
540
551
|
"type": "string",
|
|
@@ -553,6 +564,24 @@ export class RewardTableStatusCell {
|
|
|
553
564
|
"attribute": "payout-cancelled",
|
|
554
565
|
"reflect": false,
|
|
555
566
|
"defaultValue": "\"If you think this is a mistake, contact our Support team.\""
|
|
567
|
+
},
|
|
568
|
+
"payoutProcessing": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"mutable": false,
|
|
571
|
+
"complexType": {
|
|
572
|
+
"original": "string",
|
|
573
|
+
"resolved": "string",
|
|
574
|
+
"references": {}
|
|
575
|
+
},
|
|
576
|
+
"required": false,
|
|
577
|
+
"optional": false,
|
|
578
|
+
"docs": {
|
|
579
|
+
"tags": [],
|
|
580
|
+
"text": ""
|
|
581
|
+
},
|
|
582
|
+
"attribute": "payout-processing",
|
|
583
|
+
"reflect": false,
|
|
584
|
+
"defaultValue": "\"Processing until {date}. Payout is then scheduled based your settings.\""
|
|
556
585
|
}
|
|
557
586
|
}; }
|
|
558
587
|
}
|