@atlaskit/adf-schema 52.7.1 → 52.9.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 +18 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +56 -27
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/marks/fontSize.js +1 -2
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +65 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +3 -14
- package/dist/cjs/schema/createPMSpecFactory.js +4 -0
- package/dist/cjs/schema/default-schema.js +3 -6
- package/dist/cjs/schema/index.js +6 -0
- package/dist/cjs/schema/nodes/code-block.js +110 -2
- package/dist/cjs/schema/nodes/index.js +6 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +867 -822
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +55 -26
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/marks/fontSize.js +1 -2
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +65 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +3 -14
- package/dist/es2019/schema/createPMSpecFactory.js +4 -0
- package/dist/es2019/schema/default-schema.js +4 -7
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/code-block.js +107 -3
- package/dist/es2019/schema/nodes/index.js +1 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +866 -821
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/full-schema.adf.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +55 -26
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/marks/fontSize.js +1 -2
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +65 -0
- package/dist/esm/next-schema/nodes/paragraph.js +3 -14
- package/dist/esm/schema/createPMSpecFactory.js +4 -0
- package/dist/esm/schema/default-schema.js +4 -7
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/code-block.js +109 -2
- package/dist/esm/schema/nodes/index.js +1 -1
- package/dist/esm/validator-schema/generated/validatorSpec.js +866 -821
- package/dist/json-schema/v1/full.json +73 -2
- package/dist/json-schema/v1/stage-0.json +107 -67
- package/dist/types/index.d.ts +1 -1
- package/dist/types/next-schema/generated/markTypes.d.ts +22 -21
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +128 -118
- package/dist/types/next-schema/nodes/codeBlock.d.ts +3 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types/schema/createPMSpecFactory.d.ts +4 -0
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/code-block.d.ts +10 -0
- package/dist/types/schema/nodes/index.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +697 -652
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +22 -21
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +128 -118
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +3 -1
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types-ts4.5/schema/createPMSpecFactory.d.ts +4 -0
- package/dist/types-ts4.5/schema/index.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +10 -0
- package/dist/types-ts4.5/schema/nodes/index.d.ts +1 -1
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +697 -652
- package/json-schema/v1/full.json +73 -2
- package/json-schema/v1/stage-0.json +107 -67
- package/package.json +2 -2
- package/schema-generators/validator-full-schema.ts +59 -1
|
@@ -3,13 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.underline = exports.text_with_no_marks = exports.text_link_inline = exports.text_formatted = exports.text_code_inline = exports.textColor = exports.text = exports.taskList = exports.taskItem = exports.tableRow = exports.tableHeader = exports.tableCell = exports.table = exports.syncBlock = exports.subsup = exports.strong = exports.strike = exports.status = exports.rule = exports.placeholder = exports.paragraph_with_no_marks = exports.paragraph_with_indentation = exports.
|
|
6
|
+
exports.underline = exports.text_with_no_marks = exports.text_link_inline = exports.text_formatted = exports.text_code_inline = exports.textColor = exports.text = exports.taskList = exports.taskItem = exports.tableRow = exports.tableHeader = exports.tableCell = exports.table = exports.syncBlock = exports.subsup = exports.strong = exports.strike = exports.status = exports.rule = exports.placeholder = exports.paragraph_with_no_marks = exports.paragraph_with_indentation = exports.paragraph_with_font_size = exports.paragraph_with_alignment = exports.paragraph = exports.panel = exports.orderedList = exports.non_nestable_block_content = exports.nestedExpand_with_no_marks = exports.nestedExpand_content = exports.nestedExpand = exports.multiBodiedExtension = exports.mention = exports.mediaSingle_width_type = exports.mediaSingle_full = exports.mediaSingle_caption = exports.mediaSingle = exports.mediaInline = exports.mediaGroup = exports.media = exports.listItem = exports.link = exports.layoutSection_with_single_column = exports.layoutSection_full = exports.layoutSection = exports.layoutColumn = exports.inline_content = exports.inlineExtension_with_marks = exports.inlineExtension = exports.inlineCard = exports.indentation = exports.heading_with_no_marks = exports.heading_with_indentation = exports.heading_with_alignment = exports.heading = exports.hardBreak = exports.fragment = exports.fontSize = exports.extension_with_marks = exports.extensionFrame = exports.extension = exports.expand_root_only = exports.expand = exports.emoji = exports.embedCard = exports.em = exports.doc = exports.decisionList = exports.decisionItem = exports.date = exports.dataConsumer = exports.confluenceInlineComment = exports.codeBlock_with_extended_attributes = exports.codeBlock_root_only_with_extended_attributes = exports.codeBlock_root_only = exports.codeBlock = exports.code = exports.caption = exports.bulletList = exports.breakout = exports.border = exports.bodiedSyncBlock = exports.bodiedExtension_with_marks = exports.bodiedExtension = exports.blockquote = exports.block_content = exports.blockTaskItem = exports.blockRootOnly = exports.blockCard = exports.backgroundColor = exports.annotation = exports.alignment = void 0;
|
|
7
7
|
var alignment = exports.alignment = {
|
|
8
8
|
props: {
|
|
9
|
-
type: {
|
|
10
|
-
type: 'enum',
|
|
11
|
-
values: ['alignment']
|
|
12
|
-
},
|
|
13
9
|
attrs: {
|
|
14
10
|
props: {
|
|
15
11
|
align: {
|
|
@@ -17,34 +13,34 @@ var alignment = exports.alignment = {
|
|
|
17
13
|
values: ['center', 'end']
|
|
18
14
|
}
|
|
19
15
|
}
|
|
16
|
+
},
|
|
17
|
+
type: {
|
|
18
|
+
type: 'enum',
|
|
19
|
+
values: ['alignment']
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
var annotation = exports.annotation = {
|
|
24
24
|
props: {
|
|
25
|
-
type: {
|
|
26
|
-
type: 'enum',
|
|
27
|
-
values: ['annotation']
|
|
28
|
-
},
|
|
29
25
|
attrs: {
|
|
30
26
|
props: {
|
|
31
|
-
id: {
|
|
32
|
-
type: 'string'
|
|
33
|
-
},
|
|
34
27
|
annotationType: {
|
|
35
28
|
type: 'enum',
|
|
36
29
|
values: ['inlineComment']
|
|
30
|
+
},
|
|
31
|
+
id: {
|
|
32
|
+
type: 'string'
|
|
37
33
|
}
|
|
38
34
|
}
|
|
35
|
+
},
|
|
36
|
+
type: {
|
|
37
|
+
type: 'enum',
|
|
38
|
+
values: ['annotation']
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
var backgroundColor = exports.backgroundColor = {
|
|
43
43
|
props: {
|
|
44
|
-
type: {
|
|
45
|
-
type: 'enum',
|
|
46
|
-
values: ['backgroundColor']
|
|
47
|
-
},
|
|
48
44
|
attrs: {
|
|
49
45
|
props: {
|
|
50
46
|
color: {
|
|
@@ -52,27 +48,18 @@ var backgroundColor = exports.backgroundColor = {
|
|
|
52
48
|
type: 'string'
|
|
53
49
|
}
|
|
54
50
|
}
|
|
51
|
+
},
|
|
52
|
+
type: {
|
|
53
|
+
type: 'enum',
|
|
54
|
+
values: ['backgroundColor']
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
var block_content = exports.block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
58
|
+
var block_content = exports.block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'codeBlock_with_extended_attributes', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
59
59
|
var blockCard = exports.blockCard = {
|
|
60
60
|
props: {
|
|
61
|
-
type: {
|
|
62
|
-
type: 'enum',
|
|
63
|
-
values: ['blockCard']
|
|
64
|
-
},
|
|
65
61
|
attrs: [{
|
|
66
62
|
props: {
|
|
67
|
-
localId: {
|
|
68
|
-
type: 'string',
|
|
69
|
-
optional: true
|
|
70
|
-
},
|
|
71
|
-
url: {
|
|
72
|
-
type: 'string',
|
|
73
|
-
optional: true,
|
|
74
|
-
validatorFn: 'safeUrl'
|
|
75
|
-
},
|
|
76
63
|
datasource: {
|
|
77
64
|
props: {
|
|
78
65
|
id: {
|
|
@@ -98,25 +85,34 @@ var blockCard = exports.blockCard = {
|
|
|
98
85
|
}
|
|
99
86
|
}
|
|
100
87
|
},
|
|
101
|
-
width: {
|
|
102
|
-
type: 'number',
|
|
103
|
-
optional: true
|
|
104
|
-
},
|
|
105
88
|
layout: {
|
|
89
|
+
optional: true,
|
|
106
90
|
type: 'enum',
|
|
107
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
108
|
-
|
|
91
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
92
|
+
},
|
|
93
|
+
localId: {
|
|
94
|
+
optional: true,
|
|
95
|
+
type: 'string'
|
|
96
|
+
},
|
|
97
|
+
url: {
|
|
98
|
+
optional: true,
|
|
99
|
+
type: 'string',
|
|
100
|
+
validatorFn: 'safeUrl'
|
|
101
|
+
},
|
|
102
|
+
width: {
|
|
103
|
+
optional: true,
|
|
104
|
+
type: 'number'
|
|
109
105
|
}
|
|
110
106
|
}
|
|
111
107
|
}, {
|
|
112
108
|
props: {
|
|
109
|
+
localId: {
|
|
110
|
+
optional: true,
|
|
111
|
+
type: 'string'
|
|
112
|
+
},
|
|
113
113
|
url: {
|
|
114
114
|
type: 'string',
|
|
115
115
|
validatorFn: 'safeUrl'
|
|
116
|
-
},
|
|
117
|
-
localId: {
|
|
118
|
-
type: 'string',
|
|
119
|
-
optional: true
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
118
|
}, {
|
|
@@ -125,44 +121,44 @@ var blockCard = exports.blockCard = {
|
|
|
125
121
|
type: 'object'
|
|
126
122
|
},
|
|
127
123
|
localId: {
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
optional: true,
|
|
125
|
+
type: 'string'
|
|
130
126
|
}
|
|
131
127
|
}
|
|
132
|
-
}]
|
|
128
|
+
}],
|
|
129
|
+
type: {
|
|
130
|
+
type: 'enum',
|
|
131
|
+
values: ['blockCard']
|
|
132
|
+
}
|
|
133
133
|
},
|
|
134
134
|
required: ['attrs']
|
|
135
135
|
};
|
|
136
136
|
var blockquote = exports.blockquote = {
|
|
137
137
|
props: {
|
|
138
|
-
type: {
|
|
139
|
-
type: 'enum',
|
|
140
|
-
values: ['blockquote']
|
|
141
|
-
},
|
|
142
138
|
attrs: {
|
|
139
|
+
optional: true,
|
|
143
140
|
props: {
|
|
144
141
|
localId: {
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
optional: true,
|
|
143
|
+
type: 'string'
|
|
147
144
|
}
|
|
148
|
-
}
|
|
149
|
-
optional: true
|
|
145
|
+
}
|
|
150
146
|
},
|
|
151
147
|
content: {
|
|
152
|
-
|
|
148
|
+
allowUnsupportedBlock: true,
|
|
153
149
|
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'extension_with_marks']],
|
|
154
150
|
minItems: 1,
|
|
155
|
-
|
|
151
|
+
type: 'array'
|
|
152
|
+
},
|
|
153
|
+
type: {
|
|
154
|
+
type: 'enum',
|
|
155
|
+
values: ['blockquote']
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
var blockRootOnly = exports.blockRootOnly = ['multiBodiedExtension'];
|
|
160
160
|
var blockTaskItem = exports.blockTaskItem = {
|
|
161
161
|
props: {
|
|
162
|
-
type: {
|
|
163
|
-
type: 'enum',
|
|
164
|
-
values: ['blockTaskItem']
|
|
165
|
-
},
|
|
166
162
|
attrs: {
|
|
167
163
|
props: {
|
|
168
164
|
localId: {
|
|
@@ -175,19 +171,19 @@ var blockTaskItem = exports.blockTaskItem = {
|
|
|
175
171
|
}
|
|
176
172
|
},
|
|
177
173
|
content: {
|
|
178
|
-
type: 'array',
|
|
179
174
|
isTupleLike: true,
|
|
180
175
|
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks'], ['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks']],
|
|
181
|
-
minItems: 1
|
|
176
|
+
minItems: 1,
|
|
177
|
+
type: 'array'
|
|
178
|
+
},
|
|
179
|
+
type: {
|
|
180
|
+
type: 'enum',
|
|
181
|
+
values: ['blockTaskItem']
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
var bodiedExtension = exports.bodiedExtension = {
|
|
186
186
|
props: {
|
|
187
|
-
type: {
|
|
188
|
-
type: 'enum',
|
|
189
|
-
values: ['bodiedExtension']
|
|
190
|
-
},
|
|
191
187
|
attrs: {
|
|
192
188
|
props: {
|
|
193
189
|
extensionKey: {
|
|
@@ -198,104 +194,104 @@ var bodiedExtension = exports.bodiedExtension = {
|
|
|
198
194
|
minLength: 1,
|
|
199
195
|
type: 'string'
|
|
200
196
|
},
|
|
201
|
-
parameters: {
|
|
202
|
-
type: 'object',
|
|
203
|
-
optional: true
|
|
204
|
-
},
|
|
205
|
-
text: {
|
|
206
|
-
type: 'string',
|
|
207
|
-
optional: true
|
|
208
|
-
},
|
|
209
197
|
layout: {
|
|
198
|
+
optional: true,
|
|
210
199
|
type: 'enum',
|
|
211
|
-
values: ['wide', 'full-width', 'default']
|
|
212
|
-
optional: true
|
|
200
|
+
values: ['wide', 'full-width', 'default']
|
|
213
201
|
},
|
|
214
202
|
localId: {
|
|
215
203
|
minLength: 1,
|
|
216
|
-
|
|
217
|
-
|
|
204
|
+
optional: true,
|
|
205
|
+
type: 'string'
|
|
206
|
+
},
|
|
207
|
+
parameters: {
|
|
208
|
+
optional: true,
|
|
209
|
+
type: 'object'
|
|
210
|
+
},
|
|
211
|
+
text: {
|
|
212
|
+
optional: true,
|
|
213
|
+
type: 'string'
|
|
218
214
|
}
|
|
219
215
|
}
|
|
220
216
|
},
|
|
221
217
|
content: {
|
|
222
|
-
|
|
218
|
+
allowUnsupportedBlock: true,
|
|
223
219
|
items: ['non_nestable_block_content'],
|
|
224
220
|
minItems: 1,
|
|
225
|
-
|
|
221
|
+
type: 'array'
|
|
226
222
|
},
|
|
227
223
|
marks: {
|
|
228
|
-
type: 'array',
|
|
229
224
|
items: [],
|
|
230
|
-
optional: true
|
|
225
|
+
optional: true,
|
|
226
|
+
type: 'array'
|
|
227
|
+
},
|
|
228
|
+
type: {
|
|
229
|
+
type: 'enum',
|
|
230
|
+
values: ['bodiedExtension']
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
var bodiedExtension_with_marks = exports.bodiedExtension_with_marks = ['bodiedExtension', {
|
|
235
235
|
props: {
|
|
236
236
|
marks: {
|
|
237
|
-
|
|
237
|
+
items: [['dataConsumer', 'fragment']],
|
|
238
238
|
optional: true,
|
|
239
|
-
|
|
239
|
+
type: 'array'
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
}];
|
|
243
243
|
var bodiedSyncBlock = exports.bodiedSyncBlock = {
|
|
244
244
|
props: {
|
|
245
|
-
type: {
|
|
246
|
-
type: 'enum',
|
|
247
|
-
values: ['bodiedSyncBlock']
|
|
248
|
-
},
|
|
249
245
|
attrs: {
|
|
250
246
|
props: {
|
|
251
|
-
|
|
247
|
+
localId: {
|
|
252
248
|
type: 'string'
|
|
253
249
|
},
|
|
254
|
-
|
|
250
|
+
resourceId: {
|
|
255
251
|
type: 'string'
|
|
256
252
|
}
|
|
257
253
|
}
|
|
258
254
|
},
|
|
259
255
|
content: {
|
|
260
|
-
|
|
261
|
-
items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', '
|
|
256
|
+
allowUnsupportedBlock: true,
|
|
257
|
+
items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel', 'rule', 'table', 'taskList']],
|
|
262
258
|
minItems: 1,
|
|
263
|
-
|
|
259
|
+
type: 'array'
|
|
264
260
|
},
|
|
265
261
|
marks: {
|
|
266
|
-
|
|
262
|
+
items: ['breakout'],
|
|
267
263
|
optional: true,
|
|
268
|
-
|
|
264
|
+
type: 'array'
|
|
265
|
+
},
|
|
266
|
+
type: {
|
|
267
|
+
type: 'enum',
|
|
268
|
+
values: ['bodiedSyncBlock']
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
var border = exports.border = {
|
|
273
273
|
props: {
|
|
274
|
-
type: {
|
|
275
|
-
type: 'enum',
|
|
276
|
-
values: ['border']
|
|
277
|
-
},
|
|
278
274
|
attrs: {
|
|
279
275
|
props: {
|
|
280
|
-
size: {
|
|
281
|
-
type: 'number',
|
|
282
|
-
minimum: 1,
|
|
283
|
-
maximum: 3
|
|
284
|
-
},
|
|
285
276
|
color: {
|
|
286
277
|
pattern: '^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$',
|
|
287
278
|
type: 'string'
|
|
279
|
+
},
|
|
280
|
+
size: {
|
|
281
|
+
maximum: 3,
|
|
282
|
+
minimum: 1,
|
|
283
|
+
type: 'number'
|
|
288
284
|
}
|
|
289
285
|
}
|
|
286
|
+
},
|
|
287
|
+
type: {
|
|
288
|
+
type: 'enum',
|
|
289
|
+
values: ['border']
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
var breakout = exports.breakout = {
|
|
294
294
|
props: {
|
|
295
|
-
type: {
|
|
296
|
-
type: 'enum',
|
|
297
|
-
values: ['breakout']
|
|
298
|
-
},
|
|
299
295
|
attrs: {
|
|
300
296
|
props: {
|
|
301
297
|
mode: {
|
|
@@ -303,55 +299,59 @@ var breakout = exports.breakout = {
|
|
|
303
299
|
values: ['wide', 'full-width']
|
|
304
300
|
},
|
|
305
301
|
width: {
|
|
306
|
-
|
|
307
|
-
|
|
302
|
+
optional: true,
|
|
303
|
+
type: 'number'
|
|
308
304
|
}
|
|
309
305
|
}
|
|
306
|
+
},
|
|
307
|
+
type: {
|
|
308
|
+
type: 'enum',
|
|
309
|
+
values: ['breakout']
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
var bulletList = exports.bulletList = {
|
|
314
314
|
props: {
|
|
315
|
-
type: {
|
|
316
|
-
type: 'enum',
|
|
317
|
-
values: ['bulletList']
|
|
318
|
-
},
|
|
319
315
|
attrs: {
|
|
316
|
+
optional: true,
|
|
320
317
|
props: {
|
|
321
318
|
localId: {
|
|
322
|
-
|
|
323
|
-
|
|
319
|
+
optional: true,
|
|
320
|
+
type: 'string'
|
|
324
321
|
}
|
|
325
|
-
}
|
|
326
|
-
optional: true
|
|
322
|
+
}
|
|
327
323
|
},
|
|
328
324
|
content: {
|
|
329
|
-
type: 'array',
|
|
330
325
|
items: ['listItem'],
|
|
331
|
-
minItems: 1
|
|
326
|
+
minItems: 1,
|
|
327
|
+
type: 'array'
|
|
328
|
+
},
|
|
329
|
+
type: {
|
|
330
|
+
type: 'enum',
|
|
331
|
+
values: ['bulletList']
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
var caption = exports.caption = {
|
|
336
336
|
props: {
|
|
337
|
-
type: {
|
|
338
|
-
type: 'enum',
|
|
339
|
-
values: ['caption']
|
|
340
|
-
},
|
|
341
337
|
attrs: {
|
|
338
|
+
optional: true,
|
|
342
339
|
props: {
|
|
343
340
|
localId: {
|
|
344
|
-
|
|
345
|
-
|
|
341
|
+
optional: true,
|
|
342
|
+
type: 'string'
|
|
346
343
|
}
|
|
347
|
-
}
|
|
348
|
-
optional: true
|
|
344
|
+
}
|
|
349
345
|
},
|
|
350
346
|
content: {
|
|
351
|
-
|
|
347
|
+
allowUnsupportedInline: true,
|
|
352
348
|
items: [['hardBreak', 'mention', 'emoji', 'date', 'placeholder', 'inlineCard', 'status', 'text_formatted', 'text_code_inline']],
|
|
353
349
|
optional: true,
|
|
354
|
-
|
|
350
|
+
type: 'array'
|
|
351
|
+
},
|
|
352
|
+
type: {
|
|
353
|
+
type: 'enum',
|
|
354
|
+
values: ['caption']
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
};
|
|
@@ -365,109 +365,168 @@ var code = exports.code = {
|
|
|
365
365
|
};
|
|
366
366
|
var codeBlock = exports.codeBlock = {
|
|
367
367
|
props: {
|
|
368
|
-
type: {
|
|
369
|
-
type: 'enum',
|
|
370
|
-
values: ['codeBlock']
|
|
371
|
-
},
|
|
372
368
|
attrs: {
|
|
369
|
+
optional: true,
|
|
373
370
|
props: {
|
|
374
371
|
language: {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
},
|
|
378
|
-
uniqueId: {
|
|
379
|
-
type: 'string',
|
|
380
|
-
optional: true
|
|
372
|
+
optional: true,
|
|
373
|
+
type: 'string'
|
|
381
374
|
},
|
|
382
375
|
localId: {
|
|
383
|
-
|
|
384
|
-
|
|
376
|
+
optional: true,
|
|
377
|
+
type: 'string'
|
|
378
|
+
},
|
|
379
|
+
uniqueId: {
|
|
380
|
+
optional: true,
|
|
381
|
+
type: 'string'
|
|
385
382
|
}
|
|
386
|
-
}
|
|
387
|
-
optional: true
|
|
383
|
+
}
|
|
388
384
|
},
|
|
389
385
|
content: {
|
|
390
|
-
|
|
386
|
+
allowUnsupportedInline: true,
|
|
391
387
|
items: ['text_with_no_marks'],
|
|
392
388
|
optional: true,
|
|
393
|
-
|
|
389
|
+
type: 'array'
|
|
390
|
+
},
|
|
391
|
+
type: {
|
|
392
|
+
type: 'enum',
|
|
393
|
+
values: ['codeBlock']
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
var codeBlock_root_only = exports.codeBlock_root_only = ['codeBlock', {
|
|
398
398
|
props: {
|
|
399
399
|
marks: {
|
|
400
|
-
|
|
400
|
+
items: ['breakout'],
|
|
401
401
|
optional: true,
|
|
402
|
-
|
|
402
|
+
type: 'array'
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
}];
|
|
406
|
-
var
|
|
406
|
+
var codeBlock_root_only_with_extended_attributes = exports.codeBlock_root_only_with_extended_attributes = ['codeBlock', {
|
|
407
407
|
props: {
|
|
408
|
-
type: {
|
|
409
|
-
type: 'enum',
|
|
410
|
-
values: ['confluenceInlineComment']
|
|
411
|
-
},
|
|
412
408
|
attrs: {
|
|
409
|
+
optional: true,
|
|
413
410
|
props: {
|
|
414
|
-
|
|
411
|
+
hideLineNumbers: {
|
|
412
|
+
optional: true,
|
|
413
|
+
type: 'boolean'
|
|
414
|
+
},
|
|
415
|
+
language: {
|
|
416
|
+
optional: true,
|
|
417
|
+
type: 'string'
|
|
418
|
+
},
|
|
419
|
+
localId: {
|
|
420
|
+
optional: true,
|
|
421
|
+
type: 'string'
|
|
422
|
+
},
|
|
423
|
+
uniqueId: {
|
|
424
|
+
optional: true,
|
|
415
425
|
type: 'string'
|
|
426
|
+
},
|
|
427
|
+
wrap: {
|
|
428
|
+
optional: true,
|
|
429
|
+
type: 'boolean'
|
|
416
430
|
}
|
|
417
431
|
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
var dataConsumer = exports.dataConsumer = {
|
|
422
|
-
props: {
|
|
423
|
-
type: {
|
|
424
|
-
type: 'enum',
|
|
425
|
-
values: ['dataConsumer']
|
|
426
432
|
},
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
items: [{
|
|
432
|
-
type: 'string'
|
|
433
|
-
}],
|
|
434
|
-
minItems: 1
|
|
435
|
-
}
|
|
436
|
-
}
|
|
433
|
+
marks: {
|
|
434
|
+
items: ['breakout'],
|
|
435
|
+
optional: true,
|
|
436
|
+
type: 'array'
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
};
|
|
440
|
-
var
|
|
439
|
+
}];
|
|
440
|
+
var codeBlock_with_extended_attributes = exports.codeBlock_with_extended_attributes = ['codeBlock', {
|
|
441
441
|
props: {
|
|
442
|
-
type: {
|
|
443
|
-
type: 'enum',
|
|
444
|
-
values: ['date']
|
|
445
|
-
},
|
|
446
442
|
attrs: {
|
|
443
|
+
optional: true,
|
|
447
444
|
props: {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
type: '
|
|
445
|
+
hideLineNumbers: {
|
|
446
|
+
optional: true,
|
|
447
|
+
type: 'boolean'
|
|
448
|
+
},
|
|
449
|
+
language: {
|
|
450
|
+
optional: true,
|
|
451
|
+
type: 'string'
|
|
451
452
|
},
|
|
452
453
|
localId: {
|
|
453
|
-
|
|
454
|
-
|
|
454
|
+
optional: true,
|
|
455
|
+
type: 'string'
|
|
456
|
+
},
|
|
457
|
+
uniqueId: {
|
|
458
|
+
optional: true,
|
|
459
|
+
type: 'string'
|
|
460
|
+
},
|
|
461
|
+
wrap: {
|
|
462
|
+
optional: true,
|
|
463
|
+
type: 'boolean'
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}];
|
|
469
|
+
var confluenceInlineComment = exports.confluenceInlineComment = {
|
|
470
|
+
props: {
|
|
471
|
+
attrs: {
|
|
472
|
+
props: {
|
|
473
|
+
reference: {
|
|
474
|
+
type: 'string'
|
|
455
475
|
}
|
|
456
476
|
}
|
|
457
477
|
},
|
|
458
|
-
|
|
459
|
-
type: '
|
|
460
|
-
|
|
461
|
-
items: ['annotation']
|
|
478
|
+
type: {
|
|
479
|
+
type: 'enum',
|
|
480
|
+
values: ['confluenceInlineComment']
|
|
462
481
|
}
|
|
463
482
|
}
|
|
464
483
|
};
|
|
465
|
-
var
|
|
484
|
+
var dataConsumer = exports.dataConsumer = {
|
|
466
485
|
props: {
|
|
486
|
+
attrs: {
|
|
487
|
+
props: {
|
|
488
|
+
sources: {
|
|
489
|
+
items: [{
|
|
490
|
+
type: 'string'
|
|
491
|
+
}],
|
|
492
|
+
minItems: 1,
|
|
493
|
+
type: 'array'
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
467
497
|
type: {
|
|
468
498
|
type: 'enum',
|
|
469
|
-
values: ['
|
|
499
|
+
values: ['dataConsumer']
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
var date = exports.date = {
|
|
504
|
+
props: {
|
|
505
|
+
attrs: {
|
|
506
|
+
props: {
|
|
507
|
+
localId: {
|
|
508
|
+
optional: true,
|
|
509
|
+
type: 'string'
|
|
510
|
+
},
|
|
511
|
+
timestamp: {
|
|
512
|
+
minLength: 1,
|
|
513
|
+
type: 'string'
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
marks: {
|
|
518
|
+
items: ['annotation'],
|
|
519
|
+
optional: true,
|
|
520
|
+
type: 'array'
|
|
470
521
|
},
|
|
522
|
+
type: {
|
|
523
|
+
type: 'enum',
|
|
524
|
+
values: ['date']
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
var decisionItem = exports.decisionItem = {
|
|
529
|
+
props: {
|
|
471
530
|
attrs: {
|
|
472
531
|
props: {
|
|
473
532
|
localId: {
|
|
@@ -479,19 +538,19 @@ var decisionItem = exports.decisionItem = {
|
|
|
479
538
|
}
|
|
480
539
|
},
|
|
481
540
|
content: {
|
|
482
|
-
|
|
541
|
+
allowUnsupportedInline: true,
|
|
483
542
|
items: ['inline_content'],
|
|
484
543
|
optional: true,
|
|
485
|
-
|
|
544
|
+
type: 'array'
|
|
545
|
+
},
|
|
546
|
+
type: {
|
|
547
|
+
type: 'enum',
|
|
548
|
+
values: ['decisionItem']
|
|
486
549
|
}
|
|
487
550
|
}
|
|
488
551
|
};
|
|
489
552
|
var decisionList = exports.decisionList = {
|
|
490
553
|
props: {
|
|
491
|
-
type: {
|
|
492
|
-
type: 'enum',
|
|
493
|
-
values: ['decisionList']
|
|
494
|
-
},
|
|
495
554
|
attrs: {
|
|
496
555
|
props: {
|
|
497
556
|
localId: {
|
|
@@ -500,15 +559,24 @@ var decisionList = exports.decisionList = {
|
|
|
500
559
|
}
|
|
501
560
|
},
|
|
502
561
|
content: {
|
|
503
|
-
|
|
562
|
+
allowUnsupportedBlock: true,
|
|
504
563
|
items: ['decisionItem'],
|
|
505
564
|
minItems: 1,
|
|
506
|
-
|
|
565
|
+
type: 'array'
|
|
566
|
+
},
|
|
567
|
+
type: {
|
|
568
|
+
type: 'enum',
|
|
569
|
+
values: ['decisionList']
|
|
507
570
|
}
|
|
508
571
|
}
|
|
509
572
|
};
|
|
510
573
|
var doc = exports.doc = {
|
|
511
574
|
props: {
|
|
575
|
+
content: {
|
|
576
|
+
allowUnsupportedBlock: true,
|
|
577
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'codeBlock_with_extended_attributes', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'codeBlock_root_only_with_extended_attributes', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
578
|
+
type: 'array'
|
|
579
|
+
},
|
|
512
580
|
type: {
|
|
513
581
|
type: 'enum',
|
|
514
582
|
values: ['doc']
|
|
@@ -516,11 +584,6 @@ var doc = exports.doc = {
|
|
|
516
584
|
version: {
|
|
517
585
|
type: 'enum',
|
|
518
586
|
values: [1]
|
|
519
|
-
},
|
|
520
|
-
content: {
|
|
521
|
-
type: 'array',
|
|
522
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
523
|
-
allowUnsupportedBlock: true
|
|
524
587
|
}
|
|
525
588
|
}
|
|
526
589
|
};
|
|
@@ -534,116 +597,112 @@ var em = exports.em = {
|
|
|
534
597
|
};
|
|
535
598
|
var embedCard = exports.embedCard = {
|
|
536
599
|
props: {
|
|
537
|
-
type: {
|
|
538
|
-
type: 'enum',
|
|
539
|
-
values: ['embedCard']
|
|
540
|
-
},
|
|
541
600
|
attrs: {
|
|
542
601
|
props: {
|
|
543
|
-
url: {
|
|
544
|
-
type: 'string',
|
|
545
|
-
validatorFn: 'safeUrl'
|
|
546
|
-
},
|
|
547
602
|
layout: {
|
|
548
603
|
type: 'enum',
|
|
549
604
|
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
550
605
|
},
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
minimum: 0,
|
|
555
|
-
optional: true
|
|
606
|
+
localId: {
|
|
607
|
+
optional: true,
|
|
608
|
+
type: 'string'
|
|
556
609
|
},
|
|
557
610
|
originalHeight: {
|
|
558
|
-
|
|
559
|
-
|
|
611
|
+
optional: true,
|
|
612
|
+
type: 'number'
|
|
560
613
|
},
|
|
561
614
|
originalWidth: {
|
|
562
|
-
|
|
563
|
-
|
|
615
|
+
optional: true,
|
|
616
|
+
type: 'number'
|
|
564
617
|
},
|
|
565
|
-
|
|
618
|
+
url: {
|
|
566
619
|
type: 'string',
|
|
567
|
-
|
|
620
|
+
validatorFn: 'safeUrl'
|
|
621
|
+
},
|
|
622
|
+
width: {
|
|
623
|
+
maximum: 100,
|
|
624
|
+
minimum: 0,
|
|
625
|
+
optional: true,
|
|
626
|
+
type: 'number'
|
|
568
627
|
}
|
|
569
628
|
}
|
|
629
|
+
},
|
|
630
|
+
type: {
|
|
631
|
+
type: 'enum',
|
|
632
|
+
values: ['embedCard']
|
|
570
633
|
}
|
|
571
634
|
}
|
|
572
635
|
};
|
|
573
636
|
var emoji = exports.emoji = {
|
|
574
637
|
props: {
|
|
575
|
-
type: {
|
|
576
|
-
type: 'enum',
|
|
577
|
-
values: ['emoji']
|
|
578
|
-
},
|
|
579
638
|
attrs: {
|
|
580
639
|
props: {
|
|
581
|
-
|
|
640
|
+
id: {
|
|
641
|
+
optional: true,
|
|
582
642
|
type: 'string'
|
|
583
643
|
},
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
644
|
+
localId: {
|
|
645
|
+
optional: true,
|
|
646
|
+
type: 'string'
|
|
587
647
|
},
|
|
588
|
-
|
|
589
|
-
type: 'string'
|
|
590
|
-
optional: true
|
|
648
|
+
shortName: {
|
|
649
|
+
type: 'string'
|
|
591
650
|
},
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
651
|
+
text: {
|
|
652
|
+
optional: true,
|
|
653
|
+
type: 'string'
|
|
595
654
|
}
|
|
596
655
|
}
|
|
597
656
|
},
|
|
598
657
|
marks: {
|
|
599
|
-
|
|
658
|
+
items: ['annotation'],
|
|
600
659
|
optional: true,
|
|
601
|
-
|
|
660
|
+
type: 'array'
|
|
661
|
+
},
|
|
662
|
+
type: {
|
|
663
|
+
type: 'enum',
|
|
664
|
+
values: ['emoji']
|
|
602
665
|
}
|
|
603
666
|
}
|
|
604
667
|
};
|
|
605
668
|
var expand = exports.expand = {
|
|
606
669
|
props: {
|
|
607
|
-
type: {
|
|
608
|
-
type: 'enum',
|
|
609
|
-
values: ['expand']
|
|
610
|
-
},
|
|
611
670
|
attrs: {
|
|
671
|
+
optional: true,
|
|
612
672
|
props: {
|
|
613
|
-
title: {
|
|
614
|
-
type: 'string',
|
|
615
|
-
optional: true
|
|
616
|
-
},
|
|
617
673
|
localId: {
|
|
618
|
-
|
|
619
|
-
|
|
674
|
+
optional: true,
|
|
675
|
+
type: 'string'
|
|
676
|
+
},
|
|
677
|
+
title: {
|
|
678
|
+
optional: true,
|
|
679
|
+
type: 'string'
|
|
620
680
|
}
|
|
621
|
-
}
|
|
622
|
-
optional: true
|
|
681
|
+
}
|
|
623
682
|
},
|
|
624
683
|
content: {
|
|
625
|
-
|
|
626
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
684
|
+
allowUnsupportedBlock: true,
|
|
685
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'codeBlock_with_extended_attributes', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
627
686
|
minItems: 1,
|
|
628
|
-
|
|
687
|
+
type: 'array'
|
|
688
|
+
},
|
|
689
|
+
type: {
|
|
690
|
+
type: 'enum',
|
|
691
|
+
values: ['expand']
|
|
629
692
|
}
|
|
630
693
|
}
|
|
631
694
|
};
|
|
632
695
|
var expand_root_only = exports.expand_root_only = ['expand', {
|
|
633
696
|
props: {
|
|
634
697
|
marks: {
|
|
635
|
-
|
|
698
|
+
items: ['breakout'],
|
|
636
699
|
optional: true,
|
|
637
|
-
|
|
700
|
+
type: 'array'
|
|
638
701
|
}
|
|
639
702
|
}
|
|
640
703
|
}];
|
|
641
704
|
var extension = exports.extension = {
|
|
642
705
|
props: {
|
|
643
|
-
type: {
|
|
644
|
-
type: 'enum',
|
|
645
|
-
values: ['extension']
|
|
646
|
-
},
|
|
647
706
|
attrs: {
|
|
648
707
|
props: {
|
|
649
708
|
extensionKey: {
|
|
@@ -654,66 +713,66 @@ var extension = exports.extension = {
|
|
|
654
713
|
minLength: 1,
|
|
655
714
|
type: 'string'
|
|
656
715
|
},
|
|
657
|
-
parameters: {
|
|
658
|
-
type: 'object',
|
|
659
|
-
optional: true
|
|
660
|
-
},
|
|
661
|
-
text: {
|
|
662
|
-
type: 'string',
|
|
663
|
-
optional: true
|
|
664
|
-
},
|
|
665
716
|
layout: {
|
|
717
|
+
optional: true,
|
|
666
718
|
type: 'enum',
|
|
667
|
-
values: ['wide', 'full-width', 'default']
|
|
668
|
-
optional: true
|
|
719
|
+
values: ['wide', 'full-width', 'default']
|
|
669
720
|
},
|
|
670
721
|
localId: {
|
|
671
722
|
minLength: 1,
|
|
672
|
-
|
|
673
|
-
|
|
723
|
+
optional: true,
|
|
724
|
+
type: 'string'
|
|
725
|
+
},
|
|
726
|
+
parameters: {
|
|
727
|
+
optional: true,
|
|
728
|
+
type: 'object'
|
|
729
|
+
},
|
|
730
|
+
text: {
|
|
731
|
+
optional: true,
|
|
732
|
+
type: 'string'
|
|
674
733
|
}
|
|
675
734
|
}
|
|
676
735
|
},
|
|
677
736
|
marks: {
|
|
678
|
-
type: 'array',
|
|
679
737
|
items: [],
|
|
680
|
-
optional: true
|
|
738
|
+
optional: true,
|
|
739
|
+
type: 'array'
|
|
740
|
+
},
|
|
741
|
+
type: {
|
|
742
|
+
type: 'enum',
|
|
743
|
+
values: ['extension']
|
|
681
744
|
}
|
|
682
745
|
}
|
|
683
746
|
};
|
|
684
747
|
var extension_with_marks = exports.extension_with_marks = ['extension', {
|
|
685
748
|
props: {
|
|
686
749
|
marks: {
|
|
687
|
-
|
|
750
|
+
items: [['dataConsumer', 'fragment']],
|
|
688
751
|
optional: true,
|
|
689
|
-
|
|
752
|
+
type: 'array'
|
|
690
753
|
}
|
|
691
754
|
}
|
|
692
755
|
}];
|
|
693
756
|
var extensionFrame = exports.extensionFrame = {
|
|
694
757
|
props: {
|
|
695
|
-
type: {
|
|
696
|
-
type: 'enum',
|
|
697
|
-
values: ['extensionFrame']
|
|
698
|
-
},
|
|
699
758
|
content: {
|
|
700
|
-
type: 'array',
|
|
701
759
|
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
|
|
702
|
-
minItems: 1
|
|
760
|
+
minItems: 1,
|
|
761
|
+
type: 'array'
|
|
703
762
|
},
|
|
704
763
|
marks: {
|
|
705
|
-
|
|
764
|
+
items: [['dataConsumer', 'fragment']],
|
|
706
765
|
optional: true,
|
|
707
|
-
|
|
766
|
+
type: 'array'
|
|
767
|
+
},
|
|
768
|
+
type: {
|
|
769
|
+
type: 'enum',
|
|
770
|
+
values: ['extensionFrame']
|
|
708
771
|
}
|
|
709
772
|
}
|
|
710
773
|
};
|
|
711
774
|
var fontSize = exports.fontSize = {
|
|
712
775
|
props: {
|
|
713
|
-
type: {
|
|
714
|
-
type: 'enum',
|
|
715
|
-
values: ['fontSize']
|
|
716
|
-
},
|
|
717
776
|
attrs: {
|
|
718
777
|
props: {
|
|
719
778
|
fontSize: {
|
|
@@ -721,15 +780,15 @@ var fontSize = exports.fontSize = {
|
|
|
721
780
|
values: ['small']
|
|
722
781
|
}
|
|
723
782
|
}
|
|
783
|
+
},
|
|
784
|
+
type: {
|
|
785
|
+
type: 'enum',
|
|
786
|
+
values: ['fontSize']
|
|
724
787
|
}
|
|
725
788
|
}
|
|
726
789
|
};
|
|
727
790
|
var fragment = exports.fragment = {
|
|
728
791
|
props: {
|
|
729
|
-
type: {
|
|
730
|
-
type: 'enum',
|
|
731
|
-
values: ['fragment']
|
|
732
|
-
},
|
|
733
792
|
attrs: {
|
|
734
793
|
props: {
|
|
735
794
|
localId: {
|
|
@@ -737,128 +796,128 @@ var fragment = exports.fragment = {
|
|
|
737
796
|
type: 'string'
|
|
738
797
|
},
|
|
739
798
|
name: {
|
|
740
|
-
|
|
741
|
-
|
|
799
|
+
optional: true,
|
|
800
|
+
type: 'string'
|
|
742
801
|
}
|
|
743
802
|
}
|
|
803
|
+
},
|
|
804
|
+
type: {
|
|
805
|
+
type: 'enum',
|
|
806
|
+
values: ['fragment']
|
|
744
807
|
}
|
|
745
808
|
}
|
|
746
809
|
};
|
|
747
810
|
var hardBreak = exports.hardBreak = {
|
|
748
811
|
props: {
|
|
749
|
-
type: {
|
|
750
|
-
type: 'enum',
|
|
751
|
-
values: ['hardBreak']
|
|
752
|
-
},
|
|
753
812
|
attrs: {
|
|
813
|
+
optional: true,
|
|
754
814
|
props: {
|
|
815
|
+
localId: {
|
|
816
|
+
optional: true,
|
|
817
|
+
type: 'string'
|
|
818
|
+
},
|
|
755
819
|
text: {
|
|
820
|
+
optional: true,
|
|
756
821
|
type: 'enum',
|
|
757
|
-
values: ['\n']
|
|
758
|
-
optional: true
|
|
759
|
-
},
|
|
760
|
-
localId: {
|
|
761
|
-
type: 'string',
|
|
762
|
-
optional: true
|
|
822
|
+
values: ['\n']
|
|
763
823
|
}
|
|
764
|
-
}
|
|
765
|
-
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
type: {
|
|
827
|
+
type: 'enum',
|
|
828
|
+
values: ['hardBreak']
|
|
766
829
|
}
|
|
767
830
|
}
|
|
768
831
|
};
|
|
769
832
|
var heading = exports.heading = {
|
|
770
833
|
props: {
|
|
771
|
-
type: {
|
|
772
|
-
type: 'enum',
|
|
773
|
-
values: ['heading']
|
|
774
|
-
},
|
|
775
834
|
attrs: {
|
|
776
835
|
props: {
|
|
777
836
|
level: {
|
|
778
|
-
|
|
837
|
+
maximum: 6,
|
|
779
838
|
minimum: 1,
|
|
780
|
-
|
|
839
|
+
type: 'number'
|
|
781
840
|
},
|
|
782
841
|
localId: {
|
|
783
|
-
|
|
784
|
-
|
|
842
|
+
optional: true,
|
|
843
|
+
type: 'string'
|
|
785
844
|
}
|
|
786
845
|
}
|
|
787
846
|
},
|
|
788
847
|
content: {
|
|
789
|
-
|
|
848
|
+
allowUnsupportedInline: true,
|
|
790
849
|
items: ['inline_content'],
|
|
791
850
|
optional: true,
|
|
792
|
-
|
|
851
|
+
type: 'array'
|
|
793
852
|
},
|
|
794
853
|
marks: {
|
|
795
|
-
type: 'array',
|
|
796
854
|
items: [],
|
|
797
|
-
optional: true
|
|
855
|
+
optional: true,
|
|
856
|
+
type: 'array'
|
|
857
|
+
},
|
|
858
|
+
type: {
|
|
859
|
+
type: 'enum',
|
|
860
|
+
values: ['heading']
|
|
798
861
|
}
|
|
799
862
|
}
|
|
800
863
|
};
|
|
801
864
|
var heading_with_alignment = exports.heading_with_alignment = ['heading', {
|
|
802
865
|
props: {
|
|
803
866
|
marks: {
|
|
804
|
-
|
|
867
|
+
items: ['alignment'],
|
|
805
868
|
optional: true,
|
|
806
|
-
|
|
869
|
+
type: 'array'
|
|
807
870
|
}
|
|
808
871
|
}
|
|
809
872
|
}];
|
|
810
873
|
var heading_with_indentation = exports.heading_with_indentation = ['heading', {
|
|
811
874
|
props: {
|
|
812
875
|
marks: {
|
|
813
|
-
|
|
876
|
+
items: ['indentation'],
|
|
814
877
|
optional: true,
|
|
815
|
-
|
|
878
|
+
type: 'array'
|
|
816
879
|
}
|
|
817
880
|
}
|
|
818
881
|
}];
|
|
819
882
|
var heading_with_no_marks = exports.heading_with_no_marks = ['heading', {
|
|
820
883
|
props: {
|
|
821
884
|
marks: {
|
|
822
|
-
type: 'array',
|
|
823
|
-
maxItems: 0,
|
|
824
885
|
items: [],
|
|
825
|
-
|
|
886
|
+
maxItems: 0,
|
|
887
|
+
optional: true,
|
|
888
|
+
type: 'array'
|
|
826
889
|
}
|
|
827
890
|
}
|
|
828
891
|
}];
|
|
829
892
|
var indentation = exports.indentation = {
|
|
830
893
|
props: {
|
|
831
|
-
type: {
|
|
832
|
-
type: 'enum',
|
|
833
|
-
values: ['indentation']
|
|
834
|
-
},
|
|
835
894
|
attrs: {
|
|
836
895
|
props: {
|
|
837
896
|
level: {
|
|
838
|
-
|
|
897
|
+
maximum: 6,
|
|
839
898
|
minimum: 1,
|
|
840
|
-
|
|
899
|
+
type: 'number'
|
|
841
900
|
}
|
|
842
901
|
}
|
|
902
|
+
},
|
|
903
|
+
type: {
|
|
904
|
+
type: 'enum',
|
|
905
|
+
values: ['indentation']
|
|
843
906
|
}
|
|
844
907
|
}
|
|
845
908
|
};
|
|
846
909
|
var inline_content = exports.inline_content = ['text_formatted', 'text_code_inline', 'date', 'emoji', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status', 'inlineExtension_with_marks', 'mediaInline'];
|
|
847
910
|
var inlineCard = exports.inlineCard = {
|
|
848
911
|
props: {
|
|
849
|
-
type: {
|
|
850
|
-
type: 'enum',
|
|
851
|
-
values: ['inlineCard']
|
|
852
|
-
},
|
|
853
912
|
attrs: [{
|
|
854
913
|
props: {
|
|
914
|
+
localId: {
|
|
915
|
+
optional: true,
|
|
916
|
+
type: 'string'
|
|
917
|
+
},
|
|
855
918
|
url: {
|
|
856
919
|
type: 'string',
|
|
857
920
|
validatorFn: 'safeUrl'
|
|
858
|
-
},
|
|
859
|
-
localId: {
|
|
860
|
-
type: 'string',
|
|
861
|
-
optional: true
|
|
862
921
|
}
|
|
863
922
|
}
|
|
864
923
|
}, {
|
|
@@ -867,25 +926,25 @@ var inlineCard = exports.inlineCard = {
|
|
|
867
926
|
type: 'object'
|
|
868
927
|
},
|
|
869
928
|
localId: {
|
|
870
|
-
|
|
871
|
-
|
|
929
|
+
optional: true,
|
|
930
|
+
type: 'string'
|
|
872
931
|
}
|
|
873
932
|
}
|
|
874
933
|
}],
|
|
875
934
|
marks: {
|
|
876
|
-
|
|
935
|
+
items: ['annotation'],
|
|
877
936
|
optional: true,
|
|
878
|
-
|
|
937
|
+
type: 'array'
|
|
938
|
+
},
|
|
939
|
+
type: {
|
|
940
|
+
type: 'enum',
|
|
941
|
+
values: ['inlineCard']
|
|
879
942
|
}
|
|
880
943
|
},
|
|
881
944
|
required: ['attrs']
|
|
882
945
|
};
|
|
883
946
|
var inlineExtension = exports.inlineExtension = {
|
|
884
947
|
props: {
|
|
885
|
-
type: {
|
|
886
|
-
type: 'enum',
|
|
887
|
-
values: ['inlineExtension']
|
|
888
|
-
},
|
|
889
948
|
attrs: {
|
|
890
949
|
props: {
|
|
891
950
|
extensionKey: {
|
|
@@ -896,772 +955,758 @@ var inlineExtension = exports.inlineExtension = {
|
|
|
896
955
|
minLength: 1,
|
|
897
956
|
type: 'string'
|
|
898
957
|
},
|
|
958
|
+
localId: {
|
|
959
|
+
minLength: 1,
|
|
960
|
+
optional: true,
|
|
961
|
+
type: 'string'
|
|
962
|
+
},
|
|
899
963
|
parameters: {
|
|
900
|
-
|
|
901
|
-
|
|
964
|
+
optional: true,
|
|
965
|
+
type: 'object'
|
|
902
966
|
},
|
|
903
967
|
text: {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
},
|
|
907
|
-
localId: {
|
|
908
|
-
minLength: 1,
|
|
909
|
-
type: 'string',
|
|
910
|
-
optional: true
|
|
968
|
+
optional: true,
|
|
969
|
+
type: 'string'
|
|
911
970
|
}
|
|
912
971
|
}
|
|
913
972
|
},
|
|
914
973
|
marks: {
|
|
915
|
-
type: 'array',
|
|
916
974
|
items: [],
|
|
917
|
-
optional: true
|
|
975
|
+
optional: true,
|
|
976
|
+
type: 'array'
|
|
977
|
+
},
|
|
978
|
+
type: {
|
|
979
|
+
type: 'enum',
|
|
980
|
+
values: ['inlineExtension']
|
|
918
981
|
}
|
|
919
982
|
}
|
|
920
983
|
};
|
|
921
984
|
var inlineExtension_with_marks = exports.inlineExtension_with_marks = ['inlineExtension', {
|
|
922
985
|
props: {
|
|
923
986
|
marks: {
|
|
924
|
-
|
|
987
|
+
items: [['dataConsumer', 'fragment']],
|
|
925
988
|
optional: true,
|
|
926
|
-
|
|
989
|
+
type: 'array'
|
|
927
990
|
}
|
|
928
991
|
}
|
|
929
992
|
}];
|
|
930
993
|
var layoutColumn = exports.layoutColumn = {
|
|
931
994
|
props: {
|
|
932
|
-
type: {
|
|
933
|
-
type: 'enum',
|
|
934
|
-
values: ['layoutColumn']
|
|
935
|
-
},
|
|
936
995
|
attrs: {
|
|
937
996
|
props: {
|
|
997
|
+
localId: {
|
|
998
|
+
optional: true,
|
|
999
|
+
type: 'string'
|
|
1000
|
+
},
|
|
938
1001
|
width: {
|
|
939
|
-
|
|
1002
|
+
maximum: 100,
|
|
940
1003
|
minimum: 0,
|
|
941
|
-
|
|
942
|
-
},
|
|
943
|
-
localId: {
|
|
944
|
-
type: 'string',
|
|
945
|
-
optional: true
|
|
1004
|
+
type: 'number'
|
|
946
1005
|
}
|
|
947
1006
|
}
|
|
948
1007
|
},
|
|
949
1008
|
content: {
|
|
950
|
-
|
|
1009
|
+
allowUnsupportedBlock: true,
|
|
951
1010
|
items: ['block_content'],
|
|
952
1011
|
minItems: 1,
|
|
953
|
-
|
|
1012
|
+
type: 'array'
|
|
1013
|
+
},
|
|
1014
|
+
type: {
|
|
1015
|
+
type: 'enum',
|
|
1016
|
+
values: ['layoutColumn']
|
|
954
1017
|
}
|
|
955
1018
|
}
|
|
956
1019
|
};
|
|
957
1020
|
var layoutSection = exports.layoutSection = {
|
|
958
1021
|
props: {
|
|
959
|
-
type: {
|
|
960
|
-
type: 'enum',
|
|
961
|
-
values: ['layoutSection']
|
|
962
|
-
},
|
|
963
1022
|
attrs: {
|
|
1023
|
+
optional: true,
|
|
964
1024
|
props: {
|
|
965
1025
|
localId: {
|
|
966
|
-
|
|
967
|
-
|
|
1026
|
+
optional: true,
|
|
1027
|
+
type: 'string'
|
|
968
1028
|
}
|
|
969
|
-
}
|
|
970
|
-
optional: true
|
|
1029
|
+
}
|
|
971
1030
|
},
|
|
972
1031
|
content: {
|
|
973
|
-
|
|
1032
|
+
allowUnsupportedBlock: true,
|
|
974
1033
|
items: ['layoutColumn'],
|
|
975
|
-
minItems: 1,
|
|
976
1034
|
maxItems: 3,
|
|
977
|
-
|
|
1035
|
+
minItems: 1,
|
|
1036
|
+
type: 'array'
|
|
978
1037
|
},
|
|
979
1038
|
marks: {
|
|
980
|
-
|
|
1039
|
+
items: ['breakout'],
|
|
981
1040
|
optional: true,
|
|
982
|
-
|
|
1041
|
+
type: 'array'
|
|
1042
|
+
},
|
|
1043
|
+
type: {
|
|
1044
|
+
type: 'enum',
|
|
1045
|
+
values: ['layoutSection']
|
|
983
1046
|
}
|
|
984
1047
|
}
|
|
985
1048
|
};
|
|
986
1049
|
var layoutSection_full = exports.layoutSection_full = ['layoutSection', {
|
|
987
1050
|
props: {
|
|
988
1051
|
content: {
|
|
989
|
-
|
|
1052
|
+
allowUnsupportedBlock: true,
|
|
990
1053
|
items: ['layoutColumn'],
|
|
991
|
-
minItems: 2,
|
|
992
1054
|
maxItems: 3,
|
|
993
|
-
|
|
1055
|
+
minItems: 2,
|
|
1056
|
+
type: 'array'
|
|
994
1057
|
},
|
|
995
1058
|
marks: {
|
|
996
|
-
|
|
1059
|
+
items: ['breakout'],
|
|
997
1060
|
optional: true,
|
|
998
|
-
|
|
1061
|
+
type: 'array'
|
|
999
1062
|
}
|
|
1000
1063
|
}
|
|
1001
1064
|
}];
|
|
1002
1065
|
var layoutSection_with_single_column = exports.layoutSection_with_single_column = ['layoutSection', {
|
|
1003
1066
|
props: {
|
|
1004
1067
|
attrs: {
|
|
1068
|
+
optional: true,
|
|
1005
1069
|
props: {
|
|
1006
1070
|
columnRuleStyle: {
|
|
1071
|
+
optional: true,
|
|
1007
1072
|
type: 'enum',
|
|
1008
|
-
values: ['solid']
|
|
1009
|
-
optional: true
|
|
1073
|
+
values: ['solid']
|
|
1010
1074
|
},
|
|
1011
1075
|
localId: {
|
|
1012
|
-
|
|
1013
|
-
|
|
1076
|
+
optional: true,
|
|
1077
|
+
type: 'string'
|
|
1014
1078
|
}
|
|
1015
|
-
}
|
|
1016
|
-
optional: true
|
|
1079
|
+
}
|
|
1017
1080
|
},
|
|
1018
1081
|
content: {
|
|
1019
|
-
|
|
1082
|
+
allowUnsupportedBlock: true,
|
|
1020
1083
|
items: ['layoutColumn'],
|
|
1021
|
-
minItems: 1,
|
|
1022
1084
|
maxItems: 5,
|
|
1023
|
-
|
|
1085
|
+
minItems: 1,
|
|
1086
|
+
type: 'array'
|
|
1024
1087
|
},
|
|
1025
1088
|
marks: {
|
|
1026
|
-
|
|
1089
|
+
items: ['breakout'],
|
|
1027
1090
|
optional: true,
|
|
1028
|
-
|
|
1091
|
+
type: 'array'
|
|
1029
1092
|
}
|
|
1030
1093
|
}
|
|
1031
1094
|
}];
|
|
1032
1095
|
var link = exports.link = {
|
|
1033
1096
|
props: {
|
|
1034
|
-
type: {
|
|
1035
|
-
type: 'enum',
|
|
1036
|
-
values: ['link']
|
|
1037
|
-
},
|
|
1038
1097
|
attrs: {
|
|
1039
1098
|
props: {
|
|
1099
|
+
collection: {
|
|
1100
|
+
optional: true,
|
|
1101
|
+
type: 'string'
|
|
1102
|
+
},
|
|
1040
1103
|
href: {
|
|
1041
1104
|
type: 'string',
|
|
1042
1105
|
validatorFn: 'safeUrl'
|
|
1043
1106
|
},
|
|
1044
|
-
title: {
|
|
1045
|
-
type: 'string',
|
|
1046
|
-
optional: true
|
|
1047
|
-
},
|
|
1048
1107
|
id: {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
},
|
|
1052
|
-
collection: {
|
|
1053
|
-
type: 'string',
|
|
1054
|
-
optional: true
|
|
1108
|
+
optional: true,
|
|
1109
|
+
type: 'string'
|
|
1055
1110
|
},
|
|
1056
1111
|
occurrenceKey: {
|
|
1057
|
-
|
|
1058
|
-
|
|
1112
|
+
optional: true,
|
|
1113
|
+
type: 'string'
|
|
1114
|
+
},
|
|
1115
|
+
title: {
|
|
1116
|
+
optional: true,
|
|
1117
|
+
type: 'string'
|
|
1059
1118
|
}
|
|
1060
1119
|
}
|
|
1120
|
+
},
|
|
1121
|
+
type: {
|
|
1122
|
+
type: 'enum',
|
|
1123
|
+
values: ['link']
|
|
1061
1124
|
}
|
|
1062
1125
|
}
|
|
1063
1126
|
};
|
|
1064
1127
|
var listItem = exports.listItem = {
|
|
1065
1128
|
props: {
|
|
1066
|
-
type: {
|
|
1067
|
-
type: 'enum',
|
|
1068
|
-
values: ['listItem']
|
|
1069
|
-
},
|
|
1070
1129
|
attrs: {
|
|
1130
|
+
optional: true,
|
|
1071
1131
|
props: {
|
|
1072
1132
|
localId: {
|
|
1073
|
-
|
|
1074
|
-
|
|
1133
|
+
optional: true,
|
|
1134
|
+
type: 'string'
|
|
1075
1135
|
}
|
|
1076
|
-
}
|
|
1077
|
-
optional: true
|
|
1136
|
+
}
|
|
1078
1137
|
},
|
|
1079
1138
|
content: {
|
|
1080
|
-
|
|
1139
|
+
allowUnsupportedBlock: true,
|
|
1081
1140
|
items: [['paragraph_with_font_size', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1082
1141
|
minItems: 1,
|
|
1083
|
-
|
|
1142
|
+
type: 'array'
|
|
1143
|
+
},
|
|
1144
|
+
type: {
|
|
1145
|
+
type: 'enum',
|
|
1146
|
+
values: ['listItem']
|
|
1084
1147
|
}
|
|
1085
1148
|
}
|
|
1086
1149
|
};
|
|
1087
1150
|
var media = exports.media = {
|
|
1088
1151
|
props: {
|
|
1089
|
-
type: {
|
|
1090
|
-
type: 'enum',
|
|
1091
|
-
values: ['media']
|
|
1092
|
-
},
|
|
1093
1152
|
attrs: [{
|
|
1094
1153
|
props: {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1154
|
+
alt: {
|
|
1155
|
+
optional: true,
|
|
1156
|
+
type: 'string'
|
|
1098
1157
|
},
|
|
1099
|
-
|
|
1100
|
-
type: 'string'
|
|
1101
|
-
|
|
1158
|
+
collection: {
|
|
1159
|
+
type: 'string'
|
|
1160
|
+
},
|
|
1161
|
+
height: {
|
|
1162
|
+
optional: true,
|
|
1163
|
+
type: 'number'
|
|
1102
1164
|
},
|
|
1103
1165
|
id: {
|
|
1104
1166
|
minLength: 1,
|
|
1105
1167
|
type: 'string'
|
|
1106
1168
|
},
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
optional: true
|
|
1110
|
-
},
|
|
1111
|
-
collection: {
|
|
1169
|
+
localId: {
|
|
1170
|
+
optional: true,
|
|
1112
1171
|
type: 'string'
|
|
1113
1172
|
},
|
|
1114
|
-
height: {
|
|
1115
|
-
type: 'number',
|
|
1116
|
-
optional: true
|
|
1117
|
-
},
|
|
1118
1173
|
occurrenceKey: {
|
|
1119
1174
|
minLength: 1,
|
|
1120
|
-
|
|
1121
|
-
|
|
1175
|
+
optional: true,
|
|
1176
|
+
type: 'string'
|
|
1177
|
+
},
|
|
1178
|
+
type: {
|
|
1179
|
+
type: 'enum',
|
|
1180
|
+
values: ['link', 'file']
|
|
1122
1181
|
},
|
|
1123
1182
|
width: {
|
|
1124
|
-
|
|
1125
|
-
|
|
1183
|
+
optional: true,
|
|
1184
|
+
type: 'number'
|
|
1126
1185
|
}
|
|
1127
1186
|
}
|
|
1128
1187
|
}, {
|
|
1129
1188
|
props: {
|
|
1130
|
-
type: {
|
|
1131
|
-
type: 'enum',
|
|
1132
|
-
values: ['external']
|
|
1133
|
-
},
|
|
1134
|
-
localId: {
|
|
1135
|
-
type: 'string',
|
|
1136
|
-
optional: true
|
|
1137
|
-
},
|
|
1138
1189
|
alt: {
|
|
1139
|
-
|
|
1140
|
-
|
|
1190
|
+
optional: true,
|
|
1191
|
+
type: 'string'
|
|
1141
1192
|
},
|
|
1142
1193
|
height: {
|
|
1143
|
-
|
|
1144
|
-
|
|
1194
|
+
optional: true,
|
|
1195
|
+
type: 'number'
|
|
1145
1196
|
},
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1197
|
+
localId: {
|
|
1198
|
+
optional: true,
|
|
1199
|
+
type: 'string'
|
|
1200
|
+
},
|
|
1201
|
+
type: {
|
|
1202
|
+
type: 'enum',
|
|
1203
|
+
values: ['external']
|
|
1149
1204
|
},
|
|
1150
1205
|
url: {
|
|
1151
1206
|
type: 'string'
|
|
1207
|
+
},
|
|
1208
|
+
width: {
|
|
1209
|
+
optional: true,
|
|
1210
|
+
type: 'number'
|
|
1152
1211
|
}
|
|
1153
1212
|
}
|
|
1154
1213
|
}],
|
|
1155
1214
|
marks: {
|
|
1156
|
-
|
|
1215
|
+
items: [['dataConsumer', 'link', 'annotation', 'border']],
|
|
1157
1216
|
optional: true,
|
|
1158
|
-
|
|
1217
|
+
type: 'array'
|
|
1218
|
+
},
|
|
1219
|
+
type: {
|
|
1220
|
+
type: 'enum',
|
|
1221
|
+
values: ['media']
|
|
1159
1222
|
}
|
|
1160
1223
|
},
|
|
1161
1224
|
required: ['attrs']
|
|
1162
1225
|
};
|
|
1163
1226
|
var mediaGroup = exports.mediaGroup = {
|
|
1164
1227
|
props: {
|
|
1165
|
-
type: {
|
|
1166
|
-
type: 'enum',
|
|
1167
|
-
values: ['mediaGroup']
|
|
1168
|
-
},
|
|
1169
1228
|
content: {
|
|
1170
|
-
|
|
1229
|
+
allowUnsupportedBlock: true,
|
|
1171
1230
|
items: ['media'],
|
|
1172
1231
|
minItems: 1,
|
|
1173
|
-
|
|
1232
|
+
type: 'array'
|
|
1233
|
+
},
|
|
1234
|
+
type: {
|
|
1235
|
+
type: 'enum',
|
|
1236
|
+
values: ['mediaGroup']
|
|
1174
1237
|
}
|
|
1175
1238
|
}
|
|
1176
1239
|
};
|
|
1177
1240
|
var mediaInline = exports.mediaInline = {
|
|
1178
1241
|
props: {
|
|
1179
|
-
type: {
|
|
1180
|
-
type: 'enum',
|
|
1181
|
-
values: ['mediaInline']
|
|
1182
|
-
},
|
|
1183
1242
|
attrs: {
|
|
1184
1243
|
props: {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
optional: true
|
|
1244
|
+
alt: {
|
|
1245
|
+
optional: true,
|
|
1246
|
+
type: 'string'
|
|
1189
1247
|
},
|
|
1190
|
-
|
|
1191
|
-
type: 'string'
|
|
1192
|
-
optional: true
|
|
1248
|
+
collection: {
|
|
1249
|
+
type: 'string'
|
|
1193
1250
|
},
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1251
|
+
data: {
|
|
1252
|
+
optional: true,
|
|
1253
|
+
type: 'object'
|
|
1254
|
+
},
|
|
1255
|
+
height: {
|
|
1256
|
+
optional: true,
|
|
1257
|
+
type: 'number'
|
|
1197
1258
|
},
|
|
1198
1259
|
id: {
|
|
1199
1260
|
minLength: 1,
|
|
1200
1261
|
type: 'string'
|
|
1201
1262
|
},
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
optional: true
|
|
1205
|
-
},
|
|
1206
|
-
collection: {
|
|
1263
|
+
localId: {
|
|
1264
|
+
optional: true,
|
|
1207
1265
|
type: 'string'
|
|
1208
1266
|
},
|
|
1209
1267
|
occurrenceKey: {
|
|
1210
1268
|
minLength: 1,
|
|
1211
|
-
|
|
1212
|
-
|
|
1269
|
+
optional: true,
|
|
1270
|
+
type: 'string'
|
|
1213
1271
|
},
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1272
|
+
type: {
|
|
1273
|
+
optional: true,
|
|
1274
|
+
type: 'enum',
|
|
1275
|
+
values: ['link', 'file', 'image']
|
|
1217
1276
|
},
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1277
|
+
url: {
|
|
1278
|
+
optional: true,
|
|
1279
|
+
type: 'string'
|
|
1221
1280
|
},
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1281
|
+
width: {
|
|
1282
|
+
optional: true,
|
|
1283
|
+
type: 'number'
|
|
1225
1284
|
}
|
|
1226
1285
|
}
|
|
1227
1286
|
},
|
|
1228
1287
|
marks: {
|
|
1229
|
-
|
|
1288
|
+
items: [['dataConsumer', 'link', 'annotation', 'border']],
|
|
1230
1289
|
optional: true,
|
|
1231
|
-
|
|
1290
|
+
type: 'array'
|
|
1291
|
+
},
|
|
1292
|
+
type: {
|
|
1293
|
+
type: 'enum',
|
|
1294
|
+
values: ['mediaInline']
|
|
1232
1295
|
}
|
|
1233
1296
|
}
|
|
1234
1297
|
};
|
|
1235
1298
|
var mediaSingle = exports.mediaSingle = {
|
|
1236
1299
|
props: {
|
|
1237
|
-
type: {
|
|
1238
|
-
type: 'enum',
|
|
1239
|
-
values: ['mediaSingle']
|
|
1240
|
-
},
|
|
1241
1300
|
attrs: [{
|
|
1242
1301
|
props: {
|
|
1302
|
+
layout: {
|
|
1303
|
+
type: 'enum',
|
|
1304
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
1305
|
+
},
|
|
1243
1306
|
localId: {
|
|
1244
|
-
|
|
1245
|
-
|
|
1307
|
+
optional: true,
|
|
1308
|
+
type: 'string'
|
|
1246
1309
|
},
|
|
1247
1310
|
width: {
|
|
1248
|
-
type: 'number',
|
|
1249
|
-
minimum: 0,
|
|
1250
1311
|
maximum: 100,
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
type: 'enum',
|
|
1255
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
1312
|
+
minimum: 0,
|
|
1313
|
+
optional: true,
|
|
1314
|
+
type: 'number'
|
|
1256
1315
|
},
|
|
1257
1316
|
widthType: {
|
|
1317
|
+
optional: true,
|
|
1258
1318
|
type: 'enum',
|
|
1259
|
-
values: ['percentage']
|
|
1260
|
-
optional: true
|
|
1319
|
+
values: ['percentage']
|
|
1261
1320
|
}
|
|
1262
1321
|
}
|
|
1263
1322
|
}, {
|
|
1264
1323
|
props: {
|
|
1324
|
+
layout: {
|
|
1325
|
+
type: 'enum',
|
|
1326
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
1327
|
+
},
|
|
1265
1328
|
localId: {
|
|
1266
|
-
|
|
1267
|
-
|
|
1329
|
+
optional: true,
|
|
1330
|
+
type: 'string'
|
|
1268
1331
|
},
|
|
1269
1332
|
width: {
|
|
1270
|
-
|
|
1271
|
-
|
|
1333
|
+
minimum: 0,
|
|
1334
|
+
type: 'number'
|
|
1272
1335
|
},
|
|
1273
1336
|
widthType: {
|
|
1274
1337
|
type: 'enum',
|
|
1275
1338
|
values: ['pixel']
|
|
1276
|
-
},
|
|
1277
|
-
layout: {
|
|
1278
|
-
type: 'enum',
|
|
1279
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
|
1280
1339
|
}
|
|
1281
1340
|
}
|
|
1282
1341
|
}],
|
|
1283
1342
|
marks: {
|
|
1284
|
-
|
|
1343
|
+
items: ['link'],
|
|
1285
1344
|
optional: true,
|
|
1286
|
-
|
|
1345
|
+
type: 'array'
|
|
1346
|
+
},
|
|
1347
|
+
type: {
|
|
1348
|
+
type: 'enum',
|
|
1349
|
+
values: ['mediaSingle']
|
|
1287
1350
|
}
|
|
1288
1351
|
}
|
|
1289
1352
|
};
|
|
1290
1353
|
var mediaSingle_caption = exports.mediaSingle_caption = ['mediaSingle', {
|
|
1291
1354
|
props: {
|
|
1292
1355
|
content: {
|
|
1293
|
-
|
|
1356
|
+
allowUnsupportedBlock: true,
|
|
1294
1357
|
isTupleLike: true,
|
|
1295
1358
|
items: ['media', 'caption'],
|
|
1296
|
-
minItems: 1,
|
|
1297
1359
|
maxItems: 2,
|
|
1298
|
-
|
|
1360
|
+
minItems: 1,
|
|
1361
|
+
type: 'array'
|
|
1299
1362
|
}
|
|
1300
1363
|
}
|
|
1301
1364
|
}];
|
|
1302
1365
|
var mediaSingle_full = exports.mediaSingle_full = ['mediaSingle', {
|
|
1303
1366
|
props: {
|
|
1304
1367
|
content: {
|
|
1305
|
-
|
|
1368
|
+
allowUnsupportedBlock: true,
|
|
1306
1369
|
items: ['media'],
|
|
1307
|
-
minItems: 1,
|
|
1308
1370
|
maxItems: 1,
|
|
1309
|
-
|
|
1371
|
+
minItems: 1,
|
|
1372
|
+
type: 'array'
|
|
1310
1373
|
}
|
|
1311
1374
|
}
|
|
1312
1375
|
}];
|
|
1313
1376
|
var mediaSingle_width_type = exports.mediaSingle_width_type = ['mediaSingle', {
|
|
1314
1377
|
props: {
|
|
1315
1378
|
content: {
|
|
1316
|
-
|
|
1379
|
+
allowUnsupportedBlock: true,
|
|
1317
1380
|
items: ['media'],
|
|
1318
|
-
minItems: 1,
|
|
1319
1381
|
maxItems: 1,
|
|
1320
|
-
|
|
1382
|
+
minItems: 1,
|
|
1383
|
+
type: 'array'
|
|
1321
1384
|
}
|
|
1322
1385
|
}
|
|
1323
1386
|
}];
|
|
1324
1387
|
var mention = exports.mention = {
|
|
1325
1388
|
props: {
|
|
1326
|
-
type: {
|
|
1327
|
-
type: 'enum',
|
|
1328
|
-
values: ['mention']
|
|
1329
|
-
},
|
|
1330
1389
|
attrs: {
|
|
1331
1390
|
props: {
|
|
1391
|
+
accessLevel: {
|
|
1392
|
+
optional: true,
|
|
1393
|
+
type: 'string'
|
|
1394
|
+
},
|
|
1332
1395
|
id: {
|
|
1333
1396
|
type: 'string'
|
|
1334
1397
|
},
|
|
1335
1398
|
localId: {
|
|
1336
|
-
|
|
1337
|
-
|
|
1399
|
+
optional: true,
|
|
1400
|
+
type: 'string'
|
|
1338
1401
|
},
|
|
1339
1402
|
text: {
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
},
|
|
1343
|
-
accessLevel: {
|
|
1344
|
-
type: 'string',
|
|
1345
|
-
optional: true
|
|
1403
|
+
optional: true,
|
|
1404
|
+
type: 'string'
|
|
1346
1405
|
},
|
|
1347
1406
|
userType: {
|
|
1407
|
+
optional: true,
|
|
1348
1408
|
type: 'enum',
|
|
1349
|
-
values: ['DEFAULT', 'SPECIAL', 'APP']
|
|
1350
|
-
optional: true
|
|
1409
|
+
values: ['DEFAULT', 'SPECIAL', 'APP']
|
|
1351
1410
|
}
|
|
1352
1411
|
}
|
|
1353
1412
|
},
|
|
1354
1413
|
marks: {
|
|
1355
|
-
|
|
1414
|
+
items: ['annotation'],
|
|
1356
1415
|
optional: true,
|
|
1357
|
-
|
|
1416
|
+
type: 'array'
|
|
1417
|
+
},
|
|
1418
|
+
type: {
|
|
1419
|
+
type: 'enum',
|
|
1420
|
+
values: ['mention']
|
|
1358
1421
|
}
|
|
1359
1422
|
}
|
|
1360
1423
|
};
|
|
1361
1424
|
var multiBodiedExtension = exports.multiBodiedExtension = {
|
|
1362
1425
|
props: {
|
|
1363
|
-
type: {
|
|
1364
|
-
type: 'enum',
|
|
1365
|
-
values: ['multiBodiedExtension']
|
|
1366
|
-
},
|
|
1367
1426
|
attrs: {
|
|
1368
1427
|
props: {
|
|
1369
1428
|
extensionKey: {
|
|
1370
|
-
|
|
1371
|
-
|
|
1429
|
+
minLength: 1,
|
|
1430
|
+
type: 'string'
|
|
1372
1431
|
},
|
|
1373
1432
|
extensionType: {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
},
|
|
1377
|
-
parameters: {
|
|
1378
|
-
type: 'object',
|
|
1379
|
-
optional: true
|
|
1380
|
-
},
|
|
1381
|
-
text: {
|
|
1382
|
-
type: 'string',
|
|
1383
|
-
optional: true
|
|
1433
|
+
minLength: 1,
|
|
1434
|
+
type: 'string'
|
|
1384
1435
|
},
|
|
1385
1436
|
layout: {
|
|
1437
|
+
optional: true,
|
|
1386
1438
|
type: 'enum',
|
|
1387
|
-
values: ['default', 'wide', 'full-width']
|
|
1388
|
-
optional: true
|
|
1439
|
+
values: ['default', 'wide', 'full-width']
|
|
1389
1440
|
},
|
|
1390
1441
|
localId: {
|
|
1391
|
-
|
|
1442
|
+
minLength: 1,
|
|
1443
|
+
optional: true,
|
|
1444
|
+
type: 'string'
|
|
1445
|
+
},
|
|
1446
|
+
parameters: {
|
|
1392
1447
|
optional: true,
|
|
1393
|
-
|
|
1448
|
+
type: 'object'
|
|
1449
|
+
},
|
|
1450
|
+
text: {
|
|
1451
|
+
optional: true,
|
|
1452
|
+
type: 'string'
|
|
1394
1453
|
}
|
|
1395
1454
|
}
|
|
1396
1455
|
},
|
|
1397
1456
|
content: {
|
|
1398
|
-
|
|
1399
|
-
|
|
1457
|
+
items: ['extensionFrame'],
|
|
1458
|
+
type: 'array'
|
|
1400
1459
|
},
|
|
1401
1460
|
marks: {
|
|
1402
|
-
type: 'array',
|
|
1403
1461
|
items: [],
|
|
1404
|
-
optional: true
|
|
1462
|
+
optional: true,
|
|
1463
|
+
type: 'array'
|
|
1464
|
+
},
|
|
1465
|
+
type: {
|
|
1466
|
+
type: 'enum',
|
|
1467
|
+
values: ['multiBodiedExtension']
|
|
1405
1468
|
}
|
|
1406
1469
|
}
|
|
1407
1470
|
};
|
|
1408
1471
|
var nestedExpand = exports.nestedExpand = {
|
|
1409
1472
|
props: {
|
|
1410
|
-
type: {
|
|
1411
|
-
type: 'enum',
|
|
1412
|
-
values: ['nestedExpand']
|
|
1413
|
-
},
|
|
1414
1473
|
attrs: {
|
|
1415
1474
|
props: {
|
|
1416
|
-
title: {
|
|
1417
|
-
type: 'string',
|
|
1418
|
-
optional: true
|
|
1419
|
-
},
|
|
1420
1475
|
localId: {
|
|
1421
|
-
|
|
1422
|
-
|
|
1476
|
+
optional: true,
|
|
1477
|
+
type: 'string'
|
|
1478
|
+
},
|
|
1479
|
+
title: {
|
|
1480
|
+
optional: true,
|
|
1481
|
+
type: 'string'
|
|
1423
1482
|
}
|
|
1424
1483
|
}
|
|
1425
1484
|
},
|
|
1426
|
-
content: 'nestedExpand_content'
|
|
1485
|
+
content: 'nestedExpand_content',
|
|
1486
|
+
type: {
|
|
1487
|
+
type: 'enum',
|
|
1488
|
+
values: ['nestedExpand']
|
|
1489
|
+
}
|
|
1427
1490
|
},
|
|
1428
1491
|
required: ['content']
|
|
1429
1492
|
};
|
|
1430
1493
|
var nestedExpand_content = exports.nestedExpand_content = {
|
|
1431
|
-
|
|
1494
|
+
allowUnsupportedBlock: true,
|
|
1432
1495
|
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
|
1433
1496
|
minItems: 1,
|
|
1434
|
-
|
|
1497
|
+
type: 'array'
|
|
1435
1498
|
};
|
|
1436
1499
|
var nestedExpand_with_no_marks = exports.nestedExpand_with_no_marks = ['nestedExpand', {
|
|
1437
1500
|
props: {
|
|
1438
1501
|
marks: {
|
|
1439
|
-
type: 'array',
|
|
1440
|
-
maxItems: 0,
|
|
1441
1502
|
items: [],
|
|
1442
|
-
|
|
1503
|
+
maxItems: 0,
|
|
1504
|
+
optional: true,
|
|
1505
|
+
type: 'array'
|
|
1443
1506
|
}
|
|
1444
1507
|
}
|
|
1445
1508
|
}];
|
|
1446
|
-
var non_nestable_block_content = exports.non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
|
1509
|
+
var non_nestable_block_content = exports.non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'codeBlock_with_extended_attributes', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
|
1447
1510
|
var orderedList = exports.orderedList = {
|
|
1448
1511
|
props: {
|
|
1449
|
-
type: {
|
|
1450
|
-
type: 'enum',
|
|
1451
|
-
values: ['orderedList']
|
|
1452
|
-
},
|
|
1453
1512
|
attrs: {
|
|
1513
|
+
optional: true,
|
|
1454
1514
|
props: {
|
|
1515
|
+
localId: {
|
|
1516
|
+
optional: true,
|
|
1517
|
+
type: 'string'
|
|
1518
|
+
},
|
|
1455
1519
|
order: {
|
|
1456
|
-
type: 'number',
|
|
1457
1520
|
minimum: 0,
|
|
1458
|
-
optional: true
|
|
1459
|
-
|
|
1460
|
-
localId: {
|
|
1461
|
-
type: 'string',
|
|
1462
|
-
optional: true
|
|
1521
|
+
optional: true,
|
|
1522
|
+
type: 'number'
|
|
1463
1523
|
}
|
|
1464
|
-
}
|
|
1465
|
-
optional: true
|
|
1524
|
+
}
|
|
1466
1525
|
},
|
|
1467
1526
|
content: {
|
|
1468
|
-
type: 'array',
|
|
1469
1527
|
items: ['listItem'],
|
|
1470
|
-
minItems: 1
|
|
1528
|
+
minItems: 1,
|
|
1529
|
+
type: 'array'
|
|
1530
|
+
},
|
|
1531
|
+
type: {
|
|
1532
|
+
type: 'enum',
|
|
1533
|
+
values: ['orderedList']
|
|
1471
1534
|
}
|
|
1472
1535
|
}
|
|
1473
1536
|
};
|
|
1474
1537
|
var panel = exports.panel = {
|
|
1475
1538
|
props: {
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1539
|
+
attrs: {
|
|
1540
|
+
props: {
|
|
1541
|
+
localId: {
|
|
1542
|
+
optional: true,
|
|
1543
|
+
type: 'string'
|
|
1544
|
+
},
|
|
1545
|
+
panelColor: {
|
|
1546
|
+
optional: true,
|
|
1547
|
+
type: 'string'
|
|
1485
1548
|
},
|
|
1486
1549
|
panelIcon: {
|
|
1487
|
-
|
|
1488
|
-
|
|
1550
|
+
optional: true,
|
|
1551
|
+
type: 'string'
|
|
1489
1552
|
},
|
|
1490
1553
|
panelIconId: {
|
|
1491
|
-
|
|
1492
|
-
|
|
1554
|
+
optional: true,
|
|
1555
|
+
type: 'string'
|
|
1493
1556
|
},
|
|
1494
1557
|
panelIconText: {
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
},
|
|
1498
|
-
panelColor: {
|
|
1499
|
-
type: 'string',
|
|
1500
|
-
optional: true
|
|
1558
|
+
optional: true,
|
|
1559
|
+
type: 'string'
|
|
1501
1560
|
},
|
|
1502
|
-
|
|
1503
|
-
type: '
|
|
1504
|
-
|
|
1561
|
+
panelType: {
|
|
1562
|
+
type: 'enum',
|
|
1563
|
+
values: ['info', 'note', 'tip', 'warning', 'error', 'success', 'custom']
|
|
1505
1564
|
}
|
|
1506
1565
|
}
|
|
1507
1566
|
},
|
|
1508
1567
|
content: {
|
|
1509
|
-
|
|
1568
|
+
allowUnsupportedBlock: true,
|
|
1510
1569
|
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'decisionList', 'extension_with_marks']],
|
|
1511
1570
|
minItems: 1,
|
|
1512
|
-
|
|
1571
|
+
type: 'array'
|
|
1572
|
+
},
|
|
1573
|
+
type: {
|
|
1574
|
+
type: 'enum',
|
|
1575
|
+
values: ['panel']
|
|
1513
1576
|
}
|
|
1514
1577
|
}
|
|
1515
1578
|
};
|
|
1516
1579
|
var paragraph = exports.paragraph = {
|
|
1517
1580
|
props: {
|
|
1518
|
-
type: {
|
|
1519
|
-
type: 'enum',
|
|
1520
|
-
values: ['paragraph']
|
|
1521
|
-
},
|
|
1522
1581
|
attrs: {
|
|
1582
|
+
optional: true,
|
|
1523
1583
|
props: {
|
|
1524
1584
|
localId: {
|
|
1525
|
-
|
|
1526
|
-
|
|
1585
|
+
optional: true,
|
|
1586
|
+
type: 'string'
|
|
1527
1587
|
}
|
|
1528
|
-
}
|
|
1529
|
-
optional: true
|
|
1588
|
+
}
|
|
1530
1589
|
},
|
|
1531
1590
|
content: {
|
|
1532
|
-
|
|
1591
|
+
allowUnsupportedInline: true,
|
|
1533
1592
|
items: ['inline_content'],
|
|
1534
1593
|
optional: true,
|
|
1535
|
-
|
|
1594
|
+
type: 'array'
|
|
1536
1595
|
},
|
|
1537
1596
|
marks: {
|
|
1538
|
-
type: 'array',
|
|
1539
1597
|
items: [],
|
|
1540
|
-
optional: true
|
|
1598
|
+
optional: true,
|
|
1599
|
+
type: 'array'
|
|
1600
|
+
},
|
|
1601
|
+
type: {
|
|
1602
|
+
type: 'enum',
|
|
1603
|
+
values: ['paragraph']
|
|
1541
1604
|
}
|
|
1542
1605
|
}
|
|
1543
1606
|
};
|
|
1544
1607
|
var paragraph_with_alignment = exports.paragraph_with_alignment = ['paragraph', {
|
|
1545
1608
|
props: {
|
|
1546
1609
|
marks: {
|
|
1547
|
-
|
|
1610
|
+
items: [['fontSize', 'alignment']],
|
|
1548
1611
|
optional: true,
|
|
1549
|
-
|
|
1612
|
+
type: 'array'
|
|
1550
1613
|
}
|
|
1551
1614
|
}
|
|
1552
1615
|
}];
|
|
1553
1616
|
var paragraph_with_font_size = exports.paragraph_with_font_size = ['paragraph', {
|
|
1554
1617
|
props: {
|
|
1555
1618
|
marks: {
|
|
1556
|
-
|
|
1557
|
-
optional: true,
|
|
1558
|
-
items: ['fontSize']
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
}];
|
|
1562
|
-
var paragraph_with_font_size_and_alignment = exports.paragraph_with_font_size_and_alignment = ['paragraph', {
|
|
1563
|
-
props: {
|
|
1564
|
-
marks: {
|
|
1565
|
-
type: 'array',
|
|
1566
|
-
optional: true,
|
|
1567
|
-
items: [['fontSize', 'alignment']]
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
}];
|
|
1571
|
-
var paragraph_with_font_size_and_indentation = exports.paragraph_with_font_size_and_indentation = ['paragraph', {
|
|
1572
|
-
props: {
|
|
1573
|
-
marks: {
|
|
1574
|
-
type: 'array',
|
|
1619
|
+
items: ['fontSize'],
|
|
1575
1620
|
optional: true,
|
|
1576
|
-
|
|
1621
|
+
type: 'array'
|
|
1577
1622
|
}
|
|
1578
1623
|
}
|
|
1579
1624
|
}];
|
|
1580
1625
|
var paragraph_with_indentation = exports.paragraph_with_indentation = ['paragraph', {
|
|
1581
1626
|
props: {
|
|
1582
1627
|
marks: {
|
|
1583
|
-
|
|
1628
|
+
items: [['fontSize', 'indentation']],
|
|
1584
1629
|
optional: true,
|
|
1585
|
-
|
|
1630
|
+
type: 'array'
|
|
1586
1631
|
}
|
|
1587
1632
|
}
|
|
1588
1633
|
}];
|
|
1589
1634
|
var paragraph_with_no_marks = exports.paragraph_with_no_marks = ['paragraph', {
|
|
1590
1635
|
props: {
|
|
1591
1636
|
marks: {
|
|
1592
|
-
type: 'array',
|
|
1593
|
-
maxItems: 0,
|
|
1594
1637
|
items: [],
|
|
1595
|
-
|
|
1638
|
+
maxItems: 0,
|
|
1639
|
+
optional: true,
|
|
1640
|
+
type: 'array'
|
|
1596
1641
|
}
|
|
1597
1642
|
}
|
|
1598
1643
|
}];
|
|
1599
1644
|
var placeholder = exports.placeholder = {
|
|
1600
1645
|
props: {
|
|
1601
|
-
type: {
|
|
1602
|
-
type: 'enum',
|
|
1603
|
-
values: ['placeholder']
|
|
1604
|
-
},
|
|
1605
1646
|
attrs: {
|
|
1606
1647
|
props: {
|
|
1607
|
-
|
|
1648
|
+
localId: {
|
|
1649
|
+
optional: true,
|
|
1608
1650
|
type: 'string'
|
|
1609
1651
|
},
|
|
1610
|
-
|
|
1611
|
-
type: 'string'
|
|
1612
|
-
optional: true
|
|
1652
|
+
text: {
|
|
1653
|
+
type: 'string'
|
|
1613
1654
|
}
|
|
1614
1655
|
}
|
|
1656
|
+
},
|
|
1657
|
+
type: {
|
|
1658
|
+
type: 'enum',
|
|
1659
|
+
values: ['placeholder']
|
|
1615
1660
|
}
|
|
1616
1661
|
}
|
|
1617
1662
|
};
|
|
1618
1663
|
var rule = exports.rule = {
|
|
1619
1664
|
props: {
|
|
1620
|
-
type: {
|
|
1621
|
-
type: 'enum',
|
|
1622
|
-
values: ['rule']
|
|
1623
|
-
},
|
|
1624
1665
|
attrs: {
|
|
1666
|
+
optional: true,
|
|
1625
1667
|
props: {
|
|
1626
1668
|
localId: {
|
|
1627
|
-
|
|
1628
|
-
|
|
1669
|
+
optional: true,
|
|
1670
|
+
type: 'string'
|
|
1629
1671
|
}
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
type: {
|
|
1675
|
+
type: 'enum',
|
|
1676
|
+
values: ['rule']
|
|
1632
1677
|
}
|
|
1633
1678
|
}
|
|
1634
1679
|
};
|
|
1635
1680
|
var status = exports.status = {
|
|
1636
1681
|
props: {
|
|
1637
|
-
type: {
|
|
1638
|
-
type: 'enum',
|
|
1639
|
-
values: ['status']
|
|
1640
|
-
},
|
|
1641
1682
|
attrs: {
|
|
1642
1683
|
props: {
|
|
1643
|
-
text: {
|
|
1644
|
-
minLength: 1,
|
|
1645
|
-
type: 'string'
|
|
1646
|
-
},
|
|
1647
1684
|
color: {
|
|
1648
1685
|
type: 'enum',
|
|
1649
1686
|
values: ['neutral', 'purple', 'blue', 'red', 'yellow', 'green']
|
|
1650
1687
|
},
|
|
1651
1688
|
localId: {
|
|
1652
|
-
|
|
1653
|
-
|
|
1689
|
+
optional: true,
|
|
1690
|
+
type: 'string'
|
|
1654
1691
|
},
|
|
1655
1692
|
style: {
|
|
1656
|
-
|
|
1657
|
-
|
|
1693
|
+
optional: true,
|
|
1694
|
+
type: 'string'
|
|
1695
|
+
},
|
|
1696
|
+
text: {
|
|
1697
|
+
minLength: 1,
|
|
1698
|
+
type: 'string'
|
|
1658
1699
|
}
|
|
1659
1700
|
}
|
|
1660
1701
|
},
|
|
1661
1702
|
marks: {
|
|
1662
|
-
|
|
1703
|
+
items: ['annotation'],
|
|
1663
1704
|
optional: true,
|
|
1664
|
-
|
|
1705
|
+
type: 'array'
|
|
1706
|
+
},
|
|
1707
|
+
type: {
|
|
1708
|
+
type: 'enum',
|
|
1709
|
+
values: ['status']
|
|
1665
1710
|
}
|
|
1666
1711
|
}
|
|
1667
1712
|
};
|
|
@@ -1683,10 +1728,6 @@ var strong = exports.strong = {
|
|
|
1683
1728
|
};
|
|
1684
1729
|
var subsup = exports.subsup = {
|
|
1685
1730
|
props: {
|
|
1686
|
-
type: {
|
|
1687
|
-
type: 'enum',
|
|
1688
|
-
values: ['subsup']
|
|
1689
|
-
},
|
|
1690
1731
|
attrs: {
|
|
1691
1732
|
props: {
|
|
1692
1733
|
type: {
|
|
@@ -1694,190 +1735,190 @@ var subsup = exports.subsup = {
|
|
|
1694
1735
|
values: ['sub', 'sup']
|
|
1695
1736
|
}
|
|
1696
1737
|
}
|
|
1738
|
+
},
|
|
1739
|
+
type: {
|
|
1740
|
+
type: 'enum',
|
|
1741
|
+
values: ['subsup']
|
|
1697
1742
|
}
|
|
1698
1743
|
}
|
|
1699
1744
|
};
|
|
1700
1745
|
var syncBlock = exports.syncBlock = {
|
|
1701
1746
|
props: {
|
|
1702
|
-
type: {
|
|
1703
|
-
type: 'enum',
|
|
1704
|
-
values: ['syncBlock']
|
|
1705
|
-
},
|
|
1706
1747
|
attrs: {
|
|
1707
1748
|
props: {
|
|
1708
|
-
|
|
1749
|
+
localId: {
|
|
1709
1750
|
type: 'string'
|
|
1710
1751
|
},
|
|
1711
|
-
|
|
1752
|
+
resourceId: {
|
|
1712
1753
|
type: 'string'
|
|
1713
1754
|
}
|
|
1714
1755
|
}
|
|
1715
1756
|
},
|
|
1716
1757
|
marks: {
|
|
1717
|
-
|
|
1758
|
+
items: ['breakout'],
|
|
1718
1759
|
optional: true,
|
|
1719
|
-
|
|
1760
|
+
type: 'array'
|
|
1761
|
+
},
|
|
1762
|
+
type: {
|
|
1763
|
+
type: 'enum',
|
|
1764
|
+
values: ['syncBlock']
|
|
1720
1765
|
}
|
|
1721
1766
|
}
|
|
1722
1767
|
};
|
|
1723
1768
|
var table = exports.table = {
|
|
1724
1769
|
props: {
|
|
1725
|
-
type: {
|
|
1726
|
-
type: 'enum',
|
|
1727
|
-
values: ['table']
|
|
1728
|
-
},
|
|
1729
1770
|
attrs: {
|
|
1771
|
+
optional: true,
|
|
1730
1772
|
props: {
|
|
1731
1773
|
displayMode: {
|
|
1774
|
+
optional: true,
|
|
1732
1775
|
type: 'enum',
|
|
1733
|
-
values: ['default', 'fixed']
|
|
1734
|
-
optional: true
|
|
1776
|
+
values: ['default', 'fixed']
|
|
1735
1777
|
},
|
|
1736
1778
|
isNumberColumnEnabled: {
|
|
1737
|
-
|
|
1738
|
-
|
|
1779
|
+
optional: true,
|
|
1780
|
+
type: 'boolean'
|
|
1739
1781
|
},
|
|
1740
1782
|
layout: {
|
|
1783
|
+
optional: true,
|
|
1741
1784
|
type: 'enum',
|
|
1742
|
-
values: ['wide', 'full-width', 'center', 'align-end', 'align-start', 'default']
|
|
1743
|
-
optional: true
|
|
1785
|
+
values: ['wide', 'full-width', 'center', 'align-end', 'align-start', 'default']
|
|
1744
1786
|
},
|
|
1745
1787
|
localId: {
|
|
1746
|
-
type: 'string',
|
|
1747
1788
|
minLength: 1,
|
|
1748
|
-
optional: true
|
|
1789
|
+
optional: true,
|
|
1790
|
+
type: 'string'
|
|
1749
1791
|
},
|
|
1750
1792
|
width: {
|
|
1751
|
-
|
|
1752
|
-
|
|
1793
|
+
optional: true,
|
|
1794
|
+
type: 'number'
|
|
1753
1795
|
}
|
|
1754
|
-
}
|
|
1755
|
-
optional: true
|
|
1796
|
+
}
|
|
1756
1797
|
},
|
|
1757
1798
|
content: {
|
|
1758
|
-
type: 'array',
|
|
1759
1799
|
items: ['tableRow'],
|
|
1760
|
-
minItems: 1
|
|
1800
|
+
minItems: 1,
|
|
1801
|
+
type: 'array'
|
|
1761
1802
|
},
|
|
1762
1803
|
marks: {
|
|
1763
|
-
|
|
1804
|
+
items: ['fragment'],
|
|
1764
1805
|
optional: true,
|
|
1765
|
-
|
|
1806
|
+
type: 'array'
|
|
1807
|
+
},
|
|
1808
|
+
type: {
|
|
1809
|
+
type: 'enum',
|
|
1810
|
+
values: ['table']
|
|
1766
1811
|
}
|
|
1767
1812
|
}
|
|
1768
1813
|
};
|
|
1769
1814
|
var tableCell = exports.tableCell = {
|
|
1770
1815
|
props: {
|
|
1771
|
-
type: {
|
|
1772
|
-
type: 'enum',
|
|
1773
|
-
values: ['tableCell']
|
|
1774
|
-
},
|
|
1775
1816
|
attrs: {
|
|
1817
|
+
optional: true,
|
|
1776
1818
|
props: {
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1819
|
+
background: {
|
|
1820
|
+
optional: true,
|
|
1821
|
+
type: 'string'
|
|
1780
1822
|
},
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1823
|
+
colspan: {
|
|
1824
|
+
optional: true,
|
|
1825
|
+
type: 'number'
|
|
1784
1826
|
},
|
|
1785
1827
|
colwidth: {
|
|
1786
|
-
type: 'array',
|
|
1787
1828
|
items: [{
|
|
1788
1829
|
type: 'number'
|
|
1789
1830
|
}],
|
|
1790
|
-
optional: true
|
|
1791
|
-
|
|
1792
|
-
background: {
|
|
1793
|
-
type: 'string',
|
|
1794
|
-
optional: true
|
|
1831
|
+
optional: true,
|
|
1832
|
+
type: 'array'
|
|
1795
1833
|
},
|
|
1796
1834
|
localId: {
|
|
1797
|
-
|
|
1798
|
-
|
|
1835
|
+
optional: true,
|
|
1836
|
+
type: 'string'
|
|
1837
|
+
},
|
|
1838
|
+
rowspan: {
|
|
1839
|
+
optional: true,
|
|
1840
|
+
type: 'number'
|
|
1799
1841
|
}
|
|
1800
|
-
}
|
|
1801
|
-
optional: true
|
|
1842
|
+
}
|
|
1802
1843
|
},
|
|
1803
1844
|
content: {
|
|
1804
|
-
|
|
1805
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', '
|
|
1845
|
+
allowUnsupportedBlock: true,
|
|
1846
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'codeBlock_with_extended_attributes', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
1806
1847
|
minItems: 1,
|
|
1807
|
-
|
|
1848
|
+
type: 'array'
|
|
1849
|
+
},
|
|
1850
|
+
type: {
|
|
1851
|
+
type: 'enum',
|
|
1852
|
+
values: ['tableCell']
|
|
1808
1853
|
}
|
|
1809
1854
|
},
|
|
1810
1855
|
required: ['content']
|
|
1811
1856
|
};
|
|
1812
1857
|
var tableHeader = exports.tableHeader = {
|
|
1813
1858
|
props: {
|
|
1814
|
-
type: {
|
|
1815
|
-
type: 'enum',
|
|
1816
|
-
values: ['tableHeader']
|
|
1817
|
-
},
|
|
1818
1859
|
attrs: {
|
|
1860
|
+
optional: true,
|
|
1819
1861
|
props: {
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1862
|
+
background: {
|
|
1863
|
+
optional: true,
|
|
1864
|
+
type: 'string'
|
|
1823
1865
|
},
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1866
|
+
colspan: {
|
|
1867
|
+
optional: true,
|
|
1868
|
+
type: 'number'
|
|
1827
1869
|
},
|
|
1828
1870
|
colwidth: {
|
|
1829
|
-
type: 'array',
|
|
1830
1871
|
items: [{
|
|
1831
1872
|
type: 'number'
|
|
1832
1873
|
}],
|
|
1833
|
-
optional: true
|
|
1834
|
-
|
|
1835
|
-
background: {
|
|
1836
|
-
type: 'string',
|
|
1837
|
-
optional: true
|
|
1874
|
+
optional: true,
|
|
1875
|
+
type: 'array'
|
|
1838
1876
|
},
|
|
1839
1877
|
localId: {
|
|
1840
|
-
|
|
1841
|
-
|
|
1878
|
+
optional: true,
|
|
1879
|
+
type: 'string'
|
|
1880
|
+
},
|
|
1881
|
+
rowspan: {
|
|
1882
|
+
optional: true,
|
|
1883
|
+
type: 'number'
|
|
1842
1884
|
}
|
|
1843
|
-
}
|
|
1844
|
-
optional: true
|
|
1885
|
+
}
|
|
1845
1886
|
},
|
|
1846
1887
|
content: {
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1888
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'codeBlock_with_extended_attributes', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
|
1889
|
+
minItems: 1,
|
|
1890
|
+
type: 'array'
|
|
1891
|
+
},
|
|
1892
|
+
type: {
|
|
1893
|
+
type: 'enum',
|
|
1894
|
+
values: ['tableHeader']
|
|
1850
1895
|
}
|
|
1851
1896
|
},
|
|
1852
1897
|
required: ['content']
|
|
1853
1898
|
};
|
|
1854
1899
|
var tableRow = exports.tableRow = {
|
|
1855
1900
|
props: {
|
|
1856
|
-
type: {
|
|
1857
|
-
type: 'enum',
|
|
1858
|
-
values: ['tableRow']
|
|
1859
|
-
},
|
|
1860
1901
|
attrs: {
|
|
1902
|
+
optional: true,
|
|
1861
1903
|
props: {
|
|
1862
1904
|
localId: {
|
|
1863
|
-
|
|
1864
|
-
|
|
1905
|
+
optional: true,
|
|
1906
|
+
type: 'string'
|
|
1865
1907
|
}
|
|
1866
|
-
}
|
|
1867
|
-
optional: true
|
|
1908
|
+
}
|
|
1868
1909
|
},
|
|
1869
1910
|
content: {
|
|
1870
|
-
|
|
1871
|
-
|
|
1911
|
+
items: [['tableCell', 'tableHeader']],
|
|
1912
|
+
type: 'array'
|
|
1913
|
+
},
|
|
1914
|
+
type: {
|
|
1915
|
+
type: 'enum',
|
|
1916
|
+
values: ['tableRow']
|
|
1872
1917
|
}
|
|
1873
1918
|
}
|
|
1874
1919
|
};
|
|
1875
1920
|
var taskItem = exports.taskItem = {
|
|
1876
1921
|
props: {
|
|
1877
|
-
type: {
|
|
1878
|
-
type: 'enum',
|
|
1879
|
-
values: ['taskItem']
|
|
1880
|
-
},
|
|
1881
1922
|
attrs: {
|
|
1882
1923
|
props: {
|
|
1883
1924
|
localId: {
|
|
@@ -1890,19 +1931,19 @@ var taskItem = exports.taskItem = {
|
|
|
1890
1931
|
}
|
|
1891
1932
|
},
|
|
1892
1933
|
content: {
|
|
1893
|
-
|
|
1934
|
+
allowUnsupportedInline: true,
|
|
1894
1935
|
items: ['inline_content'],
|
|
1895
1936
|
optional: true,
|
|
1896
|
-
|
|
1937
|
+
type: 'array'
|
|
1938
|
+
},
|
|
1939
|
+
type: {
|
|
1940
|
+
type: 'enum',
|
|
1941
|
+
values: ['taskItem']
|
|
1897
1942
|
}
|
|
1898
1943
|
}
|
|
1899
1944
|
};
|
|
1900
1945
|
var taskList = exports.taskList = {
|
|
1901
1946
|
props: {
|
|
1902
|
-
type: {
|
|
1903
|
-
type: 'enum',
|
|
1904
|
-
values: ['taskList']
|
|
1905
|
-
},
|
|
1906
1947
|
attrs: {
|
|
1907
1948
|
props: {
|
|
1908
1949
|
localId: {
|
|
@@ -1911,80 +1952,84 @@ var taskList = exports.taskList = {
|
|
|
1911
1952
|
}
|
|
1912
1953
|
},
|
|
1913
1954
|
content: {
|
|
1914
|
-
|
|
1955
|
+
allowUnsupportedBlock: true,
|
|
1915
1956
|
items: [['taskItem', 'taskList', 'blockTaskItem']],
|
|
1916
1957
|
minItems: 1,
|
|
1917
|
-
|
|
1958
|
+
type: 'array'
|
|
1959
|
+
},
|
|
1960
|
+
type: {
|
|
1961
|
+
type: 'enum',
|
|
1962
|
+
values: ['taskList']
|
|
1918
1963
|
}
|
|
1919
1964
|
}
|
|
1920
1965
|
};
|
|
1921
1966
|
var text = exports.text = {
|
|
1922
1967
|
props: {
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1968
|
+
marks: {
|
|
1969
|
+
items: [],
|
|
1970
|
+
optional: true,
|
|
1971
|
+
type: 'array'
|
|
1926
1972
|
},
|
|
1927
1973
|
text: {
|
|
1928
|
-
|
|
1929
|
-
|
|
1974
|
+
minLength: 1,
|
|
1975
|
+
type: 'string'
|
|
1930
1976
|
},
|
|
1931
|
-
|
|
1932
|
-
type: '
|
|
1933
|
-
|
|
1934
|
-
optional: true
|
|
1977
|
+
type: {
|
|
1978
|
+
type: 'enum',
|
|
1979
|
+
values: ['text']
|
|
1935
1980
|
}
|
|
1936
1981
|
}
|
|
1937
1982
|
};
|
|
1938
1983
|
var text_code_inline = exports.text_code_inline = ['text', {
|
|
1939
1984
|
props: {
|
|
1940
1985
|
marks: {
|
|
1941
|
-
|
|
1986
|
+
items: [['code', 'link', 'annotation']],
|
|
1942
1987
|
optional: true,
|
|
1943
|
-
|
|
1988
|
+
type: 'array'
|
|
1944
1989
|
}
|
|
1945
1990
|
}
|
|
1946
1991
|
}];
|
|
1947
1992
|
var text_formatted = exports.text_formatted = ['text', {
|
|
1948
1993
|
props: {
|
|
1949
1994
|
marks: {
|
|
1950
|
-
|
|
1995
|
+
items: [['link', 'em', 'strong', 'strike', 'subsup', 'underline', 'textColor', 'annotation', 'backgroundColor']],
|
|
1951
1996
|
optional: true,
|
|
1952
|
-
|
|
1997
|
+
type: 'array'
|
|
1953
1998
|
}
|
|
1954
1999
|
}
|
|
1955
2000
|
}];
|
|
1956
2001
|
var text_link_inline = exports.text_link_inline = ['text', {
|
|
1957
2002
|
props: {
|
|
1958
2003
|
marks: {
|
|
1959
|
-
|
|
2004
|
+
items: ['link'],
|
|
1960
2005
|
optional: true,
|
|
1961
|
-
|
|
2006
|
+
type: 'array'
|
|
1962
2007
|
}
|
|
1963
2008
|
}
|
|
1964
2009
|
}];
|
|
1965
2010
|
var text_with_no_marks = exports.text_with_no_marks = ['text', {
|
|
1966
2011
|
props: {
|
|
1967
2012
|
marks: {
|
|
1968
|
-
type: 'array',
|
|
1969
|
-
maxItems: 0,
|
|
1970
2013
|
items: [],
|
|
1971
|
-
|
|
2014
|
+
maxItems: 0,
|
|
2015
|
+
optional: true,
|
|
2016
|
+
type: 'array'
|
|
1972
2017
|
}
|
|
1973
2018
|
}
|
|
1974
2019
|
}];
|
|
1975
2020
|
var textColor = exports.textColor = {
|
|
1976
2021
|
props: {
|
|
1977
|
-
type: {
|
|
1978
|
-
type: 'enum',
|
|
1979
|
-
values: ['textColor']
|
|
1980
|
-
},
|
|
1981
2022
|
attrs: {
|
|
1982
2023
|
props: {
|
|
1983
2024
|
color: {
|
|
1984
|
-
|
|
1985
|
-
|
|
2025
|
+
pattern: '^#[0-9a-fA-F]{6}$',
|
|
2026
|
+
type: 'string'
|
|
1986
2027
|
}
|
|
1987
2028
|
}
|
|
2029
|
+
},
|
|
2030
|
+
type: {
|
|
2031
|
+
type: 'enum',
|
|
2032
|
+
values: ['textColor']
|
|
1988
2033
|
}
|
|
1989
2034
|
}
|
|
1990
2035
|
};
|