mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge branch 'migration' into staging
This commit is contained in:
commit
8953e62ddd
@ -363,7 +363,7 @@ define([
|
||||
});
|
||||
});
|
||||
|
||||
var sheetURL = '/common/onlyoffice/v4/web-apps/apps/spreadsheeteditor/main/index.html';
|
||||
var sheetURL = '/common/onlyoffice/v5/web-apps/apps/spreadsheeteditor/main/index.html';
|
||||
|
||||
assert(function (cb, msg) {
|
||||
msg.innerText = "Missing HTTP headers required for .xlsx export from sheets. ";
|
||||
@ -671,7 +671,7 @@ define([
|
||||
});
|
||||
|
||||
assert(function (cb, msg) {
|
||||
var url = '/common/onlyoffice/v4/web-apps/apps/spreadsheeteditor/main/index.html';
|
||||
var url = '/common/onlyoffice/v5/web-apps/apps/spreadsheeteditor/main/index.html';
|
||||
msg.appendChild(CSP_WARNING(url));
|
||||
deferredPostMessage({
|
||||
command: 'GET_HEADER',
|
||||
|
||||
@ -61,7 +61,7 @@ define([
|
||||
var CHECKPOINT_INTERVAL = 100;
|
||||
var FORCE_CHECKPOINT_INTERVAL = 10000;
|
||||
var DISPLAY_RESTORE_BUTTON = false;
|
||||
var NEW_VERSION = 4; // version of the .bin, patches and ChainPad formats
|
||||
var NEW_VERSION = 5; // version of the .bin, patches and ChainPad formats
|
||||
var PENDING_TIMEOUT = 30000;
|
||||
var CURRENT_VERSION = X2T.CURRENT_VERSION;
|
||||
|
||||
@ -1687,6 +1687,41 @@ define([
|
||||
}
|
||||
},
|
||||
"onDocumentReady": function () {
|
||||
/*
|
||||
// Cancel migration from v4 et v5 if there is no charts
|
||||
if (APP.migrate && content.version === 4 && NEW_VERSION === 5) {
|
||||
var skip = false;
|
||||
// Skip if there is no chart in the document
|
||||
if (getEditor()) {
|
||||
var app = common.getMetadataMgr().getPrivateData().ooType;
|
||||
var d, hasChart;
|
||||
if (app === 'doc') {
|
||||
d = getEditor().GetDocument();
|
||||
hasChart = d.GetAllCharts().length;
|
||||
} else if (app === 'presentation') {
|
||||
hasChart = d.Slides.some(function (slide) {
|
||||
return slide.getDrawingObjects().some(function (obj) {
|
||||
return obj instanceof getWindow().AscFormat.CChartSpace;
|
||||
});
|
||||
});
|
||||
}
|
||||
if (!hasChart) { skip = true; }
|
||||
}
|
||||
if (skip) {
|
||||
delete content.migration;
|
||||
content.version = NEW_VERSION;
|
||||
APP.onLocal();
|
||||
APP.realtime.onSettle(function () {
|
||||
UI.removeModals();
|
||||
UI.alert(Messages.oo_sheetMigration_complete, function () {
|
||||
common.gotoURL();
|
||||
});
|
||||
return;
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
*/
|
||||
evOnSync.fire();
|
||||
var onMigrateRdy = Util.mkEvent();
|
||||
onMigrateRdy.reg(function () {
|
||||
@ -2900,8 +2935,8 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
||||
}
|
||||
readOnly = true;
|
||||
}
|
||||
} else if (content && content.version <= 3) { // V2 or V3
|
||||
version = 'v2b/';
|
||||
} else if (content && content.version <= 4) { // V2 or V3
|
||||
version = content.version <= 3 ? 'v2b/' : 'v4/';
|
||||
APP.migrate = true;
|
||||
// Registedred ~~users~~ editors can start the migration
|
||||
if (common.isLoggedIn() && !readOnly) {
|
||||
|
||||
BIN
www/common/onlyoffice/v5/fonts/Arimo-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Arimo-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Arimo-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Arimo-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Arimo-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Arimo-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Arimo-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Arimo-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Asana-Math.otf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Asana-Math.otf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Caladea-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Caladea-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Caladea-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Caladea-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Caladea-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Caladea-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Caladea-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Caladea-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Carlito-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Carlito-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Carlito-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Carlito-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Carlito-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Carlito-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Carlito-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Carlito-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Cousine-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Cousine-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Cousine-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Cousine-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Cousine-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Cousine-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Cousine-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Cousine-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSans-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSans-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSans.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSans.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSansMono-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSansMono-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSansMono.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSansMono.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSerif-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSerif-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DejaVuSerif.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DejaVuSerif.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSans-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSans-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSans.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSans.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSansMono.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSansMono.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/DroidSerif-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Hind-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Hind-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Hind-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Hind-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/IBMPlexMono-Medium.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/IBMPlexMono-Medium.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoMono-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoMono-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSans-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSans-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSansUI-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/NotoSerif-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/OpenSans-Regular.ttf
Executable file
BIN
www/common/onlyoffice/v5/fonts/OpenSans-Regular.ttf
Executable file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-Light.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-Light.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-LightItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-LightItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-Thin.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-Thin.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Roboto-ThinItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Roboto-ThinItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/RobotoCondensed-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/SymbolNeu.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/SymbolNeu.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Symbola717.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Symbola717.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Tinos-Bold.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Tinos-Bold.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Tinos-BoldItalic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Tinos-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Tinos-Italic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Tinos-Italic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Tinos-Regular.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Tinos-Regular.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-B.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-B.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-BI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-BI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-C.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-C.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-L.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-L.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-LI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-LI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-M.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-M.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-MI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-MI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-R.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-R.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-RI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/Ubuntu-RI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-B.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-B.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-BI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-BI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-R.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-R.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-RI.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/UbuntuMono-RI.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/WenQuan.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/WenQuan.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/arial.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/arial.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/arialbd.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/arialbd.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/arialbi.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/arialbi.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/ariali.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/ariali.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/calibri.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/calibri.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/calibrib.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/calibrib.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/calibrii.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/calibrii.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/calibriz.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/calibriz.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/komorebi-gothic-P.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/komorebi-gothic-P.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/komorebi-gothic.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/komorebi-gothic.ttf
Normal file
Binary file not shown.
BIN
www/common/onlyoffice/v5/fonts/opens___.ttf
Normal file
BIN
www/common/onlyoffice/v5/fonts/opens___.ttf
Normal file
Binary file not shown.
110
www/common/onlyoffice/v5/sdkjs/cell/css/main-mobile.css
Normal file
110
www/common/onlyoffice/v5/sdkjs/cell/css/main-mobile.css
Normal file
@ -0,0 +1,110 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/*
|
||||
* Worksheet canvas
|
||||
* --------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ws-canvas-outer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
#ws-canvas {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#ws-canvas-overlay, #ws-canvas-graphic, #ws-canvas-graphic-overlay {
|
||||
border: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Worksheet scroll bars
|
||||
* --------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ws-v-scrollbar {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 19px;
|
||||
top: -1px;
|
||||
bottom: 18px;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#ws-v-scroll-helper {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
#ws-h-scrollbar {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 19px;
|
||||
left: 0;
|
||||
right: 18px;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#ws-h-scroll-helper {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
#ws-scrollbar-corner {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background-color: #DCE2E8;
|
||||
border: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Scrollbars common */
|
||||
|
||||
#ws-v-scrollbar .jspVerticalBar,
|
||||
#ws-h-scrollbar .jspHorizontalBar,
|
||||
#ws-v-scrollbar .jspTrack,
|
||||
#ws-h-scrollbar .jspTrack {
|
||||
background-color: #DCE2E8;
|
||||
}
|
||||
|
||||
#ws-v-scrollbar .jspDrag,
|
||||
#ws-h-scrollbar .jspDrag {
|
||||
background-color: #C0C0C0;
|
||||
}
|
||||
#ws-v-scrollbar .jspDrag.jspHover,
|
||||
#ws-v-scrollbar .jspDrag.jspActive,
|
||||
#ws-h-scrollbar .jspDrag.jspHover,
|
||||
#ws-h-scrollbar .jspDrag.jspActive {
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
/* Vertical scrollbar */
|
||||
|
||||
#ws-v-scrollbar .jspVerticalBar {
|
||||
width: 7px;
|
||||
border-left: 1px solid #C1C6CC;
|
||||
}
|
||||
#ws-v-scrollbar .jspTrack {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
/* Horizontal scrollbar */
|
||||
|
||||
#ws-h-scrollbar .jspHorizontalBar {
|
||||
height: 7px;
|
||||
border-top: 1px solid #C1C6CC;
|
||||
}
|
||||
#ws-h-scrollbar .jspTrack {
|
||||
height: 8px;
|
||||
}
|
||||
160
www/common/onlyoffice/v5/sdkjs/cell/css/main.css
Normal file
160
www/common/onlyoffice/v5/sdkjs/cell/css/main.css
Normal file
@ -0,0 +1,160 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/*
|
||||
* Worksheet canvas
|
||||
* --------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ws-canvas-outer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 14px;
|
||||
bottom: 14px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#ws-canvas {
|
||||
border: 0;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
#ws-canvas-overlay, #ws-canvas-graphic, #ws-canvas-graphic-overlay {
|
||||
-webkit-user-select: none;
|
||||
border: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Worksheet scroll bars
|
||||
* --------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ws-v-scrollbar {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 14px;
|
||||
top: 0px;
|
||||
bottom: 14px;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#ws-v-scroll-helper {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
#ws-h-scrollbar {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 14px;
|
||||
left: 0px;
|
||||
right: 14px;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#ws-h-scroll-helper {
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
#ws-scrollbar-corner {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background-color: #F4F4F4;
|
||||
border: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Scrollbars common */
|
||||
|
||||
#ws-v-scrollbar .jspVerticalBar,
|
||||
#ws-h-scrollbar .jspHorizontalBar,
|
||||
#ws-v-scrollbar .jspTrack,
|
||||
#ws-h-scrollbar .jspTrack {
|
||||
background-color: #DCE2E8;
|
||||
}
|
||||
|
||||
#ws-v-scrollbar .jspDrag,
|
||||
#ws-h-scrollbar .jspDrag {
|
||||
background-color: #C0C0C0;
|
||||
}
|
||||
#ws-v-scrollbar .jspDrag.jspHover,
|
||||
#ws-v-scrollbar .jspDrag.jspActive,
|
||||
#ws-h-scrollbar .jspDrag.jspHover,
|
||||
#ws-h-scrollbar .jspDrag.jspActive {
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
/* Vertical scrollbar */
|
||||
|
||||
#ws-v-scrollbar .jspVerticalBar {
|
||||
width: 7px;
|
||||
border-left: 1px solid #C1C6CC;
|
||||
}
|
||||
#ws-v-scrollbar .jspTrack {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
/* Horizontal scrollbar */
|
||||
|
||||
#ws-h-scrollbar .jspHorizontalBar {
|
||||
height: 7px;
|
||||
border-top: 1px solid #C1C6CC;
|
||||
}
|
||||
#ws-h-scrollbar .jspTrack {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Cell editor
|
||||
* --------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ce-canvas-outer,
|
||||
#ce-canvas-outer-menu {
|
||||
position: absolute;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#ce-canvas,
|
||||
#ce-canvas-overlay,
|
||||
#ce-canvas-menu,
|
||||
#ce-canvas-overlay-menu {
|
||||
border: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#ce-cursor,
|
||||
#ce-cursor-menu {
|
||||
position: absolute;
|
||||
background-color: #000;
|
||||
width: 1px;
|
||||
height: 11pt;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
#apiPopUpSelector {
|
||||
position: absolute;
|
||||
}
|
||||
#apiPopUpList {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 210px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
#apiPopUpList li {
|
||||
max-width: 500px;
|
||||
}
|
||||
2368
www/common/onlyoffice/v5/sdkjs/cell/sdk-all-min.js
vendored
Normal file
2368
www/common/onlyoffice/v5/sdkjs/cell/sdk-all-min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
27754
www/common/onlyoffice/v5/sdkjs/cell/sdk-all.js
Normal file
27754
www/common/onlyoffice/v5/sdkjs/cell/sdk-all.js
Normal file
File diff suppressed because one or more lines are too long
128
www/common/onlyoffice/v5/sdkjs/common/AllFonts.js
Executable file
128
www/common/onlyoffice/v5/sdkjs/common/AllFonts.js
Executable file
File diff suppressed because one or more lines are too long
764
www/common/onlyoffice/v5/sdkjs/common/Charts/ChartStyles.js
Normal file
764
www/common/onlyoffice/v5/sdkjs/common/Charts/ChartStyles.js
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 165 B |
Binary file not shown.
|
After Width: | Height: | Size: 187 B |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user