@difizen/libro-cofine-editor-core 0.3.16 → 1.0.1
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/default-worker-contribution.js +1 -1
- package/es/e2-editor.d.ts +1 -1
- package/es/e2-editor.d.ts.map +1 -1
- package/es/e2-editor.js +2 -2
- package/es/editor-handler-registry.d.ts +1 -1
- package/es/editor-handler-registry.d.ts.map +1 -1
- package/es/editor-handler-registry.js +1 -1
- package/es/initialize-provider.d.ts +2 -2
- package/es/initialize-provider.d.ts.map +1 -1
- package/es/initialize-provider.js +1 -1
- package/es/mana-export.d.ts +1 -1
- package/es/mana-export.d.ts.map +1 -1
- package/es/monaco-environment.d.ts +2 -2
- package/es/monaco-environment.d.ts.map +1 -1
- package/es/monaco-environment.js +2 -2
- package/es/monaco-loader.js +1 -1
- package/es/monaco-module.d.ts +2 -2
- package/es/monaco-module.d.ts.map +1 -1
- package/es/monaco-module.js +1 -1
- package/es/snippets-suggest-registry.d.ts +2 -2
- package/es/snippets-suggest-registry.d.ts.map +1 -1
- package/es/snippets-suggest-registry.js +1 -1
- package/es/theme-registry.d.ts +2 -2
- package/es/theme-registry.d.ts.map +1 -1
- package/es/theme-registry.js +1 -1
- package/package.json +3 -3
- package/src/default-worker-contribution.ts +1 -1
- package/src/e2-editor.ts +2 -2
- package/src/editor-handler-registry.ts +2 -2
- package/src/initialize-provider.ts +2 -2
- package/src/mana-export.ts +1 -1
- package/src/monaco-environment.ts +3 -3
- package/src/monaco-loader.ts +1 -1
- package/src/monaco-module.ts +1 -1
- package/src/snippets-suggest-registry.ts +2 -2
- package/src/theme-registry.ts +2 -2
|
@@ -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 { LanguageWorkerContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
9
|
-
import { inject, singleton } from '@difizen/
|
|
9
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import pkg from "../package.json";
|
|
11
11
|
import { MonacoLoaderConfig } from "./monaco-loader.js";
|
|
12
12
|
export var DefaultWorkerContribution = (_dec = singleton({
|
package/es/e2-editor.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisposableCollection } from '@difizen/
|
|
1
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
2
2
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
3
3
|
import { EditorHanlerRegistry } from './editor-handler-registry.js';
|
|
4
4
|
import type { LazyCallbackType, Options } from './editor-provider.js';
|
package/es/e2-editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2-editor.d.ts","sourceRoot":"","sources":["../../src/e2-editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"e2-editor.d.ts","sourceRoot":"","sources":["../../src/e2-editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,UAAU,eAAuB,CAAC;AAC/C,eAAO,MAAM,aAAa,eAA0B,CAAC;AACr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iC,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;IAMxE,SAAS,CAAC,gCAAgC;CAK3C"}
|
package/es/e2-editor.js
CHANGED
|
@@ -8,8 +8,8 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
8
8
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
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
|
-
import { DisposableCollection } from '@difizen/
|
|
12
|
-
import { inject, singleton } from '@difizen/
|
|
11
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
12
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
13
13
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
14
14
|
import { EditorHanlerRegistry } from "./editor-handler-registry.js";
|
|
15
15
|
import { MonacoEnvironment } from "./monaco-environment.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorHandlerContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
2
|
-
import type { Contribution } from '@difizen/
|
|
2
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
export declare class EditorHanlerRegistry {
|
|
5
5
|
contributions: EditorHandlerContribution[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-handler-registry.d.ts","sourceRoot":"","sources":["../../src/editor-handler-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"editor-handler-registry.d.ts","sourceRoot":"","sources":["../../src/editor-handler-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAEtD,qBACa,oBAAoB;IAC/B,aAAa,EAAE,yBAAyB,EAAE,CAAC;IAC3C,QAAQ,EAAE,yBAAyB,EAAE,CAAM;IAC3C,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;gBAGzD,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IAM5D,WAAW,CACT,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,GAChF,IAAI;IAaP,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAYrC"}
|
|
@@ -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 { EditorHandlerContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
9
|
-
import { contrib, singleton } from '@difizen/
|
|
9
|
+
import { contrib, singleton } from '@difizen/libro-common/app';
|
|
10
10
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
11
11
|
export var EditorHanlerRegistry = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
|
|
12
12
|
function EditorHanlerRegistry(provider) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { DefaultContributionProvider, Syringe } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { DefaultContributionProvider, Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import type monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
export declare const InitializeContribution: Syringe.DefinedToken;
|
|
5
5
|
export interface InitializeContribution {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize-provider.d.ts","sourceRoot":"","sources":["../../src/initialize-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"initialize-provider.d.ts","sourceRoot":"","sources":["../../src/initialize-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAEL,2BAA2B,EAE3B,OAAO,EACR,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAEtD,eAAO,MAAM,sBAAsB,sBAAgD,CAAC;AACpF,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AACD,qBACa,kBAAkB;IAC7B,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;gBAGtD,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IAKnD,UAAU,CAAC,UAAU,EAAE,OAAO,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAqB3D;AAED,qBAAa,8BAA+B,SAAQ,2BAA2B,CAAC,sBAAsB,CAAC;IAC5F,gBAAgB;CAI1B"}
|
|
@@ -20,7 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
20
20
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
21
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
22
22
|
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); }
|
|
23
|
-
import { contrib, DefaultContributionProvider, singleton, Syringe } from '@difizen/
|
|
23
|
+
import { contrib, DefaultContributionProvider, singleton, Syringe } from '@difizen/libro-common/app';
|
|
24
24
|
export var InitializeContribution = Syringe.defineToken('InitializeContribution');
|
|
25
25
|
export var InitializeProvider = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
|
|
26
26
|
function InitializeProvider(provider) {
|
package/es/mana-export.d.ts
CHANGED
package/es/mana-export.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mana-export.d.ts","sourceRoot":"","sources":["../../src/mana-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"mana-export.d.ts","sourceRoot":"","sources":["../../src/mana-export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;oCAI1B,SAAS,KAAG,QAAQ,IAAI,CAAC;AAA1D,wBAGE"}
|
|
@@ -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
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
import { MonacoLoader } from './monaco-loader.js';
|
|
5
5
|
export declare const MonacoEnvironmentBound = "MonacoEnvironmentBound";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-environment.d.ts","sourceRoot":"","sources":["../../src/monaco-environment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"monaco-environment.d.ts","sourceRoot":"","sources":["../../src/monaco-environment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAGtD,OAAO,EAEL,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,KAAK,IAAI,CAAC;AAClE,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC;IACpC,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,CAAM;IACpC,MAAM,CAAC,UAAU,EAAE,YAAY,EAAE,CAAM;IACvC,MAAM,CAAC,MAAM,EAAE,OAAO,MAAM,CAAC;IAC7B,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IACvC,SAAS,CAAC,MAAM,CAAC,eAAe,UAAS;IACzC,SAAS,CAAC,MAAM,CAAC,kBAAkB,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAwB;IAC3E,SAAS,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC;IAC7C,MAAM,CAAC,IAAI,UAAS;IAEpB,MAAM,CAAC,YAAY,cAAe,QAAQ,SAAS,UASjD;WACW,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM;WASpB,IAAI,CACf,EAAE,IAAI,EAAE,MAAM,EAAE,GAAE,QAAQ,GAAG,SAAuC,GACnE,OAAO,CAAC,IAAI,CAAC;WA8BH,UAAU;WAoBV,UAAU,CAAC,MAAM,EAAE,YAAY;WAK/B,aAAa,CAAC,MAAM,EAAE,YAAY;CAGhD"}
|
package/es/monaco-environment.js
CHANGED
|
@@ -12,8 +12,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
13
|
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); }
|
|
14
14
|
import { LanguageWorkerRegistry, LazyLoaderRegistry } from '@difizen/libro-cofine-editor-contribution';
|
|
15
|
-
import { Deferred } from '@difizen/
|
|
16
|
-
import { GlobalContainer } from '@difizen/
|
|
15
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
16
|
+
import { GlobalContainer } from '@difizen/libro-common/app';
|
|
17
17
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
18
18
|
import { InitializeProvider } from "./initialize-provider.js";
|
|
19
19
|
import { DefaultLoaderConfig, MonacoLoader, MonacoLoaderConfig } from "./monaco-loader.js";
|
package/es/monaco-loader.js
CHANGED
|
@@ -8,7 +8,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
8
8
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
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
|
-
import { inject, singleton } from '@difizen/
|
|
11
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
12
12
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
13
13
|
export var MonacoLoaderConfig = Symbol('MonacoLoaderConfig');
|
|
14
14
|
export var DefaultLoaderConfig = {
|
package/es/monaco-module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Syringe } from '@difizen/
|
|
1
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
2
2
|
import 'reflect-metadata';
|
|
3
|
-
export declare const MonacoModule: import("@difizen/
|
|
3
|
+
export declare const MonacoModule: import("@difizen/libro-common/app").SyringeModule<Syringe.Module>;
|
|
4
4
|
export default MonacoModule;
|
|
5
5
|
//# sourceMappingURL=monaco-module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-module.d.ts","sourceRoot":"","sources":["../../src/monaco-module.ts"],"names":[],"mappings":"AASA,OAAO,EAAwB,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"monaco-module.d.ts","sourceRoot":"","sources":["../../src/monaco-module.ts"],"names":[],"mappings":"AASA,OAAO,EAAwB,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAE1E,OAAO,kBAAkB,CAAC;AA2B1B,eAAO,MAAM,YAAY,mEA4DtB,CAAC;AAEJ,eAAe,YAAY,CAAC"}
|
package/es/monaco-module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorHandlerContribution, EditorOptionsRegistry, LanguageOptionsRegistry, LanguageWorkerContribution, LanguageWorkerRegistry, LazyLoaderRegistry, LazyLoaderRegistryContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
2
|
-
import { Contribution, Module, Syringe } from '@difizen/
|
|
2
|
+
import { Contribution, Module, Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
4
|
import { DefaultWorkerContribution } from "./default-worker-contribution.js";
|
|
5
5
|
import { E2Editor, EditorNode, IsDiff, LazyCallback, MonacoOptions } from "./e2-editor.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { Syringe } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
import { InitializeContribution } from './initialize-provider.js';
|
|
5
5
|
export interface SnippetLoadOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippets-suggest-registry.d.ts","sourceRoot":"","sources":["../../src/snippets-suggest-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"snippets-suggest-registry.d.ts","sourceRoot":"","sources":["../../src/snippets-suggest-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAsB,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,KAAK,MAAM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, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16
16
|
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); }
|
|
17
|
-
import { contrib, singleton, Syringe } from '@difizen/
|
|
17
|
+
import { contrib, singleton, Syringe } from '@difizen/libro-common/app';
|
|
18
18
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
19
19
|
import { InitializeContribution } from "./initialize-provider.js";
|
|
20
20
|
export var SnippetSuggestContribution = Syringe.defineToken('SnippetSuggestContribution');
|
package/es/theme-registry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { Syringe } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
import { InitializeContribution } from './initialize-provider.js';
|
|
5
5
|
export declare const ThemeContribution: Syringe.DefinedToken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-registry.d.ts","sourceRoot":"","sources":["../../src/theme-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"theme-registry.d.ts","sourceRoot":"","sources":["../../src/theme-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAA8B,OAAO,EAAE,M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defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
8
8
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
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
|
-
import { contrib, inject, singleton, Syringe } from '@difizen/
|
|
11
|
+
import { contrib, inject, singleton, Syringe } from '@difizen/libro-common/app';
|
|
12
12
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
13
13
|
import { InitializeContribution } from "./initialize-provider.js";
|
|
14
14
|
export var ThemeContribution = Syringe.defineToken('ThemeContribution');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-cofine-editor-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"src"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@difizen/libro-cofine-editor-contribution": "^0.
|
|
38
|
-
"@difizen/
|
|
37
|
+
"@difizen/libro-cofine-editor-contribution": "^1.0.1",
|
|
38
|
+
"@difizen/libro-common": "^1.0.1",
|
|
39
39
|
"@difizen/monaco-editor-core": "0.39.4",
|
|
40
40
|
"debug": "^4.3.2",
|
|
41
41
|
"reflect-metadata": "^0.1.13"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LanguageWorkerRegistry } from '@difizen/libro-cofine-editor-contribution';
|
|
2
2
|
import { LanguageWorkerContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
3
|
-
import { inject, singleton } from '@difizen/
|
|
3
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
4
4
|
|
|
5
5
|
import pkg from '../package.json';
|
|
6
6
|
|
package/src/e2-editor.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DisposableCollection } from '@difizen/
|
|
2
|
-
import { inject, singleton } from '@difizen/
|
|
1
|
+
import { DisposableCollection } from '@difizen/libro-common/app';
|
|
2
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { EditorHanlerRegistry } from './editor-handler-registry.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorHandlerContribution } from '@difizen/libro-cofine-editor-contribution';
|
|
2
|
-
import type { Contribution } from '@difizen/
|
|
3
|
-
import { contrib, singleton } from '@difizen/
|
|
2
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
3
|
+
import { contrib, singleton } from '@difizen/libro-common/app';
|
|
4
4
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
5
5
|
|
|
6
6
|
@singleton()
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
2
|
import {
|
|
3
3
|
contrib,
|
|
4
4
|
DefaultContributionProvider,
|
|
5
5
|
singleton,
|
|
6
6
|
Syringe,
|
|
7
|
-
} from '@difizen/
|
|
7
|
+
} from '@difizen/libro-common/app';
|
|
8
8
|
import type monaco from '@difizen/monaco-editor-core';
|
|
9
9
|
|
|
10
10
|
export const InitializeContribution = Syringe.defineToken('InitializeContribution');
|
package/src/mana-export.ts
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
LanguageWorkerRegistry,
|
|
3
3
|
LazyLoaderRegistry,
|
|
4
4
|
} from '@difizen/libro-cofine-editor-contribution';
|
|
5
|
-
import type { Syringe } from '@difizen/
|
|
6
|
-
import { Deferred } from '@difizen/
|
|
7
|
-
import { GlobalContainer } from '@difizen/
|
|
5
|
+
import type { Syringe } from '@difizen/libro-common/app';
|
|
6
|
+
import { Deferred } from '@difizen/libro-common/app';
|
|
7
|
+
import { GlobalContainer } from '@difizen/libro-common/app';
|
|
8
8
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
9
9
|
|
|
10
10
|
import { InitializeProvider } from './initialize-provider.js';
|
package/src/monaco-loader.ts
CHANGED
package/src/monaco-module.ts
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
LazyLoaderRegistry,
|
|
8
8
|
LazyLoaderRegistryContribution,
|
|
9
9
|
} from '@difizen/libro-cofine-editor-contribution';
|
|
10
|
-
import { Contribution, Module, Syringe } from '@difizen/
|
|
10
|
+
import { Contribution, Module, Syringe } from '@difizen/libro-common/app';
|
|
11
11
|
|
|
12
12
|
import 'reflect-metadata';
|
|
13
13
|
import { DefaultWorkerContribution } from './default-worker-contribution.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { contrib, singleton, Syringe } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { contrib, singleton, Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { InitializeContribution } from './initialize-provider.js';
|
package/src/theme-registry.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Contribution } from '@difizen/
|
|
2
|
-
import { contrib, inject, singleton, Syringe } from '@difizen/
|
|
1
|
+
import type { Contribution } from '@difizen/libro-common/app';
|
|
2
|
+
import { contrib, inject, singleton, Syringe } from '@difizen/libro-common/app';
|
|
3
3
|
import * as monaco from '@difizen/monaco-editor-core';
|
|
4
4
|
|
|
5
5
|
import { InitializeContribution } from './initialize-provider.js';
|