@saasquatch/mint-components 2.1.8-24 → 2.1.8-25
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.
- package/dist/cjs/{ShadowViewAddon-1ed8faf9.js → ShadowViewAddon-247ccfa4.js} +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +41 -37
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +92 -76
- package/dist/collection/components/sqm-share-link/useShareLink.js +5 -5
- package/dist/esm/{ShadowViewAddon-395ab799.js → ShadowViewAddon-e7e73e36.js} +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +41 -37
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-395ab799.js → ShadowViewAddon-e7e73e36.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-d7adb7f3.system.js → p-0a02a7a5.system.js} +1 -1
- package/dist/mint-components/{p-ba640335.entry.js → p-365363b5.entry.js} +2 -2
- package/dist/mint-components/{p-cd79864c.js → p-3be90659.js} +1 -1
- package/dist/mint-components/{p-8e5a6491.system.entry.js → p-4aede05c.system.entry.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-e6cf9daa.entry.js → p-c7f4a587.entry.js} +1 -1
- package/dist/mint-components/{p-2b108f39.system.entry.js → p-f62812ff.system.entry.js} +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +39 -35
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +5 -5
- package/dist/types/components.d.ts +94 -86
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-651
|
|
|
27
27
|
const useLeadFormState = require('./useLeadFormState-76d3b511.js');
|
|
28
28
|
const utilities = require('./utilities-096934ea.js');
|
|
29
29
|
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-247ccfa4.js');
|
|
31
31
|
require('./sqm-portal-container-view-70a47420.js');
|
|
32
32
|
const data = require('./data-e83f8a41.js');
|
|
33
33
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
@@ -6114,29 +6114,29 @@ const ShareLink = class {
|
|
|
6114
6114
|
*/
|
|
6115
6115
|
this.buttonStyle = "icon";
|
|
6116
6116
|
/**
|
|
6117
|
-
*
|
|
6117
|
+
* Let advocates customize their share links up to 5 times.
|
|
6118
6118
|
*
|
|
6119
|
-
* @uiName
|
|
6119
|
+
* @uiName Allow customization
|
|
6120
6120
|
* @uiType boolean
|
|
6121
|
-
* @uiGroup
|
|
6121
|
+
* @uiGroup Customizable Vanity Link
|
|
6122
6122
|
* @requiredFlavor impact
|
|
6123
6123
|
*/
|
|
6124
6124
|
this.allowCustomization = false;
|
|
6125
6125
|
/**
|
|
6126
|
-
*
|
|
6126
|
+
* Displayed below the share link.
|
|
6127
6127
|
*
|
|
6128
|
-
* @uiName Customize link label
|
|
6128
|
+
* @uiName Customize link button label
|
|
6129
6129
|
* @uiType string
|
|
6130
|
-
* @uiGroup
|
|
6130
|
+
* @uiGroup Customizable Vanity Link
|
|
6131
6131
|
* @requiredFlavor impact
|
|
6132
6132
|
*/
|
|
6133
|
-
this.
|
|
6133
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6134
6134
|
/**
|
|
6135
6135
|
* Text for the save button in editing mode
|
|
6136
6136
|
*
|
|
6137
6137
|
* @uiName Save button label
|
|
6138
6138
|
* @uiType string
|
|
6139
|
-
* @uiGroup
|
|
6139
|
+
* @uiGroup Customizable Vanity Link
|
|
6140
6140
|
* @requiredFlavor impact
|
|
6141
6141
|
*/
|
|
6142
6142
|
this.saveLabelText = "Save";
|
|
@@ -6145,79 +6145,83 @@ const ShareLink = class {
|
|
|
6145
6145
|
*
|
|
6146
6146
|
* @uiName Cancel button label
|
|
6147
6147
|
* @uiType string
|
|
6148
|
-
* @uiGroup
|
|
6148
|
+
* @uiGroup Customizable Vanity Link
|
|
6149
6149
|
* @requiredFlavor impact
|
|
6150
6150
|
*/
|
|
6151
6151
|
this.cancelLabelText = "Cancel";
|
|
6152
6152
|
/**
|
|
6153
|
-
* Title
|
|
6153
|
+
* Title of the error message shown when the link has already been taken
|
|
6154
6154
|
*
|
|
6155
|
-
* @uiName
|
|
6155
|
+
* @uiName Link taken error title
|
|
6156
6156
|
* @uiType string
|
|
6157
|
-
* @uiGroup
|
|
6157
|
+
* @uiGroup Customizable Vanity Link
|
|
6158
6158
|
* @requiredFlavor impact
|
|
6159
6159
|
*/
|
|
6160
|
-
this.
|
|
6160
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6161
6161
|
/**
|
|
6162
|
-
* Description text shown when the
|
|
6162
|
+
* Description text shown when the link has already been taken
|
|
6163
6163
|
*
|
|
6164
|
-
* @uiName
|
|
6164
|
+
* @uiName Link taken error message
|
|
6165
6165
|
* @uiType string
|
|
6166
|
-
* @
|
|
6166
|
+
* @uiWidget textarea
|
|
6167
|
+
* @uiGroup Customizable Vanity Link
|
|
6167
6168
|
* @requiredFlavor impact
|
|
6168
6169
|
*/
|
|
6169
|
-
this.
|
|
6170
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6170
6171
|
/**
|
|
6171
|
-
* Title
|
|
6172
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
6172
6173
|
*
|
|
6173
6174
|
* @uiName Invalid characters error title
|
|
6174
6175
|
* @uiType string
|
|
6175
|
-
* @uiGroup
|
|
6176
|
+
* @uiGroup Customizable Vanity Link
|
|
6176
6177
|
* @requiredFlavor impact
|
|
6177
6178
|
*/
|
|
6178
6179
|
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6179
6180
|
/**
|
|
6180
|
-
* Description text shown when the link contains invalid characters
|
|
6181
|
+
* Description text shown when the link contains invalid special characters.
|
|
6181
6182
|
*
|
|
6182
6183
|
* @uiName Invalid characters error description
|
|
6183
6184
|
* @uiType string
|
|
6184
|
-
* @
|
|
6185
|
+
* @uiWidget textarea
|
|
6186
|
+
* @uiGroup Customizable Vanity Link
|
|
6185
6187
|
* @requiredFlavor impact
|
|
6186
6188
|
*/
|
|
6187
6189
|
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6188
6190
|
/**
|
|
6189
|
-
* Title
|
|
6191
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6190
6192
|
*
|
|
6191
|
-
* @uiName
|
|
6193
|
+
* @uiName Restricted words error title
|
|
6192
6194
|
* @uiType string
|
|
6193
|
-
* @uiGroup
|
|
6195
|
+
* @uiGroup Customizable Vanity Link
|
|
6194
6196
|
* @requiredFlavor impact
|
|
6195
6197
|
*/
|
|
6196
|
-
this.
|
|
6198
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6197
6199
|
/**
|
|
6198
|
-
* Description text shown when the link contains profanity
|
|
6200
|
+
* Description text shown when the link contains profanity or brand names.
|
|
6199
6201
|
*
|
|
6200
|
-
* @uiName
|
|
6202
|
+
* @uiName Restricted words error description
|
|
6201
6203
|
* @uiType string
|
|
6202
|
-
* @
|
|
6204
|
+
* @uiWidget textarea
|
|
6205
|
+
* @uiGroup Customizable Vanity Link
|
|
6203
6206
|
* @requiredFlavor impact
|
|
6204
6207
|
*/
|
|
6205
|
-
this.
|
|
6208
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6206
6209
|
/**
|
|
6207
|
-
*
|
|
6210
|
+
* Subtext shown while the user is customizing their URL.
|
|
6208
6211
|
*
|
|
6209
6212
|
* @uiName Edit limit text
|
|
6210
6213
|
* @uiType string
|
|
6211
|
-
* @uiGroup
|
|
6214
|
+
* @uiGroup Customizable Vanity Link
|
|
6212
6215
|
* @requiredFlavor impact
|
|
6213
6216
|
*/
|
|
6214
6217
|
this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
|
|
6215
6218
|
/**
|
|
6216
|
-
* Message shown when the
|
|
6219
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6217
6220
|
*
|
|
6218
6221
|
* @uiName Edit limit reached text
|
|
6219
6222
|
* @uiType string
|
|
6220
|
-
* @
|
|
6223
|
+
* @uiWidget textarea
|
|
6224
|
+
* @uiGroup Customizable Vanity Link
|
|
6221
6225
|
* @requiredFlavor impact
|
|
6222
6226
|
*/
|
|
6223
6227
|
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
@@ -6226,7 +6230,7 @@ const ShareLink = class {
|
|
|
6226
6230
|
*
|
|
6227
6231
|
* @uiName Support link text
|
|
6228
6232
|
* @uiType string
|
|
6229
|
-
* @uiGroup
|
|
6233
|
+
* @uiGroup Customizable Vanity Link
|
|
6230
6234
|
* @requiredFlavor impact
|
|
6231
6235
|
*/
|
|
6232
6236
|
this.supportLinkText = "Support";
|
|
@@ -6235,7 +6239,7 @@ const ShareLink = class {
|
|
|
6235
6239
|
*
|
|
6236
6240
|
* @uiName Customize disabled tooltip
|
|
6237
6241
|
* @uiType string
|
|
6238
|
-
* @uiGroup
|
|
6242
|
+
* @uiGroup Customizable Vanity Link
|
|
6239
6243
|
* @requiredFlavor impact
|
|
6240
6244
|
*/
|
|
6241
6245
|
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
@@ -6277,7 +6281,7 @@ function useDemoShareLink(props) {
|
|
|
6277
6281
|
},
|
|
6278
6282
|
},
|
|
6279
6283
|
allowCustomization: props.allowCustomization,
|
|
6280
|
-
customizeLinkLabel: props.
|
|
6284
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
6281
6285
|
saveLabelText: props.saveLabelText,
|
|
6282
6286
|
cancelLabelText: props.cancelLabelText,
|
|
6283
6287
|
isEditing,
|
|
@@ -33,7 +33,7 @@ require('./utilities-096934ea.js');
|
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6b1acd90.js');
|
|
34
34
|
require('./ErrorView-ee7b0f36.js');
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-247ccfa4.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
38
38
|
const sqmUserInfoFormView = require('./sqm-user-info-form-view-93e996d6.js');
|
|
39
39
|
const data = require('./data-e83f8a41.js');
|
|
@@ -59,29 +59,29 @@ export class ShareLink {
|
|
|
59
59
|
*/
|
|
60
60
|
this.buttonStyle = "icon";
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Let advocates customize their share links up to 5 times.
|
|
63
63
|
*
|
|
64
|
-
* @uiName
|
|
64
|
+
* @uiName Allow customization
|
|
65
65
|
* @uiType boolean
|
|
66
|
-
* @uiGroup
|
|
66
|
+
* @uiGroup Customizable Vanity Link
|
|
67
67
|
* @requiredFlavor impact
|
|
68
68
|
*/
|
|
69
69
|
this.allowCustomization = false;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Displayed below the share link.
|
|
72
72
|
*
|
|
73
|
-
* @uiName Customize link label
|
|
73
|
+
* @uiName Customize link button label
|
|
74
74
|
* @uiType string
|
|
75
|
-
* @uiGroup
|
|
75
|
+
* @uiGroup Customizable Vanity Link
|
|
76
76
|
* @requiredFlavor impact
|
|
77
77
|
*/
|
|
78
|
-
this.
|
|
78
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
79
79
|
/**
|
|
80
80
|
* Text for the save button in editing mode
|
|
81
81
|
*
|
|
82
82
|
* @uiName Save button label
|
|
83
83
|
* @uiType string
|
|
84
|
-
* @uiGroup
|
|
84
|
+
* @uiGroup Customizable Vanity Link
|
|
85
85
|
* @requiredFlavor impact
|
|
86
86
|
*/
|
|
87
87
|
this.saveLabelText = "Save";
|
|
@@ -90,79 +90,83 @@ export class ShareLink {
|
|
|
90
90
|
*
|
|
91
91
|
* @uiName Cancel button label
|
|
92
92
|
* @uiType string
|
|
93
|
-
* @uiGroup
|
|
93
|
+
* @uiGroup Customizable Vanity Link
|
|
94
94
|
* @requiredFlavor impact
|
|
95
95
|
*/
|
|
96
96
|
this.cancelLabelText = "Cancel";
|
|
97
97
|
/**
|
|
98
|
-
* Title
|
|
98
|
+
* Title of the error message shown when the link has already been taken
|
|
99
99
|
*
|
|
100
|
-
* @uiName
|
|
100
|
+
* @uiName Link taken error title
|
|
101
101
|
* @uiType string
|
|
102
|
-
* @uiGroup
|
|
102
|
+
* @uiGroup Customizable Vanity Link
|
|
103
103
|
* @requiredFlavor impact
|
|
104
104
|
*/
|
|
105
|
-
this.
|
|
105
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
106
106
|
/**
|
|
107
|
-
* Description text shown when the
|
|
107
|
+
* Description text shown when the link has already been taken
|
|
108
108
|
*
|
|
109
|
-
* @uiName
|
|
109
|
+
* @uiName Link taken error message
|
|
110
110
|
* @uiType string
|
|
111
|
-
* @
|
|
111
|
+
* @uiWidget textarea
|
|
112
|
+
* @uiGroup Customizable Vanity Link
|
|
112
113
|
* @requiredFlavor impact
|
|
113
114
|
*/
|
|
114
|
-
this.
|
|
115
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
115
116
|
/**
|
|
116
|
-
* Title
|
|
117
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
117
118
|
*
|
|
118
119
|
* @uiName Invalid characters error title
|
|
119
120
|
* @uiType string
|
|
120
|
-
* @uiGroup
|
|
121
|
+
* @uiGroup Customizable Vanity Link
|
|
121
122
|
* @requiredFlavor impact
|
|
122
123
|
*/
|
|
123
124
|
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
124
125
|
/**
|
|
125
|
-
* Description text shown when the link contains invalid characters
|
|
126
|
+
* Description text shown when the link contains invalid special characters.
|
|
126
127
|
*
|
|
127
128
|
* @uiName Invalid characters error description
|
|
128
129
|
* @uiType string
|
|
129
|
-
* @
|
|
130
|
+
* @uiWidget textarea
|
|
131
|
+
* @uiGroup Customizable Vanity Link
|
|
130
132
|
* @requiredFlavor impact
|
|
131
133
|
*/
|
|
132
134
|
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
133
135
|
/**
|
|
134
|
-
* Title
|
|
136
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
135
137
|
*
|
|
136
|
-
* @uiName
|
|
138
|
+
* @uiName Restricted words error title
|
|
137
139
|
* @uiType string
|
|
138
|
-
* @uiGroup
|
|
140
|
+
* @uiGroup Customizable Vanity Link
|
|
139
141
|
* @requiredFlavor impact
|
|
140
142
|
*/
|
|
141
|
-
this.
|
|
143
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
142
144
|
/**
|
|
143
|
-
* Description text shown when the link contains profanity
|
|
145
|
+
* Description text shown when the link contains profanity or brand names.
|
|
144
146
|
*
|
|
145
|
-
* @uiName
|
|
147
|
+
* @uiName Restricted words error description
|
|
146
148
|
* @uiType string
|
|
147
|
-
* @
|
|
149
|
+
* @uiWidget textarea
|
|
150
|
+
* @uiGroup Customizable Vanity Link
|
|
148
151
|
* @requiredFlavor impact
|
|
149
152
|
*/
|
|
150
|
-
this.
|
|
153
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
151
154
|
/**
|
|
152
|
-
*
|
|
155
|
+
* Subtext shown while the user is customizing their URL.
|
|
153
156
|
*
|
|
154
157
|
* @uiName Edit limit text
|
|
155
158
|
* @uiType string
|
|
156
|
-
* @uiGroup
|
|
159
|
+
* @uiGroup Customizable Vanity Link
|
|
157
160
|
* @requiredFlavor impact
|
|
158
161
|
*/
|
|
159
162
|
this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
|
|
160
163
|
/**
|
|
161
|
-
* Message shown when the
|
|
164
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
162
165
|
*
|
|
163
166
|
* @uiName Edit limit reached text
|
|
164
167
|
* @uiType string
|
|
165
|
-
* @
|
|
168
|
+
* @uiWidget textarea
|
|
169
|
+
* @uiGroup Customizable Vanity Link
|
|
166
170
|
* @requiredFlavor impact
|
|
167
171
|
*/
|
|
168
172
|
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
@@ -171,7 +175,7 @@ export class ShareLink {
|
|
|
171
175
|
*
|
|
172
176
|
* @uiName Support link text
|
|
173
177
|
* @uiType string
|
|
174
|
-
* @uiGroup
|
|
178
|
+
* @uiGroup Customizable Vanity Link
|
|
175
179
|
* @requiredFlavor impact
|
|
176
180
|
*/
|
|
177
181
|
this.supportLinkText = "Support";
|
|
@@ -180,7 +184,7 @@ export class ShareLink {
|
|
|
180
184
|
*
|
|
181
185
|
* @uiName Customize disabled tooltip
|
|
182
186
|
* @uiType string
|
|
183
|
-
* @uiGroup
|
|
187
|
+
* @uiGroup Customizable Vanity Link
|
|
184
188
|
* @requiredFlavor impact
|
|
185
189
|
*/
|
|
186
190
|
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
@@ -507,25 +511,25 @@ export class ShareLink {
|
|
|
507
511
|
"optional": true,
|
|
508
512
|
"docs": {
|
|
509
513
|
"tags": [{
|
|
510
|
-
"text": "
|
|
514
|
+
"text": "Allow customization",
|
|
511
515
|
"name": "uiName"
|
|
512
516
|
}, {
|
|
513
517
|
"text": "boolean",
|
|
514
518
|
"name": "uiType"
|
|
515
519
|
}, {
|
|
516
|
-
"text": "
|
|
520
|
+
"text": "Customizable Vanity Link",
|
|
517
521
|
"name": "uiGroup"
|
|
518
522
|
}, {
|
|
519
523
|
"text": "impact",
|
|
520
524
|
"name": "requiredFlavor"
|
|
521
525
|
}],
|
|
522
|
-
"text": "
|
|
526
|
+
"text": "Let advocates customize their share links up to 5 times."
|
|
523
527
|
},
|
|
524
528
|
"attribute": "allow-customization",
|
|
525
529
|
"reflect": false,
|
|
526
530
|
"defaultValue": "false"
|
|
527
531
|
},
|
|
528
|
-
"
|
|
532
|
+
"customizeLinkButtonLabel": {
|
|
529
533
|
"type": "string",
|
|
530
534
|
"mutable": false,
|
|
531
535
|
"complexType": {
|
|
@@ -537,21 +541,21 @@ export class ShareLink {
|
|
|
537
541
|
"optional": true,
|
|
538
542
|
"docs": {
|
|
539
543
|
"tags": [{
|
|
540
|
-
"text": "Customize link label",
|
|
544
|
+
"text": "Customize link button label",
|
|
541
545
|
"name": "uiName"
|
|
542
546
|
}, {
|
|
543
547
|
"text": "string",
|
|
544
548
|
"name": "uiType"
|
|
545
549
|
}, {
|
|
546
|
-
"text": "
|
|
550
|
+
"text": "Customizable Vanity Link",
|
|
547
551
|
"name": "uiGroup"
|
|
548
552
|
}, {
|
|
549
553
|
"text": "impact",
|
|
550
554
|
"name": "requiredFlavor"
|
|
551
555
|
}],
|
|
552
|
-
"text": "
|
|
556
|
+
"text": "Displayed below the share link."
|
|
553
557
|
},
|
|
554
|
-
"attribute": "customize-link-label",
|
|
558
|
+
"attribute": "customize-link-button-label",
|
|
555
559
|
"reflect": false,
|
|
556
560
|
"defaultValue": "\"Customize Link\""
|
|
557
561
|
},
|
|
@@ -573,7 +577,7 @@ export class ShareLink {
|
|
|
573
577
|
"text": "string",
|
|
574
578
|
"name": "uiType"
|
|
575
579
|
}, {
|
|
576
|
-
"text": "
|
|
580
|
+
"text": "Customizable Vanity Link",
|
|
577
581
|
"name": "uiGroup"
|
|
578
582
|
}, {
|
|
579
583
|
"text": "impact",
|
|
@@ -603,7 +607,7 @@ export class ShareLink {
|
|
|
603
607
|
"text": "string",
|
|
604
608
|
"name": "uiType"
|
|
605
609
|
}, {
|
|
606
|
-
"text": "
|
|
610
|
+
"text": "Customizable Vanity Link",
|
|
607
611
|
"name": "uiGroup"
|
|
608
612
|
}, {
|
|
609
613
|
"text": "impact",
|
|
@@ -615,7 +619,7 @@ export class ShareLink {
|
|
|
615
619
|
"reflect": false,
|
|
616
620
|
"defaultValue": "\"Cancel\""
|
|
617
621
|
},
|
|
618
|
-
"
|
|
622
|
+
"linkTakenErrorTitle": {
|
|
619
623
|
"type": "string",
|
|
620
624
|
"mutable": false,
|
|
621
625
|
"complexType": {
|
|
@@ -627,25 +631,25 @@ export class ShareLink {
|
|
|
627
631
|
"optional": true,
|
|
628
632
|
"docs": {
|
|
629
633
|
"tags": [{
|
|
630
|
-
"text": "
|
|
634
|
+
"text": "Link taken error title",
|
|
631
635
|
"name": "uiName"
|
|
632
636
|
}, {
|
|
633
637
|
"text": "string",
|
|
634
638
|
"name": "uiType"
|
|
635
639
|
}, {
|
|
636
|
-
"text": "
|
|
640
|
+
"text": "Customizable Vanity Link",
|
|
637
641
|
"name": "uiGroup"
|
|
638
642
|
}, {
|
|
639
643
|
"text": "impact",
|
|
640
644
|
"name": "requiredFlavor"
|
|
641
645
|
}],
|
|
642
|
-
"text": "Title
|
|
646
|
+
"text": "Title of the error message shown when the link has already been taken"
|
|
643
647
|
},
|
|
644
|
-
"attribute": "
|
|
648
|
+
"attribute": "link-taken-error-title",
|
|
645
649
|
"reflect": false,
|
|
646
650
|
"defaultValue": "\"This link is already taken\""
|
|
647
651
|
},
|
|
648
|
-
"
|
|
652
|
+
"linkTakenErrorDescription": {
|
|
649
653
|
"type": "string",
|
|
650
654
|
"mutable": false,
|
|
651
655
|
"complexType": {
|
|
@@ -657,21 +661,24 @@ export class ShareLink {
|
|
|
657
661
|
"optional": true,
|
|
658
662
|
"docs": {
|
|
659
663
|
"tags": [{
|
|
660
|
-
"text": "
|
|
664
|
+
"text": "Link taken error message",
|
|
661
665
|
"name": "uiName"
|
|
662
666
|
}, {
|
|
663
667
|
"text": "string",
|
|
664
668
|
"name": "uiType"
|
|
665
669
|
}, {
|
|
666
|
-
"text": "
|
|
670
|
+
"text": "textarea",
|
|
671
|
+
"name": "uiWidget"
|
|
672
|
+
}, {
|
|
673
|
+
"text": "Customizable Vanity Link",
|
|
667
674
|
"name": "uiGroup"
|
|
668
675
|
}, {
|
|
669
676
|
"text": "impact",
|
|
670
677
|
"name": "requiredFlavor"
|
|
671
678
|
}],
|
|
672
|
-
"text": "Description text shown when the
|
|
679
|
+
"text": "Description text shown when the link has already been taken"
|
|
673
680
|
},
|
|
674
|
-
"attribute": "
|
|
681
|
+
"attribute": "link-taken-error-description",
|
|
675
682
|
"reflect": false,
|
|
676
683
|
"defaultValue": "\"Try adding numbers, a dash or underscore to create a unique link.\""
|
|
677
684
|
},
|
|
@@ -693,13 +700,13 @@ export class ShareLink {
|
|
|
693
700
|
"text": "string",
|
|
694
701
|
"name": "uiType"
|
|
695
702
|
}, {
|
|
696
|
-
"text": "
|
|
703
|
+
"text": "Customizable Vanity Link",
|
|
697
704
|
"name": "uiGroup"
|
|
698
705
|
}, {
|
|
699
706
|
"text": "impact",
|
|
700
707
|
"name": "requiredFlavor"
|
|
701
708
|
}],
|
|
702
|
-
"text": "Title
|
|
709
|
+
"text": "Title of the error message shown when the link contains invalid special characters."
|
|
703
710
|
},
|
|
704
711
|
"attribute": "invalid-characters-error-title",
|
|
705
712
|
"reflect": false,
|
|
@@ -723,19 +730,22 @@ export class ShareLink {
|
|
|
723
730
|
"text": "string",
|
|
724
731
|
"name": "uiType"
|
|
725
732
|
}, {
|
|
726
|
-
"text": "
|
|
733
|
+
"text": "textarea",
|
|
734
|
+
"name": "uiWidget"
|
|
735
|
+
}, {
|
|
736
|
+
"text": "Customizable Vanity Link",
|
|
727
737
|
"name": "uiGroup"
|
|
728
738
|
}, {
|
|
729
739
|
"text": "impact",
|
|
730
740
|
"name": "requiredFlavor"
|
|
731
741
|
}],
|
|
732
|
-
"text": "Description text shown when the link contains invalid characters"
|
|
742
|
+
"text": "Description text shown when the link contains invalid special characters."
|
|
733
743
|
},
|
|
734
744
|
"attribute": "invalid-characters-error-description",
|
|
735
745
|
"reflect": false,
|
|
736
746
|
"defaultValue": "\"Special characters can break the link when sharing.\""
|
|
737
747
|
},
|
|
738
|
-
"
|
|
748
|
+
"restrictedWordsErrorTitle": {
|
|
739
749
|
"type": "string",
|
|
740
750
|
"mutable": false,
|
|
741
751
|
"complexType": {
|
|
@@ -747,25 +757,25 @@ export class ShareLink {
|
|
|
747
757
|
"optional": true,
|
|
748
758
|
"docs": {
|
|
749
759
|
"tags": [{
|
|
750
|
-
"text": "
|
|
760
|
+
"text": "Restricted words error title",
|
|
751
761
|
"name": "uiName"
|
|
752
762
|
}, {
|
|
753
763
|
"text": "string",
|
|
754
764
|
"name": "uiType"
|
|
755
765
|
}, {
|
|
756
|
-
"text": "
|
|
766
|
+
"text": "Customizable Vanity Link",
|
|
757
767
|
"name": "uiGroup"
|
|
758
768
|
}, {
|
|
759
769
|
"text": "impact",
|
|
760
770
|
"name": "requiredFlavor"
|
|
761
771
|
}],
|
|
762
|
-
"text": "Title
|
|
772
|
+
"text": "Title of the error message shown when the link contains profanity or brand names."
|
|
763
773
|
},
|
|
764
|
-
"attribute": "
|
|
774
|
+
"attribute": "restricted-words-error-title",
|
|
765
775
|
"reflect": false,
|
|
766
776
|
"defaultValue": "\"Please try a different link\""
|
|
767
777
|
},
|
|
768
|
-
"
|
|
778
|
+
"restrictedWordsErrorDescription": {
|
|
769
779
|
"type": "string",
|
|
770
780
|
"mutable": false,
|
|
771
781
|
"complexType": {
|
|
@@ -777,21 +787,24 @@ export class ShareLink {
|
|
|
777
787
|
"optional": true,
|
|
778
788
|
"docs": {
|
|
779
789
|
"tags": [{
|
|
780
|
-
"text": "
|
|
790
|
+
"text": "Restricted words error description",
|
|
781
791
|
"name": "uiName"
|
|
782
792
|
}, {
|
|
783
793
|
"text": "string",
|
|
784
794
|
"name": "uiType"
|
|
785
795
|
}, {
|
|
786
|
-
"text": "
|
|
796
|
+
"text": "textarea",
|
|
797
|
+
"name": "uiWidget"
|
|
798
|
+
}, {
|
|
799
|
+
"text": "Customizable Vanity Link",
|
|
787
800
|
"name": "uiGroup"
|
|
788
801
|
}, {
|
|
789
802
|
"text": "impact",
|
|
790
803
|
"name": "requiredFlavor"
|
|
791
804
|
}],
|
|
792
|
-
"text": "Description text shown when the link contains profanity"
|
|
805
|
+
"text": "Description text shown when the link contains profanity or brand names."
|
|
793
806
|
},
|
|
794
|
-
"attribute": "
|
|
807
|
+
"attribute": "restricted-words-error-description",
|
|
795
808
|
"reflect": false,
|
|
796
809
|
"defaultValue": "\"This link contains a restricted word.\""
|
|
797
810
|
},
|
|
@@ -813,13 +826,13 @@ export class ShareLink {
|
|
|
813
826
|
"text": "string",
|
|
814
827
|
"name": "uiType"
|
|
815
828
|
}, {
|
|
816
|
-
"text": "
|
|
829
|
+
"text": "Customizable Vanity Link",
|
|
817
830
|
"name": "uiGroup"
|
|
818
831
|
}, {
|
|
819
832
|
"text": "impact",
|
|
820
833
|
"name": "requiredFlavor"
|
|
821
834
|
}],
|
|
822
|
-
"text": "
|
|
835
|
+
"text": "Subtext shown while the user is customizing their URL."
|
|
823
836
|
},
|
|
824
837
|
"attribute": "edit-limit-text",
|
|
825
838
|
"reflect": false,
|
|
@@ -843,13 +856,16 @@ export class ShareLink {
|
|
|
843
856
|
"text": "string",
|
|
844
857
|
"name": "uiType"
|
|
845
858
|
}, {
|
|
846
|
-
"text": "
|
|
859
|
+
"text": "textarea",
|
|
860
|
+
"name": "uiWidget"
|
|
861
|
+
}, {
|
|
862
|
+
"text": "Customizable Vanity Link",
|
|
847
863
|
"name": "uiGroup"
|
|
848
864
|
}, {
|
|
849
865
|
"text": "impact",
|
|
850
866
|
"name": "requiredFlavor"
|
|
851
867
|
}],
|
|
852
|
-
"text": "Message shown when the
|
|
868
|
+
"text": "Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder."
|
|
853
869
|
},
|
|
854
870
|
"attribute": "edit-limit-reached-text",
|
|
855
871
|
"reflect": false,
|
|
@@ -873,7 +889,7 @@ export class ShareLink {
|
|
|
873
889
|
"text": "string",
|
|
874
890
|
"name": "uiType"
|
|
875
891
|
}, {
|
|
876
|
-
"text": "
|
|
892
|
+
"text": "Customizable Vanity Link",
|
|
877
893
|
"name": "uiGroup"
|
|
878
894
|
}, {
|
|
879
895
|
"text": "impact",
|
|
@@ -903,7 +919,7 @@ export class ShareLink {
|
|
|
903
919
|
"text": "string",
|
|
904
920
|
"name": "uiType"
|
|
905
921
|
}, {
|
|
906
|
-
"text": "
|
|
922
|
+
"text": "Customizable Vanity Link",
|
|
907
923
|
"name": "uiGroup"
|
|
908
924
|
}, {
|
|
909
925
|
"text": "impact",
|
|
@@ -991,7 +1007,7 @@ function useDemoShareLink(props) {
|
|
|
991
1007
|
},
|
|
992
1008
|
},
|
|
993
1009
|
allowCustomization: props.allowCustomization,
|
|
994
|
-
customizeLinkLabel: props.
|
|
1010
|
+
customizeLinkLabel: props.customizeLinkButtonLabel,
|
|
995
1011
|
saveLabelText: props.saveLabelText,
|
|
996
1012
|
cancelLabelText: props.cancelLabelText,
|
|
997
1013
|
isEditing,
|