[SSE] tuned for using with launch controller

This commit is contained in:
maxkadushkin
2024-03-12 12:30:06 +03:00
parent 05f863c465
commit 702c52064a
10 changed files with 31 additions and 27 deletions

View File

@ -190,15 +190,15 @@ require([
'spreadsheeteditor/main/app/controller/Search',
'spreadsheeteditor/main/app/controller/WBProtection',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/ParagraphSettings',
'spreadsheeteditor/main/app/view/ImageSettings',
'spreadsheeteditor/main/app/view/ChartSettings',
'spreadsheeteditor/main/app/view/ShapeSettings',
'spreadsheeteditor/main/app/view/TextArtSettings',
'spreadsheeteditor/main/app/view/PivotSettings',
// 'spreadsheeteditor/main/app/view/ParagraphSettings',
// 'spreadsheeteditor/main/app/view/ImageSettings',
// 'spreadsheeteditor/main/app/view/ChartSettings',
// 'spreadsheeteditor/main/app/view/ShapeSettings',
// 'spreadsheeteditor/main/app/view/TextArtSettings',
// 'spreadsheeteditor/main/app/view/PivotSettings',
'spreadsheeteditor/main/app/view/FieldSettingsDialog',
'spreadsheeteditor/main/app/view/ValueFieldSettingsDialog',
'spreadsheeteditor/main/app/view/SignatureSettings',
// 'spreadsheeteditor/main/app/view/SignatureSettings',
'common/main/lib/util/utils',
'common/main/lib/controller/Fonts',
'common/main/lib/controller/History',
@ -210,6 +210,10 @@ require([
,'common/main/lib/controller/Protection'
,'common/main/lib/controller/Draw'
], function() {
app.postLaunchScripts = [
'spreadsheeteditor/main/code',
];
app.start();
});
});

View File

