@atlaskit/adf-schema 28.1.12 → 28.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/__tests__/unit/json-schema/v1.ts +0 -55
- package/src/__tests__/unit/schema/create-schema.ts +0 -214
- package/src/__tests__/unit/schema/default-schema.ts +0 -192
- package/src/__tests__/unit/schema/marks/annotation.ts +0 -46
- package/src/__tests__/unit/schema/marks/border.ts +0 -76
- package/src/__tests__/unit/schema/marks/breakout.ts +0 -24
- package/src/__tests__/unit/schema/marks/code.ts +0 -44
- package/src/__tests__/unit/schema/marks/confluence-inline-comment.ts +0 -25
- package/src/__tests__/unit/schema/marks/data-consumer.ts +0 -52
- package/src/__tests__/unit/schema/marks/em.ts +0 -37
- package/src/__tests__/unit/schema/marks/link.ts +0 -188
- package/src/__tests__/unit/schema/marks/strike.ts +0 -37
- package/src/__tests__/unit/schema/marks/strong.ts +0 -43
- package/src/__tests__/unit/schema/marks/subsup.ts +0 -50
- package/src/__tests__/unit/schema/marks/text-color.ts +0 -61
- package/src/__tests__/unit/schema/marks/underline.ts +0 -36
- package/src/__tests__/unit/schema/nodes/_consts.ts +0 -964
- package/src/__tests__/unit/schema/nodes/block-card.ts +0 -184
- package/src/__tests__/unit/schema/nodes/blockquote.ts +0 -44
- package/src/__tests__/unit/schema/nodes/bodied-extension.ts +0 -101
- package/src/__tests__/unit/schema/nodes/code-block.ts +0 -221
- package/src/__tests__/unit/schema/nodes/confluence-unsupported-block.ts +0 -32
- package/src/__tests__/unit/schema/nodes/confluence-unsupported-inline.ts +0 -35
- package/src/__tests__/unit/schema/nodes/date.ts +0 -51
- package/src/__tests__/unit/schema/nodes/decision-item.ts +0 -46
- package/src/__tests__/unit/schema/nodes/decision-list.ts +0 -52
- package/src/__tests__/unit/schema/nodes/embed-card.ts +0 -60
- package/src/__tests__/unit/schema/nodes/emoji.ts +0 -71
- package/src/__tests__/unit/schema/nodes/expand.ts +0 -51
- package/src/__tests__/unit/schema/nodes/extension.ts +0 -101
- package/src/__tests__/unit/schema/nodes/hard-break.ts +0 -24
- package/src/__tests__/unit/schema/nodes/heading.ts +0 -56
- package/src/__tests__/unit/schema/nodes/image.ts +0 -32
- package/src/__tests__/unit/schema/nodes/inline-card.ts +0 -106
- package/src/__tests__/unit/schema/nodes/inline-extension.ts +0 -79
- package/src/__tests__/unit/schema/nodes/layout-column.ts +0 -54
- package/src/__tests__/unit/schema/nodes/layout-section.ts +0 -95
- package/src/__tests__/unit/schema/nodes/list-item.ts +0 -49
- package/src/__tests__/unit/schema/nodes/media-group.ts +0 -67
- package/src/__tests__/unit/schema/nodes/media-single.ts +0 -171
- package/src/__tests__/unit/schema/nodes/media.ts +0 -384
- package/src/__tests__/unit/schema/nodes/mention.ts +0 -115
- package/src/__tests__/unit/schema/nodes/nestedExpand.ts +0 -72
- package/src/__tests__/unit/schema/nodes/ordered-list.ts +0 -49
- package/src/__tests__/unit/schema/nodes/panel.ts +0 -180
- package/src/__tests__/unit/schema/nodes/paragraph.ts +0 -25
- package/src/__tests__/unit/schema/nodes/placeholder.ts +0 -46
- package/src/__tests__/unit/schema/nodes/rule.ts +0 -24
- package/src/__tests__/unit/schema/nodes/status.ts +0 -120
- package/src/__tests__/unit/schema/nodes/tableNodes.ts +0 -555
- package/src/__tests__/unit/schema/nodes/task-item.ts +0 -39
- package/src/__tests__/unit/schema/nodes/task-list.ts +0 -45
- package/src/__tests__/unit/schema/nodes/unknown-block.ts +0 -42
- package/src/__tests__/unit/schema/nodes/unsupported-block.ts +0 -42
- package/src/__tests__/unit/schema/nodes/unsupported-inline.ts +0 -38
- package/src/__tests__/unit/utils/colors.ts +0 -42
- package/src/__tests__/unit/utils/url.ts +0 -209
- package/src/schema/bitbucket-schema.ts +0 -43
- package/src/schema/confluence-schema.ts +0 -76
- package/src/schema/create-schema.ts +0 -337
- package/src/schema/default-schema.ts +0 -180
- package/src/schema/groups.ts +0 -30
- package/src/schema/inline-nodes.ts +0 -9
- package/src/schema/jira-schema.ts +0 -158
- package/src/schema/marks/__tests__/unit/annotation.ts +0 -18
- package/src/schema/marks/alignment.ts +0 -48
- package/src/schema/marks/annotation.ts +0 -107
- package/src/schema/marks/border.ts +0 -74
- package/src/schema/marks/breakout.ts +0 -42
- package/src/schema/marks/code.ts +0 -45
- package/src/schema/marks/confluence-inline-comment.ts +0 -32
- package/src/schema/marks/data-consumer.ts +0 -100
- package/src/schema/marks/em.ts +0 -19
- package/src/schema/marks/fragment.ts +0 -77
- package/src/schema/marks/indentation.ts +0 -47
- package/src/schema/marks/link.ts +0 -139
- package/src/schema/marks/strike.ts +0 -26
- package/src/schema/marks/strong.ts +0 -45
- package/src/schema/marks/subsup.ts +0 -53
- package/src/schema/marks/text-color.ts +0 -172
- package/src/schema/marks/type-ahead-query.ts +0 -22
- package/src/schema/marks/underline.ts +0 -24
- package/src/schema/marks/unsupported-mark.ts +0 -9
- package/src/schema/marks/unsupported-node-attributes.ts +0 -8
- package/src/schema/nodes/block-card.ts +0 -121
- package/src/schema/nodes/blockquote.ts +0 -25
- package/src/schema/nodes/bodied-extension.ts +0 -75
- package/src/schema/nodes/bullet-list.ts +0 -17
- package/src/schema/nodes/caption.ts +0 -51
- package/src/schema/nodes/code-block.ts +0 -176
- package/src/schema/nodes/confluence-jira-issue.ts +0 -43
- package/src/schema/nodes/confluence-unsupported-block.ts +0 -29
- package/src/schema/nodes/confluence-unsupported-inline.ts +0 -30
- package/src/schema/nodes/date.ts +0 -38
- package/src/schema/nodes/decision-item.ts +0 -50
- package/src/schema/nodes/decision-list.ts +0 -56
- package/src/schema/nodes/doc.ts +0 -30
- package/src/schema/nodes/embed-card.ts +0 -62
- package/src/schema/nodes/emoji.ts +0 -89
- package/src/schema/nodes/expand.ts +0 -101
- package/src/schema/nodes/extension.ts +0 -60
- package/src/schema/nodes/hard-break.ts +0 -21
- package/src/schema/nodes/heading.ts +0 -64
- package/src/schema/nodes/image.ts +0 -32
- package/src/schema/nodes/inline-card.ts +0 -70
- package/src/schema/nodes/inline-extension.ts +0 -57
- package/src/schema/nodes/layout-column.ts +0 -68
- package/src/schema/nodes/layout-section.ts +0 -93
- package/src/schema/nodes/list-item.ts +0 -13
- package/src/schema/nodes/media-group.ts +0 -44
- package/src/schema/nodes/media-inline.ts +0 -19
- package/src/schema/nodes/media-single.ts +0 -179
- package/src/schema/nodes/media.ts +0 -253
- package/src/schema/nodes/mention.ts +0 -86
- package/src/schema/nodes/nested-expand.ts +0 -77
- package/src/schema/nodes/ordered-list.ts +0 -62
- package/src/schema/nodes/panel.ts +0 -133
- package/src/schema/nodes/paragraph.ts +0 -79
- package/src/schema/nodes/placeholder.ts +0 -40
- package/src/schema/nodes/rule.ts +0 -17
- package/src/schema/nodes/status.ts +0 -58
- package/src/schema/nodes/tableNodes.ts +0 -478
- package/src/schema/nodes/task-item.ts +0 -51
- package/src/schema/nodes/task-list.ts +0 -61
- package/src/schema/nodes/text.ts +0 -19
- package/src/schema/nodes/types/block-content.ts +0 -51
- package/src/schema/nodes/types/extensions.ts +0 -36
- package/src/schema/nodes/types/inline-content.ts +0 -56
- package/src/schema/nodes/types/list.ts +0 -54
- package/src/schema/nodes/types/mark.ts +0 -16
- package/src/schema/nodes/types/non-nestable-block-content.ts +0 -39
- package/src/schema/nodes/types/rich-media-common.ts +0 -51
- package/src/schema/nodes/unknown-block.ts +0 -13
- package/src/schema/nodes/unsupported-block.ts +0 -28
- package/src/schema/nodes/unsupported-inline.ts +0 -27
- package/src/schema/unsupported.ts +0 -4
- package/src/steps/__tests__/unit/analytics.ts +0 -72
- package/src/steps/__tests__/unit/link-meta-step.ts +0 -64
- package/src/steps/__tests__/unit/override-document-step.ts +0 -174
- package/src/steps/__tests__/unit/set-attrs.ts +0 -71
- package/src/steps/analytics.ts +0 -189
- package/src/steps/link-meta-step.ts +0 -105
- package/src/steps/override-document-step.ts +0 -97
- package/src/steps/set-attrs.tsx +0 -74
- package/src/steps/table/__tests__/__fixtures__/basic/add-column-at-0.json +0 -15
- package/src/steps/table/__tests__/__fixtures__/basic/add-column-at-1.json +0 -15
- package/src/steps/table/__tests__/__fixtures__/basic/add-column-at-2.json +0 -15
- package/src/steps/table/__tests__/__fixtures__/basic/add-column-at-3.json +0 -15
- package/src/steps/table/__tests__/__fixtures__/basic/remove-column-at-0.json +0 -9
- package/src/steps/table/__tests__/__fixtures__/basic/remove-column-at-1.json +0 -9
- package/src/steps/table/__tests__/__fixtures__/basic/remove-column-at-2.json +0 -9
- package/src/steps/table/__tests__/__fixtures__/basic/remove-table/remove-last-row-inverted.json +0 -98
- package/src/steps/table/__tests__/__fixtures__/basic/remove-table/remove-last-row.json +0 -71
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-0-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-0.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-1-inverted.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-1.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-2-inverted.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-2.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-3-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/add-column-at-3.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-0-inverted.json +0 -63
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-0.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-1-inverted.json +0 -64
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-1.json +0 -22
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-2-inverted.json +0 -63
- package/src/steps/table/__tests__/__fixtures__/merge-cells/columns/remove-column-at-2.json +0 -21
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-0-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-0.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-1-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-1.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-2-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-2.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-3-inverted.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/add-column-at-3.json +0 -19
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-0-inverted.json +0 -52
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-0.json +0 -38
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-1-inverted.json +0 -52
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-1.json +0 -38
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-2-inverted.json +0 -25
- package/src/steps/table/__tests__/__fixtures__/merge-cells/rows/remove-column-at-2.json +0 -11
- package/src/steps/table/__tests__/_utils.ts +0 -102
- package/src/steps/table/__tests__/add-column-merge-columns.ts +0 -509
- package/src/steps/table/__tests__/add-column-merge-rows.ts +0 -466
- package/src/steps/table/__tests__/add-column.ts +0 -638
- package/src/steps/table/add-column.ts +0 -443
- package/src/steps/table/constants.ts +0 -4
- package/src/steps/table/sort-column.ts +0 -57
- package/src/steps/table/types.ts +0 -48
- package/src/steps/table/utils/cell-step.ts +0 -239
- package/src/steps/table/utils/cells-at-column.ts +0 -75
- package/src/steps/table/utils/find-column.ts +0 -90
- package/src/steps/table/utils/get-table-rect-from-doc.ts +0 -37
- package/src/steps/table/utils/side-effects/rows.ts +0 -327
- package/src/steps/table/utils/side-effects/side-effects.ts +0 -90
- package/src/steps/table/utils/side-effects/table.ts +0 -112
- package/src/steps/table/utils/side-effects/types.ts +0 -34
- package/src/steps/table/utils/table-map.ts +0 -28
- package/src/steps/type-ahead.ts +0 -100
- package/src/steps.ts +0 -16
- package/src/utils/colors.ts +0 -171
- package/src/utils/confluence/emoji.ts +0 -99
- package/src/utils/extensions.ts +0 -32
- package/src/utils/parseDOM.ts +0 -2
- package/src/utils/url.ts +0 -173
- package/src/utils/uuid.ts +0 -19
- package/src/version.json +0 -6
@@ -1,964 +0,0 @@
|
|
1
|
-
//#region html snippets for tableNodes
|
2
|
-
export const ATTRIBUTES_PARSE_DEFAULTS = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
3
|
-
<table>
|
4
|
-
<tbody>
|
5
|
-
<tr>
|
6
|
-
<th class="pm-table-header-content-wrap">
|
7
|
-
<p><strong>A</strong></p>
|
8
|
-
</th>
|
9
|
-
<td class="pm-table-cell-content-wrap">
|
10
|
-
<p><strong>B</strong></p>
|
11
|
-
</td>
|
12
|
-
</tr>
|
13
|
-
<tr>
|
14
|
-
<th class="pm-table-header-content-wrap"><p>1</p></th>
|
15
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
16
|
-
</tr>
|
17
|
-
</tbody>
|
18
|
-
</table>`;
|
19
|
-
export const ATTRIBUTES_PARSE_NUMBERED_COLUMNS = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
20
|
-
<table
|
21
|
-
data-number-column="true"
|
22
|
-
data-layout="default"
|
23
|
-
data-autosize="false"
|
24
|
-
data-pm-slice="1 1 []"
|
25
|
-
>
|
26
|
-
<tbody>
|
27
|
-
<tr>
|
28
|
-
<th class="pm-table-header-content-wrap">
|
29
|
-
<p><strong>A</strong></p>
|
30
|
-
</th>
|
31
|
-
<td class="pm-table-cell-content-wrap">
|
32
|
-
<p><strong>B</strong></p>
|
33
|
-
</td>
|
34
|
-
</tr>
|
35
|
-
<tr>
|
36
|
-
<th class="pm-table-header-content-wrap"><p>1</p></th>
|
37
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
38
|
-
</tr>
|
39
|
-
</tbody>
|
40
|
-
</table>`;
|
41
|
-
export const ATTRIBUTES_PARSE_WIDE_LAYOUT = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
42
|
-
<table
|
43
|
-
data-number-column="false"
|
44
|
-
data-layout="wide"
|
45
|
-
data-autosize="false"
|
46
|
-
data-pm-slice="1 1 []"
|
47
|
-
>
|
48
|
-
<tbody>
|
49
|
-
<tr>
|
50
|
-
<td class="pm-table-cell-content-wrap">
|
51
|
-
<p><strong>A</strong></p>
|
52
|
-
</td>
|
53
|
-
<td class="pm-table-cell-content-wrap">
|
54
|
-
<p><strong>B</strong></p>
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr>
|
58
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
59
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
60
|
-
</tr>
|
61
|
-
</tbody>
|
62
|
-
</table>`;
|
63
|
-
export const ATTRIBUTES_PARSE_FULLWIDTH_LAYOUT = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
64
|
-
<table
|
65
|
-
data-number-column="false"
|
66
|
-
data-layout="full-width"
|
67
|
-
data-autosize="false"
|
68
|
-
data-pm-slice="1 1 []"
|
69
|
-
>
|
70
|
-
<tbody>
|
71
|
-
<tr>
|
72
|
-
<td class="pm-table-cell-content-wrap">
|
73
|
-
<p><strong>A</strong></p>
|
74
|
-
</td>
|
75
|
-
<td class="pm-table-cell-content-wrap">
|
76
|
-
<p><strong>B</strong></p>
|
77
|
-
</td>
|
78
|
-
</tr>
|
79
|
-
<tr>
|
80
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
81
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
82
|
-
</tr>
|
83
|
-
</tbody>
|
84
|
-
</table>`;
|
85
|
-
export const HTML_PARSE_EDITOR_2x2 = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
86
|
-
<table
|
87
|
-
data-number-column="false"
|
88
|
-
data-layout="default"
|
89
|
-
data-autosize="false"
|
90
|
-
data-pm-slice="1 1 []"
|
91
|
-
>
|
92
|
-
<tbody>
|
93
|
-
<tr>
|
94
|
-
<th class="pm-table-header-content-wrap">
|
95
|
-
<p><strong>A</strong></p>
|
96
|
-
</th>
|
97
|
-
<th class="pm-table-header-content-wrap">
|
98
|
-
<p><strong>B</strong></p>
|
99
|
-
</th>
|
100
|
-
</tr>
|
101
|
-
<tr>
|
102
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
103
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
104
|
-
</tr>
|
105
|
-
</tbody>
|
106
|
-
</table>`;
|
107
|
-
export const HTML_PARSE_EDITOR_2x2_WITH_HEADER_COLUMN = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
108
|
-
<table
|
109
|
-
data-number-column="true"
|
110
|
-
data-layout="default"
|
111
|
-
data-autosize="false"
|
112
|
-
data-pm-slice="1 1 []"
|
113
|
-
>
|
114
|
-
<tbody>
|
115
|
-
<tr>
|
116
|
-
<th class="pm-table-header-content-wrap">
|
117
|
-
<p><strong>A</strong></p>
|
118
|
-
</th>
|
119
|
-
<td class="pm-table-cell-content-wrap">
|
120
|
-
<p><strong>B</strong></p>
|
121
|
-
</td>
|
122
|
-
</tr>
|
123
|
-
<tr>
|
124
|
-
<th class="pm-table-header-content-wrap"><p>1</p></th>
|
125
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
126
|
-
</tr>
|
127
|
-
</tbody>
|
128
|
-
</table>`;
|
129
|
-
export const HTML_PARSE_EDITOR_2x1_ONLY_HEADERS = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
130
|
-
<table data-pm-slice="1 1 []">
|
131
|
-
<tbody>
|
132
|
-
<tr>
|
133
|
-
<th class="pm-table-header-content-wrap">
|
134
|
-
<p><strong>A</strong></p>
|
135
|
-
</th>
|
136
|
-
<th class="pm-table-header-content-wrap">
|
137
|
-
<p><strong>B</strong></p>
|
138
|
-
</th>
|
139
|
-
</tr>
|
140
|
-
</tbody>
|
141
|
-
</table>`;
|
142
|
-
export const HTML_PARSE_EDITOR_2x1_PARTIAL_CELL_SELECTION = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
143
|
-
<table data-pm-slice="1 1 []">
|
144
|
-
<tbody>
|
145
|
-
<tr>
|
146
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
147
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
148
|
-
</tr>
|
149
|
-
</tbody>
|
150
|
-
</table>`;
|
151
|
-
export const HTML_PARSE_EDITOR_1x2_PARTIAL_HEADER_CELL = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
152
|
-
<table data-pm-slice="1 1 []">
|
153
|
-
<tbody>
|
154
|
-
<tr>
|
155
|
-
<th class="pm-table-header-content-wrap">
|
156
|
-
<p><strong>B</strong></p>
|
157
|
-
</th>
|
158
|
-
</tr>
|
159
|
-
<tr>
|
160
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
161
|
-
</tr>
|
162
|
-
</tbody>
|
163
|
-
</table>`;
|
164
|
-
export const HTML_PARSE_EDITOR_P_TABLE_P_RANGE = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
165
|
-
<p data-pm-slice="1 1 []">hello</p>
|
166
|
-
<table data-number-column="false" data-layout="default" data-autosize="false">
|
167
|
-
<tbody>
|
168
|
-
<tr>
|
169
|
-
<th class="pm-table-header-content-wrap">
|
170
|
-
<p><strong>A</strong></p>
|
171
|
-
</th>
|
172
|
-
<th class="pm-table-header-content-wrap">
|
173
|
-
<p><strong>B</strong></p>
|
174
|
-
</th>
|
175
|
-
</tr>
|
176
|
-
<tr>
|
177
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
178
|
-
<td class="pm-table-cell-content-wrap"><p>2</p></td>
|
179
|
-
</tr>
|
180
|
-
</tbody>
|
181
|
-
</table>
|
182
|
-
<p>there</p>`;
|
183
|
-
export const HTML_PARSE_EDITOR_P_PARTIAL_TABLE = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
184
|
-
<p data-pm-slice="1 4 []">hello</p>
|
185
|
-
<table data-number-column="false" data-layout="full-width" data-autosize="false">
|
186
|
-
<tbody>
|
187
|
-
<tr>
|
188
|
-
<th class="pm-table-header-content-wrap">
|
189
|
-
<p><strong>A</strong></p>
|
190
|
-
</th>
|
191
|
-
<th class="pm-table-header-content-wrap">
|
192
|
-
<p><strong>B</strong></p>
|
193
|
-
</th>
|
194
|
-
</tr>
|
195
|
-
<tr>
|
196
|
-
<td class="pm-table-cell-content-wrap"><p>1</p></td>
|
197
|
-
</tr>
|
198
|
-
</tbody>
|
199
|
-
</table>`;
|
200
|
-
export const HTML_PARSE_GOOGLE_SHEETS_DATA_CELLS = `<meta
|
201
|
-
http-equiv="content-type"
|
202
|
-
content="text/html; charset=utf-8"
|
203
|
-
/><google-sheets-html-origin
|
204
|
-
><style type="text/css">
|
205
|
-
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}-->
|
206
|
-
</style>
|
207
|
-
<table
|
208
|
-
xmlns="http://www.w3.org/1999/xhtml"
|
209
|
-
cellspacing="0"
|
210
|
-
cellpadding="0"
|
211
|
-
dir="ltr"
|
212
|
-
border="1"
|
213
|
-
style="table-layout:fixed;font-size:10pt;font-family:Arial;width:0px;border-collapse:collapse;border:none"
|
214
|
-
>
|
215
|
-
<colgroup>
|
216
|
-
<col width="100" />
|
217
|
-
<col width="100" />
|
218
|
-
</colgroup>
|
219
|
-
<tbody>
|
220
|
-
<tr style="height:21px;">
|
221
|
-
<td
|
222
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
223
|
-
></td>
|
224
|
-
<td
|
225
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;font-weight:bold;"
|
226
|
-
data-sheets-value='{"1":2,"2":"Team members"}'
|
227
|
-
>
|
228
|
-
Team members
|
229
|
-
</td>
|
230
|
-
</tr>
|
231
|
-
<tr style="height:21px;">
|
232
|
-
<td
|
233
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
234
|
-
data-sheets-value='{"1":3,"3":1}'
|
235
|
-
>
|
236
|
-
1
|
237
|
-
</td>
|
238
|
-
<td
|
239
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
240
|
-
data-sheets-value='{"1":2,"2":"Han"}'
|
241
|
-
>
|
242
|
-
Han
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
<tr style="height:21px;">
|
246
|
-
<td
|
247
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
248
|
-
data-sheets-value='{"1":3,"3":2}'
|
249
|
-
>
|
250
|
-
2
|
251
|
-
</td>
|
252
|
-
<td
|
253
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
254
|
-
data-sheets-value='{"1":2,"2":"Kristina"}'
|
255
|
-
>
|
256
|
-
Kristina
|
257
|
-
</td>
|
258
|
-
</tr>
|
259
|
-
<tr style="height:21px;">
|
260
|
-
<td
|
261
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
262
|
-
data-sheets-value='{"1":3,"3":3}'
|
263
|
-
>
|
264
|
-
3
|
265
|
-
</td>
|
266
|
-
<td
|
267
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
268
|
-
data-sheets-value='{"1":2,"2":"Lucy"}'
|
269
|
-
>
|
270
|
-
Lucy
|
271
|
-
</td>
|
272
|
-
</tr>
|
273
|
-
<tr style="height:21px;">
|
274
|
-
<td
|
275
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
276
|
-
data-sheets-value='{"1":3,"3":4}'
|
277
|
-
>
|
278
|
-
4
|
279
|
-
</td>
|
280
|
-
<td
|
281
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
282
|
-
data-sheets-value='{"1":2,"2":"Mario"}'
|
283
|
-
>
|
284
|
-
Mario
|
285
|
-
</td>
|
286
|
-
</tr>
|
287
|
-
<tr style="height:21px;">
|
288
|
-
<td
|
289
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
290
|
-
data-sheets-value='{"1":3,"3":5}'
|
291
|
-
>
|
292
|
-
5
|
293
|
-
</td>
|
294
|
-
<td
|
295
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
296
|
-
data-sheets-value='{"1":2,"2":"Pavlo"}'
|
297
|
-
>
|
298
|
-
Pavlo
|
299
|
-
</td>
|
300
|
-
</tr>
|
301
|
-
<tr style="height:21px;">
|
302
|
-
<td
|
303
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
304
|
-
data-sheets-value='{"1":3,"3":6}'
|
305
|
-
>
|
306
|
-
6
|
307
|
-
</td>
|
308
|
-
<td
|
309
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
310
|
-
data-sheets-value='{"1":2,"2":"Sam"}'
|
311
|
-
>
|
312
|
-
Sam
|
313
|
-
</td>
|
314
|
-
</tr>
|
315
|
-
<tr style="height:21px;">
|
316
|
-
<td
|
317
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
318
|
-
data-sheets-value='{"1":3,"3":7}'
|
319
|
-
>
|
320
|
-
7
|
321
|
-
</td>
|
322
|
-
<td
|
323
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
324
|
-
data-sheets-value='{"1":2,"2":"Twig"}'
|
325
|
-
>
|
326
|
-
Twig
|
327
|
-
</td>
|
328
|
-
</tr>
|
329
|
-
<tr style="height:21px;">
|
330
|
-
<td
|
331
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;text-align:right;"
|
332
|
-
data-sheets-value='{"1":3,"3":8}'
|
333
|
-
>
|
334
|
-
8
|
335
|
-
</td>
|
336
|
-
<td
|
337
|
-
style="overflow:hidden;padding:2px 3px 2px 3px;vertical-align:bottom;"
|
338
|
-
data-sheets-value='{"1":2,"2":"Wing"}'
|
339
|
-
>
|
340
|
-
Wing
|
341
|
-
</td>
|
342
|
-
</tr>
|
343
|
-
</tbody>
|
344
|
-
</table></google-sheets-html-origin
|
345
|
-
>`;
|
346
|
-
export const HTML_PARSE_RENDERER_FULL_TABLE_2x2_NO_HEADERS = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
347
|
-
<table
|
348
|
-
data-number-column="false"
|
349
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
350
|
-
>
|
351
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
352
|
-
<tr style="box-sizing: border-box;">
|
353
|
-
<td
|
354
|
-
rowspan="1"
|
355
|
-
colspan="1"
|
356
|
-
colorname=""
|
357
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
358
|
-
>
|
359
|
-
<p
|
360
|
-
data-renderer-start-pos="4"
|
361
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
362
|
-
>
|
363
|
-
A
|
364
|
-
</p>
|
365
|
-
</td>
|
366
|
-
<td
|
367
|
-
rowspan="1"
|
368
|
-
colspan="1"
|
369
|
-
colorname=""
|
370
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
371
|
-
>
|
372
|
-
<p
|
373
|
-
data-renderer-start-pos="9"
|
374
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
375
|
-
>
|
376
|
-
B
|
377
|
-
</p>
|
378
|
-
</td>
|
379
|
-
</tr>
|
380
|
-
<tr style="box-sizing: border-box;">
|
381
|
-
<td
|
382
|
-
rowspan="1"
|
383
|
-
colspan="1"
|
384
|
-
colorname=""
|
385
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
386
|
-
>
|
387
|
-
<p
|
388
|
-
data-renderer-start-pos="16"
|
389
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
390
|
-
>
|
391
|
-
C
|
392
|
-
</p>
|
393
|
-
</td>
|
394
|
-
<td
|
395
|
-
rowspan="1"
|
396
|
-
colspan="1"
|
397
|
-
colorname=""
|
398
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
399
|
-
>
|
400
|
-
<p
|
401
|
-
data-renderer-start-pos="21"
|
402
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
403
|
-
>
|
404
|
-
D
|
405
|
-
</p>
|
406
|
-
</td>
|
407
|
-
</tr>
|
408
|
-
</tbody>
|
409
|
-
</table>`;
|
410
|
-
export const HTML_PARSE_RENDERER_FULL_TABLE_2x2_HEADER_COLUMN = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
411
|
-
<table
|
412
|
-
data-number-column="false"
|
413
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
414
|
-
>
|
415
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
416
|
-
<tr style="box-sizing: border-box;">
|
417
|
-
<th
|
418
|
-
rowspan="1"
|
419
|
-
colspan="1"
|
420
|
-
colorname=""
|
421
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); position: relative;"
|
422
|
-
>
|
423
|
-
<p
|
424
|
-
data-renderer-start-pos="4"
|
425
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
426
|
-
>
|
427
|
-
A
|
428
|
-
</p>
|
429
|
-
</th>
|
430
|
-
<td
|
431
|
-
rowspan="1"
|
432
|
-
colspan="1"
|
433
|
-
colorname=""
|
434
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
435
|
-
>
|
436
|
-
<p
|
437
|
-
data-renderer-start-pos="9"
|
438
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
439
|
-
>
|
440
|
-
B
|
441
|
-
</p>
|
442
|
-
</td>
|
443
|
-
</tr>
|
444
|
-
<tr style="box-sizing: border-box;">
|
445
|
-
<th
|
446
|
-
rowspan="1"
|
447
|
-
colspan="1"
|
448
|
-
colorname=""
|
449
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247);"
|
450
|
-
>
|
451
|
-
<p
|
452
|
-
data-renderer-start-pos="16"
|
453
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
454
|
-
>
|
455
|
-
C
|
456
|
-
</p>
|
457
|
-
</th>
|
458
|
-
<td
|
459
|
-
rowspan="1"
|
460
|
-
colspan="1"
|
461
|
-
colorname=""
|
462
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
463
|
-
>
|
464
|
-
<p
|
465
|
-
data-renderer-start-pos="21"
|
466
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
467
|
-
>
|
468
|
-
D
|
469
|
-
</p>
|
470
|
-
</td>
|
471
|
-
</tr>
|
472
|
-
</tbody>
|
473
|
-
</table>`;
|
474
|
-
export const HTML_PARSE_RENDERER_FULL_TABLE_2x2_HEADER_ROW = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
475
|
-
<table
|
476
|
-
data-number-column="false"
|
477
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
478
|
-
>
|
479
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
480
|
-
<tr style="box-sizing: border-box;">
|
481
|
-
<th
|
482
|
-
rowspan="1"
|
483
|
-
colspan="1"
|
484
|
-
colorname=""
|
485
|
-
class="ak-renderer-tableHeader-sortable-column"
|
486
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
487
|
-
>
|
488
|
-
<p
|
489
|
-
data-renderer-start-pos="4"
|
490
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
491
|
-
>
|
492
|
-
A
|
493
|
-
</p>
|
494
|
-
<figure
|
495
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
496
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
497
|
-
>
|
498
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
499
|
-
<figure
|
500
|
-
class="sc-iIHSe iLonrS"
|
501
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
502
|
-
>
|
503
|
-
<div
|
504
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
505
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
506
|
-
></div>
|
507
|
-
</figure>
|
508
|
-
</div>
|
509
|
-
</figure>
|
510
|
-
</th>
|
511
|
-
<th
|
512
|
-
rowspan="1"
|
513
|
-
colspan="1"
|
514
|
-
colorname=""
|
515
|
-
class="ak-renderer-tableHeader-sortable-column"
|
516
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
517
|
-
>
|
518
|
-
<p
|
519
|
-
data-renderer-start-pos="9"
|
520
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
521
|
-
>
|
522
|
-
B
|
523
|
-
</p>
|
524
|
-
<figure
|
525
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
526
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
527
|
-
>
|
528
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
529
|
-
<figure
|
530
|
-
class="sc-iIHSe iLonrS"
|
531
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
532
|
-
>
|
533
|
-
<div
|
534
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
535
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
536
|
-
></div>
|
537
|
-
</figure>
|
538
|
-
</div>
|
539
|
-
</figure>
|
540
|
-
</th>
|
541
|
-
</tr>
|
542
|
-
<tr style="box-sizing: border-box;">
|
543
|
-
<td
|
544
|
-
rowspan="1"
|
545
|
-
colspan="1"
|
546
|
-
colorname=""
|
547
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
548
|
-
>
|
549
|
-
<p
|
550
|
-
data-renderer-start-pos="16"
|
551
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
552
|
-
>
|
553
|
-
C
|
554
|
-
</p>
|
555
|
-
</td>
|
556
|
-
<td
|
557
|
-
rowspan="1"
|
558
|
-
colspan="1"
|
559
|
-
colorname=""
|
560
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
561
|
-
>
|
562
|
-
<p
|
563
|
-
data-renderer-start-pos="21"
|
564
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
565
|
-
>
|
566
|
-
D
|
567
|
-
</p>
|
568
|
-
</td>
|
569
|
-
</tr>
|
570
|
-
</tbody>
|
571
|
-
</table>`;
|
572
|
-
export const HTML_PARSE_RENDERER_FULL_2x1_TABLE_ONLY_HEADERS = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
573
|
-
<table
|
574
|
-
data-number-column="false"
|
575
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
576
|
-
>
|
577
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
578
|
-
<tr style="box-sizing: border-box;">
|
579
|
-
<th
|
580
|
-
rowspan="1"
|
581
|
-
colspan="1"
|
582
|
-
colorname=""
|
583
|
-
class="ak-renderer-tableHeader-sortable-column"
|
584
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
585
|
-
>
|
586
|
-
<p
|
587
|
-
data-renderer-start-pos="4"
|
588
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
589
|
-
>
|
590
|
-
A
|
591
|
-
</p>
|
592
|
-
<figure
|
593
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
594
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
595
|
-
>
|
596
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
597
|
-
<figure
|
598
|
-
class="sc-iIHSe iLonrS"
|
599
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
600
|
-
>
|
601
|
-
<div
|
602
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
603
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
604
|
-
></div>
|
605
|
-
</figure>
|
606
|
-
</div>
|
607
|
-
</figure>
|
608
|
-
</th>
|
609
|
-
<th
|
610
|
-
rowspan="1"
|
611
|
-
colspan="1"
|
612
|
-
colorname=""
|
613
|
-
class="ak-renderer-tableHeader-sortable-column"
|
614
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
615
|
-
>
|
616
|
-
<p
|
617
|
-
data-renderer-start-pos="9"
|
618
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
619
|
-
>
|
620
|
-
B
|
621
|
-
</p>
|
622
|
-
<figure
|
623
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
624
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
625
|
-
>
|
626
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
627
|
-
<figure
|
628
|
-
class="sc-iIHSe iLonrS"
|
629
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
630
|
-
>
|
631
|
-
<div
|
632
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
633
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
634
|
-
></div>
|
635
|
-
</figure>
|
636
|
-
</div>
|
637
|
-
</figure>
|
638
|
-
</th>
|
639
|
-
</tr>
|
640
|
-
<tr style="box-sizing: border-box;">
|
641
|
-
<th
|
642
|
-
rowspan="1"
|
643
|
-
colspan="1"
|
644
|
-
colorname=""
|
645
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247);"
|
646
|
-
>
|
647
|
-
<p
|
648
|
-
data-renderer-start-pos="16"
|
649
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
650
|
-
>
|
651
|
-
C
|
652
|
-
</p>
|
653
|
-
</th>
|
654
|
-
<th
|
655
|
-
rowspan="1"
|
656
|
-
colspan="1"
|
657
|
-
colorname=""
|
658
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247);"
|
659
|
-
>
|
660
|
-
<p
|
661
|
-
data-renderer-start-pos="21"
|
662
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
663
|
-
>
|
664
|
-
D
|
665
|
-
</p>
|
666
|
-
</th>
|
667
|
-
</tr>
|
668
|
-
</tbody>
|
669
|
-
</table>`;
|
670
|
-
export const HTML_PARSE_RENDERER_PARTIAL_TABLE_2x1_CELL_SELECTION = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
671
|
-
<table
|
672
|
-
data-number-column="false"
|
673
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
674
|
-
>
|
675
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
676
|
-
<tr style="box-sizing: border-box;">
|
677
|
-
<td
|
678
|
-
rowspan="1"
|
679
|
-
colspan="1"
|
680
|
-
colorname=""
|
681
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
682
|
-
>
|
683
|
-
<p
|
684
|
-
data-renderer-start-pos="4"
|
685
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
686
|
-
>
|
687
|
-
A
|
688
|
-
</p>
|
689
|
-
</td>
|
690
|
-
<td
|
691
|
-
rowspan="1"
|
692
|
-
colspan="1"
|
693
|
-
colorname=""
|
694
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
695
|
-
>
|
696
|
-
<p
|
697
|
-
data-renderer-start-pos="9"
|
698
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
699
|
-
>
|
700
|
-
B
|
701
|
-
</p>
|
702
|
-
</td>
|
703
|
-
</tr>
|
704
|
-
</tbody>
|
705
|
-
</table>`;
|
706
|
-
export const HTML_PARSE_RENDERER_PARTIAL_TABLE_2x1_HEADER_CELL_SELECTION = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
707
|
-
<table
|
708
|
-
data-number-column="false"
|
709
|
-
style='margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 16px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
710
|
-
>
|
711
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
712
|
-
<tr style="box-sizing: border-box;">
|
713
|
-
<th
|
714
|
-
rowspan="1"
|
715
|
-
colspan="1"
|
716
|
-
colorname=""
|
717
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); position: relative;"
|
718
|
-
>
|
719
|
-
<p
|
720
|
-
data-renderer-start-pos="4"
|
721
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
722
|
-
>
|
723
|
-
A
|
724
|
-
</p>
|
725
|
-
</th>
|
726
|
-
<td
|
727
|
-
rowspan="1"
|
728
|
-
colspan="1"
|
729
|
-
colorname=""
|
730
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top; position: relative;"
|
731
|
-
>
|
732
|
-
<p
|
733
|
-
data-renderer-start-pos="9"
|
734
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
735
|
-
>
|
736
|
-
B
|
737
|
-
</p>
|
738
|
-
</td>
|
739
|
-
</tr>
|
740
|
-
</tbody>
|
741
|
-
</table>`;
|
742
|
-
export const HTML_PARSE_RENDERER_P_TABLE_P_SELECTION_RANGE = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
743
|
-
<p
|
744
|
-
data-renderer-start-pos="1"
|
745
|
-
style='margin: 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
746
|
-
>
|
747
|
-
before
|
748
|
-
</p>
|
749
|
-
<div
|
750
|
-
class="pm-table-container sc-jKmXuR GaTQv"
|
751
|
-
data-layout="default"
|
752
|
-
style='margin: 0px auto 16px; padding: 0px; position: relative; box-sizing: border-box; z-index: 0; transition: all 0.1s linear 0s; display: flex; clear: both; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; width: inherit;'
|
753
|
-
>
|
754
|
-
<div
|
755
|
-
class="pm-table-wrapper"
|
756
|
-
style="margin: 0px; padding: 0px; overflow-x: auto;"
|
757
|
-
>
|
758
|
-
<table
|
759
|
-
data-number-column="false"
|
760
|
-
style="margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 1em;"
|
761
|
-
>
|
762
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
763
|
-
<tr style="box-sizing: border-box;">
|
764
|
-
<th
|
765
|
-
rowspan="1"
|
766
|
-
colspan="1"
|
767
|
-
colorname=""
|
768
|
-
class="ak-renderer-tableHeader-sortable-column"
|
769
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
770
|
-
>
|
771
|
-
<p
|
772
|
-
data-renderer-start-pos="12"
|
773
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
774
|
-
>
|
775
|
-
A
|
776
|
-
</p>
|
777
|
-
<figure
|
778
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
779
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
780
|
-
>
|
781
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
782
|
-
<figure
|
783
|
-
class="sc-iIHSe iLonrS"
|
784
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
785
|
-
>
|
786
|
-
<div
|
787
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
788
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
789
|
-
></div>
|
790
|
-
</figure>
|
791
|
-
</div>
|
792
|
-
</figure>
|
793
|
-
</th>
|
794
|
-
<th
|
795
|
-
rowspan="1"
|
796
|
-
colspan="1"
|
797
|
-
colorname=""
|
798
|
-
class="ak-renderer-tableHeader-sortable-column"
|
799
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
800
|
-
>
|
801
|
-
<p
|
802
|
-
data-renderer-start-pos="17"
|
803
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
804
|
-
>
|
805
|
-
B
|
806
|
-
</p>
|
807
|
-
<figure
|
808
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
809
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
810
|
-
>
|
811
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
812
|
-
<figure
|
813
|
-
class="sc-iIHSe iLonrS"
|
814
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
815
|
-
>
|
816
|
-
<div
|
817
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
818
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
819
|
-
></div>
|
820
|
-
</figure>
|
821
|
-
</div>
|
822
|
-
</figure>
|
823
|
-
</th>
|
824
|
-
</tr>
|
825
|
-
<tr style="box-sizing: border-box;">
|
826
|
-
<td
|
827
|
-
rowspan="1"
|
828
|
-
colspan="1"
|
829
|
-
colorname=""
|
830
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
831
|
-
>
|
832
|
-
<p
|
833
|
-
data-renderer-start-pos="24"
|
834
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
835
|
-
>
|
836
|
-
C
|
837
|
-
</p>
|
838
|
-
</td>
|
839
|
-
<td
|
840
|
-
rowspan="1"
|
841
|
-
colspan="1"
|
842
|
-
colorname=""
|
843
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
844
|
-
>
|
845
|
-
<p
|
846
|
-
data-renderer-start-pos="29"
|
847
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
848
|
-
>
|
849
|
-
D
|
850
|
-
</p>
|
851
|
-
</td>
|
852
|
-
</tr>
|
853
|
-
</tbody>
|
854
|
-
</table>
|
855
|
-
</div>
|
856
|
-
</div>
|
857
|
-
<p
|
858
|
-
data-renderer-start-pos="35"
|
859
|
-
style='margin: 0.75rem 0px 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
860
|
-
>
|
861
|
-
after
|
862
|
-
</p>`;
|
863
|
-
export const HTML_PARSE_RENDERER_P_PARTIAL_TABLE_SELECTION_RANGE = `<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
864
|
-
<p
|
865
|
-
data-renderer-start-pos="1"
|
866
|
-
style='margin: 0px; padding: 0px; font-size: 16px; line-height: 1.714; font-weight: 400; letter-spacing: -0.005em; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;'
|
867
|
-
>
|
868
|
-
before
|
869
|
-
</p>
|
870
|
-
<div
|
871
|
-
class="pm-table-container sc-jKmXuR GaTQv"
|
872
|
-
data-layout="default"
|
873
|
-
style='margin: 0px auto 16px; padding: 0px; position: relative; box-sizing: border-box; z-index: 0; transition: all 0.1s linear 0s; display: flex; clear: both; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; width: inherit;'
|
874
|
-
>
|
875
|
-
<div
|
876
|
-
class="pm-table-wrapper"
|
877
|
-
style="margin: 0px; padding: 0px; overflow-x: auto;"
|
878
|
-
>
|
879
|
-
<table
|
880
|
-
data-number-column="false"
|
881
|
-
style="margin: 24px 0px 0px; border-collapse: collapse; width: 511px; border: 1px solid rgb(193, 199, 208); table-layout: fixed; font-size: 1em;"
|
882
|
-
>
|
883
|
-
<tbody style="border-bottom: none; box-sizing: border-box;">
|
884
|
-
<tr style="box-sizing: border-box;">
|
885
|
-
<th
|
886
|
-
rowspan="1"
|
887
|
-
colspan="1"
|
888
|
-
colorname=""
|
889
|
-
class="ak-renderer-tableHeader-sortable-column"
|
890
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
891
|
-
>
|
892
|
-
<p
|
893
|
-
data-renderer-start-pos="12"
|
894
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
895
|
-
>
|
896
|
-
A
|
897
|
-
</p>
|
898
|
-
<figure
|
899
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
900
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
901
|
-
>
|
902
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
903
|
-
<figure
|
904
|
-
class="sc-iIHSe iLonrS"
|
905
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
906
|
-
>
|
907
|
-
<div
|
908
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
909
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
910
|
-
></div>
|
911
|
-
</figure>
|
912
|
-
</div>
|
913
|
-
</figure>
|
914
|
-
</th>
|
915
|
-
<th
|
916
|
-
rowspan="1"
|
917
|
-
colspan="1"
|
918
|
-
colorname=""
|
919
|
-
class="ak-renderer-tableHeader-sortable-column"
|
920
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: normal; background-color: rgb(244, 245, 247); cursor: pointer; position: relative;"
|
921
|
-
>
|
922
|
-
<p
|
923
|
-
data-renderer-start-pos="17"
|
924
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
925
|
-
>
|
926
|
-
B
|
927
|
-
</p>
|
928
|
-
<figure
|
929
|
-
class="ak-renderer-tableHeader-sorting-icon ak-renderer-tableHeader-sorting-icon__no-order"
|
930
|
-
style="display: block; box-sizing: border-box; margin: 0px; opacity: 0; transition: opacity 0.2s ease-in-out 0s;"
|
931
|
-
>
|
932
|
-
<div style="margin: 0px; padding: 0px; box-sizing: border-box;">
|
933
|
-
<figure
|
934
|
-
class="sc-iIHSe iLonrS"
|
935
|
-
style="display: flex; position: absolute; height: 28px; width: 28px; margin: 6px; right: 0px; top: 0px; border: 2px solid rgb(255, 255, 255); border-radius: 4px; background-color: rgb(244, 245, 247); -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; box-sizing: border-box;"
|
936
|
-
>
|
937
|
-
<div
|
938
|
-
class="sorting-icon-svg__no_order table-sorting-icon-inactive sc-gldTML gAYeZB"
|
939
|
-
style='margin: 0px; padding: 0px; width: 8px; height: 12px; transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1) 0s; transform-origin: 50% 50%; background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M-8-6h24v24H-8z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M3%208.509V1c0-.552.449-1%201-1%20.552%200%201%20.448%201%201V8.51l1.217-1.206a1.05%201.05%200%20011.477%200%201.03%201.03%200%2001.004%201.463l-.003.002-2.956%202.93a1.053%201.053%200%2001-1.478%200L.305%208.767a1.03%201.03%200%2001.001-1.464%201.05%201.05%200%20011.477%200L3%208.508z%22%20fill%3D%22%2342526E%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); opacity: 0.5; box-sizing: border-box;'
|
940
|
-
></div>
|
941
|
-
</figure>
|
942
|
-
</div>
|
943
|
-
</figure>
|
944
|
-
</th>
|
945
|
-
</tr>
|
946
|
-
<tr style="box-sizing: border-box;">
|
947
|
-
<td
|
948
|
-
rowspan="1"
|
949
|
-
colspan="1"
|
950
|
-
colorname=""
|
951
|
-
style="border-width: 1px 0px 0px 1px; border-style: solid; border-color: rgb(193, 199, 208); border-image: initial; padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: normal; vertical-align: top;"
|
952
|
-
>
|
953
|
-
<p
|
954
|
-
data-renderer-start-pos="24"
|
955
|
-
style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.714; font-weight: normal; letter-spacing: -0.005em; box-sizing: border-box;"
|
956
|
-
>
|
957
|
-
C
|
958
|
-
</p>
|
959
|
-
</td>
|
960
|
-
</tr>
|
961
|
-
</tbody>
|
962
|
-
</table>
|
963
|
-
</div>
|
964
|
-
</div>`;
|