@saasquatch/mint-components 1.5.5-2 → 1.5.6-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/dist/cjs/sqm-big-stat_35.cjs.entry.js +135 -69
- package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +15 -7
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -2
- 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 +18 -8
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +12 -10
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +21 -8
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -4
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -79
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +12 -7
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +11 -10
- 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/sqm-empty.js +1 -0
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
- package/dist/collection/components/sqm-hero/sqm-hero.js +23 -15
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +7 -3
- package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +3 -0
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +2 -74
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +10 -8
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +4 -4
- 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 +9 -6
- 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 +34 -22
- 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 +42 -26
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +31 -21
- 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 +36 -28
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +23 -21
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +1 -0
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +11 -9
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +1 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +11 -6
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +23 -14
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +20 -13
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +1 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +13 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +1 -0
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +18 -15
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +6 -7
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +6 -7
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
- package/dist/collection/components/sqm-tab/sqm-tab.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +95 -8
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +1 -0
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +6 -5
- package/dist/esm/sqm-big-stat_35.entry.js +135 -69
- package/dist/esm/sqm-empty_5.entry.js +2 -2
- package/dist/esm/sqm-hero.entry.js +15 -7
- package/dist/esm/sqm-password-field.entry.js +5 -2
- 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 +18 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +12 -10
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +21 -8
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -4
- package/dist/esm/sqm-stencilbook.entry.js +7 -79
- package/dist/esm-es5/sqm-big-stat_35.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-951e7817.system.entry.js → p-25ac7c14.system.entry.js} +1 -1
- package/dist/mint-components/p-5bef951d.system.entry.js +1 -0
- package/dist/mint-components/p-94096609.system.js +1 -1
- package/dist/mint-components/{p-87ffb558.entry.js → p-c7b0f076.entry.js} +2 -2
- 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 +11 -4
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -5
- 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 +10 -7
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -0
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +8 -2
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +20 -8
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +5 -1
- package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +3 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +7 -7
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +4 -4
- 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 +4 -2
- 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 +5 -2
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +21 -6
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +20 -8
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +5 -3
- 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 +25 -9
- 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 +18 -8
- 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 +20 -12
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +12 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +7 -4
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +7 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +15 -6
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +16 -9
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +8 -3
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +17 -9
- 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-tab/sqm-tab.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +34 -8
- 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 +1 -0
- 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 +3 -2
- package/dist/types/components.d.ts +478 -318
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +8 -3
- package/dist/mint-components/p-64cc1a70.system.entry.js +0 -1
|
@@ -12,35 +12,45 @@ export class PortalProfile {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
this.ignored = true;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* First name input field label
|
|
16
|
+
*
|
|
17
|
+
* @uiName First Name Label
|
|
16
18
|
*/
|
|
17
19
|
this.firstnametext = "First Name";
|
|
18
20
|
/**
|
|
19
|
-
*
|
|
21
|
+
* Last name input field label
|
|
22
|
+
*
|
|
23
|
+
* @uiName Last Name Label
|
|
20
24
|
*/
|
|
21
25
|
this.lastnametext = "Last Name";
|
|
22
26
|
/**
|
|
23
|
-
*
|
|
27
|
+
* Email input field label
|
|
28
|
+
*
|
|
29
|
+
* @uiName Email Label
|
|
24
30
|
*/
|
|
25
31
|
this.emailtext = "Email";
|
|
26
32
|
/**
|
|
27
|
-
*
|
|
33
|
+
* Country input field label
|
|
34
|
+
*
|
|
35
|
+
* @uiName Country Label
|
|
28
36
|
*/
|
|
29
37
|
this.countrytext = "Country";
|
|
30
38
|
/**
|
|
31
|
-
* @uiName Edit
|
|
39
|
+
* @uiName Edit Profile Header
|
|
32
40
|
*/
|
|
33
41
|
this.editProfileHeader = "Edit your profile";
|
|
34
42
|
/**
|
|
35
|
-
* @uiName Edit
|
|
43
|
+
* @uiName Edit Profile Sub Header
|
|
36
44
|
*/
|
|
37
45
|
this.editProfileSubHeader = "Personal Information";
|
|
38
46
|
/**
|
|
39
|
-
* @uiName
|
|
47
|
+
* @uiName Submit Changes Button Text
|
|
40
48
|
*/
|
|
41
49
|
this.submitChangeButtonText = "Submit Changes";
|
|
42
50
|
/**
|
|
43
|
-
*
|
|
51
|
+
* Show or hide the country field
|
|
52
|
+
*
|
|
53
|
+
* @uiName Show Country Field
|
|
44
54
|
*/
|
|
45
55
|
this.showCountry = true;
|
|
46
56
|
withHooks(this);
|
|
@@ -67,10 +77,10 @@ export class PortalProfile {
|
|
|
67
77
|
"optional": false,
|
|
68
78
|
"docs": {
|
|
69
79
|
"tags": [{
|
|
70
|
-
"text": "First
|
|
80
|
+
"text": "First Name Label",
|
|
71
81
|
"name": "uiName"
|
|
72
82
|
}],
|
|
73
|
-
"text": ""
|
|
83
|
+
"text": "First name input field label"
|
|
74
84
|
},
|
|
75
85
|
"attribute": "firstnametext",
|
|
76
86
|
"reflect": false,
|
|
@@ -88,10 +98,10 @@ export class PortalProfile {
|
|
|
88
98
|
"optional": false,
|
|
89
99
|
"docs": {
|
|
90
100
|
"tags": [{
|
|
91
|
-
"text": "Last
|
|
101
|
+
"text": "Last Name Label",
|
|
92
102
|
"name": "uiName"
|
|
93
103
|
}],
|
|
94
|
-
"text": ""
|
|
104
|
+
"text": "Last name input field label"
|
|
95
105
|
},
|
|
96
106
|
"attribute": "lastnametext",
|
|
97
107
|
"reflect": false,
|
|
@@ -109,10 +119,10 @@ export class PortalProfile {
|
|
|
109
119
|
"optional": false,
|
|
110
120
|
"docs": {
|
|
111
121
|
"tags": [{
|
|
112
|
-
"text": "Email
|
|
122
|
+
"text": "Email Label",
|
|
113
123
|
"name": "uiName"
|
|
114
124
|
}],
|
|
115
|
-
"text": ""
|
|
125
|
+
"text": "Email input field label"
|
|
116
126
|
},
|
|
117
127
|
"attribute": "emailtext",
|
|
118
128
|
"reflect": false,
|
|
@@ -130,10 +140,10 @@ export class PortalProfile {
|
|
|
130
140
|
"optional": false,
|
|
131
141
|
"docs": {
|
|
132
142
|
"tags": [{
|
|
133
|
-
"text": "Country
|
|
143
|
+
"text": "Country Label",
|
|
134
144
|
"name": "uiName"
|
|
135
145
|
}],
|
|
136
|
-
"text": ""
|
|
146
|
+
"text": "Country input field label"
|
|
137
147
|
},
|
|
138
148
|
"attribute": "countrytext",
|
|
139
149
|
"reflect": false,
|
|
@@ -151,7 +161,7 @@ export class PortalProfile {
|
|
|
151
161
|
"optional": false,
|
|
152
162
|
"docs": {
|
|
153
163
|
"tags": [{
|
|
154
|
-
"text": "Edit
|
|
164
|
+
"text": "Edit Profile Header",
|
|
155
165
|
"name": "uiName"
|
|
156
166
|
}],
|
|
157
167
|
"text": ""
|
|
@@ -172,7 +182,7 @@ export class PortalProfile {
|
|
|
172
182
|
"optional": false,
|
|
173
183
|
"docs": {
|
|
174
184
|
"tags": [{
|
|
175
|
-
"text": "Edit
|
|
185
|
+
"text": "Edit Profile Sub Header",
|
|
176
186
|
"name": "uiName"
|
|
177
187
|
}],
|
|
178
188
|
"text": ""
|
|
@@ -193,7 +203,7 @@ export class PortalProfile {
|
|
|
193
203
|
"optional": false,
|
|
194
204
|
"docs": {
|
|
195
205
|
"tags": [{
|
|
196
|
-
"text": "
|
|
206
|
+
"text": "Submit Changes Button Text",
|
|
197
207
|
"name": "uiName"
|
|
198
208
|
}],
|
|
199
209
|
"text": ""
|
|
@@ -214,10 +224,10 @@ export class PortalProfile {
|
|
|
214
224
|
"optional": false,
|
|
215
225
|
"docs": {
|
|
216
226
|
"tags": [{
|
|
217
|
-
"text": "Show
|
|
227
|
+
"text": "Show Country Field",
|
|
218
228
|
"name": "uiName"
|
|
219
229
|
}],
|
|
220
|
-
"text": ""
|
|
230
|
+
"text": "Show or hide the country field"
|
|
221
231
|
},
|
|
222
232
|
"attribute": "show-country",
|
|
223
233
|
"reflect": false,
|
|
@@ -17,7 +17,7 @@ export class PortalProtectedRoute {
|
|
|
17
17
|
*/
|
|
18
18
|
this.requireEmailVerification = false;
|
|
19
19
|
/**
|
|
20
|
-
* @uiName Redirect
|
|
20
|
+
* @uiName Redirect Unverified Users Path
|
|
21
21
|
*/
|
|
22
22
|
this.redirectToUnverified = "/emailVerification";
|
|
23
23
|
withHooks(this);
|
|
@@ -87,7 +87,7 @@ export class PortalProtectedRoute {
|
|
|
87
87
|
"optional": false,
|
|
88
88
|
"docs": {
|
|
89
89
|
"tags": [{
|
|
90
|
-
"text": "Redirect
|
|
90
|
+
"text": "Redirect Unverified Users Path",
|
|
91
91
|
"name": "uiName"
|
|
92
92
|
}],
|
|
93
93
|
"text": ""
|
|
@@ -11,53 +11,61 @@ export class PortalRegister {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Page navigated to after registration
|
|
15
|
+
*
|
|
16
|
+
* @uiName Next Page
|
|
15
17
|
*/
|
|
16
18
|
this.nextPage = "/";
|
|
17
19
|
/**
|
|
18
20
|
* The page that users are redirected to from the verification email.
|
|
19
21
|
*
|
|
20
|
-
* @uiName Email
|
|
22
|
+
* @uiName Email Redirection Base Path
|
|
21
23
|
*/
|
|
22
24
|
this.redirectPath = "/verifyEmail";
|
|
23
25
|
/**
|
|
24
|
-
* @uiName Label
|
|
26
|
+
* @uiName Email Label
|
|
25
27
|
*/
|
|
26
28
|
this.emailLabel = "Email";
|
|
27
29
|
/**
|
|
28
|
-
* @uiName Label
|
|
30
|
+
* @uiName Password Label
|
|
29
31
|
*/
|
|
30
32
|
this.passwordLabel = "Password";
|
|
31
33
|
/**
|
|
32
|
-
* @uiName
|
|
34
|
+
* @uiName Submit Button Text
|
|
33
35
|
*/
|
|
34
36
|
this.submitLabel = "Register";
|
|
35
37
|
/**
|
|
36
|
-
* @uiName
|
|
38
|
+
* @uiName Login Button Text
|
|
37
39
|
*/
|
|
38
40
|
this.loginLabel = "Sign in";
|
|
39
41
|
/**
|
|
40
|
-
* @uiName
|
|
42
|
+
* @uiName Confirm Password Label
|
|
41
43
|
*/
|
|
42
44
|
this.confirmPasswordLabel = "Confirm Password";
|
|
43
45
|
/**
|
|
44
|
-
*
|
|
46
|
+
* Show or hide the confirm password input
|
|
47
|
+
*
|
|
48
|
+
* @uiName Show Confirm Password Field
|
|
45
49
|
*/
|
|
46
50
|
this.confirmPassword = false;
|
|
47
51
|
/**
|
|
48
|
-
* @uiName
|
|
52
|
+
* @uiName Enable Password Validation
|
|
49
53
|
*/
|
|
50
54
|
this.enablePasswordValidation = true;
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Hide default input fields to use custom fields
|
|
57
|
+
*
|
|
58
|
+
* @uiName Hide Default Inputs
|
|
53
59
|
*/
|
|
54
60
|
this.hideInputs = false;
|
|
55
61
|
/**
|
|
56
|
-
* @uiName Heading
|
|
62
|
+
* @uiName Heading Label
|
|
57
63
|
*/
|
|
58
64
|
this.pageLabel = "Register";
|
|
59
65
|
/**
|
|
60
|
-
*
|
|
66
|
+
* Login button redirection path
|
|
67
|
+
*
|
|
68
|
+
* @uiName Login Path
|
|
61
69
|
*/
|
|
62
70
|
this.loginPath = "/login";
|
|
63
71
|
withHooks(this);
|
|
@@ -95,10 +103,10 @@ export class PortalRegister {
|
|
|
95
103
|
"optional": false,
|
|
96
104
|
"docs": {
|
|
97
105
|
"tags": [{
|
|
98
|
-
"text": "Page
|
|
106
|
+
"text": "Next Page",
|
|
99
107
|
"name": "uiName"
|
|
100
108
|
}],
|
|
101
|
-
"text": ""
|
|
109
|
+
"text": "Page navigated to after registration"
|
|
102
110
|
},
|
|
103
111
|
"attribute": "next-page",
|
|
104
112
|
"reflect": false,
|
|
@@ -116,7 +124,7 @@ export class PortalRegister {
|
|
|
116
124
|
"optional": false,
|
|
117
125
|
"docs": {
|
|
118
126
|
"tags": [{
|
|
119
|
-
"text": "Email
|
|
127
|
+
"text": "Email Redirection Base Path",
|
|
120
128
|
"name": "uiName"
|
|
121
129
|
}],
|
|
122
130
|
"text": "The page that users are redirected to from the verification email."
|
|
@@ -137,7 +145,7 @@ export class PortalRegister {
|
|
|
137
145
|
"optional": false,
|
|
138
146
|
"docs": {
|
|
139
147
|
"tags": [{
|
|
140
|
-
"text": "Label
|
|
148
|
+
"text": "Email Label",
|
|
141
149
|
"name": "uiName"
|
|
142
150
|
}],
|
|
143
151
|
"text": ""
|
|
@@ -158,7 +166,7 @@ export class PortalRegister {
|
|
|
158
166
|
"optional": false,
|
|
159
167
|
"docs": {
|
|
160
168
|
"tags": [{
|
|
161
|
-
"text": "Label
|
|
169
|
+
"text": "Password Label",
|
|
162
170
|
"name": "uiName"
|
|
163
171
|
}],
|
|
164
172
|
"text": ""
|
|
@@ -179,7 +187,7 @@ export class PortalRegister {
|
|
|
179
187
|
"optional": false,
|
|
180
188
|
"docs": {
|
|
181
189
|
"tags": [{
|
|
182
|
-
"text": "
|
|
190
|
+
"text": "Submit Button Text",
|
|
183
191
|
"name": "uiName"
|
|
184
192
|
}],
|
|
185
193
|
"text": ""
|
|
@@ -200,7 +208,7 @@ export class PortalRegister {
|
|
|
200
208
|
"optional": false,
|
|
201
209
|
"docs": {
|
|
202
210
|
"tags": [{
|
|
203
|
-
"text": "
|
|
211
|
+
"text": "Login Button Text",
|
|
204
212
|
"name": "uiName"
|
|
205
213
|
}],
|
|
206
214
|
"text": ""
|
|
@@ -221,7 +229,7 @@ export class PortalRegister {
|
|
|
221
229
|
"optional": false,
|
|
222
230
|
"docs": {
|
|
223
231
|
"tags": [{
|
|
224
|
-
"text": "
|
|
232
|
+
"text": "Confirm Password Label",
|
|
225
233
|
"name": "uiName"
|
|
226
234
|
}],
|
|
227
235
|
"text": ""
|
|
@@ -242,10 +250,10 @@ export class PortalRegister {
|
|
|
242
250
|
"optional": false,
|
|
243
251
|
"docs": {
|
|
244
252
|
"tags": [{
|
|
245
|
-
"text": "Show
|
|
253
|
+
"text": "Show Confirm Password Field",
|
|
246
254
|
"name": "uiName"
|
|
247
255
|
}],
|
|
248
|
-
"text": ""
|
|
256
|
+
"text": "Show or hide the confirm password input"
|
|
249
257
|
},
|
|
250
258
|
"attribute": "confirm-password",
|
|
251
259
|
"reflect": false,
|
|
@@ -263,7 +271,7 @@ export class PortalRegister {
|
|
|
263
271
|
"optional": false,
|
|
264
272
|
"docs": {
|
|
265
273
|
"tags": [{
|
|
266
|
-
"text": "
|
|
274
|
+
"text": "Enable Password Validation",
|
|
267
275
|
"name": "uiName"
|
|
268
276
|
}],
|
|
269
277
|
"text": ""
|
|
@@ -284,10 +292,10 @@ export class PortalRegister {
|
|
|
284
292
|
"optional": false,
|
|
285
293
|
"docs": {
|
|
286
294
|
"tags": [{
|
|
287
|
-
"text": "Hide
|
|
295
|
+
"text": "Hide Default Inputs",
|
|
288
296
|
"name": "uiName"
|
|
289
297
|
}],
|
|
290
|
-
"text": ""
|
|
298
|
+
"text": "Hide default input fields to use custom fields"
|
|
291
299
|
},
|
|
292
300
|
"attribute": "hide-inputs",
|
|
293
301
|
"reflect": false,
|
|
@@ -305,7 +313,7 @@ export class PortalRegister {
|
|
|
305
313
|
"optional": false,
|
|
306
314
|
"docs": {
|
|
307
315
|
"tags": [{
|
|
308
|
-
"text": "Heading
|
|
316
|
+
"text": "Heading Label",
|
|
309
317
|
"name": "uiName"
|
|
310
318
|
}],
|
|
311
319
|
"text": ""
|
|
@@ -326,10 +334,10 @@ export class PortalRegister {
|
|
|
326
334
|
"optional": false,
|
|
327
335
|
"docs": {
|
|
328
336
|
"tags": [{
|
|
329
|
-
"text": "
|
|
337
|
+
"text": "Login Path",
|
|
330
338
|
"name": "uiName"
|
|
331
339
|
}],
|
|
332
|
-
"text": ""
|
|
340
|
+
"text": "Login button redirection path"
|
|
333
341
|
},
|
|
334
342
|
"attribute": "login-path",
|
|
335
343
|
"reflect": false,
|
|
@@ -13,45 +13,47 @@ 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 Path
|
|
23
23
|
*/
|
|
24
24
|
this.failedPage = "/";
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Show or hide confirm password field
|
|
27
|
+
*
|
|
28
|
+
* @uiName Show Confirm Password
|
|
27
29
|
*/
|
|
28
30
|
this.confirmPassword = false;
|
|
29
31
|
/**
|
|
30
|
-
* @uiName Password
|
|
32
|
+
* @uiName Reset Password Header Text
|
|
31
33
|
*/
|
|
32
34
|
this.resetPasswordHeader = "Reset your password";
|
|
33
35
|
/**
|
|
34
36
|
* Displayed after a successful password reset
|
|
35
37
|
*
|
|
36
|
-
* @uiName Password
|
|
38
|
+
* @uiName Successful Password Reset Text
|
|
37
39
|
*/
|
|
38
40
|
this.passwordResetHeader = "Password reset";
|
|
39
41
|
/**
|
|
40
|
-
* @uiName Password
|
|
42
|
+
* @uiName Password Reset Button Text
|
|
41
43
|
*/
|
|
42
44
|
this.resetPasswordButtonText = "Reset Password";
|
|
43
45
|
/**
|
|
44
|
-
*
|
|
46
|
+
* Button text displayed after a successful password reset
|
|
45
47
|
*
|
|
46
|
-
* @uiName Continue
|
|
48
|
+
* @uiName Continue Button Text
|
|
47
49
|
*/
|
|
48
50
|
this.continueButtonText = "Continue";
|
|
49
51
|
/**
|
|
50
|
-
* @uiName Confirm
|
|
52
|
+
* @uiName Confirm Password Label
|
|
51
53
|
*/
|
|
52
54
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
53
55
|
/**
|
|
54
|
-
* @uiName Password
|
|
56
|
+
* @uiName Password Label
|
|
55
57
|
*/
|
|
56
58
|
this.passwordFieldLabel = "New Password";
|
|
57
59
|
withHooks(this);
|
|
@@ -78,7 +80,7 @@ export class PortalResetPassword {
|
|
|
78
80
|
"optional": false,
|
|
79
81
|
"docs": {
|
|
80
82
|
"tags": [{
|
|
81
|
-
"text": "Next
|
|
83
|
+
"text": "Next Page Path",
|
|
82
84
|
"name": "uiName"
|
|
83
85
|
}],
|
|
84
86
|
"text": "The page that users are redirected to when the password reset succeeds."
|
|
@@ -99,7 +101,7 @@ export class PortalResetPassword {
|
|
|
99
101
|
"optional": false,
|
|
100
102
|
"docs": {
|
|
101
103
|
"tags": [{
|
|
102
|
-
"text": "Failed
|
|
104
|
+
"text": "Failed Page Path",
|
|
103
105
|
"name": "uiName"
|
|
104
106
|
}],
|
|
105
107
|
"text": "The page that users are redirected to if the reset fails due to outdated password reset attempt."
|
|
@@ -120,10 +122,10 @@ export class PortalResetPassword {
|
|
|
120
122
|
"optional": false,
|
|
121
123
|
"docs": {
|
|
122
124
|
"tags": [{
|
|
123
|
-
"text": "Show
|
|
125
|
+
"text": "Show Confirm Password",
|
|
124
126
|
"name": "uiName"
|
|
125
127
|
}],
|
|
126
|
-
"text": ""
|
|
128
|
+
"text": "Show or hide confirm password field"
|
|
127
129
|
},
|
|
128
130
|
"attribute": "confirm-password",
|
|
129
131
|
"reflect": false,
|
|
@@ -141,7 +143,7 @@ export class PortalResetPassword {
|
|
|
141
143
|
"optional": false,
|
|
142
144
|
"docs": {
|
|
143
145
|
"tags": [{
|
|
144
|
-
"text": "Password
|
|
146
|
+
"text": "Reset Password Header Text",
|
|
145
147
|
"name": "uiName"
|
|
146
148
|
}],
|
|
147
149
|
"text": ""
|
|
@@ -162,7 +164,7 @@ export class PortalResetPassword {
|
|
|
162
164
|
"optional": false,
|
|
163
165
|
"docs": {
|
|
164
166
|
"tags": [{
|
|
165
|
-
"text": "Password
|
|
167
|
+
"text": "Successful Password Reset Text",
|
|
166
168
|
"name": "uiName"
|
|
167
169
|
}],
|
|
168
170
|
"text": "Displayed after a successful password reset"
|
|
@@ -183,7 +185,7 @@ export class PortalResetPassword {
|
|
|
183
185
|
"optional": false,
|
|
184
186
|
"docs": {
|
|
185
187
|
"tags": [{
|
|
186
|
-
"text": "Password
|
|
188
|
+
"text": "Password Reset Button Text",
|
|
187
189
|
"name": "uiName"
|
|
188
190
|
}],
|
|
189
191
|
"text": ""
|
|
@@ -204,10 +206,10 @@ export class PortalResetPassword {
|
|
|
204
206
|
"optional": false,
|
|
205
207
|
"docs": {
|
|
206
208
|
"tags": [{
|
|
207
|
-
"text": "Continue
|
|
209
|
+
"text": "Continue Button Text",
|
|
208
210
|
"name": "uiName"
|
|
209
211
|
}],
|
|
210
|
-
"text": "
|
|
212
|
+
"text": "Button text displayed after a successful password reset"
|
|
211
213
|
},
|
|
212
214
|
"attribute": "continue-button-text",
|
|
213
215
|
"reflect": false,
|
|
@@ -225,7 +227,7 @@ export class PortalResetPassword {
|
|
|
225
227
|
"optional": false,
|
|
226
228
|
"docs": {
|
|
227
229
|
"tags": [{
|
|
228
|
-
"text": "Confirm
|
|
230
|
+
"text": "Confirm Password Label",
|
|
229
231
|
"name": "uiName"
|
|
230
232
|
}],
|
|
231
233
|
"text": ""
|
|
@@ -246,7 +248,7 @@ export class PortalResetPassword {
|
|
|
246
248
|
"optional": false,
|
|
247
249
|
"docs": {
|
|
248
250
|
"tags": [{
|
|
249
|
-
"text": "Password
|
|
251
|
+
"text": "Password Label",
|
|
250
252
|
"name": "uiName"
|
|
251
253
|
}],
|
|
252
254
|
"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 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 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,6 +4,7 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { ProgramExplainerView } from "./sqm-program-explainer-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Program Explainer
|
|
7
|
+
* @examples Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
|
|
7
8
|
*/
|
|
8
9
|
export class ProgramExplainer {
|
|
9
10
|
constructor() {
|
|
@@ -4,6 +4,8 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { ProgramExplainerStepView } from "./sqm-program-explainer-step-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Program Explainer Step
|
|
7
|
+
* @example Program Explainer Step - <sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step>
|
|
8
|
+
* @validParents ["sqm-program-explainer"]
|
|
7
9
|
*/
|
|
8
10
|
export class ProgramExplainerStep {
|
|
9
11
|
constructor() {
|
|
@@ -4,6 +4,7 @@ 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>
|
|
7
8
|
*/
|
|
8
9
|
export class ReferralCard {
|
|
9
10
|
constructor() {
|
|
@@ -13,11 +13,13 @@ export class SqmReferralIframe {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
this.ignored = true;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Height of the iframe container
|
|
17
|
+
* @uiName Iframe Height
|
|
17
18
|
*/
|
|
18
19
|
this.iframeHeight = "100%";
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
* Width of the iframe container
|
|
22
|
+
* @uiName Iframe Width
|
|
21
23
|
*/
|
|
22
24
|
this.iframeWidth = "100%";
|
|
23
25
|
withHooks(this);
|
|
@@ -53,13 +55,13 @@ export class SqmReferralIframe {
|
|
|
53
55
|
"optional": false,
|
|
54
56
|
"docs": {
|
|
55
57
|
"tags": [{
|
|
56
|
-
"text": "
|
|
58
|
+
"text": "Iframe Source",
|
|
57
59
|
"name": "uiName"
|
|
58
60
|
}, {
|
|
59
61
|
"text": undefined,
|
|
60
|
-
"name": "
|
|
62
|
+
"name": "required"
|
|
61
63
|
}],
|
|
62
|
-
"text": ""
|
|
64
|
+
"text": "URL of iframe to display"
|
|
63
65
|
},
|
|
64
66
|
"attribute": "iframe-src",
|
|
65
67
|
"reflect": false
|
|
@@ -76,10 +78,10 @@ export class SqmReferralIframe {
|
|
|
76
78
|
"optional": false,
|
|
77
79
|
"docs": {
|
|
78
80
|
"tags": [{
|
|
79
|
-
"text": "Height
|
|
81
|
+
"text": "Iframe Height",
|
|
80
82
|
"name": "uiName"
|
|
81
83
|
}],
|
|
82
|
-
"text": ""
|
|
84
|
+
"text": "Height of the iframe container"
|
|
83
85
|
},
|
|
84
86
|
"attribute": "iframe-height",
|
|
85
87
|
"reflect": false,
|
|
@@ -97,10 +99,10 @@ export class SqmReferralIframe {
|
|
|
97
99
|
"optional": false,
|
|
98
100
|
"docs": {
|
|
99
101
|
"tags": [{
|
|
100
|
-
"text": "Width
|
|
102
|
+
"text": "Iframe Width",
|
|
101
103
|
"name": "uiName"
|
|
102
104
|
}],
|
|
103
|
-
"text": ""
|
|
105
|
+
"text": "Width of the iframe container"
|
|
104
106
|
},
|
|
105
107
|
"attribute": "iframe-width",
|
|
106
108
|
"reflect": false,
|
|
@@ -3,6 +3,7 @@ import { Component, getElement, h, Host, Method, Prop } from "@stencil/core";
|
|
|
3
3
|
import { useRequestRerender } from "../../../tables/re-render";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table Generic Column
|
|
6
|
+
* @validParents ["sqm-referral-table"]
|
|
6
7
|
*/
|
|
7
8
|
export class ReferralTableGenericColumn {
|
|
8
9
|
constructor() {
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js
CHANGED
|
@@ -3,6 +3,7 @@ import { Component, h, Host, Method, Prop } from "@stencil/core";
|
|
|
3
3
|
import { useRequestRerender } from "../../../tables/re-render";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table Date Column
|
|
6
|
+
* @validParents ["sqm-referral-table"]
|
|
6
7
|
*/
|
|
7
8
|
export class ReferralTableDateColumn {
|
|
8
9
|
constructor() {
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js
CHANGED
|
@@ -3,6 +3,7 @@ import { Component, h, Host, Method, Prop } from "@stencil/core";
|
|
|
3
3
|
import { useRequestRerender } from "../../../tables/re-render";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table Rewards Column
|
|
6
|
+
* @validParents ["sqm-referral-table"]
|
|
6
7
|
*/
|
|
7
8
|
export class ReferralTableRewardsColumn {
|
|
8
9
|
constructor() {
|
package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js
CHANGED
|
@@ -3,6 +3,7 @@ import { Component, h, Host, Method, Prop } from "@stencil/core";
|
|
|
3
3
|
import { useRequestRerender } from "../../../tables/re-render";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table Status Column
|
|
6
|
+
* @validParents ["sqm-referral-table"]
|
|
6
7
|
*/
|
|
7
8
|
export class ReferralTableStatusColumn {
|
|
8
9
|
constructor() {
|