@saasquatch/mint-components 2.1.8-24 → 2.1.8-26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-1ed8faf9.js → ShadowViewAddon-1bc48666.js} +11 -10
- 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 +61 -57
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +6 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +153 -137
- package/dist/collection/components/sqm-share-link/useShareLink.js +5 -5
- package/dist/esm/{ShadowViewAddon-395ab799.js → ShadowViewAddon-10db3e11.js} +11 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +61 -57
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-395ab799.js → ShadowViewAddon-10db3e11.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-0b5dd21b.system.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-2b108f39.system.entry.js → p-4df9c93e.system.entry.js} +1 -1
- package/dist/mint-components/{p-8e5a6491.system.entry.js → p-6d10c03c.system.entry.js} +1 -1
- package/dist/mint-components/{p-cd79864c.js → p-72055e41.js} +2 -2
- package/dist/mint-components/{p-ba640335.entry.js → p-840157bd.entry.js} +2 -2
- package/dist/mint-components/{p-e6cf9daa.entry.js → p-a4f44c57.entry.js} +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +59 -55
- 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
|
@@ -59,131 +59,135 @@ 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
|
-
* Text
|
|
71
|
+
* Text for the cancel button in editing mode
|
|
72
72
|
*
|
|
73
|
-
* @uiName
|
|
73
|
+
* @uiName Cancel button label
|
|
74
74
|
* @uiType string
|
|
75
|
-
* @uiGroup
|
|
75
|
+
* @uiGroup Customizable Vanity Link
|
|
76
76
|
* @requiredFlavor impact
|
|
77
77
|
*/
|
|
78
|
-
this.
|
|
78
|
+
this.cancelLabelText = "Cancel";
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Tooltip text shown when link customization is disabled
|
|
81
81
|
*
|
|
82
|
-
* @uiName
|
|
82
|
+
* @uiName Customize disabled tooltip
|
|
83
83
|
* @uiType string
|
|
84
|
-
* @uiGroup
|
|
84
|
+
* @uiGroup Customizable Vanity Link
|
|
85
85
|
* @requiredFlavor impact
|
|
86
86
|
*/
|
|
87
|
-
this.
|
|
87
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Displayed below the share link.
|
|
90
90
|
*
|
|
91
|
-
* @uiName
|
|
91
|
+
* @uiName Customize link button label
|
|
92
92
|
* @uiType string
|
|
93
|
-
* @uiGroup
|
|
93
|
+
* @uiGroup Customizable Vanity Link
|
|
94
94
|
* @requiredFlavor impact
|
|
95
95
|
*/
|
|
96
|
-
this.
|
|
96
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
99
99
|
*
|
|
100
|
-
* @uiName
|
|
100
|
+
* @uiName Edit limit reached text
|
|
101
101
|
* @uiType string
|
|
102
|
-
* @
|
|
102
|
+
* @uiWidget textarea
|
|
103
|
+
* @uiGroup Customizable Vanity Link
|
|
103
104
|
* @requiredFlavor impact
|
|
104
105
|
*/
|
|
105
|
-
this.
|
|
106
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
106
107
|
/**
|
|
107
|
-
*
|
|
108
|
+
* Subtext shown while the user is customizing their URL.
|
|
108
109
|
*
|
|
109
|
-
* @uiName
|
|
110
|
+
* @uiName Edit limit text
|
|
110
111
|
* @uiType string
|
|
111
|
-
* @uiGroup
|
|
112
|
+
* @uiGroup Customizable Vanity Link
|
|
112
113
|
* @requiredFlavor impact
|
|
113
114
|
*/
|
|
114
|
-
this.
|
|
115
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
|
|
115
116
|
/**
|
|
116
|
-
*
|
|
117
|
+
* Description text shown when the link contains invalid special characters.
|
|
117
118
|
*
|
|
118
|
-
* @uiName Invalid characters error
|
|
119
|
+
* @uiName Invalid characters error description
|
|
119
120
|
* @uiType string
|
|
120
|
-
* @
|
|
121
|
+
* @uiWidget textarea
|
|
122
|
+
* @uiGroup Customizable Vanity Link
|
|
121
123
|
* @requiredFlavor impact
|
|
122
124
|
*/
|
|
123
|
-
this.
|
|
125
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
124
126
|
/**
|
|
125
|
-
*
|
|
127
|
+
* Title of the error message shown when the link contains invalid special characters.
|
|
126
128
|
*
|
|
127
|
-
* @uiName Invalid characters error
|
|
129
|
+
* @uiName Invalid characters error title
|
|
128
130
|
* @uiType string
|
|
129
|
-
* @uiGroup
|
|
131
|
+
* @uiGroup Customizable Vanity Link
|
|
130
132
|
* @requiredFlavor impact
|
|
131
133
|
*/
|
|
132
|
-
this.
|
|
134
|
+
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
133
135
|
/**
|
|
134
|
-
*
|
|
136
|
+
* Description text shown when the link has already been taken
|
|
135
137
|
*
|
|
136
|
-
* @uiName
|
|
138
|
+
* @uiName Link taken error message
|
|
137
139
|
* @uiType string
|
|
138
|
-
* @
|
|
140
|
+
* @uiWidget textarea
|
|
141
|
+
* @uiGroup Customizable Vanity Link
|
|
139
142
|
* @requiredFlavor impact
|
|
140
143
|
*/
|
|
141
|
-
this.
|
|
144
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
142
145
|
/**
|
|
143
|
-
*
|
|
146
|
+
* Title of the error message shown when the link has already been taken
|
|
144
147
|
*
|
|
145
|
-
* @uiName
|
|
148
|
+
* @uiName Link taken error title
|
|
146
149
|
* @uiType string
|
|
147
|
-
* @uiGroup
|
|
150
|
+
* @uiGroup Customizable Vanity Link
|
|
148
151
|
* @requiredFlavor impact
|
|
149
152
|
*/
|
|
150
|
-
this.
|
|
153
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
151
154
|
/**
|
|
152
|
-
*
|
|
155
|
+
* Description text shown when the link contains profanity or brand names.
|
|
153
156
|
*
|
|
154
|
-
* @uiName
|
|
157
|
+
* @uiName Restricted words error description
|
|
155
158
|
* @uiType string
|
|
156
|
-
* @
|
|
159
|
+
* @uiWidget textarea
|
|
160
|
+
* @uiGroup Customizable Vanity Link
|
|
157
161
|
* @requiredFlavor impact
|
|
158
162
|
*/
|
|
159
|
-
this.
|
|
163
|
+
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
160
164
|
/**
|
|
161
|
-
*
|
|
165
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
162
166
|
*
|
|
163
|
-
* @uiName
|
|
167
|
+
* @uiName Restricted words error title
|
|
164
168
|
* @uiType string
|
|
165
|
-
* @uiGroup
|
|
169
|
+
* @uiGroup Customizable Vanity Link
|
|
166
170
|
* @requiredFlavor impact
|
|
167
171
|
*/
|
|
168
|
-
this.
|
|
172
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
169
173
|
/**
|
|
170
|
-
*
|
|
174
|
+
* Text for the save button in editing mode
|
|
171
175
|
*
|
|
172
|
-
* @uiName
|
|
176
|
+
* @uiName Save button label
|
|
173
177
|
* @uiType string
|
|
174
|
-
* @uiGroup
|
|
178
|
+
* @uiGroup Customizable Vanity Link
|
|
175
179
|
* @requiredFlavor impact
|
|
176
180
|
*/
|
|
177
|
-
this.
|
|
181
|
+
this.saveLabelText = "Save";
|
|
178
182
|
/**
|
|
179
|
-
*
|
|
183
|
+
* Display text for the support link in the edit limit reached message
|
|
180
184
|
*
|
|
181
|
-
* @uiName
|
|
185
|
+
* @uiName Support link text
|
|
182
186
|
* @uiType string
|
|
183
|
-
* @uiGroup
|
|
187
|
+
* @uiGroup Customizable Vanity Link
|
|
184
188
|
* @requiredFlavor impact
|
|
185
189
|
*/
|
|
186
|
-
this.
|
|
190
|
+
this.supportLinkText = "Support";
|
|
187
191
|
withHooks(this);
|
|
188
192
|
}
|
|
189
193
|
disconnectedCallback() { }
|
|
@@ -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
|
+
"cancelLabelText": {
|
|
529
533
|
"type": "string",
|
|
530
534
|
"mutable": false,
|
|
531
535
|
"complexType": {
|
|
@@ -537,25 +541,25 @@ export class ShareLink {
|
|
|
537
541
|
"optional": true,
|
|
538
542
|
"docs": {
|
|
539
543
|
"tags": [{
|
|
540
|
-
"text": "
|
|
544
|
+
"text": "Cancel 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": "Text
|
|
556
|
+
"text": "Text for the cancel button in editing mode"
|
|
553
557
|
},
|
|
554
|
-
"attribute": "
|
|
558
|
+
"attribute": "cancel-label-text",
|
|
555
559
|
"reflect": false,
|
|
556
|
-
"defaultValue": "\"
|
|
560
|
+
"defaultValue": "\"Cancel\""
|
|
557
561
|
},
|
|
558
|
-
"
|
|
562
|
+
"customizeDisabledTooltip": {
|
|
559
563
|
"type": "string",
|
|
560
564
|
"mutable": false,
|
|
561
565
|
"complexType": {
|
|
@@ -567,25 +571,25 @@ export class ShareLink {
|
|
|
567
571
|
"optional": true,
|
|
568
572
|
"docs": {
|
|
569
573
|
"tags": [{
|
|
570
|
-
"text": "
|
|
574
|
+
"text": "Customize disabled tooltip",
|
|
571
575
|
"name": "uiName"
|
|
572
576
|
}, {
|
|
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",
|
|
580
584
|
"name": "requiredFlavor"
|
|
581
585
|
}],
|
|
582
|
-
"text": "
|
|
586
|
+
"text": "Tooltip text shown when link customization is disabled"
|
|
583
587
|
},
|
|
584
|
-
"attribute": "
|
|
588
|
+
"attribute": "customize-disabled-tooltip",
|
|
585
589
|
"reflect": false,
|
|
586
|
-
"defaultValue": "\"
|
|
590
|
+
"defaultValue": "\"Link customization is not available.\""
|
|
587
591
|
},
|
|
588
|
-
"
|
|
592
|
+
"customizeLinkButtonLabel": {
|
|
589
593
|
"type": "string",
|
|
590
594
|
"mutable": false,
|
|
591
595
|
"complexType": {
|
|
@@ -597,25 +601,25 @@ export class ShareLink {
|
|
|
597
601
|
"optional": true,
|
|
598
602
|
"docs": {
|
|
599
603
|
"tags": [{
|
|
600
|
-
"text": "
|
|
604
|
+
"text": "Customize link button label",
|
|
601
605
|
"name": "uiName"
|
|
602
606
|
}, {
|
|
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",
|
|
610
614
|
"name": "requiredFlavor"
|
|
611
615
|
}],
|
|
612
|
-
"text": "
|
|
616
|
+
"text": "Displayed below the share link."
|
|
613
617
|
},
|
|
614
|
-
"attribute": "
|
|
618
|
+
"attribute": "customize-link-button-label",
|
|
615
619
|
"reflect": false,
|
|
616
|
-
"defaultValue": "\"
|
|
620
|
+
"defaultValue": "\"Customize Link\""
|
|
617
621
|
},
|
|
618
|
-
"
|
|
622
|
+
"editLimitReachedText": {
|
|
619
623
|
"type": "string",
|
|
620
624
|
"mutable": false,
|
|
621
625
|
"complexType": {
|
|
@@ -627,25 +631,28 @@ export class ShareLink {
|
|
|
627
631
|
"optional": true,
|
|
628
632
|
"docs": {
|
|
629
633
|
"tags": [{
|
|
630
|
-
"text": "
|
|
634
|
+
"text": "Edit limit reached text",
|
|
631
635
|
"name": "uiName"
|
|
632
636
|
}, {
|
|
633
637
|
"text": "string",
|
|
634
638
|
"name": "uiType"
|
|
635
639
|
}, {
|
|
636
|
-
"text": "
|
|
640
|
+
"text": "textarea",
|
|
641
|
+
"name": "uiWidget"
|
|
642
|
+
}, {
|
|
643
|
+
"text": "Customizable Vanity Link",
|
|
637
644
|
"name": "uiGroup"
|
|
638
645
|
}, {
|
|
639
646
|
"text": "impact",
|
|
640
647
|
"name": "requiredFlavor"
|
|
641
648
|
}],
|
|
642
|
-
"text": "
|
|
649
|
+
"text": "Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder."
|
|
643
650
|
},
|
|
644
|
-
"attribute": "
|
|
651
|
+
"attribute": "edit-limit-reached-text",
|
|
645
652
|
"reflect": false,
|
|
646
|
-
"defaultValue": "\"
|
|
653
|
+
"defaultValue": "\"5 edit limit reached. To make more changes, please contact {supportLink}.\""
|
|
647
654
|
},
|
|
648
|
-
"
|
|
655
|
+
"editLimitText": {
|
|
649
656
|
"type": "string",
|
|
650
657
|
"mutable": false,
|
|
651
658
|
"complexType": {
|
|
@@ -657,25 +664,25 @@ export class ShareLink {
|
|
|
657
664
|
"optional": true,
|
|
658
665
|
"docs": {
|
|
659
666
|
"tags": [{
|
|
660
|
-
"text": "
|
|
667
|
+
"text": "Edit limit text",
|
|
661
668
|
"name": "uiName"
|
|
662
669
|
}, {
|
|
663
670
|
"text": "string",
|
|
664
671
|
"name": "uiType"
|
|
665
672
|
}, {
|
|
666
|
-
"text": "
|
|
673
|
+
"text": "Customizable Vanity Link",
|
|
667
674
|
"name": "uiGroup"
|
|
668
675
|
}, {
|
|
669
676
|
"text": "impact",
|
|
670
677
|
"name": "requiredFlavor"
|
|
671
678
|
}],
|
|
672
|
-
"text": "
|
|
679
|
+
"text": "Subtext shown while the user is customizing their URL."
|
|
673
680
|
},
|
|
674
|
-
"attribute": "
|
|
681
|
+
"attribute": "edit-limit-text",
|
|
675
682
|
"reflect": false,
|
|
676
|
-
"defaultValue": "\"
|
|
683
|
+
"defaultValue": "\"You can edit your link up to {editsRemaining} more times.\""
|
|
677
684
|
},
|
|
678
|
-
"
|
|
685
|
+
"invalidCharactersErrorDescription": {
|
|
679
686
|
"type": "string",
|
|
680
687
|
"mutable": false,
|
|
681
688
|
"complexType": {
|
|
@@ -687,25 +694,28 @@ export class ShareLink {
|
|
|
687
694
|
"optional": true,
|
|
688
695
|
"docs": {
|
|
689
696
|
"tags": [{
|
|
690
|
-
"text": "Invalid characters error
|
|
697
|
+
"text": "Invalid characters error description",
|
|
691
698
|
"name": "uiName"
|
|
692
699
|
}, {
|
|
693
700
|
"text": "string",
|
|
694
701
|
"name": "uiType"
|
|
695
702
|
}, {
|
|
696
|
-
"text": "
|
|
703
|
+
"text": "textarea",
|
|
704
|
+
"name": "uiWidget"
|
|
705
|
+
}, {
|
|
706
|
+
"text": "Customizable Vanity Link",
|
|
697
707
|
"name": "uiGroup"
|
|
698
708
|
}, {
|
|
699
709
|
"text": "impact",
|
|
700
710
|
"name": "requiredFlavor"
|
|
701
711
|
}],
|
|
702
|
-
"text": "
|
|
712
|
+
"text": "Description text shown when the link contains invalid special characters."
|
|
703
713
|
},
|
|
704
|
-
"attribute": "invalid-characters-error-
|
|
714
|
+
"attribute": "invalid-characters-error-description",
|
|
705
715
|
"reflect": false,
|
|
706
|
-
"defaultValue": "\"
|
|
716
|
+
"defaultValue": "\"Special characters can break the link when sharing.\""
|
|
707
717
|
},
|
|
708
|
-
"
|
|
718
|
+
"invalidCharactersErrorTitle": {
|
|
709
719
|
"type": "string",
|
|
710
720
|
"mutable": false,
|
|
711
721
|
"complexType": {
|
|
@@ -717,25 +727,25 @@ export class ShareLink {
|
|
|
717
727
|
"optional": true,
|
|
718
728
|
"docs": {
|
|
719
729
|
"tags": [{
|
|
720
|
-
"text": "Invalid characters error
|
|
730
|
+
"text": "Invalid characters error title",
|
|
721
731
|
"name": "uiName"
|
|
722
732
|
}, {
|
|
723
733
|
"text": "string",
|
|
724
734
|
"name": "uiType"
|
|
725
735
|
}, {
|
|
726
|
-
"text": "
|
|
736
|
+
"text": "Customizable Vanity Link",
|
|
727
737
|
"name": "uiGroup"
|
|
728
738
|
}, {
|
|
729
739
|
"text": "impact",
|
|
730
740
|
"name": "requiredFlavor"
|
|
731
741
|
}],
|
|
732
|
-
"text": "
|
|
742
|
+
"text": "Title of the error message shown when the link contains invalid special characters."
|
|
733
743
|
},
|
|
734
|
-
"attribute": "invalid-characters-error-
|
|
744
|
+
"attribute": "invalid-characters-error-title",
|
|
735
745
|
"reflect": false,
|
|
736
|
-
"defaultValue": "\"
|
|
746
|
+
"defaultValue": "\"Please use only letters, numbers, dashes and underscores\""
|
|
737
747
|
},
|
|
738
|
-
"
|
|
748
|
+
"linkTakenErrorDescription": {
|
|
739
749
|
"type": "string",
|
|
740
750
|
"mutable": false,
|
|
741
751
|
"complexType": {
|
|
@@ -747,25 +757,28 @@ export class ShareLink {
|
|
|
747
757
|
"optional": true,
|
|
748
758
|
"docs": {
|
|
749
759
|
"tags": [{
|
|
750
|
-
"text": "
|
|
760
|
+
"text": "Link taken error message",
|
|
751
761
|
"name": "uiName"
|
|
752
762
|
}, {
|
|
753
763
|
"text": "string",
|
|
754
764
|
"name": "uiType"
|
|
755
765
|
}, {
|
|
756
|
-
"text": "
|
|
766
|
+
"text": "textarea",
|
|
767
|
+
"name": "uiWidget"
|
|
768
|
+
}, {
|
|
769
|
+
"text": "Customizable Vanity Link",
|
|
757
770
|
"name": "uiGroup"
|
|
758
771
|
}, {
|
|
759
772
|
"text": "impact",
|
|
760
773
|
"name": "requiredFlavor"
|
|
761
774
|
}],
|
|
762
|
-
"text": "
|
|
775
|
+
"text": "Description text shown when the link has already been taken"
|
|
763
776
|
},
|
|
764
|
-
"attribute": "
|
|
777
|
+
"attribute": "link-taken-error-description",
|
|
765
778
|
"reflect": false,
|
|
766
|
-
"defaultValue": "\"
|
|
779
|
+
"defaultValue": "\"Try adding numbers, a dash or underscore to create a unique link.\""
|
|
767
780
|
},
|
|
768
|
-
"
|
|
781
|
+
"linkTakenErrorTitle": {
|
|
769
782
|
"type": "string",
|
|
770
783
|
"mutable": false,
|
|
771
784
|
"complexType": {
|
|
@@ -777,25 +790,25 @@ export class ShareLink {
|
|
|
777
790
|
"optional": true,
|
|
778
791
|
"docs": {
|
|
779
792
|
"tags": [{
|
|
780
|
-
"text": "
|
|
793
|
+
"text": "Link taken error title",
|
|
781
794
|
"name": "uiName"
|
|
782
795
|
}, {
|
|
783
796
|
"text": "string",
|
|
784
797
|
"name": "uiType"
|
|
785
798
|
}, {
|
|
786
|
-
"text": "
|
|
799
|
+
"text": "Customizable Vanity Link",
|
|
787
800
|
"name": "uiGroup"
|
|
788
801
|
}, {
|
|
789
802
|
"text": "impact",
|
|
790
803
|
"name": "requiredFlavor"
|
|
791
804
|
}],
|
|
792
|
-
"text": "
|
|
805
|
+
"text": "Title of the error message shown when the link has already been taken"
|
|
793
806
|
},
|
|
794
|
-
"attribute": "
|
|
807
|
+
"attribute": "link-taken-error-title",
|
|
795
808
|
"reflect": false,
|
|
796
|
-
"defaultValue": "\"This link
|
|
809
|
+
"defaultValue": "\"This link is already taken\""
|
|
797
810
|
},
|
|
798
|
-
"
|
|
811
|
+
"restrictedWordsErrorDescription": {
|
|
799
812
|
"type": "string",
|
|
800
813
|
"mutable": false,
|
|
801
814
|
"complexType": {
|
|
@@ -807,25 +820,28 @@ export class ShareLink {
|
|
|
807
820
|
"optional": true,
|
|
808
821
|
"docs": {
|
|
809
822
|
"tags": [{
|
|
810
|
-
"text": "
|
|
823
|
+
"text": "Restricted words error description",
|
|
811
824
|
"name": "uiName"
|
|
812
825
|
}, {
|
|
813
826
|
"text": "string",
|
|
814
827
|
"name": "uiType"
|
|
815
828
|
}, {
|
|
816
|
-
"text": "
|
|
829
|
+
"text": "textarea",
|
|
830
|
+
"name": "uiWidget"
|
|
831
|
+
}, {
|
|
832
|
+
"text": "Customizable Vanity Link",
|
|
817
833
|
"name": "uiGroup"
|
|
818
834
|
}, {
|
|
819
835
|
"text": "impact",
|
|
820
836
|
"name": "requiredFlavor"
|
|
821
837
|
}],
|
|
822
|
-
"text": "
|
|
838
|
+
"text": "Description text shown when the link contains profanity or brand names."
|
|
823
839
|
},
|
|
824
|
-
"attribute": "
|
|
840
|
+
"attribute": "restricted-words-error-description",
|
|
825
841
|
"reflect": false,
|
|
826
|
-
"defaultValue": "\"
|
|
842
|
+
"defaultValue": "\"This link contains a restricted word.\""
|
|
827
843
|
},
|
|
828
|
-
"
|
|
844
|
+
"restrictedWordsErrorTitle": {
|
|
829
845
|
"type": "string",
|
|
830
846
|
"mutable": false,
|
|
831
847
|
"complexType": {
|
|
@@ -837,25 +853,25 @@ export class ShareLink {
|
|
|
837
853
|
"optional": true,
|
|
838
854
|
"docs": {
|
|
839
855
|
"tags": [{
|
|
840
|
-
"text": "
|
|
856
|
+
"text": "Restricted words error title",
|
|
841
857
|
"name": "uiName"
|
|
842
858
|
}, {
|
|
843
859
|
"text": "string",
|
|
844
860
|
"name": "uiType"
|
|
845
861
|
}, {
|
|
846
|
-
"text": "
|
|
862
|
+
"text": "Customizable Vanity Link",
|
|
847
863
|
"name": "uiGroup"
|
|
848
864
|
}, {
|
|
849
865
|
"text": "impact",
|
|
850
866
|
"name": "requiredFlavor"
|
|
851
867
|
}],
|
|
852
|
-
"text": "
|
|
868
|
+
"text": "Title of the error message shown when the link contains profanity or brand names."
|
|
853
869
|
},
|
|
854
|
-
"attribute": "
|
|
870
|
+
"attribute": "restricted-words-error-title",
|
|
855
871
|
"reflect": false,
|
|
856
|
-
"defaultValue": "\"
|
|
872
|
+
"defaultValue": "\"Please try a different link\""
|
|
857
873
|
},
|
|
858
|
-
"
|
|
874
|
+
"saveLabelText": {
|
|
859
875
|
"type": "string",
|
|
860
876
|
"mutable": false,
|
|
861
877
|
"complexType": {
|
|
@@ -867,25 +883,25 @@ export class ShareLink {
|
|
|
867
883
|
"optional": true,
|
|
868
884
|
"docs": {
|
|
869
885
|
"tags": [{
|
|
870
|
-
"text": "
|
|
886
|
+
"text": "Save button label",
|
|
871
887
|
"name": "uiName"
|
|
872
888
|
}, {
|
|
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",
|
|
880
896
|
"name": "requiredFlavor"
|
|
881
897
|
}],
|
|
882
|
-
"text": "
|
|
898
|
+
"text": "Text for the save button in editing mode"
|
|
883
899
|
},
|
|
884
|
-
"attribute": "
|
|
900
|
+
"attribute": "save-label-text",
|
|
885
901
|
"reflect": false,
|
|
886
|
-
"defaultValue": "\"
|
|
902
|
+
"defaultValue": "\"Save\""
|
|
887
903
|
},
|
|
888
|
-
"
|
|
904
|
+
"supportLinkText": {
|
|
889
905
|
"type": "string",
|
|
890
906
|
"mutable": false,
|
|
891
907
|
"complexType": {
|
|
@@ -897,23 +913,23 @@ export class ShareLink {
|
|
|
897
913
|
"optional": true,
|
|
898
914
|
"docs": {
|
|
899
915
|
"tags": [{
|
|
900
|
-
"text": "
|
|
916
|
+
"text": "Support link text",
|
|
901
917
|
"name": "uiName"
|
|
902
918
|
}, {
|
|
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",
|
|
910
926
|
"name": "requiredFlavor"
|
|
911
927
|
}],
|
|
912
|
-
"text": "
|
|
928
|
+
"text": "Display text for the support link in the edit limit reached message"
|
|
913
929
|
},
|
|
914
|
-
"attribute": "
|
|
930
|
+
"attribute": "support-link-text",
|
|
915
931
|
"reflect": false,
|
|
916
|
-
"defaultValue": "\"
|
|
932
|
+
"defaultValue": "\"Support\""
|
|
917
933
|
},
|
|
918
934
|
"demoData": {
|
|
919
935
|
"type": "unknown",
|
|
@@ -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,
|