@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
@@ -13,10 +13,10 @@ const JSS = require('./JSS-8503a151.js');
13
13
  require('./useReferralCodes-0f7948af.js');
14
14
  require('./mixins-4761d472.js');
15
15
  const copyTextView = require('./copy-text-view-bb2c0ea7.js');
16
- require('./sqm-text-span-view-f274fdf2.js');
16
+ require('./sqm-text-span-view-b9e10f5d.js');
17
17
  const usePortalRegistrationForm = require('./usePortalRegistrationForm-23ee2d62.js');
18
18
  const useRegistrationFormState = require('./useRegistrationFormState-4fe5b770.js');
19
- const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
19
+ const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-a45f7a52.js');
20
20
  const reRender = require('./re-render-72a0ef45.js');
21
21
  const useChildElements = require('./useChildElements-041127d7.js');
22
22
  require('./luxon-c1ad356a.js');
@@ -27,8 +27,8 @@ 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-a26deae6.js');
31
- require('./sqm-portal-container-view-70a47420.js');
30
+ const ShadowViewAddon = require('./ShadowViewAddon-c97e80de.js');
31
+ require('./sqm-portal-container-view-757f921b.js');
32
32
  const data = require('./data-8c8a08f6.js');
33
33
  const extractProps = require('./extractProps-e9c55ba8.js');
34
34
  const usePayoutStatus = require('./usePayoutStatus-0192fccd.js');
