@saasquatch/vanilla-components 1.2.3 → 1.2.4-2

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.
Files changed (93) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{WidgetHost-d7b870ce.js → WidgetHost-71b013eb.js} +615 -615
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/sqh-close-button.cjs.entry.js +27 -22
  5. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +1054 -980
  6. package/dist/cjs/sqh-referral-code.cjs.entry.js +22 -22
  7. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +26 -11
  8. package/dist/cjs/widget-components.cjs.js +1 -1
  9. package/dist/collection/components/close-button/close-button.js +70 -56
  10. package/dist/collection/components/copy-button/copy-button.js +389 -293
  11. package/dist/collection/components/copy-link-button/copy-link-button.js +233 -182
  12. package/dist/collection/components/global-container/global-container.js +170 -126
  13. package/dist/collection/components/image-component/image-component.js +175 -132
  14. package/dist/collection/components/partner-stat-component/partner-stat-component.js +186 -155
  15. package/dist/collection/components/referral-code/referral-code.js +34 -30
  16. package/dist/collection/components/referral-component/referral-component.js +255 -236
  17. package/dist/collection/components/referral-list/referral-list.js +930 -671
  18. package/dist/collection/components/rewards-actions/rewards-actions.js +105 -77
  19. package/dist/collection/components/share-button/share-button.js +310 -255
  20. package/dist/collection/components/share-button-container/share-button-container.js +2470 -1534
  21. package/dist/collection/components/stat-component/stat-component.js +186 -155
  22. package/dist/collection/components/stats-container/stats-container.js +205 -180
  23. package/dist/collection/components/text-component/text-component.js +280 -249
  24. package/dist/collection/entrypoint.js +32 -32
  25. package/dist/collection/global/global.js +4 -4
  26. package/dist/collection/services/FormatJs.js +15 -15
  27. package/dist/collection/services/WidgetHost.js +621 -621
  28. package/dist/collection/utilities.js +81 -81
  29. package/dist/esm/{WidgetHost-a27e693d.js → WidgetHost-9c337319.js} +615 -615
  30. package/dist/esm/loader.mjs +1 -1
  31. package/dist/esm/polyfills/core-js.js +0 -0
  32. package/dist/esm/polyfills/dom.js +0 -0
  33. package/dist/esm/polyfills/es5-html-element.js +0 -0
  34. package/dist/esm/polyfills/index.js +0 -0
  35. package/dist/esm/polyfills/system.js +0 -0
  36. package/dist/esm/sqh-close-button.entry.js +27 -22
  37. package/dist/esm/sqh-copy-button_12.entry.js +1053 -979
  38. package/dist/esm/sqh-referral-code.entry.js +22 -22
  39. package/dist/esm/sqh-rewards-actions.entry.js +26 -11
  40. package/dist/esm/widget-components.mjs +1 -1
  41. package/dist/esm-es5/{WidgetHost-a27e693d.js → WidgetHost-9c337319.js} +9432 -9432
  42. package/dist/esm-es5/_commonjsHelpers-1d681858.js +17 -17
  43. package/dist/esm-es5/css-shim-a659079f.js +122 -122
  44. package/dist/esm-es5/dom-4061ceba.js +468 -468
  45. package/dist/esm-es5/en-be593af0.js +1471 -1471
  46. package/dist/esm-es5/index-8ea8b6d8.js +1758 -1758
  47. package/dist/esm-es5/loader.mjs +11 -11
  48. package/dist/esm-es5/sqh-close-button.entry.js +35 -30
  49. package/dist/esm-es5/sqh-copy-button_12.entry.js +9571 -9485
  50. package/dist/esm-es5/sqh-referral-code.entry.js +29 -29
  51. package/dist/esm-es5/sqh-rewards-actions.entry.js +31 -16
  52. package/dist/esm-es5/widget-components.mjs +6 -6
  53. package/dist/types/components/close-button/close-button.d.ts +18 -7
  54. package/dist/types/components/copy-button/copy-button.d.ts +107 -23
  55. package/dist/types/components/copy-link-button/copy-link-button.d.ts +62 -17
  56. package/dist/types/components/global-container/global-container.d.ts +47 -9
  57. package/dist/types/components/image-component/image-component.d.ts +51 -9
  58. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +49 -16
  59. package/dist/types/components/referral-code/referral-code.d.ts +10 -6
  60. package/dist/types/components/referral-component/referral-component.d.ts +46 -17
  61. package/dist/types/components/referral-list/referral-list.d.ts +249 -44
  62. package/dist/types/components/rewards-actions/rewards-actions.d.ts +25 -6
  63. package/dist/types/components/share-button/share-button.d.ts +82 -17
  64. package/dist/types/components/share-button-container/share-button-container.d.ts +684 -97
  65. package/dist/types/components/stat-component/stat-component.d.ts +48 -16
  66. package/dist/types/components/stats-container/stats-container.d.ts +45 -23
  67. package/dist/types/components/text-component/text-component.d.ts +81 -16
  68. package/dist/types/components.d.ts +2050 -2
  69. package/dist/types/global/global.d.ts +4 -4
  70. package/dist/types/saasquatch.d.ts +103 -103
  71. package/dist/types/services/FormatJs.d.ts +7 -7
  72. package/dist/types/services/WidgetHost.d.ts +45 -45
  73. package/dist/types/utilities.d.ts +7 -7
  74. package/dist/widget-components/entrypoint.js +32 -32
  75. package/dist/widget-components/p-24fc4ba9.js +1 -1
  76. package/dist/widget-components/{p-d4b27c72.entry.js → p-366f1663.entry.js} +1 -1
  77. package/dist/widget-components/p-46109683.js +3 -3
  78. package/dist/widget-components/{p-650d012d.entry.js → p-54ea7a00.entry.js} +1 -1
  79. package/dist/widget-components/p-58be1132.system.js +1 -1
  80. package/dist/widget-components/{p-9adc7c50.system.js → p-8e232564.system.js} +0 -0
  81. package/dist/widget-components/{p-c0cdba77.system.entry.js → p-b17efca4.system.entry.js} +1 -1
  82. package/dist/widget-components/p-c8bc8c77.system.entry.js +1 -0
  83. package/dist/widget-components/{p-75ab4c57.entry.js → p-d416634a.entry.js} +16 -16
  84. package/dist/widget-components/p-d97c955d.system.entry.js +8 -0
  85. package/dist/widget-components/{p-9525bf4a.js → p-edd43dbc.js} +0 -0
  86. package/dist/widget-components/widget-components.esm.js +1 -1
  87. package/dist/widget-components/widget-components.js +1 -1
  88. package/docs/raisins.json +1 -0
  89. package/package.json +96 -89
  90. package/readme.md +52 -52
  91. package/CHANGELOG.md +0 -143
  92. package/dist/widget-components/p-908068c2.system.entry.js +0 -1
  93. package/dist/widget-components/p-d2335c54.system.entry.js +0 -8
@@ -7,218 +7,1242 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
9
  interface SqhCloseButton {
10
+ /**
11
+ * The text shown inside the close button.
12
+ * @uiName Button Text
13
+ */
10
14
  "text": string;
11
15
  }
12
16
  interface SqhCopyButton {
17
+ /**
18
+ * Background & border color of the copy button.
19
+ * @uiName Background Color
20
+ * @uiWidget color
21
+ * @format color
22
+ * @default #35b21e
23
+ */
13
24
  "backgroundcolor": string;
25
+ /**
26
+ * Configure border radius with pixel amount
27
+ * @uiName Border Radius
28
+ * @default 4
29
+ */
14
30
  "borderradius": number;
31
+ /**
32
+ * Text color of the fuel tank code.
33
+ * @uiName Code Font Color
34
+ * @uiWidget color
35
+ * @format color
36
+ * @default #000000
37
+ */
15
38
  "codefontcolor": string;
39
+ /**
40
+ * Font size of the fuel tank code.
41
+ * @uiName Code Font Size
42
+ * @default 14
43
+ */
16
44
  "codefontsize": number;
45
+ /**
46
+ * Shown when the button has failed to copy the code to the users clipboard.
47
+ * @uiName Copy Failure Text
48
+ * @default "Press Ctrl+C to copy"
49
+ */
17
50
  "copyfailure": string;
51
+ /**
52
+ * Shown when the code is successfully copied to the users clipboard.
53
+ * @uiName Copy Success Text
54
+ * @default "copied!"
55
+ */
18
56
  "copysuccess": string;
57
+ /**
58
+ * Font size of the copy button text.
59
+ * @uiName Font Size
60
+ * @default 14
61
+ */
19
62
  "fontsize": number;
63
+ /**
64
+ * Hide or show the component
65
+ * @uiName Hide Button
66
+ * @default undefined
67
+ */
20
68
  "ishidden": boolean;
69
+ /**
70
+ * rewardkey is used to get the fuel tank code for a user.
71
+ * @uiName Reward Key
72
+ * @default "referredReward"
73
+ */
21
74
  "rewardkey": string;
75
+ /**
76
+ * Text shown inside the copy button.
77
+ * @uiName Button Text
78
+ * @default "COPY CODE"
79
+ */
22
80
  "text": string;
81
+ /**
82
+ * Color of text inside the copy button.
83
+ * @uiName Text Color
84
+ * @uiWidget color
85
+ * @format color
86
+ * @default #ffffff
87
+ */
23
88
  "textcolor": string;
89
+ /**
90
+ * Sets a maximum width on the copy button.
91
+ * @uiName Max Width
92
+ * @default 170
93
+ */
24
94
  "width": number;
25
95
  }
26
96
  interface SqhCopyLinkButton {
97
+ /**
98
+ * Background & border color of the copy button.
99
+ * @uiName Button Color
100
+ * @uiWidget color
101
+ * @format color
102
+ * @default "#5C6164"
103
+ */
27
104
  "buttoncolor": string;
105
+ /**
106
+ * Shown when the button has failed to copy the code to the users clipboard.
107
+ * @uiName Copy Failure Text
108
+ * @default "Press Ctrl+C to copy"
109
+ */
28
110
  "copyfailure": string;
111
+ /**
112
+ * Shown when the code is successfully copied to the users clipboard.
113
+ * @uiName Copy Success Text
114
+ * @default "copied!"
115
+ */
29
116
  "copysuccess": string;
117
+ /**
118
+ * Hide or show the component
119
+ * @uiName Hide Button
120
+ */
30
121
  "ishidden": boolean;
122
+ /**
123
+ * Text shown inside the copy button.
124
+ * @uiName Button Text
125
+ * @default "Copy"
126
+ */
31
127
  "text": string;
128
+ /**
129
+ * Color of text inside the copy button.
130
+ * @uiName Text Color
131
+ * @uiWidget color
132
+ * @format color
133
+ * @default "#FFFFFF"
134
+ */
32
135
  "textcolor": string;
33
136
  }
34
137
  interface SqhGlobalContainer {
138
+ /**
139
+ * Configure the background color.
140
+ * @uiName Background Color
141
+ * @uiWidget color
142
+ * @format color
143
+ * @default "#ffffff"
144
+ */
35
145
  "background": string;
146
+ /**
147
+ * Font family used inside the container.
148
+ * @uiName Font Family
149
+ * @default "Roboto"
150
+ * @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
151
+ * @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
152
+ */
36
153
  "fontfamily": string;
154
+ /**
155
+ * Configure the color of the loading state.
156
+ * @uiName Loading Color
157
+ * @uiWidget color
158
+ * @format color
159
+ */
37
160
  "loadingcolor": string;
161
+ /**
162
+ * Maximum width on the container.
163
+ * @uiName Max Width
164
+ */
38
165
  "maxwidth": string;
166
+ /**
167
+ * Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
168
+ * @uiName Show Powered By
169
+ */
39
170
  "poweredby": boolean;
40
171
  }
