@saasquatch/mint-components 1.6.8-21 → 1.6.8-23
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/{email-registration-view-99fe375a.js → email-registration-view-d356fb4d.js} +5 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_37.cjs.entry.js +124 -127
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -0
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -4
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +27 -14
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-link-button.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-logout-current-user-view-8a242f72.js → sqm-logout-current-user-view-f060e02b.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +18 -16
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +18 -18
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +22 -22
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +27 -14
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +24 -24
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +16 -16
- package/dist/cjs/useInstantAccessRegistration-6c98ca92.js +87 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +3 -3
- package/dist/collection/components/sqm-brand/sqm-brand.js +2 -2
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +4 -4
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +9 -9
- package/dist/collection/components/sqm-close-button/sqm-close-button.js +37 -2
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +3 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -2
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +7 -7
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +5 -5
- package/dist/collection/components/sqm-hero/sqm-hero.js +7 -7
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +21 -21
- package/dist/collection/components/sqm-image/sqm-image.js +5 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +6 -6
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +84 -24
- package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +53 -12
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +13 -13
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +6 -6
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +3 -3
- package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +1 -1
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +14 -36
- package/dist/collection/components/sqm-logout-current-user/useLogoutCurrentUser.js +7 -6
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +2 -2
- 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 +4 -4
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +5 -5
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +16 -16
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +3 -3
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +12 -12
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +12 -12
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +12 -12
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +18 -18
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +16 -16
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +6 -6
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +32 -32
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +35 -35
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +18 -18
- 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 +3 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +3 -3
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +2 -3
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +8 -8
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +5 -5
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -4
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +12 -12
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -6
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -6
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +16 -16
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +84 -24
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +50 -50
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +4 -4
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +8 -8
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +12 -12
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +12 -12
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +12 -12
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +9 -9
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +16 -16
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +4 -4
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
- package/dist/collection/components/sqm-tab/sqm-tab.js +1 -1
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +36 -36
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +2 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +6 -6
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +4 -4
- package/dist/collection/components/views/EmailRegistration.stories.js +1 -1
- package/dist/collection/components/views/email-registration-view.js +5 -3
- package/dist/esm/{email-registration-view-1ea7bd16.js → email-registration-view-627ac4c6.js} +5 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_37.entry.js +124 -127
- package/dist/esm/sqm-close-button.entry.js +6 -0
- package/dist/esm/sqm-empty_5.entry.js +4 -4
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +27 -14
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-link-button.entry.js +1 -1
- package/dist/esm/{sqm-logout-current-user-view-c21af005.js → sqm-logout-current-user-view-e258e45c.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +20 -18
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +8 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +18 -18
- package/dist/esm/sqm-portal-reset-password.entry.js +9 -9
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +22 -22
- package/dist/esm/sqm-referred-registration.entry.js +27 -14
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +24 -24
- package/dist/esm/sqm-stencilbook.entry.js +16 -16
- package/dist/esm/useInstantAccessRegistration-7d9bd601.js +85 -0
- package/dist/esm-es5/email-registration-view-627ac4c6.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-c21af005.js → sqm-logout-current-user-view-e258e45c.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-7d9bd601.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-06708ff4.system.entry.js +1 -0
- package/dist/mint-components/{p-7d2a40d1.entry.js → p-16911f66.entry.js} +2 -2
- package/dist/mint-components/p-34a273b6.system.js +1 -1
- package/dist/mint-components/p-3797a6cf.system.entry.js +1 -0
- package/dist/mint-components/p-3aabb86d.js +1 -0
- package/dist/mint-components/{p-b5de304f.entry.js → p-4c9b9cb0.entry.js} +4 -4
- package/dist/mint-components/p-4d35a6b4.js +1 -0
- package/dist/mint-components/p-57a76b74.system.entry.js +1 -0
- package/dist/mint-components/p-7a5cd715.system.js +1 -0
- package/dist/mint-components/p-8607a2c3.system.entry.js +1 -0
- package/dist/mint-components/p-8f7081fe.entry.js +1 -0
- package/dist/mint-components/p-a744281b.system.js +1 -0
- package/dist/mint-components/p-a82a17dc.entry.js +1 -0
- package/dist/mint-components/p-b83ce207.system.entry.js +1 -0
- package/dist/mint-components/p-ba52e232.system.entry.js +1 -0
- package/dist/mint-components/{p-dc5182e9.system.js → p-be91ce0c.system.js} +1 -1
- package/dist/mint-components/p-d36fdf47.entry.js +9 -0
- package/dist/mint-components/p-d52aba41.entry.js +1 -0
- package/dist/mint-components/p-ecad7c47.js +1 -0
- package/dist/mint-components/p-fbbd9ee5.entry.js +1 -0
- package/dist/mint-components/{p-11f0e01d.system.entry.js → p-fd6e88b6.system.entry.js} +1 -1
- 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 +2 -2
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +2 -2
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -5
- package/dist/types/components/sqm-close-button/sqm-close-button.d.ts +7 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -3
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -7
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -2
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +3 -3
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +13 -13
- package/dist/types/components/sqm-image/sqm-image.d.ts +4 -4
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +4 -4
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +21 -9
- package/dist/types/components/sqm-instant-access-registration/useInstantAccessRegistration.d.ts +3 -3
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +10 -10
- package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +5 -5
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +2 -2
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +1 -1
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +3 -6
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -2
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -2
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +5 -5
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -8
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -3
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +6 -6
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +7 -7
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +6 -6
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -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 +8 -8
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +16 -16
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +18 -18
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +9 -9
- 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 +3 -3
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +3 -3
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +3 -3
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +3 -3
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +6 -6
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +3 -3
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +3 -3
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +8 -8
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +21 -9
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +25 -25
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -2
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +4 -4
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +6 -6
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +6 -6
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +6 -6
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +7 -7
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +12 -12
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- 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 -1
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +21 -21
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +2 -2
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +3 -3
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
- package/dist/types/components/views/email-registration-view.d.ts +1 -1
- package/dist/types/components.d.ts +752 -706
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/useInstantAccessRegistration-2d149bea.js +0 -46
- package/dist/esm/useInstantAccessRegistration-e3f31ca4.js +0 -44
- package/dist/esm-es5/email-registration-view-1ea7bd16.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-e3f31ca4.js +0 -1
- package/dist/mint-components/p-1d336b4a.js +0 -1
- package/dist/mint-components/p-2e6e127b.entry.js +0 -1
- package/dist/mint-components/p-31ee1dbd.system.js +0 -1
- package/dist/mint-components/p-3295f4cb.js +0 -1
- package/dist/mint-components/p-34019439.entry.js +0 -1
- package/dist/mint-components/p-386a9934.system.entry.js +0 -1
- package/dist/mint-components/p-444b7241.entry.js +0 -1
- package/dist/mint-components/p-504c3ef1.js +0 -1
- package/dist/mint-components/p-587720e8.system.entry.js +0 -1
- package/dist/mint-components/p-7b41323b.system.entry.js +0 -1
- package/dist/mint-components/p-84fad27d.system.entry.js +0 -1
- package/dist/mint-components/p-9583fa95.entry.js +0 -9
- package/dist/mint-components/p-9d784608.system.js +0 -1
- package/dist/mint-components/p-a8c44b12.system.entry.js +0 -1
- package/dist/mint-components/p-a9098331.system.entry.js +0 -1
- package/dist/mint-components/p-f4ed1b54.entry.js +0 -1
|
@@ -9,6 +9,12 @@ import { C as CloseButtonView } from './sqm-close-button-view-928ee77f.js';
|
|
|
9
9
|
const CloseButton = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* @uiName Background color
|
|
14
|
+
* @uiWidget color
|
|
15
|
+
* @uiType string
|
|
16
|
+
*/
|
|
17
|
+
this.backgroundColor = "#000000";
|
|
12
18
|
h(this);
|
|
13
19
|
}
|
|
14
20
|
disconnectedCallback() { }
|
|
@@ -58,7 +58,7 @@ const Image = class {
|
|
|
58
58
|
constructor(hostRef) {
|
|
59
59
|
registerInstance(this, hostRef);
|
|
60
60
|
/**
|
|
61
|
-
* @uiName Position
|
|
61
|
+
* @uiName Position alignment
|
|
62
62
|
* @uiType string
|
|
63
63
|
* @uiEnum ["left", "center", "right"]
|
|
64
64
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
@@ -171,7 +171,7 @@ const TitledSection = class {
|
|
|
171
171
|
constructor(hostRef) {
|
|
172
172
|
registerInstance(this, hostRef);
|
|
173
173
|
/**
|
|
174
|
-
* @uiName Text
|
|
174
|
+
* @uiName Text alignment
|
|
175
175
|
* @uiType string
|
|
176
176
|
* @uiEnum ["left", "center", "right"]
|
|
177
177
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
@@ -180,7 +180,7 @@ const TitledSection = class {
|
|
|
180
180
|
/**
|
|
181
181
|
* Margin applied to the bottom of the label slot
|
|
182
182
|
*
|
|
183
|
-
* @uiName Label
|
|
183
|
+
* @uiName Label bottom margin
|
|
184
184
|
* @uiType string
|
|
185
185
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
186
186
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
@@ -189,7 +189,7 @@ const TitledSection = class {
|
|
|
189
189
|
/**
|
|
190
190
|
* Padding applied to all 4 sides of the container
|
|
191
191
|
*
|
|
192
|
-
* @uiName Section
|
|
192
|
+
* @uiName Section padding
|
|
193
193
|
* @uiType string
|
|
194
194
|
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
195
195
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
@@ -7,12 +7,12 @@ const HeroImage = class {
|
|
|
7
7
|
/**
|
|
8
8
|
* Page participants are navigated to after clicking the header logo.
|
|
9
9
|
*
|
|
10
|
-
* @uiName Redirect
|
|
10
|
+
* @uiName Redirect path
|
|
11
11
|
* @uiWidget pageSelect
|
|
12
12
|
*/
|
|
13
13
|
this.nextPage = "/";
|
|
14
14
|
/**
|
|
15
|
-
* @uiName Logo
|
|
15
|
+
* @uiName Logo height
|
|
16
16
|
*/
|
|
17
17
|
this.height = 60;
|
|
18
18
|
h(this);
|
|
@@ -19,7 +19,7 @@ const Hero = class {
|
|
|
19
19
|
/**
|
|
20
20
|
* Minimum height of each column including when they are stacked on mobile
|
|
21
21
|
*
|
|
22
|
-
* @uiName Mininum
|
|
22
|
+
* @uiName Mininum height (in px)
|
|
23
23
|
*/
|
|
24
24
|
this.minHeight = 200;
|
|
25
25
|
/**
|
|
@@ -29,7 +29,7 @@ const Hero = class {
|
|
|
29
29
|
*/
|
|
30
30
|
this.background = "var(--sl-color-gray-50)";
|
|
31
31
|
/**
|
|
32
|
-
* @uiName Padding
|
|
32
|
+
* @uiName Padding size
|
|
33
33
|
* @uiEnum ["none", "small", "medium","large"]
|
|
34
34
|
* @uiEnumNames ["None", "Small", "Medium", "Large"]
|
|
35
35
|
*/
|
|
@@ -37,7 +37,7 @@ const Hero = class {
|
|
|
37
37
|
/**
|
|
38
38
|
* Flexbox wrap direction, accepts wrap or wrap-reverse
|
|
39
39
|
*
|
|
40
|
-
* @uiName Wrap
|
|
40
|
+
* @uiName Wrap direction
|
|
41
41
|
* @uiEnum ["wrap", "wrap-reverse"]
|
|
42
42
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
43
43
|
*/
|
|
@@ -6,27 +6,28 @@ import './jsonpointer-388a7082.js';
|
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import './JSS-67b5cff8.js';
|
|
9
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
10
|
-
import
|
|
9
|
+
import { E as EmailRegistrationView } from './email-registration-view-627ac4c6.js';
|
|
10
|
+
import './useRegistrationFormState-ad7d132d.js';
|
|
11
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-7d9bd601.js';
|
|
11
12
|
|
|
12
13
|
const InstantAccessRegistration = class {
|
|
13
14
|
constructor(hostRef) {
|
|
14
15
|
registerInstance(this, hostRef);
|
|
15
16
|
this.ignored = true;
|
|
16
17
|
/**
|
|
17
|
-
* @uiName Email
|
|
18
|
+
* @uiName Email field label
|
|
18
19
|
*/
|
|
19
20
|
this.emailLabel = "Email";
|
|
20
21
|
/**
|
|
21
|
-
* @uiName First
|
|
22
|
+
* @uiName First name field label
|
|
22
23
|
*/
|
|
23
24
|
this.firstNameLabel = "First Name";
|
|
24
25
|
/**
|
|
25
|
-
* @uiName Last
|
|
26
|
+
* @uiName Last name field label
|
|
26
27
|
*/
|
|
27
28
|
this.lastNameLabel = "Last Name";
|
|
28
29
|
/**
|
|
29
|
-
* @uiName Register
|
|
30
|
+
* @uiName Register button text
|
|
30
31
|
*/
|
|
31
32
|
this.registerLabel = "Start Referring";
|
|
32
33
|
/**
|
|
@@ -36,24 +37,31 @@ const InstantAccessRegistration = class {
|
|
|
36
37
|
*/
|
|
37
38
|
this.includeName = false;
|
|
38
39
|
/**
|
|
39
|
-
* @uiName
|
|
40
|
+
* @uiName Include border
|
|
40
41
|
* @uiGroup Card style
|
|
41
42
|
*/
|
|
42
|
-
this.
|
|
43
|
+
this.includeBorder = true;
|
|
43
44
|
/**
|
|
44
45
|
* Display this message when a required field has not been filled out.
|
|
45
46
|
*
|
|
46
|
-
* @uiName Required
|
|
47
|
+
* @uiName Required field message
|
|
47
48
|
* @uiWidget textArea
|
|
48
49
|
*/
|
|
49
50
|
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
50
51
|
/**
|
|
51
52
|
* Display this message when the given email is invalid or blocked.
|
|
52
53
|
*
|
|
53
|
-
* @uiName Invalid
|
|
54
|
+
* @uiName Invalid email message
|
|
54
55
|
* @uiWidget textArea
|
|
55
56
|
*/
|
|
56
57
|
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
58
|
+
/**
|
|
59
|
+
* The message to be displayed when a the form submission fails unexpectedly.
|
|
60
|
+
*
|
|
61
|
+
* @uiName Network Error Message
|
|
62
|
+
* @uiWidget textArea
|
|
63
|
+
*/
|
|
64
|
+
this.networkErrorMessage = "Network request failed.";
|
|
57
65
|
/**
|
|
58
66
|
* @uiName Top padding
|
|
59
67
|
* @uiGroup Card style
|
|
@@ -89,20 +97,25 @@ const InstantAccessRegistration = class {
|
|
|
89
97
|
* @uiType string
|
|
90
98
|
*/
|
|
91
99
|
this.backgroundColor = "#ffffff";
|
|
100
|
+
/**
|
|
101
|
+
* @undocumented
|
|
102
|
+
* @uiType boolean
|
|
103
|
+
*/
|
|
104
|
+
this.includeCookies = false;
|
|
92
105
|
h(this);
|
|
93
106
|
}
|
|
94
107
|
disconnectedCallback() { }
|
|
95
108
|
render() {
|
|
96
109
|
const { states, callbacks } = isDemo()
|
|
97
110
|
? useRegistrationDemo(this)
|
|
98
|
-
: useInstantAccessRegistration();
|
|
111
|
+
: useInstantAccessRegistration(this);
|
|
99
112
|
const content = {
|
|
100
113
|
emailLabel: this.emailLabel,
|
|
101
114
|
registerLabel: this.registerLabel,
|
|
102
115
|
firstNameLabel: this.firstNameLabel,
|
|
103
116
|
lastNameLabel: this.lastNameLabel,
|
|
104
117
|
includeName: this.includeName,
|
|
105
|
-
|
|
118
|
+
includeBorder: this.includeBorder,
|
|
106
119
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
107
120
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
108
121
|
paddingTop: this.paddingTop,
|
|
@@ -111,8 +124,8 @@ const InstantAccessRegistration = class {
|
|
|
111
124
|
paddingRight: this.paddingRight,
|
|
112
125
|
backgroundColor: this.backgroundColor,
|
|
113
126
|
// slots
|
|
114
|
-
topSlot: h$1("slot", { name: "top
|
|
115
|
-
bottomSlot: h$1("slot", { name: "bottom
|
|
127
|
+
topSlot: h$1("slot", { name: "top" }),
|
|
128
|
+
bottomSlot: h$1("slot", { name: "bottom" }),
|
|
116
129
|
};
|
|
117
130
|
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
118
131
|
}
|
|
@@ -55,7 +55,7 @@ const LeaderboardRank = class {
|
|
|
55
55
|
constructor(hostRef) {
|
|
56
56
|
registerInstance(this, hostRef);
|
|
57
57
|
/**
|
|
58
|
-
* @uiName Rank
|
|
58
|
+
* @uiName Rank text
|
|
59
59
|
* @uiWidget textArea
|
|
60
60
|
*/
|
|
61
61
|
this.rankText = "You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";
|
|
@@ -20,12 +20,12 @@ const vanillaStyle = `
|
|
|
20
20
|
const sheet = createStyleSheet(style);
|
|
21
21
|
const styleString = sheet.toString();
|
|
22
22
|
function LogoutCurrentUserView(props) {
|
|
23
|
-
const {
|
|
23
|
+
const { filledInEmailText, onSwitchClick, switchUserText } = props;
|
|
24
24
|
return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
|
|
25
25
|
h("style", { type: "text/css" },
|
|
26
26
|
styleString,
|
|
27
27
|
vanillaStyle),
|
|
28
|
-
|
|
28
|
+
filledInEmailText,
|
|
29
29
|
" (",
|
|
30
30
|
h("a", { class: sheet.classes.Link, onClick: onSwitchClick, part: "sqm-link" }, switchUserText),
|
|
31
31
|
")"));
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-17b4da69.js';
|
|
2
|
-
import './stencil-hooks.module-b48b45ec.js';
|
|
1
|
+
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
import './use-callback-051c06c6.js';
|
|
4
|
-
import { e as setUserIdentity, i as isDemo } from './index.module-72cfa256.js';
|
|
4
|
+
import { L, e as setUserIdentity, i as isDemo } from './index.module-72cfa256.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-
|
|
7
|
+
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-e258e45c.js';
|
|
8
8
|
|
|
9
|
-
function useLogoutCurrentUser(
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
function useLogoutCurrentUser(props) {
|
|
10
|
+
var _a;
|
|
11
|
+
const user = L();
|
|
12
12
|
const onSwitchClick = () => {
|
|
13
13
|
setUserIdentity(undefined);
|
|
14
14
|
};
|
|
15
|
+
const filledInEmailText = (_a = props.userIdentificationText) === null || _a === void 0 ? void 0 : _a.replace("{email}", (user === null || user === void 0 ? void 0 : user.id) || "Error fetching email");
|
|
15
16
|
return {
|
|
16
17
|
onSwitchClick,
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
filledInEmailText,
|
|
19
|
+
...props,
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -24,7 +25,7 @@ const LogoutCurrentUser = class {
|
|
|
24
25
|
registerInstance(this, hostRef);
|
|
25
26
|
/**
|
|
26
27
|
* @required
|
|
27
|
-
* @uiName User
|
|
28
|
+
* @uiName User identification text
|
|
28
29
|
*/
|
|
29
30
|
this.userIdentificationText = "{email}";
|
|
30
31
|
/**
|
|
@@ -32,23 +33,24 @@ const LogoutCurrentUser = class {
|
|
|
32
33
|
* @uiName Switch user button label
|
|
33
34
|
*/
|
|
34
35
|
this.switchUserText = "not you?";
|
|
35
|
-
|
|
36
|
-
* @required
|
|
37
|
-
* @uiName Switch user button link
|
|
38
|
-
*/
|
|
39
|
-
this.switchUserLink = "#";
|
|
36
|
+
h(this);
|
|
40
37
|
}
|
|
38
|
+
disconnectedCallback() { }
|
|
41
39
|
render() {
|
|
42
40
|
const props = isDemo()
|
|
43
41
|
? useDemoLogoutCurrentUser(this)
|
|
44
|
-
: useLogoutCurrentUser();
|
|
45
|
-
|
|
42
|
+
: useLogoutCurrentUser(this);
|
|
43
|
+
const content = {
|
|
44
|
+
userIdentificationText: this.userIdentificationText,
|
|
45
|
+
switchUserText: this.switchUserText,
|
|
46
|
+
};
|
|
47
|
+
return h$1(LogoutCurrentUserView, Object.assign({}, props, content));
|
|
46
48
|
}
|
|
47
49
|
};
|
|
48
50
|
function useDemoLogoutCurrentUser(props) {
|
|
49
51
|
return cjs({
|
|
50
52
|
onSwitchClick: () => setUserIdentity(undefined),
|
|
51
|
-
|
|
53
|
+
filledInEmailText: "john@example.com",
|
|
52
54
|
switchUserText: props.switchUserText,
|
|
53
55
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
54
56
|
}
|
|
@@ -534,12 +534,12 @@ const PortalPasswordField = class {
|
|
|
534
534
|
/**
|
|
535
535
|
* Label for password field
|
|
536
536
|
*
|
|
537
|
-
* @uiName Password
|
|
537
|
+
* @uiName Password label
|
|
538
538
|
*/
|
|
539
539
|
this.fieldLabel = "Password";
|
|
540
540
|
/**
|
|
541
541
|
* Disable live password validation
|
|
542
|
-
* @uiName Disable
|
|
542
|
+
* @uiName Disable validation
|
|
543
543
|
*/
|
|
544
544
|
this.disableValidation = false;
|
|
545
545
|
h$1(this);
|
|
@@ -125,30 +125,30 @@ const PortalEmailVerification = class {
|
|
|
125
125
|
/**
|
|
126
126
|
* Redirect participants to this page from their verification email.
|
|
127
127
|
*
|
|
128
|
-
* @uiName Email
|
|
128
|
+
* @uiName Email redirect
|
|
129
129
|
* @uiWidget pageSelect
|
|
130
130
|
*/
|
|
131
131
|
this.redirectPath = "/verifyEmail";
|
|
132
132
|
/**
|
|
133
|
-
* @uiName Email
|
|
133
|
+
* @uiName Email verification header text
|
|
134
134
|
*/
|
|
135
135
|
this.emailVerificationHeader = "Verify your email";
|
|
136
136
|
/**
|
|
137
|
-
* @uiName Re-send
|
|
137
|
+
* @uiName Re-send email button text
|
|
138
138
|
*/
|
|
139
139
|
this.resendEmailButtonText = "Re-send Email";
|
|
140
140
|
/**
|
|
141
|
-
* @uiName Email
|
|
141
|
+
* @uiName Email verification body text
|
|
142
142
|
* @uiWidget textArea
|
|
143
143
|
*/
|
|
144
144
|
this.verifyMessage = "A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";
|
|
145
145
|
/**
|
|
146
|
-
* @uiName Email
|
|
146
|
+
* @uiName Email verification status text
|
|
147
147
|
* @uiWidget textArea
|
|
148
148
|
*/
|
|
149
149
|
this.verificationStatusMessage = "Checking verification status in {countdown}";
|
|
150
150
|
/**
|
|
151
|
-
* @uiName Email
|
|
151
|
+
* @uiName Email verification checking text
|
|
152
152
|
* @uiWidget textArea
|
|
153
153
|
*/
|
|
154
154
|
this.verificationLoadingMessage = "Checking verification status";
|
|
@@ -60,30 +60,30 @@ const PortalForgotPassword = class {
|
|
|
60
60
|
/**
|
|
61
61
|
* Redirect participants to this page after they verify their email.
|
|
62
62
|
*
|
|
63
|
-
* @uiName Email
|
|
63
|
+
* @uiName Email redirect
|
|
64
64
|
* @uiWidget pageSelect
|
|
65
65
|
*/
|
|
66
66
|
this.redirectPath = "/resetPassword";
|
|
67
67
|
/**
|
|
68
|
-
* @uiName Email
|
|
68
|
+
* @uiName Email field label
|
|
69
69
|
*/
|
|
70
70
|
this.emailLabel = "Email";
|
|
71
71
|
/**
|
|
72
|
-
* @uiName Password
|
|
72
|
+
* @uiName Password reset button text
|
|
73
73
|
*/
|
|
74
74
|
this.submitLabel = "Request Password Reset";
|
|
75
75
|
/**
|
|
76
|
-
* @uiName Login
|
|
76
|
+
* @uiName Login redirect path
|
|
77
77
|
* @uiWidget pageSelect
|
|
78
78
|
*/
|
|
79
79
|
this.loginPath = "/login";
|
|
80
80
|
/**
|
|
81
|
-
* @uiName Header
|
|
81
|
+
* @uiName Header text
|
|
82
82
|
* @uiWidget textArea
|
|
83
83
|
*/
|
|
84
84
|
this.headerText = "Enter your email below to receive a password reset link.";
|
|
85
85
|
/**
|
|
86
|
-
* Sign
|
|
86
|
+
* Sign in link text
|
|
87
87
|
*/
|
|
88
88
|
this.loginText = "Sign In";
|
|
89
89
|
h(this);
|
|
@@ -161,35 +161,35 @@ const PortalProfile = class {
|
|
|
161
161
|
registerInstance(this, hostRef);
|
|
162
162
|
this.ignored = true;
|
|
163
163
|
/**
|
|
164
|
-
* @uiName First
|
|
164
|
+
* @uiName First name label
|
|
165
165
|
*/
|
|
166
166
|
this.firstnametext = "First Name";
|
|
167
167
|
/**
|
|
168
|
-
* @uiName Last
|
|
168
|
+
* @uiName Last name field label
|
|
169
169
|
*/
|
|
170
170
|
this.lastnametext = "Last Name";
|
|
171
171
|
/**
|
|
172
|
-
* @uiName Email
|
|
172
|
+
* @uiName Email field label
|
|
173
173
|
*/
|
|
174
174
|
this.emailtext = "Email";
|
|
175
175
|
/**
|
|
176
|
-
* @uiName Country
|
|
176
|
+
* @uiName Country field label
|
|
177
177
|
*/
|
|
178
178
|
this.countrytext = "Country";
|
|
179
179
|
/**
|
|
180
|
-
* @uiName Edit
|
|
180
|
+
* @uiName Edit profile header
|
|
181
181
|
*/
|
|
182
182
|
this.editProfileHeader = "Edit your profile";
|
|
183
183
|
/**
|
|
184
|
-
* @uiName Edit
|
|
184
|
+
* @uiName Edit profile sub header
|
|
185
185
|
*/
|
|
186
186
|
this.editProfileSubHeader = "Personal Information";
|
|
187
187
|
/**
|
|
188
|
-
* @uiName Submit
|
|
188
|
+
* @uiName Submit changes button text
|
|
189
189
|
*/
|
|
190
190
|
this.submitChangeButtonText = "Submit Changes";
|
|
191
191
|
/**
|
|
192
|
-
* @uiName Hide
|
|
192
|
+
* @uiName Hide country field
|
|
193
193
|
*/
|
|
194
194
|
this.hideCountry = false;
|
|
195
195
|
h(this);
|
|
@@ -35,17 +35,17 @@ const PortalProtectedRoute = class {
|
|
|
35
35
|
/**
|
|
36
36
|
* Redirect participants to this page they are not logged in.
|
|
37
37
|
*
|
|
38
|
-
* @uiName Unauthenticated
|
|
38
|
+
* @uiName Unauthenticated participant redirect
|
|
39
39
|
*/
|
|
40
40
|
this.redirectTo = "/";
|
|
41
41
|
/**
|
|
42
|
-
* @uiName Require
|
|
42
|
+
* @uiName Require email verification
|
|
43
43
|
*/
|
|
44
44
|
this.requireEmailVerification = false;
|
|
45
45
|
/**
|
|
46
46
|
* Redirect participants to this page when email verification is required but they have not verified their email.
|
|
47
47
|
*
|
|
48
|
-
* @uiName Unverified
|
|
48
|
+
* @uiName Unverified participant redirect
|
|
49
49
|
*/
|
|
50
50
|
this.redirectToUnverified = "/emailVerification";
|
|
51
51
|
h(this);
|
|
@@ -7,8 +7,8 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
7
7
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
10
|
-
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
11
10
|
import { u as useRegistrationFormState } from './useRegistrationFormState-ad7d132d.js';
|
|
11
|
+
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
12
12
|
|
|
13
13
|
const style = {
|
|
14
14
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -296,94 +296,94 @@ const PortalRegistrationForm = class {
|
|
|
296
296
|
/**
|
|
297
297
|
* Redirect participants to this page after they successfully register.
|
|
298
298
|
*
|
|
299
|
-
* @uiName Registration
|
|
299
|
+
* @uiName Registration redirect
|
|
300
300
|
* @uiWidget pageSelect
|
|
301
301
|
*/
|
|
302
302
|
this.nextPage = "/";
|
|
303
303
|
/**
|
|
304
304
|
* Redirect participants to this page from their verification email
|
|
305
305
|
*
|
|
306
|
-
* @uiName Email
|
|
306
|
+
* @uiName Email verification redirect
|
|
307
307
|
* @uiWidget pageSelect
|
|
308
308
|
*/
|
|
309
309
|
this.redirectPath = "/verifyEmail";
|
|
310
310
|
/**
|
|
311
|
-
* @uiName Email
|
|
311
|
+
* @uiName Email field label
|
|
312
312
|
*/
|
|
313
313
|
this.emailLabel = "Email";
|
|
314
314
|
/**
|
|
315
|
-
* @uiName Password
|
|
315
|
+
* @uiName Password field label
|
|
316
316
|
*/
|
|
317
317
|
this.passwordLabel = "Password";
|
|
318
318
|
/**
|
|
319
|
-
* @uiName Submit
|
|
319
|
+
* @uiName Submit button text
|
|
320
320
|
*/
|
|
321
321
|
this.submitLabel = "Register";
|
|
322
322
|
/**
|
|
323
|
-
* @uiName Login
|
|
323
|
+
* @uiName Login button text
|
|
324
324
|
*/
|
|
325
325
|
this.loginLabel = "Sign in";
|
|
326
326
|
/**
|
|
327
|
-
* @uiName Confirm
|
|
327
|
+
* @uiName Confirm password field label
|
|
328
328
|
*/
|
|
329
329
|
this.confirmPasswordLabel = "Confirm Password";
|
|
330
330
|
/**
|
|
331
|
-
* @uiName Show
|
|
331
|
+
* @uiName Show confirm password field
|
|
332
332
|
*/
|
|
333
333
|
this.confirmPassword = false;
|
|
334
334
|
/**
|
|
335
|
-
* @uiName Disable
|
|
335
|
+
* @uiName Disable password validation
|
|
336
336
|
*/
|
|
337
337
|
this.disablePasswordValidation = false;
|
|
338
338
|
/**
|
|
339
339
|
* Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
|
|
340
340
|
*
|
|
341
|
-
* @uiName Hide
|
|
341
|
+
* @uiName Hide default fields
|
|
342
342
|
*/
|
|
343
343
|
this.hideInputs = false;
|
|
344
344
|
/**
|
|
345
|
-
* @uiName Header
|
|
345
|
+
* @uiName Header text
|
|
346
346
|
*/
|
|
347
347
|
this.pageLabel = "Register";
|
|
348
348
|
/**
|
|
349
349
|
* Redirect participants to this page after clicking the login button.
|
|
350
350
|
*
|
|
351
|
-
* @uiName Login
|
|
351
|
+
* @uiName Login redirect
|
|
352
352
|
* @uiWidget pageSelect
|
|
353
353
|
*/
|
|
354
354
|
this.loginPath = "/login";
|
|
355
355
|
/**
|
|
356
356
|
* The message to be displayed when a required field is not filled.
|
|
357
357
|
*
|
|
358
|
-
* @uiName Required
|
|
358
|
+
* @uiName Required field message
|
|
359
359
|
* @uiWidget textArea
|
|
360
360
|
*/
|
|
361
361
|
this.requiredFieldErrorMessage = "Cannot be empty";
|
|
362
362
|
/**
|
|
363
363
|
* The message to be displayed when a the form submission fails unexpectedly.
|
|
364
364
|
*
|
|
365
|
-
* @uiName Network
|
|
365
|
+
* @uiName Network error message
|
|
366
366
|
* @uiWidget textArea
|
|
367
367
|
*/
|
|
368
368
|
this.networkErrorMessage = "Network request failed.";
|
|
369
369
|
/**
|
|
370
370
|
* The message to be displayed when password inputs do not match.
|
|
371
371
|
*
|
|
372
|
-
* @uiName Password
|
|
372
|
+
* @uiName Password mismatch message
|
|
373
373
|
* @uiWidget textArea
|
|
374
374
|
*/
|
|
375
375
|
this.passwordMismatchErrorMessage = "Passwords do not match.";
|
|
376
376
|
/**
|
|
377
377
|
* The message to be displayed when the email used is invalid or blocked.
|
|
378
378
|
*
|
|
379
|
-
* @uiName Invalid
|
|
379
|
+
* @uiName Invalid email message
|
|
380
380
|
* @uiWidget textArea
|
|
381
381
|
*/
|
|
382
382
|
this.invalidEmailErrorMessage = "Must be a valid email address";
|
|
383
383
|
/**
|
|
384
384
|
* The message to be displayed when the registration form is disabled.
|
|
385
385
|
*
|
|
386
|
-
* @uiName Form
|
|
386
|
+
* @uiName Form disabled message
|
|
387
387
|
* @uiWidget textArea
|
|
388
388
|
*/
|
|
389
389
|
this.formDisabledErrorMessage = "The registration form is currently disabled.";
|
|
@@ -91,48 +91,48 @@ const PortalResetPassword = class {
|
|
|
91
91
|
/**
|
|
92
92
|
* Redirect participants to this page when they successfully reset their password.
|
|
93
93
|
*
|
|
94
|
-
* @uiName Successful
|
|
94
|
+
* @uiName Successful reset redirect
|
|
95
95
|
* @uiWidget pageSelect
|
|
96
96
|
*/
|
|
97
97
|
this.nextPage = "/";
|
|
98
98
|
/**
|
|
99
99
|
* Redirect participants to this page if password reset fails due to an outdated reset attempt.
|
|
100
100
|
*
|
|
101
|
-
* @uiName Failed
|
|
101
|
+
* @uiName Failed reset redirect
|
|
102
102
|
* @uiWidget pageSelect
|
|
103
103
|
*/
|
|
104
104
|
this.failedPage = "/";
|
|
105
105
|
/**
|
|
106
|
-
* @uiName Show
|
|
106
|
+
* @uiName Show confirm password field
|
|
107
107
|
*/
|
|
108
108
|
this.confirmPassword = false;
|
|
109
109
|
/**
|
|
110
|
-
* @uiName Reset
|
|
110
|
+
* @uiName Reset password header text
|
|
111
111
|
*/
|
|
112
112
|
this.resetPasswordHeader = "Reset your password";
|
|
113
113
|
/**
|
|
114
114
|
* Displayed after a successful password reset.
|
|
115
115
|
*
|
|
116
|
-
* @uiName Successful
|
|
116
|
+
* @uiName Successful password reset text
|
|
117
117
|
* @uiWidget textArea
|
|
118
118
|
*/
|
|
119
119
|
this.passwordResetHeader = "Password reset";
|
|
120
120
|
/**
|
|
121
|
-
* @uiName Password
|
|
121
|
+
* @uiName Password reset button text
|
|
122
122
|
*/
|
|
123
123
|
this.resetPasswordButtonText = "Reset Password";
|
|
124
124
|
/**
|
|
125
125
|
* Button text displayed after a successful password reset.
|
|
126
126
|
*
|
|
127
|
-
* @uiName Continue
|
|
127
|
+
* @uiName Continue button text
|
|
128
128
|
*/
|
|
129
129
|
this.continueButtonText = "Continue";
|
|
130
130
|
/**
|
|
131
|
-
* @uiName Password
|
|
131
|
+
* @uiName Password confirmation field label
|
|
132
132
|
*/
|
|
133
133
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
134
134
|
/**
|
|
135
|
-
* @uiName Password
|
|
135
|
+
* @uiName Password field label
|
|
136
136
|
*/
|
|
137
137
|
this.passwordFieldLabel = "New Password";
|
|
138
138
|
h(this);
|