@ -66,17 +66,13 @@ define([
'common/main/lib/view/ListSettingsDialog',
'spreadsheeteditor/main/app/view/DocumentHolder',
'spreadsheeteditor/main/app/view/HyperlinkSettingsDialog',
'spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced',
'spreadsheeteditor/main/app/view/ImageSettingsAdvanced',
'spreadsheeteditor/main/app/view/SetValueDialog',
'spreadsheeteditor/main/app/view/AutoFilterDialog',
'spreadsheeteditor/main/app/view/SpecialPasteDialog',
'spreadsheeteditor/main/app/view/SlicerSettingsAdvanced',
'spreadsheeteditor/main/app/view/PivotGroupDialog',
'spreadsheeteditor/main/app/view/MacroDialog',
'spreadsheeteditor/main/app/view/FieldSettingsDialog',
'spreadsheeteditor/main/app/view/ValueFieldSettingsDialog',
'spreadsheeteditor/main/app/view/PivotSettingsAdvanced',
'spreadsheeteditor/main/app/view/PivotShowDetailDialog',
'spreadsheeteditor/main/app/view/FillSeriesDialog'
], function () {

View File

@ -57,10 +57,10 @@ define([
'spreadsheeteditor/main/app/collection/ConditionalFormatIcons',
'spreadsheeteditor/main/app/controller/FormulaDialog',
'common/main/lib/controller/FocusManager',
'common/main/lib/controller/ScreenReaderFocus',
'common/main/lib/controller/HintManager',
'common/main/lib/controller/LayoutManager',
'common/main/lib/controller/ExternalUsers'
'common/main/lib/controller/ExternalUsers',
'common/main/lib/controller/LaunchController',
], function () {
'use strict';
@ -192,9 +192,9 @@ define([
this.api = this.getApplication().getController('Viewport').getApi();
Common.UI.FocusManager.init();
Common.UI.ScreenReaderFocusManager.init(this.api);
Common.UI.HintManager.init(this.api);
Common.UI.Themes.init(this.api);
Common.Controllers.LaunchController.init(this.api);
var value = Common.localStorage.getBool("sse-settings-cachemode", true);
Common.Utils.InternalSettings.set("sse-settings-cachemode", value);

View File

@ -45,7 +45,6 @@ define([
'common/main/lib/component/Button',
'common/main/lib/component/MetricSpinner',
'common/main/lib/view/ImageFromUrlDialog',
'spreadsheeteditor/main/app/view/ImageSettingsAdvanced'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -50,7 +50,6 @@ define([
'backbone',
'common/main/lib/component/ComboBox',
'common/main/lib/component/MetricSpinner',
'spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -47,7 +47,6 @@ define([
'common/main/lib/component/ListView',
'spreadsheeteditor/main/app/view/FieldSettingsDialog',
'spreadsheeteditor/main/app/view/ValueFieldSettingsDialog',
'spreadsheeteditor/main/app/view/PivotSettingsAdvanced'
], function (menuTemplate, $, _, Backbone, Sortable) {
'use strict';

View File

@ -51,7 +51,6 @@ define([
'common/main/lib/component/Slider',
'common/main/lib/component/MultiSliderGradient',
'common/main/lib/view/ImageFromUrlDialog',
'spreadsheeteditor/main/app/view/ShapeSettingsAdvanced'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -43,7 +43,6 @@ define([
'backbone',
'common/main/lib/component/Button',
'common/main/lib/component/MetricSpinner',
'spreadsheeteditor/main/app/view/SlicerSettingsAdvanced'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -47,7 +47,6 @@ define([
'common/main/lib/component/CheckBox',
'common/main/lib/component/ComboDataView',
'spreadsheeteditor/main/app/view/TableOptionsDialog',
'spreadsheeteditor/main/app/view/TableSettingsAdvanced',
'spreadsheeteditor/main/app/view/SlicerAddDialog'
], function (menuTemplate, $, _, Backbone) {
'use strict';

View File

@ -181,15 +181,15 @@ require([
'spreadsheeteditor/main/app/controller/Search',
'spreadsheeteditor/main/app/controller/WBProtection',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/ParagraphSettings',
'spreadsheeteditor/main/app/view/ImageSettings',
'spreadsheeteditor/main/app/view/ChartSettings',
'spreadsheeteditor/main/app/view/ShapeSettings',
'spreadsheeteditor/main/app/view/TextArtSettings',
'spreadsheeteditor/main/app/view/PivotSettings',
// 'spreadsheeteditor/main/app/view/ParagraphSettings',
// 'spreadsheeteditor/main/app/view/ImageSettings',
// 'spreadsheeteditor/main/app/view/ChartSettings',
// 'spreadsheeteditor/main/app/view/ShapeSettings',
// 'spreadsheeteditor/main/app/view/TextArtSettings',
// 'spreadsheeteditor/main/app/view/PivotSettings',
'spreadsheeteditor/main/app/view/FieldSettingsDialog',
'spreadsheeteditor/main/app/view/ValueFieldSettingsDialog',
'spreadsheeteditor/main/app/view/SignatureSettings',
// 'spreadsheeteditor/main/app/view/SignatureSettings',
'common/main/lib/util/utils',
'common/main/lib/controller/Fonts',
'common/main/lib/controller/History',
@ -201,6 +201,16 @@ require([
,'common/main/lib/controller/Protection'
,'common/main/lib/controller/Draw'
], function() {
app.postLaunchScripts = [
'common/main/lib/controller/ScreenReaderFocus',
'spreadsheeteditor/main/app/view/ParagraphSettingsAdvanced',
'spreadsheeteditor/main/app/view/ImageSettingsAdvanced',
'spreadsheeteditor/main/app/view/SlicerSettingsAdvanced',
'spreadsheeteditor/main/app/view/PivotSettingsAdvanced',
'spreadsheeteditor/main/app/view/TableSettingsAdvanced',
'spreadsheeteditor/main/app/view/ShapeSettingsAdvanced',
];
window.compareVersions = true;
app.start();
});