mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 08:55:16 +08:00
[de] delayed loading for: protection and utils dialogs
This commit is contained in:
@ -44,10 +44,7 @@ Common.Controllers = Common.Controllers || {};
|
||||
|
||||
define([
|
||||
'core',
|
||||
'common/main/lib/view/Draw',
|
||||
'common/main/lib/view/PasswordDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'common/main/lib/view/SignSettingsDialog'
|
||||
'common/main/lib/view/Draw'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -44,10 +44,7 @@ Common.Controllers = Common.Controllers || {};
|
||||
|
||||
define([
|
||||
'core',
|
||||
'common/main/lib/view/Protection',
|
||||
'common/main/lib/view/PasswordDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'common/main/lib/view/SignSettingsDialog'
|
||||
'common/main/lib/view/Protection'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -39,9 +39,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () {
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
Common.Views.PasswordDialog = Common.UI.Window.extend(_.extend({
|
||||
|
||||
@ -34,10 +34,7 @@
|
||||
* Copyright (c) 2018 Ascensio System SIA. All rights reserved.
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/LoadMask'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.SaveAsDlg = Common.UI.Window.extend(_.extend({
|
||||
initialize : function(options) {
|
||||
|
||||
@ -41,12 +41,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ComboBoxFonts'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.SignDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -41,12 +41,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.SignSettingsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -40,8 +40,7 @@
|
||||
define([
|
||||
'core',
|
||||
'common/main/lib/view/Protection',
|
||||
'documenteditor/main/app/view/DocProtection',
|
||||
'documenteditor/main/app/view/ProtectDialog'
|
||||
'documenteditor/main/app/view/DocProtection'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -42,7 +42,6 @@
|
||||
define([
|
||||
'core',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'documenteditor/main/app/view/LeftMenu',
|
||||
'documenteditor/main/app/view/FileMenu',
|
||||
'documenteditor/main/app/view/ViewTab'
|
||||
|
||||
@ -38,12 +38,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/component/MetricSpinner',
|
||||
'common/main/lib/component/RadioBox'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.CellsAddDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -46,10 +46,7 @@ define([
|
||||
'gateway',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/Menu',
|
||||
'common/main/lib/component/Calendar',
|
||||
'documenteditor/main/app/view/NumberingValueDialog',
|
||||
'documenteditor/main/app/view/CellsAddDialog',
|
||||
'documenteditor/main/app/view/ListIndentsDialog'
|
||||
'common/main/lib/component/Calendar'
|
||||
], function ($, _, Backbone, gateway) { 'use strict';
|
||||
|
||||
DE.Views.DocumentHolder = Backbone.View.extend(_.extend({
|
||||
|
||||
@ -38,10 +38,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.ListIndentsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -41,7 +41,6 @@ define([
|
||||
'backbone',
|
||||
'common/main/lib/component/Button',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'documenteditor/main/app/view/MailMergeEmailDlg'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.NumberingValueDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,9 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () {
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
DE.Views.ProtectDialog = Common.UI.Window.extend(_.extend({
|
||||
|
||||
@ -210,6 +210,11 @@ require([
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'common/main/lib/view/PasswordDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'common/main/lib/view/SignSettingsDialog',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
|
||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'documenteditor/main/app/view/ImageSettingsAdvanced',
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced',
|
||||
@ -240,6 +245,10 @@ require([
|
||||
'documenteditor/main/app/view/ListSettingsDialog',
|
||||
'documenteditor/main/app/view/LineNumbersDialog',
|
||||
'documenteditor/main/app/view/HyphenationDialog',
|
||||
'documenteditor/main/app/view/CellsAddDialog',
|
||||
'documenteditor/main/app/view/NumberingValueDialog',
|
||||
'documenteditor/main/app/view/ListIndentsDialog',
|
||||
'documenteditor/main/app/view/ProtectDialog'
|
||||
];
|
||||
|
||||
window.compareVersions = true;
|
||||
|
||||
@ -7,6 +7,11 @@ require([
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'common/main/lib/view/PasswordDialog',
|
||||
'common/main/lib/view/SignDialog',
|
||||
'common/main/lib/view/SignSettingsDialog',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
|
||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'documenteditor/main/app/view/ImageSettingsAdvanced',
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced',
|
||||
@ -36,6 +41,10 @@ require([
|
||||
'documenteditor/main/app/view/CustomColumnsDialog',
|
||||
'documenteditor/main/app/view/ListSettingsDialog',
|
||||
'documenteditor/main/app/view/LineNumbersDialog',
|
||||
'documenteditor/main/app/view/HyphenationDialog'
|
||||
'documenteditor/main/app/view/HyphenationDialog',
|
||||
'documenteditor/main/app/view/CellsAddDialog',
|
||||
'documenteditor/main/app/view/NumberingValueDialog',
|
||||
'documenteditor/main/app/view/ListIndentsDialog',
|
||||
'documenteditor/main/app/view/ProtectDialog'
|
||||
], function () {
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user