sykpcomposer 1.20.4 → 1.20.5
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/dist/{ImageComponent-7e23ec48.js → ImageComponent-c114224f.js} +3 -3
- package/dist/{ImageComponent-7e23ec48.js.map → ImageComponent-c114224f.js.map} +1 -1
- package/dist/{InlineImageComponent-e3f97510.js → InlineImageComponent-9cce9bd8.js} +3 -3
- package/dist/{InlineImageComponent-e3f97510.js.map → InlineImageComponent-9cce9bd8.js.map} +1 -1
- package/dist/{LexicalNestedComposer.prod-121e8648.js → LexicalNestedComposer.prod-b8c3627e.js} +2 -2
- package/dist/{LexicalNestedComposer.prod-121e8648.js.map → LexicalNestedComposer.prod-b8c3627e.js.map} +1 -1
- package/dist/{PollComponent-47dde67f.js → PollComponent-71915cc5.js} +2 -2
- package/dist/{PollComponent-47dde67f.js.map → PollComponent-71915cc5.js.map} +1 -1
- package/dist/{index-0c433935.js → index-d0cc52bf.js} +1153 -1141
- package/dist/index-d0cc52bf.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +29 -29
- package/dist/index.umd.js.map +1 -1
- package/dist/src/lexical/commenting/index.d.ts +2 -2
- package/dist/src/lexical/nodes/lexical-mark-custom/MarkNode.d.ts +5 -5
- package/package.json +1 -1
- package/dist/index-0c433935.js.map +0 -1
|
@@ -6,7 +6,7 @@ export type Comment = {
|
|
|
6
6
|
content: string;
|
|
7
7
|
deleted: boolean;
|
|
8
8
|
id: string;
|
|
9
|
-
timeStamp:
|
|
9
|
+
timeStamp: string;
|
|
10
10
|
type: "comment";
|
|
11
11
|
quote?: string;
|
|
12
12
|
userEmail?: string;
|
|
@@ -40,7 +40,7 @@ export type Thread = {
|
|
|
40
40
|
wpAndTaskId?: wpAndTaskIdType;
|
|
41
41
|
};
|
|
42
42
|
export type Comments = Array<Thread | Comment>;
|
|
43
|
-
export declare function createComment(content: string, author: string, userEmail?: string, mentionedEmails?: string[],
|
|
43
|
+
export declare function createComment(content: string, author: string, userEmail?: string, mentionedEmails?: string[], timeStamp?: string, id?: string, deleted?: boolean): Comment;
|
|
44
44
|
export declare function createThread(quote: string, comments: Array<Comment>, id?: string, wpAndTaskId?: wpAndTaskIdType): Thread;
|
|
45
45
|
export declare class CommentStore {
|
|
46
46
|
_editor: LexicalEditor;
|
|
@@ -5,26 +5,26 @@ export type SerializedMarkNode = Spread<{
|
|
|
5
5
|
}, SerializedElementNode>;
|
|
6
6
|
/** @noInheritDoc */
|
|
7
7
|
export declare class MarkNode extends ElementNode {
|
|
8
|
-
__ids:
|
|
8
|
+
__ids: string[];
|
|
9
9
|
static getType(): string;
|
|
10
10
|
static clone(node: MarkNode): MarkNode;
|
|
11
11
|
static importDOM(): DOMConversionMap;
|
|
12
12
|
static importJSON(serializedNode: SerializedMarkNode): MarkNode;
|
|
13
13
|
exportJSON(): SerializedMarkNode;
|
|
14
|
-
constructor(ids?:
|
|
14
|
+
constructor(ids?: string[], key?: NodeKey);
|
|
15
15
|
createDOM(config: EditorConfig): HTMLElement;
|
|
16
16
|
updateDOM(prevNode: this, element: HTMLElement, config: EditorConfig): boolean;
|
|
17
17
|
exportDOM(): DOMExportOutput;
|
|
18
18
|
hasID(id: string): boolean;
|
|
19
19
|
getIDs(): Array<string>;
|
|
20
|
-
setIDs(ids:
|
|
20
|
+
setIDs(ids: string[]): this;
|
|
21
21
|
addID(id: string): this;
|
|
22
|
-
deleteID(id: string):
|
|
22
|
+
deleteID(id: string): void;
|
|
23
23
|
insertNewAfter(selection: RangeSelection, restoreSelection?: boolean): null | ElementNode;
|
|
24
24
|
canInsertTextBefore(): false;
|
|
25
25
|
canInsertTextAfter(): false;
|
|
26
26
|
canBeEmpty(): false;
|
|
27
27
|
isInline(): true;
|
|
28
28
|
}
|
|
29
|
-
export declare function $createMarkNode(ids?:
|
|
29
|
+
export declare function $createMarkNode(ids?: string[]): MarkNode;
|
|
30
30
|
export declare function $isMarkNode(node: LexicalNode | null): node is MarkNode;
|