@atlaskit/editor-plugin-table 0.0.1 → 0.0.3

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 (190) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/plugins/table/index.js +42 -15
  3. package/dist/cjs/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  4. package/dist/cjs/version.json +1 -1
  5. package/dist/es2019/plugins/table/index.js +287 -255
  6. package/dist/es2019/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  7. package/dist/es2019/version.json +1 -1
  8. package/dist/esm/plugins/table/index.js +41 -15
  9. package/dist/esm/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  10. package/dist/esm/version.json +1 -1
  11. package/dist/types/plugins/table/index.d.ts +1 -2
  12. package/dist/types-ts4.0/index.d.ts +1 -0
  13. package/dist/types-ts4.0/plugins/plugin-key.d.ts +4 -0
  14. package/dist/types-ts4.0/plugins/table/commands/clear.d.ts +3 -0
  15. package/dist/types-ts4.0/plugins/table/commands/collapse.d.ts +2 -0
  16. package/dist/types-ts4.0/plugins/table/commands/go-to-next-cell.d.ts +4 -0
  17. package/dist/types-ts4.0/plugins/table/commands/hover.d.ts +8 -0
  18. package/dist/types-ts4.0/plugins/table/commands/index.d.ts +7 -0
  19. package/dist/types-ts4.0/plugins/table/commands/insert.d.ts +10 -0
  20. package/dist/types-ts4.0/plugins/table/commands/misc.d.ts +27 -0
  21. package/dist/types-ts4.0/plugins/table/commands/selection.d.ts +8 -0
  22. package/dist/types-ts4.0/plugins/table/commands/sort.d.ts +3 -0
  23. package/dist/types-ts4.0/plugins/table/commands/split-cell.d.ts +6 -0
  24. package/dist/types-ts4.0/plugins/table/commands/toggle.d.ts +12 -0
  25. package/dist/types-ts4.0/plugins/table/commands-with-analytics.d.ts +26 -0
  26. package/dist/types-ts4.0/plugins/table/create-plugin-config.d.ts +2 -0
  27. package/dist/types-ts4.0/plugins/table/event-handlers.d.ts +16 -0
  28. package/dist/types-ts4.0/plugins/table/handlers.d.ts +3 -0
  29. package/dist/types-ts4.0/plugins/table/index.d.ts +17 -0
  30. package/dist/types-ts4.0/plugins/table/nodeviews/OverflowShadowsObserver.d.ts +26 -0
  31. package/dist/types-ts4.0/plugins/table/nodeviews/TableComponent.d.ts +72 -0
  32. package/dist/types-ts4.0/plugins/table/nodeviews/__mocks__/OverflowShadowsObserver.d.ts +9 -0
  33. package/dist/types-ts4.0/plugins/table/nodeviews/__mocks__/OverridableMock.d.ts +9 -0
  34. package/dist/types-ts4.0/plugins/table/nodeviews/table.d.ts +31 -0
  35. package/dist/types-ts4.0/plugins/table/nodeviews/tableCell.d.ts +19 -0
  36. package/dist/types-ts4.0/plugins/table/nodeviews/types.d.ts +23 -0
  37. package/dist/types-ts4.0/plugins/table/nodeviews/update-overflow-shadows.d.ts +8 -0
  38. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/plugin.d.ts +7 -0
  39. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/column-controls.d.ts +3 -0
  40. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/column-resizing.d.ts +2 -0
  41. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/compose-decorations.d.ts +2 -0
  42. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/index.d.ts +3 -0
  43. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/types.d.ts +6 -0
  44. package/dist/types-ts4.0/plugins/table/pm-plugins/default-table-selection.d.ts +5 -0
  45. package/dist/types-ts4.0/plugins/table/pm-plugins/keymap.d.ts +5 -0
  46. package/dist/types-ts4.0/plugins/table/pm-plugins/main.d.ts +8 -0
  47. package/dist/types-ts4.0/plugins/table/pm-plugins/plugin-factory.d.ts +1 -0
  48. package/dist/types-ts4.0/plugins/table/pm-plugins/plugin-key.d.ts +3 -0
  49. package/dist/types-ts4.0/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.d.ts +4 -0
  50. package/dist/types-ts4.0/plugins/table/pm-plugins/safari-delete-composition-text-issue-workaround.d.ts +15 -0
  51. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/commands.d.ts +3 -0
  52. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/index.d.ts +6 -0
  53. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/nodeviews/dom.d.ts +6 -0
  54. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +65 -0
  55. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin-key.d.ts +3 -0
  56. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin-state.d.ts +3 -0
  57. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin.d.ts +4 -0
  58. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/types.d.ts +16 -0
  59. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/util.d.ts +2 -0
  60. package/dist/types-ts4.0/plugins/table/pm-plugins/table-local-id.d.ts +22 -0
  61. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/commands.d.ts +25 -0
  62. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/event-handlers.d.ts +4 -0
  63. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/index.d.ts +3 -0
  64. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin-factory.d.ts +4 -0
  65. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin-key.d.ts +3 -0
  66. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin.d.ts +6 -0
  67. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/reducer.d.ts +3 -0
  68. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/colgroup.d.ts +8 -0
  69. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/column-state.d.ts +14 -0
  70. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/content-width.d.ts +4 -0
  71. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/dom.d.ts +13 -0
  72. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/index.d.ts +12 -0
  73. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/misc.d.ts +22 -0
  74. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-column.d.ts +2 -0
  75. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-logic.d.ts +4 -0
  76. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-state.d.ts +29 -0
  77. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/scale-table.d.ts +17 -0
  78. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/types.d.ts +22 -0
  79. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/unit-to-number.d.ts +1 -0
  80. package/dist/types-ts4.0/plugins/table/pm-plugins/table-selection-keymap.d.ts +4 -0
  81. package/dist/types-ts4.0/plugins/table/reducer.d.ts +3 -0
  82. package/dist/types-ts4.0/plugins/table/todo-stubs.d.ts +1 -0
  83. package/dist/types-ts4.0/plugins/table/toolbar.d.ts +36 -0
  84. package/dist/types-ts4.0/plugins/table/transforms/column-width.d.ts +18 -0
  85. package/dist/types-ts4.0/plugins/table/transforms/delete-columns.d.ts +3 -0
  86. package/dist/types-ts4.0/plugins/table/transforms/delete-rows.d.ts +3 -0
  87. package/dist/types-ts4.0/plugins/table/transforms/fix-tables.d.ts +10 -0
  88. package/dist/types-ts4.0/plugins/table/transforms/index.d.ts +7 -0
  89. package/dist/types-ts4.0/plugins/table/transforms/merge.d.ts +5 -0
  90. package/dist/types-ts4.0/plugins/table/transforms/metadata.d.ts +21 -0
  91. package/dist/types-ts4.0/plugins/table/transforms/replace-table.d.ts +5 -0
  92. package/dist/types-ts4.0/plugins/table/transforms/split.d.ts +9 -0
  93. package/dist/types-ts4.0/plugins/table/types.d.ts +328 -0
  94. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualButton/index.d.ts +29 -0
  95. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualButton/styles.d.ts +1 -0
  96. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/ContextualMenu.d.ts +87 -0
  97. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/index.d.ts +22 -0
  98. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/styles.d.ts +2 -0
  99. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/DeleteButton.d.ts +14 -0
  100. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.d.ts +10 -0
  101. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/index.d.ts +54 -0
  102. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/types.d.ts +1 -0
  103. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/InsertButton.d.ts +12 -0
  104. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/getPopupOptions.d.ts +3 -0
  105. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/index.d.ts +35 -0
  106. package/dist/types-ts4.0/plugins/table/ui/LayoutButton/index.d.ts +21 -0
  107. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/CornerControls/index.d.ts +19 -0
  108. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/NumberColumn/index.d.ts +21 -0
  109. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/RowControls/index.d.ts +17 -0
  110. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/index.d.ts +40 -0
  111. package/dist/types-ts4.0/plugins/table/ui/common-styles.d.ts +4 -0
  112. package/dist/types-ts4.0/plugins/table/ui/consts.d.ts +39 -0
  113. package/dist/types-ts4.0/plugins/table/ui/messages.d.ts +38 -0
  114. package/dist/types-ts4.0/plugins/table/ui/ui-styles.d.ts +15 -0
  115. package/dist/types-ts4.0/plugins/table/utils/analytics.d.ts +18 -0
  116. package/dist/types-ts4.0/plugins/table/utils/collapse.d.ts +29 -0
  117. package/dist/types-ts4.0/plugins/table/utils/column-controls.d.ts +10 -0
  118. package/dist/types-ts4.0/plugins/table/utils/decoration.d.ts +16 -0
  119. package/dist/types-ts4.0/plugins/table/utils/dom.d.ts +20 -0
  120. package/dist/types-ts4.0/plugins/table/utils/get-allow-add-column-custom-step.d.ts +2 -0
  121. package/dist/types-ts4.0/plugins/table/utils/index.d.ts +11 -0
  122. package/dist/types-ts4.0/plugins/table/utils/nodes.d.ts +12 -0
  123. package/dist/types-ts4.0/plugins/table/utils/paste.d.ts +14 -0
  124. package/dist/types-ts4.0/plugins/table/utils/referentiality.d.ts +2 -0
  125. package/dist/types-ts4.0/plugins/table/utils/row-controls.d.ts +16 -0
  126. package/dist/types-ts4.0/plugins/table/utils/selection.d.ts +6 -0
  127. package/dist/types-ts4.0/plugins/table/utils/table.d.ts +4 -0
  128. package/dist/types-ts4.0/plugins/table/utils/update-plugin-state-decorations.d.ts +4 -0
  129. package/dist/types-ts4.0/plugins/table-plugin.d.ts +2 -0
  130. package/dist/types-ts4.0/types.d.ts +3 -0
  131. package/examples/99-testing.tsx +227 -0
  132. package/package.json +16 -3
  133. package/report.api.md +61 -24
  134. package/src/plugins/table/__tests__/integration/__fixtures__/auto-size-documents.ts +439 -0
  135. package/src/plugins/table/__tests__/integration/__fixtures__/basic-table.ts +120 -0
  136. package/src/plugins/table/__tests__/integration/__fixtures__/empty-paragraph-underneath-table.ts +396 -0
  137. package/src/plugins/table/__tests__/integration/__fixtures__/even-columns.ts +493 -0
  138. package/src/plugins/table/__tests__/integration/__fixtures__/layout-documents.ts +607 -0
  139. package/src/plugins/table/__tests__/integration/__fixtures__/merged-rows-and-cols-document.ts +343 -0
  140. package/src/plugins/table/__tests__/integration/__fixtures__/nested-in-extension.ts +163 -0
  141. package/src/plugins/table/__tests__/integration/__fixtures__/paragraph-and-table-adf.json +130 -0
  142. package/src/plugins/table/__tests__/integration/__fixtures__/resize-documents.ts +1610 -0
  143. package/src/plugins/table/__tests__/integration/__fixtures__/scale.ts +825 -0
  144. package/src/plugins/table/__tests__/integration/__fixtures__/table-inside-layout.ts +145 -0
  145. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-min-width-columns-document.ts +175 -0
  146. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-multiline-date.adf.json +168 -0
  147. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-text-and-empty-row.ts +216 -0
  148. package/src/plugins/table/__tests__/integration/__snapshots__/auto-size.ts.snap +609 -0
  149. package/src/plugins/table/__tests__/integration/__snapshots__/change-date-inside-table.ts.snap +173 -0
  150. package/src/plugins/table/__tests__/integration/__snapshots__/copy-button.ts.snap +421 -0
  151. package/src/plugins/table/__tests__/integration/__snapshots__/delete-columns.ts.snap +818 -0
  152. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-column-in-full-width.ts.snap +119 -0
  153. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-column-with-empty-action.ts.snap +119 -0
  154. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-row-with-empty-action.ts.snap +227 -0
  155. package/src/plugins/table/__tests__/integration/__snapshots__/delete-rows.ts.snap +959 -0
  156. package/src/plugins/table/__tests__/integration/__snapshots__/delete-table-when-selected.ts.snap +101 -0
  157. package/src/plugins/table/__tests__/integration/__snapshots__/deleting-empty-paragraph-under-table.ts.snap +502 -0
  158. package/src/plugins/table/__tests__/integration/__snapshots__/even-columns.ts.snap +645 -0
  159. package/src/plugins/table/__tests__/integration/__snapshots__/insert-cell-header-with-strong-mark.ts.snap +172 -0
  160. package/src/plugins/table/__tests__/integration/__snapshots__/insert-row-inside-layout.ts.snap +238 -0
  161. package/src/plugins/table/__tests__/integration/__snapshots__/layout.ts.snap +1645 -0
  162. package/src/plugins/table/__tests__/integration/__snapshots__/resize.ts.snap +2674 -0
  163. package/src/plugins/table/__tests__/integration/__snapshots__/scale.ts.snap +1083 -0
  164. package/src/plugins/table/__tests__/integration/arrow-down-into-table.ts +38 -0
  165. package/src/plugins/table/__tests__/integration/auto-size.ts +87 -0
  166. package/src/plugins/table/__tests__/integration/block-node-selection.ts +162 -163
  167. package/src/plugins/table/__tests__/integration/cell-selection.ts +101 -0
  168. package/src/plugins/table/__tests__/integration/change-date-inside-table.ts +47 -0
  169. package/src/plugins/table/__tests__/integration/copy-button.ts +179 -0
  170. package/src/plugins/table/__tests__/integration/delete-columns.ts +95 -0
  171. package/src/plugins/table/__tests__/integration/delete-last-column-in-full-width.ts +70 -0
  172. package/src/plugins/table/__tests__/integration/delete-last-column-with-empty-action.ts +58 -0
  173. package/src/plugins/table/__tests__/integration/delete-last-row-with-empty-action.ts +97 -0
  174. package/src/plugins/table/__tests__/integration/delete-rows.ts +122 -0
  175. package/src/plugins/table/__tests__/integration/delete-table-when-selected.ts +110 -0
  176. package/src/plugins/table/__tests__/integration/deleting-empty-paragraph-under-table.ts +86 -0
  177. package/src/plugins/table/__tests__/integration/even-columns.ts +72 -0
  178. package/src/plugins/table/__tests__/integration/insert-cell-header-with-strong-mark.ts +40 -0
  179. package/src/plugins/table/__tests__/integration/insert-long-smart-link.ts +52 -0
  180. package/src/plugins/table/__tests__/integration/insert-row-inside-layout.ts +47 -0
  181. package/src/plugins/table/__tests__/integration/layout.ts +224 -0
  182. package/src/plugins/table/__tests__/integration/resize-handler.ts +101 -0
  183. package/src/plugins/table/__tests__/integration/resize.ts +342 -0
  184. package/src/plugins/table/__tests__/integration/scale.ts +67 -0
  185. package/src/plugins/table/__tests__/integration/table-controls-selection.ts +70 -0
  186. package/src/plugins/table/__tests__/unit/commands/insert.ts +0 -1
  187. package/src/plugins/table/__tests__/unit/pm-plugins/table-resizing/event-handlers.ts +2 -0
  188. package/src/plugins/table/index.tsx +322 -295
  189. package/src/plugins/table/ui/FloatingContextualButton/index.tsx +2 -2
  190. package/types/package.json +8 -1
