roosterjs-content-model-types 9.16.0 → 9.18.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.
Files changed (28) hide show
  1. package/lib/contentModel/format/ContentModelTableFormat.d.ts +2 -1
  2. package/lib/contentModel/format/ContentModelTableFormat.js.map +1 -1
  3. package/lib/contentModel/format/FormatHandlerTypeMap.d.ts +5 -0
  4. package/lib/contentModel/format/FormatHandlerTypeMap.js.map +1 -1
  5. package/lib/contentModel/format/formatParts/AriaFormat.d.ts +13 -0
  6. package/lib/contentModel/format/formatParts/AriaFormat.js +3 -0
  7. package/lib/contentModel/format/formatParts/AriaFormat.js.map +1 -0
  8. package/lib/index.d.ts +1 -0
  9. package/lib/index.js.map +1 -1
  10. package/lib-amd/contentModel/format/ContentModelTableFormat.d.ts +2 -1
  11. package/lib-amd/contentModel/format/ContentModelTableFormat.js.map +1 -1
  12. package/lib-amd/contentModel/format/FormatHandlerTypeMap.d.ts +5 -0
  13. package/lib-amd/contentModel/format/FormatHandlerTypeMap.js.map +1 -1
  14. package/lib-amd/contentModel/format/formatParts/AriaFormat.d.ts +13 -0
  15. package/lib-amd/contentModel/format/formatParts/AriaFormat.js +5 -0
  16. package/lib-amd/contentModel/format/formatParts/AriaFormat.js.map +1 -0
  17. package/lib-amd/index.d.ts +1 -0
  18. package/lib-amd/index.js.map +1 -1
  19. package/lib-mjs/contentModel/format/ContentModelTableFormat.d.ts +2 -1
  20. package/lib-mjs/contentModel/format/ContentModelTableFormat.js.map +1 -1
  21. package/lib-mjs/contentModel/format/FormatHandlerTypeMap.d.ts +5 -0
  22. package/lib-mjs/contentModel/format/FormatHandlerTypeMap.js.map +1 -1
  23. package/lib-mjs/contentModel/format/formatParts/AriaFormat.d.ts +13 -0
  24. package/lib-mjs/contentModel/format/formatParts/AriaFormat.js +2 -0
  25. package/lib-mjs/contentModel/format/formatParts/AriaFormat.js.map +1 -0
  26. package/lib-mjs/index.d.ts +1 -0
  27. package/lib-mjs/index.js.map +1 -1
  28. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
2
3
  import type { BorderFormat } from './formatParts/BorderFormat';
3
4
  import type { ContentModelBlockFormat } from './ContentModelBlockFormat';
@@ -10,4 +11,4 @@ import type { SizeFormat } from './formatParts/SizeFormat';
10
11
  /**
11
12
  * Format of Table
12
13
  */
