Skip to content

Commit 207effd

Browse files
committed
0 parents  commit 207effd

File tree

1,112 files changed

+40490
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,112 files changed

+40490
-0
lines changed

.nojekyll

Whitespace-only changes.

api/contents/all.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"content": [
3+
{
4+
"content": null,
5+
"created": "2024-07-02T16:10:58.969985Z",
6+
"format": null,
7+
"hash": null,
8+
"hash_algorithm": null,
9+
"last_modified": "2024-07-02T16:10:58.969985Z",
10+
"mimetype": null,
11+
"name": "basics",
12+
"path": "basics",
13+
"size": null,
14+
"type": "directory",
15+
"writable": true
16+
},
17+
{
18+
"content": null,
19+
"created": "2024-07-02T16:10:58.969985Z",
20+
"format": null,
21+
"hash": null,
22+
"hash_algorithm": null,
23+
"last_modified": "2024-07-02T16:10:58.969985Z",
24+
"mimetype": null,
25+
"name": "tutorial",
26+
"path": "tutorial",
27+
"size": null,
28+
"type": "directory",
29+
"writable": true
30+
},
31+
{
32+
"content": null,
33+
"created": "2024-07-02T16:10:58.965985Z",
34+
"format": null,
35+
"hash": null,
36+
"hash_algorithm": null,
37+
"last_modified": "2024-07-02T16:10:58.965985Z",
38+
"mimetype": null,
39+
"name": "assets",
40+
"path": "assets",
41+
"size": null,
42+
"type": "directory",
43+
"writable": true
44+
},
45+
{
46+
"content": null,
47+
"created": "2024-07-02T16:10:58.969985Z",
48+
"format": null,
49+
"hash": null,
50+
"hash_algorithm": null,
51+
"last_modified": "2024-07-02T16:10:19.533929Z",
52+
"mimetype": null,
53+
"name": "Reset_Jupyterlite.ipynb",
54+
"path": "Reset_Jupyterlite.ipynb",
55+
"size": 2242,
56+
"type": "notebook",
57+
"writable": true
58+
}
59+
],
60+
"created": "2024-07-02T16:10:58.969985Z",
61+
"format": "json",
62+
"hash": null,
63+
"hash_algorithm": null,
64+
"last_modified": "2024-07-02T16:10:58.969985Z",
65+
"mimetype": null,
66+
"name": "",
67+
"path": "",
68+
"size": null,
69+
"type": "directory",
70+
"writable": true
71+
}

api/contents/assets/all.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"content": [
3+
{
4+
"content": null,
5+
"created": "2024-07-02T16:10:58.965985Z",
6+
"format": null,
7+
"hash": null,
8+
"hash_algorithm": null,
9+
"last_modified": "2024-07-02T16:10:19.529929Z",
10+
"mimetype": null,
11+
"name": "example.parquet",
12+
"path": "assets/example.parquet",
13+
"size": 498993,
14+
"type": "file",
15+
"writable": true
16+
}
17+
],
18+
"created": "2024-07-02T16:10:58.965985Z",
19+
"format": "json",
20+
"hash": null,
21+
"hash_algorithm": null,
22+
"last_modified": "2024-07-02T16:10:58.965985Z",
23+
"mimetype": null,
24+
"name": "assets",
25+
"path": "assets",
26+
"size": null,
27+
"type": "directory",
28+
"writable": true
29+
}

