@omnia/fx 8.0.77-dev → 8.0.78-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.
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.richtexteditor.manifest.json +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/PublicRichTextEditorApi.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/Alignment.d.ts +8 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentNode.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Bold/BoldNode.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/shareds/DefineRichTextExtension.d.ts +26 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/shareds/DefineRichTextNode.d.ts +1 -6
- package/internal-do-not-import-from-here/ux/richtexteditor/shareds/index.d.ts +1 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['b46f7161-e941-4240-b573-a9cd83e9d132']","content":{"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AlignmentEditorExtension","AnchorLinkEditorExtension","AnimatedGifEditorExtension","BlockquoteEditorExtension","BoldEditorExtension","BulletListEditorExtension","CodeBlockEditorExtension","CodeEditorExtension","DocumentNode","EmoticonPickerEditorExtension","ExtendedElementsEditorExtension","HashTagConfiguration","HashTagContentData","HashTagEditorExtension","HeadingEditorExtension","HeadingNode","HistoryEditorExtension","HorizontalRuleEditorExtension","HtmlEditorExtension","ItalicEditorExtension","LanguagePickerEditorExtension","ListItem","ListItemEditorExtension","MediaPickerEditorExtension","MentionConfiguration","MentionContentData","MentionEditorExtension","MentionPluginKey","OrderedListEditorExtension","ParagraphNode","PlaceHolderNode","PlaceholderEditorExtension","RegistrationHelpder","RemovingFormattingEditorExtension","RichTextEditorExtensionLocalization","StrikeEditorExtension","TableEditorExtension","TableView","TextColorEditorExtension","TextCompletionEditorExtension","TextCompletionHandler","TextCompletionToolbar","TextNode","TextTranslatorEditorExtension","TodoListEditorExtension","UnderlineEditorExtension","panelElementName","tableNodeTypes","tableNodes","updateColumns"]},"./node_modules/@omnia/fx/ux/richtexteditor/extensions/MediaPicker/MediapickerStyle.css":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/mediapicker/mediapickerstyle.css","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["defineRichTextNode"]},"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js":{"id":"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js":{"id":"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js":{"id":"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js","buildMeta":{}},"./node_modules/@omnia/fx/ux/richtexteditor/index.js":{"id":"f37916a5-b801-4e3a-a1be-30a009bd2df2","buildMeta":{"exportsType":"namespace"}}}}
|
1
|
+
{"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['b46f7161-e941-4240-b573-a9cd83e9d132']","content":{"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["AlignmentEditorExtension","AnchorLinkEditorExtension","AnimatedGifEditorExtension","BlockquoteEditorExtension","BoldEditorExtension","BulletListEditorExtension","CodeBlockEditorExtension","CodeEditorExtension","DocumentNode","EmoticonPickerEditorExtension","ExtendedElementsEditorExtension","HashTagConfiguration","HashTagContentData","HashTagEditorExtension","HeadingEditorExtension","HeadingNode","HistoryEditorExtension","HorizontalRuleEditorExtension","HtmlEditorExtension","ItalicEditorExtension","LanguagePickerEditorExtension","LegacyAlignmentEditorExtension","ListItem","ListItemEditorExtension","MediaPickerEditorExtension","MentionConfiguration","MentionContentData","MentionEditorExtension","MentionPluginKey","OrderedListEditorExtension","ParagraphNode","PlaceHolderNode","PlaceholderEditorExtension","RegistrationHelpder","RemovingFormattingEditorExtension","RichTextEditorExtensionLocalization","StrikeEditorExtension","TableEditorExtension","TableView","TextColorEditorExtension","TextCompletionEditorExtension","TextCompletionHandler","TextCompletionToolbar","TextNode","TextTranslatorEditorExtension","TodoListEditorExtension","UnderlineEditorExtension","panelElementName","tableNodeTypes","tableNodes","updateColumns"]},"./node_modules/@omnia/fx/ux/richtexteditor/extensions/MediaPicker/MediapickerStyle.css":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/extensions/mediapicker/mediapickerstyle.css","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js":{"id":"./node_modules/@omnia/fx/ux/richtexteditor/shareds/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["DefineRichTextExtension","defineRichTextNode"]},"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js":{"id":"./node_modules/country-flag-emoji-polyfill/dist/index.modern.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js":{"id":"./node_modules/is-emoji-supported/dist/esm/is-emoji-supported.js","buildMeta":{"async":false,"exportsType":"dynamic"}},"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js":{"id":"./wwwroot/scripts/tiptap/omfx.packages.tiptap_e32e367c-d09c-4088-90a8-fd6a1e0352c7.js","buildMeta":{}},"./node_modules/@omnia/fx/ux/richtexteditor/index.js":{"id":"f37916a5-b801-4e3a-a1be-30a009bd2df2","buildMeta":{"exportsType":"namespace"}}}}
|
@@ -1,7 +1,12 @@
|
|
1
1
|
import { ApiPath, RichTextEditorExtensionMessage } from "@omnia/fx-models";
|
2
2
|
import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
|
3
|
+
import { DefineRichTextExtension } from "./shareds";
|
3
4
|
export interface IRegisterRichTextEditorExtension {
|
5
|
+
/**
|
6
|
+
* @deprecated use register instead.
|
7
|
+
*/
|
4
8
|
registerExtension: (items: RichTextEditorExtensionMessage | RichTextEditorExtensionMessage[]) => void;
|
9
|
+
register(extension: ReturnType<typeof DefineRichTextExtension>): void;
|
5
10
|
}
|
6
11
|
export interface IRichTextEditorPublicApi {
|
7
12
|
registration: Promise<IRegisterRichTextEditorExtension>;
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/Alignment.d.ts
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
import { RichTextEditorExtension, RichTextEditorExtensionDefinition } from "../../IRichTextEditor";
|
2
2
|
import { Guid } from "../../../../models";
|
3
|
-
export declare class
|
3
|
+
export declare class LegacyAlignmentEditorExtension implements RichTextEditorExtension {
|
4
4
|
static get id(): Guid;
|
5
5
|
getDefition(): Promise<RichTextEditorExtensionDefinition>;
|
6
6
|
}
|
7
|
+
export declare const AlignmentEditorExtension: () => {
|
8
|
+
id: import("@omnia/fx-models").GuidValue;
|
9
|
+
title: string;
|
10
|
+
nodes?: (() => import("@tiptap/core").Mark<any, any> | import("@tiptap/core").Node<any, any> | import("@tiptap/core").Extension<any, any>)[];
|
11
|
+
toolbarItems?: import("../../shareds").RichTextToolbar<any>[];
|
12
|
+
bubbleMenuItems?: import("../../shareds").RichTextBubbleMenu<any>[];
|
13
|
+
};
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/Alignment/AlignmentNode.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import { Extension } from "@tiptap/core";
|
2
1
|
export interface TextAlignOptions {
|
3
2
|
types: string[];
|
4
3
|
alignments: string[];
|
@@ -18,5 +17,5 @@ declare module "@tiptap/core" {
|
|
18
17
|
};
|
19
18
|
}
|
20
19
|
}
|
21
|
-
declare const _default: Extension<
|
20
|
+
declare const _default: () => import("@tiptap/core").Mark<any, any> | import("@tiptap/core").Node<any, any> | import("@tiptap/core").Extension<any, any>;
|
22
21
|
export default _default;
|
@@ -23,5 +23,5 @@ export declare const starInputRegex: RegExp;
|
|
23
23
|
export declare const starPasteRegex: RegExp;
|
24
24
|
export declare const underscoreInputRegex: RegExp;
|
25
25
|
export declare const underscorePasteRegex: RegExp;
|
26
|
-
declare const _default: () => import("@tiptap/core").Mark<any, any>;
|
26
|
+
declare const _default: () => import("@tiptap/core").Mark<any, any> | import("@tiptap/core").Node<any, any> | import("@tiptap/core").Extension<any, any>;
|
27
27
|
export default _default;
|
package/internal-do-not-import-from-here/ux/richtexteditor/shareds/DefineRichTextExtension.d.ts
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
import { SetupFactoryContext } from "@omnia/fx";
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
3
|
+
import { defineRichTextNode } from "./DefineRichTextNode";
|
4
|
+
import { VNodeChild } from "vue";
|
5
|
+
export interface RichTextToolbar<T = any> {
|
6
|
+
toolbar: VNodeChild | any;
|
7
|
+
configuration?: T;
|
8
|
+
hidden?: boolean;
|
9
|
+
isSubToolBar?: boolean;
|
10
|
+
}
|
11
|
+
export interface RichTextBubbleMenu<T = any> {
|
12
|
+
menuItem: VNodeChild | any;
|
13
|
+
configuration?: T;
|
14
|
+
showOnPasted?: boolean;
|
15
|
+
}
|
16
|
+
type RichTextExtension = {
|
17
|
+
id: GuidValue;
|
18
|
+
title: string;
|
19
|
+
nodes?: Array<ReturnType<typeof defineRichTextNode>>;
|
20
|
+
toolbarItems?: Array<RichTextToolbar>;
|
21
|
+
bubbleMenuItems?: Array<RichTextBubbleMenu>;
|
22
|
+
};
|
23
|
+
interface SetupRichTextExtensionContext extends SetupFactoryContext {
|
24
|
+
}
|
25
|
+
export declare function DefineRichTextExtension(setup: (ctx: SetupRichTextExtensionContext) => RichTextExtension): () => RichTextExtension;
|
26
|
+
export {};
|
@@ -6,10 +6,5 @@ interface SetupRichTextNodeContext extends SetupFactoryContext {
|
|
6
6
|
defineMark: typeof Mark.create;
|
7
7
|
defineExtension: typeof Extension.create;
|
8
8
|
}
|
9
|
-
export declare function defineRichTextNode
|
10
|
-
export declare function defineRichTextNode<TReturnSetup extends RichTextNode, T1>(setup: (ctx: SetupRichTextNodeContext, param1: T1) => TReturnSetup): (param1: T1) => TReturnSetup;
|
11
|
-
export declare function defineRichTextNode<TReturnSetup extends RichTextNode, T1, T2>(setup: (ctx: SetupRichTextNodeContext, param1: T1, param2: T2) => TReturnSetup): (param1: T1, param2: T2) => TReturnSetup;
|
12
|
-
export declare function defineRichTextNode<TReturnSetup extends RichTextNode, T1, T2, T3>(setup: (ctx: SetupRichTextNodeContext, param1: T1, param2: T2, param3: T3) => TReturnSetup): (param1: T1, param2: T2, param3: T3) => TReturnSetup;
|
13
|
-
export declare function defineRichTextNode<TReturnSetup extends RichTextNode, T1, T2, T3, T4>(setup: (ctx: SetupRichTextNodeContext, param1: T1, param2: T2, param3: T3, param4: T4) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4) => TReturnSetup;
|
14
|
-
export declare function defineRichTextNode<TReturnSetup extends RichTextNode, T1, T2, T3, T4, T5>(setup: (ctx: SetupRichTextNodeContext, param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => TReturnSetup): (param1: T1, param2: T2, param3: T3, param4: T4, param5: T5) => TReturnSetup;
|
9
|
+
export declare function defineRichTextNode(setup: (ctx: SetupRichTextNodeContext) => RichTextNode): () => RichTextNode;
|
15
10
|
export {};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.78-dev",
|
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": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.78-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|