@atlaskit/editor-plugin-table 0.0.2 → 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 (182) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  3. package/dist/cjs/version.json +1 -1
  4. package/dist/es2019/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  5. package/dist/es2019/version.json +1 -1
  6. package/dist/esm/plugins/table/ui/FloatingContextualButton/index.js +2 -2
  7. package/dist/esm/version.json +1 -1
  8. package/dist/types-ts4.0/index.d.ts +1 -0
  9. package/dist/types-ts4.0/plugins/plugin-key.d.ts +4 -0
  10. package/dist/types-ts4.0/plugins/table/commands/clear.d.ts +3 -0
  11. package/dist/types-ts4.0/plugins/table/commands/collapse.d.ts +2 -0
  12. package/dist/types-ts4.0/plugins/table/commands/go-to-next-cell.d.ts +4 -0
  13. package/dist/types-ts4.0/plugins/table/commands/hover.d.ts +8 -0
  14. package/dist/types-ts4.0/plugins/table/commands/index.d.ts +7 -0
  15. package/dist/types-ts4.0/plugins/table/commands/insert.d.ts +10 -0
  16. package/dist/types-ts4.0/plugins/table/commands/misc.d.ts +27 -0
  17. package/dist/types-ts4.0/plugins/table/commands/selection.d.ts +8 -0
  18. package/dist/types-ts4.0/plugins/table/commands/sort.d.ts +3 -0
  19. package/dist/types-ts4.0/plugins/table/commands/split-cell.d.ts +6 -0
  20. package/dist/types-ts4.0/plugins/table/commands/toggle.d.ts +12 -0
  21. package/dist/types-ts4.0/plugins/table/commands-with-analytics.d.ts +26 -0
  22. package/dist/types-ts4.0/plugins/table/create-plugin-config.d.ts +2 -0
  23. package/dist/types-ts4.0/plugins/table/event-handlers.d.ts +16 -0
  24. package/dist/types-ts4.0/plugins/table/handlers.d.ts +3 -0
  25. package/dist/types-ts4.0/plugins/table/index.d.ts +17 -0
  26. package/dist/types-ts4.0/plugins/table/nodeviews/OverflowShadowsObserver.d.ts +26 -0
  27. package/dist/types-ts4.0/plugins/table/nodeviews/TableComponent.d.ts +72 -0
  28. package/dist/types-ts4.0/plugins/table/nodeviews/__mocks__/OverflowShadowsObserver.d.ts +9 -0
  29. package/dist/types-ts4.0/plugins/table/nodeviews/__mocks__/OverridableMock.d.ts +9 -0
  30. package/dist/types-ts4.0/plugins/table/nodeviews/table.d.ts +31 -0
  31. package/dist/types-ts4.0/plugins/table/nodeviews/tableCell.d.ts +19 -0
  32. package/dist/types-ts4.0/plugins/table/nodeviews/types.d.ts +23 -0
  33. package/dist/types-ts4.0/plugins/table/nodeviews/update-overflow-shadows.d.ts +8 -0
  34. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/plugin.d.ts +7 -0
  35. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/column-controls.d.ts +3 -0
  36. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/column-resizing.d.ts +2 -0
  37. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/compose-decorations.d.ts +2 -0
  38. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/index.d.ts +3 -0
  39. package/dist/types-ts4.0/plugins/table/pm-plugins/decorations/utils/types.d.ts +6 -0
  40. package/dist/types-ts4.0/plugins/table/pm-plugins/default-table-selection.d.ts +5 -0
  41. package/dist/types-ts4.0/plugins/table/pm-plugins/keymap.d.ts +5 -0
  42. package/dist/types-ts4.0/plugins/table/pm-plugins/main.d.ts +8 -0
  43. package/dist/types-ts4.0/plugins/table/pm-plugins/plugin-factory.d.ts +1 -0
  44. package/dist/types-ts4.0/plugins/table/pm-plugins/plugin-key.d.ts +3 -0
  45. package/dist/types-ts4.0/plugins/table/pm-plugins/safari-delayed-dom-selection-syncing-workaround.d.ts +4 -0
  46. package/dist/types-ts4.0/plugins/table/pm-plugins/safari-delete-composition-text-issue-workaround.d.ts +15 -0
  47. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/commands.d.ts +3 -0
  48. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/index.d.ts +6 -0
  49. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/nodeviews/dom.d.ts +6 -0
  50. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +65 -0
  51. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin-key.d.ts +3 -0
  52. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin-state.d.ts +3 -0
  53. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/plugin.d.ts +4 -0
  54. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/types.d.ts +16 -0
  55. package/dist/types-ts4.0/plugins/table/pm-plugins/sticky-headers/util.d.ts +2 -0
  56. package/dist/types-ts4.0/plugins/table/pm-plugins/table-local-id.d.ts +22 -0
  57. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/commands.d.ts +25 -0
  58. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/event-handlers.d.ts +4 -0
  59. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/index.d.ts +3 -0
  60. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin-factory.d.ts +4 -0
  61. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin-key.d.ts +3 -0
  62. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/plugin.d.ts +6 -0
  63. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/reducer.d.ts +3 -0
  64. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/colgroup.d.ts +8 -0
  65. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/column-state.d.ts +14 -0
  66. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/content-width.d.ts +4 -0
  67. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/dom.d.ts +13 -0
  68. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/index.d.ts +12 -0
  69. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/misc.d.ts +22 -0
  70. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-column.d.ts +2 -0
  71. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-logic.d.ts +4 -0
  72. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/resize-state.d.ts +29 -0
  73. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/scale-table.d.ts +17 -0
  74. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/types.d.ts +22 -0
  75. package/dist/types-ts4.0/plugins/table/pm-plugins/table-resizing/utils/unit-to-number.d.ts +1 -0
  76. package/dist/types-ts4.0/plugins/table/pm-plugins/table-selection-keymap.d.ts +4 -0
  77. package/dist/types-ts4.0/plugins/table/reducer.d.ts +3 -0
  78. package/dist/types-ts4.0/plugins/table/todo-stubs.d.ts +1 -0
  79. package/dist/types-ts4.0/plugins/table/toolbar.d.ts +36 -0
  80. package/dist/types-ts4.0/plugins/table/transforms/column-width.d.ts +18 -0
  81. package/dist/types-ts4.0/plugins/table/transforms/delete-columns.d.ts +3 -0
  82. package/dist/types-ts4.0/plugins/table/transforms/delete-rows.d.ts +3 -0
  83. package/dist/types-ts4.0/plugins/table/transforms/fix-tables.d.ts +10 -0
  84. package/dist/types-ts4.0/plugins/table/transforms/index.d.ts +7 -0
  85. package/dist/types-ts4.0/plugins/table/transforms/merge.d.ts +5 -0
  86. package/dist/types-ts4.0/plugins/table/transforms/metadata.d.ts +21 -0
  87. package/dist/types-ts4.0/plugins/table/transforms/replace-table.d.ts +5 -0
  88. package/dist/types-ts4.0/plugins/table/transforms/split.d.ts +9 -0
  89. package/dist/types-ts4.0/plugins/table/types.d.ts +328 -0
  90. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualButton/index.d.ts +29 -0
  91. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualButton/styles.d.ts +1 -0
  92. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/ContextualMenu.d.ts +87 -0
  93. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/index.d.ts +22 -0
  94. package/dist/types-ts4.0/plugins/table/ui/FloatingContextualMenu/styles.d.ts +2 -0
  95. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/DeleteButton.d.ts +14 -0
  96. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.d.ts +10 -0
  97. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/index.d.ts +54 -0
  98. package/dist/types-ts4.0/plugins/table/ui/FloatingDeleteButton/types.d.ts +1 -0
  99. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/InsertButton.d.ts +12 -0
  100. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/getPopupOptions.d.ts +3 -0
  101. package/dist/types-ts4.0/plugins/table/ui/FloatingInsertButton/index.d.ts +35 -0
  102. package/dist/types-ts4.0/plugins/table/ui/LayoutButton/index.d.ts +21 -0
  103. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/CornerControls/index.d.ts +19 -0
  104. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/NumberColumn/index.d.ts +21 -0
  105. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/RowControls/index.d.ts +17 -0
  106. package/dist/types-ts4.0/plugins/table/ui/TableFloatingControls/index.d.ts +40 -0
  107. package/dist/types-ts4.0/plugins/table/ui/common-styles.d.ts +4 -0
  108. package/dist/types-ts4.0/plugins/table/ui/consts.d.ts +39 -0
  109. package/dist/types-ts4.0/plugins/table/ui/messages.d.ts +38 -0
  110. package/dist/types-ts4.0/plugins/table/ui/ui-styles.d.ts +15 -0
  111. package/dist/types-ts4.0/plugins/table/utils/analytics.d.ts +18 -0
  112. package/dist/types-ts4.0/plugins/table/utils/collapse.d.ts +29 -0
  113. package/dist/types-ts4.0/plugins/table/utils/column-controls.d.ts +10 -0
  114. package/dist/types-ts4.0/plugins/table/utils/decoration.d.ts +16 -0
  115. package/dist/types-ts4.0/plugins/table/utils/dom.d.ts +20 -0
  116. package/dist/types-ts4.0/plugins/table/utils/get-allow-add-column-custom-step.d.ts +2 -0
  117. package/dist/types-ts4.0/plugins/table/utils/index.d.ts +11 -0
  118. package/dist/types-ts4.0/plugins/table/utils/nodes.d.ts +12 -0
  119. package/dist/types-ts4.0/plugins/table/utils/paste.d.ts +14 -0
  120. package/dist/types-ts4.0/plugins/table/utils/referentiality.d.ts +2 -0
  121. package/dist/types-ts4.0/plugins/table/utils/row-controls.d.ts +16 -0
  122. package/dist/types-ts4.0/plugins/table/utils/selection.d.ts +6 -0
  123. package/dist/types-ts4.0/plugins/table/utils/table.d.ts +4 -0
  124. package/dist/types-ts4.0/plugins/table/utils/update-plugin-state-decorations.d.ts +4 -0
  125. package/dist/types-ts4.0/plugins/table-plugin.d.ts +2 -0
  126. package/dist/types-ts4.0/types.d.ts +3 -0
  127. package/examples/99-testing.tsx +227 -0
  128. package/package.json +16 -3
  129. package/src/plugins/table/__tests__/integration/__fixtures__/auto-size-documents.ts +439 -0
  130. package/src/plugins/table/__tests__/integration/__fixtures__/basic-table.ts +120 -0
  131. package/src/plugins/table/__tests__/integration/__fixtures__/empty-paragraph-underneath-table.ts +396 -0
  132. package/src/plugins/table/__tests__/integration/__fixtures__/even-columns.ts +493 -0
  133. package/src/plugins/table/__tests__/integration/__fixtures__/layout-documents.ts +607 -0
  134. package/src/plugins/table/__tests__/integration/__fixtures__/merged-rows-and-cols-document.ts +343 -0
  135. package/src/plugins/table/__tests__/integration/__fixtures__/nested-in-extension.ts +163 -0
  136. package/src/plugins/table/__tests__/integration/__fixtures__/paragraph-and-table-adf.json +130 -0
  137. package/src/plugins/table/__tests__/integration/__fixtures__/resize-documents.ts +1610 -0
  138. package/src/plugins/table/__tests__/integration/__fixtures__/scale.ts +825 -0
  139. package/src/plugins/table/__tests__/integration/__fixtures__/table-inside-layout.ts +145 -0
  140. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-min-width-columns-document.ts +175 -0
  141. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-multiline-date.adf.json +168 -0
  142. package/src/plugins/table/__tests__/integration/__fixtures__/table-with-text-and-empty-row.ts +216 -0
  143. package/src/plugins/table/__tests__/integration/__snapshots__/auto-size.ts.snap +609 -0
  144. package/src/plugins/table/__tests__/integration/__snapshots__/change-date-inside-table.ts.snap +173 -0
  145. package/src/plugins/table/__tests__/integration/__snapshots__/copy-button.ts.snap +421 -0
  146. package/src/plugins/table/__tests__/integration/__snapshots__/delete-columns.ts.snap +818 -0
  147. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-column-in-full-width.ts.snap +119 -0
  148. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-column-with-empty-action.ts.snap +119 -0
  149. package/src/plugins/table/__tests__/integration/__snapshots__/delete-last-row-with-empty-action.ts.snap +227 -0
  150. package/src/plugins/table/__tests__/integration/__snapshots__/delete-rows.ts.snap +959 -0
  151. package/src/plugins/table/__tests__/integration/__snapshots__/delete-table-when-selected.ts.snap +101 -0
  152. package/src/plugins/table/__tests__/integration/__snapshots__/deleting-empty-paragraph-under-table.ts.snap +502 -0
  153. package/src/plugins/table/__tests__/integration/__snapshots__/even-columns.ts.snap +645 -0
  154. package/src/plugins/table/__tests__/integration/__snapshots__/insert-cell-header-with-strong-mark.ts.snap +172 -0
  155. package/src/plugins/table/__tests__/integration/__snapshots__/insert-row-inside-layout.ts.snap +238 -0
  156. package/src/plugins/table/__tests__/integration/__snapshots__/layout.ts.snap +1645 -0
  157. package/src/plugins/table/__tests__/integration/__snapshots__/resize.ts.snap +2674 -0
  158. package/src/plugins/table/__tests__/integration/__snapshots__/scale.ts.snap +1083 -0
  159. package/src/plugins/table/__tests__/integration/arrow-down-into-table.ts +38 -0
  160. package/src/plugins/table/__tests__/integration/auto-size.ts +87 -0
  161. package/src/plugins/table/__tests__/integration/block-node-selection.ts +162 -163
  162. package/src/plugins/table/__tests__/integration/cell-selection.ts +101 -0
  163. package/src/plugins/table/__tests__/integration/change-date-inside-table.ts +47 -0
  164. package/src/plugins/table/__tests__/integration/copy-button.ts +179 -0
  165. package/src/plugins/table/__tests__/integration/delete-columns.ts +95 -0
  166. package/src/plugins/table/__tests__/integration/delete-last-column-in-full-width.ts +70 -0
  167. package/src/plugins/table/__tests__/integration/delete-last-column-with-empty-action.ts +58 -0
  168. package/src/plugins/table/__tests__/integration/delete-last-row-with-empty-action.ts +97 -0
  169. package/src/plugins/table/__tests__/integration/delete-rows.ts +122 -0
  170. package/src/plugins/table/__tests__/integration/delete-table-when-selected.ts +110 -0
  171. package/src/plugins/table/__tests__/integration/deleting-empty-paragraph-under-table.ts +86 -0
  172. package/src/plugins/table/__tests__/integration/even-columns.ts +72 -0
  173. package/src/plugins/table/__tests__/integration/insert-cell-header-with-strong-mark.ts +40 -0
  174. package/src/plugins/table/__tests__/integration/insert-long-smart-link.ts +52 -0
  175. package/src/plugins/table/__tests__/integration/insert-row-inside-layout.ts +47 -0
  176. package/src/plugins/table/__tests__/integration/layout.ts +224 -0
  177. package/src/plugins/table/__tests__/integration/resize-handler.ts +101 -0
  178. package/src/plugins/table/__tests__/integration/resize.ts +342 -0
  179. package/src/plugins/table/__tests__/integration/scale.ts +67 -0
  180. package/src/plugins/table/__tests__/integration/table-controls-selection.ts +70 -0
  181. package/src/plugins/table/ui/FloatingContextualButton/index.tsx +2 -2
  182. package/types/package.json +8 -1