@@ -0,0 +1,825 @@
1
+ export const tableWithManyMinWidthCols = {
2
+ version: 1,
3
+ type: 'doc',
4
+ content: [
5
+ {
6
+ type: 'table',
7
+ attrs: {
8
+ isNumberColumnEnabled: false,
9
+ layout: 'default',
10
+ },
11
+ content: [
12
+ {
13
+ type: 'tableRow',
14
+ content: [
15
+ {
16
+ type: 'tableHeader',
17
+ attrs: {
18
+ colwidth: [48],
19
+ },
20
+ content: [
21
+ {
22
+ type: 'paragraph',
23
+ content: [],
24
+ },
25
+ ],
26
+ },
27
+ {
28
+ type: 'tableHeader',
29
+ attrs: {
30
+ colwidth: [64],
31
+ },
32
+ content: [
33
+ {
34
+ type: 'paragraph',
35
+ content: [],
36
+ },
37
+ ],
38
+ },
39
+ {
40
+ type: 'tableHeader',
41
+ attrs: {
42
+ colwidth: [48],
43
+ },
44
+ content: [
45
+ {
46
+ type: 'paragraph',
47
+ content: [],
48
+ },
49
+ ],
50
+ },
51
+ {
52
+ type: 'tableHeader',
53
+ attrs: {
54
+ colwidth: [48],
55
+ },
56
+ content: [
57
+ {
58
+ type: 'paragraph',
59
+ content: [],
60
+ },
61
+ ],
62
+ },
63
+ {
64
+ type: 'tableHeader',
65
+ attrs: {
66
+ colwidth: [87],
67
+ },
68
+ content: [
69
+ {
70
+ type: 'paragraph',
71
+ content: [],
72
+ },
73
+ ],
74
+ },
75
+ {
76
+ type: 'tableHeader',
77
+ attrs: {
78
+ colwidth: [58],
79
+ },
80
+ content: [
81
+ {
82
+ type: 'paragraph',
83
+ content: [],
84
+ },
85
+ ],
86
+ },
87
+ {
88
+ type: 'tableHeader',
89
+ attrs: {
90
+ colwidth: [58],
91
+ },
92
+ content: [
93
+ {
94
+ type: 'paragraph',
95
+ content: [],
96
+ },
97
+ ],
98
+ },
99
+ {
100
+ type: 'tableHeader',
101
+ attrs: {
102
+ colwidth: [58],
103
+ },
104
+ content: [
105
+ {
106
+ type: 'paragraph',
107
+ content: [],
108
+ },
109
+ ],
110
+ },
111
+ {
112
+ type: 'tableHeader',
113
+ attrs: {
114
+ colwidth: [58],
115
+ },
116
+ content: [
117
+ {
118
+ type: 'paragraph',
119
+ content: [],
120
+ },
121
+ ],
122
+ },
123
+ {
124
+ type: 'tableHeader',
125
+ attrs: {
126
+ colwidth: [87],
127
+ },
128
+ content: [
129
+ {
130
+ type: 'paragraph',
131
+ content: [],
132
+ },
133
+ ],
134
+ },
135
+ {
136
+ type: 'tableHeader',
137
+ attrs: {
138
+ colwidth: [48],
139
+ },
140
+ content: [
141
+ {
142
+ type: 'paragraph',
143
+ content: [],
144
+ },
145
+ ],
146
+ },
147
+ {
148
+ type: 'tableHeader',
149
+ attrs: {
150
+ colwidth: [48],
151
+ },
152
+ content: [
153
+ {
154
+ type: 'paragraph',
155
+ content: [],
156
+ },
157
+ ],
158
+ },
159
+ {
160
+ type: 'tableHeader',
161
+ attrs: {
162
+ colwidth: [50],
163
+ },
164
+ content: [
165
+ {
166
+ type: 'paragraph',
167
+ content: [],
168
+ },
169
+ ],
170
+ },
171
+ ],
172
+ },
173
+ {
174
+ type: 'tableRow',
175
+ content: [
176
+ {
177
+ type: 'tableCell',
178
+ attrs: {
179
+ colwidth: [48],
180
+ },
181
+ content: [
182
+ {
183
+ type: 'paragraph',
184
+ content: [],
185
+ },
186
+ ],
187
+ },
188
+ {
189
+ type: 'tableCell',
190
+ attrs: {
191
+ colwidth: [64],
192
+ },
193
+ content: [
194
+ {
195
+ type: 'paragraph',
196
+ content: [],
197
+ },
198
+ ],
199
+ },
200
+ {
201
+ type: 'tableCell',
202
+ attrs: {
203
+ colwidth: [48],
204
+ },
205
+ content: [
206
+ {
207
+ type: 'paragraph',
208
+ content: [],
209
+ },
210
+ ],
211
+ },
212
+ {
213
+ type: 'tableCell',
214
+ attrs: {
215
+ colwidth: [48],
216
+ },
217
+ content: [
218
+ {
219
+ type: 'paragraph',
220
+ content: [],
221
+ },
222
+ ],
223
+ },
224
+ {
225
+ type: 'tableCell',
226
+ attrs: {
227
+ colwidth: [87],
228
+ },
229
+ content: [
230
+ {
231
+ type: 'paragraph',
232
+ content: [],
233
+ },
234
+ ],
235
+ },
236
+ {
237
+ type: 'tableCell',
238
+ attrs: {
239
+ colwidth: [58],
240
+ },
241
+ content: [
242
+ {
243
+ type: 'paragraph',
244
+ content: [],
245
+ },
246
+ ],
247
+ },
248
+ {
249
+ type: 'tableCell',
250
+ attrs: {
251
+ colwidth: [58],
252
+ },
253
+ content: [
254
+ {
255
+ type: 'paragraph',
256
+ content: [],
257
+ },
258
+ ],
259
+ },
260
+ {
261
+ type: 'tableCell',
262
+ attrs: {
263
+ colwidth: [58],
264
+ },
265
+ content: [
266
+ {
267
+ type: 'paragraph',
268
+ content: [],
269
+ },
270
+ ],
271
+ },
272
+ {
273
+ type: 'tableCell',
274
+ attrs: {
275
+ colwidth: [58],
276
+ },
277
+ content: [
278
+ {
279
+ type: 'paragraph',
280
+ content: [],
281
+ },
282
+ ],
283
+ },
284
+ {
285
+ type: 'tableCell',
286
+ attrs: {
287
+ colwidth: [87],
288
+ },
289
+ content: [
290
+ {
291
+ type: 'paragraph',
292
+ content: [],
293
+ },
294
+ ],
295
+ },
296
+ {
297
+ type: 'tableCell',
298
+ attrs: {
299
+ colwidth: [48],
300
+ },
301
+ content: [
302
+ {
303
+ type: 'paragraph',
304
+ content: [],
305
+ },
306
+ ],
307
+ },
308
+ {
309
+ type: 'tableCell',
310
+ attrs: {
311
+ colwidth: [48],
312
+ },
313
+ content: [
314
+ {
315
+ type: 'paragraph',
316
+ content: [],
317
+ },
318
+ ],
319
+ },
320
+ {
321
+ type: 'tableCell',
322
+ attrs: {
323
+ colwidth: [50],
324
+ },
325
+ content: [
326
+ {
327
+ type: 'paragraph',
328
+ content: [],
329
+ },
330
+ ],
331
+ },
332
+ ],
333
+ },
334
+ {
335
+ type: 'tableRow',
336
+ content: [
337
+ {
338
+ type: 'tableCell',
339
+ attrs: {
340
+ colwidth: [48],
341
+ },
342
+ content: [
343
+ {
344
+ type: 'paragraph',
345
+ content: [],
346
+ },
347
+ ],
348
+ },
349
+ {
350
+ type: 'tableCell',
351
+ attrs: {
352
+ colwidth: [64],
353
+ },
354
+ content: [
355
+ {
356
+ type: 'paragraph',
357
+ content: [],
358
+ },
359
+ ],
360
+ },
361
+ {
362
+ type: 'tableCell',
363
+ attrs: {
364
+ colwidth: [48],
365
+ },
366
+ content: [
367
+ {
368
+ type: 'paragraph',
369
+ content: [],
370
+ },
371
+ ],
372
+ },
373
+ {
374
+ type: 'tableCell',
375
+ attrs: {
376
+ colwidth: [48],
377
+ },
378
+ content: [
379
+ {
380
+ type: 'paragraph',
381
+ content: [],
382
+ },
383
+ ],
384
+ },
385
+ {
386
+ type: 'tableCell',
387
+ attrs: {
388
+ colwidth: [87],
389
+ },
390
+ content: [
391
+ {
392
+ type: 'paragraph',
393
+ content: [],
394
+ },
395
+ ],
396
+ },
397
+ {
398
+ type: 'tableCell',
399
+ attrs: {
400
+ colwidth: [58],
401
+ },
402
+ content: [
403
+ {
404
+ type: 'paragraph',
405
+ content: [],
406
+ },
407
+ ],
408
+ },
409
+ {
410
+ type: 'tableCell',
411
+ attrs: {
412
+ colwidth: [58],
413
+ },
414
+ content: [
415
+ {
416
+ type: 'paragraph',
417
+ content: [],
418
+ },
419
+ ],
420
+ },
421
+ {
422
+ type: 'tableCell',
423
+ attrs: {
424
+ colwidth: [58],
425
+ },
426
+ content: [
427
+ {
428
+ type: 'paragraph',
429
+ content: [],
430
+ },
431
+ ],
432
+ },
433
+ {
434
+ type: 'tableCell',
435
+ attrs: {
436
+ colwidth: [58],
437
+ },
438
+ content: [
439
+ {
440
+ type: 'paragraph',
441
+ content: [],
442
+ },
443
+ ],
444
+ },
445
+ {
446
+ type: 'tableCell',
447
+ attrs: {
448
+ colwidth: [87],
449
+ },
450
+ content: [
451
+ {
452
+ type: 'paragraph',
453
+ content: [],
454
+ },
455
+ ],
456
+ },
457
+ {
458
+ type: 'tableCell',
459
+ attrs: {
460
+ colwidth: [48],
461
+ },
462
+ content: [
463
+ {
464
+ type: 'paragraph',
465
+ content: [],
466
+ },
467
+ ],
468
+ },
469
+ {
470
+ type: 'tableCell',
471
+ attrs: {
472
+ colwidth: [48],
473
+ },
474
+ content: [
475
+ {
476
+ type: 'paragraph',
477
+ content: [],
478
+ },
479
+ ],
480
+ },
481
+ {
482
+ type: 'tableCell',
483
+ attrs: {
484
+ colwidth: [50],
485
+ },
486
+ content: [
487
+ {
488
+ type: 'paragraph',
489
+ content: [],
490
+ },
491
+ ],
492
+ },
493
+ ],
494
+ },
495
+ ],
496
+ },
497
+ {
498
+ type: 'paragraph',
499
+ content: [],
500
+ },
501
+ ],
502
+ };
503
+
504
+ export const tableInOverflow = {
505
+ version: 1,
506
+ type: 'doc',
507
+ content: [
508
+ {
509
+ type: 'table',
510
+ attrs: {
511
+ isNumberColumnEnabled: false,
512
+ layout: 'default',
513
+ },
514
+ content: [
515
+ {
516
+ type: 'tableRow',
517
+ content: [
518
+ {
519
+ type: 'tableHeader',
520
+ attrs: {
521
+ colwidth: [199],
522
+ },
523
+ content: [
524
+ {
525
+ type: 'paragraph',
526
+ content: [],
527
+ },
528
+ ],
529
+ },
530
+ {
531
+ type: 'tableHeader',
532
+ attrs: {
533
+ colwidth: [190],
534
+ },
535
+ content: [
536
+ {
537
+ type: 'paragraph',
538
+ content: [],
539
+ },
540
+ ],
541
+ },
542
+ {
543
+ type: 'tableHeader',
544
+ attrs: {
545
+ colwidth: [305],
546
+ },
547
+ content: [
548
+ {
549
+ type: 'paragraph',
550
+ content: [],
551
+ },
552
+ ],
553
+ },
554
+ {
555
+ type: 'tableHeader',
556
+ attrs: {
557
+ colwidth: [48],
558
+ },
559
+ content: [
560
+ {
561
+ type: 'paragraph',
562
+ content: [],
563
+ },
564
+ ],
565
+ },
566
+ {
567
+ type: 'tableHeader',
568
+ attrs: {
569
+ colwidth: [48],
570
+ },
571
+ content: [
572
+ {
573
+ type: 'paragraph',
574
+ content: [],
575
+ },
576
+ ],
577
+ },
578
+ {
579
+ type: 'tableHeader',
580
+ attrs: {
581
+ colwidth: [48],
582
+ },
583
+ content: [
584
+ {
585
+ type: 'paragraph',
586
+ content: [],
587
+ },
588
+ ],
589
+ },
590
+ {
591
+ type: 'tableHeader',
592
+ attrs: {
593
+ colwidth: [48],
594
+ },
595
+ content: [
596
+ {
597
+ type: 'paragraph',
598
+ content: [],
599
+ },
600
+ ],
601
+ },
602
+ {
603
+ type: 'tableHeader',
604
+ attrs: {
605
+ colwidth: [48],
606
+ },
607
+ content: [
608
+ {
609
+ type: 'paragraph',
610
+ content: [],
611
+ },
612
+ ],
613
+ },
614
+ ],
615
+ },
616
+ {
617
+ type: 'tableRow',
618
+ content: [
619
+ {
620
+ type: 'tableCell',
621
+ attrs: {
622
+ colwidth: [199],
623
+ },
624
+ content: [
625
+ {
626
+ type: 'paragraph',
627
+ content: [],
628
+ },
629
+ ],
630
+ },
631
+ {
632
+ type: 'tableCell',
633
+ attrs: {
634
+ colwidth: [190],
635
+ },
636
+ content: [
637
+ {
638
+ type: 'paragraph',
639
+ content: [],
640
+ },
641
+ ],
642
+ },
643
+ {
644
+ type: 'tableCell',
645
+ attrs: {
646
+ colwidth: [305],
647
+ },
648
+ content: [
649
+ {
650
+ type: 'paragraph',
651
+ content: [],
652
+ },
653
+ ],
654
+ },
655
+ {
656
+ type: 'tableCell',
657
+ attrs: {
658
+ colwidth: [48],
659
+ },
660
+ content: [
661
+ {
662
+ type: 'paragraph',
663
+ content: [],
664
+ },
665
+ ],
666
+ },
667
+ {
668
+ type: 'tableCell',
669
+ attrs: {
670
+ colwidth: [48],
671
+ },
672
+ content: [
673
+ {
674
+ type: 'paragraph',
675
+ content: [],
676
+ },
677
+ ],
678
+ },
679
+ {
680
+ type: 'tableCell',
681
+ attrs: {
682
+ colwidth: [48],
683
+ },
684
+ content: [
685
+ {
686
+ type: 'paragraph',
687
+ content: [],
688
+ },
689
+ ],
690
+ },
691
+ {
692
+ type: 'tableCell',
693
+ attrs: {
694
+ colwidth: [48],
695
+ },
696
+ content: [
697
+ {
698
+ type: 'paragraph',
699
+ content: [],
700
+ },
701
+ ],
702
+ },
703
+ {
704
+ type: 'tableCell',
705
+ attrs: {
706
+ colwidth: [48],
707
+ },
708
+ content: [
709
+ {
710
+ type: 'paragraph',
711
+ content: [],
712
+ },
713
+ ],
714
+ },
715
+ ],
716
+ },
717
+ {
718
+ type: 'tableRow',
719
+ content: [
720
+ {
721
+ type: 'tableCell',
722
+ attrs: {
723
+ colwidth: [199],
724
+ },
725
+ content: [
726
+ {
727
+ type: 'paragraph',
728
+ content: [],
729
+ },
730
+ ],
731
+ },
732
+ {
733
+ type: 'tableCell',
734
+ attrs: {
735
+ colwidth: [190],
736
+ },
737
+ content: [
738
+ {
739
+ type: 'paragraph',
740
+ content: [],
741
+ },
742
+ ],
743
+ },
744
+ {
745
+ type: 'tableCell',
746
+ attrs: {
747
+ colwidth: [305],
748
+ },
749
+ content: [
750
+ {
751
+ type: 'paragraph',
752
+ content: [],
753
+ },
754
+ ],
755
+ },
756
+ {
757
+ type: 'tableCell',
758
+ attrs: {
759
+ colwidth: [48],
760
+ },
761
+ content: [
762
+ {
763
+ type: 'paragraph',
764
+ content: [],
765
+ },
766
+ ],
767
+ },
768
+ {
769
+ type: 'tableCell',
770
+ attrs: {
771
+ colwidth: [48],
772
+ },
773
+ content: [
774
+ {
775
+ type: 'paragraph',
776
+ content: [],
777
+ },
778
+ ],
779
+ },
780
+ {
781
+ type: 'tableCell',
782
+ attrs: {
783
+ colwidth: [48],
784
+ },
785
+ content: [
786
+ {
787
+ type: 'paragraph',
788
+ content: [],
789
+ },
790
+ ],
791
+ },
792
+ {
793
+ type: 'tableCell',
794
+ attrs: {
795
+ colwidth: [48],
796
+ },
797
+ content: [
798
+ {
799
+ type: 'paragraph',
800
+ content: [],
801
+ },
802
+ ],
803
+ },
804
+ {
805
+ type: 'tableCell',
806
+ attrs: {
807
+ colwidth: [48],
808
+ },
809
+ content: [
810
+ {
811
+ type: 'paragraph',
812
+ content: [],
813
+ },
814
+ ],
815
+ },
816
+ ],
817
+ },
818
+ ],
819
+ },
820
+ {
821
+ type: 'paragraph',
822
+ content: [],
823
+ },
824
+ ],
825
+ };