13
- export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
14
+ export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & AriaFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
1
+ {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n AriaFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';
2
3
  import type { BoldFormat } from './formatParts/BoldFormat';
3
4
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
@@ -36,6 +37,10 @@ import type { WordBreakFormat } from './formatParts/WordBreakFormat';
36
37
  * Represents a record of all format handlers
37
38
  */
38
39
  export interface FormatHandlerTypeMap {
40
+ /**
41
+ * Format for AriaFormat
42
+ */
43
+ aria: AriaFormat;
39
44
  /**
40
45
  * Format for BackgroundColorFormat
41
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
1
+ {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for AriaFormat\n */\n aria: AriaFormat;\n\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Format of background color
3
+ */
4
+ export declare type AriaFormat = {
5
+ /**
6
+ * Aria-describedby attribute
7
+ */
8
+ ariaDescribedBy?: string;
9
+ /**
10
+ * Title attribute
11
+ */
12
+ title?: string;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AriaFormat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AriaFormat.js","sourceRoot":"","sources":["../../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/formatParts/AriaFormat.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Format of background color\n */\nexport type AriaFormat = {\n /**\n * Aria-describedby attribute\n */\n ariaDescribedBy?: string;\n\n /**\n * Title attribute\n */\n title?: string;\n};\n"]}
package/lib/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { ContentModelFormatMap } from './contentModel/format/ContentModelFormatM
15
15
  export { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';
16
16
  export { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';
17
17
  export { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';
18
+ export { AriaFormat } from './contentModel/format/formatParts/AriaFormat';
18
19
  export { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';
19
20
  export { BoldFormat } from './contentModel/format/formatParts/BoldFormat';
20
21
  export { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { AriaFormat } from './contentModel/format/formatParts/AriaFormat';\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
2
3
  import type { BorderFormat } from './formatParts/BorderFormat';
3
4
  import type { ContentModelBlockFormat } from './ContentModelBlockFormat';
@@ -10,4 +11,4 @@ import type { SizeFormat } from './formatParts/SizeFormat';
10
11
  /**
11
12
  * Format of Table
12
13
  */
13
- export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
14
+ export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & AriaFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
1
+ {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n AriaFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';
2
3
  import type { BoldFormat } from './formatParts/BoldFormat';
3
4
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
@@ -36,6 +37,10 @@ import type { WordBreakFormat } from './formatParts/WordBreakFormat';
36
37
  * Represents a record of all format handlers
37
38
  */
38
39
  export interface FormatHandlerTypeMap {
40
+ /**
41
+ * Format for AriaFormat
42
+ */
43
+ aria: AriaFormat;
39
44
  /**
40
45
  * Format for BackgroundColorFormat
41
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
1
+ {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for AriaFormat\n */\n aria: AriaFormat;\n\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Format of background color
3
+ */
4
+ export declare type AriaFormat = {
5
+ /**
6
+ * Aria-describedby attribute
7
+ */
8
+ ariaDescribedBy?: string;
9
+ /**
10
+ * Title attribute
11
+ */
12
+ title?: string;
13
+ };
@@ -0,0 +1,5 @@
1
+ define(["require", "exports"], function (require, exports) {
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ });
5
+ //# sourceMappingURL=AriaFormat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AriaFormat.js","sourceRoot":"","sources":["../../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/formatParts/AriaFormat.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Format of background color\n */\nexport type AriaFormat = {\n /**\n * Aria-describedby attribute\n */\n ariaDescribedBy?: string;\n\n /**\n * Title attribute\n */\n title?: string;\n};\n"]}
@@ -15,6 +15,7 @@ export { ContentModelFormatMap } from './contentModel/format/ContentModelFormatM
15
15
  export { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';
16
16
  export { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';
17
17
  export { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';
18
+ export { AriaFormat } from './contentModel/format/formatParts/AriaFormat';
18
19
  export { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';
19
20
  export { BoldFormat } from './contentModel/format/formatParts/BoldFormat';
20
21
  export { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { AriaFormat } from './contentModel/format/formatParts/AriaFormat';\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
2
3
  import type { BorderFormat } from './formatParts/BorderFormat';
3
4
  import type { ContentModelBlockFormat } from './ContentModelBlockFormat';
@@ -10,4 +11,4 @@ import type { SizeFormat } from './formatParts/SizeFormat';
10
11
  /**
11
12
  * Format of Table
12
13
  */
13
- export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
14
+ export declare type ContentModelTableFormat = ContentModelBlockFormat & IdFormat & AriaFormat & BorderFormat & BorderBoxFormat & SpacingFormat & MarginFormat & DisplayFormat & TableLayoutFormat & SizeFormat;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
1
+ {"version":3,"file":"ContentModelTableFormat.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/ContentModelTableFormat.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { ContentModelBlockFormat } from './ContentModelBlockFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\n\n/**\n * Format of Table\n */\nexport type ContentModelTableFormat = ContentModelBlockFormat &\n IdFormat &\n AriaFormat &\n BorderFormat &\n BorderBoxFormat &\n SpacingFormat &\n MarginFormat &\n DisplayFormat &\n TableLayoutFormat &\n SizeFormat;\n"]}
@@ -1,3 +1,4 @@
1
+ import type { AriaFormat } from './formatParts/AriaFormat';
1
2
  import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';
2
3
  import type { BoldFormat } from './formatParts/BoldFormat';
3
4
  import type { BorderBoxFormat } from './formatParts/BorderBoxFormat';
@@ -36,6 +37,10 @@ import type { WordBreakFormat } from './formatParts/WordBreakFormat';
36
37
  * Represents a record of all format handlers
37
38
  */
38
39
  export interface FormatHandlerTypeMap {
40
+ /**
41
+ * Format for AriaFormat
42
+ */
43
+ aria: AriaFormat;
39
44
  /**
40
45
  * Format for BackgroundColorFormat
41
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
1
+ {"version":3,"file":"FormatHandlerTypeMap.js","sourceRoot":"","sources":["../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/FormatHandlerTypeMap.ts"],"names":[],"mappings":"","sourcesContent":["import type { AriaFormat } from './formatParts/AriaFormat';\nimport type { BackgroundColorFormat } from './formatParts/BackgroundColorFormat';\nimport type { BoldFormat } from './formatParts/BoldFormat';\nimport type { BorderBoxFormat } from './formatParts/BorderBoxFormat';\nimport type { BorderFormat } from './formatParts/BorderFormat';\nimport type { BoxShadowFormat } from './formatParts/BoxShadowFormat';\nimport type { DatasetFormat } from './metadata/DatasetFormat';\nimport type { DirectionFormat } from './formatParts/DirectionFormat';\nimport type { DisplayFormat } from './formatParts/DisplayFormat';\nimport type { EntityInfoFormat } from './formatParts/EntityInfoFormat';\nimport type { FloatFormat } from './formatParts/FloatFormat';\nimport type { FontFamilyFormat } from './formatParts/FontFamilyFormat';\nimport type { FontSizeFormat } from './formatParts/FontSizeFormat';\nimport type { HtmlAlignFormat } from './formatParts/HtmlAlignFormat';\nimport type { IdFormat } from './formatParts/IdFormat';\nimport type { ItalicFormat } from './formatParts/ItalicFormat';\nimport type { LetterSpacingFormat } from './formatParts/LetterSpacingFormat';\nimport type { LineHeightFormat } from './formatParts/LineHeightFormat';\nimport type { LinkFormat } from './formatParts/LinkFormat';\nimport type { ListStyleFormat } from './formatParts/ListStyleFormat';\nimport type { ListThreadFormat } from './formatParts/ListThreadFormat';\nimport type { MarginFormat } from './formatParts/MarginFormat';\nimport type { PaddingFormat } from './formatParts/PaddingFormat';\nimport type { SizeFormat } from './formatParts/SizeFormat';\nimport type { SpacingFormat } from './formatParts/SpacingFormat';\nimport type { StrikeFormat } from './formatParts/StrikeFormat';\nimport type { SuperOrSubScriptFormat } from './formatParts/SuperOrSubScriptFormat';\nimport type { TableLayoutFormat } from './formatParts/TableLayoutFormat';\nimport type { TextAlignFormat } from './formatParts/TextAlignFormat';\nimport type { TextColorFormat } from './formatParts/TextColorFormat';\nimport type { TextIndentFormat } from './formatParts/TextIndentFormat';\nimport type { UnderlineFormat } from './formatParts/UnderlineFormat';\nimport type { VerticalAlignFormat } from './formatParts/VerticalAlignFormat';\nimport type { WhiteSpaceFormat } from './formatParts/WhiteSpaceFormat';\nimport type { WordBreakFormat } from './formatParts/WordBreakFormat';\n\n/**\n * Represents a record of all format handlers\n */\nexport interface FormatHandlerTypeMap {\n /**\n * Format for AriaFormat\n */\n aria: AriaFormat;\n\n /**\n * Format for BackgroundColorFormat\n */\n backgroundColor: BackgroundColorFormat;\n\n /**\n * Format for BoldFormat\n */\n bold: BoldFormat;\n\n /**\n * Format for BorderFormat\n */\n border: BorderFormat;\n\n /**\n * Format for BorderBoxFormat\n */\n borderBox: BorderBoxFormat;\n\n /**\n * Format for BoxShadowFormat\n */\n boxShadow: BoxShadowFormat;\n\n /**\n * Format for DatasetFormat\n */\n dataset: DatasetFormat;\n\n /**\n * Format for DirectionFormat\n */\n direction: DirectionFormat;\n\n /**\n * Format for DisplayFormat\n */\n display: DisplayFormat;\n\n /**\n * Format for EntityInfoFormat and IdFormat\n */\n entity: EntityInfoFormat & IdFormat;\n\n /**\n * Format for FloatFormat\n */\n float: FloatFormat;\n\n /**\n * Format for FontFamilyFormat\n */\n fontFamily: FontFamilyFormat;\n\n /**\n * Format for FontSizeFormat\n */\n fontSize: FontSizeFormat;\n\n /**\n * Format for HtmlAlignFormat\n */\n htmlAlign: HtmlAlignFormat;\n\n /**\n * Format for IdFormat\n */\n id: IdFormat;\n\n /**\n * Format for ItalicFormat\n */\n italic: ItalicFormat;\n\n /**\n * Format for LetterSpacingFormat\n */\n letterSpacing: LetterSpacingFormat;\n\n /**\n * Format for LineHeightFormat\n */\n lineHeight: LineHeightFormat;\n\n /**\n * Format for LinkFormat\n */\n link: LinkFormat;\n\n /**\n * Format for ListThreadFormat (used by list item)\n */\n listItemThread: ListThreadFormat;\n\n /**\n * Format for ListThreadFormat (used by list level)\n */\n listLevelThread: ListThreadFormat;\n\n /**\n * Format for ListStyleFormat\n */\n listStyle: ListStyleFormat;\n\n /**\n * Format for MarginFormat\n */\n margin: MarginFormat;\n\n /**\n * Format for PaddingFormat\n */\n padding: PaddingFormat;\n\n /**\n * Format for SizeFormat\n */\n size: SizeFormat;\n\n /**\n * Format for StrikeFormat\n */\n strike: StrikeFormat;\n\n /**\n * Format for SuperOrSubScriptFormat\n */\n superOrSubScript: SuperOrSubScriptFormat;\n\n /**\n * Format for TableLayout\n */\n tableLayout: TableLayoutFormat;\n\n /**\n * Format for SpacingFormat\n */\n tableSpacing: SpacingFormat;\n\n /**\n * Format for TextAlignFormat\n */\n textAlign: TextAlignFormat;\n\n /**\n * Format for TextColorFormat\n */\n textColor: TextColorFormat;\n\n /**\n * Format for TextColorFormat, for Table Cell only\n */\n textColorOnTableCell: TextColorFormat;\n\n /**\n * Format for TextIndentFormat\n */\n textIndent: TextIndentFormat;\n\n /**\n * Format for UnderlineFormat\n */\n underline: UnderlineFormat;\n\n /**\n * Format for VerticalAlignFormat\n */\n verticalAlign: VerticalAlignFormat;\n\n /**\n * Format for WhiteSpaceFormat\n */\n whiteSpace: WhiteSpaceFormat;\n\n /**\n * Format for WordBreakFormat\n */\n wordBreak: WordBreakFormat;\n}\n\n/**\n * Key of all format handler\n */\nexport type FormatKey = keyof FormatHandlerTypeMap;\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Format of background color
3
+ */
4
+ export declare type AriaFormat = {
5
+ /**
6
+ * Aria-describedby attribute
7
+ */
8
+ ariaDescribedBy?: string;
9
+ /**
10
+ * Title attribute
11
+ */
12
+ title?: string;
13
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AriaFormat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AriaFormat.js","sourceRoot":"","sources":["../../../../../../packages/roosterjs-content-model-types/lib/contentModel/format/formatParts/AriaFormat.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Format of background color\n */\nexport type AriaFormat = {\n /**\n * Aria-describedby attribute\n */\n ariaDescribedBy?: string;\n\n /**\n * Title attribute\n */\n title?: string;\n};\n"]}
@@ -15,6 +15,7 @@ export { ContentModelFormatMap } from './contentModel/format/ContentModelFormatM
15
15
  export { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';
16
16
  export { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';
17
17
  export { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';
18
+ export { AriaFormat } from './contentModel/format/formatParts/AriaFormat';
18
19
  export { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';
19
20
  export { BoldFormat } from './contentModel/format/formatParts/BoldFormat';
20
21
  export { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/roosterjs-content-model-types/lib/index.ts"],"names":[],"mappings":"","sourcesContent":["export { ContentModelSegmentFormat } from './contentModel/format/ContentModelSegmentFormat';\nexport {\n ContentModelWithFormat,\n ReadonlyContentModelWithFormat,\n} from './contentModel/format/ContentModelWithFormat';\nexport { ContentModelTableFormat } from './contentModel/format/ContentModelTableFormat';\nexport {\n ContentModelWithDataset,\n ReadonlyContentModelWithDataset,\n ShallowMutableContentModelWithDataset,\n} from './contentModel/format/ContentModelWithDataset';\nexport { ContentModelBlockFormat } from './contentModel/format/ContentModelBlockFormat';\nexport { ContentModelTableCellFormat } from './contentModel/format/ContentModelTableCellFormat';\nexport { ContentModelListItemFormat } from './contentModel/format/ContentModelListItemFormat';\nexport { ContentModelListItemLevelFormat } from './contentModel/format/ContentModelListItemLevelFormat';\nexport { ContentModelHyperLinkFormat } from './contentModel/format/ContentModelHyperLinkFormat';\nexport { ContentModelCodeFormat } from './contentModel/format/ContentModelCodeFormat';\nexport { ContentModelFormatContainerFormat } from './contentModel/format/ContentModelFormatContainerFormat';\nexport { ContentModelDividerFormat } from './contentModel/format/ContentModelDividerFormat';\nexport { ContentModelFormatBase } from './contentModel/format/ContentModelFormatBase';\nexport { ContentModelFormatMap } from './contentModel/format/ContentModelFormatMap';\nexport { ContentModelImageFormat } from './contentModel/format/ContentModelImageFormat';\nexport { ContentModelEntityFormat } from './contentModel/format/ContentModelEntityFormat';\nexport { FormatHandlerTypeMap, FormatKey } from './contentModel/format/FormatHandlerTypeMap';\n\nexport { AriaFormat } from './contentModel/format/formatParts/AriaFormat';\nexport { BackgroundColorFormat } from './contentModel/format/formatParts/BackgroundColorFormat';\nexport { BoldFormat } from './contentModel/format/formatParts/BoldFormat';\nexport { FontFamilyFormat } from './contentModel/format/formatParts/FontFamilyFormat';\nexport { FontSizeFormat } from './contentModel/format/formatParts/FontSizeFormat';\nexport { ItalicFormat } from './contentModel/format/formatParts/ItalicFormat';\nexport { LetterSpacingFormat } from './contentModel/format/formatParts/LetterSpacingFormat';\nexport { LineHeightFormat } from './contentModel/format/formatParts/LineHeightFormat';\nexport { StrikeFormat } from './contentModel/format/formatParts/StrikeFormat';\nexport { SuperOrSubScriptFormat } from './contentModel/format/formatParts/SuperOrSubScriptFormat';\nexport { TextColorFormat } from './contentModel/format/formatParts/TextColorFormat';\nexport { UnderlineFormat } from './contentModel/format/formatParts/UnderlineFormat';\nexport { BorderBoxFormat } from './contentModel/format/formatParts/BorderBoxFormat';\nexport { VerticalAlignFormat } from './contentModel/format/formatParts/VerticalAlignFormat';\nexport { WordBreakFormat } from './contentModel/format/formatParts/WordBreakFormat';\nexport { BorderFormat } from './contentModel/format/formatParts/BorderFormat';\nexport { DirectionFormat } from './contentModel/format/formatParts/DirectionFormat';\nexport { HtmlAlignFormat } from './contentModel/format/formatParts/HtmlAlignFormat';\nexport { MarginFormat } from './contentModel/format/formatParts/MarginFormat';\nexport { PaddingFormat } from './contentModel/format/formatParts/PaddingFormat';\nexport { TextAlignFormat } from './contentModel/format/formatParts/TextAlignFormat';\nexport { TextIndentFormat } from './contentModel/format/formatParts/TextIndentFormat';\nexport { WhiteSpaceFormat } from './contentModel/format/formatParts/WhiteSpaceFormat';\nexport { DisplayFormat } from './contentModel/format/formatParts/DisplayFormat';\nexport { IdFormat } from './contentModel/format/formatParts/IdFormat';\nexport { SpacingFormat } from './contentModel/format/formatParts/SpacingFormat';\nexport { TableLayoutFormat } from './contentModel/format/formatParts/TableLayoutFormat';\nexport { LinkFormat } from './contentModel/format/formatParts/LinkFormat';\nexport { SizeFormat } from './contentModel/format/formatParts/SizeFormat';\nexport { BoxShadowFormat } from './contentModel/format/formatParts/BoxShadowFormat';\nexport { ListThreadFormat } from './contentModel/format/formatParts/ListThreadFormat';\nexport { ListStyleFormat } from './contentModel/format/formatParts/ListStyleFormat';\nexport { FloatFormat } from './contentModel/format/formatParts/FloatFormat';\nexport { EntityInfoFormat } from './contentModel/format/formatParts/EntityInfoFormat';\n\nexport { DatasetFormat, ReadonlyDatasetFormat } from './contentModel/format/metadata/DatasetFormat';\nexport { TableMetadataFormat } from './contentModel/format/metadata/TableMetadataFormat';\nexport { ListMetadataFormat } from './contentModel/format/metadata/ListMetadataFormat';\nexport {\n ImageResizeMetadataFormat,\n ImageCropMetadataFormat,\n ImageMetadataFormat,\n ImageRotateMetadataFormat,\n ImageFlipMetadataFormat,\n} from './contentModel/format/metadata/ImageMetadataFormat';\nexport { TableCellMetadataFormat } from './contentModel/format/metadata/TableCellMetadataFormat';\n\nexport { ContentModelBlockGroupType } from './contentModel/blockGroup/BlockGroupType';\nexport { ContentModelBlockType } from './contentModel/block/BlockType';\nexport { ContentModelSegmentType } from './contentModel/segment/SegmentType';\n\nexport {\n EntityLifecycleOperation,\n EntityOperation,\n EntityRemovalOperation,\n EntityFormatOperation,\n} from './enum/EntityOperation';\nexport {\n TableOperation,\n TableVerticalInsertOperation,\n TableHorizontalInsertOperation,\n TableDeleteOperation,\n TableVerticalMergeOperation,\n TableHorizontalMergeOperation,\n TableCellMergeOperation,\n TableSplitOperation,\n TableAlignOperation,\n TableCellHorizontalAlignOperation,\n TableCellVerticalAlignOperation,\n} from './enum/TableOperation';\nexport { PasteType } from './enum/PasteType';\nexport { BorderOperations } from './enum/BorderOperations';\nexport { DeleteResult } from './enum/DeleteResult';\nexport { InsertEntityPosition } from './enum/InsertEntityPosition';\nexport { ExportContentMode } from './enum/ExportContentMode';\n\nexport {\n ContentModelBlock,\n ReadonlyContentModelBlock,\n ShallowMutableContentModelBlock,\n} from './contentModel/block/ContentModelBlock';\nexport {\n ContentModelParagraph,\n ContentModelParagraphCommon,\n ReadonlyContentModelParagraph,\n ShallowMutableContentModelParagraph,\n} from './contentModel/block/ContentModelParagraph';\nexport {\n ContentModelTable,\n ReadonlyContentModelTable,\n ShallowMutableContentModelTable,\n} from './contentModel/block/ContentModelTable';\nexport {\n ContentModelDivider,\n ContentModelDividerCommon,\n ReadonlyContentModelDivider,\n} from './contentModel/block/ContentModelDivider';\nexport {\n ContentModelBlockBase,\n ContentModelBlockBaseCommon,\n ReadonlyContentModelBlockBase,\n ShallowMutableContentModelBlockBase,\n} from './contentModel/block/ContentModelBlockBase';\nexport { ContentModelBlockWithCache } from './contentModel/common/ContentModelBlockWithCache';\nexport {\n ContentModelTableRow,\n ContentModelTableRowCommon,\n ReadonlyContentModelTableRow,\n ShallowMutableContentModelTableRow,\n} from './contentModel/block/ContentModelTableRow';\n\nexport { ContentModelEntity } from './contentModel/entity/ContentModelEntity';\n\nexport {\n ContentModelDocument,\n ContentModelDocumentCommon,\n ReadonlyContentModelDocument,\n ShallowMutableContentModelDocument,\n} from './contentModel/blockGroup/ContentModelDocument';\nexport {\n ContentModelBlockGroupBase,\n ContentModelBlockGroupBaseCommon,\n ReadonlyContentModelBlockGroupBase,\n ShallowMutableContentModelBlockGroupBase,\n} from './contentModel/blockGroup/ContentModelBlockGroupBase';\nexport {\n ContentModelFormatContainer,\n ContentModelFormatContainerCommon,\n ReadonlyContentModelFormatContainer,\n ShallowMutableContentModelFormatContainer,\n} from './contentModel/blockGroup/ContentModelFormatContainer';\nexport {\n ContentModelGeneralBlock,\n ContentModelGeneralBlockCommon,\n ReadonlyContentModelGeneralBlock,\n ShallowMutableContentModelGeneralBlock,\n} from './contentModel/blockGroup/ContentModelGeneralBlock';\nexport {\n ContentModelListItem,\n ReadonlyContentModelListItem,\n ShallowMutableContentModelListItem,\n} from './contentModel/blockGroup/ContentModelListItem';\nexport {\n ContentModelTableCell,\n ContentModelTableCellCommon,\n ReadonlyContentModelTableCell,\n ShallowMutableContentModelTableCell,\n} from './contentModel/blockGroup/ContentModelTableCell';\nexport {\n ContentModelBlockGroup,\n ReadonlyContentModelBlockGroup,\n ShallowMutableContentModelBlockGroup,\n} from './contentModel/blockGroup/ContentModelBlockGroup';\n\nexport { ContentModelBr, ReadonlyContentModelBr } from './contentModel/segment/ContentModelBr';\nexport {\n ContentModelGeneralSegment,\n ReadonlyContentModelGeneralSegment,\n ShallowMutableContentModelGeneralSegment,\n} from './contentModel/segment/ContentModelGeneralSegment';\nexport {\n ContentModelImage,\n ContentModelImageCommon,\n ReadonlyContentModelImage,\n} from './contentModel/segment/ContentModelImage';\nexport {\n ContentModelText,\n ContentModelTextCommon,\n ReadonlyContentModelText,\n} from './contentModel/segment/ContentModelText';\nexport {\n ContentModelSelectionMarker,\n ReadonlyContentModelSelectionMarker,\n} from './contentModel/segment/ContentModelSelectionMarker';\nexport {\n ContentModelSegmentBase,\n ContentModelSegmentBaseCommon,\n ReadonlyContentModelSegmentBase,\n ShallowMutableContentModelSegmentBase,\n} from './contentModel/segment/ContentModelSegmentBase';\nexport {\n ContentModelSegment,\n ReadonlyContentModelSegment,\n ShallowMutableContentModelSegment,\n} from './contentModel/segment/ContentModelSegment';\n\nexport {\n ContentModelCode,\n ReadonlyContentModelCode,\n} from './contentModel/decorator/ContentModelCode';\nexport {\n ContentModelLink,\n ReadonlyContentModelLink,\n} from './contentModel/decorator/ContentModelLink';\nexport {\n ContentModelParagraphDecorator,\n ContentModelParagraphDecoratorCommon,\n ReadonlyContentModelParagraphDecorator,\n} from './contentModel/decorator/ContentModelParagraphDecorator';\nexport {\n ContentModelDecorator,\n ReadonlyContentModelDecorator,\n} from './contentModel/decorator/ContentModelDecorator';\nexport {\n ContentModelListLevel,\n ContentModelListLevelCommon,\n ReadonlyContentModelListLevel,\n} from './contentModel/decorator/ContentModelListLevel';\n\nexport {\n Selectable,\n ReadonlySelectable,\n ShallowMutableSelectable,\n} from './contentModel/common/Selectable';\nexport { MutableMark, ShallowMutableMark, ReadonlyMark } from './contentModel/common/MutableMark';\nexport { MutableType } from './contentModel/common/MutableType';\n\nexport {\n DOMSelection,\n SelectionType,\n SelectionBase,\n ImageSelection,\n RangeSelection,\n TableSelection,\n DOMInsertPoint,\n} from './selection/DOMSelection';\nexport { InsertPoint } from './selection/InsertPoint';\nexport {\n TableSelectionContext,\n ReadonlyTableSelectionContext,\n} from './selection/TableSelectionContext';\nexport { TableSelectionCoordinates } from './selection/TableSelectionCoordinates';\n\nexport {\n ContentModelHandlerMap,\n DefaultImplicitFormatMap,\n FormatAppliers,\n FormatAppliersPerCategory,\n OnNodeCreated,\n ModelToDomSettings,\n FormatApplier,\n ApplyMetadata,\n MetadataApplier,\n MetadataAppliers,\n TextFormatApplier,\n ElementFormatAppliersPerCategory,\n} from './context/ModelToDomSettings';\nexport {\n DefaultStyleMap,\n ElementProcessorMap,\n FormatParsers,\n FormatParsersPerCategory,\n DomToModelSettings,\n FormatParser,\n TextFormatParser,\n ElementFormatParserPerCategory,\n} from './context/DomToModelSettings';\nexport { DomToModelContext } from './context/DomToModelContext';\nexport { ElementProcessor } from './context/ElementProcessor';\nexport { DomToModelSelectionContext } from './context/DomToModelSelectionContext';\nexport { EditorContext } from './context/EditorContext';\nexport {\n DomToModelFormatContext,\n DomToModelDecoratorContext,\n DomToModelListFormat,\n} from './context/DomToModelFormatContext';\nexport { ModelToDomContext } from './context/ModelToDomContext';\nexport {\n ModelToDomBlockAndSegmentNode,\n ModelToDomRegularSelection,\n ModelToDomSelectionContext,\n} from './context/ModelToDomSelectionContext';\nexport {\n ModelToDomListStackItem,\n ModelToDomListContext,\n ModelToDomFormatContext,\n} from './context/ModelToDomFormatContext';\nexport { RewriteFromModel, RewriteFromModelContext } from './context/RewriteFromModel';\nexport {\n ContentModelHandler,\n ContentModelSegmentHandler,\n ContentModelBlockHandler,\n} from './context/ContentModelHandler';\nexport {\n DomToModelOption,\n DomToModelOptionForSanitizing,\n DomToModelOptionForCreateModel,\n} from './context/DomToModelOption';\nexport { ModelToDomOption } from './context/ModelToDomOption';\nexport { DomIndexer } from './context/DomIndexer';\nexport { TextMutationObserver } from './context/TextMutationObserver';\n\nexport { DefinitionType } from './metadata/DefinitionType';\nexport {\n ArrayItemType,\n DefinitionBase,\n StringDefinition,\n NumberDefinition,\n BooleanDefinition,\n ArrayDefinition,\n ObjectPropertyDefinition,\n ObjectDefinition,\n Definition,\n} from './metadata/Definition';\nexport { DarkColorHandler, Colors, ColorTransformFunction } from './context/DarkColorHandler';\n\nexport { IEditor } from './editor/IEditor';\nexport { ExperimentalFeature } from './editor/ExperimentalFeature';\nexport {\n EditorOptions,\n ColorOptions,\n ContentModelOptions,\n SelectionOptions,\n PasteOptions,\n EditorBaseOptions,\n} from './editor/EditorOptions';\nexport {\n CreateContentModel,\n CreateEditorContext,\n GetDOMSelection,\n SetContentModel,\n SetDOMSelection,\n SetLogicalRoot,\n FormatContentModel,\n CoreApiMap,\n EditorCore,\n SwitchShadowEdit,\n TriggerEvent,\n AddUndoSnapshot,\n Focus,\n AttachDomEvent,\n RestoreUndoSnapshot,\n GetVisibleViewport,\n SetEditorStyle,\n Announce,\n} from './editor/EditorCore';\nexport { EditorCorePlugins } from './editor/EditorCorePlugins';\nexport { EditorPlugin } from './editor/EditorPlugin';\nexport { PluginWithState } from './editor/PluginWithState';\nexport { ContextMenuProvider } from './editor/ContextMenuProvider';\n\nexport {\n CachePluginState,\n RangeSelectionForCache,\n CacheSelection,\n} from './pluginState/CachePluginState';\nexport { FormatPluginState, PendingFormat } from './pluginState/FormatPluginState';\nexport { CopyPastePluginState } from './pluginState/CopyPastePluginState';\nexport { DOMEventPluginState } from './pluginState/DOMEventPluginState';\nexport { LifecyclePluginState } from './pluginState/LifecyclePluginState';\nexport { EntityPluginState, KnownEntityItem } from './pluginState/EntityPluginState';\nexport {\n SelectionPluginState,\n TableSelectionInfo,\n TableCellCoordinate,\n} from './pluginState/SelectionPluginState';\nexport { UndoPluginState } from './pluginState/UndoPluginState';\nexport {\n PluginKey,\n KeyOfStatePlugin,\n TypeOfStatePlugin,\n StatePluginKeys,\n GenericPluginState,\n PluginState,\n} from './pluginState/PluginState';\nexport { ContextMenuPluginState } from './pluginState/ContextMenuPluginState';\n\nexport { AutoLinkOptions } from './parameter/AutoLinkOptions';\nexport { EditorEnvironment, ContentModelSettings } from './parameter/EditorEnvironment';\nexport {\n EntityState,\n DeletedEntity,\n FormatContentModelContext,\n} from './parameter/FormatContentModelContext';\nexport {\n FormatContentModelOptions,\n ContentModelFormatter,\n} from './parameter/FormatContentModelOptions';\nexport { ContentModelFormatState } from './parameter/ContentModelFormatState';\nexport { PasteTypeOrGetter } from './parameter/PasteTypeOrGetter';\nexport { ImageFormatState } from './parameter/ImageFormatState';\nexport { Border } from './parameter/Border';\nexport { InsertEntityOptions } from './parameter/InsertEntityOptions';\nexport {\n DeleteSelectionContext,\n DeleteSelectionResult,\n DeleteSelectionStep,\n ValidDeleteSelectionContext,\n} from './parameter/DeleteSelectionStep';\nexport {\n SnapshotSelectionBase,\n RangeSnapshotSelection,\n ImageSnapshotSelection,\n TableSnapshotSelection,\n SnapshotSelection,\n Snapshot,\n Snapshots,\n} from './parameter/Snapshot';\nexport { SnapshotsManager } from './parameter/SnapshotsManager';\nexport { DOMEventHandlerFunction, DOMEventRecord } from './parameter/DOMEventRecord';\nexport { EdgeLinkPreview } from './parameter/EdgeLinkPreview';\nexport { ClipboardData } from './parameter/ClipboardData';\nexport { AnnounceData, KnownAnnounceStrings } from './parameter/AnnounceData';\nexport {\n TrustedHTMLHandler,\n DOMCreator,\n LegacyTrustedHTMLHandler,\n} from './parameter/TrustedHTMLHandler';\nexport { Rect } from './parameter/Rect';\nexport { ValueSanitizer } from './parameter/ValueSanitizer';\nexport { DOMHelper } from './parameter/DOMHelper';\nexport { ImageEditOperation, ImageEditor } from './parameter/ImageEditor';\nexport { CachedElementHandler, CloneModelOptions } from './parameter/CloneModelOptions';\nexport { LinkData } from './parameter/LinkData';\nexport { MergeModelOption } from './parameter/MergeModelOption';\nexport {\n IterateSelectionsCallback,\n IterateSelectionsOption,\n ReadonlyIterateSelectionsCallback,\n} from './parameter/IterateSelectionsOption';\nexport { NodeTypeMap } from './parameter/NodeTypeMap';\nexport { TypeOfBlockGroup } from './parameter/TypeOfBlockGroup';\nexport { OperationalBlocks, ReadonlyOperationalBlocks } from './parameter/OperationalBlocks';\nexport { ParsedTable, ParsedTableCell } from './parameter/ParsedTable';\nexport {\n ModelToTextCallback,\n ModelToTextCallbacks,\n ModelToTextChecker,\n} from './parameter/ModelToTextCallbacks';\nexport { ConflictFormatSolution } from './parameter/ConflictFormatSolution';\n\nexport { BasePluginEvent, BasePluginDomEvent } from './event/BasePluginEvent';\nexport { BeforeCutCopyEvent } from './event/BeforeCutCopyEvent';\nexport { BeforeDisposeEvent } from './event/BeforeDisposeEvent';\nexport { BeforeKeyboardEditingEvent } from './event/BeforeKeyboardEditingEvent';\nexport { BeforePasteEvent, MergePastedContentFunc } from './event/BeforePasteEvent';\nexport { BeforeSetContentEvent } from './event/BeforeSetContentEvent';\nexport { ContentChangedEvent, ChangedEntity } from './event/ContentChangedEvent';\nexport { ContextMenuEvent } from './event/ContextMenuEvent';\nexport { RewriteFromModelEvent } from './event/RewriteFromModelEvent';\nexport { EditImageEvent } from './event/EditImageEvent';\nexport { EditorReadyEvent } from './event/EditorReadyEvent';\nexport { EntityOperationEvent, FormattableRoot, Entity } from './event/EntityOperationEvent';\nexport { ExtractContentWithDomEvent } from './event/ExtractContentWithDomEvent';\nexport { EditorInputEvent } from './event/EditorInputEvent';\nexport {\n KeyDownEvent,\n KeyPressEvent,\n KeyUpEvent,\n CompositionEndEvent,\n} from './event/KeyboardEvent';\nexport { LogicalRootChangedEvent } from './event/LogicalRootChangedEvent';\nexport { MouseDownEvent, MouseUpEvent } from './event/MouseEvent';\nexport { PluginEvent } from './event/PluginEvent';\nexport {\n PluginEventData,\n PluginEventFromTypeGeneric,\n PluginEventFromType,\n PluginEventDataGeneric,\n} from './event/PluginEventData';\nexport { PluginEventType } from './event/PluginEventType';\nexport { ScrollEvent } from './event/ScrollEvent';\nexport { SelectionChangedEvent } from './event/SelectionChangedEvent';\nexport { EnterShadowEditEvent, LeaveShadowEditEvent } from './event/ShadowEditEvent';\nexport { ZoomChangedEvent } from './event/ZoomChangedEvent';\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "roosterjs-content-model-types",
3
3
  "description": "Types for roosterjs",
4
4
  "dependencies": {},
5
- "version": "9.16.0",
5
+ "version": "9.18.0",
6
6
  "main": "./lib/index.js",
7
7
  "typings": "./lib/index.d.ts",
8
8
  "module": "./lib-mjs/index.js",