api/contents/basics/all.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"content": [
3+
{
4+
"content": null,
5+
"created": "2024-07-02T16:10:58.969985Z",
6+
"format": null,
7+
"hash": null,
8+
"hash_algorithm": null,
9+
"last_modified": "2024-07-02T16:10:19.529929Z",
10+
"mimetype": null,
11+
"name": "Basics_2D.ipynb",
12+
"path": "basics/Basics_2D.ipynb",
13+
"size": 16488,
14+
"type": "notebook",
15+
"writable": true
16+
},
17+
{
18+
"content": null,
19+
"created": "2024-07-02T16:10:58.969985Z",
20+
"format": null,
21+
"hash": null,
22+
"hash_algorithm": null,
23+
"last_modified": "2024-07-02T16:10:19.529929Z",
24+
"mimetype": null,
25+
"name": "Basics.ipynb",
26+
"path": "basics/Basics.ipynb",
27+
"size": 16480,
28+
"type": "notebook",
29+
"writable": true
30+
},
31+
{
32+
"content": null,
33+
"created": "2024-07-02T16:10:58.969985Z",
34+
"format": null,
35+
"hash": null,
36+
"hash_algorithm": null,
37+
"last_modified": "2024-07-02T16:10:19.529929Z",
38+
"mimetype": null,
39+
"name": "MultiPlot.ipynb",
40+
"path": "basics/MultiPlot.ipynb",
41+
"size": 5094,
42+
"type": "notebook",
43+
"writable": true
44+
}
45+
],
46+
"created": "2024-07-02T16:10:58.969985Z",
47+
"format": "json",
48+
"hash": null,
49+
"hash_algorithm": null,
50+
"last_modified": "2024-07-02T16:10:58.969985Z",
51+
"mimetype": null,
52+
"name": "basics",
53+
"path": "basics",
54+
"size": null,
55+
"type": "directory",
56+
"writable": true
57+
}

api/contents/tutorial/all.json

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"content": [
3+
{
4+
"content": null,
5+
"created": "2024-07-02T16:10:58.969985Z",
6+
"format": null,
7+
"hash": null,
8+
"hash_algorithm": null,
9+
"last_modified": "2024-07-02T16:10:19.529929Z",
10+
"mimetype": null,
11+
"name": "04_Make_an_App.ipynb",
12+
"path": "tutorial/04_Make_an_App.ipynb",
13+
"size": 4062,
14+
"type": "notebook",
15+
"writable": true
16+
},
17+
{
18+
"content": null,
19+
"created": "2024-07-02T16:10:58.969985Z",
20+
"format": null,
21+
"hash": null,
22+
"hash_algorithm": null,
23+
"last_modified": "2024-07-02T16:10:19.529929Z",
24+
"mimetype": null,
25+
"name": "00_Overview.ipynb",
26+
"path": "tutorial/00_Overview.ipynb",
27+
"size": 1573,
28+
"type": "notebook",
29+
"writable": true
30+
},
31+
{
32+
"content": null,
33+
"created": "2024-07-02T16:10:58.969985Z",
34+
"format": null,
35+
"hash": null,
36+
"hash_algorithm": null,
37+
"last_modified": "2024-07-02T16:10:19.529929Z",
38+
"mimetype": null,
39+
"name": "01_First_Annotation.ipynb",
40+
"path": "tutorial/01_First_Annotation.ipynb",
41+
"size": 6974,
42+
"type": "notebook",
43+
"writable": true
44+
},
45+
{
46+
"content": null,
47+
"created": "2024-07-02T16:10:58.969985Z",
48+
"format": null,
49+
"hash": null,
50+
"hash_algorithm": null,
51+
"last_modified": "2024-07-02T16:10:19.529929Z",
52+
"mimetype": null,
53+
"name": "02_Multiple_Annotations.ipynb",
54+
"path": "tutorial/02_Multiple_Annotations.ipynb",
55+
"size": 5801,
56+
"type": "notebook",
57+
"writable": true
58+
},
59+
{
60+
"content": null,
61+
"created": "2024-07-02T16:10:58.969985Z",
62+
"format": null,
63+
"hash": null,
64+
"hash_algorithm": null,
65+
"last_modified": "2024-07-02T16:10:19.529929Z",
66+
"mimetype": null,
67+
"name": "03_Styling_of_Annotations.ipynb",
68+
"path": "tutorial/03_Styling_of_Annotations.ipynb",
69+
"size": 8860,
70+
"type": "notebook",
71+
"writable": true
72+
},
73+
{
74+
"content": null,
75+
"created": "2024-07-02T16:10:58.969985Z",
76+
"format": null,
77+
"hash": null,
78+
"hash_algorithm": null,
79+
"last_modified": "2024-07-02T16:10:19.529929Z",
80+
"mimetype": null,
81+
"name": "05_Watch_Events.ipynb",
82+
"path": "tutorial/05_Watch_Events.ipynb",
83+
"size": 2416,
84+
"type": "notebook",
85+
"writable": true
86+
}
87+
],
88+
"created": "2024-07-02T16:10:58.969985Z",
89+
"format": "json",
90+
"hash": null,
91+
"hash_algorithm": null,
92+
"last_modified": "2024-07-02T16:10:58.969985Z",
93+
"mimetype": null,
94+
"name": "tutorial",
95+
"path": "tutorial",
96+
"size": null,
97+
"type": "directory",
98+
"writable": true
99+
}

