mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move remaining router components
This commit is contained in:
parent
5da08475cc
commit
f96166657d
41 changed files with 51 additions and 51 deletions
|
@ -3,7 +3,7 @@ import { History } from '@remix-run/router';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import StableApp from './apps/stable/App';
|
import StableApp from './apps/stable/App';
|
||||||
import { HistoryRouter } from './components/HistoryRouter';
|
import { HistoryRouter } from './components/router/HistoryRouter';
|
||||||
import { ApiProvider } from './hooks/useApi';
|
import { ApiProvider } from './hooks/useApi';
|
||||||
|
|
||||||
const ExperimentalApp = loadable(() => import('./apps/experimental/App'));
|
const ExperimentalApp = loadable(() => import('./apps/experimental/App'));
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { Outlet, useLocation, useNavigate } from 'react-router-dom';
|
||||||
import type { ConnectResponse } from 'jellyfin-apiclient';
|
import type { ConnectResponse } from 'jellyfin-apiclient';
|
||||||
|
|
||||||
import alert from './alert';
|
import alert from './alert';
|
||||||
import { appRouter } from './appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import Loading from './loading/LoadingComponent';
|
import Loading from './loading/LoadingComponent';
|
||||||
import ServerConnections from './ServerConnections';
|
import ServerConnections from './ServerConnections';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { appRouter } from './appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import browser from '../scripts/browser';
|
import browser from '../scripts/browser';
|
||||||
import dialog from './dialog/dialog';
|
import dialog from './dialog/dialog';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
|
|
|
@ -22,7 +22,7 @@ import './card.scss';
|
||||||
import '../../elements/emby-button/paper-icon-button-light';
|
import '../../elements/emby-button/paper-icon-button-light';
|
||||||
import '../guide/programs.scss';
|
import '../guide/programs.scss';
|
||||||
import ServerConnections from '../ServerConnections';
|
import ServerConnections from '../ServerConnections';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
|
|
||||||
const enableFocusTransform = !browser.slow && !browser.edge;
|
const enableFocusTransform = !browser.slow && !browser.edge;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import dom from '../../scripts/dom';
|
||||||
import dialogHelper from '../dialogHelper/dialogHelper';
|
import dialogHelper from '../dialogHelper/dialogHelper';
|
||||||
import loading from '../loading/loading';
|
import loading from '../loading/loading';
|
||||||
import layoutManager from '../layoutManager';
|
import layoutManager from '../layoutManager';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import '../../elements/emby-button/emby-button';
|
import '../../elements/emby-button/emby-button';
|
||||||
import '../../elements/emby-button/paper-icon-button-light';
|
import '../../elements/emby-button/paper-icon-button-light';
|
||||||
|
|
|
@ -5,7 +5,7 @@ import type { BaseItemDtoQueryResult } from '@jellyfin/sdk/lib/generated-client'
|
||||||
import escapeHTML from 'escape-html';
|
import escapeHTML from 'escape-html';
|
||||||
import React, { FC, useCallback, useEffect, useRef } from 'react';
|
import React, { FC, useCallback, useEffect, useRef } from 'react';
|
||||||
|
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import cardBuilder from '../cardbuilder/cardBuilder';
|
import cardBuilder from '../cardbuilder/cardBuilder';
|
||||||
import layoutManager from '../layoutManager';
|
import layoutManager from '../layoutManager';
|
||||||
import lazyLoader from '../lazyLoader/lazyLoaderIntersectionObserver';
|
import lazyLoader from '../lazyLoader/lazyLoaderIntersectionObserver';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import browser from '../../scripts/browser';
|
import browser from '../../scripts/browser';
|
||||||
import dialog from '../dialog/dialog';
|
import dialog from '../dialog/dialog';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { history } from '../appRouter';
|
import { history } from '../router/appRouter';
|
||||||
import focusManager from '../focusManager';
|
import focusManager from '../focusManager';
|
||||||
import browser from '../../scripts/browser';
|
import browser from '../../scripts/browser';
|
||||||
import layoutManager from '../layoutManager';
|
import layoutManager from '../layoutManager';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import dom from '../scripts/dom';
|
import dom from '../scripts/dom';
|
||||||
import { appRouter } from './appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import Dashboard from '../utils/dashboard';
|
import Dashboard from '../utils/dashboard';
|
||||||
import ServerConnections from './ServerConnections';
|
import ServerConnections from './ServerConnections';
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import cardBuilder from '../cardbuilder/cardBuilder';
|
||||||
import layoutManager from '../layoutManager';
|
import layoutManager from '../layoutManager';
|
||||||
import imageLoader from '../images/imageLoader';
|
import imageLoader from '../images/imageLoader';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import imageHelper from '../../scripts/imagehelper';
|
import imageHelper from '../../scripts/imagehelper';
|
||||||
import '../../elements/emby-button/paper-icon-button-light';
|
import '../../elements/emby-button/paper-icon-button-light';
|
||||||
import '../../elements/emby-itemscontainer/emby-itemscontainer';
|
import '../../elements/emby-itemscontainer/emby-itemscontainer';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import dom from '../scripts/dom';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
import actionsheet from './actionSheet/actionSheet';
|
import actionsheet from './actionSheet/actionSheet';
|
||||||
import { appHost } from './apphost';
|
import { appHost } from './apphost';
|
||||||
import { appRouter } from './appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import itemHelper from './itemHelper';
|
import itemHelper from './itemHelper';
|
||||||
import { playbackManager } from './playback/playbackmanager';
|
import { playbackManager } from './playback/playbackmanager';
|
||||||
import ServerConnections from './ServerConnections';
|
import ServerConnections from './ServerConnections';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import escapeHtml from 'escape-html';
|
import escapeHtml from 'escape-html';
|
||||||
import datetime from '../../scripts/datetime';
|
import datetime from '../../scripts/datetime';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import itemHelper from '../itemHelper';
|
import itemHelper from '../itemHelper';
|
||||||
import indicators from '../indicators/indicators';
|
import indicators from '../indicators/indicators';
|
||||||
import 'material-design-icons-iconfont';
|
import 'material-design-icons-iconfont';
|
||||||
|
|
|
@ -20,7 +20,7 @@ import '../../styles/flexstyles.scss';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
import ServerConnections from '../ServerConnections';
|
import ServerConnections from '../ServerConnections';
|
||||||
import toast from '../toast/toast';
|
import toast from '../toast/toast';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import template from './metadataEditor.template.html';
|
import template from './metadataEditor.template.html';
|
||||||
|
|
||||||
let currentContext;
|
let currentContext;
|
||||||
|
|
|
@ -15,7 +15,7 @@ import appFooter from '../appFooter/appFooter';
|
||||||
import itemShortcuts from '../shortcuts';
|
import itemShortcuts from '../shortcuts';
|
||||||
import './nowPlayingBar.scss';
|
import './nowPlayingBar.scss';
|
||||||
import '../../elements/emby-slider/emby-slider';
|
import '../../elements/emby-slider/emby-slider';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
|
|
||||||
let currentPlayer;
|
let currentPlayer;
|
||||||
let currentPlayerSupportedCommands = [];
|
let currentPlayerSupportedCommands = [];
|
||||||
|
|
|
@ -4,7 +4,7 @@ import browser from '../../scripts/browser';
|
||||||
import loading from '../loading/loading';
|
import loading from '../loading/loading';
|
||||||
import { playbackManager } from '../playback/playbackmanager';
|
import { playbackManager } from '../playback/playbackmanager';
|
||||||
import { pluginManager } from '../pluginManager';
|
import { pluginManager } from '../pluginManager';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { appHost } from '../apphost';
|
import { appHost } from '../apphost';
|
||||||
import { enable, isEnabled, supported } from '../../scripts/autocast';
|
import { enable, isEnabled, supported } from '../../scripts/autocast';
|
||||||
|
|
|
@ -6,7 +6,7 @@ import layoutManager from '../layoutManager';
|
||||||
import { playbackManager } from '../playback/playbackmanager';
|
import { playbackManager } from '../playback/playbackmanager';
|
||||||
import { pluginManager } from '../pluginManager';
|
import { pluginManager } from '../pluginManager';
|
||||||
import * as userSettings from '../../scripts/settings/userSettings';
|
import * as userSettings from '../../scripts/settings/userSettings';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { PluginType } from '../../types/plugin.ts';
|
import { PluginType } from '../../types/plugin.ts';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import loading from './loading/loading';
|
||||||
import appSettings from '../scripts/settings/appSettings';
|
import appSettings from '../scripts/settings/appSettings';
|
||||||
import { playbackManager } from './playback/playbackmanager';
|
import { playbackManager } from './playback/playbackmanager';
|
||||||
import { appHost } from '../components/apphost';
|
import { appHost } from '../components/apphost';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import * as inputManager from '../scripts/inputManager';
|
import * as inputManager from '../scripts/inputManager';
|
||||||
import toast from '../components/toast/toast';
|
import toast from '../components/toast/toast';
|
||||||
import confirm from '../components/confirm/confirm';
|
import confirm from '../components/confirm/confirm';
|
||||||
|
|
|
@ -18,7 +18,7 @@ import './remotecontrol.scss';
|
||||||
import '../../elements/emby-ratingbutton/emby-ratingbutton';
|
import '../../elements/emby-ratingbutton/emby-ratingbutton';
|
||||||
import ServerConnections from '../ServerConnections';
|
import ServerConnections from '../ServerConnections';
|
||||||
import toast from '../toast/toast';
|
import toast from '../toast/toast';
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
|
|
||||||
let showMuteButton = true;
|
let showMuteButton = true;
|
||||||
let showVolumeSlider = true;
|
let showVolumeSlider = true;
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
import { Action, createHashHistory } from 'history';
|
import { Action, createHashHistory } from 'history';
|
||||||
|
|
||||||
import { appHost } from './apphost';
|
import { appHost } from '../apphost';
|
||||||
import { clearBackdrop, setBackdropTransparency } from './backdrop/backdrop';
|
import { clearBackdrop, setBackdropTransparency } from '../backdrop/backdrop';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import Events from '../utils/events.ts';
|
import Events from '../../utils/events.ts';
|
||||||
import itemHelper from './itemHelper';
|
import itemHelper from '../itemHelper';
|
||||||
import loading from './loading/loading';
|
import loading from '../loading/loading';
|
||||||
import viewManager from './viewManager/viewManager';
|
import viewManager from '../viewManager/viewManager';
|
||||||
import ServerConnections from './ServerConnections';
|
import ServerConnections from '../ServerConnections';
|
||||||
import alert from './alert';
|
import alert from '../alert';
|
||||||
import { ConnectionState } from '../utils/jellyfin-apiclient/ConnectionState.ts';
|
import { ConnectionState } from '../../utils/jellyfin-apiclient/ConnectionState.ts';
|
||||||
|
|
||||||
export const history = createHashHistory();
|
export const history = createHashHistory();
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ class AppRouter {
|
||||||
url = apiClient.getUrl(`/web${url}`);
|
url = apiClient.getUrl(`/web${url}`);
|
||||||
promise = apiClient.get(url);
|
promise = apiClient.get(url);
|
||||||
} else {
|
} else {
|
||||||
promise = import(/* webpackChunkName: "[request]" */ `../controllers/${url}`);
|
promise = import(/* webpackChunkName: "[request]" */ `../../controllers/${url}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
promise.then((html) => {
|
promise.then((html) => {
|
||||||
|
@ -267,7 +267,7 @@ class AppRouter {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (route.controller) {
|
if (route.controller) {
|
||||||
import(/* webpackChunkName: "[request]" */ '../controllers/' + route.controller).then(onInitComplete);
|
import(/* webpackChunkName: "[request]" */ '../../controllers/' + route.controller).then(onInitComplete);
|
||||||
} else {
|
} else {
|
||||||
onInitComplete();
|
onInitComplete();
|
||||||
}
|
}
|
|
@ -5,7 +5,7 @@ import { ItemSortBy } from '@jellyfin/sdk/lib/models/api/item-sort-by';
|
||||||
import escapeHtml from 'escape-html';
|
import escapeHtml from 'escape-html';
|
||||||
import React, { FunctionComponent, useEffect, useState } from 'react';
|
import React, { FunctionComponent, useEffect, useState } from 'react';
|
||||||
|
|
||||||
import { appRouter } from '../appRouter';
|
import { appRouter } from '../router/appRouter';
|
||||||
import { useApi } from '../../hooks/useApi';
|
import { useApi } from '../../hooks/useApi';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
import { playbackManager } from './playback/playbackmanager';
|
import { playbackManager } from './playback/playbackmanager';
|
||||||
import inputManager from '../scripts/inputManager';
|
import inputManager from '../scripts/inputManager';
|
||||||
import { appRouter } from './appRouter';
|
import { appRouter } from './router/appRouter';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
import dom from '../scripts/dom';
|
import dom from '../scripts/dom';
|
||||||
import recordingHelper from './recordingcreator/recordinghelper';
|
import recordingHelper from './recordingcreator/recordinghelper';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import cardBuilder from '../components/cardbuilder/cardBuilder';
|
import cardBuilder from '../components/cardbuilder/cardBuilder';
|
||||||
import dom from '../scripts/dom';
|
import dom from '../scripts/dom';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
|
|
|
@ -6,7 +6,7 @@ import isEqual from 'lodash-es/isEqual';
|
||||||
|
|
||||||
import { appHost } from '../../components/apphost';
|
import { appHost } from '../../components/apphost';
|
||||||
import loading from '../../components/loading/loading';
|
import loading from '../../components/loading/loading';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import layoutManager from '../../components/layoutManager';
|
import layoutManager from '../../components/layoutManager';
|
||||||
import Events from '../../utils/events.ts';
|
import Events from '../../utils/events.ts';
|
||||||
import * as userSettings from '../../scripts/settings/userSettings';
|
import * as userSettings from '../../scripts/settings/userSettings';
|
||||||
|
|
|
@ -5,7 +5,7 @@ import libraryBrowser from '../../scripts/libraryBrowser';
|
||||||
import cardBuilder from '../../components/cardbuilder/cardBuilder';
|
import cardBuilder from '../../components/cardbuilder/cardBuilder';
|
||||||
import lazyLoader from '../../components/lazyLoader/lazyLoaderIntersectionObserver';
|
import lazyLoader from '../../components/lazyLoader/lazyLoaderIntersectionObserver';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import '../../elements/emby-button/emby-button';
|
import '../../elements/emby-button/emby-button';
|
||||||
|
|
||||||
export default function (view, params, tabContent) {
|
export default function (view, params, tabContent) {
|
||||||
|
|
|
@ -21,7 +21,7 @@ import '../../../styles/videoosd.scss';
|
||||||
import ServerConnections from '../../../components/ServerConnections';
|
import ServerConnections from '../../../components/ServerConnections';
|
||||||
import shell from '../../../scripts/shell';
|
import shell from '../../../scripts/shell';
|
||||||
import SubtitleSync from '../../../components/subtitlesync/subtitlesync';
|
import SubtitleSync from '../../../components/subtitlesync/subtitlesync';
|
||||||
import { appRouter } from '../../../components/appRouter';
|
import { appRouter } from '../../../components/router/appRouter';
|
||||||
import LibraryMenu from '../../../scripts/libraryMenu';
|
import LibraryMenu from '../../../scripts/libraryMenu';
|
||||||
import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../../components/backdrop/backdrop';
|
import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../../components/backdrop/backdrop';
|
||||||
import { pluginManager } from '../../../components/pluginManager';
|
import { pluginManager } from '../../../components/pluginManager';
|
||||||
|
|
|
@ -63,7 +63,7 @@ export default function(view) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function goBack() {
|
function goBack() {
|
||||||
import('../../../components/appRouter').then(({ appRouter }) => {
|
import('../../../components/router/appRouter').then(({ appRouter }) => {
|
||||||
appRouter.back();
|
appRouter.back();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import escapeHtml from 'escape-html';
|
import escapeHtml from 'escape-html';
|
||||||
import loading from '../../../components/loading/loading';
|
import loading from '../../../components/loading/loading';
|
||||||
import { appRouter } from '../../../components/appRouter';
|
import { appRouter } from '../../../components/router/appRouter';
|
||||||
import layoutManager from '../../../components/layoutManager';
|
import layoutManager from '../../../components/layoutManager';
|
||||||
import libraryMenu from '../../../scripts/libraryMenu';
|
import libraryMenu from '../../../scripts/libraryMenu';
|
||||||
import appSettings from '../../../scripts/settings/appSettings';
|
import appSettings from '../../../scripts/settings/appSettings';
|
||||||
|
|
|
@ -5,7 +5,7 @@ import libraryBrowser from '../../scripts/libraryBrowser';
|
||||||
import cardBuilder from '../../components/cardbuilder/cardBuilder';
|
import cardBuilder from '../../components/cardbuilder/cardBuilder';
|
||||||
import lazyLoader from '../../components/lazyLoader/lazyLoaderIntersectionObserver';
|
import lazyLoader from '../../components/lazyLoader/lazyLoaderIntersectionObserver';
|
||||||
import globalize from '../../scripts/globalize';
|
import globalize from '../../scripts/globalize';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import '../../elements/emby-button/emby-button';
|
import '../../elements/emby-button/emby-button';
|
||||||
|
|
||||||
export default function (view, params, tabContent) {
|
export default function (view, params, tabContent) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React, { AnchorHTMLAttributes, DetailedHTMLProps, MouseEvent, useCallback
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import layoutManager from '../../components/layoutManager';
|
import layoutManager from '../../components/layoutManager';
|
||||||
import shell from '../../scripts/shell';
|
import shell from '../../scripts/shell';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import { appHost } from '../../components/apphost';
|
import { appHost } from '../../components/apphost';
|
||||||
import './emby-button.scss';
|
import './emby-button.scss';
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import 'webcomponents.js/webcomponents-lite';
|
||||||
import { removeEventListener, addEventListener } from '../../scripts/dom';
|
import { removeEventListener, addEventListener } from '../../scripts/dom';
|
||||||
import layoutManager from '../../components/layoutManager';
|
import layoutManager from '../../components/layoutManager';
|
||||||
import shell from '../../scripts/shell';
|
import shell from '../../scripts/shell';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import { appHost } from '../../components/apphost';
|
import { appHost } from '../../components/apphost';
|
||||||
import './emby-button.scss';
|
import './emby-button.scss';
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import { appHost } from './components/apphost';
|
||||||
import { getPlugins } from './scripts/settings/webSettings';
|
import { getPlugins } from './scripts/settings/webSettings';
|
||||||
import { pluginManager } from './components/pluginManager';
|
import { pluginManager } from './components/pluginManager';
|
||||||
import packageManager from './components/packageManager';
|
import packageManager from './components/packageManager';
|
||||||
import { appRouter, history } from './components/appRouter';
|
import { appRouter, history } from './components/router/appRouter';
|
||||||
import './elements/emby-button/emby-button';
|
import './elements/emby-button/emby-button';
|
||||||
import './scripts/autoThemes';
|
import './scripts/autoThemes';
|
||||||
import './components/themeMediaPlayer';
|
import './components/themeMediaPlayer';
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { Archive } from 'libarchive.js';
|
||||||
import loading from '../../components/loading/loading';
|
import loading from '../../components/loading/loading';
|
||||||
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
||||||
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import ServerConnections from '../../components/ServerConnections';
|
import ServerConnections from '../../components/ServerConnections';
|
||||||
import * as userSettings from '../../scripts/settings/userSettings';
|
import * as userSettings from '../../scripts/settings/userSettings';
|
||||||
import { PluginType } from '../../types/plugin.ts';
|
import { PluginType } from '../../types/plugin.ts';
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { appHost } from '../../components/apphost';
|
||||||
import loading from '../../components/loading/loading';
|
import loading from '../../components/loading/loading';
|
||||||
import dom from '../../scripts/dom';
|
import dom from '../../scripts/dom';
|
||||||
import { playbackManager } from '../../components/playback/playbackmanager';
|
import { playbackManager } from '../../components/playback/playbackmanager';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import {
|
import {
|
||||||
bindEventsToHlsPlayer,
|
bindEventsToHlsPlayer,
|
||||||
destroyHlsPlayer,
|
destroyHlsPlayer,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import loading from '../../components/loading/loading';
|
||||||
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
||||||
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
||||||
import dom from '../../scripts/dom';
|
import dom from '../../scripts/dom';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import { PluginType } from '../../types/plugin.ts';
|
import { PluginType } from '../../types/plugin.ts';
|
||||||
import Events from '../../utils/events.ts';
|
import Events from '../../utils/events.ts';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import browser from '../../scripts/browser';
|
import browser from '../../scripts/browser';
|
||||||
import { appRouter } from '../../components/appRouter';
|
import { appRouter } from '../../components/router/appRouter';
|
||||||
import loading from '../../components/loading/loading';
|
import loading from '../../components/loading/loading';
|
||||||
import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../components/backdrop/backdrop';
|
import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../components/backdrop/backdrop';
|
||||||
import { PluginType } from '../../types/plugin.ts';
|
import { PluginType } from '../../types/plugin.ts';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
import confirm from '../components/confirm/confirm';
|
import confirm from '../components/confirm/confirm';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import globalize from './globalize';
|
import globalize from './globalize';
|
||||||
import ServerConnections from '../components/ServerConnections';
|
import ServerConnections from '../components/ServerConnections';
|
||||||
import alert from '../components/alert';
|
import alert from '../components/alert';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { playbackManager } from '../components/playback/playbackmanager';
|
import { playbackManager } from '../components/playback/playbackmanager';
|
||||||
import focusManager from '../components/focusManager';
|
import focusManager from '../components/focusManager';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import dom from './dom';
|
import dom from './dom';
|
||||||
import { appHost } from '../components/apphost';
|
import { appHost } from '../components/apphost';
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import dom from './dom';
|
||||||
import layoutManager from '../components/layoutManager';
|
import layoutManager from '../components/layoutManager';
|
||||||
import inputManager from './inputManager';
|
import inputManager from './inputManager';
|
||||||
import viewManager from '../components/viewManager/viewManager';
|
import viewManager from '../components/viewManager/viewManager';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import { appHost } from '../components/apphost';
|
import { appHost } from '../components/apphost';
|
||||||
import { playbackManager } from '../components/playback/playbackmanager';
|
import { playbackManager } from '../components/playback/playbackmanager';
|
||||||
import { pluginManager } from '../components/pluginManager';
|
import { pluginManager } from '../components/pluginManager';
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { playbackManager } from '../components/playback/playbackmanager';
|
||||||
import { pluginManager } from '../components/pluginManager';
|
import { pluginManager } from '../components/pluginManager';
|
||||||
import inputManager from '../scripts/inputManager';
|
import inputManager from '../scripts/inputManager';
|
||||||
import focusManager from '../components/focusManager';
|
import focusManager from '../components/focusManager';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import ServerConnections from '../components/ServerConnections';
|
import ServerConnections from '../components/ServerConnections';
|
||||||
import toast from '../components/toast/toast';
|
import toast from '../components/toast/toast';
|
||||||
import alert from '../components/alert';
|
import alert from '../components/alert';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import ServerConnections from '../components/ServerConnections';
|
import ServerConnections from '../components/ServerConnections';
|
||||||
import toast from '../components/toast/toast';
|
import toast from '../components/toast/toast';
|
||||||
import loading from '../components/loading/loading';
|
import loading from '../components/loading/loading';
|
||||||
import { appRouter } from '../components/appRouter';
|
import { appRouter } from '../components/router/appRouter';
|
||||||
import baseAlert from '../components/alert';
|
import baseAlert from '../components/alert';
|
||||||
import baseConfirm from '../components/confirm/confirm';
|
import baseConfirm from '../components/confirm/confirm';
|
||||||
import globalize from '../scripts/globalize';
|
import globalize from '../scripts/globalize';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue