@saasquatch/mint-components 1.5.5-1 → 1.5.5-2
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/dist/cjs/{ShadowViewAddon-1716c9f5.js → ShadowViewAddon-1bbdf477.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +126 -161
- package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +7 -15
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +15 -8
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -5
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -18
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -12
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -21
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +300 -98
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +7 -13
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +10 -11
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +4 -4
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +9 -9
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -0
- package/dist/collection/components/sqm-empty/sqm-empty.js +0 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
- package/dist/collection/components/sqm-hero/sqm-hero.js +15 -23
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +3 -7
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +0 -3
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +147 -27
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +56 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +70 -20
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +42 -19
- package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +18 -0
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +28 -8
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +15 -8
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +3 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +6 -9
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +11 -11
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +22 -34
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -4
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +8 -8
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +8 -8
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -42
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +21 -31
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +2 -2
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -36
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -23
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +9 -11
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -10
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +14 -23
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +15 -22
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +8 -12
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +15 -18
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -6
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +7 -6
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +8 -96
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +5 -6
- package/dist/esm/{ShadowViewAddon-16edf1a4.js → ShadowViewAddon-e2996624.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_35.entry.js +127 -162
- package/dist/esm/sqm-empty_5.entry.js +2 -2
- package/dist/esm/sqm-hero.entry.js +7 -15
- package/dist/esm/sqm-leaderboard-rank.entry.js +15 -8
- package/dist/esm/sqm-password-field.entry.js +2 -5
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +8 -18
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +10 -12
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +8 -21
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -8
- package/dist/esm/sqm-stencilbook.entry.js +300 -98
- package/dist/esm-es5/ShadowViewAddon-e2996624.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-232672a2.entry.js +13 -0
- package/dist/mint-components/{p-294c486f.js → p-3facf714.js} +1 -1
- package/dist/mint-components/p-64cc1a70.system.entry.js +1 -0
- package/dist/mint-components/p-87ffb558.entry.js +9 -0
- package/dist/mint-components/p-91acec3d.entry.js +159 -0
- package/dist/mint-components/p-94096609.system.js +1 -1
- package/dist/mint-components/p-951e7817.system.entry.js +1 -0
- package/dist/mint-components/p-ba99d04e.system.entry.js +1 -0
- package/dist/mint-components/p-d3cc0d60.system.js +1 -0
- package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +2 -2
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +4 -12
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -6
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -10
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +0 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +2 -8
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +8 -20
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -5
- package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +0 -3
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +2 -1
- package/dist/types/components/sqm-leaderboard/UseLeaderboard.stories.d.ts +18 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +2 -2
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +25 -9
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +4 -2
- package/dist/types/components/sqm-leaderboard-rank/LeaderboardRank.stories.d.ts +5 -0
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +14 -7
- package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -4
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -1
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -21
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -20
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -5
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -4
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -4
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -25
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -1
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -18
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -1
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +12 -20
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -12
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -1
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +4 -7
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +2 -6
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +6 -15
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +9 -16
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -7
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -17
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -2
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +8 -35
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -3
- package/dist/types/components.d.ts +372 -494
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -8
- package/dist/esm-es5/ShadowViewAddon-16edf1a4.js +0 -1
- package/dist/mint-components/p-075154b7.entry.js +0 -13
- package/dist/mint-components/p-20305fa4.system.entry.js +0 -1
- package/dist/mint-components/p-4ccb3b36.system.entry.js +0 -1
- package/dist/mint-components/p-62cc7fae.entry.js +0 -9
- package/dist/mint-components/p-6ce2e2eb.system.entry.js +0 -1
- package/dist/mint-components/p-acc840a5.system.js +0 -1
- package/dist/mint-components/p-dbf1beab.entry.js +0 -150
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +0 -1
|
@@ -13,47 +13,45 @@ export class PortalResetPassword {
|
|
|
13
13
|
/**
|
|
14
14
|
* The page that users are redirected to when the password reset succeeds.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Next
|
|
16
|
+
* @uiName Next page path
|
|
17
17
|
*/
|
|
18
18
|
this.nextPage = "/";
|
|
19
19
|
/**
|
|
20
20
|
* The page that users are redirected to if the reset fails due to outdated password reset attempt.
|
|
21
21
|
*
|
|
22
|
-
* @uiName Failed
|
|
22
|
+
* @uiName Failed page redirection path
|
|
23
23
|
*/
|
|
24
24
|
this.failedPage = "/";
|
|
25
25
|
/**
|
|
26
|
-
* Show
|
|
27
|
-
*
|
|
28
|
-
* @uiName Show Confirm Password
|
|
26
|
+
* @uiName Show confirm password
|
|
29
27
|
*/
|
|
30
28
|
this.confirmPassword = false;
|
|
31
29
|
/**
|
|
32
|
-
* @uiName
|
|
30
|
+
* @uiName Password reset header text
|
|
33
31
|
*/
|
|
34
32
|
this.resetPasswordHeader = "Reset your password";
|
|
35
33
|
/**
|
|
36
34
|
* Displayed after a successful password reset
|
|
37
35
|
*
|
|
38
|
-
* @uiName
|
|
36
|
+
* @uiName Password reset header text
|
|
39
37
|
*/
|
|
40
38
|
this.passwordResetHeader = "Password reset";
|
|
41
39
|
/**
|
|
42
|
-
* @uiName Password
|
|
40
|
+
* @uiName Password reset button text
|
|
43
41
|
*/
|
|
44
42
|
this.resetPasswordButtonText = "Reset Password";
|
|
45
43
|
/**
|
|
46
|
-
*
|
|
44
|
+
* Displayed after a successful password reset
|
|
47
45
|
*
|
|
48
|
-
* @uiName Continue
|
|
46
|
+
* @uiName Continue button text
|
|
49
47
|
*/
|
|
50
48
|
this.continueButtonText = "Continue";
|
|
51
49
|
/**
|
|
52
|
-
* @uiName Confirm
|
|
50
|
+
* @uiName Confirm password field label
|
|
53
51
|
*/
|
|
54
52
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
55
53
|
/**
|
|
56
|
-
* @uiName Password
|
|
54
|
+
* @uiName Password field label
|
|
57
55
|
*/
|
|
58
56
|
this.passwordFieldLabel = "New Password";
|
|
59
57
|
withHooks(this);
|
|
@@ -80,7 +78,7 @@ export class PortalResetPassword {
|
|
|
80
78
|
"optional": false,
|
|
81
79
|
"docs": {
|
|
82
80
|
"tags": [{
|
|
83
|
-
"text": "Next
|
|
81
|
+
"text": "Next page path",
|
|
84
82
|
"name": "uiName"
|
|
85
83
|
}],
|
|
86
84
|
"text": "The page that users are redirected to when the password reset succeeds."
|
|
@@ -101,7 +99,7 @@ export class PortalResetPassword {
|
|
|
101
99
|
"optional": false,
|
|
102
100
|
"docs": {
|
|
103
101
|
"tags": [{
|
|
104
|
-
"text": "Failed
|
|
102
|
+
"text": "Failed page redirection path",
|
|
105
103
|
"name": "uiName"
|
|
106
104
|
}],
|
|
107
105
|
"text": "The page that users are redirected to if the reset fails due to outdated password reset attempt."
|
|
@@ -122,10 +120,10 @@ export class PortalResetPassword {
|
|
|
122
120
|
"optional": false,
|
|
123
121
|
"docs": {
|
|
124
122
|
"tags": [{
|
|
125
|
-
"text": "Show
|
|
123
|
+
"text": "Show confirm password",
|
|
126
124
|
"name": "uiName"
|
|
127
125
|
}],
|
|
128
|
-
"text": "
|
|
126
|
+
"text": ""
|
|
129
127
|
},
|
|
130
128
|
"attribute": "confirm-password",
|
|
131
129
|
"reflect": false,
|
|
@@ -143,7 +141,7 @@ export class PortalResetPassword {
|
|
|
143
141
|
"optional": false,
|
|
144
142
|
"docs": {
|
|
145
143
|
"tags": [{
|
|
146
|
-
"text": "
|
|
144
|
+
"text": "Password reset header text",
|
|
147
145
|
"name": "uiName"
|
|
148
146
|
}],
|
|
149
147
|
"text": ""
|
|
@@ -164,7 +162,7 @@ export class PortalResetPassword {
|
|
|
164
162
|
"optional": false,
|
|
165
163
|
"docs": {
|
|
166
164
|
"tags": [{
|
|
167
|
-
"text": "
|
|
165
|
+
"text": "Password reset header text",
|
|
168
166
|
"name": "uiName"
|
|
169
167
|
}],
|
|
170
168
|
"text": "Displayed after a successful password reset"
|
|
@@ -185,7 +183,7 @@ export class PortalResetPassword {
|
|
|
185
183
|
"optional": false,
|
|
186
184
|
"docs": {
|
|
187
185
|
"tags": [{
|
|
188
|
-
"text": "Password
|
|
186
|
+
"text": "Password reset button text",
|
|
189
187
|
"name": "uiName"
|
|
190
188
|
}],
|
|
191
189
|
"text": ""
|
|
@@ -206,10 +204,10 @@ export class PortalResetPassword {
|
|
|
206
204
|
"optional": false,
|
|
207
205
|
"docs": {
|
|
208
206
|
"tags": [{
|
|
209
|
-
"text": "Continue
|
|
207
|
+
"text": "Continue button text",
|
|
210
208
|
"name": "uiName"
|
|
211
209
|
}],
|
|
212
|
-
"text": "
|
|
210
|
+
"text": "Displayed after a successful password reset"
|
|
213
211
|
},
|
|
214
212
|
"attribute": "continue-button-text",
|
|
215
213
|
"reflect": false,
|
|
@@ -227,7 +225,7 @@ export class PortalResetPassword {
|
|
|
227
225
|
"optional": false,
|
|
228
226
|
"docs": {
|
|
229
227
|
"tags": [{
|
|
230
|
-
"text": "Confirm
|
|
228
|
+
"text": "Confirm password field label",
|
|
231
229
|
"name": "uiName"
|
|
232
230
|
}],
|
|
233
231
|
"text": ""
|
|
@@ -248,7 +246,7 @@ export class PortalResetPassword {
|
|
|
248
246
|
"optional": false,
|
|
249
247
|
"docs": {
|
|
250
248
|
"tags": [{
|
|
251
|
-
"text": "Password
|
|
249
|
+
"text": "Password field label",
|
|
252
250
|
"name": "uiName"
|
|
253
251
|
}],
|
|
254
252
|
"text": ""
|
|
@@ -13,13 +13,13 @@ export class PortalVerifyEmail {
|
|
|
13
13
|
/**
|
|
14
14
|
* The page that users are redirected to when the verification succeeds.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Next
|
|
16
|
+
* @uiName Next page path
|
|
17
17
|
*/
|
|
18
18
|
this.nextPage = "/";
|
|
19
19
|
/**
|
|
20
20
|
* The page that users are redirected to if verification fails due to outdated verification attempt.
|
|
21
21
|
*
|
|
22
|
-
* @uiName Failed
|
|
22
|
+
* @uiName Failed page redirection path
|
|
23
23
|
*/
|
|
24
24
|
this.failedPage = "/";
|
|
25
25
|
withHooks(this);
|
|
@@ -46,7 +46,7 @@ export class PortalVerifyEmail {
|
|
|
46
46
|
"optional": false,
|
|
47
47
|
"docs": {
|
|
48
48
|
"tags": [{
|
|
49
|
-
"text": "Next
|
|
49
|
+
"text": "Next page path",
|
|
50
50
|
"name": "uiName"
|
|
51
51
|
}],
|
|
52
52
|
"text": "The page that users are redirected to when the verification succeeds."
|
|
@@ -67,7 +67,7 @@ export class PortalVerifyEmail {
|
|
|
67
67
|
"optional": false,
|
|
68
68
|
"docs": {
|
|
69
69
|
"tags": [{
|
|
70
|
-
"text": "Failed
|
|
70
|
+
"text": "Failed page redirection path",
|
|
71
71
|
"name": "uiName"
|
|
72
72
|
}],
|
|
73
73
|
"text": "The page that users are redirected to if verification fails due to outdated verification attempt."
|
|
@@ -4,7 +4,6 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { ReferralCardView } from "./sqm-referral-card-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Referral Card
|
|
7
|
-
* @example Card with Timeline and Sharing - <sqm-referral-card><sqm-portal-container gap="large" slot="left"><sqm-text>Get rewarded when your friend uses Klip </sqm-text><sqm-timeline icon="circle"><sqm-timeline-entry reward="75" unit="points" desc="Your friends signs up for a free trial"></sqm-timeline-entry><sqm-timeline-entry reward="$50" unit="visa giftcard" desc="Your friends signs up for Klip Business"></sqm-timeline-entry><sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Your friend qualifies as a good fit for Klip Enterprise"></sqm-timeline-entry><sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases Klip Enterprise"></sqm-timeline-entry></sqm-timeline></sqm-portal-container><sqm-portal-container gap="large" slot="right"><sqm-text>Choose how you want to share: </sqm-text><sqm-text><sub>Your unique referral link:</sub><sqm-share-link> </sqm-share-link></sqm-text><sqm-portal-container gap="x-small"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="linkedin">Share on LinkedIn</sqm-share-button><sqm-share-button medium="twitter">Tweet about us</sqm-share-button><sqm-share-button medium="sms">Text a friend</sqm-share-button></sqm-portal-container></sqm-portal-container></sqm-referral-card>
|
|
8
7
|
*/
|
|
9
8
|
export class ReferralCard {
|
|
10
9
|
constructor() {
|
|
@@ -13,13 +13,11 @@ export class SqmReferralIframe {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
this.ignored = true;
|
|
15
15
|
/**
|
|
16
|
-
* Height of the iframe container
|
|
17
|
-
* @uiName Iframe Height
|
|
16
|
+
* @uiName Height of the iframe container
|
|
18
17
|
*/
|
|
19
18
|
this.iframeHeight = "100%";
|
|
20
19
|
/**
|
|
21
|
-
* Width of the iframe container
|
|
22
|
-
* @uiName Iframe Width
|
|
20
|
+
* @uiName Width of the iframe container
|
|
23
21
|
*/
|
|
24
22
|
this.iframeWidth = "100%";
|
|
25
23
|
withHooks(this);
|
|
@@ -55,13 +53,13 @@ export class SqmReferralIframe {
|
|
|
55
53
|
"optional": false,
|
|
56
54
|
"docs": {
|
|
57
55
|
"tags": [{
|
|
58
|
-
"text": "
|
|
56
|
+
"text": "URL of iframe to display",
|
|
59
57
|
"name": "uiName"
|
|
60
58
|
}, {
|
|
61
59
|
"text": undefined,
|
|
62
|
-
"name": "
|
|
60
|
+
"name": "uiRequired"
|
|
63
61
|
}],
|
|
64
|
-
"text": "
|
|
62
|
+
"text": ""
|
|
65
63
|
},
|
|
66
64
|
"attribute": "iframe-src",
|
|
67
65
|
"reflect": false
|
|
@@ -78,10 +76,10 @@ export class SqmReferralIframe {
|
|
|
78
76
|
"optional": false,
|
|
79
77
|
"docs": {
|
|
80
78
|
"tags": [{
|
|
81
|
-
"text": "
|
|
79
|
+
"text": "Height of the iframe container",
|
|
82
80
|
"name": "uiName"
|
|
83
81
|
}],
|
|
84
|
-
"text": "
|
|
82
|
+
"text": ""
|
|
85
83
|
},
|
|
86
84
|
"attribute": "iframe-height",
|
|
87
85
|
"reflect": false,
|
|
@@ -99,10 +97,10 @@ export class SqmReferralIframe {
|
|
|
99
97
|
"optional": false,
|
|
100
98
|
"docs": {
|
|
101
99
|
"tags": [{
|
|
102
|
-
"text": "
|
|
100
|
+
"text": "Width of the iframe container",
|
|
103
101
|
"name": "uiName"
|
|
104
102
|
}],
|
|
105
|
-
"text": "
|
|
103
|
+
"text": ""
|
|
106
104
|
},
|
|
107
105
|
"attribute": "iframe-width",
|
|
108
106
|
"reflect": false,
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js
CHANGED
|
@@ -11,15 +11,11 @@ export class ReferralTableUserColumn {
|
|
|
11
11
|
*/
|
|
12
12
|
this.columnTitle = "Customer";
|
|
13
13
|
/**
|
|
14
|
-
* Name displayed for
|
|
15
|
-
*
|
|
16
|
-
* @uiName Anonymous User Text
|
|
14
|
+
* @uiName Name displayed for anonymous users
|
|
17
15
|
*/
|
|
18
16
|
this.anonymousUser = "Anonymous User";
|
|
19
17
|
/**
|
|
20
|
-
* Name displayed for deleted users
|
|
21
|
-
*
|
|
22
|
-
* @uiName Deleted User Text
|
|
18
|
+
* @uiName Name displayed for deleted users
|
|
23
19
|
*/
|
|
24
20
|
this.deletedUser = "Deleted User";
|
|
25
21
|
withHooks(this);
|
|
@@ -106,10 +102,10 @@ export class ReferralTableUserColumn {
|
|
|
106
102
|
"optional": false,
|
|
107
103
|
"docs": {
|
|
108
104
|
"tags": [{
|
|
109
|
-
"text": "
|
|
105
|
+
"text": "Name displayed for anonymous users",
|
|
110
106
|
"name": "uiName"
|
|
111
107
|
}],
|
|
112
|
-
"text": "
|
|
108
|
+
"text": ""
|
|
113
109
|
},
|
|
114
110
|
"attribute": "anonymous-user",
|
|
115
111
|
"reflect": false,
|
|
@@ -127,10 +123,10 @@ export class ReferralTableUserColumn {
|
|
|
127
123
|
"optional": false,
|
|
128
124
|
"docs": {
|
|
129
125
|
"tags": [{
|
|
130
|
-
"text": "
|
|
126
|
+
"text": "Name displayed for deleted users",
|
|
131
127
|
"name": "uiName"
|
|
132
128
|
}],
|
|
133
|
-
"text": "
|
|
129
|
+
"text": ""
|
|
134
130
|
},
|
|
135
131
|
"attribute": "deleted-user",
|
|
136
132
|
"reflect": false,
|
|
@@ -13,29 +13,20 @@ import { tryMethod, useReferralTable } from "./useReferralTable";
|
|
|
13
13
|
*/
|
|
14
14
|
export class ReferralTable {
|
|
15
15
|
constructor() {
|
|
16
|
-
/**
|
|
17
|
-
* Number of referrals displayed per page
|
|
18
|
-
*
|
|
19
|
-
* @uiName Referrals Per Page
|
|
20
|
-
*/
|
|
16
|
+
/** @uiName Number of referrals per page */
|
|
21
17
|
this.perPage = 4;
|
|
22
|
-
/** @uiName Show
|
|
18
|
+
/** @uiName Show column labels */
|
|
23
19
|
this.showLabels = true;
|
|
24
|
-
/** @uiName Previous
|
|
20
|
+
/** @uiName Previous button text */
|
|
25
21
|
this.prevLabel = "Prev";
|
|
26
|
-
/** @uiName View More
|
|
22
|
+
/** @uiName View More button text */
|
|
27
23
|
this.moreLabel = "Next";
|
|
28
|
-
/**
|
|
29
|
-
* Show referred by user in table
|
|
30
|
-
*
|
|
31
|
-
* @uiName Show Referrer
|
|
32
|
-
*/
|
|
24
|
+
/** @uiName Show Referred by user in table */
|
|
33
25
|
this.showReferrer = false;
|
|
34
26
|
/**
|
|
35
27
|
* Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
|
|
36
28
|
*
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
29
|
+
* @uiName Mobile Hidden Columns */
|
|
39
30
|
this.hiddenColumns = "0";
|
|
40
31
|
/** @uiName Mobile Breakpoint */
|
|
41
32
|
this.smBreakpoint = 599;
|
|
@@ -88,10 +79,10 @@ export class ReferralTable {
|
|
|
88
79
|
"optional": false,
|
|
89
80
|
"docs": {
|
|
90
81
|
"tags": [{
|
|
91
|
-
"text": "
|
|
82
|
+
"text": "Number of referrals per page",
|
|
92
83
|
"name": "uiName"
|
|
93
84
|
}],
|
|
94
|
-
"text": "
|
|
85
|
+
"text": ""
|
|
95
86
|
},
|
|
96
87
|
"attribute": "per-page",
|
|
97
88
|
"reflect": false,
|
|
@@ -109,7 +100,7 @@ export class ReferralTable {
|
|
|
109
100
|
"optional": true,
|
|
110
101
|
"docs": {
|
|
111
102
|
"tags": [{
|
|
112
|
-
"text": "Show
|
|
103
|
+
"text": "Show column labels",
|
|
113
104
|
"name": "uiName"
|
|
114
105
|
}],
|
|
115
106
|
"text": ""
|
|
@@ -130,7 +121,7 @@ export class ReferralTable {
|
|
|
130
121
|
"optional": true,
|
|
131
122
|
"docs": {
|
|
132
123
|
"tags": [{
|
|
133
|
-
"text": "Previous
|
|
124
|
+
"text": "Previous button text",
|
|
134
125
|
"name": "uiName"
|
|
135
126
|
}],
|
|
136
127
|
"text": ""
|
|
@@ -151,7 +142,7 @@ export class ReferralTable {
|
|
|
151
142
|
"optional": true,
|
|
152
143
|
"docs": {
|
|
153
144
|
"tags": [{
|
|
154
|
-
"text": "View More
|
|
145
|
+
"text": "View More button text",
|
|
155
146
|
"name": "uiName"
|
|
156
147
|
}],
|
|
157
148
|
"text": ""
|
|
@@ -172,10 +163,10 @@ export class ReferralTable {
|
|
|
172
163
|
"optional": true,
|
|
173
164
|
"docs": {
|
|
174
165
|
"tags": [{
|
|
175
|
-
"text": "Show
|
|
166
|
+
"text": "Show Referred by user in table",
|
|
176
167
|
"name": "uiName"
|
|
177
168
|
}],
|
|
178
|
-
"text": "
|
|
169
|
+
"text": ""
|
|
179
170
|
},
|
|
180
171
|
"attribute": "show-referrer",
|
|
181
172
|
"reflect": false,
|
|
@@ -193,7 +184,7 @@ export class ReferralTable {
|
|
|
193
184
|
"optional": true,
|
|
194
185
|
"docs": {
|
|
195
186
|
"tags": [{
|
|
196
|
-
"text": "Hidden
|
|
187
|
+
"text": "Mobile Hidden Columns",
|
|
197
188
|
"name": "uiName"
|
|
198
189
|
}],
|
|
199
190
|
"text": "Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3"
|
|
@@ -13,11 +13,9 @@ export class SqmRewardExchangeList {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
this.ignored = true;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @uiName Not Available Error
|
|
16
|
+
* @uiName Exchange button text
|
|
19
17
|
*/
|
|
20
|
-
this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }";
|
|
18
|
+
this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }";
|
|
21
19
|
/**
|
|
22
20
|
* @uiName Choose Reward Progress Title
|
|
23
21
|
*/
|
|
@@ -47,7 +45,7 @@ export class SqmRewardExchangeList {
|
|
|
47
45
|
*/
|
|
48
46
|
this.continueText = "Continue";
|
|
49
47
|
/**
|
|
50
|
-
|
|
48
|
+
* Displayed on the reward selection page.
|
|
51
49
|
* @uiName Continue to Confirmation Button Text
|
|
52
50
|
*/
|
|
53
51
|
this.continueToConfirmationText = "Continue to confirmation";
|
|
@@ -56,20 +54,17 @@ export class SqmRewardExchangeList {
|
|
|
56
54
|
*/
|
|
57
55
|
this.redeemText = "Redeem";
|
|
58
56
|
/**
|
|
59
|
-
|
|
60
|
-
*
|
|
57
|
+
* Displayed as the header for the confirmation page.
|
|
61
58
|
* @uiName Confirmation Title Text
|
|
62
59
|
*/
|
|
63
60
|
this.redeemTitle = "Confirm and redeem";
|
|
64
61
|
/**
|
|
65
|
-
|
|
66
|
-
*
|
|
62
|
+
* Displayed on the success screen when a user successfully exchanges for a reward.
|
|
67
63
|
* @uiName Redemption Success Message
|
|
68
64
|
*/
|
|
69
65
|
this.redemptionSuccessText = "Redeemed {sourceValue} for {destinationValue}";
|
|
70
66
|
/**
|
|
71
|
-
|
|
72
|
-
*
|
|
67
|
+
* Displayed on the reward exchange cards.
|
|
73
68
|
* @uiName Reward Exchange Amount Text
|
|
74
69
|
*/
|
|
75
70
|
this.sourceAmountMessage = "{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}";
|
|
@@ -88,19 +83,17 @@ export class SqmRewardExchangeList {
|
|
|
88
83
|
*/
|
|
89
84
|
this.selectText = "Select amount to receive";
|
|
90
85
|
/**
|
|
91
|
-
|
|
92
|
-
*
|
|
86
|
+
* Shown if an error occurs when loading the reward exchange.
|
|
93
87
|
* @uiName Reward List Error Message
|
|
94
88
|
*/
|
|
95
89
|
this.queryError = "Unable to load reward exchange list. Please try again";
|
|
96
90
|
/**
|
|
97
|
-
|
|
98
|
-
*
|
|
91
|
+
* Shown if an error occurs during the reward exchange.
|
|
99
92
|
* @uiName Redemption Error Message
|
|
100
93
|
*/
|
|
101
94
|
this.redemptionError = "An error occured trying to redeem this reward. Please try again";
|
|
102
95
|
/**
|
|
103
|
-
* @uiName Not Enough Error Message
|
|
96
|
+
* @uiName Not Enough Available Error Message
|
|
104
97
|
*/
|
|
105
98
|
this.notEnoughError = "Not enough {sourceUnit} to redeem for this reward";
|
|
106
99
|
/**
|
|
@@ -114,7 +107,7 @@ export class SqmRewardExchangeList {
|
|
|
114
107
|
/**
|
|
115
108
|
* Set the number of placeholder cards to be shown in loading state.
|
|
116
109
|
*
|
|
117
|
-
* @
|
|
110
|
+
* @undocumented Loading Cards
|
|
118
111
|
*/
|
|
119
112
|
this.skeletonCardNum = 8;
|
|
120
113
|
/**
|
|
@@ -165,14 +158,14 @@ export class SqmRewardExchangeList {
|
|
|
165
158
|
"optional": false,
|
|
166
159
|
"docs": {
|
|
167
160
|
"tags": [{
|
|
168
|
-
"text": "
|
|
161
|
+
"text": "Exchange button text",
|
|
169
162
|
"name": "uiName"
|
|
170
163
|
}],
|
|
171
|
-
"text": "
|
|
164
|
+
"text": ""
|
|
172
165
|
},
|
|
173
166
|
"attribute": "not-available-error",
|
|
174
167
|
"reflect": false,
|
|
175
|
-
"defaultValue": "\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }\""
|
|
168
|
+
"defaultValue": "\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }\""
|
|
176
169
|
},
|
|
177
170
|
"chooseRewardTitle": {
|
|
178
171
|
"type": "string",
|
|
@@ -543,7 +536,7 @@ export class SqmRewardExchangeList {
|
|
|
543
536
|
"optional": false,
|
|
544
537
|
"docs": {
|
|
545
538
|
"tags": [{
|
|
546
|
-
"text": "Not Enough Error Message",
|
|
539
|
+
"text": "Not Enough Available Error Message",
|
|
547
540
|
"name": "uiName"
|
|
548
541
|
}],
|
|
549
542
|
"text": ""
|
|
@@ -607,7 +600,7 @@ export class SqmRewardExchangeList {
|
|
|
607
600
|
"docs": {
|
|
608
601
|
"tags": [{
|
|
609
602
|
"text": "Loading Cards",
|
|
610
|
-
"name": "
|
|
603
|
+
"name": "undocumented"
|
|
611
604
|
}],
|
|
612
605
|
"text": "Set the number of placeholder cards to be shown in loading state."
|
|
613
606
|
},
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useRequestRerender } from "../../../tables/re-render";
|
|
|
7
7
|
export class RewardsTableColumn {
|
|
8
8
|
constructor() {
|
|
9
9
|
/**
|
|
10
|
-
* @uiName Reward
|
|
10
|
+
* @uiName Reward column title
|
|
11
11
|
*/
|
|
12
12
|
this.columnTitle = "Reward";
|
|
13
13
|
/**
|
|
@@ -55,7 +55,7 @@ export class RewardsTableColumn {
|
|
|
55
55
|
"optional": false,
|
|
56
56
|
"docs": {
|
|
57
57
|
"tags": [{
|
|
58
|
-
"text": "Reward
|
|
58
|
+
"text": "Reward column title",
|
|
59
59
|
"name": "uiName"
|
|
60
60
|
}],
|
|
61
61
|
"text": ""
|
package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js
CHANGED
|
@@ -11,19 +11,15 @@ export class RewardTableUserColumn {
|
|
|
11
11
|
*/
|
|
12
12
|
this.columnTitle = "Source";
|
|
13
13
|
/**
|
|
14
|
-
* Name displayed for
|
|
15
|
-
*
|
|
16
|
-
* @uiName Anonymous User Text
|
|
14
|
+
* @uiName Name displayed for anonymous users
|
|
17
15
|
*/
|
|
18
16
|
this.anonymousUser = "Anonymous User";
|
|
19
17
|
/**
|
|
20
|
-
* Name displayed for deleted users
|
|
21
|
-
*
|
|
22
|
-
* @uiName Deleted User Text
|
|
18
|
+
* @uiName Name displayed for deleted users
|
|
23
19
|
*/
|
|
24
20
|
this.deletedUser = "Deleted User";
|
|
25
21
|
/**
|
|
26
|
-
* @uiName Reward Exchange
|
|
22
|
+
* @uiName Reward Exchange label
|
|
27
23
|
*/
|
|
28
24
|
this.rewardExchangeText = "Reward Exchange";
|
|
29
25
|
/**
|
|
@@ -92,10 +88,10 @@ export class RewardTableUserColumn {
|
|
|
92
88
|
"optional": false,
|
|
93
89
|
"docs": {
|
|
94
90
|
"tags": [{
|
|
95
|
-
"text": "
|
|
91
|
+
"text": "Name displayed for anonymous users",
|
|
96
92
|
"name": "uiName"
|
|
97
93
|
}],
|
|
98
|
-
"text": "
|
|
94
|
+
"text": ""
|
|
99
95
|
},
|
|
100
96
|
"attribute": "anonymous-user",
|
|
101
97
|
"reflect": false,
|
|
@@ -113,10 +109,10 @@ export class RewardTableUserColumn {
|
|
|
113
109
|
"optional": false,
|
|
114
110
|
"docs": {
|
|
115
111
|
"tags": [{
|
|
116
|
-
"text": "
|
|
112
|
+
"text": "Name displayed for deleted users",
|
|
117
113
|
"name": "uiName"
|
|
118
114
|
}],
|
|
119
|
-
"text": "
|
|
115
|
+
"text": ""
|
|
120
116
|
},
|
|
121
117
|
"attribute": "deleted-user",
|
|
122
118
|
"reflect": false,
|
|
@@ -134,7 +130,7 @@ export class RewardTableUserColumn {
|
|
|
134
130
|
"optional": false,
|
|
135
131
|
"docs": {
|
|
136
132
|
"tags": [{
|
|
137
|
-
"text": "Reward Exchange
|
|
133
|
+
"text": "Reward Exchange label",
|
|
138
134
|
"name": "uiName"
|
|
139
135
|
}],
|
|
140
136
|
"text": ""
|