@atlaskit/editor-plugin-table 4.1.1 → 4.2.1

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.
Files changed (199) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/plugins/table/commands/delete.js +18 -0
  3. package/dist/cjs/plugins/table/commands-with-analytics.js +2 -7
  4. package/dist/cjs/plugins/table/event-handlers.js +2 -2
  5. package/dist/cjs/plugins/table/pm-plugins/main.js +1 -1
  6. package/dist/cjs/plugins/table/transforms/column-width.js +112 -7
  7. package/dist/cjs/plugins/table/transforms/delete-columns.js +16 -6
  8. package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
  9. package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +1 -1
  10. package/dist/cjs/plugins/table/ui/common-styles.js +1 -1
  11. package/dist/es2019/plugins/table/commands/delete.js +10 -0
  12. package/dist/es2019/plugins/table/commands-with-analytics.js +3 -8
  13. package/dist/es2019/plugins/table/event-handlers.js +2 -2
  14. package/dist/es2019/plugins/table/pm-plugins/main.js +1 -1
  15. package/dist/es2019/plugins/table/transforms/column-width.js +107 -7
  16. package/dist/es2019/plugins/table/transforms/delete-columns.js +16 -5
  17. package/dist/es2019/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
  18. package/dist/es2019/plugins/table/ui/FloatingDeleteButton/index.js +1 -1
  19. package/dist/es2019/plugins/table/ui/common-styles.js +0 -1
  20. package/dist/esm/plugins/table/commands/delete.js +12 -0
  21. package/dist/esm/plugins/table/commands-with-analytics.js +3 -8
  22. package/dist/esm/plugins/table/event-handlers.js +2 -2
  23. package/dist/esm/plugins/table/pm-plugins/main.js +1 -1
  24. package/dist/esm/plugins/table/transforms/column-width.js +113 -7
  25. package/dist/esm/plugins/table/transforms/delete-columns.js +16 -6
  26. package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +1 -1
  27. package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +1 -1
  28. package/dist/esm/plugins/table/ui/common-styles.js +1 -1
  29. package/dist/types/plugins/table/commands/delete.d.ts +3 -0
  30. package/dist/types/plugins/table/event-handlers.d.ts +1 -1
  31. package/dist/types/plugins/table/pm-plugins/table-resizing/utils/misc.d.ts +1 -1
  32. package/dist/types/plugins/table/transforms/column-width.d.ts +25 -6
  33. package/dist/types/plugins/table/transforms/delete-columns.d.ts +2 -1
  34. package/dist/types/plugins/table/ui/FloatingDeleteButton/index.d.ts +4 -4
  35. package/package.json +5 -2
  36. package/src/__tests__/unit/commands.ts +1 -0
  37. package/src/__tests__/unit/transforms/delete-columns.ts +406 -105
  38. package/src/__tests__/unit/undo-redo.ts +1 -1
  39. package/src/plugins/table/commands/delete.ts +20 -0
  40. package/src/plugins/table/commands-with-analytics.ts +3 -10
  41. package/src/plugins/table/event-handlers.ts +6 -1
  42. package/src/plugins/table/pm-plugins/main.ts +7 -1
  43. package/src/plugins/table/pm-plugins/table-resizing/utils/misc.ts +1 -1
  44. package/src/plugins/table/transforms/column-width.ts +163 -17
  45. package/src/plugins/table/transforms/delete-columns.ts +23 -6
  46. package/src/plugins/table/ui/FloatingContextualMenu/ContextualMenu.tsx +1 -1
  47. package/src/plugins/table/ui/FloatingDeleteButton/index.tsx +7 -6
  48. package/src/plugins/table/ui/common-styles.ts +0 -1
  49. package/dist/types-ts4.5/i18n/cs.d.ts +0 -37
  50. package/dist/types-ts4.5/i18n/da.d.ts +0 -35
  51. package/dist/types-ts4.5/i18n/de.d.ts +0 -35
  52. package/dist/types-ts4.5/i18n/en.d.ts +0 -37
  53. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -37
  54. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -37
  55. package/dist/types-ts4.5/i18n/es.d.ts +0 -35
  56. package/dist/types-ts4.5/i18n/fi.d.ts +0 -35
  57. package/dist/types-ts4.5/i18n/fr.d.ts +0 -37
  58. package/dist/types-ts4.5/i18n/hu.d.ts +0 -37
  59. package/dist/types-ts4.5/i18n/it.d.ts +0 -37
  60. package/dist/types-ts4.5/i18n/ja.d.ts +0 -37
  61. package/dist/types-ts4.5/i18n/ko.d.ts +0 -35
  62. package/dist/types-ts4.5/i18n/nb.d.ts +0 -35
  63. package/dist/types-ts4.5/i18n/nl.d.ts +0 -37
  64. package/dist/types-ts4.5/i18n/pl.d.ts +0 -37
  65. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -37
  66. package/dist/types-ts4.5/i18n/ru.d.ts +0 -37
  67. package/dist/types-ts4.5/i18n/sv.d.ts +0 -35
  68. package/dist/types-ts4.5/i18n/th.d.ts +0 -35
  69. package/dist/types-ts4.5/i18n/tr.d.ts +0 -37
  70. package/dist/types-ts4.5/i18n/uk.d.ts +0 -37
  71. package/dist/types-ts4.5/i18n/vi.d.ts +0 -35
  72. package/dist/types-ts4.5/i18n/zh.d.ts +0 -37
  73. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -37
  74. package/dist/types-ts4.5/index.d.ts +0 -2
  75. package/dist/types-ts4.5/plugins/table/commands/clear.d.ts +0 -3
  76. package/dist/types-ts4.5/plugins/table/commands/collapse.d.ts +0 -2
  77. package/dist/types-ts4.5/plugins/table/commands/go-to-next-cell.d.ts +0 -4
  78. package/dist/types-ts4.5/plugins/table/commands/hover.d.ts +0 -8
  79. package/dist/types-ts4.5/plugins/table/commands/index.d.ts +0 -8
  80. package/dist/types-ts4.5/plugins/table/commands/insert.d.ts +0 -9
  81. package/dist/types-ts4.5/plugins/table/commands/misc.d.ts +0 -29
  82. package/dist/types-ts4.5/plugins/table/commands/referentiality.d.ts +0 -2
  83. package/dist/types-ts4.5/plugins/table/commands/selection.d.ts +0 -8
  84. package/dist/types-ts4.5/plugins/table/commands/sort.d.ts +0 -3
  85. package/dist/types-ts4.5/plugins/table/commands/split-cell.d.ts +0 -6
  86. package/dist/types-ts4.5/plugins/table/commands/toggle.d.ts +0 -12
  87. package/dist/types-ts4.5/plugins/table/commands-with-analytics.d.ts +0 -25
  88. package/dist/types-ts4.5/plugins/table/create-plugin-config.d.ts +0 -2
  89. package/dist/types-ts4.5/plugins/table/event-handlers.d.ts +0 -15
  90. package/dist/types-ts4.5/plugins/table/handlers.d.ts +0 -3
  91. package/dist/types-ts4.5/plugins/table/index.d.ts +0 -45
  92. package/dist/types-ts4.5/plugins/table/nodeviews/OverflowShadowsObserver.d.ts +0 -24
  93. package/dist/types-ts4.5/plugins/table/nodeviews/TableComponent.d.ts +0 -73
  94. package/dist/types-ts4.5/plugins/table/nodeviews/TableContainer.d.ts +0 -44
  95. package/dist/types-ts4.5/plugins/table/nodeviews/TableResizer.d.ts +0 -25
  96. package/dist/types-ts4.5/plugins/table/nodeviews/TableStickyScrollbar.d.ts +0 -24
  97. package/dist/types-ts4.5/plugins/table/nodeviews/__mocks__/OverflowShadowsObserver.d.ts +0 -9
  98. package/dist/types-ts4.5/plugins/table/nodeviews/__mocks__/OverridableMock.d.ts +0 -9
  99. package/dist/types-ts4.5/plugins/table/nodeviews/table.d.ts +0 -33
  100. package/dist/types-ts4.5/plugins/table/nodeviews/tableCell.d.ts +0 -17
  101. package/dist/types-ts4.5/plugins/table/nodeviews/types.d.ts +0 -26
  102. package/dist/types-ts4.5/plugins/table/nodeviews/update-overflow-shadows.d.ts +0 -1
  103. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/plugin.d.ts +0 -7
  104. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/utils/column-controls.d.ts +0 -3
  105. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/utils/column-resizing.d.ts +0 -4
  106. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/utils/compose-decorations.d.ts +0 -2
  107. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/utils/index.d.ts +0 -3
  108. package/dist/types-ts4.5/plugins/table/pm-plugins/decorations/utils/types.d.ts +0 -6
  109. package/dist/types-ts4.5/plugins/table/pm-plugins/default-table-selection.d.ts +0 -4
  110. package/dist/types-ts4.5/plugins/table/pm-plugins/keymap.d.ts +0 -5
  111. package/dist/types-ts4.5/plugins/table/pm-plugins/main.d.ts +0 -8
  112. package/dist/types-ts4.5/plugins/table/pm-plugins/plugin-factory.d.ts +0 -1
  113. package/dist/types-ts4.5/plugins/table/pm-plugins/plugin-key.d.ts +0 -3
  114. package/dist/types-ts4.5/plugins/table/pm-plugins/safari-delete-composition-text-issue-workaround.d.ts +0 -15
  115. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/commands.d.ts +0 -3
  116. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/index.d.ts +0 -6
  117. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/nodeviews/dom.d.ts +0 -6
  118. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +0 -73
  119. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/plugin-key.d.ts +0 -3
  120. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/plugin-state.d.ts +0 -3
  121. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/plugin.d.ts +0 -4
  122. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/types.d.ts +0 -16
  123. package/dist/types-ts4.5/plugins/table/pm-plugins/sticky-headers/util.d.ts +0 -2
  124. package/dist/types-ts4.5/plugins/table/pm-plugins/table-analytics.d.ts +0 -23
  125. package/dist/types-ts4.5/plugins/table/pm-plugins/table-local-id.d.ts +0 -10
  126. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/commands.d.ts +0 -23
  127. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/event-handlers.d.ts +0 -4
  128. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/index.d.ts +0 -3
  129. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/plugin-factory.d.ts +0 -4
  130. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/plugin-key.d.ts +0 -3
  131. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/plugin.d.ts +0 -6
  132. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/reducer.d.ts +0 -3
  133. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/colgroup.d.ts +0 -23
  134. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/column-state.d.ts +0 -14
  135. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/consts.d.ts +0 -2
  136. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/content-width.d.ts +0 -4
  137. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/dom.d.ts +0 -12
  138. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/index.d.ts +0 -13
  139. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/misc.d.ts +0 -20
  140. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/resize-column.d.ts +0 -2
  141. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/resize-logic.d.ts +0 -4
  142. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/resize-state.d.ts +0 -29
  143. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/scale-table.d.ts +0 -21
  144. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/types.d.ts +0 -22
  145. package/dist/types-ts4.5/plugins/table/pm-plugins/table-resizing/utils/unit-to-number.d.ts +0 -1
  146. package/dist/types-ts4.5/plugins/table/pm-plugins/table-selection-keymap.d.ts +0 -4
  147. package/dist/types-ts4.5/plugins/table/pm-plugins/table-width.d.ts +0 -17
  148. package/dist/types-ts4.5/plugins/table/reducer.d.ts +0 -3
  149. package/dist/types-ts4.5/plugins/table/toolbar.d.ts +0 -36
  150. package/dist/types-ts4.5/plugins/table/transforms/column-width.d.ts +0 -18
  151. package/dist/types-ts4.5/plugins/table/transforms/delete-columns.d.ts +0 -3
  152. package/dist/types-ts4.5/plugins/table/transforms/delete-rows.d.ts +0 -3
  153. package/dist/types-ts4.5/plugins/table/transforms/fix-tables.d.ts +0 -9
  154. package/dist/types-ts4.5/plugins/table/transforms/index.d.ts +0 -6
  155. package/dist/types-ts4.5/plugins/table/transforms/merge.d.ts +0 -5
  156. package/dist/types-ts4.5/plugins/table/transforms/replace-table.d.ts +0 -5
  157. package/dist/types-ts4.5/plugins/table/transforms/split.d.ts +0 -9
  158. package/dist/types-ts4.5/plugins/table/types.d.ts +0 -342
  159. package/dist/types-ts4.5/plugins/table/ui/ColumnResizeWidget/index.d.ts +0 -9
  160. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualButton/FixedButton.d.ts +0 -23
  161. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualButton/index.d.ts +0 -21
  162. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualButton/styles.d.ts +0 -3
  163. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualMenu/ContextualMenu.d.ts +0 -87
  164. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualMenu/index.d.ts +0 -23
  165. package/dist/types-ts4.5/plugins/table/ui/FloatingContextualMenu/styles.d.ts +0 -2
  166. package/dist/types-ts4.5/plugins/table/ui/FloatingDeleteButton/DeleteButton.d.ts +0 -13
  167. package/dist/types-ts4.5/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.d.ts +0 -10
  168. package/dist/types-ts4.5/plugins/table/ui/FloatingDeleteButton/index.d.ts +0 -54
  169. package/dist/types-ts4.5/plugins/table/ui/FloatingDeleteButton/types.d.ts +0 -1
  170. package/dist/types-ts4.5/plugins/table/ui/FloatingInsertButton/InsertButton.d.ts +0 -13
  171. package/dist/types-ts4.5/plugins/table/ui/FloatingInsertButton/getPopupOptions.d.ts +0 -3
  172. package/dist/types-ts4.5/plugins/table/ui/FloatingInsertButton/index.d.ts +0 -35
  173. package/dist/types-ts4.5/plugins/table/ui/LayoutButton/index.d.ts +0 -21
  174. package/dist/types-ts4.5/plugins/table/ui/TableFloatingControls/CornerControls/index.d.ts +0 -16
  175. package/dist/types-ts4.5/plugins/table/ui/TableFloatingControls/NumberColumn/index.d.ts +0 -21
  176. package/dist/types-ts4.5/plugins/table/ui/TableFloatingControls/RowControls/index.d.ts +0 -17
  177. package/dist/types-ts4.5/plugins/table/ui/TableFloatingControls/index.d.ts +0 -39
  178. package/dist/types-ts4.5/plugins/table/ui/common-styles.d.ts +0 -9
  179. package/dist/types-ts4.5/plugins/table/ui/consts.d.ts +0 -50
  180. package/dist/types-ts4.5/plugins/table/ui/messages.d.ts +0 -63
  181. package/dist/types-ts4.5/plugins/table/ui/ui-styles.d.ts +0 -15
  182. package/dist/types-ts4.5/plugins/table/utils/analytics.d.ts +0 -45
  183. package/dist/types-ts4.5/plugins/table/utils/collapse.d.ts +0 -29
  184. package/dist/types-ts4.5/plugins/table/utils/column-controls.d.ts +0 -10
  185. package/dist/types-ts4.5/plugins/table/utils/decoration.d.ts +0 -19
  186. package/dist/types-ts4.5/plugins/table/utils/dom.d.ts +0 -20
  187. package/dist/types-ts4.5/plugins/table/utils/get-allow-add-column-custom-step.d.ts +0 -2
  188. package/dist/types-ts4.5/plugins/table/utils/guidelines.d.ts +0 -2
  189. package/dist/types-ts4.5/plugins/table/utils/index.d.ts +0 -11
  190. package/dist/types-ts4.5/plugins/table/utils/nodes.d.ts +0 -13
  191. package/dist/types-ts4.5/plugins/table/utils/paste.d.ts +0 -14
  192. package/dist/types-ts4.5/plugins/table/utils/row-controls.d.ts +0 -16
  193. package/dist/types-ts4.5/plugins/table/utils/selection.d.ts +0 -6
  194. package/dist/types-ts4.5/plugins/table/utils/snapping.d.ts +0 -10
  195. package/dist/types-ts4.5/plugins/table/utils/table.d.ts +0 -4
  196. package/dist/types-ts4.5/plugins/table/utils/update-plugin-state-decorations.d.ts +0 -4
  197. package/dist/types-ts4.5/plugins/table-plugin.d.ts +0 -2
  198. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  199. package/tmp/api-report-tmp.d.ts +0 -112
