@atlaskit/adf-schema 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1524 -0
- package/LICENSE +13 -0
- package/build/tsconfig.json +17 -0
- package/dist/cjs/index.js +1089 -0
- package/dist/cjs/schema/bitbucket-schema.js +14 -0
- package/dist/cjs/schema/confluence-schema.js +21 -0
- package/dist/cjs/schema/create-schema.js +354 -0
- package/dist/cjs/schema/default-schema.js +52 -0
- package/dist/cjs/schema/groups.js +35 -0
- package/dist/cjs/schema/index.js +755 -0
- package/dist/cjs/schema/inline-nodes.js +20 -0
- package/dist/cjs/schema/jira-schema.js +118 -0
- package/dist/cjs/schema/marks/alignment.js +39 -0
- package/dist/cjs/schema/marks/annotation.js +96 -0
- package/dist/cjs/schema/marks/breakout.js +32 -0
- package/dist/cjs/schema/marks/code.js +46 -0
- package/dist/cjs/schema/marks/confluence-inline-comment.js +30 -0
- package/dist/cjs/schema/marks/data-consumer.js +71 -0
- package/dist/cjs/schema/marks/em.js +25 -0
- package/dist/cjs/schema/marks/indentation.js +32 -0
- package/dist/cjs/schema/marks/index.js +189 -0
- package/dist/cjs/schema/marks/link.js +128 -0
- package/dist/cjs/schema/marks/strike.js +29 -0
- package/dist/cjs/schema/marks/strong.js +37 -0
- package/dist/cjs/schema/marks/subsup.js +61 -0
- package/dist/cjs/schema/marks/text-color.js +93 -0
- package/dist/cjs/schema/marks/type-ahead-query.js +31 -0
- package/dist/cjs/schema/marks/underline.js +25 -0
- package/dist/cjs/schema/marks/unsupported-mark.js +15 -0
- package/dist/cjs/schema/marks/unsupported-node-attributes.js +16 -0
- package/dist/cjs/schema/nodes/block-card.js +56 -0
- package/dist/cjs/schema/nodes/blockquote.js +23 -0
- package/dist/cjs/schema/nodes/bodied-extension.js +66 -0
- package/dist/cjs/schema/nodes/bullet-list.js +29 -0
- package/dist/cjs/schema/nodes/caption.js +27 -0
- package/dist/cjs/schema/nodes/code-block.js +160 -0
- package/dist/cjs/schema/nodes/confluence-jira-issue.js +54 -0
- package/dist/cjs/schema/nodes/confluence-unsupported-block.js +33 -0
- package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +34 -0
- package/dist/cjs/schema/nodes/date.js +36 -0
- package/dist/cjs/schema/nodes/decision-item.js +45 -0
- package/dist/cjs/schema/nodes/decision-list.js +45 -0
- package/dist/cjs/schema/nodes/doc.js +15 -0
- package/dist/cjs/schema/nodes/embed-card.js +62 -0
- package/dist/cjs/schema/nodes/emoji.js +73 -0
- package/dist/cjs/schema/nodes/expand.js +86 -0
- package/dist/cjs/schema/nodes/extension.js +59 -0
- package/dist/cjs/schema/nodes/hard-break.js +22 -0
- package/dist/cjs/schema/nodes/heading.js +69 -0
- package/dist/cjs/schema/nodes/image.js +40 -0
- package/dist/cjs/schema/nodes/index.js +539 -0
- package/dist/cjs/schema/nodes/inline-card.js +64 -0
- package/dist/cjs/schema/nodes/inline-extension.js +54 -0
- package/dist/cjs/schema/nodes/layout-column.js +53 -0
- package/dist/cjs/schema/nodes/layout-section.js +61 -0
- package/dist/cjs/schema/nodes/list-item.js +25 -0
- package/dist/cjs/schema/nodes/media-group.js +29 -0
- package/dist/cjs/schema/nodes/media-inline.js +11 -0
- package/dist/cjs/schema/nodes/media-single.js +101 -0
- package/dist/cjs/schema/nodes/media.js +196 -0
- package/dist/cjs/schema/nodes/mention.js +90 -0
- package/dist/cjs/schema/nodes/nested-expand.js +64 -0
- package/dist/cjs/schema/nodes/ordered-list.js +29 -0
- package/dist/cjs/schema/nodes/panel.js +85 -0
- package/dist/cjs/schema/nodes/paragraph.js +45 -0
- package/dist/cjs/schema/nodes/placeholder.js +39 -0
- package/dist/cjs/schema/nodes/rule.js +21 -0
- package/dist/cjs/schema/nodes/status.js +56 -0
- package/dist/cjs/schema/nodes/tableNodes.js +276 -0
- package/dist/cjs/schema/nodes/task-item.js +46 -0
- package/dist/cjs/schema/nodes/task-list.js +45 -0
- package/dist/cjs/schema/nodes/text.js +17 -0
- package/dist/cjs/schema/nodes/types/block-content.js +5 -0
- package/dist/cjs/schema/nodes/types/extensions.js +5 -0
- package/dist/cjs/schema/nodes/types/inline-content.js +5 -0
- package/dist/cjs/schema/nodes/types/mark.js +5 -0
- package/dist/cjs/schema/nodes/types/non-nestable-block-content.js +5 -0
- package/dist/cjs/schema/nodes/types/rich-media-common.js +5 -0
- package/dist/cjs/schema/nodes/unknown-block.js +21 -0
- package/dist/cjs/schema/nodes/unsupported-block.js +33 -0
- package/dist/cjs/schema/nodes/unsupported-inline.js +32 -0
- package/dist/cjs/schema/unsupported.js +8 -0
- package/dist/cjs/steps/analytics.js +183 -0
- package/dist/cjs/steps/set-attrs.js +106 -0
- package/dist/cjs/steps/table/add-column.js +453 -0
- package/dist/cjs/steps/table/constants.js +13 -0
- package/dist/cjs/steps/table/sort-column.js +87 -0
- package/dist/cjs/steps/table/types.js +5 -0
- package/dist/cjs/steps/table/utils/cell-step.js +233 -0
- package/dist/cjs/steps/table/utils/cells-at-column.js +94 -0
- package/dist/cjs/steps/table/utils/find-column.js +94 -0
- package/dist/cjs/steps/table/utils/get-table-rect-from-doc.js +38 -0
- package/dist/cjs/steps/table/utils/side-effects/rows.js +370 -0
- package/dist/cjs/steps/table/utils/side-effects/side-effects.js +106 -0
- package/dist/cjs/steps/table/utils/side-effects/table.js +126 -0
- package/dist/cjs/steps/table/utils/side-effects/types.js +5 -0
- package/dist/cjs/steps/table/utils/table-map.js +36 -0
- package/dist/cjs/steps/type-ahead.js +134 -0
- package/dist/cjs/steps.js +59 -0
- package/dist/cjs/utils/colors.js +234 -0
- package/dist/cjs/utils/confluence/emoji.js +97 -0
- package/dist/cjs/utils/extensions.js +39 -0
- package/dist/cjs/utils/index.js +373 -0
- package/dist/cjs/utils/parseDOM.js +12 -0
- package/dist/cjs/utils/url.js +38 -0
- package/dist/cjs/utils/uuid.js +28 -0
- package/dist/cjs/version.json +5 -0
- package/dist/es2019/index.js +2 -0
- package/dist/es2019/schema/bitbucket-schema.js +5 -0
- package/dist/es2019/schema/confluence-schema.js +11 -0
- package/dist/es2019/schema/create-schema.js +325 -0
- package/dist/es2019/schema/default-schema.js +35 -0
- package/dist/es2019/schema/groups.js +23 -0
- package/dist/es2019/schema/index.js +9 -0
- package/dist/es2019/schema/inline-nodes.js +3 -0
- package/dist/es2019/schema/jira-schema.js +88 -0
- package/dist/es2019/schema/marks/alignment.js +32 -0
- package/dist/es2019/schema/marks/annotation.js +80 -0
- package/dist/es2019/schema/marks/breakout.js +29 -0
- package/dist/es2019/schema/marks/code.js +43 -0
- package/dist/es2019/schema/marks/confluence-inline-comment.js +24 -0
- package/dist/es2019/schema/marks/data-consumer.js +61 -0
- package/dist/es2019/schema/marks/em.js +22 -0
- package/dist/es2019/schema/marks/indentation.js +27 -0
- package/dist/es2019/schema/marks/index.js +17 -0
- package/dist/es2019/schema/marks/link.js +105 -0
- package/dist/es2019/schema/marks/strike.js +24 -0
- package/dist/es2019/schema/marks/strong.js +40 -0
- package/dist/es2019/schema/marks/subsup.js +51 -0
- package/dist/es2019/schema/marks/text-color.js +67 -0
- package/dist/es2019/schema/marks/type-ahead-query.js +23 -0
- package/dist/es2019/schema/marks/underline.js +20 -0
- package/dist/es2019/schema/marks/unsupported-mark.js +9 -0
- package/dist/es2019/schema/marks/unsupported-node-attributes.js +10 -0
- package/dist/es2019/schema/nodes/block-card.js +50 -0
- package/dist/es2019/schema/nodes/blockquote.js +17 -0
- package/dist/es2019/schema/nodes/bodied-extension.js +58 -0
- package/dist/es2019/schema/nodes/bullet-list.js +23 -0
- package/dist/es2019/schema/nodes/caption.js +21 -0
- package/dist/es2019/schema/nodes/code-block.js +143 -0
- package/dist/es2019/schema/nodes/confluence-jira-issue.js +49 -0
- package/dist/es2019/schema/nodes/confluence-unsupported-block.js +30 -0
- package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +31 -0
- package/dist/es2019/schema/nodes/date.js +28 -0
- package/dist/es2019/schema/nodes/decision-item.js +37 -0
- package/dist/es2019/schema/nodes/decision-list.js +41 -0
- package/dist/es2019/schema/nodes/doc.js +7 -0
- package/dist/es2019/schema/nodes/embed-card.js +55 -0
- package/dist/es2019/schema/nodes/emoji.js +67 -0
- package/dist/es2019/schema/nodes/expand.js +73 -0
- package/dist/es2019/schema/nodes/extension.js +51 -0
- package/dist/es2019/schema/nodes/hard-break.js +16 -0
- package/dist/es2019/schema/nodes/heading.js +63 -0
- package/dist/es2019/schema/nodes/image.js +37 -0
- package/dist/es2019/schema/nodes/index.js +44 -0
- package/dist/es2019/schema/nodes/inline-card.js +58 -0
- package/dist/es2019/schema/nodes/inline-extension.js +46 -0
- package/dist/es2019/schema/nodes/layout-column.js +49 -0
- package/dist/es2019/schema/nodes/layout-section.js +56 -0
- package/dist/es2019/schema/nodes/list-item.js +20 -0
- package/dist/es2019/schema/nodes/media-group.js +23 -0
- package/dist/es2019/schema/nodes/media-inline.js +2 -0
- package/dist/es2019/schema/nodes/media-single.js +77 -0
- package/dist/es2019/schema/nodes/media.js +165 -0
- package/dist/es2019/schema/nodes/mention.js +81 -0
- package/dist/es2019/schema/nodes/nested-expand.js +58 -0
- package/dist/es2019/schema/nodes/ordered-list.js +23 -0
- package/dist/es2019/schema/nodes/panel.js +79 -0
- package/dist/es2019/schema/nodes/paragraph.js +39 -0
- package/dist/es2019/schema/nodes/placeholder.js +33 -0
- package/dist/es2019/schema/nodes/rule.js +15 -0
- package/dist/es2019/schema/nodes/status.js +54 -0
- package/dist/es2019/schema/nodes/tableNodes.js +222 -0
- package/dist/es2019/schema/nodes/task-item.js +38 -0
- package/dist/es2019/schema/nodes/task-list.js +37 -0
- package/dist/es2019/schema/nodes/text.js +7 -0
- package/dist/es2019/schema/nodes/types/block-content.js +1 -0
- package/dist/es2019/schema/nodes/types/extensions.js +1 -0
- package/dist/es2019/schema/nodes/types/inline-content.js +1 -0
- package/dist/es2019/schema/nodes/types/mark.js +1 -0
- package/dist/es2019/schema/nodes/types/non-nestable-block-content.js +1 -0
- package/dist/es2019/schema/nodes/types/rich-media-common.js +1 -0
- package/dist/es2019/schema/nodes/unknown-block.js +16 -0
- package/dist/es2019/schema/nodes/unsupported-block.js +26 -0
- package/dist/es2019/schema/nodes/unsupported-inline.js +25 -0
- package/dist/es2019/schema/unsupported.js +1 -0
- package/dist/es2019/steps/analytics.js +122 -0
- package/dist/es2019/steps/set-attrs.js +57 -0
- package/dist/es2019/steps/table/add-column.js +349 -0
- package/dist/es2019/steps/table/constants.js +6 -0
- package/dist/es2019/steps/table/sort-column.js +41 -0
- package/dist/es2019/steps/table/types.js +1 -0
- package/dist/es2019/steps/table/utils/cell-step.js +204 -0
- package/dist/es2019/steps/table/utils/cells-at-column.js +57 -0
- package/dist/es2019/steps/table/utils/find-column.js +86 -0
- package/dist/es2019/steps/table/utils/get-table-rect-from-doc.js +30 -0
- package/dist/es2019/steps/table/utils/side-effects/rows.js +297 -0
- package/dist/es2019/steps/table/utils/side-effects/side-effects.js +81 -0
- package/dist/es2019/steps/table/utils/side-effects/table.js +99 -0
- package/dist/es2019/steps/table/utils/side-effects/types.js +1 -0
- package/dist/es2019/steps/table/utils/table-map.js +19 -0
- package/dist/es2019/steps/type-ahead.js +85 -0
- package/dist/es2019/steps.js +6 -0
- package/dist/es2019/utils/colors.js +148 -0
- package/dist/es2019/utils/confluence/emoji.js +83 -0
- package/dist/es2019/utils/extensions.js +26 -0
- package/dist/es2019/utils/index.js +4 -0
- package/dist/es2019/utils/parseDOM.js +1 -0
- package/dist/es2019/utils/url.js +19 -0
- package/dist/es2019/utils/uuid.js +18 -0
- package/dist/es2019/version.json +5 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/schema/bitbucket-schema.js +5 -0
- package/dist/esm/schema/confluence-schema.js +11 -0
- package/dist/esm/schema/create-schema.js +338 -0
- package/dist/esm/schema/default-schema.js +36 -0
- package/dist/esm/schema/groups.js +23 -0
- package/dist/esm/schema/index.js +9 -0
- package/dist/esm/schema/inline-nodes.js +5 -0
- package/dist/esm/schema/jira-schema.js +88 -0
- package/dist/esm/schema/marks/alignment.js +30 -0
- package/dist/esm/schema/marks/annotation.js +82 -0
- package/dist/esm/schema/marks/breakout.js +25 -0
- package/dist/esm/schema/marks/code.js +41 -0
- package/dist/esm/schema/marks/confluence-inline-comment.js +22 -0
- package/dist/esm/schema/marks/data-consumer.js +63 -0
- package/dist/esm/schema/marks/em.js +20 -0
- package/dist/esm/schema/marks/indentation.js +23 -0
- package/dist/esm/schema/marks/index.js +17 -0
- package/dist/esm/schema/marks/link.js +113 -0
- package/dist/esm/schema/marks/strike.js +24 -0
- package/dist/esm/schema/marks/strong.js +32 -0
- package/dist/esm/schema/marks/subsup.js +53 -0
- package/dist/esm/schema/marks/text-color.js +78 -0
- package/dist/esm/schema/marks/type-ahead-query.js +21 -0
- package/dist/esm/schema/marks/underline.js +20 -0
- package/dist/esm/schema/marks/unsupported-mark.js +8 -0
- package/dist/esm/schema/marks/unsupported-node-attributes.js +9 -0
- package/dist/esm/schema/nodes/block-card.js +48 -0
- package/dist/esm/schema/nodes/blockquote.js +15 -0
- package/dist/esm/schema/nodes/bodied-extension.js +58 -0
- package/dist/esm/schema/nodes/bullet-list.js +21 -0
- package/dist/esm/schema/nodes/caption.js +19 -0
- package/dist/esm/schema/nodes/code-block.js +149 -0
- package/dist/esm/schema/nodes/confluence-jira-issue.js +47 -0
- package/dist/esm/schema/nodes/confluence-unsupported-block.js +26 -0
- package/dist/esm/schema/nodes/confluence-unsupported-inline.js +27 -0
- package/dist/esm/schema/nodes/date.js +28 -0
- package/dist/esm/schema/nodes/decision-item.js +36 -0
- package/dist/esm/schema/nodes/decision-list.js +39 -0
- package/dist/esm/schema/nodes/doc.js +7 -0
- package/dist/esm/schema/nodes/embed-card.js +54 -0
- package/dist/esm/schema/nodes/emoji.js +68 -0
- package/dist/esm/schema/nodes/expand.js +75 -0
- package/dist/esm/schema/nodes/extension.js +51 -0
- package/dist/esm/schema/nodes/hard-break.js +14 -0
- package/dist/esm/schema/nodes/heading.js +61 -0
- package/dist/esm/schema/nodes/image.js +33 -0
- package/dist/esm/schema/nodes/index.js +44 -0
- package/dist/esm/schema/nodes/inline-card.js +56 -0
- package/dist/esm/schema/nodes/inline-extension.js +46 -0
- package/dist/esm/schema/nodes/layout-column.js +45 -0
- package/dist/esm/schema/nodes/layout-section.js +52 -0
- package/dist/esm/schema/nodes/list-item.js +18 -0
- package/dist/esm/schema/nodes/media-group.js +21 -0
- package/dist/esm/schema/nodes/media-inline.js +2 -0
- package/dist/esm/schema/nodes/media-single.js +84 -0
- package/dist/esm/schema/nodes/media.js +174 -0
- package/dist/esm/schema/nodes/mention.js +80 -0
- package/dist/esm/schema/nodes/nested-expand.js +56 -0
- package/dist/esm/schema/nodes/ordered-list.js +21 -0
- package/dist/esm/schema/nodes/panel.js +76 -0
- package/dist/esm/schema/nodes/paragraph.js +37 -0
- package/dist/esm/schema/nodes/placeholder.js +31 -0
- package/dist/esm/schema/nodes/rule.js +13 -0
- package/dist/esm/schema/nodes/status.js +51 -0
- package/dist/esm/schema/nodes/tableNodes.js +238 -0
- package/dist/esm/schema/nodes/task-item.js +37 -0
- package/dist/esm/schema/nodes/task-list.js +35 -0
- package/dist/esm/schema/nodes/text.js +9 -0
- package/dist/esm/schema/nodes/types/block-content.js +1 -0
- package/dist/esm/schema/nodes/types/extensions.js +1 -0
- package/dist/esm/schema/nodes/types/inline-content.js +1 -0
- package/dist/esm/schema/nodes/types/mark.js +1 -0
- package/dist/esm/schema/nodes/types/non-nestable-block-content.js +1 -0
- package/dist/esm/schema/nodes/types/rich-media-common.js +1 -0
- package/dist/esm/schema/nodes/unknown-block.js +14 -0
- package/dist/esm/schema/nodes/unsupported-block.js +26 -0
- package/dist/esm/schema/nodes/unsupported-inline.js +25 -0
- package/dist/esm/schema/unsupported.js +1 -0
- package/dist/esm/steps/analytics.js +166 -0
- package/dist/esm/steps/set-attrs.js +89 -0
- package/dist/esm/steps/table/add-column.js +431 -0
- package/dist/esm/steps/table/constants.js +6 -0
- package/dist/esm/steps/table/sort-column.js +69 -0
- package/dist/esm/steps/table/types.js +1 -0
- package/dist/esm/steps/table/utils/cell-step.js +216 -0
- package/dist/esm/steps/table/utils/cells-at-column.js +84 -0
- package/dist/esm/steps/table/utils/find-column.js +87 -0
- package/dist/esm/steps/table/utils/get-table-rect-from-doc.js +30 -0
- package/dist/esm/steps/table/utils/side-effects/rows.js +360 -0
- package/dist/esm/steps/table/utils/side-effects/side-effects.js +93 -0
- package/dist/esm/steps/table/utils/side-effects/table.js +113 -0
- package/dist/esm/steps/table/utils/side-effects/types.js +1 -0
- package/dist/esm/steps/table/utils/table-map.js +19 -0
- package/dist/esm/steps/type-ahead.js +117 -0
- package/dist/esm/steps.js +6 -0
- package/dist/esm/utils/colors.js +160 -0
- package/dist/esm/utils/confluence/emoji.js +85 -0
- package/dist/esm/utils/extensions.js +27 -0
- package/dist/esm/utils/index.js +4 -0
- package/dist/esm/utils/parseDOM.js +3 -0
- package/dist/esm/utils/url.js +21 -0
- package/dist/esm/utils/uuid.js +18 -0
- package/dist/esm/version.json +5 -0
- package/dist/json-schema/v1/full.json +2536 -0
- package/dist/json-schema/v1/stage-0.json +2737 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/schema/bitbucket-schema.d.ts +2 -0
- package/dist/types/schema/confluence-schema.d.ts +3 -0
- package/dist/types/schema/create-schema.d.ts +31 -0
- package/dist/types/schema/default-schema.d.ts +7 -0
- package/dist/types/schema/groups.d.ts +6 -0
- package/dist/types/schema/index.d.ts +11 -0
- package/dist/types/schema/inline-nodes.d.ts +1 -0
- package/dist/types/schema/jira-schema.d.ts +26 -0
- package/dist/types/schema/marks/alignment.d.ts +16 -0
- package/dist/types/schema/marks/annotation.d.ts +32 -0
- package/dist/types/schema/marks/breakout.d.ts +12 -0
- package/dist/types/schema/marks/code.d.ts +8 -0
- package/dist/types/schema/marks/confluence-inline-comment.d.ts +12 -0
- package/dist/types/schema/marks/data-consumer.d.ts +41 -0
- package/dist/types/schema/marks/em.d.ts +8 -0
- package/dist/types/schema/marks/indentation.d.ts +16 -0
- package/dist/types/schema/marks/index.d.ts +30 -0
- package/dist/types/schema/marks/link.d.ts +32 -0
- package/dist/types/schema/marks/strike.d.ts +8 -0
- package/dist/types/schema/marks/strong.d.ts +8 -0
- package/dist/types/schema/marks/subsup.d.ts +15 -0
- package/dist/types/schema/marks/text-color.d.ts +21 -0
- package/dist/types/schema/marks/type-ahead-query.d.ts +2 -0
- package/dist/types/schema/marks/underline.d.ts +8 -0
- package/dist/types/schema/marks/unsupported-mark.d.ts +2 -0
- package/dist/types/schema/marks/unsupported-node-attributes.d.ts +2 -0
- package/dist/types/schema/nodes/block-card.d.ts +19 -0
- package/dist/types/schema/nodes/blockquote.d.ts +14 -0
- package/dist/types/schema/nodes/bodied-extension.d.ts +27 -0
- package/dist/types/schema/nodes/bullet-list.d.ts +14 -0
- package/dist/types/schema/nodes/caption.d.ts +21 -0
- package/dist/types/schema/nodes/code-block.d.ts +31 -0
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +2 -0
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +2 -0
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +2 -0
- package/dist/types/schema/nodes/date.d.ts +14 -0
- package/dist/types/schema/nodes/decision-item.d.ts +17 -0
- package/dist/types/schema/nodes/decision-list.d.ts +18 -0
- package/dist/types/schema/nodes/doc.d.ts +18 -0
- package/dist/types/schema/nodes/embed-card.d.ts +15 -0
- package/dist/types/schema/nodes/emoji.d.ts +14 -0
- package/dist/types/schema/nodes/expand.d.ts +33 -0
- package/dist/types/schema/nodes/extension.d.ts +21 -0
- package/dist/types/schema/nodes/hard-break.d.ts +11 -0
- package/dist/types/schema/nodes/heading.d.ts +36 -0
- package/dist/types/schema/nodes/image.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +93 -0
- package/dist/types/schema/nodes/inline-card.d.ts +19 -0
- package/dist/types/schema/nodes/inline-extension.d.ts +21 -0
- package/dist/types/schema/nodes/layout-column.d.ts +21 -0
- package/dist/types/schema/nodes/layout-section.d.ts +44 -0
- package/dist/types/schema/nodes/list-item.d.ts +20 -0
- package/dist/types/schema/nodes/media-group.d.ts +14 -0
- package/dist/types/schema/nodes/media-inline.d.ts +16 -0
- package/dist/types/schema/nodes/media-single.d.ts +59 -0
- package/dist/types/schema/nodes/media.d.ts +60 -0
- package/dist/types/schema/nodes/mention.d.ts +26 -0
- package/dist/types/schema/nodes/nested-expand.d.ts +27 -0
- package/dist/types/schema/nodes/ordered-list.d.ts +20 -0
- package/dist/types/schema/nodes/panel.d.ts +46 -0
- package/dist/types/schema/nodes/paragraph.d.ts +37 -0
- package/dist/types/schema/nodes/placeholder.d.ts +11 -0
- package/dist/types/schema/nodes/rule.d.ts +8 -0
- package/dist/types/schema/nodes/status.d.ts +20 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +111 -0
- package/dist/types/schema/nodes/task-item.d.ts +17 -0
- package/dist/types/schema/nodes/task-list.d.ts +21 -0
- package/dist/types/schema/nodes/text.d.ts +15 -0
- package/dist/types/schema/nodes/types/block-content.d.ts +22 -0
- package/dist/types/schema/nodes/types/extensions.d.ts +34 -0
- package/dist/types/schema/nodes/types/inline-content.d.ts +32 -0
- package/dist/types/schema/nodes/types/mark.d.ts +15 -0
- package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +20 -0
- package/dist/types/schema/nodes/types/rich-media-common.d.ts +9 -0
- package/dist/types/schema/nodes/unknown-block.d.ts +3 -0
- package/dist/types/schema/nodes/unsupported-block.d.ts +2 -0
- package/dist/types/schema/nodes/unsupported-inline.d.ts +2 -0
- package/dist/types/schema/unsupported.d.ts +1 -0
- package/dist/types/steps/analytics.d.ts +59 -0
- package/dist/types/steps/set-attrs.d.ts +23 -0
- package/dist/types/steps/table/add-column.d.ts +88 -0
- package/dist/types/steps/table/constants.d.ts +4 -0
- package/dist/types/steps/table/sort-column.d.ts +18 -0
- package/dist/types/steps/table/types.d.ts +39 -0
- package/dist/types/steps/table/utils/cell-step.d.ts +47 -0
- package/dist/types/steps/table/utils/cells-at-column.d.ts +20 -0
- package/dist/types/steps/table/utils/find-column.d.ts +8 -0
- package/dist/types/steps/table/utils/get-table-rect-from-doc.d.ts +8 -0
- package/dist/types/steps/table/utils/side-effects/rows.d.ts +25 -0
- package/dist/types/steps/table/utils/side-effects/side-effects.d.ts +15 -0
- package/dist/types/steps/table/utils/side-effects/table.d.ts +16 -0
- package/dist/types/steps/table/utils/side-effects/types.d.ts +33 -0
- package/dist/types/steps/table/utils/table-map.d.ts +6 -0
- package/dist/types/steps/type-ahead.d.ts +35 -0
- package/dist/types/steps.d.ts +8 -0
- package/dist/types/utils/colors.d.ts +71 -0
- package/dist/types/utils/confluence/emoji.d.ts +50 -0
- package/dist/types/utils/extensions.d.ts +3 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/dist/types/utils/parseDOM.d.ts +1 -0
- package/dist/types/utils/url.d.ts +15 -0
- package/dist/types/utils/uuid.d.ts +5 -0
- package/document-fixtures/unsupported-content.json +526 -0
- package/json-schema/v1/full.json +2536 -0
- package/json-schema/v1/stage-0.json +2737 -0
- package/package.json +63 -0
- package/steps/package.json +7 -0
- package/test-helpers/html-helpers.ts +40 -0
- package/test-helpers/matches.ts +8 -0
- package/test-helpers/schema-builder.ts +329 -0
- package/test-helpers/schema.ts +79 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.emoji = void 0;
|
|
7
|
+
|
|
8
|
+
var _emoji = require("../../utils/confluence/emoji");
|
|
9
|
+
|
|
10
|
+
var emoji = {
|
|
11
|
+
inline: true,
|
|
12
|
+
group: 'inline',
|
|
13
|
+
selectable: true,
|
|
14
|
+
attrs: {
|
|
15
|
+
shortName: {
|
|
16
|
+
default: ''
|
|
17
|
+
},
|
|
18
|
+
id: {
|
|
19
|
+
default: ''
|
|
20
|
+
},
|
|
21
|
+
text: {
|
|
22
|
+
default: ''
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
parseDOM: [{
|
|
26
|
+
tag: 'span[data-emoji-short-name]',
|
|
27
|
+
getAttrs: function getAttrs(domNode) {
|
|
28
|
+
var dom = domNode;
|
|
29
|
+
return {
|
|
30
|
+
shortName: dom.getAttribute('data-emoji-short-name') || emoji.attrs.shortName.default,
|
|
31
|
+
id: dom.getAttribute('data-emoji-id') || emoji.attrs.id.default,
|
|
32
|
+
text: dom.getAttribute('data-emoji-text') || emoji.attrs.text.default
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}, // Handle copy/paste from old <ac:emoticon />
|
|
36
|
+
{
|
|
37
|
+
tag: 'img[data-emoticon-name]',
|
|
38
|
+
getAttrs: function getAttrs(dom) {
|
|
39
|
+
return (0, _emoji.acNameToEmoji)(dom.getAttribute('data-emoticon-name'));
|
|
40
|
+
}
|
|
41
|
+
}, // Handle copy/paste from old <ac:hipchat-emoticons />
|
|
42
|
+
{
|
|
43
|
+
tag: 'img[data-hipchat-emoticon]',
|
|
44
|
+
getAttrs: function getAttrs(dom) {
|
|
45
|
+
return (0, _emoji.acShortcutToEmoji)(dom.getAttribute('data-hipchat-emoticon'));
|
|
46
|
+
}
|
|
47
|
+
}, // Handle copy/paste from bitbucket's <img class="emoji" />
|
|
48
|
+
{
|
|
49
|
+
tag: 'img.emoji[data-emoji-short-name]',
|
|
50
|
+
getAttrs: function getAttrs(domNode) {
|
|
51
|
+
var dom = domNode;
|
|
52
|
+
return {
|
|
53
|
+
shortName: dom.getAttribute('data-emoji-short-name') || emoji.attrs.shortName.default,
|
|
54
|
+
id: dom.getAttribute('data-emoji-id') || emoji.attrs.id.default,
|
|
55
|
+
text: dom.getAttribute('data-emoji-text') || emoji.attrs.text.default
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}],
|
|
59
|
+
toDOM: function toDOM(node) {
|
|
60
|
+
var _node$attrs = node.attrs,
|
|
61
|
+
shortName = _node$attrs.shortName,
|
|
62
|
+
id = _node$attrs.id,
|
|
63
|
+
text = _node$attrs.text;
|
|
64
|
+
var attrs = {
|
|
65
|
+
'data-emoji-short-name': shortName,
|
|
66
|
+
'data-emoji-id': id,
|
|
67
|
+
'data-emoji-text': text,
|
|
68
|
+
contenteditable: 'false'
|
|
69
|
+
};
|
|
70
|
+
return ['span', attrs, text];
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
exports.emoji = emoji;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.toJSON = exports.expand = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @name expand_node
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @name expand_with_no_mark_node
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @name expand_with_breakout_mark_node
|
|
18
|
+
*/
|
|
19
|
+
function getExpandAttrs(domNode) {
|
|
20
|
+
var dom = domNode;
|
|
21
|
+
return {
|
|
22
|
+
title: dom.getAttribute('data-title'),
|
|
23
|
+
__expanded: true
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var expand = {
|
|
28
|
+
inline: false,
|
|
29
|
+
group: 'block',
|
|
30
|
+
marks: 'link dataConsumer unsupportedMark unsupportedNodeAttribute',
|
|
31
|
+
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaGroup | mediaSingle | decisionList | taskList | table | blockCard | embedCard | extension | unsupportedBlock)+',
|
|
32
|
+
isolating: true,
|
|
33
|
+
selectable: true,
|
|
34
|
+
attrs: {
|
|
35
|
+
title: {
|
|
36
|
+
default: ''
|
|
37
|
+
},
|
|
38
|
+
__expanded: {
|
|
39
|
+
default: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
parseDOM: [{
|
|
43
|
+
context: 'table//',
|
|
44
|
+
tag: 'div[data-node-type="expand"]',
|
|
45
|
+
getAttrs: getExpandAttrs
|
|
46
|
+
}, {
|
|
47
|
+
context: 'expand//',
|
|
48
|
+
tag: '[data-node-type="expand"]',
|
|
49
|
+
skip: true
|
|
50
|
+
}, {
|
|
51
|
+
context: 'nestedExpand//',
|
|
52
|
+
tag: '[data-node-type="expand"]',
|
|
53
|
+
skip: true
|
|
54
|
+
}, {
|
|
55
|
+
tag: '[data-node-type="nestedExpand"] button',
|
|
56
|
+
ignore: true
|
|
57
|
+
}, {
|
|
58
|
+
tag: '[data-node-type="expand"] button',
|
|
59
|
+
ignore: true
|
|
60
|
+
}, {
|
|
61
|
+
tag: 'div[data-node-type="expand"]',
|
|
62
|
+
getAttrs: getExpandAttrs
|
|
63
|
+
}],
|
|
64
|
+
toDOM: function toDOM(node) {
|
|
65
|
+
var attrs = {
|
|
66
|
+
'data-node-type': 'expand',
|
|
67
|
+
'data-title': node.attrs.title,
|
|
68
|
+
'data-expanded': node.attrs.__expanded
|
|
69
|
+
};
|
|
70
|
+
return ['div', attrs, 0];
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
exports.expand = expand;
|
|
74
|
+
|
|
75
|
+
var toJSON = function toJSON(node) {
|
|
76
|
+
return {
|
|
77
|
+
attrs: Object.keys(node.attrs).filter(function (key) {
|
|
78
|
+
return !key.startsWith('__');
|
|
79
|
+
}).reduce(function (obj, key) {
|
|
80
|
+
obj[key] = node.attrs[key];
|
|
81
|
+
return obj;
|
|
82
|
+
}, {})
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
exports.toJSON = toJSON;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.extension = void 0;
|
|
7
|
+
|
|
8
|
+
var _extensions = require("../../utils/extensions");
|
|
9
|
+
|
|
10
|
+
var createExtensionNodeSpec = function createExtensionNodeSpec() {
|
|
11
|
+
var nodeSpec = {
|
|
12
|
+
inline: false,
|
|
13
|
+
group: 'block',
|
|
14
|
+
atom: true,
|
|
15
|
+
selectable: true,
|
|
16
|
+
attrs: {
|
|
17
|
+
extensionType: {
|
|
18
|
+
default: ''
|
|
19
|
+
},
|
|
20
|
+
extensionKey: {
|
|
21
|
+
default: ''
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
default: null
|
|
25
|
+
},
|
|
26
|
+
text: {
|
|
27
|
+
default: null
|
|
28
|
+
},
|
|
29
|
+
layout: {
|
|
30
|
+
default: 'default'
|
|
31
|
+
},
|
|
32
|
+
localId: {
|
|
33
|
+
default: null
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
parseDOM: [{
|
|
37
|
+
tag: '[data-node-type="extension"]',
|
|
38
|
+
getAttrs: function getAttrs(domNode) {
|
|
39
|
+
return (0, _extensions.getExtensionAttrs)(domNode);
|
|
40
|
+
}
|
|
41
|
+
}],
|
|
42
|
+
toDOM: function toDOM(node) {
|
|
43
|
+
var attrs = {
|
|
44
|
+
'data-node-type': 'extension',
|
|
45
|
+
'data-extension-type': node.attrs.extensionType,
|
|
46
|
+
'data-extension-key': node.attrs.extensionKey,
|
|
47
|
+
'data-text': node.attrs.text,
|
|
48
|
+
'data-parameters': JSON.stringify(node.attrs.parameters),
|
|
49
|
+
'data-layout': node.attrs.layout,
|
|
50
|
+
'data-local-id:': node.attrs.localId
|
|
51
|
+
};
|
|
52
|
+
return ['div', attrs];
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return nodeSpec;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var extension = createExtensionNodeSpec();
|
|
59
|
+
exports.extension = extension;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.hardBreak = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @name hardBreak_node
|
|
10
|
+
*/
|
|
11
|
+
var hardBreak = {
|
|
12
|
+
inline: true,
|
|
13
|
+
group: 'inline',
|
|
14
|
+
selectable: false,
|
|
15
|
+
parseDOM: [{
|
|
16
|
+
tag: 'br'
|
|
17
|
+
}],
|
|
18
|
+
toDOM: function toDOM() {
|
|
19
|
+
return ['br'];
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.hardBreak = hardBreak;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.heading = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @name heading_node
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @name heading_with_no_marks_node
|
|
14
|
+
*/
|
|
15
|
+
// Check `paragraph` node for why we are doing things like this
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @name heading_with_alignment_node
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @name heading_with_indentation_node
|
|
23
|
+
*/
|
|
24
|
+
var heading = {
|
|
25
|
+
attrs: {
|
|
26
|
+
level: {
|
|
27
|
+
default: 1
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
content: "inline*",
|
|
31
|
+
group: 'block',
|
|
32
|
+
defining: true,
|
|
33
|
+
selectable: false,
|
|
34
|
+
parseDOM: [{
|
|
35
|
+
tag: 'h1',
|
|
36
|
+
attrs: {
|
|
37
|
+
level: 1
|
|
38
|
+
}
|
|
39
|
+
}, {
|
|
40
|
+
tag: 'h2',
|
|
41
|
+
attrs: {
|
|
42
|
+
level: 2
|
|
43
|
+
}
|
|
44
|
+
}, {
|
|
45
|
+
tag: 'h3',
|
|
46
|
+
attrs: {
|
|
47
|
+
level: 3
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
tag: 'h4',
|
|
51
|
+
attrs: {
|
|
52
|
+
level: 4
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
55
|
+
tag: 'h5',
|
|
56
|
+
attrs: {
|
|
57
|
+
level: 5
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
tag: 'h6',
|
|
61
|
+
attrs: {
|
|
62
|
+
level: 6
|
|
63
|
+
}
|
|
64
|
+
}],
|
|
65
|
+
toDOM: function toDOM(node) {
|
|
66
|
+
return ['h' + node.attrs['level'], 0];
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.heading = heading;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.image = void 0;
|
|
7
|
+
var image = {
|
|
8
|
+
group: 'inline',
|
|
9
|
+
inline: true,
|
|
10
|
+
attrs: {
|
|
11
|
+
src: {
|
|
12
|
+
default: ''
|
|
13
|
+
},
|
|
14
|
+
alt: {
|
|
15
|
+
default: ''
|
|
16
|
+
},
|
|
17
|
+
title: {
|
|
18
|
+
default: null
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
draggable: true,
|
|
22
|
+
parseDOM: [{
|
|
23
|
+
tag: 'img[src^="data:image/"]',
|
|
24
|
+
ignore: true
|
|
25
|
+
}, {
|
|
26
|
+
tag: 'img[src]',
|
|
27
|
+
getAttrs: function getAttrs(domNode) {
|
|
28
|
+
var dom = domNode;
|
|
29
|
+
return {
|
|
30
|
+
src: dom.getAttribute('src'),
|
|
31
|
+
alt: dom.getAttribute('alt'),
|
|
32
|
+
title: dom.getAttribute('title')
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}],
|
|
36
|
+
toDOM: function toDOM(node) {
|
|
37
|
+
return ['img', node.attrs];
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.image = image;
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports, "expand", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _expand.expand;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "expandToJSON", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function get() {
|
|
17
|
+
return _expand.toJSON;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "confluenceJiraIssue", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function get() {
|
|
23
|
+
return _confluenceJiraIssue.confluenceJiraIssue;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "confluenceUnsupportedBlock", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function get() {
|
|
29
|
+
return _confluenceUnsupportedBlock.confluenceUnsupportedBlock;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "confluenceUnsupportedInline", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function get() {
|
|
35
|
+
return _confluenceUnsupportedInline.confluenceUnsupportedInline;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "doc", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _doc.doc;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "blockquote", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function get() {
|
|
47
|
+
return _blockquote.blockquote;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "bulletList", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function get() {
|
|
53
|
+
return _bulletList.bulletList;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "bulletListSelector", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
return _bulletList.bulletListSelector;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "codeBlock", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function get() {
|
|
65
|
+
return _codeBlock.codeBlock;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "codeBlockToJSON", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function get() {
|
|
71
|
+
return _codeBlock.toJSON;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "hardBreak", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function get() {
|
|
77
|
+
return _hardBreak.hardBreak;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "heading", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _heading.heading;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "rule", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _rule.rule;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "orderedList", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function get() {
|
|
95
|
+
return _orderedList.orderedList;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "orderedListSelector", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _orderedList.orderedListSelector;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "paragraph", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function get() {
|
|
107
|
+
return _paragraph.paragraph;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "emoji", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function get() {
|
|
113
|
+
return _emoji.emoji;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "image", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function get() {
|
|
119
|
+
return _image.image;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "mention", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function get() {
|
|
125
|
+
return _mention.mention;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "mentionToJSON", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function get() {
|
|
131
|
+
return _mention.toJSON;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "listItem", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function get() {
|
|
137
|
+
return _listItem.listItem;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "panel", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function get() {
|
|
143
|
+
return _panel.panel;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "customPanel", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function get() {
|
|
149
|
+
return _panel.customPanel;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "PanelType", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function get() {
|
|
155
|
+
return _panel.PanelType;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "text", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function get() {
|
|
161
|
+
return _text.text;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "unknownBlock", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function get() {
|
|
167
|
+
return _unknownBlock.default;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, "caption", {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function get() {
|
|
173
|
+
return _caption.caption;
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "media", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function get() {
|
|
179
|
+
return _media.media;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "copyPrivateMediaAttributes", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function get() {
|
|
185
|
+
return _media.copyPrivateAttributes;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "mediaToJSON", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function get() {
|
|
191
|
+
return _media.toJSON;
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "mediaGroup", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function get() {
|
|
197
|
+
return _mediaGroup.mediaGroup;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "mediaInline", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function get() {
|
|
203
|
+
return _mediaInline.mediaInline;
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(exports, "mediaSingle", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function get() {
|
|
209
|
+
return _mediaSingle.mediaSingle;
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "mediaSingleWithCaption", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function get() {
|
|
215
|
+
return _mediaSingle.mediaSingleWithCaption;
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "mediaSingleToJSON", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function get() {
|
|
221
|
+
return _mediaSingle.toJSON;
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(exports, "table", {
|
|
225
|
+
enumerable: true,
|
|
226
|
+
get: function get() {
|
|
227
|
+
return _tableNodes.table;
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "tableToJSON", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function get() {
|
|
233
|
+
return _tableNodes.tableToJSON;
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "tableCell", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function get() {
|
|
239
|
+
return _tableNodes.tableCell;
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "toJSONTableCell", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function get() {
|
|
245
|
+
return _tableNodes.toJSONTableCell;
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
Object.defineProperty(exports, "tableHeader", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: function get() {
|
|
251
|
+
return _tableNodes.tableHeader;
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "toJSONTableHeader", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function get() {
|
|
257
|
+
return _tableNodes.toJSONTableHeader;
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(exports, "tableRow", {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: function get() {
|
|
263
|
+
return _tableNodes.tableRow;
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "tableBackgroundColorPalette", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function get() {
|
|
269
|
+
return _tableNodes.tableBackgroundColorPalette;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
Object.defineProperty(exports, "tableBackgroundBorderColor", {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: function get() {
|
|
275
|
+
return _tableNodes.tableBackgroundBorderColor;
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
Object.defineProperty(exports, "tableBackgroundColorNames", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function get() {
|
|
281
|
+
return _tableNodes.tableBackgroundColorNames;
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
Object.defineProperty(exports, "getCellAttrs", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: function get() {
|
|
287
|
+
return _tableNodes.getCellAttrs;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
Object.defineProperty(exports, "getCellDomAttrs", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function get() {
|
|
293
|
+
return _tableNodes.getCellDomAttrs;
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
Object.defineProperty(exports, "tablePrefixSelector", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function get() {
|
|
299
|
+
return _tableNodes.tablePrefixSelector;
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(exports, "tableCellSelector", {
|
|
303
|
+
enumerable: true,
|
|
304
|
+
get: function get() {
|
|
305
|
+
return _tableNodes.tableCellSelector;
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
Object.defineProperty(exports, "tableHeaderSelector", {
|
|
309
|
+
enumerable: true,
|
|
310
|
+
get: function get() {
|
|
311
|
+
return _tableNodes.tableHeaderSelector;
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
Object.defineProperty(exports, "tableCellContentWrapperSelector", {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function get() {
|
|
317
|
+
return _tableNodes.tableCellContentWrapperSelector;
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
Object.defineProperty(exports, "tableCellContentDomSelector", {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
get: function get() {
|
|
323
|
+
return _tableNodes.tableCellContentDomSelector;
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
Object.defineProperty(exports, "decisionList", {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function get() {
|
|
329
|
+
return _decisionList.decisionList;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
Object.defineProperty(exports, "decisionListSelector", {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function get() {
|
|
335
|
+
return _decisionList.decisionListSelector;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
Object.defineProperty(exports, "decisionItem", {
|
|
339
|
+
enumerable: true,
|
|
340
|
+
get: function get() {
|
|
341
|
+
return _decisionItem.decisionItem;
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(exports, "taskList", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function get() {
|
|
347
|
+
return _taskList.taskList;
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
Object.defineProperty(exports, "taskListSelector", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function get() {
|
|
353
|
+
return _taskList.taskListSelector;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
Object.defineProperty(exports, "taskItem", {
|
|
357
|
+
enumerable: true,
|
|
358
|
+
get: function get() {
|
|
359
|
+
return _taskItem.taskItem;
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
Object.defineProperty(exports, "extension", {
|
|
363
|
+
enumerable: true,
|
|
364
|
+
get: function get() {
|
|
365
|
+
return _extension.extension;
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
Object.defineProperty(exports, "inlineExtension", {
|
|
369
|
+
enumerable: true,
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _inlineExtension.inlineExtension;
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
Object.defineProperty(exports, "bodiedExtension", {
|
|
375
|
+
enumerable: true,
|
|
376
|
+
get: function get() {
|
|
377
|
+
return _bodiedExtension.bodiedExtension;
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
Object.defineProperty(exports, "date", {
|
|
381
|
+
enumerable: true,
|
|
382
|
+
get: function get() {
|
|
383
|
+
return _date.date;
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
Object.defineProperty(exports, "placeholder", {
|
|
387
|
+
enumerable: true,
|
|
388
|
+
get: function get() {
|
|
389
|
+
return _placeholder.placeholder;
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
Object.defineProperty(exports, "layoutSection", {
|
|
393
|
+
enumerable: true,
|
|
394
|
+
get: function get() {
|
|
395
|
+
return _layoutSection.layoutSection;
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
Object.defineProperty(exports, "layoutSectionWithSingleColumn", {
|
|
399
|
+
enumerable: true,
|
|
400
|
+
get: function get() {
|
|
401
|
+
return _layoutSection.layoutSectionWithSingleColumn;
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
Object.defineProperty(exports, "layoutColumn", {
|
|
405
|
+
enumerable: true,
|
|
406
|
+
get: function get() {
|
|
407
|
+
return _layoutColumn.layoutColumn;
|
|
408
|
+
}
|
|
409
|
+
});
|
|
410
|
+
Object.defineProperty(exports, "inlineCard", {
|
|
411
|
+
enumerable: true,
|
|
412
|
+
get: function get() {
|
|
413
|
+
return _inlineCard.inlineCard;
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
Object.defineProperty(exports, "blockCard", {
|
|
417
|
+
enumerable: true,
|
|
418
|
+
get: function get() {
|
|
419
|
+
return _blockCard.blockCard;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
Object.defineProperty(exports, "unsupportedBlock", {
|
|
423
|
+
enumerable: true,
|
|
424
|
+
get: function get() {
|
|
425
|
+
return _unsupportedBlock.unsupportedBlock;
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
Object.defineProperty(exports, "unsupportedInline", {
|
|
429
|
+
enumerable: true,
|
|
430
|
+
get: function get() {
|
|
431
|
+
return _unsupportedInline.unsupportedInline;
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
Object.defineProperty(exports, "status", {
|
|
435
|
+
enumerable: true,
|
|
436
|
+
get: function get() {
|
|
437
|
+
return _status.status;
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
Object.defineProperty(exports, "nestedExpand", {
|
|
441
|
+
enumerable: true,
|
|
442
|
+
get: function get() {
|
|
443
|
+
return _nestedExpand.nestedExpand;
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
Object.defineProperty(exports, "embedCard", {
|
|
447
|
+
enumerable: true,
|
|
448
|
+
get: function get() {
|
|
449
|
+
return _embedCard.embedCard;
|
|
450
|
+
}
|
|
451
|
+
});
|
|
452
|
+
|
|
453
|
+
var _expand = require("./expand");
|
|
454
|
+
|
|
455
|
+
var _confluenceJiraIssue = require("./confluence-jira-issue");
|
|
456
|
+
|
|
457
|
+
var _confluenceUnsupportedBlock = require("./confluence-unsupported-block");
|
|
458
|
+
|
|
459
|
+
var _confluenceUnsupportedInline = require("./confluence-unsupported-inline");
|
|
460
|
+
|
|
461
|
+
var _doc = require("./doc");
|
|
462
|
+
|
|
463
|
+
var _blockquote = require("./blockquote");
|
|
464
|
+
|
|
465
|
+
var _bulletList = require("./bullet-list");
|
|
466
|
+
|
|
467
|
+
var _codeBlock = require("./code-block");
|
|
468
|
+
|
|
469
|
+
var _hardBreak = require("./hard-break");
|
|
470
|
+
|
|
471
|
+
var _heading = require("./heading");
|
|
472
|
+
|
|
473
|
+
var _rule = require("./rule");
|
|
474
|
+
|
|
475
|
+
var _orderedList = require("./ordered-list");
|
|
476
|
+
|
|
477
|
+
var _paragraph = require("./paragraph");
|
|
478
|
+
|
|
479
|
+
var _emoji = require("./emoji");
|
|
480
|
+
|
|
481
|
+
var _image = require("./image");
|
|
482
|
+
|
|
483
|
+
var _mention = require("./mention");
|
|
484
|
+
|
|
485
|
+
var _listItem = require("./list-item");
|
|
486
|
+
|
|
487
|
+
var _panel = require("./panel");
|
|
488
|
+
|
|
489
|
+
var _text = require("./text");
|
|
490
|
+
|
|
491
|
+
var _unknownBlock = _interopRequireDefault(require("./unknown-block"));
|
|
492
|
+
|
|
493
|
+
var _caption = require("./caption");
|
|
494
|
+
|
|
495
|
+
var _media = require("./media");
|
|
496
|
+
|
|
497
|
+
var _mediaGroup = require("./media-group");
|
|
498
|
+
|
|
499
|
+
var _mediaInline = require("./media-inline");
|
|
500
|
+
|
|
501
|
+
var _mediaSingle = require("./media-single");
|
|
502
|
+
|
|
503
|
+
var _tableNodes = require("./tableNodes");
|
|
504
|
+
|
|
505
|
+
var _decisionList = require("./decision-list");
|
|
506
|
+
|
|
507
|
+
var _decisionItem = require("./decision-item");
|
|
508
|
+
|
|
509
|
+
var _taskList = require("./task-list");
|
|
510
|
+
|
|
511
|
+
var _taskItem = require("./task-item");
|
|
512
|
+
|
|
513
|
+
var _extension = require("./extension");
|
|
514
|
+
|
|
515
|
+
var _inlineExtension = require("./inline-extension");
|
|
516
|
+
|
|
517
|
+
var _bodiedExtension = require("./bodied-extension");
|
|
518
|
+
|
|
519
|
+
var _date = require("./date");
|
|
520
|
+
|
|
521
|
+
var _placeholder = require("./placeholder");
|
|
522
|
+
|
|
523
|
+
var _layoutSection = require("./layout-section");
|
|
524
|
+
|
|
525
|
+
var _layoutColumn = require("./layout-column");
|
|
526
|
+
|
|
527
|
+
var _inlineCard = require("./inline-card");
|
|
528
|
+
|
|
529
|
+
var _blockCard = require("./block-card");
|
|
530
|
+
|
|
531
|
+
var _unsupportedBlock = require("./unsupported-block");
|
|
532
|
+
|
|
533
|
+
var _unsupportedInline = require("./unsupported-inline");
|
|
534
|
+
|
|
535
|
+
var _status = require("./status");
|
|
536
|
+
|
|
537
|
+
var _nestedExpand = require("./nested-expand");
|
|
538
|
+
|
|
539
|
+
var _embedCard = require("./embed-card");
|