@atlaskit/editor-plugin-table 1.2.2 → 1.2.4
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 +1 -1
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +7 -0
- package/dist/cjs/plugins/table/ui/common-styles.js +11 -5
- 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/FloatingDeleteButton/index.js +8 -0
- package/dist/es2019/plugins/table/ui/common-styles.js +30 -7
- 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/FloatingDeleteButton/index.js +7 -0
- package/dist/esm/plugins/table/ui/common-styles.js +11 -5
- 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 +8 -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/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/common-styles.ts +34 -5
|
@@ -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";
|
|
@@ -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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
2
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { tableMarginTop, tableSharedStyle } from '@atlaskit/editor-common/styles';
|
|
5
5
|
import { fontSize } from '@atlaskit/theme/constants';
|
|
@@ -23,11 +23,17 @@ var shadowSentinelStyles = "\n .".concat(ClassName.TABLE_SHADOW_SENTINEL_LEFT,
|
|
|
23
23
|
// previous styles to add spacing to numbered lists with
|
|
24
24
|
// large item markers (e.g. 101, 102, ...) when nested inside tables
|
|
25
25
|
var listLargeNumericMarkersOldStyles = "\n .ProseMirror .pm-table-cell-content-wrap ol[data-child-count='100+'] {\n padding-left: revert;\n }\n";
|
|
26
|
+
var breakoutWidthStyling = function breakoutWidthStyling(useFragmentMarkBreakoutWidthStylingFix) {
|
|
27
|
+
if (useFragmentMarkBreakoutWidthStylingFix) {
|
|
28
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n > *:not([data-mark-type='fragment'])\n .", "\n .", " {\n margin-left: unset !important;\n width: 100% !important;\n }\n\n > [data-mark-type='fragment']\n *\n .", "\n .", " {\n margin-left: unset !important;\n width: 100% !important;\n }\n "])), ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER, ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER);
|
|
29
|
+
}
|
|
30
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n > * .", " .", " {\n margin-left: unset !important;\n width: 100% !important;\n }\n "])), ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER);
|
|
31
|
+
};
|
|
26
32
|
|
|
27
33
|
// TODO: https://product-fabric.atlassian.net/browse/DSP-4139
|
|
28
34
|
export var tableStyles = function tableStyles(props) {
|
|
29
|
-
var _props$featureFlags, _props$featureFlags2;
|
|
30
|
-
return css(_templateObject || (_templateObject = _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 */\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: ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\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 */\n > * .", " .", " {\n margin-left: unset !important;\n width: 100% !important;\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 td.", ", td.", " {\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 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 }\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(props), hoveredDeleteButton, hoveredCell, hoveredWarningCell, resizeHandle, 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, ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper, DeleteButton, 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, stickyRowZIndex, "var(--ds-surface, white)", "var(--ds-shadow-overflow, ".concat("0 6px 4px -4px ".concat(N40A), ")"), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, stickyRowZIndex + 1, 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)", (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.stickyHeadersOptimization ? 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, ClassName.NODEVIEW_WRAPPER, ClassName.TABLE_CONTAINER, 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, tableToolbarColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), 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, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, "var(--ds-background-danger, ".concat(tableToolbarDeleteColor, ")"), 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(), HeaderButtonDanger(), ClassName.NUMBERED_COLUMN, akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableToolbarColor(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, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, "var(--ds-background-danger, ".concat(tableToolbarDeleteColor, ")"), tableBorderDeleteColor, "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, ClassName.SELECTED_CELL, tableCellSelectedColor, akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor, akEditorUnitZIndex * 100, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, tableBorderSelectedColor, akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, akEditorUnitZIndex * 100, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, ClassName.TABLE_NODE_WRAPPER, insertColumnButtonOffset, insertColumnButtonOffset, ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR, props !== null && props !== void 0 && (_props$featureFlags2 = props.featureFlags) !== null && _props$featureFlags2 !== void 0 && _props$featureFlags2.restartNumberedLists ? "" : listLargeNumericMarkersOldStyles, shadowSentinelStyles);
|
|
35
|
+
var _props$featureFlags, _props$featureFlags$u, _props$featureFlags2, _props$featureFlags3;
|
|
36
|
+
return css(_templateObject3 || (_templateObject3 = _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 */\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: ", ";\n margin-left: -1px;\n\n &.no-pointer-events {\n pointer-events: none;\n }\n }\n\n .", " .", " {\n left: unset;\n position: fixed;\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 td.", ", td.", " {\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 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 }\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(props), hoveredDeleteButton, hoveredCell, hoveredWarningCell, resizeHandle, 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, ClassName.CONTROLS_FLOATING_BUTTON_ROW, insertRowButtonWrapper, DeleteButton, 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, stickyRowZIndex, "var(--ds-surface, white)", "var(--ds-shadow-overflow, ".concat("0 6px 4px -4px ".concat(N40A), ")"), ClassName.TABLE_STICKY, ClassName.TABLE_STICKY_SHADOW, stickyRowZIndex + 1, 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)", (_props$featureFlags = props.featureFlags) !== null && _props$featureFlags !== void 0 && _props$featureFlags.stickyHeadersOptimization ? 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((_props$featureFlags$u = (_props$featureFlags2 = props.featureFlags) === null || _props$featureFlags2 === void 0 ? void 0 : _props$featureFlags2.useFragmentMarkBreakoutWidthStylingFix) !== null && _props$featureFlags$u !== void 0 ? _props$featureFlags$u : true), 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, tableToolbarColor(props), ClassName.CONTROLS_CORNER_BUTTON, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), 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, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), ClassName.IS_RESIZING, ClassName.CONTROLS_CORNER_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, "var(--ds-background-danger, ".concat(tableToolbarDeleteColor, ")"), 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(), HeaderButtonDanger(), ClassName.NUMBERED_COLUMN, akEditorTableToolbarSize - 1, akEditorTableToolbarSize, akEditorTableNumberColumnWidth + 1, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderColor(props), relativeFontSizeToBase16(fontSize()), tableToolbarColor(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, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.IS_RESIZING, ClassName.WITH_CONTROLS, ClassName.NUMBERED_COLUMN_BUTTON, ClassName.NUMBERED_COLUMN_BUTTON, tableBorderSelectedColor, tableBorderSelectedColor, "var(--ds-background-selected, ".concat(tableToolbarSelectedColor, ")"), akEditorUnitZIndex, "var(--ds-text-selected, ".concat(N0, ")"), ClassName.NUMBERED_COLUMN_BUTTON, ClassName.HOVERED_CELL_IN_DANGER, "var(--ds-background-danger, ".concat(tableToolbarDeleteColor, ")"), tableBorderDeleteColor, "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, ClassName.SELECTED_CELL, tableCellSelectedColor, akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, ClassName.HOVERED_CELL_IN_DANGER, tableCellDeleteColor, akEditorUnitZIndex * 100, ClassName.HOVERED_CELL, ClassName.SELECTED_CELL, tableBorderSelectedColor, akEditorSmallZIndex, ClassName.HOVERED_CELL_IN_DANGER, tableBorderDeleteColor, akEditorUnitZIndex * 100, ClassName.ROW_CONTROLS_WRAPPER, tableMarginTop - cornerControlHeight + 1, ClassName.ROW_CONTROLS_WRAPPER, ClassName.TABLE_LEFT_SHADOW, akEditorUnitZIndex, ClassName.ROW_CONTROLS_WRAPPER, tableToolbarSize, ClassName.TABLE_NODE_WRAPPER, insertColumnButtonOffset, insertColumnButtonOffset, ClassName.IS_RESIZING, ClassName.TABLE_NODE_WRAPPER, scrollbarStyles, ClassName.RESIZE_CURSOR, props !== null && props !== void 0 && (_props$featureFlags3 = props.featureFlags) !== null && _props$featureFlags3 !== void 0 && _props$featureFlags3.restartNumberedLists ? "" : listLargeNumericMarkersOldStyles, shadowSentinelStyles);
|
|
31
37
|
};
|
|
32
|
-
export var tableFullPageEditorStyles = css(
|
|
33
|
-
export var tableCommentEditorStyles = css(
|
|
38
|
+
export var tableFullPageEditorStyles = css(_templateObject4 || (_templateObject4 = _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);
|
|
39
|
+
export var tableCommentEditorStyles = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n .ProseMirror .", " > table {\n margin-left: 0;\n margin-right: 0;\n ", ";\n }\n"])), ClassName.TABLE_NODE_WRAPPER, scrollbarStyles);
|
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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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,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,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,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;
|