@saasquatch/vanilla-components 1.2.4-2 → 1.2.4-5
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/sqh-copy-button_12.cjs.entry.js +1 -1
- package/dist/collection/components/copy-button/copy-button.js +12 -12
- package/dist/collection/components/copy-link-button/copy-link-button.js +4 -4
- package/dist/collection/components/global-container/global-container.js +4 -4
- package/dist/collection/components/image-component/image-component.js +6 -6
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +15 -5
- package/dist/collection/components/referral-code/referral-code.js +2 -0
- package/dist/collection/components/referral-list/referral-list.js +19 -17
- package/dist/collection/components/share-button-container/share-button-container.js +10 -10
- package/dist/collection/components/stat-component/stat-component.js +8 -0
- package/dist/collection/components/stats-container/stats-container.js +3 -0
- package/dist/esm/sqh-copy-button_12.entry.js +1 -1
- package/dist/esm-es5/sqh-copy-button_12.entry.js +1 -1
- package/dist/types/components/copy-button/copy-button.d.ts +6 -18
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +1 -7
- package/dist/types/components/global-container/global-container.d.ts +3 -5
- package/dist/types/components/image-component/image-component.d.ts +4 -8
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +10 -6
- package/dist/types/components/referral-code/referral-code.d.ts +2 -0
- package/dist/types/components/referral-list/referral-list.d.ts +15 -21
- package/dist/types/components/share-button-container/share-button-container.d.ts +9 -9
- package/dist/types/components/stat-component/stat-component.d.ts +6 -0
- package/dist/types/components/stats-container/stats-container.d.ts +3 -0
- package/dist/types/components.d.ts +90 -118
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
|
@@ -129,7 +129,7 @@ export class CopyButton {
|
|
|
129
129
|
"text": "\"COPY CODE\"",
|
|
130
130
|
"name": "default"
|
|
131
131
|
}],
|
|
132
|
-
"text": "
|
|
132
|
+
"text": ""
|
|
133
133
|
},
|
|
134
134
|
"attribute": "text",
|
|
135
135
|
"reflect": false
|
|
@@ -146,13 +146,13 @@ export class CopyButton {
|
|
|
146
146
|
"optional": false,
|
|
147
147
|
"docs": {
|
|
148
148
|
"tags": [{
|
|
149
|
-
"text": "Max Width",
|
|
149
|
+
"text": "Button Max Width",
|
|
150
150
|
"name": "uiName"
|
|
151
151
|
}, {
|
|
152
152
|
"text": "170",
|
|
153
153
|
"name": "default"
|
|
154
154
|
}],
|
|
155
|
-
"text": "
|
|
155
|
+
"text": ""
|
|
156
156
|
},
|
|
157
157
|
"attribute": "width",
|
|
158
158
|
"reflect": false
|
|
@@ -169,7 +169,7 @@ export class CopyButton {
|
|
|
169
169
|
"optional": false,
|
|
170
170
|
"docs": {
|
|
171
171
|
"tags": [{
|
|
172
|
-
"text": "
|
|
172
|
+
"text": "Button Color",
|
|
173
173
|
"name": "uiName"
|
|
174
174
|
}, {
|
|
175
175
|
"text": "color",
|
|
@@ -181,7 +181,7 @@ export class CopyButton {
|
|
|
181
181
|
"text": "#35b21e",
|
|
182
182
|
"name": "default"
|
|
183
183
|
}],
|
|
184
|
-
"text": "
|
|
184
|
+
"text": ""
|
|
185
185
|
},
|
|
186
186
|
"attribute": "backgroundcolor",
|
|
187
187
|
"reflect": false
|
|
@@ -204,7 +204,7 @@ export class CopyButton {
|
|
|
204
204
|
"text": "4",
|
|
205
205
|
"name": "default"
|
|
206
206
|
}],
|
|
207
|
-
"text": "
|
|
207
|
+
"text": "Define the radius of the corners with a pixel amount."
|
|
208
208
|
},
|
|
209
209
|
"attribute": "borderradius",
|
|
210
210
|
"reflect": false
|
|
@@ -221,7 +221,7 @@ export class CopyButton {
|
|
|
221
221
|
"optional": false,
|
|
222
222
|
"docs": {
|
|
223
223
|
"tags": [{
|
|
224
|
-
"text": "Text Color",
|
|
224
|
+
"text": "Button Text Color",
|
|
225
225
|
"name": "uiName"
|
|
226
226
|
}, {
|
|
227
227
|
"text": "color",
|
|
@@ -233,7 +233,7 @@ export class CopyButton {
|
|
|
233
233
|
"text": "#ffffff",
|
|
234
234
|
"name": "default"
|
|
235
235
|
}],
|
|
236
|
-
"text": "
|
|
236
|
+
"text": ""
|
|
237
237
|
},
|
|
238
238
|
"attribute": "textcolor",
|
|
239
239
|
"reflect": false
|
|
@@ -256,7 +256,7 @@ export class CopyButton {
|
|
|
256
256
|
"text": "14",
|
|
257
257
|
"name": "default"
|
|
258
258
|
}],
|
|
259
|
-
"text": "
|
|
259
|
+
"text": ""
|
|
260
260
|
},
|
|
261
261
|
"attribute": "fontsize",
|
|
262
262
|
"reflect": false
|
|
@@ -325,7 +325,7 @@ export class CopyButton {
|
|
|
325
325
|
"text": "\"referredReward\"",
|
|
326
326
|
"name": "default"
|
|
327
327
|
}],
|
|
328
|
-
"text": "
|
|
328
|
+
"text": "The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user."
|
|
329
329
|
},
|
|
330
330
|
"attribute": "rewardkey",
|
|
331
331
|
"reflect": false
|
|
@@ -365,7 +365,7 @@ export class CopyButton {
|
|
|
365
365
|
"optional": false,
|
|
366
366
|
"docs": {
|
|
367
367
|
"tags": [{
|
|
368
|
-
"text": "Code
|
|
368
|
+
"text": "Fuel Tank Code Color",
|
|
369
369
|
"name": "uiName"
|
|
370
370
|
}, {
|
|
371
371
|
"text": "color",
|
|
@@ -377,7 +377,7 @@ export class CopyButton {
|
|
|
377
377
|
"text": "#000000",
|
|
378
378
|
"name": "default"
|
|
379
379
|
}],
|
|
380
|
-
"text": "
|
|
380
|
+
"text": ""
|
|
381
381
|
},
|
|
382
382
|
"attribute": "codefontcolor",
|
|
383
383
|
"reflect": false
|
|
@@ -117,7 +117,7 @@ export class CopyLinkButton {
|
|
|
117
117
|
"text": "\"Copy\"",
|
|
118
118
|
"name": "default"
|
|
119
119
|
}],
|
|
120
|
-
"text": "
|
|
120
|
+
"text": ""
|
|
121
121
|
},
|
|
122
122
|
"attribute": "text",
|
|
123
123
|
"reflect": false
|
|
@@ -192,7 +192,7 @@ export class CopyLinkButton {
|
|
|
192
192
|
"text": "\"#5C6164\"",
|
|
193
193
|
"name": "default"
|
|
194
194
|
}],
|
|
195
|
-
"text": "
|
|
195
|
+
"text": ""
|
|
196
196
|
},
|
|
197
197
|
"attribute": "buttoncolor",
|
|
198
198
|
"reflect": false
|
|
@@ -209,7 +209,7 @@ export class CopyLinkButton {
|
|
|
209
209
|
"optional": false,
|
|
210
210
|
"docs": {
|
|
211
211
|
"tags": [{
|
|
212
|
-
"text": "Text Color",
|
|
212
|
+
"text": "Button Text Color",
|
|
213
213
|
"name": "uiName"
|
|
214
214
|
}, {
|
|
215
215
|
"text": "color",
|
|
@@ -221,7 +221,7 @@ export class CopyLinkButton {
|
|
|
221
221
|
"text": "\"#FFFFFF\"",
|
|
222
222
|
"name": "default"
|
|
223
223
|
}],
|
|
224
|
-
"text": "
|
|
224
|
+
"text": ""
|
|
225
225
|
},
|
|
226
226
|
"attribute": "textcolor",
|
|
227
227
|
"reflect": false
|
|
@@ -92,7 +92,7 @@ export class GlobalContainer {
|
|
|
92
92
|
"text": "color",
|
|
93
93
|
"name": "format"
|
|
94
94
|
}],
|
|
95
|
-
"text": "
|
|
95
|
+
"text": "The background colour of the component while in the loading state."
|
|
96
96
|
},
|
|
97
97
|
"attribute": "loadingcolor",
|
|
98
98
|
"reflect": false
|
|
@@ -138,10 +138,10 @@ export class GlobalContainer {
|
|
|
138
138
|
"optional": false,
|
|
139
139
|
"docs": {
|
|
140
140
|
"tags": [{
|
|
141
|
-
"text": "Max Width",
|
|
141
|
+
"text": "Container Max Width",
|
|
142
142
|
"name": "uiName"
|
|
143
143
|
}],
|
|
144
|
-
"text": "
|
|
144
|
+
"text": ""
|
|
145
145
|
},
|
|
146
146
|
"attribute": "maxwidth",
|
|
147
147
|
"reflect": false
|
|
@@ -161,7 +161,7 @@ export class GlobalContainer {
|
|
|
161
161
|
"text": "Show Powered By",
|
|
162
162
|
"name": "uiName"
|
|
163
163
|
}],
|
|
164
|
-
"text": "Show
|
|
164
|
+
"text": "Show the Powered by SaaSquatch link. This can only be disabled on Pro plans."
|
|
165
165
|
},
|
|
166
166
|
"attribute": "poweredby",
|
|
167
167
|
"reflect": false
|
|
@@ -62,7 +62,7 @@ export class ImageComponent {
|
|
|
62
62
|
"optional": false,
|
|
63
63
|
"docs": {
|
|
64
64
|
"tags": [{
|
|
65
|
-
"text": "URL",
|
|
65
|
+
"text": "Image URL",
|
|
66
66
|
"name": "uiName"
|
|
67
67
|
}, {
|
|
68
68
|
"text": "imageUpload",
|
|
@@ -71,7 +71,7 @@ export class ImageComponent {
|
|
|
71
71
|
"text": "url",
|
|
72
72
|
"name": "format"
|
|
73
73
|
}],
|
|
74
|
-
"text": "
|
|
74
|
+
"text": ""
|
|
75
75
|
},
|
|
76
76
|
"attribute": "url",
|
|
77
77
|
"reflect": false
|
|
@@ -91,7 +91,7 @@ export class ImageComponent {
|
|
|
91
91
|
"text": "Width",
|
|
92
92
|
"name": "uiName"
|
|
93
93
|
}],
|
|
94
|
-
"text": "
|
|
94
|
+
"text": "Define the width of the image with a pixel amount."
|
|
95
95
|
},
|
|
96
96
|
"attribute": "width",
|
|
97
97
|
"reflect": false
|
|
@@ -111,7 +111,7 @@ export class ImageComponent {
|
|
|
111
111
|
"text": "Border Radius",
|
|
112
112
|
"name": "uiName"
|
|
113
113
|
}],
|
|
114
|
-
"text": "
|
|
114
|
+
"text": "Define the radius of the corners with a pixel amount."
|
|
115
115
|
},
|
|
116
116
|
"attribute": "borderradius",
|
|
117
117
|
"reflect": false
|
|
@@ -128,7 +128,7 @@ export class ImageComponent {
|
|
|
128
128
|
"optional": false,
|
|
129
129
|
"docs": {
|
|
130
130
|
"tags": [{
|
|
131
|
-
"text": "Alignment",
|
|
131
|
+
"text": "Horizontal Alignment",
|
|
132
132
|
"name": "uiName"
|
|
133
133
|
}, {
|
|
134
134
|
"text": "[\"left\", \"center\", \"right\"]",
|
|
@@ -140,7 +140,7 @@ export class ImageComponent {
|
|
|
140
140
|
"text": "\"center\"",
|
|
141
141
|
"name": "default"
|
|
142
142
|
}],
|
|
143
|
-
"text": "
|
|
143
|
+
"text": ""
|
|
144
144
|
},
|
|
145
145
|
"attribute": "alignment",
|
|
146
146
|
"reflect": false
|
|
@@ -3,6 +3,10 @@ import { css } from "emotion";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Partner Stat
|
|
5
5
|
* @canvasRenderer always-replace
|
|
6
|
+
* @exampleGroup Statistics
|
|
7
|
+
* @example Pending CASH/CAD - <sqh-partner-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit" statdescription="Pending Balance" paddingtop="10" paddingbottom="10"></sqh-partner-stat-component>
|
|
8
|
+
* @example Available CASH/CAD - <sqh-partner-stat-component stattype="/rewardBalance/CREDIT/CASH_CAD/prettyValue" statdescription="Available Balance" paddingtop="10" paddingbottom="10" statcolor="#4CAF50"></sqh-partner-stat-component>
|
|
9
|
+
* @example Redeemed CASH/CAD - <sqh-partner-stat-component stattype="/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit" statdescription="Redeemed Balance" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-partner-stat-component>
|
|
6
10
|
*/
|
|
7
11
|
export class PartnerStatComponent {
|
|
8
12
|
componentWillLoad() {
|
|
@@ -74,8 +78,11 @@ export class PartnerStatComponent {
|
|
|
74
78
|
}, {
|
|
75
79
|
"text": undefined,
|
|
76
80
|
"name": "required"
|
|
81
|
+
}, {
|
|
82
|
+
"text": "1",
|
|
83
|
+
"name": "minLength"
|
|
77
84
|
}],
|
|
78
|
-
"text": "
|
|
85
|
+
"text": "Determines what type of stat is displayed. Manual paths are also supported."
|
|
79
86
|
},
|
|
80
87
|
"attribute": "stattype",
|
|
81
88
|
"reflect": false
|
|
@@ -92,8 +99,11 @@ export class PartnerStatComponent {
|
|
|
92
99
|
"optional": false,
|
|
93
100
|
"docs": {
|
|
94
101
|
"tags": [{
|
|
95
|
-
"text": "
|
|
102
|
+
"text": "Value",
|
|
96
103
|
"name": "uiName"
|
|
104
|
+
}, {
|
|
105
|
+
"text": undefined,
|
|
106
|
+
"name": "undocumented"
|
|
97
107
|
}],
|
|
98
108
|
"text": "Value of the stat"
|
|
99
109
|
},
|
|
@@ -112,10 +122,10 @@ export class PartnerStatComponent {
|
|
|
112
122
|
"optional": false,
|
|
113
123
|
"docs": {
|
|
114
124
|
"tags": [{
|
|
115
|
-
"text": "
|
|
125
|
+
"text": "Description",
|
|
116
126
|
"name": "uiName"
|
|
117
127
|
}],
|
|
118
|
-
"text": "
|
|
128
|
+
"text": ""
|
|
119
129
|
},
|
|
120
130
|
"attribute": "statdescription",
|
|
121
131
|
"reflect": false
|
|
@@ -132,7 +142,7 @@ export class PartnerStatComponent {
|
|
|
132
142
|
"optional": false,
|
|
133
143
|
"docs": {
|
|
134
144
|
"tags": [{
|
|
135
|
-
"text": "
|
|
145
|
+
"text": "Color",
|
|
136
146
|
"name": "uiName"
|
|
137
147
|
}, {
|
|
138
148
|
"text": "color",
|
|
@@ -5,6 +5,8 @@ import { API } from "../../services/WidgetHost";
|
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Referral List
|
|
7
7
|
* @canvasRenderer always-replace
|
|
8
|
+
* @exampleGroup Referrals
|
|
9
|
+
* @example Referral List - <sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list>
|
|
8
10
|
*/
|
|
9
11
|
export class ReferralList {
|
|
10
12
|
constructor() {
|
|
@@ -282,7 +284,7 @@ export class ReferralList {
|
|
|
282
284
|
"text": "\"darkslategray\"",
|
|
283
285
|
"name": "default"
|
|
284
286
|
}],
|
|
285
|
-
"text": "Text color of the referred
|
|
287
|
+
"text": "Text color of the referred user's name"
|
|
286
288
|
},
|
|
287
289
|
"attribute": "referralnamecolor",
|
|
288
290
|
"reflect": false
|
|
@@ -311,7 +313,7 @@ export class ReferralList {
|
|
|
311
313
|
"text": "\"lightgray\"",
|
|
312
314
|
"name": "default"
|
|
313
315
|
}],
|
|
314
|
-
"text": "
|
|
316
|
+
"text": ""
|
|
315
317
|
},
|
|
316
318
|
"attribute": "referraltextcolor",
|
|
317
319
|
"reflect": false
|
|
@@ -334,7 +336,7 @@ export class ReferralList {
|
|
|
334
336
|
"text": "\"Your Friend\"",
|
|
335
337
|
"name": "default"
|
|
336
338
|
}],
|
|
337
|
-
"text": "Text shown when the referred
|
|
339
|
+
"text": "Text shown when the referred user's name is unknown"
|
|
338
340
|
},
|
|
339
341
|
"attribute": "unknownuser",
|
|
340
342
|
"reflect": false
|
|
@@ -351,10 +353,10 @@ export class ReferralList {
|
|
|
351
353
|
"optional": false,
|
|
352
354
|
"docs": {
|
|
353
355
|
"tags": [{
|
|
354
|
-
"text": "Show
|
|
356
|
+
"text": "Show Expired Rewards",
|
|
355
357
|
"name": "uiName"
|
|
356
358
|
}],
|
|
357
|
-
"text": "
|
|
359
|
+
"text": ""
|
|
358
360
|
},
|
|
359
361
|
"attribute": "showexpiry",
|
|
360
362
|
"reflect": false
|
|
@@ -374,7 +376,7 @@ export class ReferralList {
|
|
|
374
376
|
"text": "Show Customer Note",
|
|
375
377
|
"name": "uiName"
|
|
376
378
|
}],
|
|
377
|
-
"text": "
|
|
379
|
+
"text": ""
|
|
378
380
|
},
|
|
379
381
|
"attribute": "shownotes",
|
|
380
382
|
"reflect": false
|
|
@@ -417,7 +419,7 @@ export class ReferralList {
|
|
|
417
419
|
"optional": false,
|
|
418
420
|
"docs": {
|
|
419
421
|
"tags": [{
|
|
420
|
-
"text": "Show
|
|
422
|
+
"text": "Show Referred By",
|
|
421
423
|
"name": "uiName"
|
|
422
424
|
}, {
|
|
423
425
|
"text": "Referrer",
|
|
@@ -426,7 +428,7 @@ export class ReferralList {
|
|
|
426
428
|
"text": "\"\"",
|
|
427
429
|
"name": "default"
|
|
428
430
|
}],
|
|
429
|
-
"text": "Show
|
|
431
|
+
"text": "Show referral and reward information on who referred you."
|
|
430
432
|
},
|
|
431
433
|
"attribute": "showreferrer",
|
|
432
434
|
"reflect": false
|
|
@@ -510,7 +512,7 @@ export class ReferralList {
|
|
|
510
512
|
"text": "\"#4BB543\"",
|
|
511
513
|
"name": "default"
|
|
512
514
|
}],
|
|
513
|
-
"text": "Color of the successful reward icon and the
|
|
515
|
+
"text": "Color of the successful reward icon and text in the rewards column."
|
|
514
516
|
},
|
|
515
517
|
"attribute": "rewardcolor",
|
|
516
518
|
"reflect": false
|
|
@@ -527,7 +529,7 @@ export class ReferralList {
|
|
|
527
529
|
"optional": false,
|
|
528
530
|
"docs": {
|
|
529
531
|
"tags": [{
|
|
530
|
-
"text": "
|
|
532
|
+
"text": "Customer Note Color",
|
|
531
533
|
"name": "uiName"
|
|
532
534
|
}, {
|
|
533
535
|
"text": "Converted Referrals",
|
|
@@ -539,7 +541,7 @@ export class ReferralList {
|
|
|
539
541
|
"text": "color",
|
|
540
542
|
"name": "format"
|
|
541
543
|
}],
|
|
542
|
-
"text": "
|
|
544
|
+
"text": ""
|
|
543
545
|
},
|
|
544
546
|
"attribute": "customernotecolor",
|
|
545
547
|
"reflect": false
|
|
@@ -562,7 +564,7 @@ export class ReferralList {
|
|
|
562
564
|
"text": "Converted Referrals",
|
|
563
565
|
"name": "uiGroup"
|
|
564
566
|
}],
|
|
565
|
-
"text": "Show value of the first earned reward inside the rewards column"
|
|
567
|
+
"text": "Show the value of the first earned reward inside the rewards column"
|
|
566
568
|
},
|
|
567
569
|
"attribute": "usefirstreward",
|
|
568
570
|
"reflect": false
|
|
@@ -649,7 +651,7 @@ export class ReferralList {
|
|
|
649
651
|
"text": "\"lightgray\"",
|
|
650
652
|
"name": "default"
|
|
651
653
|
}],
|
|
652
|
-
"text": "Color of the pending icon and text"
|
|
654
|
+
"text": "Color of the pending reward icon and text in the rewards column."
|
|
653
655
|
},
|
|
654
656
|
"attribute": "pendingcolor",
|
|
655
657
|
"reflect": false
|
|
@@ -733,7 +735,7 @@ export class ReferralList {
|
|
|
733
735
|
"text": "\"lightgray\"",
|
|
734
736
|
"name": "default"
|
|
735
737
|
}],
|
|
736
|
-
"text": "Color of the expired icon and text"
|
|
738
|
+
"text": "Color of the expired reward icon and text in the rewards column."
|
|
737
739
|
},
|
|
738
740
|
"attribute": "expiredcolor",
|
|
739
741
|
"reflect": false
|
|
@@ -840,7 +842,7 @@ export class ReferralList {
|
|
|
840
842
|
"text": "\"#C81D05\"",
|
|
841
843
|
"name": "default"
|
|
842
844
|
}],
|
|
843
|
-
"text": "Color of the cancelled icon and text"
|
|
845
|
+
"text": "Color of the cancelled icon and text in the rewards column."
|
|
844
846
|
},
|
|
845
847
|
"attribute": "cancelledcolor",
|
|
846
848
|
"reflect": false
|
|
@@ -866,7 +868,7 @@ export class ReferralList {
|
|
|
866
868
|
"text": "\"Signed up, referred {date}\"",
|
|
867
869
|
"name": "default"
|
|
868
870
|
}],
|
|
869
|
-
"text": "
|
|
871
|
+
"text": "Content shown in the referral column for a cancelled reward."
|
|
870
872
|
},
|
|
871
873
|
"attribute": "cancelledcontent",
|
|
872
874
|
"reflect": false
|
|
@@ -892,7 +894,7 @@ export class ReferralList {
|
|
|
892
894
|
"text": "\"Cancelled Reward\"",
|
|
893
895
|
"name": "default"
|
|
894
896
|
}],
|
|
895
|
-
"text": "
|
|
897
|
+
"text": "Text shown alongside the icon in the referral column for a cancelled reward."
|
|
896
898
|
},
|
|
897
899
|
"attribute": "cancelledvalue",
|
|
898
900
|
"reflect": false
|
|
@@ -16,7 +16,7 @@ export class ShareButtonContainer {
|
|
|
16
16
|
*/
|
|
17
17
|
this.emailicon = "mail";
|
|
18
18
|
/**
|
|
19
|
-
* CSS
|
|
19
|
+
* CSS class name for additional styling.
|
|
20
20
|
*
|
|
21
21
|
* @uiName Email Class Name
|
|
22
22
|
* @uiGroup Email
|
|
@@ -458,7 +458,7 @@ export class ShareButtonContainer {
|
|
|
458
458
|
"text": "Email",
|
|
459
459
|
"name": "uiGroup"
|
|
460
460
|
}],
|
|
461
|
-
"text": "CSS
|
|
461
|
+
"text": "CSS class name for additional styling."
|
|
462
462
|
},
|
|
463
463
|
"attribute": "emailclass-name",
|
|
464
464
|
"reflect": false,
|
|
@@ -697,7 +697,7 @@ export class ShareButtonContainer {
|
|
|
697
697
|
"text": "Facebook",
|
|
698
698
|
"name": "uiGroup"
|
|
699
699
|
}],
|
|
700
|
-
"text": "CSS
|
|
700
|
+
"text": "CSS class name for additional styling."
|
|
701
701
|
},
|
|
702
702
|
"attribute": "facebookclass-name",
|
|
703
703
|
"reflect": false
|
|
@@ -937,7 +937,7 @@ export class ShareButtonContainer {
|
|
|
937
937
|
"text": "Twitter",
|
|
938
938
|
"name": "uiGroup"
|
|
939
939
|
}],
|
|
940
|
-
"text": "CSS
|
|
940
|
+
"text": "CSS class name for additional styling."
|
|
941
941
|
},
|
|
942
942
|
"attribute": "twitterclass-name",
|
|
943
943
|
"reflect": false
|
|
@@ -1177,7 +1177,7 @@ export class ShareButtonContainer {
|
|
|
1177
1177
|
"text": "SMS",
|
|
1178
1178
|
"name": "uiGroup"
|
|
1179
1179
|
}],
|
|
1180
|
-
"text": "CSS
|
|
1180
|
+
"text": "CSS class name for additional styling."
|
|
1181
1181
|
},
|
|
1182
1182
|
"attribute": "smsclass-name",
|
|
1183
1183
|
"reflect": false
|
|
@@ -1416,7 +1416,7 @@ export class ShareButtonContainer {
|
|
|
1416
1416
|
"text": "WhatsApp",
|
|
1417
1417
|
"name": "uiGroup"
|
|
1418
1418
|
}],
|
|
1419
|
-
"text": "CSS
|
|
1419
|
+
"text": "CSS class name for additional styling."
|
|
1420
1420
|
},
|
|
1421
1421
|
"attribute": "whatsappclass-name",
|
|
1422
1422
|
"reflect": false
|
|
@@ -1657,7 +1657,7 @@ export class ShareButtonContainer {
|
|
|
1657
1657
|
"text": "LinkedIn",
|
|
1658
1658
|
"name": "uiGroup"
|
|
1659
1659
|
}],
|
|
1660
|
-
"text": "CSS
|
|
1660
|
+
"text": "CSS class name for additional styling."
|
|
1661
1661
|
},
|
|
1662
1662
|
"attribute": "linkedinclass-name",
|
|
1663
1663
|
"reflect": false
|
|
@@ -1896,7 +1896,7 @@ export class ShareButtonContainer {
|
|
|
1896
1896
|
"text": "Pinterest",
|
|
1897
1897
|
"name": "uiGroup"
|
|
1898
1898
|
}],
|
|
1899
|
-
"text": "CSS
|
|
1899
|
+
"text": "CSS class name for additional styling."
|
|
1900
1900
|
},
|
|
1901
1901
|
"attribute": "pinterestclass-name",
|
|
1902
1902
|
"reflect": false
|
|
@@ -2137,7 +2137,7 @@ export class ShareButtonContainer {
|
|
|
2137
2137
|
"text": "Messenger",
|
|
2138
2138
|
"name": "uiGroup"
|
|
2139
2139
|
}],
|
|
2140
|
-
"text": "CSS
|
|
2140
|
+
"text": "CSS class name for additional styling."
|
|
2141
2141
|
},
|
|
2142
2142
|
"attribute": "messengerclass-name",
|
|
2143
2143
|
"reflect": false
|
|
@@ -2378,7 +2378,7 @@ export class ShareButtonContainer {
|
|
|
2378
2378
|
"text": "Line Messenger",
|
|
2379
2379
|
"name": "uiGroup"
|
|
2380
2380
|
}],
|
|
2381
|
-
"text": "CSS
|
|
2381
|
+
"text": "CSS class name for additional styling."
|
|
2382
2382
|
},
|
|
2383
2383
|
"attribute": "lineclass-name",
|
|
2384
2384
|
"reflect": false
|
|
@@ -3,6 +3,11 @@ import { css } from "emotion";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Stat Component
|
|
5
5
|
* @canvasRenderer always-replace
|
|
6
|
+
* @exampleGroup Statistics
|
|
7
|
+
* @example Referral Count - <sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
8
|
+
* @example Reward Count - <sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
9
|
+
* @example Credit Earned - <sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
10
|
+
* @example Points Earned - <sqh-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/POINT/totalAssignedCredit" statdescription="Points Earned" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
6
11
|
*/
|
|
7
12
|
export class StatComponent {
|
|
8
13
|
componentWillLoad() {
|
|
@@ -74,6 +79,9 @@ export class StatComponent {
|
|
|
74
79
|
}, {
|
|
75
80
|
"text": undefined,
|
|
76
81
|
"name": "required"
|
|
82
|
+
}, {
|
|
83
|
+
"text": "1",
|
|
84
|
+
"name": "minLength"
|
|
77
85
|
}],
|
|
78
86
|
"text": "Type of stat being displayed. e.g /rewardsCount"
|
|
79
87
|
},
|
|
@@ -6,6 +6,9 @@ import { css } from "emotion";
|
|
|
6
6
|
* @uiName Stats Container
|
|
7
7
|
* @canvasRenderer always-replace
|
|
8
8
|
* @slots [{"name":"","title":"Stats"}]
|
|
9
|
+
* @exampleGroup Statistics
|
|
10
|
+
* @example Referral Stat Group - <sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container>
|
|
11
|
+
* @example Partner Stat Group - <sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-partner-stat-component ishidden="false" statcolor="#000000" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit" statdescription="Pending Balance" paddingtop="10" paddingbottom="10"></sqh-partner-stat-component><sqh-partner-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyValue" statdescription="Available Balance" paddingtop="10" paddingbottom="10" statcolor="#4caf50"></sqh-partner-stat-component><sqh-partner-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit" statdescription="Redeemed Balance" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-partner-stat-component></sqh-stats-container>
|
|
9
12
|
*/
|
|
10
13
|
export class StatsContainer {
|
|
11
14
|
constructor() {
|
|
@@ -6752,7 +6752,7 @@ var ShareButtonContainer = /** @class */ (function () {
|
|
|
6752
6752
|
*/
|
|
6753
6753
|
this.emailicon = "mail";
|
|
6754
6754
|
/**
|
|
6755
|
-
* CSS
|
|
6755
|
+
* CSS class name for additional styling.
|
|
6756
6756
|
*
|
|
6757
6757
|
* @uiName Email Class Name
|
|
6758
6758
|
* @uiGroup Email
|