41
172
  interface SqhImageComponent {
173
+ /**
174
+ * Configure alignment of the image
175
+ * @uiName Alignment
176
+ * @uiEnum ["left", "center", "right"]
177
+ * @uiEnumNames ["Left", "Center", "Right"]
178
+ * @default "center"
179
+ */
42
180
  "alignment": string;
181
+ /**
182
+ * Configure border radius with pixel amount
183
+ * @uiName Border Radius
184
+ */
43
185
  "borderradius": number;
186
+ /**
187
+ * Additional CSS applied to the image element
188
+ * @uiName CSS
189
+ * @uiWidget textArea
190
+ * @default "padding-top: 38px; padding-bottom: 7px;"
191
+ */
44
192
  "css": string;
193
+ /**
194
+ * Hide or show the component
195
+ * @uiName Hide Image
196
+ */
45
197
  "ishidden": boolean;
198
+ /**
199
+ * Image link
200
+ * @uiName URL
201
+ * @uiWidget imageUpload
202
+ * @format url
203
+ */
46
204
  "url": string;
205
+ /**
206
+ * Image width
207
+ * @uiName Width
208
+ */
47
209
  "width": number;
48
210
  }
49
211
  interface SqhPartnerStatComponent {
212
+ /**
213
+ * Hide or show the component
214
+ * @uiName Hide Stat
215
+ */
50
216
  "ishidden": boolean;
217
+ /**
218
+ * Color of the stat value and description
219
+ * @uiName Stat Color
220
+ * @uiWidget color
221
+ * @format color
222
+ */
51
223
  "statcolor": string;
224
+ /**
225
+ * Description of the stat
226
+ * @uiName Stat Description
227
+ */
52
228
  "statdescription": string;
229
+ /**
230
+ * Used to query the stats for a user
231
+ * @uiName Stat Type
232
+ * @uiWidget statTypeSelector
233
+ * @required
234
+ */
53
235
  "stattype": string;
236
+ /**
237
+ * Value of the stat
238
+ * @uiName Stat Value
239
+ */
54
240
  "statvalue": string;
55
241
  }
56
242
  interface SqhReferralCode {
57
243
  }
58
244
  interface SqhReferralComponent {
245
+ /**
246
+ * Configure the local
247
+ * @uiName Local
248
+ */
59
249
  "locale": string;
250
+ /**
251
+ * Referral object
252
+ * @uiName Referral
253
+ */
60
254
  "referral": Referral | ReferredByReferral;
255
+ /**
256
+ * Type of referral
257
+ * @uiName Referral Type
258
+ */
61
259
  "referraltype": "converted" | "pending" | "referrer";
260
+ /**
261
+ * Referral variables used to format the row in the referral list
262
+ * @uiName Referral Variables
263
+ */
62
264
  "referralvariables": ReferralVariables;
265
+ /**
266
+ * Text shown when the name of a user is unknown
267
+ * @uiName Unknown User
268
+ */
63
269
  "unknownuser": String;
64
270
  }
65
271
  interface SqhReferralList {
272
+ /**
273
+ * Color of the cancelled icon and text
274
+ * @uiName Cancelled Color
275
+ * @uiGroup Cancelled Rewards
276
+ * @uiWidget color
277
+ * @format color
278
+ * @default "#C81D05"
279
+ */
66
280
  "cancelledcolor": string;
281
+ /**
282
+ * Cancelled text content shown in the user column
283
+ * @uiName Cancelled Content
284
+ * @uiGroup Cancelled Rewards
285
+ * @default "Signed up, referred {date}"
286
+ */
67
287
  "cancelledcontent": string;
288
+ /**
289
+ * Cancelled text content shown alongside the icon in the referral column
290
+ * @uiName Cancelled Value
291
+ * @uiGroup Cancelled Rewards
292
+ * @default "Cancelled Reward"
293
+ */
68
294
  "cancelledvalue": string;
295
+ /**
296
+ * Content shown when a referral is converted
297
+ * @uiName Converted Content
298
+ * @uiGroup Converted Referrals
299
+ * @default "Signed up, referred {date}"
300
+ */
69
301
  "convertedcontent": string;
302
+ /**
303
+ * Color of the customer note
304
+ * @uiName Reward Color
305
+ * @uiGroup Converted Referrals
306
+ * @uiWidget color
307
+ * @format color
308
+ */
70
309
  "customernotecolor": string;
310
+ /**
311
+ * Color of the expired icon and text
312
+ * @uiName Expired Color
313
+ * @uiGroup Expired Rewards
314
+ * @uiWidget color
315
+ * @format color
316
+ * @default "lightgray"
317
+ */
71
318
  "expiredcolor": string;
319
+ /**
320
+ * Expired content shown in the user column
321
+ * @uiName Expired Content
322
+ * @uiGroup Expired Rewards
323
+ * @default "Signed up, referred {date}"
324
+ */
72
325
  "expiredcontent": string;
326
+ /**
327
+ * Expired content shown alongside the icon in the referral column
328
+ * @uiName Expired Value
329
+ * @uiGroup Expired Rewards
330
+ * @default "Expired Reward"
331
+ */
73
332
  "expiredvalue": string;
333
+ /**
334
+ * Reward expiry ICU message
335
+ * @uiName Expires Value
336
+ * @uiGroup Expired Rewards
337
+ */
74
338
  "expiresvalue": string;
339
+ /**
340
+ * When true, the local gets set by using the value passed to the referral component
341
+ * @uiName Internationalization
342
+ */
75
343
  "internationalization": boolean;
344
+ /**
345
+ * Hide or show the component
346
+ * @uiName Hide Referral List
347
+ */
76
348
  "ishidden": boolean;
349
+ /**
350
+ * Shown when referral list is empty
351
+ * @uiName Empty Referrals Text
352
+ * @default "No Referrals Yet..."
353
+ */
77
354
  "noreferralsyet": string;
355
+ /**
356
+ * Shown inside the paginate less button
357
+ * @uiName Paginate Less Text
358
+ * @default "Previous"
359
+ */
78
360
  "paginateless": string;
361
+ /**
362
+ * Shown inside the paginate more button
363
+ * @uiName Paginate More Text
364
+ * @default "View More"
365
+ */
79
366
  "paginatemore": string;
367
+ /**
368
+ * Color of the pending icon and text
369
+ * @uiName Pending Color
370
+ * @uiGroup Pending Referrals
371
+ * @uiWidget color
372
+ * @format color
373
+ * @default "lightgray"
374
+ */
80
375
  "pendingcolor": string;
376
+ /**
377
+ * Pending content shown in the user column
378
+ * @uiName Pending Content
379
+ * @uiGroup Pending Referrals
380
+ * @default "Trial user, referred {date}"
381
+ */
81
382
  "pendingcontent": string;
383
+ /**
384
+ * Pending content shown alongside the icon in the referral column
385
+ * @uiName Pending Value
386
+ * @uiGroup Pending Referrals
387
+ * @default "Referral pending"
388
+ */
82
389
  "pendingvalue": string;
390
+ /**
391
+ * Shown when reward is redeemed
392
+ * @uiName Redeemed Value
393
+ * @uiGroup Converted Referrals
394
+ * @default "Redeemed"
395
+ */
83
396
  "redeemedvalue": string;
397
+ /**
398
+ * Text color of the referred users name
399
+ * @uiName Referral Name Color
400
+ * @uiWidget color
401
+ * @format color
402
+ * @default "darkslategray"
403
+ */
84
404
  "referralnamecolor": string;
405
+ /**
406
+ * Text color of the referral status
407
+ * @uiName Referral Text Color
408
+ * @uiWidget color
409
+ * @format color
410
+ * @default "lightgray"
411
+ */
85
412
  "referraltextcolor": string;
413
+ /**
414
+ * Text explaining who referred you to the program
415
+ * @uiName Referrer Content
416
+ * @uiGroup Referrer
417
+ * @default "Referred you {date}"
418
+ */
86
419
  "referrercontent": string;
420
+ /**
421
+ * Referred Text shown in reward column
422
+ * @uiName Referrer Value
423
+ * @uiGroup Referrer
424
+ * @default "Referred"
425
+ */
87
426
  "referrervalue": string;
427
+ /**
428
+ * Color of the successful reward icon and the text value
429
+ * @uiName Reward Color
430
+ * @uiGroup Converted Referrals
431
+ * @uiWidget color
432
+ * @format color
433
+ * @default "#4BB543"
434
+ */
88
435
  "rewardcolor": string;
436
+ /**
437
+ * Show or hide expired rewards
438
+ * @uiName Show Expiry
439
+ */
89
440
  "showexpiry": boolean;
441
+ /**
442
+ * Show the customer note for a referral
443
+ * @uiName Show Customer Note
444
+ */
90
445
  "shownotes": boolean;
446
+ /**
447
+ * Show or hide the referrer
448
+ * @uiName Show Referrer
449
+ * @uiGroup Referrer
450
+ * @default ""
451
+ */
91
452
  "showreferrer": boolean;
453
+ /**
454
+ * Text shown when the referred users name is unknown
455
+ * @uiName Unknown User Text
456
+ * @default "Your Friend"
457
+ */
92
458
  "unknownuser": string;
459
+ /**
460
+ * Show value of the first earned reward inside the rewards column
461
+ * @uiName Use First Reward
462
+ * @uiGroup Converted Referrals
463
+ */
93
464
  "usefirstreward": boolean;
465
+ /**
466
+ * Value shown in the rewards column
467
+ * @uiName Value Content
468
+ * @uiGroup Converted Referrals
469
+ * @uiWidget textArea
470
+ * @default "and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}"
471
+ */
94
472
  "valuecontent": string;
95
473
  }
96
474
  interface SqhRewardsActions {
475
+ /**
476
+ * Text inside the hide button
477
+ * @uiName Hide Button Text
478
+ */
97
479
  "hidetext": string;
480
+ /**
481
+ * Text inside the next button
482
+ * @uiName Next Button Text
483
+ */
98
484
  "nexttext": string;
485
+ /**
486
+ * Text inside the previous button
487
+ * @uiName Previous Button Text
488
+ */
99
489
  "previoustext": string;
100
490
  }
101
491
  interface SqhShareButton {
492
+ /**
493
+ * Background color of the share button
494
+ * @uiName Share Button Background Color
495
+ * @uiWidget color
496
+ * @format color
497
+ */
102
498
  "backgroundcolor": string;
499
+ /**
500
+ * CSS Class name used to style the share button
501
+ * @uiName Share Button Class Name
502
+ */
103
503
  "buttonClassName": string;
504
+ /**
505
+ * Show or hide button depending on what type of device the user is on
506
+ * @uiName Share Button Display Rule
507
+ */
104
508
  "displayrule": string;
509
+ /**
510
+ * Share button icon
511
+ * @uiName Share Button Icon
512
+ */
105
513
  "icon": string;
514
+ /**
515
+ * Number to horizontally align the share button icon
516
+ * @uiName Share Button Icon Horizontal
517
+ */
106
518
  "iconhorizontal": number;
519
+ /**
520
+ * Size of the Share button icon
521
+ * @uiName Share Button Icon Size
522
+ */
107
523
  "iconsize": number;
524
+ /**
525
+ * Number to vertically align the share button icon
526
+ * @uiName Share Button Icon Vertical
527
+ */
108
528
  "iconvertical": number;
529
+ /**
530
+ * Text inside the share button
531
+ * @uiName Share Button Text
532
+ */
109
533
  "text": string;
534
+ /**
535
+ * Color of the text inside the share button
536
+ * @uiName Share Button Text Color
537
+ * @uiWidget color
538
+ * @format color
539
+ */
110
540
  "textcolor": string;
541
+ /**
542
+ * Type of the share button
543
+ * @uiName Share Button Type
544
+ */
111
545
  "type": string;
546
+ /**
547
+ * URL redirect location
548
+ * @uiName URL
549
+ * @uiWidget imageUpload
550
+ * @format url
551
+ */
112
552
  "url": string;
113
553
  }
