@evercam/ui 0.0.63-preview-copilot-annotations-595535d84 → 0.0.63-preview-copilot-annotations-373b536aa
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/components/chat/EMarkdown.vue.d.ts +34 -15
- package/dist/index.mjs +1849 -1958
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -2
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
2
|
import { EMarkdownRegex } from '../../types';
|
|
3
|
+
import { UnistNode, UnistParent } from "unist-util-visit/lib";
|
|
3
4
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
-
accumulatedMarkdown: string;
|
|
5
|
-
processedLength: number;
|
|
6
|
-
currentChunkIndex: number;
|
|
7
|
-
chunkQueue: never[];
|
|
8
5
|
isProcessing: boolean;
|
|
9
|
-
typewriter:
|
|
10
|
-
renderTargets: {
|
|
6
|
+
typewriter: any;
|
|
7
|
+
renderTargets: Record<string, {
|
|
8
|
+
match: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}>;
|
|
11
|
+
isRenderingTable: boolean;
|
|
12
|
+
isIncompleteTableRow: boolean;
|
|
13
|
+
processor: import("unified").Processor<undefined, undefined, undefined, undefined, undefined> | null;
|
|
14
|
+
accumulator: string;
|
|
15
|
+
lastProcessedLength: number;
|
|
11
16
|
}, {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
initTypewriter(): void;
|
|
18
|
+
initProcessor(): void;
|
|
19
|
+
processMarkdown(markdown: string): Promise<string | null>;
|
|
20
|
+
remarkCustomRegex(regexList: EMarkdownRegex[]): (tree: UnistNode) => void;
|
|
21
|
+
processTextNode(node: UnistNode, nodeIndex: number, parent: UnistParent, regex: RegExp, type: string): any[] | undefined;
|
|
22
|
+
replaceRegexTargets(parts: string[], regex: RegExp, type: string, node: UnistNode, nodeIndex: number): ({
|
|
23
|
+
type: string;
|
|
24
|
+
value: string;
|
|
25
|
+
} | null)[];
|
|
26
|
+
generateUniqueId(node: UnistNode, nodeIndex: number, partIndex: number, type: string): string;
|
|
27
|
+
remarkCheckIncompleteTableRows(): (tree: UnistNode) => void;
|
|
28
|
+
processChunk(newChunk: string): Promise<void>;
|
|
29
|
+
animateNewChunk(processedHtml: string): Promise<void>;
|
|
30
|
+
getNewContent(processedHtml: string): string;
|
|
31
|
+
updateContent(processedHtml: string): void;
|
|
32
|
+
handleNewChunk(newChunk: string): Promise<void>;
|
|
33
|
+
processInitialChunks(): Promise<void>;
|
|
17
34
|
renderRegexesScopedSlots(): void;
|
|
18
|
-
renderScopedSlot({ id, type, propsData }: {
|
|
19
|
-
id:
|
|
20
|
-
type:
|
|
21
|
-
propsData:
|
|
35
|
+
renderScopedSlot({ id, type, propsData, }: {
|
|
36
|
+
id: string;
|
|
37
|
+
type: string;
|
|
38
|
+
propsData: {
|
|
39
|
+
match: string;
|
|
40
|
+
};
|
|
22
41
|
}): import("vue/types/vue").CombinedVueInstance<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, object, object, object, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue/types/v3-component-public-instance").OptionTypesType<{}, {}, {}, {}, {}, {}>> | undefined;
|
|
23
42
|
}, unknown, {
|
|
24
43
|
chunks: string | string[];
|