Merge branch 'release/v7.2.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.2.0
This commit is contained in:
commit
ddf0541ef2
|
@ -568,7 +568,7 @@ Common.UI.HintManager = new(function() {
|
||||||
if (curr.prop('id') === 'btn-goback' || curr.closest('.btn-slot').prop('id') === 'slot-btn-options' ||
|
if (curr.prop('id') === 'btn-goback' || curr.closest('.btn-slot').prop('id') === 'slot-btn-options' ||
|
||||||
curr.closest('.btn-slot').prop('id') === 'slot-btn-mode' || curr.prop('id') === 'btn-favorite' || curr.parent().prop('id') === 'tlb-box-users' ||
|
curr.closest('.btn-slot').prop('id') === 'slot-btn-mode' || curr.prop('id') === 'btn-favorite' || curr.parent().prop('id') === 'tlb-box-users' ||
|
||||||
curr.prop('id') === 'left-btn-thumbs' || curr.hasClass('scroll') || curr.prop('id') === 'left-btn-about' ||
|
curr.prop('id') === 'left-btn-thumbs' || curr.hasClass('scroll') || curr.prop('id') === 'left-btn-about' ||
|
||||||
curr.prop('id') === 'left-btn-support') {
|
curr.prop('id') === 'left-btn-support' || curr.closest('.btn-slot').prop('id') === 'slot-btn-search') {
|
||||||
_resetToDefault();
|
_resetToDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,11 +60,11 @@ define([
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div id="current-plugin-box" class="layout-ct vbox hidden">',
|
'<div id="current-plugin-box" class="layout-ct vbox hidden">',
|
||||||
|
'<div id="current-plugin-frame" class="">',
|
||||||
|
'</div>',
|
||||||
'<div id="current-plugin-header">',
|
'<div id="current-plugin-header">',
|
||||||
'<label></label>',
|
'<label></label>',
|
||||||
'<div id="id-plugin-close" class="tool close"></div>',
|
'<div id="id-plugin-close" class="close"></div>',
|
||||||
'</div>',
|
|
||||||
'<div id="current-plugin-frame" class="">',
|
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div id="plugins-mask" style="display: none;">'
|
'<div id="plugins-mask" style="display: none;">'
|
||||||
|
@ -111,6 +111,13 @@ define([
|
||||||
this.currentPluginPanel = $('#current-plugin-box');
|
this.currentPluginPanel = $('#current-plugin-box');
|
||||||
this.currentPluginFrame = $('#current-plugin-frame');
|
this.currentPluginFrame = $('#current-plugin-frame');
|
||||||
|
|
||||||
|
this.pluginClose = new Common.UI.Button({
|
||||||
|
parentEl: $('#id-plugin-close'),
|
||||||
|
cls: 'btn-toolbar',
|
||||||
|
iconCls: 'toolbar__icon btn-close',
|
||||||
|
hint: this.textClosePanel
|
||||||
|
});
|
||||||
|
|
||||||
this.pluginMenu = new Common.UI.Menu({
|
this.pluginMenu = new Common.UI.Menu({
|
||||||
menuAlign : 'tr-br',
|
menuAlign : 'tr-br',
|
||||||
items: []
|
items: []
|
||||||
|
@ -426,7 +433,8 @@ define([
|
||||||
textLoading: 'Loading',
|
textLoading: 'Loading',
|
||||||
textStart: 'Start',
|
textStart: 'Start',
|
||||||
textStop: 'Stop',
|
textStop: 'Stop',
|
||||||
groupCaption: 'Plugins'
|
groupCaption: 'Plugins',
|
||||||
|
textClosePanel: 'Close plugin'
|
||||||
|
|
||||||
}, Common.Views.Plugins || {}));
|
}, Common.Views.Plugins || {}));
|
||||||
});
|
});
|
|
@ -80,17 +80,20 @@
|
||||||
|
|
||||||
#current-plugin-header {
|
#current-plugin-header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
height: 45px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
top: 0;
|
||||||
height: 38px;
|
right: 0;
|
||||||
padding: 10px 12px;
|
padding: 12px;
|
||||||
|
overflow: hidden;
|
||||||
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
|
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
|
||||||
border-bottom: @scaled-one-px-value solid @border-toolbar;
|
border-bottom: @scaled-one-px-value solid @border-toolbar;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-top: 2px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
.font-weight-bold();
|
.font-weight-bold();
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -98,20 +101,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool {
|
.close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 9px;
|
width: 20px;
|
||||||
right: 7px;
|
height: 20px;
|
||||||
margin: 0;
|
top: 12px;
|
||||||
/*&:before, &:after {
|
right: 12px;
|
||||||
width: 2px;
|
|
||||||
width: @scaled-two-px-value;
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#current-plugin-frame {
|
#current-plugin-frame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 38px;
|
padding-top: 45px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
allfonts : '../../sdkjs/common/AllFonts',
|
allfonts : '../../sdkjs/common/AllFonts',
|
||||||
sdk : '../../sdkjs/word/sdk-all-min',
|
sdk : '../../sdkjs/word/sdk-all-min',
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
|
@ -102,9 +100,7 @@ require.config({
|
||||||
'underscore',
|
'underscore',
|
||||||
'allfonts',
|
'allfonts',
|
||||||
'xregexp',
|
'xregexp',
|
||||||
'sockjs',
|
'sockjs'
|
||||||
'jszip',
|
|
||||||
'jsziputils'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
gateway: {
|
gateway: {
|
||||||
|
|
|
@ -47,8 +47,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
core : 'common/main/lib/core/application',
|
core : 'common/main/lib/core/application',
|
||||||
notification : 'common/main/lib/core/NotificationCenter',
|
notification : 'common/main/lib/core/NotificationCenter',
|
||||||
|
@ -115,8 +113,6 @@ require([
|
||||||
'analytics',
|
'analytics',
|
||||||
'gateway',
|
'gateway',
|
||||||
'locale',
|
'locale',
|
||||||
'jszip',
|
|
||||||
'jsziputils',
|
|
||||||
'sockjs',
|
'sockjs',
|
||||||
'underscore'
|
'underscore'
|
||||||
], function (Backbone, Bootstrap, Core) {
|
], function (Backbone, Bootstrap, Core) {
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
allfonts : '../../sdkjs/common/AllFonts',
|
allfonts : '../../sdkjs/common/AllFonts',
|
||||||
sdk : '../../sdkjs/word/sdk-all-min',
|
sdk : '../../sdkjs/word/sdk-all-min',
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
|
@ -109,9 +107,7 @@ require.config({
|
||||||
'underscore',
|
'underscore',
|
||||||
'allfonts',
|
'allfonts',
|
||||||
'xregexp',
|
'xregexp',
|
||||||
'sockjs',
|
'sockjs'
|
||||||
'jszip',
|
|
||||||
'jsziputils'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
gateway: {
|
gateway: {
|
||||||
|
|
|
@ -175,7 +175,7 @@ define([
|
||||||
{caption: me.textTabHome, action: 'home', extcls: 'canedit', dataHintTitle: 'H'},
|
{caption: me.textTabHome, action: 'home', extcls: 'canedit', dataHintTitle: 'H'},
|
||||||
{caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
{caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'},
|
||||||
{caption: me.textTabLayout, action: 'layout', extcls: 'canedit', layoutname: 'toolbar-layout', dataHintTitle: 'L'},
|
{caption: me.textTabLayout, action: 'layout', extcls: 'canedit', layoutname: 'toolbar-layout', dataHintTitle: 'L'},
|
||||||
{caption: me.textTabLinks, action: 'links', extcls: 'canedit', layoutname: 'toolbar-references', dataHintTitle: 'R'}
|
{caption: me.textTabLinks, action: 'links', extcls: 'canedit', layoutname: 'toolbar-references', dataHintTitle: 'N'}
|
||||||
// undefined, undefined, undefined, undefined,
|
// undefined, undefined, undefined, undefined,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
core : 'common/main/lib/core/application',
|
core : 'common/main/lib/core/application',
|
||||||
notification : 'common/main/lib/core/NotificationCenter',
|
notification : 'common/main/lib/core/NotificationCenter',
|
||||||
|
@ -122,8 +120,6 @@ require([
|
||||||
'analytics',
|
'analytics',
|
||||||
'gateway',
|
'gateway',
|
||||||
'locale',
|
'locale',
|
||||||
'jszip',
|
|
||||||
'jsziputils',
|
|
||||||
'sockjs',
|
'sockjs',
|
||||||
'underscore'
|
'underscore'
|
||||||
], function (Backbone, Bootstrap, Core) {
|
], function (Backbone, Bootstrap, Core) {
|
||||||
|
|
|
@ -347,6 +347,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
|
@ -60,9 +60,7 @@ class MainController extends Component {
|
||||||
!window.sdk_scripts && (window.sdk_scripts = ['../../../../sdkjs/common/AllFonts.js',
|
!window.sdk_scripts && (window.sdk_scripts = ['../../../../sdkjs/common/AllFonts.js',
|
||||||
'../../../../sdkjs/word/sdk-all-min.js']);
|
'../../../../sdkjs/word/sdk-all-min.js']);
|
||||||
let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js',
|
let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js',
|
||||||
'../../../vendor/sockjs/sockjs.min.js',
|
'../../../vendor/sockjs/sockjs.min.js'];
|
||||||
'../../../vendor/jszip/jszip.min.js',
|
|
||||||
'../../../vendor/jszip-utils/jszip-utils.min.js'];
|
|
||||||
dep_scripts.push(...window.sdk_scripts);
|
dep_scripts.push(...window.sdk_scripts);
|
||||||
|
|
||||||
const promise_get_script = (scriptpath) => {
|
const promise_get_script = (scriptpath) => {
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
allfonts : '../../sdkjs/common/AllFonts',
|
allfonts : '../../sdkjs/common/AllFonts',
|
||||||
sdk : '../../sdkjs/slide/sdk-all-min',
|
sdk : '../../sdkjs/slide/sdk-all-min',
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
|
@ -108,9 +106,7 @@ require.config({
|
||||||
'underscore',
|
'underscore',
|
||||||
'allfonts',
|
'allfonts',
|
||||||
'xregexp',
|
'xregexp',
|
||||||
'sockjs',
|
'sockjs'
|
||||||
'jszip',
|
|
||||||
'jsziputils'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
gateway: {
|
gateway: {
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
core : 'common/main/lib/core/application',
|
core : 'common/main/lib/core/application',
|
||||||
notification : 'common/main/lib/core/NotificationCenter',
|
notification : 'common/main/lib/core/NotificationCenter',
|
||||||
|
@ -121,8 +119,6 @@ require([
|
||||||
'analytics',
|
'analytics',
|
||||||
'gateway',
|
'gateway',
|
||||||
'locale',
|
'locale',
|
||||||
'jszip',
|
|
||||||
'jsziputils',
|
|
||||||
'sockjs',
|
'sockjs',
|
||||||
'xregexp',
|
'xregexp',
|
||||||
'underscore'
|
'underscore'
|
||||||
|
|
|
@ -449,6 +449,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
|
@ -255,8 +255,6 @@
|
||||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
|
||||||
|
|
||||||
<script src="../../../vendor/requirejs/require.js"></script>
|
<script src="../../../vendor/requirejs/require.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -247,8 +247,6 @@
|
||||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
|
||||||
<script src="../../../vendor/requirejs/require.js"></script>
|
<script src="../../../vendor/requirejs/require.js"></script>
|
||||||
<script>
|
<script>
|
||||||
require.config({
|
require.config({
|
||||||
|
|
|
@ -329,8 +329,6 @@
|
||||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
|
||||||
|
|
||||||
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/cell/scripts.js"></script>
|
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/cell/scripts.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -321,8 +321,6 @@
|
||||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
|
||||||
|
|
||||||
<!--sdk-->
|
<!--sdk-->
|
||||||
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/>
|
<link rel="stylesheet" type="text/css" href="../../../../sdkjs/cell/css/main.css"/>
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
allfonts : '../../sdkjs/common/AllFonts',
|
allfonts : '../../sdkjs/common/AllFonts',
|
||||||
sdk : '../../sdkjs/cell/sdk-all-min',
|
sdk : '../../sdkjs/cell/sdk-all-min',
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
|
@ -108,9 +106,7 @@ require.config({
|
||||||
'underscore',
|
'underscore',
|
||||||
'allfonts',
|
'allfonts',
|
||||||
'xregexp',
|
'xregexp',
|
||||||
'sockjs',
|
'sockjs'
|
||||||
'jszip',
|
|
||||||
'jsziputils'
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
gateway: {
|
gateway: {
|
||||||
|
|
|
@ -1317,7 +1317,11 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
searchShow: function () {
|
searchShow: function () {
|
||||||
if (this.toolbar.btnSearch && this.searchBar && !this.searchBar.isVisible()) {
|
if (this.toolbar.btnSearch) {
|
||||||
|
if (this.searchBar && this.searchBar.isVisible()) {
|
||||||
|
this.searchBar.focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.toolbar.btnSearch.toggle(true);
|
this.toolbar.btnSearch.toggle(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div id="status-addtabs-box" class="status-group">
|
<div id="status-addtabs-box" class="status-group">
|
||||||
<button id="status-btn-addtab" type="button" class="btn small btn-toolbar" data-hint="0" data-hint-direction="top" data-hint-offset="small" data-hint-title="X"><i class="icon toolbar__icon btn-zoomup"> </i></button>
|
<button id="status-btn-addtab" type="button" class="btn small btn-toolbar" data-hint="0" data-hint-direction="top" data-hint-offset="small" data-hint-title="X"><i class="icon toolbar__icon btn-zoomup"> </i></button>
|
||||||
<div class="cnt-tabslist">
|
<div class="cnt-tabslist">
|
||||||
<button id="status-btn-tabslist" type="button" class="btn small btn-toolbar dropdown-toggle" data-toggle="dropdown" data-hint="0" data-hint-direction="top" data-hint-offset="small" data-hint-title="V"><i class="icon toolbar__icon btn-sheet-list"> </i></button>
|
<button id="status-btn-tabslist" type="button" class="btn small btn-toolbar dropdown-toggle" data-toggle="dropdown" data-hint="0" data-hint-direction="top" data-hint-offset="small" data-hint-title="N"><i class="icon toolbar__icon btn-sheet-list"> </i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="status-zoom-box" class="status-group">
|
<div id="status-zoom-box" class="status-group">
|
||||||
|
|
|
@ -54,8 +54,6 @@ require.config({
|
||||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||||
sockjs : '../vendor/sockjs/sockjs.min',
|
sockjs : '../vendor/sockjs/sockjs.min',
|
||||||
jszip : '../vendor/jszip/jszip.min',
|
|
||||||
jsziputils : '../vendor/jszip-utils/jszip-utils.min',
|
|
||||||
api : 'api/documents/api',
|
api : 'api/documents/api',
|
||||||
core : 'common/main/lib/core/application',
|
core : 'common/main/lib/core/application',
|
||||||
notification : 'common/main/lib/core/NotificationCenter',
|
notification : 'common/main/lib/core/NotificationCenter',
|
||||||
|
@ -121,8 +119,6 @@ require([
|
||||||
'analytics',
|
'analytics',
|
||||||
'gateway',
|
'gateway',
|
||||||
'locale',
|
'locale',
|
||||||
'jszip',
|
|
||||||
'jsziputils',
|
|
||||||
'sockjs',
|
'sockjs',
|
||||||
'underscore'
|
'underscore'
|
||||||
], function (Backbone, Bootstrap, Core) {
|
], function (Backbone, Bootstrap, Core) {
|
||||||
|
|
|
@ -304,6 +304,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
|
@ -71,9 +71,7 @@ class MainController extends Component {
|
||||||
'../../../vendor/bootstrap/dist/js/bootstrap.min.js',
|
'../../../vendor/bootstrap/dist/js/bootstrap.min.js',
|
||||||
'../../../vendor/underscore/underscore-min.js',
|
'../../../vendor/underscore/underscore-min.js',
|
||||||
'../../../vendor/xregexp/xregexp-all-min.js',
|
'../../../vendor/xregexp/xregexp-all-min.js',
|
||||||
'../../../vendor/sockjs/sockjs.min.js',
|
'../../../vendor/sockjs/sockjs.min.js'];
|
||||||
'../../../vendor/jszip/jszip.min.js',
|
|
||||||
'../../../vendor/jszip-utils/jszip-utils.min.js'];
|
|
||||||
dep_scripts.push(...window.sdk_scripts);
|
dep_scripts.push(...window.sdk_scripts);
|
||||||
|
|
||||||
const promise_get_script = (scriptpath) => {
|
const promise_get_script = (scriptpath) => {
|
||||||
|
|
|
@ -282,8 +282,6 @@ module.exports = function(grunt) {
|
||||||
doRegisterTask('iscroll');
|
doRegisterTask('iscroll');
|
||||||
doRegisterTask('fetch');
|
doRegisterTask('fetch');
|
||||||
doRegisterTask('es6-promise');
|
doRegisterTask('es6-promise');
|
||||||
doRegisterTask('jszip');
|
|
||||||
doRegisterTask('jsziputils');
|
|
||||||
doRegisterTask('common-embed');
|
doRegisterTask('common-embed');
|
||||||
doRegisterTask('requirejs', function(defaultConfig, packageFile) {
|
doRegisterTask('requirejs', function(defaultConfig, packageFile) {
|
||||||
return {
|
return {
|
||||||
|
@ -674,8 +672,6 @@ module.exports = function(grunt) {
|
||||||
grunt.registerTask('deploy-iscroll', ['iscroll-init', 'clean', 'copy']);
|
grunt.registerTask('deploy-iscroll', ['iscroll-init', 'clean', 'copy']);
|
||||||
grunt.registerTask('deploy-fetch', ['fetch-init', 'clean', 'copy']);
|
grunt.registerTask('deploy-fetch', ['fetch-init', 'clean', 'copy']);
|
||||||
grunt.registerTask('deploy-bootstrap', ['bootstrap-init', 'clean', 'copy']);
|
grunt.registerTask('deploy-bootstrap', ['bootstrap-init', 'clean', 'copy']);
|
||||||
grunt.registerTask('deploy-jszip', ['jszip-init', 'clean', 'copy']);
|
|
||||||
grunt.registerTask('deploy-jsziputils', ['jsziputils-init', 'clean', 'copy']);
|
|
||||||
grunt.registerTask('deploy-requirejs', ['requirejs-init', 'clean', 'terser']);
|
grunt.registerTask('deploy-requirejs', ['requirejs-init', 'clean', 'terser']);
|
||||||
grunt.registerTask('deploy-es6-promise', ['es6-promise-init', 'clean', 'copy']);
|
grunt.registerTask('deploy-es6-promise', ['es6-promise-init', 'clean', 'copy']);
|
||||||
grunt.registerTask('deploy-common-embed', ['common-embed-init', 'clean', 'copy']);
|
grunt.registerTask('deploy-common-embed', ['common-embed-init', 'clean', 'copy']);
|
||||||
|
|
|
@ -33,8 +33,6 @@
|
||||||
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
||||||
"xregexp": "empty:",
|
"xregexp": "empty:",
|
||||||
"sockjs": "empty:",
|
"sockjs": "empty:",
|
||||||
"jszip": "empty:",
|
|
||||||
"jszip-utils": "empty:",
|
|
||||||
"coapisettings": "empty:",
|
"coapisettings": "empty:",
|
||||||
"allfonts": "empty:",
|
"allfonts": "empty:",
|
||||||
"sdk": "empty:",
|
"sdk": "empty:",
|
||||||
|
@ -87,9 +85,7 @@
|
||||||
"coapisettings",
|
"coapisettings",
|
||||||
"allfonts",
|
"allfonts",
|
||||||
"xregexp",
|
"xregexp",
|
||||||
"sockjs",
|
"sockjs"
|
||||||
"jszip",
|
|
||||||
"jszip-utils"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gateway": {
|
"gateway": {
|
||||||
|
|
|
@ -202,28 +202,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jszip": {
|
|
||||||
"clean": [
|
|
||||||
"../deploy/web-apps/vendor/jszip"
|
|
||||||
],
|
|
||||||
"copy": {
|
|
||||||
"script": {
|
|
||||||
"src": "../vendor/jszip/jszip.min.js",
|
|
||||||
"dest": "../deploy/web-apps/vendor/jszip/jszip.min.js"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jsziputils": {
|
|
||||||
"clean": [
|
|
||||||
"../deploy/web-apps/vendor/jszip-utils"
|
|
||||||
],
|
|
||||||
"copy": {
|
|
||||||
"script": {
|
|
||||||
"src": "../vendor/jszip-utils/jszip-utils.min.js",
|
|
||||||
"dest": "../deploy/web-apps/vendor/jszip-utils/jszip-utils.min.js"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"underscore": {
|
"underscore": {
|
||||||
"clean": [
|
"clean": [
|
||||||
"../deploy/web-apps/vendor/underscore"
|
"../deploy/web-apps/vendor/underscore"
|
||||||
|
@ -303,8 +281,6 @@
|
||||||
"deploy-bootstrap",
|
"deploy-bootstrap",
|
||||||
"deploy-iscroll",
|
"deploy-iscroll",
|
||||||
"deploy-fetch",
|
"deploy-fetch",
|
||||||
"deploy-jszip",
|
|
||||||
"deploy-jsziputils",
|
|
||||||
"deploy-es6-promise",
|
"deploy-es6-promise",
|
||||||
"deploy-common-embed"
|
"deploy-common-embed"
|
||||||
]
|
]
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
||||||
"xregexp": "empty:",
|
"xregexp": "empty:",
|
||||||
"sockjs": "empty:",
|
"sockjs": "empty:",
|
||||||
"jszip": "empty:",
|
|
||||||
"jszip-utils": "empty:",
|
|
||||||
"coapisettings": "empty:",
|
"coapisettings": "empty:",
|
||||||
"allfonts": "empty:",
|
"allfonts": "empty:",
|
||||||
"sdk": "empty:",
|
"sdk": "empty:",
|
||||||
|
@ -85,9 +83,7 @@
|
||||||
"coapisettings",
|
"coapisettings",
|
||||||
"allfonts",
|
"allfonts",
|
||||||
"xregexp",
|
"xregexp",
|
||||||
"sockjs",
|
"sockjs"
|
||||||
"jszip",
|
|
||||||
"jszip-utils"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gateway": {
|
"gateway": {
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
||||||
"xregexp": "empty:",
|
"xregexp": "empty:",
|
||||||
"sockjs": "empty:",
|
"sockjs": "empty:",
|
||||||
"jszip": "empty:",
|
|
||||||
"jszip-utils": "empty:",
|
|
||||||
"coapisettings": "empty:",
|
"coapisettings": "empty:",
|
||||||
"allfonts": "empty:",
|
"allfonts": "empty:",
|
||||||
"sdk": "empty:",
|
"sdk": "empty:",
|
||||||
|
@ -85,9 +83,7 @@
|
||||||
"coapisettings",
|
"coapisettings",
|
||||||
"allfonts",
|
"allfonts",
|
||||||
"xregexp",
|
"xregexp",
|
||||||
"sockjs",
|
"sockjs"
|
||||||
"jszip",
|
|
||||||
"jszip-utils"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gateway": {
|
"gateway": {
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
"jmousewheel": "../vendor/perfect-scrollbar/src/jquery.mousewheel",
|
||||||
"xregexp": "empty:",
|
"xregexp": "empty:",
|
||||||
"sockjs": "empty:",
|
"sockjs": "empty:",
|
||||||
"jszip": "empty:",
|
|
||||||
"jszip-utils": "empty:",
|
|
||||||
"coapisettings": "empty:",
|
"coapisettings": "empty:",
|
||||||
"allfonts": "empty:",
|
"allfonts": "empty:",
|
||||||
"sdk": "empty:",
|
"sdk": "empty:",
|
||||||
|
@ -85,9 +83,7 @@
|
||||||
"coapisettings",
|
"coapisettings",
|
||||||
"allfonts",
|
"allfonts",
|
||||||
"xregexp",
|
"xregexp",
|
||||||
"sockjs",
|
"sockjs"
|
||||||
"jszip",
|
|
||||||
"jszip-utils"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"gateway": {
|
"gateway": {
|
||||||
|
|
|
@ -116,9 +116,6 @@
|
||||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||||
<script type="text/javascript" src="../../../vendor/jszip/jszip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../../vendor/jszip-utils/jszip-utils.min.js"></script>
|
|
||||||
|
|
||||||
<script src="../../../vendor/requirejs/require.js"></script>
|
<script src="../../../vendor/requirejs/require.js"></script>
|
||||||
<script>
|
<script>
|
||||||
require.config({
|
require.config({
|
||||||
|
|
Loading…
Reference in a new issue