@atlaskit/adf-schema 52.7.1 → 52.8.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 +11 -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 +48 -1
- 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/nodes/codeBlock.js +65 -0
- package/dist/cjs/schema/createPMSpecFactory.js +4 -0
- package/dist/cjs/schema/default-schema.js +2 -1
- 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 +868 -805
- 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 +47 -0
- 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/nodes/codeBlock.js +65 -0
- package/dist/es2019/schema/createPMSpecFactory.js +4 -0
- package/dist/es2019/schema/default-schema.js +3 -2
- 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 +867 -804
- 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 +47 -0
- 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/nodes/codeBlock.js +65 -0
- package/dist/esm/schema/createPMSpecFactory.js +4 -0
- package/dist/esm/schema/default-schema.js +3 -2
- 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 +867 -804
- package/dist/json-schema/v1/stage-0.json +99 -0
- 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 +120 -92
- package/dist/types/next-schema/nodes/codeBlock.d.ts +3 -1
- 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 +701 -638
- 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 +120 -92
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +3 -1
- 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 +701 -638
- package/json-schema/v1/stage-0.json +99 -0
- 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.paragraph_with_font_size_and_indentation = exports.paragraph_with_font_size_and_alignment = 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_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;
|
|
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_and_indentation = exports.paragraph_with_font_size_and_alignment = 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', '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'];
|
|
58
|
+
var block_content = exports.block_content = ['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', '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
|
-
|
|
256
|
+
allowUnsupportedBlock: true,
|
|
261
257
|
items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_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', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_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,776 @@ 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: {
|
|
1447
|
+
optional: true,
|
|
1448
|
+
type: 'object'
|
|
1449
|
+
},
|
|
1450
|
+
text: {
|
|
1392
1451
|
optional: true,
|
|
1393
|
-
|
|
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
|
-
type: {
|
|
1477
|
-
type: 'enum',
|
|
1478
|
-
values: ['panel']
|
|
1479
|
-
},
|
|
1480
1539
|
attrs: {
|
|
1481
1540
|
props: {
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
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: ['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
|
-
|
|
1619
|
+
items: ['fontSize'],
|
|
1557
1620
|
optional: true,
|
|
1558
|
-
|
|
1621
|
+
type: 'array'
|
|
1559
1622
|
}
|
|
1560
1623
|
}
|
|
1561
1624
|
}];
|
|
1562
1625
|
var paragraph_with_font_size_and_alignment = exports.paragraph_with_font_size_and_alignment = ['paragraph', {
|
|
1563
1626
|
props: {
|
|
1564
1627
|
marks: {
|
|
1565
|
-
|
|
1628
|
+
items: [['fontSize', 'alignment']],
|
|
1566
1629
|
optional: true,
|
|
1567
|
-
|
|
1630
|
+
type: 'array'
|
|
1568
1631
|
}
|
|
1569
1632
|
}
|
|
1570
1633
|
}];
|
|
1571
1634
|
var paragraph_with_font_size_and_indentation = exports.paragraph_with_font_size_and_indentation = ['paragraph', {
|
|
1572
1635
|
props: {
|
|
1573
1636
|
marks: {
|
|
1574
|
-
|
|
1637
|
+
items: [['fontSize', 'indentation']],
|
|
1575
1638
|
optional: true,
|
|
1576
|
-
|
|
1639
|
+
type: 'array'
|
|
1577
1640
|
}
|
|
1578
1641
|
}
|
|
1579
1642
|
}];
|
|
1580
1643
|
var paragraph_with_indentation = exports.paragraph_with_indentation = ['paragraph', {
|
|
1581
1644
|
props: {
|
|
1582
1645
|
marks: {
|
|
1583
|
-
|
|
1646
|
+
items: ['indentation'],
|
|
1584
1647
|
optional: true,
|
|
1585
|
-
|
|
1648
|
+
type: 'array'
|
|
1586
1649
|
}
|
|
1587
1650
|
}
|
|
1588
1651
|
}];
|
|
1589
1652
|
var paragraph_with_no_marks = exports.paragraph_with_no_marks = ['paragraph', {
|
|
1590
1653
|
props: {
|
|
1591
1654
|
marks: {
|
|
1592
|
-
type: 'array',
|
|
1593
|
-
maxItems: 0,
|
|
1594
1655
|
items: [],
|
|
1595
|
-
|
|
1656
|
+
maxItems: 0,
|
|
1657
|
+
optional: true,
|
|
1658
|
+
type: 'array'
|
|
1596
1659
|
}
|
|
1597
1660
|
}
|
|
1598
1661
|
}];
|
|
1599
1662
|
var placeholder = exports.placeholder = {
|
|
1600
1663
|
props: {
|
|
1601
|
-
type: {
|
|
1602
|
-
type: 'enum',
|
|
1603
|
-
values: ['placeholder']
|
|
1604
|
-
},
|
|
1605
1664
|
attrs: {
|
|
1606
1665
|
props: {
|
|
1607
|
-
|
|
1666
|
+
localId: {
|
|
1667
|
+
optional: true,
|
|
1608
1668
|
type: 'string'
|
|
1609
1669
|
},
|
|
1610
|
-
|
|
1611
|
-
type: 'string'
|
|
1612
|
-
optional: true
|
|
1670
|
+
text: {
|
|
1671
|
+
type: 'string'
|
|
1613
1672
|
}
|
|
1614
1673
|
}
|
|
1674
|
+
},
|
|
1675
|
+
type: {
|
|
1676
|
+
type: 'enum',
|
|
1677
|
+
values: ['placeholder']
|
|
1615
1678
|
}
|
|
1616
1679
|
}
|
|
1617
1680
|
};
|
|
1618
1681
|
var rule = exports.rule = {
|
|
1619
1682
|
props: {
|
|
1620
|
-
type: {
|
|
1621
|
-
type: 'enum',
|
|
1622
|
-
values: ['rule']
|
|
1623
|
-
},
|
|
1624
1683
|
attrs: {
|
|
1684
|
+
optional: true,
|
|
1625
1685
|
props: {
|
|
1626
1686
|
localId: {
|
|
1627
|
-
|
|
1628
|
-
|
|
1687
|
+
optional: true,
|
|
1688
|
+
type: 'string'
|
|
1629
1689
|
}
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
type: {
|
|
1693
|
+
type: 'enum',
|
|
1694
|
+
values: ['rule']
|
|
1632
1695
|
}
|
|
1633
1696
|
}
|
|
1634
1697
|
};
|
|
1635
1698
|
var status = exports.status = {
|
|
1636
1699
|
props: {
|
|
1637
|
-
type: {
|
|
1638
|
-
type: 'enum',
|
|
1639
|
-
values: ['status']
|
|
1640
|
-
},
|
|
1641
1700
|
attrs: {
|
|
1642
1701
|
props: {
|
|
1643
|
-
text: {
|
|
1644
|
-
minLength: 1,
|
|
1645
|
-
type: 'string'
|
|
1646
|
-
},
|
|
1647
1702
|
color: {
|
|
1648
1703
|
type: 'enum',
|
|
1649
1704
|
values: ['neutral', 'purple', 'blue', 'red', 'yellow', 'green']
|
|
1650
1705
|
},
|
|
1651
1706
|
localId: {
|
|
1652
|
-
|
|
1653
|
-
|
|
1707
|
+
optional: true,
|
|
1708
|
+
type: 'string'
|
|
1654
1709
|
},
|
|
1655
1710
|
style: {
|
|
1656
|
-
|
|
1657
|
-
|
|
1711
|
+
optional: true,
|
|
1712
|
+
type: 'string'
|
|
1713
|
+
},
|
|
1714
|
+
text: {
|
|
1715
|
+
minLength: 1,
|
|
1716
|
+
type: 'string'
|
|
1658
1717
|
}
|
|
1659
1718
|
}
|
|
1660
1719
|
},
|
|
1661
1720
|
marks: {
|
|
1662
|
-
|
|
1721
|
+
items: ['annotation'],
|
|
1663
1722
|
optional: true,
|
|
1664
|
-
|
|
1723
|
+
type: 'array'
|
|
1724
|
+
},
|
|
1725
|
+
type: {
|
|
1726
|
+
type: 'enum',
|
|
1727
|
+
values: ['status']
|
|
1665
1728
|
}
|
|
1666
1729
|
}
|
|
1667
1730
|
};
|
|
@@ -1683,10 +1746,6 @@ var strong = exports.strong = {
|
|
|
1683
1746
|
};
|
|
1684
1747
|
var subsup = exports.subsup = {
|
|
1685
1748
|
props: {
|
|
1686
|
-
type: {
|
|
1687
|
-
type: 'enum',
|
|
1688
|
-
values: ['subsup']
|
|
1689
|
-
},
|
|
1690
1749
|
attrs: {
|
|
1691
1750
|
props: {
|
|
1692
1751
|
type: {
|
|
@@ -1694,190 +1753,190 @@ var subsup = exports.subsup = {
|
|
|
1694
1753
|
values: ['sub', 'sup']
|
|
1695
1754
|
}
|
|
1696
1755
|
}
|
|
1756
|
+
},
|
|
1757
|
+
type: {
|
|
1758
|
+
type: 'enum',
|
|
1759
|
+
values: ['subsup']
|
|
1697
1760
|
}
|
|
1698
1761
|
}
|
|
1699
1762
|
};
|
|
1700
1763
|
var syncBlock = exports.syncBlock = {
|
|
1701
1764
|
props: {
|
|
1702
|
-
type: {
|
|
1703
|
-
type: 'enum',
|
|
1704
|
-
values: ['syncBlock']
|
|
1705
|
-
},
|
|
1706
1765
|
attrs: {
|
|
1707
1766
|
props: {
|
|
1708
|
-
|
|
1767
|
+
localId: {
|
|
1709
1768
|
type: 'string'
|
|
1710
1769
|
},
|
|
1711
|
-
|
|
1770
|
+
resourceId: {
|
|
1712
1771
|
type: 'string'
|
|
1713
1772
|
}
|
|
1714
1773
|
}
|
|
1715
1774
|
},
|
|
1716
1775
|
marks: {
|
|
1717
|
-
|
|
1776
|
+
items: ['breakout'],
|
|
1718
1777
|
optional: true,
|
|
1719
|
-
|
|
1778
|
+
type: 'array'
|
|
1779
|
+
},
|
|
1780
|
+
type: {
|
|
1781
|
+
type: 'enum',
|
|
1782
|
+
values: ['syncBlock']
|
|
1720
1783
|
}
|
|
1721
1784
|
}
|
|
1722
1785
|
};
|
|
1723
1786
|
var table = exports.table = {
|
|
1724
1787
|
props: {
|
|
1725
|
-
type: {
|
|
1726
|
-
type: 'enum',
|
|
1727
|
-
values: ['table']
|
|
1728
|
-
},
|
|
1729
1788
|
attrs: {
|
|
1789
|
+
optional: true,
|
|
1730
1790
|
props: {
|
|
1731
1791
|
displayMode: {
|
|
1792
|
+
optional: true,
|
|
1732
1793
|
type: 'enum',
|
|
1733
|
-
values: ['default', 'fixed']
|
|
1734
|
-
optional: true
|
|
1794
|
+
values: ['default', 'fixed']
|
|
1735
1795
|
},
|
|
1736
1796
|
isNumberColumnEnabled: {
|
|
1737
|
-
|
|
1738
|
-
|
|
1797
|
+
optional: true,
|
|
1798
|
+
type: 'boolean'
|
|
1739
1799
|
},
|
|
1740
1800
|
layout: {
|
|
1801
|
+
optional: true,
|
|
1741
1802
|
type: 'enum',
|
|
1742
|
-
values: ['wide', 'full-width', 'center', 'align-end', 'align-start', 'default']
|
|
1743
|
-
optional: true
|
|
1803
|
+
values: ['wide', 'full-width', 'center', 'align-end', 'align-start', 'default']
|
|
1744
1804
|
},
|
|
1745
1805
|
localId: {
|
|
1746
|
-
type: 'string',
|
|
1747
1806
|
minLength: 1,
|
|
1748
|
-
optional: true
|
|
1807
|
+
optional: true,
|
|
1808
|
+
type: 'string'
|
|
1749
1809
|
},
|
|
1750
1810
|
width: {
|
|
1751
|
-
|
|
1752
|
-
|
|
1811
|
+
optional: true,
|
|
1812
|
+
type: 'number'
|
|
1753
1813
|
}
|
|
1754
|
-
}
|
|
1755
|
-
optional: true
|
|
1814
|
+
}
|
|
1756
1815
|
},
|
|
1757
1816
|
content: {
|
|
1758
|
-
type: 'array',
|
|
1759
1817
|
items: ['tableRow'],
|
|
1760
|
-
minItems: 1
|
|
1818
|
+
minItems: 1,
|
|
1819
|
+
type: 'array'
|
|
1761
1820
|
},
|
|
1762
1821
|
marks: {
|
|
1763
|
-
|
|
1822
|
+
items: ['fragment'],
|
|
1764
1823
|
optional: true,
|
|
1765
|
-
|
|
1824
|
+
type: 'array'
|
|
1825
|
+
},
|
|
1826
|
+
type: {
|
|
1827
|
+
type: 'enum',
|
|
1828
|
+
values: ['table']
|
|
1766
1829
|
}
|
|
1767
1830
|
}
|
|
1768
1831
|
};
|
|
1769
1832
|
var tableCell = exports.tableCell = {
|
|
1770
1833
|
props: {
|
|
1771
|
-
type: {
|
|
1772
|
-
type: 'enum',
|
|
1773
|
-
values: ['tableCell']
|
|
1774
|
-
},
|
|
1775
1834
|
attrs: {
|
|
1835
|
+
optional: true,
|
|
1776
1836
|
props: {
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1837
|
+
background: {
|
|
1838
|
+
optional: true,
|
|
1839
|
+
type: 'string'
|
|
1780
1840
|
},
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1841
|
+
colspan: {
|
|
1842
|
+
optional: true,
|
|
1843
|
+
type: 'number'
|
|
1784
1844
|
},
|
|
1785
1845
|
colwidth: {
|
|
1786
|
-
type: 'array',
|
|
1787
1846
|
items: [{
|
|
1788
1847
|
type: 'number'
|
|
1789
1848
|
}],
|
|
1790
|
-
optional: true
|
|
1791
|
-
|
|
1792
|
-
background: {
|
|
1793
|
-
type: 'string',
|
|
1794
|
-
optional: true
|
|
1849
|
+
optional: true,
|
|
1850
|
+
type: 'array'
|
|
1795
1851
|
},
|
|
1796
1852
|
localId: {
|
|
1797
|
-
|
|
1798
|
-
|
|
1853
|
+
optional: true,
|
|
1854
|
+
type: 'string'
|
|
1855
|
+
},
|
|
1856
|
+
rowspan: {
|
|
1857
|
+
optional: true,
|
|
1858
|
+
type: 'number'
|
|
1799
1859
|
}
|
|
1800
|
-
}
|
|
1801
|
-
optional: true
|
|
1860
|
+
}
|
|
1802
1861
|
},
|
|
1803
1862
|
content: {
|
|
1804
|
-
|
|
1805
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_font_size_and_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
1863
|
+
allowUnsupportedBlock: true,
|
|
1864
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_font_size_and_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
1865
|
minItems: 1,
|
|
1807
|
-
|
|
1866
|
+
type: 'array'
|
|
1867
|
+
},
|
|
1868
|
+
type: {
|
|
1869
|
+
type: 'enum',
|
|
1870
|
+
values: ['tableCell']
|
|
1808
1871
|
}
|
|
1809
1872
|
},
|
|
1810
1873
|
required: ['content']
|
|
1811
1874
|
};
|
|
1812
1875
|
var tableHeader = exports.tableHeader = {
|
|
1813
1876
|
props: {
|
|
1814
|
-
type: {
|
|
1815
|
-
type: 'enum',
|
|
1816
|
-
values: ['tableHeader']
|
|
1817
|
-
},
|
|
1818
1877
|
attrs: {
|
|
1878
|
+
optional: true,
|
|
1819
1879
|
props: {
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1880
|
+
background: {
|
|
1881
|
+
optional: true,
|
|
1882
|
+
type: 'string'
|
|
1823
1883
|
},
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1884
|
+
colspan: {
|
|
1885
|
+
optional: true,
|
|
1886
|
+
type: 'number'
|
|
1827
1887
|
},
|
|
1828
1888
|
colwidth: {
|
|
1829
|
-
type: 'array',
|
|
1830
1889
|
items: [{
|
|
1831
1890
|
type: 'number'
|
|
1832
1891
|
}],
|
|
1833
|
-
optional: true
|
|
1834
|
-
|
|
1835
|
-
background: {
|
|
1836
|
-
type: 'string',
|
|
1837
|
-
optional: true
|
|
1892
|
+
optional: true,
|
|
1893
|
+
type: 'array'
|
|
1838
1894
|
},
|
|
1839
1895
|
localId: {
|
|
1840
|
-
|
|
1841
|
-
|
|
1896
|
+
optional: true,
|
|
1897
|
+
type: 'string'
|
|
1898
|
+
},
|
|
1899
|
+
rowspan: {
|
|
1900
|
+
optional: true,
|
|
1901
|
+
type: 'number'
|
|
1842
1902
|
}
|
|
1843
|
-
}
|
|
1844
|
-
optional: true
|
|
1903
|
+
}
|
|
1845
1904
|
},
|
|
1846
1905
|
content: {
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1906
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_font_size_and_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']],
|
|
1907
|
+
minItems: 1,
|
|
1908
|
+
type: 'array'
|
|
1909
|
+
},
|
|
1910
|
+
type: {
|
|
1911
|
+
type: 'enum',
|
|
1912
|
+
values: ['tableHeader']
|
|
1850
1913
|
}
|
|
1851
1914
|
},
|
|
1852
1915
|
required: ['content']
|
|
1853
1916
|
};
|
|
1854
1917
|
var tableRow = exports.tableRow = {
|
|
1855
1918
|
props: {
|
|
1856
|
-
type: {
|
|
1857
|
-
type: 'enum',
|
|
1858
|
-
values: ['tableRow']
|
|
1859
|
-
},
|
|
1860
1919
|
attrs: {
|
|
1920
|
+
optional: true,
|
|
1861
1921
|
props: {
|
|
1862
1922
|
localId: {
|
|
1863
|
-
|
|
1864
|
-
|
|
1923
|
+
optional: true,
|
|
1924
|
+
type: 'string'
|
|
1865
1925
|
}
|
|
1866
|
-
}
|
|
1867
|
-
optional: true
|
|
1926
|
+
}
|
|
1868
1927
|
},
|
|
1869
1928
|
content: {
|
|
1870
|
-
|
|
1871
|
-
|
|
1929
|
+
items: [['tableCell', 'tableHeader']],
|
|
1930
|
+
type: 'array'
|
|
1931
|
+
},
|
|
1932
|
+
type: {
|
|
1933
|
+
type: 'enum',
|
|
1934
|
+
values: ['tableRow']
|
|
1872
1935
|
}
|
|
1873
1936
|
}
|
|
1874
1937
|
};
|
|
1875
1938
|
var taskItem = exports.taskItem = {
|
|
1876
1939
|
props: {
|
|
1877
|
-
type: {
|
|
1878
|
-
type: 'enum',
|
|
1879
|
-
values: ['taskItem']
|
|
1880
|
-
},
|
|
1881
1940
|
attrs: {
|
|
1882
1941
|
props: {
|
|
1883
1942
|
localId: {
|
|
@@ -1890,19 +1949,19 @@ var taskItem = exports.taskItem = {
|
|
|
1890
1949
|
}
|
|
1891
1950
|
},
|
|
1892
1951
|
content: {
|
|
1893
|
-
|
|
1952
|
+
allowUnsupportedInline: true,
|
|
1894
1953
|
items: ['inline_content'],
|
|
1895
1954
|
optional: true,
|
|
1896
|
-
|
|
1955
|
+
type: 'array'
|
|
1956
|
+
},
|
|
1957
|
+
type: {
|
|
1958
|
+
type: 'enum',
|
|
1959
|
+
values: ['taskItem']
|
|
1897
1960
|
}
|
|
1898
1961
|
}
|
|
1899
1962
|
};
|
|
1900
1963
|
var taskList = exports.taskList = {
|
|
1901
1964
|
props: {
|
|
1902
|
-
type: {
|
|
1903
|
-
type: 'enum',
|
|
1904
|
-
values: ['taskList']
|
|
1905
|
-
},
|
|
1906
1965
|
attrs: {
|
|
1907
1966
|
props: {
|
|
1908
1967
|
localId: {
|
|
@@ -1911,80 +1970,84 @@ var taskList = exports.taskList = {
|
|
|
1911
1970
|
}
|
|
1912
1971
|
},
|
|
1913
1972
|
content: {
|
|
1914
|
-
|
|
1973
|
+
allowUnsupportedBlock: true,
|
|
1915
1974
|
items: [['taskItem', 'taskList', 'blockTaskItem']],
|
|
1916
1975
|
minItems: 1,
|
|
1917
|
-
|
|
1976
|
+
type: 'array'
|
|
1977
|
+
},
|
|
1978
|
+
type: {
|
|
1979
|
+
type: 'enum',
|
|
1980
|
+
values: ['taskList']
|
|
1918
1981
|
}
|
|
1919
1982
|
}
|
|
1920
1983
|
};
|
|
1921
1984
|
var text = exports.text = {
|
|
1922
1985
|
props: {
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1986
|
+
marks: {
|
|
1987
|
+
items: [],
|
|
1988
|
+
optional: true,
|
|
1989
|
+
type: 'array'
|
|
1926
1990
|
},
|
|
1927
1991
|
text: {
|
|
1928
|
-
|
|
1929
|
-
|
|
1992
|
+
minLength: 1,
|
|
1993
|
+
type: 'string'
|
|
1930
1994
|
},
|
|
1931
|
-
|
|
1932
|
-
type: '
|
|
1933
|
-
|
|
1934
|
-
optional: true
|
|
1995
|
+
type: {
|
|
1996
|
+
type: 'enum',
|
|
1997
|
+
values: ['text']
|
|
1935
1998
|
}
|
|
1936
1999
|
}
|
|
1937
2000
|
};
|
|
1938
2001
|
var text_code_inline = exports.text_code_inline = ['text', {
|
|
1939
2002
|
props: {
|
|
1940
2003
|
marks: {
|
|
1941
|
-
|
|
2004
|
+
items: [['code', 'link', 'annotation']],
|
|
1942
2005
|
optional: true,
|
|
1943
|
-
|
|
2006
|
+
type: 'array'
|
|
1944
2007
|
}
|
|
1945
2008
|
}
|
|
1946
2009
|
}];
|
|
1947
2010
|
var text_formatted = exports.text_formatted = ['text', {
|
|
1948
2011
|
props: {
|
|
1949
2012
|
marks: {
|
|
1950
|
-
|
|
2013
|
+
items: [['link', 'em', 'strong', 'strike', 'subsup', 'underline', 'textColor', 'annotation', 'backgroundColor']],
|
|
1951
2014
|
optional: true,
|
|
1952
|
-
|
|
2015
|
+
type: 'array'
|
|
1953
2016
|
}
|
|
1954
2017
|
}
|
|
1955
2018
|
}];
|
|
1956
2019
|
var text_link_inline = exports.text_link_inline = ['text', {
|
|
1957
2020
|
props: {
|
|
1958
2021
|
marks: {
|
|
1959
|
-
|
|
2022
|
+
items: ['link'],
|
|
1960
2023
|
optional: true,
|
|
1961
|
-
|
|
2024
|
+
type: 'array'
|
|
1962
2025
|
}
|
|
1963
2026
|
}
|
|
1964
2027
|
}];
|
|
1965
2028
|
var text_with_no_marks = exports.text_with_no_marks = ['text', {
|
|
1966
2029
|
props: {
|
|
1967
2030
|
marks: {
|
|
1968
|
-
type: 'array',
|
|
1969
|
-
maxItems: 0,
|
|
1970
2031
|
items: [],
|
|
1971
|
-
|
|
2032
|
+
maxItems: 0,
|
|
2033
|
+
optional: true,
|
|
2034
|
+
type: 'array'
|
|
1972
2035
|
}
|
|
1973
2036
|
}
|
|
1974
2037
|
}];
|
|
1975
2038
|
var textColor = exports.textColor = {
|
|
1976
2039
|
props: {
|
|
1977
|
-
type: {
|
|
1978
|
-
type: 'enum',
|
|
1979
|
-
values: ['textColor']
|
|
1980
|
-
},
|
|
1981
2040
|
attrs: {
|
|
1982
2041
|
props: {
|
|
1983
2042
|
color: {
|
|
1984
|
-
|
|
1985
|
-
|
|
2043
|
+
pattern: '^#[0-9a-fA-F]{6}$',
|
|
2044
|
+
type: 'string'
|
|
1986
2045
|
}
|
|
1987
2046
|
}
|
|
2047
|
+
},
|
|
2048
|
+
type: {
|
|
2049
|
+
type: 'enum',
|
|
2050
|
+
values: ['textColor']
|
|
1988
2051
|
}
|
|
1989
2052
|
}
|
|
1990
2053
|
};
|