114
554
  interface SqhShareButtonContainer {
555
+ /**
556
+ * Background color of the Email button
557
+ * @uiName Email Background Color
558
+ * @uiGroup Email
559
+ * @uiWidget color
560
+ * @format color
561
+ * @default "#4b4d50"
562
+ */
115
563
  "emailbackgroundcolor": string;
564
+ /**
565
+ * CSS Class name used to style the Email button
566
+ * @uiName Email Class Name
567
+ * @uiGroup Email
568
+ */
116
569
  "emailclassName": string;
570
+ /**
571
+ * Show and hide button depending on what type of device the user is on
572
+ * @uiName Email Display Rule
573
+ * @uiGroup Email
574
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
575
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
576
+ * @default "mobile-and-desktop"
577
+ */
117
578
  "emaildisplayrule": string;
579
+ /**
580
+ * Email button icon
581
+ * @uiName Email Icon
582
+ * @uiGroup Email
583
+ */
118
584
  "emailicon": string;
585
+ /**
586
+ * Number to horizontally align the Email button icon
587
+ * @uiName Email Icon Horizontal
588
+ * @uiGroup Email
589
+ */
119
590
  "emailiconhorizontal": number;
591
+ /**
592
+ * Size of the Email button icon
593
+ * @uiName Email Icon Size
594
+ * @uiGroup Email
595
+ */
120
596
  "emailiconsize": number;
597
+ /**
598
+ * Number to vertically align the Email button icon
599
+ * @uiName Email Icon Vertical
600
+ * @uiGroup Email
601
+ */
121
602
  "emailiconvertical": number;
603
+ /**
604
+ * Text inside the Email button
605
+ * @uiName Email Text
606
+ * @uiGroup Email
607
+ * @default "Email"
608
+ */
122
609
  "emailtext": string;
610
+ /**
611
+ * Color of the text inside the Email button
612
+ * @uiName Email Text Color
613
+ * @uiGroup Email
614
+ * @uiWidget color
615
+ * @format color
616
+ * @default "#ffffff"
617
+ */
123
618
  "emailtextcolor": string;
619
+ /**
620
+ * Background color of the facebook button
621
+ * @uiName Facebook Background Color
622
+ * @uiGroup Facebook
623
+ * @uiWidget color
624
+ * @format color
625
+ * @default "#234079"
626
+ */
124
627
  "facebookbackgroundcolor": string;
628
+ /**
629
+ * CSS Class name used to style the facebook button
630
+ * @uiName Facebook Class Name
631
+ * @uiGroup Facebook
632
+ */
125
633
  "facebookclassName": string;
634
+ /**
635
+ * Show and hide button depending on what type of device the user is on
636
+ * @uiName Facebook Display Rule
637
+ * @uiGroup Facebook
638
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
639
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
640
+ * @default "mobile-and-desktop"
641
+ */
126
642
  "facebookdisplayrule": string;
643
+ /**
644
+ * Facebook button icon
645
+ * @uiName Facebook Icon
646
+ * @uiGroup Facebook
647
+ */
127
648
  "facebookicon": string;
649
+ /**
650
+ * Number to horizontally align the facebook button icon
651
+ * @uiName Facebook Icon Horizontal
652
+ * @uiGroup Facebook
653
+ */
128
654
  "facebookiconhorizontal": number;
655
+ /**
656
+ * Size of the facebook button icon
657
+ * @uiName Facebook Icon Size
658
+ * @uiGroup Facebook
659
+ */
129
660
  "facebookiconsize": number;
661
+ /**
662
+ * Number to vertically align the facebook button icon
663
+ * @uiName Facebook Icon Vertical
664
+ * @uiGroup Facebook
665
+ */
130
666
  "facebookiconvertical": number;
667
+ /**
668
+ * Text inside the facebook button
669
+ * @uiName Facebook Text
670
+ * @uiGroup Facebook
671
+ * @default "Facebook"
672
+ */
131
673
  "facebooktext": string;
674
+ /**
675
+ * Color of the text inside the facebook button
676
+ * @uiName Facebook Text Color
677
+ * @uiGroup Facebook
678
+ * @uiWidget color
679
+ * @format color
680
+ * @default "#ffffff"
681
+ */
132
682
  "facebooktextcolor": string;
683
+ /**
684
+ * Hide or show the component
685
+ * @uiName Hide Share Buttons
686
+ */
133
687
  "ishidden": boolean;
688
+ /**
689
+ * Background color of the Line button
690
+ * @uiName Line Background Color
691
+ * @uiGroup Line Messenger
692
+ * @uiWidget color
693
+ * @format color
694
+ * @default "#00c300"
695
+ */
134
696
  "linebackgroundcolor": string;
697
+ /**
698
+ * CSS Class name used to style the Line button
699
+ * @uiName Line Class Name
700
+ * @uiGroup Line Messenger
701
+ */
135
702
  "lineclassName": string;
703
+ /**
704
+ * Show and hide button depending on what type of device the user is on
705
+ * @uiName Line Display Rule
706
+ * @uiGroup Line Messenger
707
+ * @uiEnum ["mobile-only","hidden"]
708
+ * @uiEnumNames ["Mobile Only","Hide"]
709
+ * @default "mobile-only"
710
+ */
136
711
  "linedisplayrule": string;
712
+ /**
713
+ * Line button icon
714
+ * @uiName Line Icon
715
+ * @uiGroup Line Messenger
716
+ */
137
717
  "lineicon": string;
718
+ /**
719
+ * Number to horizontally align the Line button icon
720
+ * @uiName Line Icon Horizontal
721
+ * @uiGroup Line Messenger
722
+ */
138
723
  "lineiconhorizontal": number;
724
+ /**
725
+ * Size of the Line button icon
726
+ * @uiName Line Icon Size
727
+ * @uiGroup Line Messenger
728
+ */
139
729
  "lineiconsize": number;
730
+ /**
731
+ * Number to vertically align the Line button icon
732
+ * @uiName Line Icon Vertical
733
+ * @uiGroup Line Messenger
734
+ */
140
735
  "lineiconvertical": number;
736
+ /**
737
+ * Text inside the Line button
738
+ * @uiName Line Text
739
+ * @uiGroup Line Messenger
740
+ * @default "Line Messenger"
741
+ */
141
742
  "linetext": string;
743
+ /**
744
+ * Color of the text inside the Line button
745
+ * @uiName Line Text Color
746
+ * @uiGroup Line Messenger
747
+ * @uiWidget color
748
+ * @format color
749
+ * @default "#ffffff"
750
+ */
142
751
  "linetextcolor": string;
752
+ /**
753
+ * Background color of the linkedin button
754
+ * @uiName Linkedin Background Color
755
+ * @uiGroup LinkedIn
756
+ * @uiWidget color
757
+ * @format color
758
+ * @default "#ffffff"
759
+ */
143
760
  "linkedinbackgroundcolor": string;
761
+ /**
762
+ * CSS Class name used to style the Linkedin button
763
+ * @uiName Linkedin Class Name
764
+ * @uiGroup LinkedIn
765
+ */
144
766
  "linkedinclassName": string;
767
+ /**
768
+ * Show and hide button depending on what type of device the user is on
769
+ * @uiName Linkedin Display Rule
770
+ * @uiGroup LinkedIn
771
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
772
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
773
+ * @default "hidden"
774
+ */
145
775
  "linkedindisplayrule": string;
776
+ /**
777
+ * Linkedin button icon
778
+ * @uiName Linkedin Icon
779
+ * @uiGroup LinkedIn
780
+ */
146
781
  "linkedinicon": string;
782
+ /**
783
+ * Number to horizontally align the Linkedin button icon
784
+ * @uiName Linkedin Icon Horizontal
785
+ * @uiGroup LinkedIn
786
+ */
147
787
  "linkediniconhorizontal": number;
788
+ /**
789
+ * Size of the Linkedin button icon
790
+ * @uiName Linkedin Icon Size
791
+ * @uiGroup LinkedIn
792
+ */
148
793
  "linkediniconsize": number;
794
+ /**
795
+ * Number to vertically align the Linkedin button icon
796
+ * @uiName Linkedin Icon Vertical
797
+ * @uiGroup LinkedIn
798
+ */
149
799
  "linkediniconvertical": number;
800
+ /**
801
+ * Text inside the linkedin button
802
+ * @uiName Linkedin Text
803
+ * @uiGroup LinkedIn
804
+ * @default "LinkedIn"
805
+ */
150
806
  "linkedintext": string;
807
+ /**
808
+ * Color of the text inside the Linkedin button
809
+ * @uiName Linkedin Text Color
810
+ * @uiGroup LinkedIn
811
+ * @uiWidget color
812
+ * @format color
813
+ * @default "#0084b9"
814
+ */
151
815
  "linkedintextcolor": string;
816
+ /**
817
+ * Background color of the Messenger button
818
+ * @uiName Messenger Background Color
819
+ * @uiGroup Messenger
820
+ * @uiWidget color
821
+ * @format color
822
+ * @default "#0084ff"
823
+ */
152
824
  "messengerbackgroundcolor": string;
825
+ /**
826
+ * CSS Class name used to style the Messenger button
827
+ * @uiName Messenger Class Name
828
+ * @uiGroup Messenger
829
+ */
153
830
  "messengerclassName": string;
831
+ /**
832
+ * Show and hide button depending on what type of device the user is on
833
+ * @uiName Messenger Display Rule
834
+ * @uiGroup Messenger
835
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
836
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
837
+ * @default "hidden"
838
+ */
154
839
  "messengerdisplayrule": string;
840
+ /**
841
+ * Messenger button icon
842
+ * @uiName Messenger Icon
843
+ * @uiGroup Messenger
844
+ */
155
845
  "messengericon": string;
846
+ /**
847
+ * Number to horizontally align the Messenger button icon
848
+ * @uiName Messenger Icon Horizontal
849
+ * @uiGroup Messenger
850
+ */
156
851
  "messengericonhorizontal": number;
852
+ /**
853
+ * Size of the Messenger button icon
854
+ * @uiName Messenger Icon Size
855
+ * @uiGroup Messenger
856
+ */
157
857
  "messengericonsize": number;
858
+ /**
859
+ * Number to vertically align the Messenger button icon
860
+ * @uiName Messenger Icon Vertical
861
+ * @uiGroup Messenger
862
+ */
158
863
  "messengericonvertical": number;
864
+ /**
865
+ * Text inside the Messenger button
866
+ * @uiName Messenger Text
867
+ * @uiGroup Messenger
868
+ * @default "Messenger"
869
+ */
159
870
  "messengertext": string;
871
+ /**
872
+ * Color of the text inside the Messenger button
873
+ * @uiName Messenger Text Color
874
+ * @uiGroup Messenger
875
+ * @uiWidget color
876
+ * @format color
877
+ * @default "#ffffff"
878
+ */
160
879
  "messengertextcolor": string;
880
+ /**
881
+ * Background color of the Pinterest button
882
+ * @uiName Pinterest Background Color
883
+ * @uiGroup Pinterest
884
+ * @uiWidget color
885
+ * @format color
886
+ * @default "#cb2027"
887
+ */
161
888
  "pinterestbackgroundcolor": string;
889
+ /**
890
+ * CSS Class name used to style the Pinterest button
891
+ * @uiName Pinterest Class Name
892
+ * @uiGroup Pinterest
893
+ */
162
894
  "pinterestclassName": string;
895
+ /**
896
+ * Show and hide button depending on what type of device the user is on
897
+ * @uiName Pinterest Display Rule
898
+ * @uiGroup Pinterest
899
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
900
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
901
+ * @default "hidden"
902
+ */
163
903
  "pinterestdisplayrule": string;
904
+ /**
905
+ * Pinterest button icon
906
+ * @uiName Pinterest Icon
907
+ * @uiGroup Pinterest
908
+ */
164
909
  "pinteresticon": string;
910
+ /**
911
+ * Number to horizontally align the Pinterest button icon
912
+ * @uiName Pinterest Icon Horizontal
913
+ * @uiGroup Pinterest
914
+ */
165
915
  "pinteresticonhorizontal": number;
916
+ /**
917
+ * Size of the Pinterest button icon
918
+ * @uiName Pinterest Icon Size
919
+ * @uiGroup Pinterest
920
+ */
166
921
  "pinteresticonsize": number;
922
+ /**
923
+ * Number to vertically align the Pinterest button icon
924
+ * @uiName Pinterest Icon Vertical
925
+ * @uiGroup Pinterest
926
+ */
167
927
  "pinteresticonvertical": number;
928
+ /**
929
+ * Text inside the Pinterest button
930
+ * @uiName Pinterest Text
931
+ * @uiGroup Pinterest
932
+ * @default "Pinterest"
933
+ */
168
934
  "pinteresttext": string;
935
+ /**
936
+ * Color of the text inside the Pinterest button
937
+ * @uiName Pinterest Text Color
938
+ * @uiGroup Pinterest
939
+ * @uiWidget color
940
+ * @format color
941
+ * @default "#ffffff"
942
+ */
169
943
  "pinteresttextcolor": string;
944
+ /**
945
+ * Background color of the SMS button
946
+ * @uiName SMS Background Color
947
+ * @uiGroup SMS
948
+ * @uiWidget color
949
+ * @format color
950
+ * @default "#7bbf38"
951
+ */
170
952
  "smsbackgroundcolor": string;
953
+ /**
954
+ * CSS Class name used to style the SMS button
955
+ * @uiName SMS Class Name
956
+ * @uiGroup SMS
957
+ */
171
958
  "smsclassName": string;
959
+ /**
960
+ * Show and hide button depending on what type of device the user is on
961
+ * @uiName SMS Display Rule
962
+ * @uiGroup SMS
963
+ * @uiEnum ["mobile-only","hidden"]
964
+ * @uiEnumNames ["Mobile Only","Hide"]
965
+ * @default "mobile-only"
966
+ */
172
967
  "smsdisplayrule": string;
968
+ /**
969
+ * SMS button icon
970
+ * @uiName SMS Icon
971
+ * @uiGroup SMS
972
+ */
173
973
  "smsicon": string;
974
+ /**
975
+ * Number to horizontally align the SMS button icon
976
+ * @uiName SMS Icon Horizontal
977
+ * @uiGroup SMS
978
+ */
174
979
  "smsiconhorizontal": number;
980
+ /**
981
+ * Size of the SMS button icon
982
+ * @uiName SMS Icon Size
983
+ * @uiGroup SMS
984
+ */
175
985
  "smsiconsize": number;
986
+ /**
987
+ * Number to vertically align the SMS button icon
988
+ * @uiName SMS Icon Vertical
989
+ * @uiGroup SMS
990
+ */
176
991
  "smsiconvertical": number;
992
+ /**
993
+ * Text inside the SMS button
994
+ * @uiName SMS Text
995
+ * @uiGroup SMS
996
+ * @default "SMS"
997
+ */
177
998
  "smstext": string;
999
+ /**
1000
+ * Color of the text inside the SMS button
1001
+ * @uiName SMS Text Color
1002
+ * @uiGroup SMS
1003
+ * @uiWidget color
1004
+ * @format color
1005
+ * @default "#ffffff"
1006
+ */
178
1007
  "smstextcolor": string;
1008
+ /**
1009
+ * Background color of the twitter button
1010
+ * @uiName Twitter Background Color
1011
+ * @uiGroup Twitter
1012
+ * @uiWidget color
1013
+ * @format color
1014
+ * @default "#4797d2"
1015
+ */
179
1016
  "twitterbackgroundcolor": string;
1017
+ /**
1018
+ * CSS Class name used to style the twitter button
1019
+ * @uiName Twitter Class Name
1020
+ * @uiGroup Twitter
1021
+ */
180
1022
  "twitterclassName": string;
1023
+ /**
1024
+ * Show and hide button depending on what type of device the user is on
1025
+ * @uiName Twitter Display Rule
1026
+ * @uiGroup Twitter
1027
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1028
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1029
+ * @default "mobile-and-desktop"
1030
+ */
181
1031
  "twitterdisplayrule": string;
1032
+ /**
1033
+ * Twitter button icon
1034
+ * @uiName Twitter Icon
1035
+ * @uiGroup Twitter
1036
+ */
182
1037
  "twittericon": string;
1038
+ /**
1039
+ * Number to horizontally align the twitter button icon
1040
+ * @uiName Twitter Icon Horizontal
1041
+ * @uiGroup Twitter
1042
+ */
183
1043
  "twittericonhorizontal": number;
1044
+ /**
1045
+ * Size of the twitter button icon
1046
+ * @uiName Twitter Icon Size
1047
+ * @uiGroup Twitter
1048
+ */
184
1049
  "twittericonsize": number;
1050
+ /**
1051
+ * Number to vertically align the twitter button icon
1052
+ * @uiName Twitter Icon Vertical
1053
+ * @uiGroup Twitter
1054
+ */
185
1055
  "twittericonvertical": number;
1056
+ /**
1057
+ * Text inside the twitter button
1058
+ * @uiName Twitter Text
1059
+ * @uiGroup Twitter
1060
+ * @default "Twitter"
1061
+ */
186
1062
  "twittertext": string;
1063
+ /**
1064
+ * Color of the text inside the twitter button
1065
+ * @uiName Twitter Text Color
1066
+ * @uiGroup Twitter
1067
+ * @uiWidget color
1068
+ * @format color
1069
+ * @default "#ffffff"
1070
+ */
187
1071
  "twittertextcolor": string;
1072
+ /**
1073
+ * Background color of the WhatsApp button
1074
+ * @uiName WhatsApp Background Color
1075
+ * @uiGroup WhatsApp
1076
+ * @uiWidget color
1077
+ * @format color
1078
+ * @default "#25D366"
1079
+ */
188
1080
  "whatsappbackgroundcolor": string;
1081
+ /**
1082
+ * CSS Class name used to style the WhatsApp button
1083
+ * @uiName WhatsApp Class Name
1084
+ * @uiGroup WhatsApp
1085
+ */
189
1086
  "whatsappclassName": string;
1087
+ /**
1088
+ * Show and hide button depending on what type of device the user is on
1089
+ * @uiName WhatsApp Display Rule
1090
+ * @uiGroup WhatsApp
1091
+ * @uiEnum ["mobile-only","hidden"]
1092
+ * @uiEnumNames ["Mobile Only","Hide"]
1093
+ * @default "mobile-only"
1094
+ */
190
1095
  "whatsappdisplayrule": string;
1096
+ /**
1097
+ * WhatsApp button icon
1098
+ * @uiName WhatsApp Icon
1099
+ * @uiGroup WhatsApp
1100
+ */
191
1101
  "whatsappicon": string;
1102
+ /**
1103
+ * Number to horizontally align the WhatsApp button icon
1104
+ * @uiName WhatsApp Icon Horizontal
1105
+ * @uiGroup WhatsApp
1106
+ */
192
1107
  "whatsappiconhorizontal": number;
1108
+ /**
1109
+ * Size of the WhatsApp button icon
1110
+ * @uiName WhatsApp Icon Size
1111
+ * @uiGroup WhatsApp
1112
+ */
193
1113
  "whatsappiconsize": number;
1114
+ /**
1115
+ * Number to vertically align the WhatsApp button icon
1116
+ * @uiName WhatsApp Icon Vertical
1117
+ * @uiGroup WhatsApp
1118
+ */
194
1119
  "whatsappiconvertical": number;
1120
+ /**
1121
+ * Text inside the WhatsApp button
1122
+ * @uiName WhatsApp Text
1123
+ * @uiGroup WhatsApp
1124
+ * @default "Whatspp"
1125
+ */
195
1126
  "whatsapptext": string;
1127
+ /**
1128
+ * Color of the text inside the WhatsApp button
1129
+ * @uiName WhatsApp Text Color
1130
+ * @uiGroup WhatsApp
1131
+ * @uiWidget color
1132
+ * @format color
1133
+ * @default "#ffffff"
1134
+ */
196
1135
  "whatsapptextcolor": string;
197
1136
  }
