refactor(web): change all icons to material-symbols from mdi
This commit is contained in:
94 files changed
+84
-988
No files matched your search
@@ -28,18 +28,10 @@ import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|||||||
import { delServer } from "../../utils/storage/servers";
|
import { delServer } from "../../utils/storage/servers";
|
||||||
import { delUser } from "../../utils/storage/user";
|
import { delUser } from "../../utils/storage/user";
|
||||||
import { useDrawerStore } from "../../utils/store/drawer";
|
import { useDrawerStore } from "../../utils/store/drawer";
|
||||||
import { MdiAccount } from "../icons/mdiAccount";
|
|
||||||
import { MdiArrowLeft } from "../icons/mdiArrowLeft";
|
|
||||||
import { MdiCog } from "../icons/mdiCog";
|
|
||||||
import { MdiDelete } from "../icons/mdiDelete";
|
|
||||||
import { MdiHeartOutline } from "../icons/mdiHeartOutline";
|
|
||||||
import { MdiInformation } from "../icons/mdiInformation";
|
|
||||||
import { MdiMenu } from "../icons/mdiMenu";
|
|
||||||
import "./appBar.module.scss";
|
import "./appBar.module.scss";
|
||||||
|
|
||||||
import { EventEmitter as event } from "../../eventEmitter";
|
import { EventEmitter as event } from "../../eventEmitter";
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
import { MdiLogoutVariant } from "../icons/mdiLogoutVariant";
|
|
||||||
|
|
||||||
import { getTypeIcon } from "../../components/utils/iconsCollection";
|
import { getTypeIcon } from "../../components/utils/iconsCollection";
|
||||||
|
|
||||||
@@ -365,7 +357,9 @@ export const AppBar = () => {
|
|||||||
{user.isSuccess &&
|
{user.isSuccess &&
|
||||||
(user.data.PrimaryImageTag === undefined ? (
|
(user.data.PrimaryImageTag === undefined ? (
|
||||||
<Avatar className="appBar-avatar" alt={user.data.Name}>
|
<Avatar className="appBar-avatar" alt={user.data.Name}>
|
||||||
<MdiAccount className="appBar-avatar-icon" />
|
<span className="material-symbols-rounded appBar-avatar-icon">
|
||||||
|
account_circle
|
||||||
|
</span>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
) : (
|
) : (
|
||||||
<Avatar
|
<Avatar
|
||||||
@@ -373,7 +367,9 @@ export const AppBar = () => {
|
|||||||
src={`${api.basePath}/Users/${user.data.Id}/Images/Primary`}
|
src={`${api.basePath}/Users/${user.data.Id}/Images/Primary`}
|
||||||
alt={user.data.Name}
|
alt={user.data.Name}
|
||||||
>
|
>
|
||||||
<MdiAccount className="appBar-avatar-icon" />
|
<span className="material-symbols-rounded appBar-avatar-icon">
|
||||||
|
account_circle
|
||||||
|
</span>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
))}
|
))}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import AppBar from "@mui/material/AppBar";
|
|||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import Toolbar from "@mui/material/Toolbar";
|
import Toolbar from "@mui/material/Toolbar";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { MdiArrowLeft } from "../icons/mdiArrowLeft";
|
|
||||||
|
|
||||||
export const AppBarBackOnly = () => {
|
export const AppBarBackOnly = () => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
@@ -22,7 +21,7 @@ export const AppBarBackOnly = () => {
|
|||||||
onClick={handleBack}
|
onClick={handleBack}
|
||||||
sx={{ mr: 2 }}
|
sx={{ mr: 2 }}
|
||||||
>
|
>
|
||||||
<MdiArrowLeft />
|
<span className="material-symbols-rounded">arrow_back</span>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Toolbar>
|
</Toolbar>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ import React from "react";
|
|||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
|
|
||||||
import { MdiAccount } from "../icons/mdiAccount";
|
|
||||||
|
|
||||||
import "./avatar.module.scss";
|
import "./avatar.module.scss";
|
||||||
|
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
@@ -21,16 +19,14 @@ export const AvatarImage = ({ userId }) => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className="avatar-image-icon-container">
|
<div className="avatar-image-icon-container">
|
||||||
<MdiAccount className="avatar-image-icon" />
|
<span className="material-symbols-rounded avatar-image-icon">
|
||||||
|
account_circle
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const AvatarSideMenu = ({ userName }) => {
|
|
||||||
return <div />;
|
|
||||||
};
|
|
||||||
|
|
||||||
AvatarImage.propType = {
|
AvatarImage.propType = {
|
||||||
userId: PropTypes.string.isRequired,
|
userId: PropTypes.string.isRequired,
|
||||||
userImageTags: PropTypes.any,
|
userImageTags: PropTypes.any,
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ import CircularProgress from "@mui/material/CircularProgress";
|
|||||||
import { pink } from "@mui/material/colors";
|
import { pink } from "@mui/material/colors";
|
||||||
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
import { MdiHeart } from "../icons/mdiHeart";
|
|
||||||
import { MdiHeartOutline } from "../icons/mdiHeartOutline";
|
|
||||||
|
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|||||||
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
import { MdiCheck } from "../icons/mdiCheck";
|
|
||||||
|
|
||||||
const MarkPlayedButton = ({ itemId, isPlayed, queryKey, userId, itemName }) => {
|
const MarkPlayedButton = ({ itemId, isPlayed, queryKey, userId, itemName }) => {
|
||||||
const [api] = useApi((state) => [state.api]);
|
const [api] = useApi((state) => [state.api]);
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import Typography from "@mui/material/Typography";
|
|||||||
|
|
||||||
import { Blurhash } from "react-blurhash";
|
import { Blurhash } from "react-blurhash";
|
||||||
|
|
||||||
import { MdiCheck } from "../icons/mdiCheck";
|
|
||||||
import "./card.module.scss";
|
import "./card.module.scss";
|
||||||
|
|
||||||
import { getRuntimeCompact } from "../../utils/date/time";
|
import { getRuntimeCompact } from "../../utils/date/time";
|
||||||
@@ -16,7 +15,6 @@ import { useApi } from "../../utils/store/api";
|
|||||||
import LikeButton from "../buttons/likeButton";
|
import LikeButton from "../buttons/likeButton";
|
||||||
import MarkPlayedButton from "../buttons/markPlayedButton";
|
import MarkPlayedButton from "../buttons/markPlayedButton";
|
||||||
import PlayButton from "../buttons/playButton";
|
import PlayButton from "../buttons/playButton";
|
||||||
import { MdiTelevisionClassic } from "../icons/mdiTelevisionClassic";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Props
|
* @typedef {Object} Props
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import React, { useState } from "react";
|
|||||||
import Carousel from "react-multi-carousel";
|
import Carousel from "react-multi-carousel";
|
||||||
import "react-multi-carousel/lib/styles.css";
|
import "react-multi-carousel/lib/styles.css";
|
||||||
|
|
||||||
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
|
|
||||||
import { MdiChevronRight } from "../icons/mdiChevronRight";
|
|
||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import ButtonGroup from "@mui/material/ButtonGroup";
|
import ButtonGroup from "@mui/material/ButtonGroup";
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ import { AnimatePresence, motion } from "framer-motion";
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
|
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
import { MdiChevronLeft } from "../icons/mdiChevronLeft";
|
|
||||||
import { MdiChevronRight } from "../icons/mdiChevronRight";
|
|
||||||
|
|
||||||
import { useCarouselStore } from "../../utils/store/carousel";
|
import { useCarouselStore } from "../../utils/store/carousel";
|
||||||
import "./carousel.scss";
|
import "./carousel.scss";
|
||||||
|
|||||||
@@ -10,16 +10,12 @@ import Stack from "@mui/material/Stack";
|
|||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
|
||||||
import { yellow } from "@mui/material/colors";
|
import { yellow } from "@mui/material/colors";
|
||||||
import ErrorBoundary from "../errorBoundary";
|
|
||||||
|
|
||||||
import { green, red } from "@mui/material/colors";
|
import { green, red } from "@mui/material/colors";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { endsAt, getRuntime } from "../../utils/date/time";
|
import { endsAt, getRuntime } from "../../utils/date/time";
|
||||||
import CarouselSlideError from "../errors/carousel";
|
import { getTypeIcon } from "../utils/iconsCollection";
|
||||||
import { MdiChevronRight } from "../icons/mdiChevronRight";
|
|
||||||
import { MdiStar } from "../icons/mdiStar";
|
|
||||||
import { MediaTypeIconCollection, getTypeIcon } from "../utils/iconsCollection";
|
|
||||||
|
|
||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
@@ -71,7 +67,6 @@ const CarouselSlide = ({ item }) => {
|
|||||||
const [animationDirection] = useCarouselStore((state) => [state.direction]);
|
const [animationDirection] = useCarouselStore((state) => [state.direction]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ErrorBoundary fallback={<CarouselSlideError itemName={item.Name} />}>
|
|
||||||
<Paper
|
<Paper
|
||||||
className="hero-carousel-slide"
|
className="hero-carousel-slide"
|
||||||
sx={{
|
sx={{
|
||||||
@@ -387,7 +382,6 @@ const CarouselSlide = ({ item }) => {
|
|||||||
</Stack>
|
</Stack>
|
||||||
</div>
|
</div>
|
||||||
</Paper>
|
</Paper>
|
||||||
</ErrorBoundary>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
import Paper from "@mui/material/Paper";
|
|
||||||
import Stack from "@mui/material/Stack";
|
|
||||||
import Typography from "@mui/material/Typography";
|
|
||||||
import React from "react";
|
|
||||||
import { MdiEmoticonDead } from "../icons/mdiEmoticonDead";
|
|
||||||
|
|
||||||
import slideBackground from "../../assets/errorbg.png";
|
|
||||||
|
|
||||||
const CarouselSlideError = ({ itemName }) => {
|
|
||||||
return (
|
|
||||||
<Paper className="hero-carousel-slide">
|
|
||||||
<Stack
|
|
||||||
justifyContent="center"
|
|
||||||
alignItems="center"
|
|
||||||
sx={{
|
|
||||||
width: "100%",
|
|
||||||
height: "100%",
|
|
||||||
background: `url(${slideBackground})`,
|
|
||||||
backgroundSize: "cover",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<MdiEmoticonDead sx={{ fontSize: "10em", opacity: "0.8" }} />
|
|
||||||
<Typography mb={2} variant="h4" sx={{ opacity: "0.5" }}>
|
|
||||||
Error caused by
|
|
||||||
</Typography>
|
|
||||||
<Typography
|
|
||||||
mt={2}
|
|
||||||
variant="h3"
|
|
||||||
sx={{
|
|
||||||
background: "rgb(255 255 255 /0.1)",
|
|
||||||
padding: 1,
|
|
||||||
borderRadius: 3,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{itemName}
|
|
||||||
</Typography>
|
|
||||||
</Stack>
|
|
||||||
</Paper>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default CarouselSlideError;
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
import React from "react";
|
|
||||||
|
|
||||||
const Icon = (icon, extraProps) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...extraProps}>
|
|
||||||
<path d={icon} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Icon;
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
import { MdiChevronLeft } from "./mdiChevronLeft";
|
|
||||||
|
|
||||||
import { mdiAccount } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiAccount = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiAccount} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiAccountMusic } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiAccountMusic = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiAccountMusic} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiAccountTie } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiAccountTie = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiAccountTie} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiAlbum } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiAlbum = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiAlbum} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiAlertDecagram } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiAlertDecagram = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiAlertDecagram} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiArrowLeft } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiArrowLeft = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiArrowLeft} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiBackburger } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiBackburger = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiBackburger} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiBook } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiBook = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiBook} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiBookMultiple } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiBookMultiple = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiBookMultiple} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiBookMusic } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiBookMusic = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiBookMusic} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiCheck } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiCheck = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiCheck} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiChevronDown } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiChevronDown = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiChevronDown} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiChevronLeft } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiChevronLeft = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiChevronLeft} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiChevronRight } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiChevronRight = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiChevronRight} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiClockOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiClockOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiClockOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiClose } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiClose = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiClose} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
import { MdiChevronLeft } from "./mdiChevronLeft";
|
|
||||||
|
|
||||||
import { mdiCog } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiCog = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiCog} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiCogSync } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiCogSync = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiCogSync} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiDelete } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiDelete = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiDelete} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiDramaMasks } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiDramaMasks = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiDramaMasks} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiEmoticonCry } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiEmoticonCry = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiEmoticonCry} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiEmoticonCryOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiEmoticonCryOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiEmoticonCryOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiEmoticonDead } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiEmoticonDead = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiEmoticonDead} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiEyeOffOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiEyeOffOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiEyeOffOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiEyeOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiEyeOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiEyeOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFastForward } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFastForward = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFastForward} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFilmstrip } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFilmstrip = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFilmstrip} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFilmstripBoxMultiple } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFilmstripBoxMultiple = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFilmstripBoxMultiple} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFilterOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFilterOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFilterOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFolderMultiple } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFolderMultiple = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFolderMultiple} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFolderMusicOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFolderMusicOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFolderMusicOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFolderOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFolderOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFolderOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFullscreen } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFullscreen = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFullscreen} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiFullscreenExit } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiFullscreenExit = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiFullscreenExit} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiHdr } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiHdr = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiHdr} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiHeart } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiHeart = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiHeart} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiHeartOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiHeartOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiHeartOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiHomeVariant } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiHomeVariant = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiHomeVariant} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiHomeVariantOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiHomeVariantOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiHomeVariantOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiImage } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiImage = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiImage} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiImageMultiple } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiImageMultiple = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiImageMultiple} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiInformation } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiInformation = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiInformation} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiLogoutVariant } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiLogoutVariant = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiLogoutVariant} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMagnify } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMagnify = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMagnify} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMenu } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMenu = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMenu} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMicrophone } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMicrophone = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMicrophone} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMovieOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMovieOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMovieOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMultimedia } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMultimedia = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMultimedia} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMusic } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMusic = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMusic} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiMusicBoxMultipleOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiMusicBoxMultipleOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiMusicBoxMultipleOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPause } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPause = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPause} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPictureInPictureBottomRight } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPictureInPictureBottomRight = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPictureInPictureBottomRight} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPlay } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPlay = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPlay} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPlayBoxMultiple } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPlayBoxMultiple = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPlayBoxMultiple} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPlayOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPlayOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPlayOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPlaySpeed } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPlaySpeed = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPlaySpeed} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiPlaylistMusicOutline } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiPlaylistMusicOutline = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiPlaylistMusicOutline} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiRewind } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiRewind = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiRewind} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiSkipNext } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiSkipNext = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiSkipNext} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiSkipPrevious } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiSkipPrevious = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiSkipPrevious} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiSortAscending } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiSortAscending = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiSortAscending} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiSortDescending } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiSortDescending = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiSortDescending} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiStar } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiStar = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiStar} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiStarHalfFull } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiStarHalfFull = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiStarHalfFull} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiTelevision } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiTelevision = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiTelevision} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiTelevisionClassic } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiTelevisionClassic = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiTelevisionClassic} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiVolumeHigh } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiVolumeHigh = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiVolumeHigh} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiVolumeOff } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiVolumeOff = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiVolumeOff} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
import SvgIcon from "@mui/material/SvgIcon";
|
|
||||||
|
|
||||||
import { mdiYoutube } from "@mdi/js";
|
|
||||||
|
|
||||||
export const MdiYoutube = (props) => {
|
|
||||||
return (
|
|
||||||
<SvgIcon {...props}>
|
|
||||||
<path d={mdiYoutube} />
|
|
||||||
</SvgIcon>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
@@ -12,9 +12,6 @@ import { useQuery } from "@tanstack/react-query";
|
|||||||
|
|
||||||
import { getRuntimeMusic } from "../../../utils/date/time";
|
import { getRuntimeMusic } from "../../../utils/date/time";
|
||||||
|
|
||||||
import { MdiAlbum } from "../../icons/mdiAlbum";
|
|
||||||
import { MdiClockOutline } from "../../icons/mdiClockOutline";
|
|
||||||
|
|
||||||
import { SortOrder } from "@jellyfin/sdk/lib/generated-client";
|
import { SortOrder } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { useApi } from "../../../utils/store/api";
|
import { useApi } from "../../../utils/store/api";
|
||||||
import { useAudioPlayback } from "../../../utils/store/audioPlayback";
|
import { useAudioPlayback } from "../../../utils/store/audioPlayback";
|
||||||
@@ -91,7 +88,12 @@ export const ArtistAlbum = ({ user, album, boxProps }) => {
|
|||||||
onLoad={() => setImgLoaded(true)}
|
onLoad={() => setImgLoaded(true)}
|
||||||
/>
|
/>
|
||||||
<div className="album-image-icon-container">
|
<div className="album-image-icon-container">
|
||||||
<MdiAlbum className="album-image-icon" sx={{ fontSize: "6em" }} />
|
<span
|
||||||
|
className="material-symbols-rounded album-image-icon"
|
||||||
|
sx={{ fontSize: "6em" }}
|
||||||
|
>
|
||||||
|
schedule
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@@ -145,7 +147,7 @@ export const ArtistAlbum = ({ user, album, boxProps }) => {
|
|||||||
>
|
>
|
||||||
Name
|
Name
|
||||||
</Typography>
|
</Typography>
|
||||||
<MdiClockOutline />
|
<span className="material-symbols-rounded">schedule</span>
|
||||||
</div>
|
</div>
|
||||||
{albumTracks.data.Items.map((track, index) => {
|
{albumTracks.data.Items.map((track, index) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { useApi } from "../../utils/store/api";
|
|||||||
import { useAudioPlayback } from "../../utils/store/audioPlayback";
|
import { useAudioPlayback } from "../../utils/store/audioPlayback";
|
||||||
import LikeButton from "../buttons/likeButton";
|
import LikeButton from "../buttons/likeButton";
|
||||||
import PlayButton from "../buttons/playButton";
|
import PlayButton from "../buttons/playButton";
|
||||||
import { MdiMusic } from "../icons/mdiMusic";
|
|
||||||
import TextLink from "../textLink";
|
import TextLink from "../textLink";
|
||||||
import "./musicTrack.module.scss";
|
import "./musicTrack.module.scss";
|
||||||
|
|
||||||
@@ -41,12 +40,12 @@ const MusicTrack = ({
|
|||||||
<div className={`music-track ${className}`}>
|
<div className={`music-track ${className}`}>
|
||||||
<div className="music-track-image">
|
<div className="music-track-image">
|
||||||
<div className="music-track-icon">
|
<div className="music-track-icon">
|
||||||
<MdiMusic
|
<span
|
||||||
sx={{
|
className="material-symbols-rounded"
|
||||||
fontSize: "2em !important",
|
style={{ fontSize: "2em !important" }}
|
||||||
fill: "url(#clr-gradient-default) !important",
|
>
|
||||||
}}
|
music_note
|
||||||
/>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<img
|
<img
|
||||||
alt={item.Name}
|
alt={item.Name}
|
||||||
|
|||||||
@@ -15,24 +15,15 @@ import WaveSurfer from "wavesurfer.js";
|
|||||||
import { useAudioPlayback } from "../../../utils/store/audioPlayback";
|
import { useAudioPlayback } from "../../../utils/store/audioPlayback";
|
||||||
|
|
||||||
import { AnimatePresence } from "framer-motion";
|
import { AnimatePresence } from "framer-motion";
|
||||||
import { MdiPause } from "../../icons/mdiPause";
|
|
||||||
import { MdiPlay } from "../../icons/mdiPlay";
|
|
||||||
import "./audioPlayer.module.scss";
|
import "./audioPlayer.module.scss";
|
||||||
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { getRuntimeMusic, secToTicks } from "../../../utils/date/time";
|
import { getRuntimeMusic, secToTicks } from "../../../utils/date/time";
|
||||||
import { MdiClose } from "../../icons/mdiClose";
|
|
||||||
import { MdiMusic } from "../../icons/mdiMusic";
|
|
||||||
import { MdiSkipNext } from "../../icons/mdiSkipNext";
|
|
||||||
import { MdiSkipPrevious } from "../../icons/mdiSkipPrevious";
|
|
||||||
|
|
||||||
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
||||||
import { theme } from "../../../theme";
|
import { theme } from "../../../theme";
|
||||||
import { useApi } from "../../../utils/store/api";
|
import { useApi } from "../../../utils/store/api";
|
||||||
import { MdiPlaylistMusicOutline } from "../../icons/mdiPlaylistMusicOutline";
|
|
||||||
import { MdiVolumeHigh } from "../../icons/mdiVolumeHigh";
|
|
||||||
import { MdiVolumeOff } from "../../icons/mdiVolumeOff";
|
|
||||||
import MusicTrack from "../../musicTrack";
|
import MusicTrack from "../../musicTrack";
|
||||||
|
|
||||||
const AudioPlayer = () => {
|
const AudioPlayer = () => {
|
||||||
@@ -245,7 +236,9 @@ const AudioPlayer = () => {
|
|||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<MdiMusic className="audio-player-image-icon" />
|
<span className="material-symbols-rounded audio-player-image-icon">
|
||||||
|
music_note
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="audio-player-info-text">
|
<div className="audio-player-info-text">
|
||||||
<Typography
|
<Typography
|
||||||
|
|||||||
@@ -1,62 +1,5 @@
|
|||||||
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
import { BaseItemKind } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { MdiAccount } from "../icons/mdiAccount";
|
|
||||||
import { MdiAccountMusic } from "../icons/mdiAccountMusic";
|
|
||||||
import { MdiAccountTie } from "../icons/mdiAccountTie";
|
|
||||||
import { MdiAlbum } from "../icons/mdiAlbum";
|
|
||||||
import { MdiBook } from "../icons/mdiBook";
|
|
||||||
import { MdiBookMultiple } from "../icons/mdiBookMultiple";
|
|
||||||
import { MdiBookMusic } from "../icons/mdiBookMusic";
|
|
||||||
import { MdiDramaMasks } from "../icons/mdiDramaMasks";
|
|
||||||
import { MdiFilmstrip } from "../icons/mdiFilmstrip";
|
|
||||||
import { MdiFilmstripBoxMultiple } from "../icons/mdiFilmstripBoxMultiple";
|
|
||||||
import { MdiFolderMultiple } from "../icons/mdiFolderMultiple";
|
|
||||||
import { MdiFolderMusicOutline } from "../icons/mdiFolderMusicOutline";
|
|
||||||
import { MdiFolderOutline } from "../icons/mdiFolderOutline";
|
|
||||||
import { MdiImage } from "../icons/mdiImage";
|
|
||||||
import { MdiImageMultiple } from "../icons/mdiImageMultiple";
|
|
||||||
import { MdiMicrophone } from "../icons/mdiMicrophone";
|
|
||||||
import { MdiMovieOutline } from "../icons/mdiMovieOutline";
|
|
||||||
import { MdiMultimedia } from "../icons/mdiMultimedia";
|
|
||||||
import { MdiMusic } from "../icons/mdiMusic";
|
|
||||||
import { MdiMusicBoxMultipleOutline } from "../icons/mdiMusicBoxMultipleOutline";
|
|
||||||
import { MdiPlayBoxMultiple } from "../icons/mdiPlayBoxMultiple";
|
|
||||||
import { MdiPlaylistMusicOutline } from "../icons/mdiPlaylistMusicOutline";
|
|
||||||
import { MdiTelevision } from "../icons/mdiTelevision";
|
|
||||||
import { MdiTelevisionClassic } from "../icons/mdiTelevisionClassic";
|
|
||||||
import { MdiYoutube } from "../icons/mdiYoutube";
|
|
||||||
|
|
||||||
export const MediaCollectionTypeIconCollection = {
|
|
||||||
universal: <MdiMultimedia />,
|
|
||||||
movies: <MdiMovieOutline />,
|
|
||||||
music: <MdiMusicBoxMultipleOutline />,
|
|
||||||
playlists: <MdiPlaylistMusicOutline />,
|
|
||||||
tvshows: <MdiTelevision />,
|
|
||||||
boxsets: <MdiFilmstripBoxMultiple />,
|
|
||||||
musicvideos: <MdiFolderMusicOutline />,
|
|
||||||
trailers: <MdiYoutube />,
|
|
||||||
books: <MdiBookMultiple />,
|
|
||||||
photos: <MdiImageMultiple />,
|
|
||||||
livetv: <MdiTelevisionClassic />,
|
|
||||||
folder: <MdiFolderOutline />,
|
|
||||||
logout: <MdiFolderOutline />,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const MediaCollectionTypeIconCollectionCard = {
|
|
||||||
photos: <MdiImageMultiple className="card-image-icon" />,
|
|
||||||
livetv: <MdiTelevisionClassic className="card-image-icon" />,
|
|
||||||
folder: <MdiFolderOutline className="card-image-icon" />,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const MediaTypeIconCollection = {
|
|
||||||
Movie: <MdiFilmstrip className="hero-carousel-background-icon" />,
|
|
||||||
Series: <MdiTelevision className="hero-carousel-background-icon" />,
|
|
||||||
Audio: <MdiMicrophone className="hero-carousel-background-icon" />,
|
|
||||||
Photo: <MdiImage className="hero-carousel-background-icon" />,
|
|
||||||
Book: <MdiBook className="hero-carousel-background-icon" />,
|
|
||||||
MusicAlbum: <MdiAlbum className="hero-carousel-background-icon" />,
|
|
||||||
AudioBook: <MdiBookMusic className="hero-carousel-background-icon" />,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const getTypeIcon = (icon) => {
|
export const getTypeIcon = (icon) => {
|
||||||
switch (icon) {
|
switch (icon) {
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
|||||||
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
|
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
|
||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { MdiClockOutline } from "../../components/icons/mdiClockOutline";
|
|
||||||
|
|
||||||
import { getRuntimeMusic } from "../../utils/date/time";
|
import { getRuntimeMusic } from "../../utils/date/time";
|
||||||
|
|
||||||
@@ -248,7 +247,7 @@ const MusicAlbumTitlePage = () => {
|
|||||||
>
|
>
|
||||||
Name
|
Name
|
||||||
</Typography>
|
</Typography>
|
||||||
<MdiClockOutline />
|
<span className="material-symbols-rounded">schedule</span>
|
||||||
</div>
|
</div>
|
||||||
{musicTracks.data.Items.map((track, index) => {
|
{musicTracks.data.Items.map((track, index) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ import Typography from "@mui/material/Typography";
|
|||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
import { ErrorBoundary } from "react-error-boundary";
|
import { ErrorBoundary } from "react-error-boundary";
|
||||||
import CarouselSlide from "../../components/carouselSlide";
|
import CarouselSlide from "../../components/carouselSlide";
|
||||||
import CarouselSlideError from "../../components/errors/carousel";
|
|
||||||
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice";
|
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice";
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ const ItemDetail = () => {
|
|||||||
setAudioTracks(audios);
|
setAudioTracks(audios);
|
||||||
setSubtitleTracks(subs);
|
setSubtitleTracks(subs);
|
||||||
}
|
}
|
||||||
});
|
}, [item.isSuccess]);
|
||||||
|
|
||||||
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ const ItemDetail = () => {
|
|||||||
const actorTp = item.data.People.filter((itm) => itm.Type === "Actor");
|
const actorTp = item.data.People.filter((itm) => itm.Type === "Actor");
|
||||||
setActors(actorTp);
|
setActors(actorTp);
|
||||||
}
|
}
|
||||||
});
|
}, [item.isSuccess]);
|
||||||
|
|
||||||
const qualityLabel = () => {
|
const qualityLabel = () => {
|
||||||
if (
|
if (
|
||||||
|
|||||||
@@ -15,12 +15,11 @@
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: $border-radius-default;
|
border-radius: $border-radius-default;
|
||||||
width: fit-content;
|
|
||||||
box-shadow: $shadow-card;
|
box-shadow: $shadow-card;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 20%;
|
width: 18% !important;
|
||||||
}
|
}
|
||||||
&-blurhash {
|
&-blurhash {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
|
|||||||
@@ -34,11 +34,6 @@ import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
|||||||
import { Card } from "../../components/card/card";
|
import { Card } from "../../components/card/card";
|
||||||
import { EmptyNotice } from "../../components/notices/emptyNotice/emptyNotice";
|
import { EmptyNotice } from "../../components/notices/emptyNotice/emptyNotice";
|
||||||
|
|
||||||
import { MdiChevronDown } from "../../components/icons/mdiChevronDown";
|
|
||||||
import { MdiFilterOutline } from "../../components/icons/mdiFilterOutline";
|
|
||||||
import { MdiSortAscending } from "../../components/icons/mdiSortAscending";
|
|
||||||
import { MdiSortDescending } from "../../components/icons/mdiSortDescending";
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BaseItemKind,
|
BaseItemKind,
|
||||||
ItemFields,
|
ItemFields,
|
||||||
@@ -406,11 +401,16 @@ const LibraryView = () => {
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<IconButton onClick={() => setSortAscending(!sortAscending)}>
|
<IconButton onClick={() => setSortAscending(!sortAscending)}>
|
||||||
{sortAscending ? (
|
<span
|
||||||
<MdiSortAscending />
|
className="material-symbols-rounded"
|
||||||
) : (
|
style={{
|
||||||
<MdiSortDescending />
|
transform: sortAscending
|
||||||
)}
|
? "rotateX(0deg)"
|
||||||
|
: "rotateX(180deg)",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
sort
|
||||||
|
</span>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
@@ -455,7 +455,11 @@ const LibraryView = () => {
|
|||||||
<>
|
<>
|
||||||
<Divider flexItem orientation="vertical" />
|
<Divider flexItem orientation="vertical" />
|
||||||
<Button
|
<Button
|
||||||
startIcon={<MdiFilterOutline />}
|
startIcon={
|
||||||
|
<span className="material-symbols-rounded">
|
||||||
|
filter_list
|
||||||
|
</span>
|
||||||
|
}
|
||||||
color="white"
|
color="white"
|
||||||
onClick={(event) => {
|
onClick={(event) => {
|
||||||
setFilterButtonAnchorEl(event.currentTarget);
|
setFilterButtonAnchorEl(event.currentTarget);
|
||||||
@@ -477,7 +481,13 @@ const LibraryView = () => {
|
|||||||
<Grow {...TransitionProps} timeout={200}>
|
<Grow {...TransitionProps} timeout={200}>
|
||||||
<div className="library-filter-container">
|
<div className="library-filter-container">
|
||||||
<Accordion className="library-filter-accordian">
|
<Accordion className="library-filter-accordian">
|
||||||
<AccordionSummary expandIcon={<MdiChevronDown />}>
|
<AccordionSummary
|
||||||
|
expandIcon={
|
||||||
|
<span className="material-symbols-rounded">
|
||||||
|
expand_more
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
>
|
||||||
<Typography variant="subtitle1">Filters</Typography>
|
<Typography variant="subtitle1">Filters</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
<AccordionDetails
|
<AccordionDetails
|
||||||
@@ -682,7 +692,13 @@ const LibraryView = () => {
|
|||||||
</Accordion>
|
</Accordion>
|
||||||
{currentLib.data.CollectionType === "movies" && (
|
{currentLib.data.CollectionType === "movies" && (
|
||||||
<Accordion className="library-filter-accordian">
|
<Accordion className="library-filter-accordian">
|
||||||
<AccordionSummary expandIcon={<MdiChevronDown />}>
|
<AccordionSummary
|
||||||
|
expandIcon={
|
||||||
|
<span className="material-symbols-rounded">
|
||||||
|
expand_more
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
>
|
||||||
<Typography variant="subtitle1">Quality</Typography>
|
<Typography variant="subtitle1">Quality</Typography>
|
||||||
</AccordionSummary>
|
</AccordionSummary>
|
||||||
<AccordionDetails
|
<AccordionDetails
|
||||||
@@ -822,7 +838,13 @@ const LibraryView = () => {
|
|||||||
currentLib.data.CollectionType,
|
currentLib.data.CollectionType,
|
||||||
) && (
|
) && (
|
||||||
<Accordion className="library-filter-accordian">
|
<Accordion className="library-filter-accordian">
|
||||||
<AccordionSummary expandIcon={<MdiChevronDown />}>
|
<AccordionSummary
|
||||||
|
expandIcon={
|
||||||
|
<span className="material-symbols-rounded">
|
||||||
|
expand_more
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
>
|
||||||
<Typography variant="subtitle1">
|
<Typography variant="subtitle1">
|
||||||
Features
|
Features
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -5,11 +5,6 @@ import { EventEmitter as event } from "../../eventEmitter.js";
|
|||||||
|
|
||||||
import { saveUser } from "../../utils/storage/user";
|
import { saveUser } from "../../utils/storage/user";
|
||||||
|
|
||||||
import { MdiChevronRight } from "../../components/icons/mdiChevronRight.jsx";
|
|
||||||
// import Icon from "mdi-material-ui";
|
|
||||||
import { MdiEyeOffOutline } from "../../components/icons/mdiEyeOffOutline.jsx";
|
|
||||||
import { MdiEyeOutline } from "../../components/icons/mdiEyeOutline.jsx";
|
|
||||||
|
|
||||||
import LoadingButton from "@mui/lab/LoadingButton";
|
import LoadingButton from "@mui/lab/LoadingButton";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
import Checkbox from "@mui/material/Checkbox";
|
import Checkbox from "@mui/material/Checkbox";
|
||||||
@@ -198,9 +193,13 @@ export const LoginWithImage = () => {
|
|||||||
aria-label="toggle password visibility"
|
aria-label="toggle password visibility"
|
||||||
>
|
>
|
||||||
{password.showpass ? (
|
{password.showpass ? (
|
||||||
<MdiEyeOffOutline />
|
<span className="material-symbols-rounded">
|
||||||
|
visibility_off
|
||||||
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<MdiEyeOutline />
|
<span className="material-symbols-rounded">
|
||||||
|
visibility
|
||||||
|
</span>
|
||||||
)}
|
)}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ import Typography from "@mui/material/Typography";
|
|||||||
|
|
||||||
import ReactPlayer from "react-player";
|
import ReactPlayer from "react-player";
|
||||||
|
|
||||||
import { MdiArrowLeft } from "../../components/icons/mdiArrowLeft";
|
|
||||||
import { MdiPlay } from "../../components/icons/mdiPlay";
|
|
||||||
import { usePlaybackStore } from "../../utils/store/playback";
|
import { usePlaybackStore } from "../../utils/store/playback";
|
||||||
|
|
||||||
import { useCallback, useEffect, useRef, useState } from "react";
|
import { useCallback, useEffect, useRef, useState } from "react";
|
||||||
@@ -26,26 +24,14 @@ import { getMediaInfoApi } from "@jellyfin/sdk/lib/utils/api/media-info-api";
|
|||||||
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
import { getPlaystateApi } from "@jellyfin/sdk/lib/utils/api/playstate-api";
|
||||||
import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
|
import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
|
||||||
|
|
||||||
import { MdiFastForward } from "../../components/icons/mdiFastForward";
|
|
||||||
import { MdiFullscreen } from "../../components/icons/mdiFullscreen";
|
|
||||||
import { MdiFullscreenExit } from "../../components/icons/mdiFullscreenExit";
|
|
||||||
import { MdiPause } from "../../components/icons/mdiPause";
|
|
||||||
import { MdiPictureInPictureBottomRight } from "../../components/icons/mdiPictureInPictureBottomRight";
|
|
||||||
import { MdiPlaySpeed } from "../../components/icons/mdiPlaySpeed";
|
|
||||||
import { MdiRewind } from "../../components/icons/mdiRewind";
|
|
||||||
import { MdiVolumeHigh } from "../../components/icons/mdiVolumeHigh";
|
|
||||||
import { MdiVolumeOff } from "../../components/icons/mdiVolumeOff";
|
|
||||||
import "./videoPlayer.module.scss";
|
import "./videoPlayer.module.scss";
|
||||||
|
|
||||||
import { endsAt } from "../../utils/date/time";
|
import { endsAt } from "../../utils/date/time";
|
||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { MdiCog } from "../../components/icons/mdiCog";
|
|
||||||
import { MdiSkipNext } from "../../components/icons/mdiSkipNext";
|
|
||||||
|
|
||||||
import { ItemFields, LocationType } from "@jellyfin/sdk/lib/generated-client";
|
import { ItemFields, LocationType } from "@jellyfin/sdk/lib/generated-client";
|
||||||
import { AnimatePresence, motion } from "framer-motion";
|
import { AnimatePresence, motion } from "framer-motion";
|
||||||
import { MdiSkipPrevious } from "../../components/icons/mdiSkipPrevious";
|
|
||||||
|
|
||||||
import { useApi } from "../../utils/store/api";
|
import { useApi } from "../../utils/store/api";
|
||||||
|
|
||||||
@@ -599,7 +585,7 @@ export const VideoPlayer = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<IconButton onClick={handleExit}>
|
<IconButton onClick={handleExit}>
|
||||||
<MdiArrowLeft />
|
<span className="material-symbols-rounded">arrow_back</span>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
||||||
{itemName}
|
{itemName}
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ import TextField from "@mui/material/TextField";
|
|||||||
|
|
||||||
import { useBackdropStore } from "../../utils/store/backdrop";
|
import { useBackdropStore } from "../../utils/store/backdrop";
|
||||||
|
|
||||||
import { MdiMagnify } from "../../components/icons/mdiMagnify";
|
|
||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
|
||||||
@@ -207,7 +205,7 @@ const SearchPage = () => {
|
|||||||
}}
|
}}
|
||||||
size={35}
|
size={35}
|
||||||
/>
|
/>
|
||||||
<MdiMagnify />
|
<span className="material-symbols-rounded">search</span>
|
||||||
</div>
|
</div>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import React, { useState, useEffect } from "react";
|
import React, { useState, useEffect, useLayoutEffect } from "react";
|
||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import MuiCard from "@mui/material/Card";
|
import MuiCard from "@mui/material/Card";
|
||||||
@@ -204,7 +204,7 @@ const SeriesTitlePage = () => {
|
|||||||
const [actors, setActors] = useState([]);
|
const [actors, setActors] = useState([]);
|
||||||
const [producers, setProducers] = useState([]);
|
const [producers, setProducers] = useState([]);
|
||||||
|
|
||||||
useEffect(() => {
|
useLayoutEffect(() => {
|
||||||
if (item.isSuccess) {
|
if (item.isSuccess) {
|
||||||
setAppBackdrop(
|
setAppBackdrop(
|
||||||
item.data.Type === BaseItemKind.MusicAlbum ||
|
item.data.Type === BaseItemKind.MusicAlbum ||
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
@@ -13,13 +12,10 @@ import SvgIcon from "@mui/material/SvgIcon";
|
|||||||
import TextField from "@mui/material/TextField";
|
import TextField from "@mui/material/TextField";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
|
|
||||||
import { mdiChevronRight } from "@mdi/js";
|
|
||||||
|
|
||||||
import { useSnackbar } from "notistack";
|
import { useSnackbar } from "notistack";
|
||||||
|
|
||||||
import { yellow } from "@mui/material/colors";
|
import { yellow } from "@mui/material/colors";
|
||||||
import { useMutation } from "@tanstack/react-query";
|
import { useMutation } from "@tanstack/react-query";
|
||||||
import { MdiInformation } from "../../../components/icons/mdiInformation.jsx";
|
|
||||||
import { createApi, useApi } from "../../../utils/store/api";
|
import { createApi, useApi } from "../../../utils/store/api";
|
||||||
// SCSS
|
// SCSS
|
||||||
import "./server.module.scss";
|
import "./server.module.scss";
|
||||||
@@ -117,9 +113,7 @@ export const ServerSetup = () => {
|
|||||||
size="large"
|
size="large"
|
||||||
loading={checkServer.isPending}
|
loading={checkServer.isPending}
|
||||||
endIcon={
|
endIcon={
|
||||||
<SvgIcon>
|
<span className="material-symbols-rounded">chevron_right</span>
|
||||||
<path d={mdiChevronRight} />
|
|
||||||
</SvgIcon>
|
|
||||||
}
|
}
|
||||||
loadingPosition="end"
|
loadingPosition="end"
|
||||||
onClick={checkServer.mutate}
|
onClick={checkServer.mutate}
|
||||||
@@ -139,11 +133,14 @@ export const ServerSetup = () => {
|
|||||||
opacity: 0.6,
|
opacity: 0.6,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<MdiInformation
|
<span
|
||||||
sx={{
|
className="material-symbols-rounded"
|
||||||
|
style={{
|
||||||
color: yellow[700],
|
color: yellow[700],
|
||||||
}}
|
}}
|
||||||
/>
|
>
|
||||||
|
info
|
||||||
|
</span>
|
||||||
<Typography variant="subtitle1">
|
<Typography variant="subtitle1">
|
||||||
Example: https://demo.jellyfin.org/stable
|
Example: https://demo.jellyfin.org/stable
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
Reference in new issue
Block a user