@saasquatch/mint-components 2.1.8-24 → 2.1.8-26

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.
Files changed (33) hide show
  1. package/dist/cjs/{ShadowViewAddon-1ed8faf9.js → ShadowViewAddon-1bc48666.js} +11 -10
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-big-stat_45.cjs.entry.js +61 -57
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  6. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +6 -5
  7. package/dist/collection/components/sqm-share-link/sqm-share-link.js +153 -137
  8. package/dist/collection/components/sqm-share-link/useShareLink.js +5 -5
  9. package/dist/esm/{ShadowViewAddon-395ab799.js → ShadowViewAddon-10db3e11.js} +11 -10
  10. package/dist/esm/loader.js +1 -1
  11. package/dist/esm/mint-components.js +1 -1
  12. package/dist/esm/sqm-big-stat_45.entry.js +61 -57
  13. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  14. package/dist/esm-es5/{ShadowViewAddon-395ab799.js → ShadowViewAddon-10db3e11.js} +1 -1
  15. package/dist/esm-es5/loader.js +1 -1
  16. package/dist/esm-es5/mint-components.js +1 -1
  17. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
  18. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  19. package/dist/mint-components/mint-components.esm.js +1 -1
  20. package/dist/mint-components/{p-d7adb7f3.system.js → p-0b5dd21b.system.js} +1 -1
  21. package/dist/mint-components/p-4b365f1f.system.js +1 -1
  22. package/dist/mint-components/{p-2b108f39.system.entry.js → p-4df9c93e.system.entry.js} +1 -1
  23. package/dist/mint-components/{p-8e5a6491.system.entry.js → p-6d10c03c.system.entry.js} +1 -1
  24. package/dist/mint-components/{p-cd79864c.js → p-72055e41.js} +2 -2
  25. package/dist/mint-components/{p-ba640335.entry.js → p-840157bd.entry.js} +2 -2
  26. package/dist/mint-components/{p-e6cf9daa.entry.js → p-a4f44c57.entry.js} +1 -1
  27. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +59 -55
  28. package/dist/types/components/sqm-share-link/useShareLink.d.ts +5 -5
  29. package/dist/types/components.d.ts +94 -86
  30. package/docs/docs.docx +0 -0
  31. package/docs/raisins.json +1 -1
  32. package/grapesjs/grapesjs.js +1 -1
  33. package/package.json +1 -1
@@ -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-cec544ea.js';
24
24
  import { i as isEmpty } from './utilities-f05633da.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-395ab799.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-10db3e11.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-a6752028.js';
29
29
  import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