198
1137
  interface SqhStatComponent {
1138
+ /**
1139
+ * Hide or show the component
1140
+ * @uiName Hide Stat
1141
+ */
199
1142
  "ishidden": boolean;
1143
+ /**
1144
+ * Text color of the stat
1145
+ * @uiName Stat Color
1146
+ * @uiWidget color
1147
+ * @format color
1148
+ */
200
1149
  "statcolor": string;
1150
+ /**
1151
+ * Description shown underneath stat value
1152
+ * @uiName Stat Description
1153
+ */
201
1154
  "statdescription": string;
1155
+ /**
1156
+ * Type of stat being displayed. e.g /rewardsCount
1157
+ * @uiName Stat Type
1158
+ * @uiWidget statTypeSelector
1159
+ * @required
1160
+ */
202
1161
  "stattype": string;
1162
+ /**
1163
+ * Value shown inside stat
1164
+ * @uiName Stat Value
1165
+ */
203
1166
  "statvalue": string;
204
1167
  }
205
1168
  interface SqhStatsContainer {
1169
+ /**
1170
+ * Hide the component
1171
+ * @uiName Is Hidden
1172
+ */
206
1173
  "ishidden": boolean;
1174
+ /**
1175
+ * Configure the padding bottom of the container
1176
+ * @uiName Padding Bottom
1177
+ * @default "0"
1178
+ */
207
1179
  "paddingbottom": string;
1180
+ /**
1181
+ * Configure the padding top of the container
1182
+ * @uiName Padding Top
1183
+ * @default "0"
1184
+ */
208
1185
  "paddingtop": string;
209
1186
  }
