@atlaskit/editor-core 187.40.1 → 187.40.2
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/CHANGELOG.md +6 -0
- package/dist/cjs/i18n/cs.js +6 -9
- package/dist/cjs/i18n/da.js +6 -9
- package/dist/cjs/i18n/de.js +6 -9
- package/dist/cjs/i18n/en.js +6 -9
- package/dist/cjs/i18n/en_GB.js +6 -9
- package/dist/cjs/i18n/en_ZZ.js +6 -9
- package/dist/cjs/i18n/es.js +6 -9
- package/dist/cjs/i18n/fi.js +6 -9
- package/dist/cjs/i18n/fr.js +6 -9
- package/dist/cjs/i18n/hu.js +6 -9
- package/dist/cjs/i18n/it.js +6 -9
- package/dist/cjs/i18n/ja.js +6 -9
- package/dist/cjs/i18n/ko.js +6 -9
- package/dist/cjs/i18n/nb.js +6 -9
- package/dist/cjs/i18n/nl.js +6 -9
- package/dist/cjs/i18n/pl.js +6 -9
- package/dist/cjs/i18n/pt_BR.js +6 -9
- package/dist/cjs/i18n/ru.js +6 -9
- package/dist/cjs/i18n/sv.js +6 -9
- package/dist/cjs/i18n/th.js +6 -9
- package/dist/cjs/i18n/tr.js +6 -9
- package/dist/cjs/i18n/uk.js +6 -9
- package/dist/cjs/i18n/vi.js +6 -9
- package/dist/cjs/i18n/zh.js +6 -9
- package/dist/cjs/i18n/zh_TW.js +6 -9
- package/dist/cjs/plugins/find-replace/ui/Find.js +88 -42
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/i18n/cs.js +6 -9
- package/dist/es2019/i18n/da.js +6 -9
- package/dist/es2019/i18n/de.js +6 -9
- package/dist/es2019/i18n/en.js +6 -9
- package/dist/es2019/i18n/en_GB.js +6 -9
- package/dist/es2019/i18n/en_ZZ.js +6 -9
- package/dist/es2019/i18n/es.js +6 -9
- package/dist/es2019/i18n/fi.js +6 -9
- package/dist/es2019/i18n/fr.js +6 -9
- package/dist/es2019/i18n/hu.js +6 -9
- package/dist/es2019/i18n/it.js +6 -9
- package/dist/es2019/i18n/ja.js +6 -9
- package/dist/es2019/i18n/ko.js +6 -9
- package/dist/es2019/i18n/nb.js +6 -9
- package/dist/es2019/i18n/nl.js +6 -9
- package/dist/es2019/i18n/pl.js +6 -9
- package/dist/es2019/i18n/pt_BR.js +6 -9
- package/dist/es2019/i18n/ru.js +6 -9
- package/dist/es2019/i18n/sv.js +6 -9
- package/dist/es2019/i18n/th.js +6 -9
- package/dist/es2019/i18n/tr.js +6 -9
- package/dist/es2019/i18n/uk.js +6 -9
- package/dist/es2019/i18n/vi.js +6 -9
- package/dist/es2019/i18n/zh.js +6 -9
- package/dist/es2019/i18n/zh_TW.js +6 -9
- package/dist/es2019/plugins/find-replace/ui/Find.js +69 -22
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/i18n/cs.js +6 -9
- package/dist/esm/i18n/da.js +6 -9
- package/dist/esm/i18n/de.js +6 -9
- package/dist/esm/i18n/en.js +6 -9
- package/dist/esm/i18n/en_GB.js +6 -9
- package/dist/esm/i18n/en_ZZ.js +6 -9
- package/dist/esm/i18n/es.js +6 -9
- package/dist/esm/i18n/fi.js +6 -9
- package/dist/esm/i18n/fr.js +6 -9
- package/dist/esm/i18n/hu.js +6 -9
- package/dist/esm/i18n/it.js +6 -9
- package/dist/esm/i18n/ja.js +6 -9
- package/dist/esm/i18n/ko.js +6 -9
- package/dist/esm/i18n/nb.js +6 -9
- package/dist/esm/i18n/nl.js +6 -9
- package/dist/esm/i18n/pl.js +6 -9
- package/dist/esm/i18n/pt_BR.js +6 -9
- package/dist/esm/i18n/ru.js +6 -9
- package/dist/esm/i18n/sv.js +6 -9
- package/dist/esm/i18n/th.js +6 -9
- package/dist/esm/i18n/tr.js +6 -9
- package/dist/esm/i18n/uk.js +6 -9
- package/dist/esm/i18n/vi.js +6 -9
- package/dist/esm/i18n/zh.js +6 -9
- package/dist/esm/i18n/zh_TW.js +6 -9
- package/dist/esm/plugins/find-replace/ui/Find.js +86 -41
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/i18n/cs.d.ts +3 -6
- package/dist/types/i18n/da.d.ts +3 -6
- package/dist/types/i18n/de.d.ts +3 -6
- package/dist/types/i18n/en.d.ts +3 -6
- package/dist/types/i18n/en_GB.d.ts +3 -6
- package/dist/types/i18n/en_ZZ.d.ts +3 -6
- package/dist/types/i18n/es.d.ts +3 -6
- package/dist/types/i18n/fi.d.ts +3 -6
- package/dist/types/i18n/fr.d.ts +3 -6
- package/dist/types/i18n/hu.d.ts +3 -6
- package/dist/types/i18n/it.d.ts +3 -6
- package/dist/types/i18n/ja.d.ts +3 -6
- package/dist/types/i18n/ko.d.ts +3 -6
- package/dist/types/i18n/nb.d.ts +3 -6
- package/dist/types/i18n/nl.d.ts +3 -6
- package/dist/types/i18n/pl.d.ts +3 -6
- package/dist/types/i18n/pt_BR.d.ts +3 -6
- package/dist/types/i18n/ru.d.ts +3 -6
- package/dist/types/i18n/sv.d.ts +3 -6
- package/dist/types/i18n/th.d.ts +3 -6
- package/dist/types/i18n/tr.d.ts +3 -6
- package/dist/types/i18n/uk.d.ts +3 -6
- package/dist/types/i18n/vi.d.ts +3 -6
- package/dist/types/i18n/zh.d.ts +3 -6
- package/dist/types/i18n/zh_TW.d.ts +3 -6
- package/dist/types/plugins/find-replace/ui/Find.d.ts +3 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +3 -6
- package/dist/types-ts4.5/i18n/da.d.ts +3 -6
- package/dist/types-ts4.5/i18n/de.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en_GB.d.ts +3 -6
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +3 -6
- package/dist/types-ts4.5/i18n/es.d.ts +3 -6
- package/dist/types-ts4.5/i18n/fi.d.ts +3 -6
- package/dist/types-ts4.5/i18n/fr.d.ts +3 -6
- package/dist/types-ts4.5/i18n/hu.d.ts +3 -6
- package/dist/types-ts4.5/i18n/it.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ja.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ko.d.ts +3 -6
- package/dist/types-ts4.5/i18n/nb.d.ts +3 -6
- package/dist/types-ts4.5/i18n/nl.d.ts +3 -6
- package/dist/types-ts4.5/i18n/pl.d.ts +3 -6
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +3 -6
- package/dist/types-ts4.5/i18n/ru.d.ts +3 -6
- package/dist/types-ts4.5/i18n/sv.d.ts +3 -6
- package/dist/types-ts4.5/i18n/th.d.ts +3 -6
- package/dist/types-ts4.5/i18n/tr.d.ts +3 -6
- package/dist/types-ts4.5/i18n/uk.d.ts +3 -6
- package/dist/types-ts4.5/i18n/vi.d.ts +3 -6
- package/dist/types-ts4.5/i18n/zh.d.ts +3 -6
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +3 -6
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +3 -2
- package/package.json +1 -1
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Använd för rubriker på låg nivå',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Öppna hjälpdialogruta',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Tryck på {keyMap} för att när som helst öppna den här dialogrutan',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Full bredd',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Fetstil',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Färg',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Bjud in teammedlem till {productName}} trusted {Bjud in teammedlem till {productName}} other {Lägg till teammedlem i {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Kortkommandon',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Vänster sidopanel',
|
|
126
|
-
'fabric.editor.lists': 'Listor',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Matcha skiftläge',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'höjdingång',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Höjd',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maxbredd {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maxbredd {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Omvandla till pixlar',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Migrera från procent till fast pixelstorlek',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Skicka in',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validering för bredd misslyckades',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Radera',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Anteckning',
|
|
143
145
|
'fabric.editor.notePanel': 'Anteckningspanel',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Lägg till en anteckning i en färgad panel',
|
|
145
|
-
'fabric.editor.orderedList': 'Numrerad lista',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Skapa en sorterad lista',
|
|
147
147
|
'fabric.editor.other': 'Annat ...',
|
|
148
148
|
'fabric.editor.outdent': 'Utdrag',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Bakgrundsfärg',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Användare som du kan tagga',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Användare {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Ångra',
|
|
188
|
-
'fabric.editor.unorderedList': 'Punktlista',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Skapa en osorterad lista',
|
|
190
188
|
'fabric.editor.warning': 'Varning',
|
|
191
189
|
'fabric.editor.warningPanel': 'Varningspanel',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Lägg till en varning i en färgad panel',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Radbyte vänster',
|
|
194
|
-
'fabric.editor.wrapRight': 'Radbyte höger'
|
|
195
|
-
'fabric.emoji.label': 'Emoji'
|
|
192
|
+
'fabric.editor.wrapRight': 'Radbyte höger'
|
|
196
193
|
};
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'ใช้ส่วนนี้สำหรับหัวเรื่องรอง',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'เปิดกรอบโต้ตอบความช่วยเหลือ',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'กด {keyMap} เพื่อเปิดกรอบโต้ตอบนี้ได้ทุกเมื่อ',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'แบบเต็มความกว้าง',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'ตัวหนา',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'สี',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'ปานกลาง',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {เชิญเพื่อนร่วมทีมให้ไปยัง {productName}} trusted {เชิญเพื่อนร่วมทีมให้ไปยัง {productName}} other {เพิ่มเพื่อนร่วมทีมไปยัง {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'ปุ่มลัด',
|
|
125
126
|
'fabric.editor.leftSidebar': 'แถบด้านซ้าย',
|
|
126
|
-
'fabric.editor.lists': 'รายการ',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'รายการที่ตรงกัน',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'ข้อมูลความสูงที่ป้อน',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'ความสูง',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'ความกว้างสูงสุด {maxWidth}px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'ความกว้างสูงสุด {maxWidth}px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'แปลงเป็นพิกเซล',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'เปลี่ยนจากการกำหนดขนาดเป็นเปอร์เซ็นต์เป็นพิกเซลคงที่',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'ส่ง',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'การตรวจสอบความกว้างไม่สำเร็จ',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'ลบ',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'บันทึก',
|
|
143
145
|
'fabric.editor.notePanel': 'แผงข้อความบันทึก',
|
|
144
146
|
'fabric.editor.notePanel.description': 'เพิ่มข้อความบันทึกในแผงสี',
|
|
145
|
-
'fabric.editor.orderedList': 'รายการแบบมีตัวเลข',
|
|
146
|
-
'fabric.editor.orderedList.description': 'สร้างรายการแบบมีเลขลำดับ',
|
|
147
147
|
'fabric.editor.other': 'อื่น ๆ...',
|
|
148
148
|
'fabric.editor.outdent': 'ย่อหน้าออก',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'สีพื้นหลัง',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'ผู้ใช้ที่คุณสามารถแท็กได้',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'ผู้ใช้ {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'เลิกทำ',
|
|
188
|
-
'fabric.editor.unorderedList': 'การแสดงรายการแบบไม่มีเลขลำดับ',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'สร้างรายการแบบไม่มีเลขลำดับ',
|
|
190
188
|
'fabric.editor.warning': 'คำเตือน',
|
|
191
189
|
'fabric.editor.warningPanel': 'แผงคำเตือน',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'เพิ่มข้อความคำเตือนในแผงสี',
|
|
193
191
|
'fabric.editor.wrapLeft': 'จัดข้อความล้อมรูปภาพด้านซ้าย',
|
|
194
|
-
'fabric.editor.wrapRight': 'จัดข้อความล้อมรูปภาพด้านขวา'
|
|
195
|
-
'fabric.emoji.label': 'เอโมจิ'
|
|
192
|
+
'fabric.editor.wrapRight': 'จัดข้อความล้อมรูปภาพด้านขวา'
|
|
196
193
|
};
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'En alt düzey başlıklar için bu seçeneği kullanın',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Yardım iletişim kutusunu aç',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Bu iletişim kutusunu istediğiniz zaman açmak için lütfen {keyMap} düğmesine basın',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Tam genişlik',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Kalın',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Renk',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Orta',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Takım arkadaşınızı {productName} ürününe davet edin} trusted {Takım arkadaşınızı {productName} ürününe davet edin} other {Takım arkadaşınızı {productName} ürününe ekleyin}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Klavye kısayolları',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Sol kenar çubuğu',
|
|
126
|
-
'fabric.editor.lists': 'Listeler',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Büyük/küçük harf eşleştir',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'yükseklik girdisi',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Yükseklik',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'genişlik
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maks. genişlik {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maks. genişlik {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Piksele dönüştür',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Yüzdeden sabit piksel boyutuna taşı',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Gönder',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'genişlik için doğrulama başarısız oldu',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Sil',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Not',
|
|
143
145
|
'fabric.editor.notePanel': 'Not panosu',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Renkli bir panoya not ekleyin',
|
|
145
|
-
'fabric.editor.orderedList': 'Numaralı liste',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Sıralı liste oluşturun',
|
|
147
147
|
'fabric.editor.other': 'Diğerleri...',
|
|
148
148
|
'fabric.editor.outdent': 'Girintiyi azalt',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Arkaplan rengi',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Etiketleyebileceğiniz kullanıcılar',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': '{name} adlı kullanıcı @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Geri al',
|
|
188
|
-
'fabric.editor.unorderedList': 'Madde işaretli liste',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Sırasız liste oluşturun',
|
|
190
188
|
'fabric.editor.warning': 'Uyarı',
|
|
191
189
|
'fabric.editor.warningPanel': 'Uyarı panosu',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Renkli bir panoya uyarı notu ekleyin',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Sola kaydır',
|
|
194
|
-
'fabric.editor.wrapRight': 'Sağa kaydır'
|
|
195
|
-
'fabric.emoji.label': 'Emoji'
|
|
192
|
+
'fabric.editor.wrapRight': 'Sağa kaydır'
|
|
196
193
|
};
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Для заголовків нижнього рівня',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Відкрити довідку',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Натисніть {keyMap}, щоб відкрити це вікно будь-коли',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Повна ширина',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Жирна',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Колір',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Середня',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Запрошення учасника команди до {productName}} trusted {Запрошення учасника команди до {productName}} other {Додавання учасника команди до {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Гарячі клавіші',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Бічна панель ліворуч',
|
|
126
|
-
'fabric.editor.lists': 'Списки',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Враховувати регістр',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'введення значення висоти',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Висота',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Максимальна ширина {maxWidth} пікс.',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Максимальна ширина {maxWidth} пікс.',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Конвертувати в пікселі',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Перейти від відсоткового до фіксованого розміру в пікселях',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Надіслати',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Недопустиме значення ширини',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Видалити',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Примітка',
|
|
143
145
|
'fabric.editor.notePanel': 'Панель приміток',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Додати примітку на панель із кольорами',
|
|
145
|
-
'fabric.editor.orderedList': 'Нумерований список',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Створити упорядкований список',
|
|
147
147
|
'fabric.editor.other': 'Інше...',
|
|
148
148
|
'fabric.editor.outdent': 'Відступ вліво',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Колір фону',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Користувачі, яких можна згадати за допомогою тегу',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Користувач {name} (@{shortName})',
|
|
187
187
|
'fabric.editor.undo': 'Скасувати',
|
|
188
|
-
'fabric.editor.unorderedList': 'Маркований список',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Створити невпорядкований список',
|
|
190
188
|
'fabric.editor.warning': 'Попередження',
|
|
191
189
|
'fabric.editor.warningPanel': 'Панель із попередженнями',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Додати застереження на панель із кольорами',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Зображення ліворуч',
|
|
194
|
-
'fabric.editor.wrapRight': 'Зображення праворуч'
|
|
195
|
-
'fabric.emoji.label': 'Емодзі'
|
|
192
|
+
'fabric.editor.wrapRight': 'Зображення праворуч'
|
|
196
193
|
};
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Sử dụng kiểu chữ này cho những tiêu đề phụ phía dưới',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Mở hộp thoại trợ giúp',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Nhấn {keyMap} để mở nhanh hộp thoại này bất kỳ lúc nào',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Toàn chiều rộng',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'In đậm',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Màu sắc',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Trung bình',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Mời thành viên cùng nhóm vào {productName}} trusted {Mời thành viên cùng nhóm vào {productName}} other {Thêm thành viên cùng nhóm vào {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Phím tắt bàn phím',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Thanh bên trái',
|
|
126
|
-
'fabric.editor.lists': 'Danh sách',
|
|
127
127
|
'fabric.editor.markdown': 'Ngôn ngữ đánh dấu',
|
|
128
128
|
'fabric.editor.matchCase': 'Khớp cách viết hoa',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'nhập chiều cao',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Chiều cao',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Chiều rộng',
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Chiều rộng tối đa {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Chiều rộng tối đa {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Chuyển đổi sang điểm ảnh',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Chuyển từ tỷ lệ phần trăm sang kích thước điểm ảnh cố định',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Gửi',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Không xác thực được chiều rộng',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'xóa',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Lưu ý',
|
|
143
145
|
'fabric.editor.notePanel': 'Ô ghi chú',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Thêm ghi chú bằng ô màu',
|
|
145
|
-
'fabric.editor.orderedList': 'Danh sách được đánh số',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Tạo một danh sách kiểu sắp xếp',
|
|
147
147
|
'fabric.editor.other': 'Khác...',
|
|
148
148
|
'fabric.editor.outdent': 'Nhô lề',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Màu nền',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Người dùng bạn có thể gắn thẻ',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Người dùng {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Hoàn tác',
|
|
188
|
-
'fabric.editor.unorderedList': 'Danh sách dấu đầu dòng',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Tạo một danh sách kiểu không sắp xếp',
|
|
190
188
|
'fabric.editor.warning': 'Cảnh báo',
|
|
191
189
|
'fabric.editor.warningPanel': 'Ô cảnh báo',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Thêm ghi chú thận trọng bằng ô màu',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Cuộn sang trái',
|
|
194
|
-
'fabric.editor.wrapRight': 'Cuộn sang phải'
|
|
195
|
-
'fabric.emoji.label': 'Biểu tượng cảm xúc'
|
|
192
|
+
'fabric.editor.wrapRight': 'Cuộn sang phải'
|
|
196
193
|
};
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': '用于次级标题',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': '打开帮助对话框',
|
|
110
110
|
'fabric.editor.helpDialogTips': '点击 {keyMap} 可以随时快速打开此对话',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': '全宽',
|
|
111
112
|
'fabric.editor.imageBorderBold': '加粗',
|
|
112
113
|
'fabric.editor.imageBorderColor': '颜色',
|
|
113
114
|
'fabric.editor.imageBorderMedium': '中等',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀请团队成员加入 {productName}} trusted {邀请团队成员加入 {productName}} other {将团队成员添加至 {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': '键盘快捷键',
|
|
125
126
|
'fabric.editor.leftSidebar': '左侧栏',
|
|
126
|
-
'fabric.editor.lists': '列表',
|
|
127
127
|
'fabric.editor.markdown': '进行标记',
|
|
128
128
|
'fabric.editor.matchCase': '匹配大小写',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度输入',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '最大宽度 {maxWidth} 像素',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': '最大宽度 {maxWidth} 像素',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': '转换为像素',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': '从百分比迁移到固定像素大小',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': '提交',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': '宽度验证失败',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': '删除',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': '说明',
|
|
143
145
|
'fabric.editor.notePanel': '记录面板',
|
|
144
146
|
'fabric.editor.notePanel.description': '在彩色面板添加注释',
|
|
145
|
-
'fabric.editor.orderedList': '有序列表',
|
|
146
|
-
'fabric.editor.orderedList.description': '创建有序列表',
|
|
147
147
|
'fabric.editor.other': '其他...',
|
|
148
148
|
'fabric.editor.outdent': '减小缩进',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': '背景颜色',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以标记的用户',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': '用户 {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': '撤销',
|
|
188
|
-
'fabric.editor.unorderedList': '无序列表',
|
|
189
|
-
'fabric.editor.unorderedList.description': '创建无序列表',
|
|
190
188
|
'fabric.editor.warning': '警告',
|
|
191
189
|
'fabric.editor.warningPanel': '警告面板',
|
|
192
190
|
'fabric.editor.warningPanel.description': '在彩色面板添加提醒注释',
|
|
193
191
|
'fabric.editor.wrapLeft': '隐藏左边',
|
|
194
|
-
'fabric.editor.wrapRight': '隐藏右边'
|
|
195
|
-
'fabric.emoji.label': '表情'
|
|
192
|
+
'fabric.editor.wrapRight': '隐藏右边'
|
|
196
193
|
};
|
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': '用於低層級標題',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': '開啟說明對話方塊',
|
|
110
110
|
'fabric.editor.helpDialogTips': '您可以隨時按下 {keyMap} 來快速開啟此對話方塊',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': '全寬',
|
|
111
112
|
'fabric.editor.imageBorderBold': '粗體',
|
|
112
113
|
'fabric.editor.imageBorderColor': '顏色',
|
|
113
114
|
'fabric.editor.imageBorderMedium': '普通',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {邀請團隊成員加入 {productName}} trusted {邀請團隊成員加入 {productName}} other {將團隊成員新增至 {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': '鍵盤快速鍵',
|
|
125
126
|
'fabric.editor.leftSidebar': '左側資訊看板',
|
|
126
|
-
'fabric.editor.lists': '清單',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': '大小寫須相符',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': '高度輸入',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': '高度',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '最大寬度 {maxWidth}px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': '最大寬度 {maxWidth}px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': '轉換為像素',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': '從百分比移轉為固定像素大小',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': '提交',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': '寬度驗證失敗',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': '刪除',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': '附註',
|
|
143
145
|
'fabric.editor.notePanel': '附註面板',
|
|
144
146
|
'fabric.editor.notePanel.description': '以彩色面板新增附註',
|
|
145
|
-
'fabric.editor.orderedList': '編號清單',
|
|
146
|
-
'fabric.editor.orderedList.description': '建立已排序的清單',
|
|
147
147
|
'fabric.editor.other': '其他...',
|
|
148
148
|
'fabric.editor.outdent': '減少縮排',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': '背景顏色',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': '您可以標記的使用者',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': '使用者 {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': '復原',
|
|
188
|
-
'fabric.editor.unorderedList': '項目符號清單',
|
|
189
|
-
'fabric.editor.unorderedList.description': '建立未排序的清單',
|
|
190
188
|
'fabric.editor.warning': '警告',
|
|
191
189
|
'fabric.editor.warningPanel': '警告面板',
|
|
192
190
|
'fabric.editor.warningPanel.description': '以彩色面板新增注意附註',
|
|
193
191
|
'fabric.editor.wrapLeft': '靠左圍繞',
|
|
194
|
-
'fabric.editor.wrapRight': '靠右圍繞'
|
|
195
|
-
'fabric.emoji.label': '表情符號'
|
|
192
|
+
'fabric.editor.wrapRight': '靠右圍繞'
|
|
196
193
|
};
|
|
@@ -3,6 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
5
|
import { defineMessages, injectIntl } from 'react-intl-next';
|
|
6
|
+
import debounce from 'lodash/debounce';
|
|
6
7
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
7
8
|
import ChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
|
|
8
9
|
import ChevronUpIcon from '@atlaskit/icon/glyph/hipchat/chevron-up';
|
|
@@ -11,6 +12,8 @@ import Textfield from '@atlaskit/textfield';
|
|
|
11
12
|
import { countStyles, sectionWrapperStyles } from './styles';
|
|
12
13
|
import { TRIGGER_METHOD } from '../../analytics/types';
|
|
13
14
|
import { FindReplaceTooltipButton } from './FindReplaceTooltipButton';
|
|
15
|
+
import rafSchd from 'raf-schd';
|
|
16
|
+
export const FIND_DEBOUNCE_MS = 100;
|
|
14
17
|
const messages = defineMessages({
|
|
15
18
|
find: {
|
|
16
19
|
id: 'fabric.editor.find',
|
|
@@ -53,7 +56,7 @@ class Find extends React.Component {
|
|
|
53
56
|
super(props);
|
|
54
57
|
_defineProperty(this, "findTextfieldRef", /*#__PURE__*/React.createRef());
|
|
55
58
|
_defineProperty(this, "isComposing", false);
|
|
56
|
-
_defineProperty(this, "syncFindText",
|
|
59
|
+
_defineProperty(this, "syncFindText", onSynced => {
|
|
57
60
|
var _this$state;
|
|
58
61
|
// If the external prop findText changes and we aren't in a composition we should update to
|
|
59
62
|
// use the external prop value.
|
|
@@ -61,15 +64,9 @@ class Find extends React.Component {
|
|
|
61
64
|
// An example of where this may happen is when a find occurs through the user selecting some text
|
|
62
65
|
// and pressing Mod-f.
|
|
63
66
|
if (!this.isComposing && this.props.findText !== ((_this$state = this.state) === null || _this$state === void 0 ? void 0 : _this$state.localFindText)) {
|
|
64
|
-
this.updateFindValue(this.props.findText || '');
|
|
67
|
+
this.updateFindValue(this.props.findText || '', onSynced);
|
|
65
68
|
}
|
|
66
69
|
});
|
|
67
|
-
_defineProperty(this, "skipWhileComposing", fn => {
|
|
68
|
-
if (this.isComposing) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
fn();
|
|
72
|
-
});
|
|
73
70
|
_defineProperty(this, "focusFindTextfield", () => {
|
|
74
71
|
const input = this.findTextfieldRef.current;
|
|
75
72
|
if (this.props.shouldFocus && input) {
|
|
@@ -79,15 +76,24 @@ class Find extends React.Component {
|
|
|
79
76
|
_defineProperty(this, "handleFindChange", event => {
|
|
80
77
|
this.updateFindValue(event.target.value);
|
|
81
78
|
});
|
|
82
|
-
|
|
79
|
+
// debounce (vs throttle) to not block typing inside find input while onFind runs
|
|
80
|
+
_defineProperty(this, "debouncedFind", debounce(value => {
|
|
81
|
+
this.props.onFind(value);
|
|
82
|
+
}, FIND_DEBOUNCE_MS));
|
|
83
|
+
_defineProperty(this, "updateFindValue", (value, onSynced) => {
|
|
83
84
|
this.setState({
|
|
84
85
|
localFindText: value
|
|
85
|
-
})
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
}, () => {
|
|
87
|
+
if (this.isComposing) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
onSynced && onSynced();
|
|
91
|
+
this.debouncedFind(value);
|
|
88
92
|
});
|
|
89
93
|
});
|
|
90
|
-
|
|
94
|
+
// throtlle between animation frames gives better experience on Enter compared to arbitrary value
|
|
95
|
+
// it adjusts based on performance (and document size)
|
|
96
|
+
_defineProperty(this, "handleFindKeyDownThrottled", rafSchd(event => {
|
|
91
97
|
if (event.key === 'Enter') {
|
|
92
98
|
if (event.shiftKey) {
|
|
93
99
|
this.props.onFindPrev({
|
|
@@ -103,16 +109,32 @@ class Find extends React.Component {
|
|
|
103
109
|
this.props.onArrowDown();
|
|
104
110
|
}
|
|
105
111
|
}));
|
|
106
|
-
_defineProperty(this, "
|
|
112
|
+
_defineProperty(this, "handleFindKeyDown", event => {
|
|
113
|
+
if (this.isComposing) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
event.persist();
|
|
117
|
+
this.handleFindKeyDownThrottled(event);
|
|
118
|
+
});
|
|
119
|
+
_defineProperty(this, "handleFindKeyUp", () => {
|
|
120
|
+
this.handleFindKeyDownThrottled.cancel();
|
|
121
|
+
});
|
|
122
|
+
_defineProperty(this, "handleFindNextClick", ref => {
|
|
123
|
+
if (this.isComposing) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
107
126
|
this.props.onFindNext({
|
|
108
127
|
triggerMethod: TRIGGER_METHOD.BUTTON
|
|
109
128
|
});
|
|
110
|
-
})
|
|
111
|
-
_defineProperty(this, "handleFindPrevClick", ref =>
|
|
129
|
+
});
|
|
130
|
+
_defineProperty(this, "handleFindPrevClick", ref => {
|
|
131
|
+
if (this.isComposing) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
112
134
|
this.props.onFindPrev({
|
|
113
135
|
triggerMethod: TRIGGER_METHOD.BUTTON
|
|
114
136
|
});
|
|
115
|
-
})
|
|
137
|
+
});
|
|
116
138
|
_defineProperty(this, "handleCompositionStart", () => {
|
|
117
139
|
this.isComposing = true;
|
|
118
140
|
});
|
|
@@ -165,12 +187,36 @@ class Find extends React.Component {
|
|
|
165
187
|
}
|
|
166
188
|
componentDidMount() {
|
|
167
189
|
this.props.onFindTextfieldRefSet(this.findTextfieldRef);
|
|
168
|
-
|
|
169
|
-
|
|
190
|
+
|
|
191
|
+
// focus initially on dialog mount if there is no find text provided
|
|
192
|
+
if (!this.props.findText) {
|
|
193
|
+
this.focusFindTextfield();
|
|
194
|
+
}
|
|
195
|
+
this.syncFindText(() => {
|
|
196
|
+
// focus after input is synced if find text provided
|
|
197
|
+
if (this.props.findText) {
|
|
198
|
+
this.focusFindTextfield();
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
componentDidUpdate(prevProps) {
|
|
203
|
+
var _this$state2;
|
|
204
|
+
// focus on update if find text did not change
|
|
205
|
+
if (this.props.findText === ((_this$state2 = this.state) === null || _this$state2 === void 0 ? void 0 : _this$state2.localFindText)) {
|
|
206
|
+
this.focusFindTextfield();
|
|
207
|
+
}
|
|
208
|
+
if (this.props.findText !== prevProps.findText) {
|
|
209
|
+
this.syncFindText(() => {
|
|
210
|
+
// focus after input is synced if find text provided
|
|
211
|
+
if (this.props.findText) {
|
|
212
|
+
this.focusFindTextfield();
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
}
|
|
170
216
|
}
|
|
171
|
-
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
217
|
+
componentWillUnmount() {
|
|
218
|
+
this.debouncedFind.cancel();
|
|
219
|
+
this.handleFindKeyDownThrottled.cancel();
|
|
174
220
|
}
|
|
175
221
|
render() {
|
|
176
222
|
const {
|
|
@@ -197,6 +243,7 @@ class Find extends React.Component {
|
|
|
197
243
|
autoComplete: "off",
|
|
198
244
|
onChange: this.handleFindChange,
|
|
199
245
|
onKeyDown: this.handleFindKeyDown,
|
|
246
|
+
onKeyUp: this.handleFindKeyUp,
|
|
200
247
|
onBlur: this.props.onFindBlur,
|
|
201
248
|
onCompositionStart: this.handleCompositionStart,
|
|
202
249
|
onCompositionEnd: this.handleCompositionEnd
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -109,6 +109,7 @@ export default {
|
|
|
109
109
|
'fabric.editor.heading6Description': 'Použít pro nadpis nejnižší úrovně',
|
|
110
110
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy',
|
|
111
111
|
'fabric.editor.helpDialogTips': 'Zmáčkněte {keyMap}, abyste mohli kdykoliv rychle otevřít tento dialog.',
|
|
112
|
+
'fabric.editor.image.fullWidthLabel': 'Celá šířka',
|
|
112
113
|
'fabric.editor.imageBorderBold': 'Tučné',
|
|
113
114
|
'fabric.editor.imageBorderColor': 'Barva',
|
|
114
115
|
'fabric.editor.imageBorderMedium': 'Střední',
|
|
@@ -124,13 +125,14 @@ export default {
|
|
|
124
125
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Pozvat týmového kolegu do produktu {productName}} trusted {Pozvat týmového kolegu do produktu {productName}} other {Přidat týmového kolegu do produktu {productName}}}',
|
|
125
126
|
'fabric.editor.keyboardShortcuts': 'Klávesové zkratky',
|
|
126
127
|
'fabric.editor.leftSidebar': 'Levý postranní panel',
|
|
127
|
-
'fabric.editor.lists': 'Seznamy',
|
|
128
128
|
'fabric.editor.markdown': 'Snížení',
|
|
129
129
|
'fabric.editor.matchCase': 'Rozlišovat malá a velká písmena',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'vstup výšky',
|
|
131
131
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Výška',
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
133
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maximální šířka {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maximální šířka {maxWidth} px',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Převést na pixely',
|
|
135
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Přechod z procentuální velikosti na velikost v pixelech',
|
|
134
136
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Odeslat',
|
|
135
137
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Ověření šířky se nezdařilo',
|
|
136
138
|
'fabric.editor.mediaGroupDeleteLabel': 'Odstranit',
|
|
@@ -143,8 +145,6 @@ export default {
|
|
|
143
145
|
'fabric.editor.note': 'Poznámka',
|
|
144
146
|
'fabric.editor.notePanel': 'Panel poznámek',
|
|
145
147
|
'fabric.editor.notePanel.description': 'Přidat poznámku do barevného panelu',
|
|
146
|
-
'fabric.editor.orderedList': 'Číslovaný seznam',
|
|
147
|
-
'fabric.editor.orderedList.description': 'Vytvořit seřazený seznam',
|
|
148
148
|
'fabric.editor.other': 'Jiné...',
|
|
149
149
|
'fabric.editor.outdent': 'Zmenšit odsazení',
|
|
150
150
|
'fabric.editor.panel.backgroundColor': 'Barva pozadí',
|
|
@@ -186,12 +186,9 @@ export default {
|
|
|
186
186
|
'fabric.editor.typeahead.mentionPopupLabel': 'Uživatelé, které můžete označit',
|
|
187
187
|
'fabric.editor.typeahead.metionListItemLabel': 'Uživatel {name} @{shortName}',
|
|
188
188
|
'fabric.editor.undo': 'Vrátit',
|
|
189
|
-
'fabric.editor.unorderedList': 'Seznam s odrážkami',
|
|
190
|
-
'fabric.editor.unorderedList.description': 'Vytvořit neseřazený seznam',
|
|
191
189
|
'fabric.editor.warning': 'Varování',
|
|
192
190
|
'fabric.editor.warningPanel': 'Panel upozornění',
|
|
193
191
|
'fabric.editor.warningPanel.description': 'Přidat poznámku s varováním do barevného panelu',
|
|
194
192
|
'fabric.editor.wrapLeft': 'Sbalit vpravo',
|
|
195
|
-
'fabric.editor.wrapRight': 'Sbalit vlevo'
|
|
196
|
-
'fabric.emoji.label': 'Smajlík'
|
|
193
|
+
'fabric.editor.wrapRight': 'Sbalit vlevo'
|
|
197
194
|
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -108,6 +108,7 @@ export default {
|
|
|
108
108
|
'fabric.editor.heading6Description': 'Brug denne til overskrift på lavt niveau',
|
|
109
109
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Åbn dialogboksen Hjælp',
|
|
110
110
|
'fabric.editor.helpDialogTips': 'Tryk på {keyMap} for at få hurtig adgang til denne dialogboks',
|
|
111
|
+
'fabric.editor.image.fullWidthLabel': 'Fuld bredde',
|
|
111
112
|
'fabric.editor.imageBorderBold': 'Fed',
|
|
112
113
|
'fabric.editor.imageBorderColor': 'Farve',
|
|
113
114
|
'fabric.editor.imageBorderMedium': 'Medium',
|
|
@@ -123,13 +124,14 @@ export default {
|
|
|
123
124
|
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter teammedlemmer til {productName}} trusted {Inviter teammedlemmer til {productName}} other {Tilføj teammedlem til {productName}}}',
|
|
124
125
|
'fabric.editor.keyboardShortcuts': 'Tastaturgenveje',
|
|
125
126
|
'fabric.editor.leftSidebar': 'Venstre sidebjælke',
|
|
126
|
-
'fabric.editor.lists': 'Liste',
|
|
127
127
|
'fabric.editor.markdown': 'Markdown',
|
|
128
128
|
'fabric.editor.matchCase': 'Match store/små bogstaver',
|
|
129
129
|
'fabric.editor.media.pixelEntry.inputHeightAriaLabel': 'højdeinput',
|
|
130
130
|
'fabric.editor.media.pixelEntry.inputHeightTooltip': 'Højde',
|
|
131
|
-
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': '
|
|
132
|
-
'fabric.editor.media.pixelEntry.inputWidthTooltip': '
|
|
131
|
+
'fabric.editor.media.pixelEntry.inputWidthAriaLabel': 'Maks. bredde {maxWidth} px',
|
|
132
|
+
'fabric.editor.media.pixelEntry.inputWidthTooltip': 'Maks. bredde {maxWidth} px',
|
|
133
|
+
'fabric.editor.media.pixelEntry.migrationButtonText': 'Konverter til pixels',
|
|
134
|
+
'fabric.editor.media.pixelEntry.migrationButtonTooltip': 'Overfør fra procentdel til fast pixelstørrelse',
|
|
133
135
|
'fabric.editor.media.pixelEntry.submitButtonText': 'Indsend',
|
|
134
136
|
'fabric.editor.media.pixelEntry.validationFailedMessage': 'Validering af bredde mislykkedes',
|
|
135
137
|
'fabric.editor.mediaGroupDeleteLabel': 'Slet',
|
|
@@ -142,8 +144,6 @@ export default {
|
|
|
142
144
|
'fabric.editor.note': 'Note',
|
|
143
145
|
'fabric.editor.notePanel': 'Bemærkningspanel',
|
|
144
146
|
'fabric.editor.notePanel.description': 'Tilføj en note i et farvet panel',
|
|
145
|
-
'fabric.editor.orderedList': 'Nummereret liste',
|
|
146
|
-
'fabric.editor.orderedList.description': 'Opret en sorteret liste',
|
|
147
147
|
'fabric.editor.other': 'Andre ...',
|
|
148
148
|
'fabric.editor.outdent': 'Ryk ud',
|
|
149
149
|
'fabric.editor.panel.backgroundColor': 'Baggrundsfarve',
|
|
@@ -185,12 +185,9 @@ export default {
|
|
|
185
185
|
'fabric.editor.typeahead.mentionPopupLabel': 'Brugere, du kan tagge',
|
|
186
186
|
'fabric.editor.typeahead.metionListItemLabel': 'Brugeren {name} @{shortName}',
|
|
187
187
|
'fabric.editor.undo': 'Fortryd',
|
|
188
|
-
'fabric.editor.unorderedList': 'Punktopstilling',
|
|
189
|
-
'fabric.editor.unorderedList.description': 'Opret en ikke-sorteret liste',
|
|
190
188
|
'fabric.editor.warning': 'Advarsel',
|
|
191
189
|
'fabric.editor.warningPanel': 'Advarselspanel',
|
|
192
190
|
'fabric.editor.warningPanel.description': 'Tilføj en advarselsnote i et farvet panel',
|
|
193
191
|
'fabric.editor.wrapLeft': 'Skub til venstre',
|
|
194
|
-
'fabric.editor.wrapRight': 'Skub til højre'
|
|
195
|
-
'fabric.emoji.label': 'Emoji'
|
|
192
|
+
'fabric.editor.wrapRight': 'Skub til højre'
|
|
196
193
|
};
|