@saasquatch/mint-components 2.1.10-56 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-c97e80de.js} +422 -19
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +264 -89
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
- package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
- package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +168 -59
- package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
- package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +265 -89
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
- package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
- package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +168 -59
- package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/ShadowViewAddon-33f1a8f7.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_45.entry.js +1 -0
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
- package/dist/mint-components/p-08930b83.js +499 -0
- package/dist/mint-components/p-0b1e90fe.system.js +1 -0
- package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
- package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
- package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
- package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
- package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
- package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
- package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
- package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
- package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
- package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
- package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
- package/dist/mint-components/p-76271ec4.entry.js +9 -0
- package/dist/mint-components/p-78b40f71.system.js +1 -0
- package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
- package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
- package/dist/mint-components/{p-a7f52290.entry.js → p-8784539d.entry.js} +21 -29
- package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
- package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
- package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
- package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
- package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
- package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
- package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
- package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
- package/dist/mint-components/p-c3c8d4ee.system.entry.js +1 -0
- package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -1
- package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
- package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
- package/dist/mint-components/p-dd12c32a.system.entry.js +1 -0
- package/dist/mint-components/p-e30abc44.js +1 -0
- package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
- package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
- package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
- package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
- package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
- package/dist/types/components.d.ts +349 -74
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/docs/stats.json +122783 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +0 -25
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +0 -19
- package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +0 -163
- package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +0 -26
- package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
- package/dist/mint-components/p-0a3d4374.system.entry.js +0 -1
- package/dist/mint-components/p-217dedde.js +0 -463
- package/dist/mint-components/p-2cce6e14.entry.js +0 -9
- package/dist/mint-components/p-55676213.entry.js +0 -1
- package/dist/mint-components/p-8fb1708b.system.entry.js +0 -1
- package/dist/mint-components/p-b699f76e.system.js +0 -1
- package/dist/mint-components/p-b6a1e2ac.js +0 -1
- package/dist/mint-components/p-ce050888.system.js +0 -1
- package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
- package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +0 -7
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +0 -8
- package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +0 -42
- package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +0 -3
|
@@ -9,10 +9,10 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
|
9
9
|
import './useReferralCodes-52ca720f.js';
|
|
10
10
|
import './mixins-f750863a.js';
|
|
11
11
|
import { C as CopyTextView } from './copy-text-view-87259b11.js';
|
|
12
|
-
import './sqm-text-span-view-
|
|
12
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
13
13
|
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-62de6fb1.js';
|
|
14
14
|
import { R as REGISTRATION_FORM_STATE_CONTEXT, a as useRegistrationForm } from './useRegistrationFormState-2c090c38.js';
|
|
15
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
15
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
16
16
|
import { a as useRequestRerender } from './re-render-f30aeb6b.js';
|
|
17
17
|
import { u as useChildElements } from './useChildElements-9bccfb72.js';
|
|
18
18
|
import './luxon-1be92a8e.js';
|
|
@@ -23,8 +23,8 @@ import { u as useInstantAccessRegistration } from './useInstantAccessRegistratio
|
|
|
23
23
|
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-dd4e8b08.js';
|
|
24
24
|
import { i as isEmpty } from './utilities-77b1e0cc.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
26
|
-
import { u as useDemoBigStat,
|
|
27
|
-
import './sqm-portal-container-view-
|
|
26
|
+
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-33f1a8f7.js';
|
|
27
|
+
import './sqm-portal-container-view-200c9df8.js';
|
|
28
28
|
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-12e6aae1.js';
|
|
29
29
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|
|
30
30
|
import { u as usePayoutStatus } from './usePayoutStatus-46c0c289.js';
|
|
@@ -6055,7 +6055,6 @@ function useDemoShareCode(props) {
|
|
|
6055
6055
|
borderRadius: props.borderRadius,
|
|
6056
6056
|
borderColor: props.borderColor,
|
|
6057
6057
|
buttonType: props.buttonType,
|
|
6058
|
-
rewardStatus: "AVAILABLE",
|
|
6059
6058
|
open,
|
|
6060
6059
|
onClick: () => {
|
|
6061
6060
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -6115,6 +6114,199 @@ const ShareLink = class {
|
|
|
6115
6114
|
* @uiGroup Style
|
|
6116
6115
|
*/
|
|
6117
6116
|
this.buttonStyle = "icon";
|
|
6117
|
+
/**
|
|
6118
|
+
* Let advocates customize their share links up to 5 times.
|
|
6119
|
+
*
|
|
6120
|
+
* @uiName Allow customization
|
|
6121
|
+
* @uiType boolean
|
|
6122
|
+
* @uiGroup Customizable Vanity Link
|
|
6123
|
+
* @uiWidget CustomLinkSwitch
|
|
6124
|
+
* @requiredFlavor impact
|
|
6125
|
+
*/
|
|
6126
|
+
this.allowCustomization = false;
|
|
6127
|
+
/**
|
|
6128
|
+
* Text for the cancel button in editing mode
|
|
6129
|
+
*
|
|
6130
|
+
* @uiName Cancel button label
|
|
6131
|
+
* @uiType string
|
|
6132
|
+
* @uiGroup Customizable Vanity Link
|
|
6133
|
+
* @requiredFlavor impact
|
|
6134
|
+
*/
|
|
6135
|
+
this.cancelLabelText = "Cancel";
|
|
6136
|
+
/**
|
|
6137
|
+
* Tooltip text shown when link customization is disabled
|
|
6138
|
+
*
|
|
6139
|
+
* @uiName Customize disabled tooltip
|
|
6140
|
+
* @uiType string
|
|
6141
|
+
* @uiGroup Customizable Vanity Link
|
|
6142
|
+
* @requiredFlavor impact
|
|
6143
|
+
*/
|
|
6144
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6145
|
+
/**
|
|
6146
|
+
* Displayed below the share link.
|
|
6147
|
+
*
|
|
6148
|
+
* @uiName Customize link button label
|
|
6149
|
+
* @uiType string
|
|
6150
|
+
* @uiGroup Customizable Vanity Link
|
|
6151
|
+
* @requiredFlavor impact
|
|
6152
|
+
*/
|
|
6153
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6154
|
+
/**
|
|
6155
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6156
|
+
*
|
|
6157
|
+
* @uiName Edit limit reached text
|
|
6158
|
+
* @uiType string
|
|
6159
|
+
* @uiWidget textarea
|
|
6160
|
+
* @uiGroup Customizable Vanity Link
|
|
6161
|
+
* @requiredFlavor impact
|
|
6162
|
+
*/
|
|
6163
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6164
|
+
/**
|
|
6165
|
+
* Subtext shown while the user is customizing their URL.
|
|
6166
|
+
*
|
|
6167
|
+
* @uiName Edit limit text
|
|
6168
|
+
* @uiType string
|
|
6169
|
+
* @uiGroup Customizable Vanity Link
|
|
6170
|
+
* @requiredFlavor impact
|
|
6171
|
+
*/
|
|
6172
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
|
|
6173
|
+
/**
|
|
6174
|
+
* Description text shown when the link contains invalid special characters.
|
|
6175
|
+
*
|
|
6176
|
+
* @uiName Invalid characters error description
|
|
6177
|
+
* @uiType string
|
|
6178
|
+
* @uiWidget textarea
|
|
6179
|
+
* @uiGroup Customizable Vanity Link
|
|
6180
|
+
* @requiredFlavor impact
|
|
6181
|
+
*/
|
|
6182
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6183
|
+
/**
|
|
6184
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6185
|
+
*
|
|
6186
|
+
* @uiName Invalid characters error title
|
|
6187
|
+
* @uiType string
|
|
6188
|
+
* @uiGroup Customizable Vanity Link
|
|
6189
|
+
* @requiredFlavor impact
|
|
6190
|
+
*/
|
|
6191
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6192
|
+
/**
|
|
6193
|
+
* Description text shown when the link has already been taken
|
|
6194
|
+
*
|
|
6195
|
+
* @uiName Link taken error message
|
|
6196
|
+
* @uiType string
|
|
6197
|
+
* @uiWidget textarea
|
|
6198
|
+
* @uiGroup Customizable Vanity Link
|
|
6199
|
+
* @requiredFlavor impact
|
|
6200
|
+
*/
|
|
6201
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6202
|
+
/**
|
|
6203
|
+
* Title of the error message shown when the link has already been taken
|
|
6204
|
+
*
|
|
6205
|
+
* @uiName Link taken error title
|
|
6206
|
+
* @uiType string
|
|
6207
|
+
* @uiGroup Customizable Vanity Link
|
|
6208
|
+
* @requiredFlavor impact
|
|
6209
|
+
*/
|
|
6210
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6211
|
+
/**
|
|
6212
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6213
|
+
*
|
|
6214
|
+
* @uiName Restricted words error description
|
|
6215
|
+
* @uiType string
|
|
6216
|
+
* @uiWidget textarea
|
|
6217
|
+
* @uiGroup Customizable Vanity Link
|
|
6218
|
+
* @requiredFlavor impact
|
|
6219
|
+
*/
|
|
6220
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6221
|
+
/**
|
|
6222
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6223
|
+
*
|
|
6224
|
+
* @uiName Restricted words error title
|
|
6225
|
+
* @uiType string
|
|
6226
|
+
* @uiGroup Customizable Vanity Link
|
|
6227
|
+
* @requiredFlavor impact
|
|
6228
|
+
*/
|
|
6229
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6230
|
+
/**
|
|
6231
|
+
* Text for the save button in editing mode
|
|
6232
|
+
*
|
|
6233
|
+
* @uiName Save button label
|
|
6234
|
+
* @uiType string
|
|
6235
|
+
* @uiGroup Customizable Vanity Link
|
|
6236
|
+
* @requiredFlavor impact
|
|
6237
|
+
*/
|
|
6238
|
+
this.saveLabelText = "Save";
|
|
6239
|
+
/**
|
|
6240
|
+
* Text for the save button while saving is in progress
|
|
6241
|
+
*
|
|
6242
|
+
* @uiName Saving button label
|
|
6243
|
+
* @uiType string
|
|
6244
|
+
* @uiGroup Customizable Vanity Link
|
|
6245
|
+
* @requiredFlavor impact
|
|
6246
|
+
*/
|
|
6247
|
+
this.savingLabelText = "Saving...";
|
|
6248
|
+
/**
|
|
6249
|
+
* Label shown above the link input while editing
|
|
6250
|
+
*
|
|
6251
|
+
* @uiName Edit input label
|
|
6252
|
+
* @uiType string
|
|
6253
|
+
* @uiGroup Customizable Vanity Link
|
|
6254
|
+
* @requiredFlavor impact
|
|
6255
|
+
*/
|
|
6256
|
+
this.editLabelText = "Enter your link";
|
|
6257
|
+
/**
|
|
6258
|
+
* Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
|
|
6259
|
+
*
|
|
6260
|
+
* @uiName Characters remaining text
|
|
6261
|
+
* @uiType string
|
|
6262
|
+
* @uiGroup Customizable Vanity Link
|
|
6263
|
+
* @requiredFlavor impact
|
|
6264
|
+
*/
|
|
6265
|
+
this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
|
|
6266
|
+
/**
|
|
6267
|
+
* Text shown while the link is being validated
|
|
6268
|
+
*
|
|
6269
|
+
* @uiName Validating label
|
|
6270
|
+
* @uiType string
|
|
6271
|
+
* @uiGroup Customizable Vanity Link
|
|
6272
|
+
* @requiredFlavor impact
|
|
6273
|
+
*/
|
|
6274
|
+
this.validatingLabelText = "Validating...";
|
|
6275
|
+
/**
|
|
6276
|
+
* @uiName Min characters text
|
|
6277
|
+
* @uiType string
|
|
6278
|
+
* @uiGroup Customizable Vanity Link
|
|
6279
|
+
* @requiredFlavor impact
|
|
6280
|
+
*/
|
|
6281
|
+
this.minCharactersText = "Minimum 3 characters.";
|
|
6282
|
+
/**
|
|
6283
|
+
* Display text for the support link in the edit limit reached message
|
|
6284
|
+
*
|
|
6285
|
+
* @uiName Support link text
|
|
6286
|
+
* @uiType string
|
|
6287
|
+
* @uiGroup Customizable Vanity Link
|
|
6288
|
+
* @requiredFlavor impact
|
|
6289
|
+
*/
|
|
6290
|
+
this.supportLinkText = "Support";
|
|
6291
|
+
/**
|
|
6292
|
+
* Title shown when saving fails with an unknown error
|
|
6293
|
+
*
|
|
6294
|
+
* @uiName Save error title
|
|
6295
|
+
* @uiType string
|
|
6296
|
+
* @uiGroup Customizable Vanity Link
|
|
6297
|
+
* @requiredFlavor impact
|
|
6298
|
+
*/
|
|
6299
|
+
this.saveErrorTitle = "Error";
|
|
6300
|
+
/**
|
|
6301
|
+
* Description shown when saving fails with an unknown error
|
|
6302
|
+
*
|
|
6303
|
+
* @uiName Save error description
|
|
6304
|
+
* @uiType string
|
|
6305
|
+
* @uiWidget textarea
|
|
6306
|
+
* @uiGroup Customizable Vanity Link
|
|
6307
|
+
* @requiredFlavor impact
|
|
6308
|
+
*/
|
|
6309
|
+
this.saveErrorDescription = "Failed to save custom link. Please try again.";
|
|
6118
6310
|
h(this);
|
|
6119
6311
|
}
|
|
6120
6312
|
disconnectedCallback() { }
|
|
@@ -6123,33 +6315,79 @@ const ShareLink = class {
|
|
|
6123
6315
|
const props = isDemo()
|
|
6124
6316
|
? useDemoShareLink(thisProps)
|
|
6125
6317
|
: useShareLink(thisProps);
|
|
6126
|
-
return h$1(
|
|
6318
|
+
return h$1(ShareLinkView, Object.assign({}, props));
|
|
6127
6319
|
}
|
|
6128
6320
|
};
|
|
6129
6321
|
function useDemoShareLink(props) {
|
|
6322
|
+
var _a;
|
|
6130
6323
|
const [open, setOpen] = useState(false);
|
|
6324
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
6325
|
+
const [editValue, setEditValue] = useState("");
|
|
6131
6326
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6327
|
+
const domainPrefix = "https://www.example.com/";
|
|
6328
|
+
const baseProps = {
|
|
6329
|
+
copyTextViewProps: {
|
|
6330
|
+
copyString,
|
|
6331
|
+
tooltiptext: props.tooltiptext,
|
|
6332
|
+
textAlign: props.textAlign,
|
|
6333
|
+
buttonStyle: props.buttonStyle,
|
|
6334
|
+
backgroundColor: props.backgroundColor,
|
|
6335
|
+
textColor: props.textColor,
|
|
6336
|
+
borderRadius: props.borderRadius,
|
|
6337
|
+
buttonType: props.buttonType,
|
|
6338
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
6339
|
+
borderColor: props.borderColor,
|
|
6340
|
+
open,
|
|
6341
|
+
onClick: () => {
|
|
6342
|
+
navigator.clipboard.writeText(copyString);
|
|
6343
|
+
setOpen(true);
|
|
6344
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
6345
|
+
},
|
|
6151
6346
|
},
|
|
6152
|
-
|
|
6347
|
+
allowCustomization: props.allowCustomization,
|
|
6348
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6349
|
+
saveLabelText: props.saveLabelText,
|
|
6350
|
+
savingLabelText: props.savingLabelText,
|
|
6351
|
+
cancelLabelText: props.cancelLabelText,
|
|
6352
|
+
editLabelText: props.editLabelText,
|
|
6353
|
+
charactersRemainingText: props.charactersRemainingText,
|
|
6354
|
+
validatingLabelText: props.validatingLabelText,
|
|
6355
|
+
isEditing,
|
|
6356
|
+
editValue,
|
|
6357
|
+
domainPrefix,
|
|
6358
|
+
editsRemaining: 5,
|
|
6359
|
+
maxEdits: 5,
|
|
6360
|
+
limitReached: false,
|
|
6361
|
+
validationError: null,
|
|
6362
|
+
isValidating: false,
|
|
6363
|
+
isSaving: false,
|
|
6364
|
+
characterLimit: 15,
|
|
6365
|
+
minCharacters: 3,
|
|
6366
|
+
charactersRemaining: 15 - editValue.length,
|
|
6367
|
+
editLimitText: props.editLimitText,
|
|
6368
|
+
editLimitReachedText: props.editLimitReachedText,
|
|
6369
|
+
supportLinkText: props.supportLinkText,
|
|
6370
|
+
minCharactersText: props.minCharactersText,
|
|
6371
|
+
customizeDisabled: false,
|
|
6372
|
+
customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
|
|
6373
|
+
onCustomizeClick: () => {
|
|
6374
|
+
setIsEditing(true);
|
|
6375
|
+
setEditValue("");
|
|
6376
|
+
},
|
|
6377
|
+
onEditValueChange: (value) => {
|
|
6378
|
+
setEditValue(value);
|
|
6379
|
+
},
|
|
6380
|
+
onSave: () => {
|
|
6381
|
+
setIsEditing(false);
|
|
6382
|
+
},
|
|
6383
|
+
onCancel: () => {
|
|
6384
|
+
setIsEditing(false);
|
|
6385
|
+
setEditValue("");
|
|
6386
|
+
},
|
|
6387
|
+
};
|
|
6388
|
+
return cjs(baseProps, props.demoData || {}, {
|
|
6389
|
+
arrayMerge: (_, a) => a,
|
|
6390
|
+
});
|
|
6153
6391
|
}
|
|
6154
6392
|
|
|
6155
6393
|
const StatContainer = class {
|
|
@@ -7873,68 +8111,6 @@ const TimelineReward = class {
|
|
|
7873
8111
|
}
|
|
7874
8112
|
};
|
|
7875
8113
|
|
|
7876
|
-
function UserAttributeView(props) {
|
|
7877
|
-
const style = {
|
|
7878
|
-
P: {
|
|
7879
|
-
margin: "0",
|
|
7880
|
-
padding: "0",
|
|
7881
|
-
fontSize: props.fontsize || "inherit",
|
|
7882
|
-
fontWeight: props.fontweight || "inherit",
|
|
7883
|
-
color: props.color || "var(--sqm-text)",
|
|
7884
|
-
},
|
|
7885
|
-
};
|
|
7886
|
-
const sheet = createStyleSheet(style);
|
|
7887
|
-
const styleString = sheet.toString();
|
|
7888
|
-
const loadingSkeleton = (h$1("sqm-skeleton", { width: "200px", height: "20px" }));
|
|
7889
|
-
return (props.value && (h$1(Host, null,
|
|
7890
|
-
h$1("style", null, styleString),
|
|
7891
|
-
h$1("p", { class: sheet.classes.P, part: "sqm-base" }, props.loading ? loadingSkeleton : props.value))));
|
|
7892
|
-
}
|
|
7893
|
-
|
|
7894
|
-
const GET_CUSTOM_FIELDS = dist.gql `
|
|
7895
|
-
query getCustomFields {
|
|
7896
|
-
viewer {
|
|
7897
|
-
... on User {
|
|
7898
|
-
customFields
|
|
7899
|
-
}
|
|
7900
|
-
}
|
|
7901
|
-
}
|
|
7902
|
-
`;
|
|
7903
|
-
function useUserAttribute(props) {
|
|
7904
|
-
var _a, _b;
|
|
7905
|
-
const user = J();
|
|
7906
|
-
const res = wn(GET_CUSTOM_FIELDS, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
7907
|
-
const loading = res.loading;
|
|
7908
|
-
const customFields = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields;
|
|
7909
|
-
const value = customFields === null || customFields === void 0 ? void 0 : customFields[props.value];
|
|
7910
|
-
return {
|
|
7911
|
-
loading,
|
|
7912
|
-
value,
|
|
7913
|
-
fontsize: props.fontsize,
|
|
7914
|
-
color: props.color,
|
|
7915
|
-
fontweight: props.fontweight,
|
|
7916
|
-
};
|
|
7917
|
-
}
|
|
7918
|
-
|
|
7919
|
-
const UserAttribute = class {
|
|
7920
|
-
constructor(hostRef) {
|
|
7921
|
-
registerInstance(this, hostRef);
|
|
7922
|
-
this.ignored = true;
|
|
7923
|
-
h(this);
|
|
7924
|
-
}
|
|
7925
|
-
disconnectedCallback() { }
|
|
7926
|
-
render() {
|
|
7927
|
-
const props = isDemo() ? useCustomFieldsDemo(this) : useUserAttribute(this);
|
|
7928
|
-
return h$1(UserAttributeView, Object.assign({}, props));
|
|
7929
|
-
}
|
|
7930
|
-
};
|
|
7931
|
-
function useCustomFieldsDemo(props) {
|
|
7932
|
-
return cjs({
|
|
7933
|
-
loading: false,
|
|
7934
|
-
value: "Custom Field Value",
|
|
7935
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7936
|
-
}
|
|
7937
|
-
|
|
7938
8114
|
function UserNameView(props) {
|
|
7939
8115
|
return h$1(Host, null, props.loading ? props.loadingText : props.username);
|
|
7940
8116
|
}
|
|
@@ -7993,4 +8169,4 @@ function useUserNameDemo(props) {
|
|
|
7993
8169
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7994
8170
|
}
|
|
7995
8171
|
|
|
7996
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry,
|
|
8172
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, SqmBrandSelector as sqm_brand_selector, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, LeadDropdownField as sqm_lead_dropdown_field, LeadForm as sqm_lead_form, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, MarketingEmailsCheckbox as sqm_marketing_emails_checkbox, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PayoutButtonScroll as sqm_payout_button_scroll, PayoutStatusAlert as sqm_payout_status_alert, PortalChangeMarketing as sqm_portal_change_marketing, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalGoogleRegistrationForm as sqm_portal_google_registration_form, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, ReferredRegistration as sqm_referred_registration, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, TaxAndCashMonolith as sqm_tax_and_cash, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
@@ -6,7 +6,7 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { E as ErrorStyles } from './mixins-f750863a.js';
|
|
9
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
10
10
|
import { V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
11
11
|
import { u as useVerificationEmail } from './useVerificationEmail-c13c3b51.js';
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import { d as dist, q as Pn, w as wn, J, $ as $e, i as isDemo, o as En } from '.
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
8
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
9
9
|
import { S as SHOW_CODE_NAMESPACE, V as VERIFICATION_EMAIL_NAMESPACE } from './keys-406491dc.js';
|
|
10
10
|
import { u as useVerificationEmail } from './useVerificationEmail-c13c3b51.js';
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import './index.module-b23fdad8.js';
|
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
|
|
8
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-
|
|
8
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-200c9df8.js';
|
|
9
9
|
|
|
10
10
|
function EmptyStateView(props) {
|
|
11
11
|
const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
|
package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from './index-38ad4957.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
|
|
4
4
|
function PortalSectionView(props) {
|
|
@@ -46,12 +46,11 @@ function PortalContainerView(props, children) {
|
|
|
46
46
|
}`;
|
|
47
47
|
const sheet = createStyleSheet(style);
|
|
48
48
|
const styleString = sheet.toString();
|
|
49
|
-
return (h(
|
|
50
|
-
h("
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
children)));
|
|
49
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
50
|
+
h("style", { type: "text/css" },
|
|
51
|
+
vanillaStyle,
|
|
52
|
+
styleString),
|
|
53
|
+
children));
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
export { PortalContainerView as P, PortalSectionView as a };
|
|
@@ -2,7 +2,7 @@ import { h } from './index-38ad4957.js';
|
|
|
2
2
|
import { i as intl } from './global-96c14d63.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f750863a.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
8
8
|
Wrapper: AuthWrapper,
|
|
@@ -5,8 +5,8 @@ import { l as ln, n as nn, J, j as jn, b as useCallback, i as isDemo } from './i
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
8
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-04528277.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -6,11 +6,11 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
9
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
10
|
+
import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-c61536b7.js';
|
|
11
11
|
import { A as AsYouType, u as usePortalRegistrationForm } from './usePortalRegistrationForm-62de6fb1.js';
|
|
12
12
|
import { u as useRegistrationFormState } from './useRegistrationFormState-2c090c38.js';
|
|
13
|
-
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-
|
|
13
|
+
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
14
14
|
|
|
15
15
|
function usePortalForgotPassword(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -298,7 +298,7 @@ const PortalGoogleLogin = class {
|
|
|
298
298
|
const sheet = createStyleSheet(styles);
|
|
299
299
|
const styleString = sheet.toString();
|
|
300
300
|
const content = {
|
|
301
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
301
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { part: "forgot-password-link", onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
302
302
|
googleButton: (h$1("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
|
|
303
303
|
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
|
|
304
304
|
emailLabel: this.emailLabel,
|
|
@@ -403,7 +403,7 @@ const PortalLogin = class {
|
|
|
403
403
|
const sheet = createStyleSheet(styles);
|
|
404
404
|
const styleString = sheet.toString();
|
|
405
405
|
const content = {
|
|
406
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
406
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { part: "forgot-password-link", onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
407
407
|
googleButton: null,
|
|
408
408
|
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
|
|
409
409
|
emailLabel: this.emailLabel,
|
package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
2
|
import { i as intl } from './global-96c14d63.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
5
5
|
|
|
6
6
|
function PortalProfileView(props) {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
@@ -5,8 +5,8 @@ import { d as dist, J, w as wn, $ as $e, i as isDemo } from './index.module-b23f
|
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
8
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-b5ea620f.js';
|
|
10
10
|
import { i as isEmpty } from './utilities-77b1e0cc.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-38ad4957.js';
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f750863a.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -6,8 +6,8 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
9
|
+
import './sqm-text-span-view-72f43dff.js';
|
|
10
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f84c04cf.js';
|
|
11
11
|
|
|
12
12
|
function usePortalResetPassword(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -2,7 +2,7 @@ import { h } from './index-38ad4957.js';
|
|
|
2
2
|
import { j as jn } from './index.module-b23fdad8.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, H as HostBlock, E as ErrorStyles } from './mixins-f750863a.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
6
6
|
|
|
7
7
|
const vanillaStyle = `
|
|
8
8
|
:host {
|
|
@@ -6,7 +6,7 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
10
10
|
import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
|
|
11
11
|
import { a as useRequestRerender, u as useRerenderListener } from './re-render-f30aeb6b.js';
|
|
12
12
|
import { u as useChildElements } from './useChildElements-9bccfb72.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
|
|
2
2
|
import { n as h } from './dom-context-hooks.module-50442785.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteCell = class {
|
|
7
7
|
constructor(hostRef) {
|