@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
|
@@ -15,22 +15,20 @@ export namespace Components {
|
|
|
15
15
|
}
|
|
16
16
|
interface SqhCopyButton {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @uiName Background Color
|
|
18
|
+
* @uiName Button Color
|
|
20
19
|
* @uiWidget color
|
|
21
20
|
* @format color
|
|
22
21
|
* @default #35b21e
|
|
23
22
|
*/
|
|
24
23
|
"backgroundcolor": string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* Define the radius of the corners with a pixel amount.
|
|
27
26
|
* @uiName Border Radius
|
|
28
27
|
* @default 4
|
|
29
28
|
*/
|
|
30
29
|
"borderradius": number;
|
|
31
30
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @uiName Code Font Color
|
|
31
|
+
* @uiName Fuel Tank Code Color
|
|
34
32
|
* @uiWidget color
|
|
35
33
|
* @format color
|
|
36
34
|
* @default #000000
|
|
@@ -55,7 +53,6 @@ export namespace Components {
|
|
|
55
53
|
*/
|
|
56
54
|
"copysuccess": string;
|
|
57
55
|
/**
|
|
58
|
-
* Font size of the copy button text.
|
|
59
56
|
* @uiName Font Size
|
|
60
57
|
* @default 14
|
|
61
58
|
*/
|
|
@@ -67,35 +64,31 @@ export namespace Components {
|
|
|
67
64
|
*/
|
|
68
65
|
"ishidden": boolean;
|
|
69
66
|
/**
|
|
70
|
-
*
|
|
67
|
+
* The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
|
|
71
68
|
* @uiName Reward Key
|
|
72
69
|
* @default "referredReward"
|
|
73
70
|
*/
|
|
74
71
|
"rewardkey": string;
|
|
75
72
|
/**
|
|
76
|
-
* Text shown inside the copy button.
|
|
77
73
|
* @uiName Button Text
|
|
78
74
|
* @default "COPY CODE"
|
|
79
75
|
*/
|
|
80
76
|
"text": string;
|
|
81
77
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @uiName Text Color
|
|
78
|
+
* @uiName Button Text Color
|
|
84
79
|
* @uiWidget color
|
|
85
80
|
* @format color
|
|
86
81
|
* @default #ffffff
|
|
87
82
|
*/
|
|
88
83
|
"textcolor": string;
|
|
89
84
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @uiName Max Width
|
|
85
|
+
* @uiName Button Max Width
|
|
92
86
|
* @default 170
|
|
93
87
|
*/
|
|
94
88
|
"width": number;
|
|
95
89
|
}
|
|
96
90
|
interface SqhCopyLinkButton {
|
|
97
91
|
/**
|
|
98
|
-
* Background & border color of the copy button.
|
|
99
92
|
* @uiName Button Color
|
|
100
93
|
* @uiWidget color
|
|
101
94
|
* @format color
|
|
@@ -120,14 +113,12 @@ export namespace Components {
|
|
|
120
113
|
*/
|
|
121
114
|
"ishidden": boolean;
|
|
122
115
|
/**
|
|
123
|
-
* Text shown inside the copy button.
|
|
124
116
|
* @uiName Button Text
|
|
125
117
|
* @default "Copy"
|
|
126
118
|
*/
|
|
127
119
|
"text": string;
|
|
128
120
|
/**
|
|
129
|
-
*
|
|
130
|
-
* @uiName Text Color
|
|
121
|
+
* @uiName Button Text Color
|
|
131
122
|
* @uiWidget color
|
|
132
123
|
* @format color
|
|
133
124
|
* @default "#FFFFFF"
|
|
@@ -152,34 +143,32 @@ export namespace Components {
|
|
|
152
143
|
*/
|
|
153
144
|
"fontfamily": string;
|
|
154
145
|
/**
|
|
155
|
-
*
|
|
146
|
+
* The background colour of the component while in the loading state.
|
|
156
147
|
* @uiName Loading Color
|
|
157
148
|
* @uiWidget color
|
|
158
149
|
* @format color
|
|
159
150
|
*/
|
|
160
151
|
"loadingcolor": string;
|
|
161
152
|
/**
|
|
162
|
-
*
|
|
163
|
-
* @uiName Max Width
|
|
153
|
+
* @uiName Container Max Width
|
|
164
154
|
*/
|
|
165
155
|
"maxwidth": string;
|
|
166
156
|
/**
|
|
167
|
-
* Show
|
|
157
|
+
* Show the Powered by SaaSquatch link. This can only be disabled on Pro plans.
|
|
168
158
|
* @uiName Show Powered By
|
|
169
159
|
*/
|
|
170
160
|
"poweredby": boolean;
|
|
171
161
|
}
|
|
172
162
|
interface SqhImageComponent {
|
|
173
163
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @uiName Alignment
|
|
164
|
+
* @uiName Horizontal Alignment
|
|
176
165
|
* @uiEnum ["left", "center", "right"]
|
|
177
166
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
178
167
|
* @default "center"
|
|
179
168
|
*/
|
|
180
169
|
"alignment": string;
|
|
181
170
|
/**
|
|
182
|
-
*
|
|
171
|
+
* Define the radius of the corners with a pixel amount.
|
|
183
172
|
* @uiName Border Radius
|
|
184
173
|
*/
|
|
185
174
|
"borderradius": number;
|
|
@@ -196,14 +185,13 @@ export namespace Components {
|
|
|
196
185
|
*/
|
|
197
186
|
"ishidden": boolean;
|
|
198
187
|
/**
|
|
199
|
-
* Image
|
|
200
|
-
* @uiName URL
|
|
188
|
+
* @uiName Image URL
|
|
201
189
|
* @uiWidget imageUpload
|
|
202
190
|
* @format url
|
|
203
191
|
*/
|
|
204
192
|
"url": string;
|
|
205
193
|
/**
|
|
206
|
-
*
|
|
194
|
+
* Define the width of the image with a pixel amount.
|
|
207
195
|
* @uiName Width
|
|
208
196
|
*/
|
|
209
197
|
"width": number;
|
|
@@ -216,26 +204,27 @@ export namespace Components {
|
|
|
216
204
|
"ishidden": boolean;
|
|
217
205
|
/**
|
|
218
206
|
* Color of the stat value and description
|
|
219
|
-
* @uiName
|
|
207
|
+
* @uiName Color
|
|
220
208
|
* @uiWidget color
|
|
221
209
|
* @format color
|
|
222
210
|
*/
|
|
223
211
|
"statcolor": string;
|
|
224
212
|
/**
|
|
225
|
-
* Description
|
|
226
|
-
* @uiName Stat Description
|
|
213
|
+
* @uiName Description
|
|
227
214
|
*/
|
|
228
215
|
"statdescription": string;
|
|
229
216
|
/**
|
|
230
|
-
*
|
|
217
|
+
* Determines what type of stat is displayed. Manual paths are also supported.
|
|
231
218
|
* @uiName Stat Type
|
|
232
219
|
* @uiWidget statTypeSelector
|
|
233
|
-
* @required
|
|
220
|
+
* @required
|
|
221
|
+
* @minLength 1
|
|
234
222
|
*/
|
|
235
223
|
"stattype": string;
|
|
236
224
|
/**
|
|
237
225
|
* Value of the stat
|
|
238
|
-
* @uiName
|
|
226
|
+
* @uiName Value
|
|
227
|
+
* @undocumented
|
|
239
228
|
*/
|
|
240
229
|
"statvalue": string;
|
|
241
230
|
}
|
|
@@ -270,7 +259,7 @@ export namespace Components {
|
|
|
270
259
|
}
|
|
271
260
|
interface SqhReferralList {
|
|
272
261
|
/**
|
|
273
|
-
* Color of the cancelled icon and text
|
|
262
|
+
* Color of the cancelled icon and text in the rewards column.
|
|
274
263
|
* @uiName Cancelled Color
|
|
275
264
|
* @uiGroup Cancelled Rewards
|
|
276
265
|
* @uiWidget color
|
|
@@ -279,14 +268,14 @@ export namespace Components {
|
|
|
279
268
|
*/
|
|
280
269
|
"cancelledcolor": string;
|
|
281
270
|
/**
|
|
282
|
-
*
|
|
271
|
+
* Content shown in the referral column for a cancelled reward.
|
|
283
272
|
* @uiName Cancelled Content
|
|
284
273
|
* @uiGroup Cancelled Rewards
|
|
285
274
|
* @default "Signed up, referred {date}"
|
|
286
275
|
*/
|
|
287
276
|
"cancelledcontent": string;
|
|
288
277
|
/**
|
|
289
|
-
*
|
|
278
|
+
* Text shown alongside the icon in the referral column for a cancelled reward.
|
|
290
279
|
* @uiName Cancelled Value
|
|
291
280
|
* @uiGroup Cancelled Rewards
|
|
292
281
|
* @default "Cancelled Reward"
|
|
@@ -300,15 +289,14 @@ export namespace Components {
|
|
|
300
289
|
*/
|
|
301
290
|
"convertedcontent": string;
|
|
302
291
|
/**
|
|
303
|
-
*
|
|
304
|
-
* @uiName Reward Color
|
|
292
|
+
* @uiName Customer Note Color
|
|
305
293
|
* @uiGroup Converted Referrals
|
|
306
294
|
* @uiWidget color
|
|
307
295
|
* @format color
|
|
308
296
|
*/
|
|
309
297
|
"customernotecolor": string;
|
|
310
298
|
/**
|
|
311
|
-
* Color of the expired icon and text
|
|
299
|
+
* Color of the expired reward icon and text in the rewards column.
|
|
312
300
|
* @uiName Expired Color
|
|
313
301
|
* @uiGroup Expired Rewards
|
|
314
302
|
* @uiWidget color
|
|
@@ -365,7 +353,7 @@ export namespace Components {
|
|
|
365
353
|
*/
|
|
366
354
|
"paginatemore": string;
|
|
367
355
|
/**
|
|
368
|
-
* Color of the pending icon and text
|
|
356
|
+
* Color of the pending reward icon and text in the rewards column.
|
|
369
357
|
* @uiName Pending Color
|
|
370
358
|
* @uiGroup Pending Referrals
|
|
371
359
|
* @uiWidget color
|
|
@@ -395,7 +383,7 @@ export namespace Components {
|
|
|
395
383
|
*/
|
|
396
384
|
"redeemedvalue": string;
|
|
397
385
|
/**
|
|
398
|
-
* Text color of the referred
|
|
386
|
+
* Text color of the referred user's name
|
|
399
387
|
* @uiName Referral Name Color
|
|
400
388
|
* @uiWidget color
|
|
401
389
|
* @format color
|
|
@@ -403,7 +391,6 @@ export namespace Components {
|
|
|
403
391
|
*/
|
|
404
392
|
"referralnamecolor": string;
|
|
405
393
|
/**
|
|
406
|
-
* Text color of the referral status
|
|
407
394
|
* @uiName Referral Text Color
|
|
408
395
|
* @uiWidget color
|
|
409
396
|
* @format color
|
|
@@ -425,7 +412,7 @@ export namespace Components {
|
|
|
425
412
|
*/
|
|
426
413
|
"referrervalue": string;
|
|
427
414
|
/**
|
|
428
|
-
* Color of the successful reward icon and the
|
|
415
|
+
* Color of the successful reward icon and text in the rewards column.
|
|
429
416
|
* @uiName Reward Color
|
|
430
417
|
* @uiGroup Converted Referrals
|
|
431
418
|
* @uiWidget color
|
|
@@ -434,30 +421,28 @@ export namespace Components {
|
|
|
434
421
|
*/
|
|
435
422
|
"rewardcolor": string;
|
|
436
423
|
/**
|
|
437
|
-
* Show
|
|
438
|
-
* @uiName Show Expiry
|
|
424
|
+
* @uiName Show Expired Rewards
|
|
439
425
|
*/
|
|
440
426
|
"showexpiry": boolean;
|
|
441
427
|
/**
|
|
442
|
-
* Show the customer note for a referral
|
|
443
428
|
* @uiName Show Customer Note
|
|
444
429
|
*/
|
|
445
430
|
"shownotes": boolean;
|
|
446
431
|
/**
|
|
447
|
-
* Show
|
|
448
|
-
* @uiName Show
|
|
432
|
+
* Show referral and reward information on who referred you.
|
|
433
|
+
* @uiName Show Referred By
|
|
449
434
|
* @uiGroup Referrer
|
|
450
435
|
* @default ""
|
|
451
436
|
*/
|
|
452
437
|
"showreferrer": boolean;
|
|
453
438
|
/**
|
|
454
|
-
* Text shown when the referred
|
|
439
|
+
* Text shown when the referred user's name is unknown
|
|
455
440
|
* @uiName Unknown User Text
|
|
456
441
|
* @default "Your Friend"
|
|
457
442
|
*/
|
|
458
443
|
"unknownuser": string;
|
|
459
444
|
/**
|
|
460
|
-
* Show value of the first earned reward inside the rewards column
|
|
445
|
+
* Show the value of the first earned reward inside the rewards column
|
|
461
446
|
* @uiName Use First Reward
|
|
462
447
|
* @uiGroup Converted Referrals
|
|
463
448
|
*/
|
|
@@ -562,7 +547,7 @@ export namespace Components {
|
|
|
562
547
|
*/
|
|
563
548
|
"emailbackgroundcolor": string;
|
|
564
549
|
/**
|
|
565
|
-
* CSS
|
|
550
|
+
* CSS class name for additional styling.
|
|
566
551
|
* @uiName Email Class Name
|
|
567
552
|
* @uiGroup Email
|
|
568
553
|
*/
|
|
@@ -626,7 +611,7 @@ export namespace Components {
|
|
|
626
611
|
*/
|
|
627
612
|
"facebookbackgroundcolor": string;
|
|
628
613
|
/**
|
|
629
|
-
* CSS
|
|
614
|
+
* CSS class name for additional styling.
|
|
630
615
|
* @uiName Facebook Class Name
|
|
631
616
|
* @uiGroup Facebook
|
|
632
617
|
*/
|
|
@@ -695,7 +680,7 @@ export namespace Components {
|
|
|
695
680
|
*/
|
|
696
681
|
"linebackgroundcolor": string;
|
|
697
682
|
/**
|
|
698
|
-
* CSS
|
|
683
|
+
* CSS class name for additional styling.
|
|
699
684
|
* @uiName Line Class Name
|
|
700
685
|
* @uiGroup Line Messenger
|
|
701
686
|
*/
|
|
@@ -759,7 +744,7 @@ export namespace Components {
|
|
|
759
744
|
*/
|
|
760
745
|
"linkedinbackgroundcolor": string;
|
|
761
746
|
/**
|
|
762
|
-
* CSS
|
|
747
|
+
* CSS class name for additional styling.
|
|
763
748
|
* @uiName Linkedin Class Name
|
|
764
749
|
* @uiGroup LinkedIn
|
|
765
750
|
*/
|
|
@@ -823,7 +808,7 @@ export namespace Components {
|
|
|
823
808
|
*/
|
|
824
809
|
"messengerbackgroundcolor": string;
|
|
825
810
|
/**
|
|
826
|
-
* CSS
|
|
811
|
+
* CSS class name for additional styling.
|
|
827
812
|
* @uiName Messenger Class Name
|
|
828
813
|
* @uiGroup Messenger
|
|
829
814
|
*/
|
|
@@ -887,7 +872,7 @@ export namespace Components {
|
|
|
887
872
|
*/
|
|
888
873
|
"pinterestbackgroundcolor": string;
|
|
889
874
|
/**
|
|
890
|
-
* CSS
|
|
875
|
+
* CSS class name for additional styling.
|
|
891
876
|
* @uiName Pinterest Class Name
|
|
892
877
|
* @uiGroup Pinterest
|
|
893
878
|
*/
|
|
@@ -951,7 +936,7 @@ export namespace Components {
|
|
|
951
936
|
*/
|
|
952
937
|
"smsbackgroundcolor": string;
|
|
953
938
|
/**
|
|
954
|
-
* CSS
|
|
939
|
+
* CSS class name for additional styling.
|
|
955
940
|
* @uiName SMS Class Name
|
|
956
941
|
* @uiGroup SMS
|
|
957
942
|
*/
|
|
@@ -1015,7 +1000,7 @@ export namespace Components {
|
|
|
1015
1000
|
*/
|
|
1016
1001
|
"twitterbackgroundcolor": string;
|
|
1017
1002
|
/**
|
|
1018
|
-
* CSS
|
|
1003
|
+
* CSS class name for additional styling.
|
|
1019
1004
|
* @uiName Twitter Class Name
|
|
1020
1005
|
* @uiGroup Twitter
|
|
1021
1006
|
*/
|
|
@@ -1079,7 +1064,7 @@ export namespace Components {
|
|
|
1079
1064
|
*/
|
|
1080
1065
|
"whatsappbackgroundcolor": string;
|
|
1081
1066
|
/**
|
|
1082
|
-
* CSS
|
|
1067
|
+
* CSS class name for additional styling.
|
|
1083
1068
|
* @uiName WhatsApp Class Name
|
|
1084
1069
|
* @uiGroup WhatsApp
|
|
1085
1070
|
*/
|
|
@@ -1156,7 +1141,8 @@ export namespace Components {
|
|
|
1156
1141
|
* Type of stat being displayed. e.g /rewardsCount
|
|
1157
1142
|
* @uiName Stat Type
|
|
1158
1143
|
* @uiWidget statTypeSelector
|
|
1159
|
-
* @required
|
|
1144
|
+
* @required
|
|
1145
|
+
* @minLength 1
|
|
1160
1146
|
*/
|
|
1161
1147
|
"stattype": string;
|
|
1162
1148
|
/**
|
|
@@ -1365,22 +1351,20 @@ declare namespace LocalJSX {
|
|
|
1365
1351
|
}
|
|
1366
1352
|
interface SqhCopyButton {
|
|
1367
1353
|
/**
|
|
1368
|
-
*
|
|
1369
|
-
* @uiName Background Color
|
|
1354
|
+
* @uiName Button Color
|
|
1370
1355
|
* @uiWidget color
|
|
1371
1356
|
* @format color
|
|
1372
1357
|
* @default #35b21e
|
|
1373
1358
|
*/
|
|
1374
1359
|
"backgroundcolor"?: string;
|
|
1375
1360
|
/**
|
|
1376
|
-
*
|
|
1361
|
+
* Define the radius of the corners with a pixel amount.
|
|
1377
1362
|
* @uiName Border Radius
|
|
1378
1363
|
* @default 4
|
|
1379
1364
|
*/
|
|
1380
1365
|
"borderradius"?: number;
|
|
1381
1366
|
/**
|
|
1382
|
-
*
|
|
1383
|
-
* @uiName Code Font Color
|
|
1367
|
+
* @uiName Fuel Tank Code Color
|
|
1384
1368
|
* @uiWidget color
|
|
1385
1369
|
* @format color
|
|
1386
1370
|
* @default #000000
|
|
@@ -1405,7 +1389,6 @@ declare namespace LocalJSX {
|
|
|
1405
1389
|
*/
|
|
1406
1390
|
"copysuccess"?: string;
|
|
1407
1391
|
/**
|
|
1408
|
-
* Font size of the copy button text.
|
|
1409
1392
|
* @uiName Font Size
|
|
1410
1393
|
* @default 14
|
|
1411
1394
|
*/
|
|
@@ -1417,35 +1400,31 @@ declare namespace LocalJSX {
|
|
|
1417
1400
|
*/
|
|
1418
1401
|
"ishidden"?: boolean;
|
|
1419
1402
|
/**
|
|
1420
|
-
*
|
|
1403
|
+
* The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
|
|
1421
1404
|
* @uiName Reward Key
|
|
1422
1405
|
* @default "referredReward"
|
|
1423
1406
|
*/
|
|
1424
1407
|
"rewardkey"?: string;
|
|
1425
1408
|
/**
|
|
1426
|
-
* Text shown inside the copy button.
|
|
1427
1409
|
* @uiName Button Text
|
|
1428
1410
|
* @default "COPY CODE"
|
|
1429
1411
|
*/
|
|
1430
1412
|
"text"?: string;
|
|
1431
1413
|
/**
|
|
1432
|
-
*
|
|
1433
|
-
* @uiName Text Color
|
|
1414
|
+
* @uiName Button Text Color
|
|
1434
1415
|
* @uiWidget color
|
|
1435
1416
|
* @format color
|
|
1436
1417
|
* @default #ffffff
|
|
1437
1418
|
*/
|
|
1438
1419
|
"textcolor"?: string;
|
|
1439
1420
|
/**
|
|
1440
|
-
*
|
|
1441
|
-
* @uiName Max Width
|
|
1421
|
+
* @uiName Button Max Width
|
|
1442
1422
|
* @default 170
|
|
1443
1423
|
*/
|
|
1444
1424
|
"width"?: number;
|
|
1445
1425
|
}
|
|
1446
1426
|
interface SqhCopyLinkButton {
|
|
1447
1427
|
/**
|
|
1448
|
-
* Background & border color of the copy button.
|
|
1449
1428
|
* @uiName Button Color
|
|
1450
1429
|
* @uiWidget color
|
|
1451
1430
|
* @format color
|
|
@@ -1470,14 +1449,12 @@ declare namespace LocalJSX {
|
|
|
1470
1449
|
*/
|
|
1471
1450
|
"ishidden"?: boolean;
|
|
1472
1451
|
/**
|
|
1473
|
-
* Text shown inside the copy button.
|
|
1474
1452
|
* @uiName Button Text
|
|
1475
1453
|
* @default "Copy"
|
|
1476
1454
|
*/
|
|
1477
1455
|
"text"?: string;
|
|
1478
1456
|
/**
|
|
1479
|
-
*
|
|
1480
|
-
* @uiName Text Color
|
|
1457
|
+
* @uiName Button Text Color
|
|
1481
1458
|
* @uiWidget color
|
|
1482
1459
|
* @format color
|
|
1483
1460
|
* @default "#FFFFFF"
|
|
@@ -1502,34 +1479,32 @@ declare namespace LocalJSX {
|
|
|
1502
1479
|
*/
|
|
1503
1480
|
"fontfamily"?: string;
|
|
1504
1481
|
/**
|
|
1505
|
-
*
|
|
1482
|
+
* The background colour of the component while in the loading state.
|
|
1506
1483
|
* @uiName Loading Color
|
|
1507
1484
|
* @uiWidget color
|
|
1508
1485
|
* @format color
|
|
1509
1486
|
*/
|
|
1510
1487
|
"loadingcolor"?: string;
|
|
1511
1488
|
/**
|
|
1512
|
-
*
|
|
1513
|
-
* @uiName Max Width
|
|
1489
|
+
* @uiName Container Max Width
|
|
1514
1490
|
*/
|
|
1515
1491
|
"maxwidth"?: string;
|
|
1516
1492
|
/**
|
|
1517
|
-
* Show
|
|
1493
|
+
* Show the Powered by SaaSquatch link. This can only be disabled on Pro plans.
|
|
1518
1494
|
* @uiName Show Powered By
|
|
1519
1495
|
*/
|
|
1520
1496
|
"poweredby"?: boolean;
|
|
1521
1497
|
}
|
|
1522
1498
|
interface SqhImageComponent {
|
|
1523
1499
|
/**
|
|
1524
|
-
*
|
|
1525
|
-
* @uiName Alignment
|
|
1500
|
+
* @uiName Horizontal Alignment
|
|
1526
1501
|
* @uiEnum ["left", "center", "right"]
|
|
1527
1502
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
1528
1503
|
* @default "center"
|
|
1529
1504
|
*/
|
|
1530
1505
|
"alignment"?: string;
|
|
1531
1506
|
/**
|
|
1532
|
-
*
|
|
1507
|
+
* Define the radius of the corners with a pixel amount.
|
|
1533
1508
|
* @uiName Border Radius
|
|
1534
1509
|
*/
|
|
1535
1510
|
"borderradius"?: number;
|
|
@@ -1546,14 +1521,13 @@ declare namespace LocalJSX {
|
|
|
1546
1521
|
*/
|
|
1547
1522
|
"ishidden"?: boolean;
|
|
1548
1523
|
/**
|
|
1549
|
-
* Image
|
|
1550
|
-
* @uiName URL
|
|
1524
|
+
* @uiName Image URL
|
|
1551
1525
|
* @uiWidget imageUpload
|
|
1552
1526
|
* @format url
|
|
1553
1527
|
*/
|
|
1554
1528
|
"url"?: string;
|
|
1555
1529
|
/**
|
|
1556
|
-
*
|
|
1530
|
+
* Define the width of the image with a pixel amount.
|
|
1557
1531
|
* @uiName Width
|
|
1558
1532
|
*/
|
|
1559
1533
|
"width"?: number;
|
|
@@ -1568,26 +1542,27 @@ declare namespace LocalJSX {
|
|
|
1568
1542
|
"onStatTypeUpdated"?: (event: CustomEvent<any>) => void;
|
|
1569
1543
|
/**
|
|
1570
1544
|
* Color of the stat value and description
|
|
1571
|
-
* @uiName
|
|
1545
|
+
* @uiName Color
|
|
1572
1546
|
* @uiWidget color
|
|
1573
1547
|
* @format color
|
|
1574
1548
|
*/
|
|
1575
1549
|
"statcolor"?: string;
|
|
1576
1550
|
/**
|
|
1577
|
-
* Description
|
|
1578
|
-
* @uiName Stat Description
|
|
1551
|
+
* @uiName Description
|
|
1579
1552
|
*/
|
|
1580
1553
|
"statdescription"?: string;
|
|
1581
1554
|
/**
|
|
1582
|
-
*
|
|
1555
|
+
* Determines what type of stat is displayed. Manual paths are also supported.
|
|
1583
1556
|
* @uiName Stat Type
|
|
1584
1557
|
* @uiWidget statTypeSelector
|
|
1585
|
-
* @required
|
|
1558
|
+
* @required
|
|
1559
|
+
* @minLength 1
|
|
1586
1560
|
*/
|
|
1587
1561
|
"stattype"?: string;
|
|
1588
1562
|
/**
|
|
1589
1563
|
* Value of the stat
|
|
1590
|
-
* @uiName
|
|
1564
|
+
* @uiName Value
|
|
1565
|
+
* @undocumented
|
|
1591
1566
|
*/
|
|
1592
1567
|
"statvalue"?: string;
|
|
1593
1568
|
}
|
|
@@ -1622,7 +1597,7 @@ declare namespace LocalJSX {
|
|
|
1622
1597
|
}
|
|
1623
1598
|
interface SqhReferralList {
|
|
1624
1599
|
/**
|
|
1625
|
-
* Color of the cancelled icon and text
|
|
1600
|
+
* Color of the cancelled icon and text in the rewards column.
|
|
1626
1601
|
* @uiName Cancelled Color
|
|
1627
1602
|
* @uiGroup Cancelled Rewards
|
|
1628
1603
|
* @uiWidget color
|
|
@@ -1631,14 +1606,14 @@ declare namespace LocalJSX {
|
|
|
1631
1606
|
*/
|
|
1632
1607
|
"cancelledcolor"?: string;
|
|
1633
1608
|
/**
|
|
1634
|
-
*
|
|
1609
|
+
* Content shown in the referral column for a cancelled reward.
|
|
1635
1610
|
* @uiName Cancelled Content
|
|
1636
1611
|
* @uiGroup Cancelled Rewards
|
|
1637
1612
|
* @default "Signed up, referred {date}"
|
|
1638
1613
|
*/
|
|
1639
1614
|
"cancelledcontent"?: string;
|
|
1640
1615
|
/**
|
|
1641
|
-
*
|
|
1616
|
+
* Text shown alongside the icon in the referral column for a cancelled reward.
|
|
1642
1617
|
* @uiName Cancelled Value
|
|
1643
1618
|
* @uiGroup Cancelled Rewards
|
|
1644
1619
|
* @default "Cancelled Reward"
|
|
@@ -1652,15 +1627,14 @@ declare namespace LocalJSX {
|
|
|
1652
1627
|
*/
|
|
1653
1628
|
"convertedcontent"?: string;
|
|
1654
1629
|
/**
|
|
1655
|
-
*
|
|
1656
|
-
* @uiName Reward Color
|
|
1630
|
+
* @uiName Customer Note Color
|
|
1657
1631
|
* @uiGroup Converted Referrals
|
|
1658
1632
|
* @uiWidget color
|
|
1659
1633
|
* @format color
|
|
1660
1634
|
*/
|
|
1661
1635
|
"customernotecolor"?: string;
|
|
1662
1636
|
/**
|
|
1663
|
-
* Color of the expired icon and text
|
|
1637
|
+
* Color of the expired reward icon and text in the rewards column.
|
|
1664
1638
|
* @uiName Expired Color
|
|
1665
1639
|
* @uiGroup Expired Rewards
|
|
1666
1640
|
* @uiWidget color
|
|
@@ -1717,7 +1691,7 @@ declare namespace LocalJSX {
|
|
|
1717
1691
|
*/
|
|
1718
1692
|
"paginatemore"?: string;
|
|
1719
1693
|
/**
|
|
1720
|
-
* Color of the pending icon and text
|
|
1694
|
+
* Color of the pending reward icon and text in the rewards column.
|
|
1721
1695
|
* @uiName Pending Color
|
|
1722
1696
|
* @uiGroup Pending Referrals
|
|
1723
1697
|
* @uiWidget color
|
|
@@ -1747,7 +1721,7 @@ declare namespace LocalJSX {
|
|
|
1747
1721
|
*/
|
|
1748
1722
|
"redeemedvalue"?: string;
|
|
1749
1723
|
/**
|
|
1750
|
-
* Text color of the referred
|
|
1724
|
+
* Text color of the referred user's name
|
|
1751
1725
|
* @uiName Referral Name Color
|
|
1752
1726
|
* @uiWidget color
|
|
1753
1727
|
* @format color
|
|
@@ -1755,7 +1729,6 @@ declare namespace LocalJSX {
|
|
|
1755
1729
|
*/
|
|
1756
1730
|
"referralnamecolor"?: string;
|
|
1757
1731
|
/**
|
|
1758
|
-
* Text color of the referral status
|
|
1759
1732
|
* @uiName Referral Text Color
|
|
1760
1733
|
* @uiWidget color
|
|
1761
1734
|
* @format color
|
|
@@ -1777,7 +1750,7 @@ declare namespace LocalJSX {
|
|
|
1777
1750
|
*/
|
|
1778
1751
|
"referrervalue"?: string;
|
|
1779
1752
|
/**
|
|
1780
|
-
* Color of the successful reward icon and the
|
|
1753
|
+
* Color of the successful reward icon and text in the rewards column.
|
|
1781
1754
|
* @uiName Reward Color
|
|
1782
1755
|
* @uiGroup Converted Referrals
|
|
1783
1756
|
* @uiWidget color
|
|
@@ -1786,30 +1759,28 @@ declare namespace LocalJSX {
|
|
|
1786
1759
|
*/
|
|
1787
1760
|
"rewardcolor"?: string;
|
|
1788
1761
|
/**
|
|
1789
|
-
* Show
|
|
1790
|
-
* @uiName Show Expiry
|
|
1762
|
+
* @uiName Show Expired Rewards
|
|
1791
1763
|
*/
|
|
1792
1764
|
"showexpiry"?: boolean;
|
|
1793
1765
|
/**
|
|
1794
|
-
* Show the customer note for a referral
|
|
1795
1766
|
* @uiName Show Customer Note
|
|
1796
1767
|
*/
|
|
1797
1768
|
"shownotes"?: boolean;
|
|
1798
1769
|
/**
|
|
1799
|
-
* Show
|
|
1800
|
-
* @uiName Show
|
|
1770
|
+
* Show referral and reward information on who referred you.
|
|
1771
|
+
* @uiName Show Referred By
|
|
1801
1772
|
* @uiGroup Referrer
|
|
1802
1773
|
* @default ""
|
|
1803
1774
|
*/
|
|
1804
1775
|
"showreferrer"?: boolean;
|
|
1805
1776
|
/**
|
|
1806
|
-
* Text shown when the referred
|
|
1777
|
+
* Text shown when the referred user's name is unknown
|
|
1807
1778
|
* @uiName Unknown User Text
|
|
1808
1779
|
* @default "Your Friend"
|
|
1809
1780
|
*/
|
|
1810
1781
|
"unknownuser"?: string;
|
|
1811
1782
|
/**
|
|
1812
|
-
* Show value of the first earned reward inside the rewards column
|
|
1783
|
+
* Show the value of the first earned reward inside the rewards column
|
|
1813
1784
|
* @uiName Use First Reward
|
|
1814
1785
|
* @uiGroup Converted Referrals
|
|
1815
1786
|
*/
|
|
@@ -1914,7 +1885,7 @@ declare namespace LocalJSX {
|
|
|
1914
1885
|
*/
|
|
1915
1886
|
"emailbackgroundcolor"?: string;
|
|
1916
1887
|
/**
|
|
1917
|
-
* CSS
|
|
1888
|
+
* CSS class name for additional styling.
|
|
1918
1889
|
* @uiName Email Class Name
|
|
1919
1890
|
* @uiGroup Email
|
|
1920
1891
|
*/
|
|
@@ -1978,7 +1949,7 @@ declare namespace LocalJSX {
|
|
|
1978
1949
|
*/
|
|
1979
1950
|
"facebookbackgroundcolor"?: string;
|
|
1980
1951
|
/**
|
|
1981
|
-
* CSS
|
|
1952
|
+
* CSS class name for additional styling.
|
|
1982
1953
|
* @uiName Facebook Class Name
|
|
1983
1954
|
* @uiGroup Facebook
|
|
1984
1955
|
*/
|
|
@@ -2047,7 +2018,7 @@ declare namespace LocalJSX {
|
|
|
2047
2018
|
*/
|
|
2048
2019
|
"linebackgroundcolor"?: string;
|
|
2049
2020
|
/**
|
|
2050
|
-
* CSS
|
|
2021
|
+
* CSS class name for additional styling.
|
|
2051
2022
|
* @uiName Line Class Name
|
|
2052
2023
|
* @uiGroup Line Messenger
|
|
2053
2024
|
*/
|
|
@@ -2111,7 +2082,7 @@ declare namespace LocalJSX {
|
|
|
2111
2082
|
*/
|
|
2112
2083
|
"linkedinbackgroundcolor"?: string;
|
|
2113
2084
|
/**
|
|
2114
|
-
* CSS
|
|
2085
|
+
* CSS class name for additional styling.
|
|
2115
2086
|
* @uiName Linkedin Class Name
|
|
2116
2087
|
* @uiGroup LinkedIn
|
|
2117
2088
|
*/
|
|
@@ -2175,7 +2146,7 @@ declare namespace LocalJSX {
|
|
|
2175
2146
|
*/
|
|
2176
2147
|
"messengerbackgroundcolor"?: string;
|
|
2177
2148
|
/**
|
|
2178
|
-
* CSS
|
|
2149
|
+
* CSS class name for additional styling.
|
|
2179
2150
|
* @uiName Messenger Class Name
|
|
2180
2151
|
* @uiGroup Messenger
|
|
2181
2152
|
*/
|
|
@@ -2239,7 +2210,7 @@ declare namespace LocalJSX {
|
|
|
2239
2210
|
*/
|
|
2240
2211
|
"pinterestbackgroundcolor"?: string;
|
|
2241
2212
|
/**
|
|
2242
|
-
* CSS
|
|
2213
|
+
* CSS class name for additional styling.
|
|
2243
2214
|
* @uiName Pinterest Class Name
|
|
2244
2215
|
* @uiGroup Pinterest
|
|
2245
2216
|
*/
|
|
@@ -2303,7 +2274,7 @@ declare namespace LocalJSX {
|
|
|
2303
2274
|
*/
|
|
2304
2275
|
"smsbackgroundcolor"?: string;
|
|
2305
2276
|
/**
|
|
2306
|
-
* CSS
|
|
2277
|
+
* CSS class name for additional styling.
|
|
2307
2278
|
* @uiName SMS Class Name
|
|
2308
2279
|
* @uiGroup SMS
|
|
2309
2280
|
*/
|
|
@@ -2367,7 +2338,7 @@ declare namespace LocalJSX {
|
|
|
2367
2338
|
*/
|
|
2368
2339
|
"twitterbackgroundcolor"?: string;
|
|
2369
2340
|
/**
|
|
2370
|
-
* CSS
|
|
2341
|
+
* CSS class name for additional styling.
|
|
2371
2342
|
* @uiName Twitter Class Name
|
|
2372
2343
|
* @uiGroup Twitter
|
|
2373
2344
|
*/
|
|
@@ -2431,7 +2402,7 @@ declare namespace LocalJSX {
|
|
|
2431
2402
|
*/
|
|
2432
2403
|
"whatsappbackgroundcolor"?: string;
|
|
2433
2404
|
/**
|
|
2434
|
-
* CSS
|
|
2405
|
+
* CSS class name for additional styling.
|
|
2435
2406
|
* @uiName WhatsApp Class Name
|
|
2436
2407
|
* @uiGroup WhatsApp
|
|
2437
2408
|
*/
|
|
@@ -2510,7 +2481,8 @@ declare namespace LocalJSX {
|
|
|
2510
2481
|
* Type of stat being displayed. e.g /rewardsCount
|
|
2511
2482
|
* @uiName Stat Type
|
|
2512
2483
|
* @uiWidget statTypeSelector
|
|
2513
|
-
* @required
|
|
2484
|
+
* @required
|
|
2485
|
+
* @minLength 1
|
|
2514
2486
|
*/
|
|
2515
2487
|
"stattype"?: string;
|
|
2516
2488
|
/**
|