@atlaskit/editor-plugin-table 2.13.1 → 2.13.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 +3 -1
- package/dist/cjs/i18n/da.js +3 -1
- package/dist/cjs/i18n/de.js +3 -1
- package/dist/cjs/i18n/en.js +3 -1
- package/dist/cjs/i18n/en_GB.js +3 -1
- package/dist/cjs/i18n/en_ZZ.js +3 -1
- package/dist/cjs/i18n/es.js +3 -1
- package/dist/cjs/i18n/fi.js +3 -1
- package/dist/cjs/i18n/fr.js +3 -1
- package/dist/cjs/i18n/hu.js +3 -1
- package/dist/cjs/i18n/it.js +3 -1
- package/dist/cjs/i18n/ja.js +3 -1
- package/dist/cjs/i18n/ko.js +3 -1
- package/dist/cjs/i18n/nb.js +3 -1
- package/dist/cjs/i18n/nl.js +3 -1
- package/dist/cjs/i18n/pl.js +3 -1
- package/dist/cjs/i18n/pt_BR.js +3 -1
- package/dist/cjs/i18n/ru.js +3 -1
- package/dist/cjs/i18n/sv.js +3 -1
- package/dist/cjs/i18n/th.js +3 -1
- package/dist/cjs/i18n/tr.js +3 -1
- package/dist/cjs/i18n/uk.js +3 -1
- package/dist/cjs/i18n/vi.js +3 -1
- package/dist/cjs/i18n/zh.js +3 -1
- package/dist/cjs/i18n/zh_TW.js +3 -1
- package/dist/cjs/plugins/table/ui/common-styles.js +2 -2
- package/dist/es2019/i18n/cs.js +3 -1
- package/dist/es2019/i18n/da.js +3 -1
- package/dist/es2019/i18n/de.js +3 -1
- package/dist/es2019/i18n/en.js +3 -1
- package/dist/es2019/i18n/en_GB.js +3 -1
- package/dist/es2019/i18n/en_ZZ.js +3 -1
- package/dist/es2019/i18n/es.js +3 -1
- package/dist/es2019/i18n/fi.js +3 -1
- package/dist/es2019/i18n/fr.js +3 -1
- package/dist/es2019/i18n/hu.js +3 -1
- package/dist/es2019/i18n/it.js +3 -1
- package/dist/es2019/i18n/ja.js +3 -1
- package/dist/es2019/i18n/ko.js +3 -1
- package/dist/es2019/i18n/nb.js +3 -1
- package/dist/es2019/i18n/nl.js +3 -1
- package/dist/es2019/i18n/pl.js +3 -1
- package/dist/es2019/i18n/pt_BR.js +3 -1
- package/dist/es2019/i18n/ru.js +3 -1
- package/dist/es2019/i18n/sv.js +3 -1
- package/dist/es2019/i18n/th.js +3 -1
- package/dist/es2019/i18n/tr.js +3 -1
- package/dist/es2019/i18n/uk.js +3 -1
- package/dist/es2019/i18n/vi.js +3 -1
- package/dist/es2019/i18n/zh.js +3 -1
- package/dist/es2019/i18n/zh_TW.js +3 -1
- package/dist/es2019/plugins/table/ui/common-styles.js +9 -3
- package/dist/esm/i18n/cs.js +3 -1
- package/dist/esm/i18n/da.js +3 -1
- package/dist/esm/i18n/de.js +3 -1
- package/dist/esm/i18n/en.js +3 -1
- package/dist/esm/i18n/en_GB.js +3 -1
- package/dist/esm/i18n/en_ZZ.js +3 -1
- package/dist/esm/i18n/es.js +3 -1
- package/dist/esm/i18n/fi.js +3 -1
- package/dist/esm/i18n/fr.js +3 -1
- package/dist/esm/i18n/hu.js +3 -1
- package/dist/esm/i18n/it.js +3 -1
- package/dist/esm/i18n/ja.js +3 -1
- package/dist/esm/i18n/ko.js +3 -1
- package/dist/esm/i18n/nb.js +3 -1
- package/dist/esm/i18n/nl.js +3 -1
- package/dist/esm/i18n/pl.js +3 -1
- package/dist/esm/i18n/pt_BR.js +3 -1
- package/dist/esm/i18n/ru.js +3 -1
- package/dist/esm/i18n/sv.js +3 -1
- package/dist/esm/i18n/th.js +3 -1
- package/dist/esm/i18n/tr.js +3 -1
- package/dist/esm/i18n/uk.js +3 -1
- package/dist/esm/i18n/vi.js +3 -1
- package/dist/esm/i18n/zh.js +3 -1
- package/dist/esm/i18n/zh_TW.js +3 -1
- package/dist/esm/plugins/table/ui/common-styles.js +2 -2
- package/dist/types/i18n/cs.d.ts +2 -0
- package/dist/types/i18n/da.d.ts +2 -0
- package/dist/types/i18n/de.d.ts +2 -0
- package/dist/types/i18n/en.d.ts +2 -0
- package/dist/types/i18n/en_GB.d.ts +2 -0
- package/dist/types/i18n/en_ZZ.d.ts +2 -0
- package/dist/types/i18n/es.d.ts +2 -0
- package/dist/types/i18n/fi.d.ts +2 -0
- package/dist/types/i18n/fr.d.ts +2 -0
- package/dist/types/i18n/hu.d.ts +2 -0
- package/dist/types/i18n/it.d.ts +2 -0
- package/dist/types/i18n/ja.d.ts +2 -0
- package/dist/types/i18n/ko.d.ts +2 -0
- package/dist/types/i18n/nb.d.ts +2 -0
- package/dist/types/i18n/nl.d.ts +2 -0
- package/dist/types/i18n/pl.d.ts +2 -0
- package/dist/types/i18n/pt_BR.d.ts +2 -0
- package/dist/types/i18n/ru.d.ts +2 -0
- package/dist/types/i18n/sv.d.ts +2 -0
- package/dist/types/i18n/th.d.ts +2 -0
- package/dist/types/i18n/tr.d.ts +2 -0
- package/dist/types/i18n/uk.d.ts +2 -0
- package/dist/types/i18n/vi.d.ts +2 -0
- package/dist/types/i18n/zh.d.ts +2 -0
- package/dist/types/i18n/zh_TW.d.ts +2 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +2 -0
- package/dist/types-ts4.5/i18n/da.d.ts +2 -0
- package/dist/types-ts4.5/i18n/de.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -0
- package/dist/types-ts4.5/i18n/es.d.ts +2 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +2 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +2 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +2 -0
- package/dist/types-ts4.5/i18n/it.d.ts +2 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +2 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +2 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +2 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +2 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +2 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +2 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +2 -0
- package/dist/types-ts4.5/i18n/th.d.ts +2 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +2 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +2 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +2 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +2 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -0
- package/package.json +2 -2
- package/src/i18n/cs.ts +2 -0
- package/src/i18n/da.ts +2 -0
- package/src/i18n/de.ts +2 -0
- package/src/i18n/en.ts +2 -0
- package/src/i18n/en_GB.ts +2 -0
- package/src/i18n/en_ZZ.ts +2 -0
- package/src/i18n/es.ts +2 -0
- package/src/i18n/fi.ts +2 -0
- package/src/i18n/fr.ts +2 -0
- package/src/i18n/hu.ts +2 -0
- package/src/i18n/it.ts +2 -0
- package/src/i18n/ja.ts +2 -0
- package/src/i18n/ko.ts +2 -0
- package/src/i18n/nb.ts +2 -0
- package/src/i18n/nl.ts +2 -0
- package/src/i18n/pl.ts +2 -0
- package/src/i18n/pt_BR.ts +2 -0
- package/src/i18n/ru.ts +2 -0
- package/src/i18n/sv.ts +2 -0
- package/src/i18n/th.ts +2 -0
- package/src/i18n/tr.ts +2 -0
- package/src/i18n/uk.ts +2 -0
- package/src/i18n/vi.ts +2 -0
- package/src/i18n/zh.ts +2 -0
- package/src/i18n/zh_TW.ts +2 -0
- package/src/plugins/table/ui/common-styles.ts +15 -3
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': '열 정렬: 내림차순',
|
|
30
30
|
'fabric.editor.splitCell': '셀 나누기',
|
|
31
31
|
'fabric.editor.tableOptions': '표 옵션',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': '열 조정',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '{nodeName}을(를) 삭제하면 연결된 모든 것이 작동 중지됩니다.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '삭제'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '삭제',
|
|
35
|
+
'fabric.editor.tables.resizeTable': '표 크기 조정'
|
|
34
36
|
};
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sorter kolonne Å → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Del celle',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tabellalternativer',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Juster kolonnen',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, ødelegges alt som er koblet til den.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slett'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slett',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Endre størrelse på tabellen'
|
|
34
36
|
};
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Rangschik kolom van Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Deel cel op',
|
|
33
33
|
'fabric.editor.tableOptions': 'Tabelopties',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Kolom aanpassen',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Als je {nodeName} verwijdert, worden alle koppelingen ernaar verbroken.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Verwijderen'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Verwijderen',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Formaat van tabel wijzigen'
|
|
36
38
|
};
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Sortuj kolumnę Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Podziel komórki',
|
|
33
33
|
'fabric.editor.tableOptions': 'Opcje tabeli',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Dostosuj szerokość kolumny',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Usunięcie rozszerzenia {nodeName} spowoduje uszkodzenie wszystkiego, co jest z nim połączone.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Usuń'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Usuń',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Zmień rozmiar tabeli'
|
|
36
38
|
};
|
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Ordenar coluna Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Dividir célula',
|
|
33
33
|
'fabric.editor.tableOptions': 'Opções de tabela',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Ajustar coluna',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'A exclusão de {nodeName} vai interromper qualquer coisa conectada a ela.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Excluir'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Excluir',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Redimensionar tabela'
|
|
36
38
|
};
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Сортировать столбцы (Я–А)',
|
|
32
32
|
'fabric.editor.splitCell': 'Разделить ячейки',
|
|
33
33
|
'fabric.editor.tableOptions': 'Параметры таблицы',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Скорректировать ширину столбца',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'При удалении элемента «{nodeName}» нарушится работа всего, что с ним связано.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Удалить'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Удалить',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Изменить размер таблицы'
|
|
36
38
|
};
|
package/dist/es2019/i18n/sv.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sortera kolumn Ö → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Dela cell',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tabellalternativ',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Justera kolumn',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Om du raderar {nodeName} bryts allt som är kopplat till den.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Radera'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Radera',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Ändra storlek på tabell'
|
|
34
36
|
};
|
package/dist/es2019/i18n/th.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'จัดเรียงคอลัมน์ Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'แยกช่องข้อมูล',
|
|
31
31
|
'fabric.editor.tableOptions': 'ตัวเลือกตาราง',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'ปรับเปลี่ยนคอลัมน์',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'การลบ {nodeName} จะยุติทุกอย่างที่เชื่อมโยงอยู่',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'ลบ'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'ลบ',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'ปรับขนาดตาราง'
|
|
34
36
|
};
|
package/dist/es2019/i18n/tr.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': "Sütunu Z'den A'ya sırala",
|
|
32
32
|
'fabric.editor.splitCell': 'Hücreyi ayır',
|
|
33
33
|
'fabric.editor.tableOptions': 'Tablo seçenekleri',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Sütunu ayarla',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '{nodeName} düğümünün silinmesi, bu düğüme bağlı her şeyin bozulmasına neden olur.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Sil'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Sil',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Tabloyu yeniden boyutlandır'
|
|
36
38
|
};
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Сортувати стовпці від Я до А',
|
|
32
32
|
'fabric.editor.splitCell': 'Розділити клітинки',
|
|
33
33
|
'fabric.editor.tableOptions': 'Параметри таблиці',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Налаштувати стовпець',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Видалення розширення {nodeName} порушить роботу всього, що з ним пов’язано.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Видалити'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Видалити',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Змінити розмір таблиці'
|
|
36
38
|
};
|
package/dist/es2019/i18n/vi.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sắp xếp cột Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Tách ô',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tùy chọn bảng',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Điều chỉnh cột',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Việc xóa {nodeName} sẽ ngắt mọi nội dung được kết nối.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Xóa'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Xóa',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Thay đổi kích cỡ bảng'
|
|
34
36
|
};
|
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': '对列 Z → A 进行排序',
|
|
32
32
|
'fabric.editor.splitCell': '拆分单元格',
|
|
33
33
|
'fabric.editor.tableOptions': '表格选项',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': '调整列',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '删除 {nodeName} 将断开与其连接的所有内容。',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '删除'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '删除',
|
|
37
|
+
'fabric.editor.tables.resizeTable': '调整表格大小'
|
|
36
38
|
};
|
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': '以 Z → A 排序直欄',
|
|
32
32
|
'fabric.editor.splitCell': '分割儲存格',
|
|
33
33
|
'fabric.editor.tableOptions': '表格選項',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': '調整欄',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '刪除'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '刪除',
|
|
37
|
+
'fabric.editor.tables.resizeTable': '重新調整表格'
|
|
36
38
|
};
|
|
@@ -98,6 +98,11 @@ const tableWrapperStyles = () => {
|
|
|
98
98
|
overflow: auto;
|
|
99
99
|
overflow-y: hidden;
|
|
100
100
|
position: relative;
|
|
101
|
+
|
|
102
|
+
> table[data-number-column='true'] {
|
|
103
|
+
margin-left: 1px;
|
|
104
|
+
width: calc(100% - 1px);
|
|
105
|
+
}
|
|
101
106
|
}
|
|
102
107
|
`;
|
|
103
108
|
} else {
|
|
@@ -436,7 +441,7 @@ export const tableStyles = props => {
|
|
|
436
441
|
|
|
437
442
|
.${ClassName.TABLE_CONTAINER}[data-number-column='true'] {
|
|
438
443
|
.${ClassName.CORNER_CONTROLS}, .${ClassName.CONTROLS_CORNER_BUTTON} {
|
|
439
|
-
width: ${akEditorTableToolbarSize + akEditorTableNumberColumnWidth}px;
|
|
444
|
+
width: ${getBooleanFF('platform.editor.custom-table-width') ? akEditorTableToolbarSize + akEditorTableNumberColumnWidth + 1 : akEditorTableToolbarSize + akEditorTableNumberColumnWidth}px;
|
|
440
445
|
}
|
|
441
446
|
.${ClassName.ROW_CONTROLS} .${ClassName.CONTROLS_BUTTON} {
|
|
442
447
|
border-right-width: 0;
|
|
@@ -513,7 +518,7 @@ export const tableStyles = props => {
|
|
|
513
518
|
.${ClassName.NUMBERED_COLUMN} {
|
|
514
519
|
position: relative;
|
|
515
520
|
float: right;
|
|
516
|
-
margin-left: ${akEditorTableToolbarSize - 1}px;
|
|
521
|
+
margin-left: ${getBooleanFF('platform.editor.custom-table-width') ? akEditorTableToolbarSize : akEditorTableToolbarSize - 1}px;
|
|
517
522
|
top: ${akEditorTableToolbarSize}px;
|
|
518
523
|
width: ${akEditorTableNumberColumnWidth + 1}px;
|
|
519
524
|
box-sizing: border-box;
|
|
@@ -545,7 +550,8 @@ export const tableStyles = props => {
|
|
|
545
550
|
display: block;
|
|
546
551
|
}
|
|
547
552
|
.${ClassName.NUMBERED_COLUMN} {
|
|
548
|
-
padding-left:
|
|
553
|
+
padding-left: ${getBooleanFF('platform.editor.custom-table-width') ? 0 : 1}px;
|
|
554
|
+
|
|
549
555
|
.${ClassName.NUMBERED_COLUMN_BUTTON} {
|
|
550
556
|
border-left: 0 none;
|
|
551
557
|
}
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Seřadit sloupec Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Rozdělit buňky',
|
|
33
33
|
'fabric.editor.tableOptions': 'Možnosti tabulky',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Upravit sloupec',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Odstranění uzlu {nodeName} způsobí, že všechny k němu připojené položky přestanou fungovat.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Odstranit'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Odstranit',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Změnit velikost tabulky'
|
|
36
38
|
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sorter kolonnen fra Å → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Opdel celle',
|
|
31
31
|
'fabric.editor.tableOptions': 'Egenskaber for tabel',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Tilpas kolonne',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, brydes forbindelsen til alt, der er forbundet til den.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slet'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slet',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Tilpas størrelsen på tabellen'
|
|
34
36
|
};
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Spalte sortieren: Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Zelle teilen',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tabellenoptionen',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Spalte anpassen',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Durch das Löschen von {nodeName} werden alle damit verbundenen Elemente unbrauchbar.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Löschen'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Löschen',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Tabellengröße ändern'
|
|
34
36
|
};
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Sort column Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Split cell',
|
|
33
33
|
'fabric.editor.tableOptions': 'Table options',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Adjust column',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Deleting {nodeName} will break anything connected to it.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Resize table'
|
|
36
38
|
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Sort column Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Split cell',
|
|
33
33
|
'fabric.editor.tableOptions': 'Table options',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Adjust column',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Deleting {nodeName} will break anything connected to it.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Resize table'
|
|
36
38
|
};
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Sort column Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Split cell',
|
|
33
33
|
'fabric.editor.tableOptions': 'Table options',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Adjust column',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Deleting {nodeName} will break anything connected to it.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Delete',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Resize table'
|
|
36
38
|
};
|
package/dist/esm/i18n/es.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Ordenar columna Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Dividir celda',
|
|
31
31
|
'fabric.editor.tableOptions': 'Opciones de tabla',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Ajustar columna',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Al eliminar la extensión {nodeName}, se interrumpirá todo lo que se haya conectado a ella.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Eliminar'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Eliminar',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Cambiar tamaño de tabla'
|
|
34
36
|
};
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Lajittele sarake laskevassa järjestyksessä',
|
|
30
30
|
'fabric.editor.splitCell': 'Jaettu solu',
|
|
31
31
|
'fabric.editor.tableOptions': 'Taulukkovaihtoehdot',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Säädä saraketta',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Solmun {nodeName} poistaminen rikkoo kaiken siihen yhdistetyn.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Poista'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Poista',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Muuta taulukon kokoa'
|
|
34
36
|
};
|
package/dist/esm/i18n/fr.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Trier la colonne de Z à A',
|
|
32
32
|
'fabric.editor.splitCell': 'Partager la cellule',
|
|
33
33
|
'fabric.editor.tableOptions': 'Options du tableau',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Ajuster la colonne',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Si vous supprimez {nodeName}, tous les éléments qui y sont connectés deviendront inexploitables.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Supprimer'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Supprimer',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Redimensionner le tableau'
|
|
36
38
|
};
|
package/dist/esm/i18n/hu.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Oszlop rendezése: Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Cella felosztása',
|
|
33
33
|
'fabric.editor.tableOptions': 'Táblázatbeállítások',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Oszlop igazítása',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Ha törlöd a(z) {nodeName} csomópontot, a hozzá kapcsolódó elemek sem fognak működni.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Törlés'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Törlés',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Táblázat átméretezése'
|
|
36
38
|
};
|
package/dist/esm/i18n/it.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Ordina colonna Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Dividi celle',
|
|
33
33
|
'fabric.editor.tableOptions': 'Opzioni tabella',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Regola colonna',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': "L'eliminazione di {nodeName} comporterà l'interruzione di tutti i relativi collegamenti.",
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Elimina'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Elimina',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Ridimensiona tabella'
|
|
36
38
|
};
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': '列の並べ替え: 降順',
|
|
32
32
|
'fabric.editor.splitCell': 'セルを分割',
|
|
33
33
|
'fabric.editor.tableOptions': '表のオプション',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': '列を調整する',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '{nodeName} を削除すると、接続されているすべてが破棄されます。',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '削除'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '削除',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'テーブルのサイズを変更する'
|
|
36
38
|
};
|
package/dist/esm/i18n/ko.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': '열 정렬: 내림차순',
|
|
30
30
|
'fabric.editor.splitCell': '셀 나누기',
|
|
31
31
|
'fabric.editor.tableOptions': '표 옵션',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': '열 조정',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '{nodeName}을(를) 삭제하면 연결된 모든 것이 작동 중지됩니다.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '삭제'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '삭제',
|
|
35
|
+
'fabric.editor.tables.resizeTable': '표 크기 조정'
|
|
34
36
|
};
|
package/dist/esm/i18n/nb.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sorter kolonne Å → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Del celle',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tabellalternativer',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Juster kolonnen',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, ødelegges alt som er koblet til den.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slett'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slett',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Endre størrelse på tabellen'
|
|
34
36
|
};
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Rangschik kolom van Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Deel cel op',
|
|
33
33
|
'fabric.editor.tableOptions': 'Tabelopties',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Kolom aanpassen',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Als je {nodeName} verwijdert, worden alle koppelingen ernaar verbroken.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Verwijderen'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Verwijderen',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Formaat van tabel wijzigen'
|
|
36
38
|
};
|
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Sortuj kolumnę Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Podziel komórki',
|
|
33
33
|
'fabric.editor.tableOptions': 'Opcje tabeli',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Dostosuj szerokość kolumny',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Usunięcie rozszerzenia {nodeName} spowoduje uszkodzenie wszystkiego, co jest z nim połączone.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Usuń'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Usuń',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Zmień rozmiar tabeli'
|
|
36
38
|
};
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Ordenar coluna Z → A',
|
|
32
32
|
'fabric.editor.splitCell': 'Dividir célula',
|
|
33
33
|
'fabric.editor.tableOptions': 'Opções de tabela',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Ajustar coluna',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'A exclusão de {nodeName} vai interromper qualquer coisa conectada a ela.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Excluir'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Excluir',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Redimensionar tabela'
|
|
36
38
|
};
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Сортировать столбцы (Я–А)',
|
|
32
32
|
'fabric.editor.splitCell': 'Разделить ячейки',
|
|
33
33
|
'fabric.editor.tableOptions': 'Параметры таблицы',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Скорректировать ширину столбца',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'При удалении элемента «{nodeName}» нарушится работа всего, что с ним связано.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Удалить'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Удалить',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Изменить размер таблицы'
|
|
36
38
|
};
|
package/dist/esm/i18n/sv.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sortera kolumn Ö → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Dela cell',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tabellalternativ',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Justera kolumn',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Om du raderar {nodeName} bryts allt som är kopplat till den.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Radera'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Radera',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Ändra storlek på tabell'
|
|
34
36
|
};
|
package/dist/esm/i18n/th.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'จัดเรียงคอลัมน์ Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'แยกช่องข้อมูล',
|
|
31
31
|
'fabric.editor.tableOptions': 'ตัวเลือกตาราง',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'ปรับเปลี่ยนคอลัมน์',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'การลบ {nodeName} จะยุติทุกอย่างที่เชื่อมโยงอยู่',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'ลบ'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'ลบ',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'ปรับขนาดตาราง'
|
|
34
36
|
};
|
package/dist/esm/i18n/tr.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': "Sütunu Z'den A'ya sırala",
|
|
32
32
|
'fabric.editor.splitCell': 'Hücreyi ayır',
|
|
33
33
|
'fabric.editor.tableOptions': 'Tablo seçenekleri',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Sütunu ayarla',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '{nodeName} düğümünün silinmesi, bu düğüme bağlı her şeyin bozulmasına neden olur.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Sil'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Sil',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Tabloyu yeniden boyutlandır'
|
|
36
38
|
};
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': 'Сортувати стовпці від Я до А',
|
|
32
32
|
'fabric.editor.splitCell': 'Розділити клітинки',
|
|
33
33
|
'fabric.editor.tableOptions': 'Параметри таблиці',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': 'Налаштувати стовпець',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Видалення розширення {nodeName} порушить роботу всього, що з ним пов’язано.',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Видалити'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Видалити',
|
|
37
|
+
'fabric.editor.tables.resizeTable': 'Змінити розмір таблиці'
|
|
36
38
|
};
|
package/dist/esm/i18n/vi.js
CHANGED
|
@@ -29,6 +29,8 @@ export default {
|
|
|
29
29
|
'fabric.editor.sortColumnDESC': 'Sắp xếp cột Z → A',
|
|
30
30
|
'fabric.editor.splitCell': 'Tách ô',
|
|
31
31
|
'fabric.editor.tableOptions': 'Tùy chọn bảng',
|
|
32
|
+
'fabric.editor.tables.adjustColumn': 'Điều chỉnh cột',
|
|
32
33
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Việc xóa {nodeName} sẽ ngắt mọi nội dung được kết nối.',
|
|
33
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Xóa'
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Xóa',
|
|
35
|
+
'fabric.editor.tables.resizeTable': 'Thay đổi kích cỡ bảng'
|
|
34
36
|
};
|
package/dist/esm/i18n/zh.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': '对列 Z → A 进行排序',
|
|
32
32
|
'fabric.editor.splitCell': '拆分单元格',
|
|
33
33
|
'fabric.editor.tableOptions': '表格选项',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': '调整列',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '删除 {nodeName} 将断开与其连接的所有内容。',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '删除'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '删除',
|
|
37
|
+
'fabric.editor.tables.resizeTable': '调整表格大小'
|
|
36
38
|
};
|
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -31,6 +31,8 @@ export default {
|
|
|
31
31
|
'fabric.editor.sortColumnDESC': '以 Z → A 排序直欄',
|
|
32
32
|
'fabric.editor.splitCell': '分割儲存格',
|
|
33
33
|
'fabric.editor.tableOptions': '表格選項',
|
|
34
|
+
'fabric.editor.tables.adjustColumn': '調整欄',
|
|
34
35
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
|
|
35
|
-
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '刪除'
|
|
36
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '刪除',
|
|
37
|
+
'fabric.editor.tables.resizeTable': '重新調整表格'
|
|
36
38
|
};
|
|
@@ -29,7 +29,7 @@ var breakoutWidthStyling = function breakoutWidthStyling() {
|
|
|
29
29
|
};
|
|
30
30
|
var tableWrapperStyles = function tableWrapperStyles() {
|
|
31
31
|
if (getBooleanFF('platform.editor.custom-table-width')) {
|
|
32
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .", " {\n padding-bottom: 0px;\n /* fixes gap cursor height */\n overflow: auto;\n overflow-y: hidden;\n position: relative;\n }\n "])), ClassName.TABLE_NODE_WRAPPER);
|
|
32
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .", " {\n padding-bottom: 0px;\n /* fixes gap cursor height */\n overflow: auto;\n overflow-y: hidden;\n position: relative;\n\n > table[data-number-column='true'] {\n margin-left: 1px;\n width: calc(100% - 1px);\n }\n }\n "])), ClassName.TABLE_NODE_WRAPPER);
|
|
33
33
|
} else {
|
|
34
34
|
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n .", " {\n padding-right: ", "px;\n margin-right: -", "px;\n padding-bottom: 0px;\n /* fixes gap cursor height */\n overflow: auto;\n overflow-y: hidden;\n position: relative;\n }\n "])), ClassName.TABLE_NODE_WRAPPER, insertColumnButtonOffset, insertColumnButtonOffset);
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var tableWrapperStyles = function tableWrapperStyles() {
|
|
|
38
38
|
// TODO: https://product-fabric.atlassian.net/browse/DSP-4139
|
|
39
39
|
export var tableStyles = function tableStyles(props) {
|
|
40
40
|
var _props$featureFlags;
|
|
41
|
-
return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .", " button {\n background: ", ";\n color: ", ";\n cursor: none;\n }\n\n .", ":not(.", ") button:hover {\n background: ", ";\n color: ", " !important;\n cursor: pointer;\n }\n\n .ProseMirror {\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n .", " {\n margin-bottom: 0;\n }\n\n .", " {\n td.", ", th.", " {\n position: relative;\n overflow: visible;\n }\n\n td.", " {\n background-color: ", ";\n\n // ED-15246: Trello card is visible through a border of a table border\n // This fixes a border issue caused by relative positioned table cells\n &::after {\n height: 100%;\n content: '';\n border-left: 1px solid ", ";\n border-bottom: 1px solid ", ";\n position: absolute;\n right: 0px;\n top: 0px;\n bottom: 0;\n width: 100%;\n display: inline-block;\n pointer-events: none;\n }\n }\n }\n\n .", " {\n ", "\n }\n\n .", " {\n ", "\n }\n\n /* Delete button */\n ", "\n /* Ends Delete button */\n\n /* sticky styles */\n .", " .", " .", ":first-of-type {\n margin-top: ", "px;\n width: ", "px;\n\n position: fixed !important;\n z-index: ", " !important;\n box-shadow: 0px -", "px ", ";\n border-right: 0 none;\n /* top set by NumberColumn component */\n }\n\n .", " .", ".sticky {\n position: fixed !important;\n /* needs to be above row controls */\n z-index: ", " !important;\n background: ", ";\n\n width: ", "px;\n height: ", "px;\n }\n\n .", ".sticky .", " {\n border-bottom: 0px none;\n border-right: 0px none;\n\n height: ", "px;\n width: ", "px;\n }\n\n .", " .", " {\n z-index: 0;\n }\n\n .", "\n .", "\n .", ".sticky {\n position: fixed !important;\n z-index: ", " !important;\n display: flex;\n border-left: ", "px solid\n ", ";\n margin-left: -", "px;\n }\n\n .", " col:first-of-type {\n /* moving rows out of a table layout does weird things in Chrome */\n border-right: 1px solid ", ";\n }\n\n tr.sticky {\n padding-top: ", "px;\n position: fixed;\n display: grid;\n\n /* to keep it above cell selection but below date and other nodes popups that are inside sticky header */\n z-index: ", ";\n\n overflow-y: visible;\n overflow-x: hidden;\n\n grid-auto-flow: column;\n\n /* background for where controls apply */\n background: ", ";\n box-sizing: content-box;\n\n margin-top: 2px;\n\n box-shadow: 0 6px 4px -4px ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\n /* needs to be above sticky header row and below date and other nodes popups that are inside sticky header */\n z-index: ", ";\n }\n\n .", ".", "\n .", " {\n padding-bottom: ", "px;\n }\n\n tr.sticky th {\n border-bottom: ", "px solid\n ", ";\n margin-right: -1px;\n }\n\n .", " tr.sticky > th:last-child {\n border-right-width: 1px;\n }\n\n /* add left edge for first cell */\n .", " tr.sticky > th:first-of-type {\n margin-left: 0px;\n }\n\n /* add a little bit so the scroll lines up with the table */\n .", " tr.sticky::after {\n content: ' ';\n width: ", "px;\n }\n\n /* To fix jumpiness caused in Chrome Browsers for sticky headers */\n .", " .sticky + tr {\n min-height: 0px;\n }\n\n /* move resize line a little in sticky bar */\n .", ".", " {\n tr.sticky\n td.", ",\n tr.sticky\n th.", " {\n .", "::after {\n right: ", "px;\n }\n }\n\n /* when selected put it back to normal -- :not selector would be nicer */\n tr.sticky\n td.", ".", ",\n tr.sticky\n th.", ".", " {\n .", "::after {\n right: ", "px;\n }\n }\n }\n\n tr.sticky\n .", ",\n tr.sticky\n .", " {\n z-index: 1;\n }\n\n .", " tr.sticky {\n padding-top: ", "px;\n }\n\n .", ".", "\n .", "\n .", ":first-of-type {\n margin-top: ", "px;\n }\n\n .", ".sticky {\n border-top: ", "px solid\n ", ";\n }\n\n ", "\n ", "\n\n .", " .", " {\n height: 0; // stop overflow flash & set correct height in update-overflow-shadows.ts\n }\n\n .less-padding {\n padding: 0 ", "px;\n\n .", " {\n padding: 0 ", "px;\n\n // https://product-fabric.atlassian.net/browse/ED-16386\n // Fixes issue where the extra padding that is added here throws off the position\n // of the rows control dot\n &::after {\n right: 6px !important;\n }\n }\n\n &.", "[data-number-column='true'] {\n padding-left: ", "px;\n }\n\n .", " {\n left: 6px;\n }\n\n .", " {\n left: calc(100% - 6px);\n }\n }\n\n > .", " {\n /**\n * Prevent margins collapsing, aids with placing the gap-cursor correctly\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing\n *\n * TODO: Enable this, many tests will fail!\n * border-top: 1px solid transparent;\n */\n }\n\n /* Breakout only works on top level unless wrapped in fragment mark */\n ", "\n\n ", ";\n\n /* Corner controls */\n .", " {\n width: ", "px;\n height: ", "px;\n display: none;\n\n .", " {\n position: relative;\n\n ", ";\n }\n }\n\n .", ".sticky {\n .", " {\n /* sticky row insert dot overlaps other row insert and messes things up */\n display: none !important;\n }\n }\n\n .", " {\n position: absolute;\n top: 0;\n width: ", "px;\n height: ", "px;\n border: 1px solid ", ";\n border-radius: 0;\n border-top-left-radius: ", "px;\n background: ", ";\n box-sizing: border-box;\n padding: 0;\n :focus {\n outline: none;\n }\n }\n .active .", " {\n border-color: ", ";\n background: ", ";\n }\n\n .", "[data-number-column='true'] {\n .", ", .", " {\n width: ", "px;\n }\n .", " .", " {\n border-right-width: 0;\n }\n }\n\n :not(.", ") .", ":hover {\n border-color: ", ";\n background: ", ";\n cursor: pointer;\n }\n\n :not(.", ")\n .", ".", " {\n border-color: ", ";\n background: ", ";\n }\n\n /* Row controls */\n .", " {\n width: ", "px;\n box-sizing: border-box;\n display: none;\n position: relative;\n\n ", ";\n\n .", " {\n display: flex;\n flex-direction: column;\n }\n .", ":last-child > button {\n border-bottom-left-radius: ", "px;\n }\n .", " {\n position: relative;\n margin-top: -1px;\n }\n .", ":hover,\n .", ".active,\n .", ":hover {\n z-index: ", ";\n }\n\n ", "\n }\n\n :not(.", ") .", " {\n ", "\n ", "\n }\n\n /* Numbered column */\n .", " {\n position: relative;\n float: right;\n margin-left: ", "px;\n top: ", "px;\n width: ", "px;\n box-sizing: border-box;\n }\n\n .", " {\n border: 1px solid ", ";\n box-sizing: border-box;\n margin-top: -1px;\n padding-bottom: 2px;\n padding: 10px 2px;\n text-align: center;\n font-size: ", ";\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n :first-child:not(style),\n style:first-child + * {\n margin-top: 0;\n }\n :last-child {\n border-bottom: 1px solid ", ";\n }\n }\n\n .", " {\n .", ", .", " {\n display: block;\n }\n .", " {\n padding-left: 1px;\n .", " {\n border-left: 0 none;\n }\n\n .", ".active {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n }\n }\n :not(.", ") .", " {\n .", " {\n cursor: pointer;\n }\n .", ":hover {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n .", ".", " {\n background-color: ", ";\n border: 1px solid ", ";\n border-left: 0;\n color: ", ";\n position: relative;\n z-index: ", ";\n }\n }\n\n /* Table */\n .", " > table {\n table-layout: fixed;\n white-space: normal;\n border-top: none;\n // 1px border width offset added here to prevent unwanted overflow and scolling - ED-16212\n margin-right: -1px;\n // Allows better positioning for the shadow sentinels - ED-16668\n position: relative;\n\n > tbody > tr {\n white-space: pre-wrap;\n }\n\n .", " + * {\n margin-top: 0;\n }\n\n /*\n * Headings have a top margin by default, but we don't want this on the\n * first heading within table header cells.\n *\n * This specifically sets margin-top for the first heading within a header\n * cell when center/right aligned.\n */\n th.", " > .fabric-editor-block-mark {\n > h1:first-of-type,\n > h2:first-of-type,\n > h3:first-of-type,\n > h4:first-of-type,\n > h5:first-of-type,\n > h6:first-of-type {\n margin-top: 0;\n }\n }\n\n .", ", .", " {\n position: relative;\n }\n /* Give selected cells a blue overlay */\n .", "::after,\n .", "::after {\n z-index: ", ";\n position: absolute;\n content: '';\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n pointer-events: none;\n }\n .", " {\n border: 1px solid ", ";\n }\n .", "::after {\n background: ", ";\n z-index: ", ";\n }\n th.", "::after,\n td.", "::after {\n background: ", ";\n z-index: ", ";\n }\n // ED-15246: Trello card is visible through a border of a table border\n /* ED-19064: To fix when enable header column in the table,\n and selection the header column, the right border is not tableBorderSelectedColor\n when deleting the header column, the right border is not tableToolbarDeleteColor */\n td.", ",\n td.", ",\n th.", ".", ",\n th.", ".", " {\n &::after {\n height: 100%;\n width: 100%;\n border: 1px solid ", ";\n content: '';\n position: absolute;\n left: -1px;\n top: -1px;\n bottom: 0;\n z-index: ", ";\n display: inline-block;\n pointer-events: none;\n }\n &.", "::after {\n border: 1px solid ", ";\n z-index: ", ";\n }\n }\n }\n .", " {\n position: absolute;\n /* top of corner control is table margin top - corner control height + 1 pixel of table border. */\n top: ", "px;\n }\n .", ".", " {\n z-index: ", ";\n }\n .", " {\n left: -", "px;\n }\n ", "\n }\n\n .ProseMirror.", " {\n .", " {\n overflow-x: auto;\n ", ";\n }\n }\n\n .ProseMirror.", " {\n cursor: col-resize;\n }\n\n /*\n ED-15882: When custom start numbers is enabled for lists, we have\n styles that handle this generally (in editor-common) so we can\n throw away the older table-specific styles here.\n */\n ", "\n\n ", "\n"])), ClassName.LAYOUT_BUTTON, "var(--ds-background-neutral, ".concat(N20A, ")"), "var(--ds-icon, ".concat(N300, ")"), ClassName.LAYOUT_BUTTON, ClassName.IS_RESIZING, "var(--ds-background-neutral-hovered, ".concat(B300, ")"), "var(--ds-icon, white)", tableSharedStyle(props), columnControlsLineMarker(), hoveredDeleteButton(props), hoveredCell(props), hoveredWarningCell, resizeHandle(props), rangeSelectionStyles, ClassName.LAST_ITEM_IN_CELL, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_CELL, ClassName.TABLE_HEADER_CELL, ClassName.TABLE_CELL, tableCellBackgroundColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.CONTROLS_FLOATING_BUTTON_COLUMN, insertColumnButtonWrapper(props), ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper(props), DeleteButton(props), ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, stickyRowOffsetTop + 2, akEditorTableNumberColumnWidth, akEditorStickyHeaderZIndex, stickyRowOffsetTop, "var(--ds-surface, white)", ClassName.TABLE_STICKY, ClassName.CORNER_CONTROLS, akEditorSmallZIndex, "var(--ds-surface, white)", tableToolbarSize, tableToolbarSize, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize, tableToolbarSize, ClassName.TABLE_STICKY, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_STICKY, ClassName.ROW_CONTROLS, ClassName.ROW_CONTROLS_BUTTON_WRAP, akEditorStickyHeaderZIndex, tableToolbarSize, "var(--ds-surface, white)", tableToolbarSize, ClassName.TABLE_STICKY, "var(--ds-surface, green)", stickyRowOffsetTop, akEditorTableCellOnStickyHeaderZIndex - 5, "var(--ds-surface, white)", "var(--ds-shadow-overflow-perimeter, ".concat(N40A, ")"), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, akEditorTableCellOnStickyHeaderZIndex, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tableToolbarSize, stickyHeaderBorderBottomWidth, tableBorderColor(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, insertColumnButtonOffset + 1, ClassName.TABLE_STICKY, ClassName.TABLE_CONTAINER, ClassName.TABLE_STICKY, ClassName.WITH_RESIZE_LINE, ClassName.WITH_RESIZE_LINE, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2 + 1, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.WITH_CONTROLS, tableControlsSpacing, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, tableControlsSpacing + 2, ClassName.CORNER_CONTROLS, tableControlsSpacing - tableToolbarSize + 2, "var(--ds-surface, white)", sentinelStyles, OverflowShadow(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tablePadding, ClassName.ROW_CONTROLS_WRAPPER, tablePadding, ClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth + tablePadding - 1, ClassName.TABLE_LEFT_SHADOW, ClassName.TABLE_RIGHT_SHADOW, ClassName.NODEVIEW_WRAPPER, breakoutWidthStyling(), columnControlsDecoration(props), ClassName.CORNER_CONTROLS, tableToolbarSize + 1, cornerControlHeight, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, InsertMarker(props, "\n left: -11px;\n top: 9px;\n "), ClassName.CORNER_CONTROLS, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize + 1, tableToolbarSize + 1, tableBorderColor(props), tableBorderRadiusSize, tableHeaderCellBackgroundColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor(props), tableToolbarSelectedColor(props), ClassName.TABLE_CONTAINER, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, akEditorTableToolbarSize + akEditorTableNumberColumnWidth, ClassName.ROW_CONTROLS, ClassName.CONTROLS_BUTTON, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor(props), tableToolbarSelectedColor(props), ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor(props), tableToolbarDeleteColor(props), ClassName.ROW_CONTROLS, tableToolbarSize, InsertMarker(props, "\n bottom: -1px;\n left: -11px;\n "), ClassName.ROW_CONTROLS_INNER, ClassName.ROW_CONTROLS_BUTTON_WRAP, tableBorderRadiusSize, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.CONTROLS_BUTTON, akEditorUnitZIndex, HeaderButton(props, "\n border-bottom: 1px solid ".concat(tableBorderColor(props), ";\n border-right: 0px;\n border-radius: 0;\n height: 100%;\n width: ").concat(tableToolbarSize, "px;\n\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, " {\n position: absolute;\n width: 30px;\n height: 50%;\n right: 0;\n bottom: 0;\n }\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, ":first-of-type {\n top: 0;\n }\n ")), ClassName.IS_RESIZING, ClassName.ROW_CONTROLS, HeaderButtonHover(props), HeaderButtonDanger(props), ClassName.NUMBERED_COLUMN, akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableHeaderCellBackgroundColor(props), tableTextColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.WITH_CONTROLS, ClassName.CORNER_CONTROLS, ClassName.ROW_CONTROLS, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor(props), tableBorderSelectedColor(props), tableToolbarSelectedColor(props), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor(props), tableBorderSelectedColor(props), tableToolbarSelectedColor(props), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableToolbarDeleteColor(props), tableBorderDeleteColor(props), "var(--ds-text-danger, ".concat(R500, ")"), akEditorUnitZIndex, ClassName.TABLE_NODE_WRAPPER, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, akEditorSmallZIndex, ClassName.SELECTED_CELL, tableBorderSelectedColor(props), ClassName.SELECTED_CELL, tableCellSelectedColor(props), akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor(props), akEditorUnitZIndex * 100, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.TABLE_HEADER_CELL, ClassName.HOVERED_CELL, tableBorderSelectedColor(props), akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor(props), akEditorUnitZIndex * 100, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, tableWrapperStyles(), ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR, props !== null && props !== void 0 && (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.restartNumberedLists ? "" : listLargeNumericMarkersOldStyles, shadowSentinelStyles);
|
|
41
|
+
return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n .", " button {\n background: ", ";\n color: ", ";\n cursor: none;\n }\n\n .", ":not(.", ") button:hover {\n background: ", ";\n color: ", " !important;\n cursor: pointer;\n }\n\n .ProseMirror {\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n\n .", " {\n margin-bottom: 0;\n }\n\n .", " {\n td.", ", th.", " {\n position: relative;\n overflow: visible;\n }\n\n td.", " {\n background-color: ", ";\n\n // ED-15246: Trello card is visible through a border of a table border\n // This fixes a border issue caused by relative positioned table cells\n &::after {\n height: 100%;\n content: '';\n border-left: 1px solid ", ";\n border-bottom: 1px solid ", ";\n position: absolute;\n right: 0px;\n top: 0px;\n bottom: 0;\n width: 100%;\n display: inline-block;\n pointer-events: none;\n }\n }\n }\n\n .", " {\n ", "\n }\n\n .", " {\n ", "\n }\n\n /* Delete button */\n ", "\n /* Ends Delete button */\n\n /* sticky styles */\n .", " .", " .", ":first-of-type {\n margin-top: ", "px;\n width: ", "px;\n\n position: fixed !important;\n z-index: ", " !important;\n box-shadow: 0px -", "px ", ";\n border-right: 0 none;\n /* top set by NumberColumn component */\n }\n\n .", " .", ".sticky {\n position: fixed !important;\n /* needs to be above row controls */\n z-index: ", " !important;\n background: ", ";\n\n width: ", "px;\n height: ", "px;\n }\n\n .", ".sticky .", " {\n border-bottom: 0px none;\n border-right: 0px none;\n\n height: ", "px;\n width: ", "px;\n }\n\n .", " .", " {\n z-index: 0;\n }\n\n .", "\n .", "\n .", ".sticky {\n position: fixed !important;\n z-index: ", " !important;\n display: flex;\n border-left: ", "px solid\n ", ";\n margin-left: -", "px;\n }\n\n .", " col:first-of-type {\n /* moving rows out of a table layout does weird things in Chrome */\n border-right: 1px solid ", ";\n }\n\n tr.sticky {\n padding-top: ", "px;\n position: fixed;\n display: grid;\n\n /* to keep it above cell selection but below date and other nodes popups that are inside sticky header */\n z-index: ", ";\n\n overflow-y: visible;\n overflow-x: hidden;\n\n grid-auto-flow: column;\n\n /* background for where controls apply */\n background: ", ";\n box-sizing: content-box;\n\n margin-top: 2px;\n\n box-shadow: 0 6px 4px -4px ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\n /* needs to be above sticky header row and below date and other nodes popups that are inside sticky header */\n z-index: ", ";\n }\n\n .", ".", "\n .", " {\n padding-bottom: ", "px;\n }\n\n tr.sticky th {\n border-bottom: ", "px solid\n ", ";\n margin-right: -1px;\n }\n\n .", " tr.sticky > th:last-child {\n border-right-width: 1px;\n }\n\n /* add left edge for first cell */\n .", " tr.sticky > th:first-of-type {\n margin-left: 0px;\n }\n\n /* add a little bit so the scroll lines up with the table */\n .", " tr.sticky::after {\n content: ' ';\n width: ", "px;\n }\n\n /* To fix jumpiness caused in Chrome Browsers for sticky headers */\n .", " .sticky + tr {\n min-height: 0px;\n }\n\n /* move resize line a little in sticky bar */\n .", ".", " {\n tr.sticky\n td.", ",\n tr.sticky\n th.", " {\n .", "::after {\n right: ", "px;\n }\n }\n\n /* when selected put it back to normal -- :not selector would be nicer */\n tr.sticky\n td.", ".", ",\n tr.sticky\n th.", ".", " {\n .", "::after {\n right: ", "px;\n }\n }\n }\n\n tr.sticky\n .", ",\n tr.sticky\n .", " {\n z-index: 1;\n }\n\n .", " tr.sticky {\n padding-top: ", "px;\n }\n\n .", ".", "\n .", "\n .", ":first-of-type {\n margin-top: ", "px;\n }\n\n .", ".sticky {\n border-top: ", "px solid\n ", ";\n }\n\n ", "\n ", "\n\n .", " .", " {\n height: 0; // stop overflow flash & set correct height in update-overflow-shadows.ts\n }\n\n .less-padding {\n padding: 0 ", "px;\n\n .", " {\n padding: 0 ", "px;\n\n // https://product-fabric.atlassian.net/browse/ED-16386\n // Fixes issue where the extra padding that is added here throws off the position\n // of the rows control dot\n &::after {\n right: 6px !important;\n }\n }\n\n &.", "[data-number-column='true'] {\n padding-left: ", "px;\n }\n\n .", " {\n left: 6px;\n }\n\n .", " {\n left: calc(100% - 6px);\n }\n }\n\n > .", " {\n /**\n * Prevent margins collapsing, aids with placing the gap-cursor correctly\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing\n *\n * TODO: Enable this, many tests will fail!\n * border-top: 1px solid transparent;\n */\n }\n\n /* Breakout only works on top level unless wrapped in fragment mark */\n ", "\n\n ", ";\n\n /* Corner controls */\n .", " {\n width: ", "px;\n height: ", "px;\n display: none;\n\n .", " {\n position: relative;\n\n ", ";\n }\n }\n\n .", ".sticky {\n .", " {\n /* sticky row insert dot overlaps other row insert and messes things up */\n display: none !important;\n }\n }\n\n .", " {\n position: absolute;\n top: 0;\n width: ", "px;\n height: ", "px;\n border: 1px solid ", ";\n border-radius: 0;\n border-top-left-radius: ", "px;\n background: ", ";\n box-sizing: border-box;\n padding: 0;\n :focus {\n outline: none;\n }\n }\n .active .", " {\n border-color: ", ";\n background: ", ";\n }\n\n .", "[data-number-column='true'] {\n .", ", .", " {\n width: ", "px;\n }\n .", " .", " {\n border-right-width: 0;\n }\n }\n\n :not(.", ") .", ":hover {\n border-color: ", ";\n background: ", ";\n cursor: pointer;\n }\n\n :not(.", ")\n .", ".", " {\n border-color: ", ";\n background: ", ";\n }\n\n /* Row controls */\n .", " {\n width: ", "px;\n box-sizing: border-box;\n display: none;\n position: relative;\n\n ", ";\n\n .", " {\n display: flex;\n flex-direction: column;\n }\n .", ":last-child > button {\n border-bottom-left-radius: ", "px;\n }\n .", " {\n position: relative;\n margin-top: -1px;\n }\n .", ":hover,\n .", ".active,\n .", ":hover {\n z-index: ", ";\n }\n\n ", "\n }\n\n :not(.", ") .", " {\n ", "\n ", "\n }\n\n /* Numbered column */\n .", " {\n position: relative;\n float: right;\n margin-left: ", "px;\n top: ", "px;\n width: ", "px;\n box-sizing: border-box;\n }\n\n .", " {\n border: 1px solid ", ";\n box-sizing: border-box;\n margin-top: -1px;\n padding-bottom: 2px;\n padding: 10px 2px;\n text-align: center;\n font-size: ", ";\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n\n :first-child:not(style),\n style:first-child + * {\n margin-top: 0;\n }\n :last-child {\n border-bottom: 1px solid ", ";\n }\n }\n\n .", " {\n .", ", .", " {\n display: block;\n }\n .", " {\n padding-left: ", "px;\n\n .", " {\n border-left: 0 none;\n }\n\n .", ".active {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n }\n }\n :not(.", ") .", " {\n .", " {\n cursor: pointer;\n }\n .", ":hover {\n border-bottom: 1px solid ", ";\n border-color: ", ";\n background-color: ", ";\n position: relative;\n z-index: ", ";\n color: ", ";\n }\n .", ".", " {\n background-color: ", ";\n border: 1px solid ", ";\n border-left: 0;\n color: ", ";\n position: relative;\n z-index: ", ";\n }\n }\n\n /* Table */\n .", " > table {\n table-layout: fixed;\n white-space: normal;\n border-top: none;\n // 1px border width offset added here to prevent unwanted overflow and scolling - ED-16212\n margin-right: -1px;\n // Allows better positioning for the shadow sentinels - ED-16668\n position: relative;\n\n > tbody > tr {\n white-space: pre-wrap;\n }\n\n .", " + * {\n margin-top: 0;\n }\n\n /*\n * Headings have a top margin by default, but we don't want this on the\n * first heading within table header cells.\n *\n * This specifically sets margin-top for the first heading within a header\n * cell when center/right aligned.\n */\n th.", " > .fabric-editor-block-mark {\n > h1:first-of-type,\n > h2:first-of-type,\n > h3:first-of-type,\n > h4:first-of-type,\n > h5:first-of-type,\n > h6:first-of-type {\n margin-top: 0;\n }\n }\n\n .", ", .", " {\n position: relative;\n }\n /* Give selected cells a blue overlay */\n .", "::after,\n .", "::after {\n z-index: ", ";\n position: absolute;\n content: '';\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n pointer-events: none;\n }\n .", " {\n border: 1px solid ", ";\n }\n .", "::after {\n background: ", ";\n z-index: ", ";\n }\n th.", "::after,\n td.", "::after {\n background: ", ";\n z-index: ", ";\n }\n // ED-15246: Trello card is visible through a border of a table border\n /* ED-19064: To fix when enable header column in the table,\n and selection the header column, the right border is not tableBorderSelectedColor\n when deleting the header column, the right border is not tableToolbarDeleteColor */\n td.", ",\n td.", ",\n th.", ".", ",\n th.", ".", " {\n &::after {\n height: 100%;\n width: 100%;\n border: 1px solid ", ";\n content: '';\n position: absolute;\n left: -1px;\n top: -1px;\n bottom: 0;\n z-index: ", ";\n display: inline-block;\n pointer-events: none;\n }\n &.", "::after {\n border: 1px solid ", ";\n z-index: ", ";\n }\n }\n }\n .", " {\n position: absolute;\n /* top of corner control is table margin top - corner control height + 1 pixel of table border. */\n top: ", "px;\n }\n .", ".", " {\n z-index: ", ";\n }\n .", " {\n left: -", "px;\n }\n ", "\n }\n\n .ProseMirror.", " {\n .", " {\n overflow-x: auto;\n ", ";\n }\n }\n\n .ProseMirror.", " {\n cursor: col-resize;\n }\n\n /*\n ED-15882: When custom start numbers is enabled for lists, we have\n styles that handle this generally (in editor-common) so we can\n throw away the older table-specific styles here.\n */\n ", "\n\n ", "\n"])), ClassName.LAYOUT_BUTTON, "var(--ds-background-neutral, ".concat(N20A, ")"), "var(--ds-icon, ".concat(N300, ")"), ClassName.LAYOUT_BUTTON, ClassName.IS_RESIZING, "var(--ds-background-neutral-hovered, ".concat(B300, ")"), "var(--ds-icon, white)", tableSharedStyle(props), columnControlsLineMarker(), hoveredDeleteButton(props), hoveredCell(props), hoveredWarningCell, resizeHandle(props), rangeSelectionStyles, ClassName.LAST_ITEM_IN_CELL, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_CELL, ClassName.TABLE_HEADER_CELL, ClassName.TABLE_CELL, tableCellBackgroundColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.CONTROLS_FLOATING_BUTTON_COLUMN, insertColumnButtonWrapper(props), ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper(props), DeleteButton(props), ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, stickyRowOffsetTop + 2, akEditorTableNumberColumnWidth, akEditorStickyHeaderZIndex, stickyRowOffsetTop, "var(--ds-surface, white)", ClassName.TABLE_STICKY, ClassName.CORNER_CONTROLS, akEditorSmallZIndex, "var(--ds-surface, white)", tableToolbarSize, tableToolbarSize, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize, tableToolbarSize, ClassName.TABLE_STICKY, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_STICKY, ClassName.ROW_CONTROLS, ClassName.ROW_CONTROLS_BUTTON_WRAP, akEditorStickyHeaderZIndex, tableToolbarSize, "var(--ds-surface, white)", tableToolbarSize, ClassName.TABLE_STICKY, "var(--ds-surface, green)", stickyRowOffsetTop, akEditorTableCellOnStickyHeaderZIndex - 5, "var(--ds-surface, white)", "var(--ds-shadow-overflow-perimeter, ".concat(N40A, ")"), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, akEditorTableCellOnStickyHeaderZIndex, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tableToolbarSize, stickyHeaderBorderBottomWidth, tableBorderColor(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, ClassName.TABLE_STICKY, insertColumnButtonOffset + 1, ClassName.TABLE_STICKY, ClassName.TABLE_CONTAINER, ClassName.TABLE_STICKY, ClassName.WITH_RESIZE_LINE, ClassName.WITH_RESIZE_LINE, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2 + 1, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.WITH_RESIZE_LINE, ClassName.SELECTED_CELL, ClassName.RESIZE_HANDLE_DECORATION, (resizeHandlerAreaWidth - resizeLineWidth) / 2, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.WITH_CONTROLS, tableControlsSpacing, ClassName.WITH_CONTROLS, ClassName.TABLE_STICKY, ClassName.NUMBERED_COLUMN, ClassName.NUMBERED_COLUMN_BUTTON, tableControlsSpacing + 2, ClassName.CORNER_CONTROLS, tableControlsSpacing - tableToolbarSize + 2, "var(--ds-surface, white)", sentinelStyles, OverflowShadow(props), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, tablePadding, ClassName.ROW_CONTROLS_WRAPPER, tablePadding, ClassName.TABLE_CONTAINER, akEditorTableNumberColumnWidth + tablePadding - 1, ClassName.TABLE_LEFT_SHADOW, ClassName.TABLE_RIGHT_SHADOW, ClassName.NODEVIEW_WRAPPER, breakoutWidthStyling(), columnControlsDecoration(props), ClassName.CORNER_CONTROLS, tableToolbarSize + 1, cornerControlHeight, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, InsertMarker(props, "\n left: -11px;\n top: 9px;\n "), ClassName.CORNER_CONTROLS, ClassName.CORNER_CONTROLS_INSERT_ROW_MARKER, ClassName.CONTROLS_CORNER_BUTTON, tableToolbarSize + 1, tableToolbarSize + 1, tableBorderColor(props), tableBorderRadiusSize, tableHeaderCellBackgroundColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor(props), tableToolbarSelectedColor(props), ClassName.TABLE_CONTAINER, ClassName.CORNER_CONTROLS, ClassName.CONTROLS_CORNER_BUTTON, getBooleanFF('platform.editor.custom-table-width') ? akEditorTableToolbarSize + akEditorTableNumberColumnWidth + 1 : akEditorTableToolbarSize + akEditorTableNumberColumnWidth, ClassName.ROW_CONTROLS, ClassName.CONTROLS_BUTTON, ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor(props), tableToolbarSelectedColor(props), ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor(props), tableToolbarDeleteColor(props), ClassName.ROW_CONTROLS, tableToolbarSize, InsertMarker(props, "\n bottom: -1px;\n left: -11px;\n "), ClassName.ROW_CONTROLS_INNER, ClassName.ROW_CONTROLS_BUTTON_WRAP, tableBorderRadiusSize, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.ROW_CONTROLS_BUTTON_WRAP, ClassName.CONTROLS_BUTTON, akEditorUnitZIndex, HeaderButton(props, "\n border-bottom: 1px solid ".concat(tableBorderColor(props), ";\n border-right: 0px;\n border-radius: 0;\n height: 100%;\n width: ").concat(tableToolbarSize, "px;\n\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, " {\n position: absolute;\n width: 30px;\n height: 50%;\n right: 0;\n bottom: 0;\n }\n .").concat(ClassName.CONTROLS_BUTTON_OVERLAY, ":first-of-type {\n top: 0;\n }\n ")), ClassName.IS_RESIZING, ClassName.ROW_CONTROLS, HeaderButtonHover(props), HeaderButtonDanger(props), ClassName.NUMBERED_COLUMN, getBooleanFF('platform.editor.custom-table-width') ? akEditorTableToolbarSize : akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableHeaderCellBackgroundColor(props), tableTextColor(props), tableBorderColor(props), tableBorderColor(props), ClassName.WITH_CONTROLS, ClassName.CORNER_CONTROLS, ClassName.ROW_CONTROLS, ClassName.NUMBERED_COLUMN, getBooleanFF('platform.editor.custom-table-width') ? 0 : 1, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor(props), tableBorderSelectedColor(props), tableToolbarSelectedColor(props), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor(props), tableBorderSelectedColor(props), tableToolbarSelectedColor(props), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableToolbarDeleteColor(props), tableBorderDeleteColor(props), "var(--ds-text-danger, ".concat(R500, ")"), akEditorUnitZIndex, ClassName.TABLE_NODE_WRAPPER, ClassName.COLUMN_CONTROLS_DECORATIONS, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, ClassName.SELECTED_CELL, ClassName.HOVERED_CELL_IN_DANGER, akEditorSmallZIndex, ClassName.SELECTED_CELL, tableBorderSelectedColor(props), ClassName.SELECTED_CELL, tableCellSelectedColor(props), akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor(props), akEditorUnitZIndex * 100, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, ClassName.TABLE_HEADER_CELL, ClassName.SELECTED_CELL, ClassName.TABLE_HEADER_CELL, ClassName.HOVERED_CELL, tableBorderSelectedColor(props), akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor(props), akEditorUnitZIndex * 100, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, tableWrapperStyles(), ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR, props !== null && props !== void 0 && (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.restartNumberedLists ? "" : listLargeNumericMarkersOldStyles, shadowSentinelStyles);
|
|
42
42
|
};
|
|
43
43
|
export var tableFullPageEditorStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n .ProseMirror .", " > table {\n margin-left: 0;\n // 1px border width offset added here to prevent unwanted overflow and scolling - ED-16212\n margin-right: -1px;\n width: 100%;\n }\n"])), ClassName.TABLE_NODE_WRAPPER);
|
|
44
44
|
export var tableCommentEditorStyles = css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n .ProseMirror .", " > table {\n margin-left: 0;\n margin-right: 0;\n ", ";\n }\n"])), ClassName.TABLE_NODE_WRAPPER, scrollbarStyles);
|