Skip to content

Commit e91e708

Browse files
committed
move menubar and toolbar to jupyterlab
1 parent c3a5aeb commit e91e708

File tree

1,853 files changed

+1110
-431952
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,853 files changed

+1110
-431952
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "jlpm run build:lib && jlpm run build:labextension:dev",
3131
"build:labextension": "jupyter labextension build .",
3232
"build:labextension:dev": "jupyter labextension build --development True .",
33-
"build:lib": "rimraf lib/mxgraph && mkdir -p lib/mxgraph && cp -R src/mxgraph lib && tsc",
33+
"build:lib": "rimraf lib/drawio && mkdir -p lib/drawio && cp -R src/drawio lib && tsc",
3434
"build:prod": "jlpm run build:lib && jlpm run build:labextension",
3535
"clean": "jlpm run clean:lib",
3636
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
@@ -53,8 +53,7 @@
5353
"@jupyterlab/launcher": "^3.1.0-alpha.2",
5454
"@jupyterlab/mainmenu": "^3.1.0-alpha.2",
5555
"@lumino/coreutils": "^1.5.3",
56-
"@lumino/widgets": "^1.18.0",
57-
"yjs": "^13.5.0"
56+
"@lumino/widgets": "^1.18.0"
5857
},
5958
"devDependencies": {
6059
"@jupyterlab/builder": "^3.0.0",
@@ -75,8 +74,7 @@
7574
"@types/react": "~17.0.0",
7675
"csstype": "~2.4.0",
7776
"react": "~17.0.1",
78-
"typestyle": "~2.0.4",
79-
"yjs": "~13.5.0"
77+
"typestyle": "~2.0.4"
8078
},
8179
"jupyterlab": {
8280
"extension": true,

scripts/copyfiles.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
var fs = require('fs-extra');
22

3-
fs.copySync('src/mxgraph/javascript/src/', 'lib/mxgraph/javascript/src/');
4-
fs.copySync('src/mxgraph/javascript/examples/grapheditor/www/', 'lib/mxgraph/javascript/examples/grapheditor/www/');
3+
//fs.copySync('src/mxgraph/javascript/src/', 'lib/mxgraph/javascript/src/');
4+
//fs.copySync('src/mxgraph/javascript/examples/grapheditor/www/', 'lib/mxgraph/javascript/examples/grapheditor/www/');
55
// fs.copySync('src/mxgraph/javascript/examples/grapheditor/www/resources/grapheditor.txt',
66
// 'lib/mxgraph/javascript/examples/grapheditor/www/resources/grapheditor.md');
77
// fs.copySync('src/mxgraph/javascript/examples/grapheditor/www/resources/grapheditor.txt',
88
// 'src/mxgraph/javascript/examples/grapheditor/www/resources/grapheditor.md');
9+
10+
fs.copySync('src/drawio/', 'lib/drawio/');
11+
//fs.copySync('src/drawio/', 'lib/drawio/');

src/actions.js

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/mxgraph/javascript/src/css/common.css renamed to src/drawio/css/common.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ div.mxRubberband {
77
background: #0077FF;
88
}
99
.mxCellEditor {
10-
background: url('../images/transparent.gif');
10+
background: url('../img/transparent.gif');
1111
border-color: transparent;
1212
border-style: solid;
1313
position: absolute;
@@ -27,7 +27,7 @@ div.mxWindow {
2727
-webkit-box-shadow: 3px 3px 12px #C0C0C0;
2828
-moz-box-shadow: 3px 3px 12px #C0C0C0;
2929
box-shadow: 3px 3px 12px #C0C0C0;
30-
background: url('../images/window.gif');
30+
background: url('../img/window.gif');
3131
border:1px solid #c3c3c3;
3232
position: absolute;
3333
overflow: hidden;
@@ -40,7 +40,7 @@ table.mxWindow {
4040
font-size: 8pt;
4141
}
4242
td.mxWindowTitle {
43-
background: url('../images/window-title.gif') repeat-x;
43+
background: url('../img/window-title.gif') repeat-x;
4444
text-overflow: ellipsis;
4545
white-space: nowrap;
4646
text-align: center;
@@ -73,7 +73,7 @@ td.mxWindowPane input, td.mxWindowPane select, td.mxWindowPane textarea, td.mxWi
7373
padding: 1px;
7474
}
7575
td.mxWindowPane button {
76-
background: url('../images/button.gif') repeat-x;
76+
background: url('../img/button.gif') repeat-x;
7777
font-family: Arial;
7878
font-size: 8pt;
7979
padding: 2px;
@@ -124,7 +124,7 @@ div.mxPopupMenu {
124124
-webkit-box-shadow: 3px 3px 12px #C0C0C0;
125125
-moz-box-shadow: 3px 3px 12px #C0C0C0;
126126
box-shadow: 3px 3px 12px #C0C0C0;
127-
background: url('../images/window.gif');
127+
background: url('../img/window.gif');
128128
position: absolute;
129129
border-style: solid;
130130
border-width: 1px;

0 commit comments

Comments
 (0)