@saasquatch/mint-components 1.5.0-81 → 1.5.0-85
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-269dffac.js → GenericTableView-39e0998e.js} +2 -3
- package/dist/cjs/{ReferralTableRewardsCell.stories-d050c8c7.js → ReferralTableRewardsCell.stories-cd7b9c93.js} +36 -17
- package/dist/cjs/{RewardsTableCell.stories-41292336.js → RewardsTableCell.stories-b439d2e6.js} +34 -28
- package/dist/cjs/{ShadowViewAddon-25ad8736.js → ShadowViewAddon-92b80d99.js} +63 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-brand_29.cjs.entry.js → sqm-brand_27.cjs.entry.js} +13 -55
- package/dist/cjs/{sqm-image_4.cjs.entry.js → sqm-empty_7.cjs.entry.js} +51 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -14
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -13
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +513 -263
- package/dist/cjs/sqm-tab.cjs.entry.js +3 -35
- package/dist/cjs/sqm-tabs.cjs.entry.js +29 -22
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +4 -0
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +19 -0
- package/dist/collection/components/sqm-brand/sqm-brand.js +4 -4
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +106 -25
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +18 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +98 -0
- package/dist/collection/components/sqm-hero-image/HeroImage.stories.js +20 -16
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +3 -0
- package/dist/collection/components/sqm-image/Image.stories.js +11 -13
- package/dist/collection/components/sqm-image/sqm-image-view.js +0 -3
- package/dist/collection/components/sqm-image/sqm-image.js +5 -69
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +5 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +2 -86
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +20 -5
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +4 -17
- package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +5 -1
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +11 -27
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +2 -2
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -40
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +12 -5
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +9 -0
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +9 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +4 -84
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +11 -5
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +49 -24
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +9 -8
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +63 -96
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +4 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -82
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -3
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +4 -0
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +17 -0
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +4 -0
- package/dist/collection/components/sqm-stencilbook/Resizer.js +1 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
- package/dist/collection/components/sqm-tab/sqm-tab-view.js +2 -15
- package/dist/collection/components/sqm-tab/sqm-tab.js +2 -23
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +81 -0
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +19 -10
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -2
- package/dist/collection/components/sqm-tabs/useTabs.js +9 -10
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +6 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +3 -0
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +4 -0
- package/dist/collection/tables/GenericTableView.js +2 -3
- package/dist/esm/{GenericTableView-5badbcf0.js → GenericTableView-0c811879.js} +2 -3
- package/dist/esm/{ReferralTableRewardsCell.stories-1b3c0dcf.js → ReferralTableRewardsCell.stories-c3df1aa2.js} +32 -18
- package/dist/esm/{RewardsTableCell.stories-9941e71e.js → RewardsTableCell.stories-21ae3b86.js} +34 -29
- package/dist/esm/{ShadowViewAddon-94819113.js → ShadowViewAddon-8cb393d4.js} +62 -33
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-brand_29.entry.js → sqm-brand_27.entry.js} +14 -54
- package/dist/esm/{sqm-image_4.entry.js → sqm-empty_7.entry.js} +50 -8
- package/dist/esm/sqm-referral-table_11.entry.js +5 -14
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -13
- package/dist/esm/sqm-stencilbook.entry.js +513 -263
- package/dist/esm/sqm-tab.entry.js +4 -36
- package/dist/esm/sqm-tabs.entry.js +30 -23
- package/dist/esm-es5/GenericTableView-0c811879.js +1 -0
- package/dist/esm-es5/ReferralTableRewardsCell.stories-c3df1aa2.js +1 -0
- package/dist/esm-es5/RewardsTableCell.stories-21ae3b86.js +1 -0
- package/dist/esm-es5/{ShadowViewAddon-94819113.js → ShadowViewAddon-8cb393d4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_7.entry.js +1 -0
- 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.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-07b64287.entry.js +1 -0
- package/dist/mint-components/p-10731460.entry.js +1 -0
- package/dist/mint-components/p-1f5124fb.system.js +1 -0
- package/dist/mint-components/p-1fbde87d.js +1 -0
- package/dist/mint-components/p-233dfb7d.system.js +1 -1
- package/dist/mint-components/p-27d25a4d.system.js +1 -0
- package/dist/mint-components/p-3a139510.entry.js +9 -0
- package/dist/mint-components/p-3d4a2da3.system.js +1 -0
- package/dist/mint-components/p-48a408fe.system.entry.js +1 -0
- package/dist/mint-components/p-4932906c.system.entry.js +1 -0
- package/dist/mint-components/p-614451ff.system.entry.js +1 -0
- package/dist/mint-components/p-6bff2131.entry.js +90 -0
- package/dist/mint-components/p-6c203626.system.entry.js +1 -0
- package/dist/mint-components/p-77fd4d51.system.entry.js +1 -0
- package/dist/mint-components/p-7c423f5c.system.entry.js +1 -0
- package/dist/mint-components/{p-b8842fa1.system.js → p-7cfaab53.system.js} +1 -1
- package/dist/mint-components/p-839a13d1.js +1 -0
- package/dist/mint-components/p-a85dd98a.js +1 -0
- package/dist/mint-components/p-aecf30cf.js +30 -0
- package/dist/mint-components/p-c7c42e0d.entry.js +1 -0
- package/dist/mint-components/p-ca48cd52.entry.js +150 -0
- package/dist/mint-components/p-f2a74222.system.entry.js +1 -0
- package/dist/mint-components/p-f5abb69b.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +3 -0
- package/dist/types/components/sqm-brand/SqmBrand.stories.d.ts +4 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -1
- package/dist/types/components/sqm-card-feed/CardFeed.stories.d.ts +7 -0
- package/dist/types/components/sqm-empty/sqm-empty-view.d.ts +7 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +18 -0
- package/dist/types/components/sqm-hero-image/HeroImage.stories.d.ts +3 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -0
- package/dist/types/components/sqm-image/Image.stories.d.ts +4 -3
- package/dist/types/components/sqm-image/sqm-image.d.ts +2 -17
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +0 -12
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +3 -0
- package/dist/types/components/sqm-program-explainer-step/ProgramExplainerStep.stories.d.ts +3 -0
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +9 -10
- 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 +1 -8
- package/dist/types/components/sqm-referral-table/ReferralTable.stories.d.ts +30 -0
- package/dist/types/components/sqm-referral-table/ReferralTableCell.stories.d.ts +3 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +3 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -7
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +10 -5
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +104 -0
- package/dist/types/components/sqm-rewards-table/RewardsTable.stories.d.ts +8 -1
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +3 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -6
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +3 -0
- package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +10 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +3 -0
- package/dist/types/components/sqm-stencilbook/Resizer.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +3 -4
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +0 -1
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +14 -0
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +5 -8
- package/dist/types/components/sqm-tabs/useTabs.d.ts +3 -9
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +3 -0
- package/dist/types/components/sqm-titled-section/TitledSection.stories.d.ts +3 -0
- package/dist/types/components.d.ts +59 -120
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-tab/useTab.js +0 -15
- package/dist/esm-es5/GenericTableView-5badbcf0.js +0 -1
- package/dist/esm-es5/ReferralTableRewardsCell.stories-1b3c0dcf.js +0 -1
- package/dist/esm-es5/RewardsTableCell.stories-9941e71e.js +0 -1
- package/dist/esm-es5/sqm-brand_29.entry.js +0 -1
- package/dist/esm-es5/sqm-image_4.entry.js +0 -1
- package/dist/mint-components/p-00ce79ee.entry.js +0 -9
- package/dist/mint-components/p-07005b24.system.entry.js +0 -1
- package/dist/mint-components/p-092d27de.js +0 -1
- package/dist/mint-components/p-258d46de.entry.js +0 -1
- package/dist/mint-components/p-298af592.system.entry.js +0 -1
- package/dist/mint-components/p-2f6decd6.entry.js +0 -1
- package/dist/mint-components/p-31f775f1.entry.js +0 -1
- package/dist/mint-components/p-376d9934.entry.js +0 -150
- package/dist/mint-components/p-448822f7.system.entry.js +0 -1
- package/dist/mint-components/p-60b42e77.js +0 -30
- package/dist/mint-components/p-62d2f75b.js +0 -1
- package/dist/mint-components/p-9022cf6e.entry.js +0 -90
- package/dist/mint-components/p-9f214904.js +0 -1
- package/dist/mint-components/p-c2af03ae.system.js +0 -1
- package/dist/mint-components/p-c649fa27.system.js +0 -1
- package/dist/mint-components/p-d9378e52.system.entry.js +0 -1
- package/dist/mint-components/p-e712a31c.entry.js +0 -1
- package/dist/mint-components/p-f0e1d325.system.entry.js +0 -1
- package/dist/mint-components/p-f853ed2f.system.entry.js +0 -1
- package/dist/mint-components/p-fe1508a8.system.js +0 -1
- package/dist/mint-components/p-fef3a25e.system.entry.js +0 -1
- package/dist/types/components/sqm-tab/useTab.d.ts +0 -8
|
@@ -9,10 +9,9 @@ function GenericTableView(props) {
|
|
|
9
9
|
const { columns, rows } = elements;
|
|
10
10
|
const { show } = states;
|
|
11
11
|
console.log("table", props);
|
|
12
|
-
console.log("columns 0", columns);
|
|
13
12
|
const hiddenCols = data.hiddenColumns && data.hiddenColumns.split(",").map(Number);
|
|
14
13
|
const mobile = "@media (max-width: " + data.mdBreakpoint + "px)";
|
|
15
|
-
const tablet = `@media (min-width: ${
|
|
14
|
+
const tablet = `@media (min-width: ${Boolean(rows.length < 2) ? data.mdBreakpoint : data.smBreakpoint}px) and (max-width: ${data.mdBreakpoint}px)`;
|
|
16
15
|
const style = {
|
|
17
16
|
Table: {
|
|
18
17
|
// borderCollapse: "collapse",
|
|
@@ -103,7 +102,7 @@ function GenericTableView(props) {
|
|
|
103
102
|
borderTop: `${!data.textOverrides.showLabels && i === 0 ? "none" : ""}`,
|
|
104
103
|
}, part: "table-row" }, row.map((cell, j) => {
|
|
105
104
|
console.log("CELL", cell);
|
|
106
|
-
return (index.h("td", { class: hiddenCols.includes(j) ? "hidden" : "", "data-label": columns[j] + ":" }, cell));
|
|
105
|
+
return (index.h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":" }, cell));
|
|
107
106
|
})));
|
|
108
107
|
})))),
|
|
109
108
|
index.h("div", { class: sheet.classes.ButtonContainer, part: states.namespace + "-button-wrapper" },
|
|
@@ -3,8 +3,22 @@
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const luxon = require('./luxon-59ca7d19.js');
|
|
5
5
|
|
|
6
|
+
const column = "@author:noah\r\n@owner:noah\r\nFeature: Referral Table User Column\r\n\r\n Shows the same custom content for each referral\r\n\r\n Background:\r\n Given the column in included in the referral table\r\n\r\n @motivating\r\n Scenario: The title of the date column is configurable\r\n Given the \"column-title\" prop is set to \"My column title\"\r\n Then the date column is shown with \"My column title\"\r\n\r\n @motivating\r\n Scenario: The same custom content is shown for each referral\r\n Given there is at least one referral\r\n Then for each referral custom content is shown\r\n And the custom content is provided as slot content";
|
|
7
|
+
|
|
8
|
+
const date = "@author:noah\r\n@owner:noah\r\nFeature: Referral Table Date Column\r\n\r\n Shows the date of each referral\r\n\r\n Background:\r\n Given the date column is included in the referral table\r\n\r\n @motivating\r\n Scenario Outline: The title of the date column is configurable\r\n Given the \"column-title\" prop is set to <value>\r\n Then the date column is shown with <columTitle>\r\n Examples:\r\n | value | columnTitle |\r\n | | Date Converted |\r\n | My column title | My column title |\r\n\r\n @motivating\r\n Scenario Outline: A configurable date associated with the referral is shown for each referral\r\n Given the \"date-shown\" prop is set to <dateType>\r\n And referrals exist\r\n Then for each referral the <referralDate> is shown in the table\r\n And the date is localized to the users locale\r\n Examples:\r\n | dateType | referralDate |\r\n | dateReferralStarted | date referral started |\r\n | dateReferralPaid | date referral paid |\r\n | dateReferralEnded | date referral ended |\r\n | dateModerated | date moderated |\r\n | dateUserModified | date user modified |\r\n | dateConverted | date converted |\r\n | dateModified | date modified |\r\n | | date converted |";
|
|
9
|
+
|
|
10
|
+
const reward = "@author:noah\r\n@owner:noah\r\nFeature: Referral Table Reward Column\r\n\r\n Shows the reward associated with each referral\r\n\r\n Background:\r\n Given the status column is included in the referral table\r\n And at least one referral exists\r\n\r\n @motivating\r\n Scenario Outline: The referral reward and it's status are shown for each referral\r\n Then for each referral reward there exists a reward cell\r\n And the reward type and value is displayed in the cell\r\n And the status of each reward is displayed as a pill in the cell\r\n And rewards of <status> have a <pillColour> pill with the text <statusText>\r\n Examples:\r\n | status | pillColour | statusText |\r\n | Available | green | Available |\r\n | Pending | orange | Pending |\r\n | Cancelled | red | Cancelled |\r\n | Expired | red | Expired |\r\n | Redeemed | blue | Redeemed |\r\n\r\n @motivating\r\n Scenario: The pending period of a referral reward is shown if it exists\r\n Given a reward that is pending\r\n And the reward has a set pending period\r\n Then the status pill of the reward will instead have the text \"Pending for <relativeTime>\"\r\n And all dates are localized to the users locale\r\n Examples:\r\n | relativeTime |\r\n | 2 days |\r\n | 1 week |\r\n | 3 months |\r\n | 2 years |\r\n\r\n @motivating\r\n Scenario: The expiry date of a reward is shown if it exists\r\n Given a reward that is available\r\n And the reward has a set expiry date\r\n Then an additional grey pill will appear next to the status pill with the text \"Expiring in <relativeTime>\"\r\n And all dates are localized to the users locale\r\n Examples:\r\n | relativeTime |\r\n | 2 days |\r\n | 1 week |\r\n | 3 months |\r\n | 2 years |\r\n\r\n @motivating\r\n Scenario: Each reward can be expanded to show additional details about the reward\r\n When a reward cell is clicked\r\n Then it expands to show the following additional information (if it's available):\r\n | Date the reward was received |\r\n | Date the reward was cancelled |\r\n | Date the reward expires |\r\n | Date the reward is pending until |\r\n | Coupon code |\r\n And all dates are localized to a users locale";
|
|
11
|
+
|
|
12
|
+
const status = "@author:noah\r\n@owner:noah\r\nFeature: Referral Table Status Column\r\n\r\n Shows the status of each referral\r\n\r\n Background:\r\n Given the status column is included in the referral table\r\n\r\n @motivating\r\n Scenario: The title of the date column is configurable\r\n Given the \"column-title\" prop is set to \"My column title\"\r\n Then the date column is shown with \"My column title\"\r\n\r\n @motivating\r\n Scenario Outline: The status column displays the status of each referral\r\n Given referrals exist\r\n Then the status of each referral is displayed\r\n And the status <status> is displayed as text from <statusTextProp> in a <pillColour> pill\r\n Examples:\r\n | status | statusTextProp | pillColour |\r\n | IN PROGRESS | inProgressStatusText | Orange |\r\n | Converted | convertedStatusText | Green |\r\n";
|
|
13
|
+
|
|
14
|
+
const user = "@author:noah\r\n@owner:noah\r\nFeature: Referral Table User Column\r\n\r\n Shows the user of each referral\r\n\r\n Background:\r\n Given the user column is included in the referral table\r\n\r\n @motivating\r\n Scenario: The title of the date column is configurable\r\n Given the \"column-title\" prop is set to \"My column title\"\r\n Then the date column is shown with \"My column title\"\r\n\r\n @motivating\r\n Scenario: The first and last name of the other user in the referral is displayed for each referral\r\n Given at least one referral exists\r\n Then for each referral where the other user's name is available their first and last name is displayed\r\n\r\n @motivating\r\n Scenario: Deleted users are displayed with a fallback name\r\n Given a referral exists where the other user was deleted\r\n Then in place of the name the text from the prop \"deleted-user\" is used\r\n\r\n @motivating\r\n Scenario: Anonymous users are displayed with a fallback name\r\n Given a referral exists where the other user was anonymous\r\n Then in place of the name the text from the prop \"anonymous-user\" is used";
|
|
15
|
+
|
|
16
|
+
const scenario = column + date + reward + status + user;
|
|
6
17
|
const ReferralTableRewardsCell_stories = {
|
|
7
18
|
title: "Components/Referral Table Rewards Cell",
|
|
19
|
+
parameters: {
|
|
20
|
+
scenario,
|
|
21
|
+
},
|
|
8
22
|
};
|
|
9
23
|
const baseReward = {
|
|
10
24
|
id: "123",
|
|
@@ -217,26 +231,31 @@ const tenRewardsCell = () => {
|
|
|
217
231
|
};
|
|
218
232
|
|
|
219
233
|
const ReferralTableRewardsCell = /*#__PURE__*/Object.freeze({
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
__proto__: null,
|
|
235
|
+
'default': ReferralTableRewardsCell_stories,
|
|
236
|
+
PendingNoUnpend: PendingNoUnpend,
|
|
237
|
+
PendingNoUnpendNoDetails: PendingNoUnpendNoDetails,
|
|
238
|
+
PendingWithUnpend: PendingWithUnpend,
|
|
239
|
+
AvailableNoExpiry: AvailableNoExpiry,
|
|
240
|
+
AvailableWithExpiry: AvailableWithExpiry,
|
|
241
|
+
Redeemed: Redeemed,
|
|
242
|
+
Cancelled: Cancelled,
|
|
243
|
+
Expired: Expired,
|
|
244
|
+
EmptyCell: EmptyCell,
|
|
245
|
+
oneRewardCell: oneRewardCell,
|
|
246
|
+
twoRewardsCell: twoRewardsCell,
|
|
247
|
+
threeRewardsCell: threeRewardsCell,
|
|
248
|
+
fiveRewardsCell: fiveRewardsCell,
|
|
249
|
+
eightRewardsCell: eightRewardsCell,
|
|
250
|
+
tenRewardsCell: tenRewardsCell
|
|
237
251
|
});
|
|
238
252
|
|
|
239
253
|
exports.AvailableNoExpiry = AvailableNoExpiry;
|
|
240
254
|
exports.Cancelled = Cancelled;
|
|
241
255
|
exports.PendingNoUnpend = PendingNoUnpend;
|
|
242
256
|
exports.ReferralTableRewardsCell = ReferralTableRewardsCell;
|
|
257
|
+
exports.column = column;
|
|
258
|
+
exports.date = date;
|
|
259
|
+
exports.reward = reward;
|
|
260
|
+
exports.status = status;
|
|
261
|
+
exports.user = user;
|
package/dist/cjs/{RewardsTableCell.stories-41292336.js → RewardsTableCell.stories-b439d2e6.js}
RENAMED
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
|
|
5
|
+
const scenario = "@owner:sam\r\n@author:sam\r\nFeature: Rewards Table\r\n\r\n Shows a list of rewards as a table\r\n\r\n @motivating\r\n Scenario: The empty state is shown if there are no rewards\r\n Given a user with rewards\r\n When they view the reward table\r\n Then no rewards are displayed\r\n And they see an image with a user icon\r\n And \"View your rewards\" in bold\r\n And \"See all the rewards you have earned from referring friends and completing tasks\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n Scenario: The empty state image and text are customizable\r\n Given the reward table has been given the following prop values\r\n | prop | value |\r\n | empty-state-img-url | https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png |\r\n | empty-state-title | View your reward history |\r\n | empty-state-text | Earn rewards and review them here! |\r\n And a user with no rewards\r\n When they view the reward table\r\n Then they see no rewards\r\n And they see the SaaSquatch logo\r\n And \"View your reward history\" in bold\r\n And \"Earn rewards and review them here! \" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @minutae\r\n Scenario: A custom empty state can be provided\r\n Given a user with no rewards\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the reward table\r\n Then they see the custom empty state\r\n And the pagination buttons are disabled\r\n\r\n @minutae\r\n Scenario: The loading state is shown while rewards are loading\r\n Given the table is loading\r\n Then the loading state is shown in the table\r\n And a custom loading state can be supplied in the \"loading\" slot\r\n And the pagination buttons are disabled\r\n\r\n @motivating\r\n Scenario Outline: The table becomes paginated when the number of rewards exceeds the per page limit\r\n Given the user has <number of rewards>\r\n And the table is configured to show <page limit> rewards per page\r\n Then the table will have <number of pages> page(s)\r\n And pagination buttons will allow users to navigate between pages\r\n And the pagination button to go to the next page is disabled on the last page of rewards\r\n And the pagination button to go to the previous page is disabled on the first page of rewards\r\n Examples:\r\n | number of rewards | page limit | number of pages |\r\n | 0 | 4 | 1 |\r\n | 1 | 4 | 1 |\r\n | 3 | 4 | 1 |\r\n | 5 | 4 | 2 |\r\n | 42 | 4 | 11 |\r\n\r\n @motivating\r\n Scenario: The table converts to a card view on tablet and mobile window sizes\r\n Given a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"899px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"634px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n Scenario: Table and Mobile beakpoints can be configured\r\n Given the reward table has been configured with the following props\r\n | prop | value |\r\n | smBreakpoint | 599 |\r\n | mdBreakpoint | 799 |\r\n And a user with rewards\r\n When they view the table\r\n And their window size is smaller than \"799px\"\r\n Then rewards are displayed as cards\r\n And they are in two columns\r\n When their window size is smaller than \"599px\"\r\n Then the rewards are displayed as cards in a singular column\r\n\r\n @motivating\r\n Scenario Outline: By default the first column heading is hidden in mobile\r\n Given a reward table with 4 columns\r\n And prop \"hidden-columns\" with <hideColumnValue>\r\n And a user with rewards\r\n When they view the reward table\r\n And their window size is below the tablet breakpoint\r\n Then reward cards are displayed\r\n And the titles of <columnsArehidden> within the card\r\n Examples:\r\n | hideColumnValue | columnsArehidden |\r\n | | the first column |\r\n | 0,1,2 | the first, second and third columns |\r\n | 3 | the fourth column |\r\n\r\n @motivating\r\n Scenario: Only rewards which occured in the program specific by \"program-id\" are shown\r\n Given the table is configured with \"program-id\"\r\n Then only rewards from the program with \"program-id\" are shown\r\n\r\n @landmine\r\n Scenario: Classic program rewards can't be filtered for\r\n There is no easy way for the backend to filter for \"classic\" programs,\r\n since it only allows filtering my \"programId: null\"\r\n and that returns manual rewards and reward exchanges\r\n\r\n Given the \"program-id\" of the table is set to \"classic\"\r\n Then there is an error shown\r\n\r\n @minutae\r\n Scenario: Column heading can be hidden\r\n Given the table is configured with \"show-labels\" set to false\r\n Then the table is displayed without column headings";
|
|
6
|
+
|
|
5
7
|
const RewardsTableCell_stories = {
|
|
6
8
|
title: "Components/Rewards Table Cell",
|
|
9
|
+
parameters: {
|
|
10
|
+
scenario,
|
|
11
|
+
},
|
|
7
12
|
};
|
|
8
13
|
const rewardsData = {
|
|
9
14
|
id: "61c100117a82a376d8804166",
|
|
@@ -226,34 +231,34 @@ const EmptyCell = () => {
|
|
|
226
231
|
};
|
|
227
232
|
|
|
228
233
|
const RewardsTableCell = /*#__PURE__*/Object.freeze({
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
234
|
+
__proto__: null,
|
|
235
|
+
'default': RewardsTableCell_stories,
|
|
236
|
+
RewardsCellCreditSingle: RewardsCellCreditSingle,
|
|
237
|
+
RewardsCellCreditFull: RewardsCellCreditFull,
|
|
238
|
+
RewardsCellCreditPartial: RewardsCellCreditPartial,
|
|
239
|
+
RewardsCellCreditCancelled: RewardsCellCreditCancelled,
|
|
240
|
+
RewardsCellCreditExpired: RewardsCellCreditExpired,
|
|
241
|
+
RewardsCellCreditRedeemed: RewardsCellCreditRedeemed,
|
|
242
|
+
RewardsCellCreditLong: RewardsCellCreditLong,
|
|
243
|
+
RewardsCellNonCredit: RewardsCellNonCredit,
|
|
244
|
+
SourceCellManual: SourceCellManual,
|
|
245
|
+
SourceCellProgram: SourceCellProgram,
|
|
246
|
+
SourceCellExchange: SourceCellExchange,
|
|
247
|
+
SourceCellReferral: SourceCellReferral,
|
|
248
|
+
SourceCellReferred: SourceCellReferred,
|
|
249
|
+
SourceCellAnonymousUser: SourceCellAnonymousUser,
|
|
250
|
+
SourceCellDeletedUser: SourceCellDeletedUser,
|
|
251
|
+
StatusCellAvailable: StatusCellAvailable,
|
|
252
|
+
StatusCellAvailableExpiry: StatusCellAvailableExpiry,
|
|
253
|
+
StatusCellRedeemed: StatusCellRedeemed,
|
|
254
|
+
StatusCellCancelled: StatusCellCancelled,
|
|
255
|
+
StatusCellExpired: StatusCellExpired,
|
|
256
|
+
StatusCellPending: StatusCellPending,
|
|
257
|
+
StatusCellPendingUsTax: StatusCellPendingUsTax,
|
|
258
|
+
StatusCellPendingScheduled: StatusCellPendingScheduled,
|
|
259
|
+
StatusCellPendingUnhandled: StatusCellPendingUnhandled,
|
|
260
|
+
DateCell: DateCell,
|
|
261
|
+
EmptyCell: EmptyCell
|
|
257
262
|
});
|
|
258
263
|
|
|
259
264
|
exports.DateCell = DateCell;
|
|
@@ -271,3 +276,4 @@ exports.StatusCellAvailable = StatusCellAvailable;
|
|
|
271
276
|
exports.StatusCellAvailableExpiry = StatusCellAvailableExpiry;
|
|
272
277
|
exports.StatusCellCancelled = StatusCellCancelled;
|
|
273
278
|
exports.StatusCellRedeemed = StatusCellRedeemed;
|
|
279
|
+
exports.scenario = scenario;
|
|
@@ -1852,8 +1852,8 @@ function RewardExchangeView(props) {
|
|
|
1852
1852
|
sourceUnit: item.sourceUnit,
|
|
1853
1853
|
})));
|
|
1854
1854
|
}
|
|
1855
|
-
console.log("SELECTED ITEM ", states.selectedStep);
|
|
1856
|
-
console.log("CALLBACKS ", callbacks);
|
|
1855
|
+
// console.log("SELECTED ITEM ", states.selectedStep);
|
|
1856
|
+
// console.log("CALLBACKS ", callbacks);
|
|
1857
1857
|
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
1858
1858
|
var _a, _b, _c, _d, _e;
|
|
1859
1859
|
return callbacks.setExchangeState({
|
|
@@ -1861,9 +1861,9 @@ function RewardExchangeView(props) {
|
|
|
1861
1861
|
selectedStep: (_e = (_d = e.detail) === null || _d === void 0 ? void 0 : _d.item) === null || _e === void 0 ? void 0 : _e.value,
|
|
1862
1862
|
});
|
|
1863
1863
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
1864
|
+
// console.log(item.steps);
|
|
1864
1865
|
var _a, _b;
|
|
1865
|
-
|
|
1866
|
-
return (index.h("sl-menu-item", { value: step.prettyDestinationValue, disabled: !step.available },
|
|
1866
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available },
|
|
1867
1867
|
step.prettyDestinationValue,
|
|
1868
1868
|
" ",
|
|
1869
1869
|
index.h("br", null),
|
|
@@ -1963,6 +1963,8 @@ function RewardExchangeView(props) {
|
|
|
1963
1963
|
const isDisabled = ((_a = states.selectedItem) === null || _a === void 0 ? void 0 : _a.ruleType) === "FIXED_GLOBAL_REWARD"
|
|
1964
1964
|
? false
|
|
1965
1965
|
: input && !states.amount;
|
|
1966
|
+
console.log("input", input);
|
|
1967
|
+
console.log(states.amount);
|
|
1966
1968
|
return (index.h("div", null,
|
|
1967
1969
|
index.h("div", { class: sheet.classes.ChooseAmount },
|
|
1968
1970
|
index.h("div", { class: "wrapper" },
|
|
@@ -1978,8 +1980,8 @@ function RewardExchangeView(props) {
|
|
|
1978
1980
|
index.h("sl-button", { class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))))));
|
|
1979
1981
|
}
|
|
1980
1982
|
function confirmation() {
|
|
1981
|
-
console.log(selectedItem);
|
|
1982
|
-
console.log(selectedStep);
|
|
1983
|
+
// console.log(selectedItem);
|
|
1984
|
+
// console.log(selectedStep);
|
|
1983
1985
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
1984
1986
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
1985
1987
|
return (index.h("div", null,
|
|
@@ -2005,7 +2007,7 @@ function RewardExchangeView(props) {
|
|
|
2005
2007
|
}
|
|
2006
2008
|
function success() {
|
|
2007
2009
|
var _a, _b, _c, _d, _e;
|
|
2008
|
-
console.log("success");
|
|
2010
|
+
// console.log("success");
|
|
2009
2011
|
return (index.h("div", { class: sheet.classes.Success },
|
|
2010
2012
|
index.h(Gift$1, null),
|
|
2011
2013
|
index.h(Confetti, null),
|
|
@@ -2090,7 +2092,6 @@ function RewardExchangeView(props) {
|
|
|
2090
2092
|
return (index.h("div", { class: sheet.classes.Container },
|
|
2091
2093
|
index.h("style", { type: "text/css" }, styleString),
|
|
2092
2094
|
index.h("div", null,
|
|
2093
|
-
console.log(props),
|
|
2094
2095
|
stageMap(),
|
|
2095
2096
|
states.exchangeError && errorMessage(),
|
|
2096
2097
|
states.queryError && queryErrorMessage(),
|
|
@@ -2194,6 +2195,9 @@ const imageUrl = (props) => ({
|
|
|
2194
2195
|
const name = (props) => ({
|
|
2195
2196
|
name: props,
|
|
2196
2197
|
});
|
|
2198
|
+
const description = (props) => ({
|
|
2199
|
+
description: props,
|
|
2200
|
+
});
|
|
2197
2201
|
const fixedValue = (props) => ({
|
|
2198
2202
|
prettySourceValue: props,
|
|
2199
2203
|
});
|
|
@@ -2215,21 +2219,21 @@ const demoData = [
|
|
|
2215
2219
|
...baseReward,
|
|
2216
2220
|
...selected,
|
|
2217
2221
|
...name("Visa® Prepaid Card USD"),
|
|
2218
|
-
...imageUrl("https://
|
|
2222
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2219
2223
|
...variableValue(20, 80, "Points"),
|
|
2220
2224
|
},
|
|
2221
2225
|
{
|
|
2222
2226
|
...baseReward,
|
|
2223
2227
|
...name("$50 Store credit"),
|
|
2224
|
-
...imageUrl("https://
|
|
2228
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829222/tenant_test_a7iws76wkk4az/wvxtrsytmr4h1ozhxspv.png"),
|
|
2225
2229
|
...fixedValue("100 Points"),
|
|
2226
2230
|
},
|
|
2227
2231
|
{
|
|
2228
2232
|
...baseReward,
|
|
2229
2233
|
...name("Variable amount of store credit"),
|
|
2230
|
-
...imageUrl("https://
|
|
2234
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829263/tenant_test_a7iws76wkk4az/dbo8tb4qpwmhg5iudviq.png"),
|
|
2231
2235
|
...variableValue(20, 100, "Points"),
|
|
2232
|
-
}
|
|
2236
|
+
},
|
|
2233
2237
|
];
|
|
2234
2238
|
const data = [
|
|
2235
2239
|
{
|
|
@@ -2242,46 +2246,46 @@ const data = [
|
|
|
2242
2246
|
...baseReward,
|
|
2243
2247
|
...selected,
|
|
2244
2248
|
...name("Visa® Prepaid Card USD"),
|
|
2245
|
-
...imageUrl("https://
|
|
2249
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2246
2250
|
...variableValue(20, 80, "Points"),
|
|
2247
2251
|
},
|
|
2248
2252
|
{
|
|
2249
2253
|
...baseReward,
|
|
2250
2254
|
...name("A very exclusive gift box"),
|
|
2251
|
-
...imageUrl("https://
|
|
2255
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829284/tenant_test_a7iws76wkk4az/cognmlwma874b5q94hqv.png"),
|
|
2252
2256
|
...fixedValue("30 SaaSquatch Points"),
|
|
2253
2257
|
},
|
|
2254
2258
|
{
|
|
2255
2259
|
...baseReward,
|
|
2256
2260
|
...name("$50 Store credit"),
|
|
2257
|
-
...imageUrl("https://
|
|
2261
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829222/tenant_test_a7iws76wkk4az/wvxtrsytmr4h1ozhxspv.png"),
|
|
2258
2262
|
...fixedValue("100 SaaSquatch Points"),
|
|
2259
2263
|
},
|
|
2260
2264
|
{
|
|
2261
2265
|
...baseReward,
|
|
2262
2266
|
...name("Variable amount of store credit"),
|
|
2263
|
-
...imageUrl("https://
|
|
2267
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829263/tenant_test_a7iws76wkk4az/dbo8tb4qpwmhg5iudviq.png"),
|
|
2264
2268
|
...variableValue(20, 100, "Points"),
|
|
2265
2269
|
},
|
|
2266
2270
|
{
|
|
2267
2271
|
...baseReward,
|
|
2268
2272
|
...notEnoughPoints,
|
|
2269
2273
|
...name("A very rare cactus"),
|
|
2270
|
-
...imageUrl("https://
|
|
2274
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829341/tenant_test_a7iws76wkk4az/lgrlweifpsekh2y4zjih.png"),
|
|
2271
2275
|
...fixedValue("2000 SaaSquatch Points"),
|
|
2272
2276
|
},
|
|
2273
2277
|
{
|
|
2274
2278
|
...baseReward,
|
|
2275
2279
|
...usTax,
|
|
2276
2280
|
...name("$1000 Store credit with a really super long name in the front page"),
|
|
2277
|
-
...imageUrl("https://
|
|
2281
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829384/tenant_test_a7iws76wkk4az/f0dzeyrx3hojncbgim8y.png"),
|
|
2278
2282
|
...fixedValue("2000 SaaSquatch Long Points"),
|
|
2279
2283
|
},
|
|
2280
2284
|
{
|
|
2281
2285
|
...baseReward,
|
|
2282
2286
|
...notEnoughPoints,
|
|
2283
2287
|
...name("A holiday gift box"),
|
|
2284
|
-
...imageUrl("https://
|
|
2288
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829450/tenant_test_a7iws76wkk4az/ujzfhfkvwqb02dlgjx6q.png"),
|
|
2285
2289
|
...fixedValue("100 SaaSquatch Points"),
|
|
2286
2290
|
},
|
|
2287
2291
|
];
|
|
@@ -2289,7 +2293,7 @@ const rewardExchange = {
|
|
|
2289
2293
|
...baseResponse(data),
|
|
2290
2294
|
};
|
|
2291
2295
|
const demoRewardExchange = {
|
|
2292
|
-
...baseResponse(demoData)
|
|
2296
|
+
...baseResponse(demoData),
|
|
2293
2297
|
};
|
|
2294
2298
|
const rewardExchangeLongText = {
|
|
2295
2299
|
...baseResponse([
|
|
@@ -2297,19 +2301,19 @@ const rewardExchangeLongText = {
|
|
|
2297
2301
|
...baseReward,
|
|
2298
2302
|
...notEnoughPoints,
|
|
2299
2303
|
...name("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
|
|
2300
|
-
...imageUrl("https://
|
|
2304
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829450/tenant_test_a7iws76wkk4az/ujzfhfkvwqb02dlgjx6q.png"),
|
|
2301
2305
|
...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
|
|
2302
2306
|
},
|
|
2303
2307
|
{
|
|
2304
2308
|
...baseReward,
|
|
2305
2309
|
...name("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
|
|
2306
|
-
...imageUrl("https://
|
|
2310
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829384/tenant_test_a7iws76wkk4az/f0dzeyrx3hojncbgim8y.png"),
|
|
2307
2311
|
...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
|
|
2308
2312
|
},
|
|
2309
2313
|
{
|
|
2310
2314
|
...baseReward,
|
|
2311
2315
|
...name("Suuuuuuuuper aweeeeesssssoooommme reward!!!!!!"),
|
|
2312
|
-
...imageUrl("https://
|
|
2316
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829222/tenant_test_a7iws76wkk4az/wvxtrsytmr4h1ozhxspv.png"),
|
|
2313
2317
|
...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
|
|
2314
2318
|
},
|
|
2315
2319
|
...data,
|
|
@@ -2321,7 +2325,7 @@ const rewardExchangeCustomErrorMsg = {
|
|
|
2321
2325
|
...baseReward,
|
|
2322
2326
|
...customError,
|
|
2323
2327
|
...name("A very rare cactus"),
|
|
2324
|
-
...imageUrl("https://
|
|
2328
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829341/tenant_test_a7iws76wkk4az/lgrlweifpsekh2y4zjih.png"),
|
|
2325
2329
|
...fixedValue("2000 SaaSquatch Points"),
|
|
2326
2330
|
},
|
|
2327
2331
|
...data,
|
|
@@ -2332,7 +2336,7 @@ const rewardExchangeSelected = {
|
|
|
2332
2336
|
...baseReward,
|
|
2333
2337
|
...selected,
|
|
2334
2338
|
...name("Visa® Prepaid Card USD"),
|
|
2335
|
-
...imageUrl("https://
|
|
2339
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2336
2340
|
...variableValue(20, 80, "Points"),
|
|
2337
2341
|
}),
|
|
2338
2342
|
};
|
|
@@ -2348,6 +2352,22 @@ const chooseAmountVariable = {
|
|
|
2348
2352
|
...baseResponse(data, "chooseAmount", {
|
|
2349
2353
|
...baseReward,
|
|
2350
2354
|
...name("Visa® Prepaid Card USD"),
|
|
2355
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2356
|
+
...variableValue(20, 80, "Points"),
|
|
2357
|
+
steps: [
|
|
2358
|
+
baseStep(20, "$", 40, "Points"),
|
|
2359
|
+
baseStep(30, "$", 60, "Points"),
|
|
2360
|
+
baseStep(40, "$", 80, "Points"),
|
|
2361
|
+
baseStep(50, "$", 100, "Points"),
|
|
2362
|
+
baseStep(60, "$", 120, "Points"),
|
|
2363
|
+
],
|
|
2364
|
+
}),
|
|
2365
|
+
};
|
|
2366
|
+
const chooseAmountVariableNoDescription = {
|
|
2367
|
+
...baseResponse(data, "chooseAmount", {
|
|
2368
|
+
...baseReward,
|
|
2369
|
+
...name("Visa® Prepaid Card USD"),
|
|
2370
|
+
...description(""),
|
|
2351
2371
|
...imageUrl("https://i.imgur.com/veHErQX.png"),
|
|
2352
2372
|
...variableValue(20, 80, "Points"),
|
|
2353
2373
|
steps: [
|
|
@@ -2363,7 +2383,7 @@ const chooseAmountVariableDisabled = {
|
|
|
2363
2383
|
...baseResponse(data, "chooseAmount", {
|
|
2364
2384
|
...baseReward,
|
|
2365
2385
|
...name("Visa® Prepaid Card USD"),
|
|
2366
|
-
...imageUrl("https://
|
|
2386
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2367
2387
|
...variableValue(20, 80, "Points"),
|
|
2368
2388
|
steps: [
|
|
2369
2389
|
baseStep(20, "$", 40, "Points"),
|
|
@@ -2378,7 +2398,7 @@ const chooseAmountVariableUnavailable = {
|
|
|
2378
2398
|
...baseResponse(data, "chooseAmount", {
|
|
2379
2399
|
...baseReward,
|
|
2380
2400
|
...name("Visa® Prepaid Card USD"),
|
|
2381
|
-
...imageUrl("https://
|
|
2401
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2382
2402
|
...variableValue(20, 80, "Points"),
|
|
2383
2403
|
steps: [
|
|
2384
2404
|
baseStep(20, "$", 40, "Points"),
|
|
@@ -2393,6 +2413,15 @@ const chooseAmountFixed = {
|
|
|
2393
2413
|
...baseResponse(data, "chooseAmount", {
|
|
2394
2414
|
...baseReward,
|
|
2395
2415
|
...name("Free swag with a promo code"),
|
|
2416
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829486/tenant_test_a7iws76wkk4az/xtptk0dynrxxlkg0dctb.png"),
|
|
2417
|
+
...fixedValue("40 SaaSquatch Points"),
|
|
2418
|
+
}),
|
|
2419
|
+
};
|
|
2420
|
+
const chooseAmountFixedNoDescription = {
|
|
2421
|
+
...baseResponse(data, "chooseAmount", {
|
|
2422
|
+
...baseReward,
|
|
2423
|
+
...description(""),
|
|
2424
|
+
...name("Free swag with a promo code"),
|
|
2396
2425
|
...imageUrl("https://i.imgur.com/n7vC4BR.png"),
|
|
2397
2426
|
...fixedValue("40 SaaSquatch Points"),
|
|
2398
2427
|
}),
|
|
@@ -2401,7 +2430,7 @@ const confirmFixed = {
|
|
|
2401
2430
|
...baseResponse(data, "confirmation", {
|
|
2402
2431
|
...baseReward,
|
|
2403
2432
|
...name("Free swag with a promo code"),
|
|
2404
|
-
...imageUrl("https://
|
|
2433
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829486/tenant_test_a7iws76wkk4az/xtptk0dynrxxlkg0dctb.png"),
|
|
2405
2434
|
...fixedValue("40 SaaSquatch Points"),
|
|
2406
2435
|
}),
|
|
2407
2436
|
};
|
|
@@ -2409,7 +2438,7 @@ const confirmVariable = {
|
|
|
2409
2438
|
...baseResponse(data, "confirmation", {
|
|
2410
2439
|
...baseReward,
|
|
2411
2440
|
...name("Visa® Prepaid Card USD"),
|
|
2412
|
-
...imageUrl("https://
|
|
2441
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2413
2442
|
...variableValue(20, 80, "Points"),
|
|
2414
2443
|
}, baseStep(20, "$", 40, "Points")),
|
|
2415
2444
|
};
|
|
@@ -2417,7 +2446,7 @@ const error = {
|
|
|
2417
2446
|
...baseResponse(data, "confirmation", {
|
|
2418
2447
|
...baseReward,
|
|
2419
2448
|
...name("Visa® Prepaid Card USD"),
|
|
2420
|
-
...imageUrl("https://
|
|
2449
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829161/tenant_test_a7iws76wkk4az/lmzj1rtxchiyquvazo5k.png"),
|
|
2421
2450
|
...variableValue(20, 80, "Points"),
|
|
2422
2451
|
}, baseStep(20, "$", 40, "Points"), true),
|
|
2423
2452
|
};
|
|
@@ -2425,7 +2454,7 @@ const success = {
|
|
|
2425
2454
|
...baseResponse(data, "success", {
|
|
2426
2455
|
...baseReward,
|
|
2427
2456
|
...name("Free swag with a promo code"),
|
|
2428
|
-
...imageUrl("https://
|
|
2457
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829486/tenant_test_a7iws76wkk4az/xtptk0dynrxxlkg0dctb.png"),
|
|
2429
2458
|
...fixedValue("40 SaaSquatch Points"),
|
|
2430
2459
|
}, undefined, undefined, undefined, "4ah2-hh46-gk7r"),
|
|
2431
2460
|
};
|
|
@@ -2433,7 +2462,7 @@ const successVariable = {
|
|
|
2433
2462
|
...baseResponse(data, "success", {
|
|
2434
2463
|
...baseReward,
|
|
2435
2464
|
...name("Visa® Prepaid Card USD"),
|
|
2436
|
-
...imageUrl("https://
|
|
2465
|
+
...imageUrl("https://res.cloudinary.com/saasquatch-staging/image/upload/v1643829284/tenant_test_a7iws76wkk4az/cognmlwma874b5q94hqv.png"),
|
|
2437
2466
|
...variableValue(20, 80, "Points"),
|
|
2438
2467
|
}, baseStep(20, "$", 40, "Points")),
|
|
2439
2468
|
};
|
|
@@ -2568,8 +2597,10 @@ exports.ShareLinkView = ShareLinkView;
|
|
|
2568
2597
|
exports.TaskCardView = TaskCardView;
|
|
2569
2598
|
exports.autoColorScaleCss = autoColorScaleCss;
|
|
2570
2599
|
exports.chooseAmountFixed = chooseAmountFixed;
|
|
2600
|
+
exports.chooseAmountFixedNoDescription = chooseAmountFixedNoDescription;
|
|
2571
2601
|
exports.chooseAmountVariable = chooseAmountVariable;
|
|
2572
2602
|
exports.chooseAmountVariableDisabled = chooseAmountVariableDisabled;
|
|
2603
|
+
exports.chooseAmountVariableNoDescription = chooseAmountVariableNoDescription;
|
|
2573
2604
|
exports.chooseAmountVariableUnavailable = chooseAmountVariableUnavailable;
|
|
2574
2605
|
exports.confirmFixed = confirmFixed;
|
|
2575
2606
|
exports.confirmVariable = confirmVariable;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ const patchEsm = () => {
|
|
|
19
19
|
const defineCustomElements = (win, options) => {
|
|
20
20
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
21
21
|
return patchEsm().then(() => {
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"sqm-stencilbook.cjs\",[[4,\"sqm-stencilbook\",{\"ignored\":[32]}]]],[\"sqm-portal-reset-password.cjs\",[[1,\"sqm-portal-reset-password\",{\"nextPage\":[1,\"next-page\"],\"failedPage\":[1,\"failed-page\"],\"confirmPassword\":[4,\"confirm-password\"],\"resetPasswordHeader\":[1,\"reset-password-header\"],\"passwordResetHeader\":[1,\"password-reset-header\"],\"resetPasswordButtonText\":[1,\"reset-password-button-text\"],\"continueButtonText\":[1,\"continue-button-text\"],\"confirmPasswordFieldLabel\":[1,\"confirm-password-field-label\"],\"passwordFieldLabel\":[1,\"password-field-label\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-email-verification.cjs\",[[1,\"sqm-portal-email-verification\",{\"redirectPath\":[1,\"redirect-path\"],\"emailVerificationHeader\":[1,\"email-verification-header\"],\"resendEmailButtonText\":[1,\"resend-email-button-text\"],\"verifyMessage\":[1,\"verify-message\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-forgot-password.cjs\",[[1,\"sqm-portal-forgot-password\",{\"redirectPath\":[1,\"redirect-path\"],\"emailLabel\":[1,\"email-label\"],\"submitLabel\":[1,\"submit-label\"],\"loginPath\":[1,\"login-path\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-profile.cjs\",[[1,\"sqm-portal-profile\",{\"firstnametext\":[1],\"lastnametext\":[1],\"emailtext\":[1],\"countrytext\":[1],\"editProfileHeader\":[1,\"edit-profile-header\"],\"editProfileSubHeader\":[1,\"edit-profile-sub-header\"],\"submitChangeButtonText\":[1,\"submit-change-button-text\"],\"showCountry\":[4,\"show-country\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-verify-email.cjs\",[[1,\"sqm-portal-verify-email\",{\"nextPage\":[1,\"next-page\"],\"failedPage\":[1,\"failed-page\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-asset-card.cjs\",[[1,\"sqm-asset-card\",{\"titleText\":[1,\"title-text\"],\"imgUrl\":[1,\"img-url\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-big-stat.cjs\",[[1,\"sqm-big-stat\",{\"statType\":[1,\"stat-type\"],\"flexReverse\":[4,\"flex-reverse\"],\"alignment\":[1],\"programId\":[1,\"program-id\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-graphql-client-provider.cjs\",[[4,\"sqm-graphql-client-provider\",{\"domain\":[1],\"ignored\":[32]}]]],[\"sqm-hero.cjs\",[[1,\"sqm-hero\",{\"columns\":[2],\"background\":[1],\"paddingSize\":[1,\"padding-size\"],\"secondaryBackground\":[1,\"secondary-background\"],\"wrapDirection\":[1,\"wrap-direction\"]}]]],[\"sqm-leaderboard-rank.cjs\",[[1,\"sqm-leaderboard-rank\",{\"rankType\":[1,\"rank-type\"],\"rankText\":[1,\"rank-text\"],\"leaderboardType\":[1,\"leaderboard-type\"],\"unrankedText\":[1,\"unranked-text\"],\"interval\":[1],\"demoData\":[16]}]]],[\"sqm-name-fields.cjs\",[[0,\"sqm-name-fields\",{\"firstNameLabel\":[1,\"first-name-label\"],\"lastNameLabel\":[1,\"last-name-label\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-navigation-sidebar.cjs\",[[1,\"sqm-navigation-sidebar\",{\"ignored\":[32]}]]],[\"sqm-navigation-sidebar-item.cjs\",[[1,\"sqm-navigation-sidebar-item\",{\"path\":[1],\"icon\":[1],\"label\":[1],\"demoData\":[16]}]]],[\"sqm-popup-container.cjs\",[[4,\"sqm-popup-container\",{\"poweredBy\":[4,\"powered-by\"],\"closeButton\":[4,\"close-button\"],\"closeButtonText\":[1,\"close-button-text\"],\"embedPadding\":[1,\"embed-padding\"],\"popupPadding\":[1,\"popup-padding\"]}]]],[\"sqm-portal-footer.cjs\",[[1,\"sqm-portal-footer\",{\"supportEmail\":[1,\"support-email\"],\"supportText\":[1,\"support-text\"],\"termsLink\":[1,\"terms-link\"],\"termsText\":[1,\"terms-text\"],\"faqLink\":[1,\"faq-link\"],\"faqText\":[1,\"faq-text\"],\"showPoweredBy\":[4,\"show-powered-by\"],\"poweredByLink\":[1,\"powered-by-link\"],\"paddingTop\":[1,\"padding-top\"],\"paddingRight\":[1,\"padding-right\"],\"paddingBottom\":[1,\"padding-bottom\"],\"paddingLeft\":[1,\"padding-left\"],\"ignored\":[32]}]]],[\"sqm-portal-logout.cjs\",[[1,\"sqm-portal-logout\",{\"nextPage\":[1,\"next-page\"],\"ignored\":[32]}]]],[\"sqm-portal-protected-route.cjs\",[[1,\"sqm-portal-protected-route\",{\"redirectTo\":[1,\"redirect-to\"],\"requireEmailVerification\":[4,\"require-email-verification\"],\"redirectToUnverified\":[1,\"redirect-to-unverified\"],\"ignored\":[32]}]]],[\"sqm-refresh-button.cjs\",[[1,\"sqm-refresh-button\",{\"icon\":[1]}]]],[\"sqm-route.cjs\",[[1,\"sqm-route\",{\"path\":[1],\"ignored\":[32]}]]],[\"sqm-stat-container.cjs\",[[1,\"sqm-stat-container\",{\"space\":[1],\"ignored\":[32]}]]],[\"sqm-tab.cjs\",[[4,\"sqm-tab\",{\"header\":[1],\"open\":[4]}]]],[\"sqm-tabs.cjs\",[[1,\"sqm-tabs\"]]],[\"sqm-text-span.cjs\",[[0,\"sqm-text-span\",{\"text\":[1],\"type\":[1],\"ignored\":[32]}]]],[\"sqm-password-field.cjs\",[[0,\"sqm-password-field\",{\"fieldLabel\":[1,\"field-label\"],\"enableValidation\":[4,\"enable-validation\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-form-message.cjs\",[[1,\"sqm-form-message\",{\"type\":[1],\"icon\":[1],\"ignored\":[32]}]]],[\"sqm-image_4.cjs\",[[1,\"sqm-image\",{\"imageUrl\":[1,\"image-url\"],\"left\":[1],\"right\":[1],\"alignment\":[1],\"backgroundColor\":[1,\"background-color\"],\"minHeight\":[1,\"min-height\"],\"maxWidth\":[1,\"max-width\"],\"ignored\":[32]}],[1,\"sqm-portal-container\",{\"direction\":[1],\"padding\":[1],\"gap\":[1],\"minWidth\":[1,\"min-width\"],\"display\":[1],\"maxWidth\":[1,\"max-width\"],\"center\":[4],\"ignored\":[32]}],[4,\"sqm-text\",{\"ignored\":[32]}],[1,\"sqm-titled-section\",{\"label\":[1],\"textAlign\":[1,\"text-align\"],\"labelMargin\":[1,\"label-margin\"],\"padding\":[1]}]]],[\"sqm-brand_29.cjs\",[[4,\"sqm-leaderboard\",{\"usersheading\":[1],\"statsheading\":[1],\"rankheading\":[1],\"showRank\":[4,\"show-rank\"],\"showUser\":[4,\"show-user\"],\"rankType\":[1,\"rank-type\"],\"leaderboardType\":[1,\"leaderboard-type\"],\"anonymousUser\":[1,\"anonymous-user\"],\"interval\":[1],\"emptyStateImage\":[1,\"empty-state-image\"],\"emptyStateHeader\":[1,\"empty-state-header\"],\"emptyStateText\":[1,\"empty-state-text\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-change-password\",{\"modalChangePasswordHeader\":[1,\"modal-change-password-header\"],\"cancelText\":[1,\"cancel-text\"],\"changePasswordButtonText\":[1,\"change-password-button-text\"],\"passwordFieldLabel\":[1,\"password-field-label\"],\"confirmPasswordFieldLabel\":[1,\"confirm-password-field-label\"],\"successMessage\":[1,\"success-message\"],\"portalChangePasswordHeader\":[1,\"portal-change-password-header\"],\"portalChangePasswordButtonText\":[1,\"portal-change-password-button-text\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-register\",{\"nextPage\":[1,\"next-page\"],\"redirectPath\":[1,\"redirect-path\"],\"emailLabel\":[1,\"email-label\"],\"passwordLabel\":[1,\"password-label\"],\"submitLabel\":[1,\"submit-label\"],\"loginLabel\":[1,\"login-label\"],\"confirmPasswordLabel\":[1,\"confirm-password-label\"],\"confirmPassword\":[4,\"confirm-password\"],\"enablePasswordValidation\":[4,\"enable-password-validation\"],\"hideInputs\":[4,\"hide-inputs\"],\"pageLabel\":[1,\"page-label\"],\"loginPath\":[1,\"login-path\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-edit-profile\",{\"editprofileheader\":[1],\"editprofiletext\":[1],\"canceltext\":[1],\"updatetext\":[1],\"firstnametext\":[1],\"lastnametext\":[1],\"currentregiontext\":[1],\"showregion\":[4],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-login\",{\"nextPage\":[1,\"next-page\"],\"emailLabel\":[1,\"email-label\"],\"passwordLabel\":[1,\"password-label\"],\"submitLabel\":[1,\"submit-label\"],\"forgotPasswordLabel\":[1,\"forgot-password-label\"],\"registerLabel\":[1,\"register-label\"],\"pageLabel\":[1,\"page-label\"],\"registerPath\":[1,\"register-path\"],\"forgotPasswordPath\":[1,\"forgot-password-path\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-brand\",{\"brandColor\":[1,\"brand-color\"],\"brandFont\":[1,\"brand-font\"],\"background\":[1]}],[1,\"sqm-card-feed\",{\"width\":[2],\"gap\":[2],\"ignored\":[32]}],[1,\"sqm-divided-layout\",{\"direction\":[1],\"dividerStyle\":[1,\"divider-style\"]}],[1,\"sqm-hero-image\",{\"imageUrl\":[1,\"image-url\"],\"overlayColor\":[1,\"overlay-color\"],\"overlayOpacity\":[1,\"overlay-opacity\"],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"imagePercentage\":[2,\"image-percentage\"],\"imagePos\":[1,\"image-pos\"],\"imageMobilePos\":[1,\"image-mobile-pos\"],\"header\":[1],\"description\":[1],\"buttonText\":[1,\"button-text\"],\"buttonLink\":[1,\"button-link\"],\"buttonNewTab\":[4,\"button-new-tab\"],\"paddingText\":[1,\"padding-text\"],\"paddingImage\":[1,\"padding-image\"]}],[0,\"sqm-hook-story-container\",{\"hookStory\":[16],\"ignored\":[32]}],[1,\"sqm-navigation-menu\",{\"includeDropdown\":[4,\"include-dropdown\"],\"menuLabel\":[1,\"menu-label\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-frame\",{\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-program-explainer\",{\"header\":[1],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"ignored\":[32]}],[1,\"sqm-program-explainer-step\",{\"header\":[1],\"description\":[1],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"imageUrl\":[1,\"image-url\"],\"icon\":[1]}],[4,\"sqm-program-menu\",{\"ignored\":[32]}],[1,\"sqm-referral-card\",{\"padding\":[1],\"verticalAlignment\":[1,\"vertical-alignment\"],\"ignored\":[32]}],[0,\"sqm-referral-iframe\",{\"iframeSrc\":[1,\"iframe-src\"],\"iframeHeight\":[1,\"iframe-height\"],\"iframeWidth\":[1,\"iframe-width\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-reward-exchange-list\",{\"buttonText\":[1,\"button-text\"],\"notAvailableError\":[1,\"not-available-error\"],\"chooseRewardTitle\":[1,\"choose-reward-title\"],\"chooseAmountTitle\":[1,\"choose-amount-title\"],\"confirmationTitle\":[1,\"confirmation-title\"],\"rewardTitle\":[1,\"reward-title\"],\"cancelText\":[1,\"cancel-text\"],\"backText\":[1,\"back-text\"],\"continueText\":[1,\"continue-text\"],\"continueToConfirmationText\":[1,\"continue-to-confirmation-text\"],\"redeemText\":[1,\"redeem-text\"],\"redeemTitle\":[1,\"redeem-title\"],\"redemptionSuccessText\":[1,\"redemption-success-text\"],\"sourceAmountMessage\":[1,\"source-amount-message\"],\"tooltiptext\":[1],\"doneText\":[1,\"done-text\"],\"selectText\":[1,\"select-text\"],\"queryError\":[1,\"query-error\"],\"redemptionError\":[1,\"redemption-error\"],\"notEnoughError\":[1,\"not-enough-error\"],\"promoCode\":[1,\"promo-code\"],\"skeletonCardNum\":[2,\"skeleton-card-num\"],\"rewardNameTitle\":[1,\"reward-name-title\"],\"rewardAmountTitle\":[1,\"reward-amount-title\"],\"costTitle\":[1,\"cost-title\"],\"demoData\":[16],\"ignored\":[32]}],[4,\"sqm-router\",{\"ignored\":[32]}],[1,\"sqm-scroll\",{\"buttonType\":[1,\"button-type\"],\"buttonText\":[1,\"button-text\"],\"scrollTagName\":[1,\"scroll-tag-name\"],\"scrollId\":[1,\"scroll-id\"],\"scrollAnimation\":[1,\"scroll-animation\"],\"ignored\":[32]}],[1,\"sqm-share-button\",{\"medium\":[1],\"programId\":[1,\"program-id\"],\"borderradius\":[2],\"backgroundcolor\":[1],\"textcolor\":[1],\"pill\":[4],\"disabled\":[4],\"type\":[1],\"size\":[1],\"iconslot\":[1],\"icon\":[1],\"hideicon\":[4],\"hidetext\":[4],\"sharetitle\":[1],\"sharetext\":[1],\"demoData\":[16]}],[1,\"sqm-share-code\",{\"programId\":[1,\"program-id\"],\"tooltiptext\":[1,\"tooltip-text\"],\"tooltiplifespan\":[2,\"tooltip-lifespan\"],\"demoData\":[16]}],[1,\"sqm-share-link\",{\"programId\":[1,\"program-id\"],\"tooltiptext\":[1,\"tooltip-text\"],\"tooltiplifespan\":[2,\"tooltip-lifespan\"],\"demoData\":[16]}],[1,\"sqm-task-card\",{\"rewardAmount\":[1,\"reward-amount\"],\"rewardUnit\":[1,\"reward-unit\"],\"cardTitle\":[1,\"card-title\"],\"description\":[1],\"repeatable\":[4],\"finite\":[2],\"showProgressBar\":[4,\"show-progress-bar\"],\"goal\":[2],\"steps\":[4],\"progressBarUnit\":[1,\"progress-bar-unit\"],\"expiryMessage\":[1,\"expiry-message\"],\"rewardDuration\":[1,\"reward-duration\"],\"startsOnMessage\":[1,\"starts-on-message\"],\"displayDuration\":[1,\"display-duration\"],\"endedMessage\":[1,\"ended-message\"],\"completedText\":[1,\"completed-text\"],\"buttonText\":[1,\"button-text\"],\"buttonLink\":[1,\"button-link\"],\"openNewTab\":[4,\"open-new-tab\"],\"statType\":[1,\"stat-type\"],\"eventKey\":[1,\"event-key\"],\"programId\":[1,\"program-id\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-timeline\",{\"icon\":[1],\"ignored\":[32]}],[1,\"sqm-timeline-entry\",{\"reward\":[1],\"unit\":[1],\"desc\":[1],\"line\":[4],\"icon\":[1],\"ignored\":[32]}],[1,\"sqm-user-name\",{\"fallback\":[1],\"loadingText\":[1,\"loading-text\"],\"demoData\":[16],\"_ignored\":[32]}],[1,\"sqm-table-cell\",{\"colspan\":[2],\"padding\":[1]}],[1,\"sqm-table-row\",{\"border\":[1]}]]],[\"sqm-rewards-table_9.cjs\",[[1,\"sqm-rewards-table\",{\"programId\":[1,\"program-id\"],\"perPage\":[2,\"per-page\"],\"showLabels\":[4,\"show-labels\"],\"prevLabel\":[1,\"prev-label\"],\"moreLabel\":[1,\"more-label\"],\"hiddenColumns\":[1,\"hidden-columns\"],\"smBreakpoint\":[2,\"sm-breakpoint\"],\"mdBreakpoint\":[2,\"md-breakpoint\"],\"emptyStateImage\":[1,\"empty-state-image\"],\"emptyStateHeader\":[1,\"empty-state-header\"],\"emptyStateText\":[1,\"empty-state-text\"],\"demoData\":[16]}],[1,\"sqm-rewards-table-date-column\",{\"columnTitle\":[1,\"column-title\"],\"dateShown\":[1,\"date-shown\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-reward-column\",{\"columnTitle\":[1,\"column-title\"],\"redeemedText\":[1,\"redeemed-text\"],\"availableText\":[1,\"available-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-source-column\",{\"columnTitle\":[1,\"column-title\"],\"anonymousUser\":[1,\"anonymous-user\"],\"deletedUser\":[1,\"deleted-user\"],\"rewardExchangeText\":[1,\"reward-exchange-text\"],\"referralText\":[1,\"referral-text\"],\"rewardSourceText\":[1,\"reward-source-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-status-column\",{\"columnTitle\":[1,\"column-title\"],\"statusText\":[1,\"status-text\"],\"expiryText\":[1,\"expiry-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-date-cell\",{\"date\":[2],\"locale\":[1],\"ignored\":[32]}],[1,\"sqm-rewards-table-reward-cell\",{\"reward\":[16],\"redeemedText\":[1,\"redeemed-text\"],\"availableText\":[1,\"available-text\"],\"locale\":[1]}],[1,\"sqm-rewards-table-source-cell\",{\"reward\":[16],\"deletedUserText\":[1,\"deleted-user-text\"],\"anonymousUserText\":[1,\"anonymous-user-text\"],\"rewardExchangeText\":[1,\"reward-exchange-text\"],\"referralText\":[1,\"referral-text\"],\"rewardSourceText\":[1,\"reward-source-text\"],\"locale\":[1]}],[1,\"sqm-rewards-table-status-cell\",{\"statusText\":[1,\"status-text\"],\"reward\":[16],\"expiryText\":[1,\"expiry-text\"],\"locale\":[1],\"pendingUsTax\":[1,\"pending-us-tax\"],\"pendingScheduled\":[1,\"pending-scheduled\"],\"pendingUnhandled\":[1,\"pending-unhandled\"]}]]],[\"sqm-referral-table_11.cjs\",[[1,\"sqm-referral-table-column\",{\"columnTitle\":[1,\"column-title\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table\",{\"programId\":[1,\"program-id\"],\"perPage\":[2,\"per-page\"],\"showLabels\":[4,\"show-labels\"],\"prevLabel\":[1,\"prev-label\"],\"moreLabel\":[1,\"more-label\"],\"showReferrer\":[4,\"show-referrer\"],\"hiddenColumns\":[1,\"hidden-columns\"],\"smBreakpoint\":[2,\"sm-breakpoint\"],\"mdBreakpoint\":[2,\"md-breakpoint\"],\"emptyStateImage\":[1,\"empty-state-image\"],\"emptyStateHeader\":[1,\"empty-state-header\"],\"emptyStateText\":[1,\"empty-state-text\"],\"demoData\":[16]}],[1,\"sqm-referral-table-date-column\",{\"columnTitle\":[1,\"column-title\"],\"dateShown\":[1,\"date-shown\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-rewards-column\",{\"columnTitle\":[1,\"column-title\"],\"statusText\":[1,\"status-text\"],\"statusLongText\":[1,\"status-long-text\"],\"fuelTankText\":[1,\"fuel-tank-text\"],\"rewardReceivedText\":[1,\"reward-received-text\"],\"expiringText\":[1,\"expiring-text\"],\"pendingForText\":[1,\"pending-for-text\"],\"hideDetails\":[4,\"hide-details\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-status-column\",{\"columnTitle\":[1,\"column-title\"],\"convertedStatusText\":[1,\"converted-status-text\"],\"inProgressStatusText\":[1,\"in-progress-status-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-user-column\",{\"columnTitle\":[1,\"column-title\"],\"anonymousUser\":[1,\"anonymous-user\"],\"deletedUser\":[1,\"deleted-user\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-cell\",{\"innerTemplate\":[1,\"inner-template\"],\"ignored\":[32]}],[1,\"sqm-referral-table-date-cell\",{\"date\":[2],\"locale\":[1],\"ignored\":[32]}],[1,\"sqm-referral-table-rewards-cell\",{\"rewards\":[16],\"hideDetails\":[4,\"hide-details\"],\"statusText\":[1,\"status-text\"],\"statusLongText\":[1,\"status-long-text\"],\"fuelTankText\":[1,\"fuel-tank-text\"],\"rewardReceivedText\":[1,\"reward-received-text\"],\"expiringText\":[1,\"expiring-text\"],\"pendingForText\":[1,\"pending-for-text\"],\"locale\":[1]}],[1,\"sqm-referral-table-status-cell\",{\"statusText\":[1,\"status-text\"],\"converted\":[4]}],[1,\"sqm-referral-table-user-cell\",{\"name\":[1]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"sqm-stencilbook.cjs\",[[4,\"sqm-stencilbook\",{\"ignored\":[32]}]]],[\"sqm-portal-reset-password.cjs\",[[1,\"sqm-portal-reset-password\",{\"nextPage\":[1,\"next-page\"],\"failedPage\":[1,\"failed-page\"],\"confirmPassword\":[4,\"confirm-password\"],\"resetPasswordHeader\":[1,\"reset-password-header\"],\"passwordResetHeader\":[1,\"password-reset-header\"],\"resetPasswordButtonText\":[1,\"reset-password-button-text\"],\"continueButtonText\":[1,\"continue-button-text\"],\"confirmPasswordFieldLabel\":[1,\"confirm-password-field-label\"],\"passwordFieldLabel\":[1,\"password-field-label\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-email-verification.cjs\",[[1,\"sqm-portal-email-verification\",{\"redirectPath\":[1,\"redirect-path\"],\"emailVerificationHeader\":[1,\"email-verification-header\"],\"resendEmailButtonText\":[1,\"resend-email-button-text\"],\"verifyMessage\":[1,\"verify-message\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-forgot-password.cjs\",[[1,\"sqm-portal-forgot-password\",{\"redirectPath\":[1,\"redirect-path\"],\"emailLabel\":[1,\"email-label\"],\"submitLabel\":[1,\"submit-label\"],\"loginPath\":[1,\"login-path\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-profile.cjs\",[[1,\"sqm-portal-profile\",{\"firstnametext\":[1],\"lastnametext\":[1],\"emailtext\":[1],\"countrytext\":[1],\"editProfileHeader\":[1,\"edit-profile-header\"],\"editProfileSubHeader\":[1,\"edit-profile-sub-header\"],\"submitChangeButtonText\":[1,\"submit-change-button-text\"],\"showCountry\":[4,\"show-country\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-portal-verify-email.cjs\",[[1,\"sqm-portal-verify-email\",{\"nextPage\":[1,\"next-page\"],\"failedPage\":[1,\"failed-page\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-asset-card.cjs\",[[1,\"sqm-asset-card\",{\"titleText\":[1,\"title-text\"],\"imgUrl\":[1,\"img-url\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-big-stat.cjs\",[[1,\"sqm-big-stat\",{\"statType\":[1,\"stat-type\"],\"flexReverse\":[4,\"flex-reverse\"],\"alignment\":[1],\"programId\":[1,\"program-id\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-graphql-client-provider.cjs\",[[4,\"sqm-graphql-client-provider\",{\"domain\":[1],\"ignored\":[32]}]]],[\"sqm-hero.cjs\",[[1,\"sqm-hero\",{\"columns\":[2],\"background\":[1],\"paddingSize\":[1,\"padding-size\"],\"secondaryBackground\":[1,\"secondary-background\"],\"wrapDirection\":[1,\"wrap-direction\"]}]]],[\"sqm-leaderboard-rank.cjs\",[[1,\"sqm-leaderboard-rank\",{\"rankType\":[1,\"rank-type\"],\"rankText\":[1,\"rank-text\"],\"leaderboardType\":[1,\"leaderboard-type\"],\"unrankedText\":[1,\"unranked-text\"],\"interval\":[1],\"demoData\":[16]}]]],[\"sqm-name-fields.cjs\",[[0,\"sqm-name-fields\",{\"firstNameLabel\":[1,\"first-name-label\"],\"lastNameLabel\":[1,\"last-name-label\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-navigation-sidebar.cjs\",[[1,\"sqm-navigation-sidebar\",{\"ignored\":[32]}]]],[\"sqm-navigation-sidebar-item.cjs\",[[1,\"sqm-navigation-sidebar-item\",{\"path\":[1],\"icon\":[1],\"label\":[1],\"demoData\":[16]}]]],[\"sqm-popup-container.cjs\",[[4,\"sqm-popup-container\",{\"poweredBy\":[4,\"powered-by\"],\"closeButton\":[4,\"close-button\"],\"closeButtonText\":[1,\"close-button-text\"],\"embedPadding\":[1,\"embed-padding\"],\"popupPadding\":[1,\"popup-padding\"]}]]],[\"sqm-portal-footer.cjs\",[[1,\"sqm-portal-footer\",{\"supportEmail\":[1,\"support-email\"],\"supportText\":[1,\"support-text\"],\"termsLink\":[1,\"terms-link\"],\"termsText\":[1,\"terms-text\"],\"faqLink\":[1,\"faq-link\"],\"faqText\":[1,\"faq-text\"],\"showPoweredBy\":[4,\"show-powered-by\"],\"poweredByLink\":[1,\"powered-by-link\"],\"paddingTop\":[1,\"padding-top\"],\"paddingRight\":[1,\"padding-right\"],\"paddingBottom\":[1,\"padding-bottom\"],\"paddingLeft\":[1,\"padding-left\"],\"ignored\":[32]}]]],[\"sqm-portal-logout.cjs\",[[1,\"sqm-portal-logout\",{\"nextPage\":[1,\"next-page\"],\"ignored\":[32]}]]],[\"sqm-portal-protected-route.cjs\",[[1,\"sqm-portal-protected-route\",{\"redirectTo\":[1,\"redirect-to\"],\"requireEmailVerification\":[4,\"require-email-verification\"],\"redirectToUnverified\":[1,\"redirect-to-unverified\"],\"ignored\":[32]}]]],[\"sqm-refresh-button.cjs\",[[1,\"sqm-refresh-button\",{\"icon\":[1]}]]],[\"sqm-route.cjs\",[[1,\"sqm-route\",{\"path\":[1],\"ignored\":[32]}]]],[\"sqm-stat-container.cjs\",[[1,\"sqm-stat-container\",{\"space\":[1],\"ignored\":[32]}]]],[\"sqm-tab.cjs\",[[4,\"sqm-tab\",{\"header\":[1]}]]],[\"sqm-tabs.cjs\",[[1,\"sqm-tabs\"]]],[\"sqm-text-span.cjs\",[[0,\"sqm-text-span\",{\"text\":[1],\"type\":[1],\"ignored\":[32]}]]],[\"sqm-password-field.cjs\",[[0,\"sqm-password-field\",{\"fieldLabel\":[1,\"field-label\"],\"enableValidation\":[4,\"enable-validation\"],\"demoData\":[16],\"ignored\":[32]}]]],[\"sqm-form-message.cjs\",[[1,\"sqm-form-message\",{\"type\":[1],\"icon\":[1],\"ignored\":[32]}]]],[\"sqm-empty_7.cjs\",[[1,\"sqm-empty\",{\"emptyStateImage\":[1,\"empty-state-image\"],\"emptyStateHeader\":[1,\"empty-state-header\"],\"emptyStateText\":[1,\"empty-state-text\"],\"table\":[4]}],[1,\"sqm-image\",{\"imageUrl\":[1,\"image-url\"],\"alignment\":[1],\"backgroundColor\":[1,\"background-color\"],\"minHeight\":[1,\"min-height\"]}],[1,\"sqm-portal-container\",{\"direction\":[1],\"padding\":[1],\"gap\":[1],\"minWidth\":[1,\"min-width\"],\"display\":[1],\"maxWidth\":[1,\"max-width\"],\"center\":[4],\"ignored\":[32]}],[1,\"sqm-table-cell\",{\"colspan\":[2],\"padding\":[1]}],[1,\"sqm-table-row\",{\"border\":[1]}],[4,\"sqm-text\",{\"ignored\":[32]}],[1,\"sqm-titled-section\",{\"label\":[1],\"textAlign\":[1,\"text-align\"],\"labelMargin\":[1,\"label-margin\"],\"padding\":[1]}]]],[\"sqm-rewards-table_9.cjs\",[[1,\"sqm-rewards-table\",{\"programId\":[1,\"program-id\"],\"perPage\":[2,\"per-page\"],\"showLabels\":[4,\"show-labels\"],\"prevLabel\":[1,\"prev-label\"],\"moreLabel\":[1,\"more-label\"],\"hiddenColumns\":[1,\"hidden-columns\"],\"smBreakpoint\":[2,\"sm-breakpoint\"],\"mdBreakpoint\":[2,\"md-breakpoint\"],\"demoData\":[16]}],[1,\"sqm-rewards-table-date-column\",{\"columnTitle\":[1,\"column-title\"],\"dateShown\":[1,\"date-shown\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-reward-column\",{\"columnTitle\":[1,\"column-title\"],\"redeemedText\":[1,\"redeemed-text\"],\"availableText\":[1,\"available-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-source-column\",{\"columnTitle\":[1,\"column-title\"],\"anonymousUser\":[1,\"anonymous-user\"],\"deletedUser\":[1,\"deleted-user\"],\"rewardExchangeText\":[1,\"reward-exchange-text\"],\"referralText\":[1,\"referral-text\"],\"rewardSourceText\":[1,\"reward-source-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-status-column\",{\"columnTitle\":[1,\"column-title\"],\"statusText\":[1,\"status-text\"],\"expiryText\":[1,\"expiry-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-rewards-table-date-cell\",{\"date\":[2],\"locale\":[1],\"ignored\":[32]}],[1,\"sqm-rewards-table-reward-cell\",{\"reward\":[16],\"redeemedText\":[1,\"redeemed-text\"],\"availableText\":[1,\"available-text\"],\"locale\":[1]}],[1,\"sqm-rewards-table-source-cell\",{\"reward\":[16],\"deletedUserText\":[1,\"deleted-user-text\"],\"anonymousUserText\":[1,\"anonymous-user-text\"],\"rewardExchangeText\":[1,\"reward-exchange-text\"],\"referralText\":[1,\"referral-text\"],\"rewardSourceText\":[1,\"reward-source-text\"],\"locale\":[1]}],[1,\"sqm-rewards-table-status-cell\",{\"statusText\":[1,\"status-text\"],\"reward\":[16],\"expiryText\":[1,\"expiry-text\"],\"locale\":[1],\"pendingUsTax\":[1,\"pending-us-tax\"],\"pendingScheduled\":[1,\"pending-scheduled\"],\"pendingUnhandled\":[1,\"pending-unhandled\"]}]]],[\"sqm-referral-table_11.cjs\",[[1,\"sqm-referral-table-column\",{\"columnTitle\":[1,\"column-title\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table\",{\"programId\":[1,\"program-id\"],\"perPage\":[2,\"per-page\"],\"showLabels\":[4,\"show-labels\"],\"prevLabel\":[1,\"prev-label\"],\"moreLabel\":[1,\"more-label\"],\"showReferrer\":[4,\"show-referrer\"],\"hiddenColumns\":[1,\"hidden-columns\"],\"smBreakpoint\":[2,\"sm-breakpoint\"],\"mdBreakpoint\":[2,\"md-breakpoint\"],\"demoData\":[16]}],[1,\"sqm-referral-table-date-column\",{\"columnTitle\":[1,\"column-title\"],\"dateShown\":[1,\"date-shown\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-rewards-column\",{\"columnTitle\":[1,\"column-title\"],\"statusText\":[1,\"status-text\"],\"statusLongText\":[1,\"status-long-text\"],\"fuelTankText\":[1,\"fuel-tank-text\"],\"rewardReceivedText\":[1,\"reward-received-text\"],\"expiringText\":[1,\"expiring-text\"],\"pendingForText\":[1,\"pending-for-text\"],\"hideDetails\":[4,\"hide-details\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-status-column\",{\"columnTitle\":[1,\"column-title\"],\"convertedStatusText\":[1,\"converted-status-text\"],\"inProgressStatusText\":[1,\"in-progress-status-text\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-user-column\",{\"columnTitle\":[1,\"column-title\"],\"anonymousUser\":[1,\"anonymous-user\"],\"deletedUser\":[1,\"deleted-user\"],\"renderCell\":[64],\"renderLabel\":[64]}],[1,\"sqm-referral-table-cell\",{\"innerTemplate\":[1,\"inner-template\"],\"ignored\":[32]}],[1,\"sqm-referral-table-date-cell\",{\"date\":[2],\"locale\":[1],\"ignored\":[32]}],[1,\"sqm-referral-table-rewards-cell\",{\"rewards\":[16],\"hideDetails\":[4,\"hide-details\"],\"statusText\":[1,\"status-text\"],\"statusLongText\":[1,\"status-long-text\"],\"fuelTankText\":[1,\"fuel-tank-text\"],\"rewardReceivedText\":[1,\"reward-received-text\"],\"expiringText\":[1,\"expiring-text\"],\"pendingForText\":[1,\"pending-for-text\"],\"locale\":[1]}],[1,\"sqm-referral-table-status-cell\",{\"statusText\":[1,\"status-text\"],\"converted\":[4]}],[1,\"sqm-referral-table-user-cell\",{\"name\":[1]}]]],[\"sqm-brand_27.cjs\",[[4,\"sqm-leaderboard\",{\"usersheading\":[1],\"statsheading\":[1],\"rankheading\":[1],\"showRank\":[4,\"show-rank\"],\"showUser\":[4,\"show-user\"],\"rankType\":[1,\"rank-type\"],\"leaderboardType\":[1,\"leaderboard-type\"],\"anonymousUser\":[1,\"anonymous-user\"],\"interval\":[1],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-change-password\",{\"modalChangePasswordHeader\":[1,\"modal-change-password-header\"],\"cancelText\":[1,\"cancel-text\"],\"changePasswordButtonText\":[1,\"change-password-button-text\"],\"passwordFieldLabel\":[1,\"password-field-label\"],\"confirmPasswordFieldLabel\":[1,\"confirm-password-field-label\"],\"successMessage\":[1,\"success-message\"],\"portalChangePasswordHeader\":[1,\"portal-change-password-header\"],\"portalChangePasswordButtonText\":[1,\"portal-change-password-button-text\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-register\",{\"nextPage\":[1,\"next-page\"],\"redirectPath\":[1,\"redirect-path\"],\"emailLabel\":[1,\"email-label\"],\"passwordLabel\":[1,\"password-label\"],\"submitLabel\":[1,\"submit-label\"],\"loginLabel\":[1,\"login-label\"],\"confirmPasswordLabel\":[1,\"confirm-password-label\"],\"confirmPassword\":[4,\"confirm-password\"],\"enablePasswordValidation\":[4,\"enable-password-validation\"],\"hideInputs\":[4,\"hide-inputs\"],\"pageLabel\":[1,\"page-label\"],\"loginPath\":[1,\"login-path\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-edit-profile\",{\"editprofileheader\":[1],\"editprofiletext\":[1],\"canceltext\":[1],\"updatetext\":[1],\"firstnametext\":[1],\"lastnametext\":[1],\"currentregiontext\":[1],\"showregion\":[4],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-login\",{\"nextPage\":[1,\"next-page\"],\"emailLabel\":[1,\"email-label\"],\"passwordLabel\":[1,\"password-label\"],\"submitLabel\":[1,\"submit-label\"],\"forgotPasswordLabel\":[1,\"forgot-password-label\"],\"registerLabel\":[1,\"register-label\"],\"pageLabel\":[1,\"page-label\"],\"registerPath\":[1,\"register-path\"],\"forgotPasswordPath\":[1,\"forgot-password-path\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-brand\",{\"brandColor\":[1,\"brand-color\"],\"brandFont\":[1,\"brand-font\"],\"background\":[1]}],[1,\"sqm-card-feed\",{\"width\":[2],\"gap\":[2],\"ignored\":[32]}],[1,\"sqm-divided-layout\",{\"direction\":[1],\"dividerStyle\":[1,\"divider-style\"]}],[1,\"sqm-hero-image\",{\"imageUrl\":[1,\"image-url\"],\"overlayColor\":[1,\"overlay-color\"],\"overlayOpacity\":[1,\"overlay-opacity\"],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"imagePercentage\":[2,\"image-percentage\"],\"imagePos\":[1,\"image-pos\"],\"imageMobilePos\":[1,\"image-mobile-pos\"],\"header\":[1],\"description\":[1],\"buttonText\":[1,\"button-text\"],\"buttonLink\":[1,\"button-link\"],\"buttonNewTab\":[4,\"button-new-tab\"],\"paddingText\":[1,\"padding-text\"],\"paddingImage\":[1,\"padding-image\"]}],[0,\"sqm-hook-story-container\",{\"hookStory\":[16],\"ignored\":[32]}],[1,\"sqm-navigation-menu\",{\"includeDropdown\":[4,\"include-dropdown\"],\"menuLabel\":[1,\"menu-label\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-portal-frame\",{\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-program-explainer\",{\"header\":[1],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"ignored\":[32]}],[1,\"sqm-program-explainer-step\",{\"header\":[1],\"description\":[1],\"textColor\":[1,\"text-color\"],\"backgroundColor\":[1,\"background-color\"],\"imageUrl\":[1,\"image-url\"],\"icon\":[1]}],[4,\"sqm-program-menu\",{\"ignored\":[32]}],[1,\"sqm-referral-card\",{\"verticalAlignment\":[1,\"vertical-alignment\"],\"ignored\":[32]}],[0,\"sqm-referral-iframe\",{\"iframeSrc\":[1,\"iframe-src\"],\"iframeHeight\":[1,\"iframe-height\"],\"iframeWidth\":[1,\"iframe-width\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-reward-exchange-list\",{\"buttonText\":[1,\"button-text\"],\"notAvailableError\":[1,\"not-available-error\"],\"chooseRewardTitle\":[1,\"choose-reward-title\"],\"chooseAmountTitle\":[1,\"choose-amount-title\"],\"confirmationTitle\":[1,\"confirmation-title\"],\"rewardTitle\":[1,\"reward-title\"],\"cancelText\":[1,\"cancel-text\"],\"backText\":[1,\"back-text\"],\"continueText\":[1,\"continue-text\"],\"continueToConfirmationText\":[1,\"continue-to-confirmation-text\"],\"redeemText\":[1,\"redeem-text\"],\"redeemTitle\":[1,\"redeem-title\"],\"redemptionSuccessText\":[1,\"redemption-success-text\"],\"sourceAmountMessage\":[1,\"source-amount-message\"],\"tooltiptext\":[1],\"doneText\":[1,\"done-text\"],\"selectText\":[1,\"select-text\"],\"queryError\":[1,\"query-error\"],\"redemptionError\":[1,\"redemption-error\"],\"notEnoughError\":[1,\"not-enough-error\"],\"promoCode\":[1,\"promo-code\"],\"skeletonCardNum\":[2,\"skeleton-card-num\"],\"rewardNameTitle\":[1,\"reward-name-title\"],\"rewardAmountTitle\":[1,\"reward-amount-title\"],\"costTitle\":[1,\"cost-title\"],\"demoData\":[16],\"ignored\":[32]}],[4,\"sqm-router\",{\"ignored\":[32]}],[1,\"sqm-scroll\",{\"buttonType\":[1,\"button-type\"],\"buttonText\":[1,\"button-text\"],\"scrollTagName\":[1,\"scroll-tag-name\"],\"scrollId\":[1,\"scroll-id\"],\"scrollAnimation\":[1,\"scroll-animation\"],\"ignored\":[32]}],[1,\"sqm-share-button\",{\"medium\":[1],\"programId\":[1,\"program-id\"],\"borderradius\":[2],\"backgroundcolor\":[1],\"textcolor\":[1],\"pill\":[4],\"disabled\":[4],\"type\":[1],\"size\":[1],\"iconslot\":[1],\"icon\":[1],\"hideicon\":[4],\"hidetext\":[4],\"sharetitle\":[1],\"sharetext\":[1],\"demoData\":[16]}],[1,\"sqm-share-code\",{\"programId\":[1,\"program-id\"],\"tooltiptext\":[1,\"tooltip-text\"],\"tooltiplifespan\":[2,\"tooltip-lifespan\"],\"demoData\":[16]}],[1,\"sqm-share-link\",{\"programId\":[1,\"program-id\"],\"tooltiptext\":[1,\"tooltip-text\"],\"tooltiplifespan\":[2,\"tooltip-lifespan\"],\"demoData\":[16]}],[1,\"sqm-task-card\",{\"rewardAmount\":[1,\"reward-amount\"],\"rewardUnit\":[1,\"reward-unit\"],\"cardTitle\":[1,\"card-title\"],\"description\":[1],\"repeatable\":[4],\"finite\":[2],\"showProgressBar\":[4,\"show-progress-bar\"],\"goal\":[2],\"steps\":[4],\"progressBarUnit\":[1,\"progress-bar-unit\"],\"expiryMessage\":[1,\"expiry-message\"],\"rewardDuration\":[1,\"reward-duration\"],\"startsOnMessage\":[1,\"starts-on-message\"],\"displayDuration\":[1,\"display-duration\"],\"endedMessage\":[1,\"ended-message\"],\"completedText\":[1,\"completed-text\"],\"buttonText\":[1,\"button-text\"],\"buttonLink\":[1,\"button-link\"],\"openNewTab\":[4,\"open-new-tab\"],\"statType\":[1,\"stat-type\"],\"eventKey\":[1,\"event-key\"],\"programId\":[1,\"program-id\"],\"demoData\":[16],\"ignored\":[32]}],[1,\"sqm-timeline\",{\"icon\":[1],\"ignored\":[32]}],[1,\"sqm-timeline-entry\",{\"reward\":[1],\"unit\":[1],\"desc\":[1],\"line\":[4],\"icon\":[1],\"ignored\":[32]}],[1,\"sqm-user-name\",{\"fallback\":[1],\"loadingText\":[1,\"loading-text\"],\"demoData\":[16],\"_ignored\":[32]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
25
|
|