@finos/legend-lego 1.2.66 → 1.2.68
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/code-editor/CodeEditorTheme.d.ts +2 -0
- package/lib/code-editor/CodeEditorTheme.d.ts.map +1 -1
- package/lib/code-editor/CodeEditorTheme.js +20 -0
- package/lib/code-editor/CodeEditorTheme.js.map +1 -1
- package/lib/code-editor/CodeEditorUtils.d.ts.map +1 -1
- package/lib/code-editor/CodeEditorUtils.js +2 -1
- package/lib/code-editor/CodeEditorUtils.js.map +1 -1
- package/lib/code-editor/PureLanguageCodeEditorSupport.d.ts +1 -0
- package/lib/code-editor/PureLanguageCodeEditorSupport.d.ts.map +1 -1
- package/lib/code-editor/PureLanguageCodeEditorSupport.js +1 -0
- package/lib/code-editor/PureLanguageCodeEditorSupport.js.map +1 -1
- package/lib/code-editor/themes/Github-Theme-light.json +598 -0
- package/lib/index.css +1 -1
- package/package.json +9 -9
- package/src/code-editor/CodeEditorTheme.ts +26 -0
- package/src/code-editor/CodeEditorUtils.ts +5 -0
- package/src/code-editor/PureLanguageCodeEditorSupport.ts +3 -0
- package/src/code-editor/themes/Github-Theme-light.json +598 -0
- package/tsconfig.json +2 -0
@@ -16,6 +16,7 @@
|
|
16
16
|
import type { editor as monacoEditorAPI } from 'monaco-editor';
|
17
17
|
export declare enum CODE_EDITOR_THEME {
|
18
18
|
DEFAULT_DARK = "default-dark",
|
19
|
+
GITHUB_LIGHT = "github-light",
|
19
20
|
GITHUB_DARK = "github-dark",
|
20
21
|
GITHUB_DARK_DIMMED = "github-dark-dimmed",
|
21
22
|
SOLARIZED_DARK = "solarized-dark",
|
@@ -31,6 +32,7 @@ export declare enum CODE_EDITOR_THEME {
|
|
31
32
|
export declare const DEFAULT_DARK_THEME: monacoEditorAPI.IStandaloneThemeData;
|
32
33
|
export declare const SOLARIZED_DARK_THEME: monacoEditorAPI.IStandaloneThemeData;
|
33
34
|
export declare const GITHUB_DARK_THEME: monacoEditorAPI.IStandaloneThemeData;
|
35
|
+
export declare const GITHUB_LIGHT_THEME: monacoEditorAPI.IStandaloneThemeData;
|
34
36
|
export declare const GITHUB_DARK_DIMMED_THEME: monacoEditorAPI.IStandaloneThemeData;
|
35
37
|
export declare const MATERIAL_DEFAULT_THEME: monacoEditorAPI.IStandaloneThemeData;
|
36
38
|
export declare const MATERIAL_DARKER_THEME: monacoEditorAPI.IStandaloneThemeData;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditorTheme.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeEditorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"CodeEditorTheme.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeEditorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AA6B/D,oBAAY,iBAAiB;IAC3B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IAInC,sBAAsB,OAAO;IAC7B,qBAAqB,YAAY;IACjC,yBAAyB,aAAa;IACtC,yBAAyB,aAAa;CACvC;AAED,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,oBAYhD,CAAC;AAEF,eAAO,MAAM,oBAAoB,sCAKhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,sCAK7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAsB9B,CAAC;AAEF,eAAO,MAAM,wBAAwB,sCAKpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sCAKlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,sCAKjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,sCAK9B,CAAC;AAEF,eAAO,MAAM,yBAAyB,sCAKrC,CAAC"}
|
@@ -18,6 +18,7 @@ import { buildCodeEditorTheme } from './themes/MonacoEditorThemeUtils.js';
|
|
18
18
|
import SOLARIZED_DARK_THEME_DATA from './themes/solarized-dark-color-theme.json' with { type: 'json' };
|
19
19
|
import GITHUB_DARK_THEME_DATA from './themes/Github-Theme-dark.json' with { type: 'json' };
|
20
20
|
import GITHUB_DARK_DIMMED_THEME_DATA from './themes/Github-Theme-dark-dimmed.json' with { type: 'json' };
|
21
|
+
import GITHUB_LIGHT_THEME_DATA from './themes/Github-Theme-light.json' with { type: 'json' };
|
21
22
|
import MATERIAL_DEFAULT_THEME_DATA from './themes/Material-Theme-Default.json' with { type: 'json' };
|
22
23
|
import MATERIAL_DARKER_THEME_DATA from './themes/Material-Theme-Darker.json' with { type: 'json' };
|
23
24
|
import ONE_DARK_PRO_THEME_DATA from './themes/OneDark-Pro.json' with { type: 'json' };
|
@@ -42,6 +43,7 @@ const BASE_PURE_LANGUAGE_COLOR_TOKENS = [
|
|
42
43
|
export var CODE_EDITOR_THEME;
|
43
44
|
(function (CODE_EDITOR_THEME) {
|
44
45
|
CODE_EDITOR_THEME["DEFAULT_DARK"] = "default-dark";
|
46
|
+
CODE_EDITOR_THEME["GITHUB_LIGHT"] = "github-light";
|
45
47
|
CODE_EDITOR_THEME["GITHUB_DARK"] = "github-dark";
|
46
48
|
CODE_EDITOR_THEME["GITHUB_DARK_DIMMED"] = "github-dark-dimmed";
|
47
49
|
CODE_EDITOR_THEME["SOLARIZED_DARK"] = "solarized-dark";
|
@@ -71,6 +73,24 @@ export const DEFAULT_DARK_THEME = {
|
|
71
73
|
};
|
72
74
|
export const SOLARIZED_DARK_THEME = buildCodeEditorTheme(SOLARIZED_DARK_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK, {}, []);
|
73
75
|
export const GITHUB_DARK_THEME = buildCodeEditorTheme(GITHUB_DARK_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK, {}, []);
|
76
|
+
export const GITHUB_LIGHT_THEME = buildCodeEditorTheme(GITHUB_LIGHT_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_LIGHT, {}, [
|
77
|
+
// NOTE: `monaco-editor` only accepts HEX values, not CSS variables
|
78
|
+
// { token: PURE_GRAMMAR_TOKEN.IDENTIFIER, foreground: '000000' },
|
79
|
+
// { token: PURE_GRAMMAR_TOKEN.NUMBER, foreground: 'b5cea8' },
|
80
|
+
// { token: PURE_GRAMMAR_TOKEN.DATE, foreground: 'b5cea8' },
|
81
|
+
// { token: PURE_GRAMMAR_TOKEN.COLOR, foreground: 'b5cea8' },
|
82
|
+
// { token: PURE_GRAMMAR_TOKEN.PACKAGE, foreground: '808080' },
|
83
|
+
// { token: PURE_GRAMMAR_TOKEN.PARSER, foreground: 'c586c0' },
|
84
|
+
// { token: PURE_GRAMMAR_TOKEN.LANGUAGE_STRUCT, foreground: 'c586c0' },
|
85
|
+
// { token: PURE_GRAMMAR_TOKEN.MULTIPLICITY, foreground: '2d796b' },
|
86
|
+
// { token: PURE_GRAMMAR_TOKEN.GENERICS, foreground: '2d796b' },
|
87
|
+
// { token: PURE_GRAMMAR_TOKEN.PROPERTY, foreground: '9cdcfe' },
|
88
|
+
// { token: PURE_GRAMMAR_TOKEN.PARAMETER, foreground: '9cdcfe' },
|
89
|
+
// { token: PURE_GRAMMAR_TOKEN.VARIABLE, foreground: '4fc1ff' },
|
90
|
+
// { token: PURE_GRAMMAR_TOKEN.TYPE, foreground: '3dc9b0' },
|
91
|
+
// { token: `${PURE_GRAMMAR_TOKEN.STRING}.escape`, foreground: 'd7ba7d' },
|
92
|
+
// TODO: handle SQL formatting like in dark theme?
|
93
|
+
]);
|
74
94
|
export const GITHUB_DARK_DIMMED_THEME = buildCodeEditorTheme(GITHUB_DARK_DIMMED_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK, {}, []);
|
75
95
|
export const MATERIAL_DEFAULT_THEME = buildCodeEditorTheme(MATERIAL_DEFAULT_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK, {}, []);
|
76
96
|
export const MATERIAL_DARKER_THEME = buildCodeEditorTheme(MATERIAL_DARKER_THEME_DATA, CODE_EDITOR_THEME.BUILT_IN__VSCODE_DARK, {}, []);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditorTheme.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,yBAAyB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACvG,OAAO,sBAAsB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3F,OAAO,6BAA6B,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACzG,OAAO,2BAA2B,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACrG,OAAO,0BAA0B,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACnG,OAAO,uBAAuB,MAAM,2BAA2B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,8BAA8B,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEpG,MAAM,+BAA+B,GAAsC;IACzE,mEAAmE;IACnE,EAAE,KAAK,EAAE,kBAAkB,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE;IAC9D,EAAE,KAAK,EAAE,kBAAkB,CAAC,MAAM,EAAE,U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AC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAC3D,8BAA8B,EAC9B,iBAAiB,CAAC,qBAAqB,EACvC,EAAE,EACF,EAAE,CACH,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditorUtils.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeEditorUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,MAAM,IAAI,eAAe,EAI1B,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"CodeEditorUtils.d.ts","sourceRoot":"","sources":["../../src/code-editor/CodeEditorUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,MAAM,IAAI,eAAe,EAI1B,MAAM,eAAe,CAAC;AAcvB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WACpB,eAAe,CAAC,qBAAqB,KAC5C,IAIF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WACxB,eAAe,CAAC,qBAAqB,KAC5C,IAIF,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,WACrB,eAAe,CAAC,qBAAqB,KAC5C,MACwE,CAAC;AAE5E,eAAO,MAAM,wBAAwB,QAC/B,eAAe,CAAC,oCA0BwC,CAAC;AAE/D,eAAO,MAAM,qBAAqB,QAC5B,eAAe,CAAC,oCAqBlB,CAAC;AAEL,eAAO,MAAM,oBAAoB,WACvB,eAAe,CAAC,WAAW,YACzB,kBAAkB,KAC3B,IAMF,CAAC;AAIF,eAAO,MAAM,eAAe,gBACb,eAAe,CAAC,UAAU,UAC/B;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,EAAE,YACO,MAAM,KACf,IAcF,CAAC;AAEF,eAAO,MAAM,iBAAiB,gBACf,eAAe,CAAC,UAAU,YAC7B;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,EAAE,YACO,MAAM,KACf,IAcF,CAAC;AAEF,eAAO,MAAM,YAAY,aAAc,MAAM,KAAG,IAI/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAS,MAAM,KAAG,MAC1B,CAAC;AAKzB,eAAO,MAAM,0BAA0B,WAC7B,eAAe,CAAC,WAAW,KAClC,IAQF,CAAC;AAEF,eAAO,MAAM,4BAA4B,qBACrB,6BAA6B,KAC9C,OAAO,CAAC,IAAI,CA+Fd,CAAC;AAEF,oBAAY,oBAAoB;IAC9B,IAAI,cAAc;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { APPLICATION_EVENT, DEFAULT_MONOSPACED_FONT_FAMILY, } from '@finos/legend-application';
|
17
17
|
import { LogEvent } from '@finos/legend-shared';
|
18
18
|
import { editor as monacoEditorAPI, KeyCode, KeyMod, MarkerSeverity, } from 'monaco-editor';
|
19
|
-
import { CODE_EDITOR_THEME, DEFAULT_DARK_THEME, GITHUB_DARK_DIMMED_THEME, GITHUB_DARK_THEME, MATERIAL_DARKER_THEME, MATERIAL_DEFAULT_THEME, ONE_DARK_PRO_DARKER_THEME, ONE_DARK_PRO_THEME, SOLARIZED_DARK_THEME, } from './CodeEditorTheme.js';
|
19
|
+
import { CODE_EDITOR_THEME, DEFAULT_DARK_THEME, GITHUB_DARK_DIMMED_THEME, GITHUB_DARK_THEME, GITHUB_LIGHT_THEME, MATERIAL_DARKER_THEME, MATERIAL_DEFAULT_THEME, ONE_DARK_PRO_DARKER_THEME, ONE_DARK_PRO_THEME, SOLARIZED_DARK_THEME, } from './CodeEditorTheme.js';
|
20
20
|
/**
|
21
21
|
* Normally `monaco-editor` worker disposes after 5 minutes staying idle, but we fasten
|
22
22
|
* this pace just in case the usage of the editor causes memory-leak somehow
|
@@ -182,6 +182,7 @@ export const configureCodeEditorComponent = async (applicationStore) => {
|
|
182
182
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.SOLARIZED_DARK, SOLARIZED_DARK_THEME);
|
183
183
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.GITHUB_DARK, GITHUB_DARK_THEME);
|
184
184
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.GITHUB_DARK_DIMMED, GITHUB_DARK_DIMMED_THEME);
|
185
|
+
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.GITHUB_LIGHT, GITHUB_LIGHT_THEME);
|
185
186
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.MATERIAL_DEFAULT, MATERIAL_DEFAULT_THEME);
|
186
187
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.MATERIAL_DARKER, MATERIAL_DARKER_THEME);
|
187
188
|
monacoEditorAPI.defineTheme(CODE_EDITOR_THEME.ONE_DARK_PRO, ONE_DARK_PRO_THEME);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CodeEditorUtils.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditorUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,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CAAa,CAAA;IACb,6CAAqB,CAAA;IACrB,mCAAW,CAAA;IACX,mCAAW,CAAA;IACX,qCAAa,CAAA;IACb,2CAAmB,CAAA;AACrB,CAAC,EAVW,oBAAoB,KAApB,oBAAoB,QAU/B"}
|
1
|
+
{"version":3,"file":"CodeEditorUtils.js","sourceRoot":"","sources":["../../src/code-editor/CodeEditorUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,8BAA8B,GAE/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,MAAM,IAAI,eAAe,EACzB,OAAO,EACP,MAAM,EACN,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAO9B;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAA6C,EACvC,EAAE;IACR,MAAM,CAAC,OAAO,EAAE,CAAC;IACjB,yEAAyE;IACzE,MAAM,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC;AAC/B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,MAA6C,EACvC,EAAE;IACR,MAAM,CAAC,OAAO,EAAE,CAAC;IACjB,MAAM,CAAC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC;IACjD,MAAM,CAAC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC;AACnD,CAAC,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,MAA6C,EACrC,EAAE,CACV,MAA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AAsB,CACvB,CAAC;IACF,eAAe,CAAC,WAAW,CACzB,iBAAiB,CAAC,eAAe,EACjC,qBAAqB,CACtB,CAAC;IACF,eAAe,CAAC,WAAW,CACzB,iBAAiB,CAAC,YAAY,EAC9B,kBAAkB,CACnB,CAAC;IACF,eAAe,CAAC,WAAW,CACzB,iBAAiB,CAAC,mBAAmB,EACrC,yBAAyB,CAC1B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAN,IAAY,oBAUX;AAVD,WAAY,oBAAoB;IAC9B,0CAAkB,CAAA;IAClB,qCAAa,CAAA;IACb,qCAAa,CAAA;IACb,qCAAa,CAAA;IACb,6CAAqB,CAAA;IACrB,mCAAW,CAAA;IACX,mCAAW,CAAA;IACX,qCAAa,CAAA;IACb,2CAAmB,CAAA;AACrB,CAAC,EAVW,oBAAoB,KAApB,oBAAoB,QAU/B"}
|
@@ -67,4 +67,5 @@ export declare const getSectionParserNameFromLineText: (lineText: string) => str
|
|
67
67
|
export declare const getParserElementSnippetSuggestions: (position: IPosition, model: monacoEditorAPI.ITextModel, suggestionsGetter: (parserName: string) => PureGrammarTextSuggestion[]) => monacoLanguagesAPI.CompletionItem[];
|
68
68
|
export declare const getInlineSnippetSuggestions: (position: IPosition, model: monacoEditorAPI.ITextModel, extraSnippetSuggestions?: PureGrammarTextSuggestion[]) => monacoLanguagesAPI.CompletionItem[];
|
69
69
|
export declare const isTokenOneOf: (token: string, baseTokens: string[], exact?: boolean) => boolean;
|
70
|
+
export declare const PURE_CODE_EDITOR_WORD_SEPARATORS = "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?";
|
70
71
|
//# sourceMappingURL=PureLanguageCodeEditorSupport.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PureLanguageCodeEditorSupport.d.ts","sourceRoot":"","sources":["../../src/code-editor/PureLanguageCodeEditorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAOpE,OAAO,EACL,KAAK,MAAM,IAAI,eAAe,EAC9B,SAAS,IAAI,kBAAkB,EAC/B,KAAK,SAAS,EACf,MAAM,eAAe,CAAC;AAEvB;;;;;;GAMG;AACH,MAAM,WAAW,uCAAuC;IACtD;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,2BAA2B,aAC5B,SAAS,SACZ,eAAe,CAAC,UAAU,eACpB,yBAAyB,EAAE,KACvC,kBAAkB,CAAC,cAAc,EAuCnC,CAAC;AAEF,eAAO,MAAM,gCAAgC,aACjC,MAAM,KACf,MAAM,GAAG,SAMX,CAAC;AAEF,eAAO,MAAM,kCAAkC,aACnC,SAAS,SACZ,eAAe,CAAC,UAAU,qBACd,CAAC,UAAU,EAAE,MAAM,KAAK,yBAAyB,EAAE,KACrE,kBAAkB,CAAC,cAAc,EAiDnC,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,SAAS,SACZ,eAAe,CAAC,UAAU,4BACR,yBAAyB,EAAE,KACnD,kBAAkB,CAAC,cAAc,EAmInC,CAAC;AAEF,eAAO,MAAM,YAAY,UAChB,MAAM,cACD,MAAM,EAAE,sBAEnB,OAQF,CAAC"}
|
1
|
+
{"version":3,"file":"PureLanguageCodeEditorSupport.d.ts","sourceRoot":"","sources":["../../src/code-editor/PureLanguageCodeEditorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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
|
234
234
|
const baseToken = guaranteeNonNullable(getNullableFirstEntry(token.split('.')));
|
235
235
|
return baseTokens.includes(baseToken);
|
236
236
|
};
|
237
|
+
export const PURE_CODE_EDITOR_WORD_SEPARATORS = '`~!@#%^&*()-=+[{]}\\|;:\'",.<>/?'; // omit $ from default word separators
|
237
238
|
//# sourceMappingURL=PureLanguageCodeEditorSupport.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PureLanguageCodeEditorSupport.js","sourceRoot":"","sources":["../../src/code-editor/PureLanguageCodeEditorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,SAAS,IAAI,kBAAkB,GAEhC,MAAM,eAAe,CAAC;AAmDvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,QAAmB,EACnB,KAAiC,EACjC,WAAwC,EACH,EAAE;IACvC,MAAM,OAAO,GAAwC,EAAE,CAAC;IACxD,MAAM,WAAW,GAAG,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IAEzD,iCAAiC;IACjC,MAAM,0BAA0B,GAAG;QACjC,eAAe,EAAE,QAAQ,CAAC,UAAU;QACpC,WAAW,EAAE,CAAC;QACd,aAAa,EAAE,QAAQ,CAAC,UAAU;QAClC,SAAS,EAAE,WAAW,CAAC,SAAS;KACjC,CAAC;IACF,MAAM,qBAAqB,GAAG,KAAK,CAAC,eAAe,CACjD,0BAA0B,CAC3B,CAAC;IAEF,uFAAuF;IACvF,0FAA0F;IAC1F,IAAI,CAAC,aAAa,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC;QACjD,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;YACjC,OAAO,CAAC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AC,SAAS;SACjC;QACD,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC5C,CAAC,CAAC,iBAAiB,CAAC,aAAa,CAAC,YAAY;gBAC5C,CAAC,CAAC;oBACE,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK;iBAC1D;gBACH,CAAC,CAAC,iBAAiB,CAAC,aAAa,CAAC,IAAI;YACxC,CAAC,CAAC,SAAS;KACd,CAAsC,CAC1C,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,KAAa,EACb,UAAoB,EACpB,KAAK,GAAG,KAAK,EACJ,EAAE;IACX,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5E,CAAC;IACD,MAAM,SAAS,GAAG,oBAAoB,CACpC,qBAAqB,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CACxC,CAAC;IACF,OAAO,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACxC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"PureLanguageCodeEditorSupport.js","sourceRoot":"","sources":["../../src/code-editor/PureLanguageCodeEditorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,SAAS,IAAI,kBAAkB,GAEhC,MAAM,eAAe,CAAC;AAmDvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,QAAmB,EACnB,KAAiC,EACjC,WAAwC,EACH,EAAE;IACvC,MAAM,OAAO,GAAwC,EAAE,CAAC;I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