@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
|
@@ -167,35 +167,45 @@ const PortalProfile = class {
|
|
|
167
167
|
index.registerInstance(this, hostRef);
|
|
168
168
|
this.ignored = true;
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* First name input field label
|
|
171
|
+
*
|
|
172
|
+
* @uiName First Name Label
|
|
171
173
|
*/
|
|
172
174
|
this.firstnametext = "First Name";
|
|
173
175
|
/**
|
|
174
|
-
*
|
|
176
|
+
* Last name input field label
|
|
177
|
+
*
|
|
178
|
+
* @uiName Last Name Label
|
|
175
179
|
*/
|
|
176
180
|
this.lastnametext = "Last Name";
|
|
177
181
|
/**
|
|
178
|
-
*
|
|
182
|
+
* Email input field label
|
|
183
|
+
*
|
|
184
|
+
* @uiName Email Label
|
|
179
185
|
*/
|
|
180
186
|
this.emailtext = "Email";
|
|
181
187
|
/**
|
|
182
|
-
*
|
|
188
|
+
* Country input field label
|
|
189
|
+
*
|
|
190
|
+
* @uiName Country Label
|
|
183
191
|
*/
|
|
184
192
|
this.countrytext = "Country";
|
|
185
193
|
/**
|
|
186
|
-
* @uiName Edit
|
|
194
|
+
* @uiName Edit Profile Header
|
|
187
195
|
*/
|
|
188
196
|
this.editProfileHeader = "Edit your profile";
|
|
189
197
|
/**
|
|
190
|
-
* @uiName Edit
|
|
198
|
+
* @uiName Edit Profile Sub Header
|
|
191
199
|
*/
|
|
192
200
|
this.editProfileSubHeader = "Personal Information";
|
|
193
201
|
/**
|
|
194
|
-
* @uiName
|
|
202
|
+
* @uiName Submit Changes Button Text
|
|
195
203
|
*/
|
|
196
204
|
this.submitChangeButtonText = "Submit Changes";
|
|
197
205
|
/**
|
|
198
|
-
*
|
|
206
|
+
* Show or hide the country field
|
|
207
|
+
*
|
|
208
|
+
* @uiName Show Country Field
|
|
199
209
|
*/
|
|
200
210
|
this.showCountry = true;
|
|
201
211
|
stencilHooks_module.h$1(this);
|
|
@@ -46,7 +46,7 @@ const PortalProtectedRoute = class {
|
|
|
46
46
|
*/
|
|
47
47
|
this.requireEmailVerification = false;
|
|
48
48
|
/**
|
|
49
|
-
* @uiName Redirect
|
|
49
|
+
* @uiName Redirect Unverified Users Path
|
|
50
50
|
*/
|
|
51
51
|
this.redirectToUnverified = "/emailVerification";
|
|
52
52
|
stencilHooks_module.h$1(this);
|
|
@@ -95,45 +95,47 @@ const PortalResetPassword = class {
|
|
|
95
95
|
/**
|
|
96
96
|
* The page that users are redirected to when the password reset succeeds.
|
|
97
97
|
*
|
|
98
|
-
* @uiName Next
|
|
98
|
+
* @uiName Next Page Path
|
|
99
99
|
*/
|
|
100
100
|
this.nextPage = "/";
|
|
101
101
|
/**
|
|
102
102
|
* The page that users are redirected to if the reset fails due to outdated password reset attempt.
|
|
103
103
|
*
|
|
104
|
-
* @uiName Failed
|
|
104
|
+
* @uiName Failed Page Path
|
|
105
105
|
*/
|
|
106
106
|
this.failedPage = "/";
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Show or hide confirm password field
|
|
109
|
+
*
|
|
110
|
+
* @uiName Show Confirm Password
|
|
109
111
|
*/
|
|
110
112
|
this.confirmPassword = false;
|
|
111
113
|
/**
|
|
112
|
-
* @uiName Password
|
|
114
|
+
* @uiName Reset Password Header Text
|
|
113
115
|
*/
|
|
114
116
|
this.resetPasswordHeader = "Reset your password";
|
|
115
117
|
/**
|
|
116
118
|
* Displayed after a successful password reset
|
|
117
119
|
*
|
|
118
|
-
* @uiName Password
|
|
120
|
+
* @uiName Successful Password Reset Text
|
|
119
121
|
*/
|
|
120
122
|
this.passwordResetHeader = "Password reset";
|
|
121
123
|
/**
|
|
122
|
-
* @uiName Password
|
|
124
|
+
* @uiName Password Reset Button Text
|
|
123
125
|
*/
|
|
124
126
|
this.resetPasswordButtonText = "Reset Password";
|
|
125
127
|
/**
|
|
126
|
-
*
|
|
128
|
+
* Button text displayed after a successful password reset
|
|
127
129
|
*
|
|
128
|
-
* @uiName Continue
|
|
130
|
+
* @uiName Continue Button Text
|
|
129
131
|
*/
|
|
130
132
|
this.continueButtonText = "Continue";
|
|
131
133
|
/**
|
|
132
|
-
* @uiName Confirm
|
|
134
|
+
* @uiName Confirm Password Label
|
|
133
135
|
*/
|
|
134
136
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
135
137
|
/**
|
|
136
|
-
* @uiName Password
|
|
138
|
+
* @uiName Password Label
|
|
137
139
|
*/
|
|
138
140
|
this.passwordFieldLabel = "New Password";
|
|
139
141
|
stencilHooks_module.h$1(this);
|
|
@@ -98,13 +98,13 @@ const PortalVerifyEmail = class {
|
|
|
98
98
|
/**
|
|
99
99
|
* The page that users are redirected to when the verification succeeds.
|
|
100
100
|
*
|
|
101
|
-
* @uiName Next
|
|
101
|
+
* @uiName Next Page Path
|
|
102
102
|
*/
|
|
103
103
|
this.nextPage = "/";
|
|
104
104
|
/**
|
|
105
105
|
* The page that users are redirected to if verification fails due to outdated verification attempt.
|
|
106
106
|
*
|
|
107
|
-
* @uiName Failed
|
|
107
|
+
* @uiName Failed Page Path
|
|
108
108
|
*/
|
|
109
109
|
this.failedPage = "/";
|
|
110
110
|
stencilHooks_module.h$1(this);
|
|
@@ -163,20 +163,29 @@ const getMockData = () => {
|
|
|
163
163
|
const ReferralTable = class {
|
|
164
164
|
constructor(hostRef) {
|
|
165
165
|
index.registerInstance(this, hostRef);
|
|
166
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Number of referrals displayed per page
|
|
168
|
+
*
|
|
169
|
+
* @uiName Referrals Per Page
|
|
170
|
+
*/
|
|
167
171
|
this.perPage = 4;
|
|
168
|
-
/** @uiName Show
|
|
172
|
+
/** @uiName Show Column Labels */
|
|
169
173
|
this.showLabels = true;
|
|
170
|
-
/** @uiName Previous
|
|
174
|
+
/** @uiName Previous Button Text */
|
|
171
175
|
this.prevLabel = "Prev";
|
|
172
|
-
/** @uiName View More
|
|
176
|
+
/** @uiName View More Button Text */
|
|
173
177
|
this.moreLabel = "Next";
|
|
174
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* Show referred by user in table
|
|
180
|
+
*
|
|
181
|
+
* @uiName Show Referrer
|
|
182
|
+
*/
|
|
175
183
|
this.showReferrer = false;
|
|
176
184
|
/**
|
|
177
185
|
* Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
|
|
178
186
|
*
|
|
179
|
-
*
|
|
187
|
+
* @uiName Hidden Mobile Columns
|
|
188
|
+
*/
|
|
180
189
|
this.hiddenColumns = "0";
|
|
181
190
|
/** @uiName Mobile Breakpoint */
|
|
182
191
|
this.smBreakpoint = 599;
|
|
@@ -675,11 +684,15 @@ const ReferralTableUserColumn = class {
|
|
|
675
684
|
*/
|
|
676
685
|
this.columnTitle = "Customer";
|
|
677
686
|
/**
|
|
678
|
-
*
|
|
687
|
+
* Name displayed for unknown users
|
|
688
|
+
*
|
|
689
|
+
* @uiName Anonymous User Text
|
|
679
690
|
*/
|
|
680
691
|
this.anonymousUser = "Anonymous User";
|
|
681
692
|
/**
|
|
682
|
-
*
|
|
693
|
+
* Name displayed for deleted users
|
|
694
|
+
*
|
|
695
|
+
* @uiName Deleted User Text
|
|
683
696
|
*/
|
|
684
697
|
this.deletedUser = "Deleted User";
|
|
685
698
|
stencilHooks_module.h$1(this);
|
|
@@ -655,7 +655,7 @@ const RewardsTableColumn = class {
|
|
|
655
655
|
constructor(hostRef) {
|
|
656
656
|
index.registerInstance(this, hostRef);
|
|
657
657
|
/**
|
|
658
|
-
* @uiName Reward
|
|
658
|
+
* @uiName Reward Column Title
|
|
659
659
|
*/
|
|
660
660
|
this.columnTitle = "Reward";
|
|
661
661
|
/**
|
|
@@ -758,15 +758,19 @@ const RewardTableUserColumn = class {
|
|
|
758
758
|
*/
|
|
759
759
|
this.columnTitle = "Source";
|
|
760
760
|
/**
|
|
761
|
-
*
|
|
761
|
+
* Name displayed for unknown users
|
|
762
|
+
*
|
|
763
|
+
* @uiName Anonymous User Text
|
|
762
764
|
*/
|
|
763
765
|
this.anonymousUser = "Anonymous User";
|
|
764
766
|
/**
|
|
765
|
-
*
|
|
767
|
+
* Name displayed for deleted users
|
|
768
|
+
*
|
|
769
|
+
* @uiName Deleted User Text
|
|
766
770
|
*/
|
|
767
771
|
this.deletedUser = "Deleted User";
|
|
768
772
|
/**
|
|
769
|
-
* @uiName Reward Exchange
|
|
773
|
+
* @uiName Reward Exchange Label
|
|
770
774
|
*/
|
|
771
775
|
this.rewardExchangeText = "Reward Exchange";
|
|
772
776
|
/**
|
|
@@ -1852,78 +1852,6 @@ const users = [
|
|
|
1852
1852
|
rowNumber: 10,
|
|
1853
1853
|
},
|
|
1854
1854
|
];
|
|
1855
|
-
const pointsUsers = [
|
|
1856
|
-
{
|
|
1857
|
-
firstName: "",
|
|
1858
|
-
lastInitial: "",
|
|
1859
|
-
textValue: "82 Points",
|
|
1860
|
-
rank: 1,
|
|
1861
|
-
rowNumber: 1,
|
|
1862
|
-
},
|
|
1863
|
-
{
|
|
1864
|
-
firstName: "MF",
|
|
1865
|
-
lastInitial: "D",
|
|
1866
|
-
textValue: "73 Points",
|
|
1867
|
-
rank: 2,
|
|
1868
|
-
rowNumber: 2,
|
|
1869
|
-
},
|
|
1870
|
-
{
|
|
1871
|
-
firstName: "Freddie",
|
|
1872
|
-
lastInitial: "G",
|
|
1873
|
-
textValue: "64 Points",
|
|
1874
|
-
rank: 3,
|
|
1875
|
-
rowNumber: 3,
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
firstName: "Benny",
|
|
1879
|
-
lastInitial: "B",
|
|
1880
|
-
textValue: "55 Points",
|
|
1881
|
-
rank: 4,
|
|
1882
|
-
rowNumber: 4,
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
firstName: "Mos",
|
|
1886
|
-
lastInitial: "D",
|
|
1887
|
-
textValue: "46 Points",
|
|
1888
|
-
rank: 5,
|
|
1889
|
-
rowNumber: 5,
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
firstName: "Joe",
|
|
1893
|
-
lastInitial: "S",
|
|
1894
|
-
textValue: "42 Points",
|
|
1895
|
-
rank: 6,
|
|
1896
|
-
rowNumber: 6,
|
|
1897
|
-
},
|
|
1898
|
-
{
|
|
1899
|
-
firstName: "Zach",
|
|
1900
|
-
lastInitial: "H",
|
|
1901
|
-
textValue: "41 Points",
|
|
1902
|
-
rank: 7,
|
|
1903
|
-
rowNumber: 7,
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
firstName: "Sarah",
|
|
1907
|
-
lastInitial: "S",
|
|
1908
|
-
textValue: "39 Points",
|
|
1909
|
-
rank: 8,
|
|
1910
|
-
rowNumber: 8,
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
firstName: "James",
|
|
1914
|
-
lastInitial: "",
|
|
1915
|
-
textValue: "33 Points",
|
|
1916
|
-
rank: 9,
|
|
1917
|
-
rowNumber: 9,
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
firstName: "",
|
|
1921
|
-
lastInitial: "J",
|
|
1922
|
-
textValue: "29 Points",
|
|
1923
|
-
rank: 10,
|
|
1924
|
-
rowNumber: 10,
|
|
1925
|
-
},
|
|
1926
|
-
];
|
|
1927
1855
|
const defaultStyles$1 = {
|
|
1928
1856
|
usersheading: "User",
|
|
1929
1857
|
statsheading: "Referrals",
|
|
@@ -2130,12 +2058,12 @@ const PointsLeaderboard = () => {
|
|
|
2130
2058
|
},
|
|
2131
2059
|
data: {
|
|
2132
2060
|
rankType: "rowNumber",
|
|
2133
|
-
leaderboard:
|
|
2061
|
+
leaderboard: users,
|
|
2134
2062
|
rowNumber: 10,
|
|
2135
2063
|
viewerRank: {
|
|
2136
2064
|
firstName: "Viktor",
|
|
2137
2065
|
lastInitial: "V",
|
|
2138
|
-
textValue: "82
|
|
2066
|
+
textValue: "82",
|
|
2139
2067
|
rank: 1,
|
|
2140
2068
|
rowNumber: 1,
|
|
2141
2069
|
},
|
|
@@ -9577,17 +9505,17 @@ var marked = stencilHooks_module.createCommonjsModule(function (module, exports)
|
|
|
9577
9505
|
})));
|
|
9578
9506
|
});
|
|
9579
9507
|
|
|
9580
|
-
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9508
|
+
const LoginReadme = "# sqm-portal-login\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | Label for email field | `string` | `\"Email\"` |\n| `forgotPasswordLabel` | `forgot-password-label` | Label for forgotten password button | `string` | `\"Forgot Password?\"` |\n| `forgotPasswordPath` | `forgot-password-path` | Forgot password redirect path | `string` | `\"/forgotPassword\"` |\n| `nextPage` | `next-page` | Page navigated to after sign-in | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Sign in to your account\"` |\n| `passwordLabel` | `password-label` | Label for password field | `string` | `\"Password\"` |\n| `registerLabel` | `register-label` | Label for register button | `string` | `\"Register\"` |\n| `registerPath` | `register-path` | Register redirect path | `string` | `\"/register\"` |\n| `submitLabel` | `submit-label` | Label for submit button | `string` | `\"Sign In\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-login --> sqm-form-message\n sqm-stencilbook --> sqm-portal-login\n style sqm-portal-login fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9581
9509
|
|
|
9582
|
-
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9510
|
+
const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\n| `iframeHeight` | `iframe-height` | Height of the iframe container | `string` | `\"100%\"` |\n| `iframeSrc` | `iframe-src` | URL of iframe to display | `string` | `undefined` |\n| `iframeWidth` | `iframe-width` | Width of the iframe container | `string` | `\"100%\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-stencilbook --> sqm-referral-iframe\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9583
9511
|
|
|
9584
9512
|
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9585
9513
|
|
|
9586
|
-
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` |
|
|
9514
|
+
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page navigated to after registration | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9587
9515
|
|
|
9588
|
-
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description
|
|
9516
|
+
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | Country input field label | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | Email input field label | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | First name input field label | `string` | `\"First Name\"` |\n| `lastnametext` | `lastnametext` | Last name input field label | `string` | `\"Last Name\"` |\n| `showCountry` | `show-country` | Show or hide the country field | `boolean` | `true` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9589
9517
|
|
|
9590
|
-
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` |
|
|
9518
|
+
const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide confirm password field | `boolean` | `false` |\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\n| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; }; }; }` | `undefined` |\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `\"/\"` |\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `\"Password reset\"` |\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-reset-password --> sqm-form-message\n sqm-portal-reset-password --> sqm-password-field\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9591
9519
|
|
|
9592
9520
|
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9593
9521
|
|
|
@@ -33,7 +33,7 @@ export class AssetCard {
|
|
|
33
33
|
"optional": false,
|
|
34
34
|
"docs": {
|
|
35
35
|
"tags": [{
|
|
36
|
-
"text": "Banner
|
|
36
|
+
"text": "Banner Title",
|
|
37
37
|
"name": "uiName"
|
|
38
38
|
}],
|
|
39
39
|
"text": ""
|
|
@@ -53,7 +53,7 @@ export class AssetCard {
|
|
|
53
53
|
"optional": false,
|
|
54
54
|
"docs": {
|
|
55
55
|
"tags": [{
|
|
56
|
-
"text": "Banner
|
|
56
|
+
"text": "Banner Image",
|
|
57
57
|
"name": "uiName"
|
|
58
58
|
}],
|
|
59
59
|
"text": ""
|
|
@@ -8,11 +8,16 @@ import { isDemo, useHost } from "@saasquatch/component-boilerplate";
|
|
|
8
8
|
*
|
|
9
9
|
* @uiName Big Stat
|
|
10
10
|
* @slot the description of the component
|
|
11
|
-
|
|
11
|
+
* @example Points Balance - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat>
|
|
12
|
+
* @example GiftCards Earned - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat>
|
|
13
|
+
* @example Referrals - <sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat>
|
|
14
|
+
*/
|
|
12
15
|
export class BigStat {
|
|
13
16
|
constructor() {
|
|
14
17
|
/**
|
|
15
|
-
*
|
|
18
|
+
* Controls the order of the stat value & description column
|
|
19
|
+
*
|
|
20
|
+
* @uiName Flex Reverse
|
|
16
21
|
*/
|
|
17
22
|
this.flexReverse = false;
|
|
18
23
|
this.ignored = true;
|
|
@@ -49,7 +54,7 @@ export class BigStat {
|
|
|
49
54
|
"name": "uiName"
|
|
50
55
|
}, {
|
|
51
56
|
"text": "{\"version\": 1.1}",
|
|
52
|
-
"name": "
|
|
57
|
+
"name": "uiWidgetOptions"
|
|
53
58
|
}],
|
|
54
59
|
"text": "Select what type of stat to display. Manual paths are also supported."
|
|
55
60
|
},
|
|
@@ -68,10 +73,10 @@ export class BigStat {
|
|
|
68
73
|
"optional": true,
|
|
69
74
|
"docs": {
|
|
70
75
|
"tags": [{
|
|
71
|
-
"text": "Flex Reverse
|
|
76
|
+
"text": "Flex Reverse",
|
|
72
77
|
"name": "uiName"
|
|
73
78
|
}],
|
|
74
|
-
"text": ""
|
|
79
|
+
"text": "Controls the order of the stat value & description column"
|
|
75
80
|
},
|
|
76
81
|
"attribute": "flex-reverse",
|
|
77
82
|
"reflect": false,
|
|
@@ -89,7 +94,7 @@ export class BigStat {
|
|
|
89
94
|
"optional": true,
|
|
90
95
|
"docs": {
|
|
91
96
|
"tags": [{
|
|
92
|
-
"text": "Alignment
|
|
97
|
+
"text": "Alignment",
|
|
93
98
|
"name": "uiName"
|
|
94
99
|
}, {
|
|
95
100
|
"text": "string",
|
|
@@ -101,7 +106,7 @@ export class BigStat {
|
|
|
101
106
|
"text": "[\"Left\", \"Right\", \"Center\"]",
|
|
102
107
|
"name": "uiEnumNames"
|
|
103
108
|
}],
|
|
104
|
-
"text": ""
|
|
109
|
+
"text": "Controls the alignment of the flexbox"
|
|
105
110
|
},
|
|
106
111
|
"attribute": "alignment",
|
|
107
112
|
"reflect": false
|