@@ -0,0 +1,145 @@
1
+ export const table = {
2
+ version: 1,
3
+ type: 'doc',
4
+ content: [
5
+ {
6
+ type: 'layoutSection',
7
+ content: [
8
+ {
9
+ type: 'layoutColumn',
10
+ attrs: {
11
+ width: 50,
12
+ },
13
+ content: [
14
+ {
15
+ type: 'paragraph',
16
+ content: [],
17
+ },
18
+ ],
19
+ },
20
+ {
21
+ type: 'layoutColumn',
22
+ attrs: {
23
+ width: 50,
24
+ },
25
+ content: [
26
+ {
27
+ type: 'table',
28
+ attrs: {
29
+ isNumberColumnEnabled: false,
30
+ layout: 'default',
31
+ },
32
+ content: [
33
+ {
34
+ type: 'tableRow',
35
+ content: [
36
+ {
37
+ type: 'tableHeader',
38
+ attrs: {},
39
+ content: [
40
+ {
41
+ type: 'paragraph',
42
+ content: [],
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ type: 'tableHeader',
48
+ attrs: {},
49
+ content: [
50
+ {
51
+ type: 'paragraph',
52
+ content: [],
53
+ },
54
+ ],
55
+ },
56
+ {
57
+ type: 'tableHeader',
58
+ attrs: {},
59
+ content: [
60
+ {
61
+ type: 'paragraph',
62
+ content: [],
63
+ },
64
+ ],
65
+ },
66
+ ],
67
+ },
68
+ {
69
+ type: 'tableRow',
70
+ content: [
71
+ {
72
+ type: 'tableCell',
73
+ attrs: {},
74
+ content: [
75
+ {
76
+ type: 'paragraph',
77
+ content: [],
78
+ },
79
+ ],
80
+ },
81
+ {
82
+ type: 'tableCell',
83
+ attrs: {},
84
+ content: [
85
+ {
86
+ type: 'paragraph',
87
+ content: [],
88
+ },
89
+ ],
90
+ },
91
+ {
92
+ type: 'tableCell',
93
+ attrs: {},
94
+ content: [
95
+ {
96
+ type: 'paragraph',
97
+ content: [],
98
+ },
99
+ ],
100
+ },
101
+ ],
102
+ },
103
+ {
104
+ type: 'tableRow',
105
+ content: [
106
+ {
107
+ type: 'tableCell',
108
+ attrs: {},
109
+ content: [
110
+ {
111
+ type: 'paragraph',
112
+ content: [],
113
+ },
114
+ ],
115
+ },
116
+ {
117
+ type: 'tableCell',
118
+ attrs: {},
119
+ content: [
120
+ {
121
+ type: 'paragraph',
122
+ content: [],
123
+ },
124
+ ],
125
+ },
126
+ {
127
+ type: 'tableCell',
128
+ attrs: {},
129
+ content: [
130
+ {
131
+ type: 'paragraph',
132
+ content: [],
133
+ },
134
+ ],
135
+ },
136
+ ],
137
+ },
138
+ ],
139
+ },
140
+ ],
141
+ },
142
+ ],
143
+ },
144
+ ],
145
+ };
@@ -0,0 +1,175 @@
1
+ export const tableWithMinWidthColumnsDocument = {
2
+ version: 1,
3
+ type: 'doc',
4
+ content: [
5
+ {
6
+ type: 'table',
7
+ attrs: {
8
+ isNumberColumnEnabled: false,
9
+ layout: 'default',
10
+ localId: 'abc-123',
11
+ },
12
+ content: [
13
+ {
14
+ type: 'tableRow',
15
+ content: [
16
+ {
17
+ type: 'tableHeader',
18
+ attrs: {
19
+ colwidth: [48],
20
+ },
21
+ content: [
22
+ {
23
+ type: 'paragraph',
24
+ content: [],
25
+ },
26
+ ],
27
+ },
28
+ {
29
+ type: 'tableHeader',
30
+ attrs: {
31
+ colwidth: [48],
32
+ },
33
+ content: [
34
+ {
35
+ type: 'paragraph',
36
+ content: [],
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ type: 'tableHeader',
42
+ attrs: {
43
+ colwidth: [48],
44
+ },
45
+ content: [
46
+ {
47
+ type: 'paragraph',
48
+ content: [],
49
+ },
50
+ ],
51
+ },
52
+ {
53
+ type: 'tableHeader',
54
+ attrs: {
55
+ colwidth: [535],
56
+ },
57
+ content: [
58
+ {
59
+ type: 'paragraph',
60
+ content: [],
61
+ },
62
+ ],
63
+ },
64
+ ],
65
+ },
66
+ {
67
+ type: 'tableRow',
68
+ content: [
69
+ {
70
+ type: 'tableCell',
71
+ attrs: {
72
+ colwidth: [48],
73
+ },
74
+ content: [
75
+ {
76
+ type: 'paragraph',
77
+ content: [],
78
+ },
79
+ ],
80
+ },
81
+ {
82
+ type: 'tableCell',
83
+ attrs: {
84
+ colwidth: [48],
85
+ },
86
+ content: [
87
+ {
88
+ type: 'paragraph',
89
+ content: [],
90
+ },
91
+ ],
92
+ },
93
+ {
94
+ type: 'tableCell',
95
+ attrs: {
96
+ colwidth: [48],
97
+ },
98
+ content: [
99
+ {
100
+ type: 'paragraph',
101
+ content: [],
102
+ },
103
+ ],
104
+ },
105
+ {
106
+ type: 'tableCell',
107
+ attrs: {
108
+ colwidth: [535],
109
+ },
110
+ content: [
111
+ {
112
+ type: 'paragraph',
113
+ content: [],
114
+ },
115
+ ],
116
+ },
117
+ ],
118
+ },
119
+ {
120
+ type: 'tableRow',
121
+ content: [
122
+ {
123
+ type: 'tableCell',
124
+ attrs: {
125
+ colwidth: [48],
126
+ },
127
+ content: [
128
+ {
129
+ type: 'paragraph',
130
+ content: [],
131
+ },
132
+ ],
133
+ },
134
+ {
135
+ type: 'tableCell',
136
+ attrs: {
137
+ colwidth: [48],
138
+ },
139
+ content: [
140
+ {
141
+ type: 'paragraph',
142
+ content: [],
143
+ },
144
+ ],
145
+ },
146
+ {
147
+ type: 'tableCell',
148
+ attrs: {
149
+ colwidth: [48],
150
+ },
151
+ content: [
152
+ {
153
+ type: 'paragraph',
154
+ content: [],
155
+ },
156
+ ],
157
+ },
158
+ {
159
+ type: 'tableCell',
160
+ attrs: {
161
+ colwidth: [535],
162
+ },
163
+ content: [
164
+ {
165
+ type: 'paragraph',
166
+ content: [],
167
+ },
168
+ ],
169
+ },
170
+ ],
171
+ },
172
+ ],
173
+ },
174
+ ],
175
+ };
@@ -0,0 +1,168 @@
1
+ {
2
+ "version": 1,
3
+ "type": "doc",
4
+ "content": [
5
+ {
6
+ "type": "table",
7
+ "attrs": {
8
+ "isNumberColumnEnabled": false,
9
+ "layout": "default",
10
+ "localId": "b1db8b12-65aa-40a4-b3ab-74cee4a7069b"
11
+ },
12
+ "content": [
13
+ {
14
+ "type": "tableRow",
15
+ "content": [
16
+ {
17
+ "type": "tableHeader",
18
+ "attrs": {
19
+ "colwidth": [
20
+ 253
21
+ ]
22
+ },
23
+ "content": [
24
+ {
25
+ "type": "paragraph",
26
+ "content": []
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "type": "tableHeader",
32
+ "attrs": {
33
+ "colwidth": [
34
+ 405
35
+ ]
36
+ },
37
+ "content": [
38
+ {
39
+ "type": "paragraph",
40
+ "content": []
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "type": "tableHeader",
46
+ "attrs": {
47
+ "colwidth": [
48
+ 101
49
+ ]
50
+ },
51
+ "content": [
52
+ {
53
+ "type": "paragraph",
54
+ "content": []
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "type": "tableRow",
62
+ "content": [
63
+ {
64
+ "type": "tableCell",
65
+ "attrs": {
66
+ "colwidth": [
67
+ 253
68
+ ]
69
+ },
70
+ "content": [
71
+ {
72
+ "type": "paragraph",
73
+ "content": []
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "type": "tableCell",
79
+ "attrs": {
80
+ "colwidth": [
81
+ 405
82
+ ]
83
+ },
84
+ "content": [
85
+ {
86
+ "type": "paragraph",
87
+ "content": []
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "type": "tableCell",
93
+ "attrs": {
94
+ "colwidth": [
95
+ 101
96
+ ]
97
+ },
98
+ "content": [
99
+ {
100
+ "type": "paragraph",
101
+ "content": [
102
+ {
103
+ "type": "date",
104
+ "attrs": {
105
+ "timestamp": "1659484800000"
106
+ }
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": " "
111
+ }
112
+ ]
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "type": "tableRow",
120
+ "content": [
121
+ {
122
+ "type": "tableCell",
123
+ "attrs": {
124
+ "colwidth": [
125
+ 253
126
+ ]
127
+ },
128
+ "content": [
129
+ {
130
+ "type": "paragraph",
131
+ "content": []
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "type": "tableCell",
137
+ "attrs": {
138
+ "colwidth": [
139
+ 405
140
+ ]
141
+ },
142
+ "content": [
143
+ {
144
+ "type": "paragraph",
145
+ "content": []
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "type": "tableCell",
151
+ "attrs": {
152
+ "colwidth": [
153
+ 101
154
+ ]
155
+ },
156
+ "content": [
157
+ {
158
+ "type": "paragraph",
159
+ "content": []
160
+ }
161
+ ]
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ }
@@ -0,0 +1,216 @@
1
+ export default {
2
+ version: 1,
3
+ type: 'doc',
4
+ content: [
5
+ {
6
+ type: 'table',
7
+ attrs: {
8
+ isNumberColumnEnabled: false,
9
+ layout: 'default',
10
+ localId: 'f37fd7b7-a3e6-4061-b2c2-c5074e766225',
11
+ },
12
+ content: [
13
+ {
14
+ type: 'tableRow',
15
+ content: [
16
+ {
17
+ type: 'tableHeader',
18
+ attrs: {},
19
+ content: [
20
+ {
21
+ type: 'paragraph',
22
+ content: [
23
+ {
24
+ type: 'text',
25
+ text: 'hello',
26
+ marks: [
27
+ {
28
+ type: 'strong',
29
+ },
30
+ ],
31
+ },
32
+ ],
33
+ },
34
+ ],
35
+ },
36
+ {
37
+ type: 'tableHeader',
38
+ attrs: {},
39
+ content: [
40
+ {
41
+ type: 'paragraph',
42
+ content: [
43
+ {
44
+ type: 'text',
45
+ text: 'hello',
46
+ marks: [
47
+ {
48
+ type: 'strong',
49
+ },
50
+ ],
51
+ },
52
+ ],
53
+ },
54
+ ],
55
+ },
56
+ {
57
+ type: 'tableHeader',
58
+ attrs: {},
59
+ content: [
60
+ {
61
+ type: 'paragraph',
62
+ content: [
63
+ {
64
+ type: 'text',
65
+ text: 'hello',
66
+ marks: [
67
+ {
68
+ type: 'strong',
69
+ },
70
+ ],
71
+ },
72
+ ],
73
+ },
74
+ ],
75
+ },
76
+ ],
77
+ },
78
+ {
79
+ type: 'tableRow',
80
+ content: [
81
+ {
82
+ type: 'tableCell',
83
+ attrs: {},
84
+ content: [
85
+ {
86
+ type: 'paragraph',
87
+ content: [
88
+ {
89
+ type: 'text',
90
+ text: 'hello',
91
+ },
92
+ ],
93
+ },
94
+ ],
95
+ },
96
+ {
97
+ type: 'tableCell',
98
+ attrs: {},
99
+ content: [
100
+ {
101
+ type: 'paragraph',
102
+ content: [
103
+ {
104
+ type: 'text',
105
+ text: 'hello',
106
+ },
107
+ ],
108
+ },
109
+ ],
110
+ },
111
+ {
112
+ type: 'tableCell',
113
+ attrs: {},
114
+ content: [
115
+ {
116
+ type: 'paragraph',
117
+ content: [
118
+ {
119
+ type: 'text',
120
+ text: 'hello',
121
+ },
122
+ ],
123
+ },
124
+ ],
125
+ },
126
+ ],
127
+ },
128
+ {
129
+ type: 'tableRow',
130
+ content: [
131
+ {
132
+ type: 'tableCell',
133
+ attrs: {},
134
+ content: [
135
+ {
136
+ type: 'paragraph',
137
+ content: [
138
+ {
139
+ type: 'text',
140
+ text: 'hello',
141
+ },
142
+ ],
143
+ },
144
+ ],
145
+ },
146
+ {
147
+ type: 'tableCell',
148
+ attrs: {},
149
+ content: [
150
+ {
151
+ type: 'paragraph',
152
+ content: [
153
+ {
154
+ type: 'text',
155
+ text: 'hello',
156
+ },
157
+ ],
158
+ },
159
+ ],
160
+ },
161
+ {
162
+ type: 'tableCell',
163
+ attrs: {},
164
+ content: [
165
+ {
166
+ type: 'paragraph',
167
+ content: [
168
+ {
169
+ type: 'text',
170
+ text: 'hello',
171
+ },
172
+ ],
173
+ },
174
+ ],
175
+ },
176
+ ],
177
+ },
178
+ {
179
+ type: 'tableRow',
180
+ content: [
181
+ {
182
+ type: 'tableCell',
183
+ attrs: {},
184
+ content: [
185
+ {
186
+ type: 'paragraph',
187
+ content: [],
188
+ },
189
+ ],
190
+ },
191
+ {
192
+ type: 'tableCell',
193
+ attrs: {},
194
+ content: [
195
+ {
196
+ type: 'paragraph',
197
+ content: [],
198
+ },
199
+ ],
200
+ },
201
+ {
202
+ type: 'tableCell',
203
+ attrs: {},
204
+ content: [
205
+ {
206
+ type: 'paragraph',
207
+ content: [],
208
+ },
209
+ ],
210
+ },
211
+ ],
212
+ },
213
+ ],
214
+ },
215
+ ],
216
+ };