@@ -6059,7 +6059,6 @@ function useDemoShareCode(props) {
6059
6059
  borderRadius: props.borderRadius,
6060
6060
  borderColor: props.borderColor,
6061
6061
  buttonType: props.buttonType,
6062
- rewardStatus: "AVAILABLE",
6063
6062
  open,
6064
6063
  onClick: () => {
6065
6064
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -6119,6 +6118,199 @@ const ShareLink = class {
6119
6118
  * @uiGroup Style
6120
6119
  */
6121
6120
  this.buttonStyle = "icon";
6121
+ /**
6122
+ * Let advocates customize their share links up to 5 times.
6123
+ *
6124
+ * @uiName Allow customization
6125
+ * @uiType boolean
6126
+ * @uiGroup Customizable Vanity Link
6127
+ * @uiWidget CustomLinkSwitch
6128
+ * @requiredFlavor impact
6129
+ */
6130
+ this.allowCustomization = false;
6131
+ /**
6132
+ * Text for the cancel button in editing mode
6133
+ *
6134
+ * @uiName Cancel button label
6135
+ * @uiType string
6136
+ * @uiGroup Customizable Vanity Link
6137
+ * @requiredFlavor impact
6138
+ */
6139
+ this.cancelLabelText = "Cancel";
6140
+ /**
6141
+ * Tooltip text shown when link customization is disabled
6142
+ *
6143
+ * @uiName Customize disabled tooltip
6144
+ * @uiType string
6145
+ * @uiGroup Customizable Vanity Link
6146
+ * @requiredFlavor impact
6147
+ */
6148
+ this.customizeDisabledTooltip = "Link customization is not available.";
6149
+ /**
6150
+ * Displayed below the share link.
6151
+ *
6152
+ * @uiName Customize link button label
6153
+ * @uiType string
6154
+ * @uiGroup Customizable Vanity Link
6155
+ * @requiredFlavor impact
6156
+ */
6157
+ this.customizeLinkButtonLabel = "Customize Link";
6158
+ /**
6159
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
6160
+ *
6161
+ * @uiName Edit limit reached text
6162
+ * @uiType string
6163
+ * @uiWidget textarea
6164
+ * @uiGroup Customizable Vanity Link
6165
+ * @requiredFlavor impact
6166
+ */
6167
+ this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
6168
+ /**
6169
+ * Subtext shown while the user is customizing their URL.
6170
+ *
6171
+ * @uiName Edit limit text
6172
+ * @uiType string
6173
+ * @uiGroup Customizable Vanity Link
6174
+ * @requiredFlavor impact
6175
+ */
6176
+ this.editLimitText = "You can edit your link up to {editsRemaining} more time(s).";
6177
+ /**
6178
+ * Description text shown when the link contains invalid special characters.
6179
+ *
6180
+ * @uiName Invalid characters error description
6181
+ * @uiType string
6182
+ * @uiWidget textarea
6183
+ * @uiGroup Customizable Vanity Link
6184
+ * @requiredFlavor impact
6185
+ */
6186
+ this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
6187
+ /**
6188
+ * Title of the error message shown when the link contains invalid special characters.
6189
+ *
6190
+ * @uiName Invalid characters error title
6191
+ * @uiType string
6192
+ * @uiGroup Customizable Vanity Link
6193
+ * @requiredFlavor impact
6194
+ */
6195
+ this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
6196
+ /**
6197
+ * Description text shown when the link has already been taken
6198
+ *
6199
+ * @uiName Link taken error message
6200
+ * @uiType string
6201
+ * @uiWidget textarea
6202
+ * @uiGroup Customizable Vanity Link
6203
+ * @requiredFlavor impact
6204
+ */
6205
+ this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
6206
+ /**
6207
+ * Title of the error message shown when the link has already been taken
6208
+ *
6209
+ * @uiName Link taken error title
6210
+ * @uiType string
6211
+ * @uiGroup Customizable Vanity Link
6212
+ * @requiredFlavor impact
6213
+ */
6214
+ this.linkTakenErrorTitle = "This link is already taken";
6215
+ /**
6216
+ * Description text shown when the link contains profanity or brand names.
6217
+ *
6218
+ * @uiName Restricted words error description
6219
+ * @uiType string
6220
+ * @uiWidget textarea
6221
+ * @uiGroup Customizable Vanity Link
6222
+ * @requiredFlavor impact
6223
+ */
6224
+ this.restrictedWordsErrorDescription = "This link contains a restricted word.";
6225
+ /**
6226
+ * Title of the error message shown when the link contains profanity or brand names.
6227
+ *
6228
+ * @uiName Restricted words error title
6229
+ * @uiType string
6230
+ * @uiGroup Customizable Vanity Link
6231
+ * @requiredFlavor impact
6232
+ */
6233
+ this.restrictedWordsErrorTitle = "Please try a different link";
6234
+ /**
6235
+ * Text for the save button in editing mode
6236
+ *
6237
+ * @uiName Save button label
6238
+ * @uiType string
6239
+ * @uiGroup Customizable Vanity Link
6240
+ * @requiredFlavor impact
6241
+ */
6242
+ this.saveLabelText = "Save";
6243
+ /**
6244
+ * Text for the save button while saving is in progress
6245
+ *
6246
+ * @uiName Saving button label
6247
+ * @uiType string
6248
+ * @uiGroup Customizable Vanity Link
6249
+ * @requiredFlavor impact
6250
+ */
6251
+ this.savingLabelText = "Saving...";
6252
+ /**
6253
+ * Label shown above the link input while editing
6254
+ *
6255
+ * @uiName Edit input label
6256
+ * @uiType string
6257
+ * @uiGroup Customizable Vanity Link
6258
+ * @requiredFlavor impact
6259
+ */
6260
+ this.editLabelText = "Enter your link";
6261
+ /**
6262
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
6263
+ *
6264
+ * @uiName Characters remaining text
6265
+ * @uiType string
6266
+ * @uiGroup Customizable Vanity Link
6267
+ * @requiredFlavor impact
6268
+ */
6269
+ this.charactersRemainingText = "Characters remaining: {charactersRemaining}";
6270
+ /**
6271
+ * Text shown while the link is being validated
6272
+ *
6273
+ * @uiName Validating label
6274
+ * @uiType string
6275
+ * @uiGroup Customizable Vanity Link
6276
+ * @requiredFlavor impact
6277
+ */
6278
+ this.validatingLabelText = "Validating...";
6279
+ /**
6280
+ * @uiName Min characters text
6281
+ * @uiType string
6282
+ * @uiGroup Customizable Vanity Link
6283
+ * @requiredFlavor impact
6284
+ */
6285
+ this.minCharactersText = "Minimum 3 characters.";
6286
+ /**
6287
+ * Display text for the support link in the edit limit reached message
6288
+ *
6289
+ * @uiName Support link text
6290
+ * @uiType string
6291
+ * @uiGroup Customizable Vanity Link
6292
+ * @requiredFlavor impact
6293
+ */
6294
+ this.supportLinkText = "Support";
6295
+ /**
6296
+ * Title shown when saving fails with an unknown error
6297
+ *
6298
+ * @uiName Save error title
6299
+ * @uiType string
6300
+ * @uiGroup Customizable Vanity Link
6301
+ * @requiredFlavor impact
6302
+ */
6303
+ this.saveErrorTitle = "Error";
6304
+ /**
6305
+ * Description shown when saving fails with an unknown error
6306
+ *
6307
+ * @uiName Save error description
6308
+ * @uiType string
6309
+ * @uiWidget textarea
6310
+ * @uiGroup Customizable Vanity Link
6311
+ * @requiredFlavor impact
6312
+ */
6313
+ this.saveErrorDescription = "Failed to save custom link. Please try again.";
6122
6314
  domContextHooks_module.h$1(this);
6123
6315
  }
6124
6316
  disconnectedCallback() { }
@@ -6127,33 +6319,79 @@ const ShareLink = class {
6127
6319
  const props = index_module.isDemo()
6128
6320
  ? useDemoShareLink(thisProps)
6129
6321
  : ShadowViewAddon.useShareLink(thisProps);
6130
- return index.h(copyTextView.CopyTextView, Object.assign({}, props));
6322
+ return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
6131
6323
  }
6132
6324
  };
6133
6325
  function useDemoShareLink(props) {
6326
+ var _a;
6134
6327
  const [open, setOpen] = domContextHooks_module.useState(false);
6328
+ const [isEditing, setIsEditing] = domContextHooks_module.useState(false);
6329
+ const [editValue, setEditValue] = domContextHooks_module.useState("");
6135
6330
  const copyString = "https://www.example.com/sharelink/abc";
6136
- return cjs.cjs({
6137
- copyString: copyString,
6138
- tooltiptext: props.tooltiptext,
6139
- textAlign: props.textAlign,
6140
- buttonStyle: props.buttonStyle,
6141
- backgroundColor: props.backgroundColor,
6142
- textColor: props.textColor,
6143
- borderRadius: props.borderRadius,
6144
- buttonType: props.buttonType,
6145
- copyButtonLabel: props.copyButtonLabel,
6146
- borderColor: props.borderColor,
6147
- rewardStatus: "AVAILABLE",
6148
- open,
6149
- onClick: () => {
6150
- // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
6151
- // Only if called from a user-initiated event
6152
- navigator.clipboard.writeText(copyString);
6153
- setOpen(true);
6154
- setTimeout(() => setOpen(false), props.tooltiplifespan);
6331
+ const domainPrefix = "https://www.example.com/";
6332
+ const baseProps = {
6333
+ copyTextViewProps: {
6334
+ copyString,
6335
+ tooltiptext: props.tooltiptext,
6336
+ textAlign: props.textAlign,
6337
+ buttonStyle: props.buttonStyle,
6338
+ backgroundColor: props.backgroundColor,
6339
+ textColor: props.textColor,
6340
+ borderRadius: props.borderRadius,
6341
+ buttonType: props.buttonType,
6342
+ copyButtonLabel: props.copyButtonLabel,
6343
+ borderColor: props.borderColor,
6344
+ open,
6345
+ onClick: () => {
6346
+ navigator.clipboard.writeText(copyString);
6347
+ setOpen(true);
6348
+ setTimeout(() => setOpen(false), props.tooltiplifespan);
6349
+ },
6155
6350
  },
6156
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
6351
+ allowCustomization: props.allowCustomization,
6352
+ customizeLinkLabel: props.customizeLinkButtonLabel,
6353
+ saveLabelText: props.saveLabelText,
6354
+ savingLabelText: props.savingLabelText,
6355
+ cancelLabelText: props.cancelLabelText,
6356
+ editLabelText: props.editLabelText,
6357
+ charactersRemainingText: props.charactersRemainingText,
6358
+ validatingLabelText: props.validatingLabelText,
6359
+ isEditing,
6360
+ editValue,
6361
+ domainPrefix,
6362
+ editsRemaining: 5,
6363
+ maxEdits: 5,
6364
+ limitReached: false,
6365
+ validationError: null,
6366
+ isValidating: false,
6367
+ isSaving: false,
6368
+ characterLimit: 15,
6369
+ minCharacters: 3,
6370
+ charactersRemaining: 15 - editValue.length,
6371
+ editLimitText: props.editLimitText,
6372
+ editLimitReachedText: props.editLimitReachedText,
6373
+ supportLinkText: props.supportLinkText,
6374
+ minCharactersText: props.minCharactersText,
6375
+ customizeDisabled: false,
6376
+ customizeDisabledTooltip: (_a = props.customizeDisabledTooltip) !== null && _a !== void 0 ? _a : "Link customization is not available.",
6377
+ onCustomizeClick: () => {
6378
+ setIsEditing(true);
6379
+ setEditValue("");
6380
+ },
6381
+ onEditValueChange: (value) => {
6382
+ setEditValue(value);
6383
+ },
6384
+ onSave: () => {
6385
+ setIsEditing(false);
6386
+ },
6387
+ onCancel: () => {
6388
+ setIsEditing(false);
6389
+ setEditValue("");
6390
+ },
6391
+ };
6392
+ return cjs.cjs(baseProps, props.demoData || {}, {
6393
+ arrayMerge: (_, a) => a,
6394
+ });
6157
6395
  }
6158
6396
 
6159
6397
  const StatContainer = class {
@@ -7046,22 +7284,12 @@ const TaxAndCashMonolith = class {
7046
7284
  * @uiGroup Step 4 Properties
7047
7285
  */
7048
7286
  this.step4_branchCodeLabel = "Branch code";
7049
- /**
7050
- * @uiName Branch name field label
7051
- * @uiGroup Step 4 Properties
7052
- */
7053
- this.step4_branchNameLabel = "Branch name";
7054
7287
  /**
7055
7288
  * Label text for the classification input field
7056
7289
  * @uiName Classification field label
7057
7290
  * @uiGroup Step 4 Properties
7058
7291
  */
7059
7292
  this.step4_classificationLabel = "Classification";
7060
- /**
7061
- * @uiName Classification code field label
7062
- * @uiGroup Step 4 Properties
7063
- */
7064
- this.step4_classificationCodeLabel = "KBE Code";
7065
7293
  /**
7066
7294
  * @uiName Taxpayer ID field label
7067
7295
  * @uiGroup Step 4 Properties
@@ -10,7 +10,7 @@ const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const mixins = require('./mixins-4761d472.js');
13
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
13
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
14
14
  const keys = require('./keys-cff24974.js');
15
15
  const useVerificationEmail = require('./useVerificationEmail-5d19aa99.js');
16
16
 
@@ -9,7 +9,7 @@ const index_module = require('./index.module-f8c8495f.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
12
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
13
13
  const keys = require('./keys-cff24974.js');
14
14
  const useVerificationEmail = require('./useVerificationEmail-5d19aa99.js');
15
15
 
@@ -9,7 +9,7 @@ require('./index.module-f8c8495f.js');
9
9
  const utils = require('./utils-6847bc06.js');
10
10
  require('./JSS-8503a151.js');
11
11
  const imageUrl = require('./imageUrl-a7880cab.js');
12
- const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
12
+ const sqmPortalContainerView = require('./sqm-portal-container-view-757f921b.js');
13
13
 
14
14
  function EmptyStateView(props) {
15
15
  const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
@@ -48,12 +48,11 @@ function PortalContainerView(props, children) {
48
48
  }`;
49
49
  const sheet = JSS.createStyleSheet(style);
50
50
  const styleString = sheet.toString();
51
- return (index.h(index.Host, null,
52
- index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
53
- index.h("style", { type: "text/css" },
54
- vanillaStyle,
55
- styleString),
56
- children)));
51
+ return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
52
+ index.h("style", { type: "text/css" },
53
+ vanillaStyle,
54
+ styleString),
55
+ children));
57
56
  }
58
57
 
59
58
  exports.PortalContainerView = PortalContainerView;
@@ -4,7 +4,7 @@ const index = require('./index-8277cbb3.js');
4
4
  const global = require('./global-b7b1b8fe.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
6
  const mixins = require('./mixins-4761d472.js');
7
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
7
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
8
8
 
9
9
  const style = {
10
10
  Wrapper: mixins.AuthWrapper,
@@ -9,8 +9,8 @@ const index_module = require('./index.module-f8c8495f.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./JSS-8503a151.js');
11
11
  require('./mixins-4761d472.js');
12
- require('./sqm-text-span-view-f274fdf2.js');
13
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-c81fe7f1.js');
12
+ require('./sqm-text-span-view-b9e10f5d.js');
13
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-abb773a7.js');
14
14
 
15
15
  function usePortalEmailVerification(props) {
16
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -10,11 +10,11 @@ const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  require('./mixins-4761d472.js');
13
- require('./sqm-text-span-view-f274fdf2.js');
14
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-424e406a.js');
13
+ require('./sqm-text-span-view-b9e10f5d.js');
14
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-717d0633.js');
15
15
  const usePortalRegistrationForm = require('./usePortalRegistrationForm-23ee2d62.js');
16
16
  const useRegistrationFormState = require('./useRegistrationFormState-4fe5b770.js');
17
- const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-020f661c.js');
17
+ const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-a45f7a52.js');
18
18
 
19
19
  function usePortalForgotPassword(props) {
20
20
  var _a, _b, _c, _d, _e, _f, _g;
@@ -302,7 +302,7 @@ const PortalGoogleLogin = class {
302
302
  const sheet = JSS.createStyleSheet(styles);
303
303
  const styleString = sheet.toString();
304
304
  const content = {
305
- forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
305
+ forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { part: "forgot-password-link", onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
306
306
  googleButton: (index.h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
307
307
  secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
308
308
  emailLabel: this.emailLabel,
@@ -407,7 +407,7 @@ const PortalLogin = class {
407
407
  const sheet = JSS.createStyleSheet(styles);
408
408
  const styleString = sheet.toString();
409
409
  const content = {
410
- forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
410
+ forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { part: "forgot-password-link", onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
411
411
  googleButton: null,
412
412
  secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel))),
413
413
  emailLabel: this.emailLabel,
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-8277cbb3.js');
4
4
  const global = require('./global-b7b1b8fe.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
6
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
7
7
 
8
8
  function PortalProfileView(props) {
9
9
  var _a, _b, _c, _d, _e;
@@ -9,8 +9,8 @@ const index_module = require('./index.module-f8c8495f.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  require('./JSS-8503a151.js');
12
- require('./sqm-text-span-view-f274fdf2.js');
13
- const sqmPortalProfileView = require('./sqm-portal-profile-view-639337e3.js');
12
+ require('./sqm-text-span-view-b9e10f5d.js');
13
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-3515e1e5.js');
14
14
  const utilities = require('./utilities-fcdb9504.js');
15
15
 
16
16
  const GET_USER = index_module.dist.gql `
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-8277cbb3.js');
4
4
  const JSS = require('./JSS-8503a151.js');
5
5
  const mixins = require('./mixins-4761d472.js');
6
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
6
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
7
7
 
8
8
  const style = {
9
9
  Wrapper: mixins.AuthWrapper,
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-8277cbb3.js');
4
4
  const JSS = require('./JSS-8503a151.js');
5
5
  const mixins = require('./mixins-4761d472.js');
6
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
6
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
7
7
 
8
8
  const style = {
9
9
  Wrapper: mixins.AuthWrapper,
@@ -10,8 +10,8 @@ const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  require('./JSS-8503a151.js');
12
12
  require('./mixins-4761d472.js');
13
- require('./sqm-text-span-view-f274fdf2.js');
14
- const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6b1acd90.js');
13
+ require('./sqm-text-span-view-b9e10f5d.js');
14
+ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-a767b044.js');
15
15
 
16
16
  function usePortalResetPassword(props) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
@@ -4,7 +4,7 @@ const index = require('./index-8277cbb3.js');
4
4
  const index_module = require('./index.module-f8c8495f.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
6
  const mixins = require('./mixins-4761d472.js');
7
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
7
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
8
8
 
9
9
  const vanillaStyle = `
10
10
  :host {
@@ -10,7 +10,7 @@ const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  require('./mixins-4761d472.js');
13
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
13
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
14
14
  const GenericTableView = require('./GenericTableView-be5648e4.js');
15
15
  const reRender = require('./re-render-72a0ef45.js');
16
16
  const useChildElements = require('./useChildElements-041127d7.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-8277cbb3.js');
6
6
  const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
7
7
  require('./JSS-8503a151.js');
8
- const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
8
+ const sqmTextSpanView = require('./sqm-text-span-view-b9e10f5d.js');
9
9
 
10
10
  const RewardTableCustomerNoteCell = class {
11
11
  constructor(hostRef) {