@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
@@ -54,6 +54,7 @@ import { ReferralIframeViewProps } from "./components/sqm-referral-iframe/sqm-re
54
54
  import { ReferralDates } from "./components/sqm-referral-table/useReferralTable";
55
55
  import { RewardExchangeViewProps } from "./components/sqm-reward-exchange-list/sqm-reward-exchange-list-view";
56
56
  import { ShareButtonViewProps } from "./components/sqm-share-button/sqm-share-button-view";
57
+ import { ShareLinkViewProps } from "./components/sqm-share-link/sqm-share-link-view";
57
58
  import { TaskCardViewProps } from "./components/sqm-task-card/sqm-task-card-view";
58
59
  import { UseTaxAndCashDashboardResult } from "./components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard";
59
60
  import { UseUserInfoFormResult } from "./components/tax-and-cash/sqm-user-info-form/useUserInfoForm";
@@ -117,10 +118,6 @@ export namespace Components {
117
118
  * @uiName Branch code field label
118
119
  */
119
120
  "branchCodeLabel": string;
120
- /**
121
- * @uiName Branch name field label
122
- */
123
- "branchNameLabel": string;
124
121
  /**
125
122
  * One of three options listed for the classification field
126
123
  * @uiName Business classification option
@@ -134,10 +131,6 @@ export namespace Components {
134
131
  * @uiName Classification CPF field label
135
132
  */
136
133
  "classificationCPFLabel": string;
137
- /**
138
- * @uiName Classification code field label
139
- */
140
- "classificationCodeLabel": string;
141
134
  /**
142
135
  * @uiName Classification entity field label
143
136
  */
@@ -4901,6 +4894,15 @@ export namespace Components {
4901
4894
  "tooltiptext": string;
4902
4895
  }
4903
4896
  interface SqmShareLink {
4897
+ /**
4898
+ * Let advocates customize their share links up to 5 times.
4899
+ * @uiName Allow customization
4900
+ * @uiType boolean
4901
+ * @uiGroup Customizable Vanity Link
4902
+ * @uiWidget CustomLinkSwitch
4903
+ * @requiredFlavor impact
4904
+ */
4905
+ "allowCustomization"?: boolean;
4904
4906
  /**
4905
4907
  * Background color of share link container
4906
4908
  * @uiName Background color
@@ -4942,21 +4944,177 @@ export namespace Components {
4942
4944
  * @uiGroup Style
4943
4945
  */
4944
4946
  "buttonType"?: "primary" | "secondary";
4947
+ /**
4948
+ * Text for the cancel button in editing mode
4949
+ * @uiName Cancel button label
4950
+ * @uiType string
4951
+ * @uiGroup Customizable Vanity Link
4952
+ * @requiredFlavor impact
4953
+ */
4954
+ "cancelLabelText"?: string;
4955
+ /**
4956
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
4957
+ * @uiName Characters remaining text
4958
+ * @uiType string
4959
+ * @uiGroup Customizable Vanity Link
4960
+ * @requiredFlavor impact
4961
+ */
4962
+ "charactersRemainingText"?: string;
4945
4963
  /**
4946
4964
  * @uiName Copy button label
4947
4965
  */
4948
4966
  "copyButtonLabel": string;
4967
+ /**
4968
+ * Tooltip text shown when link customization is disabled
4969
+ * @uiName Customize disabled tooltip
4970
+ * @uiType string
4971
+ * @uiGroup Customizable Vanity Link
4972
+ * @requiredFlavor impact
4973
+ */
4974
+ "customizeDisabledTooltip"?: string;
4975
+ /**
4976
+ * Displayed below the share link.
4977
+ * @uiName Customize link button label
4978
+ * @uiType string
4979
+ * @uiGroup Customizable Vanity Link
4980
+ * @requiredFlavor impact
4981
+ */
4982
+ "customizeLinkButtonLabel"?: string;
4949
4983
  /**
4950
4984
  * @undocumented
4951
4985
  * @uiType object
4952
4986
  */
4953
- "demoData"?: DemoData<CopyTextViewProps>;
4987
+ "demoData"?: DemoData<ShareLinkViewProps>;
4988
+ /**
4989
+ * Label shown above the link input while editing
4990
+ * @uiName Edit input label
4991
+ * @uiType string
4992
+ * @uiGroup Customizable Vanity Link
4993
+ * @requiredFlavor impact
4994
+ */
4995
+ "editLabelText"?: string;
4996
+ /**
4997
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
4998
+ * @uiName Edit limit reached text
4999
+ * @uiType string
5000
+ * @uiWidget textarea
5001
+ * @uiGroup Customizable Vanity Link
5002
+ * @requiredFlavor impact
5003
+ */
5004
+ "editLimitReachedText"?: string;
5005
+ /**
5006
+ * Subtext shown while the user is customizing their URL.
5007
+ * @uiName Edit limit text
5008
+ * @uiType string
5009
+ * @uiGroup Customizable Vanity Link
5010
+ * @requiredFlavor impact
5011
+ */
5012
+ "editLimitText"?: string;
5013
+ /**
5014
+ * Description text shown when the link contains invalid special characters.
5015
+ * @uiName Invalid characters error description
5016
+ * @uiType string
5017
+ * @uiWidget textarea
5018
+ * @uiGroup Customizable Vanity Link
5019
+ * @requiredFlavor impact
5020
+ */
5021
+ "invalidCharactersErrorDescription"?: string;
5022
+ /**
5023
+ * Title of the error message shown when the link contains invalid special characters.
5024
+ * @uiName Invalid characters error title
5025
+ * @uiType string
5026
+ * @uiGroup Customizable Vanity Link
5027
+ * @requiredFlavor impact
5028
+ */
5029
+ "invalidCharactersErrorTitle"?: string;
5030
+ /**
5031
+ * Description text shown when the link has already been taken
5032
+ * @uiName Link taken error message
5033
+ * @uiType string
5034
+ * @uiWidget textarea
5035
+ * @uiGroup Customizable Vanity Link
5036
+ * @requiredFlavor impact
5037
+ */
5038
+ "linkTakenErrorDescription"?: string;
5039
+ /**
5040
+ * Title of the error message shown when the link has already been taken
5041
+ * @uiName Link taken error title
5042
+ * @uiType string
5043
+ * @uiGroup Customizable Vanity Link
5044
+ * @requiredFlavor impact
5045
+ */
5046
+ "linkTakenErrorTitle"?: string;
5047
+ /**
5048
+ * @uiName Min characters text
5049
+ * @uiType string
5050
+ * @uiGroup Customizable Vanity Link
5051
+ * @requiredFlavor impact
5052
+ */
5053
+ "minCharactersText"?: string;
4954
5054
  /**
4955
5055
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
4956
5056
  * @uiName Program ID
4957
5057
  * @uiWidget programSelector
4958
5058
  */
4959
5059
  "programId"?: string;
5060
+ /**
5061
+ * Description text shown when the link contains profanity or brand names.
5062
+ * @uiName Restricted words error description
5063
+ * @uiType string
5064
+ * @uiWidget textarea
5065
+ * @uiGroup Customizable Vanity Link
5066
+ * @requiredFlavor impact
5067
+ */
5068
+ "restrictedWordsErrorDescription"?: string;
5069
+ /**
5070
+ * Title of the error message shown when the link contains profanity or brand names.
5071
+ * @uiName Restricted words error title
5072
+ * @uiType string
5073
+ * @uiGroup Customizable Vanity Link
5074
+ * @requiredFlavor impact
5075
+ */
5076
+ "restrictedWordsErrorTitle"?: string;
5077
+ /**
5078
+ * Description shown when saving fails with an unknown error
5079
+ * @uiName Save error description
5080
+ * @uiType string
5081
+ * @uiWidget textarea
5082
+ * @uiGroup Customizable Vanity Link
5083
+ * @requiredFlavor impact
5084
+ */
5085
+ "saveErrorDescription"?: string;
5086
+ /**
5087
+ * Title shown when saving fails with an unknown error
5088
+ * @uiName Save error title
5089
+ * @uiType string
5090
+ * @uiGroup Customizable Vanity Link
5091
+ * @requiredFlavor impact
5092
+ */
5093
+ "saveErrorTitle"?: string;
5094
+ /**
5095
+ * Text for the save button in editing mode
5096
+ * @uiName Save button label
5097
+ * @uiType string
5098
+ * @uiGroup Customizable Vanity Link
5099
+ * @requiredFlavor impact
5100
+ */
5101
+ "saveLabelText"?: string;
5102
+ /**
5103
+ * Text for the save button while saving is in progress
5104
+ * @uiName Saving button label
5105
+ * @uiType string
5106
+ * @uiGroup Customizable Vanity Link
5107
+ * @requiredFlavor impact
5108
+ */
5109
+ "savingLabelText"?: string;
5110
+ /**
5111
+ * Display text for the support link in the edit limit reached message
5112
+ * @uiName Support link text
5113
+ * @uiType string
5114
+ * @uiGroup Customizable Vanity Link
5115
+ * @requiredFlavor impact
5116
+ */
5117
+ "supportLinkText"?: string;
4960
5118
  /**
4961
5119
  * Change the text alignment
4962
5120
  * @uiName Share link alignment
@@ -4984,6 +5142,14 @@ export namespace Components {
4984
5142
  * @uiName Tooltip text
4985
5143
  */
4986
5144
  "tooltiptext": string;
5145
+ /**
5146
+ * Text shown while the link is being validated
5147
+ * @uiName Validating label
5148
+ * @uiType string
5149
+ * @uiGroup Customizable Vanity Link
5150
+ * @requiredFlavor impact
5151
+ */
5152
+ "validatingLabelText"?: string;
4987
5153
  }
4988
5154
  interface SqmSkeleton {
4989
5155
  /**
@@ -6118,11 +6284,6 @@ export namespace Components {
6118
6284
  * @uiGroup Step 4 Properties
6119
6285
  */
6120
6286
  "step4_branchCodeLabel": string;
6121
- /**
6122
- * @uiName Branch name field label
6123
- * @uiGroup Step 4 Properties
6124
- */
6125
- "step4_branchNameLabel": string;
6126
6287
  /**
6127
6288
  * One of three options listed for the classification field
6128
6289
  * @uiName Business classification option
@@ -6139,11 +6300,6 @@ export namespace Components {
6139
6300
  * @uiGroup Step 4 Properties
6140
6301
  */
6141
6302
  "step4_classificationCPFLabel": string;
6142
- /**
6143
- * @uiName Classification code field label
6144
- * @uiGroup Step 4 Properties
6145
- */
6146
- "step4_classificationCodeLabel": string;
6147
6303
  /**
6148
6304
  * @uiName Classification entity field label
6149
6305
  * @uiGroup Step 4 Properties
@@ -8062,10 +8218,6 @@ declare namespace LocalJSX {
8062
8218
  * @uiName Branch code field label
8063
8219
  */
8064
8220
  "branchCodeLabel"?: string;
8065
- /**
8066
- * @uiName Branch name field label
8067
- */
8068
- "branchNameLabel"?: string;
8069
8221
  /**
8070
8222
  * One of three options listed for the classification field
8071
8223
  * @uiName Business classification option
@@ -8079,10 +8231,6 @@ declare namespace LocalJSX {
8079
8231
  * @uiName Classification CPF field label
8080
8232
  */
8081
8233
  "classificationCPFLabel"?: string;
8082
- /**
8083
- * @uiName Classification code field label
8084
- */
8085
- "classificationCodeLabel"?: string;
8086
8234
  /**
8087
8235
  * @uiName Classification entity field label
8088
8236
  */
@@ -12817,6 +12965,15 @@ declare namespace LocalJSX {
12817
12965
  "tooltiptext"?: string;
12818
12966
  }
12819
12967
  interface SqmShareLink {
12968
+ /**
12969
+ * Let advocates customize their share links up to 5 times.
12970
+ * @uiName Allow customization
12971
+ * @uiType boolean
12972
+ * @uiGroup Customizable Vanity Link
12973
+ * @uiWidget CustomLinkSwitch
12974
+ * @requiredFlavor impact
12975
+ */
12976
+ "allowCustomization"?: boolean;
12820
12977
  /**
12821
12978
  * Background color of share link container
12822
12979
  * @uiName Background color
@@ -12858,21 +13015,177 @@ declare namespace LocalJSX {
12858
13015
  * @uiGroup Style
12859
13016
  */
12860
13017
  "buttonType"?: "primary" | "secondary";
13018
+ /**
13019
+ * Text for the cancel button in editing mode
13020
+ * @uiName Cancel button label
13021
+ * @uiType string
13022
+ * @uiGroup Customizable Vanity Link
13023
+ * @requiredFlavor impact
13024
+ */
13025
+ "cancelLabelText"?: string;
13026
+ /**
13027
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
13028
+ * @uiName Characters remaining text
13029
+ * @uiType string
13030
+ * @uiGroup Customizable Vanity Link
13031
+ * @requiredFlavor impact
13032
+ */
13033
+ "charactersRemainingText"?: string;
12861
13034
  /**
12862
13035
  * @uiName Copy button label
12863
13036
  */
12864
13037
  "copyButtonLabel"?: string;
13038
+ /**
13039
+ * Tooltip text shown when link customization is disabled
13040
+ * @uiName Customize disabled tooltip
13041
+ * @uiType string
13042
+ * @uiGroup Customizable Vanity Link
13043
+ * @requiredFlavor impact
13044
+ */
13045
+ "customizeDisabledTooltip"?: string;
13046
+ /**
13047
+ * Displayed below the share link.
13048
+ * @uiName Customize link button label
13049
+ * @uiType string
13050
+ * @uiGroup Customizable Vanity Link
13051
+ * @requiredFlavor impact
13052
+ */
13053
+ "customizeLinkButtonLabel"?: string;
12865
13054
  /**
12866
13055
  * @undocumented
12867
13056
  * @uiType object
12868
13057
  */
12869
- "demoData"?: DemoData<CopyTextViewProps>;
13058
+ "demoData"?: DemoData<ShareLinkViewProps>;
13059
+ /**
13060
+ * Label shown above the link input while editing
13061
+ * @uiName Edit input label
13062
+ * @uiType string
13063
+ * @uiGroup Customizable Vanity Link
13064
+ * @requiredFlavor impact
13065
+ */
13066
+ "editLabelText"?: string;
13067
+ /**
13068
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
13069
+ * @uiName Edit limit reached text
13070
+ * @uiType string
13071
+ * @uiWidget textarea
13072
+ * @uiGroup Customizable Vanity Link
13073
+ * @requiredFlavor impact
13074
+ */
13075
+ "editLimitReachedText"?: string;
13076
+ /**
13077
+ * Subtext shown while the user is customizing their URL.
13078
+ * @uiName Edit limit text
13079
+ * @uiType string
13080
+ * @uiGroup Customizable Vanity Link
13081
+ * @requiredFlavor impact
13082
+ */
13083
+ "editLimitText"?: string;
13084
+ /**
13085
+ * Description text shown when the link contains invalid special characters.
13086
+ * @uiName Invalid characters error description
13087
+ * @uiType string
13088
+ * @uiWidget textarea
13089
+ * @uiGroup Customizable Vanity Link
13090
+ * @requiredFlavor impact
13091
+ */
13092
+ "invalidCharactersErrorDescription"?: string;
13093
+ /**
13094
+ * Title of the error message shown when the link contains invalid special characters.
13095
+ * @uiName Invalid characters error title
13096
+ * @uiType string
13097
+ * @uiGroup Customizable Vanity Link
13098
+ * @requiredFlavor impact
13099
+ */
13100
+ "invalidCharactersErrorTitle"?: string;
13101
+ /**
13102
+ * Description text shown when the link has already been taken
13103
+ * @uiName Link taken error message
13104
+ * @uiType string
13105
+ * @uiWidget textarea
13106
+ * @uiGroup Customizable Vanity Link
13107
+ * @requiredFlavor impact
13108
+ */
13109
+ "linkTakenErrorDescription"?: string;
13110
+ /**
13111
+ * Title of the error message shown when the link has already been taken
13112
+ * @uiName Link taken error title
13113
+ * @uiType string
13114
+ * @uiGroup Customizable Vanity Link
13115
+ * @requiredFlavor impact
13116
+ */
13117
+ "linkTakenErrorTitle"?: string;
13118
+ /**
13119
+ * @uiName Min characters text
13120
+ * @uiType string
13121
+ * @uiGroup Customizable Vanity Link
13122
+ * @requiredFlavor impact
13123
+ */
13124
+ "minCharactersText"?: string;
12870
13125
  /**
12871
13126
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
12872
13127
  * @uiName Program ID
12873
13128
  * @uiWidget programSelector
12874
13129
  */
12875
13130
  "programId"?: string;
13131
+ /**
13132
+ * Description text shown when the link contains profanity or brand names.
13133
+ * @uiName Restricted words error description
13134
+ * @uiType string
13135
+ * @uiWidget textarea
13136
+ * @uiGroup Customizable Vanity Link
13137
+ * @requiredFlavor impact
13138
+ */
13139
+ "restrictedWordsErrorDescription"?: string;
13140
+ /**
13141
+ * Title of the error message shown when the link contains profanity or brand names.
13142
+ * @uiName Restricted words error title
13143
+ * @uiType string
13144
+ * @uiGroup Customizable Vanity Link
13145
+ * @requiredFlavor impact
13146
+ */
13147
+ "restrictedWordsErrorTitle"?: string;
13148
+ /**
13149
+ * Description shown when saving fails with an unknown error
13150
+ * @uiName Save error description
13151
+ * @uiType string
13152
+ * @uiWidget textarea
13153
+ * @uiGroup Customizable Vanity Link
13154
+ * @requiredFlavor impact
13155
+ */
13156
+ "saveErrorDescription"?: string;
13157
+ /**
13158
+ * Title shown when saving fails with an unknown error
13159
+ * @uiName Save error title
13160
+ * @uiType string
13161
+ * @uiGroup Customizable Vanity Link
13162
+ * @requiredFlavor impact
13163
+ */
13164
+ "saveErrorTitle"?: string;
13165
+ /**
13166
+ * Text for the save button in editing mode
13167
+ * @uiName Save button label
13168
+ * @uiType string
13169
+ * @uiGroup Customizable Vanity Link
13170
+ * @requiredFlavor impact
13171
+ */
13172
+ "saveLabelText"?: string;
13173
+ /**
13174
+ * Text for the save button while saving is in progress
13175
+ * @uiName Saving button label
13176
+ * @uiType string
13177
+ * @uiGroup Customizable Vanity Link
13178
+ * @requiredFlavor impact
13179
+ */
13180
+ "savingLabelText"?: string;
13181
+ /**
13182
+ * Display text for the support link in the edit limit reached message
13183
+ * @uiName Support link text
13184
+ * @uiType string
13185
+ * @uiGroup Customizable Vanity Link
13186
+ * @requiredFlavor impact
13187
+ */
13188
+ "supportLinkText"?: string;
12876
13189
  /**
12877
13190
  * Change the text alignment
12878
13191
  * @uiName Share link alignment
@@ -12900,6 +13213,14 @@ declare namespace LocalJSX {
12900
13213
  * @uiName Tooltip text
12901
13214
  */
12902
13215
  "tooltiptext"?: string;
13216
+ /**
13217
+ * Text shown while the link is being validated
13218
+ * @uiName Validating label
13219
+ * @uiType string
13220
+ * @uiGroup Customizable Vanity Link
13221
+ * @requiredFlavor impact
13222
+ */
13223
+ "validatingLabelText"?: string;
12903
13224
  }
12904
13225
  interface SqmSkeleton {
12905
13226
  /**
@@ -14034,11 +14355,6 @@ declare namespace LocalJSX {
14034
14355
  * @uiGroup Step 4 Properties
14035
14356
  */
14036
14357
  "step4_branchCodeLabel"?: string;
14037
- /**
14038
- * @uiName Branch name field label
14039
- * @uiGroup Step 4 Properties
14040
- */
14041
- "step4_branchNameLabel"?: string;
14042
14358
  /**
14043
14359
  * One of three options listed for the classification field
14044
14360
  * @uiName Business classification option
@@ -14055,11 +14371,6 @@ declare namespace LocalJSX {
14055
14371
  * @uiGroup Step 4 Properties
14056
14372
  */
14057
14373
  "step4_classificationCPFLabel"?: string;
14058
- /**
14059
- * @uiName Classification code field label
14060
- * @uiGroup Step 4 Properties
14061
- */
14062
- "step4_classificationCodeLabel"?: string;
14063
14374
  /**
14064
14375
  * @uiName Classification entity field label
14065
14376
  * @uiGroup Step 4 Properties
package/docs/docs.docx CHANGED
Binary file