@eclipse-lyra/extension-notebook 0.7.18 → 0.7.20
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/i18n.de-a9KEn_KU.js +12 -0
- package/dist/i18n.de-a9KEn_KU.js.map +1 -0
- package/dist/i18n.en-Bsu797kK.js +12 -0
- package/dist/i18n.en-Bsu797kK.js.map +1 -0
- package/dist/index.js +4 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/i18n.json.d.ts +0 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const EXT_NOTEBOOK_NAME = "Jupyter-ähnlicher Notebook-Editor";
|
|
2
|
+
const EXT_NOTEBOOK_DESC = "Anzeigen und Ausführen von Jupyter-ähnlichen Notebooks (.ipynb) mit Python-Codeausführung und Markdown-Rendering";
|
|
3
|
+
const i18n_de = {
|
|
4
|
+
EXT_NOTEBOOK_NAME,
|
|
5
|
+
EXT_NOTEBOOK_DESC
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
EXT_NOTEBOOK_DESC,
|
|
9
|
+
EXT_NOTEBOOK_NAME,
|
|
10
|
+
i18n_de as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=i18n.de-a9KEn_KU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.de-a9KEn_KU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const EXT_NOTEBOOK_NAME = "Jupyter-like Notebook Editor";
|
|
2
|
+
const EXT_NOTEBOOK_DESC = "View and execute Jupyter-like notebooks (.ipynb) with Python code execution and markdown rendering";
|
|
3
|
+
const i18n_en = {
|
|
4
|
+
EXT_NOTEBOOK_NAME,
|
|
5
|
+
EXT_NOTEBOOK_DESC
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
EXT_NOTEBOOK_DESC,
|
|
9
|
+
EXT_NOTEBOOK_NAME,
|
|
10
|
+
i18n_en as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=i18n.en-Bsu797kK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.en-Bsu797kK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i18n, extensionRegistry } from "@eclipse-lyra/core";
|
|
2
2
|
import pkg from "../package.json";
|
|
3
|
-
const
|
|
4
|
-
const en = { "EXT_NOTEBOOK_NAME": "Jupyter-like Notebook Editor", "EXT_NOTEBOOK_DESC": "View and execute Jupyter-like notebooks (.ipynb) with Python code execution and markdown rendering" };
|
|
5
|
-
const de = { "EXT_NOTEBOOK_NAME": "Jupyter-ähnlicher Notebook-Editor", "EXT_NOTEBOOK_DESC": "Anzeigen und Ausführen von Jupyter-ähnlichen Notebooks (.ipynb) mit Python-Codeausführung und Markdown-Rendering" };
|
|
6
|
-
const bundle = {
|
|
7
|
-
namespace,
|
|
8
|
-
en,
|
|
9
|
-
de
|
|
10
|
-
};
|
|
11
|
-
contributionRegistry.registerContribution(SYSTEM_LANGUAGE_BUNDLES, bundle);
|
|
12
|
-
const t = i18nLazy("extensions");
|
|
3
|
+
const t = await i18n(/* @__PURE__ */ Object.assign({ "./i18n.de.json": () => import("./i18n.de-a9KEn_KU.js"), "./i18n.en.json": () => import("./i18n.en-Bsu797kK.js") }), true);
|
|
13
4
|
extensionRegistry.registerExtension({
|
|
14
5
|
id: pkg.name,
|
|
15
|
-
name: t
|
|
16
|
-
description: t
|
|
6
|
+
name: t.EXT_NOTEBOOK_NAME,
|
|
7
|
+
description: t.EXT_NOTEBOOK_DESC,
|
|
17
8
|
loader: () => import("./notebook-extension-DL42ZkJv.js"),
|
|
18
9
|
icon: "lyra jupyter",
|
|
19
10
|
dependencies: ["@eclipse-lyra/extension-python-runtime"]
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { extensionRegistry,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { extensionRegistry, i18n } from '@eclipse-lyra/core';\nimport pkg from '../package.json';\n\nconst t = await i18n(import.meta.glob('./i18n*.json'), true);\n\nextensionRegistry.registerExtension({\n id: pkg.name,\n name: t.EXT_NOTEBOOK_NAME,\n description: t.EXT_NOTEBOOK_DESC,\n loader: () => import(\"./notebook-extension\"),\n icon: \"lyra jupyter\",\n dependencies: [\"@eclipse-lyra/extension-python-runtime\"],\n});\n"],"names":[],"mappings":";;AAGA,MAAM,IAAI,MAAM,KAAK,uBAAA,OAAA,EAAA,kBAAA,MAAA,OAAA,uBAAA,GAAA,kBAAA,MAAA,OAAA,uBAAA,EAAA,CAAA,GAAkC,IAAI;AAE3D,kBAAkB,kBAAkB;AAAA,EAClC,IAAI,IAAI;AAAA,EACR,MAAM,EAAE;AAAA,EACR,aAAa,EAAE;AAAA,EACf,QAAQ,MAAM,OAAO,kCAAsB;AAAA,EAC3C,MAAM;AAAA,EACN,cAAc,CAAC,wCAAwC;AACzD,CAAC;"}
|
package/package.json
CHANGED
package/dist/i18n.json.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"namespace": "extensions",
|
|
3
|
-
"en": {
|
|
4
|
-
"EXT_NOTEBOOK_NAME": "Jupyter-like Notebook Editor",
|
|
5
|
-
"EXT_NOTEBOOK_DESC": "View and execute Jupyter-like notebooks (.ipynb) with Python code execution and markdown rendering"
|
|
6
|
-
},
|
|
7
|
-
"de": {
|
|
8
|
-
"EXT_NOTEBOOK_NAME": "Jupyter-ähnlicher Notebook-Editor",
|
|
9
|
-
"EXT_NOTEBOOK_DESC": "Anzeigen und Ausführen von Jupyter-ähnlichen Notebooks (.ipynb) mit Python-Codeausführung und Markdown-Rendering"
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export default _default;
|