210
1187
  interface SqhTextComponent {
1188
+ /**
1189
+ * Background the container, color or url
1190
+ * @uiName Background
1191
+ */
211
1192
  "background": string;
1193
+ /**
1194
+ * Color of the text
1195
+ * @uiName Color
1196
+ * @uiWidget color
1197
+ * @format color
1198
+ */
212
1199
  "color": string;
1200
+ /**
1201
+ * Font family of the text
1202
+ * @uiName Font Family
1203
+ */
213
1204
  "fontfamily": string;
1205
+ /**
1206
+ * Size of the text
1207
+ * @uiName Font Size
1208
+ */
214
1209
  "fontsize": string;
1210
+ /**
1211
+ * Height of the container
1212
+ * @uiName Height
1213
+ */
215
1214
  "height": string;
1215
+ /**
1216
+ * Hide or show the component
1217
+ * @uiName Hide Text
1218
+ */
216
1219
  "ishidden": boolean;
1220
+ /**
1221
+ * Compiles plain text into markdown
1222
+ * @uiName Is Markdown
1223
+ */
217
1224
  "ismarkdown": boolean;
218
- "padding": string;
1225
+ /**
1226
+ * Bottom padding on text
1227
+ * @uiName Padding Bottom
1228
+ */
219
1229
  "paddingbottom": string;
1230
+ /**
1231
+ * Top padding on text
1232
+ * @uiName Padding Top
1233
+ */
220
1234
  "paddingtop": string;
1235
+ /**
1236
+ * The text content
1237
+ * @uiName Text
1238
+ */
221
1239
  "text": string;
1240
+ /**
1241
+ * Text alignment
1242
+ * @uiName Text Align
1243
+ * @uiEnum ["left", "center", "right"]
1244
+ * @uiEnumNames ["Left", "Center", "Right"]
1245
+ */
222
1246
  "textalign": string;
223
1247
  }
224
1248
  }
@@ -333,222 +1357,1246 @@ declare global {
333
1357
  }
