@saasquatch/vanilla-components 1.2.3-1 → 1.3.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +143 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sqh-close-button.cjs.entry.js +8 -3
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +180 -8
- package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
- package/dist/cjs/widget-components.cjs.js +1 -1
- package/dist/collection/components/close-button/close-button.js +14 -3
- package/dist/collection/components/copy-button/copy-button.js +63 -24
- package/dist/collection/components/copy-link-button/copy-link-button.js +33 -12
- package/dist/collection/components/global-container/global-container.js +28 -10
- package/dist/collection/components/image-component/image-component.js +33 -12
- package/dist/collection/components/partner-stat-component/partner-stat-component.js +29 -11
- package/dist/collection/components/referral-code/referral-code.js +3 -0
- package/dist/collection/components/referral-component/referral-component.js +28 -10
- package/dist/collection/components/referral-list/referral-list.js +206 -59
- package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
- package/dist/collection/components/share-button/share-button.js +58 -22
- package/dist/collection/components/share-button-container/share-button-container.js +824 -164
- package/dist/collection/components/stat-component/stat-component.js +28 -10
- package/dist/collection/components/stats-container/stats-container.js +23 -6
- package/dist/collection/components/text-component/text-component.js +58 -43
- package/dist/esm/loader.mjs +1 -1
- package/dist/esm/sqh-close-button.entry.js +8 -3
- package/dist/esm/sqh-copy-button_12.entry.js +179 -7
- package/dist/esm/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm/widget-components.mjs +1 -1
- package/dist/esm-es5/loader.mjs +1 -1
- package/dist/esm-es5/sqh-close-button.entry.js +14 -9
- package/dist/esm-es5/sqh-copy-button_12.entry.js +197 -25
- package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
- package/dist/esm-es5/widget-components.mjs +1 -1
- package/dist/types/components/close-button/close-button.d.ts +9 -1
- package/dist/types/components/copy-button/copy-button.d.ts +63 -0
- package/dist/types/components/copy-link-button/copy-link-button.d.ts +33 -0
- package/dist/types/components/global-container/global-container.d.ts +28 -0
- package/dist/types/components/image-component/image-component.d.ts +33 -0
- package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +29 -1
- package/dist/types/components/referral-code/referral-code.d.ts +3 -0
- package/dist/types/components/referral-component/referral-component.d.ts +28 -0
- package/dist/types/components/referral-list/referral-list.d.ts +167 -0
- package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
- package/dist/types/components/share-button/share-button.d.ts +58 -0
- package/dist/types/components/share-button-container/share-button-container.d.ts +494 -0
- package/dist/types/components/stat-component/stat-component.d.ts +28 -0
- package/dist/types/components/stats-container/stats-container.d.ts +18 -0
- package/dist/types/components/text-component/text-component.d.ts +58 -1
- package/dist/types/components.d.ts +1672 -2
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-93574d86.entry.js → p-d7059393.entry.js} +2 -2
- package/dist/widget-components/{p-45e253f6.system.entry.js → p-fba5ea7f.system.entry.js} +1 -1
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/package.json +7 -3
|
@@ -1,16 +1,79 @@
|
|
|
1
1
|
import Clipboard from "clipboard";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Copy Button
|
|
4
|
+
*/
|
|
2
5
|
export declare class CopyButton {
|
|
6
|
+
/**
|
|
7
|
+
* Hide or show the component
|
|
8
|
+
*
|
|
9
|
+
* @uiName Hide Button
|
|
10
|
+
*/
|
|
3
11
|
ishidden: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Text shown inside the copy button.
|
|
14
|
+
*
|
|
15
|
+
* @uiName Button Text
|
|
16
|
+
*/
|
|
4
17
|
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* Sets a maximum width on the copy button.
|
|
20
|
+
*
|
|
21
|
+
* @uiName Max Width
|
|
22
|
+
*/
|
|
5
23
|
width: number;
|
|
24
|
+
/**
|
|
25
|
+
* Background & border color of the copy button.
|
|
26
|
+
*
|
|
27
|
+
* @uiName Background Color
|
|
28
|
+
*/
|
|
6
29
|
backgroundcolor: string;
|
|
30
|
+
/**
|
|
31
|
+
* Configure border radius with pixel amount
|
|
32
|
+
*
|
|
33
|
+
* @uiName Border Radius
|
|
34
|
+
*/
|
|
7
35
|
borderradius: number;
|
|
36
|
+
/**
|
|
37
|
+
* Color of text inside the copy button.
|
|
38
|
+
*
|
|
39
|
+
* @uiName Text Color
|
|
40
|
+
*/
|
|
8
41
|
textcolor: string;
|
|
42
|
+
/**
|
|
43
|
+
* Font size of the copy button text.
|
|
44
|
+
*
|
|
45
|
+
* @uiName Font Size
|
|
46
|
+
*/
|
|
9
47
|
fontsize: number;
|
|
48
|
+
/**
|
|
49
|
+
* Shown when the code is successfully copied to the users clipboard.
|
|
50
|
+
*
|
|
51
|
+
* @uiName Copy Success Text
|
|
52
|
+
*/
|
|
10
53
|
copysuccess: string;
|
|
54
|
+
/**
|
|
55
|
+
* Shown when the button has failed to copy the code to the users clipboard.
|
|
56
|
+
*
|
|
57
|
+
* @uiName Copy Failure Text
|
|
58
|
+
*/
|
|
11
59
|
copyfailure: string;
|
|
60
|
+
/**
|
|
61
|
+
* rewardkey is used to get the fuel tank code for a user.
|
|
62
|
+
*
|
|
63
|
+
* @uiName Reward Key
|
|
64
|
+
*/
|
|
12
65
|
rewardkey: string;
|
|
66
|
+
/**
|
|
67
|
+
* Font size of the fuel tank code.
|
|
68
|
+
*
|
|
69
|
+
* @uiName Code Font Size
|
|
70
|
+
*/
|
|
13
71
|
codefontsize: number;
|
|
72
|
+
/**
|
|
73
|
+
* Text color of the fuel tank code.
|
|
74
|
+
*
|
|
75
|
+
* @uiName Code Font Color
|
|
76
|
+
*/
|
|
14
77
|
codefontcolor: string;
|
|
15
78
|
fueltankcode: string;
|
|
16
79
|
componentWillLoad(): Promise<void>;
|
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
import Clipboard from "clipboard";
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Copy Link Button
|
|
4
|
+
*/
|
|
2
5
|
export declare class CopyLinkButton {
|
|
6
|
+
/**
|
|
7
|
+
* Hide or show the component
|
|
8
|
+
*
|
|
9
|
+
* @uiName Hide Button
|
|
10
|
+
*/
|
|
3
11
|
ishidden: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Text shown inside the copy button.
|
|
14
|
+
*
|
|
15
|
+
* @uiName Button Text
|
|
16
|
+
*/
|
|
4
17
|
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* Shown when the code is successfully copied to the users clipboard.
|
|
20
|
+
*
|
|
21
|
+
* @uiName Copy Success Text
|
|
22
|
+
*/
|
|
5
23
|
copysuccess: string;
|
|
24
|
+
/**
|
|
25
|
+
* Shown when the button has failed to copy the code to the users clipboard.
|
|
26
|
+
*
|
|
27
|
+
* @uiName Copy Failure Text
|
|
28
|
+
*/
|
|
6
29
|
copyfailure: string;
|
|
30
|
+
/**
|
|
31
|
+
* Background & border color of the copy button.
|
|
32
|
+
*
|
|
33
|
+
* @uiName Button Color
|
|
34
|
+
*/
|
|
7
35
|
buttoncolor: string;
|
|
36
|
+
/**
|
|
37
|
+
* Color of text inside the copy button.
|
|
38
|
+
*
|
|
39
|
+
* @uiName Text Color
|
|
40
|
+
*/
|
|
8
41
|
textcolor: string;
|
|
9
42
|
sharelink: string;
|
|
10
43
|
componentWillLoad(): any;
|
|
@@ -1,8 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Global Container
|
|
3
|
+
*/
|
|
1
4
|
export declare class GlobalContainer {
|
|
5
|
+
/**
|
|
6
|
+
* Configure the background color.
|
|
7
|
+
*
|
|
8
|
+
* @uiName Background Color
|
|
9
|
+
*/
|
|
2
10
|
background: string;
|
|
11
|
+
/**
|
|
12
|
+
* Configure the color of the loading state.
|
|
13
|
+
*
|
|
14
|
+
* @uiName Loading Color
|
|
15
|
+
*/
|
|
3
16
|
loadingcolor: string;
|
|
17
|
+
/**
|
|
18
|
+
* Font family used inside the container.
|
|
19
|
+
*
|
|
20
|
+
* @uiName Font Family
|
|
21
|
+
*/
|
|
4
22
|
fontfamily: string;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum width on the container.
|
|
25
|
+
*
|
|
26
|
+
* @uiName Max Width
|
|
27
|
+
*/
|
|
5
28
|
maxwidth: string;
|
|
29
|
+
/**
|
|
30
|
+
* Show and hide the powered by SaaSquatch link.
|
|
31
|
+
*
|
|
32
|
+
* @uiName Powered By
|
|
33
|
+
*/
|
|
6
34
|
poweredby: boolean;
|
|
7
35
|
LoadingState(props: any): any;
|
|
8
36
|
render(): any;
|
|
@@ -1,9 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Image Component
|
|
3
|
+
*/
|
|
1
4
|
export declare class ImageComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Hide or show the component
|
|
7
|
+
*
|
|
8
|
+
* @uiName Hide Image
|
|
9
|
+
*/
|
|
2
10
|
ishidden: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Image link
|
|
13
|
+
*
|
|
14
|
+
* @uiName URL
|
|
15
|
+
*/
|
|
3
16
|
url: string;
|
|
17
|
+
/**
|
|
18
|
+
* Image width
|
|
19
|
+
*
|
|
20
|
+
* @uiName Width
|
|
21
|
+
*/
|
|
4
22
|
width: number;
|
|
23
|
+
/**
|
|
24
|
+
* Configure border radius with pixel amount
|
|
25
|
+
*
|
|
26
|
+
* @uiName Border Radius
|
|
27
|
+
*/
|
|
5
28
|
borderradius: number;
|
|
29
|
+
/**
|
|
30
|
+
* Configure alignment of the image
|
|
31
|
+
*
|
|
32
|
+
* @uiName Alignment
|
|
33
|
+
*/
|
|
6
34
|
alignment: string;
|
|
35
|
+
/**
|
|
36
|
+
* Additional CSS applied to the image element
|
|
37
|
+
*
|
|
38
|
+
* @uiName CSS
|
|
39
|
+
*/
|
|
7
40
|
css: string;
|
|
8
41
|
render(): any;
|
|
9
42
|
}
|
|
@@ -1,10 +1,38 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @uiName Partner Stat
|
|
4
|
+
*/
|
|
5
|
+
export declare class PartnerStatComponent {
|
|
3
6
|
elem: HTMLElement;
|
|
7
|
+
/**
|
|
8
|
+
* Hide or show the component
|
|
9
|
+
*
|
|
10
|
+
* @uiName Hide Stat
|
|
11
|
+
*/
|
|
4
12
|
ishidden: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Used to query the stats for a user
|
|
15
|
+
*
|
|
16
|
+
* @uiName Stat Type
|
|
17
|
+
*/
|
|
5
18
|
stattype: string;
|
|
19
|
+
/**
|
|
20
|
+
* Value of the stat
|
|
21
|
+
*
|
|
22
|
+
* @uiName Stat Value
|
|
23
|
+
*/
|
|
6
24
|
statvalue: string;
|
|
25
|
+
/**
|
|
26
|
+
* Description of the stat
|
|
27
|
+
*
|
|
28
|
+
* @uiName Stat Description
|
|
29
|
+
*/
|
|
7
30
|
statdescription: string;
|
|
31
|
+
/**
|
|
32
|
+
* Color of the stat value and description
|
|
33
|
+
*
|
|
34
|
+
* @uiName Stat Color
|
|
35
|
+
*/
|
|
8
36
|
statcolor: string;
|
|
9
37
|
statTypeUpdated: EventEmitter;
|
|
10
38
|
statAdded: EventEmitter;
|
|
@@ -1,8 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Referral Component
|
|
3
|
+
*/
|
|
1
4
|
export declare class ReferralComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Referral object
|
|
7
|
+
*
|
|
8
|
+
* @uiName Referral
|
|
9
|
+
*/
|
|
2
10
|
referral: Referral | ReferredByReferral;
|
|
11
|
+
/**
|
|
12
|
+
* Type of referral
|
|
13
|
+
*
|
|
14
|
+
* @uiName Referral Type
|
|
15
|
+
*/
|
|
3
16
|
referraltype: "converted" | "pending" | "referrer";
|
|
17
|
+
/**
|
|
18
|
+
* Referral variables used to format the row in the referral list
|
|
19
|
+
*
|
|
20
|
+
* @uiName Referral Variables
|
|
21
|
+
*/
|
|
4
22
|
referralvariables: ReferralVariables;
|
|
23
|
+
/**
|
|
24
|
+
* Text shown when the name of a user is unknown
|
|
25
|
+
*
|
|
26
|
+
* @uiName Unknown User
|
|
27
|
+
*/
|
|
5
28
|
unknownuser: String;
|
|
29
|
+
/**
|
|
30
|
+
* Configure the local
|
|
31
|
+
*
|
|
32
|
+
* @uiName Local
|
|
33
|
+
*/
|
|
6
34
|
locale: string;
|
|
7
35
|
getName(): String;
|
|
8
36
|
getIcon(): "icon-ok-circled" | "icon-attention";
|
|
@@ -1,32 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Referral List
|
|
3
|
+
*/
|
|
1
4
|
export declare class ReferralList {
|
|
5
|
+
/**
|
|
6
|
+
* Hide or show the component
|
|
7
|
+
*
|
|
8
|
+
* @uiName Hide Referral List
|
|
9
|
+
*/
|
|
2
10
|
ishidden: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Shown inside the paginate more button
|
|
13
|
+
*
|
|
14
|
+
* @uiName Paginate More Text
|
|
15
|
+
*/
|
|
3
16
|
paginatemore: string;
|
|
17
|
+
/**
|
|
18
|
+
* Shown inside the paginate less button
|
|
19
|
+
*
|
|
20
|
+
* @uiName Paginate Less Text
|
|
21
|
+
*/
|
|
4
22
|
paginateless: string;
|
|
23
|
+
/**
|
|
24
|
+
* Shown when referral list is empty
|
|
25
|
+
*
|
|
26
|
+
* @uiName Empty Referrals Text
|
|
27
|
+
*/
|
|
5
28
|
noreferralsyet: string;
|
|
29
|
+
/**
|
|
30
|
+
* Text color of the referred users name
|
|
31
|
+
*
|
|
32
|
+
* @uiName Referral Name Color
|
|
33
|
+
*/
|
|
6
34
|
referralnamecolor: string;
|
|
35
|
+
/**
|
|
36
|
+
* Text color of the referral status
|
|
37
|
+
*
|
|
38
|
+
* @uiName Referral Text Color
|
|
39
|
+
*/
|
|
7
40
|
referraltextcolor: string;
|
|
41
|
+
/**
|
|
42
|
+
* Text shown when the referred users name is unknown
|
|
43
|
+
*
|
|
44
|
+
* @uiName Unknown User Text
|
|
45
|
+
*/
|
|
8
46
|
unknownuser: string;
|
|
47
|
+
/**
|
|
48
|
+
* Show or hide expired rewards
|
|
49
|
+
*
|
|
50
|
+
* @uiName Show Expiry
|
|
51
|
+
*/
|
|
9
52
|
showexpiry: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Show the customer note for a referral
|
|
55
|
+
*
|
|
56
|
+
* @uiName Show Customer Note
|
|
57
|
+
*/
|
|
10
58
|
shownotes: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Shown when reward is redeemed
|
|
61
|
+
*
|
|
62
|
+
* @uiName Redeemed Value
|
|
63
|
+
*/
|
|
11
64
|
redeemedvalue: string;
|
|
65
|
+
/**
|
|
66
|
+
* Show or hide the referrer
|
|
67
|
+
*
|
|
68
|
+
* @uiName Show Referrer
|
|
69
|
+
* @uiGroup referrerProps
|
|
70
|
+
*/
|
|
12
71
|
showreferrer: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Text explaining who referred you to the program
|
|
74
|
+
*
|
|
75
|
+
* @uiName Referrer Content
|
|
76
|
+
* @uiGroup referrerProps
|
|
77
|
+
*/
|
|
13
78
|
referrercontent: string;
|
|
79
|
+
/**
|
|
80
|
+
* Referred Text shown in reward column
|
|
81
|
+
*
|
|
82
|
+
* @uiName Referrer Value
|
|
83
|
+
* @uiGroup referrerProps
|
|
84
|
+
*/
|
|
14
85
|
referrervalue: string;
|
|
86
|
+
/**
|
|
87
|
+
* Color of the successful reward icon and the text value
|
|
88
|
+
*
|
|
89
|
+
* @uiName Reward Color
|
|
90
|
+
* @uiGroup convertedReferralProps
|
|
91
|
+
*/
|
|
15
92
|
rewardcolor: string;
|
|
93
|
+
/**
|
|
94
|
+
* Color of the customer note
|
|
95
|
+
*
|
|
96
|
+
* @uiName Reward Color
|
|
97
|
+
* @uiGroup convertedReferralProps
|
|
98
|
+
*/
|
|
16
99
|
customernotecolor: string;
|
|
100
|
+
/**
|
|
101
|
+
* Show value of the first earned reward inside the rewards column
|
|
102
|
+
*
|
|
103
|
+
* @uiName Use First Reward
|
|
104
|
+
* @uiGroup convertedReferralProps
|
|
105
|
+
*/
|
|
17
106
|
usefirstreward: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Content shown when a referral is converted
|
|
109
|
+
*
|
|
110
|
+
* @uiName Converted Content
|
|
111
|
+
* @uiGroup convertedReferralProps
|
|
112
|
+
*/
|
|
18
113
|
convertedcontent: string;
|
|
114
|
+
/**
|
|
115
|
+
* Value shown in the rewards column
|
|
116
|
+
*
|
|
117
|
+
* @uiName Value Content
|
|
118
|
+
* @uiGroup convertedReferralProps
|
|
119
|
+
*/
|
|
19
120
|
valuecontent: string;
|
|
121
|
+
/**
|
|
122
|
+
* Color of the pending icon and text
|
|
123
|
+
*
|
|
124
|
+
* @uiName Pending Color
|
|
125
|
+
* @uiGroup pendingReferralProps
|
|
126
|
+
*/
|
|
20
127
|
pendingcolor: string;
|
|
128
|
+
/**
|
|
129
|
+
* Pending content shown in the user column
|
|
130
|
+
*
|
|
131
|
+
* @uiName Pending Content
|
|
132
|
+
* @uiGroup pendingReferralProps
|
|
133
|
+
*/
|
|
21
134
|
pendingcontent: string;
|
|
135
|
+
/**
|
|
136
|
+
* Pending content shown alongside the icon in the referral column
|
|
137
|
+
*
|
|
138
|
+
* @uiName Pending Value
|
|
139
|
+
* @uiGroup pendingReferralProps
|
|
140
|
+
*/
|
|
22
141
|
pendingvalue: string;
|
|
142
|
+
/**
|
|
143
|
+
* Color of the expired icon and text
|
|
144
|
+
*
|
|
145
|
+
* @uiName Expired Color
|
|
146
|
+
* @uiGroup expiredRewardProps
|
|
147
|
+
*/
|
|
23
148
|
expiredcolor: string;
|
|
149
|
+
/**
|
|
150
|
+
* Expired content shown in the user column
|
|
151
|
+
*
|
|
152
|
+
* @uiName Expired Content
|
|
153
|
+
* @uiGroup expiredRewardProps
|
|
154
|
+
*/
|
|
24
155
|
expiredcontent: string;
|
|
156
|
+
/**
|
|
157
|
+
* Expired content shown alongside the icon in the referral column
|
|
158
|
+
*
|
|
159
|
+
* @uiName Expired Value
|
|
160
|
+
* @uiGroup expiredRewardProps
|
|
161
|
+
*/
|
|
25
162
|
expiredvalue: string;
|
|
163
|
+
/**
|
|
164
|
+
* Reward expiry ICU message
|
|
165
|
+
*
|
|
166
|
+
* @uiName Expires Value
|
|
167
|
+
* @uiGroup expiredRewardProps
|
|
168
|
+
*/
|
|
26
169
|
expiresvalue: string;
|
|
170
|
+
/**
|
|
171
|
+
* Color of the cancelled icon and text
|
|
172
|
+
*
|
|
173
|
+
* @uiName Cancelled Color
|
|
174
|
+
* @uiGroup cancelledRewardProps
|
|
175
|
+
*/
|
|
27
176
|
cancelledcolor: string;
|
|
177
|
+
/**
|
|
178
|
+
* Cancelled text content shown in the user column
|
|
179
|
+
*
|
|
180
|
+
* @uiName Cancelled Content
|
|
181
|
+
* @uiGroup cancelledRewardProps
|
|
182
|
+
*/
|
|
28
183
|
cancelledcontent: string;
|
|
184
|
+
/**
|
|
185
|
+
* Cancelled text content shown alongside the icon in the referral column
|
|
186
|
+
*
|
|
187
|
+
* @uiName Cancelled Value
|
|
188
|
+
* @uiGroup cancelledRewardProps
|
|
189
|
+
*/
|
|
29
190
|
cancelledvalue: string;
|
|
191
|
+
/**
|
|
192
|
+
* When true, the local gets set by using the value passed to the referral component
|
|
193
|
+
*
|
|
194
|
+
* @uiName Internationalization
|
|
195
|
+
* @uiGroup internationalizationProps
|
|
196
|
+
*/
|
|
30
197
|
internationalization: boolean;
|
|
31
198
|
referrals: Referral[];
|
|
32
199
|
referralsCount: number;
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Reward Actions
|
|
3
|
+
*/
|
|
1
4
|
export declare class RewardsActions {
|
|
5
|
+
/**
|
|
6
|
+
* Text inside the previous button
|
|
7
|
+
*
|
|
8
|
+
* @uiName Previous Button Text
|
|
9
|
+
*/
|
|
2
10
|
previoustext: string;
|
|
11
|
+
/**
|
|
12
|
+
* Text inside the hide button
|
|
13
|
+
*
|
|
14
|
+
* @uiName Hide Button Text
|
|
15
|
+
*/
|
|
3
16
|
hidetext: string;
|
|
17
|
+
/**
|
|
18
|
+
* Text inside the next button
|
|
19
|
+
*
|
|
20
|
+
* @uiName Next Button Text
|
|
21
|
+
*/
|
|
4
22
|
nexttext: string;
|
|
5
23
|
render(): any;
|
|
6
24
|
}
|
|
@@ -1,14 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Share Button
|
|
3
|
+
*/
|
|
1
4
|
export declare class ShareButton {
|
|
5
|
+
/**
|
|
6
|
+
* Show or hide button depending on what type of device the user is on
|
|
7
|
+
*
|
|
8
|
+
* @uiName Share Button Display Rule
|
|
9
|
+
*/
|
|
2
10
|
displayrule: string;
|
|
11
|
+
/**
|
|
12
|
+
* Text inside the share button
|
|
13
|
+
*
|
|
14
|
+
* @uiName Share Button Text
|
|
15
|
+
*/
|
|
3
16
|
text: string;
|
|
17
|
+
/**
|
|
18
|
+
* Background color of the share button
|
|
19
|
+
*
|
|
20
|
+
* @uiName Share Button Background Color
|
|
21
|
+
*/
|
|
4
22
|
backgroundcolor: string;
|
|
23
|
+
/**
|
|
24
|
+
* Color of the text inside the share button
|
|
25
|
+
*
|
|
26
|
+
* @uiName Share Button Text Color
|
|
27
|
+
*/
|
|
5
28
|
textcolor: string;
|
|
29
|
+
/**
|
|
30
|
+
* Share button icon
|
|
31
|
+
*
|
|
32
|
+
* @uiName Share Button Icon
|
|
33
|
+
*/
|
|
6
34
|
icon: string;
|
|
35
|
+
/**
|
|
36
|
+
* CSS Class name used to style the share button
|
|
37
|
+
*
|
|
38
|
+
* @uiName Share Button Class Name
|
|
39
|
+
*/
|
|
7
40
|
buttonClassName: string;
|
|
41
|
+
/**
|
|
42
|
+
* Number to horizontally align the share button icon
|
|
43
|
+
*
|
|
44
|
+
* @uiName Share Button Icon Horizontal
|
|
45
|
+
*/
|
|
8
46
|
iconhorizontal: number;
|
|
47
|
+
/**
|
|
48
|
+
* Number to vertically align the share button icon
|
|
49
|
+
*
|
|
50
|
+
* @uiName Share Button Icon Vertical
|
|
51
|
+
*/
|
|
9
52
|
iconvertical: number;
|
|
53
|
+
/**
|
|
54
|
+
* Size of the Share button icon
|
|
55
|
+
*
|
|
56
|
+
* @uiName Share Button Icon Size
|
|
57
|
+
*/
|
|
10
58
|
iconsize: number;
|
|
59
|
+
/**
|
|
60
|
+
* Type of the share button
|
|
61
|
+
*
|
|
62
|
+
* @uiName Share Button Type
|
|
63
|
+
*/
|
|
11
64
|
type: string;
|
|
65
|
+
/**
|
|
66
|
+
* URL redirect location
|
|
67
|
+
*
|
|
68
|
+
* @uiName URL
|
|
69
|
+
*/
|
|
12
70
|
url: string;
|
|
13
71
|
button: HTMLElement;
|
|
14
72
|
clickHandler(e: any): void;
|