@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,173 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`change-date-inside-table.ts: Change date inside table 1`] = `
4
+ Object {
5
+ "content": Array [
6
+ Object {
7
+ "attrs": Object {
8
+ "__autoSize": false,
9
+ "isNumberColumnEnabled": false,
10
+ "layout": "default",
11
+ "localId": "abc-123",
12
+ },
13
+ "content": Array [
14
+ Object {
15
+ "content": Array [
16
+ Object {
17
+ "attrs": Object {
18
+ "background": null,
19
+ "colspan": 1,
20
+ "colwidth": null,
21
+ "rowspan": 1,
22
+ },
23
+ "content": Array [
24
+ Object {
25
+ "content": Array [
26
+ Object {
27
+ "attrs": Object {
28
+ "timestamp": "1502928000000",
29
+ },
30
+ "type": "date",
31
+ },
32
+ Object {
33
+ "text": " ",
34
+ "type": "text",
35
+ },
36
+ ],
37
+ "type": "paragraph",
38
+ },
39
+ ],
40
+ "type": "tableHeader",
41
+ },
42
+ Object {
43
+ "attrs": Object {
44
+ "background": null,
45
+ "colspan": 1,
46
+ "colwidth": null,
47
+ "rowspan": 1,
48
+ },
49
+ "content": Array [
50
+ Object {
51
+ "type": "paragraph",
52
+ },
53
+ ],
54
+ "type": "tableHeader",
55
+ },
56
+ Object {
57
+ "attrs": Object {
58
+ "background": null,
59
+ "colspan": 1,
60
+ "colwidth": null,
61
+ "rowspan": 1,
62
+ },
63
+ "content": Array [
64
+ Object {
65
+ "type": "paragraph",
66
+ },
67
+ ],
68
+ "type": "tableHeader",
69
+ },
70
+ ],
71
+ "type": "tableRow",
72
+ },
73
+ Object {
74
+ "content": Array [
75
+ Object {
76
+ "attrs": Object {
77
+ "background": null,
78
+ "colspan": 1,
79
+ "colwidth": null,
80
+ "rowspan": 1,
81
+ },
82
+ "content": Array [
83
+ Object {
84
+ "type": "paragraph",
85
+ },
86
+ ],
87
+ "type": "tableCell",
88
+ },
89
+ Object {
90
+ "attrs": Object {
91
+ "background": null,
92
+ "colspan": 1,
93
+ "colwidth": null,
94
+ "rowspan": 1,
95
+ },
96
+ "content": Array [
97
+ Object {
98
+ "type": "paragraph",
99
+ },
100
+ ],
101
+ "type": "tableCell",
102
+ },
103
+ Object {
104
+ "attrs": Object {
105
+ "background": null,
106
+ "colspan": 1,
107
+ "colwidth": null,
108
+ "rowspan": 1,
109
+ },
110
+ "content": Array [
111
+ Object {
112
+ "type": "paragraph",
113
+ },
114
+ ],
115
+ "type": "tableCell",
116
+ },
117
+ ],
118
+ "type": "tableRow",
119
+ },
120
+ Object {
121
+ "content": Array [
122
+ Object {
123
+ "attrs": Object {
124
+ "background": null,
125
+ "colspan": 1,
126
+ "colwidth": null,
127
+ "rowspan": 1,
128
+ },
129
+ "content": Array [
130
+ Object {
131
+ "type": "paragraph",
132
+ },
133
+ ],
134
+ "type": "tableCell",
135
+ },
136
+ Object {
137
+ "attrs": Object {
138
+ "background": null,
139
+ "colspan": 1,
140
+ "colwidth": null,
141
+ "rowspan": 1,
142
+ },
143
+ "content": Array [
144
+ Object {
145
+ "type": "paragraph",
146
+ },
147
+ ],
148
+ "type": "tableCell",
149
+ },
150
+ Object {
151
+ "attrs": Object {
152
+ "background": null,
153
+ "colspan": 1,
154
+ "colwidth": null,
155
+ "rowspan": 1,
156
+ },
157
+ "content": Array [
158
+ Object {
159
+ "type": "paragraph",
160
+ },
161
+ ],
162
+ "type": "tableCell",
163
+ },
164
+ ],
165
+ "type": "tableRow",
166
+ },
167
+ ],
168
+ "type": "table",
169
+ },
170
+ ],
171
+ "type": "doc",
172
+ }
173
+ `;
@@ -0,0 +1,421 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Copy block with floating toolbar copy button 1`] = `
4
+ Object {
5
+ "content": Array [
6
+ Object {
7
+ "attrs": Object {
8
+ "__autoSize": false,
9
+ "isNumberColumnEnabled": false,
10
+ "layout": "default",
11
+ "localId": "abc-123",
12
+ },
13
+ "content": Array [
14
+ Object {
15
+ "content": Array [
16
+ Object {
17
+ "attrs": Object {
18
+ "background": null,
19
+ "colspan": 1,
20
+ "colwidth": null,
21
+ "rowspan": 1,
22
+ },
23
+ "content": Array [
24
+ Object {
25
+ "content": Array [
26
+ Object {
27
+ "text": "1",
28
+ "type": "text",
29
+ },
30
+ ],
31
+ "type": "paragraph",
32
+ },
33
+ ],
34
+ "type": "tableHeader",
35
+ },
36
+ Object {
37
+ "attrs": Object {
38
+ "background": null,
39
+ "colspan": 1,
40
+ "colwidth": null,
41
+ "rowspan": 1,
42
+ },
43
+ "content": Array [
44
+ Object {
45
+ "content": Array [
46
+ Object {
47
+ "text": "2",
48
+ "type": "text",
49
+ },
50
+ ],
51
+ "type": "paragraph",
52
+ },
53
+ ],
54
+ "type": "tableHeader",
55
+ },
56
+ Object {
57
+ "attrs": Object {
58
+ "background": null,
59
+ "colspan": 1,
60
+ "colwidth": null,
61
+ "rowspan": 1,
62
+ },
63
+ "content": Array [
64
+ Object {
65
+ "content": Array [
66
+ Object {
67
+ "text": "3",
68
+ "type": "text",
69
+ },
70
+ ],
71
+ "type": "paragraph",
72
+ },
73
+ ],
74
+ "type": "tableHeader",
75
+ },
76
+ ],
77
+ "type": "tableRow",
78
+ },
79
+ Object {
80
+ "content": Array [
81
+ Object {
82
+ "attrs": Object {
83
+ "background": null,
84
+ "colspan": 1,
85
+ "colwidth": null,
86
+ "rowspan": 1,
87
+ },
88
+ "content": Array [
89
+ Object {
90
+ "content": Array [
91
+ Object {
92
+ "text": "4",
93
+ "type": "text",
94
+ },
95
+ ],
96
+ "type": "paragraph",
97
+ },
98
+ ],
99
+ "type": "tableCell",
100
+ },
101
+ Object {
102
+ "attrs": Object {
103
+ "background": null,
104
+ "colspan": 1,
105
+ "colwidth": null,
106
+ "rowspan": 1,
107
+ },
108
+ "content": Array [
109
+ Object {
110
+ "content": Array [
111
+ Object {
112
+ "text": "5",
113
+ "type": "text",
114
+ },
115
+ ],
116
+ "type": "paragraph",
117
+ },
118
+ ],
119
+ "type": "tableCell",
120
+ },
121
+ Object {
122
+ "attrs": Object {
123
+ "background": null,
124
+ "colspan": 1,
125
+ "colwidth": null,
126
+ "rowspan": 1,
127
+ },
128
+ "content": Array [
129
+ Object {
130
+ "content": Array [
131
+ Object {
132
+ "text": "6",
133
+ "type": "text",
134
+ },
135
+ ],
136
+ "type": "paragraph",
137
+ },
138
+ ],
139
+ "type": "tableCell",
140
+ },
141
+ ],
142
+ "type": "tableRow",
143
+ },
144
+ Object {
145
+ "content": Array [
146
+ Object {
147
+ "attrs": Object {
148
+ "background": null,
149
+ "colspan": 1,
150
+ "colwidth": null,
151
+ "rowspan": 1,
152
+ },
153
+ "content": Array [
154
+ Object {
155
+ "content": Array [
156
+ Object {
157
+ "text": "7",
158
+ "type": "text",
159
+ },
160
+ ],
161
+ "type": "paragraph",
162
+ },
163
+ ],
164
+ "type": "tableCell",
165
+ },
166
+ Object {
167
+ "attrs": Object {
168
+ "background": null,
169
+ "colspan": 1,
170
+ "colwidth": null,
171
+ "rowspan": 1,
172
+ },
173
+ "content": Array [
174
+ Object {
175
+ "content": Array [
176
+ Object {
177
+ "text": "8",
178
+ "type": "text",
179
+ },
180
+ ],
181
+ "type": "paragraph",
182
+ },
183
+ ],
184
+ "type": "tableCell",
185
+ },
186
+ Object {
187
+ "attrs": Object {
188
+ "background": null,
189
+ "colspan": 1,
190
+ "colwidth": null,
191
+ "rowspan": 1,
192
+ },
193
+ "content": Array [
194
+ Object {
195
+ "content": Array [
196
+ Object {
197
+ "text": "9",
198
+ "type": "text",
199
+ },
200
+ ],
201
+ "type": "paragraph",
202
+ },
203
+ ],
204
+ "type": "tableCell",
205
+ },
206
+ ],
207
+ "type": "tableRow",
208
+ },
209
+ ],
210
+ "type": "table",
211
+ },
212
+ Object {
213
+ "attrs": Object {
214
+ "__autoSize": false,
215
+ "isNumberColumnEnabled": false,
216
+ "layout": "default",
217
+ "localId": "abc-123",
218
+ },
219
+ "content": Array [
220
+ Object {
221
+ "content": Array [
222
+ Object {
223
+ "attrs": Object {
224
+ "background": null,
225
+ "colspan": 1,
226
+ "colwidth": null,
227
+ "rowspan": 1,
228
+ },
229
+ "content": Array [
230
+ Object {
231
+ "content": Array [
232
+ Object {
233
+ "text": "1",
234
+ "type": "text",
235
+ },
236
+ ],
237
+ "type": "paragraph",
238
+ },
239
+ ],
240
+ "type": "tableHeader",
241
+ },
242
+ Object {
243
+ "attrs": Object {
244
+ "background": null,
245
+ "colspan": 1,
246
+ "colwidth": null,
247
+ "rowspan": 1,
248
+ },
249
+ "content": Array [
250
+ Object {
251
+ "content": Array [
252
+ Object {
253
+ "text": "2",
254
+ "type": "text",
255
+ },
256
+ ],
257
+ "type": "paragraph",
258
+ },
259
+ ],
260
+ "type": "tableHeader",
261
+ },
262
+ Object {
263
+ "attrs": Object {
264
+ "background": null,
265
+ "colspan": 1,
266
+ "colwidth": null,
267
+ "rowspan": 1,
268
+ },
269
+ "content": Array [
270
+ Object {
271
+ "content": Array [
272
+ Object {
273
+ "text": "3",
274
+ "type": "text",
275
+ },
276
+ ],
277
+ "type": "paragraph",
278
+ },
279
+ ],
280
+ "type": "tableHeader",
281
+ },
282
+ ],
283
+ "type": "tableRow",
284
+ },
285
+ Object {
286
+ "content": Array [
287
+ Object {
288
+ "attrs": Object {
289
+ "background": null,
290
+ "colspan": 1,
291
+ "colwidth": null,
292
+ "rowspan": 1,
293
+ },
294
+ "content": Array [
295
+ Object {
296
+ "content": Array [
297
+ Object {
298
+ "text": "4",
299
+ "type": "text",
300
+ },
301
+ ],
302
+ "type": "paragraph",
303
+ },
304
+ ],
305
+ "type": "tableCell",
306
+ },
307
+ Object {
308
+ "attrs": Object {
309
+ "background": null,
310
+ "colspan": 1,
311
+ "colwidth": null,
312
+ "rowspan": 1,
313
+ },
314
+ "content": Array [
315
+ Object {
316
+ "content": Array [
317
+ Object {
318
+ "text": "5",
319
+ "type": "text",
320
+ },
321
+ ],
322
+ "type": "paragraph",
323
+ },
324
+ ],
325
+ "type": "tableCell",
326
+ },
327
+ Object {
328
+ "attrs": Object {
329
+ "background": null,
330
+ "colspan": 1,
331
+ "colwidth": null,
332
+ "rowspan": 1,
333
+ },
334
+ "content": Array [
335
+ Object {
336
+ "content": Array [
337
+ Object {
338
+ "text": "6",
339
+ "type": "text",
340
+ },
341
+ ],
342
+ "type": "paragraph",
343
+ },
344
+ ],
345
+ "type": "tableCell",
346
+ },
347
+ ],
348
+ "type": "tableRow",
349
+ },
350
+ Object {
351
+ "content": Array [
352
+ Object {
353
+ "attrs": Object {
354
+ "background": null,
355
+ "colspan": 1,
356
+ "colwidth": null,
357
+ "rowspan": 1,
358
+ },
359
+ "content": Array [
360
+ Object {
361
+ "content": Array [
362
+ Object {
363
+ "text": "7",
364
+ "type": "text",
365
+ },
366
+ ],
367
+ "type": "paragraph",
368
+ },
369
+ ],
370
+ "type": "tableCell",
371
+ },
372
+ Object {
373
+ "attrs": Object {
374
+ "background": null,
375
+ "colspan": 1,
376
+ "colwidth": null,
377
+ "rowspan": 1,
378
+ },
379
+ "content": Array [
380
+ Object {
381
+ "content": Array [
382
+ Object {
383
+ "text": "8",
384
+ "type": "text",
385
+ },
386
+ ],
387
+ "type": "paragraph",
388
+ },
389
+ ],
390
+ "type": "tableCell",
391
+ },
392
+ Object {
393
+ "attrs": Object {
394
+ "background": null,
395
+ "colspan": 1,
396
+ "colwidth": null,
397
+ "rowspan": 1,
398
+ },
399
+ "content": Array [
400
+ Object {
401
+ "content": Array [
402
+ Object {
403
+ "text": "9",
404
+ "type": "text",
405
+ },
406
+ ],
407
+ "type": "paragraph",
408
+ },
409
+ ],
410
+ "type": "tableCell",
411
+ },
412
+ ],
413
+ "type": "tableRow",
414
+ },
415
+ ],
416
+ "type": "table",
417
+ },
418
+ ],
419
+ "type": "doc",
420
+ }
421
+ `;