api/translations/all.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"data": {
3+
"en": {
4+
"displayName": "English",
5+
"nativeName": "English"
6+
}
7+
},
8+
"message": ""
9+
}

api/translations/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"data": {},
3+
"message": ""
4+
}

bootstrap.js

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*-----------------------------------------------------------------------------
2+
| Copyright (c) Jupyter Development Team.
3+
| Distributed under the terms of the Modified BSD License.
4+
|----------------------------------------------------------------------------*/
5+
6+
// We copy some of the pageconfig parsing logic in @jupyterlab/coreutils
7+
// below, since this must run before any other files are loaded (including
8+
// @jupyterlab/coreutils).
9+
10+
/**
11+
* Get global configuration data for the Jupyter application.
12+
*
13+
* @param name - The name of the configuration option.
14+
*
15+
* @returns The config value or an empty string if not found.
16+
*
17+
* #### Notes
18+
* All values are treated as strings. For browser based applications, it is
19+
* assumed that the page HTML includes a script tag with the id
20+
* `jupyter-config-data` containing the configuration as valid JSON.
21+
*/
22+
23+
let _CONFIG_DATA = null;
24+
function getOption(name) {
25+
if (_CONFIG_DATA === null) {
26+
let configData = {};
27+
// Use script tag if available.
28+
if (typeof document !== 'undefined' && document) {
29+
const el = document.getElementById('jupyter-config-data');
30+
31+
if (el) {
32+
configData = JSON.parse(el.textContent || '{}');
33+
}
34+
}
35+
_CONFIG_DATA = configData;
36+
}
37+
38+
return _CONFIG_DATA[name] || '';
39+
}
40+
41+
// eslint-disable-next-line no-undef
42+
__webpack_public_path__ = getOption('fullStaticUrl') + '/';
43+
44+
function loadScript(url) {
45+
return new Promise((resolve, reject) => {
46+
const newScript = document.createElement('script');
47+
newScript.onerror = reject;
48+
newScript.onload = resolve;
49+
newScript.async = true;
50+
document.head.appendChild(newScript);
51+
newScript.src = url;
52+
});
53+
}
54+
55+
async function loadComponent(url, scope) {
56+
await loadScript(url);
57+
58+
// From https://webpack.js.org/concepts/module-federation/#dynamic-remote-containers
59+
await __webpack_init_sharing__('default');
60+
const container = window._JUPYTERLAB[scope];
61+
// Initialize the container, it may provide shared modules and may need ours
62+
await container.init(__webpack_share_scopes__.default);
63+
}
64+
65+
void (async function bootstrap() {
66+
// This is all the data needed to load and activate plugins. This should be
67+
// gathered by the server and put onto the initial page template.
68+
const extension_data = getOption('federated_extensions');
69+
70+
// We first load all federated components so that the shared module
71+
// deduplication can run and figure out which shared modules from all
72+
// components should be actually used. We have to do this before importing
73+
// and using the module that actually uses these components so that all
74+
// dependencies are initialized.
75+
let labExtensionUrl = getOption('fullLabextensionsUrl');
76+
const extensions = await Promise.allSettled(
77+
extension_data.map(async data => {
78+
await loadComponent(`${labExtensionUrl}/${data.name}/${data.load}`, data.name);
79+
})
80+
);
81+
82+
extensions.forEach(p => {
83+
if (p.status === 'rejected') {
84+
// There was an error loading the component
85+
console.error(p.reason);
86+
}
87+
});
88+
89+
// Now that all federated containers are initialized with the main
90+
// container, we can import the main function.
91+
let main = (await import('./index.js')).main;
92+
void main();
93+
})();

build/1053.7a56130.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/1053.7a56130.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/1088.33c6076.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)