@ones-editor/editor 0.0.7-beta.14 → 0.0.7-beta.16
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/@ones-editor/code-block/src/code-block/languages.d.ts +8 -8
- package/@ones-editor/core/src/utils/abbreviation.d.ts +1 -1
- package/@ones-editor/drop-target/src/drop-indicator.d.ts +1 -0
- package/@ones-editor/graph-embed/src/helper/graph-base.d.ts +1 -1
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/tooltips/index.d.ts +2 -0
- package/@ones-editor/ui-base/src/icons/index.d.ts +15 -5
- package/@ones-editor/ui-base/src/list/filterable-list.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +636 -455
- package/package.json +2 -1
|
@@ -68,10 +68,6 @@ import 'prismjs/components/prism-visual-basic';
|
|
|
68
68
|
import 'prismjs/components/prism-wasm';
|
|
69
69
|
import 'prismjs/components/prism-yaml';
|
|
70
70
|
declare const SUPPORTED_LANGUAGES: {
|
|
71
|
-
plain: {
|
|
72
|
-
name: string;
|
|
73
|
-
aliases: string[];
|
|
74
|
-
};
|
|
75
71
|
abap: {
|
|
76
72
|
name: string;
|
|
77
73
|
aliases: string[];
|
|
@@ -172,6 +168,10 @@ declare const SUPPORTED_LANGUAGES: {
|
|
|
172
168
|
name: string;
|
|
173
169
|
aliases: string[];
|
|
174
170
|
};
|
|
171
|
+
markup: {
|
|
172
|
+
name: string;
|
|
173
|
+
aliases: string[];
|
|
174
|
+
};
|
|
175
175
|
java: {
|
|
176
176
|
name: string;
|
|
177
177
|
aliases: string[];
|
|
@@ -220,10 +220,6 @@ declare const SUPPORTED_LANGUAGES: {
|
|
|
220
220
|
name: string;
|
|
221
221
|
aliases: string[];
|
|
222
222
|
};
|
|
223
|
-
markup: {
|
|
224
|
-
name: string;
|
|
225
|
-
aliases: string[];
|
|
226
|
-
};
|
|
227
223
|
matlab: {
|
|
228
224
|
name: string;
|
|
229
225
|
aliases: string[];
|
|
@@ -256,6 +252,10 @@ declare const SUPPORTED_LANGUAGES: {
|
|
|
256
252
|
name: string;
|
|
257
253
|
aliases: string[];
|
|
258
254
|
};
|
|
255
|
+
plain: {
|
|
256
|
+
name: string;
|
|
257
|
+
aliases: string[];
|
|
258
|
+
};
|
|
259
259
|
powershell: {
|
|
260
260
|
name: string;
|
|
261
261
|
aliases: string[];
|
|
@@ -12,7 +12,7 @@ export declare function hashCode(str: string): number;
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function abbreviation(name: string, maxLength?: number): string;
|
|
14
14
|
declare enum EColor {
|
|
15
|
-
blue = "#
|
|
15
|
+
blue = "#0064FF",
|
|
16
16
|
cyan = "#34AFDE",
|
|
17
17
|
teal = "#2CB2AE",
|
|
18
18
|
green = "#24B47E",
|
|
@@ -19,7 +19,7 @@ export default abstract class GraphBase {
|
|
|
19
19
|
createEmbedContent(content: BlockContentElement, block: DocEmbedBlock): void;
|
|
20
20
|
updateEmbedContent(content: BlockContentElement, block: DocEmbedBlock): void;
|
|
21
21
|
protected updateImage(embed: HTMLDivElement, code: string | undefined, url: string | undefined | null, err: Error | null): Promise<void>;
|
|
22
|
-
protected errorBoundary(embed: HTMLDivElement, code: string | undefined, url: string | undefined | null, reason: 'imageLoadError' | 'grammarError'): void;
|
|
22
|
+
protected errorBoundary(embed: HTMLDivElement, code: string | undefined, url: string | undefined | null, reason: 'imageLoadError' | 'grammarError', error?: Error): void;
|
|
23
23
|
protected emptyContent(): void;
|
|
24
24
|
protected updateSpecialClasses(embed: HTMLDivElement, code: string | undefined, err: Error | null): void;
|
|
25
25
|
editGraph(content: BlockContentElement): void;
|