@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
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.mention = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _annotation = require("../marks/annotation");
|
|
9
9
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
10
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
11
|
-
var mention = exports.mention = (0,
|
|
11
|
+
var mention = exports.mention = (0, _adfNode.adfNode)('mention').define({
|
|
12
12
|
inline: true,
|
|
13
13
|
selectable: true,
|
|
14
14
|
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
|
@@ -4,12 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.multiBodiedExtension = 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 _breakout = require("../marks/breakout");
|
|
9
11
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
12
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
11
13
|
var _extensionFrame = require("./extensionFrame");
|
|
12
|
-
var multiBodiedExtension = exports.multiBodiedExtension = (0,
|
|
14
|
+
var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfNode.adfNode)('multiBodiedExtension').define({
|
|
13
15
|
stage0: true,
|
|
14
16
|
definingAsContext: true,
|
|
15
17
|
selectable: true,
|
|
@@ -52,7 +54,7 @@ var multiBodiedExtension = exports.multiBodiedExtension = (0, _adfSchemaGenerato
|
|
|
52
54
|
minLength: 1
|
|
53
55
|
}
|
|
54
56
|
},
|
|
55
|
-
content: [(0,
|
|
57
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_extensionFrame.extensionFrame))],
|
|
56
58
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
57
59
|
'validator-spec': {
|
|
58
60
|
'props.content.minItems': {
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.nestedExpand = 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 _blockquote = require("./blockquote");
|
|
@@ -22,7 +24,7 @@ var _rule = require("./rule");
|
|
|
22
24
|
var _task = require("./task");
|
|
23
25
|
var _unsupportedBlock = require("./unsupportedBlock");
|
|
24
26
|
var nestedExpandContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _codeBlock.codeBlock, _list.bulletList, _list.orderedList, _task.taskList, _decisionList.decisionList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _unsupportedBlock.unsupportedBlock];
|
|
25
|
-
var nestedExpand = exports.nestedExpand = (0,
|
|
27
|
+
var nestedExpand = exports.nestedExpand = (0, _adfNode.adfNode)('nestedExpand').define({
|
|
26
28
|
isolating: true,
|
|
27
29
|
selectable: true,
|
|
28
30
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
@@ -43,7 +45,7 @@ var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.adfNode)('nest
|
|
|
43
45
|
optional: true
|
|
44
46
|
}
|
|
45
47
|
},
|
|
46
|
-
content: [(0,
|
|
48
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, nestedExpandContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))],
|
|
47
49
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
48
50
|
'validator-spec': {
|
|
49
51
|
'props.attrs.optional': {
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.panel = 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 _breakout = require("../marks/breakout");
|
|
9
11
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
12
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
@@ -23,7 +25,7 @@ var _tableStub = require("./tableStub");
|
|
|
23
25
|
var _task = require("./task");
|
|
24
26
|
var _unsupportedBlock = require("./unsupportedBlock");
|
|
25
27
|
var panelContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _list.bulletList, _list.orderedList, _blockCard.blockCard, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _decisionList.decisionList, _unsupportedBlock.unsupportedBlock];
|
|
26
|
-
var panel = exports.panel = (0,
|
|
28
|
+
var panel = exports.panel = (0, _adfNode.adfNode)('panel').define({
|
|
27
29
|
selectable: true,
|
|
28
30
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
29
31
|
attrs: {
|
|
@@ -58,7 +60,7 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
|
|
|
58
60
|
optional: true
|
|
59
61
|
}
|
|
60
62
|
},
|
|
61
|
-
content: [(0,
|
|
63
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation')])))]
|
|
62
64
|
}).variant('c1', {
|
|
63
65
|
// panel_c1 allows all standard panel content plus table. `stage0: true` includes it in the
|
|
64
66
|
// stage-0 JSON schema (not full) and the validator spec so table-in-panel validates.
|
|
@@ -67,7 +69,7 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
|
|
|
67
69
|
// acceptance is gated in adf-utils behind the patch flag.
|
|
68
70
|
stage0: true,
|
|
69
71
|
noExtend: true,
|
|
70
|
-
content: [(0,
|
|
72
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
|
|
71
73
|
preserveVariantNameInPm: true
|
|
72
74
|
})
|
|
73
75
|
// this variant is used to support breakout resizing for panel nodes at the document root
|
|
@@ -81,6 +83,6 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
|
|
|
81
83
|
noExtend: true,
|
|
82
84
|
marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
83
85
|
// panel_c1_root_only allows all standard panel content plus table (see c1 above).
|
|
84
|
-
content: [(0,
|
|
86
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _tableStub.table])))],
|
|
85
87
|
preserveVariantNameInPm: true
|
|
86
88
|
});
|
|
@@ -4,14 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.paragraph = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
8
|
+
var _$zeroPlus = require("@atlaskit/adf-schema-generator/$zeroPlus");
|
|
9
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
10
|
var _inlineContentGroup = require("../groups/inlineContentGroup");
|
|
9
11
|
var _inlineGroup = require("../groups/inlineGroup");
|
|
10
12
|
var _alignmentAndIndentation = require("../marks/alignmentAndIndentation");
|
|
11
13
|
var _fontSize = require("../marks/fontSize");
|
|
12
14
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
13
15
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
14
|
-
var paragraph = exports.paragraph = (0,
|
|
16
|
+
var paragraph = exports.paragraph = (0, _adfNode.adfNode)('paragraph').define({
|
|
15
17
|
attrs: {
|
|
16
18
|
localId: {
|
|
17
19
|
type: 'string',
|
|
@@ -22,7 +24,7 @@ var paragraph = exports.paragraph = (0, _adfSchemaGenerator.adfNode)('paragraph'
|
|
|
22
24
|
selectable: false,
|
|
23
25
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
24
26
|
hasEmptyMarks: true,
|
|
25
|
-
content: [(0,
|
|
27
|
+
content: [(0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
|
|
26
28
|
}).variant('with_alignment', {
|
|
27
29
|
marks: [_fontSize.fontSize, _alignmentAndIndentation.alignment, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
28
30
|
content: [],
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.placeholder = 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 placeholder = exports.placeholder = (0,
|
|
10
|
+
var placeholder = exports.placeholder = (0, _adfNode.adfNode)('placeholder').define({
|
|
11
11
|
selectable: false,
|
|
12
12
|
inline: true,
|
|
13
13
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.rule = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _breakout = require("../marks/breakout");
|
|
9
9
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
10
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
@@ -34,7 +34,7 @@ var ruleAttributes = {
|
|
|
34
34
|
optional: true
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
var rule = exports.rule = (0,
|
|
37
|
+
var rule = exports.rule = (0, _adfNode.adfNode)('rule').define({
|
|
38
38
|
attrs: {
|
|
39
39
|
localId: {
|
|
40
40
|
type: 'string',
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.status = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _annotation = require("../marks/annotation");
|
|
9
9
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
10
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
11
|
-
var status = exports.status = (0,
|
|
11
|
+
var status = exports.status = (0, _adfNode.adfNode)('status').define({
|
|
12
12
|
inline: true,
|
|
13
13
|
selectable: true,
|
|
14
14
|
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.syncBlock = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _breakout = require("../marks/breakout");
|
|
9
9
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
10
10
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
11
|
-
var syncBlock = exports.syncBlock = (0,
|
|
11
|
+
var syncBlock = exports.syncBlock = (0, _adfNode.adfNode)('syncBlock').define({
|
|
12
12
|
selectable: true,
|
|
13
13
|
marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
14
14
|
attrs: {
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.tableCellContent = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _tableCellContentPseudoGroup = require("../groups/tableCellContentPseudoGroup");
|
|
9
9
|
// @DSLCompatibilityException This is only used by JSON schema to group the table cell content into a definition.
|
|
10
10
|
// This node should be deleted and the content should be replicated in the JSON schema for table header and table cell node
|
|
11
|
-
var tableCellContent = exports.tableCellContent = (0,
|
|
11
|
+
var tableCellContent = exports.tableCellContent = (0, _adfNode.adfNode)('tableCellContent').define({
|
|
12
12
|
ignore: ['pm-spec', 'validator-spec'],
|
|
13
13
|
content: [_tableCellContentPseudoGroup.tableCellContentPseudoGroup]
|
|
14
14
|
});
|
|
@@ -11,7 +11,9 @@ Object.defineProperty(exports, "table", {
|
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
14
|
-
var
|
|
14
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
15
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
16
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
15
17
|
var _tableCellContentPseudoGroup = require("../groups/tableCellContentPseudoGroup");
|
|
16
18
|
var _fragment = require("../marks/fragment");
|
|
17
19
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
@@ -57,7 +59,7 @@ var cellAttributes = {
|
|
|
57
59
|
},
|
|
58
60
|
valign: valign
|
|
59
61
|
};
|
|
60
|
-
var tableCell = (0,
|
|
62
|
+
var tableCell = (0, _adfNode.adfNode)('tableCell').define({
|
|
61
63
|
isolating: true,
|
|
62
64
|
selectable: false,
|
|
63
65
|
tableRole: 'cell',
|
|
@@ -73,10 +75,10 @@ var tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell').define({
|
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
}).variant('with_nested_table', {
|
|
76
|
-
content: [(0,
|
|
78
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_unsupportedBlock.unsupportedBlock, _tableStub.table])))],
|
|
77
79
|
ignore: ['json-schema', 'validator-spec']
|
|
78
80
|
});
|
|
79
|
-
var tableHeader = (0,
|
|
81
|
+
var tableHeader = (0, _adfNode.adfNode)('tableHeader').define({
|
|
80
82
|
isolating: true,
|
|
81
83
|
selectable: false,
|
|
82
84
|
tableRole: 'header_cell',
|
|
@@ -92,13 +94,13 @@ var tableHeader = (0, _adfSchemaGenerator.adfNode)('tableHeader').define({
|
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
}).variant('with_nested_table', {
|
|
95
|
-
content: [(0,
|
|
97
|
+
content: [(0, _$onePlus.$onePlus)(_$or.$or.apply(void 0, (0, _toConsumableArray2.default)(_tableCellContentPseudoGroup.tableCellContentNodes).concat([_nestedExpand.nestedExpand, _tableStub.table])))],
|
|
96
98
|
ignore: ['json-schema', 'validator-spec']
|
|
97
99
|
});
|
|
98
|
-
var tableRow = (0,
|
|
100
|
+
var tableRow = (0, _adfNode.adfNode)('tableRow').define({
|
|
99
101
|
selectable: false,
|
|
100
102
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
101
|
-
content: [(0,
|
|
103
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableCell, tableHeader, _tableCellContent.tableCellContent))],
|
|
102
104
|
tableRole: 'row',
|
|
103
105
|
attrs: {
|
|
104
106
|
localId: {
|
|
@@ -116,7 +118,7 @@ var tableRow = (0, _adfSchemaGenerator.adfNode)('tableRow').define({
|
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
}).variant('with_nested_table', {
|
|
119
|
-
content: [(0,
|
|
121
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableCell.use('with_nested_table'), tableHeader.use('with_nested_table')))],
|
|
120
122
|
ignore: ['json-schema', 'validator-spec']
|
|
121
123
|
});
|
|
122
124
|
_tableStub.table.define({
|
|
@@ -159,9 +161,9 @@ _tableStub.table.define({
|
|
|
159
161
|
optional: true
|
|
160
162
|
}
|
|
161
163
|
},
|
|
162
|
-
content: [(0,
|
|
164
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableRow))]
|
|
163
165
|
}).variant('with_nested_table', {
|
|
164
|
-
content: [(0,
|
|
166
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(tableRow.use('with_nested_table')))],
|
|
165
167
|
ignore: ['json-schema', 'validator-spec']
|
|
166
168
|
});
|
|
167
169
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.table = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
// A bare `table` node stub, declared in an import-cycle-free leaf module so that other node
|
|
9
9
|
// modules (e.g. `panel`) can reference `table` in their content WITHOUT importing the heavy
|
|
10
10
|
// `tableNodes.ts` definition module. Importing `tableNodes.ts` from `panel.ts` would form a
|
|
@@ -14,4 +14,4 @@ var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
|
|
|
14
14
|
// `tableNodes.ts` imports this same stub and calls `.define()` / `.variant()` on it, so the
|
|
15
15
|
// object here is the one and only `table` node. Spec resolution is deferred to codegen traversal,
|
|
16
16
|
// which is cycle-aware, so referencing this stub before it is defined is safe.
|
|
17
|
-
var table = exports.table = (0,
|
|
17
|
+
var table = exports.table = (0, _adfNode.adfNode)('table');
|
|
@@ -6,7 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.taskList = exports.taskItem = exports.blockTaskItem = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
var
|
|
9
|
+
var _$onePlus = require("@atlaskit/adf-schema-generator/$onePlus");
|
|
10
|
+
var _$or = require("@atlaskit/adf-schema-generator/$or");
|
|
11
|
+
var _$zeroPlus = require("@atlaskit/adf-schema-generator/$zeroPlus");
|
|
12
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
10
13
|
var _inlineContentGroup = require("../groups/inlineContentGroup");
|
|
11
14
|
var _inlineGroup = require("../groups/inlineGroup");
|
|
12
15
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
@@ -16,9 +19,9 @@ var _paragraph = require("./paragraph");
|
|
|
16
19
|
var _unsupportedBlock = require("./unsupportedBlock");
|
|
17
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
21
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
|
-
var taskItem = exports.taskItem = (0,
|
|
20
|
-
var taskList = exports.taskList = (0,
|
|
21
|
-
var blockTaskItem = exports.blockTaskItem = (0,
|
|
22
|
+
var taskItem = exports.taskItem = (0, _adfNode.adfNode)('taskItem');
|
|
23
|
+
var taskList = exports.taskList = (0, _adfNode.adfNode)('taskList');
|
|
24
|
+
var blockTaskItem = exports.blockTaskItem = (0, _adfNode.adfNode)('blockTaskItem');
|
|
22
25
|
var commonTaskItemProps = {
|
|
23
26
|
defining: true,
|
|
24
27
|
selectable: false,
|
|
@@ -37,14 +40,14 @@ var commonTaskItemProps = {
|
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
42
|
taskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
|
40
|
-
content: [(0,
|
|
43
|
+
content: [(0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_inlineGroup.inlineGroup, _inlineContentGroup.inlineContentGroup))]
|
|
41
44
|
}));
|
|
42
45
|
blockTaskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
|
43
46
|
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
|
44
47
|
allowAnyChildMark: false,
|
|
45
48
|
// Override the commonTaskItemProps setting
|
|
46
49
|
contentMinItems: 1,
|
|
47
|
-
content: [(0,
|
|
50
|
+
content: [(0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')), (0, _$zeroPlus.$zeroPlus)((0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _extension.extension.use('with_marks'), _extension.extension.use('with_annotation')))]
|
|
48
51
|
}));
|
|
49
52
|
taskList.define({
|
|
50
53
|
defining: true,
|
|
@@ -57,5 +60,5 @@ taskList.define({
|
|
|
57
60
|
}
|
|
58
61
|
},
|
|
59
62
|
contentMinItems: 1,
|
|
60
|
-
content: [(0,
|
|
63
|
+
content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(taskItem, taskList, _unsupportedBlock.unsupportedBlock, blockTaskItem))]
|
|
61
64
|
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.text = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
8
|
var _annotation = require("../marks/annotation");
|
|
9
9
|
var _code = require("../marks/code");
|
|
10
10
|
var _color = require("../marks/color");
|
|
@@ -18,7 +18,7 @@ var _typeAheadQuery = require("../marks/typeAheadQuery");
|
|
|
18
18
|
var _underline = require("../marks/underline");
|
|
19
19
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
|
20
20
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
21
|
-
var text = exports.text = (0,
|
|
21
|
+
var text = exports.text = (0, _adfNode.adfNode)('text').define({
|
|
22
22
|
marks: [],
|
|
23
23
|
hasEmptyMarks: true
|
|
24
24
|
}).variant('with_no_marks', {
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.unsupportedBlock = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var unsupportedBlock = exports.unsupportedBlock = (0, _adfNode.adfNode)('unsupportedBlock').define({
|
|
10
|
+
ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
|
|
10
11
|
atom: true,
|
|
11
12
|
selectable: true,
|
|
12
13
|
attrs: {
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.unsupportedInline = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
7
|
+
var _adfNode = require("@atlaskit/adf-schema-generator/adfNode");
|
|
8
|
+
var _transformerNames = require("@atlaskit/adf-schema-generator/transformerNames");
|
|
9
|
+
var unsupportedInline = exports.unsupportedInline = (0, _adfNode.adfNode)('unsupportedInline').define({
|
|
10
|
+
ignore: [_transformerNames.JSONSchemaTransformerName, _transformerNames.ValidatorSpecTransformerName],
|
|
10
11
|
inline: true,
|
|
11
12
|
selectable: true,
|
|
12
13
|
attrs: {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { blockContentGroup } from './groups/blockContentGroup';
|
|
3
5
|
import { blockGroup } from './groups/blockGroup';
|
|
4
6
|
import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedExtension } from '../nodes/bodiedExtension';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedExtension } from '../nodes/bodiedExtension';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { multiBodiedExtension } from '../nodes/multiBodiedExtension';
|
|
3
3
|
export const blockRootOnlyGroup = adfNodeGroup('blockRootOnly', [multiBodiedExtension], {
|
|
4
4
|
// @DSLCompatibilityException - Generated JSON Schema does not have this.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
|
|
3
3
|
import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
|
|
4
4
|
import { date } from '../nodes/date';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
|
|
3
3
|
import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
|
|
4
4
|
import { date } from '../nodes/date';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedRule } from '../nodes/bodiedRule';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { adfMarkGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
2
2
|
import { typeAheadQuery } from '../marks/typeAheadQuery';
|
|
3
3
|
export const searchQueryMarkGroup = adfMarkGroup('searchQuery', [typeAheadQuery]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
3
|
import { blockCard } from '../nodes/blockCard';
|
|
3
4
|
import { blockquote } from '../nodes/blockquote';
|
|
4
5
|
import { bodiedRule } from '../nodes/bodiedRule';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
2
|
-
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
3
3
|
// These marks defined together because they form a cycle within the excludes.
|
|
4
4
|
export const alignment = adfMark('alignment');
|
|
5
5
|
export const indentation = adfMark('indentation');
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
3
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
4
|
export const annotation = adfMark('annotation');
|
|
3
5
|
export const annotationGroup = adfMarkGroup('annotation', [annotation]);
|
|
4
6
|
annotation.define({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfMark } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
2
|
import { fontStyleGroup } from '../groups/fontStyleGroup';
|
|
3
3
|
import { linkMarkGroup } from '../groups/linkMarkGroup';
|
|
4
4
|
import { searchQueryMarkGroup } from '../groups/searchQueryMarkGroup';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
2
3
|
export const backgroundColor = adfMark('backgroundColor');
|
|
3
4
|
export const textColor = adfMark('textColor');
|
|
4
5
|
export const colorGroup = adfMarkGroup('color', [textColor, backgroundColor]);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
3
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
4
|
export const confluenceInlineComment = adfMark('confluenceInlineComment').define({
|
|
3
5
|
ignore: [JSONSchemaTransformerName],
|
|
4
6
|
inclusive: false,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
3
|
export const fragment = adfMark('fragment').define({
|
|
3
4
|
inclusive: false,
|
|
4
5
|
excludes: MarkExcludesNone,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
2
3
|
export const link = adfMark('link');
|
|
3
4
|
|
|
4
5
|
// import { linkMarketGroup } from '../groups/linkMarkGroup' would cause circular deps issue
|