@atlaskit/adf-schema 57.7.7 → 57.7.8
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 +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +5 -3
- package/dist/cjs/next-schema/groups/blockContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/blockGroup.js +2 -2
- package/dist/cjs/next-schema/groups/blockRootOnlyGroup.js +2 -2
- package/dist/cjs/next-schema/groups/fontStyleGroup.js +2 -2
- package/dist/cjs/next-schema/groups/inlineContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/inlineGroup.js +2 -2
- package/dist/cjs/next-schema/groups/linkMarkGroup.js +2 -2
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/searchQueryMarkGroup.js +2 -2
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +4 -3
- package/dist/cjs/next-schema/marks/alignmentAndIndentation.js +6 -5
- package/dist/cjs/next-schema/marks/annotation.js +6 -4
- package/dist/cjs/next-schema/marks/border.js +2 -2
- package/dist/cjs/next-schema/marks/breakout.js +2 -2
- package/dist/cjs/next-schema/marks/code.js +2 -2
- package/dist/cjs/next-schema/marks/color.js +5 -4
- package/dist/cjs/next-schema/marks/confluenceInlineComment.js +6 -4
- package/dist/cjs/next-schema/marks/dataConsumer.js +2 -2
- package/dist/cjs/next-schema/marks/em.js +2 -2
- package/dist/cjs/next-schema/marks/fontSize.js +2 -2
- package/dist/cjs/next-schema/marks/fragment.js +4 -3
- package/dist/cjs/next-schema/marks/link.js +4 -3
- package/dist/cjs/next-schema/marks/strike.js +2 -2
- package/dist/cjs/next-schema/marks/strong.js +2 -2
- package/dist/cjs/next-schema/marks/subsup.js +2 -2
- package/dist/cjs/next-schema/marks/typeAheadQuery.js +4 -3
- package/dist/cjs/next-schema/marks/underline.js +2 -2
- package/dist/cjs/next-schema/marks/unsupportedMark.js +6 -4
- package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +4 -3
- package/dist/cjs/next-schema/nodes/blockCard.js +2 -2
- package/dist/cjs/next-schema/nodes/blockquote.js +6 -4
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +5 -3
- package/dist/cjs/next-schema/nodes/bodiedRule.js +5 -3
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +5 -3
- package/dist/cjs/next-schema/nodes/caption.js +5 -3
- package/dist/cjs/next-schema/nodes/codeBlock.js +5 -3
- package/dist/cjs/next-schema/nodes/confluenceJiraIssue.js +4 -3
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +4 -3
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +4 -3
- package/dist/cjs/next-schema/nodes/date.js +2 -2
- package/dist/cjs/next-schema/nodes/decisionItem.js +5 -3
- package/dist/cjs/next-schema/nodes/decisionList.js +5 -3
- package/dist/cjs/next-schema/nodes/embedCard.js +2 -2
- package/dist/cjs/next-schema/nodes/emoji.js +2 -2
- package/dist/cjs/next-schema/nodes/expand.js +5 -3
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/extensionFrame.js +5 -3
- package/dist/cjs/next-schema/nodes/hardBreak.js +2 -2
- package/dist/cjs/next-schema/nodes/heading.js +5 -3
- package/dist/cjs/next-schema/nodes/image.js +4 -3
- package/dist/cjs/next-schema/nodes/inlineCard.js +2 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -3
- package/dist/cjs/next-schema/nodes/layoutSection.js +8 -5
- package/dist/cjs/next-schema/nodes/list.js +9 -7
- package/dist/cjs/next-schema/nodes/media.js +2 -2
- package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -3
- package/dist/cjs/next-schema/nodes/mediaInline.js +2 -2
- package/dist/cjs/next-schema/nodes/mediaSingle.js +7 -5
- package/dist/cjs/next-schema/nodes/mention.js +2 -2
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +5 -3
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -3
- package/dist/cjs/next-schema/nodes/panel.js +7 -5
- package/dist/cjs/next-schema/nodes/paragraph.js +5 -3
- package/dist/cjs/next-schema/nodes/placeholder.js +2 -2
- package/dist/cjs/next-schema/nodes/rule.js +2 -2
- package/dist/cjs/next-schema/nodes/status.js +2 -2
- package/dist/cjs/next-schema/nodes/syncBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/tableCellContent.js +2 -2
- package/dist/cjs/next-schema/nodes/tableNodes.js +12 -10
- package/dist/cjs/next-schema/nodes/tableStub.js +2 -2
- package/dist/cjs/next-schema/nodes/task.js +10 -7
- package/dist/cjs/next-schema/nodes/text.js +2 -2
- package/dist/cjs/next-schema/nodes/unsupportedBlock.js +4 -3
- package/dist/cjs/next-schema/nodes/unsupportedInline.js +4 -3
- package/dist/es2019/next-schema/full-schema.adf.js +3 -1
- 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/blockRootOnlyGroup.js +1 -1
- package/dist/es2019/next-schema/groups/fontStyleGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
- package/dist/es2019/next-schema/groups/linkMarkGroup.js +1 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/searchQueryMarkGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
- package/dist/es2019/next-schema/marks/alignmentAndIndentation.js +2 -2
- package/dist/es2019/next-schema/marks/annotation.js +3 -1
- package/dist/es2019/next-schema/marks/border.js +1 -1
- package/dist/es2019/next-schema/marks/breakout.js +1 -1
- package/dist/es2019/next-schema/marks/code.js +1 -1
- package/dist/es2019/next-schema/marks/color.js +2 -1
- package/dist/es2019/next-schema/marks/confluenceInlineComment.js +3 -1
- package/dist/es2019/next-schema/marks/dataConsumer.js +1 -1
- package/dist/es2019/next-schema/marks/em.js +1 -1
- package/dist/es2019/next-schema/marks/fontSize.js +1 -2
- package/dist/es2019/next-schema/marks/fragment.js +2 -1
- package/dist/es2019/next-schema/marks/link.js +2 -1
- package/dist/es2019/next-schema/marks/strike.js +1 -1
- package/dist/es2019/next-schema/marks/strong.js +1 -1
- package/dist/es2019/next-schema/marks/subsup.js +1 -1
- package/dist/es2019/next-schema/marks/typeAheadQuery.js +2 -1
- package/dist/es2019/next-schema/marks/underline.js +1 -1
- package/dist/es2019/next-schema/marks/unsupportedMark.js +3 -1
- package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +2 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedRule.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +3 -1
- package/dist/es2019/next-schema/nodes/caption.js +3 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +3 -1
- package/dist/es2019/next-schema/nodes/confluenceJiraIssue.js +2 -1
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
- package/dist/es2019/next-schema/nodes/date.js +1 -1
- package/dist/es2019/next-schema/nodes/decisionItem.js +3 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +3 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
- package/dist/es2019/next-schema/nodes/emoji.js +1 -1
- package/dist/es2019/next-schema/nodes/expand.js +3 -1
- package/dist/es2019/next-schema/nodes/extension.js +1 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
- package/dist/es2019/next-schema/nodes/heading.js +3 -1
- package/dist/es2019/next-schema/nodes/image.js +2 -1
- package/dist/es2019/next-schema/nodes/inlineCard.js +1 -1
- package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +4 -1
- package/dist/es2019/next-schema/nodes/list.js +3 -1
- package/dist/es2019/next-schema/nodes/media.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +3 -1
- package/dist/es2019/next-schema/nodes/mention.js +1 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -1
- package/dist/es2019/next-schema/nodes/nestedExpand.js +3 -1
- package/dist/es2019/next-schema/nodes/panel.js +3 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +3 -1
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
- package/dist/es2019/next-schema/nodes/rule.js +1 -1
- package/dist/es2019/next-schema/nodes/status.js +1 -1
- package/dist/es2019/next-schema/nodes/syncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/tableCellContent.js +1 -1
- package/dist/es2019/next-schema/nodes/tableNodes.js +3 -1
- package/dist/es2019/next-schema/nodes/tableStub.js +1 -2
- package/dist/es2019/next-schema/nodes/task.js +4 -1
- package/dist/es2019/next-schema/nodes/text.js +1 -1
- package/dist/es2019/next-schema/nodes/unsupportedBlock.js +2 -1
- package/dist/es2019/next-schema/nodes/unsupportedInline.js +2 -1
- package/dist/esm/next-schema/full-schema.adf.js +3 -1
- 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/blockRootOnlyGroup.js +1 -1
- package/dist/esm/next-schema/groups/fontStyleGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
- package/dist/esm/next-schema/groups/linkMarkGroup.js +1 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/searchQueryMarkGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
- package/dist/esm/next-schema/marks/alignmentAndIndentation.js +2 -2
- package/dist/esm/next-schema/marks/annotation.js +3 -1
- package/dist/esm/next-schema/marks/border.js +1 -1
- package/dist/esm/next-schema/marks/breakout.js +1 -1
- package/dist/esm/next-schema/marks/code.js +1 -1
- package/dist/esm/next-schema/marks/color.js +2 -1
- package/dist/esm/next-schema/marks/confluenceInlineComment.js +3 -1
- package/dist/esm/next-schema/marks/dataConsumer.js +1 -1
- package/dist/esm/next-schema/marks/em.js +1 -1
- package/dist/esm/next-schema/marks/fontSize.js +1 -2
- package/dist/esm/next-schema/marks/fragment.js +2 -1
- package/dist/esm/next-schema/marks/link.js +2 -1
- package/dist/esm/next-schema/marks/strike.js +1 -1
- package/dist/esm/next-schema/marks/strong.js +1 -1
- package/dist/esm/next-schema/marks/subsup.js +1 -1
- package/dist/esm/next-schema/marks/typeAheadQuery.js +2 -1
- package/dist/esm/next-schema/marks/underline.js +1 -1
- package/dist/esm/next-schema/marks/unsupportedMark.js +3 -1
- package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +2 -1
- package/dist/esm/next-schema/nodes/blockCard.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedExtension.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedRule.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +3 -1
- package/dist/esm/next-schema/nodes/caption.js +3 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +3 -1
- package/dist/esm/next-schema/nodes/confluenceJiraIssue.js +2 -1
- package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
- package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
- package/dist/esm/next-schema/nodes/date.js +1 -1
- package/dist/esm/next-schema/nodes/decisionItem.js +3 -1
- package/dist/esm/next-schema/nodes/decisionList.js +3 -1
- package/dist/esm/next-schema/nodes/embedCard.js +1 -1
- package/dist/esm/next-schema/nodes/emoji.js +1 -1
- package/dist/esm/next-schema/nodes/expand.js +3 -1
- package/dist/esm/next-schema/nodes/extension.js +1 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
- package/dist/esm/next-schema/nodes/heading.js +3 -1
- package/dist/esm/next-schema/nodes/image.js +2 -1
- package/dist/esm/next-schema/nodes/inlineCard.js +1 -1
- package/dist/esm/next-schema/nodes/inlineExtension.js +1 -1
- package/dist/esm/next-schema/nodes/layoutColumn.js +3 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +4 -1
- package/dist/esm/next-schema/nodes/list.js +3 -1
- package/dist/esm/next-schema/nodes/media.js +1 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +3 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +3 -1
- package/dist/esm/next-schema/nodes/mention.js +1 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -1
- package/dist/esm/next-schema/nodes/nestedExpand.js +3 -1
- package/dist/esm/next-schema/nodes/panel.js +3 -1
- package/dist/esm/next-schema/nodes/paragraph.js +3 -1
- package/dist/esm/next-schema/nodes/placeholder.js +1 -1
- package/dist/esm/next-schema/nodes/rule.js +1 -1
- package/dist/esm/next-schema/nodes/status.js +1 -1
- package/dist/esm/next-schema/nodes/syncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/tableCellContent.js +1 -1
- package/dist/esm/next-schema/nodes/tableNodes.js +3 -1
- package/dist/esm/next-schema/nodes/tableStub.js +1 -2
- package/dist/esm/next-schema/nodes/task.js +4 -1
- package/dist/esm/next-schema/nodes/text.js +1 -1
- package/dist/esm/next-schema/nodes/unsupportedBlock.js +2 -1
- package/dist/esm/next-schema/nodes/unsupportedInline.js +2 -1
- package/dist/types/next-schema/full-schema.adf.d.ts +2 -1
- package/dist/types/next-schema/groups/blockContentGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/blockGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/fontStyleGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/inlineContentGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/inlineGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/linkMarkGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +2 -1
- package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +2 -1
- package/dist/types/next-schema/marks/annotation.d.ts +3 -1
- package/dist/types/next-schema/marks/border.d.ts +2 -1
- package/dist/types/next-schema/marks/breakout.d.ts +2 -1
- package/dist/types/next-schema/marks/code.d.ts +2 -1
- package/dist/types/next-schema/marks/color.d.ts +3 -1
- package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +2 -1
- package/dist/types/next-schema/marks/dataConsumer.d.ts +2 -1
- package/dist/types/next-schema/marks/em.d.ts +2 -1
- package/dist/types/next-schema/marks/fontSize.d.ts +2 -1
- package/dist/types/next-schema/marks/fragment.d.ts +2 -1
- package/dist/types/next-schema/marks/link.d.ts +2 -1
- package/dist/types/next-schema/marks/strike.d.ts +2 -1
- package/dist/types/next-schema/marks/strong.d.ts +2 -1
- package/dist/types/next-schema/marks/subsup.d.ts +2 -1
- package/dist/types/next-schema/marks/typeAheadQuery.d.ts +2 -1
- package/dist/types/next-schema/marks/underline.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedMark.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockquote.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedRule.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/caption.d.ts +2 -1
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/date.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionList.d.ts +2 -1
- package/dist/types/next-schema/nodes/embedCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/emoji.d.ts +2 -1
- package/dist/types/next-schema/nodes/expand.d.ts +2 -1
- package/dist/types/next-schema/nodes/extension.d.ts +2 -1
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -1
- package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -1
- package/dist/types/next-schema/nodes/heading.d.ts +2 -1
- package/dist/types/next-schema/nodes/image.d.ts +2 -1
- package/dist/types/next-schema/nodes/inlineCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -1
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -1
- package/dist/types/next-schema/nodes/list.d.ts +2 -1
- package/dist/types/next-schema/nodes/media.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +2 -1
- package/dist/types/next-schema/nodes/mention.d.ts +2 -1
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +2 -1
- package/dist/types/next-schema/nodes/panel.d.ts +2 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +2 -1
- package/dist/types/next-schema/nodes/placeholder.d.ts +2 -1
- package/dist/types/next-schema/nodes/rule.d.ts +2 -1
- package/dist/types/next-schema/nodes/status.d.ts +2 -1
- package/dist/types/next-schema/nodes/syncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableStub.d.ts +2 -1
- package/dist/types/next-schema/nodes/task.d.ts +2 -1
- package/dist/types/next-schema/nodes/text.d.ts +2 -1
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -1
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -1
- package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +1 -1
- package/schema-generators/json-full-schema.ts +1 -1
- package/schema-generators/pm-full-schema.ts +1 -1
- package/schema-generators/validator-full-schema.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
8
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
9
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
10
|
var _blockContentGroup = require("./groups/blockContentGroup");
|
|
9
11
|
var _blockGroup = require("./groups/blockGroup");
|
|
10
12
|
var _blockRootOnlyGroup = require("./groups/blockRootOnlyGroup");
|
|
@@ -19,10 +21,10 @@ var _multiBodiedExtension = require("./nodes/multiBodiedExtension");
|
|
|
19
21
|
var _panel = require("./nodes/panel");
|
|
20
22
|
var _rule = require("./nodes/rule");
|
|
21
23
|
var _syncBlock = require("./nodes/syncBlock");
|
|
22
|
-
var doc = (0,
|
|
24
|
+
var doc = (0, _adfNode.adfNode)('doc').define({
|
|
23
25
|
root: true,
|
|
24
26
|
version: 1,
|
|
25
|
-
content: [(0,
|
|
27
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_blockGroup.blockGroup,
|
|
26
28
|
// `panel.use('c1')` must precede `blockContentGroup`, which contributes the bare `panel`
|
|
27
29
|
// name to the validator spec. The validator's repairing loop takes the FIRST candidate that
|
|
28
30
|
// reports valid, and with a repairing callback the less permissive base `panel` "succeeds"
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.blockContentGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _blockCard = require("../nodes/blockCard");
|
|
9
9
|
var _blockquote = require("../nodes/blockquote");
|
|
10
10
|
var _bodiedExtension = require("../nodes/bodiedExtension");
|
|
@@ -37,7 +37,7 @@ var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
|
|
37
37
|
* - no base mediaSingle
|
|
38
38
|
* - no base heading
|
|
39
39
|
*/
|
|
40
|
-
var blockContentGroup = exports.blockContentGroup = (0,
|
|
40
|
+
var blockContentGroup = exports.blockContentGroup = (0, _adfNodeGroup.adfNodeGroup)('block_content', [_blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _embedCard.embedCard, _tableNodes.table,
|
|
41
41
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
|
42
42
|
_tableNodes.table.use('with_nested_table'), _expand.expand, _bodiedExtension.bodiedExtension.use('with_marks'), _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _unsupportedBlock.unsupportedBlock], {
|
|
43
43
|
ignore: ['pm-spec']
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.blockGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _blockCard = require("../nodes/blockCard");
|
|
9
9
|
var _blockquote = require("../nodes/blockquote");
|
|
10
10
|
var _bodiedExtension = require("../nodes/bodiedExtension");
|
|
@@ -25,7 +25,7 @@ var _rule = require("../nodes/rule");
|
|
|
25
25
|
var _tableNodes = require("../nodes/tableNodes");
|
|
26
26
|
var _task = require("../nodes/task");
|
|
27
27
|
var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
|
28
|
-
var blockGroup = exports.blockGroup = (0,
|
|
28
|
+
var blockGroup = exports.blockGroup = (0, _adfNodeGroup.adfNodeGroup)('block', [_blockCard.blockCard, _codeBlock.codeBlock, _mediaSingle.mediaSingle, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('width_type'), _paragraph.paragraph, _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _paragraph.paragraph.use('with_no_marks'), _task.taskList, _list.orderedList, _list.bulletList, _blockquote.blockquote, _blockquote.blockquote.use('legacy'), _decisionList.decisionList, _embedCard.embedCard, _extension.extension, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _heading.heading, _heading.heading.use('with_indentation'), _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _mediaGroup.mediaGroup, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _panel.panel, _panel.panel.use('c1'), _tableNodes.table,
|
|
29
29
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
|
30
30
|
_tableNodes.table.use('with_nested_table'), _bodiedExtension.bodiedExtension, _bodiedExtension.bodiedExtension.use('with_marks'), _expand.expand, _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _unsupportedBlock.unsupportedBlock], {
|
|
31
31
|
// @DSLCompatibilityException
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.blockRootOnlyGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _multiBodiedExtension = require("../nodes/multiBodiedExtension");
|
|
9
|
-
var blockRootOnlyGroup = exports.blockRootOnlyGroup = (0,
|
|
9
|
+
var blockRootOnlyGroup = exports.blockRootOnlyGroup = (0, _adfNodeGroup.adfNodeGroup)('blockRootOnly', [_multiBodiedExtension.multiBodiedExtension], {
|
|
10
10
|
// @DSLCompatibilityException - Generated JSON Schema does not have this.
|
|
11
11
|
// We should introduce this to the JSON Schema since it is in PM Spec
|
|
12
12
|
ignore: ['json-schema']
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.fontStyleGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
8
8
|
var _em = require("../marks/em");
|
|
9
9
|
var _strike = require("../marks/strike");
|
|
10
10
|
var _strong = require("../marks/strong");
|
|
11
11
|
var _subsup = require("../marks/subsup");
|
|
12
12
|
var _underline = require("../marks/underline");
|
|
13
|
-
var fontStyleGroup = exports.fontStyleGroup = (0,
|
|
13
|
+
var fontStyleGroup = exports.fontStyleGroup = (0, _adfMarkGroup.adfMarkGroup)('fontStyle', [_em.em, _strike.strike, _strong.strong, _subsup.subsup, _underline.underline]);
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.inlineContentGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _confluenceJiraIssue = require("../nodes/confluenceJiraIssue");
|
|
9
9
|
var _confluenceUnsupportedInline = require("../nodes/confluenceUnsupportedInline");
|
|
10
10
|
var _date = require("../nodes/date");
|
|
@@ -29,6 +29,6 @@ var _unsupportedInline = require("../nodes/unsupportedInline");
|
|
|
29
29
|
* - no text
|
|
30
30
|
* - no text.use('link_inline')
|
|
31
31
|
*/
|
|
32
|
-
var inlineContentGroup = exports.inlineContentGroup = (0,
|
|
32
|
+
var inlineContentGroup = exports.inlineContentGroup = (0, _adfNodeGroup.adfNodeGroup)('inline_content', [_text.text.use('formatted'), _text.text.use('code_inline'), _date.date, _emoji.emoji, _hardBreak.hardBreak, _inlineCard.inlineCard, _mention.mention, _placeholder.placeholder, _status.status, _inlineExtension.inlineExtension.use('with_marks'), _mediaInline.mediaInline, _image.image, _confluenceJiraIssue.confluenceJiraIssue, _confluenceUnsupportedInline.confluenceUnsupportedInline, _unsupportedInline.unsupportedInline], {
|
|
33
33
|
ignore: ['pm-spec', 'json-schema']
|
|
34
34
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.inlineGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _confluenceJiraIssue = require("../nodes/confluenceJiraIssue");
|
|
9
9
|
var _confluenceUnsupportedInline = require("../nodes/confluenceUnsupportedInline");
|
|
10
10
|
var _date = require("../nodes/date");
|
|
@@ -19,7 +19,7 @@ var _placeholder = require("../nodes/placeholder");
|
|
|
19
19
|
var _status = require("../nodes/status");
|
|
20
20
|
var _text = require("../nodes/text");
|
|
21
21
|
var _unsupportedInline = require("../nodes/unsupportedInline");
|
|
22
|
-
var inlineGroup = exports.inlineGroup = (0,
|
|
22
|
+
var inlineGroup = exports.inlineGroup = (0, _adfNodeGroup.adfNodeGroup)('inline', [_text.text, _text.text.use('link_inline'), _text.text.use('formatted'), _text.text.use('code_inline'), _date.date, _emoji.emoji, _hardBreak.hardBreak, _inlineCard.inlineCard, _mention.mention, _placeholder.placeholder, _status.status, _inlineExtension.inlineExtension, _inlineExtension.inlineExtension.use('with_marks'), _mediaInline.mediaInline, _image.image, _confluenceJiraIssue.confluenceJiraIssue, _confluenceUnsupportedInline.confluenceUnsupportedInline, _unsupportedInline.unsupportedInline], {
|
|
23
23
|
// @DSLCompatibilityException
|
|
24
24
|
// Inline group in PM doesn't match ADF
|
|
25
25
|
ignore: ['validator-spec']
|
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.linkMarkGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
8
8
|
var _link = require("../marks/link");
|
|
9
|
-
var linkMarkGroup = exports.linkMarkGroup = (0,
|
|
9
|
+
var linkMarkGroup = exports.linkMarkGroup = (0, _adfMarkGroup.adfMarkGroup)('link', [_link.link]);
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.nonNestableBlockContentGroup = exports.nonNestableBlockContent = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNodeGroup = require("@atlaskit/adf-schema-generator/adfNodeGroup");
|
|
8
8
|
var _blockCard = require("../nodes/blockCard");
|
|
9
9
|
var _blockquote = require("../nodes/blockquote");
|
|
10
10
|
var _bodiedRule = require("../nodes/bodiedRule");
|
|
@@ -35,4 +35,4 @@ _tableNodes.table.use('with_nested_table'), _blockCard.blockCard, _embedCard.emb
|
|
|
35
35
|
*
|
|
36
36
|
* Pseudo group used to match existing validator and json schema specs.
|
|
37
37
|
*/
|
|
38
|
-
var nonNestableBlockContentGroup = exports.nonNestableBlockContentGroup = (0,
|
|
38
|
+
var nonNestableBlockContentGroup = exports.nonNestableBlockContentGroup = (0, _adfNodeGroup.adfNodeGroup)('non_nestable_block_content', nonNestableBlockContent);
|
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.searchQueryMarkGroup = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
8
8
|
var _typeAheadQuery = require("../marks/typeAheadQuery");
|
|
9
|
-
var searchQueryMarkGroup = exports.searchQueryMarkGroup = (0,
|
|
9
|
+
var searchQueryMarkGroup = exports.searchQueryMarkGroup = (0, _adfMarkGroup.adfMarkGroup)('searchQuery', [_typeAheadQuery.typeAheadQuery]);
|
|
@@ -4,7 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.tableHeaderContentPseudoGroup = exports.tableCellContentPseudoGroup = exports.tableCellContentNodes = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
8
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
8
9
|
var _blockCard = require("../nodes/blockCard");
|
|
9
10
|
var _blockquote = require("../nodes/blockquote");
|
|
10
11
|
var _bodiedRule = require("../nodes/bodiedRule");
|
|
@@ -30,5 +31,5 @@ var tableCellContentNodes = exports.tableCellContentNodes = [_paragraph.paragrap
|
|
|
30
31
|
// In PM Spec, they contain different items. (tableHeader using tableHeaderContentPseudoGroup, tableCell using tableCellContentPseudoGroup)
|
|
31
32
|
// In JSON Schema, both tableHeader and tableCell points to tableCellContentPseudoGroup
|
|
32
33
|
// The differences are highlighted below.
|
|
33
|
-
var tableCellContentPseudoGroup = exports.tableCellContentPseudoGroup = (0,
|
|
34
|
-
var tableHeaderContentPseudoGroup = exports.tableHeaderContentPseudoGroup = (0,
|
|
34
|
+
var tableCellContentPseudoGroup = exports.tableCellContentPseudoGroup = (0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, tableCellContentNodes.concat([_unsupportedBlock.unsupportedBlock])));
|
|
35
|
+
var tableHeaderContentPseudoGroup = exports.tableHeaderContentPseudoGroup = (0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, tableCellContentNodes.concat([_nestedExpand.nestedExpand])));
|
|
@@ -4,12 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.indentation = exports.alignment = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
8
9
|
// These marks defined together because they form a cycle within the excludes.
|
|
9
|
-
var alignment = exports.alignment = (0,
|
|
10
|
-
var indentation = exports.indentation = (0,
|
|
11
|
-
var alignementMarkExclusionGroup = (0,
|
|
12
|
-
var indentationMarkExclusionGroup = (0,
|
|
10
|
+
var alignment = exports.alignment = (0, _adfMark.adfMark)('alignment');
|
|
11
|
+
var indentation = exports.indentation = (0, _adfMark.adfMark)('indentation');
|
|
12
|
+
var alignementMarkExclusionGroup = (0, _adfMarkGroup.adfMarkGroup)('alignment', [alignment]);
|
|
13
|
+
var indentationMarkExclusionGroup = (0, _adfMarkGroup.adfMarkGroup)('indentation', [indentation]);
|
|
13
14
|
alignment.define({
|
|
14
15
|
excludes: [alignementMarkExclusionGroup, indentationMarkExclusionGroup],
|
|
15
16
|
attrs: {
|
|
@@ -4,12 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.annotationGroup = exports.annotation = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
9
|
+
var _ADFMarkSpec = require("@atlaskit/adf-schema-generator/types/ADFMarkSpec");
|
|
10
|
+
var annotation = exports.annotation = (0, _adfMark.adfMark)('annotation');
|
|
11
|
+
var annotationGroup = exports.annotationGroup = (0, _adfMarkGroup.adfMarkGroup)('annotation', [annotation]);
|
|
10
12
|
annotation.define({
|
|
11
13
|
inclusive: true,
|
|
12
|
-
excludes:
|
|
14
|
+
excludes: _ADFMarkSpec.MarkExcludesNone,
|
|
13
15
|
group: annotationGroup,
|
|
14
16
|
attrs: {
|
|
15
17
|
id: {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.border = void 0;
|
|
7
|
-
var
|
|
8
|
-
var border = exports.border = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var border = exports.border = (0, _adfMark.adfMark)('border').define({
|
|
9
9
|
inclusive: false,
|
|
10
10
|
attrs: {
|
|
11
11
|
size: {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.breakout = void 0;
|
|
7
|
-
var
|
|
8
|
-
var breakout = exports.breakout = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var breakout = exports.breakout = (0, _adfMark.adfMark)('breakout').define({
|
|
9
9
|
spanning: false,
|
|
10
10
|
inclusive: false,
|
|
11
11
|
attrs: {
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.code = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
8
|
var _fontStyleGroup = require("../groups/fontStyleGroup");
|
|
9
9
|
var _linkMarkGroup = require("../groups/linkMarkGroup");
|
|
10
10
|
var _searchQueryMarkGroup = require("../groups/searchQueryMarkGroup");
|
|
11
11
|
var _color = require("./color");
|
|
12
|
-
var code = exports.code = (0,
|
|
12
|
+
var code = exports.code = (0, _adfMark.adfMark)('code').define({
|
|
13
13
|
excludes: [_fontStyleGroup.fontStyleGroup, _linkMarkGroup.linkMarkGroup, _searchQueryMarkGroup.searchQueryMarkGroup, _color.colorGroup],
|
|
14
14
|
inclusive: true
|
|
15
15
|
});
|
|
@@ -4,10 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.textColor = exports.colorGroup = exports.backgroundColor = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
9
|
+
var backgroundColor = exports.backgroundColor = (0, _adfMark.adfMark)('backgroundColor');
|
|
10
|
+
var textColor = exports.textColor = (0, _adfMark.adfMark)('textColor');
|
|
11
|
+
var colorGroup = exports.colorGroup = (0, _adfMarkGroup.adfMarkGroup)('color', [textColor, backgroundColor]);
|
|
11
12
|
backgroundColor.define({
|
|
12
13
|
inclusive: true,
|
|
13
14
|
attrs: {
|
|
@@ -4,11 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.confluenceInlineComment = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var _ADFMarkSpec = require("@atlaskit/adf-schema-generator/types/ADFMarkSpec");
|
|
10
|
+
var confluenceInlineComment = exports.confluenceInlineComment = (0, _adfMark.adfMark)('confluenceInlineComment').define({
|
|
11
|
+
ignore: [_transformerNames.JSONSchemaTransformerName],
|
|
10
12
|
inclusive: false,
|
|
11
|
-
excludes:
|
|
13
|
+
excludes: _ADFMarkSpec.MarkExcludesNone,
|
|
12
14
|
attrs: {
|
|
13
15
|
reference: {
|
|
14
16
|
type: 'string',
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.dataConsumer = void 0;
|
|
7
|
-
var
|
|
8
|
-
var dataConsumer = exports.dataConsumer = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var dataConsumer = exports.dataConsumer = (0, _adfMark.adfMark)('dataConsumer').define({
|
|
9
9
|
attrs: {
|
|
10
10
|
sources: {
|
|
11
11
|
type: 'array',
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.em = void 0;
|
|
7
|
-
var
|
|
8
|
-
var em = exports.em = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var em = exports.em = (0, _adfMark.adfMark)('em').define({
|
|
9
9
|
inclusive: true
|
|
10
10
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.fontSize = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
8
|
/**
|
|
9
9
|
* fontSize mark - applies size styling to block-level content
|
|
10
10
|
*
|
|
@@ -20,7 +20,7 @@ var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
|
|
|
20
20
|
* }
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
var fontSize = exports.fontSize = (0,
|
|
23
|
+
var fontSize = exports.fontSize = (0, _adfMark.adfMark)('fontSize').define({
|
|
24
24
|
attrs: {
|
|
25
25
|
fontSize: {
|
|
26
26
|
type: 'enum',
|
|
@@ -4,10 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.fragment = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _ADFMarkSpec = require("@atlaskit/adf-schema-generator/types/ADFMarkSpec");
|
|
9
|
+
var fragment = exports.fragment = (0, _adfMark.adfMark)('fragment').define({
|
|
9
10
|
inclusive: false,
|
|
10
|
-
excludes:
|
|
11
|
+
excludes: _ADFMarkSpec.MarkExcludesNone,
|
|
11
12
|
allowExcludesEmpty: true,
|
|
12
13
|
attrs: {
|
|
13
14
|
localId: {
|
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.link = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _adfMarkGroup = require("@atlaskit/adf-schema-generator/adfMarkGroup");
|
|
9
|
+
var link = exports.link = (0, _adfMark.adfMark)('link');
|
|
9
10
|
|
|
10
11
|
// import { linkMarketGroup } from '../groups/linkMarkGroup' would cause circular deps issue
|
|
11
|
-
var linkMarkGroup = (0,
|
|
12
|
+
var linkMarkGroup = (0, _adfMarkGroup.adfMarkGroup)('link', [link]);
|
|
12
13
|
link.define({
|
|
13
14
|
// it seems unnessary to have it here?
|
|
14
15
|
excludes: [linkMarkGroup],
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.strike = void 0;
|
|
7
|
-
var
|
|
8
|
-
var strike = exports.strike = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var strike = exports.strike = (0, _adfMark.adfMark)('strike').define({
|
|
9
9
|
inclusive: true
|
|
10
10
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.strong = void 0;
|
|
7
|
-
var
|
|
8
|
-
var strong = exports.strong = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var strong = exports.strong = (0, _adfMark.adfMark)('strong').define({
|
|
9
9
|
inclusive: true
|
|
10
10
|
});
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.subsup = void 0;
|
|
7
|
-
var
|
|
8
|
-
var subsup = exports.subsup = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var subsup = exports.subsup = (0, _adfMark.adfMark)('subsup').define({
|
|
9
9
|
inclusive: true,
|
|
10
10
|
attrs: {
|
|
11
11
|
type: {
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.typeAheadQuery = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var typeAheadQuery = exports.typeAheadQuery = (0, _adfMark.adfMark)('typeAheadQuery').define({
|
|
10
|
+
ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
|
|
10
11
|
inclusive: true,
|
|
11
12
|
attrs: {
|
|
12
13
|
trigger: {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.underline = void 0;
|
|
7
|
-
var
|
|
8
|
-
var underline = exports.underline = (0,
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var underline = exports.underline = (0, _adfMark.adfMark)('underline').define({
|
|
9
9
|
inclusive: true
|
|
10
10
|
});
|
|
@@ -4,10 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.unsupportedMark = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var _ADFMarkSpec = require("@atlaskit/adf-schema-generator/types/ADFMarkSpec");
|
|
10
|
+
var unsupportedMark = exports.unsupportedMark = (0, _adfMark.adfMark)('unsupportedMark').define({
|
|
11
|
+
ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
|
|
12
|
+
excludes: _ADFMarkSpec.MarkExcludesNone,
|
|
11
13
|
allowExcludesEmpty: true,
|
|
12
14
|
attrs: {
|
|
13
15
|
originalValue: {
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.unsupportedNodeAttribute = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
var _adfMark = require("@atlaskit/adf-schema-generator/adfMark");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var unsupportedNodeAttribute = exports.unsupportedNodeAttribute = (0, _adfMark.adfMark)('unsupportedNodeAttribute').define({
|
|
10
|
+
ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
|
|
10
11
|
attrs: {
|
|
11
12
|
unsupported: {
|
|
12
13
|
type: 'object'
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.blockCard = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
9
9
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
10
|
-
var blockCard = exports.blockCard = (0,
|
|
10
|
+
var blockCard = exports.blockCard = (0, _adfNode.adfNode)('blockCard').define({
|
|
11
11
|
draggable: true,
|
|
12
12
|
selectable: true,
|
|
13
13
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.blockquote = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
8
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
9
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
10
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
9
11
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
10
12
|
var _codeBlock = require("./codeBlock");
|
|
@@ -15,11 +17,11 @@ var _mediaSingle = require("./mediaSingle");
|
|
|
15
17
|
var _paragraph = require("./paragraph");
|
|
16
18
|
var _unsupportedBlock = require("./unsupportedBlock");
|
|
17
19
|
var blockQuoteContent = [_paragraph.paragraph.use('with_no_marks'), _list.orderedList, _list.bulletList, _unsupportedBlock.unsupportedBlock, _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')];
|
|
18
|
-
var blockquote = exports.blockquote = (0,
|
|
20
|
+
var blockquote = exports.blockquote = (0, _adfNode.adfNode)('blockquote').define({
|
|
19
21
|
defining: true,
|
|
20
22
|
selectable: true,
|
|
21
23
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
22
|
-
content: [(0,
|
|
24
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, blockQuoteContent))],
|
|
23
25
|
attrs: {
|
|
24
26
|
localId: {
|
|
25
27
|
type: 'string',
|
|
@@ -29,7 +31,7 @@ var blockquote = exports.blockquote = (0, _adfSchemaGenerator.adfNode)('blockquo
|
|
|
29
31
|
}
|
|
30
32
|
}).variant('legacy', {
|
|
31
33
|
ignore: ['json-schema', 'validator-spec'],
|
|
32
|
-
content: [(0,
|
|
34
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_paragraph.paragraph, _unsupportedBlock.unsupportedBlock))],
|
|
33
35
|
attrs: {
|
|
34
36
|
localId: {
|
|
35
37
|
type: 'string',
|
|
@@ -4,14 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.bodiedExtension = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
8
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
9
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
10
|
var _nonNestableBlockContentGroup = require("../groups/nonNestableBlockContentGroup");
|
|
9
11
|
var _breakout = require("../marks/breakout");
|
|
10
12
|
var _dataConsumer = require("../marks/dataConsumer");
|
|
11
13
|
var _fragment = require("../marks/fragment");
|
|
12
14
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
13
15
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
14
|
-
var bodiedExtension = exports.bodiedExtension = (0,
|
|
16
|
+
var bodiedExtension = exports.bodiedExtension = (0, _adfNode.adfNode)('bodiedExtension').define({
|
|
15
17
|
defining: true,
|
|
16
18
|
selectable: true,
|
|
17
19
|
isolating: true,
|
|
@@ -53,7 +55,7 @@ var bodiedExtension = exports.bodiedExtension = (0, _adfSchemaGenerator.adfNode)
|
|
|
53
55
|
default: null
|
|
54
56
|
}
|
|
55
57
|
},
|
|
56
|
-
content: [(0,
|
|
58
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_nonNestableBlockContentGroup.nonNestableBlockContentGroup))]
|
|
57
59
|
}).variant('with_marks', {
|
|
58
60
|
marks: [_dataConsumer.dataConsumer, _fragment.fragment, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
59
61
|
content: [],
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.bodiedRule = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
8
|
+
var _$range = require("@atlaskit/adf-schema-generator/$range");
|
|
9
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
10
|
var _breakout = require("../marks/breakout");
|
|
9
11
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
12
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
@@ -42,10 +44,10 @@ var bodiedRuleAttributes = {
|
|
|
42
44
|
optional: true
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
|
-
var bodiedRule = exports.bodiedRule = (0,
|
|
47
|
+
var bodiedRule = exports.bodiedRule = (0, _adfNode.adfNode)('bodiedRule').define({
|
|
46
48
|
stage0: true,
|
|
47
49
|
attrs: bodiedRuleAttributes,
|
|
48
|
-
content: [(0,
|
|
50
|
+
content: [(0, _$range.$range)(1, 1, (0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _heading.heading.use('with_no_marks')))],
|
|
49
51
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute]
|
|
50
52
|
})
|
|
51
53
|
// this variant is used to support breakout resizing for bodiedRule nodes at the document root
|