@saasquatch/vanilla-components 1.2.4-9 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +163 -0
- package/dist/cjs/{WidgetHost-cee741d8.js → WidgetHost-d7b870ce.js} +0 -157
- package/dist/cjs/{en-3a7cb52e.js → en-a49a5ef5.js} +2 -2
- package/dist/cjs/{index-09a04159.js → index-deb40352.js} +3 -54
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/sqh-close-button.cjs.entry.js +2 -2
- package/dist/cjs/{sqh-copy-button_14.cjs.entry.js → sqh-copy-button_12.cjs.entry.js} +8 -1177
- package/dist/cjs/sqh-referral-code.cjs.entry.js +2 -2
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +1 -1
- package/dist/cjs/widget-components.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/close-button/close-button.js +0 -2
- package/dist/collection/components/copy-button/copy-button.js +4 -13
- package/dist/collection/components/copy-link-button/copy-link-button.js +5 -11
- package/dist/collection/components/global-container/global-container.js +4 -18
- package/dist/collection/components/image-component/image-component.js +2 -5
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +1 -4
- package/dist/collection/components/referral-list/referral-list.js +50 -74
- package/dist/collection/components/share-button/share-button.js +1 -10
- package/dist/collection/components/share-button-container/share-button-container.js +37 -92
- package/dist/collection/components/stat-component/stat-component.js +1 -5
- package/dist/collection/components/stats-container/stats-container.js +4 -4
- package/dist/collection/components/text-component/text-component.js +7 -7
- package/dist/collection/entrypoint.js +19 -17
- package/dist/collection/services/WidgetHost.js +0 -157
- package/dist/esm/{WidgetHost-6cd6c29a.js → WidgetHost-a27e693d.js} +0 -157
- package/dist/esm/{en-a652ab83.js → en-be593af0.js} +1 -1
- package/dist/esm/{index-342d7c26.js → index-8ea8b6d8.js} +3 -54
- package/dist/esm/loader.mjs +3 -3
- package/dist/esm/sqh-close-button.entry.js +2 -2
- package/dist/esm/{sqh-copy-button_14.entry.js → sqh-copy-button_12.entry.js} +9 -1176
- package/dist/esm/sqh-referral-code.entry.js +2 -2
- package/dist/esm/sqh-rewards-actions.entry.js +1 -1
- package/dist/esm/widget-components.mjs +3 -3
- package/dist/esm-es5/{WidgetHost-6cd6c29a.js → WidgetHost-a27e693d.js} +4 -96
- package/dist/esm-es5/{en-a652ab83.js → en-be593af0.js} +1 -1
- package/dist/esm-es5/{index-342d7c26.js → index-8ea8b6d8.js} +3 -53
- package/dist/esm-es5/loader.mjs +3 -3
- package/dist/esm-es5/sqh-close-button.entry.js +2 -2
- package/dist/esm-es5/{sqh-copy-button_14.entry.js → sqh-copy-button_12.entry.js} +19 -1064
- package/dist/esm-es5/sqh-referral-code.entry.js +2 -2
- package/dist/esm-es5/sqh-rewards-actions.entry.js +1 -1
- package/dist/esm-es5/widget-components.mjs +3 -3
- package/dist/types/components/close-button/close-button.d.ts +0 -2
- package/dist/types/components/copy-button/copy-button.d.ts +4 -7
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +5 -7
- package/dist/types/components/global-container/global-container.d.ts +3 -7
- package/dist/types/components/image-component/image-component.d.ts +2 -3
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +1 -2
- package/dist/types/components/referral-list/referral-list.d.ts +50 -58
- package/dist/types/components/share-button/share-button.d.ts +1 -4
- package/dist/types/components/share-button-container/share-button-container.d.ts +36 -54
- package/dist/types/components/stat-component/stat-component.d.ts +1 -3
- package/dist/types/components/stats-container/stats-container.d.ts +3 -3
- package/dist/types/components/text-component/text-component.d.ts +2 -2
- package/dist/types/components.d.ts +214 -494
- package/dist/types/services/WidgetHost.d.ts +0 -6
- package/dist/widget-components/entrypoint.js +19 -17
- package/dist/widget-components/p-0bfec452.entry.js +149 -0
- package/dist/widget-components/{p-17d80384.js → p-44a6559d.js} +1 -1
- package/dist/widget-components/p-485eaf44.js +1 -0
- package/dist/widget-components/{p-e82def83.system.js → p-58be1132.system.js} +1 -1
- package/dist/widget-components/{p-1dfd20e2.entry.js → p-650d012d.entry.js} +1 -1
- package/dist/widget-components/p-796dc228.system.entry.js +8 -0
- package/dist/widget-components/{p-eeb2bfd4.system.entry.js → p-908068c2.system.entry.js} +1 -1
- package/dist/widget-components/{p-4b1ab75c.js → p-9525bf4a.js} +3 -68
- package/dist/widget-components/{p-fb528be6.entry.js → p-9746ae26.entry.js} +1 -1
- package/dist/widget-components/{p-b67d3319.system.js → p-9adc7c50.system.js} +2 -2
- package/dist/widget-components/{p-aaf44379.system.js → p-a846f503.system.js} +1 -1
- package/dist/widget-components/{p-599e6d35.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
- package/dist/widget-components/{p-9ffe6e46.entry.js → p-d4b27c72.entry.js} +1 -1
- package/dist/widget-components/{p-665b8d42.system.entry.js → p-e2b4739f.system.entry.js} +1 -1
- package/dist/widget-components/p-e61a8100.system.js +1 -0
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/dist/widget-components/widget-components.js +1 -1
- package/docs/raisins.json +1 -1
- package/package.json +4 -4
- package/dist/collection/components/cta-component/cta-component.css +0 -6
- package/dist/collection/components/cta-component/cta-component.js +0 -396
- package/dist/collection/components/progress-indicator/progress-indicator.css +0 -73
- package/dist/collection/components/progress-indicator/progress-indicator.js +0 -493
- package/dist/types/components/cta-component/cta-component.d.ts +0 -86
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +0 -42
- package/dist/widget-components/p-7d98ea96.entry.js +0 -233
- package/dist/widget-components/p-8ca0fd41.system.entry.js +0 -10
- package/dist/widget-components/p-ad5121cf.system.js +0 -1
- package/dist/widget-components/p-fbf0c7fe.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-8ea8b6d8.js';
|
|
2
2
|
import './_commonjsHelpers-1d681858.js';
|
|
3
|
-
import { A as API } from './WidgetHost-
|
|
3
|
+
import { A as API } from './WidgetHost-a27e693d.js';
|
|
4
4
|
var referralCodeCss = "sqh-referral-code{display:inline}sqh-referral-code span{font-family:inherit;font-size:inherit;color:inherit;overflow-wrap:break-word}";
|
|
5
5
|
var ReferralCode = /** @class */ (function () {
|
|
6
6
|
function ReferralCode(hostRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-8ea8b6d8.js';
|
|
2
2
|
var rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-align:center}sqh-rewards-actions .squatch-referrals-actions .btn{margin-left:10px;width:120px}sqh-rewards-actions .squatch-referrals-actions .btn:first-child{margin-left:0}@media (max-width: 499px){sqh-rewards-actions .squatch-referrals-actions .btn{font-size:13px;width:85px;padding-left:6px;padding-right:6px;margin-left:7px}}";
|
|
3
3
|
var RewardsActions = /** @class */ (function () {
|
|
4
4
|
function RewardsActions(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
import { p as patchBrowser } from './en-
|
|
1
|
+
import { b as bootstrapLazy } from './index-8ea8b6d8.js';
|
|
2
|
+
import { p as patchBrowser } from './en-be593af0.js';
|
|
3
3
|
import './_commonjsHelpers-1d681858.js';
|
|
4
4
|
patchBrowser().then(function (options) {
|
|
5
|
-
return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-
|
|
5
|
+
return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "fontweight": [1], "paddingbottom": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
|
|
6
6
|
});
|
|
@@ -13,7 +13,7 @@ export declare class CopyButton {
|
|
|
13
13
|
ishidden: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @uiName Button Text
|
|
16
|
-
* @default
|
|
16
|
+
* @default COPY CODE
|
|
17
17
|
*/
|
|
18
18
|
text: string;
|
|
19
19
|
/**
|
|
@@ -24,7 +24,6 @@ export declare class CopyButton {
|
|
|
24
24
|
/**
|
|
25
25
|
* @uiName Button Color
|
|
26
26
|
* @uiWidget color
|
|
27
|
-
* @format color
|
|
28
27
|
* @default #35b21e
|
|
29
28
|
*/
|
|
30
29
|
backgroundcolor: string;
|
|
@@ -38,7 +37,6 @@ export declare class CopyButton {
|
|
|
38
37
|
/**
|
|
39
38
|
* @uiName Button Text Color
|
|
40
39
|
* @uiWidget color
|
|
41
|
-
* @format color
|
|
42
40
|
* @default #ffffff
|
|
43
41
|
*/
|
|
44
42
|
textcolor: string;
|
|
@@ -51,21 +49,21 @@ export declare class CopyButton {
|
|
|
51
49
|
* Shown when the code is successfully copied to the users clipboard.
|
|
52
50
|
*
|
|
53
51
|
* @uiName Copy Success Text
|
|
54
|
-
* @default
|
|
52
|
+
* @default copied!
|
|
55
53
|
*/
|
|
56
54
|
copysuccess: string;
|
|
57
55
|
/**
|
|
58
56
|
* Shown when the button has failed to copy the code to the users clipboard.
|
|
59
57
|
*
|
|
60
58
|
* @uiName Copy Failure Text
|
|
61
|
-
* @default
|
|
59
|
+
* @default Press Ctrl+C to copy
|
|
62
60
|
*/
|
|
63
61
|
copyfailure: string;
|
|
64
62
|
/**
|
|
65
63
|
* The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.
|
|
66
64
|
*
|
|
67
65
|
* @uiName Reward Key
|
|
68
|
-
* @default
|
|
66
|
+
* @default referredReward
|
|
69
67
|
*/
|
|
70
68
|
rewardkey: string;
|
|
71
69
|
/**
|
|
@@ -78,7 +76,6 @@ export declare class CopyButton {
|
|
|
78
76
|
/**
|
|
79
77
|
* @uiName Fuel Tank Code Color
|
|
80
78
|
* @uiWidget color
|
|
81
|
-
* @format color
|
|
82
79
|
* @default #000000
|
|
83
80
|
*/
|
|
84
81
|
codefontcolor: string;
|
|
@@ -13,35 +13,33 @@ export declare class CopyLinkButton {
|
|
|
13
13
|
ishidden: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @uiName Button Text
|
|
16
|
-
* @default
|
|
16
|
+
* @default Copy
|
|
17
17
|
*/
|
|
18
18
|
text: string;
|
|
19
19
|
/**
|
|
20
20
|
* Shown when the code is successfully copied to the users clipboard.
|
|
21
21
|
*
|
|
22
22
|
* @uiName Copy Success Text
|
|
23
|
-
* @default
|
|
23
|
+
* @default copied!
|
|
24
24
|
*/
|
|
25
25
|
copysuccess: string;
|
|
26
26
|
/**
|
|
27
27
|
* Shown when the button has failed to copy the code to the users clipboard.
|
|
28
28
|
*
|
|
29
29
|
* @uiName Copy Failure Text
|
|
30
|
-
* @default
|
|
30
|
+
* @default Press Ctrl+C to copy
|
|
31
31
|
*/
|
|
32
32
|
copyfailure: string;
|
|
33
33
|
/**
|
|
34
34
|
* @uiName Button Color
|
|
35
35
|
* @uiWidget color
|
|
36
|
-
* @
|
|
37
|
-
* @default "#5C6164"
|
|
36
|
+
* @default #5C6164
|
|
38
37
|
*/
|
|
39
38
|
buttoncolor: string;
|
|
40
39
|
/**
|
|
41
40
|
* @uiName Button Text Color
|
|
42
41
|
* @uiWidget color
|
|
43
|
-
* @
|
|
44
|
-
* @default "#FFFFFF"
|
|
42
|
+
* @default #FFFFFF
|
|
45
43
|
*/
|
|
46
44
|
textcolor: string;
|
|
47
45
|
sharelink: string;
|
|
@@ -7,8 +7,7 @@ export declare class GlobalContainer {
|
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Background Color
|
|
9
9
|
* @uiWidget color
|
|
10
|
-
* @
|
|
11
|
-
* @default "#ffffff"
|
|
10
|
+
* @default #ffffff
|
|
12
11
|
*/
|
|
13
12
|
background: string;
|
|
14
13
|
/**
|
|
@@ -16,16 +15,13 @@ export declare class GlobalContainer {
|
|
|
16
15
|
*
|
|
17
16
|
* @uiName Loading Color
|
|
18
17
|
* @uiWidget color
|
|
19
|
-
* @format color
|
|
20
18
|
*/
|
|
21
19
|
loadingcolor: string;
|
|
22
20
|
/**
|
|
23
|
-
*
|
|
21
|
+
* A font from the Google Fonts library used inside the container.
|
|
24
22
|
*
|
|
25
23
|
* @uiName Font Family
|
|
26
|
-
* @default
|
|
27
|
-
* @uiEnum ["Roboto", "Artifakt Element", "Helvetica Neue,Helvetica,Arial,sans-serif", "Lato,sans-serif", "Times New Roman", "Arial", "Courier", "Tahoma", "Verdana", "Georgia"]
|
|
28
|
-
* @uiEnumNames ["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]
|
|
24
|
+
* @default Roboto
|
|
29
25
|
*/
|
|
30
26
|
fontfamily: string;
|
|
31
27
|
/**
|
|
@@ -11,7 +11,6 @@ export declare class ImageComponent {
|
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Image URL
|
|
13
13
|
* @uiWidget imageUpload
|
|
14
|
-
* @format url
|
|
15
14
|
*
|
|
16
15
|
*/
|
|
17
16
|
url: string;
|
|
@@ -31,7 +30,7 @@ export declare class ImageComponent {
|
|
|
31
30
|
* @uiName Horizontal Alignment
|
|
32
31
|
* @uiEnum ["left", "center", "right"]
|
|
33
32
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
34
|
-
* @default
|
|
33
|
+
* @default center
|
|
35
34
|
*/
|
|
36
35
|
alignment: string;
|
|
37
36
|
/**
|
|
@@ -39,7 +38,7 @@ export declare class ImageComponent {
|
|
|
39
38
|
*
|
|
40
39
|
* @uiName CSS
|
|
41
40
|
* @uiWidget textArea
|
|
42
|
-
* @default
|
|
41
|
+
* @default padding-top: 38px; padding-bottom: 7px;
|
|
43
42
|
*/
|
|
44
43
|
css: string;
|
|
45
44
|
render(): any;
|
|
@@ -18,7 +18,7 @@ export declare class PartnerStatComponent {
|
|
|
18
18
|
* Determines what type of stat is displayed. Manual paths are also supported.
|
|
19
19
|
*
|
|
20
20
|
* @uiName Stat Type
|
|
21
|
-
* @uiWidget
|
|
21
|
+
* @uiWidget statTypeSelectWidget
|
|
22
22
|
* @required
|
|
23
23
|
* @minLength 1
|
|
24
24
|
*/
|
|
@@ -39,7 +39,6 @@ export declare class PartnerStatComponent {
|
|
|
39
39
|
*
|
|
40
40
|
* @uiName Color
|
|
41
41
|
* @uiWidget color
|
|
42
|
-
* @format color
|
|
43
42
|
*/
|
|
44
43
|
statcolor: string;
|
|
45
44
|
statTypeUpdated: EventEmitter;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @uiName Referral List
|
|
3
3
|
* @canvasRenderer always-replace
|
|
4
4
|
* @exampleGroup Referrals
|
|
5
|
-
* @example Referral List - <sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list>
|
|
5
|
+
* @example Referral List - <sqh-referral-list ishidden="false" expiresvalue="Expires {expiryDate}" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list>
|
|
6
6
|
*/
|
|
7
7
|
export declare class ReferralList {
|
|
8
8
|
/**
|
|
@@ -11,47 +11,45 @@ export declare class ReferralList {
|
|
|
11
11
|
*/
|
|
12
12
|
ishidden: boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Shown inside the paginate more button
|
|
14
|
+
* Shown inside the paginate more button.
|
|
15
15
|
*
|
|
16
16
|
* @uiName Paginate More Text
|
|
17
|
-
* @default
|
|
17
|
+
* @default View More
|
|
18
18
|
*/
|
|
19
19
|
paginatemore: string;
|
|
20
20
|
/**
|
|
21
|
-
* Shown inside the paginate less button
|
|
21
|
+
* Shown inside the paginate less button.
|
|
22
22
|
*
|
|
23
23
|
* @uiName Paginate Less Text
|
|
24
|
-
* @default
|
|
24
|
+
* @default Previous
|
|
25
25
|
*/
|
|
26
26
|
paginateless: string;
|
|
27
27
|
/**
|
|
28
|
-
* Shown when referral list is empty
|
|
28
|
+
* Shown when referral list is empty.
|
|
29
29
|
*
|
|
30
30
|
* @uiName Empty Referrals Text
|
|
31
|
-
* @default
|
|
31
|
+
* @default No Referrals Yet...
|
|
32
32
|
*/
|
|
33
33
|
noreferralsyet: string;
|
|
34
34
|
/**
|
|
35
|
-
* Text color of the referred user's name
|
|
35
|
+
* Text color of the referred user's name.
|
|
36
36
|
*
|
|
37
37
|
* @uiName Referral Name Color
|
|
38
38
|
* @uiWidget color
|
|
39
|
-
* @
|
|
40
|
-
* @default "darkslategray"
|
|
39
|
+
* @default darkslategray
|
|
41
40
|
*/
|
|
42
41
|
referralnamecolor: string;
|
|
43
42
|
/**
|
|
44
43
|
* @uiName Referral Status Text Color
|
|
45
44
|
* @uiWidget color
|
|
46
|
-
* @
|
|
47
|
-
* @default "lightgray"
|
|
45
|
+
* @default lightgray
|
|
48
46
|
*/
|
|
49
47
|
referraltextcolor: string;
|
|
50
48
|
/**
|
|
51
|
-
* Text shown when the referred user's name is unknown
|
|
49
|
+
* Text shown when the referred user's name is unknown.
|
|
52
50
|
*
|
|
53
51
|
* @uiName Unknown User Text
|
|
54
|
-
* @default
|
|
52
|
+
* @default Your Friend
|
|
55
53
|
*/
|
|
56
54
|
unknownuser: string;
|
|
57
55
|
/**
|
|
@@ -63,11 +61,11 @@ export declare class ReferralList {
|
|
|
63
61
|
*/
|
|
64
62
|
shownotes: boolean;
|
|
65
63
|
/**
|
|
66
|
-
* Shown when reward is redeemed
|
|
64
|
+
* Shown when reward is redeemed.
|
|
67
65
|
*
|
|
68
|
-
* @uiName Redeemed
|
|
66
|
+
* @uiName Redeemed Text
|
|
69
67
|
* @uiGroup Converted Referrals
|
|
70
|
-
* @default
|
|
68
|
+
* @default Redeemed
|
|
71
69
|
*/
|
|
72
70
|
redeemedvalue: string;
|
|
73
71
|
/**
|
|
@@ -75,23 +73,22 @@ export declare class ReferralList {
|
|
|
75
73
|
*
|
|
76
74
|
* @uiName Show Referred By
|
|
77
75
|
* @uiGroup Referrer
|
|
78
|
-
* @default ""
|
|
79
76
|
*/
|
|
80
77
|
showreferrer: boolean;
|
|
81
78
|
/**
|
|
82
|
-
* Text explaining who referred you to the program
|
|
79
|
+
* Text explaining who referred you to the program.
|
|
83
80
|
*
|
|
84
|
-
* @uiName Referrer
|
|
81
|
+
* @uiName Referrer Description
|
|
85
82
|
* @uiGroup Referrer
|
|
86
|
-
* @default
|
|
83
|
+
* @default Referred you {date}
|
|
87
84
|
*/
|
|
88
85
|
referrercontent: string;
|
|
89
86
|
/**
|
|
90
|
-
* Referred Text shown in reward column
|
|
87
|
+
* Referred Text shown in reward column.
|
|
91
88
|
*
|
|
92
|
-
* @uiName Referrer
|
|
89
|
+
* @uiName Referrer Text
|
|
93
90
|
* @uiGroup Referrer
|
|
94
|
-
* @default
|
|
91
|
+
* @default Referred
|
|
95
92
|
*/
|
|
96
93
|
referrervalue: string;
|
|
97
94
|
/**
|
|
@@ -100,39 +97,37 @@ export declare class ReferralList {
|
|
|
100
97
|
* @uiName Reward Color
|
|
101
98
|
* @uiGroup Converted Referrals
|
|
102
99
|
* @uiWidget color
|
|
103
|
-
* @
|
|
104
|
-
* @default "#4BB543"
|
|
100
|
+
* @default #4BB543
|
|
105
101
|
*/
|
|
106
102
|
rewardcolor: string;
|
|
107
103
|
/**
|
|
108
104
|
* @uiName Customer Note Color
|
|
109
105
|
* @uiGroup Converted Referrals
|
|
110
106
|
* @uiWidget color
|
|
111
|
-
* @format color
|
|
112
107
|
*/
|
|
113
108
|
customernotecolor: string;
|
|
114
109
|
/**
|
|
115
|
-
* Show the value of the first earned reward inside the rewards column
|
|
110
|
+
* Show the value of the first earned reward inside the rewards column.
|
|
116
111
|
*
|
|
117
112
|
* @uiName Use First Reward
|
|
118
113
|
* @uiGroup Converted Referrals
|
|
119
114
|
*/
|
|
120
115
|
usefirstreward: boolean;
|
|
121
116
|
/**
|
|
122
|
-
*
|
|
117
|
+
* Description shown in the referral column when a referral is converted.
|
|
123
118
|
*
|
|
124
|
-
* @uiName Converted
|
|
119
|
+
* @uiName Converted Description
|
|
125
120
|
* @uiGroup Converted Referrals
|
|
126
|
-
* @default
|
|
121
|
+
* @default Signed up, referred {date}
|
|
127
122
|
*/
|
|
128
123
|
convertedcontent: string;
|
|
129
124
|
/**
|
|
130
|
-
*
|
|
125
|
+
* ICU message shown in the rewards column. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
|
|
131
126
|
*
|
|
132
127
|
* @uiName Value Content
|
|
133
128
|
* @uiGroup Converted Referrals
|
|
134
129
|
* @uiWidget textArea
|
|
135
|
-
* @default
|
|
130
|
+
* @default and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}
|
|
136
131
|
*/
|
|
137
132
|
valuecontent: string;
|
|
138
133
|
/**
|
|
@@ -141,24 +136,23 @@ export declare class ReferralList {
|
|
|
141
136
|
* @uiName Pending Color
|
|
142
137
|
* @uiGroup Pending Referrals
|
|
143
138
|
* @uiWidget color
|
|
144
|
-
* @
|
|
145
|
-
* @default "lightgray"
|
|
139
|
+
* @default lightgray
|
|
146
140
|
*/
|
|
147
141
|
pendingcolor: string;
|
|
148
142
|
/**
|
|
149
|
-
* Pending
|
|
143
|
+
* Pending description shown in the referral column.
|
|
150
144
|
*
|
|
151
|
-
* @uiName Pending
|
|
145
|
+
* @uiName Pending Description
|
|
152
146
|
* @uiGroup Pending Referrals
|
|
153
|
-
* @default
|
|
147
|
+
* @default Trial user, referred {date}
|
|
154
148
|
*/
|
|
155
149
|
pendingcontent: string;
|
|
156
150
|
/**
|
|
157
|
-
* Pending
|
|
151
|
+
* Pending text shown alongside the icon in the rewards column.
|
|
158
152
|
*
|
|
159
|
-
* @uiName Pending
|
|
153
|
+
* @uiName Pending Text
|
|
160
154
|
* @uiGroup Pending Referrals
|
|
161
|
-
* @default
|
|
155
|
+
* @default Referral pending
|
|
162
156
|
*/
|
|
163
157
|
pendingvalue: string;
|
|
164
158
|
/**
|
|
@@ -167,30 +161,29 @@ export declare class ReferralList {
|
|
|
167
161
|
* @uiName Expired Color
|
|
168
162
|
* @uiGroup Expired Rewards
|
|
169
163
|
* @uiWidget color
|
|
170
|
-
* @
|
|
171
|
-
* @default "lightgray"
|
|
164
|
+
* @default lightgray
|
|
172
165
|
*/
|
|
173
166
|
expiredcolor: string;
|
|
174
167
|
/**
|
|
175
|
-
* Expired
|
|
168
|
+
* Expired text shown in the referral column.
|
|
176
169
|
*
|
|
177
|
-
* @uiName Expired
|
|
170
|
+
* @uiName Expired Description
|
|
178
171
|
* @uiGroup Expired Rewards
|
|
179
|
-
* @default
|
|
172
|
+
* @default Signed up, referred {date}
|
|
180
173
|
*/
|
|
181
174
|
expiredcontent: string;
|
|
182
175
|
/**
|
|
183
|
-
* Expired
|
|
176
|
+
* Expired text shown alongside the icon in the rewards column.
|
|
184
177
|
*
|
|
185
|
-
* @uiName Expired
|
|
178
|
+
* @uiName Expired Text
|
|
186
179
|
* @uiGroup Expired Rewards
|
|
187
|
-
* @default
|
|
180
|
+
* @default Expired Reward
|
|
188
181
|
*/
|
|
189
182
|
expiredvalue: string;
|
|
190
183
|
/**
|
|
191
|
-
*
|
|
184
|
+
* ICU message shown in the rewards column for expiring rewards. See [ICU messages](https://unicode-org.github.io/icu/userguide/format_parse/messages/) for more details.
|
|
192
185
|
*
|
|
193
|
-
* @uiName
|
|
186
|
+
* @uiName Expiring Text
|
|
194
187
|
* @uiGroup Expired Rewards
|
|
195
188
|
*/
|
|
196
189
|
expiresvalue: string;
|
|
@@ -200,24 +193,23 @@ export declare class ReferralList {
|
|
|
200
193
|
* @uiName Cancelled Color
|
|
201
194
|
* @uiGroup Cancelled Rewards
|
|
202
195
|
* @uiWidget color
|
|
203
|
-
* @
|
|
204
|
-
* @default "#C81D05"
|
|
196
|
+
* @default #C81D05
|
|
205
197
|
*/
|
|
206
198
|
cancelledcolor: string;
|
|
207
199
|
/**
|
|
208
200
|
* Content shown in the referral column for a cancelled reward.
|
|
209
201
|
*
|
|
210
|
-
* @uiName Cancelled
|
|
202
|
+
* @uiName Cancelled Referral Description
|
|
211
203
|
* @uiGroup Cancelled Rewards
|
|
212
|
-
* @default
|
|
204
|
+
* @default Signed up, referred {date}
|
|
213
205
|
*/
|
|
214
206
|
cancelledcontent: string;
|
|
215
207
|
/**
|
|
216
|
-
* Text shown alongside the icon in the
|
|
208
|
+
* Text shown alongside the icon in the rewards column for a cancelled reward.
|
|
217
209
|
*
|
|
218
|
-
* @uiName Cancelled
|
|
210
|
+
* @uiName Cancelled Reward Text
|
|
219
211
|
* @uiGroup Cancelled Rewards
|
|
220
|
-
* @default
|
|
212
|
+
* @default Cancelled Reward
|
|
221
213
|
*/
|
|
222
214
|
cancelledvalue: string;
|
|
223
215
|
/**
|
|
@@ -20,7 +20,6 @@ export declare class ShareButton {
|
|
|
20
20
|
*
|
|
21
21
|
* @uiName Share Button Background Color
|
|
22
22
|
* @uiWidget color
|
|
23
|
-
* @format color
|
|
24
23
|
*/
|
|
25
24
|
backgroundcolor: string;
|
|
26
25
|
/**
|
|
@@ -28,11 +27,10 @@ export declare class ShareButton {
|
|
|
28
27
|
*
|
|
29
28
|
* @uiName Share Button Text Color
|
|
30
29
|
* @uiWidget color
|
|
31
|
-
* @format color
|
|
32
30
|
*/
|
|
33
31
|
textcolor: string;
|
|
34
32
|
/**
|
|
35
|
-
* Full list of valid icon names available in the
|
|
33
|
+
* Full list of valid icon names available in the [Shoelace Icon Library](https://shoelace.style/components/icon). This value is case sensitive.
|
|
36
34
|
*
|
|
37
35
|
* @uiName Share Button Icon
|
|
38
36
|
*/
|
|
@@ -70,7 +68,6 @@ export declare class ShareButton {
|
|
|
70
68
|
*
|
|
71
69
|
* @uiName URL
|
|
72
70
|
* @uiWidget imageUpload
|
|
73
|
-
* @format url
|
|
74
71
|
*/
|
|
75
72
|
url: string;
|
|
76
73
|
button: HTMLElement;
|