@omnia/fx 8.0.80-dev → 8.0.81-dev

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 (173) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/services/identities/UserIdentityService.d.ts +1 -1
  3. package/internal-do-not-import-from-here/stores/oxide/ComponentHostStore.d.ts +6 -6
  4. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
  7. package/internal-do-not-import-from-here/ux/enterpriseproperties/display/datafield/DataFieldDisplay.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/enterpriseproperties/display/personfield/PersonFieldDisplay.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/richtextfield/RichTextFieldEdit.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/filterengine/FilterEngineSettings.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +2 -2
  14. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +2 -2
  16. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +3 -3
  18. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +3 -3
  19. package/internal-do-not-import-from-here/ux/journey/v2/JourneyBlade.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/journey/v2/use/UseBlade.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutStepRenderer.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +1 -1
  26. package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoCollage.d.ts +2 -2
  27. package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoCollageWrapper.d.ts +2 -2
  28. package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/RowPhotos.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +1 -1
  30. package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +16 -16
  32. package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +12 -13
  34. package/internal-do-not-import-from-here/ux/optionpicker/OptionPicker.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +10 -10
  36. package/internal-do-not-import-from-here/ux/oxide/column/Column.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/oxide/column/ColumnGrid.d.ts +54 -54
  38. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +9 -9
  39. package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +10 -10
  40. package/internal-do-not-import-from-here/ux/oxide/flex/Row.d.ts +2 -2
  41. package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +11 -11
  42. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +2 -2
  44. package/internal-do-not-import-from-here/ux/oxide/infinite-scroll/InfiniteScroll.d.ts +1 -1
  45. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +9 -9
  46. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +9 -9
  47. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/ScrollContainer.d.ts +1 -1
  50. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +4 -4
  51. package/internal-do-not-import-from-here/ux/oxide/skeletonloader/SkeletonLoader.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/oxide/splitpane/Splitpane.css.d.ts +4 -0
  53. package/internal-do-not-import-from-here/ux/oxide/{splitpanes/Splitpanes.d.ts → splitpane/Splitpane.d.ts} +0 -52
  54. package/internal-do-not-import-from-here/ux/oxide/{splitpanes → splitpane}/SplitpaneItem.d.ts +0 -52
  55. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +3 -3
  56. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +2 -2
  57. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
  58. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview2.d.ts +2 -2
  59. package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlEditor.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsDisplay.d.ts +1 -1
  62. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsEditor.d.ts +1 -1
  63. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyLocking.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/richtexteditor/EditorMenuBar.d.ts +1 -1
  65. package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditor.d.ts +2 -7
  66. package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditorExtensionHelper.d.ts +1 -4
  67. package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditorSettings.d.ts +0 -14
  68. package/internal-do-not-import-from-here/ux/richtexteditor/InternalRichTextEditorApi.d.ts +2 -2
  69. package/internal-do-not-import-from-here/ux/richtexteditor/PublicRichTextEditorApi.d.ts +7 -8
  70. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +14 -41
  71. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorInstance.d.ts +3 -1
  72. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorSettings.d.ts +381 -48
  73. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorTester.d.ts +1 -1
  74. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/Alignment.d.ts +9 -10
  75. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentNode.d.ts +1 -1
  76. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLink.d.ts +12 -5
  77. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnchorLink/AnchorLinkNode.d.ts +1 -2
  78. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnimatedGif/AnimatedGif.d.ts +16 -5
  79. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Blockquote/Blockquote.d.ts +12 -5
  80. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Blockquote/BlockquoteNode.d.ts +1 -2
  81. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Bold/Bold.d.ts +10 -5
  82. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Bold/BoldNode.d.ts +1 -1
  83. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/BulletList/BulletList.d.ts +11 -5
  84. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/BulletList/BulletListNode.d.ts +1 -2
  85. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Code/Code.d.ts +12 -5
  86. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Code/CodeNode.d.ts +1 -2
  87. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/CodeBlock/CodeBlock.d.ts +12 -5
  88. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/CodeBlock/CodeBlockNode.d.ts +1 -2
  89. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Doc/DocNode.d.ts +1 -2
  90. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPicker.d.ts +12 -5
  91. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EmoticonPicker/EmoticonPickerNode.d.ts +1 -2
  92. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/EnterpriseGlossaryLinkSuggestionExtension.d.ts +7 -8
  93. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseGlossarySuggestionNode.d.ts +1 -2
  94. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/EnterpriseGlossaryLink/nodes/EnterpriseSuggestionIgnore.d.ts +1 -2
  95. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Division/DivisionNode.d.ts +1 -2
  96. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/ExtendedElements.d.ts +9 -9
  97. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/HardBreak/HardBreakNode.d.ts +1 -2
  98. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Iframe/IframeNode.d.ts +1 -2
  99. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Img/ImgNode.d.ts +1 -2
  100. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Link/LinkNode.d.ts +1 -2
  101. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/Style/StyleNode.d.ts +1 -2
  102. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ExtendedElements/TrailingParagraph/TrailingNode.d.ts +1 -2
  103. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagEditorExtension.d.ts +20 -13
  104. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagNode.d.ts +2 -3
  105. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/Heading.d.ts +11 -13
  106. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Heading/HeadingNode.d.ts +2 -2
  107. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/History/History.d.ts +11 -5
  108. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRule.d.ts +12 -5
  109. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HorizontalRule/HorizontalRuleNode.d.ts +1 -2
  110. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Html/Html.d.ts +11 -5
  111. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Italic/Italic.d.ts +11 -5
  112. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Italic/ItalicNode.d.ts +1 -2
  113. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/LanguagePicker/LanguagePicker.d.ts +9 -8
  114. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ListItem/ListItem.d.ts +8 -4
  115. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/ListItem/ListItemNode.d.ts +1 -2
  116. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerEditorExtension.d.ts +16 -12
  117. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaImageNode.d.ts +1 -2
  118. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/MediaPickerNode.d.ts +1 -2
  119. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphics.d.ts +1 -2
  120. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsColorMatrix.d.ts +1 -2
  121. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsComponentTransfer.d.ts +1 -2
  122. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsDefinition.d.ts +1 -2
  123. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFilter.d.ts +1 -2
  124. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncB.d.ts +1 -2
  125. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncG.d.ts +1 -2
  126. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsFuncR.d.ts +1 -2
  127. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/nodes/ScalableVectorGraphicsImage.d.ts +1 -2
  128. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Mention/Mention.d.ts +17 -11
  129. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Mention/MentionNode.d.ts +2 -2
  130. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/OrderedList/OrderedList.d.ts +11 -5
  131. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/OrderedList/OrderedListNode.d.ts +1 -2
  132. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Paragraph/ParagraphNode.d.ts +1 -2
  133. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Placeholder/PlaceHolderNode.d.ts +2 -2
  134. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Placeholder/Placeholder.d.ts +7 -5
  135. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/RemoveFormatting/RemoveFormatingNode.d.ts +1 -2
  136. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/RemoveFormatting/RemoveFormatting.d.ts +17 -5
  137. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Strike/Strike.d.ts +12 -5
  138. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Strike/StrikeNode.d.ts +1 -2
  139. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/Table.d.ts +18 -5
  140. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/TableNode.d.ts +2 -2
  141. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableCell.d.ts +1 -2
  142. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableHeader.d.ts +1 -2
  143. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Table/nodes/TableRow.d.ts +1 -2
  144. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Text/TextNode.d.ts +1 -2
  145. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColor.d.ts +14 -5
  146. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextColor/TextColorNode.d.ts +1 -2
  147. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextCompletion/TextCompletion.d.ts +14 -11
  148. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextCompletion/TextCompletionNode.d.ts +1 -2
  149. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextStyle/TextStyleNode.d.ts +1 -2
  150. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextTranslator/TextTranslator.d.ts +11 -5
  151. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TodoList/TodoList.d.ts +12 -5
  152. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TodoList/TodoListNode.d.ts +1 -2
  153. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TodoList/nodes/TodoItem.d.ts +1 -2
  154. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Underline/Underline.d.ts +11 -5
  155. package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Underline/UnderlineNode.d.ts +1 -2
  156. package/internal-do-not-import-from-here/ux/richtexteditor/shareds/DefineRichTextExtension.d.ts +2 -22
  157. package/internal-do-not-import-from-here/ux/richtexteditor/shareds/DefineRichTextNode.d.ts +7 -2
  158. package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -1
  159. package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +1 -1
  160. package/internal-do-not-import-from-here/ux/urlinput/UrlInputLegacy.d.ts +6 -6
  161. package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +1 -1
  162. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/AlignmentEditor.d.ts +1 -1
  163. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ImageEditor.d.ts +1 -1
  164. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/MarkdownEditor.d.ts +1 -1
  165. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/PropertyEditorCreator.d.ts +1 -1
  166. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/SliderEditor.d.ts +1 -1
  167. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/SpacingEditor.d.ts +1 -1
  168. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TextEditor.d.ts +1 -1
  169. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TypographyEditor.d.ts +1 -1
  170. package/internal-do-not-import-from-here/ux/versionedlayout/editor/alternatelayout/AlternateLayoutRenameForm.d.ts +1 -1
  171. package/internal-do-not-import-from-here/wctypings.d.ts +15 -13
  172. package/package.json +2 -2
  173. package/internal-do-not-import-from-here/ux/oxide/splitpanes/Splitpanes.css.d.ts +0 -3
