@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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.2.3] - 2022-03-22
|
|
11
|
+
|
|
12
|
+
### Updated
|
|
13
|
+
|
|
14
|
+
- \<sqh-referral-list> show-referrer prop now prevents referrer from being queried when set to "false"
|
|
15
|
+
|
|
16
|
+
[unreleased]: https://github.com/saasquatch/program-tools/compare/vanilla-components@1.2.3...HEAD
|
|
17
|
+
[1.2.3]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.2.3
|
|
18
|
+
[1.0.14]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.14
|
|
19
|
+
[1.0.13]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.13
|
|
20
|
+
[1.0.12]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.12
|
|
21
|
+
[1.0.7]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.7
|
|
22
|
+
[1.0.6]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.6
|
|
23
|
+
[1.0.5]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.5
|
|
24
|
+
[1.0.3]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.3
|
|
25
|
+
[1.0.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.2
|
|
26
|
+
[1.0.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.1
|
|
27
|
+
[1.0.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%401.0.0
|
|
28
|
+
[0.0.123]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.123
|
|
29
|
+
[0.0.122]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.122
|
|
30
|
+
[0.0.121]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.121
|
|
31
|
+
[0.0.120]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.120
|
|
32
|
+
[0.0.119]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.119
|
|
33
|
+
[0.0.118]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.118
|
|
34
|
+
[0.0.117]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.117
|
|
35
|
+
[0.0.116]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.116
|
|
36
|
+
[0.0.115]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.115
|
|
37
|
+
[0.0.114]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.114
|
|
38
|
+
[0.0.113]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.113
|
|
39
|
+
[0.0.112]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.112
|
|
40
|
+
[0.0.111]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.111
|
|
41
|
+
[0.0.110]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.110
|
|
42
|
+
[0.0.109]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.109
|
|
43
|
+
[0.0.108]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.108
|
|
44
|
+
[0.0.107]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.107
|
|
45
|
+
[0.0.106]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.106
|
|
46
|
+
[0.0.105]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.105
|
|
47
|
+
[0.0.104]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.104
|
|
48
|
+
[0.0.103]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.103
|
|
49
|
+
[0.0.102]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.102
|
|
50
|
+
[0.0.101]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.101
|
|
51
|
+
[0.0.100]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.100
|
|
52
|
+
[0.0.99]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.99
|
|
53
|
+
[0.0.98]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.98
|
|
54
|
+
[0.0.97]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.97
|
|
55
|
+
[0.0.96]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.96
|
|
56
|
+
[0.0.95]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.95
|
|
57
|
+
[0.0.94]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.94
|
|
58
|
+
[0.0.93]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.93
|
|
59
|
+
[0.0.92]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.92
|
|
60
|
+
[0.0.91]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.91
|
|
61
|
+
[0.0.90]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.90
|
|
62
|
+
[0.0.89]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.89
|
|
63
|
+
[0.0.88]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.88
|
|
64
|
+
[0.0.87]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.87
|
|
65
|
+
[0.0.86]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.86
|
|
66
|
+
[0.0.85]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.85
|
|
67
|
+
[0.0.84]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.84
|
|
68
|
+
[0.0.83]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.83
|
|
69
|
+
[0.0.82]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.82
|
|
70
|
+
[0.0.81]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.81
|
|
71
|
+
[0.0.80]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.80
|
|
72
|
+
[0.0.79]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.79
|
|
73
|
+
[0.0.78]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.78
|
|
74
|
+
[0.0.77]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.77
|
|
75
|
+
[0.0.76]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.76
|
|
76
|
+
[0.0.75]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.75
|
|
77
|
+
[0.0.74]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.74
|
|
78
|
+
[0.0.73]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.73
|
|
79
|
+
[0.0.72]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.72
|
|
80
|
+
[0.0.71]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.71
|
|
81
|
+
[0.0.70]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.70
|
|
82
|
+
[0.0.69]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.69
|
|
83
|
+
[0.0.68]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.68
|
|
84
|
+
[0.0.67]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.67
|
|
85
|
+
[0.0.66]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.66
|
|
86
|
+
[0.0.65]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.65
|
|
87
|
+
[0.0.64]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.64
|
|
88
|
+
[0.0.63]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.63
|
|
89
|
+
[0.0.62]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.62
|
|
90
|
+
[0.0.61]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.61
|
|
91
|
+
[0.0.60]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.60
|
|
92
|
+
[0.0.59]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.59
|
|
93
|
+
[0.0.58]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.58
|
|
94
|
+
[0.0.57]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.57
|
|
95
|
+
[0.0.56]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.56
|
|
96
|
+
[0.0.55]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.55
|
|
97
|
+
[0.0.54]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.54
|
|
98
|
+
[0.0.53]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.53
|
|
99
|
+
[0.0.52]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.52
|
|
100
|
+
[0.0.51]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.51
|
|
101
|
+
[0.0.50]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.50
|
|
102
|
+
[0.0.49]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.49
|
|
103
|
+
[0.0.48]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.48
|
|
104
|
+
[0.0.47]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.47
|
|
105
|
+
[0.0.46]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.46
|
|
106
|
+
[0.0.45]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.45
|
|
107
|
+
[0.0.44]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.44
|
|
108
|
+
[0.0.43]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.43
|
|
109
|
+
[0.0.42]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.42
|
|
110
|
+
[0.0.41]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.41
|
|
111
|
+
[0.0.40]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.40
|
|
112
|
+
[0.0.39]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.39
|
|
113
|
+
[0.0.38]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.38
|
|
114
|
+
[0.0.37]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.37
|
|
115
|
+
[0.0.34]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.34
|
|
116
|
+
[0.0.33]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.33
|
|
117
|
+
[0.0.32]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.32
|
|
118
|
+
[0.0.31]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.31
|
|
119
|
+
[0.0.30]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.30
|
|
120
|
+
[0.0.29]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.29
|
|
121
|
+
[0.0.28]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.28
|
|
122
|
+
[0.0.27]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.27
|
|
123
|
+
[0.0.26]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.26
|
|
124
|
+
[0.0.25]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.25
|
|
125
|
+
[0.0.24]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.24
|
|
126
|
+
[0.0.23]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.23
|
|
127
|
+
[0.0.22]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.22
|
|
128
|
+
[0.0.21]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.21
|
|
129
|
+
[0.0.20]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.20
|
|
130
|
+
[0.0.19]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.19
|
|
131
|
+
[0.0.18]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.18
|
|
132
|
+
[0.0.17]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.17
|
|
133
|
+
[0.0.16]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.16
|
|
134
|
+
[0.0.15]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.15
|
|
135
|
+
[0.0.14]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.14
|
|
136
|
+
[0.0.13]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.13
|
|
137
|
+
[0.0.12]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.12
|
|
138
|
+
[0.0.11]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.11
|
|
139
|
+
[0.0.10]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.10
|
|
140
|
+
[0.0.9]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.9
|
|
141
|
+
[0.0.8]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.8
|
|
142
|
+
[0.0.6]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.6
|
|
143
|
+
[0.0.5]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fvanilla-components%400.0.5
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ require('./_commonjsHelpers-ac2d0785.js');
|
|
|
9
9
|
const defineCustomElements = (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
11
11
|
return en.patchEsm().then(() => {
|
|
12
|
-
return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"
|
|
12
|
+
return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
|
|
13
13
|
});
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -8,9 +8,14 @@ const WidgetHost = require('./WidgetHost-d7b870ce.js');
|
|
|
8
8
|
|
|
9
9
|
const closeButtonCss = "sqh-close-button .squatch-header-close{position:absolute;top:4px;right:6px;background:transparent;border:0;color:#4486e1;font-size:12px}sqh-close-button .squatch-header-close:hover{text-decoration:underline}";
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const CloseButton = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
|
+
/**
|
|
15
|
+
* The text shown inside the close button.
|
|
16
|
+
*
|
|
17
|
+
* @uiName Button Text
|
|
18
|
+
*/
|
|
14
19
|
this.text = "Close";
|
|
15
20
|
}
|
|
16
21
|
handleClick() {
|
|
@@ -27,6 +32,6 @@ const TwitterShareButton = class {
|
|
|
27
32
|
}
|
|
28
33
|
get closeButton() { return index.getElement(this); }
|
|
29
34
|
};
|
|
30
|
-
|
|
35
|
+
CloseButton.style = closeButtonCss;
|
|
31
36
|
|
|
32
|
-
exports.sqh_close_button =
|
|
37
|
+
exports.sqh_close_button = CloseButton;
|
|
@@ -2742,7 +2742,7 @@ ImageComponent.style = imageComponentCss;
|
|
|
2742
2742
|
|
|
2743
2743
|
const partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
|
|
2744
2744
|
|
|
2745
|
-
const
|
|
2745
|
+
const PartnerStatComponent = class {
|
|
2746
2746
|
constructor(hostRef) {
|
|
2747
2747
|
index.registerInstance(this, hostRef);
|
|
2748
2748
|
this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
|
|
@@ -2772,7 +2772,7 @@ const StatComponent = class {
|
|
|
2772
2772
|
"stattype": ["stattypeHandler"]
|
|
2773
2773
|
}; }
|
|
2774
2774
|
};
|
|
2775
|
-
|
|
2775
|
+
PartnerStatComponent.style = partnerStatComponentCss;
|
|
2776
2776
|
|
|
2777
2777
|
var TYPE;
|
|
2778
2778
|
(function (TYPE) {
|
|
@@ -7147,7 +7147,7 @@ const ReferralList = class {
|
|
|
7147
7147
|
this.loading = true;
|
|
7148
7148
|
const { target } = event;
|
|
7149
7149
|
target.innerText = "...";
|
|
7150
|
-
this.getReferrals(offset).then((res) => {
|
|
7150
|
+
this.getReferrals(this.showreferrer, offset).then((res) => {
|
|
7151
7151
|
target.innerText =
|
|
7152
7152
|
offset > this.offset ? this.paginatemore : this.paginateless;
|
|
7153
7153
|
this.referrals = res.referrals.data;
|
|
@@ -7330,33 +7330,201 @@ const shareButtonContainerCss = "sqh-share-button-container{text-align:center;di
|
|
|
7330
7330
|
const ShareButtonContainer = class {
|
|
7331
7331
|
constructor(hostRef) {
|
|
7332
7332
|
index.registerInstance(this, hostRef);
|
|
7333
|
+
/**
|
|
7334
|
+
* Email button icon
|
|
7335
|
+
*
|
|
7336
|
+
* @uiName Email Icon
|
|
7337
|
+
* @uiGroup emailButton
|
|
7338
|
+
*/
|
|
7333
7339
|
this.emailicon = "mail";
|
|
7340
|
+
/**
|
|
7341
|
+
* CSS Class name used to style the Email button
|
|
7342
|
+
*
|
|
7343
|
+
* @uiName Email Class Name
|
|
7344
|
+
* @uiGroup emailButton
|
|
7345
|
+
*/
|
|
7334
7346
|
this.emailclassName = "email-share";
|
|
7347
|
+
/**
|
|
7348
|
+
* Facebook button icon
|
|
7349
|
+
*
|
|
7350
|
+
* @uiName Facebook Icon
|
|
7351
|
+
* @uiGroup facebookButton
|
|
7352
|
+
*/
|
|
7335
7353
|
this.facebookicon = "facebook";
|
|
7354
|
+
/**
|
|
7355
|
+
* Number to horizontally align the facebook button icon
|
|
7356
|
+
*
|
|
7357
|
+
* @uiName Facebook Icon Horizontal
|
|
7358
|
+
* @uiGroup facebookButton
|
|
7359
|
+
*/
|
|
7336
7360
|
this.facebookiconhorizontal = 9;
|
|
7361
|
+
/**
|
|
7362
|
+
* Size of the facebook button icon
|
|
7363
|
+
*
|
|
7364
|
+
* @uiName Facebook Icon Size
|
|
7365
|
+
* @uiGroup facebookButton
|
|
7366
|
+
*/
|
|
7337
7367
|
this.facebookiconsize = 1.2;
|
|
7368
|
+
/**
|
|
7369
|
+
* Twitter button icon
|
|
7370
|
+
*
|
|
7371
|
+
* @uiName Twitter Icon
|
|
7372
|
+
* @uiGroup twitterButton
|
|
7373
|
+
*/
|
|
7338
7374
|
this.twittericon = "twitter";
|
|
7375
|
+
/**
|
|
7376
|
+
* Number to horizontally align the twitter button icon
|
|
7377
|
+
*
|
|
7378
|
+
* @uiName Twitter Icon Horizontal
|
|
7379
|
+
* @uiGroup twitterButton
|
|
7380
|
+
*/
|
|
7339
7381
|
this.twittericonhorizontal = 9;
|
|
7382
|
+
/**
|
|
7383
|
+
* Size of the twitter button icon
|
|
7384
|
+
*
|
|
7385
|
+
* @uiName Twitter Icon Size
|
|
7386
|
+
* @uiGroup twitterButton
|
|
7387
|
+
*/
|
|
7340
7388
|
this.twittericonsize = 1.2;
|
|
7389
|
+
/**
|
|
7390
|
+
* SMS button icon
|
|
7391
|
+
*
|
|
7392
|
+
* @uiName SMS Icon
|
|
7393
|
+
* @uiGroup smsButton
|
|
7394
|
+
*/
|
|
7341
7395
|
this.smsicon = "chat";
|
|
7396
|
+
/**
|
|
7397
|
+
* Color of the text inside the WhatsApp button
|
|
7398
|
+
*
|
|
7399
|
+
* @uiName WhatsApp Text Color
|
|
7400
|
+
* @uiGroup whatsappButton
|
|
7401
|
+
*/
|
|
7342
7402
|
this.whatsapptextcolor = "#fff";
|
|
7403
|
+
/**
|
|
7404
|
+
* WhatsApp button icon
|
|
7405
|
+
*
|
|
7406
|
+
* @uiName WhatsApp Icon
|
|
7407
|
+
* @uiGroup whatsappButton
|
|
7408
|
+
*/
|
|
7343
7409
|
this.whatsappicon = "whatsapp";
|
|
7410
|
+
/**
|
|
7411
|
+
* Number to horizontally align the WhatsApp button icon
|
|
7412
|
+
*
|
|
7413
|
+
* @uiName WhatsApp Icon Horizontal
|
|
7414
|
+
* @uiGroup whatsappButton
|
|
7415
|
+
*/
|
|
7344
7416
|
this.whatsappiconhorizontal = 7;
|
|
7417
|
+
/**
|
|
7418
|
+
* Number to vertically align the WhatsApp button icon
|
|
7419
|
+
*
|
|
7420
|
+
* @uiName WhatsApp Icon Vertical
|
|
7421
|
+
* @uiGroup whatsappButton
|
|
7422
|
+
*/
|
|
7345
7423
|
this.whatsappiconvertical = 2;
|
|
7424
|
+
/**
|
|
7425
|
+
* Size of the WhatsApp button icon
|
|
7426
|
+
*
|
|
7427
|
+
* @uiName WhatsApp Icon Size
|
|
7428
|
+
* @uiGroup whatsappButton
|
|
7429
|
+
*/
|
|
7346
7430
|
this.whatsappiconsize = 1.4;
|
|
7431
|
+
/**
|
|
7432
|
+
* Linkedin button icon
|
|
7433
|
+
*
|
|
7434
|
+
* @uiName Linkedin Icon
|
|
7435
|
+
* @uiGroup linkedinButton
|
|
7436
|
+
*/
|
|
7347
7437
|
this.linkedinicon = "linkedin";
|
|
7438
|
+
/**
|
|
7439
|
+
* Size of the Linkedin button icon
|
|
7440
|
+
*
|
|
7441
|
+
* @uiName Linkedin Icon Size
|
|
7442
|
+
* @uiGroup linkedinButton
|
|
7443
|
+
*/
|
|
7348
7444
|
this.linkediniconsize = 1.2;
|
|
7445
|
+
/**
|
|
7446
|
+
* Pinterest button icon
|
|
7447
|
+
*
|
|
7448
|
+
* @uiName Pinterest Icon
|
|
7449
|
+
* @uiGroup pinterestButton
|
|
7450
|
+
*/
|
|
7349
7451
|
this.pinteresticon = "pinterest";
|
|
7452
|
+
/**
|
|
7453
|
+
* Number to horizontally align the Pinterest button icon
|
|
7454
|
+
*
|
|
7455
|
+
* @uiName Pinterest Icon Horizontal
|
|
7456
|
+
* @uiGroup pinterestButton
|
|
7457
|
+
*/
|
|
7350
7458
|
this.pinteresticonhorizontal = 9;
|
|
7459
|
+
/**
|
|
7460
|
+
* Number to vertically align the Pinterest button icon
|
|
7461
|
+
*
|
|
7462
|
+
* @uiName Pinterest Icon Vertical
|
|
7463
|
+
* @uiGroup pinterestButton
|
|
7464
|
+
*/
|
|
7351
7465
|
this.pinteresticonvertical = 4;
|
|
7466
|
+
/**
|
|
7467
|
+
* Size of the Pinterest button icon
|
|
7468
|
+
*
|
|
7469
|
+
* @uiName Pinterest Icon Size
|
|
7470
|
+
* @uiGroup pinterestButton
|
|
7471
|
+
*/
|
|
7352
7472
|
this.pinteresticonsize = 1.2;
|
|
7473
|
+
/**
|
|
7474
|
+
* Messenger button icon
|
|
7475
|
+
*
|
|
7476
|
+
* @uiName Messenger Icon
|
|
7477
|
+
* @uiGroup messengerButton
|
|
7478
|
+
*/
|
|
7353
7479
|
this.messengericon = "messenger";
|
|
7480
|
+
/**
|
|
7481
|
+
* Number to horizontally align the Messenger button icon
|
|
7482
|
+
*
|
|
7483
|
+
* @uiName Messenger Icon Horizontal
|
|
7484
|
+
* @uiGroup messengerButton
|
|
7485
|
+
*/
|
|
7354
7486
|
this.messengericonhorizontal = 7;
|
|
7487
|
+
/**
|
|
7488
|
+
* Number to vertically align the Messenger button icon
|
|
7489
|
+
*
|
|
7490
|
+
* @uiName Messenger Icon Vertical
|
|
7491
|
+
* @uiGroup messengerButton
|
|
7492
|
+
*/
|
|
7355
7493
|
this.messengericonvertical = 3;
|
|
7494
|
+
/**
|
|
7495
|
+
* Size of the Messenger button icon
|
|
7496
|
+
*
|
|
7497
|
+
* @uiName Messenger Icon Size
|
|
7498
|
+
* @uiGroup messengerButton
|
|
7499
|
+
*/
|
|
7356
7500
|
this.messengericonsize = 1.4;
|
|
7501
|
+
/**
|
|
7502
|
+
* Line button icon
|
|
7503
|
+
*
|
|
7504
|
+
* @uiName Line Icon
|
|
7505
|
+
* @uiGroup lineButton
|
|
7506
|
+
*/
|
|
7357
7507
|
this.lineicon = "line";
|
|
7508
|
+
/**
|
|
7509
|
+
* Number to horizontally align the Line button icon
|
|
7510
|
+
*
|
|
7511
|
+
* @uiName Line Icon Horizontal
|
|
7512
|
+
* @uiGroup lineButton
|
|
7513
|
+
*/
|
|
7358
7514
|
this.lineiconhorizontal = -2;
|
|
7515
|
+
/**
|
|
7516
|
+
* Number to vertically align the Line button icon
|
|
7517
|
+
*
|
|
7518
|
+
* @uiName Line Icon Vertical
|
|
7519
|
+
* @uiGroup lineButton
|
|
7520
|
+
*/
|
|
7359
7521
|
this.lineiconvertical = -5;
|
|
7522
|
+
/**
|
|
7523
|
+
* Size of the Line button icon
|
|
7524
|
+
*
|
|
7525
|
+
* @uiName Line Icon Size
|
|
7526
|
+
* @uiGroup lineButton
|
|
7527
|
+
*/
|
|
7360
7528
|
this.lineiconsize = 2.2;
|
|
7361
7529
|
}
|
|
7362
7530
|
componentWillLoad() {
|
|
@@ -7413,7 +7581,7 @@ ShareButtonContainer.style = shareButtonContainerCss;
|
|
|
7413
7581
|
|
|
7414
7582
|
const statComponentCss = "sqh-stat-component{text-align:center;width:140px;float:left}sqh-stat-component>div{padding:10px}sqh-stat-component .stat-value{white-space:nowrap;font-size:30px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-stat-component:first-child{border-radius:4px 4px 0 0}sqh-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
|
|
7415
7583
|
|
|
7416
|
-
const StatComponent
|
|
7584
|
+
const StatComponent = class {
|
|
7417
7585
|
constructor(hostRef) {
|
|
7418
7586
|
index.registerInstance(this, hostRef);
|
|
7419
7587
|
this.statTypeUpdated = index.createEvent(this, "statTypeUpdated", 7);
|
|
@@ -7443,7 +7611,7 @@ const StatComponent$1 = class {
|
|
|
7443
7611
|
"stattype": ["stattypeHandler"]
|
|
7444
7612
|
}; }
|
|
7445
7613
|
};
|
|
7446
|
-
StatComponent
|
|
7614
|
+
StatComponent.style = statComponentCss;
|
|
7447
7615
|
|
|
7448
7616
|
/**
|
|
7449
7617
|
* Tokenize input string.
|
|
@@ -7743,6 +7911,11 @@ const statsContainerCss = "sqh-stats-container{display:-ms-flexbox;display:flex;
|
|
|
7743
7911
|
const StatsContainer = class {
|
|
7744
7912
|
constructor(hostRef) {
|
|
7745
7913
|
index.registerInstance(this, hostRef);
|
|
7914
|
+
/**
|
|
7915
|
+
* Hide the component
|
|
7916
|
+
*
|
|
7917
|
+
* @uiName Is Hidden
|
|
7918
|
+
*/
|
|
7746
7919
|
this.ishidden = false;
|
|
7747
7920
|
this.statPaths = [
|
|
7748
7921
|
"/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
|
|
@@ -10441,7 +10614,6 @@ const textComponentCss = "sqh-text-component{display:block}sqh-text-component p{
|
|
|
10441
10614
|
const TextComponent = class {
|
|
10442
10615
|
constructor(hostRef) {
|
|
10443
10616
|
index.registerInstance(this, hostRef);
|
|
10444
|
-
this.padding = "10px 20px 15px";
|
|
10445
10617
|
}
|
|
10446
10618
|
render() {
|
|
10447
10619
|
const regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
|
|
@@ -10476,11 +10648,11 @@ exports.sqh_copy_button = CopyButton;
|
|
|
10476
10648
|
exports.sqh_copy_link_button = CopyLinkButton;
|
|
10477
10649
|
exports.sqh_global_container = GlobalContainer;
|
|
10478
10650
|
exports.sqh_image_component = ImageComponent;
|
|
10479
|
-
exports.sqh_partner_stat_component =
|
|
10651
|
+
exports.sqh_partner_stat_component = PartnerStatComponent;
|
|
10480
10652
|
exports.sqh_referral_component = ReferralComponent;
|
|
10481
10653
|
exports.sqh_referral_list = ReferralList;
|
|
10482
10654
|
exports.sqh_share_button = ShareButton;
|
|
10483
10655
|
exports.sqh_share_button_container = ShareButtonContainer;
|
|
10484
|
-
exports.sqh_stat_component = StatComponent
|
|
10656
|
+
exports.sqh_stat_component = StatComponent;
|
|
10485
10657
|
exports.sqh_stats_container = StatsContainer;
|
|
10486
10658
|
exports.sqh_text_component = TextComponent;
|
|
@@ -9,8 +9,23 @@ const rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-a
|
|
|
9
9
|
const RewardsActions = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* Text inside the previous button
|
|
14
|
+
*
|
|
15
|
+
* @uiName Previous Button Text
|
|
16
|
+
*/
|
|
12
17
|
this.previoustext = "Previous";
|
|
18
|
+
/**
|
|
19
|
+
* Text inside the hide button
|
|
20
|
+
*
|
|
21
|
+
* @uiName Hide Button Text
|
|
22
|
+
*/
|
|
13
23
|
this.hidetext = "Hide";
|
|
24
|
+
/**
|
|
25
|
+
* Text inside the next button
|
|
26
|
+
*
|
|
27
|
+
* @uiName Next Button Text
|
|
28
|
+
*/
|
|
14
29
|
this.nexttext = "Next";
|
|
15
30
|
}
|
|
16
31
|
render() {
|
|
@@ -5,5 +5,5 @@ const en = require('./en-a49a5ef5.js');
|
|
|
5
5
|
require('./_commonjsHelpers-ac2d0785.js');
|
|
6
6
|
|
|
7
7
|
en.patchBrowser().then(options => {
|
|
8
|
-
return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"
|
|
8
|
+
return index.bootstrapLazy([["sqh-close-button.cjs",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code.cjs",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions.cjs",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12.cjs",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
|
|
9
9
|
});
|
|
@@ -2,8 +2,16 @@ import { h, Component, Prop, Element, Listen } from "@stencil/core";
|
|
|
2
2
|
import { API, widgetIdent } from "../../services/WidgetHost";
|
|
3
3
|
// const API: MyAPI = window["WidgetHost"];
|
|
4
4
|
// const widget = window["widgetIdent"];
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @uiName Close Button
|
|
7
|
+
*/
|
|
8
|
+
export class CloseButton {
|
|
6
9
|
constructor() {
|
|
10
|
+
/**
|
|
11
|
+
* The text shown inside the close button.
|
|
12
|
+
*
|
|
13
|
+
* @uiName Button Text
|
|
14
|
+
*/
|
|
7
15
|
this.text = "Close";
|
|
8
16
|
}
|
|
9
17
|
handleClick() {
|
|
@@ -37,8 +45,11 @@ export class TwitterShareButton {
|
|
|
37
45
|
"required": false,
|
|
38
46
|
"optional": false,
|
|
39
47
|
"docs": {
|
|
40
|
-
"tags": [
|
|
41
|
-
|
|
48
|
+
"tags": [{
|
|
49
|
+
"text": "Button Text",
|
|
50
|
+
"name": "uiName"
|
|
51
|
+
}],
|
|
52
|
+
"text": "The text shown inside the close button."
|
|
42
53
|
},
|
|
43
54
|
"attribute": "text",
|
|
44
55
|
"reflect": false,
|