@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
|
@@ -12,7 +12,7 @@ require('./insertcss-04580cfa.js');
|
|
|
12
12
|
require('./cjs-1066ec21.js');
|
|
13
13
|
require('./mixins-7b7c59fe.js');
|
|
14
14
|
const JSS = require('./JSS-c65a40f1.js');
|
|
15
|
-
const GenericTableView = require('./GenericTableView-
|
|
15
|
+
const GenericTableView = require('./GenericTableView-2cdb4c5d.js');
|
|
16
16
|
const luxon = require('./luxon-59ca7d19.js');
|
|
17
17
|
const utils = require('./utils-01dbfd4a.js');
|
|
18
18
|
require('./sqm-text-span-view-f101dedf.js');
|
|
@@ -27,12 +27,12 @@ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view
|
|
|
27
27
|
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-f42557ca.js');
|
|
28
28
|
const sqmPortalFooterView = require('./sqm-portal-footer-view-5e6903c9.js');
|
|
29
29
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-10c0b54f.js');
|
|
30
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
31
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
30
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-fdfb3656.js');
|
|
31
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-637d2fe7.js');
|
|
32
32
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-1fdc957e.js');
|
|
33
33
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-4c78e231.js');
|
|
34
34
|
const sqmStatContainerView = require('./sqm-stat-container-view-5b2db929.js');
|
|
35
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
35
|
+
const ShadowViewAddon = require('./ShadowViewAddon-fbbacd12.js');
|
|
36
36
|
const sqmPortalSectionView = require('./sqm-portal-section-view-186a5f7e.js');
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -1545,7 +1545,7 @@ const AllMediums = () => {
|
|
|
1545
1545
|
index.h("span", null, "Line Messenger")),
|
|
1546
1546
|
index.h("br", null),
|
|
1547
1547
|
index.h("sqm-share-button", { medium: "direct" },
|
|
1548
|
-
index.h("span", null, "
|
|
1548
|
+
index.h("span", null, "Share"))));
|
|
1549
1549
|
};
|
|
1550
1550
|
|
|
1551
1551
|
const ShareButton = /*#__PURE__*/Object.freeze({
|
|
@@ -1711,9 +1711,6 @@ const defaultElements = {
|
|
|
1711
1711
|
index.h("sl-skeleton", null))));
|
|
1712
1712
|
})))),
|
|
1713
1713
|
};
|
|
1714
|
-
const test = () => {
|
|
1715
|
-
return (index.h("sqm-leaderboard", { usersheading: "Referrer", statsheading: "Referrals", "rank-type": "rank", "leaderboard-type": "topStartedReferrers", rankheading: "Rank", "show-rank": "true" }));
|
|
1716
|
-
};
|
|
1717
1714
|
const Empty = () => {
|
|
1718
1715
|
const props = {
|
|
1719
1716
|
states: {
|
|
@@ -2308,7 +2305,6 @@ const UserEmpty = () => {
|
|
|
2308
2305
|
const Leaderboard = /*#__PURE__*/Object.freeze({
|
|
2309
2306
|
__proto__: null,
|
|
2310
2307
|
'default': Leaderboard_stories,
|
|
2311
|
-
test: test,
|
|
2312
2308
|
Empty: Empty,
|
|
2313
2309
|
Loading: Loading,
|
|
2314
2310
|
One: One,
|
|
@@ -5193,15 +5189,12 @@ const loadingElement = (index.h("div", { slot: "loading", style: { display: "con
|
|
|
5193
5189
|
const emptyElement = (index.h("div", { slot: "empty", style: { display: "contents" } },
|
|
5194
5190
|
index.h("sqm-table-row", null,
|
|
5195
5191
|
index.h("sqm-table-cell", { colspan: 5, style: { textAlign: "center" } },
|
|
5196
|
-
index.h("
|
|
5197
|
-
index.h("
|
|
5198
|
-
index.h("
|
|
5199
|
-
index.h("
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
fontSize: "var(--sl-font-size-small)",
|
|
5203
|
-
color: "var(--sl-color-neutral-500)",
|
|
5204
|
-
} }, "Track the status of your referrals and rewards earned by referring friends"))))));
|
|
5192
|
+
index.h("sqm-portal-container", { padding: "xxxx-large", gap: "medium" },
|
|
5193
|
+
index.h("sqm-image", { "image-url": "https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png", "max-width": "100px" }),
|
|
5194
|
+
index.h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
5195
|
+
index.h("sqm-text", { slot: "label" },
|
|
5196
|
+
index.h("h3", null, "View your referral details")),
|
|
5197
|
+
index.h("sqm-text", { slot: "content" }, "Track the status of your referrals and rewards earned by referring friends")))))));
|
|
5205
5198
|
const baseReward$1 = {
|
|
5206
5199
|
id: "123",
|
|
5207
5200
|
type: "CREDIT",
|
|
@@ -5276,12 +5269,7 @@ const simpleUserTableProps = {
|
|
|
5276
5269
|
nextPage: () => console.log("Next"),
|
|
5277
5270
|
},
|
|
5278
5271
|
elements: {
|
|
5279
|
-
columns: [
|
|
5280
|
-
index.h("div", null, "Name"),
|
|
5281
|
-
index.h("div", null, "Email"),
|
|
5282
|
-
index.h("div", null, "DOB"),
|
|
5283
|
-
index.h("div", null, "Rewards"),
|
|
5284
|
-
],
|
|
5272
|
+
columns: ["Customer", "Status", "Date converted", "Rewards"],
|
|
5285
5273
|
rows: [
|
|
5286
5274
|
[
|
|
5287
5275
|
index.h("sqm-referral-table-user-cell", { name: "Joe Smith" }),
|
|
@@ -5357,15 +5345,15 @@ const longCellTextTableProps = {
|
|
|
5357
5345
|
},
|
|
5358
5346
|
elements: {
|
|
5359
5347
|
columns: [
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5348
|
+
"Name",
|
|
5349
|
+
"Email",
|
|
5350
|
+
"DOB",
|
|
5351
|
+
"City",
|
|
5352
|
+
"State/Province",
|
|
5353
|
+
"Country",
|
|
5354
|
+
"Referrals",
|
|
5355
|
+
"Reward Earnings",
|
|
5356
|
+
"Status",
|
|
5369
5357
|
],
|
|
5370
5358
|
rows: [
|
|
5371
5359
|
[
|
|
@@ -5429,15 +5417,15 @@ const longColumnTextTableProps = {
|
|
|
5429
5417
|
},
|
|
5430
5418
|
elements: {
|
|
5431
5419
|
columns: [
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5420
|
+
"Lorem ipsum dolor sit amet consectetur adipisicing elit.",
|
|
5421
|
+
"Email",
|
|
5422
|
+
"DOB",
|
|
5423
|
+
"City",
|
|
5424
|
+
"State/Province",
|
|
5425
|
+
"Country",
|
|
5426
|
+
"Referrals",
|
|
5427
|
+
"Rewarddddddddddd Earningsssssssssssss",
|
|
5428
|
+
"Status",
|
|
5441
5429
|
],
|
|
5442
5430
|
rows: [
|
|
5443
5431
|
[
|
|
@@ -5501,15 +5489,15 @@ const fullUserTableProps = {
|
|
|
5501
5489
|
},
|
|
5502
5490
|
elements: {
|
|
5503
5491
|
columns: [
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5492
|
+
"Name",
|
|
5493
|
+
"Email",
|
|
5494
|
+
"DOB",
|
|
5495
|
+
"City",
|
|
5496
|
+
"State/Province",
|
|
5497
|
+
"Country",
|
|
5498
|
+
"Referrals",
|
|
5499
|
+
"Reward Earnings",
|
|
5500
|
+
"Status",
|
|
5513
5501
|
],
|
|
5514
5502
|
rows: [
|
|
5515
5503
|
[
|
|
@@ -5589,7 +5577,7 @@ const EmptyTable = () => {
|
|
|
5589
5577
|
elements: {
|
|
5590
5578
|
emptyElement: emptyElement,
|
|
5591
5579
|
loadingElement: loadingElement,
|
|
5592
|
-
columns: [
|
|
5580
|
+
columns: ["Name", "Email", "DOB"],
|
|
5593
5581
|
rows: [],
|
|
5594
5582
|
},
|
|
5595
5583
|
} }));
|
|
@@ -5615,7 +5603,7 @@ const LoadingTable = () => {
|
|
|
5615
5603
|
elements: {
|
|
5616
5604
|
emptyElement: emptyElement,
|
|
5617
5605
|
loadingElement: loadingElement,
|
|
5618
|
-
columns: [
|
|
5606
|
+
columns: ["Name", "Email", "DOB"],
|
|
5619
5607
|
rows: [],
|
|
5620
5608
|
},
|
|
5621
5609
|
} }));
|
|
@@ -5642,11 +5630,11 @@ const FullRewardsTable = () => {
|
|
|
5642
5630
|
emptyElement: emptyElement,
|
|
5643
5631
|
loadingElement: loadingElement,
|
|
5644
5632
|
columns: [
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5633
|
+
"User",
|
|
5634
|
+
"Rewards",
|
|
5635
|
+
"Status",
|
|
5636
|
+
"Date Started",
|
|
5637
|
+
"Date Converted",
|
|
5650
5638
|
],
|
|
5651
5639
|
rows: [
|
|
5652
5640
|
[
|
|
@@ -5905,7 +5893,7 @@ function cartesian(...args) {
|
|
|
5905
5893
|
return r;
|
|
5906
5894
|
}
|
|
5907
5895
|
|
|
5908
|
-
const scenarioTaskCard = "@author:derek\r\n@owner:kutay\r\nFeature: Task Card\r\n\r\n\t@motivating\r\n\tScenario: A header, body title and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | \"40\" |\r\n\t\t\t| rewardUnit | \"Points\" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see \"40 Points\" as the heading\r\n\t\tAnd the \"40\" is bolded\r\n\t\tAnd they see \"Complete a survey\" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text \"Take Survey\" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to \"example.com\" in a new window\r\n\r\n\t@motivating\r\n\tScenario Outline: A Task Card description can be included but is not required\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <descriptionPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tThen they <maySee> a chevron icon in the top right\r\n\t\tWhen they attempt to click the chevron\r\n\t\tThen they <maySee> the card description\r\n\t\tExamples:\r\n\t\t\t| descriptionPropValue | maySee |\r\n\t\t\t| This is my task card description | see |\r\n\t\t\t| | don't see |\r\n\r\n\t@motivating\r\n\tScenario Outline: CTA links can open in a new tab or the same tab\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <openNewTabPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tAnd they click on the CTA\r\n\t\tThen they are redirected to the CTA link in <tab>\r\n\t\tExamples:\r\n\t\t\t| openNewTabPropValue | tab |\r\n\t\t\t| true | a new tab |\r\n\t\t\t| false | the same tab |\r\n\t\t\t| N/A | the same tab |\r\n\r\n\t@minutae\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\t@motivating\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <showProgressBarPropValue>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| showProgressBarPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn't |\r\n\t\t\t| N/A | isn't |\r\n\r\n\t@motivating\r\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\r\n\t\tGiven a Task card\r\n\t\tAnd it is configured to send an \"test\" event\r\n\t\tWhen a user views the Task card\r\n\t\tAnd clicks on the CTA\r\n\t\tThen a \"test\" event is sent to SSQT on the users behalf\r\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\r\n\r\n\t@motivating\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <repeatablePropValue>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they view the Task Card\r\n\t\tThen they see a brand colour checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> brand colour\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| repeatablePropValue | mayBe |\r\n\t\t\t| true | isn't |\r\n\t\t\t| false | is |\r\n\t\t\t| N/A | is |\r\n\r\n\t@motivating\r\n\tScenario Outline: Display duration hides or shows a task\r\n\t\tGiven a Task Card\r\n\t\tAnd it has a \"display-duration\" interval\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen card <mayBeHidden>\r\n\t\tExamples:\r\n\t\t\t| day | mayBeHidden |\r\n\t\t\t| a day before the interval | is hidden |\r\n\t\t\t| a day during the interval | is not hidden |\r\n\t\t\t| a day after the interval | is hidden |\r\n\r\n\t@motivating\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card\r\n\t\tAnd it has an \"reward-duration\" interval\r\n\t\tWhen a user views the card on <day>\r\n\t\tThen the card <mayBeDisabled>\r\n\t\tAnd it <mayHaveAlert>\r\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\r\n\t\tExamples:\r\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\r\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn't have expiry text |\r\n\t\t\t| a day during the expiry interval | isn't disabled | doesn't have an alert | has the month, date, year and time the task expires |\r\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn't have expiry text |\r\n\r\n\t@
|
|
5896
|
+
const scenarioTaskCard = "@author:derek\r\n@owner:kutay\r\nFeature: Task Card\r\n\r\n\t@motivating\r\n\tScenario: A header, body title and a CTA button are always displayed\r\n\t\tGiven the Task Card is configured with the following props\r\n\t\t\t| prop | value |\r\n\t\t\t| rewardAmount | \"40\" |\r\n\t\t\t| rewardUnit | \"Points\" |\r\n\t\t\t| cardTitle | Complete a survey |\r\n\t\t\t| buttonText | Take Survey |\r\n\t\tWhen a user views the Task Card\r\n\t\tThen they see \"40 Points\" as the heading\r\n\t\tAnd the \"40\" is bolded\r\n\t\tAnd they see \"Complete a survey\" bolded in the body\r\n\t\tAnd a details icon in the top right hand corner\r\n\t\tAnd a button with text \"Take Survey\" in the bottom right hand corner\r\n\t\tWhen they click the button\r\n\t\tThen they are redirected to \"example.com\" in a new window\r\n\r\n\t@motivating\r\n\tScenario Outline: A Task Card description can be included but is not required\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <descriptionPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tThen they <maySee> a chevron icon in the top right\r\n\t\tWhen they attempt to click the chevron\r\n\t\tThen they <maySee> the card description\r\n\t\tExamples:\r\n\t\t\t| descriptionPropValue | maySee |\r\n\t\t\t| This is my task card description | see |\r\n\t\t\t| | don't see |\r\n\r\n\t@motivating\r\n\tScenario Outline: CTA links can open in a new tab or the same tab\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <openNewTabPropValue>\r\n\t\tWhen a user views the Task card\r\n\t\tAnd they click on the CTA\r\n\t\tThen they are redirected to the CTA link in <tab>\r\n\t\tExamples:\r\n\t\t\t| openNewTabPropValue | tab |\r\n\t\t\t| true | a new tab |\r\n\t\t\t| false | the same tab |\r\n\t\t\t| N/A | the same tab |\r\n\r\n\t@minutae\r\n\tScenario: A loading state is displayed while the Task Card is loading\r\n\t\tGiven a Task Card component\r\n\t\tWhen a user views the Task Card\r\n\t\tThen a loading state is displayed\r\n\t\tWhen the Task Card has loaded\r\n\t\tThen the loading state disapears\r\n\r\n\t@motivating\r\n\tScenario Outline: The Progress Bar can be shown or hidden but is hidden by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <showProgressBarPropValue>\r\n\t\tWhen a user views the Task Card\r\n\t\tThen the progress bar <mayBe> displayed\r\n\t\tExamples:\r\n\t\t\t| showProgressBarPropValue | mayBe |\r\n\t\t\t| true | is |\r\n\t\t\t| false | isn't |\r\n\t\t\t| N/A | isn't |\r\n\r\n\t@motivating\r\n\tScenario: Clicking the CTA Button can trigger an event to be sent and refresh the widget\r\n\t\tGiven a Task card\r\n\t\tAnd it is configured to send an \"test\" event\r\n\t\tWhen a user views the Task card\r\n\t\tAnd clicks on the CTA\r\n\t\tThen a \"test\" event is sent to SSQT on the users behalf\r\n\t\tAnd the contents of the widget the card is dislayed within are refreshed\r\n\r\n\t@motivating\r\n\tScenario Outline: Tasks can be repeatable or one-time only but are one-time only by default\r\n\t\tGiven a Task Card\r\n\t\tAnd it has <repeatablePropValue>\r\n\t\tAnd a user who has already completed the task\r\n\t\tWhen they view the Task Card\r\n\t\tThen they see a brand colour checkmark icon beside the card heading\r\n\t\tAnd the card <mayBe> brand colour\r\n\t\tAnd the CTA button <mayBe> disabled\r\n\t\tAnd the CTA button <mayBe> grey\r\n\t\tExamples:\r\n\t\t\t| repeatablePropValue | mayBe |\r\n\t\t\t| true | isn't |\r\n\t\t\t| false | is |\r\n\t\t\t| N/A | is |\r\n\r\n\t@motivating\r\n\tScenario Outline: Display duration hides or shows a task\r\n\t\tGiven a Task Card\r\n\t\tAnd it has a \"display-duration\" interval\r\n\t\tWhen a user views the Card on <day>\r\n\t\tThen card <mayBeHidden>\r\n\t\tExamples:\r\n\t\t\t| day | mayBeHidden |\r\n\t\t\t| a day before the interval | is hidden |\r\n\t\t\t| a day during the interval | is not hidden |\r\n\t\t\t| a day after the interval | is hidden |\r\n\r\n\t@motivating\r\n\tScenario: Task Expiries can be configured and disable the CTA after the expiry\r\n\t\tGiven a Task Card\r\n\t\tAnd it has an \"reward-duration\" interval\r\n\t\tWhen a user views the card on <day>\r\n\t\tThen the card <mayBeDisabled>\r\n\t\tAnd it <mayHaveAlert>\r\n\t\tAnd it <mayHaveExpiryText> on the bottom left hand side of the card\r\n\t\tExamples:\r\n\t\t\t| day | mayBeDisabled | mayHaveAlert | mayHaveExpiryText |\r\n\t\t\t| a day before the expiry interval | is disabled | has alert stating the month, date, year and time the task starts | doesn't have expiry text |\r\n\t\t\t| a day during the expiry interval | isn't disabled | doesn't have an alert | has the month, date, year and time the task expires |\r\n\t\t\t| a day after the expiry interval | is disabled | has alert stating the month, date, year and time the task expired | doesn't have expiry text |\r\n\r\n\t@motivating\r\n\tScenario Outline: Task Card dates support localization\r\n\t\tGiven a Task Card\r\n\t\tAnd it's configured with a expiry duration interval\r\n\t\tWhen a user with <locale> views the task card <atTime>\r\n\t\tThen they <seeDate> translated for <locale>\r\n\t\tExamples:\r\n\t\t\t| atTime | locale | seeDate |\r\n\t\t\t| before the interval | en | Task Start Date |\r\n\t\t\t| during the interval | en | Task End Date |\r\n\t\t\t| after the interval | en | Task Ended Date |\r\n\t\t\t| before the interval | fr | Task Start Date |\r\n\t\t\t| during the interval | fr | Task End Date |\r\n\t\t\t| after the interval | fr | Task Ended Date |\r\n\r\n\t@motivating\r\n\tScenario Outline: A task completion count is displayed for repeatable tasks\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for a repeatable task\r\n\t\tAnd has it has <goalValue>\r\n\t\tAnd a user with <userGoalProgress>\r\n\t\tWhen the user views the task card\r\n\t\tThen they see a repeat icon\r\n\t\tAnd the <text> in the bottom left hand corner\r\n\t\tAnd the <text> is brand colour\r\n\t\tExamples:\r\n\t\t\t| goalValue | userGoalProgress | text |\r\n\t\t\t| 2 | 0 | Completed 0 times |\r\n\t\t\t| 2 | 1 | Completed 0 times |\r\n\t\t\t| 2 | 2 | Completed 1 times |\r\n\t\t\t| 2 | 4 | Completed 2 times |\r\n\r\n\t@motivating\r\n\tScenario Outline: The source of a user's progress can be a custom field or a program goal\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured <progressSourcePath>\r\n\t\tWhen a user views the Task card\r\n\t\tThen the value at <progressSourcePath> is used to benchmark their progress against the \"Goal Completion Count\"\r\n\t\tExamples:\r\n\t\t\t| progressSourcePath |\r\n\t\t\t| /customFields/activityCount |\r\n\t\t\t| /customFields/purchaseTotal |\r\n\t\t\t| /programGoals/count%2FComment-on-Article |\r\n\t\t\t| /programGoals/count/Referral-Started%2Freferrals |\r\n\r\n\t@motivating\r\n\tScenario Outline: The users completion of a goal is calculated by the Goal Completion Number\r\n\t\tGiven a Task Card\r\n\t\tAnd it is configured for <goalValue>\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen they are shown to have <progressValue> towards <goalValue>\r\n\t\tWhen their progress grows larger than <goalValue>\r\n\t\tThen the task is marked as completed\r\n\t\tExamples:\r\n\t\t\t| goalValue | progressValue |\r\n\t\t\t| 1 | 0 |\r\n\t\t\t| 10 | 9 |\r\n\t\t\t| 5 | 2 |\r\n\r\n\t@motivating\r\n\tScenario: The Goal Completion Number defaults to 1\r\n\t\tGiven a Task Card without a configured \"goal\" value\r\n\t\tAnd a user who has <progressValue>\r\n\t\tWhen they view the Task Card\r\n\t\tThen it <mayBe> marked as completed\r\n\t\tExamples:\r\n\t\t\t| progressValue | mayBe |\r\n\t\t\t| 0 | isn't |\r\n\t\t\t| 1 | is |\r\n\t\t\t| 2 | is |";
|
|
5909
5897
|
|
|
5910
5898
|
const scenarioProgressBar = "@author:kutay\r\n@owner:kutay\r\nFeature: Task Card Progress Bar\r\n\r\n\tScenario Outline: Progress Bar\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> with <unit> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | color |\r\n\t\t\t| 0 | 500 | ●――――――――――――――――――🎁 | $ | no |\r\n\t\t\t| 100 | 500 | ―――――――――●―――――――――🎁 | $ | no |\r\n\t\t\t| 500 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 650 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\t\t\t| 1200 | 500 | ―――――――――――――――――――🎁 | $ | yes |\r\n\r\n\tScenario Outline: Progress Bar Steps\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd gift icon has <color>\r\n\t\tAnd gift icon shows <goal> below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | color |\r\n\t\t\t| 0 | 5 | ―――○―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 1 | 5 | ―――●―――○―――○―――○―――🎁 | no |\r\n\t\t\t| 5 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 7 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\t\t\t| 12 | 5 | ―――○―――○―――○―――●―――🎁 | yes |\r\n\r\n\r\n\tScenario Outline: Progress Bar Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> shows <progress> with <unit> above\r\n\t\tAnd first <icon1> is <color1> with <text1> displayed below\r\n\t\tAnd second <icon2> is <color2> with <text2> displayed below\r\n\t\tAnd third <icon3> is <color3> with <text3> displayed below\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | unit | icon1 | color1 | text1 | icon2 | color2 | text 2 | icon3 | color3 | text 3 |\r\n\t\t\t| 250 | 500 | ――――●――――🎁―――――――🎁 | $ | NA | NA | NA | gift | greyscale | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 500 | 500 | ―――――――――🎁―――――――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 750 | 500 | ―――――――――🎁―――●―――🎁 | $ | NA | NA | NA | gift | colorful | 500 | gift | greyscale | 1000 |\r\n\t\t\t| 1000 | 500 | 🎁―――――――🎁―――――――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\t\t\t| 1250 | 500 | 🎁―――――――🎁―――●―――🎁 | $ | gift | colorful | 500 | gift | colorful | 1000 | gift | greyscale | 1500 |\r\n\r\n\tScenario Outline: Progress Bar Steps Repeatable\r\n\t\tGiven a Task Card component\r\n\t\tAnd progress is <progress>\r\n\t\tAnd goal is <goal>\r\n\t\tAnd steps is enabled\r\n\t\tAnd it is repeatable\r\n\t\tThen I have <progressBar>\r\n\t\tAnd <progressBar> has incrementing steps up to <goal>\r\n\t\tAnd first <icon1> is <color1>\r\n\t\tAnd second <icon2> is <color2>\r\n\t\tAnd third <icon3> is <color3>\r\n\t\tExamples:\r\n\t\t\t| progress | goal | progressBar | icon1 | color1 | icon2 | color2 | icon3 | color3 |\r\n\t\t\t| 0 | 5 | ―――○―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 1 | 5 | ―――●―○―○―○―🎁―○―○―○―○―🎁 | NA | NA | gift | greyscale | gift | greyscale |\r\n\t\t\t| 5 | 5 | ―――●―●―●―●―🎁―○―○―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 7 | 5 | ―――●―●―●―●―🎁―●―●―○―○―🎁 | NA | NA | gift | colorful | gift | greyscale |\r\n\t\t\t| 12 | 5 | 🎁―●―●―●―●―🎁―●―●―○―○―🎁 | gift | colorful | gift | colorful | gift | greyscale |";
|
|
5911
5899
|
|
|
@@ -5969,7 +5957,6 @@ const oneAction = {
|
|
|
5969
5957
|
buttonText: "Take survey",
|
|
5970
5958
|
buttonLink: "https://example.com/",
|
|
5971
5959
|
openNewTab: false,
|
|
5972
|
-
showExpiry: false,
|
|
5973
5960
|
rewardDuration: null,
|
|
5974
5961
|
completedText: "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",
|
|
5975
5962
|
expiryMessage: "Ends {endDate}",
|
|
@@ -5977,7 +5964,7 @@ const oneAction = {
|
|
|
5977
5964
|
endedMessage: "Ended {endDate}",
|
|
5978
5965
|
finite: 0,
|
|
5979
5966
|
goal: 1,
|
|
5980
|
-
locale: "en"
|
|
5967
|
+
locale: "en",
|
|
5981
5968
|
},
|
|
5982
5969
|
states: {
|
|
5983
5970
|
progress: 0,
|
|
@@ -6001,7 +5988,6 @@ const coupleActions = {
|
|
|
6001
5988
|
buttonText: "Take survey",
|
|
6002
5989
|
buttonLink: "https://example.com/",
|
|
6003
5990
|
openNewTab: false,
|
|
6004
|
-
showExpiry: false,
|
|
6005
5991
|
completedText: "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}",
|
|
6006
5992
|
rewardDuration: null,
|
|
6007
5993
|
expiryMessage: "Ends {endDate}",
|
|
@@ -6009,7 +5995,7 @@ const coupleActions = {
|
|
|
6009
5995
|
endedMessage: "Ended {endDate}",
|
|
6010
5996
|
finite: 0,
|
|
6011
5997
|
goal: 5,
|
|
6012
|
-
locale: "en"
|
|
5998
|
+
locale: "en",
|
|
6013
5999
|
},
|
|
6014
6000
|
states: {
|
|
6015
6001
|
progress: 1,
|
|
@@ -6035,20 +6021,18 @@ const manyActions = {
|
|
|
6035
6021
|
buttonText: "Take survey",
|
|
6036
6022
|
buttonLink: "https://example.com/",
|
|
6037
6023
|
openNewTab: false,
|
|
6038
|
-
showExpiry: false,
|
|
6039
6024
|
rewardDuration: null,
|
|
6040
6025
|
expiryMessage: "Ends {endDate}",
|
|
6041
6026
|
startsOnMessage: "Starts {startDate}",
|
|
6042
6027
|
endedMessage: "Ended {endDate}",
|
|
6043
6028
|
finite: 0,
|
|
6044
6029
|
goal: 500,
|
|
6045
|
-
locale: "en"
|
|
6030
|
+
locale: "en",
|
|
6046
6031
|
},
|
|
6047
6032
|
states: { progress: 100, loading: false, loadingEvent: false },
|
|
6048
6033
|
};
|
|
6049
6034
|
const TaskCard$1 = () => {
|
|
6050
6035
|
const expire = {
|
|
6051
|
-
showExpiry: true,
|
|
6052
6036
|
rewardDuration: "2021-11-30T08:00:00.000Z/2021-12-01T08:00:00.000Z",
|
|
6053
6037
|
};
|
|
6054
6038
|
const expireRepeat = { ...expire, repeatable: true };
|
|
@@ -6169,7 +6153,6 @@ const TaskCardRepeatableFinite = () => {
|
|
|
6169
6153
|
};
|
|
6170
6154
|
const TaskCardEndDate = () => {
|
|
6171
6155
|
const expire = {
|
|
6172
|
-
showExpiry: true,
|
|
6173
6156
|
rewardDuration: luxon.luxon.DateTime.now().minus({ days: 1 }).toISO() +
|
|
6174
6157
|
"/" +
|
|
6175
6158
|
luxon.luxon.DateTime.now().plus({ days: 1 }).toISO(),
|
|
@@ -6233,7 +6216,6 @@ const TaskCardLoading = () => {
|
|
|
6233
6216
|
};
|
|
6234
6217
|
const TaskCardNotStarted = () => {
|
|
6235
6218
|
const expire = {
|
|
6236
|
-
showExpiry: true,
|
|
6237
6219
|
rewardDuration: luxon.luxon.DateTime.now().plus({ days: 1 }).toISO() +
|
|
6238
6220
|
"/" +
|
|
6239
6221
|
luxon.luxon.DateTime.now().plus({ days: 2 }).toISO(),
|
|
@@ -6273,7 +6255,6 @@ const TaskCardNotStarted = () => {
|
|
|
6273
6255
|
};
|
|
6274
6256
|
const TaskCardEnded = () => {
|
|
6275
6257
|
const expire = {
|
|
6276
|
-
showExpiry: true,
|
|
6277
6258
|
rewardDuration: luxon.luxon.DateTime.now().minus({ days: 2 }).toISO() +
|
|
6278
6259
|
"/" +
|
|
6279
6260
|
luxon.luxon.DateTime.now().minus({ days: 1 }).toISO(),
|
|
@@ -10023,7 +10004,7 @@ const data = [
|
|
|
10023
10004
|
{
|
|
10024
10005
|
...baseReward$2,
|
|
10025
10006
|
...name("Free swag with a promo code"),
|
|
10026
|
-
...imageUrl("https://
|
|
10007
|
+
...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png"),
|
|
10027
10008
|
...fixedValue("40 SaaSquatch Points"),
|
|
10028
10009
|
},
|
|
10029
10010
|
{
|
|
@@ -10532,7 +10513,7 @@ const CardFeed = /*#__PURE__*/Object.freeze({
|
|
|
10532
10513
|
TaskCardGrid: TaskCardGrid
|
|
10533
10514
|
});
|
|
10534
10515
|
|
|
10535
|
-
const scenario$a = "
|
|
10516
|
+
const scenario$a = "@author:kutay\r\n@owner:noah\r\nFeature: Portal Container\r\n\r\n\r\n\tScenario: Horizontal content overflows, but does not stretch\r\n\r\n\t\tBad elements should not affect other elements in the page\r\n\r\n\t\tGiven there are two element in the container\r\n\t\tAnd the first is small\r\n\t\tAnd the second would stretch the container wider than it's parent\r\n\t\tThen the second one is clipped\r\n\t\tAnd the first one doesn't stretch\r\n\r\n\t@landmine\r\n\tScenario: `max-width` is required for displaying as a row\r\n\t\tGiven I have `direction` to \"row\"\r\n\t\tAnd I have not set a `max-width`\r\n\t\tThen it displays as a column\r\n\r\n\t@minutae\r\n\tScenario: Content can be center aligned in horizontal view\r\n\t\tGiven I have supplied the prop \"center\"\r\n\t\tThen the content is center aligned\r\n";
|
|
10536
10517
|
|
|
10537
10518
|
const PortalContainer_stories = {
|
|
10538
10519
|
title: "Components/Portal Container",
|
|
@@ -10554,6 +10535,11 @@ const HalfWidth = () => (index.h("div", { style: { width: "1000px", border: "1px
|
|
|
10554
10535
|
index.h("sqm-share-button", { icon: "envelope", medium: "email", size: "medium", class: "hydrated" }, "Email a friend"),
|
|
10555
10536
|
index.h("sqm-share-button", { medium: "twitter", size: "medium", class: "hydrated" }, "Tweet about us"),
|
|
10556
10537
|
index.h("sqm-share-button", { medium: "facebook", size: "medium", class: "hydrated" }, "Share on Facebook"))));
|
|
10538
|
+
const HalfWidthCenter = () => (index.h("div", { style: { width: "1000px", border: "1px dashed grey" } },
|
|
10539
|
+
index.h("sqm-portal-container", { direction: "row", minWidth: "160px", maxWidth: "50%", center: true },
|
|
10540
|
+
index.h("sqm-share-button", { icon: "envelope", medium: "email", size: "medium", class: "hydrated" }, "Email a friend"),
|
|
10541
|
+
index.h("sqm-share-button", { medium: "twitter", size: "medium", class: "hydrated" }, "Tweet about us"),
|
|
10542
|
+
index.h("sqm-share-button", { medium: "facebook", size: "medium", class: "hydrated" }, "Share on Facebook"))));
|
|
10557
10543
|
const FullWidth = () => (index.h("div", { style: { width: "1000px", border: "1px dashed grey" } },
|
|
10558
10544
|
index.h("sqm-portal-container", { direction: "row", maxWidth: "100%" },
|
|
10559
10545
|
index.h("sqm-share-button", { icon: "envelope", medium: "email", size: "medium", class: "hydrated" }, "Email a friend"),
|
|
@@ -10566,6 +10552,7 @@ const PortalContainer = /*#__PURE__*/Object.freeze({
|
|
|
10566
10552
|
TooWideColumn: TooWideColumn,
|
|
10567
10553
|
TooWideRow: TooWideRow,
|
|
10568
10554
|
HalfWidth: HalfWidth,
|
|
10555
|
+
HalfWidthCenter: HalfWidthCenter,
|
|
10569
10556
|
FullWidth: FullWidth
|
|
10570
10557
|
});
|
|
10571
10558
|
|
|
@@ -10591,6 +10578,7 @@ const rewardsData$1 = {
|
|
|
10591
10578
|
prettyAvailableNumber: "19",
|
|
10592
10579
|
prettyRedeemedNumber: "0",
|
|
10593
10580
|
statuses: ["AVAILABLE"],
|
|
10581
|
+
pendingReasons: null,
|
|
10594
10582
|
globalRewardKey: null,
|
|
10595
10583
|
rewardSource: "MANUAL",
|
|
10596
10584
|
prettyRedeemedCredit: "0 Points",
|
|
@@ -10603,7 +10591,7 @@ const rewardsData$1 = {
|
|
|
10603
10591
|
},
|
|
10604
10592
|
};
|
|
10605
10593
|
const RewardsCellCreditFull = () => {
|
|
10606
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1 }, availableText: "19 Points
|
|
10594
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1 }, availableText: "19 Points available" }));
|
|
10607
10595
|
};
|
|
10608
10596
|
const partial = {
|
|
10609
10597
|
prettyAvailableValue: "10 Points",
|
|
@@ -10612,7 +10600,7 @@ const partial = {
|
|
|
10612
10600
|
dateRedeemed: 1640038417468,
|
|
10613
10601
|
};
|
|
10614
10602
|
const RewardsCellCreditPartial = () => {
|
|
10615
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...partial }, availableText: "10 Points
|
|
10603
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...partial }, availableText: "10 Points available" }));
|
|
10616
10604
|
};
|
|
10617
10605
|
const empty = {
|
|
10618
10606
|
prettyAvailableValue: "0 Points",
|
|
@@ -10621,7 +10609,7 @@ const empty = {
|
|
|
10621
10609
|
dateRedeemed: 1640038417468,
|
|
10622
10610
|
};
|
|
10623
10611
|
const RewardsCellCreditEmpty = () => {
|
|
10624
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...empty }, availableText: "0 Points
|
|
10612
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...empty }, availableText: "0 Points available" }));
|
|
10625
10613
|
};
|
|
10626
10614
|
const singleRedeemed = {
|
|
10627
10615
|
prettyValue: "1 Points",
|
|
@@ -10636,7 +10624,11 @@ const RewardsCellSingleRedeemed = () => {
|
|
|
10636
10624
|
return (index.h("sqm-rewards-table-reward-cell", { reward: { ...rewardsData$1, ...singleRedeemed } }));
|
|
10637
10625
|
};
|
|
10638
10626
|
const RewardsCellNonCredit = () => {
|
|
10639
|
-
return (index.h("sqm-rewards-table-reward-cell", { reward: {
|
|
10627
|
+
return (index.h("sqm-rewards-table-reward-cell", { reward: {
|
|
10628
|
+
...rewardsData$1,
|
|
10629
|
+
type: "FUELTANK",
|
|
10630
|
+
prettyValue: "SaaSquatch Giftcard",
|
|
10631
|
+
} }));
|
|
10640
10632
|
};
|
|
10641
10633
|
const SourceCellText = () => {
|
|
10642
10634
|
return (index.h("sqm-rewards-table-source-cell", { reward: rewardsData$1, rewardSourceText: "Manual" }));
|
|
@@ -10703,6 +10695,13 @@ const SourceCellReferral = () => {
|
|
|
10703
10695
|
const SourceCellReferred = () => {
|
|
10704
10696
|
return (index.h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referred(johnDoe) }, referralText: "Referred by" }));
|
|
10705
10697
|
};
|
|
10698
|
+
const SourceCellProgram = () => {
|
|
10699
|
+
return (index.h("sqm-rewards-table-source-cell", { reward: {
|
|
10700
|
+
...rewardsData$1,
|
|
10701
|
+
rewardSource: "AUTOMATED",
|
|
10702
|
+
program: { name: "Stencil Loyalty Program" },
|
|
10703
|
+
}, rewardSourceText: "{rewardSource, select, MANUAL {Manual} AUTOMATED {{programId}} other {}}" }));
|
|
10704
|
+
};
|
|
10706
10705
|
const SourceCellAnonymousUser = () => {
|
|
10707
10706
|
return (index.h("sqm-rewards-table-source-cell", { reward: { ...rewardsData$1, ...referral(anon) }, referralText: "Referral to", anonymousUserText: "Anonymous User" }));
|
|
10708
10707
|
};
|
|
@@ -10742,9 +10741,28 @@ const StatusCellExpired = () => {
|
|
|
10742
10741
|
const pending = {
|
|
10743
10742
|
statuses: ["PENDING"],
|
|
10744
10743
|
};
|
|
10744
|
+
const us_tax = {
|
|
10745
|
+
pendingReasons: ["US_TAX"],
|
|
10746
|
+
};
|
|
10747
|
+
const scheduled = {
|
|
10748
|
+
pendingReasons: ["SCHEDULED"],
|
|
10749
|
+
dateScheduledFor: 1640038417468,
|
|
10750
|
+
};
|
|
10751
|
+
const unhandled = {
|
|
10752
|
+
pendingReasons: ["UNHANDLED_ERROR"],
|
|
10753
|
+
};
|
|
10745
10754
|
const StatusCellPending = () => {
|
|
10746
10755
|
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData$1, ...pending } }));
|
|
10747
10756
|
};
|
|
10757
|
+
const StatusCellPendingUsTax = () => {
|
|
10758
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData$1, ...pending, ...us_tax } }));
|
|
10759
|
+
};
|
|
10760
|
+
const StatusCellPendingScheduled = () => {
|
|
10761
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData$1, ...pending, ...scheduled } }));
|
|
10762
|
+
};
|
|
10763
|
+
const StatusCellPendingUnhandled = () => {
|
|
10764
|
+
return (index.h("sqm-rewards-table-status-cell", { statusText: "Pending", reward: { ...rewardsData$1, ...pending, ...unhandled } }));
|
|
10765
|
+
};
|
|
10748
10766
|
const DateCell$1 = () => {
|
|
10749
10767
|
return (index.h("sqm-rewards-table-date-cell", { date: 1640038417468 }));
|
|
10750
10768
|
};
|
|
@@ -10764,6 +10782,7 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
10764
10782
|
SourceCellExchange: SourceCellExchange,
|
|
10765
10783
|
SourceCellReferral: SourceCellReferral,
|
|
10766
10784
|
SourceCellReferred: SourceCellReferred,
|
|
10785
|
+
SourceCellProgram: SourceCellProgram,
|
|
10767
10786
|
SourceCellAnonymousUser: SourceCellAnonymousUser,
|
|
10768
10787
|
SourceCellDeletedUser: SourceCellDeletedUser,
|
|
10769
10788
|
StatusCellAvailable: StatusCellAvailable,
|
|
@@ -10772,6 +10791,9 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
10772
10791
|
StatusCellCancelled: StatusCellCancelled,
|
|
10773
10792
|
StatusCellExpired: StatusCellExpired,
|
|
10774
10793
|
StatusCellPending: StatusCellPending,
|
|
10794
|
+
StatusCellPendingUsTax: StatusCellPendingUsTax,
|
|
10795
|
+
StatusCellPendingScheduled: StatusCellPendingScheduled,
|
|
10796
|
+
StatusCellPendingUnhandled: StatusCellPendingUnhandled,
|
|
10775
10797
|
DateCell: DateCell$1,
|
|
10776
10798
|
EmptyCell: EmptyCell$2
|
|
10777
10799
|
});
|
|
@@ -10779,18 +10801,72 @@ const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
|
10779
10801
|
const RewardsTable_stories = {
|
|
10780
10802
|
title: "Components/Rewards Table",
|
|
10781
10803
|
};
|
|
10782
|
-
const
|
|
10783
|
-
|
|
10804
|
+
const loadingElement$1 = (index.h("div", { slot: "loading", style: { display: "contents" } },
|
|
10805
|
+
index.h("sqm-table-row", null,
|
|
10806
|
+
index.h("sqm-table-cell", { colspan: 5 },
|
|
10807
|
+
index.h("sl-skeleton", null))),
|
|
10808
|
+
index.h("sqm-table-row", null,
|
|
10809
|
+
index.h("sqm-table-cell", { colspan: 5 },
|
|
10810
|
+
index.h("sl-skeleton", null))),
|
|
10811
|
+
index.h("sqm-table-row", null,
|
|
10812
|
+
index.h("sqm-table-cell", { colspan: 5 },
|
|
10813
|
+
index.h("sl-skeleton", null))),
|
|
10814
|
+
index.h("sqm-table-row", null,
|
|
10815
|
+
index.h("sqm-table-cell", { colspan: 5 },
|
|
10816
|
+
index.h("sl-skeleton", null))),
|
|
10817
|
+
index.h("sqm-table-row", null,
|
|
10818
|
+
index.h("sqm-table-cell", { colspan: 5 },
|
|
10819
|
+
index.h("sl-skeleton", null)))));
|
|
10820
|
+
const emptyElement$1 = (index.h("div", { slot: "empty", style: { display: "contents" } },
|
|
10821
|
+
index.h("sqm-table-row", null,
|
|
10822
|
+
index.h("sqm-table-cell", { colspan: 5, style: { textAlign: "center" } },
|
|
10823
|
+
index.h("sqm-portal-container", { padding: "xxxx-large", gap: "medium" },
|
|
10824
|
+
index.h("sqm-image", { "image-url": "https://res.cloudinary.com/saasquatch/image/upload/v1642618031/squatch-assets/image_3_1.png", "max-width": "100px" }),
|
|
10825
|
+
index.h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
10826
|
+
index.h("sqm-text", { slot: "label" },
|
|
10827
|
+
index.h("h3", null, "View your referral details")),
|
|
10828
|
+
index.h("sqm-text", { slot: "content" }, "Track the status of your referrals and rewards earned by referring friends")))))));
|
|
10829
|
+
const rewardsTableProps = {
|
|
10830
|
+
states: {
|
|
10831
|
+
hasPrev: false,
|
|
10832
|
+
hasNext: true,
|
|
10833
|
+
show: "rows",
|
|
10834
|
+
namespace: "sqm-referral-table",
|
|
10835
|
+
},
|
|
10836
|
+
data: {
|
|
10837
|
+
textOverrides: {
|
|
10838
|
+
showLabels: true,
|
|
10839
|
+
prevLabel: "Prev",
|
|
10840
|
+
moreLabel: "View More",
|
|
10841
|
+
},
|
|
10842
|
+
hiddenColumns: "",
|
|
10843
|
+
mdBreakpoint: 899,
|
|
10844
|
+
smBreakpoint: 599,
|
|
10845
|
+
},
|
|
10846
|
+
callbacks: {
|
|
10847
|
+
prevPage: () => console.log("Prev"),
|
|
10848
|
+
nextPage: () => console.log("Next"),
|
|
10849
|
+
},
|
|
10850
|
+
elements: {
|
|
10851
|
+
columns: ["Rewards", "Status", "Source", "Date received"],
|
|
10852
|
+
rows: [
|
|
10853
|
+
[
|
|
10854
|
+
index.h(RewardsCellCreditFull, null),
|
|
10855
|
+
index.h(StatusCellAvailable, null),
|
|
10856
|
+
index.h(SourceCellReferral, null),
|
|
10857
|
+
index.h(DateCell$1, null),
|
|
10858
|
+
],
|
|
10859
|
+
],
|
|
10860
|
+
},
|
|
10784
10861
|
};
|
|
10785
|
-
const
|
|
10786
|
-
return index.h(
|
|
10862
|
+
const RewardsTable = () => {
|
|
10863
|
+
return index.h(GenericTableView.GenericTableView, Object.assign({}, rewardsTableProps));
|
|
10787
10864
|
};
|
|
10788
10865
|
|
|
10789
|
-
const RewardsTable = /*#__PURE__*/Object.freeze({
|
|
10866
|
+
const RewardsTable$1 = /*#__PURE__*/Object.freeze({
|
|
10790
10867
|
__proto__: null,
|
|
10791
10868
|
'default': RewardsTable_stories,
|
|
10792
|
-
|
|
10793
|
-
EmptyCell: EmptyCell$3
|
|
10869
|
+
RewardsTable: RewardsTable
|
|
10794
10870
|
});
|
|
10795
10871
|
|
|
10796
10872
|
const UseReferralTable_stories = {
|
|
@@ -10977,9 +11053,6 @@ const timeline = (slot, count) => {
|
|
|
10977
11053
|
count > 2 && (index.h("sqm-timeline-entry", { reward: "$200", unit: "visa giftcard", desc: "Your friend qualifies as a good fit for Klip Team" })),
|
|
10978
11054
|
count > 3 && (index.h("sqm-timeline-entry", { reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" }))));
|
|
10979
11055
|
};
|
|
10980
|
-
const ReferralCardDefault = () => {
|
|
10981
|
-
return index.h("sqm-referral-card", null);
|
|
10982
|
-
};
|
|
10983
11056
|
const ReferralCardA = () => {
|
|
10984
11057
|
return (index.h("sqm-referral-card", null,
|
|
10985
11058
|
media("left"),
|
|
@@ -11029,6 +11102,27 @@ const ReferralCardDFlipped = () => {
|
|
|
11029
11102
|
return (index.h("sqm-referral-card", null,
|
|
11030
11103
|
timeline("right", 4),
|
|
11031
11104
|
sharebutton("left")));
|
|
11105
|
+
};
|
|
11106
|
+
|
|
11107
|
+
const ReferralCard = /*#__PURE__*/Object.freeze({
|
|
11108
|
+
__proto__: null,
|
|
11109
|
+
'default': ReferralCard_stories,
|
|
11110
|
+
media: media,
|
|
11111
|
+
sharebutton: sharebutton,
|
|
11112
|
+
ReferralCardA: ReferralCardA,
|
|
11113
|
+
ReferralCardB: ReferralCardB,
|
|
11114
|
+
ReferralCardC: ReferralCardC,
|
|
11115
|
+
ReferralCardDStart: ReferralCardDStart,
|
|
11116
|
+
ReferralCardDCenter: ReferralCardDCenter,
|
|
11117
|
+
ReferralCardDEnd: ReferralCardDEnd,
|
|
11118
|
+
ReferralCardAFlipped: ReferralCardAFlipped,
|
|
11119
|
+
ReferralCardBFlipped: ReferralCardBFlipped,
|
|
11120
|
+
ReferralCardCFlipped: ReferralCardCFlipped,
|
|
11121
|
+
ReferralCardDFlipped: ReferralCardDFlipped
|
|
11122
|
+
});
|
|
11123
|
+
|
|
11124
|
+
const Timeline_stories = {
|
|
11125
|
+
title: "Components/Timeline",
|
|
11032
11126
|
};
|
|
11033
11127
|
const TimelineWith1Reward = () => {
|
|
11034
11128
|
return (index.h("div", null,
|
|
@@ -11091,20 +11185,9 @@ const TimelineWith4Rewards = () => {
|
|
|
11091
11185
|
index.h("sqm-timeline-entry", { reward: "$1000", unit: "visa giftcard", desc: "Your friend purchases Klip Team" }))));
|
|
11092
11186
|
};
|
|
11093
11187
|
|
|
11094
|
-
const
|
|
11188
|
+
const Timeline = /*#__PURE__*/Object.freeze({
|
|
11095
11189
|
__proto__: null,
|
|
11096
|
-
'default':
|
|
11097
|
-
ReferralCardDefault: ReferralCardDefault,
|
|
11098
|
-
ReferralCardA: ReferralCardA,
|
|
11099
|
-
ReferralCardB: ReferralCardB,
|
|
11100
|
-
ReferralCardC: ReferralCardC,
|
|
11101
|
-
ReferralCardDStart: ReferralCardDStart,
|
|
11102
|
-
ReferralCardDCenter: ReferralCardDCenter,
|
|
11103
|
-
ReferralCardDEnd: ReferralCardDEnd,
|
|
11104
|
-
ReferralCardAFlipped: ReferralCardAFlipped,
|
|
11105
|
-
ReferralCardBFlipped: ReferralCardBFlipped,
|
|
11106
|
-
ReferralCardCFlipped: ReferralCardCFlipped,
|
|
11107
|
-
ReferralCardDFlipped: ReferralCardDFlipped,
|
|
11190
|
+
'default': Timeline_stories,
|
|
11108
11191
|
TimelineWith1Reward: TimelineWith1Reward,
|
|
11109
11192
|
TimelineWith2Rewards: TimelineWith2Rewards,
|
|
11110
11193
|
TimelineWith3Rewards: TimelineWith3Rewards,
|
|
@@ -11154,23 +11237,32 @@ const TitledSection_stories = {
|
|
|
11154
11237
|
const AlignLeft = () => {
|
|
11155
11238
|
return (index.h("sqm-titled-section", { "text-align": "left" },
|
|
11156
11239
|
index.h("sqm-text", { slot: "label" },
|
|
11157
|
-
index.h("h3", null, "Earn more rewards")
|
|
11240
|
+
index.h("h3", null, "Earn more rewards"),
|
|
11241
|
+
index.h("p", null, "Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")),
|
|
11158
11242
|
index.h("sqm-text", { slot: "content" },
|
|
11159
|
-
index.h("
|
|
11243
|
+
index.h("sqm-referral-card", null,
|
|
11244
|
+
media("left"),
|
|
11245
|
+
sharebutton("right")))));
|
|
11160
11246
|
};
|
|
11161
11247
|
const AlignCenter = () => {
|
|
11162
11248
|
return (index.h("sqm-titled-section", { "text-align": "center" },
|
|
11163
11249
|
index.h("sqm-text", { slot: "label" },
|
|
11164
|
-
index.h("h3", null, "Earn more rewards")
|
|
11250
|
+
index.h("h3", null, "Earn more rewards"),
|
|
11251
|
+
index.h("p", null, "Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")),
|
|
11165
11252
|
index.h("sqm-text", { slot: "content" },
|
|
11166
|
-
index.h("
|
|
11253
|
+
index.h("sqm-referral-card", null,
|
|
11254
|
+
media("left"),
|
|
11255
|
+
sharebutton("right")))));
|
|
11167
11256
|
};
|
|
11168
11257
|
const AlignRight = () => {
|
|
11169
11258
|
return (index.h("sqm-titled-section", { "text-align": "right" },
|
|
11170
11259
|
index.h("sqm-text", { slot: "label" },
|
|
11171
|
-
index.h("h3", null, "Earn more rewards")
|
|
11260
|
+
index.h("h3", null, "Earn more rewards"),
|
|
11261
|
+
index.h("p", null, "Get points while using Klip. Use those points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America")),
|
|
11172
11262
|
index.h("sqm-text", { slot: "content" },
|
|
11173
|
-
index.h("
|
|
11263
|
+
index.h("sqm-referral-card", null,
|
|
11264
|
+
media("left"),
|
|
11265
|
+
sharebutton("right")))));
|
|
11174
11266
|
};
|
|
11175
11267
|
const Padding = () => {
|
|
11176
11268
|
return (index.h("div", null,
|
|
@@ -14072,10 +14164,11 @@ const stories = [
|
|
|
14072
14164
|
CardFeed,
|
|
14073
14165
|
PortalContainer,
|
|
14074
14166
|
RewardsTableCell,
|
|
14075
|
-
RewardsTable,
|
|
14167
|
+
RewardsTable$1,
|
|
14076
14168
|
UseReferralTable,
|
|
14077
14169
|
HeroImage,
|
|
14078
14170
|
ReferralCard,
|
|
14171
|
+
Timeline,
|
|
14079
14172
|
Image$1,
|
|
14080
14173
|
TitledSection,
|
|
14081
14174
|
];
|