334
1358
  declare namespace LocalJSX {
335
1359
  interface SqhCloseButton {
1360
+ /**
1361
+ * The text shown inside the close button.
1362
+ * @uiName Button Text
1363
+ */
336
1364
  "text"?: string;
337
1365
  }
338
1366
  interface SqhCopyButton {
1367
+ /**
1368
+ * Background & border color of the copy button.
1369
+ * @uiName Background Color
1370
+ * @uiWidget color
1371
+ * @format color
1372
+ * @default #35b21e
1373
+ */
339
1374
  "backgroundcolor"?: string;
1375
+ /**
1376
+ * Configure border radius with pixel amount
1377
+ * @uiName Border Radius
1378
+ * @default 4
1379
+ */
340
1380
  "borderradius"?: number;
1381
+ /**
1382
+ * Text color of the fuel tank code.
1383
+ * @uiName Code Font Color
1384
+ * @uiWidget color
1385
+ * @format color
1386
+ * @default #000000
1387
+ */
341
1388
  "codefontcolor"?: string;
1389
+ /**
1390
+ * Font size of the fuel tank code.
1391
+ * @uiName Code Font Size
1392
+ * @default 14
1393
+ */
342
1394
  "codefontsize"?: number;
1395
+ /**
1396
+ * Shown when the button has failed to copy the code to the users clipboard.
1397
+ * @uiName Copy Failure Text
1398
+ * @default "Press Ctrl+C to copy"
1399
+ */
343
1400
  "copyfailure"?: string;
1401
+ /**
1402
+ * Shown when the code is successfully copied to the users clipboard.
1403
+ * @uiName Copy Success Text
1404
+ * @default "copied!"
1405
+ */
344
1406
  "copysuccess"?: string;
1407
+ /**
1408
+ * Font size of the copy button text.
1409
+ * @uiName Font Size
1410
+ * @default 14
1411
+ */
345
1412
  "fontsize"?: number;
1413
+ /**
1414
+ * Hide or show the component
1415
+ * @uiName Hide Button
1416
+ * @default undefined
1417
+ */
346
1418
  "ishidden"?: boolean;
1419
+ /**
1420
+ * rewardkey is used to get the fuel tank code for a user.
1421
+ * @uiName Reward Key
1422
+ * @default "referredReward"
1423
+ */
347
1424
  "rewardkey"?: string;
1425
+ /**
1426
+ * Text shown inside the copy button.
1427
+ * @uiName Button Text
1428
+ * @default "COPY CODE"
1429
+ */
348
1430
  "text"?: string;
1431
+ /**
1432
+ * Color of text inside the copy button.
1433
+ * @uiName Text Color
1434
+ * @uiWidget color
1435
+ * @format color
1436
+ * @default #ffffff
1437
+ */
349
1438
  "textcolor"?: string;
1439
+ /**
1440
+ * Sets a maximum width on the copy button.
1441
+ * @uiName Max Width
1442
+ * @default 170
1443
+ */
350
1444
  "width"?: number;
351
1445
  }
352
1446
  interface SqhCopyLinkButton {
1447
+ /**
1448
+ * Background & border color of the copy button.
1449
+ * @uiName Button Color
1450
+ * @uiWidget color
1451
+ * @format color
1452
+ * @default "#5C6164"
1453
+ */
353
1454
  "buttoncolor"?: string;
1455
+ /**
1456
+ * Shown when the button has failed to copy the code to the users clipboard.
1457
+ * @uiName Copy Failure Text
1458
+ * @default "Press Ctrl+C to copy"
1459
+ */
354
1460
  "copyfailure"?: string;
1461
+ /**
1462
+ * Shown when the code is successfully copied to the users clipboard.
1463
+ * @uiName Copy Success Text
1464
+ * @default "copied!"
1465
+ */
355
1466
  "copysuccess"?: string;
1467
+ /**
1468
+ * Hide or show the component
1469
+ * @uiName Hide Button
1470
+ */
356
1471
  "ishidden"?: boolean;
1472
+ /**
1473
+ * Text shown inside the copy button.
1474
+ * @uiName Button Text
1475
+ * @default "Copy"
1476
+ */
357
1477
  "text"?: string;
1478
+ /**
1479
+ * Color of text inside the copy button.
1480
+ * @uiName Text Color
1481
+ * @uiWidget color
1482
+ * @format color
1483
+ * @default "#FFFFFF"
1484
+ */
358
1485
  "textcolor"?: string;
359
1486
  }
360
1487
  interface SqhGlobalContainer {
1488
+ /**
1489
+ * Configure the background color.
1490
+ * @uiName Background Color
1491
+ * @uiWidget color
1492
+ * @format color
1493
+ * @default "#ffffff"
1494
+ */
361
1495
  "background"?: string;
1496
+ /**
1497
+ * Font family used inside the container.
1498
+ * @uiName Font Family
1499
+ * @default "Roboto"
1500
+ * @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
1501
+ * @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
1502
+ */
362
1503
  "fontfamily"?: string;
1504
+ /**
1505
+ * Configure the color of the loading state.
1506
+ * @uiName Loading Color
1507
+ * @uiWidget color
1508
+ * @format color
1509
+ */
363
1510
  "loadingcolor"?: string;
1511
+ /**
1512
+ * Maximum width on the container.
1513
+ * @uiName Max Width
1514
+ */
364
1515
  "maxwidth"?: string;
1516
+ /**
1517
+ * Show and hide the powered by SaaSquatch link. Can only be disabled on Pro plans.
1518
+ * @uiName Show Powered By
1519
+ */
365
1520
  "poweredby"?: boolean;
366
1521
  }
367
1522
  interface SqhImageComponent {
1523
+ /**
1524
+ * Configure alignment of the image
1525
+ * @uiName Alignment
1526
+ * @uiEnum ["left", "center", "right"]
1527
+ * @uiEnumNames ["Left", "Center", "Right"]
1528
+ * @default "center"
1529
+ */
368
1530
  "alignment"?: string;
1531
+ /**
1532
+ * Configure border radius with pixel amount
1533
+ * @uiName Border Radius
1534
+ */
369
1535
  "borderradius"?: number;
1536
+ /**
1537
+ * Additional CSS applied to the image element
1538
+ * @uiName CSS
1539
+ * @uiWidget textArea
1540
+ * @default "padding-top: 38px; padding-bottom: 7px;"
1541
+ */
370
1542
  "css"?: string;
1543
+ /**
1544
+ * Hide or show the component
1545
+ * @uiName Hide Image
1546
+ */
371
1547
  "ishidden"?: boolean;
1548
+ /**
1549
+ * Image link
1550
+ * @uiName URL
1551
+ * @uiWidget imageUpload
1552
+ * @format url
1553
+ */
372
1554
  "url"?: string;
1555
+ /**
1556
+ * Image width
1557
+ * @uiName Width
1558
+ */
373
1559
  "width"?: number;
374
1560
  }
375
1561
  interface SqhPartnerStatComponent {
1562
+ /**
1563
+ * Hide or show the component
1564
+ * @uiName Hide Stat
1565
+ */
376
1566
  "ishidden"?: boolean;
377
1567
  "onStatAdded"?: (event: CustomEvent<any>) => void;
378
1568
  "onStatTypeUpdated"?: (event: CustomEvent<any>) => void;
1569
+ /**
1570
+ * Color of the stat value and description
1571
+ * @uiName Stat Color
1572
+ * @uiWidget color
1573
+ * @format color
1574
+ */
379
1575
  "statcolor"?: string;
1576
+ /**
1577
+ * Description of the stat
1578
+ * @uiName Stat Description
1579
+ */
380
1580
  "statdescription"?: string;
1581
+ /**
1582
+ * Used to query the stats for a user
1583
+ * @uiName Stat Type
1584
+ * @uiWidget statTypeSelector
1585
+ * @required
1586
+ */
381
1587
  "stattype"?: string;
1588
+ /**
1589
+ * Value of the stat
1590
+ * @uiName Stat Value
1591
+ */
382
1592
  "statvalue"?: string;
383
1593
  }
384
1594
  interface SqhReferralCode {
385
1595
  }
386
1596
  interface SqhReferralComponent {
1597
+ /**
1598
+ * Configure the local
1599
+ * @uiName Local
1600
+ */
387
1601
  "locale"?: string;
1602
+ /**
1603
+ * Referral object
1604
+ * @uiName Referral
1605
+ */
388
1606
  "referral"?: Referral | ReferredByReferral;
1607
+ /**
1608
+ * Type of referral
1609
+ * @uiName Referral Type
1610
+ */
389
1611
  "referraltype"?: "converted" | "pending" | "referrer";
1612
+ /**
1613
+ * Referral variables used to format the row in the referral list
1614
+ * @uiName Referral Variables
1615
+ */
390
1616
  "referralvariables"?: ReferralVariables;
1617
+ /**
1618
+ * Text shown when the name of a user is unknown
1619
+ * @uiName Unknown User
1620
+ */
391
1621
  "unknownuser"?: String;
392
1622
  }
393
1623
  interface SqhReferralList {
1624
+ /**
1625
+ * Color of the cancelled icon and text
1626
+ * @uiName Cancelled Color
1627
+ * @uiGroup Cancelled Rewards
1628
+ * @uiWidget color
1629
+ * @format color
1630
+ * @default "#C81D05"
1631
+ */
394
1632
  "cancelledcolor"?: string;
1633
+ /**
1634
+ * Cancelled text content shown in the user column
1635
+ * @uiName Cancelled Content
1636
+ * @uiGroup Cancelled Rewards
1637
+ * @default "Signed up, referred {date}"
1638
+ */
395
1639
  "cancelledcontent"?: string;
1640
+ /**
1641
+ * Cancelled text content shown alongside the icon in the referral column
1642
+ * @uiName Cancelled Value
1643
+ * @uiGroup Cancelled Rewards
1644
+ * @default "Cancelled Reward"
1645
+ */
396
1646
  "cancelledvalue"?: string;
1647
+ /**
1648
+ * Content shown when a referral is converted
1649
+ * @uiName Converted Content
1650
+ * @uiGroup Converted Referrals
1651
+ * @default "Signed up, referred {date}"
1652
+ */
397
1653
  "convertedcontent"?: string;
1654
+ /**
1655
+ * Color of the customer note
1656
+ * @uiName Reward Color
1657
+ * @uiGroup Converted Referrals
1658
+ * @uiWidget color
1659
+ * @format color
1660
+ */
398
1661
  "customernotecolor"?: string;
1662
+ /**
1663
+ * Color of the expired icon and text
1664
+ * @uiName Expired Color
1665
+ * @uiGroup Expired Rewards
1666
+ * @uiWidget color
1667
+ * @format color
1668
+ * @default "lightgray"
1669
+ */
399
1670
  "expiredcolor"?: string;
1671
+ /**
1672
+ * Expired content shown in the user column
1673
+ * @uiName Expired Content
1674
+ * @uiGroup Expired Rewards
1675
+ * @default "Signed up, referred {date}"
1676
+ */
400
1677
  "expiredcontent"?: string;
1678
+ /**
1679
+ * Expired content shown alongside the icon in the referral column
1680
+ * @uiName Expired Value
1681
+ * @uiGroup Expired Rewards
1682
+ * @default "Expired Reward"
1683
+ */
401
1684
  "expiredvalue"?: string;
1685
+ /**
1686
+ * Reward expiry ICU message
1687
+ * @uiName Expires Value
1688
+ * @uiGroup Expired Rewards
1689
+ */
402
1690
  "expiresvalue"?: string;
1691
+ /**
1692
+ * When true, the local gets set by using the value passed to the referral component
1693
+ * @uiName Internationalization
1694
+ */
403
1695
  "internationalization"?: boolean;
1696
+ /**
1697
+ * Hide or show the component
1698
+ * @uiName Hide Referral List
1699
+ */
404
1700
  "ishidden"?: boolean;
1701
+ /**
1702
+ * Shown when referral list is empty
1703
+ * @uiName Empty Referrals Text
1704
+ * @default "No Referrals Yet..."
1705
+ */
405
1706
  "noreferralsyet"?: string;
1707
+ /**
1708
+ * Shown inside the paginate less button
1709
+ * @uiName Paginate Less Text
1710
+ * @default "Previous"
1711
+ */
406
1712
  "paginateless"?: string;
1713
+ /**
1714
+ * Shown inside the paginate more button
1715
+ * @uiName Paginate More Text
1716
+ * @default "View More"
1717
+ */
407
1718
  "paginatemore"?: string;
1719
+ /**
1720
+ * Color of the pending icon and text
1721
+ * @uiName Pending Color
1722
+ * @uiGroup Pending Referrals
1723
+ * @uiWidget color
1724
+ * @format color
1725
+ * @default "lightgray"
1726
+ */
408
1727
  "pendingcolor"?: string;
1728
+ /**
1729
+ * Pending content shown in the user column
1730
+ * @uiName Pending Content
1731
+ * @uiGroup Pending Referrals
1732
+ * @default "Trial user, referred {date}"
1733
+ */
409
1734
  "pendingcontent"?: string;
1735
+ /**
1736
+ * Pending content shown alongside the icon in the referral column
1737
+ * @uiName Pending Value
1738
+ * @uiGroup Pending Referrals
1739
+ * @default "Referral pending"
1740
+ */
410
1741
  "pendingvalue"?: string;
1742
+ /**
1743
+ * Shown when reward is redeemed
1744
+ * @uiName Redeemed Value
1745
+ * @uiGroup Converted Referrals
1746
+ * @default "Redeemed"
1747
+ */
411
1748
  "redeemedvalue"?: string;
1749
+ /**
1750
+ * Text color of the referred users name
1751
+ * @uiName Referral Name Color
1752
+ * @uiWidget color
1753
+ * @format color
1754
+ * @default "darkslategray"
1755
+ */
412
1756
  "referralnamecolor"?: string;
1757
+ /**
1758
+ * Text color of the referral status
1759
+ * @uiName Referral Text Color
1760
+ * @uiWidget color
1761
+ * @format color
1762
+ * @default "lightgray"
1763
+ */
413
1764
  "referraltextcolor"?: string;
1765
+ /**
1766
+ * Text explaining who referred you to the program
1767
+ * @uiName Referrer Content
1768
+ * @uiGroup Referrer
1769
+ * @default "Referred you {date}"
1770
+ */
414
1771
  "referrercontent"?: string;
1772
+ /**
1773
+ * Referred Text shown in reward column
1774
+ * @uiName Referrer Value
1775
+ * @uiGroup Referrer
1776
+ * @default "Referred"
1777
+ */
415
1778
  "referrervalue"?: string;
1779
+ /**
1780
+ * Color of the successful reward icon and the text value
1781
+ * @uiName Reward Color
1782
+ * @uiGroup Converted Referrals
1783
+ * @uiWidget color
1784
+ * @format color
1785
+ * @default "#4BB543"
1786
+ */
416
1787
  "rewardcolor"?: string;
1788
+ /**
1789
+ * Show or hide expired rewards
1790
+ * @uiName Show Expiry
1791
+ */
417
1792
  "showexpiry"?: boolean;
1793
+ /**
1794
+ * Show the customer note for a referral
1795
+ * @uiName Show Customer Note
1796
+ */
418
1797
  "shownotes"?: boolean;
1798
+ /**
1799
+ * Show or hide the referrer
1800
+ * @uiName Show Referrer
1801
+ * @uiGroup Referrer
1802
+ * @default ""
1803
+ */
419
1804
  "showreferrer"?: boolean;
1805
+ /**
1806
+ * Text shown when the referred users name is unknown
1807
+ * @uiName Unknown User Text
1808
+ * @default "Your Friend"
1809
+ */
420
1810
  "unknownuser"?: string;
1811
+ /**
1812
+ * Show value of the first earned reward inside the rewards column
1813
+ * @uiName Use First Reward
1814
+ * @uiGroup Converted Referrals
1815
+ */
421
1816
  "usefirstreward"?: boolean;
1817
+ /**
1818
+ * Value shown in the rewards column
1819
+ * @uiName Value Content
1820
+ * @uiGroup Converted Referrals
1821
+ * @uiWidget textArea
1822
+ * @default "and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}"
1823
+ */
422
1824
  "valuecontent"?: string;
423
1825
  }
424
1826
  interface SqhRewardsActions {
1827
+ /**
1828
+ * Text inside the hide button
1829
+ * @uiName Hide Button Text
1830
+ */
425
1831
  "hidetext"?: string;
1832
+ /**
1833
+ * Text inside the next button
1834
+ * @uiName Next Button Text
1835
+ */
426
1836
  "nexttext"?: string;
1837
+ /**
1838
+ * Text inside the previous button
1839
+ * @uiName Previous Button Text
1840
+ */
427
1841
  "previoustext"?: string;
428
1842
  }
429
1843
  interface SqhShareButton {
1844
+ /**
1845
+ * Background color of the share button
1846
+ * @uiName Share Button Background Color
1847
+ * @uiWidget color
1848
+ * @format color
1849
+ */
430
1850
  "backgroundcolor"?: string;
1851
+ /**
1852
+ * CSS Class name used to style the share button
1853
+ * @uiName Share Button Class Name
1854
+ */
431
1855
  "buttonClassName"?: string;
1856
+ /**
1857
+ * Show or hide button depending on what type of device the user is on
1858
+ * @uiName Share Button Display Rule
1859
+ */
432
1860
  "displayrule"?: string;
1861
+ /**
1862
+ * Share button icon
1863
+ * @uiName Share Button Icon
1864
+ */
433
1865
  "icon"?: string;
1866
+ /**
1867
+ * Number to horizontally align the share button icon
1868
+ * @uiName Share Button Icon Horizontal
1869
+ */
434
1870
  "iconhorizontal"?: number;
1871
+ /**
1872
+ * Size of the Share button icon
1873
+ * @uiName Share Button Icon Size
1874
+ */
435
1875
  "iconsize"?: number;
1876
+ /**
1877
+ * Number to vertically align the share button icon
1878
+ * @uiName Share Button Icon Vertical
1879
+ */
436
1880
  "iconvertical"?: number;
1881
+ /**
1882
+ * Text inside the share button
1883
+ * @uiName Share Button Text
1884
+ */
437
1885
  "text"?: string;
1886
+ /**
1887
+ * Color of the text inside the share button
1888
+ * @uiName Share Button Text Color
1889
+ * @uiWidget color
1890
+ * @format color
1891
+ */
438
1892
  "textcolor"?: string;
1893
+ /**
1894
+ * Type of the share button
1895
+ * @uiName Share Button Type
1896
+ */
439
1897
  "type"?: string;
1898
+ /**
1899
+ * URL redirect location
1900
+ * @uiName URL
1901
+ * @uiWidget imageUpload
1902
+ * @format url
1903
+ */
440
1904
  "url"?: string;
441
1905
  }
442
1906
  interface SqhShareButtonContainer {
1907
+ /**
1908
+ * Background color of the Email button
1909
+ * @uiName Email Background Color
1910
+ * @uiGroup Email
1911
+ * @uiWidget color
1912
+ * @format color
1913
+ * @default "#4b4d50"
1914
+ */
443
1915
  "emailbackgroundcolor"?: string;
1916
+ /**
1917
+ * CSS Class name used to style the Email button
1918
+ * @uiName Email Class Name
1919
+ * @uiGroup Email
1920
+ */
444
1921
  "emailclassName"?: string;
1922
+ /**
1923
+ * Show and hide button depending on what type of device the user is on
1924
+ * @uiName Email Display Rule
1925
+ * @uiGroup Email
1926
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1927
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1928
+ * @default "mobile-and-desktop"
1929
+ */
445
1930
  "emaildisplayrule"?: string;
1931
+ /**
1932
+ * Email button icon
1933
+ * @uiName Email Icon
1934
+ * @uiGroup Email
1935
+ */
446
1936
  "emailicon"?: string;
1937
+ /**
1938
+ * Number to horizontally align the Email button icon
1939
+ * @uiName Email Icon Horizontal
1940
+ * @uiGroup Email
1941
+ */
447
1942
  "emailiconhorizontal"?: number;
1943
+ /**
1944
+ * Size of the Email button icon
1945
+ * @uiName Email Icon Size
1946
+ * @uiGroup Email
1947
+ */
448
1948
  "emailiconsize"?: number;
1949
+ /**
1950
+ * Number to vertically align the Email button icon
1951
+ * @uiName Email Icon Vertical
1952
+ * @uiGroup Email
1953
+ */
449
1954
  "emailiconvertical"?: number;
1955
+ /**
1956
+ * Text inside the Email button
1957
+ * @uiName Email Text
1958
+ * @uiGroup Email
1959
+ * @default "Email"
1960
+ */
450
1961
  "emailtext"?: string;
1962
+ /**
1963
+ * Color of the text inside the Email button
1964
+ * @uiName Email Text Color
1965
+ * @uiGroup Email
1966
+ * @uiWidget color
1967
+ * @format color
1968
+ * @default "#ffffff"
1969
+ */
451
1970
  "emailtextcolor"?: string;
1971
+ /**
1972
+ * Background color of the facebook button
1973
+ * @uiName Facebook Background Color
1974
+ * @uiGroup Facebook
1975
+ * @uiWidget color
1976
+ * @format color
1977
+ * @default "#234079"
1978
+ */
452
1979
  "facebookbackgroundcolor"?: string;
1980
+ /**
1981
+ * CSS Class name used to style the facebook button
1982
+ * @uiName Facebook Class Name
1983
+ * @uiGroup Facebook
1984
+ */
453
1985
  "facebookclassName"?: string;
1986
+ /**
1987
+ * Show and hide button depending on what type of device the user is on
1988
+ * @uiName Facebook Display Rule
1989
+ * @uiGroup Facebook
1990
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
1991
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
1992
+ * @default "mobile-and-desktop"
1993
+ */
454
1994
  "facebookdisplayrule"?: string;
1995
+ /**
1996
+ * Facebook button icon
1997
+ * @uiName Facebook Icon
1998
+ * @uiGroup Facebook
1999
+ */
455
2000
  "facebookicon"?: string;
2001
+ /**
2002
+ * Number to horizontally align the facebook button icon
2003
+ * @uiName Facebook Icon Horizontal
2004
+ * @uiGroup Facebook
2005
+ */
456
2006
  "facebookiconhorizontal"?: number;
2007
+ /**
2008
+ * Size of the facebook button icon
2009
+ * @uiName Facebook Icon Size
2010
+ * @uiGroup Facebook
2011
+ */
457
2012
  "facebookiconsize"?: number;
2013
+ /**
2014
+ * Number to vertically align the facebook button icon
2015
+ * @uiName Facebook Icon Vertical
2016
+ * @uiGroup Facebook
2017
+ */
458
2018
  "facebookiconvertical"?: number;
2019
+ /**
2020
+ * Text inside the facebook button
2021
+ * @uiName Facebook Text
2022
+ * @uiGroup Facebook
2023
+ * @default "Facebook"
2024
+ */
459
2025
  "facebooktext"?: string;
2026
+ /**
2027
+ * Color of the text inside the facebook button
2028
+ * @uiName Facebook Text Color
2029
+ * @uiGroup Facebook
2030
+ * @uiWidget color
2031
+ * @format color
2032
+ * @default "#ffffff"
2033
+ */
460
2034
  "facebooktextcolor"?: string;
2035
+ /**
2036
+ * Hide or show the component
2037
+ * @uiName Hide Share Buttons
2038
+ */
461
2039
  "ishidden"?: boolean;
2040
+ /**
2041
+ * Background color of the Line button
2042
+ * @uiName Line Background Color
2043
+ * @uiGroup Line Messenger
2044
+ * @uiWidget color
2045
+ * @format color
2046
+ * @default "#00c300"
2047
+ */
462
2048
  "linebackgroundcolor"?: string;
2049
+ /**
2050
+ * CSS Class name used to style the Line button
2051
+ * @uiName Line Class Name
2052
+ * @uiGroup Line Messenger
2053
+ */
463
2054
  "lineclassName"?: string;
2055
+ /**
2056
+ * Show and hide button depending on what type of device the user is on
2057
+ * @uiName Line Display Rule
2058
+ * @uiGroup Line Messenger
2059
+ * @uiEnum ["mobile-only","hidden"]
2060
+ * @uiEnumNames ["Mobile Only","Hide"]
2061
+ * @default "mobile-only"
2062
+ */
464
2063
  "linedisplayrule"?: string;
2064
+ /**
2065
+ * Line button icon
2066
+ * @uiName Line Icon
2067
+ * @uiGroup Line Messenger
2068
+ */
465
2069
  "lineicon"?: string;
2070
+ /**
2071
+ * Number to horizontally align the Line button icon
2072
+ * @uiName Line Icon Horizontal
2073
+ * @uiGroup Line Messenger
2074
+ */
466
2075
  "lineiconhorizontal"?: number;
2076
+ /**
2077
+ * Size of the Line button icon
2078
+ * @uiName Line Icon Size
2079
+ * @uiGroup Line Messenger
2080
+ */
467
2081
  "lineiconsize"?: number;
2082
+ /**
2083
+ * Number to vertically align the Line button icon
2084
+ * @uiName Line Icon Vertical
2085
+ * @uiGroup Line Messenger
2086
+ */
468
2087
  "lineiconvertical"?: number;
2088
+ /**
2089
+ * Text inside the Line button
2090
+ * @uiName Line Text
2091
+ * @uiGroup Line Messenger
2092
+ * @default "Line Messenger"
2093
+ */
469
2094
  "linetext"?: string;
2095
+ /**
2096
+ * Color of the text inside the Line button
2097
+ * @uiName Line Text Color
2098
+ * @uiGroup Line Messenger
2099
+ * @uiWidget color
2100
+ * @format color
2101
+ * @default "#ffffff"
2102
+ */
470
2103
  "linetextcolor"?: string;
2104
+ /**
2105
+ * Background color of the linkedin button
2106
+ * @uiName Linkedin Background Color
2107
+ * @uiGroup LinkedIn
2108
+ * @uiWidget color
2109
+ * @format color
2110
+ * @default "#ffffff"
2111
+ */
471
2112
  "linkedinbackgroundcolor"?: string;
2113
+ /**
2114
+ * CSS Class name used to style the Linkedin button
2115
+ * @uiName Linkedin Class Name
2116
+ * @uiGroup LinkedIn
2117
+ */
472
2118
  "linkedinclassName"?: string;
2119
+ /**
2120
+ * Show and hide button depending on what type of device the user is on
2121
+ * @uiName Linkedin Display Rule
2122
+ * @uiGroup LinkedIn
2123
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2124
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2125
+ * @default "hidden"
2126
+ */
473
2127
  "linkedindisplayrule"?: string;
2128
+ /**
2129
+ * Linkedin button icon
2130
+ * @uiName Linkedin Icon
2131
+ * @uiGroup LinkedIn
2132
+ */
474
2133
  "linkedinicon"?: string;
2134
+ /**
2135
+ * Number to horizontally align the Linkedin button icon
2136
+ * @uiName Linkedin Icon Horizontal
2137
+ * @uiGroup LinkedIn
2138
+ */
475
2139
  "linkediniconhorizontal"?: number;
2140
+ /**
2141
+ * Size of the Linkedin button icon
2142
+ * @uiName Linkedin Icon Size
2143
+ * @uiGroup LinkedIn
2144
+ */
476
2145
  "linkediniconsize"?: number;
2146
+ /**
2147
+ * Number to vertically align the Linkedin button icon
2148
+ * @uiName Linkedin Icon Vertical
2149
+ * @uiGroup LinkedIn
2150
+ */
477
2151
  "linkediniconvertical"?: number;
2152
+ /**
2153
+ * Text inside the linkedin button
2154
+ * @uiName Linkedin Text
2155
+ * @uiGroup LinkedIn
2156
+ * @default "LinkedIn"
2157
+ */
478
2158
  "linkedintext"?: string;
2159
+ /**
2160
+ * Color of the text inside the Linkedin button
2161
+ * @uiName Linkedin Text Color
2162
+ * @uiGroup LinkedIn
2163
+ * @uiWidget color
2164
+ * @format color
2165
+ * @default "#0084b9"
2166
+ */
479
2167
  "linkedintextcolor"?: string;
2168
+ /**
2169
+ * Background color of the Messenger button
2170
+ * @uiName Messenger Background Color
2171
+ * @uiGroup Messenger
2172
+ * @uiWidget color
2173
+ * @format color
2174
+ * @default "#0084ff"
2175
+ */
480
2176
  "messengerbackgroundcolor"?: string;
2177
+ /**
2178
+ * CSS Class name used to style the Messenger button
2179
+ * @uiName Messenger Class Name
2180
+ * @uiGroup Messenger
2181
+ */
481
2182
  "messengerclassName"?: string;
2183
+ /**
2184
+ * Show and hide button depending on what type of device the user is on
2185
+ * @uiName Messenger Display Rule
2186
+ * @uiGroup Messenger
2187
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2188
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2189
+ * @default "hidden"
2190
+ */
482
2191
  "messengerdisplayrule"?: string;
2192
+ /**
2193
+ * Messenger button icon
2194
+ * @uiName Messenger Icon
2195
+ * @uiGroup Messenger
2196
+ */
483
2197
  "messengericon"?: string;
2198
+ /**
2199
+ * Number to horizontally align the Messenger button icon
2200
+ * @uiName Messenger Icon Horizontal
2201
+ * @uiGroup Messenger
2202
+ */
484
2203
  "messengericonhorizontal"?: number;
2204
+ /**
2205
+ * Size of the Messenger button icon
2206
+ * @uiName Messenger Icon Size
2207
+ * @uiGroup Messenger
2208
+ */
485
2209
  "messengericonsize"?: number;
2210
+ /**
2211
+ * Number to vertically align the Messenger button icon
2212
+ * @uiName Messenger Icon Vertical
2213
+ * @uiGroup Messenger
2214
+ */
486
2215
  "messengericonvertical"?: number;
2216
+ /**
2217
+ * Text inside the Messenger button
2218
+ * @uiName Messenger Text
2219
+ * @uiGroup Messenger
2220
+ * @default "Messenger"
2221
+ */
487
2222
  "messengertext"?: string;
2223
+ /**
2224
+ * Color of the text inside the Messenger button
2225
+ * @uiName Messenger Text Color
2226
+ * @uiGroup Messenger
2227
+ * @uiWidget color
2228
+ * @format color
2229
+ * @default "#ffffff"
2230
+ */
488
2231
  "messengertextcolor"?: string;
2232
+ /**
2233
+ * Background color of the Pinterest button
2234
+ * @uiName Pinterest Background Color
2235
+ * @uiGroup Pinterest
2236
+ * @uiWidget color
2237
+ * @format color
2238
+ * @default "#cb2027"
2239
+ */
489
2240
  "pinterestbackgroundcolor"?: string;
2241
+ /**
2242
+ * CSS Class name used to style the Pinterest button
2243
+ * @uiName Pinterest Class Name
2244
+ * @uiGroup Pinterest
2245
+ */
490
2246
  "pinterestclassName"?: string;
2247
+ /**
2248
+ * Show and hide button depending on what type of device the user is on
2249
+ * @uiName Pinterest Display Rule
2250
+ * @uiGroup Pinterest
2251
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2252
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2253
+ * @default "hidden"
2254
+ */
491
2255
  "pinterestdisplayrule"?: string;
2256
+ /**
2257
+ * Pinterest button icon
2258
+ * @uiName Pinterest Icon
2259
+ * @uiGroup Pinterest
2260
+ */
492
2261
  "pinteresticon"?: string;
2262
+ /**
2263
+ * Number to horizontally align the Pinterest button icon
2264
+ * @uiName Pinterest Icon Horizontal
2265
+ * @uiGroup Pinterest
2266
+ */
493
2267
  "pinteresticonhorizontal"?: number;
2268
+ /**
2269
+ * Size of the Pinterest button icon
2270
+ * @uiName Pinterest Icon Size
2271
+ * @uiGroup Pinterest
2272
+ */
494
2273
  "pinteresticonsize"?: number;
2274
+ /**
2275
+ * Number to vertically align the Pinterest button icon
2276
+ * @uiName Pinterest Icon Vertical
2277
+ * @uiGroup Pinterest
2278
+ */
495
2279
  "pinteresticonvertical"?: number;
2280
+ /**
2281
+ * Text inside the Pinterest button
2282
+ * @uiName Pinterest Text
2283
+ * @uiGroup Pinterest
2284
+ * @default "Pinterest"
2285
+ */
496
2286
  "pinteresttext"?: string;
2287
+ /**
2288
+ * Color of the text inside the Pinterest button
2289
+ * @uiName Pinterest Text Color
2290
+ * @uiGroup Pinterest
2291
+ * @uiWidget color
2292
+ * @format color
2293
+ * @default "#ffffff"
2294
+ */
497
2295
  "pinteresttextcolor"?: string;
2296
+ /**
2297
+ * Background color of the SMS button
2298
+ * @uiName SMS Background Color
2299
+ * @uiGroup SMS
2300
+ * @uiWidget color
2301
+ * @format color
2302
+ * @default "#7bbf38"
2303
+ */
498
2304
  "smsbackgroundcolor"?: string;
2305
+ /**
2306
+ * CSS Class name used to style the SMS button
2307
+ * @uiName SMS Class Name
2308
+ * @uiGroup SMS
2309
+ */
499
2310
  "smsclassName"?: string;
2311
+ /**
2312
+ * Show and hide button depending on what type of device the user is on
2313
+ * @uiName SMS Display Rule
2314
+ * @uiGroup SMS
2315
+ * @uiEnum ["mobile-only","hidden"]
2316
+ * @uiEnumNames ["Mobile Only","Hide"]
2317
+ * @default "mobile-only"
2318
+ */
500
2319
  "smsdisplayrule"?: string;
2320
+ /**
2321
+ * SMS button icon
2322
+ * @uiName SMS Icon
2323
+ * @uiGroup SMS
2324
+ */
501
2325
  "smsicon"?: string;
2326
+ /**
2327
+ * Number to horizontally align the SMS button icon
2328
+ * @uiName SMS Icon Horizontal
2329
+ * @uiGroup SMS
2330
+ */
502
2331
  "smsiconhorizontal"?: number;
2332
+ /**
2333
+ * Size of the SMS button icon
2334
+ * @uiName SMS Icon Size
2335
+ * @uiGroup SMS
2336
+ */
503
2337
  "smsiconsize"?: number;
2338
+ /**
2339
+ * Number to vertically align the SMS button icon
2340
+ * @uiName SMS Icon Vertical
2341
+ * @uiGroup SMS
2342
+ */
504
2343
  "smsiconvertical"?: number;
2344
+ /**
2345
+ * Text inside the SMS button
2346
+ * @uiName SMS Text
2347
+ * @uiGroup SMS
2348
+ * @default "SMS"
2349
+ */
505
2350
  "smstext"?: string;
2351
+ /**
2352
+ * Color of the text inside the SMS button
2353
+ * @uiName SMS Text Color
2354
+ * @uiGroup SMS
2355
+ * @uiWidget color
2356
+ * @format color
2357
+ * @default "#ffffff"
2358
+ */
506
2359
  "smstextcolor"?: string;
2360
+ /**
2361
+ * Background color of the twitter button
2362
+ * @uiName Twitter Background Color
2363
+ * @uiGroup Twitter
2364
+ * @uiWidget color
2365
+ * @format color
2366
+ * @default "#4797d2"
2367
+ */
507
2368
  "twitterbackgroundcolor"?: string;
2369
+ /**
2370
+ * CSS Class name used to style the twitter button
2371
+ * @uiName Twitter Class Name
2372
+ * @uiGroup Twitter
2373
+ */
508
2374
  "twitterclassName"?: string;
2375
+ /**
2376
+ * Show and hide button depending on what type of device the user is on
2377
+ * @uiName Twitter Display Rule
2378
+ * @uiGroup Twitter
2379
+ * @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
2380
+ * @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
2381
+ * @default "mobile-and-desktop"
2382
+ */
509
2383
  "twitterdisplayrule"?: string;
2384
+ /**
2385
+ * Twitter button icon
2386
+ * @uiName Twitter Icon
2387
+ * @uiGroup Twitter
2388
+ */
510
2389
  "twittericon"?: string;
2390
+ /**
2391
+ * Number to horizontally align the twitter button icon
2392
+ * @uiName Twitter Icon Horizontal
2393
+ * @uiGroup Twitter
2394
+ */
511
2395
  "twittericonhorizontal"?: number;
2396
+ /**
2397
+ * Size of the twitter button icon
2398
+ * @uiName Twitter Icon Size
2399
+ * @uiGroup Twitter
2400
+ */
512
2401
  "twittericonsize"?: number;
2402
+ /**
2403
+ * Number to vertically align the twitter button icon
2404
+ * @uiName Twitter Icon Vertical
2405
+ * @uiGroup Twitter
2406
+ */
513
2407
  "twittericonvertical"?: number;
2408
+ /**
2409
+ * Text inside the twitter button
2410
+ * @uiName Twitter Text
2411
+ * @uiGroup Twitter
2412
+ * @default "Twitter"
2413
+ */
514
2414
  "twittertext"?: string;
2415
+ /**
2416
+ * Color of the text inside the twitter button
2417
+ * @uiName Twitter Text Color
2418
+ * @uiGroup Twitter
2419
+ * @uiWidget color
2420
+ * @format color
2421
+ * @default "#ffffff"
2422
+ */
515
2423
  "twittertextcolor"?: string;
2424
+ /**
2425
+ * Background color of the WhatsApp button
2426
+ * @uiName WhatsApp Background Color
2427
+ * @uiGroup WhatsApp
2428
+ * @uiWidget color
2429
+ * @format color
2430
+ * @default "#25D366"
2431
+ */
516
2432
  "whatsappbackgroundcolor"?: string;
2433
+ /**
2434
+ * CSS Class name used to style the WhatsApp button
2435
+ * @uiName WhatsApp Class Name
2436
+ * @uiGroup WhatsApp
2437
+ */
517
2438
  "whatsappclassName"?: string;
2439
+ /**
2440
+ * Show and hide button depending on what type of device the user is on
2441
+ * @uiName WhatsApp Display Rule
2442
+ * @uiGroup WhatsApp
2443
+ * @uiEnum ["mobile-only","hidden"]
2444
+ * @uiEnumNames ["Mobile Only","Hide"]
2445
+ * @default "mobile-only"
2446
+ */
518
2447
  "whatsappdisplayrule"?: string;
2448
+ /**
2449
+ * WhatsApp button icon
2450
+ * @uiName WhatsApp Icon
2451
+ * @uiGroup WhatsApp
2452
+ */
519
2453
  "whatsappicon"?: string;
2454
+ /**
2455
+ * Number to horizontally align the WhatsApp button icon
2456
+ * @uiName WhatsApp Icon Horizontal
2457
+ * @uiGroup WhatsApp
2458
+ */
520
2459
  "whatsappiconhorizontal"?: number;
2460
+ /**
2461
+ * Size of the WhatsApp button icon
2462
+ * @uiName WhatsApp Icon Size
2463
+ * @uiGroup WhatsApp
2464
+ */
521
2465
  "whatsappiconsize"?: number;
2466
+ /**
2467
+ * Number to vertically align the WhatsApp button icon
2468
+ * @uiName WhatsApp Icon Vertical
2469
+ * @uiGroup WhatsApp
2470
+ */
522
2471
  "whatsappiconvertical"?: number;
2472
+ /**
2473
+ * Text inside the WhatsApp button
2474
+ * @uiName WhatsApp Text
2475
+ * @uiGroup WhatsApp
2476
+ * @default "Whatspp"
2477
+ */
523
2478
  "whatsapptext"?: string;
2479
+ /**
2480
+ * Color of the text inside the WhatsApp button
2481
+ * @uiName WhatsApp Text Color
2482
+ * @uiGroup WhatsApp
2483
+ * @uiWidget color
2484
+ * @format color
2485
+ * @default "#ffffff"
2486
+ */
524
2487
  "whatsapptextcolor"?: string;
525
2488
  }
526
2489
  interface SqhStatComponent {
2490
+ /**
2491
+ * Hide or show the component
2492
+ * @uiName Hide Stat
2493
+ */
527
2494
  "ishidden"?: boolean;
528
2495
  "onStatAdded"?: (event: CustomEvent<any>) => void;
529
2496
  "onStatTypeUpdated"?: (event: CustomEvent<any>) => void;
2497
+ /**
2498
+ * Text color of the stat
2499
+ * @uiName Stat Color
2500
+ * @uiWidget color
2501
+ * @format color
2502
+ */
530
2503
  "statcolor"?: string;
2504
+ /**
2505
+ * Description shown underneath stat value
2506
+ * @uiName Stat Description
2507
+ */
531
2508
  "statdescription"?: string;
2509
+ /**
2510
+ * Type of stat being displayed. e.g /rewardsCount
2511
+ * @uiName Stat Type
2512
+ * @uiWidget statTypeSelector
2513
+ * @required
2514
+ */
532
2515
  "stattype"?: string;
2516
+ /**
2517
+ * Value shown inside stat
2518
+ * @uiName Stat Value
2519
+ */
533
2520
  "statvalue"?: string;
534
2521
  }
535
2522
  interface SqhStatsContainer {
2523
+ /**
2524
+ * Hide the component
2525
+ * @uiName Is Hidden
2526
+ */
536
2527
  "ishidden"?: boolean;
2528
+ /**
2529
+ * Configure the padding bottom of the container
2530
+ * @uiName Padding Bottom
2531
+ * @default "0"
2532
+ */
537
2533
  "paddingbottom"?: string;
2534
+ /**
2535
+ * Configure the padding top of the container
2536
+ * @uiName Padding Top
2537
+ * @default "0"
2538
+ */
538
2539
  "paddingtop"?: string;
539
2540
  }
540
2541
  interface SqhTextComponent {
2542
+ /**
2543
+ * Background the container, color or url
2544
+ * @uiName Background
2545
+ */
541
2546
  "background"?: string;
2547
+ /**
2548
+ * Color of the text
2549
+ * @uiName Color
2550
+ * @uiWidget color
2551
+ * @format color
2552
+ */
542
2553
  "color"?: string;
2554
+ /**
2555
+ * Font family of the text
2556
+ * @uiName Font Family
2557
+ */
543
2558
  "fontfamily"?: string;
2559
+ /**
2560
+ * Size of the text
2561
+ * @uiName Font Size
2562
+ */
544
2563
  "fontsize"?: string;
2564
+ /**
2565
+ * Height of the container
2566
+ * @uiName Height
2567
+ */
545
2568
  "height"?: string;
2569
+ /**
2570
+ * Hide or show the component
2571
+ * @uiName Hide Text
2572
+ */
546
2573
  "ishidden"?: boolean;
2574
+ /**
2575
+ * Compiles plain text into markdown
2576
+ * @uiName Is Markdown
2577
+ */
547
2578
  "ismarkdown"?: boolean;
548
- "padding"?: string;
2579
+ /**
2580
+ * Bottom padding on text
2581
+ * @uiName Padding Bottom
2582
+ */
549
2583
  "paddingbottom"?: string;
2584
+ /**
2585
+ * Top padding on text
2586
+ * @uiName Padding Top
2587
+ */
550
2588
  "paddingtop"?: string;
2589
+ /**
2590
+ * The text content
2591
+ * @uiName Text
2592
+ */
551
2593
  "text"?: string;
2594
+ /**
2595
+ * Text alignment
2596
+ * @uiName Text Align
2597
+ * @uiEnum ["left", "center", "right"]
2598
+ * @uiEnumNames ["Left", "Center", "Right"]
2599
+ */
552
2600
  "textalign"?: string;
553
2601
  }
554
2602
  interface IntrinsicElements {