@@ -67,8 +67,8 @@ declare const _default: {
67
67
  };
68
68
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
69
69
  propsDefinition: Omit<Readonly<{
70
- items: ToolbarConfiguration[];
71
70
  editor: Editor;
71
+ items: ToolbarConfiguration[];
72
72
  onContentChanged: (content: string, extensionName?: string, data?: RichTextContentExtensionData) => void;
73
73
  } & {}>, never>;
74
74
  };
@@ -1,5 +1,5 @@
1
1
  import { ToolbarExtension, BubbleMenuToolbarExtension } from "./ToolbarExtension";
2
- import { GuidValue, RichTextEditorExtensionRegistration, RichTextModes, TipTapEditor } from "../../models";
2
+ import { GuidValue, RichTextEditorExtension, RichTextModes, TipTapEditor } from "../../models";
3
3
  import { RichTextContentExtensionData, RichTextContentHelper } from "./RichTextContentHelper";
4
4
  import { Node, Mark, Extension } from "@tiptap/core";
5
5
  import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
@@ -10,11 +10,6 @@ export interface IRichTextEditorInstance {
10
10
  */
11
11
  updateContent(content: string): any;
12
12
  }
13
- export declare abstract class RichTextEditorExtension {
14
- abstract getDefition(options: {
15
- onEditorUpdated: any;
16
- }): Promise<RichTextEditorExtensionDefinition>;
17
- }
18
13
  export interface ToolbarConfigurationBase {
19
14
  }
