diff --git a/web/.env.example b/web/.env.example deleted file mode 100644 index 928447565..000000000 --- a/web/.env.example +++ /dev/null @@ -1 +0,0 @@ -VITE_BASE_URL=http://0.0.0.0:8888 diff --git a/web/.gitignore b/web/.gitignore deleted file mode 100644 index b6895e41b..000000000 --- a/web/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.DS_Store -/node_modules -yarn.lock -poetry.lock -/dist -*.pyc -sql_app.db diff --git a/web/LICENSE.md b/web/LICENSE.md deleted file mode 100755 index 0118e0db6..000000000 --- a/web/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2025 Kalicyh - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/web/index.html b/web/index.html deleted file mode 100755 index 775b4e113..000000000 --- a/web/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - Kalicyh - - - -
- - - diff --git a/web/package.json b/web/package.json deleted file mode 100755 index 83afae5ca..000000000 --- a/web/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "dash", - "author": "kalicyh", - "licence": "MIT", - "version": "1.0.0", - "private": false, - "type": "module", - "scripts": { - "dev": "concurrently -n 'Frontend,Backend' -c 'blue,green' 'yarn run dev:ui' 'yarn run dev:api'", - "dev:ui": "vite", - "dev:api": "poetry run uvicorn api.app:app --host 0.0.0.0 --port 8888 --reload", - "start": "vite preview", - "build": "tsc && vite build", - "dev:host": "vite --host", - "lib": "yarn install && poetry install --no-root" - }, - "engines": { - "node": "20.x" - }, - "packageManager": "yarn@1.22.22", - "dependencies": { - "@emotion/cache": "^11.13.1", - "@emotion/react": "^11.14.0", - "@emotion/styled": "^11.14.0", - "@fontsource-variable/dm-sans": "^5.0.7", - "@fontsource/barlow": "^5.0.14", - "@iconify/react": "^5.0.2", - "@mui/icons-material": "^6.4.4", - "@mui/lab": "^6.0.0-beta.27", - "@mui/material": "^6.4.4", - "apexcharts": "^4.4.0", - "axios": "^1.7.9", - "dayjs": "^1.11.13", - "history": "^5.3.0", - "react": "^19.0.0", - "react-apexcharts": "^1.4.1", - "react-dom": "^19.0.0", - "react-helmet-async": "^2.0.5", - "react-router-dom": "^7.1.5", - "simplebar-react": "^3.2.6", - "sonner": "^2.0.1" - }, - "devDependencies": { - "@types/node": "^22.5.0", - "@types/react": "^19.0.8", - "@types/react-dom": "^19.0.3", - "@vitejs/plugin-react-swc": "^3.7.0", - "concurrently": "^9.1.2", - "typescript": "^5.5.4", - "vite": "^6.1.0", - "vite-plugin-checker": "^0.8.0" - } -} diff --git a/web/prettier.config.mjs b/web/prettier.config.mjs deleted file mode 100755 index a3b4e4ef0..000000000 --- a/web/prettier.config.mjs +++ /dev/null @@ -1,15 +0,0 @@ -/** - * @type {import("prettier").Config} - * Need to restart IDE when changing configuration - * Open the command palette (Ctrl + Shift + P) and execute the command > Reload Window. - */ -const config = { - semi: true, - tabWidth: 2, - endOfLine: 'lf', - printWidth: 100, - singleQuote: true, - trailingComma: 'es5', -}; - -export default config; diff --git a/web/public/assets/background/overlay.jpg b/web/public/assets/background/overlay.jpg deleted file mode 100755 index e6e7a327c..000000000 Binary files a/web/public/assets/background/overlay.jpg and /dev/null differ diff --git a/web/public/assets/background/shape-square.svg b/web/public/assets/background/shape-square.svg deleted file mode 100755 index b62e4303a..000000000 --- a/web/public/assets/background/shape-square.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/flags/ic-flag-de.svg b/web/public/assets/icons/flags/ic-flag-de.svg deleted file mode 100755 index c36170786..000000000 --- a/web/public/assets/icons/flags/ic-flag-de.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/flags/ic-flag-en.svg b/web/public/assets/icons/flags/ic-flag-en.svg deleted file mode 100755 index 485ad5c34..000000000 --- a/web/public/assets/icons/flags/ic-flag-en.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/flags/ic-flag-fr.svg b/web/public/assets/icons/flags/ic-flag-fr.svg deleted file mode 100755 index 2ae63a139..000000000 --- a/web/public/assets/icons/flags/ic-flag-fr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/glass/ic-glass-bag.svg b/web/public/assets/icons/glass/ic-glass-bag.svg deleted file mode 100755 index 5875b6f39..000000000 --- a/web/public/assets/icons/glass/ic-glass-bag.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/assets/icons/glass/ic-glass-buy.svg b/web/public/assets/icons/glass/ic-glass-buy.svg deleted file mode 100755 index 07577a653..000000000 --- a/web/public/assets/icons/glass/ic-glass-buy.svg +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/assets/icons/glass/ic-glass-message.svg b/web/public/assets/icons/glass/ic-glass-message.svg deleted file mode 100755 index e82d8d86e..000000000 --- a/web/public/assets/icons/glass/ic-glass-message.svg +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/assets/icons/glass/ic-glass-users.svg b/web/public/assets/icons/glass/ic-glass-users.svg deleted file mode 100755 index d69a579e3..000000000 --- a/web/public/assets/icons/glass/ic-glass-users.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/assets/icons/navbar/ic-analytics.svg b/web/public/assets/icons/navbar/ic-analytics.svg deleted file mode 100755 index 2cf74af5e..000000000 --- a/web/public/assets/icons/navbar/ic-analytics.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/web/public/assets/icons/navbar/ic-blog.svg b/web/public/assets/icons/navbar/ic-blog.svg deleted file mode 100755 index 6f8f006fe..000000000 --- a/web/public/assets/icons/navbar/ic-blog.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/web/public/assets/icons/navbar/ic-cart.svg b/web/public/assets/icons/navbar/ic-cart.svg deleted file mode 100755 index bafbda953..000000000 --- a/web/public/assets/icons/navbar/ic-cart.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/web/public/assets/icons/navbar/ic-disabled.svg b/web/public/assets/icons/navbar/ic-disabled.svg deleted file mode 100755 index 5f7bda359..000000000 --- a/web/public/assets/icons/navbar/ic-disabled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/web/public/assets/icons/navbar/ic-lock.svg b/web/public/assets/icons/navbar/ic-lock.svg deleted file mode 100755 index 1545a1eb9..000000000 --- a/web/public/assets/icons/navbar/ic-lock.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/web/public/assets/icons/navbar/ic-user.svg b/web/public/assets/icons/navbar/ic-user.svg deleted file mode 100755 index 9f08419c3..000000000 --- a/web/public/assets/icons/navbar/ic-user.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/web/public/assets/icons/notification/ic-notification-chat.svg b/web/public/assets/icons/notification/ic-notification-chat.svg deleted file mode 100755 index 0fa6d651e..000000000 --- a/web/public/assets/icons/notification/ic-notification-chat.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/notification/ic-notification-mail.svg b/web/public/assets/icons/notification/ic-notification-mail.svg deleted file mode 100755 index 524fc75e3..000000000 --- a/web/public/assets/icons/notification/ic-notification-mail.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/notification/ic-notification-package.svg b/web/public/assets/icons/notification/ic-notification-package.svg deleted file mode 100755 index 87f3b79bc..000000000 --- a/web/public/assets/icons/notification/ic-notification-package.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/notification/ic-notification-shipping.svg b/web/public/assets/icons/notification/ic-notification-shipping.svg deleted file mode 100755 index da3d5ad12..000000000 --- a/web/public/assets/icons/notification/ic-notification-shipping.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/icons/shape-avatar.svg b/web/public/assets/icons/shape-avatar.svg deleted file mode 100755 index 38aac7e27..000000000 --- a/web/public/assets/icons/shape-avatar.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/public/assets/illustrations/illustration-404.svg b/web/public/assets/illustrations/illustration-404.svg deleted file mode 100755 index bd59d64ae..000000000 --- a/web/public/assets/illustrations/illustration-404.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/public/assets/illustrations/illustration-dashboard.webp b/web/public/assets/illustrations/illustration-dashboard.webp deleted file mode 100755 index 3c1d1a3eb..000000000 Binary files a/web/public/assets/illustrations/illustration-dashboard.webp and /dev/null differ diff --git a/web/public/favicon.ico b/web/public/favicon.ico deleted file mode 100755 index 5c435e6bb..000000000 Binary files a/web/public/favicon.ico and /dev/null differ diff --git a/web/src/_mock/_data.ts b/web/src/_mock/_data.ts deleted file mode 100755 index d6dadc0eb..000000000 --- a/web/src/_mock/_data.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { - _id, - _price, - _times, - _company, - _boolean, - _fullName, - _taskNames, - _postTitles, - _description, - _productNames, -} from './_mock'; - -// ---------------------------------------------------------------------- - -export const _myAccount = { - displayName: 'Jaydon Frankie', - email: 'demo@minimals.cc', - photoURL: '/assets/images/avatar/avatar-25.webp', -}; - -// ---------------------------------------------------------------------- - -export const _users = [...Array(24)].map((_, index) => ({ - id: _id(index), - name: _fullName(index), - company: _company(index), - isVerified: _boolean(index), - avatarUrl: `/assets/images/avatar/avatar-${index + 1}.webp`, - status: index % 4 ? 'active' : 'banned', - role: - [ - 'Leader', - 'Hr Manager', - 'UI Designer', - 'UX Designer', - 'UI/UX Designer', - 'Project Manager', - 'Backend Developer', - 'Full Stack Designer', - 'Front End Developer', - 'Full Stack Developer', - ][index] || 'UI Designer', -})); - -// ---------------------------------------------------------------------- - -export const _posts = [...Array(23)].map((_, index) => ({ - id: _id(index), - title: _postTitles(index), - description: _description(index), - coverUrl: `/assets/images/cover/cover-${index + 1}.webp`, - totalViews: 8829, - totalComments: 7977, - totalShares: 8556, - totalFavorites: 8870, - postedAt: _times(index), - author: { - name: _fullName(index), - avatarUrl: `/assets/images/avatar/avatar-${index + 1}.webp`, - }, -})); - -// ---------------------------------------------------------------------- - -const COLORS = [ - '#00AB55', - '#000000', - '#FFFFFF', - '#FFC0CB', - '#FF4842', - '#1890FF', - '#94D82D', - '#FFC107', -]; - -export const _products = [...Array(24)].map((_, index) => { - const setIndex = index + 1; - - return { - id: _id(index), - price: _price(index), - name: _productNames(index), - priceSale: setIndex % 3 ? null : _price(index), - coverUrl: `/assets/images/product/product-${setIndex}.webp`, - colors: - (setIndex === 1 && COLORS.slice(0, 2)) || - (setIndex === 2 && COLORS.slice(1, 3)) || - (setIndex === 3 && COLORS.slice(2, 4)) || - (setIndex === 4 && COLORS.slice(3, 6)) || - (setIndex === 23 && COLORS.slice(4, 6)) || - (setIndex === 24 && COLORS.slice(5, 6)) || - COLORS, - status: - ([1, 3, 5].includes(setIndex) && 'sale') || ([4, 8, 12].includes(setIndex) && 'new') || '', - }; -}); - -// ---------------------------------------------------------------------- - -export const _langs = [ - { - value: 'en', - label: 'English', - icon: '/assets/icons/flags/ic-flag-en.svg', - }, - { - value: 'de', - label: 'German', - icon: '/assets/icons/flags/ic-flag-de.svg', - }, - { - value: 'fr', - label: 'French', - icon: '/assets/icons/flags/ic-flag-fr.svg', - }, -]; - -// ---------------------------------------------------------------------- - -export const _timeline = [...Array(5)].map((_, index) => ({ - id: _id(index), - title: [ - '1983, orders, $4220', - '12 Invoices have been paid', - 'Order #37745 from September', - 'New order placed #XF-2356', - 'New order placed #XF-2346', - ][index], - type: `order${index + 1}`, - time: _times(index), -})); - -// ---------------------------------------------------------------------- - -export const _tasks = [...Array(5)].map((_, index) => ({ - id: _id(index), - name: _taskNames(index), -})); - -// ---------------------------------------------------------------------- - -export const _notifications = [ - { - id: _id(1), - title: 'Your order is placed', - description: 'waiting for shipping', - avatarUrl: null, - type: 'order-placed', - postedAt: _times(1), - isUnRead: true, - }, - { - id: _id(2), - title: _fullName(2), - description: 'answered to your comment on the Minimal', - avatarUrl: '/assets/images/avatar/avatar-2.webp', - type: 'friend-interactive', - postedAt: _times(2), - isUnRead: true, - }, - { - id: _id(3), - title: 'You have new message', - description: '5 unread messages', - avatarUrl: null, - type: 'chat-message', - postedAt: _times(3), - isUnRead: false, - }, - { - id: _id(4), - title: 'You have new mail', - description: 'sent from Guido Padberg', - avatarUrl: null, - type: 'mail', - postedAt: _times(4), - isUnRead: false, - }, - { - id: _id(5), - title: 'Delivery processing', - description: 'Your order is being shipped', - avatarUrl: null, - type: 'order-shipped', - postedAt: _times(5), - isUnRead: false, - }, -]; diff --git a/web/src/_mock/_mock.ts b/web/src/_mock/_mock.ts deleted file mode 100755 index 46f120bb1..000000000 --- a/web/src/_mock/_mock.ts +++ /dev/null @@ -1,232 +0,0 @@ -export const _id = (index: number) => `e99f09a7-dd88-49d5-b1c8-1daf80c2d7b${index}`; - -export const _times = (index: number) => - // 'MM/DD/YYYY' - [ - '11/08/2023', - '04/09/2024', - '09/12/2023', - '01/01/2024', - '04/23/2024', - '02/29/2024', - '05/14/2024', - '01/13/2024', - '06/22/2024', - '10/05/2023', - '07/11/2024', - '05/22/2024', - '03/29/2024', - '08/29/2023', - '11/19/2023', - '10/24/2023', - '12/02/2023', - '02/13/2024', - '09/19/2023', - '04/17/2024', - '12/18/2023', - '06/27/2024', - '10/19/2023', - '08/09/2024', - ][index]; - -export const _fullName = (index: number) => - [ - 'Billy Stoltenberg', - 'Eloise Ebert', - 'Teresa Luettgen', - 'Salvador Mayert', - 'Dr. Guadalupe Rath', - 'Kelvin Pouros', - 'Thelma Langworth', - 'Kristen Wunsch', - 'Steve Welch', - 'Brian Jacobs', - 'Lillie Schultz', - 'Mr. Conrad Spinka', - 'Charlene Krajcik', - 'Kerry Kuhlman', - 'Betty Hammes', - 'Tony Paucek PhD', - 'Sherri Davis', - 'Angel Rolfson-Kulas', - 'Dr. Lee Doyle-Grant', - 'Cheryl Romaguera', - 'Billy Braun', - 'Adam Trantow', - 'Brandon Von', - 'Willis Ankunding', - ][index]; - -export const _price = (index: number) => - [ - 35.17, 57.22, 64.78, 50.79, 9.57, 61.46, 96.73, 63.04, 33.18, 36.3, 54.42, 20.52, 62.82, 19.96, - 25.93, 70.39, 23.11, 67.23, 14.31, 31.5, 26.72, 44.8, 37.87, 75.53, - ][index]; - -export const _company = (index: number) => - [ - 'Medhurst, Moore and Franey', - 'Hahn, Homenick and Lind', - 'Larkin LLC', - 'Stamm, Larson and Mertz', - 'Spencer, Raynor and Langosh', - 'Lehner - Feeney', - 'Leuschke, Harris and Kuhlman', - 'Gutmann - Kassulke', - 'Turcotte - Runolfsson', - 'Howe - Anderson', - 'Sipes - Yost', - 'Johns - Aufderhar', - 'Schmidt LLC', - 'Smitham - Gerlach', - 'Waelchi - VonRueden', - 'Padberg - Macejkovic', - 'Lemke - Ferry', - 'Koch and Sons', - 'Klein - Rolfson', - 'Weimann LLC', - 'White, Cassin and Goldner', - 'Mohr, Langworth and Hills', - 'Mitchell, Volkman and Prosacco', - 'Streich Group', - ][index]; - -export const _boolean = (index: number) => - [ - true, - false, - true, - false, - true, - true, - true, - false, - false, - true, - false, - true, - true, - false, - true, - false, - false, - true, - false, - false, - false, - true, - true, - false, - ][index]; - -export const _postTitles = (index: number) => - [ - 'Whiteboard Templates By Industry Leaders', - 'Tesla Cybertruck-inspired camper trailer for Tesla fans who can’t just wait for the truck!', - 'Designify Agency Landing Page Design', - '✨What is Done is Done ✨', - 'Fresh Prince', - 'Six Socks Studio', - 'vincenzo de cotiis’ crossing over showcases a research on contamination', - 'Simple, Great Looking Animations in Your Project | Video Tutorial', - '40 Free Serif Fonts for Digital Designers', - 'Examining the Evolution of the Typical Web Design Client', - 'Katie Griffin loves making that homey art', - 'The American Dream retold through mid-century railroad graphics', - 'Illustration System Design', - 'CarZio-Delivery Driver App SignIn/SignUp', - 'How to create a client-serverless Jamstack app using Netlify, Gatsby and Fauna', - 'Tylko Organise effortlessly -3D & Motion Design', - 'RAYO ?? A expanded visual arts festival identity', - 'Anthony Burrill and Wired mag’s Andrew Diprose discuss how they made January’s Change Everything cover', - 'Inside the Mind of Samuel Day', - 'Portfolio Review: Is This Portfolio Too Creative?', - 'Akkers van Margraten', - 'Gradient Ticket icon', - 'Here’s a Dyson motorcycle concept that doesn’t ‘suck’!', - 'How to Animate a SVG with border-image', - ][index]; - -export const _description = (index: number) => - [ - 'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J', - 'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart', - 'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals', - 'The Football Is Good For Training And Recreational Purposes', - 'New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016', - 'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals', - 'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit', - 'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design', - 'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J', - 'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive', - 'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive', - 'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design', - 'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart', - "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", - 'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart', - 'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals', - 'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals', - 'The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients', - "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", - 'New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016', - 'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J', - 'Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support', - 'The Football Is Good For Training And Recreational Purposes', - 'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive', - ][index]; - -export const _taskNames = (index: number) => - [ - `Prepare Monthly Financial Report`, - `Design New Marketing Campaign`, - `Analyze Customer Feedback`, - `Update Website Content`, - `Conduct Market Research`, - `Develop Software Application`, - `Organize Team Meeting`, - `Create Social Media Posts`, - `Review Project Plan`, - `Implement Security Protocols`, - `Write Technical Documentation`, - `Test New Product Features`, - `Manage Client Inquiries`, - `Train New Employees`, - `Coordinate Logistics`, - `Monitor Network Performance`, - `Develop Training Materials`, - `Draft Press Release`, - `Prepare Budget Proposal`, - `Evaluate Vendor Proposals`, - `Perform Data Analysis`, - `Conduct Quality Assurance`, - `Plan Event Logistics`, - `Optimize SEO Strategies`, - ][index]; - -export const _productNames = (index: number) => - [ - 'Nike Air Force 1 NDESTRUKT', - 'Nike Space Hippie 04', - 'Nike Air Zoom Pegasus 37 A.I.R. Chaz Bear', - 'Nike Blazer Low 77 Vintage', - 'Nike ZoomX SuperRep Surge', - 'Zoom Freak 2', - 'Nike Air Max Zephyr', - 'Jordan Delta', - 'Air Jordan XXXV PF', - 'Nike Waffle Racer Crater', - 'Kyrie 7 EP Sisterhood', - 'Nike Air Zoom BB NXT', - 'Nike Air Force 1 07 LX', - 'Nike Air Force 1 Shadow SE', - 'Nike Air Zoom Tempo NEXT%', - 'Nike DBreak-Type', - 'Nike Air Max Up', - 'Nike Air Max 270 React ENG', - 'NikeCourt Royale', - 'Nike Air Zoom Pegasus 37 Premium', - 'Nike Air Zoom SuperRep', - 'NikeCourt Royale', - 'Nike React Art3mis', - 'Nike React Infinity Run Flyknit A.I.R. Chaz Bear', - ][index]; diff --git a/web/src/_mock/index.ts b/web/src/_mock/index.ts deleted file mode 100755 index 6a726d939..000000000 --- a/web/src/_mock/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './_mock'; -export * from './_data'; diff --git a/web/src/app.tsx b/web/src/app.tsx deleted file mode 100755 index 1ae4b0da1..000000000 --- a/web/src/app.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import 'src/global.css'; - -import Fab from '@mui/material/Fab'; - -import { Router } from 'src/routes/sections'; - -import { useScrollToTop } from 'src/hooks/use-scroll-to-top'; - -import { ThemeProvider } from 'src/theme/theme-provider'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -export default function App() { - useScrollToTop(); - - const githubButton = ( - - - - ); - - return ( - - - {githubButton} - - ); -} diff --git a/web/src/components/chart/chart-legends.tsx b/web/src/components/chart/chart-legends.tsx deleted file mode 100755 index 16f8e0294..000000000 --- a/web/src/components/chart/chart-legends.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import Box from '@mui/material/Box'; -import Stack from '@mui/material/Stack'; -import { styled } from '@mui/material/styles'; - -// ---------------------------------------------------------------------- - -export const StyledLegend = styled(Box)(({ theme }) => ({ - gap: 6, - alignItems: 'center', - display: 'inline-flex', - justifyContent: 'flex-start', - fontSize: theme.typography.pxToRem(13), - fontWeight: theme.typography.fontWeightMedium, -})); - -export const StyledDot = styled("div")(() => ({ - width: 12, - height: 12, - flexShrink: 0, - display: "flex", - borderRadius: "50%", - position: "relative", - alignItems: "center", - justifyContent: "center", - backgroundColor: "currentColor", -})); - -// ---------------------------------------------------------------------- - -type Props = BoxProps & { - labels?: string[]; - colors?: string[]; - values?: string[]; - sublabels?: string[]; - icons?: React.ReactNode[]; -}; - -export function ChartLegends({ - icons, - values, - sublabels, - labels = [], - colors = [], - ...other -}: Props) { - return ( - - {labels?.map((series, index) => ( - - - {icons?.length ? ( - - {icons?.[index]} - - ) : ( - - )} - - - {series} - {sublabels && <> {` (${sublabels[index]})`}} - - - - {values && {values[index]}} - - ))} - - ); -} diff --git a/web/src/components/chart/chart.tsx b/web/src/components/chart/chart.tsx deleted file mode 100755 index d9b10ae89..000000000 --- a/web/src/components/chart/chart.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import ApexChart from 'react-apexcharts'; - -import Box from '@mui/material/Box'; - -import { chartClasses } from './classes'; - -import type { ChartProps } from './types'; - -// ---------------------------------------------------------------------- - -export function Chart({ - sx, - type, - series, - height, - options, - className, - width = '100%', - ...other -}: BoxProps & ChartProps) { - return ( - - - - ); -} diff --git a/web/src/components/chart/classes.ts b/web/src/components/chart/classes.ts deleted file mode 100755 index dfea7355a..000000000 --- a/web/src/components/chart/classes.ts +++ /dev/null @@ -1,3 +0,0 @@ -// ---------------------------------------------------------------------- - -export const chartClasses = { root: 'mnl__chart__root' }; diff --git a/web/src/components/chart/index.ts b/web/src/components/chart/index.ts deleted file mode 100755 index 104a134e4..000000000 --- a/web/src/components/chart/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './chart'; - -export * from './use-chart'; - -export type * from './types'; - -export * from './chart-legends'; diff --git a/web/src/components/chart/styles.css b/web/src/components/chart/styles.css deleted file mode 100755 index 4f16c93b0..000000000 --- a/web/src/components/chart/styles.css +++ /dev/null @@ -1,56 +0,0 @@ -.apexcharts-canvas { - /** - * Tooltip - */ - .apexcharts-tooltip { - min-width: 80px; - border-radius: 10px; - backdrop-filter: blur(6px); - color: var(--palette-text-primary); - box-shadow: var(--customShadows-dropdown); - background-color: rgba(var(--palette-background-defaultChannel) / 0.9); - } - .apexcharts-xaxistooltip { - border-radius: 10px; - border-color: transparent; - backdrop-filter: blur(6px); - color: var(--palette-text-primary); - box-shadow: var(--customShadows-dropdown); - background-color: rgba(var(--palette-background-defaultChannel) / 0.9); - &::before { - border-bottom-color: rgba(var(--palette-grey-500Channel) / 0.16); - } - &::after { - border-bottom-color: rgba(var(--palette-background-defaultChannel) / 0.9); - } - } - .apexcharts-tooltip-title { - font-weight: 700; - text-align: center; - color: var(--palette-text-secondary); - background-color: var(--palette-background-neutral); - } - /** - * Tooltip: group - */ - .apexcharts-tooltip-series-group { - padding: 4px 12px; - } - .apexcharts-tooltip-marker { - margin-right: 8px; - } - /** - * Legend - */ - .apexcharts-legend { - padding: 0; - } - .apexcharts-legend-marker { - margin-right: 6px; - } - .apexcharts-legend-text { - margin-left: 0; - padding-left: 0; - line-height: 18px; - } -} diff --git a/web/src/components/chart/types.ts b/web/src/components/chart/types.ts deleted file mode 100755 index fb57903fb..000000000 --- a/web/src/components/chart/types.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { Props } from 'react-apexcharts'; -import type { Theme, SxProps } from '@mui/material/styles'; - -// ---------------------------------------------------------------------- - -export type ChartProps = { - type: Props['type']; - series: Props['series']; - options: Props['options']; -}; - -export type ChartBaseProps = Props; - -export type ChartOptions = Props['options']; - -export type ChartLoadingProps = { - disabled?: boolean; - sx?: SxProps; -}; diff --git a/web/src/components/chart/use-chart.ts b/web/src/components/chart/use-chart.ts deleted file mode 100755 index a8a7231b0..000000000 --- a/web/src/components/chart/use-chart.ts +++ /dev/null @@ -1,327 +0,0 @@ -import { useTheme } from '@mui/material/styles'; - -import { varAlpha } from 'src/theme/styles'; - -import type { ChartOptions } from './types'; - -// ---------------------------------------------------------------------- - -export function useChart(options?: ChartOptions): ChartOptions { - const theme = useTheme(); - - const LABEL_TOTAL = { - show: true, - label: 'Total', - color: theme.vars.palette.text.secondary, - fontSize: theme.typography.subtitle2.fontSize as string, - fontWeight: theme.typography.subtitle2.fontWeight, - }; - - const LABEL_VALUE = { - offsetY: 8, - color: theme.vars.palette.text.primary, - fontSize: theme.typography.h4.fontSize as string, - fontWeight: theme.typography.h4.fontWeight, - }; - - const RESPONSIVE = [ - { - breakpoint: theme.breakpoints.values.sm, // sm ~ 600 - options: { - plotOptions: { - bar: { - borderRadius: 3, - columnWidth: '80%', - }, - }, - }, - }, - { - breakpoint: theme.breakpoints.values.md, // md ~ 900 - options: { - plotOptions: { - bar: { - columnWidth: '60%', - }, - }, - }, - }, - ...(options?.responsive ?? []), - ]; - - return { - ...options, - - /** ************************************** - * Chart - *************************************** */ - chart: { - toolbar: { - show: false, - }, - zoom: { - enabled: false, - }, - parentHeightOffset: 0, - fontFamily: theme.typography.fontFamily, - foreColor: theme.vars.palette.text.disabled, - ...options?.chart, - animations: { - enabled: true, - speed: 360, - animateGradually: { enabled: true, delay: 120 }, - dynamicAnimation: { enabled: true, speed: 360 }, - ...options?.chart?.animations, - }, - }, - - /** ************************************** - * Colors - *************************************** */ - colors: options?.colors ?? [ - theme.palette.primary.main, - theme.palette.warning.main, - theme.palette.info.main, - theme.palette.error.main, - theme.palette.success.main, - theme.palette.warning.dark, - theme.palette.success.darker, - theme.palette.info.dark, - theme.palette.info.darker, - ], - - /** ************************************** - * States - *************************************** */ - states: { - ...options?.states, - hover: { - ...options?.states?.hover, - filter: { type: 'darken', ...options?.states?.hover?.filter }, - }, - active: { - ...options?.states?.active, - filter: { type: 'darken', ...options?.states?.active?.filter }, - }, - }, - - /** ************************************** - * Fill - *************************************** */ - fill: { - opacity: 1, - ...options?.fill, - gradient: { - type: 'vertical', - shadeIntensity: 0, - opacityFrom: 0.4, - opacityTo: 0, - stops: [0, 100], - ...options?.fill?.gradient, - }, - }, - - /** ************************************** - * Data labels - *************************************** */ - dataLabels: { - enabled: false, - ...options?.dataLabels, - }, - - /** ************************************** - * Stroke - *************************************** */ - stroke: { - width: 2.5, - curve: 'smooth', - lineCap: 'round', - ...options?.stroke, - }, - - /** ************************************** - * Grid - *************************************** */ - grid: { - strokeDashArray: 3, - borderColor: theme.vars.palette.divider, - ...options?.grid, - padding: { - top: 0, - right: 0, - bottom: 0, - ...options?.grid?.padding, - }, - xaxis: { - lines: { - show: false, - }, - ...options?.grid?.xaxis, - }, - }, - - /** ************************************** - * Axis - *************************************** */ - xaxis: { - axisBorder: { - show: false, - }, - axisTicks: { - show: false, - }, - ...options?.xaxis, - }, - yaxis: { - tickAmount: 5, - ...options?.yaxis, - }, - - /** ************************************** - * Markers - *************************************** */ - markers: { - size: 0, - strokeColors: theme.vars.palette.background.paper, - ...options?.markers, - }, - - /** ************************************** - * Tooltip - *************************************** */ - tooltip: { - theme: 'false', - fillSeriesColor: false, - x: { - show: true, - }, - ...options?.tooltip, - }, - - /** ************************************** - * Legend - *************************************** */ - legend: { - show: false, - position: 'top', - fontWeight: 500, - fontSize: '13px', - horizontalAlign: 'right', - ...options?.legend, - markers: { - shape: 'circle', - ...options?.legend?.markers, - }, - labels: { - colors: theme.vars.palette.text.primary, - ...options?.legend?.labels, - }, - itemMargin: { - horizontal: 8, - vertical: 8, - ...options?.legend?.itemMargin, - }, - }, - - /** ************************************** - * plotOptions - *************************************** */ - plotOptions: { - ...options?.plotOptions, - // plotOptions: Bar - bar: { - borderRadius: 4, - columnWidth: '48%', - borderRadiusApplication: 'end', - ...options?.plotOptions?.bar, - }, - - // plotOptions: Pie + Donut - pie: { - ...options?.plotOptions?.pie, - donut: { - ...options?.plotOptions?.pie?.donut, - labels: { - show: true, - ...options?.plotOptions?.pie?.donut?.labels, - value: { - ...LABEL_VALUE, - ...options?.plotOptions?.pie?.donut?.labels?.value, - }, - total: { - ...LABEL_TOTAL, - ...options?.plotOptions?.pie?.donut?.labels?.total, - }, - }, - }, - }, - - // plotOptions: Radialbar - radialBar: { - ...options?.plotOptions?.radialBar, - hollow: { - margin: -8, - size: '100%', - ...options?.plotOptions?.radialBar?.hollow, - }, - track: { - margin: -8, - strokeWidth: '50%', - background: varAlpha(theme.vars.palette.grey['500Channel'], 0.16), - ...options?.plotOptions?.radialBar?.track, - }, - dataLabels: { - ...options?.plotOptions?.radialBar?.dataLabels, - value: { - ...LABEL_VALUE, - ...options?.plotOptions?.radialBar?.dataLabels?.value, - }, - total: { - ...LABEL_TOTAL, - ...options?.plotOptions?.radialBar?.dataLabels?.total, - }, - }, - }, - - // plotOptions: Radar - radar: { - ...options?.plotOptions?.radar, - polygons: { - fill: { - colors: ['transparent'], - }, - strokeColors: theme.vars.palette.divider, - connectorColors: theme.vars.palette.divider, - ...options?.plotOptions?.radar?.polygons, - }, - }, - - // plotOptions: polarArea - polarArea: { - rings: { - strokeColor: theme.vars.palette.divider, - }, - spokes: { - connectorColors: theme.vars.palette.divider, - }, - ...options?.plotOptions?.polarArea, - }, - - // plotOptions: heatmap - heatmap: { - distributed: true, - ...options?.plotOptions?.heatmap, - }, - }, - - /** ************************************** - * Responsive - *************************************** */ - responsive: RESPONSIVE.reduce((acc: typeof RESPONSIVE, cur) => { - if (!acc.some((item) => item.breakpoint === cur.breakpoint)) { - acc.push(cur); - } - return acc; - }, []), - }; -} diff --git a/web/src/components/color-utils/color-picker.tsx b/web/src/components/color-utils/color-picker.tsx deleted file mode 100755 index 78d79db0f..000000000 --- a/web/src/components/color-utils/color-picker.tsx +++ /dev/null @@ -1,107 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import { forwardRef, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Stack from '@mui/material/Stack'; -import ButtonBase from '@mui/material/ButtonBase'; -import { alpha as hexAlpha } from '@mui/material/styles'; - -import { varAlpha } from 'src/theme/styles'; - -import { Iconify } from '../iconify'; - -import type { ColorPickerProps } from './types'; - -// ---------------------------------------------------------------------- - -export const ColorPicker = forwardRef( - ({ colors, selected, onSelectColor, limit = 'auto', sx, slotProps, ...other }, ref) => { - const singleSelect = typeof selected === 'string'; - - const handleSelect = useCallback( - (color: string) => { - if (singleSelect) { - if (color !== selected) { - onSelectColor(color); - } - } else { - const newSelected = selected.includes(color) - ? selected.filter((value) => value !== color) - : [...selected, color]; - - onSelectColor(newSelected); - } - }, - [onSelectColor, selected, singleSelect] - ); - - return ( - - {colors.map((color) => { - const hasSelected = singleSelect ? selected === color : selected.includes(color); - - return ( - - handleSelect(color)} - sx={{ - width: 36, - height: 36, - borderRadius: '50%', - ...slotProps?.button, - }} - > - ({ - width: 20, - height: 20, - bgcolor: color, - borderRadius: '50%', - border: `solid 1px ${varAlpha(theme.vars.palette.grey['500Channel'], 0.16)}`, - ...(hasSelected && { - transform: 'scale(1.3)', - boxShadow: `4px 4px 8px 0 ${hexAlpha(color, 0.48)}`, - outline: `solid 2px ${hexAlpha(color, 0.08)}`, - transition: theme.transitions.create('all', { - duration: theme.transitions.duration.shortest, - }), - }), - })} - > - ({ - color: theme.palette.getContrastText(color), - transition: theme.transitions.create('all', { - duration: theme.transitions.duration.shortest, - }), - })} - /> - - - - ); - })} - - ); - } -); diff --git a/web/src/components/color-utils/color-preview.tsx b/web/src/components/color-utils/color-preview.tsx deleted file mode 100755 index 8d8be99b2..000000000 --- a/web/src/components/color-utils/color-preview.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import { forwardRef } from 'react'; - -import Box from '@mui/material/Box'; - -import { varAlpha } from 'src/theme/styles'; - -import type { ColorPreviewProps } from './types'; - -// ---------------------------------------------------------------------- - -export const ColorPreview = forwardRef( - ({ colors, limit = 3, sx, ...other }, ref) => { - const colorsRange = colors.slice(0, limit); - - const restColors = colors.length - limit; - - return ( - - {colorsRange.map((color, index) => ( - `solid 2px ${theme.vars.palette.background.paper}`, - boxShadow: (theme) => - `inset -1px 1px 2px ${varAlpha(theme.vars.palette.common.blackChannel, 0.24)}`, - }} - /> - ))} - - {colors.length > limit && ( - {`+${restColors}`} - )} - - ); - } -); diff --git a/web/src/components/color-utils/index.ts b/web/src/components/color-utils/index.ts deleted file mode 100755 index 24877b483..000000000 --- a/web/src/components/color-utils/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -export type * from './types'; - -export * from './color-picker'; - -export * from './color-preview'; diff --git a/web/src/components/color-utils/types.ts b/web/src/components/color-utils/types.ts deleted file mode 100755 index cf61ae25f..000000000 --- a/web/src/components/color-utils/types.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { Theme, SxProps } from '@mui/material/styles'; - -// ---------------------------------------------------------------------- - -export type ColorPickerProps = { - multi?: boolean; - colors: string[]; - selected: string | string[]; - limit?: 'auto' | number; - onSelectColor: (color: string | string[]) => void; - slotProps?: { - button?: SxProps; - }; -}; - -export type ColorPreviewProps = { - limit?: number; - colors: ColorPickerProps['colors']; -}; diff --git a/web/src/components/iconify/classes.ts b/web/src/components/iconify/classes.ts deleted file mode 100755 index f81ef27c2..000000000 --- a/web/src/components/iconify/classes.ts +++ /dev/null @@ -1,4 +0,0 @@ -export const iconifyClasses = { - root: 'mnl__icon__root', - flag: 'mnl__icon__flag', -}; diff --git a/web/src/components/iconify/flag-icon.tsx b/web/src/components/iconify/flag-icon.tsx deleted file mode 100755 index 2ea6d0980..000000000 --- a/web/src/components/iconify/flag-icon.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { Theme, SxProps } from '@mui/material/styles'; - -import { forwardRef } from 'react'; - -import Box from '@mui/material/Box'; - -import { iconifyClasses } from './classes'; - -// ---------------------------------------------------------------------- - -export type FlagIconProps = BoxProps & { - code?: string; -}; - -export const FlagIcon = forwardRef( - ({ code, className, sx, ...other }, ref) => { - const baseStyles: SxProps = { - width: 26, - height: 20, - flexShrink: 0, - overflow: 'hidden', - borderRadius: '5px', - alignItems: 'center', - display: 'inline-flex', - justifyContent: 'center', - bgcolor: 'background.neutral', - }; - - if (!code) { - return null; - } - - return ( - - - - ); - } -); diff --git a/web/src/components/iconify/iconify.tsx b/web/src/components/iconify/iconify.tsx deleted file mode 100755 index 5d3b871cf..000000000 --- a/web/src/components/iconify/iconify.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { forwardRef } from 'react'; -import { Icon, disableCache } from '@iconify/react'; - -import Box from '@mui/material/Box'; - -import { iconifyClasses } from './classes'; - -import type { IconifyProps } from './types'; - -// ---------------------------------------------------------------------- - -export const Iconify = forwardRef( - ({ className, width = 20, sx, ...other }, ref) => ( - - ) -); - -// https://iconify.design/docs/iconify-icon/disable-cache.html -disableCache('local'); diff --git a/web/src/components/iconify/index.ts b/web/src/components/iconify/index.ts deleted file mode 100755 index 111840cf0..000000000 --- a/web/src/components/iconify/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './classes'; - -export * from './iconify'; - -export * from './flag-icon'; - -export type * from './types'; diff --git a/web/src/components/iconify/types.ts b/web/src/components/iconify/types.ts deleted file mode 100755 index 53ea75297..000000000 --- a/web/src/components/iconify/types.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { IconProps } from '@iconify/react'; -import type { BoxProps } from '@mui/material/Box'; - -// ---------------------------------------------------------------------- - -export type IconifyProps = BoxProps & IconProps; diff --git a/web/src/components/label/classes.ts b/web/src/components/label/classes.ts deleted file mode 100755 index 59db7caa6..000000000 --- a/web/src/components/label/classes.ts +++ /dev/null @@ -1,3 +0,0 @@ -// ---------------------------------------------------------------------- - -export const labelClasses = { root: 'mnl__label__root', icon: 'mnl__label__icon' }; diff --git a/web/src/components/label/index.ts b/web/src/components/label/index.ts deleted file mode 100755 index 71f3c7e64..000000000 --- a/web/src/components/label/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './label'; - -export * from './styles'; - -export * from './classes'; - -export type * from './types'; diff --git a/web/src/components/label/label.tsx b/web/src/components/label/label.tsx deleted file mode 100755 index edc781af9..000000000 --- a/web/src/components/label/label.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import { forwardRef } from 'react'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; - -import { StyledLabel } from './styles'; -import { labelClasses } from './classes'; - -import type { LabelProps } from './types'; - -// ---------------------------------------------------------------------- - -export const Label = forwardRef( - ( - { children, color = 'default', variant = 'soft', startIcon, endIcon, sx, className, ...other }, - ref - ) => { - const theme = useTheme(); - - const iconStyles = { - width: 16, - height: 16, - '& svg, img': { - width: 1, - height: 1, - objectFit: 'cover', - }, - }; - - return ( - - {startIcon && ( - - {startIcon} - - )} - - {typeof children === 'string' ? sentenceCase(children) : children} - - {endIcon && ( - - {endIcon} - - )} - - ); - } -); - -// ---------------------------------------------------------------------- - -function sentenceCase(string: string): string { - return string.charAt(0).toUpperCase() + string.slice(1); -} diff --git a/web/src/components/label/styles.ts b/web/src/components/label/styles.ts deleted file mode 100755 index d2d3709f5..000000000 --- a/web/src/components/label/styles.ts +++ /dev/null @@ -1,111 +0,0 @@ -import type { Theme } from '@mui/material/styles'; - -import Box from '@mui/material/Box'; -import { styled } from '@mui/material/styles'; - -import { varAlpha, stylesMode } from 'src/theme/styles'; - -import type { LabelColor, LabelVariant } from './types'; - -// ---------------------------------------------------------------------- - -export const StyledLabel = styled(Box)(({ - theme, - ownerState: { color, variant }, -}: { - theme: Theme; - ownerState: { - color: LabelColor; - variant: LabelVariant; - }; -}) => { - const defaultColor = { - ...(color === 'default' && { - /** - * @variant filled - */ - ...(variant === 'filled' && { - color: theme.vars.palette.common.white, - backgroundColor: theme.vars.palette.text.primary, - [stylesMode.dark]: { color: theme.vars.palette.grey[800] }, - }), - /** - * @variant outlined - */ - ...(variant === 'outlined' && { - backgroundColor: 'transparent', - color: theme.vars.palette.text.primary, - border: `2px solid ${theme.vars.palette.text.primary}`, - }), - /** - * @variant soft - */ - ...(variant === 'soft' && { - color: theme.vars.palette.text.secondary, - backgroundColor: varAlpha(theme.vars.palette.grey['500Channel'], 0.16), - }), - /** - * @variant inverted - */ - ...(variant === 'inverted' && { - color: theme.vars.palette.grey[800], - backgroundColor: theme.vars.palette.grey[300], - }), - }), - }; - - const styleColors = { - ...(color !== 'default' && { - /** - * @variant filled - */ - ...(variant === 'filled' && { - color: theme.vars.palette[color].contrastText, - backgroundColor: theme.vars.palette[color].main, - }), - /** - * @variant outlined - */ - ...(variant === 'outlined' && { - backgroundColor: 'transparent', - color: theme.vars.palette[color].main, - border: `2px solid ${theme.vars.palette[color].main}`, - }), - /** - * @variant soft - */ - ...(variant === 'soft' && { - color: theme.vars.palette[color].dark, - backgroundColor: varAlpha(theme.vars.palette[color].mainChannel, 0.16), - [stylesMode.dark]: { color: theme.vars.palette[color].light }, - }), - /** - * @variant inverted - */ - ...(variant === 'inverted' && { - color: theme.vars.palette[color].darker, - backgroundColor: theme.vars.palette[color].lighter, - }), - }), - }; - - return { - height: 24, - minWidth: 24, - lineHeight: 0, - cursor: 'default', - alignItems: 'center', - whiteSpace: 'nowrap', - display: 'inline-flex', - justifyContent: 'center', - padding: theme.spacing(0, 0.75), - fontSize: theme.typography.pxToRem(12), - fontWeight: theme.typography.fontWeightBold, - borderRadius: theme.shape.borderRadius * 0.75, - transition: theme.transitions.create('all', { - duration: theme.transitions.duration.shorter, - }), - ...defaultColor, - ...styleColors, - }; -}); diff --git a/web/src/components/label/types.ts b/web/src/components/label/types.ts deleted file mode 100755 index aeb657487..000000000 --- a/web/src/components/label/types.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -// ---------------------------------------------------------------------- - -export type LabelColor = - | 'default' - | 'primary' - | 'secondary' - | 'info' - | 'success' - | 'warning' - | 'error'; - -export type LabelVariant = 'filled' | 'outlined' | 'soft' | 'inverted'; - -export interface LabelProps extends BoxProps { - color?: LabelColor; - variant?: LabelVariant; - endIcon?: React.ReactElement | null; - startIcon?: React.ReactElement | null; -} diff --git a/web/src/components/logo/classes.ts b/web/src/components/logo/classes.ts deleted file mode 100755 index 7b7fdc2f0..000000000 --- a/web/src/components/logo/classes.ts +++ /dev/null @@ -1,3 +0,0 @@ -export const logoClasses = { - root: 'mnl__logo__root', -}; diff --git a/web/src/components/logo/index.ts b/web/src/components/logo/index.ts deleted file mode 100755 index b86e7ad38..000000000 --- a/web/src/components/logo/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './logo'; - -export * from './classes'; diff --git a/web/src/components/logo/logo.tsx b/web/src/components/logo/logo.tsx deleted file mode 100755 index fae19d7ce..000000000 --- a/web/src/components/logo/logo.tsx +++ /dev/null @@ -1,219 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import { useId, forwardRef } from 'react'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; - -import { RouterLink } from 'src/routes/components'; - -import { logoClasses } from './classes'; - -// ---------------------------------------------------------------------- - -export type LogoProps = BoxProps & { - href?: string; - isSingle?: boolean; - disableLink?: boolean; -}; - -export const Logo = forwardRef( - ( - { width, href = '/', height, isSingle = true, disableLink = false, className, sx, ...other }, - ref - ) => { - const theme = useTheme(); - - const gradientId = useId(); - - const TEXT_PRIMARY = theme.vars.palette.text.primary; - const PRIMARY_LIGHT = theme.vars.palette.primary.light; - const PRIMARY_MAIN = theme.vars.palette.primary.main; - const PRIMARY_DARKER = theme.vars.palette.primary.dark; - - /* - * OR using local (public folder) - * - const singleLogo = ( - - ); - - const fullLogo = ( - - ); - * - */ - - const singleLogo = ( - - - - - - - - - - - - - - - - - - - - ); - - const fullLogo = ( - - - - - - - - - - - - - - - - - - - - - ); - - const baseSize = { - width: width ?? 40, - height: height ?? 40, - ...(!isSingle && { - width: width ?? 102, - height: height ?? 36, - }), - }; - - return ( - - {isSingle ? singleLogo : fullLogo} - - ); - } -); diff --git a/web/src/components/scrollbar/classes.ts b/web/src/components/scrollbar/classes.ts deleted file mode 100755 index ac2cf913c..000000000 --- a/web/src/components/scrollbar/classes.ts +++ /dev/null @@ -1,3 +0,0 @@ -// ---------------------------------------------------------------------- - -export const scrollbarClasses = { root: 'mnl__scrollbar__root' }; diff --git a/web/src/components/scrollbar/index.ts b/web/src/components/scrollbar/index.ts deleted file mode 100755 index a483df68b..000000000 --- a/web/src/components/scrollbar/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './classes'; - -export * from './scrollbar'; - -export type * from './types'; diff --git a/web/src/components/scrollbar/scrollbar.tsx b/web/src/components/scrollbar/scrollbar.tsx deleted file mode 100755 index 9218d1528..000000000 --- a/web/src/components/scrollbar/scrollbar.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { forwardRef } from 'react'; -import SimpleBar from 'simplebar-react'; - -import Box from '@mui/material/Box'; - -import { scrollbarClasses } from './classes'; - -import type { ScrollbarProps } from './types'; - -// ---------------------------------------------------------------------- - -export const Scrollbar = forwardRef( - ({ slotProps, children, fillContent, sx, ...other }, ref) => ( - - {children} - - ) -); diff --git a/web/src/components/scrollbar/styles.css b/web/src/components/scrollbar/styles.css deleted file mode 100755 index 2fbf4d99d..000000000 --- a/web/src/components/scrollbar/styles.css +++ /dev/null @@ -1,8 +0,0 @@ -@import 'simplebar-react/dist/simplebar.min.css'; - -.simplebar-scrollbar:before { - background-color: var(--palette-text-disabled); -} -.simplebar-scrollbar.simplebar-visible:before { - opacity: 0.48; -} diff --git a/web/src/components/scrollbar/types.ts b/web/src/components/scrollbar/types.ts deleted file mode 100755 index 21c2d8d27..000000000 --- a/web/src/components/scrollbar/types.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { Theme, SxProps } from '@mui/material/styles'; -import type { Props as SimplebarProps } from 'simplebar-react'; - -// ---------------------------------------------------------------------- - -export type ScrollbarProps = SimplebarProps & { - sx?: SxProps; - children?: React.ReactNode; - fillContent?: boolean; - slotProps?: { - wrapper?: SxProps; - contentWrapper?: SxProps; - content?: Partial>; - }; -}; diff --git a/web/src/components/svg-color/classes.ts b/web/src/components/svg-color/classes.ts deleted file mode 100755 index 2d56bc83e..000000000 --- a/web/src/components/svg-color/classes.ts +++ /dev/null @@ -1,3 +0,0 @@ -// ---------------------------------------------------------------------- - -export const svgColorClasses = { root: 'mnl__svg__color__root' }; diff --git a/web/src/components/svg-color/index.ts b/web/src/components/svg-color/index.ts deleted file mode 100755 index 372c31dd5..000000000 --- a/web/src/components/svg-color/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './classes'; - -export * from './svg-color'; - -export type * from './types'; diff --git a/web/src/components/svg-color/svg-color.tsx b/web/src/components/svg-color/svg-color.tsx deleted file mode 100755 index c2db45e9e..000000000 --- a/web/src/components/svg-color/svg-color.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { forwardRef } from 'react'; - -import Box from '@mui/material/Box'; - -import { svgColorClasses } from './classes'; - -import type { SvgColorProps } from './types'; - -// ---------------------------------------------------------------------- - -export const SvgColor = forwardRef( - ({ src, width = 24, height, className, sx, ...other }, ref) => ( - - ) -); diff --git a/web/src/components/svg-color/types.ts b/web/src/components/svg-color/types.ts deleted file mode 100755 index c795d7b36..000000000 --- a/web/src/components/svg-color/types.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -// ---------------------------------------------------------------------- - -export type SvgColorProps = BoxProps & { - src: string; -}; diff --git a/web/src/config-global.ts b/web/src/config-global.ts deleted file mode 100755 index c4d4ad24d..000000000 --- a/web/src/config-global.ts +++ /dev/null @@ -1,15 +0,0 @@ -import packageJson from '../package.json'; - -// ---------------------------------------------------------------------- - -export type ConfigValue = { - appName: string; - appVersion: string; -}; - -// ---------------------------------------------------------------------- - -export const CONFIG: ConfigValue = { - appName: 'Kalicyh', - appVersion: packageJson.version, -}; diff --git a/web/src/global.css b/web/src/global.css deleted file mode 100755 index 8bd8f44a8..000000000 --- a/web/src/global.css +++ /dev/null @@ -1,56 +0,0 @@ -/** ************************************** -* Fonts: app -*************************************** */ -@import '@fontsource-variable/dm-sans'; - -@import '@fontsource/barlow/400.css'; -@import '@fontsource/barlow/500.css'; -@import '@fontsource/barlow/600.css'; -@import '@fontsource/barlow/700.css'; -@import '@fontsource/barlow/800.css'; - -/** ************************************** -* Plugins -*************************************** */ -/* scrollbar */ -@import './components/scrollbar/styles.css'; - -/* chart */ -@import './components/chart/styles.css'; - -/** ************************************** -* Baseline -*************************************** */ -html { - height: 100%; - -webkit-overflow-scrolling: touch; -} -body, -#root, -#root__layout { - display: flex; - flex: 1 1 auto; - min-height: 100%; - flex-direction: column; -} -img { - max-width: 100%; - vertical-align: middle; -} -ul { - margin: 0; - padding: 0; - list-style-type: none; -} -input[type='number'] { - -moz-appearance: textfield; - appearance: none; -} -input[type='number']::-webkit-outer-spin-button { - margin: 0; - -webkit-appearance: none; -} -input[type='number']::-webkit-inner-spin-button { - margin: 0; - -webkit-appearance: none; -} diff --git a/web/src/hooks/use-scroll-to-top.ts b/web/src/hooks/use-scroll-to-top.ts deleted file mode 100755 index af0a91fae..000000000 --- a/web/src/hooks/use-scroll-to-top.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { useEffect } from 'react'; -import { useLocation } from 'react-router-dom'; - -// ---------------------------------------------------------------------- - -export function useScrollToTop() { - const { pathname } = useLocation(); - - useEffect(() => { - window.scrollTo(0, 0); - }, [pathname]); - - return null; -} diff --git a/web/src/layouts/auth/index.ts b/web/src/layouts/auth/index.ts deleted file mode 100755 index a7173130a..000000000 --- a/web/src/layouts/auth/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './main'; - -export * from './layout'; diff --git a/web/src/layouts/auth/layout.tsx b/web/src/layouts/auth/layout.tsx deleted file mode 100755 index 49bcda255..000000000 --- a/web/src/layouts/auth/layout.tsx +++ /dev/null @@ -1,94 +0,0 @@ -import type { Theme, SxProps, Breakpoint } from '@mui/material/styles'; - -import Link from '@mui/material/Link'; -import Alert from '@mui/material/Alert'; - -import { RouterLink } from 'src/routes/components'; - -import { stylesMode } from 'src/theme/styles'; - -import { Logo } from 'src/components/logo'; - -import { Main } from './main'; -import { HeaderSection } from '../core/header-section'; -import { LayoutSection } from '../core/layout-section'; - -// ---------------------------------------------------------------------- - -export type AuthLayoutProps = { - sx?: SxProps; - children: React.ReactNode; - header?: { - sx?: SxProps; - }; -}; - -export function AuthLayout({ sx, children, header }: AuthLayoutProps) { - const layoutQuery: Breakpoint = 'md'; - - return ( - - This is an info Alert. - - ), - leftArea: , - rightArea: ( - - Need help? - - ), - }} - /> - } - /** ************************************** - * Footer - *************************************** */ - footerSection={null} - /** ************************************** - * Style - *************************************** */ - cssVars={{ '--layout-auth-content-width': '420px' }} - sx={{ - '&::before': { - width: 1, - height: 1, - zIndex: -1, - content: "''", - opacity: 0.24, - position: 'fixed', - backgroundSize: 'cover', - backgroundRepeat: 'no-repeat', - backgroundPosition: 'center center', - backgroundImage: `url(/assets/background/overlay.jpg)`, - [stylesMode.dark]: { opacity: 0.08 }, - }, - ...sx, - }} - > -
{children}
-
- ); -} diff --git a/web/src/layouts/auth/main.tsx b/web/src/layouts/auth/main.tsx deleted file mode 100755 index b8ba3cf98..000000000 --- a/web/src/layouts/auth/main.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { Breakpoint } from '@mui/material/styles'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; - -import { layoutClasses } from 'src/layouts/classes'; - -// ---------------------------------------------------------------------- - -type MainProps = BoxProps & { - layoutQuery: Breakpoint; -}; - -export function Main({ sx, children, layoutQuery, ...other }: MainProps) { - const theme = useTheme(); - - const renderContent = ( - - {children} - - ); - - return ( - - {renderContent} - - ); -} diff --git a/web/src/layouts/classes.ts b/web/src/layouts/classes.ts deleted file mode 100755 index 5ea88e798..000000000 --- a/web/src/layouts/classes.ts +++ /dev/null @@ -1,9 +0,0 @@ -// ---------------------------------------------------------------------- - -export const layoutClasses = { - root: 'layout__root', - main: 'layout__main', - header: 'layout__header', - content: 'layout__main__content', - hasSidebar: 'layout__has__sidebar', -}; diff --git a/web/src/layouts/components/account-popover.tsx b/web/src/layouts/components/account-popover.tsx deleted file mode 100755 index 995efce0a..000000000 --- a/web/src/layouts/components/account-popover.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import type { IconButtonProps } from '@mui/material/IconButton'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Button from '@mui/material/Button'; -import Avatar from '@mui/material/Avatar'; -import Popover from '@mui/material/Popover'; -import Divider from '@mui/material/Divider'; -import MenuList from '@mui/material/MenuList'; -import Typography from '@mui/material/Typography'; -import IconButton from '@mui/material/IconButton'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { useRouter, usePathname } from 'src/routes/hooks'; - -import { _myAccount } from 'src/_mock'; - -// ---------------------------------------------------------------------- - -export type AccountPopoverProps = IconButtonProps & { - data?: { - label: string; - href: string; - icon?: React.ReactNode; - info?: React.ReactNode; - }[]; -}; - -export function AccountPopover({ data = [], sx, ...other }: AccountPopoverProps) { - const router = useRouter(); - - const pathname = usePathname(); - - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - const handleClickItem = useCallback( - (path: string) => { - handleClosePopover(); - router.push(path); - }, - [handleClosePopover, router] - ); - - return ( - <> - - `conic-gradient(${theme.vars.palette.primary.light}, ${theme.vars.palette.warning.light}, ${theme.vars.palette.primary.light})`, - ...sx, - }} - {...other} - > - - {_myAccount.displayName.charAt(0).toUpperCase()} - - - - - - - {_myAccount?.displayName} - - - - {_myAccount?.email} - - - - - - - {data.map((option) => ( - handleClickItem(option.href)} - > - {option.icon} - {option.label} - - ))} - - - - - - - - - - ); -} diff --git a/web/src/layouts/components/language-popover.tsx b/web/src/layouts/components/language-popover.tsx deleted file mode 100755 index d8e654136..000000000 --- a/web/src/layouts/components/language-popover.tsx +++ /dev/null @@ -1,108 +0,0 @@ -import type { IconButtonProps } from '@mui/material/IconButton'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Popover from '@mui/material/Popover'; -import MenuList from '@mui/material/MenuList'; -import IconButton from '@mui/material/IconButton'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -// ---------------------------------------------------------------------- - -export type LanguagePopoverProps = IconButtonProps & { - data?: { - value: string; - label: string; - icon: string; - }[]; -}; - -export function LanguagePopover({ data = [], sx, ...other }: LanguagePopoverProps) { - const [locale, setLocale] = useState(data[0].value); - - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - const handleChangeLang = useCallback( - (newLang: string) => { - setLocale(newLang); - handleClosePopover(); - }, - [handleClosePopover] - ); - - const currentLang = data.find((lang) => lang.value === locale); - - const renderFlag = (label?: string, icon?: string) => ( - - ); - - return ( - <> - - {renderFlag(currentLang?.label, currentLang?.icon)} - - - - - {data?.map((option) => ( - handleChangeLang(option.value)} - > - {renderFlag(option.label, option.icon)} - {option.label} - - ))} - - - - ); -} diff --git a/web/src/layouts/components/menu-button.tsx b/web/src/layouts/components/menu-button.tsx deleted file mode 100755 index d2a65d0ea..000000000 --- a/web/src/layouts/components/menu-button.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import type { IconButtonProps } from '@mui/material/IconButton'; - -import SvgIcon from '@mui/material/SvgIcon'; -import IconButton from '@mui/material/IconButton'; - -// ---------------------------------------------------------------------- - -export function MenuButton({ sx, ...other }: IconButtonProps) { - return ( - - - - - - - - ); -} diff --git a/web/src/layouts/components/notifications-popover.tsx b/web/src/layouts/components/notifications-popover.tsx deleted file mode 100755 index 68f0f81a2..000000000 --- a/web/src/layouts/components/notifications-popover.tsx +++ /dev/null @@ -1,251 +0,0 @@ -import type { IconButtonProps } from '@mui/material/IconButton'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import List from '@mui/material/List'; -import Badge from '@mui/material/Badge'; -import Button from '@mui/material/Button'; -import Avatar from '@mui/material/Avatar'; -import Divider from '@mui/material/Divider'; -import Tooltip from '@mui/material/Tooltip'; -import Popover from '@mui/material/Popover'; -import Typography from '@mui/material/Typography'; -import IconButton from '@mui/material/IconButton'; -import ListItemText from '@mui/material/ListItemText'; -import ListSubheader from '@mui/material/ListSubheader'; -import ListItemAvatar from '@mui/material/ListItemAvatar'; -import ListItemButton from '@mui/material/ListItemButton'; - -import { fToNow } from 'src/utils/format-time'; - -import { Iconify } from 'src/components/iconify'; -import { Scrollbar } from 'src/components/scrollbar'; - -// ---------------------------------------------------------------------- - -type NotificationItemProps = { - id: string; - type: string; - title: string; - isUnRead: boolean; - description: string; - avatarUrl: string | null; - postedAt: string | number | null; -}; - -export type NotificationsPopoverProps = IconButtonProps & { - data?: NotificationItemProps[]; -}; - -export function NotificationsPopover({ data = [], sx, ...other }: NotificationsPopoverProps) { - const [notifications, setNotifications] = useState(data); - - const totalUnRead = notifications.filter((item) => item.isUnRead === true).length; - - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - const handleMarkAllAsRead = useCallback(() => { - const updatedNotifications = notifications.map((notification) => ({ - ...notification, - isUnRead: false, - })); - - setNotifications(updatedNotifications); - }, [notifications]); - - return ( - <> - - - - - - - - - - Notifications - - You have {totalUnRead} unread messages - - - - {totalUnRead > 0 && ( - - - - - - )} - - - - - - - New - - } - > - {notifications.slice(0, 2).map((notification) => ( - - ))} - - - - Before that - - } - > - {notifications.slice(2, 5).map((notification) => ( - - ))} - - - - - - - - - - - ); -} - -// ---------------------------------------------------------------------- - -function NotificationItem({ notification }: { notification: NotificationItemProps }) { - const { avatarUrl, title } = renderContent(notification); - - return ( - - - {avatarUrl} - - - - {fToNow(notification.postedAt)} - - } - /> - - ); -} - -// ---------------------------------------------------------------------- - -function renderContent(notification: NotificationItemProps) { - const title = ( - - {notification.title} - -   {notification.description} - - - ); - - if (notification.type === 'order-placed') { - return { - avatarUrl: ( - {notification.title} - ), - title, - }; - } - if (notification.type === 'order-shipped') { - return { - avatarUrl: ( - {notification.title} - ), - title, - }; - } - if (notification.type === 'mail') { - return { - avatarUrl: ( - {notification.title} - ), - title, - }; - } - if (notification.type === 'chat-message') { - return { - avatarUrl: ( - {notification.title} - ), - title, - }; - } - return { - avatarUrl: notification.avatarUrl ? ( - {notification.title} - ) : null, - title, - }; -} diff --git a/web/src/layouts/components/searchbar.tsx b/web/src/layouts/components/searchbar.tsx deleted file mode 100755 index cb75ef158..000000000 --- a/web/src/layouts/components/searchbar.tsx +++ /dev/null @@ -1,85 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Slide from '@mui/material/Slide'; -import Input from '@mui/material/Input'; -import Button from '@mui/material/Button'; -import { useTheme } from '@mui/material/styles'; -import IconButton from '@mui/material/IconButton'; -import InputAdornment from '@mui/material/InputAdornment'; -import ClickAwayListener from '@mui/material/ClickAwayListener'; - -import { bgBlur } from 'src/theme/styles'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -export function Searchbar({ sx, ...other }: BoxProps) { - const theme = useTheme(); - - const [open, setOpen] = useState(false); - - const handleOpen = useCallback(() => { - setOpen((prev) => !prev); - }, []); - - const handleClose = useCallback(() => { - setOpen(false); - }, []); - - return ( - -
- {!open && ( - - - - )} - - - - - - - } - sx={{ fontWeight: 'fontWeightBold' }} - /> - - - -
-
- ); -} diff --git a/web/src/layouts/components/workspaces-popover.tsx b/web/src/layouts/components/workspaces-popover.tsx deleted file mode 100755 index 7d86f7ec4..000000000 --- a/web/src/layouts/components/workspaces-popover.tsx +++ /dev/null @@ -1,130 +0,0 @@ -import type { ButtonBaseProps } from '@mui/material/ButtonBase'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Popover from '@mui/material/Popover'; -import MenuList from '@mui/material/MenuList'; -import ButtonBase from '@mui/material/ButtonBase'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { varAlpha } from 'src/theme/styles'; - -import { Label } from 'src/components/label'; -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -export type WorkspacesPopoverProps = ButtonBaseProps & { - data?: { - id: string; - name: string; - logo: string; - plan: string; - }[]; -}; - -export function WorkspacesPopover({ data = [], sx, ...other }: WorkspacesPopoverProps) { - const [workspace, setWorkspace] = useState(data[0]); - - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - const handleChangeWorkspace = useCallback( - (newValue: (typeof data)[number]) => { - setWorkspace(newValue); - handleClosePopover(); - }, - [handleClosePopover] - ); - - const renderAvatar = (alt: string, src: string) => ( - - ); - - const renderLabel = (plan: string) => ( - - ); - - return ( - <> - varAlpha(theme.vars.palette.grey['500Channel'], 0.08), - ...sx, - }} - {...other} - > - {renderAvatar(workspace?.name, workspace?.logo)} - - - {workspace?.name} - {renderLabel(workspace?.plan)} - - - - - - - - {data.map((option) => ( - handleChangeWorkspace(option)} - > - {renderAvatar(option.name, option.logo)} - - - {option.name} - - - {renderLabel(option.plan)} - - ))} - - - - ); -} diff --git a/web/src/layouts/config-nav-dashboard.tsx b/web/src/layouts/config-nav-dashboard.tsx deleted file mode 100755 index d80eee815..000000000 --- a/web/src/layouts/config-nav-dashboard.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { Label } from 'src/components/label'; -import { SvgColor } from 'src/components/svg-color'; - -// ---------------------------------------------------------------------- - -const icon = (name: string) => ( - -); - -export const navData = [ - { - title: 'Dashboard', - path: '/', - icon: icon('ic-analytics'), - }, - { - title: 'User', - path: '/user', - icon: icon('ic-user'), - }, - { - title: 'Product', - path: '/products', - icon: icon('ic-cart'), - info: ( - - ), - }, - { - title: 'Blog', - path: '/blog', - icon: icon('ic-blog'), - }, - { - title: 'Sign in', - path: '/sign-in', - icon: icon('ic-lock'), - }, - { - title: 'Not found', - path: '/404', - icon: icon('ic-disabled'), - }, -]; - -export const adminNavData = [ - ...navData, - { - title: 'User', - path: '/user', - icon: icon('ic-user'), - }, -]; \ No newline at end of file diff --git a/web/src/layouts/config-nav-workspace.tsx b/web/src/layouts/config-nav-workspace.tsx deleted file mode 100755 index a3bf6f136..000000000 --- a/web/src/layouts/config-nav-workspace.tsx +++ /dev/null @@ -1,22 +0,0 @@ -// ---------------------------------------------------------------------- - -export const _workspaces = [ - { - id: 'team-1', - name: 'Team 1', - logo: `/assets/icons/workspaces/logo-1.webp`, - plan: 'Free', - }, - { - id: 'team-2', - name: 'Team 2', - logo: `/assets/icons/workspaces/logo-2.webp`, - plan: 'Pro', - }, - { - id: 'team-3', - name: 'Team 3', - logo: `/assets/icons/workspaces/logo-3.webp`, - plan: 'Pro', - }, -]; diff --git a/web/src/layouts/config-vars.ts b/web/src/layouts/config-vars.ts deleted file mode 100755 index 9fcd22d26..000000000 --- a/web/src/layouts/config-vars.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { Theme } from '@mui/material/styles'; - -import { varAlpha } from 'src/theme/styles'; - -// ---------------------------------------------------------------------- - -export const baseVars = (theme: Theme) => ({ - // nav - '--layout-nav-bg': theme.vars.palette.common.white, - '--layout-nav-border-color': varAlpha(theme.vars.palette.grey['500Channel'], 0.08), - '--layout-nav-zIndex': 1101, - '--layout-nav-mobile-width': '320px', - // nav item - '--layout-nav-item-height': '44px', - '--layout-nav-item-color': theme.vars.palette.text.secondary, - '--layout-nav-item-active-color': theme.vars.palette.primary.main, - '--layout-nav-item-active-bg': varAlpha(theme.vars.palette.primary.mainChannel, 0.08), - '--layout-nav-item-hover-bg': varAlpha(theme.vars.palette.primary.mainChannel, 0.16), - // header - '--layout-header-blur': '8px', - '--layout-header-zIndex': 1100, - '--layout-header-mobile-height': '64px', - '--layout-header-desktop-height': '72px', -}); diff --git a/web/src/layouts/core/header-section.tsx b/web/src/layouts/core/header-section.tsx deleted file mode 100755 index 5b8525bfb..000000000 --- a/web/src/layouts/core/header-section.tsx +++ /dev/null @@ -1,104 +0,0 @@ -import type { Breakpoint } from '@mui/material/styles'; -import type { AppBarProps } from '@mui/material/AppBar'; -import type { ToolbarProps } from '@mui/material/Toolbar'; -import type { ContainerProps } from '@mui/material/Container'; - -import Box from '@mui/material/Box'; -import AppBar from '@mui/material/AppBar'; -import Toolbar from '@mui/material/Toolbar'; -import Container from '@mui/material/Container'; -import { useTheme } from '@mui/material/styles'; - -import { bgBlur, varAlpha } from 'src/theme/styles'; - -import { layoutClasses } from '../classes'; - -// ---------------------------------------------------------------------- - -export type HeaderSectionProps = AppBarProps & { - layoutQuery: Breakpoint; - slots?: { - leftArea?: React.ReactNode; - rightArea?: React.ReactNode; - topArea?: React.ReactNode; - centerArea?: React.ReactNode; - bottomArea?: React.ReactNode; - }; - slotProps?: { - toolbar?: ToolbarProps; - container?: ContainerProps; - }; -}; - -export function HeaderSection({ - sx, - slots, - slotProps, - layoutQuery = 'md', - ...other -}: HeaderSectionProps) { - const theme = useTheme(); - - const toolbarStyles = { - default: { - ...bgBlur({ color: varAlpha(theme.vars.palette.background.defaultChannel, 0.8) }), - minHeight: 'auto', - height: 'var(--layout-header-mobile-height)', - transition: theme.transitions.create(['height', 'background-color'], { - easing: theme.transitions.easing.easeInOut, - duration: theme.transitions.duration.shorter, - }), - [theme.breakpoints.up('sm')]: { - minHeight: 'auto', - }, - [theme.breakpoints.up(layoutQuery)]: { - height: 'var(--layout-header-desktop-height)', - }, - }, - }; - - return ( - - {slots?.topArea} - - - - {slots?.leftArea} - - - {slots?.centerArea} - - - {slots?.rightArea} - - - - {slots?.bottomArea} - - ); -} diff --git a/web/src/layouts/core/layout-section.tsx b/web/src/layouts/core/layout-section.tsx deleted file mode 100755 index 000daa4ef..000000000 --- a/web/src/layouts/core/layout-section.tsx +++ /dev/null @@ -1,61 +0,0 @@ -import type { Theme, SxProps, CSSObject } from '@mui/material/styles'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; -import GlobalStyles from '@mui/material/GlobalStyles'; - -import { baseVars } from '../config-vars'; -import { layoutClasses } from '../classes'; - -// ---------------------------------------------------------------------- - -export type LayoutSectionProps = { - sx?: SxProps; - cssVars?: CSSObject; - children?: React.ReactNode; - footerSection?: React.ReactNode; - headerSection?: React.ReactNode; - sidebarSection?: React.ReactNode; -}; - -export function LayoutSection({ - sx, - cssVars, - children, - footerSection, - headerSection, - sidebarSection, -}: LayoutSectionProps) { - const theme = useTheme(); - - const inputGlobalStyles = ( - - ); - - return ( - <> - {inputGlobalStyles} - - - {sidebarSection} - - {headerSection} - {children} - {footerSection} - - - - ); -} diff --git a/web/src/layouts/dashboard/index.ts b/web/src/layouts/dashboard/index.ts deleted file mode 100755 index a7173130a..000000000 --- a/web/src/layouts/dashboard/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './main'; - -export * from './layout'; diff --git a/web/src/layouts/dashboard/layout.tsx b/web/src/layouts/dashboard/layout.tsx deleted file mode 100755 index 281305821..000000000 --- a/web/src/layouts/dashboard/layout.tsx +++ /dev/null @@ -1,141 +0,0 @@ -import type { Theme, SxProps, Breakpoint } from '@mui/material/styles'; - -import { useState } from 'react'; - -import Box from '@mui/material/Box'; -import Alert from '@mui/material/Alert'; -import { useTheme } from '@mui/material/styles'; - -import { _langs, _notifications } from 'src/_mock'; - -import { Iconify } from 'src/components/iconify'; - -import { Main } from './main'; -import { layoutClasses } from '../classes'; -import { NavMobile, NavDesktop } from './nav'; -import { navData } from '../config-nav-dashboard'; -import { Searchbar } from '../components/searchbar'; -import { _workspaces } from '../config-nav-workspace'; -import { MenuButton } from '../components/menu-button'; -import { LayoutSection } from '../core/layout-section'; -import { HeaderSection } from '../core/header-section'; -import { AccountPopover } from '../components/account-popover'; -import { LanguagePopover } from '../components/language-popover'; -import { NotificationsPopover } from '../components/notifications-popover'; - -// ---------------------------------------------------------------------- - -export type DashboardLayoutProps = { - sx?: SxProps; - children: React.ReactNode; - header?: { - sx?: SxProps; - }; -}; - -export function DashboardLayout({ sx, children, header }: DashboardLayoutProps) { - const theme = useTheme(); - - const [navOpen, setNavOpen] = useState(false); - - const layoutQuery: Breakpoint = 'lg'; - - return ( - - This is an info Alert. - - ), - leftArea: ( - <> - setNavOpen(true)} - sx={{ - ml: -1, - [theme.breakpoints.up(layoutQuery)]: { display: 'none' }, - }} - /> - setNavOpen(false)} - workspaces={_workspaces} - /> - - ), - rightArea: ( - - - - - , - }, - { - label: 'Profile', - href: '#', - icon: , - }, - { - label: 'Settings', - href: '#', - icon: , - }, - ]} - /> - - ), - }} - /> - } - /** ************************************** - * Sidebar - *************************************** */ - sidebarSection={ - - } - /** ************************************** - * Footer - *************************************** */ - footerSection={null} - /** ************************************** - * Style - *************************************** */ - cssVars={{ - '--layout-nav-vertical-width': '300px', - '--layout-dashboard-content-pt': theme.spacing(1), - '--layout-dashboard-content-pb': theme.spacing(8), - '--layout-dashboard-content-px': theme.spacing(5), - }} - sx={{ - [`& .${layoutClasses.hasSidebar}`]: { - [theme.breakpoints.up(layoutQuery)]: { - pl: 'var(--layout-nav-vertical-width)', - }, - }, - ...sx, - }} - > -
{children}
-
- ); -} diff --git a/web/src/layouts/dashboard/main.tsx b/web/src/layouts/dashboard/main.tsx deleted file mode 100755 index 195552611..000000000 --- a/web/src/layouts/dashboard/main.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { Breakpoint } from '@mui/material/styles'; -import type { ContainerProps } from '@mui/material/Container'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; -import Container from '@mui/material/Container'; - -import { layoutClasses } from 'src/layouts/classes'; - -// ---------------------------------------------------------------------- - -export function Main({ children, sx, ...other }: BoxProps) { - return ( - - {children} - - ); -} - -// ---------------------------------------------------------------------- - -type DashboardContentProps = ContainerProps & { - disablePadding?: boolean; -}; - -export function DashboardContent({ - sx, - children, - disablePadding, - maxWidth = 'xl', - ...other -}: DashboardContentProps) { - const theme = useTheme(); - - const layoutQuery: Breakpoint = 'lg'; - - return ( - - {children} - - ); -} diff --git a/web/src/layouts/dashboard/nav.tsx b/web/src/layouts/dashboard/nav.tsx deleted file mode 100755 index a433108ab..000000000 --- a/web/src/layouts/dashboard/nav.tsx +++ /dev/null @@ -1,179 +0,0 @@ -import type { Theme, SxProps, Breakpoint } from '@mui/material/styles'; - -import { useEffect } from 'react'; - -import Box from '@mui/material/Box'; -import ListItem from '@mui/material/ListItem'; -import { useTheme } from '@mui/material/styles'; -import ListItemButton from '@mui/material/ListItemButton'; -import Drawer, { drawerClasses } from '@mui/material/Drawer'; - -import { usePathname } from 'src/routes/hooks'; -import { RouterLink } from 'src/routes/components'; - -import { varAlpha } from 'src/theme/styles'; - -import { Logo } from 'src/components/logo'; -import { Scrollbar } from 'src/components/scrollbar'; - -import { WorkspacesPopover } from '../components/workspaces-popover'; - -import type { WorkspacesPopoverProps } from '../components/workspaces-popover'; - -// ---------------------------------------------------------------------- - -export type NavContentProps = { - data: { - path: string; - title: string; - icon: React.ReactNode; - info?: React.ReactNode; - }[]; - slots?: { - topArea?: React.ReactNode; - bottomArea?: React.ReactNode; - }; - workspaces: WorkspacesPopoverProps['data']; - sx?: SxProps; -}; - -export function NavDesktop({ - sx, - data, - slots, - workspaces, - layoutQuery, -}: NavContentProps & { layoutQuery: Breakpoint }) { - const theme = useTheme(); - - return ( - - - - ); -} - -// ---------------------------------------------------------------------- - -export function NavMobile({ - sx, - data, - open, - slots, - onClose, - workspaces, -}: NavContentProps & { open: boolean; onClose: () => void }) { - const pathname = usePathname(); - - useEffect(() => { - if (open) { - onClose(); - } - }, [pathname]); - - return ( - - - - ); -} - -// ---------------------------------------------------------------------- - -export function NavContent({ data, slots, workspaces, sx }: NavContentProps) { - const pathname = usePathname(); - - return ( - <> - - - {slots?.topArea} - - - - - - - {data.map((item) => { - const isActived = item.path === pathname; - - return ( - - - - {item.icon} - - - - {item.title} - - - {item.info && item.info} - - - ); - })} - - - - - {slots?.bottomArea} - - - ); -} diff --git a/web/src/layouts/simple/index.ts b/web/src/layouts/simple/index.ts deleted file mode 100755 index a7173130a..000000000 --- a/web/src/layouts/simple/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './main'; - -export * from './layout'; diff --git a/web/src/layouts/simple/layout.tsx b/web/src/layouts/simple/layout.tsx deleted file mode 100755 index 23ba737d9..000000000 --- a/web/src/layouts/simple/layout.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import type { Theme, SxProps, Breakpoint } from '@mui/material/styles'; - -import Link from '@mui/material/Link'; -import Alert from '@mui/material/Alert'; - -import { RouterLink } from 'src/routes/components'; - -import { Logo } from 'src/components/logo'; - -import { Main, CompactContent } from './main'; -import { LayoutSection } from '../core/layout-section'; -import { HeaderSection } from '../core/header-section'; - -// ---------------------------------------------------------------------- - -export type SimpleLayoutProps = { - sx?: SxProps; - children: React.ReactNode; - header?: { - sx?: SxProps; - }; - content?: { - compact?: boolean; - }; -}; - -export function SimpleLayout({ sx, children, header, content }: SimpleLayoutProps) { - const layoutQuery: Breakpoint = 'md'; - - return ( - - This is an info Alert. - - ), - leftArea: , - rightArea: ( - - Need help? - - ), - }} - /> - } - /** ************************************** - * Footer - *************************************** */ - footerSection={null} - /** ************************************** - * Style - *************************************** */ - cssVars={{ - '--layout-simple-content-compact-width': '448px', - }} - sx={sx} - > -
- {content?.compact ? ( - {children} - ) : ( - children - )} -
-
- ); -} diff --git a/web/src/layouts/simple/main.tsx b/web/src/layouts/simple/main.tsx deleted file mode 100755 index 544a7826e..000000000 --- a/web/src/layouts/simple/main.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { Breakpoint } from '@mui/material/styles'; - -import Box from '@mui/material/Box'; -import { useTheme } from '@mui/material/styles'; - -import { layoutClasses } from '../classes'; - -// ---------------------------------------------------------------------- - -export function Main({ children, sx, ...other }: BoxProps) { - return ( - - {children} - - ); -} - -// ---------------------------------------------------------------------- - -export function CompactContent({ - sx, - layoutQuery, - children, - ...other -}: BoxProps & { layoutQuery: Breakpoint }) { - const theme = useTheme(); - - return ( - - {children} - - ); -} diff --git a/web/src/main.tsx b/web/src/main.tsx deleted file mode 100755 index fad342161..000000000 --- a/web/src/main.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import ReactDOM from 'react-dom/client'; -import { Suspense, StrictMode } from 'react'; -import { BrowserRouter } from 'react-router-dom'; -import { HelmetProvider } from 'react-helmet-async'; -import { Toaster } from 'sonner'; -import { AuthProvider } from './sections/auth/AuthContext'; - -import App from './app'; - -// ---------------------------------------------------------------------- - -const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); - -root.render( - - - - Loading...}> - - - - - - - - -); diff --git a/web/src/pages/blog.tsx b/web/src/pages/blog.tsx deleted file mode 100755 index 8fc70636f..000000000 --- a/web/src/pages/blog.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { BlogView } from 'src/sections/blog/view'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Blog - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/pages/home.tsx b/web/src/pages/home.tsx deleted file mode 100755 index 53838c922..000000000 --- a/web/src/pages/home.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { OverviewAnalyticsView } from 'src/sections/overview/view'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Dashboard - ${CONFIG.appName}`} - - - - - - - ); -} diff --git a/web/src/pages/page-not-found.tsx b/web/src/pages/page-not-found.tsx deleted file mode 100755 index afffe01ae..000000000 --- a/web/src/pages/page-not-found.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { NotFoundView } from 'src/sections/error'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`404 page not found! | Error - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/pages/products.tsx b/web/src/pages/products.tsx deleted file mode 100755 index f5eb29049..000000000 --- a/web/src/pages/products.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { ProductsView } from 'src/sections/product/view'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Products - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/pages/register.tsx b/web/src/pages/register.tsx deleted file mode 100644 index 9ce81a4c0..000000000 --- a/web/src/pages/register.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { SignUpView } from 'src/sections/auth'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Sign in - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/pages/sign-in.tsx b/web/src/pages/sign-in.tsx deleted file mode 100755 index 20f76057f..000000000 --- a/web/src/pages/sign-in.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { SignInView } from 'src/sections/auth'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Sign in - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/pages/user.tsx b/web/src/pages/user.tsx deleted file mode 100755 index f9b41608a..000000000 --- a/web/src/pages/user.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Helmet } from 'react-helmet-async'; - -import { CONFIG } from 'src/config-global'; - -import { UserView } from 'src/sections/user/view'; - -// ---------------------------------------------------------------------- - -export default function Page() { - return ( - <> - - {`Users - ${CONFIG.appName}`} - - - - - ); -} diff --git a/web/src/routes/components/index.ts b/web/src/routes/components/index.ts deleted file mode 100755 index 587f0afe9..000000000 --- a/web/src/routes/components/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './router-link'; diff --git a/web/src/routes/components/router-link.tsx b/web/src/routes/components/router-link.tsx deleted file mode 100755 index e4a600cdc..000000000 --- a/web/src/routes/components/router-link.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import type { LinkProps } from 'react-router-dom'; - -import { forwardRef } from 'react'; -import { Link } from 'react-router-dom'; - -// ---------------------------------------------------------------------- - -interface RouterLinkProps extends Omit { - href: string; -} - -export const RouterLink = forwardRef( - ({ href, ...other }, ref) => -); diff --git a/web/src/routes/hooks/index.ts b/web/src/routes/hooks/index.ts deleted file mode 100755 index 03b735171..000000000 --- a/web/src/routes/hooks/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { useRouter } from './use-router'; - -export { usePathname } from './use-pathname'; diff --git a/web/src/routes/hooks/use-pathname.ts b/web/src/routes/hooks/use-pathname.ts deleted file mode 100755 index 6e96c241e..000000000 --- a/web/src/routes/hooks/use-pathname.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { useMemo } from 'react'; -import { useLocation } from 'react-router-dom'; - -// ---------------------------------------------------------------------- - -export function usePathname() { - const { pathname } = useLocation(); - - return useMemo(() => pathname, [pathname]); -} diff --git a/web/src/routes/hooks/use-router.ts b/web/src/routes/hooks/use-router.ts deleted file mode 100755 index 2925a778a..000000000 --- a/web/src/routes/hooks/use-router.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { useMemo } from 'react'; -import { useNavigate } from 'react-router-dom'; - -// ---------------------------------------------------------------------- - -export function useRouter() { - const navigate = useNavigate(); - - const router = useMemo( - () => ({ - back: () => navigate(-1), - forward: () => navigate(1), - refresh: () => navigate(0), - push: (href: string) => navigate(href), - replace: (href: string) => navigate(href, { replace: true }), - }), - [navigate] - ); - - return router; -} diff --git a/web/src/routes/sections.tsx b/web/src/routes/sections.tsx deleted file mode 100755 index 31de35a60..000000000 --- a/web/src/routes/sections.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import { lazy, Suspense } from 'react'; -import { Outlet, Navigate, useRoutes } from 'react-router-dom'; - -import Box from '@mui/material/Box'; -import LinearProgress, { linearProgressClasses } from '@mui/material/LinearProgress'; - -import { varAlpha } from 'src/theme/styles'; -import { AuthLayout } from 'src/layouts/auth'; -import { DashboardLayout } from 'src/layouts/dashboard'; - -// ---------------------------------------------------------------------- - -export const HomePage = lazy(() => import('src/pages/home')); -export const BlogPage = lazy(() => import('src/pages/blog')); -export const UserPage = lazy(() => import('src/pages/user')); -export const SignInPage = lazy(() => import('src/pages/sign-in')); -export const SignUpPage = lazy(() => import('src/pages/register')); -export const ProductsPage = lazy(() => import('src/pages/products')); -export const Page404 = lazy(() => import('src/pages/page-not-found')); - -// ---------------------------------------------------------------------- - -const renderFallback = ( - - varAlpha(theme.vars.palette.text.primaryChannel, 0.16), - [`& .${linearProgressClasses.bar}`]: { bgcolor: 'text.primary' }, - }} - /> - -); - -export function Router() { - return useRoutes([ - { - element: ( - - - - - - ), - children: [ - { element: , index: true }, - { path: 'user', element: }, - { path: 'products', element: }, - { path: 'blog', element: }, - ], - }, - { - path: 'sign-in', - element: ( - - - - ), - }, - { - path: 'register', - element: ( - - - - ), - }, - { - path: '404', - element: , - }, - { - path: '*', - element: , - }, - ]); -} diff --git a/web/src/sections/auth/AuthContext.tsx b/web/src/sections/auth/AuthContext.tsx deleted file mode 100644 index 72999c254..000000000 --- a/web/src/sections/auth/AuthContext.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import React, { createContext, useState, useEffect, ReactNode } from 'react'; -import axios from 'axios'; - -const baseUrl = import.meta.env.VITE_BASE_URL; - -interface AuthContextProps { - isAdmin: boolean; - fetchUserRole: () => void; -} - -interface AuthProviderProps { - children: ReactNode; -} - -const AuthContext = createContext(undefined); - -const getIsAdmin = async (): Promise => { - const token = localStorage.getItem('token'); - if (!token) return false; - - try { - const response = await axios.get(`${baseUrl}/api/v1/admin/check`, { - headers: { - Authorization: `Bearer ${token}`, - }, - }); - return response.data.isAdmin; - } catch (error) { - console.error('Error checking admin status:', error); - return false; - } -}; - -export const AuthProvider: React.FC = ({ children }) => { - const [isAdmin, setIsAdmin] = useState(false); - - const fetchUserRole = async () => { - const adminStatus = await getIsAdmin(); - setIsAdmin(adminStatus); - }; - - useEffect(() => { - fetchUserRole(); - }, []); - - return ( - - {children} - - ); -}; - -export const useAuth = (): AuthContextProps => { - const context = React.useContext(AuthContext); - if (!context) { - throw new Error('useAuth must be used within an AuthProvider'); - } - return context; -}; diff --git a/web/src/sections/auth/index.ts b/web/src/sections/auth/index.ts deleted file mode 100755 index 905e55473..000000000 --- a/web/src/sections/auth/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './sign-in-view'; -export * from './register'; diff --git a/web/src/sections/auth/register.tsx b/web/src/sections/auth/register.tsx deleted file mode 100755 index ec3e4e90f..000000000 --- a/web/src/sections/auth/register.tsx +++ /dev/null @@ -1,99 +0,0 @@ -import { useState } from 'react'; -import Box from '@mui/material/Box'; -import Link from '@mui/material/Link'; -import Divider from '@mui/material/Divider'; -import TextField from '@mui/material/TextField'; -import IconButton from '@mui/material/IconButton'; -import Typography from '@mui/material/Typography'; -import LoadingButton from '@mui/lab/LoadingButton'; -import InputAdornment from '@mui/material/InputAdornment'; -import { useRouter } from 'src/routes/hooks'; -import { Iconify } from 'src/components/iconify'; -import { toast } from 'sonner' - -export function SignUpView() { - const router = useRouter(); - const [showPassword, setShowPassword] = useState(false); - const [loading, setLoading] = useState(false); - const [username, setUsername] = useState(''); - const [password, setPassword] = useState(''); - - const baseUrl = import.meta.env.VITE_BASE_URL; - - const handleSignUp = async () => { - setLoading(true); - try { - const response = await fetch(`${baseUrl}/api/v1/user/register`, { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - 'Accept': 'application/json', - }, - body: JSON.stringify({ username, password }) - }); - - const data = await response.json(); - if (response.ok) { - toast.success('注册成功 🎉') - router.push('/sign-in'); - } else { - toast.error('用户名已存在!') - } - } catch (error) { - toast.warning('请求错误:'+ error) - } - setLoading(false); - }; - - return ( - <> - - 注册个账号?🤔 - - - - setUsername(e.target.value)} - slotProps={{ inputLabel: { shrink: true } }} - sx={{ mb: 3 }} - /> - - setPassword(e.target.value)} - slotProps={{ inputLabel: { shrink: true } }} - type={showPassword ? 'text' : 'password'} - InputProps={{ - endAdornment: ( - - setShowPassword(!showPassword)} edge="end"> - - - - ), - }} - sx={{ mb: 3 }} - /> - - - 提交 - - - - ); -} diff --git a/web/src/sections/auth/sign-in-view.tsx b/web/src/sections/auth/sign-in-view.tsx deleted file mode 100755 index 00c7957bd..000000000 --- a/web/src/sections/auth/sign-in-view.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import { useState } from 'react'; -import Box from '@mui/material/Box'; -import Link from '@mui/material/Link'; -import Divider from '@mui/material/Divider'; -import TextField from '@mui/material/TextField'; -import IconButton from '@mui/material/IconButton'; -import Typography from '@mui/material/Typography'; -import LoadingButton from '@mui/lab/LoadingButton'; -import InputAdornment from '@mui/material/InputAdornment'; -import { useRouter } from 'src/routes/hooks'; -import { Iconify } from 'src/components/iconify'; -import { toast } from 'sonner'; -import axios from 'axios'; - -export function SignInView() { - const router = useRouter(); - const [showPassword, setShowPassword] = useState(false); - const [loading, setLoading] = useState(false); - const [username, setUsername] = useState(''); - const [password, setPassword] = useState(''); - - const baseUrl = import.meta.env.VITE_BASE_URL; - - const handleSignIn = async () => { - setLoading(true); - try { - const formData = new URLSearchParams(); - formData.append('grant_type', 'password'); - formData.append('username', username); - formData.append('password', password); - formData.append('scope', ''); - formData.append('client_id', ''); - formData.append('client_secret', ''); - - const response = await axios.post(`${baseUrl}/api/v1/user/login`, formData.toString(), { - headers: { - 'Content-Type': 'application/x-www-form-urlencoded', - 'Accept': 'application/json', - }, - }); - - if (response.status === 200) { - const { access_token } = response.data; - localStorage.setItem('access_token', access_token); - toast.success('登录成功 🎉'); - router.push('/'); - } else { - toast.error('登录失败,请检查用户名和密码'); - } - } catch (error) { - if (axios.isAxiosError(error) && error.response) { - if (error.response.status === 401) { - toast.error('登录失败,请检查用户名和密码'); - } else { - toast.warning(`请求错误:${error.response.status} - ${error.response.data?.message || '未知错误'}`); - } - } else { - toast.warning('请求失败,请检查网络连接'); - } - } - setLoading(false); - }; - - return ( - <> - - 登录 - - 还没有账号? - 立即注册 - - - - - setUsername(e.target.value)} - slotProps={{ inputLabel: { shrink: true } }} - sx={{ mb: 3 }} - /> - - 忘记密码? - - setPassword(e.target.value)} - slotProps={{ inputLabel: { shrink: true } }} - type={showPassword ? 'text' : 'password'} - InputProps={{ - endAdornment: ( - - setShowPassword(!showPassword)} edge="end"> - - - - ), - }} - sx={{ mb: 3 }} - /> - - - 登录 - - - - - - 或者 - - - - - - - - - - - - - - - - ); -} diff --git a/web/src/sections/blog/post-item.tsx b/web/src/sections/blog/post-item.tsx deleted file mode 100755 index cb703dd36..000000000 --- a/web/src/sections/blog/post-item.tsx +++ /dev/null @@ -1,210 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; - -import Box from '@mui/material/Box'; -import Link from '@mui/material/Link'; -import Card from '@mui/material/Card'; -import Avatar from '@mui/material/Avatar'; -import Typography from '@mui/material/Typography'; - -import { fDate } from 'src/utils/format-time'; -import { fShortenNumber } from 'src/utils/format-number'; - -import { varAlpha } from 'src/theme/styles'; - -import { Iconify } from 'src/components/iconify'; -import { SvgColor } from 'src/components/svg-color'; - -// ---------------------------------------------------------------------- - -export type PostItemProps = { - id: string; - title: string; - coverUrl: string; - totalViews: number; - description: string; - totalShares: number; - totalComments: number; - totalFavorites: number; - postedAt: string | number | null; - author: { - name: string; - avatarUrl: string; - }; -}; - -export function PostItem({ - sx, - post, - latestPost, - latestPostLarge, - ...other -}: CardProps & { - post: PostItemProps; - latestPost: boolean; - latestPostLarge: boolean; -}) { - const renderAvatar = ( - - ); - - const renderTitle = ( - - {post.title} - - ); - - const renderInfo = ( - - {[ - { number: post.totalComments, icon: 'solar:chat-round-dots-bold' }, - { number: post.totalViews, icon: 'solar:eye-bold' }, - { number: post.totalShares, icon: 'solar:share-bold' }, - ].map((info, _index) => ( - - - {fShortenNumber(info.number)} - - ))} - - ); - - const renderCover = ( - - ); - - const renderDate = ( - - {fDate(post.postedAt)} - - ); - - const renderShape = ( - - ); - - return ( - - ({ - position: 'relative', - pt: 'calc(100% * 3 / 4)', - ...((latestPostLarge || latestPost) && { - pt: 'calc(100% * 4 / 3)', - '&:after': { - top: 0, - content: "''", - width: '100%', - height: '100%', - position: 'absolute', - bgcolor: varAlpha(theme.palette.grey['900Channel'], 0.72), - }, - }), - ...(latestPostLarge && { - pt: { - xs: 'calc(100% * 4 / 3)', - sm: 'calc(100% * 3 / 4.66)', - }, - }), - })} - > - {renderShape} - {renderAvatar} - {renderCover} - - - ({ - p: theme.spacing(6, 3, 3, 3), - ...((latestPostLarge || latestPost) && { - width: 1, - bottom: 0, - position: 'absolute', - }), - })} - > - {renderDate} - {renderTitle} - {renderInfo} - - - ); -} diff --git a/web/src/sections/blog/post-search.tsx b/web/src/sections/blog/post-search.tsx deleted file mode 100755 index af620a0d9..000000000 --- a/web/src/sections/blog/post-search.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import type { Theme, SxProps } from '@mui/material/styles'; - -import TextField from '@mui/material/TextField'; -import InputAdornment from '@mui/material/InputAdornment'; -import Autocomplete, { autocompleteClasses } from '@mui/material/Autocomplete'; - -import { Iconify } from 'src/components/iconify'; - -import type { PostItemProps } from './post-item'; - -// ---------------------------------------------------------------------- - -type PostSearchProps = { - posts: PostItemProps[]; - sx?: SxProps; -}; - -export function PostSearch({ posts, sx }: PostSearchProps) { - return ( - post.title} - isOptionEqualToValue={(option, value) => option.id === value.id} - renderInput={(params) => ( - - - - ), - }} - /> - )} - /> - ); -} diff --git a/web/src/sections/blog/post-sort.tsx b/web/src/sections/blog/post-sort.tsx deleted file mode 100755 index ce7e03f65..000000000 --- a/web/src/sections/blog/post-sort.tsx +++ /dev/null @@ -1,95 +0,0 @@ -import type { ButtonProps } from '@mui/material/Button'; - -import { useState, useCallback } from 'react'; - -import Button from '@mui/material/Button'; -import Popover from '@mui/material/Popover'; -import MenuList from '@mui/material/MenuList'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { varAlpha } from 'src/theme/styles'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -type PostSortProps = ButtonProps & { - sortBy: string; - onSort: (newSort: string) => void; - options: { value: string; label: string }[]; -}; - -export function PostSort({ options, sortBy, onSort, sx, ...other }: PostSortProps) { - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - return ( - <> - - - - - {options.map((option) => ( - { - onSort(option.value); - handleClosePopover(); - }} - > - {option.label} - - ))} - - - - ); -} diff --git a/web/src/sections/blog/view/blog-view.tsx b/web/src/sections/blog/view/blog-view.tsx deleted file mode 100755 index 5e324d103..000000000 --- a/web/src/sections/blog/view/blog-view.tsx +++ /dev/null @@ -1,71 +0,0 @@ -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Button from '@mui/material/Button'; -import Grid from '@mui/material/Grid2'; -import Typography from '@mui/material/Typography'; -import Pagination from '@mui/material/Pagination'; - -import { _posts } from 'src/_mock'; -import { DashboardContent } from 'src/layouts/dashboard'; - -import { Iconify } from 'src/components/iconify'; - -import { PostItem } from '../post-item'; -import { PostSort } from '../post-sort'; -import { PostSearch } from '../post-search'; - -// ---------------------------------------------------------------------- - -export function BlogView() { - const [sortBy, setSortBy] = useState('latest'); - - const handleSort = useCallback((newSort: string) => { - setSortBy(newSort); - }, []); - - return ( - - - - Blog - - - - - - - - - - - {_posts.map((post, index) => { - const latestPostLarge = index === 0; - const latestPost = index === 1 || index === 2; - - return ( - - - - ); - })} - - - - - ); -} diff --git a/web/src/sections/blog/view/index.ts b/web/src/sections/blog/view/index.ts deleted file mode 100755 index f7cb1c6ad..000000000 --- a/web/src/sections/blog/view/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './blog-view'; diff --git a/web/src/sections/error/index.ts b/web/src/sections/error/index.ts deleted file mode 100755 index f64297290..000000000 --- a/web/src/sections/error/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './not-found-view'; diff --git a/web/src/sections/error/not-found-view.tsx b/web/src/sections/error/not-found-view.tsx deleted file mode 100755 index 472413d2f..000000000 --- a/web/src/sections/error/not-found-view.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import Box from '@mui/material/Box'; -import Button from '@mui/material/Button'; -import Container from '@mui/material/Container'; -import Typography from '@mui/material/Typography'; - -import { RouterLink } from 'src/routes/components'; - -import { SimpleLayout } from 'src/layouts/simple'; - -// ---------------------------------------------------------------------- - -export function NotFoundView() { - return ( - - - - Sorry, page not found! - - - - Sorry, we couldn’t find the page you’re looking for. Perhaps you’ve mistyped the URL? Be - sure to check your spelling. - - - - - - - - ); -} diff --git a/web/src/sections/overview/analytics-conversion-rates.tsx b/web/src/sections/overview/analytics-conversion-rates.tsx deleted file mode 100755 index f9b1869a7..000000000 --- a/web/src/sections/overview/analytics-conversion-rates.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { ChartOptions } from 'src/components/chart'; - -import Card from '@mui/material/Card'; -import CardHeader from '@mui/material/CardHeader'; -import { useTheme, alpha as hexAlpha } from '@mui/material/styles'; - -import { fNumber } from 'src/utils/format-number'; - -import { Chart, useChart } from 'src/components/chart'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - chart: { - colors?: string[]; - categories?: string[]; - series: { - name: string; - data: number[]; - }[]; - options?: ChartOptions; - }; -}; - -export function AnalyticsConversionRates({ title, subheader, chart, ...other }: Props) { - const theme = useTheme(); - - const chartColors = chart.colors ?? [ - theme.palette.primary.dark, - hexAlpha(theme.palette.primary.dark, 0.24), - ]; - - const chartOptions = useChart({ - colors: chartColors, - stroke: { width: 2, colors: ['transparent'] }, - tooltip: { - shared: true, - intersect: false, - y: { - formatter: (value: number) => fNumber(value), - title: { formatter: (seriesName: string) => `${seriesName}: ` }, - }, - }, - xaxis: { categories: chart.categories }, - dataLabels: { - enabled: true, - offsetX: -6, - style: { fontSize: '10px', colors: ['#FFFFFF', theme.palette.text.primary] }, - }, - plotOptions: { - bar: { - horizontal: true, - borderRadius: 2, - barHeight: '48%', - dataLabels: { position: 'top' }, - }, - }, - ...chart.options, - }); - - return ( - - - - - - ); -} diff --git a/web/src/sections/overview/analytics-current-subject.tsx b/web/src/sections/overview/analytics-current-subject.tsx deleted file mode 100755 index dbb632fbb..000000000 --- a/web/src/sections/overview/analytics-current-subject.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { ChartOptions } from 'src/components/chart'; - -import Card from '@mui/material/Card'; -import Divider from '@mui/material/Divider'; -import { useTheme } from '@mui/material/styles'; -import CardHeader from '@mui/material/CardHeader'; - -import { Chart, useChart, ChartLegends } from 'src/components/chart'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - chart: { - colors?: string[]; - categories: string[]; - series: { - name: string; - data: number[]; - }[]; - options?: ChartOptions; - }; -}; - -export function AnalyticsCurrentSubject({ title, subheader, chart, ...other }: Props) { - const theme = useTheme(); - - const chartColors = chart.colors ?? [ - theme.palette.primary.main, - theme.palette.warning.main, - theme.palette.info.main, - ]; - - const chartOptions = useChart({ - colors: chartColors, - stroke: { width: 2 }, - fill: { opacity: 0.48 }, - xaxis: { - categories: chart.categories, - labels: { style: { colors: [...Array(6)].map(() => theme.palette.text.secondary) } }, - }, - ...chart.options, - }); - - return ( - - - - - - - - item.name)} - colors={chartOptions?.colors} - sx={{ p: 3, justifyContent: 'center' }} - /> - - ); -} diff --git a/web/src/sections/overview/analytics-current-visits.tsx b/web/src/sections/overview/analytics-current-visits.tsx deleted file mode 100755 index e8ff763cd..000000000 --- a/web/src/sections/overview/analytics-current-visits.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { ChartOptions } from 'src/components/chart'; - -import Card from '@mui/material/Card'; -import Divider from '@mui/material/Divider'; -import { useTheme } from '@mui/material/styles'; -import CardHeader from '@mui/material/CardHeader'; - -import { fNumber } from 'src/utils/format-number'; - -import { Chart, useChart, ChartLegends } from 'src/components/chart'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - chart: { - colors?: string[]; - series: { - label: string; - value: number; - }[]; - options?: ChartOptions; - }; -}; - -export function AnalyticsCurrentVisits({ title, subheader, chart, ...other }: Props) { - const theme = useTheme(); - - const chartSeries = chart.series.map((item) => item.value); - - const chartColors = chart.colors ?? [ - theme.palette.primary.main, - theme.palette.warning.main, - theme.palette.secondary.dark, - theme.palette.error.main, - ]; - - const chartOptions = useChart({ - chart: { sparkline: { enabled: true } }, - colors: chartColors, - labels: chart.series.map((item) => item.label), - stroke: { width: 0 }, - dataLabels: { enabled: true, dropShadow: { enabled: false } }, - tooltip: { - y: { - formatter: (value: number) => fNumber(value), - title: { formatter: (seriesName: string) => `${seriesName}` }, - }, - }, - plotOptions: { pie: { donut: { labels: { show: false } } } }, - ...chart.options, - }); - - return ( - - - - - - - - - - ); -} diff --git a/web/src/sections/overview/analytics-news.tsx b/web/src/sections/overview/analytics-news.tsx deleted file mode 100755 index d2e2c4833..000000000 --- a/web/src/sections/overview/analytics-news.tsx +++ /dev/null @@ -1,87 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { CardProps } from '@mui/material/Card'; - -import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import Button from '@mui/material/Button'; -import Avatar from '@mui/material/Avatar'; -import CardHeader from '@mui/material/CardHeader'; -import ListItemText from '@mui/material/ListItemText'; - -import { fToNow } from 'src/utils/format-time'; - -import { Iconify } from 'src/components/iconify'; -import { Scrollbar } from 'src/components/scrollbar'; - -import type { PostItemProps } from '../blog/post-item'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - list: PostItemProps[]; -}; - -export function AnalyticsNews({ title, subheader, list, ...other }: Props) { - return ( - - - - - - {list.map((post) => ( - - ))} - - - - - - - - ); -} - -// ---------------------------------------------------------------------- - -function PostItem({ sx, item, ...other }: BoxProps & { item: Props['list'][number] }) { - return ( - `dashed 1px ${theme.vars.palette.divider}`, - ...sx, - }} - {...other} - > - - - - - - {fToNow(item.postedAt)} - - - ); -} diff --git a/web/src/sections/overview/analytics-order-timeline.tsx b/web/src/sections/overview/analytics-order-timeline.tsx deleted file mode 100755 index d893f5229..000000000 --- a/web/src/sections/overview/analytics-order-timeline.tsx +++ /dev/null @@ -1,84 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { TimelineItemProps } from '@mui/lab/TimelineItem'; - -import Card from '@mui/material/Card'; -import Timeline from '@mui/lab/Timeline'; -import TimelineDot from '@mui/lab/TimelineDot'; -import Typography from '@mui/material/Typography'; -import CardHeader from '@mui/material/CardHeader'; -import TimelineContent from '@mui/lab/TimelineContent'; -import TimelineSeparator from '@mui/lab/TimelineSeparator'; -import TimelineConnector from '@mui/lab/TimelineConnector'; -import TimelineItem, { timelineItemClasses } from '@mui/lab/TimelineItem'; - -import { fDateTime } from 'src/utils/format-time'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - list: { - id: string; - type: string; - title: string; - time: string | number | null; - }[]; -}; - -export function AnalyticsOrderTimeline({ title, subheader, list, ...other }: Props) { - return ( - - - - - {list.map((item, index) => ( - - ))} - - - ); -} - -// ---------------------------------------------------------------------- - -type ItemProps = TimelineItemProps & { - lastItem: boolean; - item: Props['list'][number]; -}; - -function Item({ item, lastItem, ...other }: ItemProps) { - return ( - - - - {lastItem ? null : } - - - - {item.title} - - - {fDateTime(item.time)} - - - - ); -} diff --git a/web/src/sections/overview/analytics-tasks.tsx b/web/src/sections/overview/analytics-tasks.tsx deleted file mode 100755 index 8f7c2cd83..000000000 --- a/web/src/sections/overview/analytics-tasks.tsx +++ /dev/null @@ -1,186 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; -import type { CardProps } from '@mui/material/Card'; - -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import Stack from '@mui/material/Stack'; -import Popover from '@mui/material/Popover'; -import Divider from '@mui/material/Divider'; -import MenuList from '@mui/material/MenuList'; -import Checkbox from '@mui/material/Checkbox'; -import IconButton from '@mui/material/IconButton'; -import CardHeader from '@mui/material/CardHeader'; -import FormControlLabel from '@mui/material/FormControlLabel'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { Iconify } from 'src/components/iconify'; -import { Scrollbar } from 'src/components/scrollbar'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - list: { - id: string; - name: string; - }[]; -}; - -export function AnalyticsTasks({ title, subheader, list, ...other }: Props) { - const [selected, setSelected] = useState(['2']); - - const handleClickComplete = (taskId: string) => { - const tasksCompleted = selected.includes(taskId) - ? selected.filter((value) => value !== taskId) - : [...selected, taskId]; - - setSelected(tasksCompleted); - }; - - return ( - - - - - } sx={{ minWidth: 560 }}> - {list.map((item) => ( - handleClickComplete(item.id)} - /> - ))} - - - - ); -} - -// ---------------------------------------------------------------------- - -type ItemProps = BoxProps & { - checked: boolean; - item: Props['list'][number]; - onChange: (id: string) => void; -}; - -function Item({ item, checked, onChange, sx, ...other }: ItemProps) { - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - const handleMarkComplete = useCallback(() => { - handleClosePopover(); - console.info('MARK COMPLETE', item.id); - }, [handleClosePopover, item.id]); - - const handleShare = useCallback(() => { - handleClosePopover(); - console.info('SHARE', item.id); - }, [handleClosePopover, item.id]); - - const handleEdit = useCallback(() => { - handleClosePopover(); - console.info('EDIT', item.id); - }, [handleClosePopover, item.id]); - - const handleDelete = useCallback(() => { - handleClosePopover(); - console.info('DELETE', item.id); - }, [handleClosePopover, item.id]); - - return ( - <> - - - } - label={item.name} - sx={{ m: 0, flexGrow: 1 }} - /> - - - - - - - - - - - Mark complete - - - - - Edit - - - - - Share - - - - - Delete - - - - - ); -} diff --git a/web/src/sections/overview/analytics-traffic-by-site.tsx b/web/src/sections/overview/analytics-traffic-by-site.tsx deleted file mode 100755 index f8d6fd8f9..000000000 --- a/web/src/sections/overview/analytics-traffic-by-site.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; - -import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import CardHeader from '@mui/material/CardHeader'; -import Typography from '@mui/material/Typography'; - -import { fShortenNumber } from 'src/utils/format-number'; - -import { varAlpha } from 'src/theme/styles'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - list: { value: string; label: string; total: number }[]; -}; - -export function AnalyticsTrafficBySite({ title, subheader, list, sx, ...other }: Props) { - return ( - - - - - {list.map((site) => ( - ({ - py: 2.5, - display: 'flex', - borderRadius: 1.5, - textAlign: 'center', - alignItems: 'center', - flexDirection: 'column', - border: `solid 1px ${varAlpha(theme.vars.palette.grey['500Channel'], 0.12)}`, - })} - > - {site.value === 'facebook' && ( - - )} - {site.value === 'google' && } - {site.value === 'linkedin' && ( - - )} - {site.value === 'twitter' && } - - - {fShortenNumber(site.total)} - - - - {site.label} - - - ))} - - - ); -} diff --git a/web/src/sections/overview/analytics-website-visits.tsx b/web/src/sections/overview/analytics-website-visits.tsx deleted file mode 100755 index 141b6291e..000000000 --- a/web/src/sections/overview/analytics-website-visits.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { ChartOptions } from 'src/components/chart'; - -import Card from '@mui/material/Card'; -import CardHeader from '@mui/material/CardHeader'; -import { useTheme, alpha as hexAlpha } from '@mui/material/styles'; - -import { Chart, useChart } from 'src/components/chart'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title?: string; - subheader?: string; - chart: { - colors?: string[]; - categories?: string[]; - series: { - name: string; - data: number[]; - }[]; - options?: ChartOptions; - }; -}; - -export function AnalyticsWebsiteVisits({ title, subheader, chart, ...other }: Props) { - const theme = useTheme(); - - const chartColors = chart.colors ?? [ - theme.palette.primary.dark, - hexAlpha(theme.palette.primary.light, 0.64), - ]; - - const chartOptions = useChart({ - colors: chartColors, - stroke: { - width: 2, - colors: ['transparent'], - }, - xaxis: { - categories: chart.categories, - }, - legend: { - show: true, - }, - tooltip: { - y: { - formatter: (value: number) => `${value} visits`, - }, - }, - ...chart.options, - }); - - return ( - - - - - - ); -} diff --git a/web/src/sections/overview/analytics-widget-summary.tsx b/web/src/sections/overview/analytics-widget-summary.tsx deleted file mode 100755 index 79694c0aa..000000000 --- a/web/src/sections/overview/analytics-widget-summary.tsx +++ /dev/null @@ -1,139 +0,0 @@ -import type { CardProps } from '@mui/material/Card'; -import type { ColorType } from 'src/theme/core/palette'; -import type { ChartOptions } from 'src/components/chart'; - -import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import { useTheme } from '@mui/material/styles'; - -import { fNumber, fPercent, fShortenNumber } from 'src/utils/format-number'; - -import { varAlpha, bgGradient } from 'src/theme/styles'; - -import { Iconify } from 'src/components/iconify'; -import { SvgColor } from 'src/components/svg-color'; -import { Chart, useChart } from 'src/components/chart'; - -// ---------------------------------------------------------------------- - -type Props = CardProps & { - title: string; - total: number; - percent: number; - color?: ColorType; - icon: React.ReactNode; - chart: { - series: number[]; - categories: string[]; - options?: ChartOptions; - }; -}; - -export function AnalyticsWidgetSummary({ - icon, - title, - total, - chart, - percent, - color = 'primary', - sx, - ...other -}: Props) { - const theme = useTheme(); - - const chartColors = [theme.palette[color].dark]; - - const chartOptions = useChart({ - chart: { sparkline: { enabled: true } }, - colors: chartColors, - xaxis: { categories: chart.categories }, - grid: { - padding: { - top: 6, - left: 6, - right: 6, - bottom: 6, - }, - }, - tooltip: { - y: { formatter: (value: number) => fNumber(value), title: { formatter: () => '' } }, - }, - ...chart.options, - }); - - const renderTrending = ( - - - - {percent > 0 && '+'} - {fPercent(percent)} - - - ); - - return ( - - {icon} - - {renderTrending} - - - - {title} - {fShortenNumber(total)} - - - - - - - - ); -} diff --git a/web/src/sections/overview/view/index.ts b/web/src/sections/overview/view/index.ts deleted file mode 100755 index fb212b45f..000000000 --- a/web/src/sections/overview/view/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './overview-analytics-view'; diff --git a/web/src/sections/overview/view/overview-analytics-view.tsx b/web/src/sections/overview/view/overview-analytics-view.tsx deleted file mode 100755 index cbd9b562d..000000000 --- a/web/src/sections/overview/view/overview-analytics-view.tsx +++ /dev/null @@ -1,164 +0,0 @@ -import Grid from '@mui/material/Grid2'; -import Typography from '@mui/material/Typography'; - -import { _tasks, _posts, _timeline } from 'src/_mock'; -import { DashboardContent } from 'src/layouts/dashboard'; - -import { AnalyticsNews } from '../analytics-news'; -import { AnalyticsTasks } from '../analytics-tasks'; -import { AnalyticsCurrentVisits } from '../analytics-current-visits'; -import { AnalyticsOrderTimeline } from '../analytics-order-timeline'; -import { AnalyticsWebsiteVisits } from '../analytics-website-visits'; -import { AnalyticsWidgetSummary } from '../analytics-widget-summary'; -import { AnalyticsTrafficBySite } from '../analytics-traffic-by-site'; -import { AnalyticsCurrentSubject } from '../analytics-current-subject'; -import { AnalyticsConversionRates } from '../analytics-conversion-rates'; - -// ---------------------------------------------------------------------- - -export function OverviewAnalyticsView() { - return ( - - - Hi, Welcome back 👋 - - - - - } - chart={{ - categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug'], - series: [22, 8, 35, 50, 82, 84, 77, 12], - }} - /> - - - - } - chart={{ - categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug'], - series: [56, 47, 40, 62, 73, 30, 23, 54], - }} - /> - - - - } - chart={{ - categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug'], - series: [40, 70, 50, 28, 70, 75, 7, 64], - }} - /> - - - - } - chart={{ - categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug'], - series: [56, 30, 23, 54, 47, 40, 62, 73], - }} - /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -} diff --git a/web/src/sections/product/product-cart-widget.tsx b/web/src/sections/product/product-cart-widget.tsx deleted file mode 100755 index 59ddbb49a..000000000 --- a/web/src/sections/product/product-cart-widget.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import type { BoxProps } from '@mui/material/Box'; - -import Box from '@mui/material/Box'; -import Badge from '@mui/material/Badge'; - -import { RouterLink } from 'src/routes/components'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -type Props = BoxProps & { - totalItems: number; -}; - -export function CartIcon({ totalItems, sx, ...other }: Props) { - return ( - theme.spacing(1, 3, 1, 2), - boxShadow: (theme) => theme.customShadows.dropdown, - transition: (theme) => theme.transitions.create(['opacity']), - '&:hover': { opacity: 0.72 }, - ...sx, - }} - {...other} - > - - - - - ); -} diff --git a/web/src/sections/product/product-filters.tsx b/web/src/sections/product/product-filters.tsx deleted file mode 100755 index 54a580cc5..000000000 --- a/web/src/sections/product/product-filters.tsx +++ /dev/null @@ -1,222 +0,0 @@ -import Box from '@mui/material/Box'; -import Stack from '@mui/material/Stack'; -import Radio from '@mui/material/Radio'; -import Badge from '@mui/material/Badge'; -import Button from '@mui/material/Button'; -import Drawer from '@mui/material/Drawer'; -import Rating from '@mui/material/Rating'; -import Divider from '@mui/material/Divider'; -import Checkbox from '@mui/material/Checkbox'; -import FormGroup from '@mui/material/FormGroup'; -import RadioGroup from '@mui/material/RadioGroup'; -import Typography from '@mui/material/Typography'; -import IconButton from '@mui/material/IconButton'; -import FormControlLabel from '@mui/material/FormControlLabel'; - -import { Iconify } from 'src/components/iconify'; -import { Scrollbar } from 'src/components/scrollbar'; -import { ColorPicker } from 'src/components/color-utils'; - -// ---------------------------------------------------------------------- - -export type FiltersProps = { - price: string; - rating: string; - gender: string[]; - colors: string[]; - category: string; -}; - -type ProductFiltersProps = { - canReset: boolean; - openFilter: boolean; - filters: FiltersProps; - onOpenFilter: () => void; - onCloseFilter: () => void; - onResetFilter: () => void; - onSetFilters: (updateState: Partial) => void; - options: { - colors: string[]; - ratings: string[]; - categories: { value: string; label: string }[]; - genders: { value: string; label: string }[]; - price: { value: string; label: string }[]; - }; -}; - -export function ProductFilters({ - filters, - options, - canReset, - openFilter, - onSetFilters, - onOpenFilter, - onCloseFilter, - onResetFilter, -}: ProductFiltersProps) { - const renderGender = ( - - Gender - - {options.genders.map((option) => ( - { - const checked = filters.gender.includes(option.value) - ? filters.gender.filter((value) => value !== option.value) - : [...filters.gender, option.value]; - - onSetFilters({ gender: checked }); - }} - /> - } - label={option.label} - /> - ))} - - - ); - - const renderCategory = ( - - Category - - {options.categories.map((option) => ( - onSetFilters({ category: option.value })} - /> - } - label={option.label} - /> - ))} - - - ); - - const renderColors = ( - - Colors - onSetFilters({ colors: colors as string[] })} - colors={options.colors} - limit={6} - /> - - ); - - const renderPrice = ( - - Price - - {options.price.map((option) => ( - onSetFilters({ price: option.value })} - /> - } - label={option.label} - /> - ))} - - - ); - - const renderRating = ( - - - Rating - - - {options.ratings.map((option, index) => ( - onSetFilters({ rating: option })} - sx={{ - mb: 1, - gap: 1, - ml: -1, - p: 0.5, - display: 'flex', - borderRadius: 1, - cursor: 'pointer', - typography: 'body2', - alignItems: 'center', - '&:hover': { opacity: 0.48 }, - ...(filters.rating === option && { - bgcolor: 'action.selected', - }), - }} - > - & Up - - ))} - - ); - - return ( - <> - - - - - - Filters - - - - - - - - - - - - - - - - - - {renderGender} - {renderCategory} - {renderColors} - {renderPrice} - {renderRating} - - - - - ); -} diff --git a/web/src/sections/product/product-item.tsx b/web/src/sections/product/product-item.tsx deleted file mode 100755 index e593548ce..000000000 --- a/web/src/sections/product/product-item.tsx +++ /dev/null @@ -1,93 +0,0 @@ -import Box from '@mui/material/Box'; -import Link from '@mui/material/Link'; -import Card from '@mui/material/Card'; -import Stack from '@mui/material/Stack'; -import Typography from '@mui/material/Typography'; - -import { fCurrency } from 'src/utils/format-number'; - -import { Label } from 'src/components/label'; -import { ColorPreview } from 'src/components/color-utils'; - -// ---------------------------------------------------------------------- - -export type ProductItemProps = { - id: string; - name: string; - price: number; - status: string; - coverUrl: string; - colors: string[]; - priceSale: number | null; -}; - -export function ProductItem({ product }: { product: ProductItemProps }) { - const renderStatus = ( - - ); - - const renderImg = ( - - ); - - const renderPrice = ( - - - {product.priceSale && fCurrency(product.priceSale)} - -   - {fCurrency(product.price)} - - ); - - return ( - - - {product.status && renderStatus} - - {renderImg} - - - - - {product.name} - - - - - {renderPrice} - - - - ); -} diff --git a/web/src/sections/product/product-sort.tsx b/web/src/sections/product/product-sort.tsx deleted file mode 100755 index 462d6ffe0..000000000 --- a/web/src/sections/product/product-sort.tsx +++ /dev/null @@ -1,87 +0,0 @@ -import type { ButtonProps } from '@mui/material/Button'; - -import { useState, useCallback } from 'react'; - -import Button from '@mui/material/Button'; -import Popover from '@mui/material/Popover'; -import MenuList from '@mui/material/MenuList'; -import Typography from '@mui/material/Typography'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -type ProductSortProps = ButtonProps & { - sortBy: string; - onSort: (newSort: string) => void; - options: { value: string; label: string }[]; -}; - -export function ProductSort({ options, sortBy, onSort, sx, ...other }: ProductSortProps) { - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - return ( - <> - - - - - {options.map((option) => ( - { - onSort(option.value); - handleClosePopover(); - }} - > - {option.label} - - ))} - - - - ); -} diff --git a/web/src/sections/product/view/index.ts b/web/src/sections/product/view/index.ts deleted file mode 100755 index 6a59b368d..000000000 --- a/web/src/sections/product/view/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './products-view'; diff --git a/web/src/sections/product/view/products-view.tsx b/web/src/sections/product/view/products-view.tsx deleted file mode 100755 index 0f656360c..000000000 --- a/web/src/sections/product/view/products-view.tsx +++ /dev/null @@ -1,144 +0,0 @@ -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Grid from '@mui/material/Grid2'; -import Pagination from '@mui/material/Pagination'; -import Typography from '@mui/material/Typography'; - -import { _products } from 'src/_mock'; -import { DashboardContent } from 'src/layouts/dashboard'; - -import { ProductItem } from '../product-item'; -import { ProductSort } from '../product-sort'; -import { CartIcon } from '../product-cart-widget'; -import { ProductFilters } from '../product-filters'; - -import type { FiltersProps } from '../product-filters'; - -// ---------------------------------------------------------------------- - -const GENDER_OPTIONS = [ - { value: 'men', label: 'Men' }, - { value: 'women', label: 'Women' }, - { value: 'kids', label: 'Kids' }, -]; - -const CATEGORY_OPTIONS = [ - { value: 'all', label: 'All' }, - { value: 'shose', label: 'Shose' }, - { value: 'apparel', label: 'Apparel' }, - { value: 'accessories', label: 'Accessories' }, -]; - -const RATING_OPTIONS = ['up4Star', 'up3Star', 'up2Star', 'up1Star']; - -const PRICE_OPTIONS = [ - { value: 'below', label: 'Below $25' }, - { value: 'between', label: 'Between $25 - $75' }, - { value: 'above', label: 'Above $75' }, -]; - -const COLOR_OPTIONS = [ - '#00AB55', - '#000000', - '#FFFFFF', - '#FFC0CB', - '#FF4842', - '#1890FF', - '#94D82D', - '#FFC107', -]; - -const defaultFilters = { - price: '', - gender: [GENDER_OPTIONS[0].value], - colors: [COLOR_OPTIONS[4]], - rating: RATING_OPTIONS[0], - category: CATEGORY_OPTIONS[0].value, -}; - -export function ProductsView() { - const [sortBy, setSortBy] = useState('featured'); - - const [openFilter, setOpenFilter] = useState(false); - - const [filters, setFilters] = useState(defaultFilters); - - const handleOpenFilter = useCallback(() => { - setOpenFilter(true); - }, []); - - const handleCloseFilter = useCallback(() => { - setOpenFilter(false); - }, []); - - const handleSort = useCallback((newSort: string) => { - setSortBy(newSort); - }, []); - - const handleSetFilters = useCallback((updateState: Partial) => { - setFilters((prevValue) => ({ ...prevValue, ...updateState })); - }, []); - - const canReset = Object.keys(filters).some( - (key) => filters[key as keyof FiltersProps] !== defaultFilters[key as keyof FiltersProps] - ); - - return ( - - - Products - - - - - - - setFilters(defaultFilters)} - options={{ - genders: GENDER_OPTIONS, - categories: CATEGORY_OPTIONS, - ratings: RATING_OPTIONS, - price: PRICE_OPTIONS, - colors: COLOR_OPTIONS, - }} - /> - - - - - - - {_products.map((product) => ( - - - - ))} - - - - - ); -} diff --git a/web/src/sections/user/table-empty-rows.tsx b/web/src/sections/user/table-empty-rows.tsx deleted file mode 100755 index 4127993fb..000000000 --- a/web/src/sections/user/table-empty-rows.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import type { TableRowProps } from '@mui/material/TableRow'; - -import TableRow from '@mui/material/TableRow'; -import TableCell from '@mui/material/TableCell'; - -// ---------------------------------------------------------------------- - -type TableEmptyRowsProps = TableRowProps & { - emptyRows: number; - height?: number; -}; - -export function TableEmptyRows({ emptyRows, height, sx, ...other }: TableEmptyRowsProps) { - if (!emptyRows) { - return null; - } - - return ( - - - - ); -} diff --git a/web/src/sections/user/table-no-data.tsx b/web/src/sections/user/table-no-data.tsx deleted file mode 100755 index 914e23f38..000000000 --- a/web/src/sections/user/table-no-data.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import type { TableRowProps } from '@mui/material/TableRow'; - -import Box from '@mui/material/Box'; -import TableRow from '@mui/material/TableRow'; -import TableCell from '@mui/material/TableCell'; -import Typography from '@mui/material/Typography'; - -// ---------------------------------------------------------------------- - -type TableNoDataProps = TableRowProps & { - searchQuery: string; -}; - -export function TableNoData({ searchQuery, ...other }: TableNoDataProps) { - return ( - - - - - Not found - - - - No results found for   - "{searchQuery}". -
Try checking for typos or using complete words. -
-
-
-
- ); -} diff --git a/web/src/sections/user/user-table-head.tsx b/web/src/sections/user/user-table-head.tsx deleted file mode 100755 index 3888ee712..000000000 --- a/web/src/sections/user/user-table-head.tsx +++ /dev/null @@ -1,69 +0,0 @@ -import Box from '@mui/material/Box'; -import TableRow from '@mui/material/TableRow'; -import Checkbox from '@mui/material/Checkbox'; -import TableHead from '@mui/material/TableHead'; -import TableCell from '@mui/material/TableCell'; -import TableSortLabel from '@mui/material/TableSortLabel'; - -import { visuallyHidden } from './utils'; - -// ---------------------------------------------------------------------- - -type UserTableHeadProps = { - orderBy: string; - rowCount: number; - numSelected: number; - order: 'asc' | 'desc'; - onSort: (id: string) => void; - headLabel: Record[]; - onSelectAllRows: (checked: boolean) => void; -}; - -export function UserTableHead({ - order, - onSort, - orderBy, - rowCount, - headLabel, - numSelected, - onSelectAllRows, -}: UserTableHeadProps) { - return ( - - - - 0 && numSelected < rowCount} - checked={rowCount > 0 && numSelected === rowCount} - onChange={(event: React.ChangeEvent) => - onSelectAllRows(event.target.checked) - } - /> - - - {headLabel.map((headCell) => ( - - onSort(headCell.id)} - > - {headCell.label} - {orderBy === headCell.id ? ( - - {order === 'desc' ? 'sorted descending' : 'sorted ascending'} - - ) : null} - - - ))} - - - ); -} diff --git a/web/src/sections/user/user-table-row.tsx b/web/src/sections/user/user-table-row.tsx deleted file mode 100755 index 22635907c..000000000 --- a/web/src/sections/user/user-table-row.tsx +++ /dev/null @@ -1,106 +0,0 @@ -import { useState, useCallback } from 'react'; - -import Box from '@mui/material/Box'; -import Avatar from '@mui/material/Avatar'; -import Popover from '@mui/material/Popover'; -import TableRow from '@mui/material/TableRow'; -import Checkbox from '@mui/material/Checkbox'; -import MenuList from '@mui/material/MenuList'; -import TableCell from '@mui/material/TableCell'; -import IconButton from '@mui/material/IconButton'; -import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; - -import { Label } from 'src/components/label'; -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -export type UserProps = { - id: string; - username: string; - email: string; - disabled: boolean; - avatarUrl: string; -}; - -type UserTableRowProps = { - row: UserProps; - selected: boolean; - onSelectRow: () => void; -}; - -export function UserTableRow({ row, selected, onSelectRow }: UserTableRowProps) { - const [openPopover, setOpenPopover] = useState(null); - - const handleOpenPopover = useCallback((event: React.MouseEvent) => { - setOpenPopover(event.currentTarget); - }, []); - - const handleClosePopover = useCallback(() => { - setOpenPopover(null); - }, []); - - return ( - <> - - - - - - - - - {row.username} - - - - {row.email} - - - - - - - - - - - - - - - - - Edit - - - - - Delete - - - - - ); -} diff --git a/web/src/sections/user/user-table-toolbar.tsx b/web/src/sections/user/user-table-toolbar.tsx deleted file mode 100755 index 55bee2fd1..000000000 --- a/web/src/sections/user/user-table-toolbar.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import Tooltip from '@mui/material/Tooltip'; -import Toolbar from '@mui/material/Toolbar'; -import Typography from '@mui/material/Typography'; -import IconButton from '@mui/material/IconButton'; -import OutlinedInput from '@mui/material/OutlinedInput'; -import InputAdornment from '@mui/material/InputAdornment'; - -import { Iconify } from 'src/components/iconify'; - -// ---------------------------------------------------------------------- - -type UserTableToolbarProps = { - numSelected: number; - filterName: string; - onFilterName: (event: React.ChangeEvent) => void; -}; - -export function UserTableToolbar({ numSelected, filterName, onFilterName }: UserTableToolbarProps) { - return ( - theme.spacing(0, 1, 0, 3), - ...(numSelected > 0 && { - color: 'primary.main', - bgcolor: 'primary.lighter', - }), - }} - > - {numSelected > 0 ? ( - - {numSelected} selected - - ) : ( - - - - } - sx={{ maxWidth: 320 }} - /> - )} - - {numSelected > 0 ? ( - - - - - - ) : ( - - - - - - )} - - ); -} diff --git a/web/src/sections/user/utils.ts b/web/src/sections/user/utils.ts deleted file mode 100755 index e2a00e6e5..000000000 --- a/web/src/sections/user/utils.ts +++ /dev/null @@ -1,79 +0,0 @@ -import type { UserProps } from './user-table-row'; - -// ---------------------------------------------------------------------- - -export const visuallyHidden = { - border: 0, - margin: -1, - padding: 0, - width: '1px', - height: '1px', - overflow: 'hidden', - position: 'absolute', - whiteSpace: 'nowrap', - clip: 'rect(0 0 0 0)', -} as const; - -// ---------------------------------------------------------------------- - -export function emptyRows(page: number, rowsPerPage: number, arrayLength: number) { - return page ? Math.max(0, (1 + page) * rowsPerPage - arrayLength) : 0; -} - -// ---------------------------------------------------------------------- - -function descendingComparator(a: T, b: T, orderBy: keyof T) { - if (b[orderBy] < a[orderBy]) { - return -1; - } - if (b[orderBy] > a[orderBy]) { - return 1; - } - return 0; -} - -// ---------------------------------------------------------------------- - -export function getComparator( - order: 'asc' | 'desc', - orderBy: Key -): ( - a: { - [key in Key]: number | string; - }, - b: { - [key in Key]: number | string; - } -) => number { - return order === 'desc' - ? (a, b) => descendingComparator(a, b, orderBy) - : (a, b) => -descendingComparator(a, b, orderBy); -} - -// ---------------------------------------------------------------------- - -type ApplyFilterProps = { - inputData: UserProps[]; - filterName: string; - comparator: (a: any, b: any) => number; -}; - -export function applyFilter({ inputData, comparator, filterName }: ApplyFilterProps) { - const stabilizedThis = inputData.map((el, index) => [el, index] as const); - - stabilizedThis.sort((a, b) => { - const order = comparator(a[0], b[0]); - if (order !== 0) return order; - return a[1] - b[1]; - }); - - inputData = stabilizedThis.map((el) => el[0]); - - if (filterName) { - inputData = inputData.filter( - (user) => user.username.toLowerCase().indexOf(filterName.toLowerCase()) !== -1 - ); - } - - return inputData; -} diff --git a/web/src/sections/user/view/index.ts b/web/src/sections/user/view/index.ts deleted file mode 100755 index 9116ca733..000000000 --- a/web/src/sections/user/view/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './user-view'; diff --git a/web/src/sections/user/view/user-view.tsx b/web/src/sections/user/view/user-view.tsx deleted file mode 100755 index 66410c522..000000000 --- a/web/src/sections/user/view/user-view.tsx +++ /dev/null @@ -1,228 +0,0 @@ -import { useState, useEffect, useCallback } from 'react'; -import axios from 'axios'; - -import Box from '@mui/material/Box'; -import Card from '@mui/material/Card'; -import Table from '@mui/material/Table'; -import Button from '@mui/material/Button'; -import TableBody from '@mui/material/TableBody'; -import Typography from '@mui/material/Typography'; -import TableContainer from '@mui/material/TableContainer'; -import TablePagination from '@mui/material/TablePagination'; - -import { DashboardContent } from 'src/layouts/dashboard'; - -import { Iconify } from 'src/components/iconify'; -import { Scrollbar } from 'src/components/scrollbar'; - -import { TableNoData } from '../table-no-data'; -import { UserTableRow } from '../user-table-row'; -import { UserTableHead } from '../user-table-head'; -import { TableEmptyRows } from '../table-empty-rows'; -import { UserTableToolbar } from '../user-table-toolbar'; -import { emptyRows, applyFilter, getComparator } from '../utils'; - -import type { UserProps } from '../user-table-row'; - -// ---------------------------------------------------------------------- - -const baseUrl = import.meta.env.VITE_BASE_URL; - -export function UserView() { - const table = useTable(); - const [filterName, setFilterName] = useState(''); - const [users, setUsers] = useState([]); // 保存从 API 获取的用户数据 - const [loading, setLoading] = useState(true); - const [error, setError] = useState(''); - - // 获取数据 - const fetchUsers = useCallback(async () => { - try { - const token = localStorage.getItem('access_token'); // 从 localStorage 获取 Bearer Token - if (!token) { - setError('No token found, please log in first.'); - return; - } - - const response = await axios.get(`${baseUrl}/api/v1/admin/users`, { - headers: { - accept: 'application/json', - Authorization: `Bearer ${token}`, - }, - }); - setUsers(response.data); // 更新用户数据 - } catch (err) { - setError('Failed to fetch users'); // 处理请求错误 - } finally { - setLoading(false); // 请求完成 - } - }, []); - - // 在组件加载时请求用户数据 - useEffect(() => { - fetchUsers(); - }, [fetchUsers]); - - const dataFiltered: UserProps[] = applyFilter({ - inputData: users, - comparator: getComparator(table.order, table.orderBy), - filterName, - }); - - const notFound = !dataFiltered.length && !!filterName; - console.log('Filtered Data:', dataFiltered); - - return ( - - - - Users - - - - - - ) => { - setFilterName(event.target.value); - table.onResetPage(); - }} - /> - - - - - - table.onSelectAllRows( - checked, - users.map((user) => user.id) - ) - } - headLabel={[ - { id: 'username', label: '用户名' }, - { id: 'email', label: '邮箱'}, - { id: 'disabled', label: '激活状态', align: 'left' }, - { id: '' }, - ]} - /> - - {dataFiltered - .slice( - table.page * table.rowsPerPage, - table.page * table.rowsPerPage + table.rowsPerPage - ) - .map((row) => ( - table.onSelectRow(row.id)} - /> - ))} - - - - {notFound && } - -
-
-
- - -
-
- ); -} - -// ---------------------------------------------------------------------- - -export function useTable() { - const [page, setPage] = useState(0); - const [orderBy, setOrderBy] = useState('name'); - const [rowsPerPage, setRowsPerPage] = useState(5); - const [selected, setSelected] = useState([]); - const [order, setOrder] = useState<'asc' | 'desc'>('asc'); - - const onSort = useCallback( - (id: string) => { - const isAsc = orderBy === id && order === 'asc'; - setOrder(isAsc ? 'desc' : 'asc'); - setOrderBy(id); - }, - [order, orderBy] - ); - - const onSelectAllRows = useCallback((checked: boolean, newSelecteds: string[]) => { - if (checked) { - setSelected(newSelecteds); - return; - } - setSelected([]); - }, []); - - const onSelectRow = useCallback( - (inputValue: string) => { - const newSelected = selected.includes(inputValue) - ? selected.filter((value) => value !== inputValue) - : [...selected, inputValue]; - - setSelected(newSelected); - }, - [selected] - ); - - const onResetPage = useCallback(() => { - setPage(0); - }, []); - - const onChangePage = useCallback((event: unknown, newPage: number) => { - setPage(newPage); - }, []); - - const onChangeRowsPerPage = useCallback( - (event: React.ChangeEvent) => { - setRowsPerPage(parseInt(event.target.value, 10)); - onResetPage(); - }, - [onResetPage] - ); - - return { - page, - order, - onSort, - orderBy, - selected, - rowsPerPage, - onSelectRow, - onResetPage, - onChangePage, - onSelectAllRows, - onChangeRowsPerPage, - }; -} diff --git a/web/src/theme/core/colors.json b/web/src/theme/core/colors.json deleted file mode 100755 index cdae4b070..000000000 --- a/web/src/theme/core/colors.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "primary": { - "lighter": "#D0ECFE", - "light": "#73BAFB", - "main": "#1877F2", - "dark": "#0C44AE", - "darker": "#042174", - "contrastText": "#FFFFFF" - }, - "secondary": { - "lighter": "#EFD6FF", - "light": "#C684FF", - "main": "#8E33FF", - "dark": "#5119B7", - "darker": "#27097A", - "contrastText": "#FFFFFF" - }, - "info": { - "lighter": "#CAFDF5", - "light": "#61F3F3", - "main": "#00B8D9", - "dark": "#006C9C", - "darker": "#003768", - "contrastText": "#FFFFFF" - }, - "success": { - "lighter": "#D3FCD2", - "light": "#77ED8B", - "main": "#22C55E", - "dark": "#118D57", - "darker": "#065E49", - "contrastText": "#ffffff" - }, - "warning": { - "lighter": "#FFF5CC", - "light": "#FFD666", - "main": "#FFAB00", - "dark": "#B76E00", - "darker": "#7A4100", - "contrastText": "#1C252E" - }, - "error": { - "lighter": "#FFE9D5", - "light": "#FFAC82", - "main": "#FF5630", - "dark": "#B71D18", - "darker": "#7A0916", - "contrastText": "#FFFFFF" - }, - "grey": { - "50": "#FCFDFD", - "100": "#F9FAFB", - "200": "#F4F6F8", - "300": "#DFE3E8", - "400": "#C4CDD5", - "500": "#919EAB", - "600": "#637381", - "700": "#454F5B", - "800": "#1C252E", - "900": "#141A21" - }, - "common": { - "black": "#000000", - "white": "#FFFFFF" - } -} diff --git a/web/src/theme/core/components.tsx b/web/src/theme/core/components.tsx deleted file mode 100755 index c469a4919..000000000 --- a/web/src/theme/core/components.tsx +++ /dev/null @@ -1,173 +0,0 @@ -import type { Theme, Components } from '@mui/material/styles'; - -import SvgIcon from '@mui/material/SvgIcon'; - -import { varAlpha } from '../styles'; - -// ---------------------------------------------------------------------- - -const MuiBackdrop: Components['MuiBackdrop'] = { - styleOverrides: { - root: ({ theme }) => ({ - backgroundColor: varAlpha(theme.vars.palette.grey['900Channel'], 0.8), - }), - invisible: { - background: 'transparent', - }, - }, -}; - -const MuiButton: Components['MuiButton'] = { - defaultProps: { - disableElevation: true, - }, - styleOverrides: { - containedInherit: ({ theme }) => ({ - color: theme.vars.palette.common.white, - backgroundColor: theme.vars.palette.grey[800], - '&:hover': { - color: theme.vars.palette.common.white, - backgroundColor: theme.vars.palette.grey[800], - }, - }), - sizeLarge: { - minHeight: 48, - }, - }, -}; - -const MuiCard: Components['MuiCard'] = { - styleOverrides: { - root: ({ theme }) => ({ - zIndex: 0, - position: 'relative', - boxShadow: theme.customShadows.card, - borderRadius: theme.shape.borderRadius * 2, - }), - }, -}; - -const MuiCardHeader: Components['MuiCardHeader'] = { - defaultProps: { - titleTypographyProps: { variant: 'h6' }, - subheaderTypographyProps: { variant: 'body2' }, - }, - styleOverrides: { - root: ({ theme }) => ({ - padding: theme.spacing(3, 3, 0), - }), - }, -}; - -const MuiOutlinedInput: Components['MuiOutlinedInput'] = { - styleOverrides: { - notchedOutline: ({ theme }) => ({ - borderColor: varAlpha(theme.vars.palette.grey['500Channel'], 0.2), - }), - }, -}; - -const MuiPaper: Components['MuiPaper'] = { - defaultProps: { - elevation: 0, - }, - styleOverrides: { - root: { backgroundImage: 'none' }, - outlined: ({ theme }) => ({ - borderColor: varAlpha(theme.vars.palette.grey['500Channel'], 0.16), - }), - }, -}; - -const MuiTableCell: Components['MuiTableCell'] = { - styleOverrides: { - head: ({ theme }) => ({ - fontSize: theme.typography.pxToRem(14), - color: theme.vars.palette.text.secondary, - fontWeight: theme.typography.fontWeightSemiBold, - backgroundColor: theme.vars.palette.background.neutral, - }), - }, -}; - -const MuiMenuItem: Components['MuiMenuItem'] = { - styleOverrides: { - root: ({ theme }) => ({ - ...theme.typography.body2, - }), - }, -}; - -const MuiLink: Components['MuiLink'] = { - defaultProps: { underline: 'hover' }, -}; - -const MuiFormControlLabel: Components['MuiFormControlLabel'] = { - styleOverrides: { - label: ({ theme }) => ({ - ...theme.typography.body2, - }), - }, -}; - -const MuiCheckbox: Components['MuiCheckbox'] = { - defaultProps: { - size: 'small', - icon: ( - - - - ), - checkedIcon: ( - - - - ), - indeterminateIcon: ( - - - - ), - }, -}; - -const MuiRadio: Components['MuiRadio'] = { - defaultProps: { - size: 'small', - icon: ( - - - - ), - checkedIcon: ( - - - - ), - }, -}; - -// ---------------------------------------------------------------------- - -export const components = { - MuiCard, - MuiLink, - MuiPaper, - MuiRadio, - MuiButton, - MuiBackdrop, - MuiMenuItem, - MuiCheckbox, - MuiTableCell, - MuiCardHeader, - MuiOutlinedInput, - MuiFormControlLabel, -}; diff --git a/web/src/theme/core/custom-shadows.ts b/web/src/theme/core/custom-shadows.ts deleted file mode 100755 index f8d38a45b..000000000 --- a/web/src/theme/core/custom-shadows.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { varAlpha } from '../styles'; -import { grey, info, error, common, primary, success, warning, secondary } from './palette'; - -// ---------------------------------------------------------------------- - -export interface CustomShadows { - z1?: string; - z4?: string; - z8?: string; - z12?: string; - z16?: string; - z20?: string; - z24?: string; - // - primary?: string; - secondary?: string; - info?: string; - success?: string; - warning?: string; - error?: string; - // - card?: string; - dialog?: string; - dropdown?: string; -} - -declare module '@mui/material/styles' { - interface Theme { - customShadows: CustomShadows; - } - interface ThemeOptions { - customShadows?: CustomShadows; - } - interface ThemeVars { - customShadows: CustomShadows; - } -} - -// ---------------------------------------------------------------------- - -export function createShadowColor(colorChannel: string) { - return `0 8px 16px 0 ${varAlpha(colorChannel, 0.24)}`; -} - -export function customShadows() { - const colorChannel = grey['500Channel']; - - return { - z1: `0 1px 2px 0 ${varAlpha(colorChannel, 0.16)}`, - z4: `0 4px 8px 0 ${varAlpha(colorChannel, 0.16)}`, - z8: `0 8px 16px 0 ${varAlpha(colorChannel, 0.16)}`, - z12: `0 12px 24px -4px ${varAlpha(colorChannel, 0.16)}`, - z16: `0 16px 32px -4px ${varAlpha(colorChannel, 0.16)}`, - z20: `0 20px 40px -4px ${varAlpha(colorChannel, 0.16)}`, - z24: `0 24px 48px 0 ${varAlpha(colorChannel, 0.16)}`, - // - dialog: `-40px 40px 80px -8px ${varAlpha(common.blackChannel, 0.24)}`, - card: `0 0 2px 0 ${varAlpha(colorChannel, 0.2)}, 0 12px 24px -4px ${varAlpha(colorChannel, 0.12)}`, - dropdown: `0 0 2px 0 ${varAlpha(colorChannel, 0.24)}, -20px 20px 40px -4px ${varAlpha(colorChannel, 0.24)}`, - // - primary: createShadowColor(primary.mainChannel), - secondary: createShadowColor(secondary.mainChannel), - info: createShadowColor(info.mainChannel), - success: createShadowColor(success.mainChannel), - warning: createShadowColor(warning.mainChannel), - error: createShadowColor(error.mainChannel), - }; -} diff --git a/web/src/theme/core/index.ts b/web/src/theme/core/index.ts deleted file mode 100755 index 1f6edd4e3..000000000 --- a/web/src/theme/core/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -export * from './shadows'; - -export * from './palette'; - -export * from './typography'; - -export * from './components'; - -export * from './custom-shadows'; diff --git a/web/src/theme/core/palette.ts b/web/src/theme/core/palette.ts deleted file mode 100755 index 51fe1a4c6..000000000 --- a/web/src/theme/core/palette.ts +++ /dev/null @@ -1,143 +0,0 @@ -import type { ColorSystemOptions } from '@mui/material/styles'; - -import COLORS from './colors.json'; -import { varAlpha, createPaletteChannel } from '../styles'; - -// ---------------------------------------------------------------------- - -declare module '@mui/material/styles/createPalette' { - interface CommonColors { - whiteChannel: string; - blackChannel: string; - } - interface TypeText { - disabledChannel: string; - } - interface TypeBackground { - neutral: string; - neutralChannel: string; - } - interface SimplePaletteColorOptions { - lighter: string; - darker: string; - lighterChannel: string; - darkerChannel: string; - } - interface PaletteColor { - lighter: string; - darker: string; - lighterChannel: string; - darkerChannel: string; - } -} - -declare module '@mui/material/styles' { - interface ThemeVars { - transitions: Theme['transitions']; - } -} - -declare module '@mui/material' { - interface Color { - ['50Channel']: string; - ['100Channel']: string; - ['200Channel']: string; - ['300Channel']: string; - ['400Channel']: string; - ['500Channel']: string; - ['600Channel']: string; - ['700Channel']: string; - ['800Channel']: string; - ['900Channel']: string; - } -} - -export type ColorType = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'; - -// ---------------------------------------------------------------------- - -// Grey -export const grey = createPaletteChannel(COLORS.grey); - -// Primary -export const primary = createPaletteChannel(COLORS.primary); - -// Secondary -export const secondary = createPaletteChannel(COLORS.secondary); - -// Info -export const info = createPaletteChannel(COLORS.info); - -// Success -export const success = createPaletteChannel(COLORS.success); - -// Warning -export const warning = createPaletteChannel(COLORS.warning); - -// Error -export const error = createPaletteChannel(COLORS.error); - -// Common -export const common = createPaletteChannel(COLORS.common); - -// Text -export const text = { - light: createPaletteChannel({ - primary: grey[800], - secondary: grey[600], - disabled: grey[500], - }), -}; - -// Background -export const background = { - light: createPaletteChannel({ - paper: '#FFFFFF', - default: grey[100], - neutral: grey[200], - }), -}; - -// Action -export const baseAction = { - hover: varAlpha(grey['500Channel'], 0.08), - selected: varAlpha(grey['500Channel'], 0.16), - focus: varAlpha(grey['500Channel'], 0.24), - disabled: varAlpha(grey['500Channel'], 0.8), - disabledBackground: varAlpha(grey['500Channel'], 0.24), - hoverOpacity: 0.08, - disabledOpacity: 0.48, -}; - -export const action = { - light: { ...baseAction, active: grey[600] }, -}; - -/* - * Base palette - */ -export const basePalette = { - primary, - secondary, - info, - success, - warning, - error, - grey, - common, - divider: varAlpha(grey['500Channel'], 0.2), - action, -}; - -export const lightPalette = { - ...basePalette, - text: text.light, - background: background.light, - action: action.light, -}; - -// ---------------------------------------------------------------------- - -export const colorSchemes: Partial> = { - light: { palette: lightPalette }, -}; diff --git a/web/src/theme/core/shadows.ts b/web/src/theme/core/shadows.ts deleted file mode 100755 index 78bb9144b..000000000 --- a/web/src/theme/core/shadows.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { Shadows } from '@mui/material/styles'; - -import { grey } from './palette'; -import { varAlpha } from '../styles'; - -// ---------------------------------------------------------------------- - -export function shadows(): Shadows { - const colorChannel = grey['500Channel']; - - const color1 = varAlpha(colorChannel, 0.2); - const color2 = varAlpha(colorChannel, 0.14); - const color3 = varAlpha(colorChannel, 0.12); - - return [ - 'none', - `0px 2px 1px -1px ${color1},0px 1px 1px 0px ${color2},0px 1px 3px 0px ${color3}`, - `0px 3px 1px -2px ${color1},0px 2px 2px 0px ${color2},0px 1px 5px 0px ${color3}`, - `0px 3px 3px -2px ${color1},0px 3px 4px 0px ${color2},0px 1px 8px 0px ${color3}`, - `0px 2px 4px -1px ${color1},0px 4px 5px 0px ${color2},0px 1px 10px 0px ${color3}`, - `0px 3px 5px -1px ${color1},0px 5px 8px 0px ${color2},0px 1px 14px 0px ${color3}`, - `0px 3px 5px -1px ${color1},0px 6px 10px 0px ${color2},0px 1px 18px 0px ${color3}`, - `0px 4px 5px -2px ${color1},0px 7px 10px 1px ${color2},0px 2px 16px 1px ${color3}`, - `0px 5px 5px -3px ${color1},0px 8px 10px 1px ${color2},0px 3px 14px 2px ${color3}`, - `0px 5px 6px -3px ${color1},0px 9px 12px 1px ${color2},0px 3px 16px 2px ${color3}`, - `0px 6px 6px -3px ${color1},0px 10px 14px 1px ${color2},0px 4px 18px 3px ${color3}`, - `0px 6px 7px -4px ${color1},0px 11px 15px 1px ${color2},0px 4px 20px 3px ${color3}`, - `0px 7px 8px -4px ${color1},0px 12px 17px 2px ${color2},0px 5px 22px 4px ${color3}`, - `0px 7px 8px -4px ${color1},0px 13px 19px 2px ${color2},0px 5px 24px 4px ${color3}`, - `0px 7px 9px -4px ${color1},0px 14px 21px 2px ${color2},0px 5px 26px 4px ${color3}`, - `0px 8px 9px -5px ${color1},0px 15px 22px 2px ${color2},0px 6px 28px 5px ${color3}`, - `0px 8px 10px -5px ${color1},0px 16px 24px 2px ${color2},0px 6px 30px 5px ${color3}`, - `0px 8px 11px -5px ${color1},0px 17px 26px 2px ${color2},0px 6px 32px 5px ${color3}`, - `0px 9px 11px -5px ${color1},0px 18px 28px 2px ${color2},0px 7px 34px 6px ${color3}`, - `0px 9px 12px -6px ${color1},0px 19px 29px 2px ${color2},0px 7px 36px 6px ${color3}`, - `0px 10px 13px -6px ${color1},0px 20px 31px 3px ${color2},0px 8px 38px 7px ${color3}`, - `0px 10px 13px -6px ${color1},0px 21px 33px 3px ${color2},0px 8px 40px 7px ${color3}`, - `0px 10px 14px -6px ${color1},0px 22px 35px 3px ${color2},0px 8px 42px 7px ${color3}`, - `0px 11px 14px -7px ${color1},0px 23px 36px 3px ${color2},0px 9px 44px 8px ${color3}`, - `0px 11px 15px -7px ${color1},0px 24px 38px 3px ${color2},0px 9px 46px 8px ${color3}`, - ]; -} diff --git a/web/src/theme/core/typography.ts b/web/src/theme/core/typography.ts deleted file mode 100755 index b484f0ce3..000000000 --- a/web/src/theme/core/typography.ts +++ /dev/null @@ -1,112 +0,0 @@ -import type { TypographyOptions } from '@mui/material/styles/createTypography'; - -import { setFont, pxToRem, responsiveFontSizes } from '../styles/utils'; - -// ---------------------------------------------------------------------- - -declare module '@mui/material/styles' { - interface TypographyVariants { - fontSecondaryFamily: React.CSSProperties['fontFamily']; - fontWeightSemiBold: React.CSSProperties['fontWeight']; - } - interface TypographyVariantsOptions { - fontSecondaryFamily?: React.CSSProperties['fontFamily']; - fontWeightSemiBold?: React.CSSProperties['fontWeight']; - } - interface ThemeVars { - typography: Theme['typography']; - } -} - -// ---------------------------------------------------------------------- - -export const defaultFont = 'DM Sans Variable'; - -export const primaryFont = setFont(defaultFont); - -export const secondaryFont = setFont('Barlow'); - -// ---------------------------------------------------------------------- - -export const typography: TypographyOptions = { - fontFamily: primaryFont, - fontSecondaryFamily: secondaryFont, - fontWeightLight: '300', - fontWeightRegular: '400', - fontWeightMedium: '500', - fontWeightSemiBold: '600', - fontWeightBold: '700', - h1: { - fontWeight: 800, - lineHeight: 80 / 64, - fontSize: pxToRem(40), - fontFamily: secondaryFont, - ...responsiveFontSizes({ sm: 52, md: 58, lg: 64 }), - }, - h2: { - fontWeight: 800, - lineHeight: 64 / 48, - fontSize: pxToRem(32), - fontFamily: secondaryFont, - ...responsiveFontSizes({ sm: 40, md: 44, lg: 48 }), - }, - h3: { - fontWeight: 700, - lineHeight: 1.5, - fontSize: pxToRem(24), - fontFamily: secondaryFont, - ...responsiveFontSizes({ sm: 26, md: 30, lg: 32 }), - }, - h4: { - fontWeight: 700, - lineHeight: 1.5, - fontSize: pxToRem(20), - ...responsiveFontSizes({ sm: 20, md: 24, lg: 24 }), - }, - h5: { - fontWeight: 700, - lineHeight: 1.5, - fontSize: pxToRem(18), - ...responsiveFontSizes({ sm: 19, md: 20, lg: 20 }), - }, - h6: { - fontWeight: 600, - lineHeight: 28 / 18, - fontSize: pxToRem(17), - ...responsiveFontSizes({ sm: 18, md: 18, lg: 18 }), - }, - subtitle1: { - fontWeight: 600, - lineHeight: 1.5, - fontSize: pxToRem(16), - }, - subtitle2: { - fontWeight: 600, - lineHeight: 22 / 14, - fontSize: pxToRem(14), - }, - body1: { - lineHeight: 1.5, - fontSize: pxToRem(16), - }, - body2: { - lineHeight: 22 / 14, - fontSize: pxToRem(14), - }, - caption: { - lineHeight: 1.5, - fontSize: pxToRem(12), - }, - overline: { - fontWeight: 700, - lineHeight: 1.5, - fontSize: pxToRem(12), - textTransform: 'uppercase', - }, - button: { - fontWeight: 700, - lineHeight: 24 / 14, - fontSize: pxToRem(14), - textTransform: 'unset', - }, -}; diff --git a/web/src/theme/create-theme.ts b/web/src/theme/create-theme.ts deleted file mode 100755 index a0cf23f14..000000000 --- a/web/src/theme/create-theme.ts +++ /dev/null @@ -1,58 +0,0 @@ -import type { Theme } from '@mui/material/styles'; - -import { extendTheme } from '@mui/material/styles'; - -import { shadows, typography, components, colorSchemes, customShadows } from './core'; - -// ---------------------------------------------------------------------- - -export function createTheme(): Theme { - const initialTheme = { - colorSchemes, - shadows: shadows(), - customShadows: customShadows(), - shape: { borderRadius: 8 }, - components, - typography, - cssVarPrefix: '', - shouldSkipGeneratingVar, - }; - - const theme = extendTheme(initialTheme); - - return theme; -} - -// ---------------------------------------------------------------------- - -function shouldSkipGeneratingVar(keys: string[], value: string | number): boolean { - const skipGlobalKeys = [ - 'mixins', - 'overlays', - 'direction', - 'typography', - 'breakpoints', - 'transitions', - 'cssVarPrefix', - 'unstable_sxConfig', - ]; - - const skipPaletteKeys: { - [key: string]: string[]; - } = { - global: ['tonalOffset', 'dividerChannel', 'contrastThreshold'], - grey: ['A100', 'A200', 'A400', 'A700'], - text: ['icon'], - }; - - const isPaletteKey = keys[0] === 'palette'; - - if (isPaletteKey) { - const paletteType = keys[1]; - const skipKeys = skipPaletteKeys[paletteType] || skipPaletteKeys.global; - - return keys.some((key) => skipKeys?.includes(key)); - } - - return keys.some((key) => skipGlobalKeys?.includes(key)); -} diff --git a/web/src/theme/styles/index.ts b/web/src/theme/styles/index.ts deleted file mode 100755 index e4c2a097b..000000000 --- a/web/src/theme/styles/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './utils'; - -export * from './mixins'; diff --git a/web/src/theme/styles/mixins.ts b/web/src/theme/styles/mixins.ts deleted file mode 100755 index bce268def..000000000 --- a/web/src/theme/styles/mixins.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { CSSObject } from '@mui/material/styles'; - -// ---------------------------------------------------------------------- - -/** - * Usage: - * ...hideScrollX, - * ...hideScrollY, - */ -export const hideScrollX: CSSObject = { - msOverflowStyle: 'none', - scrollbarWidth: 'none', - overflowX: 'auto', - '&::-webkit-scrollbar': { display: 'none' }, -}; - -export const hideScrollY: CSSObject = { - msOverflowStyle: 'none', - scrollbarWidth: 'none', - overflowY: 'auto', - '&::-webkit-scrollbar': { display: 'none' }, -}; - -/** - * Usage: - * ...textGradient(`to right, ${theme.vars.palette.text.primary}, ${alpha(theme.vars.palette.text.primary, 0.2)}` - */ -export function textGradient(color: string): CSSObject { - return { - background: `linear-gradient(${color})`, - WebkitBackgroundClip: 'text', - WebkitTextFillColor: 'transparent', - backgroundClip: 'text', - textFillColor: 'transparent', - color: 'transparent', - }; -} - -/** - * Usage: - * ...bgGradient({ color: `to right, ${theme.vars.palette.grey[900]} 25%, ${varAlpha(theme.vars.palette.primary.darkerChannel, 0.88)}`, imgUrl: '/assets/background/overlay.png' }), - */ -export type BgGradientProps = { - color: string; - imgUrl?: string; -}; - -export function bgGradient({ color, imgUrl }: BgGradientProps): CSSObject { - if (imgUrl) { - return { - background: `linear-gradient(${color}), url(${imgUrl})`, - backgroundSize: 'cover', - backgroundRepeat: 'no-repeat', - backgroundPosition: 'center center', - }; - } - return { background: `linear-gradient(${color})` }; -} - -/** - * Usage: - * ...bgBlur({ color: `varAlpha(theme.vars.palette.background.paperChannel, 0.8)`, imgUrl: '/assets/background/overlay.png', blur: 6 }), - */ -export type BgBlurProps = { - color: string; - blur?: number; - imgUrl?: string; -}; - -export function bgBlur({ color, blur = 6, imgUrl }: BgBlurProps): CSSObject { - if (imgUrl) { - return { - position: 'relative', - backgroundImage: `url(${imgUrl})`, - '&::before': { - position: 'absolute', - top: 0, - left: 0, - zIndex: 9, - content: '""', - width: '100%', - height: '100%', - backdropFilter: `blur(${blur}px)`, - WebkitBackdropFilter: `blur(${blur}px)`, - backgroundColor: color, - }, - }; - } - return { - backdropFilter: `blur(${blur}px)`, - WebkitBackdropFilter: `blur(${blur}px)`, - backgroundColor: color, - }; -} diff --git a/web/src/theme/styles/utils.ts b/web/src/theme/styles/utils.ts deleted file mode 100755 index fe976f22c..000000000 --- a/web/src/theme/styles/utils.ts +++ /dev/null @@ -1,101 +0,0 @@ -// ---------------------------------------------------------------------- - -export const stylesMode = { - light: '[data-mui-color-scheme="light"] &', - dark: '[data-mui-color-scheme="dark"] &', -}; - -export const mediaQueries = { - upXs: '@media (min-width:0px)', - upSm: '@media (min-width:600px)', - upMd: '@media (min-width:900px)', - upLg: '@media (min-width:1200px)', - upXl: '@media (min-width:1536px)', -}; - -/** - * Set font family - */ -export function setFont(fontName: string) { - return `"${fontName}",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"`; -} - -/** - * Converts rem to px - */ -export function remToPx(value: string): number { - return Math.round(parseFloat(value) * 16); -} - -/** - * Converts px to rem - */ -export function pxToRem(value: number): string { - return `${value / 16}rem`; -} - -/** - * Responsive font sizes - */ -export function responsiveFontSizes({ sm, md, lg }: { sm: number; md: number; lg: number }) { - return { - [mediaQueries.upSm]: { fontSize: pxToRem(sm) }, - [mediaQueries.upMd]: { fontSize: pxToRem(md) }, - [mediaQueries.upLg]: { fontSize: pxToRem(lg) }, - }; -} - -/** - * Converts a hex color to RGB channels - */ -export function hexToRgbChannel(hex: string) { - if (!/^#[0-9A-F]{6}$/i.test(hex)) { - throw new Error(`Invalid hex color: ${hex}`); - } - - const r = parseInt(hex.substring(1, 3), 16); - const g = parseInt(hex.substring(3, 5), 16); - const b = parseInt(hex.substring(5, 7), 16); - - return `${r} ${g} ${b}`; -} - -/** - * Converts a hex color to RGB channels - */ -export function createPaletteChannel(hexPalette: Record) { - const channelPalette: Record = {}; - - Object.entries(hexPalette).forEach(([key, value]) => { - channelPalette[`${key}Channel`] = hexToRgbChannel(value); - }); - - return { ...hexPalette, ...channelPalette }; -} - -/** - * Color with alpha channel - */ -export function varAlpha(color: string, opacity = 1) { - const unsupported = - color.startsWith('#') || - color.startsWith('rgb') || - color.startsWith('rgba') || - (!color.includes('var') && color.includes('Channel')); - - if (unsupported) { - throw new Error( - `[Alpha]: Unsupported color format "${color}". - Supported formats are: - - RGB channels: "0 184 217". - - CSS variables with "Channel" prefix: "var(--palette-common-blackChannel, #000000)". - Unsupported formats are: - - Hex: "#00B8D9". - - RGB: "rgb(0, 184, 217)". - - RGBA: "rgba(0, 184, 217, 1)". - ` - ); - } - - return `rgba(${color} / ${opacity})`; -} diff --git a/web/src/theme/theme-provider.tsx b/web/src/theme/theme-provider.tsx deleted file mode 100755 index 280430ef6..000000000 --- a/web/src/theme/theme-provider.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import type {} from '@mui/lab/themeAugmentation'; -import type {} from '@mui/material/themeCssVarsAugmentation'; - -import CssBaseline from '@mui/material/CssBaseline'; -import { Experimental_CssVarsProvider as CssVarsProvider } from '@mui/material/styles'; - -import { createTheme } from './create-theme'; - -// ---------------------------------------------------------------------- - -type Props = { - children: React.ReactNode; -}; - -export function ThemeProvider({ children }: Props) { - const theme = createTheme(); - - return ( - - - {children} - - ); -} diff --git a/web/src/utils/format-number.ts b/web/src/utils/format-number.ts deleted file mode 100755 index e0c5198b9..000000000 --- a/web/src/utils/format-number.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Locales code - * https://gist.github.com/raushankrjha/d1c7e35cf87e69aa8b4208a8171a8416 - */ - -export type InputNumberValue = string | number | null | undefined; - -type Options = Intl.NumberFormatOptions | undefined; - -const DEFAULT_LOCALE = { code: 'en-US', currency: 'USD' }; - -function processInput(inputValue: InputNumberValue): number | null { - if (inputValue == null || Number.isNaN(inputValue)) return null; - return Number(inputValue); -} - -// ---------------------------------------------------------------------- - -export function fNumber(inputValue: InputNumberValue, options?: Options) { - const locale = DEFAULT_LOCALE; - - const number = processInput(inputValue); - if (number === null) return ''; - - const fm = new Intl.NumberFormat(locale.code, { - minimumFractionDigits: 0, - maximumFractionDigits: 2, - ...options, - }).format(number); - - return fm; -} - -// ---------------------------------------------------------------------- - -export function fCurrency(inputValue: InputNumberValue, options?: Options) { - const locale = DEFAULT_LOCALE; - - const number = processInput(inputValue); - if (number === null) return ''; - - const fm = new Intl.NumberFormat(locale.code, { - style: 'currency', - currency: locale.currency, - minimumFractionDigits: 0, - maximumFractionDigits: 2, - ...options, - }).format(number); - - return fm; -} - -// ---------------------------------------------------------------------- - -export function fPercent(inputValue: InputNumberValue, options?: Options) { - const locale = DEFAULT_LOCALE; - - const number = processInput(inputValue); - if (number === null) return ''; - - const fm = new Intl.NumberFormat(locale.code, { - style: 'percent', - minimumFractionDigits: 0, - maximumFractionDigits: 1, - ...options, - }).format(number / 100); - - return fm; -} - -// ---------------------------------------------------------------------- - -export function fShortenNumber(inputValue: InputNumberValue, options?: Options) { - const locale = DEFAULT_LOCALE; - - const number = processInput(inputValue); - if (number === null) return ''; - - const fm = new Intl.NumberFormat(locale.code, { - notation: 'compact', - maximumFractionDigits: 2, - ...options, - }).format(number); - - return fm.replace(/[A-Z]/g, (match) => match.toLowerCase()); -} - -// ---------------------------------------------------------------------- - -export function fData(inputValue: InputNumberValue) { - const number = processInput(inputValue); - if (number === null || number === 0) return '0 bytes'; - - const units = ['bytes', 'Kb', 'Mb', 'Gb', 'Tb', 'Pb', 'Eb', 'Zb', 'Yb']; - const decimal = 2; - const baseValue = 1024; - - const index = Math.floor(Math.log(number) / Math.log(baseValue)); - const fm = `${parseFloat((number / baseValue ** index).toFixed(decimal))} ${units[index]}`; - - return fm; -} diff --git a/web/src/utils/format-time.ts b/web/src/utils/format-time.ts deleted file mode 100755 index 710ee63b4..000000000 --- a/web/src/utils/format-time.ts +++ /dev/null @@ -1,105 +0,0 @@ -import type { Dayjs } from 'dayjs'; - -import dayjs from 'dayjs'; -import duration from 'dayjs/plugin/duration'; -import relativeTime from 'dayjs/plugin/relativeTime'; - -// ---------------------------------------------------------------------- - -dayjs.extend(duration); -dayjs.extend(relativeTime); - -// ---------------------------------------------------------------------- - -export type DatePickerFormat = Dayjs | Date | string | number | null | undefined; - -/** - * Docs: https://day.js.org/docs/en/display/format - */ -export const formatStr = { - dateTime: 'DD MMM YYYY h:mm a', // 17 Apr 2022 12:00 am - date: 'DD MMM YYYY', // 17 Apr 2022 - time: 'h:mm a', // 12:00 am - split: { - dateTime: 'DD/MM/YYYY h:mm a', // 17/04/2022 12:00 am - date: 'DD/MM/YYYY', // 17/04/2022 - }, - paramCase: { - dateTime: 'DD-MM-YYYY h:mm a', // 17-04-2022 12:00 am - date: 'DD-MM-YYYY', // 17-04-2022 - }, -}; - -export function today(format?: string) { - return dayjs(new Date()).startOf('day').format(format); -} - -// ---------------------------------------------------------------------- - -/** output: 17 Apr 2022 12:00 am - */ -export function fDateTime(date: DatePickerFormat, format?: string) { - if (!date) { - return null; - } - - const isValid = dayjs(date).isValid(); - - return isValid ? dayjs(date).format(format ?? formatStr.dateTime) : 'Invalid time value'; -} - -// ---------------------------------------------------------------------- - -/** output: 17 Apr 2022 - */ -export function fDate(date: DatePickerFormat, format?: string) { - if (!date) { - return null; - } - - const isValid = dayjs(date).isValid(); - - return isValid ? dayjs(date).format(format ?? formatStr.date) : 'Invalid time value'; -} - -// ---------------------------------------------------------------------- - -/** output: 12:00 am - */ -export function fTime(date: DatePickerFormat, format?: string) { - if (!date) { - return null; - } - - const isValid = dayjs(date).isValid(); - - return isValid ? dayjs(date).format(format ?? formatStr.time) : 'Invalid time value'; -} - -// ---------------------------------------------------------------------- - -/** output: 1713250100 - */ -export function fTimestamp(date: DatePickerFormat) { - if (!date) { - return null; - } - - const isValid = dayjs(date).isValid(); - - return isValid ? dayjs(date).valueOf() : 'Invalid time value'; -} - -// ---------------------------------------------------------------------- - -/** output: a few seconds, 2 years - */ -export function fToNow(date: DatePickerFormat) { - if (!date) { - return null; - } - - const isValid = dayjs(date).isValid(); - - return isValid ? dayjs(date).toNow(true) : 'Invalid time value'; -} diff --git a/web/src/vite-env.d.ts b/web/src/vite-env.d.ts deleted file mode 100755 index 11f02fe2a..000000000 --- a/web/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/web/tsconfig.json b/web/tsconfig.json deleted file mode 100755 index 9bce082b7..000000000 --- a/web/tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "target": "ESNext", - "lib": ["DOM", "DOM.Iterable", "ESNext"], - "strict": true, - "noEmit": true, - "allowJs": true, - "module": "ESNext", - "jsx": "react-jsx", - "skipLibCheck": true, - "noImplicitAny": true, - "noImplicitThis": true, - "esModuleInterop": true, - "isolatedModules": true, - "strictNullChecks": true, - "resolveJsonModule": true, - "moduleResolution": "Node", - "noFallthroughCasesInSwitch": true, - "useUnknownInCatchVariables": false, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true - }, - "include": ["src"], - "exclude": ["node_modules"], - "references": [ - { - "path": "./tsconfig.node.json" - } - ] -} diff --git a/web/tsconfig.node.json b/web/tsconfig.node.json deleted file mode 100755 index 9d31e2aed..000000000 --- a/web/tsconfig.node.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true - }, - "include": ["vite.config.ts"] -} diff --git a/web/vercel.json b/web/vercel.json deleted file mode 100755 index 408821b11..000000000 --- a/web/vercel.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "rewrites": [ - { - "source": "/(.*)", - "destination": "/" - } - ] -} diff --git a/web/vite.config.ts b/web/vite.config.ts deleted file mode 100755 index 5e4775f61..000000000 --- a/web/vite.config.ts +++ /dev/null @@ -1,35 +0,0 @@ -import path from 'path'; -import checker from 'vite-plugin-checker'; -import { defineConfig } from 'vite'; -import react from '@vitejs/plugin-react-swc'; - -// ---------------------------------------------------------------------- - -const PORT = 3039; - -export default defineConfig({ - plugins: [ - react(), - checker({ - typescript: true, - overlay: { - position: 'tl', - initialIsOpen: false, - }, - }), - ], - resolve: { - alias: [ - { - find: /^~(.+)/, - replacement: path.join(process.cwd(), 'node_modules/$1'), - }, - { - find: /^src(.+)/, - replacement: path.join(process.cwd(), 'src/$1'), - }, - ], - }, - server: { port: PORT, host: true }, - preview: { port: PORT, host: true }, -}); diff --git a/web/yarn.lock b/web/yarn.lock deleted file mode 100644 index acc2c2dc2..000000000 --- a/web/yarn.lock +++ /dev/null @@ -1,1895 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.26.2": - version "7.26.2" - resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85" - integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ== - dependencies: - "@babel/helper-validator-identifier" "^7.25.9" - js-tokens "^4.0.0" - picocolors "^1.0.0" - -"@babel/generator@^7.26.9": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.26.9.tgz#75a9482ad3d0cc7188a537aa4910bc59db67cbca" - integrity sha512-kEWdzjOAUMW4hAyrzJ0ZaTOu9OmpyDIQicIh0zg0EEcEkYXZb2TjtBhnHi2ViX7PKwZqF4xwqfAm299/QMP3lg== - dependencies: - "@babel/parser" "^7.26.9" - "@babel/types" "^7.26.9" - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - jsesc "^3.0.2" - -"@babel/helper-module-imports@^7.16.7": - version "7.25.9" - resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz#e7f8d20602ebdbf9ebbea0a0751fb0f2a4141715" - integrity sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw== - dependencies: - "@babel/traverse" "^7.25.9" - "@babel/types" "^7.25.9" - -"@babel/helper-string-parser@^7.25.9": - version "7.25.9" - resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz#1aabb72ee72ed35789b4bbcad3ca2862ce614e8c" - integrity sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA== - -"@babel/helper-validator-identifier@^7.25.9": - version "7.25.9" - resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz#24b64e2c3ec7cd3b3c547729b8d16871f22cbdc7" - integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== - -"@babel/parser@^7.26.9": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.26.9.tgz#d9e78bee6dc80f9efd8f2349dcfbbcdace280fd5" - integrity sha512-81NWa1njQblgZbQHxWHpxxCzNsa3ZwvFqpUg7P+NNUU6f3UU2jBEg4OlF/J6rl8+PQGh1q6/zWScd001YwcA5A== - dependencies: - "@babel/types" "^7.26.9" - -"@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.26.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.7": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.26.9.tgz#aa4c6facc65b9cb3f87d75125ffd47781b475433" - integrity sha512-aA63XwOkcl4xxQa3HjPMqOP6LiK0ZDv3mUPYEFXkpHbaFjtGggE1A61FjFzJnB+p7/oy2gA8E+rcBNl/zC1tMg== - dependencies: - regenerator-runtime "^0.14.0" - -"@babel/template@^7.26.9": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/template/-/template-7.26.9.tgz#4577ad3ddf43d194528cff4e1fa6b232fa609bb2" - integrity sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA== - dependencies: - "@babel/code-frame" "^7.26.2" - "@babel/parser" "^7.26.9" - "@babel/types" "^7.26.9" - -"@babel/traverse@^7.25.9": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.26.9.tgz#4398f2394ba66d05d988b2ad13c219a2c857461a" - integrity sha512-ZYW7L+pL8ahU5fXmNbPF+iZFHCv5scFak7MZ9bwaRPLUhHh7QQEMjZUg0HevihoqCM5iSYHN61EyCoZvqC+bxg== - dependencies: - "@babel/code-frame" "^7.26.2" - "@babel/generator" "^7.26.9" - "@babel/parser" "^7.26.9" - "@babel/template" "^7.26.9" - "@babel/types" "^7.26.9" - debug "^4.3.1" - globals "^11.1.0" - -"@babel/types@^7.25.9", "@babel/types@^7.26.9": - version "7.26.9" - resolved "https://registry.npmmirror.com/@babel/types/-/types-7.26.9.tgz#08b43dec79ee8e682c2ac631c010bdcac54a21ce" - integrity sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw== - dependencies: - "@babel/helper-string-parser" "^7.25.9" - "@babel/helper-validator-identifier" "^7.25.9" - -"@emotion/babel-plugin@^11.13.5": - version "11.13.5" - resolved "https://registry.npmmirror.com/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz#eab8d65dbded74e0ecfd28dc218e75607c4e7bc0" - integrity sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ== - dependencies: - "@babel/helper-module-imports" "^7.16.7" - "@babel/runtime" "^7.18.3" - "@emotion/hash" "^0.9.2" - "@emotion/memoize" "^0.9.0" - "@emotion/serialize" "^1.3.3" - babel-plugin-macros "^3.1.0" - convert-source-map "^1.5.0" - escape-string-regexp "^4.0.0" - find-root "^1.1.0" - source-map "^0.5.7" - stylis "4.2.0" - -"@emotion/cache@^11.13.1", "@emotion/cache@^11.13.5", "@emotion/cache@^11.14.0": - version "11.14.0" - resolved "https://registry.npmmirror.com/@emotion/cache/-/cache-11.14.0.tgz#ee44b26986eeb93c8be82bb92f1f7a9b21b2ed76" - integrity sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA== - dependencies: - "@emotion/memoize" "^0.9.0" - "@emotion/sheet" "^1.4.0" - "@emotion/utils" "^1.4.2" - "@emotion/weak-memoize" "^0.4.0" - stylis "4.2.0" - -"@emotion/hash@^0.9.2": - version "0.9.2" - resolved "https://registry.npmmirror.com/@emotion/hash/-/hash-0.9.2.tgz#ff9221b9f58b4dfe61e619a7788734bd63f6898b" - integrity sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g== - -"@emotion/is-prop-valid@^1.3.0": - version "1.3.1" - resolved "https://registry.npmmirror.com/@emotion/is-prop-valid/-/is-prop-valid-1.3.1.tgz#8d5cf1132f836d7adbe42cf0b49df7816fc88240" - integrity sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw== - dependencies: - "@emotion/memoize" "^0.9.0" - -"@emotion/memoize@^0.9.0": - version "0.9.0" - resolved "https://registry.npmmirror.com/@emotion/memoize/-/memoize-0.9.0.tgz#745969d649977776b43fc7648c556aaa462b4102" - integrity sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ== - -"@emotion/react@^11.14.0": - version "11.14.0" - resolved "https://registry.npmmirror.com/@emotion/react/-/react-11.14.0.tgz#cfaae35ebc67dd9ef4ea2e9acc6cd29e157dd05d" - integrity sha512-O000MLDBDdk/EohJPFUqvnp4qnHeYkVP5B0xEG0D/L7cOKP9kefu2DXn8dj74cQfsEzUqh+sr1RzFqiL1o+PpA== - dependencies: - "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.13.5" - "@emotion/cache" "^11.14.0" - "@emotion/serialize" "^1.3.3" - "@emotion/use-insertion-effect-with-fallbacks" "^1.2.0" - "@emotion/utils" "^1.4.2" - "@emotion/weak-memoize" "^0.4.0" - hoist-non-react-statics "^3.3.1" - -"@emotion/serialize@^1.3.3": - version "1.3.3" - resolved "https://registry.npmmirror.com/@emotion/serialize/-/serialize-1.3.3.tgz#d291531005f17d704d0463a032fe679f376509e8" - integrity sha512-EISGqt7sSNWHGI76hC7x1CksiXPahbxEOrC5RjmFRJTqLyEK9/9hZvBbiYn70dw4wuwMKiEMCUlR6ZXTSWQqxA== - dependencies: - "@emotion/hash" "^0.9.2" - "@emotion/memoize" "^0.9.0" - "@emotion/unitless" "^0.10.0" - "@emotion/utils" "^1.4.2" - csstype "^3.0.2" - -"@emotion/sheet@^1.4.0": - version "1.4.0" - resolved "https://registry.npmmirror.com/@emotion/sheet/-/sheet-1.4.0.tgz#c9299c34d248bc26e82563735f78953d2efca83c" - integrity sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg== - -"@emotion/styled@^11.14.0": - version "11.14.0" - resolved "https://registry.npmmirror.com/@emotion/styled/-/styled-11.14.0.tgz#f47ca7219b1a295186d7661583376fcea95f0ff3" - integrity sha512-XxfOnXFffatap2IyCeJyNov3kiDQWoR08gPUQxvbL7fxKryGBKUZUkG6Hz48DZwVrJSVh9sJboyV1Ds4OW6SgA== - dependencies: - "@babel/runtime" "^7.18.3" - "@emotion/babel-plugin" "^11.13.5" - "@emotion/is-prop-valid" "^1.3.0" - "@emotion/serialize" "^1.3.3" - "@emotion/use-insertion-effect-with-fallbacks" "^1.2.0" - "@emotion/utils" "^1.4.2" - -"@emotion/unitless@^0.10.0": - version "0.10.0" - resolved "https://registry.npmmirror.com/@emotion/unitless/-/unitless-0.10.0.tgz#2af2f7c7e5150f497bdabd848ce7b218a27cf745" - integrity sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg== - -"@emotion/use-insertion-effect-with-fallbacks@^1.2.0": - version "1.2.0" - resolved "https://registry.npmmirror.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.2.0.tgz#8a8cb77b590e09affb960f4ff1e9a89e532738bf" - integrity sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg== - -"@emotion/utils@^1.4.2": - version "1.4.2" - resolved "https://registry.npmmirror.com/@emotion/utils/-/utils-1.4.2.tgz#6df6c45881fcb1c412d6688a311a98b7f59c1b52" - integrity sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA== - -"@emotion/weak-memoize@^0.4.0": - version "0.4.0" - resolved "https://registry.npmmirror.com/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz#5e13fac887f08c44f76b0ccaf3370eb00fec9bb6" - integrity sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg== - -"@esbuild/aix-ppc64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz#38848d3e25afe842a7943643cbcd387cc6e13461" - integrity sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA== - -"@esbuild/android-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz#f592957ae8b5643129fa889c79e69cd8669bb894" - integrity sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg== - -"@esbuild/android-arm@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.24.2.tgz#72d8a2063aa630308af486a7e5cbcd1e134335b3" - integrity sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q== - -"@esbuild/android-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.24.2.tgz#9a7713504d5f04792f33be9c197a882b2d88febb" - integrity sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw== - -"@esbuild/darwin-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz#02ae04ad8ebffd6e2ea096181b3366816b2b5936" - integrity sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA== - -"@esbuild/darwin-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz#9ec312bc29c60e1b6cecadc82bd504d8adaa19e9" - integrity sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA== - -"@esbuild/freebsd-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz#5e82f44cb4906d6aebf24497d6a068cfc152fa00" - integrity sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg== - -"@esbuild/freebsd-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz#3fb1ce92f276168b75074b4e51aa0d8141ecce7f" - integrity sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q== - -"@esbuild/linux-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz#856b632d79eb80aec0864381efd29de8fd0b1f43" - integrity sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg== - -"@esbuild/linux-arm@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz#c846b4694dc5a75d1444f52257ccc5659021b736" - integrity sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA== - -"@esbuild/linux-ia32@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz#f8a16615a78826ccbb6566fab9a9606cfd4a37d5" - integrity sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw== - -"@esbuild/linux-loong64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz#1c451538c765bf14913512c76ed8a351e18b09fc" - integrity sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ== - -"@esbuild/linux-mips64el@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz#0846edeefbc3d8d50645c51869cc64401d9239cb" - integrity sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw== - -"@esbuild/linux-ppc64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz#8e3fc54505671d193337a36dfd4c1a23b8a41412" - integrity sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw== - -"@esbuild/linux-riscv64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz#6a1e92096d5e68f7bb10a0d64bb5b6d1daf9a694" - integrity sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q== - -"@esbuild/linux-s390x@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz#ab18e56e66f7a3c49cb97d337cd0a6fea28a8577" - integrity sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw== - -"@esbuild/linux-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz#8140c9b40da634d380b0b29c837a0b4267aff38f" - integrity sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q== - -"@esbuild/netbsd-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz#65f19161432bafb3981f5f20a7ff45abb2e708e6" - integrity sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw== - -"@esbuild/netbsd-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz#7a3a97d77abfd11765a72f1c6f9b18f5396bcc40" - integrity sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw== - -"@esbuild/openbsd-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz#58b00238dd8f123bfff68d3acc53a6ee369af89f" - integrity sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A== - -"@esbuild/openbsd-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz#0ac843fda0feb85a93e288842936c21a00a8a205" - integrity sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA== - -"@esbuild/sunos-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz#8b7aa895e07828d36c422a4404cc2ecf27fb15c6" - integrity sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig== - -"@esbuild/win32-arm64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz#c023afb647cabf0c3ed13f0eddfc4f1d61c66a85" - integrity sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ== - -"@esbuild/win32-ia32@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz#96c356132d2dda990098c8b8b951209c3cd743c2" - integrity sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA== - -"@esbuild/win32-x64@0.24.2": - version "0.24.2" - resolved "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz#34aa0b52d0fbb1a654b596acfa595f0c7b77a77b" - integrity sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg== - -"@floating-ui/core@^1.6.0": - version "1.6.9" - resolved "https://registry.npmmirror.com/@floating-ui/core/-/core-1.6.9.tgz#64d1da251433019dafa091de9b2886ff35ec14e6" - integrity sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw== - dependencies: - "@floating-ui/utils" "^0.2.9" - -"@floating-ui/dom@^1.0.0": - version "1.6.13" - resolved "https://registry.npmmirror.com/@floating-ui/dom/-/dom-1.6.13.tgz#a8a938532aea27a95121ec16e667a7cbe8c59e34" - integrity sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w== - dependencies: - "@floating-ui/core" "^1.6.0" - "@floating-ui/utils" "^0.2.9" - -"@floating-ui/react-dom@^2.1.1": - version "2.1.2" - resolved "https://registry.npmmirror.com/@floating-ui/react-dom/-/react-dom-2.1.2.tgz#a1349bbf6a0e5cb5ded55d023766f20a4d439a31" - integrity sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A== - dependencies: - "@floating-ui/dom" "^1.0.0" - -"@floating-ui/utils@^0.2.9": - version "0.2.9" - resolved "https://registry.npmmirror.com/@floating-ui/utils/-/utils-0.2.9.tgz#50dea3616bc8191fb8e112283b49eaff03e78429" - integrity sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg== - -"@fontsource-variable/dm-sans@^5.0.7": - version "5.1.1" - resolved "https://registry.npmmirror.com/@fontsource-variable/dm-sans/-/dm-sans-5.1.1.tgz#2ea69e7ded9407187a3f447c133c99f860520716" - integrity sha512-oOroo1rQurZR8giuNLF64W+EqvZt6prsdJS6gGCAZgD/AMIHKmL6RzVjznGb8ZGXCeiJpVWO/xd4DPgMqr7ayQ== - -"@fontsource/barlow@^5.0.14": - version "5.1.1" - resolved "https://registry.npmmirror.com/@fontsource/barlow/-/barlow-5.1.1.tgz#0c061bcb9a48893c60e73a6e90d13e1e279155b3" - integrity sha512-41BWOY3bZg0Hc7eQkeMEFIPUIt2wkVYHhfhlV8VVVaiRBdQw5JY8NT9qpB3Z/IKZ9dQuhHzUjuQJu9ALmjEwig== - -"@iconify/react@^5.0.2": - version "5.2.0" - resolved "https://registry.npmmirror.com/@iconify/react/-/react-5.2.0.tgz#c525afc322edba4152aa81e42e22a71a7c31a62b" - integrity sha512-7Sdjrqq3fkkQNks9SY3adGC37NQTHsBJL2PRKlQd455PoDi9s+Es9AUTY+vGLFOYs5yO9w9yCE42pmxCwG26WA== - dependencies: - "@iconify/types" "^2.0.0" - -"@iconify/types@^2.0.0": - version "2.0.0" - resolved "https://registry.npmmirror.com/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57" - integrity sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg== - -"@jridgewell/gen-mapping@^0.3.5": - version "0.3.8" - resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz#4f0e06362e01362f823d348f1872b08f666d8142" - integrity sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA== - dependencies: - "@jridgewell/set-array" "^1.2.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.24" - -"@jridgewell/resolve-uri@^3.1.0": - version "3.1.2" - resolved "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" - integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== - -"@jridgewell/set-array@^1.2.1": - version "1.2.1" - resolved "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" - integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== - -"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": - version "1.5.0" - resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" - integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== - -"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": - version "0.3.25" - resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" - integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - -"@mui/base@5.0.0-beta.69": - version "5.0.0-beta.69" - resolved "https://registry.npmmirror.com/@mui/base/-/base-5.0.0-beta.69.tgz#fc3635818c6a9fb954b1ee00870109e7e266149d" - integrity sha512-r2YyGUXpZxj8rLAlbjp1x2BnMERTZ/dMqd9cClKj2OJ7ALAuiv/9X5E9eHfRc9o/dGRuLSMq/WTjREktJVjxVA== - dependencies: - "@babel/runtime" "^7.26.0" - "@floating-ui/react-dom" "^2.1.1" - "@mui/types" "^7.2.21" - "@mui/utils" "^6.4.1" - "@popperjs/core" "^2.11.8" - clsx "^2.1.1" - prop-types "^15.8.1" - -"@mui/core-downloads-tracker@^6.4.4": - version "6.4.4" - resolved "https://registry.npmmirror.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.4.tgz#7ea43a1185e9cb1dbec77b9fc543b3d8a338d1f0" - integrity sha512-r+J0EditrekkTtO2CnCBCOGpNaDYwJqz8lH4rj6o/anDcskZFJodBlG8aCJkS8DL/CF/9EHS+Gz53EbmYEnQbw== - -"@mui/icons-material@^6.4.4": - version "6.4.4" - resolved "https://registry.npmmirror.com/@mui/icons-material/-/icons-material-6.4.4.tgz#cbc2c9e9c9bbb66f4062085dc69c0b886cd7f888" - integrity sha512-uF1chGaoFmYdRUomK6f8kgJfWosk9A3HXWiVD0vQm+2mE7f25eTQ1E8RRO11LXpnUBqu8Rbv/uGlpnjT/u1Ksg== - dependencies: - "@babel/runtime" "^7.26.0" - -"@mui/lab@^6.0.0-beta.27": - version "6.0.0-beta.27" - resolved "https://registry.npmmirror.com/@mui/lab/-/lab-6.0.0-beta.27.tgz#7bf2dec1792e68d0372128578dea4b4b04165c6f" - integrity sha512-weLxPsCs2wJKgWKf46shXHE+x7qlf5VxMK3P+4HsWasMakV/uTmxsoT7PG3QCvakGQ2TdpZtQLE2umJKC0mvKQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/base" "5.0.0-beta.69" - "@mui/system" "^6.4.3" - "@mui/types" "^7.2.21" - "@mui/utils" "^6.4.3" - clsx "^2.1.1" - prop-types "^15.8.1" - -"@mui/material@^6.4.4": - version "6.4.4" - resolved "https://registry.npmmirror.com/@mui/material/-/material-6.4.4.tgz#fd2879cae5f3ed8a13b6257dbc051e0bbeefa8ee" - integrity sha512-ISVPrIsPQsxnwvS40C4u03AuNSPigFeS2+n1qpuEZ94hDsdMi19dQM2JcC9CHEhXecSIQjP1RTyY0mPiSpSrFQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/core-downloads-tracker" "^6.4.4" - "@mui/system" "^6.4.3" - "@mui/types" "^7.2.21" - "@mui/utils" "^6.4.3" - "@popperjs/core" "^2.11.8" - "@types/react-transition-group" "^4.4.12" - clsx "^2.1.1" - csstype "^3.1.3" - prop-types "^15.8.1" - react-is "^19.0.0" - react-transition-group "^4.4.5" - -"@mui/private-theming@^6.4.3": - version "6.4.3" - resolved "https://registry.npmmirror.com/@mui/private-theming/-/private-theming-6.4.3.tgz#40d7d95316e9e52d465f0c96da23f9fb8f6a989f" - integrity sha512-7x9HaNwDCeoERc4BoEWLieuzKzXu5ZrhRnEM6AUcRXUScQLvF1NFkTlP59+IJfTbEMgcGg1wWHApyoqcksrBpQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/utils" "^6.4.3" - prop-types "^15.8.1" - -"@mui/styled-engine@^6.4.3": - version "6.4.3" - resolved "https://registry.npmmirror.com/@mui/styled-engine/-/styled-engine-6.4.3.tgz#fbd7a6b925dfaeaa84ffbf8ed9be78a0ff0b3d6e" - integrity sha512-OC402VfK+ra2+f12Gef8maY7Y9n7B6CZcoQ9u7mIkh/7PKwW/xH81xwX+yW+Ak1zBT3HYcVjh2X82k5cKMFGoQ== - dependencies: - "@babel/runtime" "^7.26.0" - "@emotion/cache" "^11.13.5" - "@emotion/serialize" "^1.3.3" - "@emotion/sheet" "^1.4.0" - csstype "^3.1.3" - prop-types "^15.8.1" - -"@mui/system@^6.4.3": - version "6.4.3" - resolved "https://registry.npmmirror.com/@mui/system/-/system-6.4.3.tgz#f1e093850c8cc23c6605297c8a4134bea6fe290b" - integrity sha512-Q0iDwnH3+xoxQ0pqVbt8hFdzhq1g2XzzR4Y5pVcICTNtoCLJmpJS3vI4y/OIM1FHFmpfmiEC2IRIq7YcZ8nsmg== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/private-theming" "^6.4.3" - "@mui/styled-engine" "^6.4.3" - "@mui/types" "^7.2.21" - "@mui/utils" "^6.4.3" - clsx "^2.1.1" - csstype "^3.1.3" - prop-types "^15.8.1" - -"@mui/types@^7.2.21": - version "7.2.21" - resolved "https://registry.npmmirror.com/@mui/types/-/types-7.2.21.tgz#63f50874eda8e4a021a69aaa8ba9597369befda2" - integrity sha512-6HstngiUxNqLU+/DPqlUJDIPbzUBxIVHb1MmXP0eTWDIROiCR2viugXpEif0PPe2mLqqakPzzRClWAnK+8UJww== - -"@mui/utils@^6.4.1", "@mui/utils@^6.4.3": - version "6.4.3" - resolved "https://registry.npmmirror.com/@mui/utils/-/utils-6.4.3.tgz#e08bc3a5ae1552a48dd13ddc7c65e3eebdb4cd58" - integrity sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A== - dependencies: - "@babel/runtime" "^7.26.0" - "@mui/types" "^7.2.21" - "@types/prop-types" "^15.7.14" - clsx "^2.1.1" - prop-types "^15.8.1" - react-is "^19.0.0" - -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== - dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== - -"@nodelib/fs.walk@^1.2.3": - version "1.2.8" - resolved "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" - -"@popperjs/core@^2.11.8": - version "2.11.8" - resolved "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" - integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== - -"@rollup/rollup-android-arm-eabi@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.7.tgz#e554185b1afa5509a7a4040d15ec0c3b4435ded1" - integrity sha512-l6CtzHYo8D2TQ3J7qJNpp3Q1Iye56ssIAtqbM2H8axxCEEwvN7o8Ze9PuIapbxFL3OHrJU2JBX6FIIVnP/rYyw== - -"@rollup/rollup-android-arm64@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.7.tgz#b1ee64bb413b2feba39803b0a1bebf2a9f3d70e1" - integrity sha512-KvyJpFUueUnSp53zhAa293QBYqwm94TgYTIfXyOTtidhm5V0LbLCJQRGkQClYiX3FXDQGSvPxOTD/6rPStMMDg== - -"@rollup/rollup-darwin-arm64@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.7.tgz#bfdce3e07a345dd1bd628f3b796050f39629d7f0" - integrity sha512-jq87CjmgL9YIKvs8ybtIC98s/M3HdbqXhllcy9EdLV0yMg1DpxES2gr65nNy7ObNo/vZ/MrOTxt0bE5LinL6mA== - -"@rollup/rollup-darwin-x64@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.7.tgz#781a94a537c57bdf0a500e47a25ab5985e5e8dff" - integrity sha512-rSI/m8OxBjsdnMMg0WEetu/w+LhLAcCDEiL66lmMX4R3oaml3eXz3Dxfvrxs1FbzPbJMaItQiksyMfv1hoIxnA== - -"@rollup/rollup-freebsd-arm64@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.7.tgz#7a028357cbd12c5869c446ad18177c89f3405102" - integrity sha512-oIoJRy3ZrdsXpFuWDtzsOOa/E/RbRWXVokpVrNnkS7npz8GEG++E1gYbzhYxhxHbO2om1T26BZjVmdIoyN2WtA== - -"@rollup/rollup-freebsd-x64@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.7.tgz#f24836a6371cccc4408db74f0fd986dacf098950" - integrity sha512-X++QSLm4NZfZ3VXGVwyHdRf58IBbCu9ammgJxuWZYLX0du6kZvdNqPwrjvDfwmi6wFdvfZ/s6K7ia0E5kI7m8Q== - -"@rollup/rollup-linux-arm-gnueabihf@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.7.tgz#95f27e96f0eb9b9ae9887739a8b6dffc90c1237f" - integrity sha512-Z0TzhrsNqukTz3ISzrvyshQpFnFRfLunYiXxlCRvcrb3nvC5rVKI+ZXPFG/Aa4jhQa1gHgH3A0exHaRRN4VmdQ== - -"@rollup/rollup-linux-arm-musleabihf@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.7.tgz#677b34fba9d070877736c3fe8b02aacb5e142d97" - integrity sha512-nkznpyXekFAbvFBKBy4nNppSgneB1wwG1yx/hujN3wRnhnkrYVugMTCBXED4+Ni6thoWfQuHNYbFjgGH0MBXtw== - -"@rollup/rollup-linux-arm64-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.7.tgz#32d3d19dedde54e91574a098f22ea43a09cf63dd" - integrity sha512-KCjlUkcKs6PjOcxolqrXglBDcfCuUCTVlX5BgzgoJHw+1rWH1MCkETLkLe5iLLS9dP5gKC7mp3y6x8c1oGBUtA== - -"@rollup/rollup-linux-arm64-musl@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.7.tgz#a58dff44a18696df65ed8c0ad68a2945cf900484" - integrity sha512-uFLJFz6+utmpbR313TTx+NpPuAXbPz4BhTQzgaP0tozlLnGnQ6rCo6tLwaSa6b7l6gRErjLicXQ1iPiXzYotjw== - -"@rollup/rollup-linux-loongarch64-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.7.tgz#a7488ab078233111e8aeb370d1ecf107ec7e1716" - integrity sha512-ws8pc68UcJJqCpneDFepnwlsMUFoWvPbWXT/XUrJ7rWUL9vLoIN3GAasgG+nCvq8xrE3pIrd+qLX/jotcLy0Qw== - -"@rollup/rollup-linux-powerpc64le-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.7.tgz#e9b9c0d6bd248a92b2d6ec01ebf99c62ae1f2e9a" - integrity sha512-vrDk9JDa/BFkxcS2PbWpr0C/LiiSLxFbNOBgfbW6P8TBe9PPHx9Wqbvx2xgNi1TOAyQHQJ7RZFqBiEohm79r0w== - -"@rollup/rollup-linux-riscv64-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.7.tgz#0df84ce2bea48ee686fb55060d76ab47aff45c4c" - integrity sha512-rB+ejFyjtmSo+g/a4eovDD1lHWHVqizN8P0Hm0RElkINpS0XOdpaXloqM4FBkF9ZWEzg6bezymbpLmeMldfLTw== - -"@rollup/rollup-linux-s390x-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.7.tgz#73df374c57d036856e33dbd2715138922e91e452" - integrity sha512-nNXNjo4As6dNqRn7OrsnHzwTgtypfRA3u3AKr0B3sOOo+HkedIbn8ZtFnB+4XyKJojIfqDKmbIzO1QydQ8c+Pw== - -"@rollup/rollup-linux-x64-gnu@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.7.tgz#f27af0b55f0cdd84e182e6cd44a6d03da0458149" - integrity sha512-9kPVf9ahnpOMSGlCxXGv980wXD0zRR3wyk8+33/MXQIpQEOpaNe7dEHm5LMfyRZRNt9lMEQuH0jUKj15MkM7QA== - -"@rollup/rollup-linux-x64-musl@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.7.tgz#c7981ad5cfb8c3cd5d643d33ca54e4d2802b9201" - integrity sha512-7wJPXRWTTPtTFDFezA8sle/1sdgxDjuMoRXEKtx97ViRxGGkVQYovem+Q8Pr/2HxiHp74SSRG+o6R0Yq0shPwQ== - -"@rollup/rollup-win32-arm64-msvc@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.7.tgz#06cedc0ef3cbf1cbd8abcf587090712e40ae6941" - integrity sha512-MN7aaBC7mAjsiMEZcsJvwNsQVNZShgES/9SzWp1HC9Yjqb5OpexYnRjF7RmE4itbeesHMYYQiAtUAQaSKs2Rfw== - -"@rollup/rollup-win32-ia32-msvc@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.7.tgz#90b39b977b14961a769be6ea61238e7fc668dd4d" - integrity sha512-aeawEKYswsFu1LhDM9RIgToobquzdtSc4jSVqHV8uApz4FVvhFl/mKh92wc8WpFc6aYCothV/03UjY6y7yLgbg== - -"@rollup/rollup-win32-x64-msvc@4.34.7": - version "4.34.7" - resolved "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.7.tgz#6531d61e7141091eaab0461ee8e0380c10e4ca57" - integrity sha512-4ZedScpxxIrVO7otcZ8kCX1mZArtH2Wfj3uFCxRJ9NO80gg1XV0U/b2f/MKaGwj2X3QopHfoWiDQ917FRpwY3w== - -"@svgdotjs/svg.draggable.js@^3.0.4": - version "3.0.6" - resolved "https://registry.npmmirror.com/@svgdotjs/svg.draggable.js/-/svg.draggable.js-3.0.6.tgz#bca1065ec27b1dbae5a92a0558777ed964a395cb" - integrity sha512-7iJFm9lL3C40HQcqzEfezK2l+dW2CpoVY3b77KQGqc8GXWa6LhhmX5Ckv7alQfUXBuZbjpICZ+Dvq1czlGx7gA== - -"@svgdotjs/svg.filter.js@^3.0.8": - version "3.0.8" - resolved "https://registry.npmmirror.com/@svgdotjs/svg.filter.js/-/svg.filter.js-3.0.8.tgz#998cb2481a871fa70d7dbaa891c886b335c562d7" - integrity sha512-YshF2YDaeRA2StyzAs5nUPrev7npQ38oWD0eTRwnsciSL2KrRPMoUw8BzjIXItb3+dccKGTX3IQOd2NFzmHkog== - dependencies: - "@svgdotjs/svg.js" "^3.1.1" - -"@svgdotjs/svg.js@^3.1.1", "@svgdotjs/svg.js@^3.2.4": - version "3.2.4" - resolved "https://registry.npmmirror.com/@svgdotjs/svg.js/-/svg.js-3.2.4.tgz#4716be92a64c66b29921b63f7235fcfb953fb13a" - integrity sha512-BjJ/7vWNowlX3Z8O4ywT58DqbNRyYlkk6Yz/D13aB7hGmfQTvGX4Tkgtm/ApYlu9M7lCQi15xUEidqMUmdMYwg== - -"@svgdotjs/svg.resize.js@^2.0.2": - version "2.0.5" - resolved "https://registry.npmmirror.com/@svgdotjs/svg.resize.js/-/svg.resize.js-2.0.5.tgz#732e4cae15d09ad3021adeac63bc9fad0dc7255a" - integrity sha512-4heRW4B1QrJeENfi7326lUPYBCevj78FJs8kfeDxn5st0IYPIRXoTtOSYvTzFWgaWWXd3YCDE6ao4fmv91RthA== - -"@svgdotjs/svg.select.js@^4.0.1": - version "4.0.2" - resolved "https://registry.npmmirror.com/@svgdotjs/svg.select.js/-/svg.select.js-4.0.2.tgz#80a10409e6c73206218690eac5c9f94f8c8909b5" - integrity sha512-5gWdrvoQX3keo03SCmgaBbD+kFftq0F/f2bzCbNnpkkvW6tk4rl4MakORzFuNjvXPWwB4az9GwuvVxQVnjaK2g== - -"@swc/core-darwin-arm64@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.10.16.tgz#2aa09f2bcea4cfdaac67673b4661fca1e5422dc2" - integrity sha512-iikIxwqCQ4Bvz79vJ4ELh26efPf1u5D9TFdmXSJUBs7C3mmMHvk5zyWD9A9cTowXiW6WHs2gE58U1R9HOTTIcg== - -"@swc/core-darwin-x64@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-darwin-x64/-/core-darwin-x64-1.10.16.tgz#fbcd585956e381e2eb7fe395d6205d1dea6e0847" - integrity sha512-R2Eb9aktWd62vPfW9H/c/OaQ0e94iURibBo4uzUUcgxNNmB4+wb6piKbHxGdr/5bEsT+vJ1lwZFSRzfb45E7DA== - -"@swc/core-linux-arm-gnueabihf@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.10.16.tgz#249cad76197ff6ac68dd1ae189996d88b8f8809b" - integrity sha512-mkqN3HBAMnuiSGZ/k2utScuH8rAPshvNj0T1LjBWon+X9DkMNHSA+aMLdWsy0yZKF1zjOPc4L3Uq2l2wzhUlzA== - -"@swc/core-linux-arm64-gnu@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.10.16.tgz#5d9ce61a1f0ef220fa6b073282563ac287393005" - integrity sha512-PH/+q/L5nVZJ91CU07CL6Q9Whs6iR6nneMZMAgtVF9Ix8ST0cWVItdUhs6D38kFklCFhaOrpHhS01HlMJ72vWw== - -"@swc/core-linux-arm64-musl@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.10.16.tgz#99798b7dbe8ce35c7410d4d5f741362517bfd9c9" - integrity sha512-1169+C9XbydKKc6Ec1XZxTGKtHjZHDIFn0r+Nqp/QSVwkORrOY1Vz2Hdu7tn/lWMg36ZkGePS+LnnyV67s/7yg== - -"@swc/core-linux-x64-gnu@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.10.16.tgz#ad3bdb5ca57d99b479912b496bcd6510616e9a11" - integrity sha512-n2rV0XwkjoHn4MDJmpYp5RBrnyi94/6GsJVpbn6f+/eqSrZn3mh3dT7pdZc9zCN1Qp9eDHo+uI6e/wgvbL22uA== - -"@swc/core-linux-x64-musl@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.10.16.tgz#07d92aa670c4873116c5cf54b721e6e09fecc914" - integrity sha512-EevCpwreBrkPrJjQVIbiM81lK42ukNNSlBmrSRxxbx2V9VGmOd5qxX0cJBn0TRRSLIPi62BuMS76F9iYjqsjgg== - -"@swc/core-win32-arm64-msvc@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.10.16.tgz#2a8b13914b79235291a50f252c9ed2736d75d832" - integrity sha512-BvE7RWAnKJeELVQWLok6env5I4GUVBTZSvaSN/VPgxnTjF+4PsTeQptYx0xCYhp5QCv68wWYsBnZKuPDS+SBsw== - -"@swc/core-win32-ia32-msvc@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.10.16.tgz#f3c31df61748cd211e0f5b3f9912360f3ffe5bd6" - integrity sha512-7Jf/7AeCgbLR/JsQgMJuacHIq4Jeie3knf6+mXxn8aCvRypsOTIEu0eh7j24SolOboxK1ijqJ86GyN1VA2Rebg== - -"@swc/core-win32-x64-msvc@1.10.16": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.10.16.tgz#0a7aa33a24cb9f09908e62de06366d28add3e845" - integrity sha512-p0blVm0R8bjaTtmW+FoPmLxLSQdRNbqhuWcR/8g80OzMSkka9mk5/J3kn/5JRVWh+MaR9LHRHZc1Q1L8zan13g== - -"@swc/core@^1.10.15": - version "1.10.16" - resolved "https://registry.npmmirror.com/@swc/core/-/core-1.10.16.tgz#ee5e973ee68b51844b52629adfed311c7f23b390" - integrity sha512-nOINg/OUcZazCW7B55QV2/UB8QAqz9FYe4+z229+4RYboBTZ102K7ebOEjY5sKn59JgAkhjZTz+5BKmXpDFopw== - dependencies: - "@swc/counter" "^0.1.3" - "@swc/types" "^0.1.17" - optionalDependencies: - "@swc/core-darwin-arm64" "1.10.16" - "@swc/core-darwin-x64" "1.10.16" - "@swc/core-linux-arm-gnueabihf" "1.10.16" - "@swc/core-linux-arm64-gnu" "1.10.16" - "@swc/core-linux-arm64-musl" "1.10.16" - "@swc/core-linux-x64-gnu" "1.10.16" - "@swc/core-linux-x64-musl" "1.10.16" - "@swc/core-win32-arm64-msvc" "1.10.16" - "@swc/core-win32-ia32-msvc" "1.10.16" - "@swc/core-win32-x64-msvc" "1.10.16" - -"@swc/counter@^0.1.3": - version "0.1.3" - resolved "https://registry.npmmirror.com/@swc/counter/-/counter-0.1.3.tgz#cc7463bd02949611c6329596fccd2b0ec782b0e9" - integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ== - -"@swc/types@^0.1.17": - version "0.1.17" - resolved "https://registry.npmmirror.com/@swc/types/-/types-0.1.17.tgz#bd1d94e73497f27341bf141abdf4c85230d41e7c" - integrity sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ== - dependencies: - "@swc/counter" "^0.1.3" - -"@types/cookie@^0.6.0": - version "0.6.0" - resolved "https://registry.npmmirror.com/@types/cookie/-/cookie-0.6.0.tgz#eac397f28bf1d6ae0ae081363eca2f425bedf0d5" - integrity sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA== - -"@types/estree@1.0.6": - version "1.0.6" - resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" - integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== - -"@types/node@^22.5.0": - version "22.13.4" - resolved "https://registry.npmmirror.com/@types/node/-/node-22.13.4.tgz#3fe454d77cd4a2d73c214008b3e331bfaaf5038a" - integrity sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg== - dependencies: - undici-types "~6.20.0" - -"@types/parse-json@^4.0.0": - version "4.0.2" - resolved "https://registry.npmmirror.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" - integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== - -"@types/prop-types@^15.7.14": - version "15.7.14" - resolved "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.14.tgz#1433419d73b2a7ebfc6918dcefd2ec0d5cd698f2" - integrity sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ== - -"@types/react-dom@^19.0.3": - version "19.0.3" - resolved "https://registry.npmmirror.com/@types/react-dom/-/react-dom-19.0.3.tgz#0804dfd279a165d5a0ad8b53a5b9e65f338050a4" - integrity sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA== - -"@types/react-transition-group@^4.4.12": - version "4.4.12" - resolved "https://registry.npmmirror.com/@types/react-transition-group/-/react-transition-group-4.4.12.tgz#b5d76568485b02a307238270bfe96cb51ee2a044" - integrity sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w== - -"@types/react@^19.0.8": - version "19.0.8" - resolved "https://registry.npmmirror.com/@types/react/-/react-19.0.8.tgz#7098e6159f2a61e4f4cef2c1223c044a9bec590e" - integrity sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw== - dependencies: - csstype "^3.0.2" - -"@vitejs/plugin-react-swc@^3.7.0": - version "3.8.0" - resolved "https://registry.npmmirror.com/@vitejs/plugin-react-swc/-/plugin-react-swc-3.8.0.tgz#3af56d6dbfe3734e2970d8b9345f261353e2d676" - integrity sha512-T4sHPvS+DIqDP51ifPqa9XIRAz/kIvIi8oXcnOZZgHmMotgmmdxe/DD5tMFlt5nuIRzT0/QuiwmKlH0503Aapw== - dependencies: - "@swc/core" "^1.10.15" - -"@yr/monotone-cubic-spline@^1.0.3": - version "1.0.3" - resolved "https://registry.npmmirror.com/@yr/monotone-cubic-spline/-/monotone-cubic-spline-1.0.3.tgz#7272d89f8e4f6fb7a1600c28c378cc18d3b577b9" - integrity sha512-FQXkOta0XBSUPHndIKON2Y9JeQz5ZeMqLYZVVK93FliNBFm7LNMIZmY6FrMEB9XPcDbE2bekMbZD6kzDkxwYjA== - -ansi-escapes@^4.3.0: - version "4.3.2" - resolved "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -apexcharts@^4.4.0: - version "4.4.0" - resolved "https://registry.npmmirror.com/apexcharts/-/apexcharts-4.4.0.tgz#af1e80c3cbc5720f0362a7c34e09c6e461006e22" - integrity sha512-JGsHeQEKDlQh1rob8aBai9/HKvXIpbZ83TnobKZAcdOELf+oQZaxZyAnbbldr6PPBdCgG2zzzLaP1dtEsJxzWw== - dependencies: - "@svgdotjs/svg.draggable.js" "^3.0.4" - "@svgdotjs/svg.filter.js" "^3.0.8" - "@svgdotjs/svg.js" "^3.2.4" - "@svgdotjs/svg.resize.js" "^2.0.2" - "@svgdotjs/svg.select.js" "^4.0.1" - "@yr/monotone-cubic-spline" "^1.0.3" - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -axios@^1.7.9: - version "1.7.9" - resolved "https://registry.npmmirror.com/axios/-/axios-1.7.9.tgz#d7d071380c132a24accda1b2cfc1535b79ec650a" - integrity sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -babel-plugin-macros@^3.1.0: - version "3.1.0" - resolved "https://registry.npmmirror.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" - integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== - dependencies: - "@babel/runtime" "^7.12.5" - cosmiconfig "^7.0.0" - resolve "^1.19.0" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -binary-extensions@^2.0.0: - version "2.3.0" - resolved "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" - integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -braces@^3.0.3, braces@~3.0.2: - version "3.0.3" - resolved "https://registry.npmmirror.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - -call-bind-apply-helpers@^1.0.1: - version "1.0.2" - resolved "https://registry.npmmirror.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" - integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== - dependencies: - es-errors "^1.3.0" - function-bind "^1.1.2" - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -chalk@^4.1.1, chalk@^4.1.2: - version "4.1.2" - resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chokidar@^3.5.1: - version "3.6.0" - resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.npmmirror.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clsx@^2.1.1: - version "2.1.1" - resolved "https://registry.npmmirror.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999" - integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^8.0.0: - version "8.3.0" - resolved "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" - integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -concurrently@^9.1.2: - version "9.1.2" - resolved "https://registry.npmmirror.com/concurrently/-/concurrently-9.1.2.tgz#22d9109296961eaee773e12bfb1ce9a66bc9836c" - integrity sha512-H9MWcoPsYddwbOGM6difjVwVZHl63nwMEwDJG/L7VGtuaJhb12h2caPG2tVPWs7emuYix252iGfqOyrz1GczTQ== - dependencies: - chalk "^4.1.2" - lodash "^4.17.21" - rxjs "^7.8.1" - shell-quote "^1.8.1" - supports-color "^8.1.1" - tree-kill "^1.2.2" - yargs "^17.7.2" - -convert-source-map@^1.5.0: - version "1.9.0" - resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - -cookie@^1.0.1: - version "1.0.2" - resolved "https://registry.npmmirror.com/cookie/-/cookie-1.0.2.tgz#27360701532116bd3f1f9416929d176afe1e4610" - integrity sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA== - -cosmiconfig@^7.0.0: - version "7.1.0" - resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" - integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.10.0" - -csstype@^3.0.2, csstype@^3.1.3: - version "3.1.3" - resolved "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" - integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== - -dayjs@^1.11.13: - version "1.11.13" - resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz#92430b0139055c3ebb60150aa13e860a4b5a366c" - integrity sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg== - -debug@^4.3.1: - version "4.4.0" - resolved "https://registry.npmmirror.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" - integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== - dependencies: - ms "^2.1.3" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -dom-helpers@^5.0.1: - version "5.2.1" - resolved "https://registry.npmmirror.com/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" - integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== - dependencies: - "@babel/runtime" "^7.8.7" - csstype "^3.0.2" - -dunder-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" - integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== - dependencies: - call-bind-apply-helpers "^1.0.1" - es-errors "^1.3.0" - gopd "^1.2.0" - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -es-define-property@^1.0.1: - version "1.0.1" - resolved "https://registry.npmmirror.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" - integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== - -es-errors@^1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" - integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== - -es-object-atoms@^1.0.0: - version "1.1.1" - resolved "https://registry.npmmirror.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" - integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== - dependencies: - es-errors "^1.3.0" - -es-set-tostringtag@^2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" - integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== - dependencies: - es-errors "^1.3.0" - get-intrinsic "^1.2.6" - has-tostringtag "^1.0.2" - hasown "^2.0.2" - -esbuild@^0.24.2: - version "0.24.2" - resolved "https://registry.npmmirror.com/esbuild/-/esbuild-0.24.2.tgz#b5b55bee7de017bff5fb8a4e3e44f2ebe2c3567d" - integrity sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA== - optionalDependencies: - "@esbuild/aix-ppc64" "0.24.2" - "@esbuild/android-arm" "0.24.2" - "@esbuild/android-arm64" "0.24.2" - "@esbuild/android-x64" "0.24.2" - "@esbuild/darwin-arm64" "0.24.2" - "@esbuild/darwin-x64" "0.24.2" - "@esbuild/freebsd-arm64" "0.24.2" - "@esbuild/freebsd-x64" "0.24.2" - "@esbuild/linux-arm" "0.24.2" - "@esbuild/linux-arm64" "0.24.2" - "@esbuild/linux-ia32" "0.24.2" - "@esbuild/linux-loong64" "0.24.2" - "@esbuild/linux-mips64el" "0.24.2" - "@esbuild/linux-ppc64" "0.24.2" - "@esbuild/linux-riscv64" "0.24.2" - "@esbuild/linux-s390x" "0.24.2" - "@esbuild/linux-x64" "0.24.2" - "@esbuild/netbsd-arm64" "0.24.2" - "@esbuild/netbsd-x64" "0.24.2" - "@esbuild/openbsd-arm64" "0.24.2" - "@esbuild/openbsd-x64" "0.24.2" - "@esbuild/sunos-x64" "0.24.2" - "@esbuild/win32-arm64" "0.24.2" - "@esbuild/win32-ia32" "0.24.2" - "@esbuild/win32-x64" "0.24.2" - -escalade@^3.1.1: - version "3.2.0" - resolved "https://registry.npmmirror.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" - integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== - -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -fast-glob@^3.2.7: - version "3.3.3" - resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818" - integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.8" - -fastq@^1.6.0: - version "1.19.0" - resolved "https://registry.npmmirror.com/fastq/-/fastq-1.19.0.tgz#a82c6b7c2bb4e44766d865f07997785fecfdcb89" - integrity sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA== - dependencies: - reusify "^1.0.4" - -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - -find-root@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" - integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== - -follow-redirects@^1.15.6: - version "1.15.9" - resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" - integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== - -form-data@^4.0.0: - version "4.0.2" - resolved "https://registry.npmmirror.com/form-data/-/form-data-4.0.2.tgz#35cabbdd30c3ce73deb2c42d3c8d3ed9ca51794c" - integrity sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - es-set-tostringtag "^2.1.0" - mime-types "^2.1.12" - -fs-extra@^11.1.0: - version "11.3.0" - resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.3.0.tgz#0daced136bbaf65a555a326719af931adc7a314d" - integrity sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fsevents@~2.3.2, fsevents@~2.3.3: - version "2.3.3" - resolved "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - -function-bind@^1.1.2: - version "1.1.2" - resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" - integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.npmmirror.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-intrinsic@^1.2.6: - version "1.2.7" - resolved "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.7.tgz#dcfcb33d3272e15f445d15124bc0a216189b9044" - integrity sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA== - dependencies: - call-bind-apply-helpers "^1.0.1" - es-define-property "^1.0.1" - es-errors "^1.3.0" - es-object-atoms "^1.0.0" - function-bind "^1.1.2" - get-proto "^1.0.0" - gopd "^1.2.0" - has-symbols "^1.1.0" - hasown "^2.0.2" - math-intrinsics "^1.1.0" - -get-proto@^1.0.0: - version "1.0.1" - resolved "https://registry.npmmirror.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" - integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== - dependencies: - dunder-proto "^1.0.1" - es-object-atoms "^1.0.0" - -glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -gopd@^1.2.0: - version "1.2.0" - resolved "https://registry.npmmirror.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" - integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== - -graceful-fs@^4.1.6, graceful-fs@^4.2.0: - version "4.2.11" - resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-symbols@^1.0.3, has-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" - integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== - -has-tostringtag@^1.0.2: - version "1.0.2" - resolved "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" - integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== - dependencies: - has-symbols "^1.0.3" - -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.npmmirror.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== - dependencies: - function-bind "^1.1.2" - -history@^5.3.0: - version "5.3.0" - resolved "https://registry.npmmirror.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b" - integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ== - dependencies: - "@babel/runtime" "^7.7.6" - -hoist-non-react-statics@^3.3.1: - version "3.3.2" - resolved "https://registry.npmmirror.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" - integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== - dependencies: - react-is "^16.7.0" - -import-fresh@^3.2.1: - version "3.3.1" - resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.1.tgz#9cecb56503c0ada1f2741dbbd6546e4b13b57ccf" - integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -invariant@^2.2.4: - version "2.2.4" - resolved "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-core-module@^2.16.0: - version "2.16.1" - resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== - dependencies: - hasown "^2.0.2" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -jsesc@^3.0.2: - version "3.1.0" - resolved "https://registry.npmmirror.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" - integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== - -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -loose-envify@^1.0.0, loose-envify@^1.4.0: - version "1.4.0" - resolved "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -math-intrinsics@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" - integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== - -merge2@^1.3.0: - version "1.4.1" - resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -micromatch@^4.0.8: - version "4.0.8" - resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" - integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== - dependencies: - braces "^3.0.3" - picomatch "^2.3.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12: - version "2.1.35" - resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -minimatch@^3.0.4: - version "3.1.2" - resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -ms@^2.1.3: - version "2.1.3" - resolved "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -nanoid@^3.3.8: - version "3.3.8" - resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf" - integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w== - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - -parse-json@^5.0.0: - version "5.2.0" - resolved "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -path-key@^3.0.0: - version "3.1.1" - resolved "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -picocolors@^1.0.0, picocolors@^1.1.1: - version "1.1.1" - resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" - integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -postcss@^8.5.1: - version "8.5.2" - resolved "https://registry.npmmirror.com/postcss/-/postcss-8.5.2.tgz#e7b99cb9d2ec3e8dd424002e7c16517cb2b846bd" - integrity sha512-MjOadfU3Ys9KYoX0AdkBlFEF1Vx37uCCeN4ZHnmwm9FfpbsGWMZeBLMmmpY+6Ocqod7mkdZ0DT31OlbsFrLlkA== - dependencies: - nanoid "^3.3.8" - picocolors "^1.1.1" - source-map-js "^1.2.1" - -prop-types@^15.6.2, prop-types@^15.8.1: - version "15.8.1" - resolved "https://registry.npmmirror.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" - integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== - dependencies: - loose-envify "^1.4.0" - object-assign "^4.1.1" - react-is "^16.13.1" - -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -react-apexcharts@^1.4.1: - version "1.7.0" - resolved "https://registry.npmmirror.com/react-apexcharts/-/react-apexcharts-1.7.0.tgz#bbd08425674224adb27c9f2c62477d43bd5de539" - integrity sha512-03oScKJyNLRf0Oe+ihJxFZliBQM9vW3UWwomVn4YVRTN1jsIR58dLWt0v1sb8RwJVHDMbeHiKQueM0KGpn7nOA== - dependencies: - prop-types "^15.8.1" - -react-dom@^19.0.0: - version "19.0.0" - resolved "https://registry.npmmirror.com/react-dom/-/react-dom-19.0.0.tgz#43446f1f01c65a4cd7f7588083e686a6726cfb57" - integrity sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ== - dependencies: - scheduler "^0.25.0" - -react-fast-compare@^3.2.2: - version "3.2.2" - resolved "https://registry.npmmirror.com/react-fast-compare/-/react-fast-compare-3.2.2.tgz#929a97a532304ce9fee4bcae44234f1ce2c21d49" - integrity sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ== - -react-helmet-async@^2.0.5: - version "2.0.5" - resolved "https://registry.npmmirror.com/react-helmet-async/-/react-helmet-async-2.0.5.tgz#cfc70cd7bb32df7883a8ed55502a1513747223ec" - integrity sha512-rYUYHeus+i27MvFE+Jaa4WsyBKGkL6qVgbJvSBoX8mbsWoABJXdEO0bZyi0F6i+4f0NuIb8AvqPMj3iXFHkMwg== - dependencies: - invariant "^2.2.4" - react-fast-compare "^3.2.2" - shallowequal "^1.1.0" - -react-is@^16.13.1, react-is@^16.7.0: - version "16.13.1" - resolved "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^19.0.0: - version "19.0.0" - resolved "https://registry.npmmirror.com/react-is/-/react-is-19.0.0.tgz#d6669fd389ff022a9684f708cf6fa4962d1fea7a" - integrity sha512-H91OHcwjZsbq3ClIDHMzBShc1rotbfACdWENsmEf0IFvZ3FgGPtdHMcsv45bQ1hAbgdfiA8SnxTKfDS+x/8m2g== - -react-router-dom@^7.1.5: - version "7.1.5" - resolved "https://registry.npmmirror.com/react-router-dom/-/react-router-dom-7.1.5.tgz#6b706a5503c01d99c1af69336a7de2e21cadd339" - integrity sha512-/4f9+up0Qv92D3bB8iN5P1s3oHAepSGa9h5k6tpTFlixTTskJZwKGhJ6vRJ277tLD1zuaZTt95hyGWV1Z37csQ== - dependencies: - react-router "7.1.5" - -react-router@7.1.5: - version "7.1.5" - resolved "https://registry.npmmirror.com/react-router/-/react-router-7.1.5.tgz#c9e19d329d9ce2215fdae844ab6b023b911094db" - integrity sha512-8BUF+hZEU4/z/JD201yK6S+UYhsf58bzYIDq2NS1iGpwxSXDu7F+DeGSkIXMFBuHZB21FSiCzEcUb18cQNdRkA== - dependencies: - "@types/cookie" "^0.6.0" - cookie "^1.0.1" - set-cookie-parser "^2.6.0" - turbo-stream "2.4.0" - -react-transition-group@^4.4.5: - version "4.4.5" - resolved "https://registry.npmmirror.com/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" - integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== - dependencies: - "@babel/runtime" "^7.5.5" - dom-helpers "^5.0.1" - loose-envify "^1.4.0" - prop-types "^15.6.2" - -react@^19.0.0: - version "19.0.0" - resolved "https://registry.npmmirror.com/react/-/react-19.0.0.tgz#6e1969251b9f108870aa4bff37a0ce9ddfaaabdd" - integrity sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ== - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -regenerator-runtime@^0.14.0: - version "0.14.1" - resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" - integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.npmmirror.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve@^1.19.0: - version "1.22.10" - resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" - integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== - dependencies: - is-core-module "^2.16.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rollup@^4.30.1: - version "4.34.7" - resolved "https://registry.npmmirror.com/rollup/-/rollup-4.34.7.tgz#e00d8550688a616a3481c6446bb688d4c753ba8f" - integrity sha512-8qhyN0oZ4x0H6wmBgfKxJtxM7qS98YJ0k0kNh5ECVtuchIJ7z9IVVvzpmtQyT10PXKMtBxYr1wQ5Apg8RS8kXQ== - dependencies: - "@types/estree" "1.0.6" - optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.34.7" - "@rollup/rollup-android-arm64" "4.34.7" - "@rollup/rollup-darwin-arm64" "4.34.7" - "@rollup/rollup-darwin-x64" "4.34.7" - "@rollup/rollup-freebsd-arm64" "4.34.7" - "@rollup/rollup-freebsd-x64" "4.34.7" - "@rollup/rollup-linux-arm-gnueabihf" "4.34.7" - "@rollup/rollup-linux-arm-musleabihf" "4.34.7" - "@rollup/rollup-linux-arm64-gnu" "4.34.7" - "@rollup/rollup-linux-arm64-musl" "4.34.7" - "@rollup/rollup-linux-loongarch64-gnu" "4.34.7" - "@rollup/rollup-linux-powerpc64le-gnu" "4.34.7" - "@rollup/rollup-linux-riscv64-gnu" "4.34.7" - "@rollup/rollup-linux-s390x-gnu" "4.34.7" - "@rollup/rollup-linux-x64-gnu" "4.34.7" - "@rollup/rollup-linux-x64-musl" "4.34.7" - "@rollup/rollup-win32-arm64-msvc" "4.34.7" - "@rollup/rollup-win32-ia32-msvc" "4.34.7" - "@rollup/rollup-win32-x64-msvc" "4.34.7" - fsevents "~2.3.2" - -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" - -rxjs@^7.8.1: - version "7.8.1" - resolved "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - -scheduler@^0.25.0: - version "0.25.0" - resolved "https://registry.npmmirror.com/scheduler/-/scheduler-0.25.0.tgz#336cd9768e8cceebf52d3c80e3dcf5de23e7e015" - integrity sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA== - -semver@^7.3.4: - version "7.7.1" - resolved "https://registry.npmmirror.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f" - integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA== - -set-cookie-parser@^2.6.0: - version "2.7.1" - resolved "https://registry.npmmirror.com/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz#3016f150072202dfbe90fadee053573cc89d2943" - integrity sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ== - -shallowequal@^1.1.0: - version "1.1.0" - resolved "https://registry.npmmirror.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" - integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== - -shell-quote@^1.8.1: - version "1.8.2" - resolved "https://registry.npmmirror.com/shell-quote/-/shell-quote-1.8.2.tgz#d2d83e057959d53ec261311e9e9b8f51dcb2934a" - integrity sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA== - -simplebar-core@^1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/simplebar-core/-/simplebar-core-1.3.0.tgz#166cfbb4c1a2dc0a60833fe8e1fd590cdb32158b" - integrity sha512-LpWl3w0caz0bl322E68qsrRPpIn+rWBGAaEJ0lUJA7Xpr2sw92AkIhg6VWj988IefLXYh50ILatfAnbNoCFrlA== - dependencies: - lodash "^4.17.21" - -simplebar-react@^3.2.6: - version "3.3.0" - resolved "https://registry.npmmirror.com/simplebar-react/-/simplebar-react-3.3.0.tgz#7170f29f0ea785c6881db81a8447c408fbc9056e" - integrity sha512-sxzy+xRuU41He4tT4QLGYutchtOuye/xxVeq7xhyOiwMiHNK1ZpvbOTyy+7P0i7gfpXLGTJ8Bep8+4Mhdgtz/g== - dependencies: - simplebar-core "^1.3.0" - -sonner@^2.0.1: - version "2.0.1" - resolved "https://registry.npmmirror.com/sonner/-/sonner-2.0.1.tgz#f41774b2e0ee770152458a336570a4d577d03e6f" - integrity sha512-FRBphaehZ5tLdLcQ8g2WOIRE+Y7BCfWi5Zyd8bCvBjiW8TxxAyoWZIxS661Yz6TGPqFQ4VLzOF89WEYhfynSFQ== - -source-map-js@^1.2.1: - version "1.2.1" - resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" - integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== - -source-map@^0.5.7: - version "0.5.7" - resolved "https://registry.npmmirror.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -stylis@4.2.0: - version "4.2.0" - resolved "https://registry.npmmirror.com/stylis/-/stylis-4.2.0.tgz#79daee0208964c8fe695a42fcffcac633a211a51" - integrity sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw== - -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-color@^8.1.1: - version "8.1.1" - resolved "https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -tiny-invariant@^1.1.0: - version "1.3.3" - resolved "https://registry.npmmirror.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127" - integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg== - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.npmmirror.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -tslib@^2.1.0: - version "2.8.1" - resolved "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" - integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== - -turbo-stream@2.4.0: - version "2.4.0" - resolved "https://registry.npmmirror.com/turbo-stream/-/turbo-stream-2.4.0.tgz#1e4fca6725e90fa14ac4adb782f2d3759a5695f0" - integrity sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.npmmirror.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -typescript@^5.5.4: - version "5.7.3" - resolved "https://registry.npmmirror.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e" - integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw== - -undici-types@~6.20.0: - version "6.20.0" - resolved "https://registry.npmmirror.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433" - integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg== - -universalify@^2.0.0: - version "2.0.1" - resolved "https://registry.npmmirror.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" - integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== - -vite-plugin-checker@^0.8.0: - version "0.8.0" - resolved "https://registry.npmmirror.com/vite-plugin-checker/-/vite-plugin-checker-0.8.0.tgz#33419857a623b35c9483e4f603d4ca8b6984acde" - integrity sha512-UA5uzOGm97UvZRTdZHiQVYFnd86AVn8EVaD4L3PoVzxH+IZSfaAw14WGFwX9QS23UW3lV/5bVKZn6l0w+q9P0g== - dependencies: - "@babel/code-frame" "^7.12.13" - ansi-escapes "^4.3.0" - chalk "^4.1.1" - chokidar "^3.5.1" - commander "^8.0.0" - fast-glob "^3.2.7" - fs-extra "^11.1.0" - npm-run-path "^4.0.1" - strip-ansi "^6.0.0" - tiny-invariant "^1.1.0" - vscode-languageclient "^7.0.0" - vscode-languageserver "^7.0.0" - vscode-languageserver-textdocument "^1.0.1" - vscode-uri "^3.0.2" - -vite@^6.1.0: - version "6.1.0" - resolved "https://registry.npmmirror.com/vite/-/vite-6.1.0.tgz#00a4e99a23751af98a2e4701c65ba89ce23858a6" - integrity sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ== - dependencies: - esbuild "^0.24.2" - postcss "^8.5.1" - rollup "^4.30.1" - optionalDependencies: - fsevents "~2.3.3" - -vscode-jsonrpc@6.0.0: - version "6.0.0" - resolved "https://registry.npmmirror.com/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz#108bdb09b4400705176b957ceca9e0880e9b6d4e" - integrity sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg== - -vscode-languageclient@^7.0.0: - version "7.0.0" - resolved "https://registry.npmmirror.com/vscode-languageclient/-/vscode-languageclient-7.0.0.tgz#b505c22c21ffcf96e167799757fca07a6bad0fb2" - integrity sha512-P9AXdAPlsCgslpP9pRxYPqkNYV7Xq8300/aZDpO35j1fJm/ncize8iGswzYlcvFw5DQUx4eVk+KvfXdL0rehNg== - dependencies: - minimatch "^3.0.4" - semver "^7.3.4" - vscode-languageserver-protocol "3.16.0" - -vscode-languageserver-protocol@3.16.0: - version "3.16.0" - resolved "https://registry.npmmirror.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.16.0.tgz#34135b61a9091db972188a07d337406a3cdbe821" - integrity sha512-sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A== - dependencies: - vscode-jsonrpc "6.0.0" - vscode-languageserver-types "3.16.0" - -vscode-languageserver-textdocument@^1.0.1: - version "1.0.12" - resolved "https://registry.npmmirror.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz#457ee04271ab38998a093c68c2342f53f6e4a631" - integrity sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA== - -vscode-languageserver-types@3.16.0: - version "3.16.0" - resolved "https://registry.npmmirror.com/vscode-languageserver-types/-/vscode-languageserver-types-3.16.0.tgz#ecf393fc121ec6974b2da3efb3155644c514e247" - integrity sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA== - -vscode-languageserver@^7.0.0: - version "7.0.0" - resolved "https://registry.npmmirror.com/vscode-languageserver/-/vscode-languageserver-7.0.0.tgz#49b068c87cfcca93a356969d20f5d9bdd501c6b0" - integrity sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw== - dependencies: - vscode-languageserver-protocol "3.16.0" - -vscode-uri@^3.0.2: - version "3.1.0" - resolved "https://registry.npmmirror.com/vscode-uri/-/vscode-uri-3.1.0.tgz#dd09ec5a66a38b5c3fffc774015713496d14e09c" - integrity sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ== - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.npmmirror.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yaml@^1.10.0: - version "1.10.2" - resolved "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.npmmirror.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs@^17.7.2: - version "17.7.2" - resolved "https://registry.npmmirror.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" - integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1"