@omnia/fx 7.6.26-preview → 7.6.27-preview

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.
@@ -3,14 +3,14 @@ import { NodeExtension } from "./NodeExtension";
3
3
  import { ToolbarExtension, BubbleMenuToolbarExtension } from "./ToolbarExtension";
4
4
  import { MarkExtension } from "./MarkExtension";
5
5
  import { EditorExtension } from "./EditorExtension";
6
- import { GuidValue, RichTextEditorExtensionRegistration, RichTextModes, TipTapEditor } from "../../models";
6
+ import { GuidValue, MultilingualString, RichTextEditorExtensionRegistration, RichTextModes, TipTapEditor } from "../../models";
7
7
  import { RichTextContentExtensionData, RichTextContentHelper } from "./RichTextContentHelper";
8
8
  import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
9
9
  export interface IRichTextEditorInstance {
10
10
  /**
11
11
  * @param content to update
12
12
  */
13
- updateContent(content: string): any;
13
+ updateContent(content: string | MultilingualString): any;
14
14
  }
15
15
  export declare abstract class RichTextEditorExtension {
16
16
  abstract getDefition(options: {
@@ -1,6 +1,7 @@
1
+ import { MultilingualString } from "@omnia/fx-models";
1
2
  import { TsxAllowUnknowProperties } from "../../ux";
2
3
  export interface IRichTextEditorRenderer {
3
- editorContent: string;
4
+ editorContent: string | MultilingualString;
4
5
  }
5
6
  declare global {
6
7
  namespace VueTsxSupport.JSX {
@@ -1,16 +1,21 @@
1
1
  import { IWebComponentInstance, OmniaContext, SubscriptionHandler } from "../../";
2
2
  import { AnchorLink } from "../AnchorLink";
3
3
  import { IRichTextEditorRenderer } from "./IRichTextEditorRenderer";
4
+ import { MultilingualString } from "../../models";
4
5
  import "./RichTextEditorRenderer.css";
5
6
  import { VueComponentBase } from "../VueComponentBase";
7
+ import { MultilingualStore } from "@omnia/fx/stores";
6
8
  export default class RichTextEditorRenderer extends VueComponentBase implements IWebComponentInstance, IRichTextEditorRenderer {
7
- editorContent: string;
9
+ editorContent: string | MultilingualString;
8
10
  omniaCtx: OmniaContext;
9
11
  subscriptionHandler: SubscriptionHandler;
10
12
  anchorLink: AnchorLink;
13
+ multilingualStore: MultilingualStore;
11
14
  private useAccessibilityFeature;
12
15
  private rendererClasses;
13
16
  private editorDefaultStyle;
17
+ private userUiLanguage;
18
+ private currentLanguage;
14
19
  created(): void;
15
20
  mounted(): void;
16
21
  beforeDestroy(): void;
@@ -1,16 +1,19 @@
1
1
  import { IWebComponentInstance, OmniaContext, SubscriptionHandler } from "../../";
2
2
  import { AnchorLink } from "../AnchorLink";
3
3
  import { IRichTextEditorRenderer } from "./IRichTextEditorRenderer";
4
+ import { MultilingualString } from "../../models";
4
5
  import "./RichTextEditorRenderer.css";
5
6
  import { VueComponentBase } from "../VueComponentBase";
6
7
  export default class RichTextEditorRenderer extends VueComponentBase implements IWebComponentInstance, IRichTextEditorRenderer {
7
- editorContent: string;
8
+ editorContent: string | MultilingualString;
8
9
  omniaCtx: OmniaContext;
9
10
  subscriptionHandler: SubscriptionHandler;
10
11
  anchorLink: AnchorLink;
11
12
  private useAccessibilityFeature;
12
13
  private rendererClasses;
13
14
  private editorDefaultStyle;
15
+ private userUiLanguage;
16
+ private currentLanguage;
14
17
  created(): void;
15
18
  mounted(): void;
16
19
  beforeDestroy(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.6.26-preview",
4
+ "version": "7.6.27-preview",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.6.26-preview",
23
+ "@omnia/fx-models": "7.6.27-preview",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",