20
15
  export interface MenuConfiguration extends ToolbarConfigurationBase {
@@ -64,7 +59,7 @@ export interface IRichTextEditor {
64
59
  * @param {function} registrationResolver Using this callback function to configure extension before passing it to RTE, return null if cannot resolve.
65
60
  * @return {RichTextEditorExtension[]} List of extension after configured
66
61
  */
67
- onConfigureExtensions?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
62
+ onConfigureExtensions?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
68
63
  styles?: typeof RichTextEditorStyles;
69
64
  placeholder?: RichTextEditorPlaceHolder;
70
65
  disabled?: boolean;
@@ -1,9 +1,6 @@
1
- import { MediaPickerEnums, MediaPickerImageRatioDefinition, MediaPickerStorageProviderContext, PromotedTagOptions, RichTextEditorExtensionRegistration } from "@omnia/fx-models";
2
- import { RichTextEditorExtension } from "./IRichTextEditor";
1
+ import { MediaPickerEnums, MediaPickerImageRatioDefinition, MediaPickerStorageProviderContext, PromotedTagOptions, RichTextEditorExtension } from "@omnia/fx-models";
3
2
  export interface IRichTextEditorExtensionHelper {
4
- getDefaultRTFExtensionRegistrations: () => Array<RichTextEditorExtensionRegistration>;
5
3
  getDefaultRTFExtensions: () => Array<RichTextEditorExtension>;
6
- getDefaultLimitedRTFExtensionRegistrations: () => Array<RichTextEditorExtensionRegistration>;
7
4
  getDefaultLimitedRTFExtensions: () => Array<RichTextEditorExtension>;
8
5
  configureMediaPickerExtension: (configuredExtensions: Array<RichTextEditorExtension>, mediaPickerStorageProviderContext: MediaPickerStorageProviderContext, selectableMediaTypes?: Array<MediaPickerEnums.OmniaMediaTypes>, selectableRatios?: Array<MediaPickerImageRatioDefinition>) => Array<RichTextEditorExtension>;
9
6
  addHashTagExtension: (configuredExtensions: Array<RichTextEditorExtension>, promotedTagOptions: PromotedTagOptions) => Array<RichTextEditorExtension>;
@@ -1,20 +1,6 @@
1
- import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
2
1
  import { RTFExtensionViewModel } from "./RichTextEditorSettings";
3
2
  export interface IRichTextEditorSettings {
4
3
  showEditorPreview: boolean;
5
4
  extensions: Array<RTFExtensionViewModel>;
6
5
  onExtensionChange: (model: Array<RTFExtensionViewModel>) => void;
7
6
  }
8
- declare global {
9
- namespace JSX {
10
- interface Element {
11
- }
12
- interface ElementClass {
13
- }
14
- interface ElementAttributesProperty {
15
- }
16
- interface IntrinsicElements {
17
- "omfx-rich-text-editor-settings": TsxAllowUnknowProperties<IRichTextEditorSettings>;
18
- }
19
- }
20
- }
@@ -1,5 +1,5 @@
1
- import { RichTextEditorExtensionMessage } from "@omnia/fx-models";
2
1
  import { IRegisterRichTextEditorExtension } from "./PublicRichTextEditorApi";
2
+ import { DefineRichTextEditorExtension } from "./shareds";
3
3
  export interface IInternalRegisterRichTextEditorExtension extends IRegisterRichTextEditorExtension {
4
- getAllExtensions: () => RichTextEditorExtensionMessage[];
4
+ getAllExtensions: () => Promise<Array<ReturnType<typeof DefineRichTextEditorExtension>>>;
5
5
  }
@@ -1,12 +1,8 @@
1
- import { ApiPath, RichTextEditorExtensionMessage } from "@omnia/fx-models";
1
+ import { ApiPath, GuidValue, IExtendApiManifestWithConfiguration } from "@omnia/fx-models";
2
2
  import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
3
- import { DefineRichTextExtension } from "./shareds";
3
+ import { DefineRichTextEditorExtension } from "./shareds";
4
4
  export interface IRegisterRichTextEditorExtension {
5
- /**
6
- * @deprecated use register instead.
7
- */
8
- registerExtension: (items: RichTextEditorExtensionMessage | RichTextEditorExtensionMessage[]) => void;
9
- register(extension: ReturnType<typeof DefineRichTextExtension>): void;
5
+ register(extensions: ReturnType<typeof DefineRichTextEditorExtension> | Array<ReturnType<typeof DefineRichTextEditorExtension>>): void;
10
6
  }
11
7
  export interface IRichTextEditorPublicApi {
12
8
  registration: Promise<IRegisterRichTextEditorExtension>;
@@ -18,7 +14,10 @@ declare module "@omnia/fx-models/ux/UxApi" {
18
14
  }
19
15
  interface IOmniaUxExtendApiManifest {
20
16
  richTextEditor: {
21
- registration: ApiPath;
17
+ /**
18
+ * Require extension id
19
+ */
20
+ registration: IExtendApiManifestWithConfiguration<GuidValue>;
22
21
  helper: ApiPath;
23
22
  };
24
23
  }
@@ -1,7 +1,6 @@
1
- import { RichTextEditorExtension, RichTextEditorPlaceHolder } from ".";
1
+ import { RichTextEditorPlaceHolder } from ".";
2
2
  import "./RichTextEditor.css";
3
- import { RichTextModes } from "../../models";
4
- import { RichTextEditorExtensionRegistration } from "../../models";
3
+ import { RichTextModes, RichTextEditorExtension } from "../../models";
5
4
  import { RichTextContentHelper } from ".";
6
5
  import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
7
6
  declare const _default: {
@@ -24,17 +23,11 @@ declare const _default: {
24
23
  ariaDescribedby: {
25
24
  type: import("vue").PropType<string>;
26
25
  };
27
- "on-configured-extensions": {
28
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
29
- };
30
- onConfiguredExtensions: {
31
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
32
- };
33
26
  "on-configure-extensions": {
34
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
27
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
35
28
  };
36
29
  onConfigureExtensions: {
37
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
30
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
38
31
  };
39
32
  mode: {
40
33
  type: import("vue").PropType<RichTextModes>;
@@ -162,17 +155,11 @@ declare const _default: {
162
155
  ariaDescribedby: {
163
156
  type: import("vue").PropType<string>;
164
157
  };
165
- "on-configured-extensions": {
166
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
167
- };
168
- onConfiguredExtensions: {
169
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
170
- };
171
158
  "on-configure-extensions": {
172
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
159
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
173
160
  };
174
161
  onConfigureExtensions: {
175
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
162
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
176
163
  };
177
164
  mode: {
178
165
  type: import("vue").PropType<RichTextModes>;
@@ -307,17 +294,11 @@ declare const _default: {
307
294
  ariaDescribedby: {
308
295
  type: import("vue").PropType<string>;
309
296
  };
310
- "on-configured-extensions": {
311
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
312
- };
313
- onConfiguredExtensions: {
314
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
315
- };
316
297
  "on-configure-extensions": {
317
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
298
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
318
299
  };
319
300
  onConfigureExtensions: {
320
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
301
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
321
302
  };
322
303
  mode: {
323
304
  type: import("vue").PropType<RichTextModes>;
@@ -449,17 +430,11 @@ declare const _default: {
449
430
  ariaDescribedby: {
450
431
  type: import("vue").PropType<string>;
451
432
  };
452
- "on-configured-extensions": {
453
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
454
- };
455
- onConfiguredExtensions: {
456
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>>;
457
- };
458
433
  "on-configure-extensions": {
459
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
434
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
460
435
  };
461
436
  onConfigureExtensions: {
462
- type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
437
+ type: import("vue").PropType<(currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>>;
463
438
  };
464
439
  mode: {
465
440
  type: import("vue").PropType<RichTextModes>;
@@ -590,17 +565,17 @@ declare const _default: {
590
565
  genericExtensionElementStyle?: (useAccessibilityFeature: boolean) => import("typestyle/lib/types").NestedCSSProperties;
591
566
  menubarLanguagePicker?: import("typestyle/lib/types").NestedCSSProperties;
592
567
  };
593
- ariaInvalid?: boolean;
568
+ placeholder?: RichTextEditorPlaceHolder;
594
569
  onFocus?: () => void;
595
570
  onBlur?: () => void;
596
- placeholder?: RichTextEditorPlaceHolder;
571
+ ariaInvalid?: boolean;
597
572
  "aria-describedby"?: string;
598
573
  "aria-invalid"?: boolean;
599
574
  resetContent?: boolean;
600
575
  bodyClass?: string;
601
576
  onContentDataChange?: (richtextHelper: RichTextContentHelper) => void;
602
577
  registerFocus?: (callback: () => void) => void;
603
- onConfigureExtensions?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
578
+ onConfigureExtensions?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
604
579
  autoFocus?: boolean;
605
580
  ariaDescribedby?: string;
606
581
  disableAutofocus?: boolean;
@@ -611,9 +586,7 @@ declare const _default: {
611
586
  "body-class"?: string;
612
587
  "reset-content"?: boolean;
613
588
  "disable-autofocus"?: boolean;
614
- "on-configure-extensions"?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
615
- onConfiguredExtensions?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>;
616
- "on-configured-extensions"?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtensionRegistration) => RichTextEditorExtension) => Promise<Array<RichTextEditorExtension>>;
589
+ "on-configure-extensions"?: (currentExtensions: Array<RichTextEditorExtension>, registrationResolver?: (registration: RichTextEditorExtension) => RichTextEditorExtension, extensionHelper?: IRichTextEditorExtensionHelper) => Array<RichTextEditorExtension>;
617
590
  "register-focus"?: (callback: () => void) => void;
618
591
  }>, never>;
619
592
  };
@@ -1,9 +1,11 @@
1
1
  import { GuidValue } from "@omnia/fx-models";
2
2
  import { Editor } from "@tiptap/vue-3";
3
+ import { RichTextContentExtensionData } from "./RichTextContentHelper";
3
4
  export declare class RichTextEditorInstance {
5
+ notifyChanged: (extensionName?: string, data?: RichTextContentExtensionData) => void;
4
6
  readonly id: GuidValue;
5
7
  private _editor;
6
- constructor();
8
+ constructor(notifyChanged: (extensionName?: string, data?: RichTextContentExtensionData) => void);
7
9
  get editor(): Editor;
8
10
  setEditor(editor: Editor): void;
9
11
  }