@saasquatch/vanilla-components 1.2.4-7 → 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/loader.cjs.js +1 -1
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +3 -21
- package/dist/cjs/widget-components.cjs.js +1 -1
- 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 +3 -15
- 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 +51 -75
- package/dist/collection/components/share-button/share-button.js +3 -12
- package/dist/collection/components/share-button-container/share-button-container.js +46 -119
- 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 +25 -4
- package/dist/collection/entrypoint.js +19 -17
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/sqh-copy-button_12.entry.js +3 -21
- package/dist/esm/widget-components.mjs +1 -1
- package/dist/esm-es5/loader.mjs +1 -1
- package/dist/esm-es5/sqh-copy-button_12.entry.js +4 -23
- package/dist/esm-es5/widget-components.mjs +1 -1
- 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 +51 -59
- package/dist/types/components/share-button/share-button.d.ts +2 -7
- package/dist/types/components/share-button-container/share-button-container.d.ts +36 -72
- 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 +6 -2
- package/dist/types/components.d.ts +226 -320
- package/dist/types/saasquatch.d.ts +3 -1
- package/dist/widget-components/entrypoint.js +19 -17
- package/dist/widget-components/{p-d7059393.entry.js → p-0bfec452.entry.js} +1 -0
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-fba5ea7f.system.entry.js → p-796dc228.system.entry.js} +1 -1
- 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 -3
|
@@ -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,28 +193,27 @@ 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
|
/**
|
|
224
|
-
*
|
|
216
|
+
* Use the value passed to the referral component to set the locale of the user.
|
|
225
217
|
*
|
|
226
218
|
* @uiName Internationalization
|
|
227
219
|
*/
|
|
@@ -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
|
-
*
|
|
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
|
*/
|
|
@@ -56,14 +54,12 @@ export declare class ShareButton {
|
|
|
56
54
|
*/
|
|
57
55
|
iconvertical: number;
|
|
58
56
|
/**
|
|
59
|
-
* Size of the Share button icon
|
|
57
|
+
* Size of the Share button icon in em units
|
|
60
58
|
*
|
|
61
59
|
* @uiName Share Button Icon Size
|
|
62
60
|
*/
|
|
63
61
|
iconsize: number;
|
|
64
62
|
/**
|
|
65
|
-
* Type of the share button
|
|
66
|
-
*
|
|
67
63
|
* @uiName Share Button Type
|
|
68
64
|
*/
|
|
69
65
|
type: string;
|
|
@@ -72,7 +68,6 @@ export declare class ShareButton {
|
|
|
72
68
|
*
|
|
73
69
|
* @uiName URL
|
|
74
70
|
* @uiWidget imageUpload
|
|
75
|
-
* @format url
|
|
76
71
|
*/
|
|
77
72
|
url: string;
|
|
78
73
|
button: HTMLElement;
|
|
@@ -17,13 +17,13 @@ export declare class ShareButtonContainer {
|
|
|
17
17
|
* @uiGroup Email
|
|
18
18
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
19
19
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
20
|
-
* @default
|
|
20
|
+
* @default mobile-and-desktop
|
|
21
21
|
*/
|
|
22
22
|
emaildisplayrule: string;
|
|
23
23
|
/**
|
|
24
24
|
* @uiName Email Text
|
|
25
25
|
* @uiGroup Email
|
|
26
|
-
* @default
|
|
26
|
+
* @default Email
|
|
27
27
|
*/
|
|
28
28
|
emailtext: string;
|
|
29
29
|
/**
|
|
@@ -32,21 +32,17 @@ export declare class ShareButtonContainer {
|
|
|
32
32
|
* @uiName Email Background Color
|
|
33
33
|
* @uiGroup Email
|
|
34
34
|
* @uiWidget color
|
|
35
|
-
* @
|
|
36
|
-
* @default "#4b4d50"
|
|
35
|
+
* @default #4b4d50
|
|
37
36
|
*/
|
|
38
37
|
emailbackgroundcolor: string;
|
|
39
38
|
/**
|
|
40
39
|
* @uiName Email Text Color
|
|
41
40
|
* @uiGroup Email
|
|
42
41
|
* @uiWidget color
|
|
43
|
-
* @
|
|
44
|
-
* @default "#ffffff"
|
|
42
|
+
* @default #ffffff
|
|
45
43
|
*/
|
|
46
44
|
emailtextcolor: string;
|
|
47
45
|
/**
|
|
48
|
-
* Email button icon
|
|
49
|
-
*
|
|
50
46
|
* @uiName Email Icon
|
|
51
47
|
* @uiGroup Email
|
|
52
48
|
*/
|
|
@@ -85,13 +81,13 @@ export declare class ShareButtonContainer {
|
|
|
85
81
|
* @uiGroup Facebook
|
|
86
82
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
87
83
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
88
|
-
* @default
|
|
84
|
+
* @default mobile-and-desktop
|
|
89
85
|
*/
|
|
90
86
|
facebookdisplayrule: string;
|
|
91
87
|
/**
|
|
92
88
|
* @uiName Facebook Text
|
|
93
89
|
* @uiGroup Facebook
|
|
94
|
-
* @default
|
|
90
|
+
* @default Facebook
|
|
95
91
|
*/
|
|
96
92
|
facebooktext: string;
|
|
97
93
|
/**
|
|
@@ -100,21 +96,17 @@ export declare class ShareButtonContainer {
|
|
|
100
96
|
* @uiName Facebook Background Color
|
|
101
97
|
* @uiGroup Facebook
|
|
102
98
|
* @uiWidget color
|
|
103
|
-
* @
|
|
104
|
-
* @default "#234079"
|
|
99
|
+
* @default #234079
|
|
105
100
|
*/
|
|
106
101
|
facebookbackgroundcolor: string;
|
|
107
102
|
/**
|
|
108
103
|
* @uiName Facebook Text Color
|
|
109
104
|
* @uiGroup Facebook
|
|
110
105
|
* @uiWidget color
|
|
111
|
-
* @
|
|
112
|
-
* @default "#ffffff"
|
|
106
|
+
* @default #ffffff
|
|
113
107
|
*/
|
|
114
108
|
facebooktextcolor: string;
|
|
115
109
|
/**
|
|
116
|
-
* Facebook button icon
|
|
117
|
-
*
|
|
118
110
|
* @uiName Facebook Icon
|
|
119
111
|
* @uiGroup Facebook
|
|
120
112
|
*/
|
|
@@ -153,13 +145,13 @@ export declare class ShareButtonContainer {
|
|
|
153
145
|
* @uiGroup Twitter
|
|
154
146
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
155
147
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
156
|
-
* @default
|
|
148
|
+
* @default mobile-and-desktop
|
|
157
149
|
*/
|
|
158
150
|
twitterdisplayrule: string;
|
|
159
151
|
/**
|
|
160
152
|
* @uiName Twitter Text
|
|
161
153
|
* @uiGroup Twitter
|
|
162
|
-
* @default
|
|
154
|
+
* @default Twitter
|
|
163
155
|
*/
|
|
164
156
|
twittertext: string;
|
|
165
157
|
/**
|
|
@@ -168,21 +160,17 @@ export declare class ShareButtonContainer {
|
|
|
168
160
|
* @uiName Twitter Background Color
|
|
169
161
|
* @uiGroup Twitter
|
|
170
162
|
* @uiWidget color
|
|
171
|
-
* @
|
|
172
|
-
* @default "#4797d2"
|
|
163
|
+
* @default #4797d2
|
|
173
164
|
*/
|
|
174
165
|
twitterbackgroundcolor: string;
|
|
175
166
|
/**
|
|
176
167
|
* @uiName Twitter Text Color
|
|
177
168
|
* @uiGroup Twitter
|
|
178
169
|
* @uiWidget color
|
|
179
|
-
* @
|
|
180
|
-
* @default "#ffffff"
|
|
170
|
+
* @default #ffffff
|
|
181
171
|
*/
|
|
182
172
|
twittertextcolor: string;
|
|
183
173
|
/**
|
|
184
|
-
* Twitter button icon
|
|
185
|
-
*
|
|
186
174
|
* @uiName Twitter Icon
|
|
187
175
|
* @uiGroup Twitter
|
|
188
176
|
*/
|
|
@@ -221,13 +209,13 @@ export declare class ShareButtonContainer {
|
|
|
221
209
|
* @uiGroup SMS
|
|
222
210
|
* @uiEnum ["mobile-only","hidden"]
|
|
223
211
|
* @uiEnumNames ["Mobile Only","Hide"]
|
|
224
|
-
* @default
|
|
212
|
+
* @default mobile-only
|
|
225
213
|
*/
|
|
226
214
|
smsdisplayrule: string;
|
|
227
215
|
/**
|
|
228
216
|
* @uiName SMS Text
|
|
229
217
|
* @uiGroup SMS
|
|
230
|
-
* @default
|
|
218
|
+
* @default SMS
|
|
231
219
|
*/
|
|
232
220
|
smstext: string;
|
|
233
221
|
/**
|
|
@@ -236,21 +224,17 @@ export declare class ShareButtonContainer {
|
|
|
236
224
|
* @uiName SMS Background Color
|
|
237
225
|
* @uiGroup SMS
|
|
238
226
|
* @uiWidget color
|
|
239
|
-
* @
|
|
240
|
-
* @default "#7bbf38"
|
|
227
|
+
* @default #7bbf38
|
|
241
228
|
*/
|
|
242
229
|
smsbackgroundcolor: string;
|
|
243
230
|
/**
|
|
244
231
|
* @uiName SMS Text Color
|
|
245
232
|
* @uiGroup SMS
|
|
246
233
|
* @uiWidget color
|
|
247
|
-
* @
|
|
248
|
-
* @default "#ffffff"
|
|
234
|
+
* @default #ffffff
|
|
249
235
|
*/
|
|
250
236
|
smstextcolor: string;
|
|
251
237
|
/**
|
|
252
|
-
* SMS button icon
|
|
253
|
-
*
|
|
254
238
|
* @uiName SMS Icon
|
|
255
239
|
* @uiGroup SMS
|
|
256
240
|
*/
|
|
@@ -289,13 +273,13 @@ export declare class ShareButtonContainer {
|
|
|
289
273
|
* @uiGroup WhatsApp
|
|
290
274
|
* @uiEnum ["mobile-only","hidden"]
|
|
291
275
|
* @uiEnumNames ["Mobile Only","Hide"]
|
|
292
|
-
* @default
|
|
276
|
+
* @default mobile-only
|
|
293
277
|
*/
|
|
294
278
|
whatsappdisplayrule: string;
|
|
295
279
|
/**
|
|
296
280
|
* @uiName WhatsApp Text
|
|
297
281
|
* @uiGroup WhatsApp
|
|
298
|
-
* @default
|
|
282
|
+
* @default Whatspp
|
|
299
283
|
*/
|
|
300
284
|
whatsapptext: string;
|
|
301
285
|
/**
|
|
@@ -304,21 +288,17 @@ export declare class ShareButtonContainer {
|
|
|
304
288
|
* @uiName WhatsApp Background Color
|
|
305
289
|
* @uiGroup WhatsApp
|
|
306
290
|
* @uiWidget color
|
|
307
|
-
* @
|
|
308
|
-
* @default "#25D366"
|
|
291
|
+
* @default #25D366
|
|
309
292
|
*/
|
|
310
293
|
whatsappbackgroundcolor: string;
|
|
311
294
|
/**
|
|
312
295
|
* @uiName WhatsApp Text Color
|
|
313
296
|
* @uiGroup WhatsApp
|
|
314
297
|
* @uiWidget color
|
|
315
|
-
* @
|
|
316
|
-
* @default "#ffffff"
|
|
298
|
+
* @default #ffffff
|
|
317
299
|
*/
|
|
318
300
|
whatsapptextcolor: string;
|
|
319
301
|
/**
|
|
320
|
-
* WhatsApp button icon
|
|
321
|
-
*
|
|
322
302
|
* @uiName WhatsApp Icon
|
|
323
303
|
* @uiGroup WhatsApp
|
|
324
304
|
*/
|
|
@@ -357,13 +337,13 @@ export declare class ShareButtonContainer {
|
|
|
357
337
|
* @uiGroup LinkedIn
|
|
358
338
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
359
339
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
360
|
-
* @default
|
|
340
|
+
* @default hidden
|
|
361
341
|
*/
|
|
362
342
|
linkedindisplayrule: string;
|
|
363
343
|
/**
|
|
364
344
|
* @uiName Linkedin Text
|
|
365
345
|
* @uiGroup LinkedIn
|
|
366
|
-
* @default
|
|
346
|
+
* @default LinkedIn
|
|
367
347
|
*/
|
|
368
348
|
linkedintext: string;
|
|
369
349
|
/**
|
|
@@ -372,21 +352,17 @@ export declare class ShareButtonContainer {
|
|
|
372
352
|
* @uiName Linkedin Background Color
|
|
373
353
|
* @uiGroup LinkedIn
|
|
374
354
|
* @uiWidget color
|
|
375
|
-
* @
|
|
376
|
-
* @default "#ffffff"
|
|
355
|
+
* @default #ffffff
|
|
377
356
|
*/
|
|
378
357
|
linkedinbackgroundcolor: string;
|
|
379
358
|
/**
|
|
380
359
|
* @uiName Linkedin Text Color
|
|
381
360
|
* @uiGroup LinkedIn
|
|
382
361
|
* @uiWidget color
|
|
383
|
-
* @
|
|
384
|
-
* @default "#0084b9"
|
|
362
|
+
* @default #0084b9
|
|
385
363
|
*/
|
|
386
364
|
linkedintextcolor: string;
|
|
387
365
|
/**
|
|
388
|
-
* Linkedin button icon
|
|
389
|
-
*
|
|
390
366
|
* @uiName Linkedin Icon
|
|
391
367
|
* @uiGroup LinkedIn
|
|
392
368
|
*/
|
|
@@ -425,13 +401,13 @@ export declare class ShareButtonContainer {
|
|
|
425
401
|
* @uiGroup Pinterest
|
|
426
402
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
427
403
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
428
|
-
* @default
|
|
404
|
+
* @default hidden
|
|
429
405
|
*/
|
|
430
406
|
pinterestdisplayrule: string;
|
|
431
407
|
/**
|
|
432
408
|
* @uiName Pinterest Text
|
|
433
409
|
* @uiGroup Pinterest
|
|
434
|
-
* @default
|
|
410
|
+
* @default Pinterest
|
|
435
411
|
*/
|
|
436
412
|
pinteresttext: string;
|
|
437
413
|
/**
|
|
@@ -440,21 +416,17 @@ export declare class ShareButtonContainer {
|
|
|
440
416
|
* @uiName Pinterest Background Color
|
|
441
417
|
* @uiGroup Pinterest
|
|
442
418
|
* @uiWidget color
|
|
443
|
-
* @
|
|
444
|
-
* @default "#cb2027"
|
|
419
|
+
* @default #cb2027
|
|
445
420
|
*/
|
|
446
421
|
pinterestbackgroundcolor: string;
|
|
447
422
|
/**
|
|
448
423
|
* @uiName Pinterest Text Color
|
|
449
424
|
* @uiGroup Pinterest
|
|
450
425
|
* @uiWidget color
|
|
451
|
-
* @
|
|
452
|
-
* @default "#ffffff"
|
|
426
|
+
* @default #ffffff
|
|
453
427
|
*/
|
|
454
428
|
pinteresttextcolor: string;
|
|
455
429
|
/**
|
|
456
|
-
* Pinterest button icon
|
|
457
|
-
*
|
|
458
430
|
* @uiName Pinterest Icon
|
|
459
431
|
* @uiGroup Pinterest
|
|
460
432
|
*/
|
|
@@ -493,13 +465,13 @@ export declare class ShareButtonContainer {
|
|
|
493
465
|
* @uiGroup Messenger
|
|
494
466
|
* @uiEnum ["mobile-and-desktop","mobile-only","desktop-only","hidden"]
|
|
495
467
|
* @uiEnumNames ["Mobile and Desktop","Mobile Only","Desktop Only","Hide"]
|
|
496
|
-
* @default
|
|
468
|
+
* @default hidden
|
|
497
469
|
*/
|
|
498
470
|
messengerdisplayrule: string;
|
|
499
471
|
/**
|
|
500
472
|
* @uiName Messenger Text
|
|
501
473
|
* @uiGroup Messenger
|
|
502
|
-
* @default
|
|
474
|
+
* @default Messenger
|
|
503
475
|
*/
|
|
504
476
|
messengertext: string;
|
|
505
477
|
/**
|
|
@@ -508,21 +480,17 @@ export declare class ShareButtonContainer {
|
|
|
508
480
|
* @uiName Messenger Background Color
|
|
509
481
|
* @uiGroup Messenger
|
|
510
482
|
* @uiWidget color
|
|
511
|
-
* @
|
|
512
|
-
* @default "#0084ff"
|
|
483
|
+
* @default #0084ff
|
|
513
484
|
*/
|
|
514
485
|
messengerbackgroundcolor: string;
|
|
515
486
|
/**
|
|
516
487
|
* @uiName Messenger Text Color
|
|
517
488
|
* @uiGroup Messenger
|
|
518
489
|
* @uiWidget color
|
|
519
|
-
* @
|
|
520
|
-
* @default "#ffffff"
|
|
490
|
+
* @default #ffffff
|
|
521
491
|
*/
|
|
522
492
|
messengertextcolor: string;
|
|
523
493
|
/**
|
|
524
|
-
* Messenger button icon
|
|
525
|
-
*
|
|
526
494
|
* @uiName Messenger Icon
|
|
527
495
|
* @uiGroup Messenger
|
|
528
496
|
*/
|
|
@@ -561,13 +529,13 @@ export declare class ShareButtonContainer {
|
|
|
561
529
|
* @uiGroup Line Messenger
|
|
562
530
|
* @uiEnum ["mobile-only","hidden"]
|
|
563
531
|
* @uiEnumNames ["Mobile Only","Hide"]
|
|
564
|
-
* @default
|
|
532
|
+
* @default mobile-only
|
|
565
533
|
*/
|
|
566
534
|
linedisplayrule: string;
|
|
567
535
|
/**
|
|
568
536
|
* @uiName Line Text
|
|
569
537
|
* @uiGroup Line Messenger
|
|
570
|
-
* @default
|
|
538
|
+
* @default Line Messenger
|
|
571
539
|
*/
|
|
572
540
|
linetext: string;
|
|
573
541
|
/**
|
|
@@ -576,21 +544,17 @@ export declare class ShareButtonContainer {
|
|
|
576
544
|
* @uiName Line Background Color
|
|
577
545
|
* @uiGroup Line Messenger
|
|
578
546
|
* @uiWidget color
|
|
579
|
-
* @
|
|
580
|
-
* @default "#00c300"
|
|
547
|
+
* @default #00c300
|
|
581
548
|
*/
|
|
582
549
|
linebackgroundcolor: string;
|
|
583
550
|
/**
|
|
584
551
|
* @uiName Line Text Color
|
|
585
552
|
* @uiGroup Line Messenger
|
|
586
553
|
* @uiWidget color
|
|
587
|
-
* @
|
|
588
|
-
* @default "#ffffff"
|
|
554
|
+
* @default #ffffff
|
|
589
555
|
*/
|
|
590
556
|
linetextcolor: string;
|
|
591
557
|
/**
|
|
592
|
-
* Line button icon
|
|
593
|
-
*
|
|
594
558
|
* @uiName Line Icon
|
|
595
559
|
* @uiGroup Line Messenger
|
|
596
560
|
*/
|
|
@@ -5,7 +5,6 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
5
5
|
* @exampleGroup Statistics
|
|
6
6
|
* @example Referral Count - <sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
7
7
|
* @example Reward Count - <sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
8
|
-
* @example Credit Earned - <sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component>
|
|
9
8
|
* @example Points Earned - <sqh-stat-component statcolor="#000000" stattype="/rewardBalance/CREDIT/POINT/totalAssignedCredit" statdescription="Points Earned" paddingtop="10" paddingbottom="10"></sqh-stat-component>
|
|
10
9
|
*/
|
|
11
10
|
export declare class StatComponent {
|
|
@@ -18,7 +17,7 @@ export declare class StatComponent {
|
|
|
18
17
|
/**
|
|
19
18
|
* Type of stat being displayed. e.g /rewardsCount
|
|
20
19
|
* @uiName Stat Type
|
|
21
|
-
* @uiWidget
|
|
20
|
+
* @uiWidget statTypeSelectWidget
|
|
22
21
|
* @required
|
|
23
22
|
* @minLength 1
|
|
24
23
|
*/
|
|
@@ -37,7 +36,6 @@ export declare class StatComponent {
|
|
|
37
36
|
/**
|
|
38
37
|
* @uiName Color
|
|
39
38
|
* @uiWidget color
|
|
40
|
-
* @format color
|
|
41
39
|
*/
|
|
42
40
|
statcolor: string;
|
|
43
41
|
statTypeUpdated: EventEmitter;
|