@@ -6110,131 +6110,135 @@ const ShareLink = class {
6110
6110
  */
6111
6111
  this.buttonStyle = "icon";
6112
6112
  /**
6113
- * Enable users to customize their referral link
6113
+ * Let advocates customize their share links up to 5 times.
6114
6114
  *
6115
- * @uiName Customize URL
6115
+ * @uiName Allow customization
6116
6116
  * @uiType boolean
6117
- * @uiGroup Customize Vanity Link
6117
+ * @uiGroup Customizable Vanity Link
6118
6118
  * @requiredFlavor impact
6119
6119
  */
6120
6120
  this.allowCustomization = false;
6121
6121
  /**
6122
- * Text shown below the share link input to trigger customization
6122
+ * Text for the cancel button in editing mode
6123
6123
  *
6124
- * @uiName Customize link label
6124
+ * @uiName Cancel button label
6125
6125
  * @uiType string
6126
- * @uiGroup Customize Vanity Link
6126
+ * @uiGroup Customizable Vanity Link
6127
6127
  * @requiredFlavor impact
6128
6128
  */
6129
- this.customizeLinkLabel = "Customize Link";
6129
+ this.cancelLabelText = "Cancel";
6130
6130
  /**
6131
- * Text for the save button in editing mode
6131
+ * Tooltip text shown when link customization is disabled
6132
6132
  *
6133
- * @uiName Save button label
6133
+ * @uiName Customize disabled tooltip
6134
6134
  * @uiType string
6135
- * @uiGroup Customize Vanity Link
6135
+ * @uiGroup Customizable Vanity Link
6136
6136
  * @requiredFlavor impact
6137
6137
  */
6138
- this.saveLabelText = "Save";
6138
+ this.customizeDisabledTooltip = "Link customization is not available.";
6139
6139
  /**
6140
- * Text for the cancel button in editing mode
6140
+ * Displayed below the share link.
6141
6141
  *
6142
- * @uiName Cancel button label
6142
+ * @uiName Customize link button label
6143
6143
  * @uiType string
6144
- * @uiGroup Customize Vanity Link
6144
+ * @uiGroup Customizable Vanity Link
6145
6145
  * @requiredFlavor impact
6146
6146
  */
6147
- this.cancelLabelText = "Cancel";
6147
+ this.customizeLinkButtonLabel = "Customize Link";
6148
6148
  /**
6149
- * Title text shown when the custom link is already taken
6149
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
6150
6150
  *
6151
- * @uiName Existing code conflict error title
6151
+ * @uiName Edit limit reached text
6152
6152
  * @uiType string
6153
- * @uiGroup Customize Vanity Link
6153
+ * @uiWidget textarea
6154
+ * @uiGroup Customizable Vanity Link
6154
6155
  * @requiredFlavor impact
6155
6156
  */
6156
- this.existingCodeConflictErrorTitle = "This link is already taken";
6157
+ this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
6157
6158
  /**
6158
- * Description text shown when the custom link is already taken
6159
+ * Subtext shown while the user is customizing their URL.
6159
6160
  *
6160
- * @uiName Existing code conflict error description
6161
+ * @uiName Edit limit text
6161
6162
  * @uiType string
6162
- * @uiGroup Customize Vanity Link
6163
+ * @uiGroup Customizable Vanity Link
6163
6164
  * @requiredFlavor impact
6164
6165
  */
6165
- this.existingCodeConflictErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
6166
+ this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
6166
6167
  /**
6167
- * Title text shown when the link contains invalid characters
6168
+ * Description text shown when the link contains invalid special characters.
6168
6169
  *
6169
- * @uiName Invalid characters error title
6170
+ * @uiName Invalid characters error description
6170
6171
  * @uiType string
6171
- * @uiGroup Customize Vanity Link
6172
+ * @uiWidget textarea
6173
+ * @uiGroup Customizable Vanity Link
6172
6174
  * @requiredFlavor impact
6173
6175
  */
6174
- this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
6176
+ this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
6175
6177
  /**
6176
- * Description text shown when the link contains invalid characters
6178
+ * Title of the error message shown when the link contains invalid special characters.
6177
6179
  *
6178
- * @uiName Invalid characters error description
6180
+ * @uiName Invalid characters error title
6179
6181
  * @uiType string
6180
- * @uiGroup Customize Vanity Link
6182
+ * @uiGroup Customizable Vanity Link
6181
6183
  * @requiredFlavor impact
6182
6184
  */
6183
- this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
6185
+ this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
6184
6186
  /**
6185
- * Title text shown when the link contains profanity
6187
+ * Description text shown when the link has already been taken
6186
6188
  *
6187
- * @uiName Profanity error title
6189
+ * @uiName Link taken error message
6188
6190
  * @uiType string
6189
- * @uiGroup Customize Vanity Link
6191
+ * @uiWidget textarea
6192
+ * @uiGroup Customizable Vanity Link
6190
6193
  * @requiredFlavor impact
6191
6194
  */
6192
- this.profanityErrorTitle = "Please try a different link";
6195
+ this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
6193
6196
  /**
6194
- * Description text shown when the link contains profanity
6197
+ * Title of the error message shown when the link has already been taken
6195
6198
  *
6196
- * @uiName Profanity error description
6199
+ * @uiName Link taken error title
6197
6200
  * @uiType string
6198
- * @uiGroup Customize Vanity Link
6201
+ * @uiGroup Customizable Vanity Link
6199
6202
  * @requiredFlavor impact
6200
6203
  */
6201
- this.profanityErrorDescription = "This link contains a restricted word.";
6204
+ this.linkTakenErrorTitle = "This link is already taken";
6202
6205
  /**
6203
- * Text describing the edit limit
6206
+ * Description text shown when the link contains profanity or brand names.
6204
6207
  *
6205
- * @uiName Edit limit text
6208
+ * @uiName Restricted words error description
6206
6209
  * @uiType string
6207
- * @uiGroup Customize Vanity Link
6210
+ * @uiWidget textarea
6211
+ * @uiGroup Customizable Vanity Link
6208
6212
  * @requiredFlavor impact
6209
6213
  */
6210
- this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
6214
+ this.restrictedWordsErrorDescription = "This link contains a restricted word.";
6211
6215
  /**
6212
- * Message shown when the edit limit has been reached. Use {supportLink} as a placeholder for the support link.
6216
+ * Title of the error message shown when the link contains profanity or brand names.
6213
6217
  *
6214
- * @uiName Edit limit reached text
6218
+ * @uiName Restricted words error title
6215
6219
  * @uiType string
6216
- * @uiGroup Customize Vanity Link
6220
+ * @uiGroup Customizable Vanity Link
6217
6221
  * @requiredFlavor impact
6218
6222
  */
6219
- this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
6223
+ this.restrictedWordsErrorTitle = "Please try a different link";
6220
6224
  /**
6221
- * Display text for the support link in the edit limit reached message
6225
+ * Text for the save button in editing mode
6222
6226
  *
6223
- * @uiName Support link text
6227
+ * @uiName Save button label
6224
6228
  * @uiType string
6225
- * @uiGroup Customize Vanity Link
6229
+ * @uiGroup Customizable Vanity Link
6226
6230
  * @requiredFlavor impact
6227
6231
  */
6228
- this.supportLinkText = "Support";
6232
+ this.saveLabelText = "Save";
6229
6233
  /**
6230
- * Tooltip text shown when link customization is disabled
6234
+ * Display text for the support link in the edit limit reached message
6231
6235
  *
6232
- * @uiName Customize disabled tooltip
6236
+ * @uiName Support link text
6233
6237
  * @uiType string
6234
- * @uiGroup Customize Vanity Link
6238
+ * @uiGroup Customizable Vanity Link
6235
6239
  * @requiredFlavor impact
6236
6240
  */
6237
- this.customizeDisabledTooltip = "Link customization is not available.";
6241
+ this.supportLinkText = "Support";
6238
6242
  h(this);
6239
6243
  }
6240
6244
  disconnectedCallback() { }
@@ -6273,7 +6277,7 @@ function useDemoShareLink(props) {
6273
6277
  },
6274
6278
  },
6275
6279
  allowCustomization: props.allowCustomization,
6276
- customizeLinkLabel: props.customizeLinkLabel,
6280
+ customizeLinkLabel: props.customizeLinkButtonLabel,
6277
6281
  saveLabelText: props.saveLabelText,
6278
6282
  cancelLabelText: props.cancelLabelText,
6279
6283
  isEditing,
@@ -29,7 +29,7 @@ import './utilities-f05633da.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-395ab799.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-10db3e11.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-0ef6a58f.js';
35
35
  import { t as taxTypeToName, L as LoadingView } from './data-a6752028.js';