@difizen/libro-cofine-editor 0.3.4 → 1.0.0
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/es/editor-contribution.js +1 -1
- package/es/language/json/json-contribution.js +1 -1
- package/es/language/json/module.d.ts +1 -1
- package/es/language/json/module.d.ts.map +1 -1
- package/es/language/json/module.js +1 -1
- package/es/language/julia/julia-contribution.js +1 -1
- package/es/language/julia/module.d.ts +1 -1
- package/es/language/julia/module.d.ts.map +1 -1
- package/es/language/julia/module.js +1 -1
- package/es/language/python/module.d.ts +1 -1
- package/es/language/python/module.d.ts.map +1 -1
- package/es/language/python/module.js +1 -1
- package/es/language/python/python-language-feature.js +1 -1
- package/es/language/r/module.d.ts +1 -1
- package/es/language/r/module.d.ts.map +1 -1
- package/es/language/r/module.js +1 -1
- package/es/language/r/r-contribution.js +1 -1
- package/es/language/sql/module.d.ts +1 -1
- package/es/language/sql/module.d.ts.map +1 -1
- package/es/language/sql/module.js +1 -1
- package/es/language/sql/sql-contribution.js +1 -1
- package/es/libro-e2-editor.d.ts +4 -4
- package/es/libro-e2-editor.d.ts.map +1 -1
- package/es/libro-e2-editor.js +2 -2
- package/es/libro-e2-inline-completion-register.d.ts +1 -1
- package/es/libro-e2-inline-completion-register.d.ts.map +1 -1
- package/es/libro-e2-inline-completion-register.js +2 -2
- package/es/libro-e2-preload.d.ts +2 -2
- package/es/libro-e2-preload.d.ts.map +1 -1
- package/es/libro-e2-preload.js +1 -1
- package/es/libro-sql-api.js +1 -1
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/es/placeholder.d.ts +2 -2
- package/es/placeholder.d.ts.map +1 -1
- package/es/placeholder.js +1 -1
- package/es/theme/libro-python-theme-contribution.js +1 -1
- package/es/theme/module.d.ts +1 -1
- package/es/theme/module.d.ts.map +1 -1
- package/es/theme/module.js +1 -1
- package/package.json +7 -8
- package/src/editor-contribution.ts +1 -1
- package/src/language/json/json-contribution.ts +1 -1
- package/src/language/json/module.ts +1 -1
- package/src/language/julia/julia-contribution.ts +1 -1
- package/src/language/julia/module.ts +1 -1
- package/src/language/python/module.ts +1 -1
- package/src/language/python/python-language-feature.ts +1 -1
- package/src/language/r/module.ts +1 -1
- package/src/language/r/r-contribution.ts +1 -1
- package/src/language/sql/module.ts +1 -1
- package/src/language/sql/sql-contribution.ts +1 -1
- package/src/libro-e2-editor.ts +2 -2
- package/src/libro-e2-inline-completion-register.ts +2 -2
- package/src/libro-e2-preload.ts +2 -2
- package/src/libro-sql-api.ts +1 -1
- package/src/module.ts +1 -1
- package/src/placeholder.ts +2 -2
- package/src/theme/libro-python-theme-contribution.ts +1 -1
- package/src/theme/module.ts +1 -1
|
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
9
9
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
11
|
import { CodeEditorContribution, LanguageSpecRegistry } from '@difizen/libro-code-editor';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import { e2StateFactory, libroE2DefaultConfig, LibroE2EditorFactory } from "./libro-e2-editor.js";
|
|
14
14
|
export var LibroE2EditorContribution = (_dec = singleton({
|
|
15
15
|
contrib: [CodeEditorContribution]
|
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
11
11
|
import { setTokensLanguage } from "./theme-provider.js";
|
|
12
12
|
export var JsonContribution = (_dec = singleton({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const JSONLanguageFeature: import("@difizen/
|
|
1
|
+
export declare const JSONLanguageFeature: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/json/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/json/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,uGAAsC,CAAC"}
|
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
11
11
|
import { setTokensLanguage } from "./theme-provider.js";
|
|
12
12
|
export var JuliaContribution = (_dec = singleton({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const JuliaLanguageFeature: import("@difizen/
|
|
1
|
+
export declare const JuliaLanguageFeature: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/julia/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/julia/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,uGAAuC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PythonLanguageFeature: import("@difizen/
|
|
1
|
+
export declare const PythonLanguageFeature: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/python/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/python/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,uGAAwC,CAAC"}
|
|
@@ -10,7 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
11
|
import { InitializeContribution, LanguageOptionsRegistry, SnippetSuggestContribution } from '@difizen/libro-cofine-editor-core';
|
|
12
12
|
import { LanguageGrammarDefinitionContribution } from '@difizen/libro-cofine-textmate';
|
|
13
|
-
import { inject, singleton } from '@difizen/
|
|
13
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
14
14
|
import { languages } from '@difizen/monaco-editor-core';
|
|
15
15
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
16
16
|
import pythonGrammar from "./data/MagicPython.tmLanguage.json";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const RLanguageFeature: import("@difizen/
|
|
1
|
+
export declare const RLanguageFeature: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/r/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/r/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,uGAAmC,CAAC"}
|
package/es/language/r/module.js
CHANGED
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
11
11
|
import { setTokensLanguage } from "./theme-provider.js";
|
|
12
12
|
export var RContribution = (_dec = singleton({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SQLLanguageFeature: import("@difizen/
|
|
1
|
+
export declare const SQLLanguageFeature: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/sql/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/language/sql/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,uGAAqC,CAAC"}
|
|
@@ -6,7 +6,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
9
|
-
import { singleton } from '@difizen/
|
|
9
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
11
11
|
import { id } from "./config.js";
|
|
12
12
|
import { setTokensLanguage } from "./theme-provider.js";
|
package/es/libro-e2-editor.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { CodeEditorFactory, CompletionProvider, EditorState, EditorStateFac
|
|
|
2
2
|
import { LanguageSpecRegistry } from '@difizen/libro-code-editor';
|
|
3
3
|
import type { E2Editor } from '@difizen/libro-cofine-editor-core';
|
|
4
4
|
import type { LSPProvider } from '@difizen/libro-lsp';
|
|
5
|
-
import { CommandRegistry, Deferred, ThemeService } from '@difizen/
|
|
6
|
-
import { DisposableCollection, Emitter } from '@difizen/
|
|
5
|
+
import { CommandRegistry, Deferred, ThemeService } from '@difizen/libro-common/app';
|
|
6
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
7
7
|
import 'resize-observer-polyfill';
|
|
8
8
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
9
9
|
import { PlaceholderContentWidget } from './placeholder.js';
|
|
@@ -200,7 +200,7 @@ export declare class LibroE2Editor implements IEditor {
|
|
|
200
200
|
get monacoEditor(): MonacoEditorType | undefined;
|
|
201
201
|
get lineCount(): number;
|
|
202
202
|
protected onModelContentChangedEmitter: Emitter<IModelContentChange[]>;
|
|
203
|
-
onModelContentChanged: import("@difizen/
|
|
203
|
+
onModelContentChanged: import("@difizen/libro-common/app").Event<IModelContentChange[]>;
|
|
204
204
|
lspProvider?: LSPProvider;
|
|
205
205
|
completionProvider?: CompletionProvider;
|
|
206
206
|
tooltipProvider?: TooltipProvider;
|
|
@@ -250,7 +250,7 @@ export declare class LibroE2Editor implements IEditor {
|
|
|
250
250
|
resizeToFit: () => void;
|
|
251
251
|
getPositionForCoordinate: (coordinate: ICoordinate) => null;
|
|
252
252
|
protected modalChangeEmitter: Emitter<boolean>;
|
|
253
|
-
get onModalChange(): import("@difizen/
|
|
253
|
+
get onModalChange(): import("@difizen/libro-common/app").Event<boolean>;
|
|
254
254
|
protected toMonacoRange(range: IRange): {
|
|
255
255
|
startLineNumber: number;
|
|
256
256
|
startColumn: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-e2-editor.d.ts","sourceRoot":"","sources":["../src/libro-e2-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,aAAa,EACb,cAAc,EACd,MAAM,EACN,mBAAmB,EACnB,SAAS,EACT,MAAM,EACN,WAAW,EACX,eAAe,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAiB,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAIlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,eAAe,EACf,QAAQ,EAGR,YAAY,EAGb,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-e2-editor.d.ts","sourceRoot":"","sources":["../src/libro-e2-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,aAAa,EACb,cAAc,EACd,MAAM,EACN,mBAAmB,EACnB,SAAS,EACT,MAAM,EACN,WAAW,EACX,eAAe,EAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAiB,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAIlE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,eAAe,EACf,QAAQ,EAGR,YAAY,EAGb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAc,oBAAoB,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAE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,WAAW,aAAc,SAAS,YAMhC;IACF,IAAI,aAEF;IAEF,IAAI,aAEF;IACF,KAAK,aAIH;IACF,QAAQ,gBAEN;IACF,IAAI,aAEF;IACF,WAAW,aAET;IAEF,wBAAwB,eAAgB,WAAW,UAEjD;IAEF,SAAS,CAAC,kBAAkB,mBAA0B;IACtD,IAAI,aAAa,uDAEhB;IAED,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,MAAM;;;;;;IAWrC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM;IAarD,iBAAiB,WAAY,MAAM,GAAG,SAAS,wBAK7C;IAEF,aAAa,WAAY,MAAM,KAAG,SAAS,GAAG,SAAS,CAGrD;IAEF,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW;IAexD,gBAAgB,SAAU,MAAM,SAAS,MAAM,UAQ7C;IAEF,iBAAiB,UAAW;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,UAM3D;IAEF,iBAAiB,kBAOf;IACF,iBAAiB,aAAc,SAAS,UAKtC;IACF,YAAY;;;MAYV;IACF,YAAY,cAAe,MAAM,UAE/B;IACF,aAAa,iBAeX;IACF,aAAa,eAAgB,MAAM,EAAE,UAYnC;IAEF,eAAe,cAAe,MAAM,UAElC;IACF,gBAAgB,YAAa,WAAW,EAAE,gBAAgB,MAAM,GAAG,SAAS,UAiC1E;IAEF,MAAM,aAEJ;IAEF,SAAS,CAAC,WAAW,UAAS;IAC9B;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IACD,OAAO,aAUL;IAEF,qBAAqB,aAInB;CACH"}
|
package/es/libro-e2-editor.js
CHANGED
|
@@ -18,8 +18,8 @@ import { defaultConfig, LanguageSpecRegistry } from '@difizen/libro-code-editor'
|
|
|
18
18
|
import { EditorProvider, MonacoEnvironment } from '@difizen/libro-cofine-editor-core';
|
|
19
19
|
import { MIME } from '@difizen/libro-common';
|
|
20
20
|
import { NotebookCommands } from '@difizen/libro-core';
|
|
21
|
-
import { CommandRegistry, Deferred, getOrigin, inject, ThemeService, transient, watch } from '@difizen/
|
|
22
|
-
import { Disposable, DisposableCollection, Emitter } from '@difizen/
|
|
21
|
+
import { CommandRegistry, Deferred, getOrigin, inject, ThemeService, transient, watch } from '@difizen/libro-common/app';
|
|
22
|
+
import { Disposable, DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
23
23
|
import { editor, KeyCode, Selection } from '@difizen/monaco-editor-core';
|
|
24
24
|
import 'resize-observer-polyfill';
|
|
25
25
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InlineCompletionManager } from '@difizen/libro-code-editor';
|
|
2
|
-
import { ApplicationContribution } from '@difizen/
|
|
2
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
3
3
|
export declare class LibroE2InlineCompletionRegister implements ApplicationContribution {
|
|
4
4
|
inlineCompletionManager: InlineCompletionManager;
|
|
5
5
|
constructor(inlineCompletionManager: InlineCompletionManager);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-e2-inline-completion-register.d.ts","sourceRoot":"","sources":["../src/libro-e2-inline-completion-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-e2-inline-completion-register.d.ts","sourceRoot":"","sources":["../src/libro-e2-inline-completion-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIpE,qBACa,+BAAgC,YAAW,uBAAuB;IAC7E,uBAAuB,EAAE,uBAAuB,CAAC;gBAGd,uBAAuB,EAAE,uBAAuB;IAKnF,WAAW;CA4CZ"}
|
|
@@ -9,8 +9,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
9
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
10
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
11
|
import { InlineCompletionManager } from '@difizen/libro-code-editor';
|
|
12
|
-
import { ApplicationContribution } from '@difizen/
|
|
13
|
-
import { inject, singleton } from '@difizen/
|
|
12
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
13
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
14
14
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
15
15
|
export var LibroE2InlineCompletionRegister = (_dec = singleton({
|
|
16
16
|
contrib: [ApplicationContribution]
|
package/es/libro-e2-preload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Syringe } from '@difizen/
|
|
2
|
-
import { Deferred } from '@difizen/
|
|
1
|
+
import type { Syringe } from '@difizen/libro-common/app';
|
|
2
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
3
3
|
export declare const E2LoadedDeferred: Deferred<void>;
|
|
4
4
|
export declare const loadE2: (libroContainer: Syringe.Container) => Promise<void>;
|
|
5
5
|
//# sourceMappingURL=libro-e2-preload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"libro-e2-preload.d.ts","sourceRoot":"","sources":["../src/libro-e2-preload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"libro-e2-preload.d.ts","sourceRoot":"","sources":["../src/libro-e2-preload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AASrD,eAAO,MAAM,gBAAgB,gBAAuB,CAAC;AAErD,eAAO,MAAM,MAAM,mBAA0B,QAAQ,SAAS,kBAe7D,CAAC"}
|
package/es/libro-e2-preload.js
CHANGED
|
@@ -3,7 +3,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
3
3
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
4
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
5
|
import { MonacoEnvironment } from '@difizen/libro-cofine-editor-core';
|
|
6
|
-
import { Deferred } from '@difizen/
|
|
6
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
7
7
|
import { JSONLanguageFeature } from "./language/json/module.js";
|
|
8
8
|
import { JuliaLanguageFeature } from "./language/julia/module.js";
|
|
9
9
|
import { PythonLanguageFeature } from "./language/python/module.js";
|
package/es/libro-sql-api.js
CHANGED
|
@@ -5,7 +5,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
-
import { singleton } from '@difizen/
|
|
8
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
9
9
|
export var LibroSQLRequestAPI = (_dec = singleton(), _dec(_class = /*#__PURE__*/_createClass(function LibroSQLRequestAPI() {
|
|
10
10
|
_classCallCheck(this, LibroSQLRequestAPI);
|
|
11
11
|
this.queryTables = function () {
|
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAavD,eAAO,MAAM,mBAAmB,YA0B5B,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -3,7 +3,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
3
3
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
4
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
5
|
import { CodeEditorModule } from '@difizen/libro-code-editor';
|
|
6
|
-
import { ManaModule } from '@difizen/
|
|
6
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
7
7
|
import { LibroE2EditorContribution } from "./editor-contribution.js";
|
|
8
8
|
import { LibroE2Editor, LibroE2EditorFactory, LibroE2EditorOptions, LibroE2EditorState } from "./libro-e2-editor.js";
|
|
9
9
|
import { LibroE2InlineCompletionRegister } from "./libro-e2-inline-completion-register.js";
|
package/es/placeholder.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Disposable } from '@difizen/
|
|
2
|
-
import { DisposableCollection } from '@difizen/
|
|
1
|
+
import type { Disposable } from '@difizen/libro-common/app';
|
|
2
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
3
3
|
import { editor } from '@difizen/monaco-editor-core';
|
|
4
4
|
import type { MonacoEditorType } from './types.js';
|
|
5
5
|
export type PlaceHolderContent = string | HTMLElement | undefined;
|
package/es/placeholder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../src/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../src/placeholder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;AAElE;;;GAGG;AACH,qBAAa,wBAAyB,YAAW,UAAU;IACzD,MAAM,CAAC,EAAE,SAAmC;IAE5C,SAAS,CAAC,WAAW,EAAE,kBAAkB,CAAC;IAE1C,SAAS,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAEnC,SAAS,CAAC,OAAO,EAAE,cAAc,CAAC;IAElC,SAAS,CAAC,SAAS,EAAE,oBAAoB,CAA8B;gBAE3D,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,gBAAgB;IAS3E,uBAAuB;IAQvB,MAAM,CAAC,WAAW,EAAE,kBAAkB;IAQtC,KAAK;IAIL,UAAU;IA8BV,WAAW;;;;;;;IAOX,QAAQ,UAAS;IAEjB,OAAO;CAQR"}
|
package/es/placeholder.js
CHANGED
|
@@ -4,7 +4,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
4
4
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
import { DisposableCollection } from '@difizen/
|
|
7
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
8
8
|
import { editor } from '@difizen/monaco-editor-core';
|
|
9
9
|
/**
|
|
10
10
|
* Represents an placeholder renderer for monaco editor
|
|
@@ -8,7 +8,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
8
8
|
/* eslint-disable global-require */
|
|
9
9
|
|
|
10
10
|
import { ThemeContribution } from '@difizen/libro-cofine-editor-core';
|
|
11
|
-
import { singleton } from '@difizen/
|
|
11
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
12
12
|
import jupyterDark from "./data/jupyter_dark.json";
|
|
13
13
|
import jupyterHCDark from "./data/jupyter_hc_dark.json";
|
|
14
14
|
import jupyterHCLight from "./data/jupyter_hc_light.json";
|
package/es/theme/module.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const LibroE2ThemeModule: import("@difizen/
|
|
1
|
+
export declare const LibroE2ThemeModule: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
|
|
2
2
|
//# sourceMappingURL=module.d.ts.map
|
package/es/theme/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/theme/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/theme/module.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,uGAAkD,CAAC"}
|
package/es/theme/module.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-cofine-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -33,13 +33,12 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@difizen/monaco-editor-core": "0.39.4",
|
|
36
|
-
"@difizen/libro-cofine-editor-core": "^0.
|
|
37
|
-
"@difizen/libro-cofine-textmate": "^0.
|
|
38
|
-
"@difizen/libro-lsp": "^0.
|
|
39
|
-
"@difizen/libro-code-editor": "^0.
|
|
40
|
-
"@difizen/libro-common": "^0.
|
|
41
|
-
"@difizen/libro-core": "^0.
|
|
42
|
-
"@difizen/mana-app": "latest",
|
|
36
|
+
"@difizen/libro-cofine-editor-core": "^1.0.0",
|
|
37
|
+
"@difizen/libro-cofine-textmate": "^1.0.0",
|
|
38
|
+
"@difizen/libro-lsp": "^1.0.0",
|
|
39
|
+
"@difizen/libro-code-editor": "^1.0.0",
|
|
40
|
+
"@difizen/libro-common": "^1.0.0",
|
|
41
|
+
"@difizen/libro-core": "^1.0.0",
|
|
43
42
|
"resize-observer-polyfill": "^1.5.1",
|
|
44
43
|
"vscode-languageserver-protocol": "^3.17.4",
|
|
45
44
|
"uuid": "^9.0.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
2
|
-
import { singleton } from '@difizen/
|
|
2
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { setTokensLanguage } from './theme-provider.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
2
|
-
import { singleton } from '@difizen/
|
|
2
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { setTokensLanguage } from './theme-provider.js';
|
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
TextmateRegistry,
|
|
10
10
|
} from '@difizen/libro-cofine-textmate';
|
|
11
11
|
import { LanguageGrammarDefinitionContribution } from '@difizen/libro-cofine-textmate';
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import { languages } from '@difizen/monaco-editor-core';
|
|
14
14
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
15
15
|
|
package/src/language/r/module.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
2
|
-
import { singleton } from '@difizen/
|
|
2
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { setTokensLanguage } from './theme-provider.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InitializeContribution } from '@difizen/libro-cofine-editor-core';
|
|
2
|
-
import { singleton } from '@difizen/
|
|
2
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { id } from './config.js';
|
package/src/libro-e2-editor.ts
CHANGED
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
ThemeService,
|
|
29
29
|
transient,
|
|
30
30
|
watch,
|
|
31
|
-
} from '@difizen/
|
|
32
|
-
import { Disposable, DisposableCollection, Emitter } from '@difizen/
|
|
31
|
+
} from '@difizen/libro-common/app';
|
|
32
|
+
import { Disposable, DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
33
33
|
import { editor, KeyCode, Selection } from '@difizen/monaco-editor-core';
|
|
34
34
|
import 'resize-observer-polyfill';
|
|
35
35
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InlineCompletionManager } from '@difizen/libro-code-editor';
|
|
2
|
-
import { ApplicationContribution } from '@difizen/
|
|
3
|
-
import { inject, singleton } from '@difizen/
|
|
2
|
+
import { ApplicationContribution } from '@difizen/libro-common/app';
|
|
3
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
4
4
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
5
5
|
|
|
6
6
|
@singleton({ contrib: [ApplicationContribution] })
|
package/src/libro-e2-preload.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MonacoEnvironment } from '@difizen/libro-cofine-editor-core';
|
|
2
|
-
import type { Syringe } from '@difizen/
|
|
3
|
-
import { Deferred } from '@difizen/
|
|
2
|
+
import type { Syringe } from '@difizen/libro-common/app';
|
|
3
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { JSONLanguageFeature } from './language/json/module.js';
|
|
6
6
|
import { JuliaLanguageFeature } from './language/julia/module.js';
|
package/src/libro-sql-api.ts
CHANGED
package/src/module.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorState, IEditorOptions } from '@difizen/libro-code-editor';
|
|
2
2
|
import { CodeEditorModule } from '@difizen/libro-code-editor';
|
|
3
|
-
import { ManaModule } from '@difizen/
|
|
3
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import { LibroE2EditorContribution } from './editor-contribution.js';
|
|
6
6
|
import {
|
package/src/placeholder.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Disposable } from '@difizen/
|
|
2
|
-
import { DisposableCollection } from '@difizen/
|
|
1
|
+
import type { Disposable } from '@difizen/libro-common/app';
|
|
2
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
3
3
|
import { editor } from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import type { MonacoEditorType } from './types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable global-require */
|
|
2
2
|
import type { ThemeRegistry } from '@difizen/libro-cofine-editor-core';
|
|
3
3
|
import { ThemeContribution } from '@difizen/libro-cofine-editor-core';
|
|
4
|
-
import { singleton } from '@difizen/
|
|
4
|
+
import { singleton } from '@difizen/libro-common/app';
|
|
5
5
|
|
|
6
6
|
import jupyterDark from './data/jupyter_dark.json';
|
|
7
7
|
import jupyterHCDark from './data/jupyter_hc_dark.json';
|
package/src/theme/module.ts
CHANGED