@saasquatch/vanilla-components 1.2.2 → 1.2.3
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/{WidgetHost-c5c3687c.js → WidgetHost-d7b870ce.js} +12 -10
- package/dist/cjs/sqh-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqh-copy-button_12.cjs.entry.js +5 -5
- package/dist/cjs/sqh-referral-code.cjs.entry.js +1 -1
- package/dist/collection/components/referral-list/referral-list.js +4 -4
- package/dist/collection/services/WidgetHost.js +12 -10
- package/dist/esm/{WidgetHost-af4232dc.js → WidgetHost-a27e693d.js} +12 -10
- package/dist/esm/sqh-close-button.entry.js +1 -1
- package/dist/esm/sqh-copy-button_12.entry.js +5 -5
- package/dist/esm/sqh-referral-code.entry.js +1 -1
- package/dist/esm-es5/{WidgetHost-af4232dc.js → WidgetHost-a27e693d.js} +11 -8
- package/dist/esm-es5/sqh-close-button.entry.js +1 -1
- package/dist/esm-es5/sqh-copy-button_12.entry.js +5 -5
- package/dist/esm-es5/sqh-referral-code.entry.js +1 -1
- package/dist/types/components/referral-list/referral-list.d.ts +1 -1
- package/dist/types/services/WidgetHost.d.ts +1 -1
- package/dist/widget-components/p-58be1132.system.js +1 -1
- package/dist/widget-components/{p-b407755a.entry.js → p-650d012d.entry.js} +1 -1
- package/dist/widget-components/{p-42bd54ba.entry.js → p-75ab4c57.entry.js} +2 -2
- package/dist/widget-components/{p-f10c0566.system.entry.js → p-908068c2.system.entry.js} +1 -1
- package/dist/widget-components/{p-31a4d435.js → p-9525bf4a.js} +10 -22
- package/dist/widget-components/{p-6b72d8d8.system.js → p-9adc7c50.system.js} +1 -1
- package/dist/widget-components/{p-88568329.system.entry.js → p-c0cdba77.system.entry.js} +1 -1
- package/dist/widget-components/{p-11fe33bc.system.entry.js → p-d2335c54.system.entry.js} +2 -2
- package/dist/widget-components/{p-d5287f56.entry.js → p-d4b27c72.entry.js} +1 -1
- package/dist/widget-components/widget-components.esm.js +1 -1
- package/package.json +1 -1
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
|
|
@@ -10170,7 +10170,7 @@ const API = {
|
|
|
10170
10170
|
return apolloClient()
|
|
10171
10171
|
.mutate({
|
|
10172
10172
|
mutation: src `
|
|
10173
|
-
mutation($eventMeta: UserAnalyticsEvent!) {
|
|
10173
|
+
mutation ($eventMeta: UserAnalyticsEvent!) {
|
|
10174
10174
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
10175
10175
|
}
|
|
10176
10176
|
`,
|
|
@@ -10198,7 +10198,7 @@ const API = {
|
|
|
10198
10198
|
accountId });
|
|
10199
10199
|
return this.getClient().query({
|
|
10200
10200
|
query: src `
|
|
10201
|
-
query($userId: String!, $accountId: String!, $offset: Int) {
|
|
10201
|
+
query ($userId: String!, $accountId: String!, $offset: Int) {
|
|
10202
10202
|
user(id: $userId, accountId: $accountId) {
|
|
10203
10203
|
...UserFragment
|
|
10204
10204
|
}
|
|
@@ -10222,7 +10222,7 @@ const API = {
|
|
|
10222
10222
|
return this.getClient()
|
|
10223
10223
|
.query({
|
|
10224
10224
|
query: src `
|
|
10225
|
-
query(
|
|
10225
|
+
query (
|
|
10226
10226
|
$userId: String!
|
|
10227
10227
|
$accountId: String!
|
|
10228
10228
|
$programId: ID
|
|
@@ -10242,7 +10242,7 @@ const API = {
|
|
|
10242
10242
|
})
|
|
10243
10243
|
.then((res) => res.data.user.shareLink);
|
|
10244
10244
|
},
|
|
10245
|
-
getReferrals(offset = 0, limit = 3) {
|
|
10245
|
+
getReferrals(showReferrer, offset = 0, limit = 3) {
|
|
10246
10246
|
const widgetId = widgetIdent();
|
|
10247
10247
|
if (widgetId["env"] === "demo" || !widgetId) {
|
|
10248
10248
|
const { referrals: refs, referredByReferral, locale } = demoUser;
|
|
@@ -10265,7 +10265,7 @@ const API = {
|
|
|
10265
10265
|
return this.getClient()
|
|
10266
10266
|
.query({
|
|
10267
10267
|
query: src `
|
|
10268
|
-
query(
|
|
10268
|
+
query (
|
|
10269
10269
|
$userId: String!
|
|
10270
10270
|
$accountId: String!
|
|
10271
10271
|
$offset: Int!
|
|
@@ -10303,7 +10303,8 @@ const API = {
|
|
|
10303
10303
|
}
|
|
10304
10304
|
}
|
|
10305
10305
|
}
|
|
10306
|
-
|
|
10306
|
+
${showReferrer
|
|
10307
|
+
? `referredByReferral(programId: $programId) {
|
|
10307
10308
|
referrerUser {
|
|
10308
10309
|
firstName
|
|
10309
10310
|
lastName
|
|
@@ -10315,7 +10316,8 @@ const API = {
|
|
|
10315
10316
|
prettyValue
|
|
10316
10317
|
statuses
|
|
10317
10318
|
}
|
|
10318
|
-
}
|
|
10319
|
+
}`
|
|
10320
|
+
: ""}
|
|
10319
10321
|
}
|
|
10320
10322
|
}
|
|
10321
10323
|
`,
|
|
@@ -10349,7 +10351,7 @@ const API = {
|
|
|
10349
10351
|
return this.getClient()
|
|
10350
10352
|
.query({
|
|
10351
10353
|
query: src `
|
|
10352
|
-
query(
|
|
10354
|
+
query (
|
|
10353
10355
|
$userId: String!
|
|
10354
10356
|
$accountId: String!
|
|
10355
10357
|
$programId: ID
|
|
@@ -10430,7 +10432,7 @@ const API = {
|
|
|
10430
10432
|
return this.getClient()
|
|
10431
10433
|
.query({
|
|
10432
10434
|
query: src `
|
|
10433
|
-
query($userId: String!, $accountId: String!, $programId: ID!) {
|
|
10435
|
+
query ($userId: String!, $accountId: String!, $programId: ID!) {
|
|
10434
10436
|
user(id: $userId, accountId: $accountId) {
|
|
10435
10437
|
referralCode(programId: $programId)
|
|
10436
10438
|
}
|
|
@@ -10458,7 +10460,7 @@ const API = {
|
|
|
10458
10460
|
return this.getClient()
|
|
10459
10461
|
.query({
|
|
10460
10462
|
query: src `
|
|
10461
|
-
query(
|
|
10463
|
+
query (
|
|
10462
10464
|
$userId: String!
|
|
10463
10465
|
$accountId: String!
|
|
10464
10466
|
$programId: ID!
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-deb40352.js');
|
|
6
6
|
require('./_commonjsHelpers-ac2d0785.js');
|
|
7
|
-
const WidgetHost = require('./WidgetHost-
|
|
7
|
+
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
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-deb40352.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-ac2d0785.js');
|
|
7
|
-
const WidgetHost = require('./WidgetHost-
|
|
7
|
+
const WidgetHost = require('./WidgetHost-d7b870ce.js');
|
|
8
8
|
|
|
9
9
|
/////////////////////////////////////
|
|
10
10
|
////// ////
|
|
@@ -7120,7 +7120,7 @@ const ReferralList = class {
|
|
|
7120
7120
|
}
|
|
7121
7121
|
componentWillLoad() {
|
|
7122
7122
|
if (!this.ishidden) {
|
|
7123
|
-
return this.getReferrals()
|
|
7123
|
+
return this.getReferrals(this.showreferrer)
|
|
7124
7124
|
.then((res) => {
|
|
7125
7125
|
this.referrals = res.referrals.data;
|
|
7126
7126
|
this.referredBy = res.referredByReferral;
|
|
@@ -7133,8 +7133,8 @@ const ReferralList = class {
|
|
|
7133
7133
|
});
|
|
7134
7134
|
}
|
|
7135
7135
|
}
|
|
7136
|
-
getReferrals(offset = 0) {
|
|
7137
|
-
return WidgetHost.API.graphql.getReferrals(offset);
|
|
7136
|
+
getReferrals(showReferrer, offset = 0) {
|
|
7137
|
+
return WidgetHost.API.graphql.getReferrals(showReferrer, offset);
|
|
7138
7138
|
}
|
|
7139
7139
|
paginate(offset, event) {
|
|
7140
7140
|
if (this.loading)
|
|
@@ -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;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-deb40352.js');
|
|
6
6
|
require('./_commonjsHelpers-ac2d0785.js');
|
|
7
|
-
const WidgetHost = require('./WidgetHost-
|
|
7
|
+
const WidgetHost = require('./WidgetHost-d7b870ce.js');
|
|
8
8
|
|
|
9
9
|
const referralCodeCss = "sqh-referral-code{display:inline}sqh-referral-code span{font-family:inherit;font-size:inherit;color:inherit;overflow-wrap:break-word}";
|
|
10
10
|
|
|
@@ -9,7 +9,7 @@ export class ReferralList {
|
|
|
9
9
|
}
|
|
10
10
|
componentWillLoad() {
|
|
11
11
|
if (!this.ishidden) {
|
|
12
|
-
return this.getReferrals()
|
|
12
|
+
return this.getReferrals(this.showreferrer)
|
|
13
13
|
.then((res) => {
|
|
14
14
|
this.referrals = res.referrals.data;
|
|
15
15
|
this.referredBy = res.referredByReferral;
|
|
@@ -22,8 +22,8 @@ export class ReferralList {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
getReferrals(offset = 0) {
|
|
26
|
-
return API.graphql.getReferrals(offset);
|
|
25
|
+
getReferrals(showReferrer, offset = 0) {
|
|
26
|
+
return API.graphql.getReferrals(showReferrer, offset);
|
|
27
27
|
}
|
|
28
28
|
paginate(offset, event) {
|
|
29
29
|
if (this.loading)
|
|
@@ -36,7 +36,7 @@ export class ReferralList {
|
|
|
36
36
|
this.loading = true;
|
|
37
37
|
const { target } = event;
|
|
38
38
|
target.innerText = "...";
|
|
39
|
-
this.getReferrals(offset).then((res) => {
|
|
39
|
+
this.getReferrals(this.showreferrer, offset).then((res) => {
|
|
40
40
|
target.innerText =
|
|
41
41
|
offset > this.offset ? this.paginatemore : this.paginateless;
|
|
42
42
|
this.referrals = res.referrals.data;
|
|
@@ -262,7 +262,7 @@ const API = {
|
|
|
262
262
|
return apolloClient()
|
|
263
263
|
.mutate({
|
|
264
264
|
mutation: gql `
|
|
265
|
-
mutation($eventMeta: UserAnalyticsEvent!) {
|
|
265
|
+
mutation ($eventMeta: UserAnalyticsEvent!) {
|
|
266
266
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
267
267
|
}
|
|
268
268
|
`,
|
|
@@ -290,7 +290,7 @@ const API = {
|
|
|
290
290
|
accountId });
|
|
291
291
|
return this.getClient().query({
|
|
292
292
|
query: gql `
|
|
293
|
-
query($userId: String!, $accountId: String!, $offset: Int) {
|
|
293
|
+
query ($userId: String!, $accountId: String!, $offset: Int) {
|
|
294
294
|
user(id: $userId, accountId: $accountId) {
|
|
295
295
|
...UserFragment
|
|
296
296
|
}
|
|
@@ -314,7 +314,7 @@ const API = {
|
|
|
314
314
|
return this.getClient()
|
|
315
315
|
.query({
|
|
316
316
|
query: gql `
|
|
317
|
-
query(
|
|
317
|
+
query (
|
|
318
318
|
$userId: String!
|
|
319
319
|
$accountId: String!
|
|
320
320
|
$programId: ID
|
|
@@ -334,7 +334,7 @@ const API = {
|
|
|
334
334
|
})
|
|
335
335
|
.then((res) => res.data.user.shareLink);
|
|
336
336
|
},
|
|
337
|
-
getReferrals(offset = 0, limit = 3) {
|
|
337
|
+
getReferrals(showReferrer, offset = 0, limit = 3) {
|
|
338
338
|
const widgetId = widgetIdent();
|
|
339
339
|
if (widgetId["env"] === "demo" || !widgetId) {
|
|
340
340
|
const { referrals: refs, referredByReferral, locale } = demoUser;
|
|
@@ -357,7 +357,7 @@ const API = {
|
|
|
357
357
|
return this.getClient()
|
|
358
358
|
.query({
|
|
359
359
|
query: gql `
|
|
360
|
-
query(
|
|
360
|
+
query (
|
|
361
361
|
$userId: String!
|
|
362
362
|
$accountId: String!
|
|
363
363
|
$offset: Int!
|
|
@@ -395,7 +395,8 @@ const API = {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
${showReferrer
|
|
399
|
+
? `referredByReferral(programId: $programId) {
|
|
399
400
|
referrerUser {
|
|
400
401
|
firstName
|
|
401
402
|
lastName
|
|
@@ -407,7 +408,8 @@ const API = {
|
|
|
407
408
|
prettyValue
|
|
408
409
|
statuses
|
|
409
410
|
}
|
|
410
|
-
}
|
|
411
|
+
}`
|
|
412
|
+
: ""}
|
|
411
413
|
}
|
|
412
414
|
}
|
|
413
415
|
`,
|
|
@@ -441,7 +443,7 @@ const API = {
|
|
|
441
443
|
return this.getClient()
|
|
442
444
|
.query({
|
|
443
445
|
query: gql `
|
|
444
|
-
query(
|
|
446
|
+
query (
|
|
445
447
|
$userId: String!
|
|
446
448
|
$accountId: String!
|
|
447
449
|
$programId: ID
|
|
@@ -522,7 +524,7 @@ const API = {
|
|
|
522
524
|
return this.getClient()
|
|
523
525
|
.query({
|
|
524
526
|
query: gql `
|
|
525
|
-
query($userId: String!, $accountId: String!, $programId: ID!) {
|
|
527
|
+
query ($userId: String!, $accountId: String!, $programId: ID!) {
|
|
526
528
|
user(id: $userId, accountId: $accountId) {
|
|
527
529
|
referralCode(programId: $programId)
|
|
528
530
|
}
|
|
@@ -550,7 +552,7 @@ const API = {
|
|
|
550
552
|
return this.getClient()
|
|
551
553
|
.query({
|
|
552
554
|
query: gql `
|
|
553
|
-
query(
|
|
555
|
+
query (
|
|
554
556
|
$userId: String!
|
|
555
557
|
$accountId: String!
|
|
556
558
|
$programId: ID!
|
|
@@ -10168,7 +10168,7 @@ const API = {
|
|
|
10168
10168
|
return apolloClient()
|
|
10169
10169
|
.mutate({
|
|
10170
10170
|
mutation: src `
|
|
10171
|
-
mutation($eventMeta: UserAnalyticsEvent!) {
|
|
10171
|
+
mutation ($eventMeta: UserAnalyticsEvent!) {
|
|
10172
10172
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
10173
10173
|
}
|
|
10174
10174
|
`,
|
|
@@ -10196,7 +10196,7 @@ const API = {
|
|
|
10196
10196
|
accountId });
|
|
10197
10197
|
return this.getClient().query({
|
|
10198
10198
|
query: src `
|
|
10199
|
-
query($userId: String!, $accountId: String!, $offset: Int) {
|
|
10199
|
+
query ($userId: String!, $accountId: String!, $offset: Int) {
|
|
10200
10200
|
user(id: $userId, accountId: $accountId) {
|
|
10201
10201
|
...UserFragment
|
|
10202
10202
|
}
|
|
@@ -10220,7 +10220,7 @@ const API = {
|
|
|
10220
10220
|
return this.getClient()
|
|
10221
10221
|
.query({
|
|
10222
10222
|
query: src `
|
|
10223
|
-
query(
|
|
10223
|
+
query (
|
|
10224
10224
|
$userId: String!
|
|
10225
10225
|
$accountId: String!
|
|
10226
10226
|
$programId: ID
|
|
@@ -10240,7 +10240,7 @@ const API = {
|
|
|
10240
10240
|
})
|
|
10241
10241
|
.then((res) => res.data.user.shareLink);
|
|
10242
10242
|
},
|
|
10243
|
-
getReferrals(offset = 0, limit = 3) {
|
|
10243
|
+
getReferrals(showReferrer, offset = 0, limit = 3) {
|
|
10244
10244
|
const widgetId = widgetIdent();
|
|
10245
10245
|
if (widgetId["env"] === "demo" || !widgetId) {
|
|
10246
10246
|
const { referrals: refs, referredByReferral, locale } = demoUser;
|
|
@@ -10263,7 +10263,7 @@ const API = {
|
|
|
10263
10263
|
return this.getClient()
|
|
10264
10264
|
.query({
|
|
10265
10265
|
query: src `
|
|
10266
|
-
query(
|
|
10266
|
+
query (
|
|
10267
10267
|
$userId: String!
|
|
10268
10268
|
$accountId: String!
|
|
10269
10269
|
$offset: Int!
|
|
@@ -10301,7 +10301,8 @@ const API = {
|
|
|
10301
10301
|
}
|
|
10302
10302
|
}
|
|
10303
10303
|
}
|
|
10304
|
-
|
|
10304
|
+
${showReferrer
|
|
10305
|
+
? `referredByReferral(programId: $programId) {
|
|
10305
10306
|
referrerUser {
|
|
10306
10307
|
firstName
|
|
10307
10308
|
lastName
|
|
@@ -10313,7 +10314,8 @@ const API = {
|
|
|
10313
10314
|
prettyValue
|
|
10314
10315
|
statuses
|
|
10315
10316
|
}
|
|
10316
|
-
}
|
|
10317
|
+
}`
|
|
10318
|
+
: ""}
|
|
10317
10319
|
}
|
|
10318
10320
|
}
|
|
10319
10321
|
`,
|
|
@@ -10347,7 +10349,7 @@ const API = {
|
|
|
10347
10349
|
return this.getClient()
|
|
10348
10350
|
.query({
|
|
10349
10351
|
query: src `
|
|
10350
|
-
query(
|
|
10352
|
+
query (
|
|
10351
10353
|
$userId: String!
|
|
10352
10354
|
$accountId: String!
|
|
10353
10355
|
$programId: ID
|
|
@@ -10428,7 +10430,7 @@ const API = {
|
|
|
10428
10430
|
return this.getClient()
|
|
10429
10431
|
.query({
|
|
10430
10432
|
query: src `
|
|
10431
|
-
query($userId: String!, $accountId: String!, $programId: ID!) {
|
|
10433
|
+
query ($userId: String!, $accountId: String!, $programId: ID!) {
|
|
10432
10434
|
user(id: $userId, accountId: $accountId) {
|
|
10433
10435
|
referralCode(programId: $programId)
|
|
10434
10436
|
}
|
|
@@ -10456,7 +10458,7 @@ const API = {
|
|
|
10456
10458
|
return this.getClient()
|
|
10457
10459
|
.query({
|
|
10458
10460
|
query: src `
|
|
10459
|
-
query(
|
|
10461
|
+
query (
|
|
10460
10462
|
$userId: String!
|
|
10461
10463
|
$accountId: String!
|
|
10462
10464
|
$programId: ID!
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-8ea8b6d8.js';
|
|
2
2
|
import './_commonjsHelpers-1d681858.js';
|
|
3
|
-
import { A as API, w as widgetIdent } from './WidgetHost-
|
|
3
|
+
import { A as API, w as widgetIdent } from './WidgetHost-a27e693d.js';
|
|
4
4
|
|
|
5
5
|
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}";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent, g as getElement } from './index-8ea8b6d8.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-1d681858.js';
|
|
3
|
-
import { A as API } from './WidgetHost-
|
|
3
|
+
import { A as API } from './WidgetHost-a27e693d.js';
|
|
4
4
|
|
|
5
5
|
/////////////////////////////////////
|
|
6
6
|
////// ////
|
|
@@ -7116,7 +7116,7 @@ const ReferralList = class {
|
|
|
7116
7116
|
}
|
|
7117
7117
|
componentWillLoad() {
|
|
7118
7118
|
if (!this.ishidden) {
|
|
7119
|
-
return this.getReferrals()
|
|
7119
|
+
return this.getReferrals(this.showreferrer)
|
|
7120
7120
|
.then((res) => {
|
|
7121
7121
|
this.referrals = res.referrals.data;
|
|
7122
7122
|
this.referredBy = res.referredByReferral;
|
|
@@ -7129,8 +7129,8 @@ const ReferralList = class {
|
|
|
7129
7129
|
});
|
|
7130
7130
|
}
|
|
7131
7131
|
}
|
|
7132
|
-
getReferrals(offset = 0) {
|
|
7133
|
-
return API.graphql.getReferrals(offset);
|
|
7132
|
+
getReferrals(showReferrer, offset = 0) {
|
|
7133
|
+
return API.graphql.getReferrals(showReferrer, offset);
|
|
7134
7134
|
}
|
|
7135
7135
|
paginate(offset, event) {
|
|
7136
7136
|
if (this.loading)
|
|
@@ -7143,7 +7143,7 @@ const ReferralList = class {
|
|
|
7143
7143
|
this.loading = true;
|
|
7144
7144
|
const { target } = event;
|
|
7145
7145
|
target.innerText = "...";
|
|
7146
|
-
this.getReferrals(offset).then((res) => {
|
|
7146
|
+
this.getReferrals(this.showreferrer, offset).then((res) => {
|
|
7147
7147
|
target.innerText =
|
|
7148
7148
|
offset > this.offset ? this.paginatemore : this.paginateless;
|
|
7149
7149
|
this.referrals = res.referrals.data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-8ea8b6d8.js';
|
|
2
2
|
import './_commonjsHelpers-1d681858.js';
|
|
3
|
-
import { A as API } from './WidgetHost-
|
|
3
|
+
import { A as API } from './WidgetHost-a27e693d.js';
|
|
4
4
|
|
|
5
5
|
const referralCodeCss = "sqh-referral-code{display:inline}sqh-referral-code span{font-family:inherit;font-size:inherit;color:inherit;overflow-wrap:break-word}";
|
|
6
6
|
|