@saasquatch/mint-components 1.3.3-7 → 1.4.1-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -24
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat.cjs.entry.js +1 -1
- package/dist/cjs/sqm-divided-layout_26.cjs.entry.js +30 -18
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -1
- package/dist/cjs/{useDemoBigStat-ee71b587.js → useDemoBigStat-d7a60992.js} +1 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +20 -0
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -2
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +5 -3
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +5 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +4 -4
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +1 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +9 -6
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +8 -4
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +8 -4
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +1 -1
- package/dist/collection/stories/PortalRegister.stories.js +12 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat.entry.js +1 -1
- package/dist/esm/sqm-divided-layout_26.entry.js +30 -18
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -1
- package/dist/esm/{useDemoBigStat-8865b9fa.js → useDemoBigStat-5557504e.js} +1 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-divided-layout_26.entry.js +1 -1
- package/dist/esm-es5/{useDemoBigStat-8865b9fa.js → useDemoBigStat-5557504e.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-099e36f5.system.entry.js +1 -0
- package/dist/mint-components/p-54707082.system.js +1 -1
- package/dist/mint-components/{p-1e47e0a6.entry.js → p-5fcd8687.entry.js} +1 -1
- package/dist/mint-components/p-975dd0ec.entry.js +230 -0
- package/dist/mint-components/{p-32573409.js → p-b63744fe.js} +1 -1
- package/dist/mint-components/{p-a359f652.system.js → p-c5c029b8.system.js} +1 -1
- package/dist/mint-components/p-ced568fc.system.entry.js +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +6 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +3 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +3 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +2 -2
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +5 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +4 -2
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +5 -1
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +1 -1
- package/dist/types/components.d.ts +40 -16
- package/dist/types/stories/PortalRegister.stories.d.ts +1 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/mint-components/p-06d79243.system.entry.js +0 -1
- package/dist/mint-components/p-9f2a08a9.entry.js +0 -230
- package/dist/mint-components/p-ba09d673.system.entry.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,41 +7,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.4.0] - 2021-12-09
|
|
11
|
+
|
|
12
|
+
- Updated version of component-boilerplate to prevent rare case of user context being deleted during register
|
|
13
|
+
- Updated version of component-boilerplate to support new registration, password reset, and verify requests
|
|
14
|
+
- Changed components:
|
|
15
|
+
- \<sqm-portal-email-verification>
|
|
16
|
+
- Added prop to customize what page a user is redirected to from their verify email, defaults to /verifyEmail
|
|
17
|
+
- \<sqm-portal-forgot-password>
|
|
18
|
+
- Added prop to customize what page a user is redirected to from their password reset email, defaults to /resetPassword
|
|
19
|
+
- Added prop to customize the login button redirection path, defaults to /login
|
|
20
|
+
- \<sqm-portal-login>
|
|
21
|
+
- Added prop to customize the register button redirection path, defaults to /register
|
|
22
|
+
- Added prop to customize the forgot password text link redirection path, defaults to /forgotPassword
|
|
23
|
+
- \<sqm-portal-register>
|
|
24
|
+
- Added prop to customize the login button redirection path, defaults to /login
|
|
25
|
+
- Added prop to customize what page a user is redirect to from their initial verify email, defaults to /verifyEmail
|
|
26
|
+
- \<sqm-portal-reset-password>
|
|
27
|
+
- Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
|
|
28
|
+
- \<sqm-portal-verify-email>
|
|
29
|
+
- Added prop to customize what path users are redirected to when oobcode validation fails, defaults to /
|
|
30
|
+
- \<sqm-big-stat>
|
|
31
|
+
- Added program ID prop to optionally be used instead of the default program context
|
|
32
|
+
|
|
10
33
|
## [1.3.0] - 2021-11-08
|
|
11
34
|
|
|
12
35
|
### Changed
|
|
13
36
|
|
|
14
37
|
- Changed components:
|
|
15
38
|
- \<sqm-share-button>
|
|
16
|
-
|
|
17
|
-
- \<sqm-portal-change-password>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- \<sqm-portal-profile>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- \<sqm-portal-reset-password>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- \<sqm-portal-register>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
39
|
+
- Exported "icon" part so it can be customizable in the future
|
|
40
|
+
- \<sqm-portal-change-password>
|
|
41
|
+
- Changed sl-button in modal to be of type "primary" instead of "default"
|
|
42
|
+
- Swapped location of cancel and change password buttons
|
|
43
|
+
- Added padding between fields
|
|
44
|
+
- Changed hardcoded text into customizable props
|
|
45
|
+
- Changed password field input default label to "New Password"
|
|
46
|
+
- \<sqm-portal-profile>
|
|
47
|
+
- Changed hardcoded text into customizable props
|
|
48
|
+
- Added padding text below header
|
|
49
|
+
- \<sqm-portal-reset-password>
|
|
50
|
+
- Changed hardcoded text into customizable props
|
|
51
|
+
- Changed password field input default label to "New Password"
|
|
52
|
+
- \<sqm-portal-register>
|
|
53
|
+
- Changed hardcoded text into customizable props
|
|
54
|
+
- Changed formData slot to add custom inputs to the top of form instead of the bottom
|
|
55
|
+
- Fixed bug causing the correct error validation message from being shown
|
|
33
56
|
- \<sqm-portal-email-verification>
|
|
34
|
-
|
|
57
|
+
- Changed hardcoded text into customizable props
|
|
35
58
|
- \<sqm-portal-verify-email>
|
|
36
|
-
|
|
59
|
+
- Fixed bug causing users to get stuck if no userIdent existed when verifying their email
|
|
37
60
|
|
|
38
61
|
### Added
|
|
39
62
|
|
|
40
63
|
- Default affiliate portal templates now provided in [Stencilbook](https://mint-components.stencilbook.saasquat.ch)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
64
|
+
- Default Portal
|
|
65
|
+
- Multi Program Portal
|
|
66
|
+
- Lead Submit Portal
|
|
67
|
+
- Portal Dashboard (program widget)
|
|
45
68
|
- New components added for default affiliate portals
|
|
46
69
|
- \<sqm-portal-footer> Footer for providing FAQ, T&S, and support email
|
|
47
70
|
- \<sqm-hero> One or two column landing page with an optional background
|
|
@@ -159,7 +182,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
159
182
|
- \<sqm-popup-container>
|
|
160
183
|
- \<sqm-stencilbook>
|
|
161
184
|
|
|
162
|
-
[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.
|
|
185
|
+
[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.4.0...HEAD
|
|
186
|
+
[1.4.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.4.0
|
|
163
187
|
[1.3.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.3.0
|
|
164
188
|
[1.2.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.2.0
|
|
165
189
|
[1.1.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.1.1
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -18,7 +18,7 @@ const patchEsm = () => {
|
|
|
18
18
|
const defineCustomElements = (win, options) => {
|
|
19
19
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
20
20
|
return patchEsm().then(() => {
|
|
21
|
-
return index.bootstrapLazy([["sqm-portal-reset-password.cjs",[[1,"sqm-portal-reset-password",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"confirmPassword":[4,"confirm-password"],"resetPasswordHeader":[1,"reset-password-header"],"passwordResetHeader":[1,"password-reset-header"],"resetPasswordButtonText":[1,"reset-password-button-text"],"continueButtonText":[1,"continue-button-text"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"passwordFieldLabel":[1,"password-field-label"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-email-verification.cjs",[[1,"sqm-portal-email-verification",{"redirectPath":[1,"redirect-path"],"emailVerificationHeader":[1,"email-verification-header"],"resendEmailButtonText":[1,"resend-email-button-text"],"verifyMessage":[1,"verify-message"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-forgot-password.cjs",[[1,"sqm-portal-forgot-password",{"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"submitLabel":[1,"submit-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-profile.cjs",[[1,"sqm-portal-profile",{"firstnametext":[1],"lastnametext":[1],"emailtext":[1],"countrytext":[1],"editProfileHeader":[1,"edit-profile-header"],"editProfileSubHeader":[1,"edit-profile-sub-header"],"submitChangeButtonText":[1,"submit-change-button-text"],"showCountry":[4,"show-country"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-verify-email.cjs",[[1,"sqm-portal-verify-email",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"demoData":[16],"ignored":[32]}]]],["sqm-referral-table-column.cjs",[[1,"sqm-referral-table-column",{"columnTitle":[1,"column-title"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-date-column.cjs",[[1,"sqm-referral-table-date-column",{"columnTitle":[1,"column-title"],"dateShown":[1,"date-shown"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-rewards-column.cjs",[[1,"sqm-referral-table-rewards-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-status-column.cjs",[[1,"sqm-referral-table-status-column",{"columnTitle":[1,"column-title"],"convertedStatusText":[1,"converted-status-text"],"inProgressStatusText":[1,"in-progress-status-text"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-user-column.cjs",[[1,"sqm-referral-table-user-column",{"columnTitle":[1,"column-title"],"anonymousUser":[1,"anonymous-user"],"deletedUser":[1,"deleted-user"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-asset-card.cjs",[[1,"sqm-asset-card",{"titleText":[1,"title-text"],"imgUrl":[1,"img-url"],"demoData":[16],"ignored":[32]}]]],["sqm-big-stat.cjs",[[1,"sqm-big-stat",{"statType":[1,"stat-type"],"flexReverse":[4,"flex-reverse"],"alignment":[1],"demoData":[16],"ignored":[32]}]]],["sqm-graphql-client-provider.cjs",[[4,"sqm-graphql-client-provider",{"domain":[1],"ignored":[32]}]]],["sqm-hero.cjs",[[1,"sqm-hero",{"columns":[2],"background":[1],"paddingSize":[1,"padding-size"],"secondaryBackground":[1,"secondary-background"],"wrapDirection":[1,"wrap-direction"]}]]],["sqm-leaderboard.cjs",[[1,"sqm-leaderboard",{"usersheading":[1],"statsheading":[1],"rankheading":[1],"showRank":[4,"show-rank"],"rankType":[1,"rank-type"],"leaderboardType":[1,"leaderboard-type"],"interval":[1],"demoData":[16],"ignored":[32]}]]],["sqm-leaderboard-rank.cjs",[[1,"sqm-leaderboard-rank",{"rankType":[1,"rank-type"],"rankText":[1,"rank-text"],"leaderboardType":[1,"leaderboard-type"],"unrankedText":[1,"unranked-text"],"interval":[1],"demoData":[16]}]]],["sqm-name-fields.cjs",[[0,"sqm-name-fields",{"firstNameLabel":[1,"first-name-label"],"lastNameLabel":[1,"last-name-label"],"demoData":[16],"ignored":[32]}]]],["sqm-navigation-sidebar.cjs",[[1,"sqm-navigation-sidebar",{"ignored":[32]}]]],["sqm-navigation-sidebar-item.cjs",[[1,"sqm-navigation-sidebar-item",{"path":[1],"icon":[1],"label":[1],"demoData":[16]}]]],["sqm-popup-container.cjs",[[4,"sqm-popup-container",{"poweredBy":[4,"powered-by"],"closeButton":[4,"close-button"],"closeButtonText":[1,"close-button-text"],"embedPadding":[1,"embed-padding"],"popupPadding":[1,"popup-padding"]}]]],["sqm-portal-container.cjs",[[1,"sqm-portal-container",{"direction":[1],"padding":[1],"gap":[1],"minWidth":[1,"min-width"],"ignored":[32]}]]],["sqm-portal-footer.cjs",[[1,"sqm-portal-footer",{"supportEmail":[1,"support-email"],"supportText":[1,"support-text"],"termsLink":[1,"terms-link"],"termsText":[1,"terms-text"],"faqLink":[1,"faq-link"],"faqText":[1,"faq-text"],"showPoweredBy":[4,"show-powered-by"],"poweredByLink":[1,"powered-by-link"],"paddingTop":[1,"padding-top"],"paddingRight":[1,"padding-right"],"paddingBottom":[1,"padding-bottom"],"paddingLeft":[1,"padding-left"],"ignored":[32]}]]],["sqm-portal-logout.cjs",[[1,"sqm-portal-logout",{"nextPage":[1,"next-page"],"ignored":[32]}]]],["sqm-portal-protected-route.cjs",[[1,"sqm-portal-protected-route",{"redirectTo":[1,"redirect-to"],"requireEmailVerification":[4,"require-email-verification"],"redirectToUnverified":[1,"redirect-to-unverified"],"ignored":[32]}]]],["sqm-route.cjs",[[1,"sqm-route",{"path":[1],"ignored":[32]}]]],["sqm-share-code.cjs",[[1,"sqm-share-code",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}]]],["sqm-stat-container.cjs",[[1,"sqm-stat-container",{"space":[1],"ignored":[32]}]]],["sqm-text-span.cjs",[[0,"sqm-text-span",{"text":[1],"type":[1],"ignored":[32]}]]],["sqm-titled-section.cjs",[[1,"sqm-titled-section",{"label":[1],"labelMargin":[1,"label-margin"],"padding":[1]}]]],["sqm-divided-layout_26.cjs",[[4,"sqm-stencilbook",{"ignored":[32]}],[1,"sqm-referral-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-portal-change-password",{"modalChangePasswordHeader":[1,"modal-change-password-header"],"cancelText":[1,"cancel-text"],"changePasswordButtonText":[1,"change-password-button-text"],"passwordFieldLabel":[1,"password-field-label"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"successMessage":[1,"success-message"],"portalChangePasswordHeader":[1,"portal-change-password-header"],"portalChangePasswordButtonText":[1,"portal-change-password-button-text"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-register",{"nextPage":[1,"next-page"],"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"loginLabel":[1,"login-label"],"confirmPasswordLabel":[1,"confirm-password-label"],"confirmPassword":[4,"confirm-password"],"enablePasswordValidation":[4,"enable-password-validation"],"hideInputs":[4,"hide-inputs"],"pageLabel":[1,"page-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-edit-profile",{"editprofileheader":[1],"editprofiletext":[1],"canceltext":[1],"updatetext":[1],"firstnametext":[1],"lastnametext":[1],"currentregiontext":[1],"showregion":[4],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-login",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"forgotPasswordLabel":[1,"forgot-password-label"],"registerLabel":[1,"register-label"],"pageLabel":[1,"page-label"],"registerPath":[1,"register-path"],"forgotPasswordPath":[1,"forgot-password-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-divided-layout",{"direction":[1],"dividerStyle":[1,"divider-style"]}],[0,"sqm-hook-story-container",{"hookStory":[16],"ignored":[32]}],[1,"sqm-navigation-menu",{"includeDropdown":[4,"include-dropdown"],"menuLabel":[1,"menu-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-frame",{"demoData":[16],"ignored":[32]}],[4,"sqm-program-menu",{"ignored":[32]}],[0,"sqm-referral-iframe",{"iframeSrc":[1,"iframe-src"],"iframeHeight":[1,"iframe-height"],"iframeWidth":[1,"iframe-width"],"demoData":[16],"ignored":[32]}],[4,"sqm-router",{"ignored":[32]}],[1,"sqm-share-button",{"medium":[1],"programId":[1,"program-id"],"pill":[4],"disabled":[4],"type":[1],"size":[1],"iconslot":[1],"icon":[1],"hideicon":[4],"hidetext":[4],"sharetitle":[1],"sharetext":[1],"demoData":[16]}],[1,"sqm-share-link",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}],[1,"sqm-user-name",{"fallback":[1],"loadingText":[1,"loading-text"],"demoData":[16],"_ignored":[32]}],[1,"sqm-referral-table-cell",{"innerTemplate":[1,"inner-template"],"ignored":[32]}],[1,"sqm-referral-table-date-cell",{"date":[2],"ignored":[32]}],[1,"sqm-referral-table-rewards-cell",{"rewards":[16],"hideDetails":[4,"hide-details"]}],[1,"sqm-referral-table-status-cell",{"statusText":[1,"status-text"],"converted":[4]}],[1,"sqm-referral-table-user-cell",{"name":[1]}],[1,"sqm-table-cell",{"colspan":[2],"padding":[1]}],[1,"sqm-table-row",{"border":[1]}],[4,"sqm-text",{"ignored":[32]}],[0,"sqm-password-field",{"fieldLabel":[1,"field-label"],"enableValidation":[4,"enable-validation"],"demoData":[16],"ignored":[32]}],[1,"sqm-form-message",{"type":[1],"icon":[1],"ignored":[32]}]]]], options);
|
|
21
|
+
return index.bootstrapLazy([["sqm-portal-reset-password.cjs",[[1,"sqm-portal-reset-password",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"confirmPassword":[4,"confirm-password"],"resetPasswordHeader":[1,"reset-password-header"],"passwordResetHeader":[1,"password-reset-header"],"resetPasswordButtonText":[1,"reset-password-button-text"],"continueButtonText":[1,"continue-button-text"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"passwordFieldLabel":[1,"password-field-label"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-email-verification.cjs",[[1,"sqm-portal-email-verification",{"redirectPath":[1,"redirect-path"],"emailVerificationHeader":[1,"email-verification-header"],"resendEmailButtonText":[1,"resend-email-button-text"],"verifyMessage":[1,"verify-message"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-forgot-password.cjs",[[1,"sqm-portal-forgot-password",{"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"submitLabel":[1,"submit-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-profile.cjs",[[1,"sqm-portal-profile",{"firstnametext":[1],"lastnametext":[1],"emailtext":[1],"countrytext":[1],"editProfileHeader":[1,"edit-profile-header"],"editProfileSubHeader":[1,"edit-profile-sub-header"],"submitChangeButtonText":[1,"submit-change-button-text"],"showCountry":[4,"show-country"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-verify-email.cjs",[[1,"sqm-portal-verify-email",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"demoData":[16],"ignored":[32]}]]],["sqm-referral-table-column.cjs",[[1,"sqm-referral-table-column",{"columnTitle":[1,"column-title"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-date-column.cjs",[[1,"sqm-referral-table-date-column",{"columnTitle":[1,"column-title"],"dateShown":[1,"date-shown"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-rewards-column.cjs",[[1,"sqm-referral-table-rewards-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-status-column.cjs",[[1,"sqm-referral-table-status-column",{"columnTitle":[1,"column-title"],"convertedStatusText":[1,"converted-status-text"],"inProgressStatusText":[1,"in-progress-status-text"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-user-column.cjs",[[1,"sqm-referral-table-user-column",{"columnTitle":[1,"column-title"],"anonymousUser":[1,"anonymous-user"],"deletedUser":[1,"deleted-user"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-asset-card.cjs",[[1,"sqm-asset-card",{"titleText":[1,"title-text"],"imgUrl":[1,"img-url"],"demoData":[16],"ignored":[32]}]]],["sqm-big-stat.cjs",[[1,"sqm-big-stat",{"statType":[1,"stat-type"],"flexReverse":[4,"flex-reverse"],"alignment":[1],"programId":[1,"program-id"],"demoData":[16],"ignored":[32]}]]],["sqm-graphql-client-provider.cjs",[[4,"sqm-graphql-client-provider",{"domain":[1],"ignored":[32]}]]],["sqm-hero.cjs",[[1,"sqm-hero",{"columns":[2],"background":[1],"paddingSize":[1,"padding-size"],"secondaryBackground":[1,"secondary-background"],"wrapDirection":[1,"wrap-direction"]}]]],["sqm-leaderboard.cjs",[[1,"sqm-leaderboard",{"usersheading":[1],"statsheading":[1],"rankheading":[1],"showRank":[4,"show-rank"],"rankType":[1,"rank-type"],"leaderboardType":[1,"leaderboard-type"],"interval":[1],"demoData":[16],"ignored":[32]}]]],["sqm-leaderboard-rank.cjs",[[1,"sqm-leaderboard-rank",{"rankType":[1,"rank-type"],"rankText":[1,"rank-text"],"leaderboardType":[1,"leaderboard-type"],"unrankedText":[1,"unranked-text"],"interval":[1],"demoData":[16]}]]],["sqm-name-fields.cjs",[[0,"sqm-name-fields",{"firstNameLabel":[1,"first-name-label"],"lastNameLabel":[1,"last-name-label"],"demoData":[16],"ignored":[32]}]]],["sqm-navigation-sidebar.cjs",[[1,"sqm-navigation-sidebar",{"ignored":[32]}]]],["sqm-navigation-sidebar-item.cjs",[[1,"sqm-navigation-sidebar-item",{"path":[1],"icon":[1],"label":[1],"demoData":[16]}]]],["sqm-popup-container.cjs",[[4,"sqm-popup-container",{"poweredBy":[4,"powered-by"],"closeButton":[4,"close-button"],"closeButtonText":[1,"close-button-text"],"embedPadding":[1,"embed-padding"],"popupPadding":[1,"popup-padding"]}]]],["sqm-portal-container.cjs",[[1,"sqm-portal-container",{"direction":[1],"padding":[1],"gap":[1],"minWidth":[1,"min-width"],"ignored":[32]}]]],["sqm-portal-footer.cjs",[[1,"sqm-portal-footer",{"supportEmail":[1,"support-email"],"supportText":[1,"support-text"],"termsLink":[1,"terms-link"],"termsText":[1,"terms-text"],"faqLink":[1,"faq-link"],"faqText":[1,"faq-text"],"showPoweredBy":[4,"show-powered-by"],"poweredByLink":[1,"powered-by-link"],"paddingTop":[1,"padding-top"],"paddingRight":[1,"padding-right"],"paddingBottom":[1,"padding-bottom"],"paddingLeft":[1,"padding-left"],"ignored":[32]}]]],["sqm-portal-logout.cjs",[[1,"sqm-portal-logout",{"nextPage":[1,"next-page"],"ignored":[32]}]]],["sqm-portal-protected-route.cjs",[[1,"sqm-portal-protected-route",{"redirectTo":[1,"redirect-to"],"requireEmailVerification":[4,"require-email-verification"],"redirectToUnverified":[1,"redirect-to-unverified"],"ignored":[32]}]]],["sqm-route.cjs",[[1,"sqm-route",{"path":[1],"ignored":[32]}]]],["sqm-share-code.cjs",[[1,"sqm-share-code",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}]]],["sqm-stat-container.cjs",[[1,"sqm-stat-container",{"space":[1],"ignored":[32]}]]],["sqm-text-span.cjs",[[0,"sqm-text-span",{"text":[1],"type":[1],"ignored":[32]}]]],["sqm-titled-section.cjs",[[1,"sqm-titled-section",{"label":[1],"labelMargin":[1,"label-margin"],"padding":[1]}]]],["sqm-divided-layout_26.cjs",[[4,"sqm-stencilbook",{"ignored":[32]}],[1,"sqm-referral-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-portal-change-password",{"modalChangePasswordHeader":[1,"modal-change-password-header"],"cancelText":[1,"cancel-text"],"changePasswordButtonText":[1,"change-password-button-text"],"passwordFieldLabel":[1,"password-field-label"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"successMessage":[1,"success-message"],"portalChangePasswordHeader":[1,"portal-change-password-header"],"portalChangePasswordButtonText":[1,"portal-change-password-button-text"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-register",{"nextPage":[1,"next-page"],"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"loginLabel":[1,"login-label"],"confirmPasswordLabel":[1,"confirm-password-label"],"confirmPassword":[4,"confirm-password"],"enablePasswordValidation":[4,"enable-password-validation"],"hideInputs":[4,"hide-inputs"],"pageLabel":[1,"page-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-edit-profile",{"editprofileheader":[1],"editprofiletext":[1],"canceltext":[1],"updatetext":[1],"firstnametext":[1],"lastnametext":[1],"currentregiontext":[1],"showregion":[4],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-login",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"forgotPasswordLabel":[1,"forgot-password-label"],"registerLabel":[1,"register-label"],"pageLabel":[1,"page-label"],"registerPath":[1,"register-path"],"forgotPasswordPath":[1,"forgot-password-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-divided-layout",{"direction":[1],"dividerStyle":[1,"divider-style"]}],[0,"sqm-hook-story-container",{"hookStory":[16],"ignored":[32]}],[1,"sqm-navigation-menu",{"includeDropdown":[4,"include-dropdown"],"menuLabel":[1,"menu-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-frame",{"demoData":[16],"ignored":[32]}],[4,"sqm-program-menu",{"ignored":[32]}],[0,"sqm-referral-iframe",{"iframeSrc":[1,"iframe-src"],"iframeHeight":[1,"iframe-height"],"iframeWidth":[1,"iframe-width"],"demoData":[16],"ignored":[32]}],[4,"sqm-router",{"ignored":[32]}],[1,"sqm-share-button",{"medium":[1],"programId":[1,"program-id"],"pill":[4],"disabled":[4],"type":[1],"size":[1],"iconslot":[1],"icon":[1],"hideicon":[4],"hidetext":[4],"sharetitle":[1],"sharetext":[1],"demoData":[16]}],[1,"sqm-share-link",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}],[1,"sqm-user-name",{"fallback":[1],"loadingText":[1,"loading-text"],"demoData":[16],"_ignored":[32]}],[1,"sqm-referral-table-cell",{"innerTemplate":[1,"inner-template"],"ignored":[32]}],[1,"sqm-referral-table-date-cell",{"date":[2],"ignored":[32]}],[1,"sqm-referral-table-rewards-cell",{"rewards":[16],"hideDetails":[4,"hide-details"]}],[1,"sqm-referral-table-status-cell",{"statusText":[1,"status-text"],"converted":[4]}],[1,"sqm-referral-table-user-cell",{"name":[1]}],[1,"sqm-table-cell",{"colspan":[2],"padding":[1]}],[1,"sqm-table-row",{"border":[1]}],[4,"sqm-text",{"ignored":[32]}],[0,"sqm-password-field",{"fieldLabel":[1,"field-label"],"enableValidation":[4,"enable-validation"],"demoData":[16],"ignored":[32]}],[1,"sqm-form-message",{"type":[1],"icon":[1],"ignored":[32]}]]]], options);
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -42,5 +42,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
patchBrowser().then(options => {
|
|
45
|
-
return index.bootstrapLazy([["sqm-portal-reset-password.cjs",[[1,"sqm-portal-reset-password",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"confirmPassword":[4,"confirm-password"],"resetPasswordHeader":[1,"reset-password-header"],"passwordResetHeader":[1,"password-reset-header"],"resetPasswordButtonText":[1,"reset-password-button-text"],"continueButtonText":[1,"continue-button-text"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"passwordFieldLabel":[1,"password-field-label"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-email-verification.cjs",[[1,"sqm-portal-email-verification",{"redirectPath":[1,"redirect-path"],"emailVerificationHeader":[1,"email-verification-header"],"resendEmailButtonText":[1,"resend-email-button-text"],"verifyMessage":[1,"verify-message"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-forgot-password.cjs",[[1,"sqm-portal-forgot-password",{"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"submitLabel":[1,"submit-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-profile.cjs",[[1,"sqm-portal-profile",{"firstnametext":[1],"lastnametext":[1],"emailtext":[1],"countrytext":[1],"editProfileHeader":[1,"edit-profile-header"],"editProfileSubHeader":[1,"edit-profile-sub-header"],"submitChangeButtonText":[1,"submit-change-button-text"],"showCountry":[4,"show-country"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-verify-email.cjs",[[1,"sqm-portal-verify-email",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"demoData":[16],"ignored":[32]}]]],["sqm-referral-table-column.cjs",[[1,"sqm-referral-table-column",{"columnTitle":[1,"column-title"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-date-column.cjs",[[1,"sqm-referral-table-date-column",{"columnTitle":[1,"column-title"],"dateShown":[1,"date-shown"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-rewards-column.cjs",[[1,"sqm-referral-table-rewards-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-status-column.cjs",[[1,"sqm-referral-table-status-column",{"columnTitle":[1,"column-title"],"convertedStatusText":[1,"converted-status-text"],"inProgressStatusText":[1,"in-progress-status-text"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-user-column.cjs",[[1,"sqm-referral-table-user-column",{"columnTitle":[1,"column-title"],"anonymousUser":[1,"anonymous-user"],"deletedUser":[1,"deleted-user"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-asset-card.cjs",[[1,"sqm-asset-card",{"titleText":[1,"title-text"],"imgUrl":[1,"img-url"],"demoData":[16],"ignored":[32]}]]],["sqm-big-stat.cjs",[[1,"sqm-big-stat",{"statType":[1,"stat-type"],"flexReverse":[4,"flex-reverse"],"alignment":[1],"demoData":[16],"ignored":[32]}]]],["sqm-graphql-client-provider.cjs",[[4,"sqm-graphql-client-provider",{"domain":[1],"ignored":[32]}]]],["sqm-hero.cjs",[[1,"sqm-hero",{"columns":[2],"background":[1],"paddingSize":[1,"padding-size"],"secondaryBackground":[1,"secondary-background"],"wrapDirection":[1,"wrap-direction"]}]]],["sqm-leaderboard.cjs",[[1,"sqm-leaderboard",{"usersheading":[1],"statsheading":[1],"rankheading":[1],"showRank":[4,"show-rank"],"rankType":[1,"rank-type"],"leaderboardType":[1,"leaderboard-type"],"interval":[1],"demoData":[16],"ignored":[32]}]]],["sqm-leaderboard-rank.cjs",[[1,"sqm-leaderboard-rank",{"rankType":[1,"rank-type"],"rankText":[1,"rank-text"],"leaderboardType":[1,"leaderboard-type"],"unrankedText":[1,"unranked-text"],"interval":[1],"demoData":[16]}]]],["sqm-name-fields.cjs",[[0,"sqm-name-fields",{"firstNameLabel":[1,"first-name-label"],"lastNameLabel":[1,"last-name-label"],"demoData":[16],"ignored":[32]}]]],["sqm-navigation-sidebar.cjs",[[1,"sqm-navigation-sidebar",{"ignored":[32]}]]],["sqm-navigation-sidebar-item.cjs",[[1,"sqm-navigation-sidebar-item",{"path":[1],"icon":[1],"label":[1],"demoData":[16]}]]],["sqm-popup-container.cjs",[[4,"sqm-popup-container",{"poweredBy":[4,"powered-by"],"closeButton":[4,"close-button"],"closeButtonText":[1,"close-button-text"],"embedPadding":[1,"embed-padding"],"popupPadding":[1,"popup-padding"]}]]],["sqm-portal-container.cjs",[[1,"sqm-portal-container",{"direction":[1],"padding":[1],"gap":[1],"minWidth":[1,"min-width"],"ignored":[32]}]]],["sqm-portal-footer.cjs",[[1,"sqm-portal-footer",{"supportEmail":[1,"support-email"],"supportText":[1,"support-text"],"termsLink":[1,"terms-link"],"termsText":[1,"terms-text"],"faqLink":[1,"faq-link"],"faqText":[1,"faq-text"],"showPoweredBy":[4,"show-powered-by"],"poweredByLink":[1,"powered-by-link"],"paddingTop":[1,"padding-top"],"paddingRight":[1,"padding-right"],"paddingBottom":[1,"padding-bottom"],"paddingLeft":[1,"padding-left"],"ignored":[32]}]]],["sqm-portal-logout.cjs",[[1,"sqm-portal-logout",{"nextPage":[1,"next-page"],"ignored":[32]}]]],["sqm-portal-protected-route.cjs",[[1,"sqm-portal-protected-route",{"redirectTo":[1,"redirect-to"],"requireEmailVerification":[4,"require-email-verification"],"redirectToUnverified":[1,"redirect-to-unverified"],"ignored":[32]}]]],["sqm-route.cjs",[[1,"sqm-route",{"path":[1],"ignored":[32]}]]],["sqm-share-code.cjs",[[1,"sqm-share-code",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}]]],["sqm-stat-container.cjs",[[1,"sqm-stat-container",{"space":[1],"ignored":[32]}]]],["sqm-text-span.cjs",[[0,"sqm-text-span",{"text":[1],"type":[1],"ignored":[32]}]]],["sqm-titled-section.cjs",[[1,"sqm-titled-section",{"label":[1],"labelMargin":[1,"label-margin"],"padding":[1]}]]],["sqm-divided-layout_26.cjs",[[4,"sqm-stencilbook",{"ignored":[32]}],[1,"sqm-referral-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-portal-change-password",{"modalChangePasswordHeader":[1,"modal-change-password-header"],"cancelText":[1,"cancel-text"],"changePasswordButtonText":[1,"change-password-button-text"],"passwordFieldLabel":[1,"password-field-label"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"successMessage":[1,"success-message"],"portalChangePasswordHeader":[1,"portal-change-password-header"],"portalChangePasswordButtonText":[1,"portal-change-password-button-text"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-register",{"nextPage":[1,"next-page"],"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"loginLabel":[1,"login-label"],"confirmPasswordLabel":[1,"confirm-password-label"],"confirmPassword":[4,"confirm-password"],"enablePasswordValidation":[4,"enable-password-validation"],"hideInputs":[4,"hide-inputs"],"pageLabel":[1,"page-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-edit-profile",{"editprofileheader":[1],"editprofiletext":[1],"canceltext":[1],"updatetext":[1],"firstnametext":[1],"lastnametext":[1],"currentregiontext":[1],"showregion":[4],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-login",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"forgotPasswordLabel":[1,"forgot-password-label"],"registerLabel":[1,"register-label"],"pageLabel":[1,"page-label"],"registerPath":[1,"register-path"],"forgotPasswordPath":[1,"forgot-password-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-divided-layout",{"direction":[1],"dividerStyle":[1,"divider-style"]}],[0,"sqm-hook-story-container",{"hookStory":[16],"ignored":[32]}],[1,"sqm-navigation-menu",{"includeDropdown":[4,"include-dropdown"],"menuLabel":[1,"menu-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-frame",{"demoData":[16],"ignored":[32]}],[4,"sqm-program-menu",{"ignored":[32]}],[0,"sqm-referral-iframe",{"iframeSrc":[1,"iframe-src"],"iframeHeight":[1,"iframe-height"],"iframeWidth":[1,"iframe-width"],"demoData":[16],"ignored":[32]}],[4,"sqm-router",{"ignored":[32]}],[1,"sqm-share-button",{"medium":[1],"programId":[1,"program-id"],"pill":[4],"disabled":[4],"type":[1],"size":[1],"iconslot":[1],"icon":[1],"hideicon":[4],"hidetext":[4],"sharetitle":[1],"sharetext":[1],"demoData":[16]}],[1,"sqm-share-link",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}],[1,"sqm-user-name",{"fallback":[1],"loadingText":[1,"loading-text"],"demoData":[16],"_ignored":[32]}],[1,"sqm-referral-table-cell",{"innerTemplate":[1,"inner-template"],"ignored":[32]}],[1,"sqm-referral-table-date-cell",{"date":[2],"ignored":[32]}],[1,"sqm-referral-table-rewards-cell",{"rewards":[16],"hideDetails":[4,"hide-details"]}],[1,"sqm-referral-table-status-cell",{"statusText":[1,"status-text"],"converted":[4]}],[1,"sqm-referral-table-user-cell",{"name":[1]}],[1,"sqm-table-cell",{"colspan":[2],"padding":[1]}],[1,"sqm-table-row",{"border":[1]}],[4,"sqm-text",{"ignored":[32]}],[0,"sqm-password-field",{"fieldLabel":[1,"field-label"],"enableValidation":[4,"enable-validation"],"demoData":[16],"ignored":[32]}],[1,"sqm-form-message",{"type":[1],"icon":[1],"ignored":[32]}]]]], options);
|
|
45
|
+
return index.bootstrapLazy([["sqm-portal-reset-password.cjs",[[1,"sqm-portal-reset-password",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"confirmPassword":[4,"confirm-password"],"resetPasswordHeader":[1,"reset-password-header"],"passwordResetHeader":[1,"password-reset-header"],"resetPasswordButtonText":[1,"reset-password-button-text"],"continueButtonText":[1,"continue-button-text"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"passwordFieldLabel":[1,"password-field-label"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-email-verification.cjs",[[1,"sqm-portal-email-verification",{"redirectPath":[1,"redirect-path"],"emailVerificationHeader":[1,"email-verification-header"],"resendEmailButtonText":[1,"resend-email-button-text"],"verifyMessage":[1,"verify-message"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-forgot-password.cjs",[[1,"sqm-portal-forgot-password",{"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"submitLabel":[1,"submit-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-profile.cjs",[[1,"sqm-portal-profile",{"firstnametext":[1],"lastnametext":[1],"emailtext":[1],"countrytext":[1],"editProfileHeader":[1,"edit-profile-header"],"editProfileSubHeader":[1,"edit-profile-sub-header"],"submitChangeButtonText":[1,"submit-change-button-text"],"showCountry":[4,"show-country"],"demoData":[16],"ignored":[32]}]]],["sqm-portal-verify-email.cjs",[[1,"sqm-portal-verify-email",{"nextPage":[1,"next-page"],"failedPage":[1,"failed-page"],"demoData":[16],"ignored":[32]}]]],["sqm-referral-table-column.cjs",[[1,"sqm-referral-table-column",{"columnTitle":[1,"column-title"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-date-column.cjs",[[1,"sqm-referral-table-date-column",{"columnTitle":[1,"column-title"],"dateShown":[1,"date-shown"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-rewards-column.cjs",[[1,"sqm-referral-table-rewards-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-status-column.cjs",[[1,"sqm-referral-table-status-column",{"columnTitle":[1,"column-title"],"convertedStatusText":[1,"converted-status-text"],"inProgressStatusText":[1,"in-progress-status-text"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-referral-table-user-column.cjs",[[1,"sqm-referral-table-user-column",{"columnTitle":[1,"column-title"],"anonymousUser":[1,"anonymous-user"],"deletedUser":[1,"deleted-user"],"renderCell":[64],"renderLabel":[64]}]]],["sqm-asset-card.cjs",[[1,"sqm-asset-card",{"titleText":[1,"title-text"],"imgUrl":[1,"img-url"],"demoData":[16],"ignored":[32]}]]],["sqm-big-stat.cjs",[[1,"sqm-big-stat",{"statType":[1,"stat-type"],"flexReverse":[4,"flex-reverse"],"alignment":[1],"programId":[1,"program-id"],"demoData":[16],"ignored":[32]}]]],["sqm-graphql-client-provider.cjs",[[4,"sqm-graphql-client-provider",{"domain":[1],"ignored":[32]}]]],["sqm-hero.cjs",[[1,"sqm-hero",{"columns":[2],"background":[1],"paddingSize":[1,"padding-size"],"secondaryBackground":[1,"secondary-background"],"wrapDirection":[1,"wrap-direction"]}]]],["sqm-leaderboard.cjs",[[1,"sqm-leaderboard",{"usersheading":[1],"statsheading":[1],"rankheading":[1],"showRank":[4,"show-rank"],"rankType":[1,"rank-type"],"leaderboardType":[1,"leaderboard-type"],"interval":[1],"demoData":[16],"ignored":[32]}]]],["sqm-leaderboard-rank.cjs",[[1,"sqm-leaderboard-rank",{"rankType":[1,"rank-type"],"rankText":[1,"rank-text"],"leaderboardType":[1,"leaderboard-type"],"unrankedText":[1,"unranked-text"],"interval":[1],"demoData":[16]}]]],["sqm-name-fields.cjs",[[0,"sqm-name-fields",{"firstNameLabel":[1,"first-name-label"],"lastNameLabel":[1,"last-name-label"],"demoData":[16],"ignored":[32]}]]],["sqm-navigation-sidebar.cjs",[[1,"sqm-navigation-sidebar",{"ignored":[32]}]]],["sqm-navigation-sidebar-item.cjs",[[1,"sqm-navigation-sidebar-item",{"path":[1],"icon":[1],"label":[1],"demoData":[16]}]]],["sqm-popup-container.cjs",[[4,"sqm-popup-container",{"poweredBy":[4,"powered-by"],"closeButton":[4,"close-button"],"closeButtonText":[1,"close-button-text"],"embedPadding":[1,"embed-padding"],"popupPadding":[1,"popup-padding"]}]]],["sqm-portal-container.cjs",[[1,"sqm-portal-container",{"direction":[1],"padding":[1],"gap":[1],"minWidth":[1,"min-width"],"ignored":[32]}]]],["sqm-portal-footer.cjs",[[1,"sqm-portal-footer",{"supportEmail":[1,"support-email"],"supportText":[1,"support-text"],"termsLink":[1,"terms-link"],"termsText":[1,"terms-text"],"faqLink":[1,"faq-link"],"faqText":[1,"faq-text"],"showPoweredBy":[4,"show-powered-by"],"poweredByLink":[1,"powered-by-link"],"paddingTop":[1,"padding-top"],"paddingRight":[1,"padding-right"],"paddingBottom":[1,"padding-bottom"],"paddingLeft":[1,"padding-left"],"ignored":[32]}]]],["sqm-portal-logout.cjs",[[1,"sqm-portal-logout",{"nextPage":[1,"next-page"],"ignored":[32]}]]],["sqm-portal-protected-route.cjs",[[1,"sqm-portal-protected-route",{"redirectTo":[1,"redirect-to"],"requireEmailVerification":[4,"require-email-verification"],"redirectToUnverified":[1,"redirect-to-unverified"],"ignored":[32]}]]],["sqm-route.cjs",[[1,"sqm-route",{"path":[1],"ignored":[32]}]]],["sqm-share-code.cjs",[[1,"sqm-share-code",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}]]],["sqm-stat-container.cjs",[[1,"sqm-stat-container",{"space":[1],"ignored":[32]}]]],["sqm-text-span.cjs",[[0,"sqm-text-span",{"text":[1],"type":[1],"ignored":[32]}]]],["sqm-titled-section.cjs",[[1,"sqm-titled-section",{"label":[1],"labelMargin":[1,"label-margin"],"padding":[1]}]]],["sqm-divided-layout_26.cjs",[[4,"sqm-stencilbook",{"ignored":[32]}],[1,"sqm-referral-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-portal-change-password",{"modalChangePasswordHeader":[1,"modal-change-password-header"],"cancelText":[1,"cancel-text"],"changePasswordButtonText":[1,"change-password-button-text"],"passwordFieldLabel":[1,"password-field-label"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"successMessage":[1,"success-message"],"portalChangePasswordHeader":[1,"portal-change-password-header"],"portalChangePasswordButtonText":[1,"portal-change-password-button-text"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-register",{"nextPage":[1,"next-page"],"redirectPath":[1,"redirect-path"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"loginLabel":[1,"login-label"],"confirmPasswordLabel":[1,"confirm-password-label"],"confirmPassword":[4,"confirm-password"],"enablePasswordValidation":[4,"enable-password-validation"],"hideInputs":[4,"hide-inputs"],"pageLabel":[1,"page-label"],"loginPath":[1,"login-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-edit-profile",{"editprofileheader":[1],"editprofiletext":[1],"canceltext":[1],"updatetext":[1],"firstnametext":[1],"lastnametext":[1],"currentregiontext":[1],"showregion":[4],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-login",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"forgotPasswordLabel":[1,"forgot-password-label"],"registerLabel":[1,"register-label"],"pageLabel":[1,"page-label"],"registerPath":[1,"register-path"],"forgotPasswordPath":[1,"forgot-password-path"],"demoData":[16],"ignored":[32]}],[1,"sqm-divided-layout",{"direction":[1],"dividerStyle":[1,"divider-style"]}],[0,"sqm-hook-story-container",{"hookStory":[16],"ignored":[32]}],[1,"sqm-navigation-menu",{"includeDropdown":[4,"include-dropdown"],"menuLabel":[1,"menu-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-frame",{"demoData":[16],"ignored":[32]}],[4,"sqm-program-menu",{"ignored":[32]}],[0,"sqm-referral-iframe",{"iframeSrc":[1,"iframe-src"],"iframeHeight":[1,"iframe-height"],"iframeWidth":[1,"iframe-width"],"demoData":[16],"ignored":[32]}],[4,"sqm-router",{"ignored":[32]}],[1,"sqm-share-button",{"medium":[1],"programId":[1,"program-id"],"pill":[4],"disabled":[4],"type":[1],"size":[1],"iconslot":[1],"icon":[1],"hideicon":[4],"hidetext":[4],"sharetitle":[1],"sharetext":[1],"demoData":[16]}],[1,"sqm-share-link",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}],[1,"sqm-user-name",{"fallback":[1],"loadingText":[1,"loading-text"],"demoData":[16],"_ignored":[32]}],[1,"sqm-referral-table-cell",{"innerTemplate":[1,"inner-template"],"ignored":[32]}],[1,"sqm-referral-table-date-cell",{"date":[2],"ignored":[32]}],[1,"sqm-referral-table-rewards-cell",{"rewards":[16],"hideDetails":[4,"hide-details"]}],[1,"sqm-referral-table-status-cell",{"statusText":[1,"status-text"],"converted":[4]}],[1,"sqm-referral-table-user-cell",{"name":[1]}],[1,"sqm-table-cell",{"colspan":[2],"padding":[1]}],[1,"sqm-table-row",{"border":[1]}],[4,"sqm-text",{"ignored":[32]}],[0,"sqm-password-field",{"fieldLabel":[1,"field-label"],"enableValidation":[4,"enable-validation"],"demoData":[16],"ignored":[32]}],[1,"sqm-form-message",{"type":[1],"icon":[1],"ignored":[32]}]]]], options);
|
|
46
46
|
});
|
|
@@ -8,7 +8,7 @@ require('./use-callback-fadb2643.js');
|
|
|
8
8
|
const index_module = require('./index.module-2925fe3b.js');
|
|
9
9
|
require('./jss-preset-default.esm-6304d24f.js');
|
|
10
10
|
require('./cjs-1066ec21.js');
|
|
11
|
-
const useDemoBigStat = require('./useDemoBigStat-
|
|
11
|
+
const useDemoBigStat = require('./useDemoBigStat-d7a60992.js');
|
|
12
12
|
|
|
13
13
|
const BigStat = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -17,7 +17,7 @@ const sqmPortalSectionView = require('./sqm-portal-section-view-3b008930.js');
|
|
|
17
17
|
const sqmTextSpanView = require('./sqm-text-span-view-b5ae787b.js');
|
|
18
18
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-48245b30.js');
|
|
19
19
|
const reRender = require('./re-render-b1ad512d.js');
|
|
20
|
-
const useDemoBigStat = require('./useDemoBigStat-
|
|
20
|
+
const useDemoBigStat = require('./useDemoBigStat-d7a60992.js');
|
|
21
21
|
const sqmShareLinkView = require('./sqm-share-link-view-a935d07e.js');
|
|
22
22
|
const ShadowViewAddon = require('./ShadowViewAddon-e9bacad0.js');
|
|
23
23
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-d06e1885.js');
|
|
@@ -1472,11 +1472,11 @@ const PortalLogin = class {
|
|
|
1472
1472
|
*/
|
|
1473
1473
|
this.pageLabel = "Sign in to your account";
|
|
1474
1474
|
/**
|
|
1475
|
-
* @uiName
|
|
1475
|
+
* @uiName Register button redirection path
|
|
1476
1476
|
*/
|
|
1477
1477
|
this.registerPath = "/register";
|
|
1478
1478
|
/**
|
|
1479
|
-
* @uiName
|
|
1479
|
+
* @uiName Forgot password button redirect path
|
|
1480
1480
|
*/
|
|
1481
1481
|
this.forgotPasswordPath = "/forgotPassword";
|
|
1482
1482
|
_extends.h$1(this);
|
|
@@ -1579,6 +1579,7 @@ function PortalRegisterView(props) {
|
|
|
1579
1579
|
"Cannot be empty",
|
|
1580
1580
|
}
|
|
1581
1581
|
: [])))),
|
|
1582
|
+
content.terms,
|
|
1582
1583
|
index.h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1583
1584
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1584
1585
|
content.secondaryButton))));
|
|
@@ -5582,7 +5583,9 @@ const PortalRegister = class {
|
|
|
5582
5583
|
*/
|
|
5583
5584
|
this.nextPage = "/";
|
|
5584
5585
|
/**
|
|
5585
|
-
*
|
|
5586
|
+
* The page that users are redirected to from the verification email.
|
|
5587
|
+
*
|
|
5588
|
+
* @uiName Email redirection base path
|
|
5586
5589
|
*/
|
|
5587
5590
|
this.redirectPath = "/verifyEmail";
|
|
5588
5591
|
/**
|
|
@@ -5622,7 +5625,7 @@ const PortalRegister = class {
|
|
|
5622
5625
|
*/
|
|
5623
5626
|
this.pageLabel = "Register";
|
|
5624
5627
|
/**
|
|
5625
|
-
* @uiName
|
|
5628
|
+
* @uiName Sign in button redirection path
|
|
5626
5629
|
*/
|
|
5627
5630
|
this.loginPath = "/login";
|
|
5628
5631
|
_extends.h$1(this);
|
|
@@ -5635,6 +5638,7 @@ const PortalRegister = class {
|
|
|
5635
5638
|
const content = {
|
|
5636
5639
|
formData: index.h("slot", { name: "formData" }),
|
|
5637
5640
|
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.mn.push(states.loginPath) }, this.loginLabel))),
|
|
5641
|
+
terms: index.h("slot", { name: "terms" }),
|
|
5638
5642
|
emailLabel: this.emailLabel,
|
|
5639
5643
|
passwordLabel: this.passwordLabel,
|
|
5640
5644
|
submitLabel: this.submitLabel,
|
|
@@ -18035,7 +18039,7 @@ const defaultProps$3 = {
|
|
|
18035
18039
|
loading: false,
|
|
18036
18040
|
confirmPassword: true,
|
|
18037
18041
|
hideInputs: false,
|
|
18038
|
-
loginPath: "/login"
|
|
18042
|
+
loginPath: "/login",
|
|
18039
18043
|
},
|
|
18040
18044
|
callbacks: {
|
|
18041
18045
|
submit: () => console.log("Submit!"),
|
|
@@ -18052,7 +18056,7 @@ const errorProps$1 = {
|
|
|
18052
18056
|
loading: false,
|
|
18053
18057
|
confirmPassword: true,
|
|
18054
18058
|
hideInputs: false,
|
|
18055
|
-
loginPath: "/login"
|
|
18059
|
+
loginPath: "/login",
|
|
18056
18060
|
},
|
|
18057
18061
|
callbacks: {
|
|
18058
18062
|
submit: () => console.log("Submit!"),
|
|
@@ -18072,7 +18076,7 @@ const loadingProps$1 = {
|
|
|
18072
18076
|
loading: true,
|
|
18073
18077
|
confirmPassword: true,
|
|
18074
18078
|
hideInputs: false,
|
|
18075
|
-
loginPath: "/login"
|
|
18079
|
+
loginPath: "/login",
|
|
18076
18080
|
},
|
|
18077
18081
|
callbacks: {
|
|
18078
18082
|
submit: () => console.log("Submit!"),
|
|
@@ -18089,7 +18093,7 @@ const slottedProps = {
|
|
|
18089
18093
|
loading: false,
|
|
18090
18094
|
confirmPassword: true,
|
|
18091
18095
|
hideInputs: false,
|
|
18092
|
-
loginPath: "/login"
|
|
18096
|
+
loginPath: "/login",
|
|
18093
18097
|
},
|
|
18094
18098
|
callbacks: {
|
|
18095
18099
|
submit: () => console.log("Submit!"),
|
|
@@ -18116,11 +18120,18 @@ const FieldsHidden = () => {
|
|
|
18116
18120
|
loading: true,
|
|
18117
18121
|
confirmPassword: true,
|
|
18118
18122
|
hideInputs: true,
|
|
18119
|
-
loginPath: "/login"
|
|
18123
|
+
loginPath: "/login",
|
|
18120
18124
|
},
|
|
18121
18125
|
} }));
|
|
18122
18126
|
};
|
|
18123
|
-
const SlottedInputs = () => index.h(PortalRegisterView, Object.assign({}, slottedProps));
|
|
18127
|
+
const SlottedInputs = () => index.h(PortalRegisterView, Object.assign({}, slottedProps));
|
|
18128
|
+
const TermsAndConditions = () => (index.h(PortalRegisterView, Object.assign({}, defaultProps$3, { content: {
|
|
18129
|
+
...defaultProps$3.content,
|
|
18130
|
+
terms: (index.h("p", null,
|
|
18131
|
+
"By signing up you agree to the",
|
|
18132
|
+
" ",
|
|
18133
|
+
index.h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"))),
|
|
18134
|
+
} })));
|
|
18124
18135
|
|
|
18125
18136
|
const PortalRegister$1 = /*#__PURE__*/Object.freeze({
|
|
18126
18137
|
__proto__: null,
|
|
@@ -18129,10 +18140,11 @@ const PortalRegister$1 = /*#__PURE__*/Object.freeze({
|
|
|
18129
18140
|
RegisterWithError: RegisterWithError,
|
|
18130
18141
|
RegisterLoading: RegisterLoading,
|
|
18131
18142
|
FieldsHidden: FieldsHidden,
|
|
18132
|
-
SlottedInputs: SlottedInputs
|
|
18143
|
+
SlottedInputs: SlottedInputs,
|
|
18144
|
+
TermsAndConditions: TermsAndConditions
|
|
18133
18145
|
});
|
|
18134
18146
|
|
|
18135
|
-
const scenario = "@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click \"Reset Password\"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/resetPassword\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value
|
|
18147
|
+
const scenario = "@author:derek\r\n@owner:ian\r\nFeature: Forgot Password\r\n\r\n @motivating\r\n Scenario: Users can request to reset their password\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email is sent\r\n Then a confirmation banner is shown stating a password reset email was sent\r\n\r\n @motivating\r\n Scenario: Users are notified if sending their password reset email fails\r\n Given a user enters their email address\r\n And that email address is linked to a previously created account\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n When the password reset email fails to send\r\n Then the user does not receive a password reset email\r\n And an error banner is shown stating that they should try again\r\n\r\n @motivating\r\n @landmine\r\n Scenario: If the input email is not associated to an account a success banner is shown but an email is not be sent\r\n Given the user entered an email address that is not associated to an accoun\r\n When they click \"Reset Password\"\r\n Then the button enters a loading state\r\n But no email is sent\r\n And a success banner is shown stating a password reset email was sent if the given email was associated to an account\r\n\r\n @motivating\r\n Scenario: Users can resend password reset email\r\n Given a user had previously requested to reset their password\r\n When they enter their email address\r\n And that email address is linked to a previously created account\r\n And they click \"Reset Password\"\r\n Then the user receives a second password reset email\r\n And a success banner is shown stating that their email was sent\r\n\r\n @motivating\r\n Scenario Outline: The email link can be configured to redirect users to a specific base path but defaults to \"/resetPassword\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"redirect-path\" with <value>\r\n When they request a password reset email\r\n And they click the link in the email\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /resetPassword |\r\n | has | /resetMyPassword | /resetMyPassword |\r\n\r\n @minutae\r\n Scenario Outline: Navigation back to the login page can be customized but defaults to \"/login\"\r\n Given a user viewing the password reset component\r\n And the component <mayHave> \"login-path\" with <value>\r\n Then they see a \"Sign In\" text button\r\n When they click \"Sign In\"\r\n Then they are redirected to <redirectPath>\r\n Examples:\r\n | mayHave | value | redirectPath |\r\n | doesn't have | N/A | /login |\r\n | has | /signin | /signin |";
|
|
18136
18148
|
|
|
18137
18149
|
const PortalForgotPassword_stories = {
|
|
18138
18150
|
title: "Portal Forgot Password",
|
|
@@ -22906,17 +22918,17 @@ const LoginReadme = "# sqm-portal-login\r\n\r\n\r\n\r\n<!-- Auto Generated Below
|
|
|
22906
22918
|
|
|
22907
22919
|
const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------- |\r\n| `demoData` | -- | | `{ states?: { content: { iframeSrc: string; iframeHeight: string; iframeWidth: string; }; }; data?: { shareCode: string; }; }` | `undefined` |\r\n| `iframeHeight` | `iframe-height` | | `string` | `\"100%\"` |\r\n| `iframeSrc` | `iframe-src` | | `string` | `undefined` |\r\n| `iframeWidth` | `iframe-width` | | `string` | `\"100%\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-stencilbook --> sqm-referral-iframe\r\n style sqm-referral-iframe fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22908
22920
|
|
|
22909
|
-
const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description
|
|
22921
|
+
const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22910
22922
|
|
|
22911
|
-
const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description
|
|
22923
|
+
const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; content?: { formData?: any; passwordField?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; refs?: { formRef: any; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\r\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --> sqm-form-message\r\n sqm-portal-register --> sqm-password-field\r\n sqm-stencilbook --> sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22912
22924
|
|
|
22913
22925
|
const EditProfileReadme = "# sqm-portal-profile\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\r\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` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\r\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --> sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22914
22926
|
|
|
22915
|
-
const ResetPasswordReadme = "# sqm-portal-reset-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description
|
|
22927
|
+
const ResetPasswordReadme = "# sqm-portal-reset-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| --------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `\"Confirm Password\"` |\r\n| `continueButtonText` | `continue-button-text` | Displayed after a successful password reset | `string` | `\"Continue\"` |\r\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` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if the reset fails due to outdated password reset attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the password reset succeeds. | `string` | `\"/\"` |\r\n| `passwordFieldLabel` | `password-field-label` | | `string` | `\"New Password\"` |\r\n| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset | `string` | `\"Password reset\"` |\r\n| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `\"Reset Password\"` |\r\n| `resetPasswordHeader` | `reset-password-header` | | `string` | `\"Reset your password\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-reset-password --> sqm-form-message\r\n sqm-portal-reset-password --> sqm-password-field\r\n style sqm-portal-reset-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22916
22928
|
|
|
22917
|
-
const EmailVerificationReadme = "# sqm-portal-email-verification\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description
|
|
22929
|
+
const EmailVerificationReadme = "# sqm-portal-email-verification\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------- | --------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }` | `undefined` |\r\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\r\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal.\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-email-verification --> sqm-form-message\r\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22918
22930
|
|
|
22919
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description
|
|
22931
|
+
const EmailVerifiedReadme = "# sqm-portal-verify-email\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------ | ------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ----------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; }` | `undefined` |\r\n| `failedPage` | `failed-page` | The page that users are redirected to if verification fails due to outdated verification attempt. | `string` | `\"/\"` |\r\n| `nextPage` | `next-page` | The page that users are redirected to when the verification succeeds. | `string` | `\"/\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-verify-email --> sqm-form-message\r\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
22920
22932
|
|
|
22921
22933
|
const PortalTemplates_stories = {
|
|
22922
22934
|
title: "Templates / Portal",
|
|
@@ -65,7 +65,9 @@ const PortalEmailVerification = class {
|
|
|
65
65
|
index.registerInstance(this, hostRef);
|
|
66
66
|
this.ignored = true;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* The page that users are redirected to from the verification email.
|
|
69
|
+
*
|
|
70
|
+
* @uiName Email redirection base path
|
|
69
71
|
*/
|
|
70
72
|
this.redirectPath = "/verifyEmail";
|
|
71
73
|
/**
|
|
@@ -60,7 +60,9 @@ const PortalForgotPassword = class {
|
|
|
60
60
|
index.registerInstance(this, hostRef);
|
|
61
61
|
this.ignored = true;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* The page that users are redirected to from the password reset email.
|
|
64
|
+
*
|
|
65
|
+
* @uiName Email redirection base path
|
|
64
66
|
*/
|
|
65
67
|
this.redirectPath = "/resetPassword";
|
|
66
68
|
/**
|
|
@@ -93,11 +93,15 @@ const PortalResetPassword = class {
|
|
|
93
93
|
index.registerInstance(this, hostRef);
|
|
94
94
|
this.ignored = true;
|
|
95
95
|
/**
|
|
96
|
+
* The page that users are redirected to when the password reset succeeds.
|
|
97
|
+
*
|
|
96
98
|
* @uiName Next page path
|
|
97
99
|
*/
|
|
98
100
|
this.nextPage = "/";
|
|
99
101
|
/**
|
|
100
|
-
*
|
|
102
|
+
* The page that users are redirected to if the reset fails due to outdated password reset attempt.
|
|
103
|
+
*
|
|
104
|
+
* @uiName Failed page redirection path
|
|
101
105
|
*/
|
|
102
106
|
this.failedPage = "/";
|
|
103
107
|
/**
|
|
@@ -96,11 +96,15 @@ const PortalVerifyEmail = class {
|
|
|
96
96
|
index.registerInstance(this, hostRef);
|
|
97
97
|
this.ignored = true;
|
|
98
98
|
/**
|
|
99
|
+
* The page that users are redirected to when the verification succeeds.
|
|
100
|
+
*
|
|
99
101
|
* @uiName Next page path
|
|
100
102
|
*/
|
|
101
103
|
this.nextPage = "/";
|
|
102
104
|
/**
|
|
103
|
-
*
|
|
105
|
+
* The page that users are redirected to if verification fails due to outdated verification attempt.
|
|
106
|
+
*
|
|
107
|
+
* @uiName Failed page redirection path
|
|
104
108
|
*/
|
|
105
109
|
this.failedPage = "/";
|
|
106
110
|
_extends.h$1(this);
|
|
@@ -805,8 +805,7 @@ const StatPaths = [
|
|
|
805
805
|
];
|
|
806
806
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
807
807
|
function useBigStat(props) {
|
|
808
|
-
const { statType, flexReverse, alignment } = props;
|
|
809
|
-
const programId = index_module.M();
|
|
808
|
+
const { statType, flexReverse, alignment, programId = index_module.M(), } = props;
|
|
810
809
|
const locale = index_module.R();
|
|
811
810
|
const userIdent = index_module.ne();
|
|
812
811
|
const re = _extends.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|