@atlaskit/editor-plugin-table 1.2.3 → 1.2.5
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/.eslintrc.js +2 -0
- package/CHANGELOG.md +14 -0
- package/dist/cjs/i18n/cs.js +43 -0
- package/dist/cjs/i18n/da.js +41 -0
- package/dist/cjs/i18n/de.js +41 -0
- package/dist/cjs/i18n/es.js +41 -0
- package/dist/cjs/i18n/fi.js +41 -0
- package/dist/cjs/i18n/fr.js +43 -0
- package/dist/cjs/i18n/hu.js +43 -0
- package/dist/cjs/i18n/it.js +43 -0
- package/dist/cjs/i18n/ja.js +43 -0
- package/dist/cjs/i18n/ko.js +41 -0
- package/dist/cjs/i18n/nb.js +41 -0
- package/dist/cjs/i18n/nl.js +43 -0
- package/dist/cjs/i18n/pl.js +43 -0
- package/dist/cjs/i18n/pt_BR.js +43 -0
- package/dist/cjs/i18n/ru.js +43 -0
- package/dist/cjs/i18n/sv.js +41 -0
- package/dist/cjs/i18n/th.js +41 -0
- package/dist/cjs/i18n/tr.js +43 -0
- package/dist/cjs/i18n/uk.js +43 -0
- package/dist/cjs/i18n/vi.js +41 -0
- package/dist/cjs/i18n/zh.js +43 -0
- package/dist/cjs/i18n/zh_TW.js +43 -0
- package/dist/cjs/plugins/table/commands/hover.js +0 -1
- package/dist/cjs/plugins/table/commands/misc.js +1 -1
- package/dist/cjs/plugins/table/commands/toggle.js +1 -1
- package/dist/cjs/plugins/table/handlers.js +2 -1
- package/dist/cjs/plugins/table/nodeviews/OverflowShadowsObserver.js +6 -0
- package/dist/cjs/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +8 -0
- package/dist/cjs/plugins/table/pm-plugins/table-local-id.js +12 -1
- package/dist/cjs/plugins/table/transforms/metadata.js +2 -0
- package/dist/cjs/plugins/table/types.js +25 -0
- package/dist/cjs/plugins/table/ui/FloatingContextualButton/index.js +1 -1
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +3 -1
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +7 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +36 -0
- package/dist/es2019/i18n/da.js +34 -0
- package/dist/es2019/i18n/de.js +34 -0
- package/dist/es2019/i18n/es.js +34 -0
- package/dist/es2019/i18n/fi.js +34 -0
- package/dist/es2019/i18n/fr.js +36 -0
- package/dist/es2019/i18n/hu.js +36 -0
- package/dist/es2019/i18n/it.js +36 -0
- package/dist/es2019/i18n/ja.js +36 -0
- package/dist/es2019/i18n/ko.js +34 -0
- package/dist/es2019/i18n/nb.js +34 -0
- package/dist/es2019/i18n/nl.js +36 -0
- package/dist/es2019/i18n/pl.js +36 -0
- package/dist/es2019/i18n/pt_BR.js +36 -0
- package/dist/es2019/i18n/ru.js +36 -0
- package/dist/es2019/i18n/sv.js +34 -0
- package/dist/es2019/i18n/th.js +34 -0
- package/dist/es2019/i18n/tr.js +36 -0
- package/dist/es2019/i18n/uk.js +36 -0
- package/dist/es2019/i18n/vi.js +34 -0
- package/dist/es2019/i18n/zh.js +36 -0
- package/dist/es2019/i18n/zh_TW.js +36 -0
- package/dist/es2019/plugins/table/commands/clear.js +0 -1
- package/dist/es2019/plugins/table/nodeviews/OverflowShadowsObserver.js +7 -0
- package/dist/es2019/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +7 -0
- package/dist/es2019/plugins/table/types.js +26 -0
- package/dist/es2019/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -0
- package/dist/es2019/plugins/table/ui/FloatingDeleteButton/index.js +8 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +36 -0
- package/dist/esm/i18n/da.js +34 -0
- package/dist/esm/i18n/de.js +34 -0
- package/dist/esm/i18n/es.js +34 -0
- package/dist/esm/i18n/fi.js +34 -0
- package/dist/esm/i18n/fr.js +36 -0
- package/dist/esm/i18n/hu.js +36 -0
- package/dist/esm/i18n/it.js +36 -0
- package/dist/esm/i18n/ja.js +36 -0
- package/dist/esm/i18n/ko.js +34 -0
- package/dist/esm/i18n/nb.js +34 -0
- package/dist/esm/i18n/nl.js +36 -0
- package/dist/esm/i18n/pl.js +36 -0
- package/dist/esm/i18n/pt_BR.js +36 -0
- package/dist/esm/i18n/ru.js +36 -0
- package/dist/esm/i18n/sv.js +34 -0
- package/dist/esm/i18n/th.js +34 -0
- package/dist/esm/i18n/tr.js +36 -0
- package/dist/esm/i18n/uk.js +36 -0
- package/dist/esm/i18n/vi.js +34 -0
- package/dist/esm/i18n/zh.js +36 -0
- package/dist/esm/i18n/zh_TW.js +36 -0
- package/dist/esm/plugins/table/commands/clear.js +0 -1
- package/dist/esm/plugins/table/nodeviews/OverflowShadowsObserver.js +6 -0
- package/dist/esm/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.js +8 -0
- package/dist/esm/plugins/table/types.js +26 -0
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -0
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +7 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +35 -0
- package/dist/types/i18n/da.d.ts +33 -0
- package/dist/types/i18n/de.d.ts +33 -0
- package/dist/types/i18n/es.d.ts +33 -0
- package/dist/types/i18n/fi.d.ts +33 -0
- package/dist/types/i18n/fr.d.ts +35 -0
- package/dist/types/i18n/hu.d.ts +35 -0
- package/dist/types/i18n/it.d.ts +35 -0
- package/dist/types/i18n/ja.d.ts +35 -0
- package/dist/types/i18n/ko.d.ts +33 -0
- package/dist/types/i18n/nb.d.ts +33 -0
- package/dist/types/i18n/nl.d.ts +35 -0
- package/dist/types/i18n/pl.d.ts +35 -0
- package/dist/types/i18n/pt_BR.d.ts +35 -0
- package/dist/types/i18n/ru.d.ts +35 -0
- package/dist/types/i18n/sv.d.ts +33 -0
- package/dist/types/i18n/th.d.ts +33 -0
- package/dist/types/i18n/tr.d.ts +35 -0
- package/dist/types/i18n/uk.d.ts +35 -0
- package/dist/types/i18n/vi.d.ts +33 -0
- package/dist/types/i18n/zh.d.ts +35 -0
- package/dist/types/i18n/zh_TW.d.ts +35 -0
- package/package.json +9 -8
- package/src/__tests__/unit/color-picker.ts +2 -0
- package/src/__tests__/unit/event-handlers.ts +11 -7
- package/src/__tests__/unit/get-toolbar-config.ts +2 -0
- package/src/__tests__/unit/pm-plugins/sticky-headers/tableRow.tsx +1 -1
- package/src/__tests__/visual-regression/__image_snapshots__/sticky-header-ts-snapshot-test-table-sticky-header-should-align-with-table-cell-when-active-1-snap.png +2 -2
- package/src/__tests__/visual-regression/__image_snapshots__/sticky-header-ts-snapshot-test-table-sticky-header-should-align-with-table-cell-when-active-2-snap.png +2 -2
- package/src/__tests__/visual-regression/sticky-header.ts +1 -2
- package/src/i18n/cs.ts +40 -0
- package/src/i18n/da.ts +35 -0
- package/src/i18n/de.ts +35 -0
- package/src/i18n/es.ts +35 -0
- package/src/i18n/fi.ts +35 -0
- package/src/i18n/fr.ts +37 -0
- package/src/i18n/hu.ts +37 -0
- package/src/i18n/it.ts +37 -0
- package/src/i18n/ja.ts +37 -0
- package/src/i18n/ko.ts +34 -0
- package/src/i18n/nb.ts +35 -0
- package/src/i18n/nl.ts +37 -0
- package/src/i18n/pl.ts +40 -0
- package/src/i18n/pt_BR.ts +37 -0
- package/src/i18n/ru.ts +40 -0
- package/src/i18n/sv.ts +35 -0
- package/src/i18n/th.ts +34 -0
- package/src/i18n/tr.ts +37 -0
- package/src/i18n/uk.ts +40 -0
- package/src/i18n/vi.ts +34 -0
- package/src/i18n/zh.ts +36 -0
- package/src/i18n/zh_TW.ts +36 -0
- package/src/plugins/table/ui/FloatingContextualMenu/ContextualMenu.tsx +2 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Norwegian (Bokmål)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Du kan ikke sortere en tabell med sammenslåtte celler',
|
|
11
|
+
'fabric.editor.cellBackground': 'Cellebakgrunn',
|
|
12
|
+
'fabric.editor.cellOptions': 'Cellealternativer',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Tøm celle} other {Tøm celler}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Minimer tabell',
|
|
15
|
+
'fabric.editor.cornerControl': 'Fremhev tabell',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Distribuer kolonner',
|
|
17
|
+
'fabric.editor.extension.deleteElementTitle': 'Slett element',
|
|
18
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Slett også tilkoblede elementer',
|
|
19
|
+
'fabric.editor.headerColumn': 'Overskriftskolonne',
|
|
20
|
+
'fabric.editor.headerRow': 'Overskriftsrad',
|
|
21
|
+
'fabric.editor.insertColumn': 'Sett inn kolonne til høyre',
|
|
22
|
+
'fabric.editor.insertRow': 'Sett inn rad under',
|
|
23
|
+
'fabric.editor.mergeCells': 'Slå sammen celler',
|
|
24
|
+
'fabric.editor.numberedColumn': 'Nummert kolonne',
|
|
25
|
+
'fabric.editor.removeColumns': '{0, plural, one {Slett kolonne} other {Slett kolonner}}',
|
|
26
|
+
'fabric.editor.removeRows': '{0, plural, one {Slett rad} other {Slett rader}}',
|
|
27
|
+
'fabric.editor.rowControl': 'Fremhev rad',
|
|
28
|
+
'fabric.editor.sortColumnASC': 'Sorter kolonne A → Å',
|
|
29
|
+
'fabric.editor.sortColumnDESC': 'Sorter kolonne Å → A',
|
|
30
|
+
'fabric.editor.splitCell': 'Del celle',
|
|
31
|
+
'fabric.editor.tableOptions': 'Tabellalternativer',
|
|
32
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Hvis du sletter {nodeName}, ødelegges alt som er koblet til den.',
|
|
33
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Slett'
|
|
34
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Dutch (Netherlands)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Je kan een tabel met samengevoegde cellen niet rangschikken',
|
|
11
|
+
'fabric.editor.cellBackground': 'Celachtergrond',
|
|
12
|
+
'fabric.editor.cellOptions': 'Celopties',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Cel leegmaken} other {Cellen leegmaken}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Tabel inklappen',
|
|
15
|
+
'fabric.editor.cornerControl': 'Tabel markeren',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Kolommen verdelen',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Bezig met verwijderen van',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Element verwijderen',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'dit element',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Ook gekoppelde elementen verwijderen',
|
|
21
|
+
'fabric.editor.headerColumn': 'Header-kolom',
|
|
22
|
+
'fabric.editor.headerRow': 'Header-rij',
|
|
23
|
+
'fabric.editor.insertColumn': 'Kolom rechts invoegen',
|
|
24
|
+
'fabric.editor.insertRow': 'Rij onder invoegen',
|
|
25
|
+
'fabric.editor.mergeCells': 'Voeg cellen samen',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Genummerde kolom',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Kolom verwijderen} other {Kolommen verwijderen}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Rij verwijderen} other {Rijen verwijderen}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Rij markeren',
|
|
30
|
+
'fabric.editor.sortColumnASC': 'Rangschik kolom van A → Z',
|
|
31
|
+
'fabric.editor.sortColumnDESC': 'Rangschik kolom van Z → A',
|
|
32
|
+
'fabric.editor.splitCell': 'Deel cel op',
|
|
33
|
+
'fabric.editor.tableOptions': 'Tabelopties',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Als je {nodeName} verwijdert, worden alle koppelingen ernaar verbroken.',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Verwijderen'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Polish (Poland)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Nie można sortować tabeli ze scalonymi komórkami',
|
|
11
|
+
'fabric.editor.cellBackground': 'Tło komórki',
|
|
12
|
+
'fabric.editor.cellOptions': 'Opcje komórki',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Wyczyść komórkę} few {Wyczyść komórki} many {Wyczyść komórki} other {Wyczyść komórki}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Zwiń tabelę',
|
|
15
|
+
'fabric.editor.cornerControl': 'Zaznacz tablicę',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Wyrównaj kolumny',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Usuwanie',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Usuwanie elementu',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'tego elementu',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Usuń także połączone elementy',
|
|
21
|
+
'fabric.editor.headerColumn': 'Kolumna nagłówka',
|
|
22
|
+
'fabric.editor.headerRow': 'Wiersz nagłówka',
|
|
23
|
+
'fabric.editor.insertColumn': 'Wstaw kolumnę z prawej',
|
|
24
|
+
'fabric.editor.insertRow': 'Wstaw wiersz poniżej',
|
|
25
|
+
'fabric.editor.mergeCells': 'Scal komórki',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Kolumna numerowana',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Usuń kolumnę} few {Usuń kolumny} many {Usuń kolumny} other {Usuń kolumny}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Usuń wiersz} few {Usuń wiersze} many {Usuń wiersze} other {Usuń wiersze}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Zaznacz wiersz',
|
|
30
|
+
'fabric.editor.sortColumnASC': 'Sortuj kolumnę A → Z',
|
|
31
|
+
'fabric.editor.sortColumnDESC': 'Sortuj kolumnę Z → A',
|
|
32
|
+
'fabric.editor.splitCell': 'Podziel komórki',
|
|
33
|
+
'fabric.editor.tableOptions': 'Opcje tabeli',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Usunięcie rozszerzenia {nodeName} spowoduje uszkodzenie wszystkiego, co jest z nim połączone.',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Usuń'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Portuguese (Brazil)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Você não pode ordenar uma tabela com células mescladas',
|
|
11
|
+
'fabric.editor.cellBackground': 'Plano de fundo da célula',
|
|
12
|
+
'fabric.editor.cellOptions': 'Opções de célula',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Limpar célula} other {Limpar células}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Recolher tabela',
|
|
15
|
+
'fabric.editor.cornerControl': 'Destacar tabela',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Distribuir colunas',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Exclusão',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Excluir elemento',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'este elemento',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Excluir também elementos conectados',
|
|
21
|
+
'fabric.editor.headerColumn': 'Coluna do cabeçalho',
|
|
22
|
+
'fabric.editor.headerRow': 'Linha do cabeçalho',
|
|
23
|
+
'fabric.editor.insertColumn': 'Inserir coluna à direita',
|
|
24
|
+
'fabric.editor.insertRow': 'Inserir linha abaixo',
|
|
25
|
+
'fabric.editor.mergeCells': 'Mesclar células',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Coluna numerada',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Excluir coluna} other {Excluir colunas}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Excluir linha} other {Excluir linhas}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Destacar linha',
|
|
30
|
+
'fabric.editor.sortColumnASC': 'Ordenar coluna A → Z',
|
|
31
|
+
'fabric.editor.sortColumnDESC': 'Ordenar coluna Z → A',
|
|
32
|
+
'fabric.editor.splitCell': 'Dividir célula',
|
|
33
|
+
'fabric.editor.tableOptions': 'Opções de tabela',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'A exclusão de {nodeName} vai interromper qualquer coisa conectada a ela.',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Excluir'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Russian
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Невозможно отсортировать таблицу с объединением ячеек',
|
|
11
|
+
'fabric.editor.cellBackground': 'Фон ячеек',
|
|
12
|
+
'fabric.editor.cellOptions': 'Параметры ячеек',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Очистить содержимое ячейки} few {Очистить содержимое ячеек} many {Очистить содержимое ячеек} other {Очистить содержимое ячеек}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Свернуть таблицу',
|
|
15
|
+
'fabric.editor.cornerControl': 'Выделить таблицу',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Распределить столбцы',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Удалить',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Удаление элемента',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'этот элемент',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Также удалить подключенные элементы',
|
|
21
|
+
'fabric.editor.headerColumn': 'Столбец заголовков',
|
|
22
|
+
'fabric.editor.headerRow': 'Строка заголовков',
|
|
23
|
+
'fabric.editor.insertColumn': 'Вставить столбец справа',
|
|
24
|
+
'fabric.editor.insertRow': 'Вставить строку ниже',
|
|
25
|
+
'fabric.editor.mergeCells': 'Объединить ячейки',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Столбец с нумерацией',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Удалить столбец} few {Удалить столбцы} many {Удалить столбцы} other {Удалить столбцы}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Удалить строку} few {Удалить строки} many {Удалить строки} other {Удалить строки}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Выделить строку',
|
|
30
|
+
'fabric.editor.sortColumnASC': 'Сортировать столбцы (А–Я)',
|
|
31
|
+
'fabric.editor.sortColumnDESC': 'Сортировать столбцы (Я–А)',
|
|
32
|
+
'fabric.editor.splitCell': 'Разделить ячейки',
|
|
33
|
+
'fabric.editor.tableOptions': 'Параметры таблицы',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'При удалении элемента «{nodeName}» нарушится работа всего, что с ним связано.',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Удалить'
|
|
36
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Swedish
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Du kan inte sortera en panelvy med sammanslagna celler',
|
|
11
|
+
'fabric.editor.cellBackground': 'Cellbakgrund',
|
|
12
|
+
'fabric.editor.cellOptions': 'Cellalternativ',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Rensa celler} other {Rensa celler}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Dölj tabell',
|
|
15
|
+
'fabric.editor.cornerControl': 'Markera tabellen',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Fördela kolumner',
|
|
17
|
+
'fabric.editor.extension.deleteElementTitle': 'Radera element',
|
|
18
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Radera även anslutna element',
|
|
19
|
+
'fabric.editor.headerColumn': 'Rubrikkolumn',
|
|
20
|
+
'fabric.editor.headerRow': 'Rubrikrad',
|
|
21
|
+
'fabric.editor.insertColumn': 'Infoga kolumn till höger',
|
|
22
|
+
'fabric.editor.insertRow': 'Infoga rad nedanför',
|
|
23
|
+
'fabric.editor.mergeCells': 'Sammanfoga celler',
|
|
24
|
+
'fabric.editor.numberedColumn': 'Numrerad kolumn',
|
|
25
|
+
'fabric.editor.removeColumns': '{0, plural, one {Radera kolumn} other {Radera kolumner}}',
|
|
26
|
+
'fabric.editor.removeRows': '{0, plural, one {Radera rad} other {Radera rader}}',
|
|
27
|
+
'fabric.editor.rowControl': 'Markera raden',
|
|
28
|
+
'fabric.editor.sortColumnASC': 'Sortera kolumn A → Ö',
|
|
29
|
+
'fabric.editor.sortColumnDESC': 'Sortera kolumn Ö → A',
|
|
30
|
+
'fabric.editor.splitCell': 'Dela cell',
|
|
31
|
+
'fabric.editor.tableOptions': 'Tabellalternativ',
|
|
32
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Om du raderar {nodeName} bryts allt som är kopplat till den.',
|
|
33
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Radera'
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Thai (Thailand)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ คุณไม่สามารถจัดเรียงตารางด้วยช่องข้อมูลที่ถูกรวมได้',
|
|
11
|
+
'fabric.editor.cellBackground': 'พื้นหลังช่องข้อมูล',
|
|
12
|
+
'fabric.editor.cellOptions': 'ตัวเลือกช่องข้อมูล',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, other {ล้างเซลล์}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'ย่อตาราง',
|
|
15
|
+
'fabric.editor.cornerControl': 'ไฮไลท์ตาราง',
|
|
16
|
+
'fabric.editor.distributeColumns': 'แบ่งคอลัมน์',
|
|
17
|
+
'fabric.editor.extension.deleteElementTitle': 'ลบองค์ประกอบ',
|
|
18
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'ลบองค์ประกอบที่เชื่อมต่อด้วย',
|
|
19
|
+
'fabric.editor.headerColumn': 'คอลัมน์ส่วนหัว',
|
|
20
|
+
'fabric.editor.headerRow': 'แถวส่วนหัว',
|
|
21
|
+
'fabric.editor.insertColumn': 'แทรกคอลัมน์ทางด้านขวา',
|
|
22
|
+
'fabric.editor.insertRow': 'แทรกแถวด้านล่าง',
|
|
23
|
+
'fabric.editor.mergeCells': 'รวมช่องข้อมูล',
|
|
24
|
+
'fabric.editor.numberedColumn': 'คอลัมน์แบบมีตัวเลข',
|
|
25
|
+
'fabric.editor.removeColumns': '{0, plural, other {ลบคอลัมน์}}',
|
|
26
|
+
'fabric.editor.removeRows': '{0, plural, other {ลบแถว}}',
|
|
27
|
+
'fabric.editor.rowControl': 'ไฮไลท์แถว',
|
|
28
|
+
'fabric.editor.sortColumnASC': 'จัดเรียงคอลัมน์ A → Z',
|
|
29
|
+
'fabric.editor.sortColumnDESC': 'จัดเรียงคอลัมน์ Z → A',
|
|
30
|
+
'fabric.editor.splitCell': 'แยกช่องข้อมูล',
|
|
31
|
+
'fabric.editor.tableOptions': 'ตัวเลือกตาราง',
|
|
32
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'การลบ {nodeName} จะยุติทุกอย่างที่เชื่อมโยงอยู่',
|
|
33
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'ลบ'
|
|
34
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Turkish (Turkey)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Birleştirilmiş hücre içeren bir tabloyu sıralayamazsınız',
|
|
11
|
+
'fabric.editor.cellBackground': 'Hücre arka planı',
|
|
12
|
+
'fabric.editor.cellOptions': 'Hücre seçenekleri',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Hücreyi temizle} other {Hücreleri temizle}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Tabloyu daralt',
|
|
15
|
+
'fabric.editor.cornerControl': 'Tabloyu vurgula',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Sütunları eşit dağıt',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Siliniyor',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Öğeyi sil',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'bu öğe',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Bağlı öğeleri de sil',
|
|
21
|
+
'fabric.editor.headerColumn': 'Başlık sütunu',
|
|
22
|
+
'fabric.editor.headerRow': 'Başlık satırı',
|
|
23
|
+
'fabric.editor.insertColumn': 'Sağa sütun ekle',
|
|
24
|
+
'fabric.editor.insertRow': 'Aşağıya satır ekle',
|
|
25
|
+
'fabric.editor.mergeCells': 'Hücreleri birleştir',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Numaralı sütun',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Sütunu sil} other {Sütunları sil}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Satırı sil} other {Satırları sil}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Satırı vurgula',
|
|
30
|
+
'fabric.editor.sortColumnASC': "Sütunu A'dan Z'ye sırala",
|
|
31
|
+
'fabric.editor.sortColumnDESC': "Sütunu Z'den A'ya sırala",
|
|
32
|
+
'fabric.editor.splitCell': 'Hücreyi ayır',
|
|
33
|
+
'fabric.editor.tableOptions': 'Tablo seçenekleri',
|
|
34
|
+
'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
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Ukrainian (Ukraine)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
11
|
+
'fabric.editor.cellBackground': 'Фон клітинки',
|
|
12
|
+
'fabric.editor.cellOptions': 'Параметри клітинки',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, one {Очистити клітинки} few {Очистити клітинки} many {Очистити клітинки} other {Очистити клітинки}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Згорнути таблицю',
|
|
15
|
+
'fabric.editor.cornerControl': 'Виділити таблицю',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Вирівняти стовпці по ширині',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': 'Видалення',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': 'Видалення елемента',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': 'цей елемент',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Видалити пов’язані елементи',
|
|
21
|
+
'fabric.editor.headerColumn': 'Стовпець заголовка',
|
|
22
|
+
'fabric.editor.headerRow': 'Рядок заголовка',
|
|
23
|
+
'fabric.editor.insertColumn': 'Вставити стовпець справа',
|
|
24
|
+
'fabric.editor.insertRow': 'Вставити рядок знизу',
|
|
25
|
+
'fabric.editor.mergeCells': 'Об’єднати клітинки',
|
|
26
|
+
'fabric.editor.numberedColumn': 'Нумерований стовпець',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, one {Видалити стовпець} few {Видалити стовпці} many {Видалити стовпці} other {Видалити стовпці}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, one {Видалити рядок} few {Видалити рядки} many {Видалити рядки} other {Видалити рядки}}',
|
|
29
|
+
'fabric.editor.rowControl': 'Виділити рядок',
|
|
30
|
+
'fabric.editor.sortColumnASC': 'Сортувати стовпці від А до Я',
|
|
31
|
+
'fabric.editor.sortColumnDESC': 'Сортувати стовпці від Я до А',
|
|
32
|
+
'fabric.editor.splitCell': 'Розділити клітинки',
|
|
33
|
+
'fabric.editor.tableOptions': 'Параметри таблиці',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': 'Видалення розширення {nodeName} порушить роботу всього, що з ним пов’язано.',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': 'Видалити'
|
|
36
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Vietnamese (Vietnam)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ Bạn không thể sắp xếp bảng có các ô đã hợp nhất',
|
|
11
|
+
'fabric.editor.cellBackground': 'Nền ô',
|
|
12
|
+
'fabric.editor.cellOptions': 'Tùy chọn ô',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, other {Xóa ô}}',
|
|
14
|
+
'fabric.editor.collapseTable': 'Thu gọn bảng',
|
|
15
|
+
'fabric.editor.cornerControl': 'Bảng nổi bật',
|
|
16
|
+
'fabric.editor.distributeColumns': 'Phân phối cột',
|
|
17
|
+
'fabric.editor.extension.deleteElementTitle': 'Xóa thành phần',
|
|
18
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': 'Đồng thời xóa các thành phần được kết nối',
|
|
19
|
+
'fabric.editor.headerColumn': 'Cột tiêu đề',
|
|
20
|
+
'fabric.editor.headerRow': 'Hàng tiêu đề',
|
|
21
|
+
'fabric.editor.insertColumn': 'Chèn cột vào bên phải',
|
|
22
|
+
'fabric.editor.insertRow': 'Chèn hàng ở bên dưới',
|
|
23
|
+
'fabric.editor.mergeCells': 'Hợp nhất ô',
|
|
24
|
+
'fabric.editor.numberedColumn': 'Cột được đánh số',
|
|
25
|
+
'fabric.editor.removeColumns': '{0, plural, other {Xóa cột}}',
|
|
26
|
+
'fabric.editor.removeRows': '{0, plural, other {Xóa hàng}}',
|
|
27
|
+
'fabric.editor.rowControl': 'Hàng nổi bật',
|
|
28
|
+
'fabric.editor.sortColumnASC': 'Sắp xếp cột A → Z',
|
|
29
|
+
'fabric.editor.sortColumnDESC': 'Sắp xếp cột Z → A',
|
|
30
|
+
'fabric.editor.splitCell': 'Tách ô',
|
|
31
|
+
'fabric.editor.tableOptions': 'Tùy chọn bảng',
|
|
32
|
+
'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
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Chinese (Simplified)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ 无法对包含合并单元格的表格进行排序',
|
|
11
|
+
'fabric.editor.cellBackground': '单元格背景',
|
|
12
|
+
'fabric.editor.cellOptions': '单元格选项',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, other {清除单元格}}',
|
|
14
|
+
'fabric.editor.collapseTable': '收起表格',
|
|
15
|
+
'fabric.editor.cornerControl': '突出显示表格',
|
|
16
|
+
'fabric.editor.distributeColumns': '分散列',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': '正在删除',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': '删除元素',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': '此元素',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': '同时删除已连接的元素',
|
|
21
|
+
'fabric.editor.headerColumn': '标头列',
|
|
22
|
+
'fabric.editor.headerRow': '表头行',
|
|
23
|
+
'fabric.editor.insertColumn': '在右侧插入列',
|
|
24
|
+
'fabric.editor.insertRow': '在下方插入行',
|
|
25
|
+
'fabric.editor.mergeCells': '合并单元格',
|
|
26
|
+
'fabric.editor.numberedColumn': '编号列',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, other {删除列}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, other {删除行}}',
|
|
29
|
+
'fabric.editor.rowControl': '突出显示行',
|
|
30
|
+
'fabric.editor.sortColumnASC': '对列 A → Z 进行排序',
|
|
31
|
+
'fabric.editor.sortColumnDESC': '对列 Z → A 进行排序',
|
|
32
|
+
'fabric.editor.splitCell': '分离单元格',
|
|
33
|
+
'fabric.editor.tableOptions': '表格选项',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '删除 {nodeName} 将断开与其连接的所有内容。',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '删除'
|
|
36
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Chinese (Traditional)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.editor.canNotSortTable': '⚠️ 您無法排序包含合併儲存格的表格',
|
|
11
|
+
'fabric.editor.cellBackground': '儲存格背景',
|
|
12
|
+
'fabric.editor.cellOptions': '儲存格選項',
|
|
13
|
+
'fabric.editor.clearCells': '{0, plural, other {清除儲存格}}',
|
|
14
|
+
'fabric.editor.collapseTable': '摺疊表格',
|
|
15
|
+
'fabric.editor.cornerControl': '醒目提示表格',
|
|
16
|
+
'fabric.editor.distributeColumns': '平均分配直欄寬度',
|
|
17
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': '正在刪除',
|
|
18
|
+
'fabric.editor.extension.deleteElementTitle': '刪除元素',
|
|
19
|
+
'fabric.editor.extension.sourceNoTitledName': '這個元素',
|
|
20
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': '同時刪除已連結的元素',
|
|
21
|
+
'fabric.editor.headerColumn': '標題欄',
|
|
22
|
+
'fabric.editor.headerRow': '標題列',
|
|
23
|
+
'fabric.editor.insertColumn': '在右側插入直欄',
|
|
24
|
+
'fabric.editor.insertRow': '在下方插入列',
|
|
25
|
+
'fabric.editor.mergeCells': '合併儲存格',
|
|
26
|
+
'fabric.editor.numberedColumn': '編號直欄',
|
|
27
|
+
'fabric.editor.removeColumns': '{0, plural, other {刪除直欄}}',
|
|
28
|
+
'fabric.editor.removeRows': '{0, plural, other {刪除列}}',
|
|
29
|
+
'fabric.editor.rowControl': '醒目提示列',
|
|
30
|
+
'fabric.editor.sortColumnASC': '以 A → Z 排序直欄',
|
|
31
|
+
'fabric.editor.sortColumnDESC': '以 Z → A 排序直欄',
|
|
32
|
+
'fabric.editor.splitCell': '分割儲存格',
|
|
33
|
+
'fabric.editor.tableOptions': '表格選項',
|
|
34
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': '刪除 {nodeName} 將中斷與其連結的任何內容。',
|
|
35
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': '刪除'
|
|
36
|
+
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { Selection } from 'prosemirror-state';
|
|
3
3
|
import { findCellClosestToPos, emptyCell, isSelectionType } from '@atlaskit/editor-tables/utils';
|
|
4
4
|
// #endregion
|
|
5
|
-
|
|
6
5
|
// #region Commands
|
|
7
6
|
export var clearMultipleCells = function clearMultipleCells(targetCellPosition) {
|
|
8
7
|
return function (state, dispatch) {
|
|
@@ -115,6 +115,12 @@ export var OverflowShadowsObserver = /*#__PURE__*/function () {
|
|
|
115
115
|
var stickyCell = stickyRow && stickyRow.firstElementChild;
|
|
116
116
|
return stickyCell;
|
|
117
117
|
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Takes a heightStyle if it can be computed in a less expensive manner,
|
|
121
|
+
* e.g. bounds on an IntersectionObserverEntry, otherwise proceed with
|
|
122
|
+
* reading it from sticky cell
|
|
123
|
+
*/
|
|
118
124
|
}, {
|
|
119
125
|
key: "dispose",
|
|
120
126
|
value: function dispose() {
|
|
@@ -318,6 +318,10 @@ export var TableRowNodeView = /*#__PURE__*/function () {
|
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
/* external events */
|
|
321
|
+
|
|
322
|
+
// When the header is sticky, the header row is set to position: fixed
|
|
323
|
+
// This prevents mouse wheel scrolling on the scroll-parent div when user's mouse is hovering the header row.
|
|
324
|
+
// This fix sets pointer-events: none on the header row briefly to avoid this behaviour
|
|
321
325
|
_createClass(TableRowNodeView, [{
|
|
322
326
|
key: "tree",
|
|
323
327
|
get:
|
|
@@ -554,6 +558,10 @@ export var TableRowNodeView = /*#__PURE__*/function () {
|
|
|
554
558
|
}
|
|
555
559
|
|
|
556
560
|
/* receive external events */
|
|
561
|
+
|
|
562
|
+
// TODO: rename!
|
|
563
|
+
|
|
564
|
+
/* emit external events */
|
|
557
565
|
}]);
|
|
558
566
|
return TableRowNodeView;
|
|
559
567
|
}();
|
|
@@ -4,6 +4,32 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
import { tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
5
5
|
import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
6
6
|
export var RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* This type represents the start and end from a cell in a column,
|
|
10
|
+
* for example, on this table the cell C1 will have
|
|
11
|
+
* `left: 1` and `right: 3`.
|
|
12
|
+
*
|
|
13
|
+
* ```
|
|
14
|
+
* left right
|
|
15
|
+
* 1 3
|
|
16
|
+
* | |
|
|
17
|
+
* | |
|
|
18
|
+
* | |
|
|
19
|
+
* _______∨_____________∨_______
|
|
20
|
+
* | | | |
|
|
21
|
+
* | B1 | C1 | A1 |
|
|
22
|
+
* |______|______ ______|______|
|
|
23
|
+
* | | | |
|
|
24
|
+
* | B2 | D1 | A2 |
|
|
25
|
+
* |______ ______|______|______|
|
|
26
|
+
* | | | |
|
|
27
|
+
* | B3 | C2 | D2 |
|
|
28
|
+
* |______|______|_____________|
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
|
|
7
33
|
export var TableDecorations;
|
|
8
34
|
(function (TableDecorations) {
|
|
9
35
|
TableDecorations["ALL_CONTROLS_HOVER"] = "CONTROLS_HOVER";
|
|
@@ -12,6 +12,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
import { Component } from 'react';
|
|
14
14
|
import { jsx } from '@emotion/react';
|
|
15
|
+
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
15
16
|
import { splitCell } from '@atlaskit/editor-tables/utils';
|
|
16
17
|
import { defineMessages, injectIntl } from 'react-intl-next';
|
|
17
18
|
import { addColumnAfter, addRowAfter, backspace, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
@@ -141,6 +142,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
|
|
|
141
142
|
paletteOptions: {
|
|
142
143
|
palette: cellBackgroundColorPalette,
|
|
143
144
|
paletteColorTooltipMessages: backgroundPaletteTooltipMessages,
|
|
145
|
+
hexToPaletteColor: hexToEditorBackgroundPaletteColor,
|
|
144
146
|
// We did not want to create new FF or update
|
|
145
147
|
// useSomewhatSemanticTextColorNames name
|
|
146
148
|
// because it is temporary and require extra work.
|
|
@@ -277,6 +277,13 @@ var FloatingDeleteButton = /*#__PURE__*/function (_Component) {
|
|
|
277
277
|
// Do nothing if doesn't change anything
|
|
278
278
|
return null;
|
|
279
279
|
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
*
|
|
284
|
+
* @private
|
|
285
|
+
* @memberof FloatingDeleteButton
|
|
286
|
+
*/
|
|
280
287
|
}]);
|
|
281
288
|
return FloatingDeleteButton;
|
|
282
289
|
}(Component);
|
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'fabric.editor.canNotSortTable': string;
|
|
3
|
+
'fabric.editor.cellBackground': string;
|
|
4
|
+
'fabric.editor.cellOptions': string;
|
|
5
|
+
'fabric.editor.clearCells': string;
|
|
6
|
+
'fabric.editor.collapseTable': string;
|
|
7
|
+
'fabric.editor.cornerControl': string;
|
|
8
|
+
'fabric.editor.distributeColumns': string;
|
|
9
|
+
'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix': string;
|
|
10
|
+
'fabric.editor.extension.deleteElementTitle': string;
|
|
11
|
+
'fabric.editor.extension.sourceNoTitledName': string;
|
|
12
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': string;
|
|
13
|
+
'fabric.editor.headerColumn': string;
|
|
14
|
+
'fabric.editor.headerRow': string;
|
|
15
|
+
'fabric.editor.insertColumn': string;
|
|
16
|
+
'fabric.editor.insertRow': string;
|
|
17
|
+
'fabric.editor.mergeCells': string;
|
|
18
|
+
'fabric.editor.numberedColumn': string;
|
|
19
|
+
'fabric.editor.removeColumns': string;
|
|
20
|
+
'fabric.editor.removeRows': string;
|
|
21
|
+
'fabric.editor.rowControl': string;
|
|
22
|
+
'fabric.editor.sortColumnASC': string;
|
|
23
|
+
'fabric.editor.sortColumnDESC': string;
|
|
24
|
+
'fabric.editor.splitCell': string;
|
|
25
|
+
'fabric.editor.tableOptions': string;
|
|
26
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
27
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* NOTE:
|
|
31
|
+
*
|
|
32
|
+
* This file is automatically generated by Traduki 2.0.
|
|
33
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
34
|
+
*/
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'fabric.editor.canNotSortTable': string;
|
|
3
|
+
'fabric.editor.cellBackground': string;
|
|
4
|
+
'fabric.editor.cellOptions': string;
|
|
5
|
+
'fabric.editor.clearCells': string;
|
|
6
|
+
'fabric.editor.collapseTable': string;
|
|
7
|
+
'fabric.editor.cornerControl': string;
|
|
8
|
+
'fabric.editor.distributeColumns': string;
|
|
9
|
+
'fabric.editor.extension.deleteElementTitle': string;
|
|
10
|
+
'fabric.editor.floatingToolbar.confirmModalCheckboxLabel': string;
|
|
11
|
+
'fabric.editor.headerColumn': string;
|
|
12
|
+
'fabric.editor.headerRow': string;
|
|
13
|
+
'fabric.editor.insertColumn': string;
|
|
14
|
+
'fabric.editor.insertRow': string;
|
|
15
|
+
'fabric.editor.mergeCells': string;
|
|
16
|
+
'fabric.editor.numberedColumn': string;
|
|
17
|
+
'fabric.editor.removeColumns': string;
|
|
18
|
+
'fabric.editor.removeRows': string;
|
|
19
|
+
'fabric.editor.rowControl': string;
|
|
20
|
+
'fabric.editor.sortColumnASC': string;
|
|
21
|
+
'fabric.editor.sortColumnDESC': string;
|
|
22
|
+
'fabric.editor.splitCell': string;
|
|
23
|
+
'fabric.editor.tableOptions': string;
|
|
24
|
+
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
25
|
+
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* NOTE:
|
|
29
|
+
*
|
|
30
|
+
* This file is automatically generated by Traduki 2.0.
|
|
31
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
32
|
+
*/
|
|
33
|
+
export default _default;
|