@saasquatch/mint-components 2.1.8-25 → 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-247ccfa4.js → ShadowViewAddon-1bc48666.js} +6 -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 +38 -38
- 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 +114 -114
- package/dist/esm/{ShadowViewAddon-e7e73e36.js → ShadowViewAddon-10db3e11.js} +6 -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 +38 -38
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-e7e73e36.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-0a02a7a5.system.js → p-0b5dd21b.system.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-f62812ff.system.entry.js → p-4df9c93e.system.entry.js} +1 -1
- package/dist/mint-components/{p-4aede05c.system.entry.js → p-6d10c03c.system.entry.js} +1 -1
- package/dist/mint-components/{p-3be90659.js → p-72055e41.js} +1 -1
- package/dist/mint-components/{p-365363b5.entry.js → p-840157bd.entry.js} +2 -2
- package/dist/mint-components/{p-c7f4a587.entry.js → p-a4f44c57.entry.js} +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +37 -37
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -68,51 +68,61 @@ export class ShareLink {
|
|
|
68
68
|
*/
|
|
69
69
|
this.allowCustomization = false;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Text for the cancel button in editing mode
|
|
72
72
|
*
|
|
73
|
-
* @uiName
|
|
73
|
+
* @uiName Cancel button label
|
|
74
74
|
* @uiType string
|
|
75
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
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
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
|
+
* @uiWidget textarea
|
|
102
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
|
|
111
|
+
* @uiType string
|
|
112
|
+
* @uiGroup Customizable Vanity Link
|
|
113
|
+
* @requiredFlavor impact
|
|
114
|
+
*/
|
|
115
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
|
|
116
|
+
/**
|
|
117
|
+
* Description text shown when the link contains invalid special characters.
|
|
118
|
+
*
|
|
119
|
+
* @uiName Invalid characters error description
|
|
110
120
|
* @uiType string
|
|
111
121
|
* @uiWidget textarea
|
|
112
122
|
* @uiGroup Customizable Vanity Link
|
|
113
123
|
* @requiredFlavor impact
|
|
114
124
|
*/
|
|
115
|
-
this.
|
|
125
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
116
126
|
/**
|
|
117
127
|
* Title of the error message shown when the link contains invalid special characters.
|
|
118
128
|
*
|
|
@@ -123,24 +133,24 @@ export class ShareLink {
|
|
|
123
133
|
*/
|
|
124
134
|
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
125
135
|
/**
|
|
126
|
-
* Description text shown when the link
|
|
136
|
+
* Description text shown when the link has already been taken
|
|
127
137
|
*
|
|
128
|
-
* @uiName
|
|
138
|
+
* @uiName Link taken error message
|
|
129
139
|
* @uiType string
|
|
130
140
|
* @uiWidget textarea
|
|
131
141
|
* @uiGroup Customizable Vanity Link
|
|
132
142
|
* @requiredFlavor impact
|
|
133
143
|
*/
|
|
134
|
-
this.
|
|
144
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
135
145
|
/**
|
|
136
|
-
* Title of the error message shown when the link
|
|
146
|
+
* Title of the error message shown when the link has already been taken
|
|
137
147
|
*
|
|
138
|
-
* @uiName
|
|
148
|
+
* @uiName Link taken error title
|
|
139
149
|
* @uiType string
|
|
140
150
|
* @uiGroup Customizable Vanity Link
|
|
141
151
|
* @requiredFlavor impact
|
|
142
152
|
*/
|
|
143
|
-
this.
|
|
153
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
144
154
|
/**
|
|
145
155
|
* Description text shown when the link contains profanity or brand names.
|
|
146
156
|
*
|
|
@@ -152,24 +162,23 @@ export class ShareLink {
|
|
|
152
162
|
*/
|
|
153
163
|
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
154
164
|
/**
|
|
155
|
-
*
|
|
165
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
156
166
|
*
|
|
157
|
-
* @uiName
|
|
167
|
+
* @uiName Restricted words error title
|
|
158
168
|
* @uiType string
|
|
159
169
|
* @uiGroup Customizable Vanity Link
|
|
160
170
|
* @requiredFlavor impact
|
|
161
171
|
*/
|
|
162
|
-
this.
|
|
172
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
163
173
|
/**
|
|
164
|
-
*
|
|
174
|
+
* Text for the save button in editing mode
|
|
165
175
|
*
|
|
166
|
-
* @uiName
|
|
176
|
+
* @uiName Save button label
|
|
167
177
|
* @uiType string
|
|
168
|
-
* @uiWidget textarea
|
|
169
178
|
* @uiGroup Customizable Vanity Link
|
|
170
179
|
* @requiredFlavor impact
|
|
171
180
|
*/
|
|
172
|
-
this.
|
|
181
|
+
this.saveLabelText = "Save";
|
|
173
182
|
/**
|
|
174
183
|
* Display text for the support link in the edit limit reached message
|
|
175
184
|
*
|
|
@@ -179,15 +188,6 @@ export class ShareLink {
|
|
|
179
188
|
* @requiredFlavor impact
|
|
180
189
|
*/
|
|
181
190
|
this.supportLinkText = "Support";
|
|
182
|
-
/**
|
|
183
|
-
* Tooltip text shown when link customization is disabled
|
|
184
|
-
*
|
|
185
|
-
* @uiName Customize disabled tooltip
|
|
186
|
-
* @uiType string
|
|
187
|
-
* @uiGroup Customizable Vanity Link
|
|
188
|
-
* @requiredFlavor impact
|
|
189
|
-
*/
|
|
190
|
-
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
191
191
|
withHooks(this);
|
|
192
192
|
}
|
|
193
193
|
disconnectedCallback() { }
|
|
@@ -529,7 +529,7 @@ export class ShareLink {
|
|
|
529
529
|
"reflect": false,
|
|
530
530
|
"defaultValue": "false"
|
|
531
531
|
},
|
|
532
|
-
"
|
|
532
|
+
"cancelLabelText": {
|
|
533
533
|
"type": "string",
|
|
534
534
|
"mutable": false,
|
|
535
535
|
"complexType": {
|
|
@@ -541,7 +541,7 @@ export class ShareLink {
|
|
|
541
541
|
"optional": true,
|
|
542
542
|
"docs": {
|
|
543
543
|
"tags": [{
|
|
544
|
-
"text": "
|
|
544
|
+
"text": "Cancel button label",
|
|
545
545
|
"name": "uiName"
|
|
546
546
|
}, {
|
|
547
547
|
"text": "string",
|
|
@@ -553,13 +553,13 @@ export class ShareLink {
|
|
|
553
553
|
"text": "impact",
|
|
554
554
|
"name": "requiredFlavor"
|
|
555
555
|
}],
|
|
556
|
-
"text": "
|
|
556
|
+
"text": "Text for the cancel button in editing mode"
|
|
557
557
|
},
|
|
558
|
-
"attribute": "
|
|
558
|
+
"attribute": "cancel-label-text",
|
|
559
559
|
"reflect": false,
|
|
560
|
-
"defaultValue": "\"
|
|
560
|
+
"defaultValue": "\"Cancel\""
|
|
561
561
|
},
|
|
562
|
-
"
|
|
562
|
+
"customizeDisabledTooltip": {
|
|
563
563
|
"type": "string",
|
|
564
564
|
"mutable": false,
|
|
565
565
|
"complexType": {
|
|
@@ -571,7 +571,7 @@ export class ShareLink {
|
|
|
571
571
|
"optional": true,
|
|
572
572
|
"docs": {
|
|
573
573
|
"tags": [{
|
|
574
|
-
"text": "
|
|
574
|
+
"text": "Customize disabled tooltip",
|
|
575
575
|
"name": "uiName"
|
|
576
576
|
}, {
|
|
577
577
|
"text": "string",
|
|
@@ -583,13 +583,13 @@ export class ShareLink {
|
|
|
583
583
|
"text": "impact",
|
|
584
584
|
"name": "requiredFlavor"
|
|
585
585
|
}],
|
|
586
|
-
"text": "
|
|
586
|
+
"text": "Tooltip text shown when link customization is disabled"
|
|
587
587
|
},
|
|
588
|
-
"attribute": "
|
|
588
|
+
"attribute": "customize-disabled-tooltip",
|
|
589
589
|
"reflect": false,
|
|
590
|
-
"defaultValue": "\"
|
|
590
|
+
"defaultValue": "\"Link customization is not available.\""
|
|
591
591
|
},
|
|
592
|
-
"
|
|
592
|
+
"customizeLinkButtonLabel": {
|
|
593
593
|
"type": "string",
|
|
594
594
|
"mutable": false,
|
|
595
595
|
"complexType": {
|
|
@@ -601,7 +601,7 @@ export class ShareLink {
|
|
|
601
601
|
"optional": true,
|
|
602
602
|
"docs": {
|
|
603
603
|
"tags": [{
|
|
604
|
-
"text": "
|
|
604
|
+
"text": "Customize link button label",
|
|
605
605
|
"name": "uiName"
|
|
606
606
|
}, {
|
|
607
607
|
"text": "string",
|
|
@@ -613,13 +613,13 @@ export class ShareLink {
|
|
|
613
613
|
"text": "impact",
|
|
614
614
|
"name": "requiredFlavor"
|
|
615
615
|
}],
|
|
616
|
-
"text": "
|
|
616
|
+
"text": "Displayed below the share link."
|
|
617
617
|
},
|
|
618
|
-
"attribute": "
|
|
618
|
+
"attribute": "customize-link-button-label",
|
|
619
619
|
"reflect": false,
|
|
620
|
-
"defaultValue": "\"
|
|
620
|
+
"defaultValue": "\"Customize Link\""
|
|
621
621
|
},
|
|
622
|
-
"
|
|
622
|
+
"editLimitReachedText": {
|
|
623
623
|
"type": "string",
|
|
624
624
|
"mutable": false,
|
|
625
625
|
"complexType": {
|
|
@@ -631,11 +631,14 @@ export class ShareLink {
|
|
|
631
631
|
"optional": true,
|
|
632
632
|
"docs": {
|
|
633
633
|
"tags": [{
|
|
634
|
-
"text": "
|
|
634
|
+
"text": "Edit limit reached text",
|
|
635
635
|
"name": "uiName"
|
|
636
636
|
}, {
|
|
637
637
|
"text": "string",
|
|
638
638
|
"name": "uiType"
|
|
639
|
+
}, {
|
|
640
|
+
"text": "textarea",
|
|
641
|
+
"name": "uiWidget"
|
|
639
642
|
}, {
|
|
640
643
|
"text": "Customizable Vanity Link",
|
|
641
644
|
"name": "uiGroup"
|
|
@@ -643,13 +646,13 @@ export class ShareLink {
|
|
|
643
646
|
"text": "impact",
|
|
644
647
|
"name": "requiredFlavor"
|
|
645
648
|
}],
|
|
646
|
-
"text": "
|
|
649
|
+
"text": "Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder."
|
|
647
650
|
},
|
|
648
|
-
"attribute": "
|
|
651
|
+
"attribute": "edit-limit-reached-text",
|
|
649
652
|
"reflect": false,
|
|
650
|
-
"defaultValue": "\"
|
|
653
|
+
"defaultValue": "\"5 edit limit reached. To make more changes, please contact {supportLink}.\""
|
|
651
654
|
},
|
|
652
|
-
"
|
|
655
|
+
"editLimitText": {
|
|
653
656
|
"type": "string",
|
|
654
657
|
"mutable": false,
|
|
655
658
|
"complexType": {
|
|
@@ -661,14 +664,11 @@ export class ShareLink {
|
|
|
661
664
|
"optional": true,
|
|
662
665
|
"docs": {
|
|
663
666
|
"tags": [{
|
|
664
|
-
"text": "
|
|
667
|
+
"text": "Edit limit text",
|
|
665
668
|
"name": "uiName"
|
|
666
669
|
}, {
|
|
667
670
|
"text": "string",
|
|
668
671
|
"name": "uiType"
|
|
669
|
-
}, {
|
|
670
|
-
"text": "textarea",
|
|
671
|
-
"name": "uiWidget"
|
|
672
672
|
}, {
|
|
673
673
|
"text": "Customizable Vanity Link",
|
|
674
674
|
"name": "uiGroup"
|
|
@@ -676,13 +676,13 @@ export class ShareLink {
|
|
|
676
676
|
"text": "impact",
|
|
677
677
|
"name": "requiredFlavor"
|
|
678
678
|
}],
|
|
679
|
-
"text": "
|
|
679
|
+
"text": "Subtext shown while the user is customizing their URL."
|
|
680
680
|
},
|
|
681
|
-
"attribute": "
|
|
681
|
+
"attribute": "edit-limit-text",
|
|
682
682
|
"reflect": false,
|
|
683
|
-
"defaultValue": "\"
|
|
683
|
+
"defaultValue": "\"You can edit your link up to {editsRemaining} more times.\""
|
|
684
684
|
},
|
|
685
|
-
"
|
|
685
|
+
"invalidCharactersErrorDescription": {
|
|
686
686
|
"type": "string",
|
|
687
687
|
"mutable": false,
|
|
688
688
|
"complexType": {
|
|
@@ -694,11 +694,14 @@ export class ShareLink {
|
|
|
694
694
|
"optional": true,
|
|
695
695
|
"docs": {
|
|
696
696
|
"tags": [{
|
|
697
|
-
"text": "Invalid characters error
|
|
697
|
+
"text": "Invalid characters error description",
|
|
698
698
|
"name": "uiName"
|
|
699
699
|
}, {
|
|
700
700
|
"text": "string",
|
|
701
701
|
"name": "uiType"
|
|
702
|
+
}, {
|
|
703
|
+
"text": "textarea",
|
|
704
|
+
"name": "uiWidget"
|
|
702
705
|
}, {
|
|
703
706
|
"text": "Customizable Vanity Link",
|
|
704
707
|
"name": "uiGroup"
|
|
@@ -706,13 +709,13 @@ export class ShareLink {
|
|
|
706
709
|
"text": "impact",
|
|
707
710
|
"name": "requiredFlavor"
|
|
708
711
|
}],
|
|
709
|
-
"text": "
|
|
712
|
+
"text": "Description text shown when the link contains invalid special characters."
|
|
710
713
|
},
|
|
711
|
-
"attribute": "invalid-characters-error-
|
|
714
|
+
"attribute": "invalid-characters-error-description",
|
|
712
715
|
"reflect": false,
|
|
713
|
-
"defaultValue": "\"
|
|
716
|
+
"defaultValue": "\"Special characters can break the link when sharing.\""
|
|
714
717
|
},
|
|
715
|
-
"
|
|
718
|
+
"invalidCharactersErrorTitle": {
|
|
716
719
|
"type": "string",
|
|
717
720
|
"mutable": false,
|
|
718
721
|
"complexType": {
|
|
@@ -724,14 +727,11 @@ export class ShareLink {
|
|
|
724
727
|
"optional": true,
|
|
725
728
|
"docs": {
|
|
726
729
|
"tags": [{
|
|
727
|
-
"text": "Invalid characters error
|
|
730
|
+
"text": "Invalid characters error title",
|
|
728
731
|
"name": "uiName"
|
|
729
732
|
}, {
|
|
730
733
|
"text": "string",
|
|
731
734
|
"name": "uiType"
|
|
732
|
-
}, {
|
|
733
|
-
"text": "textarea",
|
|
734
|
-
"name": "uiWidget"
|
|
735
735
|
}, {
|
|
736
736
|
"text": "Customizable Vanity Link",
|
|
737
737
|
"name": "uiGroup"
|
|
@@ -739,13 +739,13 @@ export class ShareLink {
|
|
|
739
739
|
"text": "impact",
|
|
740
740
|
"name": "requiredFlavor"
|
|
741
741
|
}],
|
|
742
|
-
"text": "
|
|
742
|
+
"text": "Title of the error message shown when the link contains invalid special characters."
|
|
743
743
|
},
|
|
744
|
-
"attribute": "invalid-characters-error-
|
|
744
|
+
"attribute": "invalid-characters-error-title",
|
|
745
745
|
"reflect": false,
|
|
746
|
-
"defaultValue": "\"
|
|
746
|
+
"defaultValue": "\"Please use only letters, numbers, dashes and underscores\""
|
|
747
747
|
},
|
|
748
|
-
"
|
|
748
|
+
"linkTakenErrorDescription": {
|
|
749
749
|
"type": "string",
|
|
750
750
|
"mutable": false,
|
|
751
751
|
"complexType": {
|
|
@@ -757,11 +757,14 @@ export class ShareLink {
|
|
|
757
757
|
"optional": true,
|
|
758
758
|
"docs": {
|
|
759
759
|
"tags": [{
|
|
760
|
-
"text": "
|
|
760
|
+
"text": "Link taken error message",
|
|
761
761
|
"name": "uiName"
|
|
762
762
|
}, {
|
|
763
763
|
"text": "string",
|
|
764
764
|
"name": "uiType"
|
|
765
|
+
}, {
|
|
766
|
+
"text": "textarea",
|
|
767
|
+
"name": "uiWidget"
|
|
765
768
|
}, {
|
|
766
769
|
"text": "Customizable Vanity Link",
|
|
767
770
|
"name": "uiGroup"
|
|
@@ -769,13 +772,13 @@ export class ShareLink {
|
|
|
769
772
|
"text": "impact",
|
|
770
773
|
"name": "requiredFlavor"
|
|
771
774
|
}],
|
|
772
|
-
"text": "
|
|
775
|
+
"text": "Description text shown when the link has already been taken"
|
|
773
776
|
},
|
|
774
|
-
"attribute": "
|
|
777
|
+
"attribute": "link-taken-error-description",
|
|
775
778
|
"reflect": false,
|
|
776
|
-
"defaultValue": "\"
|
|
779
|
+
"defaultValue": "\"Try adding numbers, a dash or underscore to create a unique link.\""
|
|
777
780
|
},
|
|
778
|
-
"
|
|
781
|
+
"linkTakenErrorTitle": {
|
|
779
782
|
"type": "string",
|
|
780
783
|
"mutable": false,
|
|
781
784
|
"complexType": {
|
|
@@ -787,14 +790,11 @@ export class ShareLink {
|
|
|
787
790
|
"optional": true,
|
|
788
791
|
"docs": {
|
|
789
792
|
"tags": [{
|
|
790
|
-
"text": "
|
|
793
|
+
"text": "Link taken error title",
|
|
791
794
|
"name": "uiName"
|
|
792
795
|
}, {
|
|
793
796
|
"text": "string",
|
|
794
797
|
"name": "uiType"
|
|
795
|
-
}, {
|
|
796
|
-
"text": "textarea",
|
|
797
|
-
"name": "uiWidget"
|
|
798
798
|
}, {
|
|
799
799
|
"text": "Customizable Vanity Link",
|
|
800
800
|
"name": "uiGroup"
|
|
@@ -802,13 +802,13 @@ export class ShareLink {
|
|
|
802
802
|
"text": "impact",
|
|
803
803
|
"name": "requiredFlavor"
|
|
804
804
|
}],
|
|
805
|
-
"text": "
|
|
805
|
+
"text": "Title of the error message shown when the link has already been taken"
|
|
806
806
|
},
|
|
807
|
-
"attribute": "
|
|
807
|
+
"attribute": "link-taken-error-title",
|
|
808
808
|
"reflect": false,
|
|
809
|
-
"defaultValue": "\"This link
|
|
809
|
+
"defaultValue": "\"This link is already taken\""
|
|
810
810
|
},
|
|
811
|
-
"
|
|
811
|
+
"restrictedWordsErrorDescription": {
|
|
812
812
|
"type": "string",
|
|
813
813
|
"mutable": false,
|
|
814
814
|
"complexType": {
|
|
@@ -820,11 +820,14 @@ export class ShareLink {
|
|
|
820
820
|
"optional": true,
|
|
821
821
|
"docs": {
|
|
822
822
|
"tags": [{
|
|
823
|
-
"text": "
|
|
823
|
+
"text": "Restricted words error description",
|
|
824
824
|
"name": "uiName"
|
|
825
825
|
}, {
|
|
826
826
|
"text": "string",
|
|
827
827
|
"name": "uiType"
|
|
828
|
+
}, {
|
|
829
|
+
"text": "textarea",
|
|
830
|
+
"name": "uiWidget"
|
|
828
831
|
}, {
|
|
829
832
|
"text": "Customizable Vanity Link",
|
|
830
833
|
"name": "uiGroup"
|
|
@@ -832,13 +835,13 @@ export class ShareLink {
|
|
|
832
835
|
"text": "impact",
|
|
833
836
|
"name": "requiredFlavor"
|
|
834
837
|
}],
|
|
835
|
-
"text": "
|
|
838
|
+
"text": "Description text shown when the link contains profanity or brand names."
|
|
836
839
|
},
|
|
837
|
-
"attribute": "
|
|
840
|
+
"attribute": "restricted-words-error-description",
|
|
838
841
|
"reflect": false,
|
|
839
|
-
"defaultValue": "\"
|
|
842
|
+
"defaultValue": "\"This link contains a restricted word.\""
|
|
840
843
|
},
|
|
841
|
-
"
|
|
844
|
+
"restrictedWordsErrorTitle": {
|
|
842
845
|
"type": "string",
|
|
843
846
|
"mutable": false,
|
|
844
847
|
"complexType": {
|
|
@@ -850,14 +853,11 @@ export class ShareLink {
|
|
|
850
853
|
"optional": true,
|
|
851
854
|
"docs": {
|
|
852
855
|
"tags": [{
|
|
853
|
-
"text": "
|
|
856
|
+
"text": "Restricted words error title",
|
|
854
857
|
"name": "uiName"
|
|
855
858
|
}, {
|
|
856
859
|
"text": "string",
|
|
857
860
|
"name": "uiType"
|
|
858
|
-
}, {
|
|
859
|
-
"text": "textarea",
|
|
860
|
-
"name": "uiWidget"
|
|
861
861
|
}, {
|
|
862
862
|
"text": "Customizable Vanity Link",
|
|
863
863
|
"name": "uiGroup"
|
|
@@ -865,13 +865,13 @@ export class ShareLink {
|
|
|
865
865
|
"text": "impact",
|
|
866
866
|
"name": "requiredFlavor"
|
|
867
867
|
}],
|
|
868
|
-
"text": "
|
|
868
|
+
"text": "Title of the error message shown when the link contains profanity or brand names."
|
|
869
869
|
},
|
|
870
|
-
"attribute": "
|
|
870
|
+
"attribute": "restricted-words-error-title",
|
|
871
871
|
"reflect": false,
|
|
872
|
-
"defaultValue": "\"
|
|
872
|
+
"defaultValue": "\"Please try a different link\""
|
|
873
873
|
},
|
|
874
|
-
"
|
|
874
|
+
"saveLabelText": {
|
|
875
875
|
"type": "string",
|
|
876
876
|
"mutable": false,
|
|
877
877
|
"complexType": {
|
|
@@ -883,7 +883,7 @@ export class ShareLink {
|
|
|
883
883
|
"optional": true,
|
|
884
884
|
"docs": {
|
|
885
885
|
"tags": [{
|
|
886
|
-
"text": "
|
|
886
|
+
"text": "Save button label",
|
|
887
887
|
"name": "uiName"
|
|
888
888
|
}, {
|
|
889
889
|
"text": "string",
|
|
@@ -895,13 +895,13 @@ export class ShareLink {
|
|
|
895
895
|
"text": "impact",
|
|
896
896
|
"name": "requiredFlavor"
|
|
897
897
|
}],
|
|
898
|
-
"text": "
|
|
898
|
+
"text": "Text for the save button in editing mode"
|
|
899
899
|
},
|
|
900
|
-
"attribute": "
|
|
900
|
+
"attribute": "save-label-text",
|
|
901
901
|
"reflect": false,
|
|
902
|
-
"defaultValue": "\"
|
|
902
|
+
"defaultValue": "\"Save\""
|
|
903
903
|
},
|
|
904
|
-
"
|
|
904
|
+
"supportLinkText": {
|
|
905
905
|
"type": "string",
|
|
906
906
|
"mutable": false,
|
|
907
907
|
"complexType": {
|
|
@@ -913,7 +913,7 @@ export class ShareLink {
|
|
|
913
913
|
"optional": true,
|
|
914
914
|
"docs": {
|
|
915
915
|
"tags": [{
|
|
916
|
-
"text": "
|
|
916
|
+
"text": "Support link text",
|
|
917
917
|
"name": "uiName"
|
|
918
918
|
}, {
|
|
919
919
|
"text": "string",
|
|
@@ -925,11 +925,11 @@ export class ShareLink {
|
|
|
925
925
|
"text": "impact",
|
|
926
926
|
"name": "requiredFlavor"
|
|
927
927
|
}],
|
|
928
|
-
"text": "
|
|
928
|
+
"text": "Display text for the support link in the edit limit reached message"
|
|
929
929
|
},
|
|
930
|
-
"attribute": "
|
|
930
|
+
"attribute": "support-link-text",
|
|
931
931
|
"reflect": false,
|
|
932
|
-
"defaultValue": "\"
|
|
932
|
+
"defaultValue": "\"Support\""
|
|
933
933
|
},
|
|
934
934
|
"demoData": {
|
|
935
935
|
"type": "unknown",
|
|
@@ -4249,7 +4249,6 @@ function ShareLinkView(props) {
|
|
|
4249
4249
|
cursor: "pointer",
|
|
4250
4250
|
color: "var(--sl-color-neutral-900)",
|
|
4251
4251
|
textAlign: "left",
|
|
4252
|
-
padding: "var(--sl-spacing-small)",
|
|
4253
4252
|
"&:hover": {
|
|
4254
4253
|
textDecoration: "underline",
|
|
4255
4254
|
},
|
|
@@ -4261,7 +4260,6 @@ function ShareLinkView(props) {
|
|
|
4261
4260
|
color: "var(--sl-color-neutral-400)",
|
|
4262
4261
|
cursor: "default",
|
|
4263
4262
|
textAlign: "left",
|
|
4264
|
-
padding: "var(--sl-spacing-small)",
|
|
4265
4263
|
},
|
|
4266
4264
|
EditContainer: {
|
|
4267
4265
|
display: "flex",
|
|
@@ -4344,9 +4342,11 @@ function ShareLinkView(props) {
|
|
|
4344
4342
|
cursor: "pointer",
|
|
4345
4343
|
background: "none",
|
|
4346
4344
|
border: "none",
|
|
4347
|
-
padding: "0",
|
|
4348
4345
|
fontFamily: "var(--sl-font-sans)",
|
|
4349
4346
|
color: "var(--sl-color-neutral-500)",
|
|
4347
|
+
"&::part(label)": {
|
|
4348
|
+
padding: "0",
|
|
4349
|
+
},
|
|
4350
4350
|
},
|
|
4351
4351
|
LimitReachedContainer: {
|
|
4352
4352
|
display: "flex",
|
|
@@ -4390,7 +4390,7 @@ function ShareLinkView(props) {
|
|
|
4390
4390
|
!!validationError ||
|
|
4391
4391
|
!editValue ||
|
|
4392
4392
|
editValue.length < minCharacters }, isSaving ? "Saving..." : saveLabelText),
|
|
4393
|
-
h("button", { class: sheet.classes.CancelButton, onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
4393
|
+
h("sl-button", { type: "text", class: sheet.classes.CancelButton, onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
4394
4394
|
}
|
|
4395
4395
|
// Default / Customized / Limit reached states
|
|
4396
4396
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -4408,7 +4408,8 @@ function ShareLinkView(props) {
|
|
|
4408
4408
|
id: "editLimitReached",
|
|
4409
4409
|
defaultMessage: editLimitReachedText,
|
|
4410
4410
|
}, {
|
|
4411
|
-
supportLink: (h("a", { target: "_blank", href: "https://help.impact.com/other/readme/get-help-and-support" },
|
|
4411
|
+
supportLink: (h("a", { target: "_blank", href: "https://help.impact.com/other/readme/get-help-and-support" },
|
|
4412
|
+
h("p", null, supportLinkText))),
|
|
4412
4413
|
}))))))));
|
|
4413
4414
|
}
|
|
4414
4415
|
|