multiple modules resolution

This commit is contained in:
vitorsemeano 2019-04-02 00:01:33 +01:00
parent efa3ff1730
commit b293f6e0f9
6 changed files with 9 additions and 18 deletions

View File

@ -1,7 +0,0 @@
.card-round:focus > .cardBox-focustransform {
transform: scale(1.26, 1.26);
}
.cardImageContainer-round, .cardImage-round {
border-radius: 1000px;
}

View File

@ -1,10 +1,10 @@
define(['viewcontainer', 'focusManager', 'queryString', 'layoutManager'], function (viewcontainer, focusManager, queryString, layoutManager) { define(['viewContainer', 'focusManager', 'queryString', 'layoutManager'], function (viewContainer, focusManager, queryString, layoutManager) {
'use strict'; 'use strict';
var currentView; var currentView;
var dispatchPageEvents; var dispatchPageEvents;
viewcontainer.setOnBeforeChange(function (newView, isRestored, options) { viewContainer.setOnBeforeChange(function (newView, isRestored, options) {
var lastView = currentView; var lastView = currentView;
if (lastView) { if (lastView) {
@ -125,7 +125,7 @@ define(['viewcontainer', 'focusManager', 'queryString', 'layoutManager'], functi
function resetCachedViews() { function resetCachedViews() {
// Reset all cached views whenever the skin changes // Reset all cached views whenever the skin changes
viewcontainer.reset(); viewContainer.reset();
} }
document.addEventListener('skinunload', resetCachedViews); document.addEventListener('skinunload', resetCachedViews);
@ -146,7 +146,7 @@ define(['viewcontainer', 'focusManager', 'queryString', 'layoutManager'], functi
return; return;
} }
viewcontainer.loadView(options).then(function (view) { viewContainer.loadView(options).then(function (view) {
onViewChange(view, options); onViewChange(view, options);
}); });
@ -163,7 +163,7 @@ define(['viewcontainer', 'focusManager', 'queryString', 'layoutManager'], functi
currentView.activeElement = document.activeElement; currentView.activeElement = document.activeElement;
} }
return viewcontainer.tryRestoreView(options).then(function (view) { return viewContainer.tryRestoreView(options).then(function (view) {
onViewChanging(); onViewChanging();
onViewChange(view, options, true); onViewChange(view, options, true);

View File

@ -687,7 +687,7 @@ var AppInfo = {};
humanedate: "components/humanedate", humanedate: "components/humanedate",
libraryBrowser: "scripts/librarybrowser", libraryBrowser: "scripts/librarybrowser",
events: apiClientBowerPath + "/events", events: apiClientBowerPath + "/events",
credentialprovider: apiClientBowerPath + "/credentials", credentialprovider: apiClientBowerPath + "/credentialprovider",
connectionManagerFactory: bowerPath + "/apiclient/connectionmanager", connectionManagerFactory: bowerPath + "/apiclient/connectionmanager",
visibleinviewport: componentsPath + "/visibleinviewport", visibleinviewport: componentsPath + "/visibleinviewport",
browserdeviceprofile: componentsPath + "/browserdeviceprofile", browserdeviceprofile: componentsPath + "/browserdeviceprofile",
@ -696,7 +696,7 @@ var AppInfo = {};
qualityoptions: componentsPath + "/qualityoptions", qualityoptions: componentsPath + "/qualityoptions",
hammer: bowerPath + "/hammerjs/hammer.min", hammer: bowerPath + "/hammerjs/hammer.min",
page: "thirdparty/page", page: "thirdparty/page",
focusManager: componentsPath + "/focusmanager", focusManager: componentsPath + "/focusManager",
datetime: componentsPath + "/datetime", datetime: componentsPath + "/datetime",
globalize: componentsPath + "/globalize", globalize: componentsPath + "/globalize",
itemHelper: componentsPath + "/itemhelper", itemHelper: componentsPath + "/itemhelper",
@ -784,9 +784,8 @@ var AppInfo = {};
define("refreshDialog", [componentsPath + "/refreshdialog/refreshdialog"], returnFirstDependency); define("refreshDialog", [componentsPath + "/refreshdialog/refreshdialog"], returnFirstDependency);
define("backdrop", [componentsPath + "/backdrop/backdrop"], returnFirstDependency); define("backdrop", [componentsPath + "/backdrop/backdrop"], returnFirstDependency);
define("fetchHelper", [componentsPath + "/fetchhelper"], returnFirstDependency); define("fetchHelper", [componentsPath + "/fetchhelper"], returnFirstDependency);
define("roundCardStyle", ["cardStyle", "css!" + componentsPath + "/cardbuilder/roundcard"], returnFirstDependency);
define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency); define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency);
define("cardBuilder", [componentsPath + "/cardbuilder/cardbuilder"], returnFirstDependency); define("cardBuilder", [componentsPath + "/cardbuilder/cardBuilder"], returnFirstDependency);
define("peoplecardbuilder", [componentsPath + "/cardbuilder/peoplecardbuilder"], returnFirstDependency); define("peoplecardbuilder", [componentsPath + "/cardbuilder/peoplecardbuilder"], returnFirstDependency);
define("chaptercardbuilder", [componentsPath + "/cardbuilder/chaptercardbuilder"], returnFirstDependency); define("chaptercardbuilder", [componentsPath + "/cardbuilder/chaptercardbuilder"], returnFirstDependency);
define("flexStyles", ["css!" + componentsPath + "/flexstyles"], returnFirstDependency); define("flexStyles", ["css!" + componentsPath + "/flexstyles"], returnFirstDependency);
@ -831,7 +830,6 @@ var AppInfo = {};
define("viewSettings", [componentsPath + "/viewsettings/viewsettings"], returnFirstDependency); define("viewSettings", [componentsPath + "/viewsettings/viewsettings"], returnFirstDependency);
define("filterMenu", [componentsPath + "/filtermenu/filtermenu"], returnFirstDependency); define("filterMenu", [componentsPath + "/filtermenu/filtermenu"], returnFirstDependency);
define("sortMenu", [componentsPath + "/sortmenu/sortmenu"], returnFirstDependency); define("sortMenu", [componentsPath + "/sortmenu/sortmenu"], returnFirstDependency);
define("connectionmanager", [apiClientBowerPath + "/connectionmanager"]);
define("serversync", [apiClientBowerPath + "/sync/serversync"], returnFirstDependency); define("serversync", [apiClientBowerPath + "/sync/serversync"], returnFirstDependency);
define("multiserversync", [apiClientBowerPath + "/sync/multiserversync"], returnFirstDependency); define("multiserversync", [apiClientBowerPath + "/sync/multiserversync"], returnFirstDependency);
define("mediasync", [apiClientBowerPath + "/sync/mediasync"], returnFirstDependency); define("mediasync", [apiClientBowerPath + "/sync/mediasync"], returnFirstDependency);
@ -854,7 +852,7 @@ var AppInfo = {};
define("imageUploader", [componentsPath + "/imageuploader/imageuploader"], returnFirstDependency); define("imageUploader", [componentsPath + "/imageuploader/imageuploader"], returnFirstDependency);
define("navdrawer", ["components/navdrawer/navdrawer"], returnFirstDependency); define("navdrawer", ["components/navdrawer/navdrawer"], returnFirstDependency);
define("htmlMediaHelper", [componentsPath + "/htmlMediaHelper"], returnFirstDependency); define("htmlMediaHelper", [componentsPath + "/htmlMediaHelper"], returnFirstDependency);
define("viewcontainer", ["components/viewContainer"], returnFirstDependency); define("viewContainer", ["components/viewContainer"], returnFirstDependency);
define("queryString", [bowerPath + "/query-string/index"], function () { define("queryString", [bowerPath + "/query-string/index"], function () {
return queryString; return queryString;
}); });