@saasquatch/mint-components 1.5.0-69 → 1.5.0-72
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/{GenericTableView-65598160.js → GenericTableView-2cdb4c5d.js} +5 -8
- package/dist/cjs/{ShadowViewAddon-25f524e4.js → ShadowViewAddon-fbbacd12.js} +25 -50
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-brand_28.cjs.entry.js +24 -20
- package/dist/cjs/sqm-image_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-3bc23603.js → sqm-portal-container-view-fdfb3656.js} +1 -1
- package/dist/cjs/{sqm-portal-profile-view-25537e0b.js → sqm-portal-profile-view-637d2fe7.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +10 -351
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +45 -28
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +198 -105
- package/dist/cjs/sqm-tab-group.cjs.entry.js +20 -0
- package/dist/cjs/sqm-tab-panel.cjs.entry.js +20 -0
- package/dist/cjs/sqm-tab.cjs.entry.js +20 -0
- package/dist/cjs/useReferralTable-e473585e.js +348 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/sqm-brand/sqm-brand.js +3 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +0 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +23 -10
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +5 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +20 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +6 -3
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +2 -65
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -42
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +41 -49
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +17 -19
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +345 -5
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-image.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +3 -3
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +44 -932
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +35 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +77 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +20 -23
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +6 -9
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +16 -40
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +9 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +19 -0
- package/dist/collection/components/sqm-tab-group/sqm-tab-group.js +19 -0
- package/dist/collection/components/sqm-tab-panel/sqm-tab-panel.js +19 -0
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +3 -10
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +1 -33
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/SVGs.js +0 -0
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +64 -0
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/sqm-timeline-entry.js +0 -0
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/sqm-timeline.js +2 -0
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +16 -6
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +6 -3
- package/dist/collection/tables/GenericTableView.js +5 -8
- package/dist/esm/{GenericTableView-2b700cd4.js → GenericTableView-79b65de0.js} +5 -8
- package/dist/esm/{ShadowViewAddon-919cf983.js → ShadowViewAddon-98630948.js} +25 -50
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-brand_28.entry.js +24 -20
- package/dist/esm/sqm-image_4.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-624563e6.js → sqm-portal-container-view-f74db584.js} +1 -1
- package/dist/esm/{sqm-portal-profile-view-c0f86818.js → sqm-portal-profile-view-6a4ab589.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +50 -391
- package/dist/esm/sqm-rewards-table_9.entry.js +44 -27
- package/dist/esm/sqm-stencilbook.entry.js +198 -105
- package/dist/esm/sqm-tab-group.entry.js +16 -0
- package/dist/esm/sqm-tab-panel.entry.js +16 -0
- package/dist/esm/sqm-tab.entry.js +16 -0
- package/dist/esm/useReferralTable-bccb9ac0.js +345 -0
- package/dist/esm-es5/GenericTableView-79b65de0.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-98630948.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-brand_28.entry.js +1 -1
- package/dist/esm-es5/sqm-image_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-624563e6.js → sqm-portal-container-view-f74db584.js} +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-c0f86818.js → sqm-portal-profile-view-6a4ab589.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab-group.entry.js +1 -0
- package/dist/esm-es5/sqm-tab-panel.entry.js +1 -0
- package/dist/esm-es5/sqm-tab.entry.js +1 -0
- package/dist/esm-es5/useReferralTable-bccb9ac0.js +1 -0
- package/dist/mint-components/assets/Reward-image.png +0 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-12c6ad5d.system.entry.js +1 -0
- package/dist/mint-components/p-14655192.js +161 -0
- package/dist/mint-components/{p-1d7902ec.system.entry.js → p-27849b7e.system.entry.js} +1 -1
- package/dist/mint-components/p-2d7db47e.entry.js +1 -0
- package/dist/mint-components/p-382a1bca.system.js +1 -0
- package/dist/mint-components/p-3a374367.js +1 -0
- package/dist/mint-components/{p-9da7df73.system.js → p-4dbf5bbf.system.js} +1 -1
- package/dist/mint-components/p-59454f33.system.js +1 -0
- package/dist/mint-components/p-5e3f4daa.system.entry.js +1 -0
- package/dist/mint-components/{p-b8f8422d.system.entry.js → p-61d68133.system.entry.js} +1 -1
- package/dist/mint-components/p-673407d4.entry.js +150 -0
- package/dist/mint-components/p-68c38020.entry.js +1 -0
- package/dist/mint-components/p-7aea48a0.entry.js +1 -0
- package/dist/mint-components/p-854ad349.entry.js +9 -0
- package/dist/mint-components/p-88765e8f.system.entry.js +1 -0
- package/dist/mint-components/p-8d74871c.system.js +1 -1
- package/dist/mint-components/p-95e36be8.entry.js +1 -0
- package/dist/mint-components/{p-0a1d7ec0.js → p-975d4358.js} +1 -1
- package/dist/mint-components/{p-3ea21dc2.entry.js → p-a2038ff2.entry.js} +1 -1
- package/dist/mint-components/p-aab3dc7b.system.entry.js +1 -0
- package/dist/mint-components/{p-0505f964.js → p-b18cc44f.js} +1 -1
- package/dist/mint-components/{p-1bc35369.system.js → p-bc19e1c2.system.js} +1 -1
- package/dist/mint-components/p-c968ea28.system.entry.js +1 -0
- package/dist/mint-components/p-d0acc0d5.system.js +1 -0
- package/dist/mint-components/p-d5f16295.entry.js +90 -0
- package/dist/mint-components/{p-5aa86d66.entry.js → p-d8a45132.entry.js} +2 -2
- package/dist/mint-components/p-de3e12a6.system.entry.js +1 -0
- package/dist/mint-components/p-f80e4997.system.entry.js +1 -0
- package/dist/mint-components/p-fc3bbee6.js +30 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -3
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +2 -0
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +4 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +2 -5
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -8
- package/dist/types/components/sqm-referral-table/sqm-referral-table-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTable.stories.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +4 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +4 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +2 -2
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +2 -2
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -2
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +6 -0
- package/dist/types/components/sqm-tab-group/sqm-tab-group.d.ts +6 -0
- package/dist/types/components/sqm-tab-panel/sqm-tab-panel.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -2
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +0 -4
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/SVGs.d.ts +0 -0
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +8 -0
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/sqm-timeline-entry.d.ts +0 -0
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/sqm-timeline.d.ts +0 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +6 -1
- package/dist/types/components.d.ts +112 -59
- package/dist/types/saasquatch.d.ts +4 -0
- package/dist/types/tables/GenericTableView.d.ts +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/assets/placeholder.png +0 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +0 -96
- package/dist/esm-es5/GenericTableView-2b700cd4.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-919cf983.js +0 -1
- package/dist/mint-components/assets/placeholder.png +0 -0
- package/dist/mint-components/p-187f520b.entry.js +0 -86
- package/dist/mint-components/p-25ca6445.entry.js +0 -150
- package/dist/mint-components/p-31df3a21.entry.js +0 -161
- package/dist/mint-components/p-4c8273dc.system.entry.js +0 -1
- package/dist/mint-components/p-5619a993.system.js +0 -1
- package/dist/mint-components/p-9a18d853.system.js +0 -1
- package/dist/mint-components/p-ba7c209d.system.entry.js +0 -1
- package/dist/mint-components/p-bad9dd35.entry.js +0 -9
- package/dist/mint-components/p-f5c176e4.js +0 -30
- package/dist/mint-components/p-f890c414.js +0 -1
- package/dist/mint-components/p-f9194201.system.entry.js +0 -1
- package/dist/mint-components/p-f92a265b.system.entry.js +0 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-view.d.ts +0 -32
|
@@ -1,955 +1,67 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { GenericTableView } from "../../tables/GenericTableView";
|
|
3
|
+
import { DateCell, RewardsCellCreditFull, SourceCellReferral, StatusCellAvailable, } from "./RewardsTableCell.stories";
|
|
2
4
|
export default {
|
|
3
5
|
title: "Components/Rewards Table",
|
|
4
6
|
};
|
|
5
|
-
const
|
|
7
|
+
const loadingElement = (h("div", { slot: "loading", style: { display: "contents" } },
|
|
8
|
+
h("sqm-table-row", null,
|
|
9
|
+
h("sqm-table-cell", { colspan: 5 },
|
|
10
|
+
h("sl-skeleton", null))),
|
|
11
|
+
h("sqm-table-row", null,
|
|
12
|
+
h("sqm-table-cell", { colspan: 5 },
|
|
13
|
+
h("sl-skeleton", null))),
|
|
14
|
+
h("sqm-table-row", null,
|
|
15
|
+
h("sqm-table-cell", { colspan: 5 },
|
|
16
|
+
h("sl-skeleton", null))),
|
|
17
|
+
h("sqm-table-row", null,
|
|
18
|
+
h("sqm-table-cell", { colspan: 5 },
|
|
19
|
+
h("sl-skeleton", null))),
|
|
20
|
+
h("sqm-table-row", null,
|
|
21
|
+
h("sqm-table-cell", { colspan: 5 },
|
|
22
|
+
h("sl-skeleton", null)))));
|
|
23
|
+
const emptyElement = (h("div", { slot: "empty", style: { display: "contents" } },
|
|
24
|
+
h("sqm-table-row", null,
|
|
25
|
+
h("sqm-table-cell", { colspan: 5, style: { textAlign: "center" } },
|
|
26
|
+
h("sqm-portal-container", { padding: "xxxx-large", gap: "medium" },
|
|
27
|
+
h("sqm-image", { "image-url": "https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png", "max-width": "100px" }),
|
|
28
|
+
h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
29
|
+
h("sqm-text", { slot: "label" },
|
|
30
|
+
h("h3", null, "View your referral details")),
|
|
31
|
+
h("sqm-text", { slot: "content" }, "Track the status of your referrals and rewards earned by referring friends")))))));
|
|
32
|
+
const rewardsTableProps = {
|
|
6
33
|
states: {
|
|
7
|
-
hasNext: true,
|
|
8
34
|
hasPrev: false,
|
|
35
|
+
hasNext: true,
|
|
9
36
|
show: "rows",
|
|
10
|
-
namespace: "sqm-
|
|
37
|
+
namespace: "sqm-referral-table",
|
|
11
38
|
},
|
|
12
39
|
data: {
|
|
13
40
|
textOverrides: {
|
|
14
41
|
showLabels: true,
|
|
15
42
|
prevLabel: "Prev",
|
|
16
|
-
moreLabel: "
|
|
43
|
+
moreLabel: "View More",
|
|
17
44
|
},
|
|
18
|
-
hiddenColumns: "
|
|
19
|
-
smBreakpoint: 599,
|
|
45
|
+
hiddenColumns: "",
|
|
20
46
|
mdBreakpoint: 899,
|
|
47
|
+
smBreakpoint: 599,
|
|
48
|
+
},
|
|
49
|
+
callbacks: {
|
|
50
|
+
prevPage: () => console.log("Prev"),
|
|
51
|
+
nextPage: () => console.log("Next"),
|
|
21
52
|
},
|
|
22
|
-
callbacks: {},
|
|
23
53
|
elements: {
|
|
24
|
-
columns: ["
|
|
54
|
+
columns: ["Rewards", "Status", "Source", "Date received"],
|
|
25
55
|
rows: [
|
|
26
56
|
[
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
$elm$: {
|
|
32
|
-
"s-p": [],
|
|
33
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
34
|
-
},
|
|
35
|
-
$children$: null,
|
|
36
|
-
$attrs$: {
|
|
37
|
-
reward: {
|
|
38
|
-
id: "5cae6b16cc540e209db45cfa",
|
|
39
|
-
type: "CREDIT",
|
|
40
|
-
value: 1,
|
|
41
|
-
unit: "POINT",
|
|
42
|
-
name: "Partner Reward",
|
|
43
|
-
dateGiven: 1554934550726,
|
|
44
|
-
dateExpires: null,
|
|
45
|
-
dateCancelled: null,
|
|
46
|
-
dateRedeemed: 1637004373582,
|
|
47
|
-
dateScheduledFor: null,
|
|
48
|
-
fuelTankCode: null,
|
|
49
|
-
fuelTankType: null,
|
|
50
|
-
currency: null,
|
|
51
|
-
prettyValue: "1 Point",
|
|
52
|
-
prettyValueNumber: "1",
|
|
53
|
-
prettyAvailableNumber: "0",
|
|
54
|
-
prettyRedeemedNumber: "1",
|
|
55
|
-
statuses: ["REDEEMED"],
|
|
56
|
-
globalRewardKey: null,
|
|
57
|
-
programRewardKey: "partnerReward",
|
|
58
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
59
|
-
prettyRedeemedCredit: "1 Point",
|
|
60
|
-
prettyAssignedCredit: "1 Point",
|
|
61
|
-
prettyAvailableValue: "0 Points",
|
|
62
|
-
exchangedRewardRedemptionTransaction: null,
|
|
63
|
-
referral: {
|
|
64
|
-
id: "5cae6b0fcc540e209db45b53",
|
|
65
|
-
referrerUser: {
|
|
66
|
-
id: "testestest",
|
|
67
|
-
firstName: "jimbo",
|
|
68
|
-
lastName: "neutron",
|
|
69
|
-
},
|
|
70
|
-
referredUser: {
|
|
71
|
-
id: "5cae6b0ce4b0d81c67b78e82",
|
|
72
|
-
firstName: "Aaron",
|
|
73
|
-
lastName: "Hernandez",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
rewardRedemptionTransactions: {
|
|
77
|
-
data: [
|
|
78
|
-
{
|
|
79
|
-
exchangedRewards: {
|
|
80
|
-
data: [
|
|
81
|
-
{
|
|
82
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
83
|
-
type: "INTEGRATION",
|
|
84
|
-
fuelTankCode: null,
|
|
85
|
-
globalRewardKey: "gc1",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
redeemedText: "{redeemedAmount} redeemed",
|
|
94
|
-
availableText: "{availableAmount} available",
|
|
95
|
-
},
|
|
96
|
-
$key$: null,
|
|
97
|
-
$name$: null,
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
$flags$: 0,
|
|
101
|
-
$tag$: "sqm-rewards-table-status-cell",
|
|
102
|
-
$text$: null,
|
|
103
|
-
$elm$: {
|
|
104
|
-
"s-p": [],
|
|
105
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
106
|
-
},
|
|
107
|
-
$children$: null,
|
|
108
|
-
$attrs$: {
|
|
109
|
-
statusText: "{status, select, AVAILABLE {Available} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",
|
|
110
|
-
reward: {
|
|
111
|
-
id: "5cae6b16cc540e209db45cfa",
|
|
112
|
-
type: "CREDIT",
|
|
113
|
-
value: 1,
|
|
114
|
-
unit: "POINT",
|
|
115
|
-
name: "Partner Reward",
|
|
116
|
-
dateGiven: 1554934550726,
|
|
117
|
-
dateExpires: null,
|
|
118
|
-
dateCancelled: null,
|
|
119
|
-
dateRedeemed: 1637004373582,
|
|
120
|
-
dateScheduledFor: null,
|
|
121
|
-
fuelTankCode: null,
|
|
122
|
-
fuelTankType: null,
|
|
123
|
-
currency: null,
|
|
124
|
-
prettyValue: "1 Point",
|
|
125
|
-
prettyValueNumber: "1",
|
|
126
|
-
prettyAvailableNumber: "0",
|
|
127
|
-
prettyRedeemedNumber: "1",
|
|
128
|
-
statuses: ["REDEEMED"],
|
|
129
|
-
globalRewardKey: null,
|
|
130
|
-
programRewardKey: "partnerReward",
|
|
131
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
132
|
-
prettyRedeemedCredit: "1 Point",
|
|
133
|
-
prettyAssignedCredit: "1 Point",
|
|
134
|
-
prettyAvailableValue: "0 Points",
|
|
135
|
-
exchangedRewardRedemptionTransaction: null,
|
|
136
|
-
referral: {
|
|
137
|
-
id: "5cae6b0fcc540e209db45b53",
|
|
138
|
-
referrerUser: {
|
|
139
|
-
id: "testestest",
|
|
140
|
-
firstName: "jimbo",
|
|
141
|
-
lastName: "neutron",
|
|
142
|
-
},
|
|
143
|
-
referredUser: {
|
|
144
|
-
id: "5cae6b0ce4b0d81c67b78e82",
|
|
145
|
-
firstName: "Aaron",
|
|
146
|
-
lastName: "Hernandez",
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
rewardRedemptionTransactions: {
|
|
150
|
-
data: [
|
|
151
|
-
{
|
|
152
|
-
exchangedRewards: {
|
|
153
|
-
data: [
|
|
154
|
-
{
|
|
155
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
156
|
-
type: "INTEGRATION",
|
|
157
|
-
fuelTankCode: null,
|
|
158
|
-
globalRewardKey: "gc1",
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
expiryText: "Expires on ",
|
|
167
|
-
},
|
|
168
|
-
$key$: null,
|
|
169
|
-
$name$: null,
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
$flags$: 0,
|
|
173
|
-
$tag$: "sqm-rewards-table-source-cell",
|
|
174
|
-
$text$: null,
|
|
175
|
-
$elm$: {
|
|
176
|
-
"s-p": [],
|
|
177
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
178
|
-
},
|
|
179
|
-
$children$: null,
|
|
180
|
-
$attrs$: {
|
|
181
|
-
reward: {
|
|
182
|
-
id: "5cae6b16cc540e209db45cfa",
|
|
183
|
-
type: "CREDIT",
|
|
184
|
-
value: 1,
|
|
185
|
-
unit: "POINT",
|
|
186
|
-
name: "Partner Reward",
|
|
187
|
-
dateGiven: 1554934550726,
|
|
188
|
-
dateExpires: null,
|
|
189
|
-
dateCancelled: null,
|
|
190
|
-
dateRedeemed: 1637004373582,
|
|
191
|
-
dateScheduledFor: null,
|
|
192
|
-
fuelTankCode: null,
|
|
193
|
-
fuelTankType: null,
|
|
194
|
-
currency: null,
|
|
195
|
-
prettyValue: "1 Point",
|
|
196
|
-
prettyValueNumber: "1",
|
|
197
|
-
prettyAvailableNumber: "0",
|
|
198
|
-
prettyRedeemedNumber: "1",
|
|
199
|
-
statuses: ["REDEEMED"],
|
|
200
|
-
globalRewardKey: null,
|
|
201
|
-
programRewardKey: "partnerReward",
|
|
202
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
203
|
-
prettyRedeemedCredit: "1 Point",
|
|
204
|
-
prettyAssignedCredit: "1 Point",
|
|
205
|
-
prettyAvailableValue: "0 Points",
|
|
206
|
-
exchangedRewardRedemptionTransaction: null,
|
|
207
|
-
referral: {
|
|
208
|
-
id: "5cae6b0fcc540e209db45b53",
|
|
209
|
-
referrerUser: {
|
|
210
|
-
id: "testestest",
|
|
211
|
-
firstName: "jimbo",
|
|
212
|
-
lastName: "neutron",
|
|
213
|
-
},
|
|
214
|
-
referredUser: {
|
|
215
|
-
id: "5cae6b0ce4b0d81c67b78e82",
|
|
216
|
-
firstName: "Aaron",
|
|
217
|
-
lastName: "Hernandez",
|
|
218
|
-
},
|
|
219
|
-
},
|
|
220
|
-
rewardRedemptionTransactions: {
|
|
221
|
-
data: [
|
|
222
|
-
{
|
|
223
|
-
exchangedRewards: {
|
|
224
|
-
data: [
|
|
225
|
-
{
|
|
226
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
227
|
-
type: "INTEGRATION",
|
|
228
|
-
fuelTankCode: null,
|
|
229
|
-
globalRewardKey: "gc1",
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
],
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
anonymousUserText: "Anonymous User",
|
|
238
|
-
deletedUserText: "Deleted User",
|
|
239
|
-
rewardExchangeText: "Reward Exchange",
|
|
240
|
-
referralText: "{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}",
|
|
241
|
-
rewardSourceText: "{rewardSource, select, MANUAL {Manual} AUTOMATED {Automated} other {}}",
|
|
242
|
-
},
|
|
243
|
-
$key$: null,
|
|
244
|
-
$name$: null,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
$flags$: 0,
|
|
248
|
-
$tag$: "sqm-rewards-table-date-cell",
|
|
249
|
-
$text$: null,
|
|
250
|
-
$elm$: {
|
|
251
|
-
"s-p": [],
|
|
252
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
253
|
-
},
|
|
254
|
-
$children$: null,
|
|
255
|
-
$attrs$: {
|
|
256
|
-
date: 1554934550726,
|
|
257
|
-
},
|
|
258
|
-
$key$: null,
|
|
259
|
-
$name$: null,
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
[
|
|
263
|
-
{
|
|
264
|
-
$flags$: 0,
|
|
265
|
-
$tag$: "sqm-rewards-table-reward-cell",
|
|
266
|
-
$text$: null,
|
|
267
|
-
$elm$: {
|
|
268
|
-
"s-p": [],
|
|
269
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
270
|
-
},
|
|
271
|
-
$children$: null,
|
|
272
|
-
$attrs$: {
|
|
273
|
-
reward: {
|
|
274
|
-
id: "5cae6ab7cc540e209db456cc",
|
|
275
|
-
type: "CREDIT",
|
|
276
|
-
value: 1,
|
|
277
|
-
unit: "POINT",
|
|
278
|
-
name: "Partner Reward",
|
|
279
|
-
dateGiven: 1554934455495,
|
|
280
|
-
dateExpires: null,
|
|
281
|
-
dateCancelled: null,
|
|
282
|
-
dateRedeemed: 1637004373582,
|
|
283
|
-
dateScheduledFor: null,
|
|
284
|
-
fuelTankCode: null,
|
|
285
|
-
fuelTankType: null,
|
|
286
|
-
currency: null,
|
|
287
|
-
prettyValue: "1 Point",
|
|
288
|
-
prettyValueNumber: "1",
|
|
289
|
-
prettyAvailableNumber: "0",
|
|
290
|
-
prettyRedeemedNumber: "1",
|
|
291
|
-
statuses: ["REDEEMED"],
|
|
292
|
-
globalRewardKey: null,
|
|
293
|
-
programRewardKey: "partnerReward",
|
|
294
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
295
|
-
prettyRedeemedCredit: "1 Point",
|
|
296
|
-
prettyAssignedCredit: "1 Point",
|
|
297
|
-
prettyAvailableValue: "0 Points",
|
|
298
|
-
exchangedRewardRedemptionTransaction: null,
|
|
299
|
-
referral: {
|
|
300
|
-
id: "5cae6a92cc540e209db45106",
|
|
301
|
-
referrerUser: {
|
|
302
|
-
id: "testestest",
|
|
303
|
-
firstName: "jimbo",
|
|
304
|
-
lastName: "neutron",
|
|
305
|
-
},
|
|
306
|
-
referredUser: {
|
|
307
|
-
id: "5cae6a8fe4b0d81c67b78e60",
|
|
308
|
-
firstName: "Brian",
|
|
309
|
-
lastName: "Mendez",
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
rewardRedemptionTransactions: {
|
|
313
|
-
data: [
|
|
314
|
-
{
|
|
315
|
-
exchangedRewards: {
|
|
316
|
-
data: [
|
|
317
|
-
{
|
|
318
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
319
|
-
type: "INTEGRATION",
|
|
320
|
-
fuelTankCode: null,
|
|
321
|
-
globalRewardKey: "gc1",
|
|
322
|
-
},
|
|
323
|
-
],
|
|
324
|
-
},
|
|
325
|
-
},
|
|
326
|
-
],
|
|
327
|
-
},
|
|
328
|
-
},
|
|
329
|
-
redeemedText: "{redeemedAmount} redeemed",
|
|
330
|
-
availableText: "{availableAmount} available",
|
|
331
|
-
},
|
|
332
|
-
$key$: null,
|
|
333
|
-
$name$: null,
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
$flags$: 0,
|
|
337
|
-
$tag$: "sqm-rewards-table-status-cell",
|
|
338
|
-
$text$: null,
|
|
339
|
-
$elm$: {
|
|
340
|
-
"s-p": [],
|
|
341
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
342
|
-
},
|
|
343
|
-
$children$: null,
|
|
344
|
-
$attrs$: {
|
|
345
|
-
statusText: "{status, select, AVAILABLE {Available} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",
|
|
346
|
-
reward: {
|
|
347
|
-
id: "5cae6ab7cc540e209db456cc",
|
|
348
|
-
type: "CREDIT",
|
|
349
|
-
value: 1,
|
|
350
|
-
unit: "POINT",
|
|
351
|
-
name: "Partner Reward",
|
|
352
|
-
dateGiven: 1554934455495,
|
|
353
|
-
dateExpires: null,
|
|
354
|
-
dateCancelled: null,
|
|
355
|
-
dateRedeemed: 1637004373582,
|
|
356
|
-
dateScheduledFor: null,
|
|
357
|
-
fuelTankCode: null,
|
|
358
|
-
fuelTankType: null,
|
|
359
|
-
currency: null,
|
|
360
|
-
prettyValue: "1 Point",
|
|
361
|
-
prettyValueNumber: "1",
|
|
362
|
-
prettyAvailableNumber: "0",
|
|
363
|
-
prettyRedeemedNumber: "1",
|
|
364
|
-
statuses: ["REDEEMED"],
|
|
365
|
-
globalRewardKey: null,
|
|
366
|
-
programRewardKey: "partnerReward",
|
|
367
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
368
|
-
prettyRedeemedCredit: "1 Point",
|
|
369
|
-
prettyAssignedCredit: "1 Point",
|
|
370
|
-
prettyAvailableValue: "0 Points",
|
|
371
|
-
exchangedRewardRedemptionTransaction: null,
|
|
372
|
-
referral: {
|
|
373
|
-
id: "5cae6a92cc540e209db45106",
|
|
374
|
-
referrerUser: {
|
|
375
|
-
id: "testestest",
|
|
376
|
-
firstName: "jimbo",
|
|
377
|
-
lastName: "neutron",
|
|
378
|
-
},
|
|
379
|
-
referredUser: {
|
|
380
|
-
id: "5cae6a8fe4b0d81c67b78e60",
|
|
381
|
-
firstName: "Brian",
|
|
382
|
-
lastName: "Mendez",
|
|
383
|
-
},
|
|
384
|
-
},
|
|
385
|
-
rewardRedemptionTransactions: {
|
|
386
|
-
data: [
|
|
387
|
-
{
|
|
388
|
-
exchangedRewards: {
|
|
389
|
-
data: [
|
|
390
|
-
{
|
|
391
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
392
|
-
type: "INTEGRATION",
|
|
393
|
-
fuelTankCode: null,
|
|
394
|
-
globalRewardKey: "gc1",
|
|
395
|
-
},
|
|
396
|
-
],
|
|
397
|
-
},
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
expiryText: "Expires on ",
|
|
403
|
-
},
|
|
404
|
-
$key$: null,
|
|
405
|
-
$name$: null,
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
$flags$: 0,
|
|
409
|
-
$tag$: "sqm-rewards-table-source-cell",
|
|
410
|
-
$text$: null,
|
|
411
|
-
$elm$: {
|
|
412
|
-
"s-p": [],
|
|
413
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
414
|
-
},
|
|
415
|
-
$children$: null,
|
|
416
|
-
$attrs$: {
|
|
417
|
-
reward: {
|
|
418
|
-
id: "5cae6ab7cc540e209db456cc",
|
|
419
|
-
type: "CREDIT",
|
|
420
|
-
value: 1,
|
|
421
|
-
unit: "POINT",
|
|
422
|
-
name: "Partner Reward",
|
|
423
|
-
dateGiven: 1554934455495,
|
|
424
|
-
dateExpires: null,
|
|
425
|
-
dateCancelled: null,
|
|
426
|
-
dateRedeemed: 1637004373582,
|
|
427
|
-
dateScheduledFor: null,
|
|
428
|
-
fuelTankCode: null,
|
|
429
|
-
fuelTankType: null,
|
|
430
|
-
currency: null,
|
|
431
|
-
prettyValue: "1 Point",
|
|
432
|
-
prettyValueNumber: "1",
|
|
433
|
-
prettyAvailableNumber: "0",
|
|
434
|
-
prettyRedeemedNumber: "1",
|
|
435
|
-
statuses: ["REDEEMED"],
|
|
436
|
-
globalRewardKey: null,
|
|
437
|
-
programRewardKey: "partnerReward",
|
|
438
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
439
|
-
prettyRedeemedCredit: "1 Point",
|
|
440
|
-
prettyAssignedCredit: "1 Point",
|
|
441
|
-
prettyAvailableValue: "0 Points",
|
|
442
|
-
exchangedRewardRedemptionTransaction: null,
|
|
443
|
-
referral: {
|
|
444
|
-
id: "5cae6a92cc540e209db45106",
|
|
445
|
-
referrerUser: {
|
|
446
|
-
id: "testestest",
|
|
447
|
-
firstName: "jimbo",
|
|
448
|
-
lastName: "neutron",
|
|
449
|
-
},
|
|
450
|
-
referredUser: {
|
|
451
|
-
id: "5cae6a8fe4b0d81c67b78e60",
|
|
452
|
-
firstName: "Brian",
|
|
453
|
-
lastName: "Mendez",
|
|
454
|
-
},
|
|
455
|
-
},
|
|
456
|
-
rewardRedemptionTransactions: {
|
|
457
|
-
data: [
|
|
458
|
-
{
|
|
459
|
-
exchangedRewards: {
|
|
460
|
-
data: [
|
|
461
|
-
{
|
|
462
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
463
|
-
type: "INTEGRATION",
|
|
464
|
-
fuelTankCode: null,
|
|
465
|
-
globalRewardKey: "gc1",
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
],
|
|
471
|
-
},
|
|
472
|
-
},
|
|
473
|
-
anonymousUserText: "Anonymous User",
|
|
474
|
-
deletedUserText: "Deleted User",
|
|
475
|
-
rewardExchangeText: "Reward Exchange",
|
|
476
|
-
referralText: "{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}",
|
|
477
|
-
rewardSourceText: "{rewardSource, select, MANUAL {Manual} AUTOMATED {Automated} other {}}",
|
|
478
|
-
},
|
|
479
|
-
$key$: null,
|
|
480
|
-
$name$: null,
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
$flags$: 0,
|
|
484
|
-
$tag$: "sqm-rewards-table-date-cell",
|
|
485
|
-
$text$: null,
|
|
486
|
-
$elm$: {
|
|
487
|
-
"s-p": [],
|
|
488
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
489
|
-
},
|
|
490
|
-
$children$: null,
|
|
491
|
-
$attrs$: {
|
|
492
|
-
date: 1554934455495,
|
|
493
|
-
},
|
|
494
|
-
$key$: null,
|
|
495
|
-
$name$: null,
|
|
496
|
-
},
|
|
497
|
-
],
|
|
498
|
-
[
|
|
499
|
-
{
|
|
500
|
-
$flags$: 0,
|
|
501
|
-
$tag$: "sqm-rewards-table-reward-cell",
|
|
502
|
-
$text$: null,
|
|
503
|
-
$elm$: {
|
|
504
|
-
"s-p": [],
|
|
505
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
506
|
-
},
|
|
507
|
-
$children$: null,
|
|
508
|
-
$attrs$: {
|
|
509
|
-
reward: {
|
|
510
|
-
id: "5cae6a46cc540e209db44cf2",
|
|
511
|
-
type: "CREDIT",
|
|
512
|
-
value: 1,
|
|
513
|
-
unit: "POINT",
|
|
514
|
-
name: "Partner Reward",
|
|
515
|
-
dateGiven: 1554934342984,
|
|
516
|
-
dateExpires: null,
|
|
517
|
-
dateCancelled: null,
|
|
518
|
-
dateRedeemed: 1637004373582,
|
|
519
|
-
dateScheduledFor: null,
|
|
520
|
-
fuelTankCode: null,
|
|
521
|
-
fuelTankType: null,
|
|
522
|
-
currency: null,
|
|
523
|
-
prettyValue: "1 Point",
|
|
524
|
-
prettyValueNumber: "1",
|
|
525
|
-
prettyAvailableNumber: "0",
|
|
526
|
-
prettyRedeemedNumber: "1",
|
|
527
|
-
statuses: ["REDEEMED"],
|
|
528
|
-
globalRewardKey: null,
|
|
529
|
-
programRewardKey: "partnerReward",
|
|
530
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
531
|
-
prettyRedeemedCredit: "1 Point",
|
|
532
|
-
prettyAssignedCredit: "1 Point",
|
|
533
|
-
prettyAvailableValue: "0 Points",
|
|
534
|
-
exchangedRewardRedemptionTransaction: null,
|
|
535
|
-
referral: {
|
|
536
|
-
id: "5cae6a42cc540e209db44b5a",
|
|
537
|
-
referrerUser: {
|
|
538
|
-
id: "testestest",
|
|
539
|
-
firstName: "jimbo",
|
|
540
|
-
lastName: "neutron",
|
|
541
|
-
},
|
|
542
|
-
referredUser: {
|
|
543
|
-
id: "5cae6a40e4b0d81c67b78e3e",
|
|
544
|
-
firstName: "Loretta",
|
|
545
|
-
lastName: "Harper",
|
|
546
|
-
},
|
|
547
|
-
},
|
|
548
|
-
rewardRedemptionTransactions: {
|
|
549
|
-
data: [
|
|
550
|
-
{
|
|
551
|
-
exchangedRewards: {
|
|
552
|
-
data: [
|
|
553
|
-
{
|
|
554
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
555
|
-
type: "INTEGRATION",
|
|
556
|
-
fuelTankCode: null,
|
|
557
|
-
globalRewardKey: "gc1",
|
|
558
|
-
},
|
|
559
|
-
],
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
],
|
|
563
|
-
},
|
|
564
|
-
},
|
|
565
|
-
redeemedText: "{redeemedAmount} redeemed",
|
|
566
|
-
availableText: "{availableAmount} available",
|
|
567
|
-
},
|
|
568
|
-
$key$: null,
|
|
569
|
-
$name$: null,
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
$flags$: 0,
|
|
573
|
-
$tag$: "sqm-rewards-table-status-cell",
|
|
574
|
-
$text$: null,
|
|
575
|
-
$elm$: {
|
|
576
|
-
"s-p": [],
|
|
577
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
578
|
-
},
|
|
579
|
-
$children$: null,
|
|
580
|
-
$attrs$: {
|
|
581
|
-
statusText: "{status, select, AVAILABLE {Available} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }",
|
|
582
|
-
reward: {
|
|
583
|
-
id: "5cae6a46cc540e209db44cf2",
|
|
584
|
-
type: "CREDIT",
|
|
585
|
-
value: 1,
|
|
586
|
-
unit: "POINT",
|
|
587
|
-
name: "Partner Reward",
|
|
588
|
-
dateGiven: 1554934342984,
|
|
589
|
-
dateExpires: null,
|
|
590
|
-
dateCancelled: null,
|
|
591
|
-
dateRedeemed: 1637004373582,
|
|
592
|
-
dateScheduledFor: null,
|
|
593
|
-
fuelTankCode: null,
|
|
594
|
-
fuelTankType: null,
|
|
595
|
-
currency: null,
|
|
596
|
-
prettyValue: "1 Point",
|
|
597
|
-
prettyValueNumber: "1",
|
|
598
|
-
prettyAvailableNumber: "0",
|
|
599
|
-
prettyRedeemedNumber: "1",
|
|
600
|
-
statuses: ["REDEEMED"],
|
|
601
|
-
globalRewardKey: null,
|
|
602
|
-
programRewardKey: "partnerReward",
|
|
603
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
604
|
-
prettyRedeemedCredit: "1 Point",
|
|
605
|
-
prettyAssignedCredit: "1 Point",
|
|
606
|
-
prettyAvailableValue: "0 Points",
|
|
607
|
-
exchangedRewardRedemptionTransaction: null,
|
|
608
|
-
referral: {
|
|
609
|
-
id: "5cae6a42cc540e209db44b5a",
|
|
610
|
-
referrerUser: {
|
|
611
|
-
id: "testestest",
|
|
612
|
-
firstName: "jimbo",
|
|
613
|
-
lastName: "neutron",
|
|
614
|
-
},
|
|
615
|
-
referredUser: {
|
|
616
|
-
id: "5cae6a40e4b0d81c67b78e3e",
|
|
617
|
-
firstName: "Loretta",
|
|
618
|
-
lastName: "Harper",
|
|
619
|
-
},
|
|
620
|
-
},
|
|
621
|
-
rewardRedemptionTransactions: {
|
|
622
|
-
data: [
|
|
623
|
-
{
|
|
624
|
-
exchangedRewards: {
|
|
625
|
-
data: [
|
|
626
|
-
{
|
|
627
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
628
|
-
type: "INTEGRATION",
|
|
629
|
-
fuelTankCode: null,
|
|
630
|
-
globalRewardKey: "gc1",
|
|
631
|
-
},
|
|
632
|
-
],
|
|
633
|
-
},
|
|
634
|
-
},
|
|
635
|
-
],
|
|
636
|
-
},
|
|
637
|
-
},
|
|
638
|
-
expiryText: "Expires on ",
|
|
639
|
-
},
|
|
640
|
-
$key$: null,
|
|
641
|
-
$name$: null,
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
$flags$: 0,
|
|
645
|
-
$tag$: "sqm-rewards-table-source-cell",
|
|
646
|
-
$text$: null,
|
|
647
|
-
$elm$: {
|
|
648
|
-
"s-p": [],
|
|
649
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
650
|
-
},
|
|
651
|
-
$children$: null,
|
|
652
|
-
$attrs$: {
|
|
653
|
-
reward: {
|
|
654
|
-
id: "5cae6a46cc540e209db44cf2",
|
|
655
|
-
type: "CREDIT",
|
|
656
|
-
value: 1,
|
|
657
|
-
unit: "POINT",
|
|
658
|
-
name: "Partner Reward",
|
|
659
|
-
dateGiven: 1554934342984,
|
|
660
|
-
dateExpires: null,
|
|
661
|
-
dateCancelled: null,
|
|
662
|
-
dateRedeemed: 1637004373582,
|
|
663
|
-
dateScheduledFor: null,
|
|
664
|
-
fuelTankCode: null,
|
|
665
|
-
fuelTankType: null,
|
|
666
|
-
currency: null,
|
|
667
|
-
prettyValue: "1 Point",
|
|
668
|
-
prettyValueNumber: "1",
|
|
669
|
-
prettyAvailableNumber: "0",
|
|
670
|
-
prettyRedeemedNumber: "1",
|
|
671
|
-
statuses: ["REDEEMED"],
|
|
672
|
-
globalRewardKey: null,
|
|
673
|
-
programRewardKey: "partnerReward",
|
|
674
|
-
rewardSource: "FRIEND_SIGNUP",
|
|
675
|
-
prettyRedeemedCredit: "1 Point",
|
|
676
|
-
prettyAssignedCredit: "1 Point",
|
|
677
|
-
prettyAvailableValue: "0 Points",
|
|
678
|
-
exchangedRewardRedemptionTransaction: null,
|
|
679
|
-
referral: {
|
|
680
|
-
id: "5cae6a42cc540e209db44b5a",
|
|
681
|
-
referrerUser: {
|
|
682
|
-
id: "testestest",
|
|
683
|
-
firstName: "jimbo",
|
|
684
|
-
lastName: "neutron",
|
|
685
|
-
},
|
|
686
|
-
referredUser: {
|
|
687
|
-
id: "5cae6a40e4b0d81c67b78e3e",
|
|
688
|
-
firstName: "Loretta",
|
|
689
|
-
lastName: "Harper",
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
rewardRedemptionTransactions: {
|
|
693
|
-
data: [
|
|
694
|
-
{
|
|
695
|
-
exchangedRewards: {
|
|
696
|
-
data: [
|
|
697
|
-
{
|
|
698
|
-
prettyValue: "CAD10.00 Visa* Prepaid Card CAD",
|
|
699
|
-
type: "INTEGRATION",
|
|
700
|
-
fuelTankCode: null,
|
|
701
|
-
globalRewardKey: "gc1",
|
|
702
|
-
},
|
|
703
|
-
],
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
anonymousUserText: "Anonymous User",
|
|
710
|
-
deletedUserText: "Deleted User",
|
|
711
|
-
rewardExchangeText: "Reward Exchange",
|
|
712
|
-
referralText: "{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}",
|
|
713
|
-
rewardSourceText: "{rewardSource, select, MANUAL {Manual} AUTOMATED {Automated} other {}}",
|
|
714
|
-
},
|
|
715
|
-
$key$: null,
|
|
716
|
-
$name$: null,
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
$flags$: 0,
|
|
720
|
-
$tag$: "sqm-rewards-table-date-cell",
|
|
721
|
-
$text$: null,
|
|
722
|
-
$elm$: {
|
|
723
|
-
"s-p": [],
|
|
724
|
-
"s-hn": "SQM-REWARDS-TABLE",
|
|
725
|
-
},
|
|
726
|
-
$children$: null,
|
|
727
|
-
$attrs$: {
|
|
728
|
-
date: 1554934342984,
|
|
729
|
-
},
|
|
730
|
-
$key$: null,
|
|
731
|
-
$name$: null,
|
|
732
|
-
},
|
|
57
|
+
h(RewardsCellCreditFull, null),
|
|
58
|
+
h(StatusCellAvailable, null),
|
|
59
|
+
h(SourceCellReferral, null),
|
|
60
|
+
h(DateCell, null),
|
|
733
61
|
],
|
|
734
62
|
],
|
|
735
|
-
emptyElement: {
|
|
736
|
-
$flags$: 0,
|
|
737
|
-
$tag$: "slot",
|
|
738
|
-
$text$: null,
|
|
739
|
-
$elm$: null,
|
|
740
|
-
$children$: [
|
|
741
|
-
{
|
|
742
|
-
$flags$: 0,
|
|
743
|
-
$tag$: "div",
|
|
744
|
-
$text$: null,
|
|
745
|
-
$elm$: null,
|
|
746
|
-
$children$: [
|
|
747
|
-
{
|
|
748
|
-
$flags$: 0,
|
|
749
|
-
$tag$: "sqm-text",
|
|
750
|
-
$text$: null,
|
|
751
|
-
$elm$: null,
|
|
752
|
-
$children$: [
|
|
753
|
-
{
|
|
754
|
-
$flags$: 0,
|
|
755
|
-
$tag$: "h3",
|
|
756
|
-
$text$: null,
|
|
757
|
-
$elm$: null,
|
|
758
|
-
$children$: [
|
|
759
|
-
{
|
|
760
|
-
$flags$: 0,
|
|
761
|
-
$tag$: null,
|
|
762
|
-
$text$: "No Rewards Yet",
|
|
763
|
-
$elm$: null,
|
|
764
|
-
$children$: null,
|
|
765
|
-
$attrs$: null,
|
|
766
|
-
$key$: null,
|
|
767
|
-
$name$: null,
|
|
768
|
-
},
|
|
769
|
-
],
|
|
770
|
-
$attrs$: {
|
|
771
|
-
style: {
|
|
772
|
-
color: "#777777",
|
|
773
|
-
},
|
|
774
|
-
},
|
|
775
|
-
$key$: null,
|
|
776
|
-
$name$: null,
|
|
777
|
-
},
|
|
778
|
-
],
|
|
779
|
-
$attrs$: null,
|
|
780
|
-
$key$: null,
|
|
781
|
-
$name$: null,
|
|
782
|
-
},
|
|
783
|
-
],
|
|
784
|
-
$attrs$: {
|
|
785
|
-
style: {
|
|
786
|
-
width: "100%",
|
|
787
|
-
},
|
|
788
|
-
},
|
|
789
|
-
$key$: null,
|
|
790
|
-
$name$: null,
|
|
791
|
-
},
|
|
792
|
-
],
|
|
793
|
-
$attrs$: {
|
|
794
|
-
name: "empty",
|
|
795
|
-
},
|
|
796
|
-
$key$: null,
|
|
797
|
-
$name$: "empty",
|
|
798
|
-
},
|
|
799
|
-
loadingElement: {
|
|
800
|
-
$flags$: 0,
|
|
801
|
-
$tag$: "slot",
|
|
802
|
-
$text$: null,
|
|
803
|
-
$elm$: null,
|
|
804
|
-
$children$: [
|
|
805
|
-
{
|
|
806
|
-
$flags$: 0,
|
|
807
|
-
$tag$: "sqm-table-row",
|
|
808
|
-
$text$: null,
|
|
809
|
-
$elm$: null,
|
|
810
|
-
$children$: [
|
|
811
|
-
{
|
|
812
|
-
$flags$: 0,
|
|
813
|
-
$tag$: "sqm-table-cell",
|
|
814
|
-
$text$: null,
|
|
815
|
-
$elm$: null,
|
|
816
|
-
$children$: [
|
|
817
|
-
{
|
|
818
|
-
$flags$: 0,
|
|
819
|
-
$tag$: "sl-skeleton",
|
|
820
|
-
$text$: null,
|
|
821
|
-
$elm$: null,
|
|
822
|
-
$children$: null,
|
|
823
|
-
$attrs$: null,
|
|
824
|
-
$key$: null,
|
|
825
|
-
$name$: null,
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
$attrs$: {
|
|
829
|
-
colspan: 5,
|
|
830
|
-
},
|
|
831
|
-
$key$: null,
|
|
832
|
-
$name$: null,
|
|
833
|
-
},
|
|
834
|
-
],
|
|
835
|
-
$attrs$: null,
|
|
836
|
-
$key$: null,
|
|
837
|
-
$name$: null,
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
$flags$: 0,
|
|
841
|
-
$tag$: "sqm-table-row",
|
|
842
|
-
$text$: null,
|
|
843
|
-
$elm$: null,
|
|
844
|
-
$children$: [
|
|
845
|
-
{
|
|
846
|
-
$flags$: 0,
|
|
847
|
-
$tag$: "sqm-table-cell",
|
|
848
|
-
$text$: null,
|
|
849
|
-
$elm$: null,
|
|
850
|
-
$children$: [
|
|
851
|
-
{
|
|
852
|
-
$flags$: 0,
|
|
853
|
-
$tag$: "sl-skeleton",
|
|
854
|
-
$text$: null,
|
|
855
|
-
$elm$: null,
|
|
856
|
-
$children$: null,
|
|
857
|
-
$attrs$: null,
|
|
858
|
-
$key$: null,
|
|
859
|
-
$name$: null,
|
|
860
|
-
},
|
|
861
|
-
],
|
|
862
|
-
$attrs$: {
|
|
863
|
-
colspan: 5,
|
|
864
|
-
},
|
|
865
|
-
$key$: null,
|
|
866
|
-
$name$: null,
|
|
867
|
-
},
|
|
868
|
-
],
|
|
869
|
-
$attrs$: null,
|
|
870
|
-
$key$: null,
|
|
871
|
-
$name$: null,
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
$flags$: 0,
|
|
875
|
-
$tag$: "sqm-table-row",
|
|
876
|
-
$text$: null,
|
|
877
|
-
$elm$: null,
|
|
878
|
-
$children$: [
|
|
879
|
-
{
|
|
880
|
-
$flags$: 0,
|
|
881
|
-
$tag$: "sqm-table-cell",
|
|
882
|
-
$text$: null,
|
|
883
|
-
$elm$: null,
|
|
884
|
-
$children$: [
|
|
885
|
-
{
|
|
886
|
-
$flags$: 0,
|
|
887
|
-
$tag$: "sl-skeleton",
|
|
888
|
-
$text$: null,
|
|
889
|
-
$elm$: null,
|
|
890
|
-
$children$: null,
|
|
891
|
-
$attrs$: null,
|
|
892
|
-
$key$: null,
|
|
893
|
-
$name$: null,
|
|
894
|
-
},
|
|
895
|
-
],
|
|
896
|
-
$attrs$: {
|
|
897
|
-
colspan: 5,
|
|
898
|
-
},
|
|
899
|
-
$key$: null,
|
|
900
|
-
$name$: null,
|
|
901
|
-
},
|
|
902
|
-
],
|
|
903
|
-
$attrs$: null,
|
|
904
|
-
$key$: null,
|
|
905
|
-
$name$: null,
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
$flags$: 0,
|
|
909
|
-
$tag$: "sqm-table-row",
|
|
910
|
-
$text$: null,
|
|
911
|
-
$elm$: null,
|
|
912
|
-
$children$: [
|
|
913
|
-
{
|
|
914
|
-
$flags$: 0,
|
|
915
|
-
$tag$: "sqm-table-cell",
|
|
916
|
-
$text$: null,
|
|
917
|
-
$elm$: null,
|
|
918
|
-
$children$: [
|
|
919
|
-
{
|
|
920
|
-
$flags$: 0,
|
|
921
|
-
$tag$: "sl-skeleton",
|
|
922
|
-
$text$: null,
|
|
923
|
-
$elm$: null,
|
|
924
|
-
$children$: null,
|
|
925
|
-
$attrs$: null,
|
|
926
|
-
$key$: null,
|
|
927
|
-
$name$: null,
|
|
928
|
-
},
|
|
929
|
-
],
|
|
930
|
-
$attrs$: {
|
|
931
|
-
colspan: 5,
|
|
932
|
-
},
|
|
933
|
-
$key$: null,
|
|
934
|
-
$name$: null,
|
|
935
|
-
},
|
|
936
|
-
],
|
|
937
|
-
$attrs$: null,
|
|
938
|
-
$key$: null,
|
|
939
|
-
$name$: null,
|
|
940
|
-
},
|
|
941
|
-
],
|
|
942
|
-
$attrs$: {
|
|
943
|
-
name: "loading",
|
|
944
|
-
},
|
|
945
|
-
$key$: null,
|
|
946
|
-
$name$: "loading",
|
|
947
|
-
},
|
|
948
63
|
},
|
|
949
64
|
};
|
|
950
|
-
export const
|
|
951
|
-
return h(
|
|
952
|
-
};
|
|
953
|
-
export const EmptyCell = () => {
|
|
954
|
-
return h("sqm-rewards-table-date-cell", null);
|
|
65
|
+
export const RewardsTable = () => {
|
|
66
|
+
return h(GenericTableView, Object.assign({}, rewardsTableProps));
|
|
955
67
|
};
|