mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:08:33 +08:00
[de] delayed loading for "Toolbar" component dialogs
This commit is contained in:
@ -41,9 +41,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.CopyWarningDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,9 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.ImageFromUrlDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -40,9 +40,7 @@
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.InsertTableDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -34,10 +34,7 @@
|
||||
* Date: 09.02.15
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/LoadMask'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
Common.Views.SelectFileDlg = Common.UI.Window.extend(_.extend({
|
||||
initialize : function(options) {
|
||||
|
||||
@ -39,12 +39,7 @@
|
||||
*/
|
||||
if (Common === undefined)
|
||||
var Common = {};
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/util/character',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
var oRangeNames = {};
|
||||
oRangeNames[1] = 'Basic Latin';
|
||||
|
||||
@ -42,22 +42,9 @@
|
||||
define([
|
||||
'core',
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/view/CopyWarningDialog',
|
||||
'common/main/lib/view/ImageFromUrlDialog',
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'common/main/lib/util/define',
|
||||
'documenteditor/main/app/view/Toolbar',
|
||||
'documenteditor/main/app/view/PageMarginsDialog',
|
||||
'documenteditor/main/app/view/PageSizeDialog',
|
||||
'documenteditor/main/app/controller/PageLayout',
|
||||
'documenteditor/main/app/view/CustomColumnsDialog',
|
||||
'documenteditor/main/app/view/ControlSettingsDialog',
|
||||
'documenteditor/main/app/view/ListSettingsDialog',
|
||||
'documenteditor/main/app/view/DateTimeDialog',
|
||||
'documenteditor/main/app/view/LineNumbersDialog',
|
||||
'documenteditor/main/app/view/HyphenationDialog'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -38,13 +38,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([ 'text!documenteditor/main/app/template/ControlSettingsDialog.template',
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/component/InputField',
|
||||
'common/main/lib/view/AdvancedSettingsWindow',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'documenteditor/main/app/view/EditListItemDialog'
|
||||
define([
|
||||
'text!documenteditor/main/app/template/ControlSettingsDialog.template'
|
||||
], function (contentTemplate) { 'use strict';
|
||||
|
||||
DE.Views.ControlSettingsDialog = Common.Views.AdvancedSettingsWindow.extend(_.extend({
|
||||
|
||||
@ -37,11 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner',
|
||||
'common/main/lib/component/CheckBox'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.CustomColumnsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,11 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/component/ListView'
|
||||
], function () {
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
DE.Views.DateTimeDialog = Common.UI.Window.extend(_.extend({
|
||||
|
||||
@ -47,9 +47,6 @@ define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/Menu',
|
||||
'common/main/lib/component/Calendar',
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/CopyWarningDialog',
|
||||
'documenteditor/main/app/view/ControlSettingsDialog',
|
||||
'documenteditor/main/app/view/NumberingValueDialog',
|
||||
'documenteditor/main/app/view/CellsAddDialog',
|
||||
'documenteditor/main/app/view/ListIndentsDialog'
|
||||
|
||||
@ -38,10 +38,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/InputField'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.EditListItemDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -45,8 +45,7 @@ define([
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/component/MetricSpinner',
|
||||
'common/main/lib/component/TextareaField',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/view/ImageFromUrlDialog'
|
||||
'common/main/lib/component/CheckBox'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -37,11 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.HyphenationDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -42,8 +42,7 @@ define([
|
||||
'jquery',
|
||||
'underscore',
|
||||
'backbone',
|
||||
'common/main/lib/component/Button',
|
||||
'common/main/lib/view/ImageFromUrlDialog',
|
||||
'common/main/lib/component/Button'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -37,11 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.LineNumbersDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -42,12 +42,6 @@ if (Common === undefined)
|
||||
var Common = {};
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner',
|
||||
'common/main/lib/component/ThemeColorPalette',
|
||||
'common/main/lib/component/ColorButton',
|
||||
'common/main/lib/component/ComboBox',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'documenteditor/main/app/view/ListTypesAdvanced'
|
||||
], function () { 'use strict';
|
||||
var nMaxRecent = 5;
|
||||
|
||||
@ -40,9 +40,7 @@
|
||||
*/
|
||||
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.ListTypesAdvanced = Common.UI.Window.extend(_.extend({
|
||||
|
||||
|
||||
@ -42,7 +42,6 @@ define([
|
||||
'common/main/lib/component/Button',
|
||||
'common/main/lib/component/CheckBox',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'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.PageMarginsDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -37,10 +37,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/component/Window',
|
||||
'common/main/lib/component/MetricSpinner'
|
||||
], function () { 'use strict';
|
||||
define([], function () { 'use strict';
|
||||
|
||||
DE.Views.PageSizeDialog = Common.UI.Window.extend(_.extend({
|
||||
options: {
|
||||
|
||||
@ -49,8 +49,7 @@ define([
|
||||
'common/main/lib/component/ColorButton',
|
||||
'common/main/lib/component/ComboDataView',
|
||||
'common/main/lib/component/Slider',
|
||||
'common/main/lib/component/MultiSliderGradient',
|
||||
'common/main/lib/view/ImageFromUrlDialog',
|
||||
'common/main/lib/component/MultiSliderGradient'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -47,8 +47,7 @@ define([
|
||||
'common/main/lib/component/ThemeColorPalette',
|
||||
'common/main/lib/component/ColorButton',
|
||||
'common/main/lib/component/ComboBorderSize',
|
||||
'common/main/lib/component/ComboDataView',
|
||||
'common/main/lib/view/InsertTableDialog'
|
||||
'common/main/lib/component/ComboDataView'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
|
||||
@ -205,6 +205,11 @@ require([
|
||||
'common/main/lib/controller/ScreenReaderFocus',
|
||||
'common/main/lib/component/ComboBoxDataView',
|
||||
'common/main/lib/view/OptionsDialog',
|
||||
'common/main/lib/view/CopyWarningDialog',
|
||||
'common/main/lib/view/ImageFromUrlDialog',
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'documenteditor/main/app/view/ImageSettingsAdvanced',
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced',
|
||||
@ -225,7 +230,16 @@ require([
|
||||
'documenteditor/main/app/view/BookmarksDialog',
|
||||
'documenteditor/main/app/view/NotesRemoveDialog',
|
||||
'documenteditor/main/app/view/CrossReferenceDialog',
|
||||
'documenteditor/main/app/view/TableOfContentsSettings'
|
||||
'documenteditor/main/app/view/TableOfContentsSettings',
|
||||
'documenteditor/main/app/view/EditListItemDialog',
|
||||
'documenteditor/main/app/view/ControlSettingsDialog',
|
||||
'documenteditor/main/app/view/DateTimeDialog',
|
||||
'documenteditor/main/app/view/PageMarginsDialog',
|
||||
'documenteditor/main/app/view/PageSizeDialog',
|
||||
'documenteditor/main/app/view/CustomColumnsDialog',
|
||||
'documenteditor/main/app/view/ListSettingsDialog',
|
||||
'documenteditor/main/app/view/LineNumbersDialog',
|
||||
'documenteditor/main/app/view/HyphenationDialog',
|
||||
];
|
||||
|
||||
window.compareVersions = true;
|
||||
|
||||
@ -2,6 +2,11 @@ require([
|
||||
'common/main/lib/controller/ScreenReaderFocus',
|
||||
'common/main/lib/component/ComboBoxDataView',
|
||||
'common/main/lib/view/OptionsDialog',
|
||||
'common/main/lib/view/CopyWarningDialog',
|
||||
'common/main/lib/view/ImageFromUrlDialog',
|
||||
'common/main/lib/view/InsertTableDialog',
|
||||
'common/main/lib/view/SelectFileDlg',
|
||||
'common/main/lib/view/SymbolTableDialog',
|
||||
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
|
||||
'documenteditor/main/app/view/ImageSettingsAdvanced',
|
||||
'documenteditor/main/app/view/TableSettingsAdvanced',
|
||||
@ -22,6 +27,15 @@ require([
|
||||
'documenteditor/main/app/view/BookmarksDialog',
|
||||
'documenteditor/main/app/view/NotesRemoveDialog',
|
||||
'documenteditor/main/app/view/CrossReferenceDialog',
|
||||
'documenteditor/main/app/view/TableOfContentsSettings'
|
||||
'documenteditor/main/app/view/TableOfContentsSettings',
|
||||
'documenteditor/main/app/view/EditListItemDialog',
|
||||
'documenteditor/main/app/view/ControlSettingsDialog',
|
||||
'documenteditor/main/app/view/DateTimeDialog',
|
||||
'documenteditor/main/app/view/PageMarginsDialog',
|
||||
'documenteditor/main/app/view/PageSizeDialog',
|
||||
'documenteditor/main/app/view/CustomColumnsDialog',
|
||||
'documenteditor/main/app/view/ListSettingsDialog',
|
||||
'documenteditor/main/app/view/LineNumbersDialog',
|
||||
'documenteditor/main/app/view/HyphenationDialog'
|
||||
], function () {
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user