@@ -1,342 +0,0 @@
1
- import type { IntlShape } from 'react-intl-next';
2
- import type { TableLayout } from '@atlaskit/adf-schema';
3
- import type { TableColumnOrdering } from '@atlaskit/custom-steps';
4
- import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
- import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
- import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
7
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
8
- import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
9
- import type { Rect } from '@atlaskit/editor-tables/table-map';
10
- import type tablePlugin from './index';
11
- export declare const RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
12
- export type RowInsertPosition = 'TOP' | 'BOTTOM';
13
- export type PermittedLayoutsDescriptor = TableLayout[] | 'all';
14
- export type Cell = {
15
- pos: number;
16
- start: number;
17
- node: PmNode;
18
- };
19
- export type CellTransform = (cell: Cell) => (tr: Transaction) => Transaction;
20
- export interface InsertRowOptions {
21
- index: number;
22
- moveCursorToInsertedRow: boolean;
23
- }
24
- export type PluginInjectionAPI = ExtractInjectionAPI<typeof tablePlugin>;
25
- export type InsertRowMethods = INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.BUTTON | INPUT_METHOD.SHORTCUT | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FLOATING_TB;
26
- export interface PluginConfig {
27
- advanced?: boolean;
28
- allowBackgroundColor?: boolean;
29
- allowColumnResizing?: boolean;
30
- allowHeaderColumn?: boolean;
31
- allowHeaderRow?: boolean;
32
- allowMergeCells?: boolean;
33
- allowNumberColumn?: boolean;
34
- allowColumnSorting?: boolean;
35
- allowAddColumnWithCustomStep?: boolean;
36
- allowCollapse?: boolean;
37
- isHeaderRowRequired?: boolean;
38
- permittedLayouts?: PermittedLayoutsDescriptor;
39
- allowControls?: boolean;
40
- stickyHeaders?: boolean;
41
- allowCellOptionsInFloatingToolbar?: boolean;
42
- allowDistributeColumns?: boolean;
43
- }
44
- export type { ColumnResizingPluginState } from '@atlaskit/editor-common/types';
45
- export type CellColumnPositioning = Pick<Rect, 'right' | 'left'>;
46
- export interface TablePluginState {
47
- editorHasFocus?: boolean;
48
- hoveredColumns: number[];
49
- hoveredRows: number[];
50
- pluginConfig: PluginConfig;
51
- isHeaderColumnEnabled: boolean;
52
- isHeaderRowEnabled: boolean;
53
- isNumberColumnEnabled?: boolean;
54
- targetCellPosition?: number;
55
- tableNode?: PmNode;
56
- tableRef?: HTMLTableElement;
57
- tablePos?: number;
58
- tableWrapperTarget?: HTMLElement;
59
- isContextualMenuOpen?: boolean;
60
- isInDanger?: boolean;
61
- insertColumnButtonIndex?: number;
62
- insertRowButtonIndex?: number;
63
- isFullWidthModeEnabled?: boolean;
64
- layout?: TableLayout;
65
- ordering?: TableColumnOrdering;
66
- isResizeHandleWidgetAdded?: boolean;
67
- resizeHandleRowIndex?: number;
68
- resizeHandleColumnIndex?: number;
69
- resizeHandleIncludeTooltip?: boolean;
70
- isTableCollapsed?: boolean;
71
- canCollapseTable?: boolean;
72
- getIntl: () => IntlShape;
73
- isBreakoutEnabled?: boolean;
74
- wasFullWidthModeEnabled?: boolean;
75
- isTableResizingEnabled?: boolean;
76
- }
77
- export type TablePluginAction = {
78
- type: 'SET_EDITOR_FOCUS';
79
- data: {
80
- editorHasFocus: boolean;
81
- };
82
- } | {
83
- type: 'TOGGLE_HEADER_ROW';
84
- } | {
85
- type: 'TOGGLE_HEADER_COLUMN';
86
- } | {
87
- type: 'SORT_TABLE';
88
- data: {
89
- ordering: TableColumnOrdering;
90
- };
91
- } | {
92
- type: 'SET_TABLE_REF';
93
- data: {
94
- tableRef?: HTMLTableElement;
95
- tableNode?: PmNode;
96
- tableWrapperTarget?: HTMLElement;
97
- layout: TableLayout;
98
- isHeaderRowEnabled: boolean;
99
- isHeaderColumnEnabled: boolean;
100
- };
101
- } | {
102
- type: 'HOVER_ROWS';
103
- data: {
104
- decorationSet: DecorationSet;
105
- hoveredRows: number[];
106
- isInDanger?: boolean;
107
- };
108
- } | {
109
- type: 'HOVER_CELLS';
110
- data: {
111
- decorationSet: DecorationSet;
112
- };
113
- } | {
114
- type: 'HOVER_COLUMNS';
115
- data: {
116
- decorationSet: DecorationSet;
117
- hoveredColumns: number[];
118
- isInDanger?: boolean;
119
- };
120
- } | {
121
- type: 'HOVER_TABLE';
122
- data: {
123
- decorationSet: DecorationSet;
124
- hoveredRows: number[];
125
- hoveredColumns: number[];
126
- isInDanger?: boolean;
127
- };
128
- } | {
129
- type: 'ADD_RESIZE_HANDLE_DECORATIONS';
130
- data: {
131
- decorationSet: DecorationSet;
132
- resizeHandleRowIndex: number;
133
- resizeHandleColumnIndex: number;
134
- resizeHandleIncludeTooltip: boolean;
135
- };
136
- } | {
137
- type: 'UPDATE_RESIZE_HANDLE_DECORATIONS';
138
- data: {
139
- decorationSet: DecorationSet;
140
- resizeHandleRowIndex: number | undefined;
141
- resizeHandleColumnIndex: number | undefined;
142
- resizeHandleIncludeTooltip: boolean | undefined;
143
- };
144
- } | {
145
- type: 'REMOVE_RESIZE_HANDLE_DECORATIONS';
146
- data: {
147
- decorationSet: DecorationSet;
148
- };
149
- } | {
150
- type: 'CLEAR_HOVER_SELECTION';
151
- data: {
152
- decorationSet: DecorationSet;
153
- };
154
- } | {
155
- type: 'SHOW_RESIZE_HANDLE_LINE';
156
- data: {
157
- decorationSet: DecorationSet;
158
- };
159
- } | {
160
- type: 'HIDE_RESIZE_HANDLE_LINE';
161
- data: {
162
- decorationSet: DecorationSet;
163
- };
164
- } | {
165
- type: 'SET_TARGET_CELL_POSITION';
166
- data: {
167
- targetCellPosition?: number;
168
- };
169
- } | {
170
- type: 'SELECT_COLUMN';
171
- data: {
172
- targetCellPosition: number;
173
- decorationSet: DecorationSet;
174
- };
175
- } | {
176
- type: 'SET_TABLE_LAYOUT';
177
- data: {
178
- layout: TableLayout;
179
- };
180
- } | {
181
- type: 'SHOW_INSERT_ROW_BUTTON';
182
- data: {
183
- insertRowButtonIndex: number;
184
- };
185
- } | {
186
- type: 'SHOW_INSERT_COLUMN_BUTTON';
187
- data: {
188
- insertColumnButtonIndex: number;
189
- };
190
- } | {
191
- type: 'HIDE_INSERT_COLUMN_OR_ROW_BUTTON';
192
- } | {
193
- type: 'TOGGLE_CONTEXTUAL_MENU';
194
- };
195
- export type ColumnResizingPluginAction = {
196
- type: 'SET_RESIZE_HANDLE_POSITION';
197
- data: {
198
- resizeHandlePos: number | null;
199
- };
200
- } | {
201
- type: 'STOP_RESIZING';
202
- } | {
203
- type: 'SET_DRAGGING';
204
- data: {
205
- dragging: {
206
- startX: number;
207
- startWidth: number;
208
- } | null;
209
- };
210
- } | {
211
- type: 'SET_LAST_CLICK';
212
- data: {
213
- lastClick: {
214
- x: number;
215
- y: number;
216
- time: number;
217
- } | null;
218
- };
219
- };
220
- export declare enum TableDecorations {
221
- ALL_CONTROLS_HOVER = "CONTROLS_HOVER",
222
- ROW_CONTROLS_HOVER = "ROW_CONTROLS_HOVER",
223
- COLUMN_CONTROLS_HOVER = "COLUMN_CONTROLS_HOVER",
224
- TABLE_CONTROLS_HOVER = "TABLE_CONTROLS_HOVER",
225
- CELL_CONTROLS_HOVER = "CELL_CONTROLS_HOVER",
226
- COLUMN_CONTROLS_DECORATIONS = "COLUMN_CONTROLS_DECORATIONS",
227
- COLUMN_SELECTED = "COLUMN_SELECTED",
228
- COLUMN_RESIZING_HANDLE = "COLUMN_RESIZING_HANDLE",
229
- COLUMN_RESIZING_HANDLE_WIDGET = "COLUMN_RESIZING_HANDLE_WIDGET",
230
- COLUMN_RESIZING_HANDLE_LINE = "COLUMN_RESIZING_HANDLE_LINE",
231
- LAST_CELL_ELEMENT = "LAST_CELL_ELEMENT"
232
- }
233
- export declare const TableCssClassName: {
234
- COLUMN_CONTROLS: string;
235
- COLUMN_CONTROLS_DECORATIONS: string;
236
- COLUMN_SELECTED: string;
237
- ROW_CONTROLS_WRAPPER: string;
238
- ROW_CONTROLS: string;
239
- ROW_CONTROLS_INNER: string;
240
- ROW_CONTROLS_BUTTON_WRAP: string;
241
- ROW_CONTROLS_BUTTON: string;
242
- CONTROLS_BUTTON: string;
243
- CONTROLS_BUTTON_ICON: string;
244
- CONTROLS_INSERT_BUTTON: string;
245
- CONTROLS_INSERT_BUTTON_INNER: string;
246
- CONTROLS_INSERT_BUTTON_WRAP: string;
247
- CONTROLS_INSERT_LINE: string;
248
- CONTROLS_BUTTON_OVERLAY: string;
249
- LAYOUT_BUTTON: string;
250
- CONTROLS_INSERT_MARKER: string;
251
- CONTROLS_INSERT_COLUMN: string;
252
- CONTROLS_INSERT_ROW: string;
253
- CONTROLS_DELETE_BUTTON_WRAP: string;
254
- CONTROLS_DELETE_BUTTON: string;
255
- CONTROLS_FLOATING_BUTTON_COLUMN: string;
256
- CONTROLS_FLOATING_BUTTON_ROW: string;
257
- CORNER_CONTROLS: string;
258
- CORNER_CONTROLS_INSERT_ROW_MARKER: string;
259
- CORNER_CONTROLS_INSERT_COLUMN_MARKER: string;
260
- CONTROLS_CORNER_BUTTON: string;
261
- NUMBERED_COLUMN: string;
262
- NUMBERED_COLUMN_BUTTON: string;
263
- HOVERED_COLUMN: string;
264
- HOVERED_ROW: string;
265
- HOVERED_TABLE: string;
266
- HOVERED_CELL: string;
267
- HOVERED_CELL_IN_DANGER: string;
268
- HOVERED_CELL_ACTIVE: string;
269
- HOVERED_CELL_WARNING: string;
270
- HOVERED_DELETE_BUTTON: string;
271
- WITH_CONTROLS: string;
272
- RESIZING_PLUGIN: string;
273
- RESIZE_CURSOR: string;
274
- IS_RESIZING: string;
275
- RESIZE_HANDLE: string;
276
- RESIZE_HANDLE_DECORATION: string;
277
- CONTEXTUAL_SUBMENU: string;
278
- CONTEXTUAL_MENU_BUTTON_WRAP: string;
279
- CONTEXTUAL_MENU_BUTTON: string;
280
- CONTEXTUAL_MENU_BUTTON_FIXED: string;
281
- CONTEXTUAL_MENU_ICON: string;
282
- SELECTED_CELL: string;
283
- NODEVIEW_WRAPPER: string;
284
- TABLE_SELECTED: string;
285
- TABLE_CELL: string;
286
- TABLE_HEADER_CELL: string;
287
- TABLE_STICKY: string;
288
- TOP_LEFT_CELL: string;
289
- LAST_ITEM_IN_CELL: string;
290
- WITH_RESIZE_LINE: string;
291
- WITH_RESIZE_LINE_LAST_COLUMN: string;
292
- TABLE_CONTAINER: string;
293
- TABLE_NODE_WRAPPER: string;
294
- TABLE_LEFT_SHADOW: string;
295
- TABLE_RIGHT_SHADOW: string;
296
- TABLE_STICKY_SHADOW: string;
297
- TABLE_STICKY_WRAPPER: string;
298
- TABLE_STICKY_SCROLLBAR_CONTAINER: string;
299
- TABLE_STICKY_SENTINEL_TOP: string;
300
- TABLE_STICKY_SENTINEL_BOTTOM: string;
301
- TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: string;
302
- TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: string;
303
- TABLE_SHADOW_SENTINEL_LEFT: string;
304
- TABLE_SHADOW_SENTINEL_RIGHT: string;
305
- TABLE_CELL_NODEVIEW_CONTENT_DOM: string;
306
- TABLE_CELL_WRAPPER: string;
307
- TABLE_HEADER_CELL_WRAPPER: string;
308
- TABLE_ROW_CONTROLS_WRAPPER: string;
309
- TABLE_COLUMN_CONTROLS_DECORATIONS: string;
310
- TABLE_RESIZER_CONTAINER: string;
311
- };
312
- export interface ToolbarMenuConfig {
313
- allowHeaderRow?: boolean;
314
- allowHeaderColumn?: boolean;
315
- allowNumberColumn?: boolean;
316
- allowCollapse?: boolean;
317
- }
318
- export interface ToolbarMenuState {
319
- isHeaderRowEnabled?: boolean;
320
- isHeaderColumnEnabled?: boolean;
321
- isNumberColumnEnabled?: boolean;
322
- isTableCollapsed?: boolean;
323
- canCollapseTable?: boolean;
324
- }
325
- export interface ToolbarMenuContext {
326
- formatMessage: IntlShape['formatMessage'];
327
- }
328
- export type ElementContentRects = {
329
- [key: string]: ResizeObserverEntry['contentRect'];
330
- };
331
- export declare enum ShadowEvent {
332
- SHOW_BEFORE_SHADOW = "showBeforeShadow",
333
- SHOW_AFTER_SHADOW = "showAfterShadow"
334
- }
335
- export type ReportInvalidNodeAttrs = (invalidNodeAttrs: InvalidNodeAttr) => void;
336
- export type InvalidNodeAttr = {
337
- nodeType: string;
338
- attribute: string;
339
- reason: string;
340
- spanValue: number;
341
- tableLocalId: string;
342
- };
@@ -1,9 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- type Props = {
4
- startIndex: number;
5
- endIndex: number;
6
- includeTooltip?: boolean;
7
- };
8
- export declare const ColumnResizeWidget: React.FC<Props>;
9
- export {};
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { RowStickyState } from '../../pm-plugins/sticky-headers';
3
- export declare const BUTTON_WIDTH = 20;
4
- export interface Props {
5
- children: React.ReactNode;
6
- mountTo: HTMLElement;
7
- offset: number;
8
- stickyHeader: RowStickyState;
9
- targetCellPosition: number;
10
- targetCellRef: HTMLElement;
11
- tableWrapper: HTMLElement;
12
- isContextualMenuOpen: boolean | undefined;
13
- }
14
- interface CalcLeftPosData {
15
- buttonWidth: number;
16
- cellRectLeft: number;
17
- cellRefWidth: number;
18
- offset: number;
19
- }
20
- export declare const calcLeftPos: ({ buttonWidth, cellRectLeft, cellRefWidth, offset, }: CalcLeftPosData) => number;
21
- export declare const calcObserverTargetMargin: (tableWrapper: HTMLElement, fixedButtonRefCurrent: HTMLElement) => number;
22
- export declare const FixedButton: ({ children, isContextualMenuOpen, mountTo, offset, stickyHeader, tableWrapper, targetCellPosition, targetCellRef, }: Props) => React.ReactPortal;
23
- export default FixedButton;
@@ -1,21 +0,0 @@
1
- import { jsx } from '@emotion/react';
2
- import { TableLayout } from '@atlaskit/adf-schema';
3
- import { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
4
- import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
6
- import { RowStickyState } from '../../pm-plugins/sticky-headers';
7
- export interface Props {
8
- editorView: EditorView;
9
- tableWrapper?: HTMLElement;
10
- tableNode?: PMNode;
11
- targetCellPosition: number;
12
- isContextualMenuOpen?: boolean;
13
- mountPoint?: HTMLElement;
14
- boundariesElement?: HTMLElement;
15
- scrollableElement?: HTMLElement;
16
- layout?: TableLayout;
17
- isNumberColumnEnabled?: boolean;
18
- stickyHeader?: RowStickyState;
19
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
20
- }
21
- export default function (props: Props): jsx.JSX.Element;
@@ -1,3 +0,0 @@
1
- import { ThemeProps } from '@atlaskit/theme/types';
2
- export declare const tableFloatingCellButtonStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
3
- export declare const tableFloatingCellButtonSelectedStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
@@ -1,87 +0,0 @@
1
- /** @jsx jsx */
2
- import { Component } from 'react';
3
- import { jsx } from '@emotion/react';
4
- import type { WrappedComponentProps } from 'react-intl-next';
5
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
6
- import type { GetEditorContainerWidth } from '@atlaskit/editor-common/types';
7
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
8
- import type { Rect } from '@atlaskit/editor-tables/table-map';
9
- export declare const messages: {
10
- cellBackground: {
11
- id: string;
12
- defaultMessage: string;
13
- description: string;
14
- };
15
- mergeCells: {
16
- id: string;
17
- defaultMessage: string;
18
- description: string;
19
- };
20
- splitCell: {
21
- id: string;
22
- defaultMessage: string;
23
- description: string;
24
- };
25
- clearCells: {
26
- id: string;
27
- defaultMessage: string;
28
- description: string;
29
- };
30
- sortColumnASC: {
31
- id: string;
32
- defaultMessage: string;
33
- description: string;
34
- };
35
- sortColumnDESC: {
36
- id: string;
37
- defaultMessage: string;
38
- description: string;
39
- };
40
- canNotSortTable: {
41
- id: string;
42
- defaultMessage: string;
43
- description: string;
44
- };
45
- distributeColumns: {
46
- id: string;
47
- defaultMessage: string;
48
- description: string;
49
- };
50
- };
51
- export interface Props {
52
- editorView: EditorView;
53
- isOpen: boolean;
54
- selectionRect: Rect;
55
- targetCellPosition?: number;
56
- mountPoint?: HTMLElement;
57
- allowMergeCells?: boolean;
58
- allowColumnSorting?: boolean;
59
- allowBackgroundColor?: boolean;
60
- boundariesElement?: HTMLElement;
61
- offset?: Array<number>;
62
- editorAnalyticsAPI?: EditorAnalyticsAPI;
63
- getEditorContainerWidth: GetEditorContainerWidth;
64
- }
65
- export interface State {
66
- isSubmenuOpen: boolean;
67
- }
68
- export declare class ContextualMenu extends Component<Props & WrappedComponentProps, State> {
69
- state: State;
70
- static defaultProps: {
71
- boundariesElement: HTMLElement | undefined;
72
- };
73
- render(): jsx.JSX.Element | null;
74
- private handleSubMenuRef;
75
- private createItems;
76
- private onMenuItemActivated;
77
- private toggleOpen;
78
- private handleOpenChange;
79
- private handleItemMouseEnter;
80
- private handleItemMouseLeave;
81
- private closeSubmenu;
82
- private setColor;
83
- }
84
- declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
85
- WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps<"intl">>;
86
- };
87
- export default _default;
@@ -1,23 +0,0 @@
1
- /** @jsx jsx */
2
- import { jsx } from '@emotion/react';
3
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
- import type { GetEditorContainerWidth, GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
5
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
- import type { PluginConfig } from '../../types';
7
- export interface Props {
8
- editorView: EditorView;
9
- isOpen: boolean;
10
- getEditorContainerWidth: GetEditorContainerWidth;
11
- getEditorFeatureFlags?: GetEditorFeatureFlags;
12
- targetCellPosition?: number;
13
- mountPoint?: HTMLElement;
14
- boundariesElement?: HTMLElement;
15
- scrollableElement?: HTMLElement;
16
- pluginConfig?: PluginConfig;
17
- editorAnalyticsAPI?: EditorAnalyticsAPI;
18
- }
19
- declare const FloatingContextualMenu: {
20
- ({ mountPoint, boundariesElement, scrollableElement, editorView, isOpen, pluginConfig, editorAnalyticsAPI, getEditorContainerWidth, }: Props): jsx.JSX.Element | null;
21
- displayName: string;
22
- };
23
- export default FloatingContextualMenu;
@@ -1,2 +0,0 @@
1
- export declare const cellColourPreviewStyles: (selectedColor: string) => import("@emotion/react").SerializedStyles;
2
- export declare const tablePopupStyles: import("@emotion/react").SerializedStyles;
@@ -1,13 +0,0 @@
1
- import React, { SyntheticEvent } from 'react';
2
- import { MessageDescriptor, WrappedComponentProps } from 'react-intl-next';
3
- export interface ButtonProps {
4
- removeLabel: MessageDescriptor;
5
- style?: object;
6
- onClick?: (event: SyntheticEvent) => void;
7
- onMouseEnter?: (event: SyntheticEvent) => void;
8
- onMouseLeave?: (event: SyntheticEvent) => void;
9
- }
10
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<ButtonProps & WrappedComponentProps<"intl">>> & {
11
- WrappedComponent: React.ComponentType<ButtonProps & WrappedComponentProps<"intl">>;
12
- };
13
- export default _default;
@@ -1,10 +0,0 @@
1
- import type { PopupProps } from '@atlaskit/editor-common/ui';
2
- import { CellSelectionType } from './types';
3
- interface GetPopupOptions {
4
- left: number;
5
- top: number;
6
- selectionType?: CellSelectionType;
7
- tableWrapper: HTMLElement | null;
8
- }
9
- export default function getPopupOptions({ left, top, selectionType, tableWrapper, }: GetPopupOptions): Partial<PopupProps>;
10
- export {};
@@ -1,54 +0,0 @@
1
- import { Component } from 'react';
2
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
3
- import { Selection } from '@atlaskit/editor-prosemirror/state';
4
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
5
- import { RowStickyState } from '../../pm-plugins/sticky-headers';
6
- import { CellSelectionType } from './types';
7
- export interface Props {
8
- editorView: EditorView;
9
- selection: Selection;
10
- tableRef?: HTMLTableElement;
11
- mountPoint?: HTMLElement;
12
- boundariesElement?: HTMLElement;
13
- scrollableElement?: HTMLElement;
14
- stickyHeaders?: RowStickyState;
15
- isNumberColumnEnabled?: boolean;
16
- editorAnalyticsAPI?: EditorAnalyticsAPI;
17
- }
18
- export interface State {
19
- selectionType?: CellSelectionType;
20
- left: number;
21
- top: number;
22
- indexes: number[];
23
- position?: string;
24
- scrollLeft: number;
25
- }
26
- export declare function getSelectionType(selection: Selection): 'column' | 'row' | undefined;
27
- declare class FloatingDeleteButton extends Component<Props, State> {
28
- static displayName: string;
29
- wrapper: HTMLElement | null;
30
- constructor(props: Props);
31
- shouldComponentUpdate(_: Props, nextState: State): boolean;
32
- componentDidMount(): void;
33
- componentDidUpdate(): void;
34
- updateWrapper: () => void;
35
- componentWillUnmount(): void;
36
- onWrapperScrolled: (e: Event) => void;
37
- /**
38
- * We derivate the button state from the properties passed.
39
- * We do this in here because we need this information in different places
40
- * and this prevent to do multiple width calculations in the same component.
41
- */
42
- static getDerivedStateFromProps(nextProps: Readonly<Props>, prevState: State): Partial<State> | null;
43
- private handleMouseEnter;
44
- private handleMouseLeave;
45
- /**
46
- *
47
- *
48
- * @private
49
- * @memberof FloatingDeleteButton
50
- */
51
- private handleClick;
52
- render(): JSX.Element | null;
53
- }
54
- export default FloatingDeleteButton;
@@ -1 +0,0 @@
1
- export type CellSelectionType = 'column' | 'row' | undefined;
@@ -1,13 +0,0 @@
1
- import type { SyntheticEvent } from 'react';
2
- import React from 'react';
3
- import type { WrappedComponentProps } from 'react-intl-next';
4
- export interface ButtonProps {
5
- type: 'row' | 'column';
6
- tableRef: HTMLElement;
7
- onMouseDown: (event: SyntheticEvent<HTMLButtonElement>) => void;
8
- hasStickyHeaders: boolean;
9
- }
10
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<ButtonProps & WrappedComponentProps<"intl">>> & {
11
- WrappedComponent: React.ComponentType<ButtonProps & WrappedComponentProps<"intl">>;
12
- };
13
- export default _default;
@@ -1,3 +0,0 @@
1
- import type { PopupProps } from '@atlaskit/editor-common/ui';
2
- declare function getPopupOptions(type: 'column' | 'row', index: number, hasNumberedColumns: boolean, tableContainer: HTMLElement | null): Partial<PopupProps>;
3
- export default getPopupOptions;
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
3
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
- import { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
5
- import type { GetEditorContainerWidth } from '@atlaskit/editor-common/types';
6
- import { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
7
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
8
- export interface Props {
9
- editorView: EditorView;
10
- getEditorContainerWidth: GetEditorContainerWidth;
11
- tableRef?: HTMLElement;
12
- tableNode?: PmNode;
13
- insertColumnButtonIndex?: number;
14
- insertRowButtonIndex?: number;
15
- isHeaderColumnEnabled?: boolean;
16
- isHeaderRowEnabled?: boolean;
17
- mountPoint?: HTMLElement;
18
- boundariesElement?: HTMLElement;
19
- scrollableElement?: HTMLElement;
20
- hasStickyHeaders?: boolean;
21
- dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
22
- editorAnalyticsAPI?: EditorAnalyticsAPI;
23
- }
24
- export declare class FloatingInsertButton extends React.Component<Props & WrappedComponentProps, any> {
25
- static displayName: string;
26
- constructor(props: Props & WrappedComponentProps);
27
- render(): JSX.Element | null;
28
- private getCellPosition;
29
- private insertRow;
30
- private insertColumn;
31
- }
32
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
33
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
34
- };
35
- export default _default;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
3
- import { TableLayout } from '@atlaskit/adf-schema';
4
- import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
5
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
6
- import { RowStickyState } from '../../pm-plugins/sticky-headers';
7
- export interface Props {
8
- editorView: EditorView;
9
- targetRef?: HTMLElement;
10
- mountPoint?: HTMLElement;
11
- boundariesElement?: HTMLElement;
12
- scrollableElement?: HTMLElement;
13
- isResizing?: boolean;
14
- layout?: TableLayout;
15
- stickyHeader?: RowStickyState;
16
- editorAnalyticsAPI?: EditorAnalyticsAPI;
17
- }
18
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
19
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
20
- };
21
- export default _default;