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