@saasquatch/mint-components 2.1.8-3 → 2.1.8-4

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.
@@ -4387,7 +4387,7 @@ function ShareLinkView(props) {
4387
4387
  vanillaStyle$6),
4388
4388
  index.h(copyTextView.CopyTextView, Object.assign({}, copyTextViewProps)),
4389
4389
  showSuccess && index.h("p", { class: sheet.classes.SuccessText }, successMessage),
4390
- customizeUrl && (customizeDisabled ? (index.h("sl-tooltip", { content: customizeDisabledTooltip },
4390
+ customizeUrl && (customizeDisabled ? (index.h("sl-tooltip", { content: customizeDisabledTooltip, placement: "top", style: { display: "inline-block", width: "fit-content" } },
4391
4391
  index.h("p", { class: sheet.classes.CustomizeLinkDisabled }, customizeLinkLabel))) : (index.h("p", { class: limitReached
4392
4392
  ? sheet.classes.CustomizeLinkDisabled
4393
4393
  : sheet.classes.CustomizeLinkText, onClick: limitReached ? undefined : onCustomizeClick }, customizeLinkLabel))),
@@ -4559,7 +4559,7 @@ function useShareLink(props) {
4559
4559
  if (limitReached || customizeDisabled)
4560
4560
  return;
4561
4561
  setIsEditing(true);
4562
- setEditValue(parsePathSuffix(copyString));
4562
+ setEditValue(editCount === 0 ? "" : parsePathSuffix(copyString));
4563
4563
  setValidationError(null);
4564
4564
  }
4565
4565
  function onEditValueChange(value) {
@@ -4642,7 +4642,8 @@ function useShareLink(props) {
4642
4642
  editLimitText: props.editLimitText,
4643
4643
  editLimitReachedText: props.editLimitReachedText,
4644
4644
  supportLinkText: props.supportLinkText,
4645
- customizeDisabled,
4645
+ // customizeDisabled,
4646
+ customizeDisabled: false,
4646
4647
  customizeDisabledTooltip: props.customizeDisabledTooltip,
4647
4648
  onCustomizeClick,
4648
4649
  onEditValueChange,
@@ -27,7 +27,7 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-239
27
27
  const useLeadFormState = require('./useLeadFormState-b4c2ab5b.js');
28
28
  const utilities = require('./utilities-fcdb9504.js');
29
29
  const ErrorView = require('./ErrorView-ee7b0f36.js');
30
- const ShadowViewAddon = require('./ShadowViewAddon-3384ddc4.js');
30
+ const ShadowViewAddon = require('./ShadowViewAddon-f5a79b05.js');
31
31
  require('./sqm-portal-container-view-70a47420.js');
32
32
  const data = require('./data-8c8a08f6.js');
33
33
  const extractProps = require('./extractProps-e9c55ba8.js');
@@ -6264,7 +6264,7 @@ function useDemoShareLink(props) {
6264
6264
  isEditing,
6265
6265
  editValue,
6266
6266
  domainPrefix,
6267
- editsRemaining: 3,
6267
+ editsRemaining: 5,
6268
6268
  maxEdits: 5,
6269
6269
  limitReached: false,
6270
6270
  validationError: null,
@@ -6280,7 +6280,7 @@ function useDemoShareLink(props) {
6280
6280
  customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
6281
6281
  onCustomizeClick: () => {
6282
6282
  setIsEditing(true);
6283
- setEditValue("sharelink/abc");
6283
+ setEditValue("");
6284
6284
  },
6285
6285
  onEditValueChange: (value) => {
6286
6286
  setEditValue(value);
@@ -33,7 +33,7 @@ require('./utilities-fcdb9504.js');
33
33
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6b1acd90.js');
34
34
  require('./ErrorView-ee7b0f36.js');
35
35
  const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
36
- const ShadowViewAddon = require('./ShadowViewAddon-3384ddc4.js');
36
+ const ShadowViewAddon = require('./ShadowViewAddon-f5a79b05.js');
37
37
  const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
38
38
  const sqmUserInfoFormView = require('./sqm-user-info-form-view-53306f6e.js');
39
39
  const data = require('./data-8c8a08f6.js');
@@ -160,7 +160,7 @@ export function ShareLinkView(props) {
160
160
  vanillaStyle),
161
161
  h(CopyTextView, Object.assign({}, copyTextViewProps)),
162
162
  showSuccess && h("p", { class: sheet.classes.SuccessText }, successMessage),
163
- customizeUrl && (customizeDisabled ? (h("sl-tooltip", { content: customizeDisabledTooltip },
163
+ customizeUrl && (customizeDisabled ? (h("sl-tooltip", { content: customizeDisabledTooltip, placement: "top", style: { display: "inline-block", width: "fit-content" } },
164
164
  h("p", { class: sheet.classes.CustomizeLinkDisabled }, customizeLinkLabel))) : (h("p", { class: limitReached
165
165
  ? sheet.classes.CustomizeLinkDisabled
166
166
  : sheet.classes.CustomizeLinkText, onClick: limitReached ? undefined : onCustomizeClick }, customizeLinkLabel))),
@@ -901,7 +901,7 @@ function useDemoShareLink(props) {
901
901
  isEditing,
902
902
  editValue,
903
903
  domainPrefix,
904
- editsRemaining: 3,
904
+ editsRemaining: 5,
905
905
  maxEdits: 5,
906
906
  limitReached: false,
907
907
  validationError: null,
@@ -917,7 +917,7 @@ function useDemoShareLink(props) {
917
917
  customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
918
918
  onCustomizeClick: () => {
919
919
  setIsEditing(true);
920
- setEditValue("sharelink/abc");
920
+ setEditValue("");
921
921
  },
922
922
  onEditValueChange: (value) => {
923
923
  setEditValue(value);
@@ -162,7 +162,7 @@ export function useShareLink(props) {
162
162
  if (limitReached || customizeDisabled)
163
163
  return;
164
164
  setIsEditing(true);
165
- setEditValue(parsePathSuffix(copyString));
165
+ setEditValue(editCount === 0 ? "" : parsePathSuffix(copyString));
166
166
  setValidationError(null);
167
167
  }
168
168
  function onEditValueChange(value) {
@@ -245,7 +245,8 @@ export function useShareLink(props) {
245
245
  editLimitText: props.editLimitText,
246
246
  editLimitReachedText: props.editLimitReachedText,
247
247
  supportLinkText: props.supportLinkText,
248
- customizeDisabled,
248
+ // customizeDisabled,
249
+ customizeDisabled: false,
249
250
  customizeDisabledTooltip: props.customizeDisabledTooltip,
250
251
  onCustomizeClick,
251
252
  onEditValueChange,
@@ -4385,7 +4385,7 @@ function ShareLinkView(props) {
4385
4385
  vanillaStyle$6),
4386
4386
  h(CopyTextView, Object.assign({}, copyTextViewProps)),
4387
4387
  showSuccess && h("p", { class: sheet.classes.SuccessText }, successMessage),
4388
- customizeUrl && (customizeDisabled ? (h("sl-tooltip", { content: customizeDisabledTooltip },
4388
+ customizeUrl && (customizeDisabled ? (h("sl-tooltip", { content: customizeDisabledTooltip, placement: "top", style: { display: "inline-block", width: "fit-content" } },
4389
4389
  h("p", { class: sheet.classes.CustomizeLinkDisabled }, customizeLinkLabel))) : (h("p", { class: limitReached
4390
4390
  ? sheet.classes.CustomizeLinkDisabled
4391
4391
  : sheet.classes.CustomizeLinkText, onClick: limitReached ? undefined : onCustomizeClick }, customizeLinkLabel))),
@@ -4557,7 +4557,7 @@ function useShareLink(props) {
4557
4557
  if (limitReached || customizeDisabled)
4558
4558
  return;
4559
4559
  setIsEditing(true);
4560
- setEditValue(parsePathSuffix(copyString));
4560
+ setEditValue(editCount === 0 ? "" : parsePathSuffix(copyString));
4561
4561
  setValidationError(null);
4562
4562
  }
4563
4563
  function onEditValueChange(value) {
@@ -4640,7 +4640,8 @@ function useShareLink(props) {
4640
4640
  editLimitText: props.editLimitText,
4641
4641
  editLimitReachedText: props.editLimitReachedText,
4642
4642
  supportLinkText: props.supportLinkText,
4643
- customizeDisabled,
4643
+ // customizeDisabled,
4644
+ customizeDisabled: false,
4644
4645
  customizeDisabledTooltip: props.customizeDisabledTooltip,
4645
4646
  onCustomizeClick,
4646
4647
  onEditValueChange,
@@ -23,7 +23,7 @@ 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, 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-c2f026c0.js';
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-491b58b8.js';
27
27
  import './sqm-portal-container-view-a8c708cd.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';
@@ -6260,7 +6260,7 @@ function useDemoShareLink(props) {
6260
6260
  isEditing,
6261
6261
  editValue,
6262
6262
  domainPrefix,
6263
- editsRemaining: 3,
6263
+ editsRemaining: 5,
6264
6264
  maxEdits: 5,
6265
6265
  limitReached: false,
6266
6266
  validationError: null,
@@ -6276,7 +6276,7 @@ function useDemoShareLink(props) {
6276
6276
  customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
6277
6277
  onCustomizeClick: () => {
6278
6278
  setIsEditing(true);
6279
- setEditValue("sharelink/abc");
6279
+ setEditValue("");
6280
6280
  },
6281
6281
  onEditValueChange: (value) => {
6282
6282
  setEditValue(value);
@@ -29,7 +29,7 @@ import './utilities-77b1e0cc.js';
29
29
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-cfbc0eb0.js';
30
30
  import './ErrorView-74cb3af8.js';
31
31
  import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
32
- import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-c2f026c0.js';
32
+ import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-491b58b8.js';
33
33
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-a8c708cd.js';
34
34
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-19d81a2b.js';
35
35
  import { t as taxTypeToName, L as LoadingView } from './data-12e6aae1.js';