@saasquatch/mint-components 2.1.10-0 → 2.1.10-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-c97e80de.js} +422 -19
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +1 -27
  5. package/dist/cjs/sqm-big-stat_45.cjs.entry.js +264 -36
  6. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  9. package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
  10. package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
  11. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
  13. package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
  14. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  15. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
  16. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
  17. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  18. package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
  19. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  21. package/dist/cjs/sqm-stencilbook.cjs.entry.js +168 -25
  22. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
  23. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  24. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
  25. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
  26. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  27. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  28. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  29. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
  30. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  31. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  32. package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
  33. package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
  34. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  35. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -19
  36. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +0 -50
  37. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -59
  38. package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
  39. package/dist/esm/loader.js +1 -1
  40. package/dist/esm/mint-components.js +1 -1
  41. package/dist/esm/sqm-banking-info-form_10.entry.js +1 -27
  42. package/dist/esm/sqm-big-stat_45.entry.js +264 -36
  43. package/dist/esm/sqm-code-verification.entry.js +1 -1
  44. package/dist/esm/sqm-email-verification.entry.js +1 -1
  45. package/dist/esm/sqm-empty_4.entry.js +1 -1
  46. package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
  47. package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  48. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  49. package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
  50. package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  51. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  52. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  53. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  54. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  55. package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  56. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  57. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  58. package/dist/esm/sqm-stencilbook.entry.js +168 -25
  59. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  60. package/dist/esm/sqm-text-span.entry.js +1 -1
  61. package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
  62. package/dist/esm-es5/loader.js +1 -1
  63. package/dist/esm-es5/mint-components.js +1 -1
  64. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  65. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
  66. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  67. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  68. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  69. package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
  70. package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  71. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  72. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  73. package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  74. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  75. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  76. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  77. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  78. package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  79. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  80. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  81. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  82. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  83. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  84. package/dist/mint-components/mint-components.esm.js +1 -1
  85. package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  86. package/dist/mint-components/p-08930b83.js +499 -0
  87. package/dist/mint-components/p-0b1e90fe.system.js +1 -0
  88. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  89. package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
  90. package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
  91. package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
  92. package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
  93. package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
  94. package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
  95. package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
  96. package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
  97. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  98. package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
  99. package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
  100. package/dist/mint-components/p-76271ec4.entry.js +9 -0
  101. package/dist/mint-components/p-78b40f71.system.js +1 -0
  102. package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
  103. package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
  104. package/dist/mint-components/{p-6640bbd6.entry.js → p-8784539d.entry.js} +21 -21
  105. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  106. package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
  107. package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
  108. package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
  109. package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
  110. package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
  111. package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
  112. package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  113. package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
  114. package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
  115. package/dist/mint-components/p-c3c8d4ee.system.entry.js +1 -0
  116. package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
  117. package/dist/mint-components/p-ca098be1.system.js +1 -1
  118. package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  119. package/dist/mint-components/{p-3687d433.entry.js → p-d4f332a7.entry.js} +1 -1
  120. package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
  121. package/dist/mint-components/p-dd12c32a.system.entry.js +1 -0
  122. package/dist/mint-components/p-e30abc44.js +1 -0
  123. package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
  124. package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
  125. package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
  126. package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  127. package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
  128. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  129. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  130. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
  131. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
  132. package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
  133. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -6
  134. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -8
  135. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +0 -2
  136. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -10
  137. package/dist/types/components.d.ts +349 -38
  138. package/docs/docs.docx +0 -0
  139. package/docs/raisins.json +1 -1
  140. package/grapesjs/grapesjs.js +1 -1
  141. package/package.json +2 -2
  142. package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
  143. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  144. package/dist/mint-components/p-0614dcbc.entry.js +0 -9
  145. package/dist/mint-components/p-217dedde.js +0 -463
  146. package/dist/mint-components/p-55676213.entry.js +0 -1
  147. package/dist/mint-components/p-57ac2160.system.entry.js +0 -1
  148. package/dist/mint-components/p-abc28aeb.system.entry.js +0 -1
  149. package/dist/mint-components/p-b699f76e.system.js +0 -1
  150. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  151. package/dist/mint-components/p-bf545082.system.entry.js +0 -1
  152. package/dist/mint-components/p-ce050888.system.js +0 -1
  153. package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
  154. package/dist/types/global/android.d.ts +0 -7
  155. package/dist/types/global/demo.d.ts +0 -2
  156. package/dist/types/stories/features.d.ts +0 -4
  157. package/dist/types/stories/templates.d.ts +0 -4
@@ -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-738acfb3.js';
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-2f4936ef.js';
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, V 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, Q as LeadDropdownFieldView, O as LeadFormView, W 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, X as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-47f1e579.js';
27
- import './sqm-portal-container-view-a8c708cd.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-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(CopyTextView, Object.assign({}, props));
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
- return cjs({
6133
- copyString: copyString,
6134
- tooltiptext: props.tooltiptext,
6135
- textAlign: props.textAlign,
6136
- buttonStyle: props.buttonStyle,
6137
- backgroundColor: props.backgroundColor,
6138
- textColor: props.textColor,
6139
- borderRadius: props.borderRadius,
6140
- buttonType: props.buttonType,
6141
- copyButtonLabel: props.copyButtonLabel,
6142
- borderColor: props.borderColor,
6143
- rewardStatus: "AVAILABLE",
6144
- open,
6145
- onClick: () => {
6146
- // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
6147
- // Only if called from a user-initiated event
6148
- navigator.clipboard.writeText(copyString);
6149
- setOpen(true);
6150
- setTimeout(() => setOpen(false), props.tooltiplifespan);
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
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
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 {
@@ -7042,22 +7280,12 @@ const TaxAndCashMonolith = class {
7042
7280
  * @uiGroup Step 4 Properties
7043
7281
  */
7044
7282
  this.step4_branchCodeLabel = "Branch code";
7045
- /**
7046
- * @uiName Branch name field label
7047
- * @uiGroup Step 4 Properties
7048
- */
7049
- this.step4_branchNameLabel = "Branch name";
7050
7283
  /**
7051
7284
  * Label text for the classification input field
7052
7285
  * @uiName Classification field label
7053
7286
  * @uiGroup Step 4 Properties
7054
7287
  */
7055
7288
  this.step4_classificationLabel = "Classification";
7056
- /**
7057
- * @uiName Classification code field label
7058
- * @uiGroup Step 4 Properties
7059
- */
7060
- this.step4_classificationCodeLabel = "KBE Code";
7061
7289
  /**
7062
7290
  * @uiName Taxpayer ID field label
7063
7291
  * @uiGroup Step 4 Properties
@@ -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-738acfb3.js';
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-738acfb3.js';
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-a8c708cd.js';
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;
@@ -1,4 +1,4 @@
1
- import { h, c as Host } from './index-38ad4957.js';
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(Host, null,
50
- h("div", { class: sheet.classes.Container, part: "sqm-base" },
51
- h("style", { type: "text/css" },
52
- vanillaStyle,
53
- styleString),
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-738acfb3.js';
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-738acfb3.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-426370f1.js';
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-738acfb3.js';
10
- import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-1a638fae.js';
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-2f4936ef.js';
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,
@@ -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-738acfb3.js';
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-738acfb3.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-f015fd6a.js';
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-738acfb3.js';
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-738acfb3.js';
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-738acfb3.js';
10
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-cfbc0eb0.js';
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-738acfb3.js';
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-738acfb3.js';
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-738acfb3.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
5
5
 
6
6
  const RewardTableCustomerNoteCell = class {
7
7
  constructor(hostRef) {