@saasquatch/mint-components 1.5.0-2 → 1.5.0-3
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-brand_31.cjs.entry.js +295 -121
- package/dist/cjs/sqm-program-explainer-step-view-98958ab1.js +64 -0
- package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +3 -16
- package/dist/cjs/sqm-program-explainer-view-ba7ed24a.js +44 -0
- package/dist/cjs/sqm-program-explainer.cjs.entry.js +4 -33
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +42 -29
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +35 -28
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +112 -5
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +35 -20
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +23 -46
- 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 +133 -87
- 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 +17 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-brand_31.entry.js +295 -121
- package/dist/esm/sqm-program-explainer-step-view-64fc0c37.js +62 -0
- package/dist/esm/sqm-program-explainer-step.entry.js +3 -16
- package/dist/esm/sqm-program-explainer-view-68f0d242.js +42 -0
- package/dist/esm/sqm-program-explainer.entry.js +7 -36
- 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 +2 -2
- package/dist/esm-es5/sqm-program-explainer-step-view-64fc0c37.js +1 -0
- package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
- package/dist/esm-es5/sqm-program-explainer-view-68f0d242.js +1 -0
- package/dist/esm-es5/sqm-program-explainer.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-1435350e.system.js +1 -0
- package/dist/mint-components/p-16f5a7cb.system.js +1 -1
- package/dist/mint-components/p-259d31fc.entry.js +1 -0
- package/dist/mint-components/p-5cda79ed.system.entry.js +1 -0
- package/dist/mint-components/p-6d6be8bd.system.js +1 -0
- package/dist/mint-components/p-864f49d2.system.entry.js +1 -0
- package/dist/mint-components/p-8c4931a5.js +1 -0
- package/dist/mint-components/p-adcde089.system.entry.js +58 -0
- package/dist/mint-components/p-bf7fcf0c.js +1 -0
- package/dist/mint-components/{p-7300b0ae.entry.js → p-dd865aa8.entry.js} +15 -15
- package/dist/mint-components/p-f52bc20c.entry.js +1 -0
- package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +3 -1
- 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 +23 -3
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +9 -12
- 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 +16 -0
- package/dist/types/components.d.ts +166 -19
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-program-explainer-step-view-0e66bea1.js +0 -49
- package/dist/esm/sqm-program-explainer-step-view-26920cf9.js +0 -47
- package/dist/esm-es5/sqm-program-explainer-step-view-26920cf9.js +0 -1
- package/dist/mint-components/p-1ea0804d.js +0 -1
- package/dist/mint-components/p-244f3d9b.system.entry.js +0 -1
- package/dist/mint-components/p-4fd17832.entry.js +0 -1
- package/dist/mint-components/p-9bda1dc4.system.entry.js +0 -1
- package/dist/mint-components/p-d12c666e.system.js +0 -1
- package/dist/mint-components/p-ded1509b.entry.js +0 -1
- package/dist/mint-components/p-f8c5f710.system.entry.js +0 -58
|
@@ -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-8c4931a5.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}
|
|
@@ -2,4 +2,6 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const OneStep: () => any;
|
|
6
|
+
export declare const TwoSteps: () => any;
|
|
7
|
+
export declare const ThreeSteps: () => any;
|
|
@@ -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;
|
|
@@ -1,10 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @uiName Navigation Sidebar
|
|
2
|
+
* @uiName Program Explainer
|
|
5
3
|
*/
|
|
6
4
|
export declare class ProgramExplainer {
|
|
7
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;
|
|
8
28
|
constructor();
|
|
9
29
|
disconnectedCallback(): void;
|
|
10
30
|
render(): any;
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { DemoData } from "../../global/demo";
|
|
2
|
-
import { ProgramExplainerStepViewProps } from "./sqm-program-explainer-step-view";
|
|
3
1
|
/**
|
|
4
|
-
* @uiName
|
|
2
|
+
* @uiName Program Explainer Step
|
|
5
3
|
*/
|
|
6
4
|
export declare class ProgramExplainerStep {
|
|
7
5
|
/**
|
|
8
|
-
* @uiName
|
|
6
|
+
* @uiName Title
|
|
9
7
|
*/
|
|
10
|
-
|
|
8
|
+
title: string;
|
|
11
9
|
/**
|
|
12
|
-
* @uiName
|
|
10
|
+
* @uiName Description
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
description: string;
|
|
15
13
|
/**
|
|
16
|
-
* @uiName
|
|
14
|
+
* @uiName Color
|
|
17
15
|
*/
|
|
18
|
-
|
|
16
|
+
color: string;
|
|
19
17
|
/**
|
|
20
|
-
* @
|
|
21
|
-
* @uiType object
|
|
18
|
+
* @uiName Background
|
|
22
19
|
*/
|
|
23
|
-
|
|
20
|
+
background: string;
|
|
24
21
|
constructor();
|
|
25
22
|
disconnectedCallback(): void;
|
|
26
23
|
render(): any;
|
|
@@ -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
|
|
@@ -32,6 +32,22 @@ export declare type ExchangeStep = {
|
|
|
32
32
|
available: boolean;
|
|
33
33
|
unavailableReasonCode: string;
|
|
34
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;
|
|
35
51
|
};
|
|
36
52
|
export declare type Stages = "" | "chooseReward" | "chooseAmount" | "confirmation";
|
|
37
53
|
export declare type ExchangeState = {
|
|
@@ -26,7 +26,6 @@ import { PortalProfileViewProps } from "./components/sqm-portal-profile/sqm-port
|
|
|
26
26
|
import { PortalRegisterViewProps } from "./components/sqm-portal-register/sqm-portal-register-view";
|
|
27
27
|
import { PortalResetPasswordViewProps } from "./components/sqm-portal-reset-password/sqm-portal-reset-password-view";
|
|
28
28
|
import { PortalVerifyEmailViewProps } from "./components/sqm-portal-verify-email/sqm-portal-verify-email-view";
|
|
29
|
-
import { ProgramExplainerStepViewProps } from "./components/sqm-program-explainer-step/sqm-program-explainer-step-view";
|
|
30
29
|
import { ReferralIframeViewProps } from "./components/sqm-referral-iframe/sqm-referral-iframe-view";
|
|
31
30
|
import { ReferralTableViewProps } from "./components/sqm-referral-table/sqm-referral-table-view";
|
|
32
31
|
import { ReferralDates } from "./components/sqm-referral-table/useReferralTable";
|
|
@@ -689,25 +688,46 @@ export namespace Components {
|
|
|
689
688
|
"nextPage": string;
|
|
690
689
|
}
|
|
691
690
|
interface SqmProgramExplainer {
|
|
691
|
+
/**
|
|
692
|
+
* @uiName Background
|
|
693
|
+
* @uiWidget color
|
|
694
|
+
*/
|
|
695
|
+
"background": string;
|
|
696
|
+
/**
|
|
697
|
+
* @uiName Color
|
|
698
|
+
* @uiWidget color
|
|
699
|
+
*/
|
|
700
|
+
"color": string;
|
|
701
|
+
/**
|
|
702
|
+
* @uiName Description
|
|
703
|
+
*/
|
|
704
|
+
"description": string;
|
|
705
|
+
/**
|
|
706
|
+
* @uiName Header
|
|
707
|
+
*/
|
|
708
|
+
"header": string;
|
|
709
|
+
/**
|
|
710
|
+
* @uiName Title
|
|
711
|
+
*/
|
|
712
|
+
"title": string;
|
|
692
713
|
}
|
|
693
714
|
interface SqmProgramExplainerStep {
|
|
694
715
|
/**
|
|
695
|
-
* @
|
|
696
|
-
* @uiType object
|
|
716
|
+
* @uiName Background
|
|
697
717
|
*/
|
|
698
|
-
"
|
|
718
|
+
"background": string;
|
|
699
719
|
/**
|
|
700
|
-
* @uiName
|
|
720
|
+
* @uiName Color
|
|
701
721
|
*/
|
|
702
|
-
"
|
|
722
|
+
"color": string;
|
|
703
723
|
/**
|
|
704
|
-
* @uiName
|
|
724
|
+
* @uiName Description
|
|
705
725
|
*/
|
|
706
|
-
"
|
|
726
|
+
"description": string;
|
|
707
727
|
/**
|
|
708
|
-
* @uiName
|
|
728
|
+
* @uiName Title
|
|
709
729
|
*/
|
|
710
|
-
"
|
|
730
|
+
"title": string;
|
|
711
731
|
}
|
|
712
732
|
interface SqmProgramMenu {
|
|
713
733
|
}
|
|
@@ -847,19 +867,72 @@ export namespace Components {
|
|
|
847
867
|
"renderLabel": () => Promise<string>;
|
|
848
868
|
}
|
|
849
869
|
interface SqmRewardExchangeList {
|
|
870
|
+
/**
|
|
871
|
+
* @uiName Back Button Text
|
|
872
|
+
*/
|
|
873
|
+
"backText": string;
|
|
850
874
|
/**
|
|
851
875
|
* @uiName Exchange button text
|
|
852
876
|
*/
|
|
853
877
|
"buttonText": string;
|
|
878
|
+
/**
|
|
879
|
+
* @uiName Cancel Button Text
|
|
880
|
+
*/
|
|
881
|
+
"cancelText": string;
|
|
882
|
+
/**
|
|
883
|
+
* @uiName Choose Amount Progress Title
|
|
884
|
+
*/
|
|
885
|
+
"chooseAmountTitle": string;
|
|
886
|
+
/**
|
|
887
|
+
* @uiName Choose Reward Progress Title
|
|
888
|
+
*/
|
|
889
|
+
"chooseRewardTitle": string;
|
|
890
|
+
/**
|
|
891
|
+
* @uiName Confirmation Progress Title
|
|
892
|
+
*/
|
|
893
|
+
"confirmationTitle": string;
|
|
894
|
+
/**
|
|
895
|
+
* @uiName Continue Button Text
|
|
896
|
+
*/
|
|
897
|
+
"continueText": string;
|
|
898
|
+
/**
|
|
899
|
+
* @uiName Continue to Confirmation Button Text
|
|
900
|
+
*/
|
|
901
|
+
"continueToConfirmationText": string;
|
|
854
902
|
/**
|
|
855
903
|
* @undocumented
|
|
856
904
|
* @uiType object
|
|
857
905
|
*/
|
|
858
906
|
"demoData"?: DemoData<RewardExchangeViewProps>;
|
|
907
|
+
/**
|
|
908
|
+
* @uiName Done Text
|
|
909
|
+
*/
|
|
910
|
+
"doneText": string;
|
|
859
911
|
/**
|
|
860
912
|
* @uiName Exchange button text
|
|
861
913
|
*/
|
|
862
914
|
"notAvailableError": string;
|
|
915
|
+
/**
|
|
916
|
+
* @uiName Not Enough Available Error Message
|
|
917
|
+
*/
|
|
918
|
+
"notEnoughError": string;
|
|
919
|
+
/**
|
|
920
|
+
* @uiName Reward List Error Message
|
|
921
|
+
*/
|
|
922
|
+
"queryError": string;
|
|
923
|
+
/**
|
|
924
|
+
* @uiName Redeem Button Text
|
|
925
|
+
*/
|
|
926
|
+
"redeemText": string;
|
|
927
|
+
/**
|
|
928
|
+
* @uiName Confirmation Title Text
|
|
929
|
+
*/
|
|
930
|
+
"redeemTitle": string;
|
|
931
|
+
/**
|
|
932
|
+
* @uiName Redemption Error Message
|
|
933
|
+
*/
|
|
934
|
+
"redemptionError": string;
|
|
935
|
+
"redemptionSuccessText": string;
|
|
863
936
|
}
|
|
864
937
|
interface SqmRewardsTable {
|
|
865
938
|
/**
|
|
@@ -2266,25 +2339,46 @@ declare namespace LocalJSX {
|
|
|
2266
2339
|
"nextPage"?: string;
|
|
2267
2340
|
}
|
|
2268
2341
|
interface SqmProgramExplainer {
|
|
2342
|
+
/**
|
|
2343
|
+
* @uiName Background
|
|
2344
|
+
* @uiWidget color
|
|
2345
|
+
*/
|
|
2346
|
+
"background"?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* @uiName Color
|
|
2349
|
+
* @uiWidget color
|
|
2350
|
+
*/
|
|
2351
|
+
"color"?: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* @uiName Description
|
|
2354
|
+
*/
|
|
2355
|
+
"description"?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
* @uiName Header
|
|
2358
|
+
*/
|
|
2359
|
+
"header"?: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* @uiName Title
|
|
2362
|
+
*/
|
|
2363
|
+
"title"?: string;
|
|
2269
2364
|
}
|
|
2270
2365
|
interface SqmProgramExplainerStep {
|
|
2271
2366
|
/**
|
|
2272
|
-
* @
|
|
2273
|
-
* @uiType object
|
|
2367
|
+
* @uiName Background
|
|
2274
2368
|
*/
|
|
2275
|
-
"
|
|
2369
|
+
"background"?: string;
|
|
2276
2370
|
/**
|
|
2277
|
-
* @uiName
|
|
2371
|
+
* @uiName Color
|
|
2278
2372
|
*/
|
|
2279
|
-
"
|
|
2373
|
+
"color"?: string;
|
|
2280
2374
|
/**
|
|
2281
|
-
* @uiName
|
|
2375
|
+
* @uiName Description
|
|
2282
2376
|
*/
|
|
2283
|
-
"
|
|
2377
|
+
"description"?: string;
|
|
2284
2378
|
/**
|
|
2285
|
-
* @uiName
|
|
2379
|
+
* @uiName Title
|
|
2286
2380
|
*/
|
|
2287
|
-
"
|
|
2381
|
+
"title"?: string;
|
|
2288
2382
|
}
|
|
2289
2383
|
interface SqmProgramMenu {
|
|
2290
2384
|
}
|
|
@@ -2414,19 +2508,72 @@ declare namespace LocalJSX {
|
|
|
2414
2508
|
"deletedUser"?: string;
|
|
2415
2509
|
}
|
|
2416
2510
|
interface SqmRewardExchangeList {
|
|
2511
|
+
/**
|
|
2512
|
+
* @uiName Back Button Text
|
|
2513
|
+
*/
|
|
2514
|
+
"backText"?: string;
|
|
2417
2515
|
/**
|
|
2418
2516
|
* @uiName Exchange button text
|
|
2419
2517
|
*/
|
|
2420
2518
|
"buttonText"?: string;
|
|
2519
|
+
/**
|
|
2520
|
+
* @uiName Cancel Button Text
|
|
2521
|
+
*/
|
|
2522
|
+
"cancelText"?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* @uiName Choose Amount Progress Title
|
|
2525
|
+
*/
|
|
2526
|
+
"chooseAmountTitle"?: string;
|
|
2527
|
+
/**
|
|
2528
|
+
* @uiName Choose Reward Progress Title
|
|
2529
|
+
*/
|
|
2530
|
+
"chooseRewardTitle"?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* @uiName Confirmation Progress Title
|
|
2533
|
+
*/
|
|
2534
|
+
"confirmationTitle"?: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* @uiName Continue Button Text
|
|
2537
|
+
*/
|
|
2538
|
+
"continueText"?: string;
|
|
2539
|
+
/**
|
|
2540
|
+
* @uiName Continue to Confirmation Button Text
|
|
2541
|
+
*/
|
|
2542
|
+
"continueToConfirmationText"?: string;
|
|
2421
2543
|
/**
|
|
2422
2544
|
* @undocumented
|
|
2423
2545
|
* @uiType object
|
|
2424
2546
|
*/
|
|
2425
2547
|
"demoData"?: DemoData<RewardExchangeViewProps>;
|
|
2548
|
+
/**
|
|
2549
|
+
* @uiName Done Text
|
|
2550
|
+
*/
|
|
2551
|
+
"doneText"?: string;
|
|
2426
2552
|
/**
|
|
2427
2553
|
* @uiName Exchange button text
|
|
2428
2554
|
*/
|
|
2429
2555
|
"notAvailableError"?: string;
|
|
2556
|
+
/**
|
|
2557
|
+
* @uiName Not Enough Available Error Message
|
|
2558
|
+
*/
|
|
2559
|
+
"notEnoughError"?: string;
|
|
2560
|
+
/**
|
|
2561
|
+
* @uiName Reward List Error Message
|
|
2562
|
+
*/
|
|
2563
|
+
"queryError"?: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* @uiName Redeem Button Text
|
|
2566
|
+
*/
|
|
2567
|
+
"redeemText"?: string;
|
|
2568
|
+
/**
|
|
2569
|
+
* @uiName Confirmation Title Text
|
|
2570
|
+
*/
|
|
2571
|
+
"redeemTitle"?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* @uiName Redemption Error Message
|
|
2574
|
+
*/
|
|
2575
|
+
"redemptionError"?: string;
|
|
2576
|
+
"redemptionSuccessText"?: string;
|
|
2430
2577
|
}
|
|
2431
2578
|
interface SqmRewardsTable {
|
|
2432
2579
|
/**
|