@saasquatch/mint-components 1.5.0-0 → 1.5.0-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-divided-layout_30.cjs.entry.js → sqm-brand_31.cjs.entry.js} +27134 -26654
- package/dist/cjs/sqm-program-explainer-step-view-74863815.js +70 -0
- package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +22 -0
- package/dist/cjs/sqm-program-explainer-view-afed92f5.js +45 -0
- package/dist/cjs/sqm-program-explainer.cjs.entry.js +23 -0
- package/dist/cjs/sqm-share-code.cjs.entry.js +19 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +93 -0
- package/dist/collection/components/sqm-brand/sqm-brand.js +97 -0
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +49 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +41 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +131 -0
- package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +22 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +66 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +123 -0
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +5 -3
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +38 -19
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +3 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +142 -102
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +349 -3
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +28 -4
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +0 -1
- package/dist/collection/components/sqm-share-code/useShareCode.js +20 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +20 -1
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +32 -4
- package/dist/collection/components/sqm-stencilbook/Themes.js +14 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +26 -18
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +37 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +8 -6
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +5 -6
- package/dist/collection/fonts/GoogleFonts.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-divided-layout_30.entry.js → sqm-brand_31.entry.js} +27128 -26649
- package/dist/esm/sqm-program-explainer-step-view-f190277a.js +68 -0
- package/dist/esm/sqm-program-explainer-step.entry.js +18 -0
- package/dist/esm/sqm-program-explainer-view-1c603bb7.js +43 -0
- package/dist/esm/sqm-program-explainer.entry.js +19 -0
- package/dist/esm/sqm-share-code.entry.js +20 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-brand_31.entry.js +58 -0
- package/dist/esm-es5/sqm-program-explainer-step-view-f190277a.js +1 -0
- package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -0
- package/dist/esm-es5/sqm-program-explainer-view-1c603bb7.js +1 -0
- package/dist/esm-es5/sqm-program-explainer.entry.js +1 -0
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-16f5a7cb.system.js +1 -1
- package/dist/mint-components/p-2d6421b6.system.js +1 -0
- package/dist/mint-components/p-3b6228f4.system.js +1 -0
- package/dist/mint-components/p-49cbd0a2.entry.js +13 -0
- package/dist/mint-components/p-5f4d838e.system.entry.js +58 -0
- package/dist/mint-components/p-6c9c4477.js +1 -0
- package/dist/mint-components/p-84dc4854.entry.js +397 -0
- package/dist/mint-components/p-96a1967b.entry.js +1 -0
- package/dist/mint-components/p-9e4e397a.system.entry.js +1 -0
- package/dist/mint-components/p-bc8b6125.js +1 -0
- package/dist/mint-components/p-bf1b79ba.entry.js +1 -0
- package/dist/mint-components/p-c3f91add.system.entry.js +1 -0
- package/dist/mint-components/p-e6d77d20.system.entry.js +1 -0
- package/dist/types/components/sqm-brand/SqmBrand.stories.d.ts +7 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +23 -0
- package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +7 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +9 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +31 -0
- package/dist/types/components/sqm-program-explainer-step/ProgramExplainerStep.stories.d.ts +5 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +8 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +29 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +2 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +85 -0
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +3 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +53 -0
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +17 -0
- package/dist/types/components/sqm-stencilbook/AutoColor.d.ts +15 -0
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +1 -0
- package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -1
- package/dist/types/components.d.ts +253 -2
- package/dist/types/fonts/GoogleFonts.d.ts +9 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/sqm-divided-layout_30.entry.js +0 -58
- package/dist/mint-components/p-55508395.system.entry.js +0 -1
- package/dist/mint-components/p-925ccb31.system.entry.js +0 -58
- package/dist/mint-components/p-cd410a05.entry.js +0 -9
- package/dist/mint-components/p-fdb484a0.entry.js +0 -392
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-db5a1e78.js";import{g as o}from"./p-fb1b6fdf.js";import{P as p}from"./p-bc8b6125.js";const a=class{constructor(r){s(this,r),t(this)}disconnectedCallback(){}render(){return r(p,Object.assign({},o(this)))}};export{a as sqm_program_explainer_step}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-3b6228f4.system.js"],(function(t){"use strict";var n,s,e,r,i;return{setters:[function(t){n=t.r;s=t.h},function(t){e=t.m},function(){},function(t){r=t.g},function(t){i=t.P}],execute:function(){var c=t("sqm_program_explainer_step",function(){function t(t){n(this,t);e(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return s(i,Object.assign({},r(this)))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as i}from"./p-64c3217a.js";import{j as t,c as e}from"./p-db5a1e78.js";function o(o){const a={Container:{display:"flex",flexDirection:"column",width:"100%",height:"444px",color:o.color,background:o.background,padding:"24px","@media (max-width: 1024px)":{flexDirection:"row",width:"auto",height:"auto"}},Logo:{},Text:{"@media (max-width: 1024px)":{marginLeft:"24px"}},Title:{fontSize:"16px",fontWeight:"var(--sl-font-weight-bold)",textTransform:"uppercase",lineHeight:"24px",marginTop:"24px","@media (max-width: 1024px)":{margin:"0"}},Description:{fontSize:"16px",lineHeight:"28px",marginTop:"12px","@media (max-width: 1024px)":{marginTop:"8px"}}};t.setup(e());const n=t.createStyleSheet(a),p=n.toString();return console.log(o),i("div",{class:n.classes.Container},i("style",{type:"text/css"},p),i("div",{class:n.classes.Logo},i("div",{style:{width:"64px",height:"64px",borderRadius:"100%",background:"#F4F5F7",color:"var(--sl-color-primary-400)",textAlign:"center",lineHeight:"72px"}},i("div",{style:{fontSize:"26px"}},i("sl-icon",{name:o.icon})))),i("div",{class:n.classes.Text},i("div",{class:n.classes.Title},o.title),i("div",{class:n.classes.Description},o.description)))}export{o as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-db5a1e78.js";import{g as o}from"./p-fb1b6fdf.js";import{P as a}from"./p-6c9c4477.js";const p=class{constructor(r){s(this,r),this.ignored=!0,t(this)}disconnectedCallback(){}render(){return r(a,Object.assign({},o(this)),r("slot",null))}};export{p as sqm_program_explainer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-2d6421b6.system.js"],(function(t){"use strict";var n,s,e,r,i;return{setters:[function(t){n=t.r;s=t.h},function(t){e=t.m},function(){},function(t){r=t.g},function(t){i=t.P}],execute:function(){var o=t("sqm_program_explainer",function(){function t(t){n(this,t);this.ignored=true;e(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return s(i,Object.assign({},r(this)),s("slot",null))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-4bd679a7.system.js","./p-126bcba1.system.js","./p-53b0c355.system.js"],(function(e){"use strict";var t,n,r,a,i,o,s,c,u,l,p,v,d,f;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.j;a=e.m},function(){},function(e){i=e.d;o=e.M;s=e.T;c=e.x;u=e.e;l=e.b;p=e.j},function(){},function(e){v=e.g},function(e){d=e.c},function(){},function(e){f=e.S}],execute:function(){var m=i.gql(__makeTemplateObject(["\n query ($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query ($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var g=i.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function _(e){var t,n;var a=o();var i=s();var p=c();var v=u(m,{programId:a},!(i===null||i===void 0?void 0:i.jwt)).data;var d=l(g)[0];var f=(n=(t=v===null||v===void 0?void 0:v.user)===null||t===void 0?void 0:t.referralCode)!==null&&n!==void 0?n:"...";var _=r(false),y=_[0],b=_[1];function j(){navigator.clipboard.writeText(f);b(true);setTimeout((function(){return b(false)}),e.tooltiplifespan);d({eventMeta:{programId:a,id:i===null||i===void 0?void 0:i.id,accountId:i===null||i===void 0?void 0:i.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:p,shareMedium:"DIRECT"}}})}return __assign(__assign({},e),{onClick:j,open:y,shareString:f})}var y=1e3;var b=e("sqm_share_code",function(){function e(e){t(this,e);this.tooltiptext="Copied to Clipboard";this.tooltiplifespan=y;a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v(this);var t=p()?j(e):_(e);return n(f,Object.assign({},t))};return e}());function j(e){var t=r(false),n=t[0],a=t[1];var i="https://www.example.com/sharelink/abc";return d({shareString:i,tooltiptext:e.tooltiptext,open:n,onClick:function(){navigator.clipboard.writeText(i);a(true);setTimeout((function(){return a(false)}),e.tooltiplifespan)}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @uiName Big Stat
|
|
4
|
+
* @slot the description of the component
|
|
5
|
+
*/
|
|
6
|
+
export declare class BrandComponent {
|
|
7
|
+
/**
|
|
8
|
+
* Controls the primary brand color used in the Mint Components library. Note that this
|
|
9
|
+
* does not affect vanilla components or other component libraries.
|
|
10
|
+
*
|
|
11
|
+
* @uiName Brand Color
|
|
12
|
+
*/
|
|
13
|
+
brandColor: string;
|
|
14
|
+
/**
|
|
15
|
+
* The brand font that you want to use
|
|
16
|
+
*
|
|
17
|
+
* @uiName Brand Font
|
|
18
|
+
*/
|
|
19
|
+
brandFont: string;
|
|
20
|
+
constructor();
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
render(): any;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VNode } from "../../stencil-public-runtime";
|
|
2
|
+
export interface ProgramExplainerViewProps {
|
|
3
|
+
header: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
color: string;
|
|
7
|
+
background: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function ProgramExplainerView(props: ProgramExplainerViewProps, children: VNode): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Program Explainer
|
|
3
|
+
*/
|
|
4
|
+
export declare class ProgramExplainer {
|
|
5
|
+
ignored: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @uiName Header
|
|
8
|
+
*/
|
|
9
|
+
header: string;
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Title
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* @uiName Description
|
|
16
|
+
*/
|
|
17
|
+
description: string;
|
|
18
|
+
/**
|
|
19
|
+
* @uiName Color
|
|
20
|
+
* @uiWidget color
|
|
21
|
+
*/
|
|
22
|
+
color: string;
|
|
23
|
+
/**
|
|
24
|
+
* @uiName Background
|
|
25
|
+
* @uiWidget color
|
|
26
|
+
*/
|
|
27
|
+
background: string;
|
|
28
|
+
constructor();
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Program Explainer Step
|
|
3
|
+
*/
|
|
4
|
+
export declare class ProgramExplainerStep {
|
|
5
|
+
/**
|
|
6
|
+
* @uiName Title
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* @uiName Description
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
/**
|
|
14
|
+
* @uiName Color
|
|
15
|
+
* @uiWidget color
|
|
16
|
+
*/
|
|
17
|
+
color: string;
|
|
18
|
+
/**
|
|
19
|
+
* @uiName Background
|
|
20
|
+
*/
|
|
21
|
+
background: string;
|
|
22
|
+
/**
|
|
23
|
+
* @uiName Icon
|
|
24
|
+
*/
|
|
25
|
+
icon: string;
|
|
26
|
+
constructor();
|
|
27
|
+
disconnectedCallback(): void;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -10,4 +10,6 @@ export declare const Confirm: () => any;
|
|
|
10
10
|
export declare const ConfirmVariable: () => any;
|
|
11
11
|
export declare const Error: () => any;
|
|
12
12
|
export declare const Success: () => any;
|
|
13
|
+
export declare const SuccessVariable: () => any;
|
|
14
|
+
export declare const SuccessPromo: () => any;
|
|
13
15
|
export declare const Loading: () => any;
|
|
@@ -11,15 +11,18 @@ export declare const rewardExchange: {
|
|
|
11
11
|
loading: boolean;
|
|
12
12
|
selectedItem: any;
|
|
13
13
|
selectedStep: any;
|
|
14
|
+
open: boolean;
|
|
14
15
|
};
|
|
15
16
|
data: {
|
|
16
17
|
exchangeList: any;
|
|
18
|
+
fuelTankCode: any;
|
|
17
19
|
};
|
|
18
20
|
callbacks: {
|
|
19
21
|
exchangeReward: any;
|
|
20
22
|
resetState: any;
|
|
21
23
|
setStage: any;
|
|
22
24
|
setExchangeState: any;
|
|
25
|
+
copyFuelTankCode: any;
|
|
23
26
|
refs: any;
|
|
24
27
|
};
|
|
25
28
|
refs: any;
|
|
@@ -37,15 +40,18 @@ export declare const rewardExchangeSelected: {
|
|
|
37
40
|
loading: boolean;
|
|
38
41
|
selectedItem: any;
|
|
39
42
|
selectedStep: any;
|
|
43
|
+
open: boolean;
|
|
40
44
|
};
|
|
41
45
|
data: {
|
|
42
46
|
exchangeList: any;
|
|
47
|
+
fuelTankCode: any;
|
|
43
48
|
};
|
|
44
49
|
callbacks: {
|
|
45
50
|
exchangeReward: any;
|
|
46
51
|
resetState: any;
|
|
47
52
|
setStage: any;
|
|
48
53
|
setExchangeState: any;
|
|
54
|
+
copyFuelTankCode: any;
|
|
49
55
|
refs: any;
|
|
50
56
|
};
|
|
51
57
|
refs: any;
|
|
@@ -63,15 +69,18 @@ export declare const chooseAmountVariable: {
|
|
|
63
69
|
loading: boolean;
|
|
64
70
|
selectedItem: any;
|
|
65
71
|
selectedStep: any;
|
|
72
|
+
open: boolean;
|
|
66
73
|
};
|
|
67
74
|
data: {
|
|
68
75
|
exchangeList: any;
|
|
76
|
+
fuelTankCode: any;
|
|
69
77
|
};
|
|
70
78
|
callbacks: {
|
|
71
79
|
exchangeReward: any;
|
|
72
80
|
resetState: any;
|
|
73
81
|
setStage: any;
|
|
74
82
|
setExchangeState: any;
|
|
83
|
+
copyFuelTankCode: any;
|
|
75
84
|
refs: any;
|
|
76
85
|
};
|
|
77
86
|
refs: any;
|
|
@@ -89,15 +98,18 @@ export declare const chooseAmountFixed: {
|
|
|
89
98
|
loading: boolean;
|
|
90
99
|
selectedItem: any;
|
|
91
100
|
selectedStep: any;
|
|
101
|
+
open: boolean;
|
|
92
102
|
};
|
|
93
103
|
data: {
|
|
94
104
|
exchangeList: any;
|
|
105
|
+
fuelTankCode: any;
|
|
95
106
|
};
|
|
96
107
|
callbacks: {
|
|
97
108
|
exchangeReward: any;
|
|
98
109
|
resetState: any;
|
|
99
110
|
setStage: any;
|
|
100
111
|
setExchangeState: any;
|
|
112
|
+
copyFuelTankCode: any;
|
|
101
113
|
refs: any;
|
|
102
114
|
};
|
|
103
115
|
refs: any;
|
|
@@ -115,15 +127,18 @@ export declare const confirmFixed: {
|
|
|
115
127
|
loading: boolean;
|
|
116
128
|
selectedItem: any;
|
|
117
129
|
selectedStep: any;
|
|
130
|
+
open: boolean;
|
|
118
131
|
};
|
|
119
132
|
data: {
|
|
120
133
|
exchangeList: any;
|
|
134
|
+
fuelTankCode: any;
|
|
121
135
|
};
|
|
122
136
|
callbacks: {
|
|
123
137
|
exchangeReward: any;
|
|
124
138
|
resetState: any;
|
|
125
139
|
setStage: any;
|
|
126
140
|
setExchangeState: any;
|
|
141
|
+
copyFuelTankCode: any;
|
|
127
142
|
refs: any;
|
|
128
143
|
};
|
|
129
144
|
refs: any;
|
|
@@ -141,15 +156,18 @@ export declare const confirmVariable: {
|
|
|
141
156
|
loading: boolean;
|
|
142
157
|
selectedItem: any;
|
|
143
158
|
selectedStep: any;
|
|
159
|
+
open: boolean;
|
|
144
160
|
};
|
|
145
161
|
data: {
|
|
146
162
|
exchangeList: any;
|
|
163
|
+
fuelTankCode: any;
|
|
147
164
|
};
|
|
148
165
|
callbacks: {
|
|
149
166
|
exchangeReward: any;
|
|
150
167
|
resetState: any;
|
|
151
168
|
setStage: any;
|
|
152
169
|
setExchangeState: any;
|
|
170
|
+
copyFuelTankCode: any;
|
|
153
171
|
refs: any;
|
|
154
172
|
};
|
|
155
173
|
refs: any;
|
|
@@ -167,15 +185,18 @@ export declare const error: {
|
|
|
167
185
|
loading: boolean;
|
|
168
186
|
selectedItem: any;
|
|
169
187
|
selectedStep: any;
|
|
188
|
+
open: boolean;
|
|
170
189
|
};
|
|
171
190
|
data: {
|
|
172
191
|
exchangeList: any;
|
|
192
|
+
fuelTankCode: any;
|
|
173
193
|
};
|
|
174
194
|
callbacks: {
|
|
175
195
|
exchangeReward: any;
|
|
176
196
|
resetState: any;
|
|
177
197
|
setStage: any;
|
|
178
198
|
setExchangeState: any;
|
|
199
|
+
copyFuelTankCode: any;
|
|
179
200
|
refs: any;
|
|
180
201
|
};
|
|
181
202
|
refs: any;
|
|
@@ -193,15 +214,76 @@ export declare const success: {
|
|
|
193
214
|
loading: boolean;
|
|
194
215
|
selectedItem: any;
|
|
195
216
|
selectedStep: any;
|
|
217
|
+
open: boolean;
|
|
196
218
|
};
|
|
197
219
|
data: {
|
|
198
220
|
exchangeList: any;
|
|
221
|
+
fuelTankCode: any;
|
|
199
222
|
};
|
|
200
223
|
callbacks: {
|
|
201
224
|
exchangeReward: any;
|
|
202
225
|
resetState: any;
|
|
203
226
|
setStage: any;
|
|
204
227
|
setExchangeState: any;
|
|
228
|
+
copyFuelTankCode: any;
|
|
229
|
+
refs: any;
|
|
230
|
+
};
|
|
231
|
+
refs: any;
|
|
232
|
+
};
|
|
233
|
+
export declare const success2: {
|
|
234
|
+
states: {
|
|
235
|
+
content: {
|
|
236
|
+
text: {
|
|
237
|
+
notAvailableError: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
redeemStage: string;
|
|
241
|
+
amount: number;
|
|
242
|
+
exchangeError: boolean;
|
|
243
|
+
loading: boolean;
|
|
244
|
+
selectedItem: any;
|
|
245
|
+
selectedStep: any;
|
|
246
|
+
open: boolean;
|
|
247
|
+
};
|
|
248
|
+
data: {
|
|
249
|
+
exchangeList: any;
|
|
250
|
+
fuelTankCode: any;
|
|
251
|
+
};
|
|
252
|
+
callbacks: {
|
|
253
|
+
exchangeReward: any;
|
|
254
|
+
resetState: any;
|
|
255
|
+
setStage: any;
|
|
256
|
+
setExchangeState: any;
|
|
257
|
+
copyFuelTankCode: any;
|
|
258
|
+
refs: any;
|
|
259
|
+
};
|
|
260
|
+
refs: any;
|
|
261
|
+
};
|
|
262
|
+
export declare const success3: {
|
|
263
|
+
states: {
|
|
264
|
+
content: {
|
|
265
|
+
text: {
|
|
266
|
+
notAvailableError: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
redeemStage: string;
|
|
270
|
+
amount: number;
|
|
271
|
+
exchangeError: boolean;
|
|
272
|
+
loading: boolean;
|
|
273
|
+
selectedItem: any;
|
|
274
|
+
selectedStep: any;
|
|
275
|
+
open: boolean;
|
|
276
|
+
};
|
|
277
|
+
data: {
|
|
278
|
+
exchangeList: any;
|
|
279
|
+
fuelTankCode: any;
|
|
280
|
+
};
|
|
281
|
+
callbacks: {
|
|
282
|
+
exchangeReward: any;
|
|
283
|
+
resetState: any;
|
|
284
|
+
setStage: any;
|
|
285
|
+
setExchangeState: any;
|
|
286
|
+
copyFuelTankCode: any;
|
|
205
287
|
refs: any;
|
|
206
288
|
};
|
|
207
289
|
refs: any;
|
|
@@ -219,15 +301,18 @@ export declare const loading: {
|
|
|
219
301
|
loading: boolean;
|
|
220
302
|
selectedItem: any;
|
|
221
303
|
selectedStep: any;
|
|
304
|
+
open: boolean;
|
|
222
305
|
};
|
|
223
306
|
data: {
|
|
224
307
|
exchangeList: any;
|
|
308
|
+
fuelTankCode: any;
|
|
225
309
|
};
|
|
226
310
|
callbacks: {
|
|
227
311
|
exchangeReward: any;
|
|
228
312
|
resetState: any;
|
|
229
313
|
setStage: any;
|
|
230
314
|
setExchangeState: any;
|
|
315
|
+
copyFuelTankCode: any;
|
|
231
316
|
refs: any;
|
|
232
317
|
};
|
|
233
318
|
refs: any;
|
|
@@ -6,7 +6,9 @@ export declare type RewardExchangeViewProps = {
|
|
|
6
6
|
redeemStage: string;
|
|
7
7
|
amount: number;
|
|
8
8
|
exchangeError?: boolean;
|
|
9
|
+
queryError?: boolean;
|
|
9
10
|
loading: boolean;
|
|
11
|
+
open: boolean;
|
|
10
12
|
content: {
|
|
11
13
|
text: any;
|
|
12
14
|
};
|
|
@@ -20,6 +22,7 @@ export declare type RewardExchangeViewProps = {
|
|
|
20
22
|
setStage: (stage?: Stages) => void;
|
|
21
23
|
resetState: (refresh?: boolean) => void;
|
|
22
24
|
setExchangeState: Function;
|
|
25
|
+
copyFuelTankCode: () => void;
|
|
23
26
|
};
|
|
24
27
|
};
|
|
25
28
|
export declare function RewardExchangeView(props: RewardExchangeViewProps): any;
|
|
@@ -13,6 +13,59 @@ export declare class SqmRewardExchangeList {
|
|
|
13
13
|
* @uiName Exchange button text
|
|
14
14
|
*/
|
|
15
15
|
notAvailableError: string;
|
|
16
|
+
/**
|
|
17
|
+
* @uiName Choose Reward Progress Title
|
|
18
|
+
*/
|
|
19
|
+
chooseRewardTitle: string;
|
|
20
|
+
/**
|
|
21
|
+
* @uiName Choose Amount Progress Title
|
|
22
|
+
*/
|
|
23
|
+
chooseAmountTitle: string;
|
|
24
|
+
/**
|
|
25
|
+
* @uiName Confirmation Progress Title
|
|
26
|
+
*/
|
|
27
|
+
confirmationTitle: string;
|
|
28
|
+
/**
|
|
29
|
+
* @uiName Cancel Button Text
|
|
30
|
+
*/
|
|
31
|
+
cancelText: string;
|
|
32
|
+
/**
|
|
33
|
+
* @uiName Back Button Text
|
|
34
|
+
*/
|
|
35
|
+
backText: string;
|
|
36
|
+
/**
|
|
37
|
+
* @uiName Continue Button Text
|
|
38
|
+
*/
|
|
39
|
+
continueText: string;
|
|
40
|
+
/**
|
|
41
|
+
* @uiName Continue to Confirmation Button Text
|
|
42
|
+
*/
|
|
43
|
+
continueToConfirmationText: string;
|
|
44
|
+
/**
|
|
45
|
+
* @uiName Redeem Button Text
|
|
46
|
+
*/
|
|
47
|
+
redeemText: string;
|
|
48
|
+
/**
|
|
49
|
+
* @uiName Confirmation Title Text
|
|
50
|
+
*/
|
|
51
|
+
redeemTitle: string;
|
|
52
|
+
redemptionSuccessText: string;
|
|
53
|
+
/**
|
|
54
|
+
* @uiName Done Text
|
|
55
|
+
*/
|
|
56
|
+
doneText: string;
|
|
57
|
+
/**
|
|
58
|
+
* @uiName Reward List Error Message
|
|
59
|
+
*/
|
|
60
|
+
queryError: string;
|
|
61
|
+
/**
|
|
62
|
+
* @uiName Redemption Error Message
|
|
63
|
+
*/
|
|
64
|
+
redemptionError: string;
|
|
65
|
+
/**
|
|
66
|
+
* @uiName Not Enough Available Error Message
|
|
67
|
+
*/
|
|
68
|
+
notEnoughError: string;
|
|
16
69
|
/**
|
|
17
70
|
* @undocumented
|
|
18
71
|
* @uiType object
|
|
@@ -31,6 +31,23 @@ export declare type ExchangeStep = {
|
|
|
31
31
|
prettySourceValue: string;
|
|
32
32
|
available: boolean;
|
|
33
33
|
unavailableReasonCode: string;
|
|
34
|
+
globalRewardKey: string;
|
|
35
|
+
rewardInput: ExchangeInput;
|
|
36
|
+
};
|
|
37
|
+
export declare type ExchangeInput = {
|
|
38
|
+
accountId: string;
|
|
39
|
+
userId: string;
|
|
40
|
+
redeemCreditInput?: {
|
|
41
|
+
amount: number;
|
|
42
|
+
unit: string;
|
|
43
|
+
};
|
|
44
|
+
rewardInput?: {
|
|
45
|
+
type: string;
|
|
46
|
+
unit: string;
|
|
47
|
+
assignedCredit?: number;
|
|
48
|
+
valueInCents?: number;
|
|
49
|
+
};
|
|
50
|
+
globalRewardKey?: string;
|
|
34
51
|
};
|
|
35
52
|
export declare type Stages = "" | "chooseReward" | "chooseAmount" | "confirmation";
|
|
36
53
|
export declare type ExchangeState = {
|
|
@@ -1 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated a Shoelace color scale css string from a base color
|
|
3
|
+
*
|
|
4
|
+
* @param color
|
|
5
|
+
* @param name
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
1
8
|
export declare function autoColorScaleCss(color: string, name?: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Generate a Shoelace color scale style objects from a base color
|
|
11
|
+
*
|
|
12
|
+
* @param color
|
|
13
|
+
* @param name
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function autoColorScaleStyleObject(color: string, name?: string): Record<string, any>;
|
|
@@ -14,3 +14,4 @@ export declare const Orangey: string;
|
|
|
14
14
|
export declare const Netflix: string;
|
|
15
15
|
export declare const SaaSquatchCorporate: string;
|
|
16
16
|
export declare const NYTimes: string;
|
|
17
|
+
export declare const Klip = "\n:root{\n\t--sl-color-primary-50: #E8E5F8;\n --sl-color-primary-100: #C6BEED;\n --sl-color-primary-200: #A192E2;\n --sl-color-primary-300: #7B66D6;\n --sl-color-primary-400: #5E46CD;\n --sl-color-primary-500: #4225C4;\n --sl-color-primary-600: #3C21BE;\n --sl-color-primary-700: #331BB6;\n --sl-color-primary-800: #2B16AF;\n --sl-color-primary-900: #1D0DA2;\n}\n";
|
|
@@ -17,3 +17,4 @@ export declare const ProgressBar: () => any;
|
|
|
17
17
|
export declare const ProgressBarSteps: () => any;
|
|
18
18
|
export declare const ProgressBarRepeatable: () => any;
|
|
19
19
|
export declare const ProgressBarStepsRepeatable: () => any;
|
|
20
|
+
export declare const ProgressBarStepsRepeatableFinite: () => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { ProgressBarProps } from "./progress-bar/progress-bar-view";
|
|
3
3
|
export declare type TaskCardViewProps = {
|
|
4
|
-
rewardAmount:
|
|
4
|
+
rewardAmount: string;
|
|
5
5
|
cardTitle: string;
|
|
6
6
|
description: string;
|
|
7
7
|
showProgressBar: boolean;
|