├── Cargo.toml ├── LICENSE ├── README.md ├── assets ├── edit.png ├── favicon.ico └── image_1.png ├── end2end ├── package-lock.json ├── package.json ├── playwright.config.ts ├── tests │ └── example.spec.ts └── tsconfig.json ├── package-lock.json ├── package.json ├── rust-toolchain.toml ├── src ├── app.rs ├── app │ ├── components.rs │ ├── components │ │ ├── add_person_modal.rs │ │ ├── dashboard_chart.rs │ │ ├── dashboard_header.rs │ │ ├── dashboard_widget.rs │ │ ├── edit_person_modal.rs │ │ ├── header.rs │ │ ├── person_row.rs │ │ ├── show_person_modal.rs │ │ └── toast.rs │ ├── db.rs │ ├── db │ │ └── database.rs │ ├── errors.rs │ ├── errors │ │ └── person_errors.rs │ ├── models.rs │ ├── models │ │ └── person.rs │ ├── pages.rs │ ├── pages │ │ ├── home_page.rs │ │ └── team_page.rs │ ├── server_functions.rs │ └── server_functions │ │ └── persons.rs ├── lib.rs └── main.rs ├── style ├── input.css ├── main.scss └── output │ └── output.css └── tailwind.config.js /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "dashboard-app" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | [lib] 7 | crate-type = ["cdylib", "rlib"] 8 | 9 | [dependencies] 10 | actix-files = { version = "0.6", optional = true } 11 | actix-web = { version = "4", optional = true, features = ["macros"] } 12 | console_error_panic_hook = "0.1" 13 | http = { version = "1.0.0", optional = true } 14 | leptos = { version = "0.6", features = ["nightly"] } 15 | leptos_meta = { version = "0.6", features = ["nightly"] } 16 | leptos_actix = { version = "0.6", optional = true } 17 | leptos_router = { version = "0.6", features = ["nightly"] } 18 | wasm-bindgen = "=0.2.92" 19 | serde = { version = "1.0.203", features = ["derive"] } 20 | surrealdb = { version = "1.1.1", optional = true } 21 | uuid = "1.9.1" 22 | charts-rs = "0.3.11" 23 | validator = { version = "0.18.1", features = ["derive"] } 24 | cfg-if = "1.0.0" 25 | once_cell = "1.19.0" 26 | chrono = "0.4.38" 27 | num-format = "0.4.4" 28 | thiserror = "1.0.61" 29 | 30 | [features] 31 | csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] 32 | hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"] 33 | ssr = [ 34 | "dep:surrealdb", 35 | "dep:actix-files", 36 | "dep:actix-web", 37 | "dep:leptos_actix", 38 | "leptos/ssr", 39 | "leptos_meta/ssr", 40 | "leptos_router/ssr", 41 | ] 42 | 43 | # Defines a size-optimized profile for the WASM bundle in release mode 44 | [profile.wasm-release] 45 | inherits = "release" 46 | opt-level = 'z' 47 | lto = true 48 | codegen-units = 1 49 | panic = "abort" 50 | 51 | [package.metadata.leptos] 52 | # The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name 53 | output-name = "dashboard-app" 54 | # The site root folder is where cargo-leptos generate all output. WARNING: all content of this folder will be erased on a rebuild. Use it in your server setup. 55 | site-root = "target/site" 56 | # The site-root relative folder where all compiled output (JS, WASM and CSS) is written 57 | # Defaults to pkg 58 | site-pkg-dir = "pkg" 59 | # [Optional] The source CSS file. If it ends with .sass or .scss then it will be compiled by dart-sass into CSS. The CSS is optimized by Lightning CSS before being written to //app.css 60 | style-file = "style/output/output.css" 61 | # Assets source dir. All files found here will be copied and synchronized to site-root. 62 | # The assets-dir cannot have a sub directory with the same name/path as site-pkg-dir. 63 | # 64 | # Optional. Env: LEPTOS_ASSETS_DIR. 65 | assets-dir = "assets" 66 | # The IP and port (ex: 127.0.0.1:3000) where the server serves the content. Use it in your server setup. 67 | site-addr = "127.0.0.1:3000" 68 | # The port to use for automatic reload monitoring 69 | reload-port = 3001 70 | # [Optional] Command to use when running end2end tests. It will run in the end2end dir. 71 | # [Windows] for non-WSL use "npx.cmd playwright test" 72 | # This binary name can be checked in Powershell with Get-Command npx 73 | end2end-cmd = "npx playwright test" 74 | end2end-dir = "end2end" 75 | # The browserlist query used for optimizing the CSS. 76 | browserquery = "defaults" 77 | # The environment Leptos will run in, usually either "DEV" or "PROD" 78 | env = "DEV" 79 | # The features to use when compiling the bin target 80 | # 81 | # Optional. Can be over-ridden with the command line parameter --bin-features 82 | bin-features = ["ssr"] 83 | 84 | # If the --no-default-features flag should be used when compiling the bin target 85 | # 86 | # Optional. Defaults to false. 87 | bin-default-features = false 88 | 89 | # The features to use when compiling the lib target 90 | # 91 | # Optional. Can be over-ridden with the command line parameter --lib-features 92 | lib-features = ["hydrate"] 93 | 94 | # If the --no-default-features flag should be used when compiling the lib target 95 | # 96 | # Optional. Defaults to false. 97 | lib-default-features = false 98 | 99 | # The profile to use for the lib target when compiling for release 100 | # 101 | # Optional. Defaults to "release". 102 | lib-profile-release = "wasm-release" 103 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | Leptos Logo 4 | 5 | 6 | # Leptos Starter Template 7 | 8 | This is a template for use with the [Leptos](https://github.com/leptos-rs/leptos) web framework and the [cargo-leptos](https://github.com/akesson/cargo-leptos) tool. 9 | 10 | ## Creating your template repo 11 | 12 | If you don't have `cargo-leptos` installed you can install it with 13 | 14 | `cargo install cargo-leptos --locked` 15 | 16 | Then run 17 | 18 | `cargo leptos new --git leptos-rs/start` 19 | 20 | to generate a new project template (you will be prompted to enter a project name). 21 | 22 | `cd {projectname}` 23 | 24 | to go to your newly created project. 25 | 26 | Of course, you should explore around the project structure, but the best place to start with your application code is in `src/app.rs`. 27 | 28 | ## Running your project 29 | 30 | `cargo leptos watch` 31 | By default, you can access your local project at `http://localhost:3000` 32 | 33 | ## Installing Additional Tools 34 | 35 | By default, `cargo-leptos` uses `nightly` Rust, `cargo-generate`, and `sass`. If you run into any trouble, you may need to install one or more of these tools. 36 | 37 | 1. `rustup toolchain install nightly --allow-downgrade` - make sure you have Rust nightly 38 | 2. `rustup target add wasm32-unknown-unknown` - add the ability to compile Rust to WebAssembly 39 | 3. `cargo install cargo-generate` - install `cargo-generate` binary (should be installed automatically in future) 40 | 4. `npm install -g sass` - install `dart-sass` (should be optional in future) 41 | 42 | ## Executing a Server on a Remote Machine Without the Toolchain 43 | After running a `cargo leptos build --release` the minimum files needed are: 44 | 45 | 1. The server binary located in `target/server/release` 46 | 2. The `site` directory and all files within located in `target/site` 47 | 48 | Copy these files to your remote server. The directory structure should be: 49 | ```text 50 | leptos_start 51 | site/ 52 | ``` 53 | Set the following environment variables (updating for your project as needed): 54 | ```sh 55 | export LEPTOS_OUTPUT_NAME="leptos_start" 56 | export LEPTOS_SITE_ROOT="site" 57 | export LEPTOS_SITE_PKG_DIR="pkg" 58 | export LEPTOS_SITE_ADDR="127.0.0.1:3000" 59 | export LEPTOS_RELOAD_PORT="3001" 60 | ``` 61 | Finally, run the server binary. 62 | 63 | ## Notes about CSR and Trunk: 64 | Although it is not recommended, you can also run your project without server integration using the feature `csr` and `trunk serve`: 65 | 66 | `trunk serve --open --features csr` 67 | 68 | This may be useful for integrating external tools which require a static site, e.g. `tauri`. 69 | 70 | ## Licensing 71 | 72 | This template itself is released under the Unlicense. You should replace the LICENSE for your own application with an appropriate license if you plan to release it publicly. 73 | -------------------------------------------------------------------------------- /assets/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WhiteSponge/rust_dashboard_app/6af0bce36a5f06082ab29817f6197500a4af9ea0/assets/edit.png -------------------------------------------------------------------------------- /assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WhiteSponge/rust_dashboard_app/6af0bce36a5f06082ab29817f6197500a4af9ea0/assets/favicon.ico -------------------------------------------------------------------------------- /assets/image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WhiteSponge/rust_dashboard_app/6af0bce36a5f06082ab29817f6197500a4af9ea0/assets/image_1.png -------------------------------------------------------------------------------- /end2end/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "end2end", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "end2end", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "@playwright/test": "^1.44.1", 13 | "@types/node": "^20.12.12", 14 | "typescript": "^5.4.5" 15 | } 16 | }, 17 | "node_modules/@playwright/test": { 18 | "version": "1.44.1", 19 | "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.1.tgz", 20 | "integrity": "sha512-1hZ4TNvD5z9VuhNJ/walIjvMVvYkZKf71axoF/uiAqpntQJXpG64dlXhoDXE3OczPuTuvjf/M5KWFg5VAVUS3Q==", 21 | "dev": true, 22 | "license": "Apache-2.0", 23 | "dependencies": { 24 | "playwright": "1.44.1" 25 | }, 26 | "bin": { 27 | "playwright": "cli.js" 28 | }, 29 | "engines": { 30 | "node": ">=16" 31 | } 32 | }, 33 | "node_modules/@types/node": { 34 | "version": "20.12.12", 35 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", 36 | "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", 37 | "dev": true, 38 | "license": "MIT", 39 | "dependencies": { 40 | "undici-types": "~5.26.4" 41 | } 42 | }, 43 | "node_modules/fsevents": { 44 | "version": "2.3.2", 45 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 46 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 47 | "dev": true, 48 | "hasInstallScript": true, 49 | "license": "MIT", 50 | "optional": true, 51 | "os": [ 52 | "darwin" 53 | ], 54 | "engines": { 55 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 56 | } 57 | }, 58 | "node_modules/playwright": { 59 | "version": "1.44.1", 60 | "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.1.tgz", 61 | "integrity": "sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg==", 62 | "dev": true, 63 | "license": "Apache-2.0", 64 | "dependencies": { 65 | "playwright-core": "1.44.1" 66 | }, 67 | "bin": { 68 | "playwright": "cli.js" 69 | }, 70 | "engines": { 71 | "node": ">=16" 72 | }, 73 | "optionalDependencies": { 74 | "fsevents": "2.3.2" 75 | } 76 | }, 77 | "node_modules/playwright-core": { 78 | "version": "1.44.1", 79 | "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.1.tgz", 80 | "integrity": "sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA==", 81 | "dev": true, 82 | "license": "Apache-2.0", 83 | "bin": { 84 | "playwright-core": "cli.js" 85 | }, 86 | "engines": { 87 | "node": ">=16" 88 | } 89 | }, 90 | "node_modules/typescript": { 91 | "version": "5.4.5", 92 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", 93 | "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", 94 | "dev": true, 95 | "license": "Apache-2.0", 96 | "bin": { 97 | "tsc": "bin/tsc", 98 | "tsserver": "bin/tsserver" 99 | }, 100 | "engines": { 101 | "node": ">=14.17" 102 | } 103 | }, 104 | "node_modules/undici-types": { 105 | "version": "5.26.5", 106 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", 107 | "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", 108 | "dev": true, 109 | "license": "MIT" 110 | } 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /end2end/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "end2end", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": {}, 7 | "keywords": [], 8 | "author": "", 9 | "license": "ISC", 10 | "devDependencies": { 11 | "@playwright/test": "^1.44.1", 12 | "@types/node": "^20.12.12", 13 | "typescript": "^5.4.5" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /end2end/playwright.config.ts: -------------------------------------------------------------------------------- 1 | import { devices, defineConfig } from "@playwright/test"; 2 | 3 | /** 4 | * Read environment variables from file. 5 | * https://github.com/motdotla/dotenv 6 | */ 7 | // require('dotenv').config(); 8 | 9 | /** 10 | * See https://playwright.dev/docs/test-configuration. 11 | */ 12 | export default defineConfig({ 13 | testDir: "./tests", 14 | /* Maximum time one test can run for. */ 15 | timeout: 30 * 1000, 16 | expect: { 17 | /** 18 | * Maximum time expect() should wait for the condition to be met. 19 | * For example in `await expect(locator).toHaveText();` 20 | */ 21 | timeout: 5000, 22 | }, 23 | /* Run tests in files in parallel */ 24 | fullyParallel: true, 25 | /* Fail the build on CI if you accidentally left test.only in the source code. */ 26 | forbidOnly: !!process.env.CI, 27 | /* Retry on CI only */ 28 | retries: process.env.CI ? 2 : 0, 29 | /* Opt out of parallel tests on CI. */ 30 | workers: process.env.CI ? 1 : undefined, 31 | /* Reporter to use. See https://playwright.dev/docs/test-reporters */ 32 | reporter: "html", 33 | /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ 34 | use: { 35 | /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ 36 | actionTimeout: 0, 37 | /* Base URL to use in actions like `await page.goto('/')`. */ 38 | // baseURL: 'http://localhost:3000', 39 | 40 | /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ 41 | trace: "on-first-retry", 42 | }, 43 | 44 | /* Configure projects for major browsers */ 45 | projects: [ 46 | { 47 | name: "chromium", 48 | use: { 49 | ...devices["Desktop Chrome"], 50 | }, 51 | }, 52 | 53 | { 54 | name: "firefox", 55 | use: { 56 | ...devices["Desktop Firefox"], 57 | }, 58 | }, 59 | 60 | { 61 | name: "webkit", 62 | use: { 63 | ...devices["Desktop Safari"], 64 | }, 65 | }, 66 | 67 | /* Test against mobile viewports. */ 68 | // { 69 | // name: 'Mobile Chrome', 70 | // use: { 71 | // ...devices['Pixel 5'], 72 | // }, 73 | // }, 74 | // { 75 | // name: 'Mobile Safari', 76 | // use: { 77 | // ...devices['iPhone 12'], 78 | // }, 79 | // }, 80 | 81 | /* Test against branded browsers. */ 82 | // { 83 | // name: 'Microsoft Edge', 84 | // use: { 85 | // channel: 'msedge', 86 | // }, 87 | // }, 88 | // { 89 | // name: 'Google Chrome', 90 | // use: { 91 | // channel: 'chrome', 92 | // }, 93 | // }, 94 | ], 95 | 96 | /* Folder for test artifacts such as screenshots, videos, traces, etc. */ 97 | // outputDir: 'test-results/', 98 | 99 | /* Run your local dev server before starting the tests */ 100 | // webServer: { 101 | // command: 'npm run start', 102 | // port: 3000, 103 | // }, 104 | }); 105 | -------------------------------------------------------------------------------- /end2end/tests/example.spec.ts: -------------------------------------------------------------------------------- 1 | import { test, expect } from "@playwright/test"; 2 | 3 | test("homepage has title and links to intro page", async ({ page }) => { 4 | await page.goto("http://localhost:3000/"); 5 | 6 | await expect(page).toHaveTitle("Welcome to Leptos"); 7 | 8 | await expect(page.locator("h1")).toHaveText("Welcome to Leptos!"); 9 | }); 10 | -------------------------------------------------------------------------------- /end2end/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 20 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 22 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 23 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 26 | 27 | /* Modules */ 28 | "module": "commonjs", /* Specify what module code is generated. */ 29 | // "rootDir": "./", /* Specify the root folder within your source files. */ 30 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 38 | // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ 39 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ 40 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ 42 | // "resolveJsonModule": true, /* Enable importing .json files. */ 43 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ 44 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 45 | 46 | /* JavaScript Support */ 47 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ 48 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ 49 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 50 | 51 | /* Emit */ 52 | // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ 53 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 55 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 58 | // "outDir": "./", /* Specify an output folder for all emitted files. */ 59 | // "removeComments": true, /* Disable emitting comments. */ 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ 62 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ 63 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 64 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 65 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 66 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 67 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 68 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 69 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 70 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 71 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 72 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 73 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 74 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ 75 | 76 | /* Interop Constraints */ 77 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ 78 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ 79 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ 80 | "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 82 | "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ 83 | 84 | /* Type Checking */ 85 | "strict": true, /* Enable all strict type-checking options. */ 86 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ 87 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ 88 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 89 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 90 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 91 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ 92 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ 93 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ 94 | // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ 95 | // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ 96 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 97 | // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ 98 | // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ 99 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 100 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 101 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 102 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 103 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 104 | 105 | /* Completeness */ 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dashboard-app", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "devDependencies": { 8 | "tailwindcss": "^3.4.4" 9 | } 10 | }, 11 | "node_modules/@alloc/quick-lru": { 12 | "version": "5.2.0", 13 | "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", 14 | "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", 15 | "dev": true, 16 | "engines": { 17 | "node": ">=10" 18 | }, 19 | "funding": { 20 | "url": "https://github.com/sponsors/sindresorhus" 21 | } 22 | }, 23 | "node_modules/@isaacs/cliui": { 24 | "version": "8.0.2", 25 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 26 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 27 | "dev": true, 28 | "dependencies": { 29 | "string-width": "^5.1.2", 30 | "string-width-cjs": "npm:string-width@^4.2.0", 31 | "strip-ansi": "^7.0.1", 32 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 33 | "wrap-ansi": "^8.1.0", 34 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 35 | }, 36 | "engines": { 37 | "node": ">=12" 38 | } 39 | }, 40 | "node_modules/@jridgewell/gen-mapping": { 41 | "version": "0.3.5", 42 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", 43 | "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", 44 | "dev": true, 45 | "dependencies": { 46 | "@jridgewell/set-array": "^1.2.1", 47 | "@jridgewell/sourcemap-codec": "^1.4.10", 48 | "@jridgewell/trace-mapping": "^0.3.24" 49 | }, 50 | "engines": { 51 | "node": ">=6.0.0" 52 | } 53 | }, 54 | "node_modules/@jridgewell/resolve-uri": { 55 | "version": "3.1.2", 56 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", 57 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", 58 | "dev": true, 59 | "engines": { 60 | "node": ">=6.0.0" 61 | } 62 | }, 63 | "node_modules/@jridgewell/set-array": { 64 | "version": "1.2.1", 65 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", 66 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", 67 | "dev": true, 68 | "engines": { 69 | "node": ">=6.0.0" 70 | } 71 | }, 72 | "node_modules/@jridgewell/sourcemap-codec": { 73 | "version": "1.4.15", 74 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", 75 | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", 76 | "dev": true 77 | }, 78 | "node_modules/@jridgewell/trace-mapping": { 79 | "version": "0.3.25", 80 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", 81 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", 82 | "dev": true, 83 | "dependencies": { 84 | "@jridgewell/resolve-uri": "^3.1.0", 85 | "@jridgewell/sourcemap-codec": "^1.4.14" 86 | } 87 | }, 88 | "node_modules/@nodelib/fs.scandir": { 89 | "version": "2.1.5", 90 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 91 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 92 | "dev": true, 93 | "dependencies": { 94 | "@nodelib/fs.stat": "2.0.5", 95 | "run-parallel": "^1.1.9" 96 | }, 97 | "engines": { 98 | "node": ">= 8" 99 | } 100 | }, 101 | "node_modules/@nodelib/fs.stat": { 102 | "version": "2.0.5", 103 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 104 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 105 | "dev": true, 106 | "engines": { 107 | "node": ">= 8" 108 | } 109 | }, 110 | "node_modules/@nodelib/fs.walk": { 111 | "version": "1.2.8", 112 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 113 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 114 | "dev": true, 115 | "dependencies": { 116 | "@nodelib/fs.scandir": "2.1.5", 117 | "fastq": "^1.6.0" 118 | }, 119 | "engines": { 120 | "node": ">= 8" 121 | } 122 | }, 123 | "node_modules/@pkgjs/parseargs": { 124 | "version": "0.11.0", 125 | "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", 126 | "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", 127 | "dev": true, 128 | "optional": true, 129 | "engines": { 130 | "node": ">=14" 131 | } 132 | }, 133 | "node_modules/ansi-regex": { 134 | "version": "6.0.1", 135 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 136 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 137 | "dev": true, 138 | "engines": { 139 | "node": ">=12" 140 | }, 141 | "funding": { 142 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 143 | } 144 | }, 145 | "node_modules/ansi-styles": { 146 | "version": "6.2.1", 147 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 148 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 149 | "dev": true, 150 | "engines": { 151 | "node": ">=12" 152 | }, 153 | "funding": { 154 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 155 | } 156 | }, 157 | "node_modules/any-promise": { 158 | "version": "1.3.0", 159 | "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", 160 | "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", 161 | "dev": true 162 | }, 163 | "node_modules/anymatch": { 164 | "version": "3.1.3", 165 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 166 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 167 | "dev": true, 168 | "dependencies": { 169 | "normalize-path": "^3.0.0", 170 | "picomatch": "^2.0.4" 171 | }, 172 | "engines": { 173 | "node": ">= 8" 174 | } 175 | }, 176 | "node_modules/arg": { 177 | "version": "5.0.2", 178 | "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", 179 | "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", 180 | "dev": true 181 | }, 182 | "node_modules/balanced-match": { 183 | "version": "1.0.2", 184 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 185 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 186 | "dev": true 187 | }, 188 | "node_modules/binary-extensions": { 189 | "version": "2.3.0", 190 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 191 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 192 | "dev": true, 193 | "engines": { 194 | "node": ">=8" 195 | }, 196 | "funding": { 197 | "url": "https://github.com/sponsors/sindresorhus" 198 | } 199 | }, 200 | "node_modules/brace-expansion": { 201 | "version": "2.0.1", 202 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 203 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 204 | "dev": true, 205 | "dependencies": { 206 | "balanced-match": "^1.0.0" 207 | } 208 | }, 209 | "node_modules/braces": { 210 | "version": "3.0.3", 211 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 212 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 213 | "dev": true, 214 | "dependencies": { 215 | "fill-range": "^7.1.1" 216 | }, 217 | "engines": { 218 | "node": ">=8" 219 | } 220 | }, 221 | "node_modules/camelcase-css": { 222 | "version": "2.0.1", 223 | "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", 224 | "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", 225 | "dev": true, 226 | "engines": { 227 | "node": ">= 6" 228 | } 229 | }, 230 | "node_modules/chokidar": { 231 | "version": "3.6.0", 232 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 233 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 234 | "dev": true, 235 | "dependencies": { 236 | "anymatch": "~3.1.2", 237 | "braces": "~3.0.2", 238 | "glob-parent": "~5.1.2", 239 | "is-binary-path": "~2.1.0", 240 | "is-glob": "~4.0.1", 241 | "normalize-path": "~3.0.0", 242 | "readdirp": "~3.6.0" 243 | }, 244 | "engines": { 245 | "node": ">= 8.10.0" 246 | }, 247 | "funding": { 248 | "url": "https://paulmillr.com/funding/" 249 | }, 250 | "optionalDependencies": { 251 | "fsevents": "~2.3.2" 252 | } 253 | }, 254 | "node_modules/chokidar/node_modules/glob-parent": { 255 | "version": "5.1.2", 256 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 257 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 258 | "dev": true, 259 | "dependencies": { 260 | "is-glob": "^4.0.1" 261 | }, 262 | "engines": { 263 | "node": ">= 6" 264 | } 265 | }, 266 | "node_modules/color-convert": { 267 | "version": "2.0.1", 268 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 269 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 270 | "dev": true, 271 | "dependencies": { 272 | "color-name": "~1.1.4" 273 | }, 274 | "engines": { 275 | "node": ">=7.0.0" 276 | } 277 | }, 278 | "node_modules/color-name": { 279 | "version": "1.1.4", 280 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 281 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 282 | "dev": true 283 | }, 284 | "node_modules/commander": { 285 | "version": "4.1.1", 286 | "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", 287 | "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", 288 | "dev": true, 289 | "engines": { 290 | "node": ">= 6" 291 | } 292 | }, 293 | "node_modules/cross-spawn": { 294 | "version": "7.0.3", 295 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 296 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 297 | "dev": true, 298 | "dependencies": { 299 | "path-key": "^3.1.0", 300 | "shebang-command": "^2.0.0", 301 | "which": "^2.0.1" 302 | }, 303 | "engines": { 304 | "node": ">= 8" 305 | } 306 | }, 307 | "node_modules/cssesc": { 308 | "version": "3.0.0", 309 | "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", 310 | "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", 311 | "dev": true, 312 | "bin": { 313 | "cssesc": "bin/cssesc" 314 | }, 315 | "engines": { 316 | "node": ">=4" 317 | } 318 | }, 319 | "node_modules/didyoumean": { 320 | "version": "1.2.2", 321 | "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", 322 | "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", 323 | "dev": true 324 | }, 325 | "node_modules/dlv": { 326 | "version": "1.1.3", 327 | "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", 328 | "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", 329 | "dev": true 330 | }, 331 | "node_modules/eastasianwidth": { 332 | "version": "0.2.0", 333 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 334 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 335 | "dev": true 336 | }, 337 | "node_modules/emoji-regex": { 338 | "version": "9.2.2", 339 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 340 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 341 | "dev": true 342 | }, 343 | "node_modules/fast-glob": { 344 | "version": "3.3.2", 345 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", 346 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", 347 | "dev": true, 348 | "dependencies": { 349 | "@nodelib/fs.stat": "^2.0.2", 350 | "@nodelib/fs.walk": "^1.2.3", 351 | "glob-parent": "^5.1.2", 352 | "merge2": "^1.3.0", 353 | "micromatch": "^4.0.4" 354 | }, 355 | "engines": { 356 | "node": ">=8.6.0" 357 | } 358 | }, 359 | "node_modules/fast-glob/node_modules/glob-parent": { 360 | "version": "5.1.2", 361 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 362 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 363 | "dev": true, 364 | "dependencies": { 365 | "is-glob": "^4.0.1" 366 | }, 367 | "engines": { 368 | "node": ">= 6" 369 | } 370 | }, 371 | "node_modules/fastq": { 372 | "version": "1.17.1", 373 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", 374 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", 375 | "dev": true, 376 | "dependencies": { 377 | "reusify": "^1.0.4" 378 | } 379 | }, 380 | "node_modules/fill-range": { 381 | "version": "7.1.1", 382 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 383 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 384 | "dev": true, 385 | "dependencies": { 386 | "to-regex-range": "^5.0.1" 387 | }, 388 | "engines": { 389 | "node": ">=8" 390 | } 391 | }, 392 | "node_modules/foreground-child": { 393 | "version": "3.2.1", 394 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", 395 | "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", 396 | "dev": true, 397 | "dependencies": { 398 | "cross-spawn": "^7.0.0", 399 | "signal-exit": "^4.0.1" 400 | }, 401 | "engines": { 402 | "node": ">=14" 403 | }, 404 | "funding": { 405 | "url": "https://github.com/sponsors/isaacs" 406 | } 407 | }, 408 | "node_modules/fsevents": { 409 | "version": "2.3.3", 410 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 411 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 412 | "dev": true, 413 | "hasInstallScript": true, 414 | "optional": true, 415 | "os": [ 416 | "darwin" 417 | ], 418 | "engines": { 419 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 420 | } 421 | }, 422 | "node_modules/function-bind": { 423 | "version": "1.1.2", 424 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 425 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 426 | "dev": true, 427 | "funding": { 428 | "url": "https://github.com/sponsors/ljharb" 429 | } 430 | }, 431 | "node_modules/glob": { 432 | "version": "10.4.2", 433 | "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", 434 | "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", 435 | "dev": true, 436 | "dependencies": { 437 | "foreground-child": "^3.1.0", 438 | "jackspeak": "^3.1.2", 439 | "minimatch": "^9.0.4", 440 | "minipass": "^7.1.2", 441 | "package-json-from-dist": "^1.0.0", 442 | "path-scurry": "^1.11.1" 443 | }, 444 | "bin": { 445 | "glob": "dist/esm/bin.mjs" 446 | }, 447 | "engines": { 448 | "node": ">=16 || 14 >=14.18" 449 | }, 450 | "funding": { 451 | "url": "https://github.com/sponsors/isaacs" 452 | } 453 | }, 454 | "node_modules/glob-parent": { 455 | "version": "6.0.2", 456 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 457 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 458 | "dev": true, 459 | "dependencies": { 460 | "is-glob": "^4.0.3" 461 | }, 462 | "engines": { 463 | "node": ">=10.13.0" 464 | } 465 | }, 466 | "node_modules/hasown": { 467 | "version": "2.0.2", 468 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 469 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 470 | "dev": true, 471 | "dependencies": { 472 | "function-bind": "^1.1.2" 473 | }, 474 | "engines": { 475 | "node": ">= 0.4" 476 | } 477 | }, 478 | "node_modules/is-binary-path": { 479 | "version": "2.1.0", 480 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 481 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 482 | "dev": true, 483 | "dependencies": { 484 | "binary-extensions": "^2.0.0" 485 | }, 486 | "engines": { 487 | "node": ">=8" 488 | } 489 | }, 490 | "node_modules/is-core-module": { 491 | "version": "2.14.0", 492 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", 493 | "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", 494 | "dev": true, 495 | "dependencies": { 496 | "hasown": "^2.0.2" 497 | }, 498 | "engines": { 499 | "node": ">= 0.4" 500 | }, 501 | "funding": { 502 | "url": "https://github.com/sponsors/ljharb" 503 | } 504 | }, 505 | "node_modules/is-extglob": { 506 | "version": "2.1.1", 507 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 508 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 509 | "dev": true, 510 | "engines": { 511 | "node": ">=0.10.0" 512 | } 513 | }, 514 | "node_modules/is-fullwidth-code-point": { 515 | "version": "3.0.0", 516 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 517 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 518 | "dev": true, 519 | "engines": { 520 | "node": ">=8" 521 | } 522 | }, 523 | "node_modules/is-glob": { 524 | "version": "4.0.3", 525 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 526 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 527 | "dev": true, 528 | "dependencies": { 529 | "is-extglob": "^2.1.1" 530 | }, 531 | "engines": { 532 | "node": ">=0.10.0" 533 | } 534 | }, 535 | "node_modules/is-number": { 536 | "version": "7.0.0", 537 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 538 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 539 | "dev": true, 540 | "engines": { 541 | "node": ">=0.12.0" 542 | } 543 | }, 544 | "node_modules/isexe": { 545 | "version": "2.0.0", 546 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 547 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 548 | "dev": true 549 | }, 550 | "node_modules/jackspeak": { 551 | "version": "3.4.0", 552 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", 553 | "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", 554 | "dev": true, 555 | "dependencies": { 556 | "@isaacs/cliui": "^8.0.2" 557 | }, 558 | "engines": { 559 | "node": ">=14" 560 | }, 561 | "funding": { 562 | "url": "https://github.com/sponsors/isaacs" 563 | }, 564 | "optionalDependencies": { 565 | "@pkgjs/parseargs": "^0.11.0" 566 | } 567 | }, 568 | "node_modules/jiti": { 569 | "version": "1.21.6", 570 | "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", 571 | "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", 572 | "dev": true, 573 | "bin": { 574 | "jiti": "bin/jiti.js" 575 | } 576 | }, 577 | "node_modules/lilconfig": { 578 | "version": "2.1.0", 579 | "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", 580 | "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", 581 | "dev": true, 582 | "engines": { 583 | "node": ">=10" 584 | } 585 | }, 586 | "node_modules/lines-and-columns": { 587 | "version": "1.2.4", 588 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", 589 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", 590 | "dev": true 591 | }, 592 | "node_modules/lru-cache": { 593 | "version": "10.3.0", 594 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", 595 | "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", 596 | "dev": true, 597 | "engines": { 598 | "node": "14 || >=16.14" 599 | } 600 | }, 601 | "node_modules/merge2": { 602 | "version": "1.4.1", 603 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 604 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 605 | "dev": true, 606 | "engines": { 607 | "node": ">= 8" 608 | } 609 | }, 610 | "node_modules/micromatch": { 611 | "version": "4.0.7", 612 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", 613 | "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", 614 | "dev": true, 615 | "dependencies": { 616 | "braces": "^3.0.3", 617 | "picomatch": "^2.3.1" 618 | }, 619 | "engines": { 620 | "node": ">=8.6" 621 | } 622 | }, 623 | "node_modules/minimatch": { 624 | "version": "9.0.5", 625 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 626 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 627 | "dev": true, 628 | "dependencies": { 629 | "brace-expansion": "^2.0.1" 630 | }, 631 | "engines": { 632 | "node": ">=16 || 14 >=14.17" 633 | }, 634 | "funding": { 635 | "url": "https://github.com/sponsors/isaacs" 636 | } 637 | }, 638 | "node_modules/minipass": { 639 | "version": "7.1.2", 640 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 641 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 642 | "dev": true, 643 | "engines": { 644 | "node": ">=16 || 14 >=14.17" 645 | } 646 | }, 647 | "node_modules/mz": { 648 | "version": "2.7.0", 649 | "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", 650 | "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", 651 | "dev": true, 652 | "dependencies": { 653 | "any-promise": "^1.0.0", 654 | "object-assign": "^4.0.1", 655 | "thenify-all": "^1.0.0" 656 | } 657 | }, 658 | "node_modules/nanoid": { 659 | "version": "3.3.7", 660 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", 661 | "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", 662 | "dev": true, 663 | "funding": [ 664 | { 665 | "type": "github", 666 | "url": "https://github.com/sponsors/ai" 667 | } 668 | ], 669 | "bin": { 670 | "nanoid": "bin/nanoid.cjs" 671 | }, 672 | "engines": { 673 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 674 | } 675 | }, 676 | "node_modules/normalize-path": { 677 | "version": "3.0.0", 678 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 679 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 680 | "dev": true, 681 | "engines": { 682 | "node": ">=0.10.0" 683 | } 684 | }, 685 | "node_modules/object-assign": { 686 | "version": "4.1.1", 687 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 688 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 689 | "dev": true, 690 | "engines": { 691 | "node": ">=0.10.0" 692 | } 693 | }, 694 | "node_modules/object-hash": { 695 | "version": "3.0.0", 696 | "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", 697 | "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", 698 | "dev": true, 699 | "engines": { 700 | "node": ">= 6" 701 | } 702 | }, 703 | "node_modules/package-json-from-dist": { 704 | "version": "1.0.0", 705 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", 706 | "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", 707 | "dev": true 708 | }, 709 | "node_modules/path-key": { 710 | "version": "3.1.1", 711 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 712 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 713 | "dev": true, 714 | "engines": { 715 | "node": ">=8" 716 | } 717 | }, 718 | "node_modules/path-parse": { 719 | "version": "1.0.7", 720 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 721 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 722 | "dev": true 723 | }, 724 | "node_modules/path-scurry": { 725 | "version": "1.11.1", 726 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", 727 | "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", 728 | "dev": true, 729 | "dependencies": { 730 | "lru-cache": "^10.2.0", 731 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" 732 | }, 733 | "engines": { 734 | "node": ">=16 || 14 >=14.18" 735 | }, 736 | "funding": { 737 | "url": "https://github.com/sponsors/isaacs" 738 | } 739 | }, 740 | "node_modules/picocolors": { 741 | "version": "1.0.1", 742 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", 743 | "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", 744 | "dev": true 745 | }, 746 | "node_modules/picomatch": { 747 | "version": "2.3.1", 748 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 749 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 750 | "dev": true, 751 | "engines": { 752 | "node": ">=8.6" 753 | }, 754 | "funding": { 755 | "url": "https://github.com/sponsors/jonschlinkert" 756 | } 757 | }, 758 | "node_modules/pify": { 759 | "version": "2.3.0", 760 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 761 | "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", 762 | "dev": true, 763 | "engines": { 764 | "node": ">=0.10.0" 765 | } 766 | }, 767 | "node_modules/pirates": { 768 | "version": "4.0.6", 769 | "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", 770 | "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", 771 | "dev": true, 772 | "engines": { 773 | "node": ">= 6" 774 | } 775 | }, 776 | "node_modules/postcss": { 777 | "version": "8.4.39", 778 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", 779 | "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", 780 | "dev": true, 781 | "funding": [ 782 | { 783 | "type": "opencollective", 784 | "url": "https://opencollective.com/postcss/" 785 | }, 786 | { 787 | "type": "tidelift", 788 | "url": "https://tidelift.com/funding/github/npm/postcss" 789 | }, 790 | { 791 | "type": "github", 792 | "url": "https://github.com/sponsors/ai" 793 | } 794 | ], 795 | "dependencies": { 796 | "nanoid": "^3.3.7", 797 | "picocolors": "^1.0.1", 798 | "source-map-js": "^1.2.0" 799 | }, 800 | "engines": { 801 | "node": "^10 || ^12 || >=14" 802 | } 803 | }, 804 | "node_modules/postcss-import": { 805 | "version": "15.1.0", 806 | "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", 807 | "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", 808 | "dev": true, 809 | "dependencies": { 810 | "postcss-value-parser": "^4.0.0", 811 | "read-cache": "^1.0.0", 812 | "resolve": "^1.1.7" 813 | }, 814 | "engines": { 815 | "node": ">=14.0.0" 816 | }, 817 | "peerDependencies": { 818 | "postcss": "^8.0.0" 819 | } 820 | }, 821 | "node_modules/postcss-js": { 822 | "version": "4.0.1", 823 | "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", 824 | "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", 825 | "dev": true, 826 | "dependencies": { 827 | "camelcase-css": "^2.0.1" 828 | }, 829 | "engines": { 830 | "node": "^12 || ^14 || >= 16" 831 | }, 832 | "funding": { 833 | "type": "opencollective", 834 | "url": "https://opencollective.com/postcss/" 835 | }, 836 | "peerDependencies": { 837 | "postcss": "^8.4.21" 838 | } 839 | }, 840 | "node_modules/postcss-load-config": { 841 | "version": "4.0.2", 842 | "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", 843 | "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", 844 | "dev": true, 845 | "funding": [ 846 | { 847 | "type": "opencollective", 848 | "url": "https://opencollective.com/postcss/" 849 | }, 850 | { 851 | "type": "github", 852 | "url": "https://github.com/sponsors/ai" 853 | } 854 | ], 855 | "dependencies": { 856 | "lilconfig": "^3.0.0", 857 | "yaml": "^2.3.4" 858 | }, 859 | "engines": { 860 | "node": ">= 14" 861 | }, 862 | "peerDependencies": { 863 | "postcss": ">=8.0.9", 864 | "ts-node": ">=9.0.0" 865 | }, 866 | "peerDependenciesMeta": { 867 | "postcss": { 868 | "optional": true 869 | }, 870 | "ts-node": { 871 | "optional": true 872 | } 873 | } 874 | }, 875 | "node_modules/postcss-load-config/node_modules/lilconfig": { 876 | "version": "3.1.2", 877 | "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", 878 | "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", 879 | "dev": true, 880 | "engines": { 881 | "node": ">=14" 882 | }, 883 | "funding": { 884 | "url": "https://github.com/sponsors/antonk52" 885 | } 886 | }, 887 | "node_modules/postcss-nested": { 888 | "version": "6.0.1", 889 | "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", 890 | "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", 891 | "dev": true, 892 | "dependencies": { 893 | "postcss-selector-parser": "^6.0.11" 894 | }, 895 | "engines": { 896 | "node": ">=12.0" 897 | }, 898 | "funding": { 899 | "type": "opencollective", 900 | "url": "https://opencollective.com/postcss/" 901 | }, 902 | "peerDependencies": { 903 | "postcss": "^8.2.14" 904 | } 905 | }, 906 | "node_modules/postcss-selector-parser": { 907 | "version": "6.1.0", 908 | "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", 909 | "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", 910 | "dev": true, 911 | "dependencies": { 912 | "cssesc": "^3.0.0", 913 | "util-deprecate": "^1.0.2" 914 | }, 915 | "engines": { 916 | "node": ">=4" 917 | } 918 | }, 919 | "node_modules/postcss-value-parser": { 920 | "version": "4.2.0", 921 | "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", 922 | "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", 923 | "dev": true 924 | }, 925 | "node_modules/queue-microtask": { 926 | "version": "1.2.3", 927 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 928 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 929 | "dev": true, 930 | "funding": [ 931 | { 932 | "type": "github", 933 | "url": "https://github.com/sponsors/feross" 934 | }, 935 | { 936 | "type": "patreon", 937 | "url": "https://www.patreon.com/feross" 938 | }, 939 | { 940 | "type": "consulting", 941 | "url": "https://feross.org/support" 942 | } 943 | ] 944 | }, 945 | "node_modules/read-cache": { 946 | "version": "1.0.0", 947 | "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", 948 | "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", 949 | "dev": true, 950 | "dependencies": { 951 | "pify": "^2.3.0" 952 | } 953 | }, 954 | "node_modules/readdirp": { 955 | "version": "3.6.0", 956 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 957 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 958 | "dev": true, 959 | "dependencies": { 960 | "picomatch": "^2.2.1" 961 | }, 962 | "engines": { 963 | "node": ">=8.10.0" 964 | } 965 | }, 966 | "node_modules/resolve": { 967 | "version": "1.22.8", 968 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", 969 | "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", 970 | "dev": true, 971 | "dependencies": { 972 | "is-core-module": "^2.13.0", 973 | "path-parse": "^1.0.7", 974 | "supports-preserve-symlinks-flag": "^1.0.0" 975 | }, 976 | "bin": { 977 | "resolve": "bin/resolve" 978 | }, 979 | "funding": { 980 | "url": "https://github.com/sponsors/ljharb" 981 | } 982 | }, 983 | "node_modules/reusify": { 984 | "version": "1.0.4", 985 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 986 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 987 | "dev": true, 988 | "engines": { 989 | "iojs": ">=1.0.0", 990 | "node": ">=0.10.0" 991 | } 992 | }, 993 | "node_modules/run-parallel": { 994 | "version": "1.2.0", 995 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 996 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 997 | "dev": true, 998 | "funding": [ 999 | { 1000 | "type": "github", 1001 | "url": "https://github.com/sponsors/feross" 1002 | }, 1003 | { 1004 | "type": "patreon", 1005 | "url": "https://www.patreon.com/feross" 1006 | }, 1007 | { 1008 | "type": "consulting", 1009 | "url": "https://feross.org/support" 1010 | } 1011 | ], 1012 | "dependencies": { 1013 | "queue-microtask": "^1.2.2" 1014 | } 1015 | }, 1016 | "node_modules/shebang-command": { 1017 | "version": "2.0.0", 1018 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1019 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1020 | "dev": true, 1021 | "dependencies": { 1022 | "shebang-regex": "^3.0.0" 1023 | }, 1024 | "engines": { 1025 | "node": ">=8" 1026 | } 1027 | }, 1028 | "node_modules/shebang-regex": { 1029 | "version": "3.0.0", 1030 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1031 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1032 | "dev": true, 1033 | "engines": { 1034 | "node": ">=8" 1035 | } 1036 | }, 1037 | "node_modules/signal-exit": { 1038 | "version": "4.1.0", 1039 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 1040 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 1041 | "dev": true, 1042 | "engines": { 1043 | "node": ">=14" 1044 | }, 1045 | "funding": { 1046 | "url": "https://github.com/sponsors/isaacs" 1047 | } 1048 | }, 1049 | "node_modules/source-map-js": { 1050 | "version": "1.2.0", 1051 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", 1052 | "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", 1053 | "dev": true, 1054 | "engines": { 1055 | "node": ">=0.10.0" 1056 | } 1057 | }, 1058 | "node_modules/string-width": { 1059 | "version": "5.1.2", 1060 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 1061 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 1062 | "dev": true, 1063 | "dependencies": { 1064 | "eastasianwidth": "^0.2.0", 1065 | "emoji-regex": "^9.2.2", 1066 | "strip-ansi": "^7.0.1" 1067 | }, 1068 | "engines": { 1069 | "node": ">=12" 1070 | }, 1071 | "funding": { 1072 | "url": "https://github.com/sponsors/sindresorhus" 1073 | } 1074 | }, 1075 | "node_modules/string-width-cjs": { 1076 | "name": "string-width", 1077 | "version": "4.2.3", 1078 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1079 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1080 | "dev": true, 1081 | "dependencies": { 1082 | "emoji-regex": "^8.0.0", 1083 | "is-fullwidth-code-point": "^3.0.0", 1084 | "strip-ansi": "^6.0.1" 1085 | }, 1086 | "engines": { 1087 | "node": ">=8" 1088 | } 1089 | }, 1090 | "node_modules/string-width-cjs/node_modules/ansi-regex": { 1091 | "version": "5.0.1", 1092 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1093 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1094 | "dev": true, 1095 | "engines": { 1096 | "node": ">=8" 1097 | } 1098 | }, 1099 | "node_modules/string-width-cjs/node_modules/emoji-regex": { 1100 | "version": "8.0.0", 1101 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1102 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1103 | "dev": true 1104 | }, 1105 | "node_modules/string-width-cjs/node_modules/strip-ansi": { 1106 | "version": "6.0.1", 1107 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1108 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1109 | "dev": true, 1110 | "dependencies": { 1111 | "ansi-regex": "^5.0.1" 1112 | }, 1113 | "engines": { 1114 | "node": ">=8" 1115 | } 1116 | }, 1117 | "node_modules/strip-ansi": { 1118 | "version": "7.1.0", 1119 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 1120 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 1121 | "dev": true, 1122 | "dependencies": { 1123 | "ansi-regex": "^6.0.1" 1124 | }, 1125 | "engines": { 1126 | "node": ">=12" 1127 | }, 1128 | "funding": { 1129 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 1130 | } 1131 | }, 1132 | "node_modules/strip-ansi-cjs": { 1133 | "name": "strip-ansi", 1134 | "version": "6.0.1", 1135 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1136 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1137 | "dev": true, 1138 | "dependencies": { 1139 | "ansi-regex": "^5.0.1" 1140 | }, 1141 | "engines": { 1142 | "node": ">=8" 1143 | } 1144 | }, 1145 | "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { 1146 | "version": "5.0.1", 1147 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1148 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1149 | "dev": true, 1150 | "engines": { 1151 | "node": ">=8" 1152 | } 1153 | }, 1154 | "node_modules/sucrase": { 1155 | "version": "3.35.0", 1156 | "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", 1157 | "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", 1158 | "dev": true, 1159 | "dependencies": { 1160 | "@jridgewell/gen-mapping": "^0.3.2", 1161 | "commander": "^4.0.0", 1162 | "glob": "^10.3.10", 1163 | "lines-and-columns": "^1.1.6", 1164 | "mz": "^2.7.0", 1165 | "pirates": "^4.0.1", 1166 | "ts-interface-checker": "^0.1.9" 1167 | }, 1168 | "bin": { 1169 | "sucrase": "bin/sucrase", 1170 | "sucrase-node": "bin/sucrase-node" 1171 | }, 1172 | "engines": { 1173 | "node": ">=16 || 14 >=14.17" 1174 | } 1175 | }, 1176 | "node_modules/supports-preserve-symlinks-flag": { 1177 | "version": "1.0.0", 1178 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1179 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1180 | "dev": true, 1181 | "engines": { 1182 | "node": ">= 0.4" 1183 | }, 1184 | "funding": { 1185 | "url": "https://github.com/sponsors/ljharb" 1186 | } 1187 | }, 1188 | "node_modules/tailwindcss": { 1189 | "version": "3.4.4", 1190 | "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", 1191 | "integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==", 1192 | "dev": true, 1193 | "dependencies": { 1194 | "@alloc/quick-lru": "^5.2.0", 1195 | "arg": "^5.0.2", 1196 | "chokidar": "^3.5.3", 1197 | "didyoumean": "^1.2.2", 1198 | "dlv": "^1.1.3", 1199 | "fast-glob": "^3.3.0", 1200 | "glob-parent": "^6.0.2", 1201 | "is-glob": "^4.0.3", 1202 | "jiti": "^1.21.0", 1203 | "lilconfig": "^2.1.0", 1204 | "micromatch": "^4.0.5", 1205 | "normalize-path": "^3.0.0", 1206 | "object-hash": "^3.0.0", 1207 | "picocolors": "^1.0.0", 1208 | "postcss": "^8.4.23", 1209 | "postcss-import": "^15.1.0", 1210 | "postcss-js": "^4.0.1", 1211 | "postcss-load-config": "^4.0.1", 1212 | "postcss-nested": "^6.0.1", 1213 | "postcss-selector-parser": "^6.0.11", 1214 | "resolve": "^1.22.2", 1215 | "sucrase": "^3.32.0" 1216 | }, 1217 | "bin": { 1218 | "tailwind": "lib/cli.js", 1219 | "tailwindcss": "lib/cli.js" 1220 | }, 1221 | "engines": { 1222 | "node": ">=14.0.0" 1223 | } 1224 | }, 1225 | "node_modules/thenify": { 1226 | "version": "3.3.1", 1227 | "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", 1228 | "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", 1229 | "dev": true, 1230 | "dependencies": { 1231 | "any-promise": "^1.0.0" 1232 | } 1233 | }, 1234 | "node_modules/thenify-all": { 1235 | "version": "1.6.0", 1236 | "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", 1237 | "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", 1238 | "dev": true, 1239 | "dependencies": { 1240 | "thenify": ">= 3.1.0 < 4" 1241 | }, 1242 | "engines": { 1243 | "node": ">=0.8" 1244 | } 1245 | }, 1246 | "node_modules/to-regex-range": { 1247 | "version": "5.0.1", 1248 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1249 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1250 | "dev": true, 1251 | "dependencies": { 1252 | "is-number": "^7.0.0" 1253 | }, 1254 | "engines": { 1255 | "node": ">=8.0" 1256 | } 1257 | }, 1258 | "node_modules/ts-interface-checker": { 1259 | "version": "0.1.13", 1260 | "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", 1261 | "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", 1262 | "dev": true 1263 | }, 1264 | "node_modules/util-deprecate": { 1265 | "version": "1.0.2", 1266 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1267 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 1268 | "dev": true 1269 | }, 1270 | "node_modules/which": { 1271 | "version": "2.0.2", 1272 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1273 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1274 | "dev": true, 1275 | "dependencies": { 1276 | "isexe": "^2.0.0" 1277 | }, 1278 | "bin": { 1279 | "node-which": "bin/node-which" 1280 | }, 1281 | "engines": { 1282 | "node": ">= 8" 1283 | } 1284 | }, 1285 | "node_modules/wrap-ansi": { 1286 | "version": "8.1.0", 1287 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 1288 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 1289 | "dev": true, 1290 | "dependencies": { 1291 | "ansi-styles": "^6.1.0", 1292 | "string-width": "^5.0.1", 1293 | "strip-ansi": "^7.0.1" 1294 | }, 1295 | "engines": { 1296 | "node": ">=12" 1297 | }, 1298 | "funding": { 1299 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1300 | } 1301 | }, 1302 | "node_modules/wrap-ansi-cjs": { 1303 | "name": "wrap-ansi", 1304 | "version": "7.0.0", 1305 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1306 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1307 | "dev": true, 1308 | "dependencies": { 1309 | "ansi-styles": "^4.0.0", 1310 | "string-width": "^4.1.0", 1311 | "strip-ansi": "^6.0.0" 1312 | }, 1313 | "engines": { 1314 | "node": ">=10" 1315 | }, 1316 | "funding": { 1317 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1318 | } 1319 | }, 1320 | "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { 1321 | "version": "5.0.1", 1322 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1323 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1324 | "dev": true, 1325 | "engines": { 1326 | "node": ">=8" 1327 | } 1328 | }, 1329 | "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { 1330 | "version": "4.3.0", 1331 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1332 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1333 | "dev": true, 1334 | "dependencies": { 1335 | "color-convert": "^2.0.1" 1336 | }, 1337 | "engines": { 1338 | "node": ">=8" 1339 | }, 1340 | "funding": { 1341 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1342 | } 1343 | }, 1344 | "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { 1345 | "version": "8.0.0", 1346 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1347 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1348 | "dev": true 1349 | }, 1350 | "node_modules/wrap-ansi-cjs/node_modules/string-width": { 1351 | "version": "4.2.3", 1352 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1353 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1354 | "dev": true, 1355 | "dependencies": { 1356 | "emoji-regex": "^8.0.0", 1357 | "is-fullwidth-code-point": "^3.0.0", 1358 | "strip-ansi": "^6.0.1" 1359 | }, 1360 | "engines": { 1361 | "node": ">=8" 1362 | } 1363 | }, 1364 | "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { 1365 | "version": "6.0.1", 1366 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1367 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1368 | "dev": true, 1369 | "dependencies": { 1370 | "ansi-regex": "^5.0.1" 1371 | }, 1372 | "engines": { 1373 | "node": ">=8" 1374 | } 1375 | }, 1376 | "node_modules/yaml": { 1377 | "version": "2.4.5", 1378 | "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", 1379 | "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", 1380 | "dev": true, 1381 | "bin": { 1382 | "yaml": "bin.mjs" 1383 | }, 1384 | "engines": { 1385 | "node": ">= 14" 1386 | } 1387 | } 1388 | }, 1389 | "dependencies": { 1390 | "@alloc/quick-lru": { 1391 | "version": "5.2.0", 1392 | "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", 1393 | "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", 1394 | "dev": true 1395 | }, 1396 | "@isaacs/cliui": { 1397 | "version": "8.0.2", 1398 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 1399 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 1400 | "dev": true, 1401 | "requires": { 1402 | "string-width": "^5.1.2", 1403 | "string-width-cjs": "npm:string-width@^4.2.0", 1404 | "strip-ansi": "^7.0.1", 1405 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 1406 | "wrap-ansi": "^8.1.0", 1407 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 1408 | } 1409 | }, 1410 | "@jridgewell/gen-mapping": { 1411 | "version": "0.3.5", 1412 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", 1413 | "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", 1414 | "dev": true, 1415 | "requires": { 1416 | "@jridgewell/set-array": "^1.2.1", 1417 | "@jridgewell/sourcemap-codec": "^1.4.10", 1418 | "@jridgewell/trace-mapping": "^0.3.24" 1419 | } 1420 | }, 1421 | "@jridgewell/resolve-uri": { 1422 | "version": "3.1.2", 1423 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", 1424 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", 1425 | "dev": true 1426 | }, 1427 | "@jridgewell/set-array": { 1428 | "version": "1.2.1", 1429 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", 1430 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", 1431 | "dev": true 1432 | }, 1433 | "@jridgewell/sourcemap-codec": { 1434 | "version": "1.4.15", 1435 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", 1436 | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", 1437 | "dev": true 1438 | }, 1439 | "@jridgewell/trace-mapping": { 1440 | "version": "0.3.25", 1441 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", 1442 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", 1443 | "dev": true, 1444 | "requires": { 1445 | "@jridgewell/resolve-uri": "^3.1.0", 1446 | "@jridgewell/sourcemap-codec": "^1.4.14" 1447 | } 1448 | }, 1449 | "@nodelib/fs.scandir": { 1450 | "version": "2.1.5", 1451 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 1452 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 1453 | "dev": true, 1454 | "requires": { 1455 | "@nodelib/fs.stat": "2.0.5", 1456 | "run-parallel": "^1.1.9" 1457 | } 1458 | }, 1459 | "@nodelib/fs.stat": { 1460 | "version": "2.0.5", 1461 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 1462 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 1463 | "dev": true 1464 | }, 1465 | "@nodelib/fs.walk": { 1466 | "version": "1.2.8", 1467 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 1468 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 1469 | "dev": true, 1470 | "requires": { 1471 | "@nodelib/fs.scandir": "2.1.5", 1472 | "fastq": "^1.6.0" 1473 | } 1474 | }, 1475 | "@pkgjs/parseargs": { 1476 | "version": "0.11.0", 1477 | "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", 1478 | "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", 1479 | "dev": true, 1480 | "optional": true 1481 | }, 1482 | "ansi-regex": { 1483 | "version": "6.0.1", 1484 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 1485 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 1486 | "dev": true 1487 | }, 1488 | "ansi-styles": { 1489 | "version": "6.2.1", 1490 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 1491 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 1492 | "dev": true 1493 | }, 1494 | "any-promise": { 1495 | "version": "1.3.0", 1496 | "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", 1497 | "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", 1498 | "dev": true 1499 | }, 1500 | "anymatch": { 1501 | "version": "3.1.3", 1502 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 1503 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 1504 | "dev": true, 1505 | "requires": { 1506 | "normalize-path": "^3.0.0", 1507 | "picomatch": "^2.0.4" 1508 | } 1509 | }, 1510 | "arg": { 1511 | "version": "5.0.2", 1512 | "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", 1513 | "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==", 1514 | "dev": true 1515 | }, 1516 | "balanced-match": { 1517 | "version": "1.0.2", 1518 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1519 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1520 | "dev": true 1521 | }, 1522 | "binary-extensions": { 1523 | "version": "2.3.0", 1524 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 1525 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 1526 | "dev": true 1527 | }, 1528 | "brace-expansion": { 1529 | "version": "2.0.1", 1530 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1531 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1532 | "dev": true, 1533 | "requires": { 1534 | "balanced-match": "^1.0.0" 1535 | } 1536 | }, 1537 | "braces": { 1538 | "version": "3.0.3", 1539 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1540 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1541 | "dev": true, 1542 | "requires": { 1543 | "fill-range": "^7.1.1" 1544 | } 1545 | }, 1546 | "camelcase-css": { 1547 | "version": "2.0.1", 1548 | "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", 1549 | "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", 1550 | "dev": true 1551 | }, 1552 | "chokidar": { 1553 | "version": "3.6.0", 1554 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 1555 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 1556 | "dev": true, 1557 | "requires": { 1558 | "anymatch": "~3.1.2", 1559 | "braces": "~3.0.2", 1560 | "fsevents": "~2.3.2", 1561 | "glob-parent": "~5.1.2", 1562 | "is-binary-path": "~2.1.0", 1563 | "is-glob": "~4.0.1", 1564 | "normalize-path": "~3.0.0", 1565 | "readdirp": "~3.6.0" 1566 | }, 1567 | "dependencies": { 1568 | "glob-parent": { 1569 | "version": "5.1.2", 1570 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1571 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1572 | "dev": true, 1573 | "requires": { 1574 | "is-glob": "^4.0.1" 1575 | } 1576 | } 1577 | } 1578 | }, 1579 | "color-convert": { 1580 | "version": "2.0.1", 1581 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1582 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1583 | "dev": true, 1584 | "requires": { 1585 | "color-name": "~1.1.4" 1586 | } 1587 | }, 1588 | "color-name": { 1589 | "version": "1.1.4", 1590 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1591 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1592 | "dev": true 1593 | }, 1594 | "commander": { 1595 | "version": "4.1.1", 1596 | "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", 1597 | "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", 1598 | "dev": true 1599 | }, 1600 | "cross-spawn": { 1601 | "version": "7.0.3", 1602 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 1603 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 1604 | "dev": true, 1605 | "requires": { 1606 | "path-key": "^3.1.0", 1607 | "shebang-command": "^2.0.0", 1608 | "which": "^2.0.1" 1609 | } 1610 | }, 1611 | "cssesc": { 1612 | "version": "3.0.0", 1613 | "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", 1614 | "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", 1615 | "dev": true 1616 | }, 1617 | "didyoumean": { 1618 | "version": "1.2.2", 1619 | "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", 1620 | "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==", 1621 | "dev": true 1622 | }, 1623 | "dlv": { 1624 | "version": "1.1.3", 1625 | "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", 1626 | "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", 1627 | "dev": true 1628 | }, 1629 | "eastasianwidth": { 1630 | "version": "0.2.0", 1631 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 1632 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 1633 | "dev": true 1634 | }, 1635 | "emoji-regex": { 1636 | "version": "9.2.2", 1637 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 1638 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 1639 | "dev": true 1640 | }, 1641 | "fast-glob": { 1642 | "version": "3.3.2", 1643 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", 1644 | "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", 1645 | "dev": true, 1646 | "requires": { 1647 | "@nodelib/fs.stat": "^2.0.2", 1648 | "@nodelib/fs.walk": "^1.2.3", 1649 | "glob-parent": "^5.1.2", 1650 | "merge2": "^1.3.0", 1651 | "micromatch": "^4.0.4" 1652 | }, 1653 | "dependencies": { 1654 | "glob-parent": { 1655 | "version": "5.1.2", 1656 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1657 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1658 | "dev": true, 1659 | "requires": { 1660 | "is-glob": "^4.0.1" 1661 | } 1662 | } 1663 | } 1664 | }, 1665 | "fastq": { 1666 | "version": "1.17.1", 1667 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", 1668 | "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", 1669 | "dev": true, 1670 | "requires": { 1671 | "reusify": "^1.0.4" 1672 | } 1673 | }, 1674 | "fill-range": { 1675 | "version": "7.1.1", 1676 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1677 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1678 | "dev": true, 1679 | "requires": { 1680 | "to-regex-range": "^5.0.1" 1681 | } 1682 | }, 1683 | "foreground-child": { 1684 | "version": "3.2.1", 1685 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", 1686 | "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", 1687 | "dev": true, 1688 | "requires": { 1689 | "cross-spawn": "^7.0.0", 1690 | "signal-exit": "^4.0.1" 1691 | } 1692 | }, 1693 | "fsevents": { 1694 | "version": "2.3.3", 1695 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 1696 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 1697 | "dev": true, 1698 | "optional": true 1699 | }, 1700 | "function-bind": { 1701 | "version": "1.1.2", 1702 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 1703 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 1704 | "dev": true 1705 | }, 1706 | "glob": { 1707 | "version": "10.4.2", 1708 | "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", 1709 | "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", 1710 | "dev": true, 1711 | "requires": { 1712 | "foreground-child": "^3.1.0", 1713 | "jackspeak": "^3.1.2", 1714 | "minimatch": "^9.0.4", 1715 | "minipass": "^7.1.2", 1716 | "package-json-from-dist": "^1.0.0", 1717 | "path-scurry": "^1.11.1" 1718 | } 1719 | }, 1720 | "glob-parent": { 1721 | "version": "6.0.2", 1722 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1723 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1724 | "dev": true, 1725 | "requires": { 1726 | "is-glob": "^4.0.3" 1727 | } 1728 | }, 1729 | "hasown": { 1730 | "version": "2.0.2", 1731 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1732 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1733 | "dev": true, 1734 | "requires": { 1735 | "function-bind": "^1.1.2" 1736 | } 1737 | }, 1738 | "is-binary-path": { 1739 | "version": "2.1.0", 1740 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1741 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1742 | "dev": true, 1743 | "requires": { 1744 | "binary-extensions": "^2.0.0" 1745 | } 1746 | }, 1747 | "is-core-module": { 1748 | "version": "2.14.0", 1749 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", 1750 | "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", 1751 | "dev": true, 1752 | "requires": { 1753 | "hasown": "^2.0.2" 1754 | } 1755 | }, 1756 | "is-extglob": { 1757 | "version": "2.1.1", 1758 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1759 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1760 | "dev": true 1761 | }, 1762 | "is-fullwidth-code-point": { 1763 | "version": "3.0.0", 1764 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1765 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1766 | "dev": true 1767 | }, 1768 | "is-glob": { 1769 | "version": "4.0.3", 1770 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1771 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1772 | "dev": true, 1773 | "requires": { 1774 | "is-extglob": "^2.1.1" 1775 | } 1776 | }, 1777 | "is-number": { 1778 | "version": "7.0.0", 1779 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1780 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1781 | "dev": true 1782 | }, 1783 | "isexe": { 1784 | "version": "2.0.0", 1785 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1786 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1787 | "dev": true 1788 | }, 1789 | "jackspeak": { 1790 | "version": "3.4.0", 1791 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", 1792 | "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", 1793 | "dev": true, 1794 | "requires": { 1795 | "@isaacs/cliui": "^8.0.2", 1796 | "@pkgjs/parseargs": "^0.11.0" 1797 | } 1798 | }, 1799 | "jiti": { 1800 | "version": "1.21.6", 1801 | "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", 1802 | "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", 1803 | "dev": true 1804 | }, 1805 | "lilconfig": { 1806 | "version": "2.1.0", 1807 | "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", 1808 | "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", 1809 | "dev": true 1810 | }, 1811 | "lines-and-columns": { 1812 | "version": "1.2.4", 1813 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", 1814 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", 1815 | "dev": true 1816 | }, 1817 | "lru-cache": { 1818 | "version": "10.3.0", 1819 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", 1820 | "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", 1821 | "dev": true 1822 | }, 1823 | "merge2": { 1824 | "version": "1.4.1", 1825 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1826 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1827 | "dev": true 1828 | }, 1829 | "micromatch": { 1830 | "version": "4.0.7", 1831 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", 1832 | "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", 1833 | "dev": true, 1834 | "requires": { 1835 | "braces": "^3.0.3", 1836 | "picomatch": "^2.3.1" 1837 | } 1838 | }, 1839 | "minimatch": { 1840 | "version": "9.0.5", 1841 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 1842 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 1843 | "dev": true, 1844 | "requires": { 1845 | "brace-expansion": "^2.0.1" 1846 | } 1847 | }, 1848 | "minipass": { 1849 | "version": "7.1.2", 1850 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 1851 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 1852 | "dev": true 1853 | }, 1854 | "mz": { 1855 | "version": "2.7.0", 1856 | "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", 1857 | "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", 1858 | "dev": true, 1859 | "requires": { 1860 | "any-promise": "^1.0.0", 1861 | "object-assign": "^4.0.1", 1862 | "thenify-all": "^1.0.0" 1863 | } 1864 | }, 1865 | "nanoid": { 1866 | "version": "3.3.7", 1867 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", 1868 | "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", 1869 | "dev": true 1870 | }, 1871 | "normalize-path": { 1872 | "version": "3.0.0", 1873 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1874 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1875 | "dev": true 1876 | }, 1877 | "object-assign": { 1878 | "version": "4.1.1", 1879 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1880 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 1881 | "dev": true 1882 | }, 1883 | "object-hash": { 1884 | "version": "3.0.0", 1885 | "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", 1886 | "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", 1887 | "dev": true 1888 | }, 1889 | "package-json-from-dist": { 1890 | "version": "1.0.0", 1891 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", 1892 | "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", 1893 | "dev": true 1894 | }, 1895 | "path-key": { 1896 | "version": "3.1.1", 1897 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1898 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1899 | "dev": true 1900 | }, 1901 | "path-parse": { 1902 | "version": "1.0.7", 1903 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1904 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1905 | "dev": true 1906 | }, 1907 | "path-scurry": { 1908 | "version": "1.11.1", 1909 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", 1910 | "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", 1911 | "dev": true, 1912 | "requires": { 1913 | "lru-cache": "^10.2.0", 1914 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" 1915 | } 1916 | }, 1917 | "picocolors": { 1918 | "version": "1.0.1", 1919 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", 1920 | "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", 1921 | "dev": true 1922 | }, 1923 | "picomatch": { 1924 | "version": "2.3.1", 1925 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1926 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1927 | "dev": true 1928 | }, 1929 | "pify": { 1930 | "version": "2.3.0", 1931 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 1932 | "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", 1933 | "dev": true 1934 | }, 1935 | "pirates": { 1936 | "version": "4.0.6", 1937 | "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", 1938 | "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", 1939 | "dev": true 1940 | }, 1941 | "postcss": { 1942 | "version": "8.4.39", 1943 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", 1944 | "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", 1945 | "dev": true, 1946 | "requires": { 1947 | "nanoid": "^3.3.7", 1948 | "picocolors": "^1.0.1", 1949 | "source-map-js": "^1.2.0" 1950 | } 1951 | }, 1952 | "postcss-import": { 1953 | "version": "15.1.0", 1954 | "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", 1955 | "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", 1956 | "dev": true, 1957 | "requires": { 1958 | "postcss-value-parser": "^4.0.0", 1959 | "read-cache": "^1.0.0", 1960 | "resolve": "^1.1.7" 1961 | } 1962 | }, 1963 | "postcss-js": { 1964 | "version": "4.0.1", 1965 | "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", 1966 | "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", 1967 | "dev": true, 1968 | "requires": { 1969 | "camelcase-css": "^2.0.1" 1970 | } 1971 | }, 1972 | "postcss-load-config": { 1973 | "version": "4.0.2", 1974 | "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", 1975 | "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", 1976 | "dev": true, 1977 | "requires": { 1978 | "lilconfig": "^3.0.0", 1979 | "yaml": "^2.3.4" 1980 | }, 1981 | "dependencies": { 1982 | "lilconfig": { 1983 | "version": "3.1.2", 1984 | "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", 1985 | "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", 1986 | "dev": true 1987 | } 1988 | } 1989 | }, 1990 | "postcss-nested": { 1991 | "version": "6.0.1", 1992 | "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", 1993 | "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", 1994 | "dev": true, 1995 | "requires": { 1996 | "postcss-selector-parser": "^6.0.11" 1997 | } 1998 | }, 1999 | "postcss-selector-parser": { 2000 | "version": "6.1.0", 2001 | "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", 2002 | "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", 2003 | "dev": true, 2004 | "requires": { 2005 | "cssesc": "^3.0.0", 2006 | "util-deprecate": "^1.0.2" 2007 | } 2008 | }, 2009 | "postcss-value-parser": { 2010 | "version": "4.2.0", 2011 | "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", 2012 | "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", 2013 | "dev": true 2014 | }, 2015 | "queue-microtask": { 2016 | "version": "1.2.3", 2017 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 2018 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 2019 | "dev": true 2020 | }, 2021 | "read-cache": { 2022 | "version": "1.0.0", 2023 | "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", 2024 | "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", 2025 | "dev": true, 2026 | "requires": { 2027 | "pify": "^2.3.0" 2028 | } 2029 | }, 2030 | "readdirp": { 2031 | "version": "3.6.0", 2032 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2033 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2034 | "dev": true, 2035 | "requires": { 2036 | "picomatch": "^2.2.1" 2037 | } 2038 | }, 2039 | "resolve": { 2040 | "version": "1.22.8", 2041 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", 2042 | "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", 2043 | "dev": true, 2044 | "requires": { 2045 | "is-core-module": "^2.13.0", 2046 | "path-parse": "^1.0.7", 2047 | "supports-preserve-symlinks-flag": "^1.0.0" 2048 | } 2049 | }, 2050 | "reusify": { 2051 | "version": "1.0.4", 2052 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 2053 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 2054 | "dev": true 2055 | }, 2056 | "run-parallel": { 2057 | "version": "1.2.0", 2058 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 2059 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 2060 | "dev": true, 2061 | "requires": { 2062 | "queue-microtask": "^1.2.2" 2063 | } 2064 | }, 2065 | "shebang-command": { 2066 | "version": "2.0.0", 2067 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2068 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2069 | "dev": true, 2070 | "requires": { 2071 | "shebang-regex": "^3.0.0" 2072 | } 2073 | }, 2074 | "shebang-regex": { 2075 | "version": "3.0.0", 2076 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2077 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2078 | "dev": true 2079 | }, 2080 | "signal-exit": { 2081 | "version": "4.1.0", 2082 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 2083 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 2084 | "dev": true 2085 | }, 2086 | "source-map-js": { 2087 | "version": "1.2.0", 2088 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", 2089 | "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", 2090 | "dev": true 2091 | }, 2092 | "string-width": { 2093 | "version": "5.1.2", 2094 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 2095 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 2096 | "dev": true, 2097 | "requires": { 2098 | "eastasianwidth": "^0.2.0", 2099 | "emoji-regex": "^9.2.2", 2100 | "strip-ansi": "^7.0.1" 2101 | } 2102 | }, 2103 | "string-width-cjs": { 2104 | "version": "npm:string-width@4.2.3", 2105 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2106 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2107 | "dev": true, 2108 | "requires": { 2109 | "emoji-regex": "^8.0.0", 2110 | "is-fullwidth-code-point": "^3.0.0", 2111 | "strip-ansi": "^6.0.1" 2112 | }, 2113 | "dependencies": { 2114 | "ansi-regex": { 2115 | "version": "5.0.1", 2116 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2117 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2118 | "dev": true 2119 | }, 2120 | "emoji-regex": { 2121 | "version": "8.0.0", 2122 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 2123 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 2124 | "dev": true 2125 | }, 2126 | "strip-ansi": { 2127 | "version": "6.0.1", 2128 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2129 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2130 | "dev": true, 2131 | "requires": { 2132 | "ansi-regex": "^5.0.1" 2133 | } 2134 | } 2135 | } 2136 | }, 2137 | "strip-ansi": { 2138 | "version": "7.1.0", 2139 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 2140 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 2141 | "dev": true, 2142 | "requires": { 2143 | "ansi-regex": "^6.0.1" 2144 | } 2145 | }, 2146 | "strip-ansi-cjs": { 2147 | "version": "npm:strip-ansi@6.0.1", 2148 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2149 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2150 | "dev": true, 2151 | "requires": { 2152 | "ansi-regex": "^5.0.1" 2153 | }, 2154 | "dependencies": { 2155 | "ansi-regex": { 2156 | "version": "5.0.1", 2157 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2158 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2159 | "dev": true 2160 | } 2161 | } 2162 | }, 2163 | "sucrase": { 2164 | "version": "3.35.0", 2165 | "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", 2166 | "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", 2167 | "dev": true, 2168 | "requires": { 2169 | "@jridgewell/gen-mapping": "^0.3.2", 2170 | "commander": "^4.0.0", 2171 | "glob": "^10.3.10", 2172 | "lines-and-columns": "^1.1.6", 2173 | "mz": "^2.7.0", 2174 | "pirates": "^4.0.1", 2175 | "ts-interface-checker": "^0.1.9" 2176 | } 2177 | }, 2178 | "supports-preserve-symlinks-flag": { 2179 | "version": "1.0.0", 2180 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 2181 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 2182 | "dev": true 2183 | }, 2184 | "tailwindcss": { 2185 | "version": "3.4.4", 2186 | "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz", 2187 | "integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==", 2188 | "dev": true, 2189 | "requires": { 2190 | "@alloc/quick-lru": "^5.2.0", 2191 | "arg": "^5.0.2", 2192 | "chokidar": "^3.5.3", 2193 | "didyoumean": "^1.2.2", 2194 | "dlv": "^1.1.3", 2195 | "fast-glob": "^3.3.0", 2196 | "glob-parent": "^6.0.2", 2197 | "is-glob": "^4.0.3", 2198 | "jiti": "^1.21.0", 2199 | "lilconfig": "^2.1.0", 2200 | "micromatch": "^4.0.5", 2201 | "normalize-path": "^3.0.0", 2202 | "object-hash": "^3.0.0", 2203 | "picocolors": "^1.0.0", 2204 | "postcss": "^8.4.23", 2205 | "postcss-import": "^15.1.0", 2206 | "postcss-js": "^4.0.1", 2207 | "postcss-load-config": "^4.0.1", 2208 | "postcss-nested": "^6.0.1", 2209 | "postcss-selector-parser": "^6.0.11", 2210 | "resolve": "^1.22.2", 2211 | "sucrase": "^3.32.0" 2212 | } 2213 | }, 2214 | "thenify": { 2215 | "version": "3.3.1", 2216 | "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", 2217 | "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", 2218 | "dev": true, 2219 | "requires": { 2220 | "any-promise": "^1.0.0" 2221 | } 2222 | }, 2223 | "thenify-all": { 2224 | "version": "1.6.0", 2225 | "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", 2226 | "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", 2227 | "dev": true, 2228 | "requires": { 2229 | "thenify": ">= 3.1.0 < 4" 2230 | } 2231 | }, 2232 | "to-regex-range": { 2233 | "version": "5.0.1", 2234 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2235 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2236 | "dev": true, 2237 | "requires": { 2238 | "is-number": "^7.0.0" 2239 | } 2240 | }, 2241 | "ts-interface-checker": { 2242 | "version": "0.1.13", 2243 | "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", 2244 | "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", 2245 | "dev": true 2246 | }, 2247 | "util-deprecate": { 2248 | "version": "1.0.2", 2249 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2250 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 2251 | "dev": true 2252 | }, 2253 | "which": { 2254 | "version": "2.0.2", 2255 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2256 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2257 | "dev": true, 2258 | "requires": { 2259 | "isexe": "^2.0.0" 2260 | } 2261 | }, 2262 | "wrap-ansi": { 2263 | "version": "8.1.0", 2264 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 2265 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 2266 | "dev": true, 2267 | "requires": { 2268 | "ansi-styles": "^6.1.0", 2269 | "string-width": "^5.0.1", 2270 | "strip-ansi": "^7.0.1" 2271 | } 2272 | }, 2273 | "wrap-ansi-cjs": { 2274 | "version": "npm:wrap-ansi@7.0.0", 2275 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2276 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 2277 | "dev": true, 2278 | "requires": { 2279 | "ansi-styles": "^4.0.0", 2280 | "string-width": "^4.1.0", 2281 | "strip-ansi": "^6.0.0" 2282 | }, 2283 | "dependencies": { 2284 | "ansi-regex": { 2285 | "version": "5.0.1", 2286 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2287 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2288 | "dev": true 2289 | }, 2290 | "ansi-styles": { 2291 | "version": "4.3.0", 2292 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2293 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2294 | "dev": true, 2295 | "requires": { 2296 | "color-convert": "^2.0.1" 2297 | } 2298 | }, 2299 | "emoji-regex": { 2300 | "version": "8.0.0", 2301 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 2302 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 2303 | "dev": true 2304 | }, 2305 | "string-width": { 2306 | "version": "4.2.3", 2307 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2308 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2309 | "dev": true, 2310 | "requires": { 2311 | "emoji-regex": "^8.0.0", 2312 | "is-fullwidth-code-point": "^3.0.0", 2313 | "strip-ansi": "^6.0.1" 2314 | } 2315 | }, 2316 | "strip-ansi": { 2317 | "version": "6.0.1", 2318 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2319 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2320 | "dev": true, 2321 | "requires": { 2322 | "ansi-regex": "^5.0.1" 2323 | } 2324 | } 2325 | } 2326 | }, 2327 | "yaml": { 2328 | "version": "2.4.5", 2329 | "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", 2330 | "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", 2331 | "dev": true 2332 | } 2333 | } 2334 | } 2335 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "npx tailwindcss -i ./style/input.css -o ./style/output/output.css", 4 | "watch": "npx tailwindcss -i ./style/input.css -o ./style/output/output.css --watch" 5 | }, 6 | "devDependencies": { 7 | "tailwindcss": "^3.4.4" 8 | } 9 | } -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly" 3 | targets = ["wasm32-unknown-unknown"] 4 | -------------------------------------------------------------------------------- /src/app.rs: -------------------------------------------------------------------------------- 1 | pub mod components; 2 | pub mod db; 3 | pub mod errors; 4 | pub mod models; 5 | pub mod pages; 6 | pub mod server_functions; 7 | use pages::{HomePage, TeamPage}; 8 | 9 | use leptos::*; 10 | use leptos_meta::*; 11 | use leptos_router::*; 12 | 13 | #[component] 14 | pub fn App() -> impl IntoView { 15 | // Provides context that manages stylesheets, titles, meta tags, etc. 16 | provide_meta_context(); 17 | 18 | let script_url = "https://cdn.jsdelivr.net/npm/echarts@5.4.2/dist/echarts.min.js".to_string(); 19 | let script_gl_url = 20 | "https://cdn.jsdelivr.net/npm/echarts-gl@2.0.9/dist/echarts-gl.min.js".to_string(); 21 | 22 | let script_url_team = script_url.clone(); 23 | let script_gl_url_team = script_gl_url.clone(); 24 | 25 | view! { 26 | // injects a stylesheet into the document 27 | // id=leptos means cargo-leptos will hot-reload this stylesheet 28 | 29 | 30 | 31 | // sets the document title 32 | 33 | 34 | // content for this welcome page 35 | <Router> 36 | <main> 37 | <Body class="bg-gray-900 overflow-x-hide" /> 38 | <Routes> 39 | <Route path="/" view=move || { 40 | view! { 41 | <HomePage /> 42 | 43 | <script src=&script_gl_url></script> 44 | <script src=&script_url></script> 45 | } 46 | }/> 47 | <Route path="/team" view=move || { 48 | view! { 49 | <TeamPage /> 50 | <script src=&script_gl_url_team></script> 51 | <script src=&script_url_team></script> 52 | } 53 | }/> 54 | <Route path="/*any" view=NotFound/> 55 | </Routes> 56 | </main> 57 | </Router> 58 | } 59 | } 60 | 61 | /// 404 - Not Found 62 | #[component] 63 | fn NotFound() -> impl IntoView { 64 | // set an HTTP status code 404 65 | // this is feature gated because it can only be done during 66 | // initial server-side rendering 67 | // if you navigate to the 404 page subsequently, the status 68 | // code will not be set because there is not a new HTTP request 69 | // to the server 70 | #[cfg(feature = "ssr")] 71 | { 72 | // this can be done inline because it's synchronous 73 | // if it were async, we'd use a server function 74 | let resp = expect_context::<leptos_actix::ResponseOptions>(); 75 | resp.set_status(actix_web::http::StatusCode::NOT_FOUND); 76 | } 77 | 78 | view! { 79 | <h1>"Not Found"</h1> 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /src/app/components.rs: -------------------------------------------------------------------------------- 1 | // for components 2 | pub mod header; 3 | pub use header::Header; 4 | 5 | pub mod add_person_modal; 6 | pub use add_person_modal::AddPersonModal; 7 | 8 | pub mod toast; 9 | pub use toast::Toast; 10 | pub use toast::ToastMessage; 11 | pub use toast::ToastMessageType; 12 | 13 | pub mod person_row; 14 | pub use person_row::PersonRow; 15 | 16 | pub mod dashboard_header; 17 | pub use dashboard_header::DashboardHeader; 18 | 19 | pub mod dashboard_chart; 20 | pub use dashboard_chart::DashboardChart; 21 | 22 | pub mod dashboard_widget; 23 | pub use dashboard_widget::DashboardWidget; 24 | 25 | pub mod edit_person_modal; 26 | pub use edit_person_modal::EditPersonModal; 27 | 28 | pub mod show_person_modal; 29 | pub use show_person_modal::ShowPersonModal; 30 | -------------------------------------------------------------------------------- /src/app/components/add_person_modal.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::{Toast, ToastMessage, ToastMessageType}; 2 | use crate::app::models::AddPersonRequest; 3 | use crate::app::server_functions::persons::add_person; 4 | use leptos::*; 5 | use validator::Validate; 6 | 7 | #[component] 8 | pub fn AddPersonModal( 9 | set_if_show_modal: WriteSignal<bool>, 10 | set_if_show_added: WriteSignal<bool>, 11 | set_toast_message: WriteSignal<ToastMessage>, 12 | ) -> impl IntoView { 13 | const INPUT_STYLE: &str = "w-full h-12 bg-[#333333] pr-4 pl-6 py-4 text-white 14 | mt-6 outline-none focus:outline-none focus:pl-7 transition-all duration-1000 15 | ease-in-out"; 16 | 17 | const CANCEL_BUTTON_STYLE: &str = "mt-10 bg-[#555555] px-8 py-2 rounded 18 | text-white mr-3 transition-all duration-1000 ease-in-out hover:bg-[#666666]"; 19 | 20 | const ADD_BUTTON_STYLE: &str = "mt-10 bg-[#7734e7] px-8 py-2 rounded text-white 21 | transition-all duration-1000 ease-in-out hover:bg-[#8448e9]"; 22 | 23 | const NO_ERROR_STYLE: &str = "flex flex-col bg-[#222222] border-t-8 border-[#7734e7] 24 | px-6 pt-5 h-[29rem] w-full max-w-[36rem] z-50 -mt-2 fixed z-50"; 25 | 26 | const ERROR_STYLE: &str = "flex flex-col bg-[#222222] border-t-8 border-[#7734e7] 27 | px-6 pt-5 h-[32rem] w-full max-w-[36rem] z-50 -mt-2 fixed z-50"; 28 | 29 | // field values 30 | let (person_name, set_person_name) = create_signal(String::new()); 31 | let (person_title, set_person_title) = create_signal(String::new()); 32 | let (person_level, set_person_level) = create_signal(String::new()); 33 | let (compensation, set_compensation) = create_signal(String::new()); 34 | 35 | // for error message(s) 36 | let (error_message, set_error_message) = create_signal(String::new()); 37 | let (if_error, set_if_error) = create_signal(false); 38 | 39 | // to close the modal 40 | let on_close = move |_| { 41 | set_if_show_modal(false); 42 | }; 43 | 44 | // to add the new person 45 | let on_click = move |_| { 46 | let add_person_request = AddPersonRequest::new( 47 | person_name(), 48 | person_title(), 49 | person_level(), 50 | compensation().parse::<i32>().expect("Numbers only"), 51 | ); 52 | 53 | let is_valid = add_person_request.validate(); 54 | 55 | match is_valid { 56 | Ok(_) => { 57 | spawn_local(async move { 58 | let add_result = add_person(add_person_request).await; 59 | 60 | // we get the result back and do something with it 61 | match add_result { 62 | Ok(_added_person) => { 63 | set_if_show_modal(false); 64 | 65 | set_toast_message(ToastMessage::create( 66 | ToastMessageType::NewMemberAdded, 67 | )); 68 | 69 | // setting this to true to make the toast 70 | // for "new member added" appear 71 | set_if_show_added(true); 72 | } 73 | Err(e) => println!("Error adding: {:?}", e), 74 | }; 75 | }); 76 | } 77 | Err(_) => { 78 | set_if_error(true); 79 | set_error_message(String::from("All fields are required")) 80 | } 81 | } 82 | }; 83 | 84 | view! { 85 | <div class="flex flex-col w-full h-full z-50 mx-auto items-center align-center"> 86 | <div class={move || { 87 | if if_error() { ERROR_STYLE } 88 | else { NO_ERROR_STYLE } 89 | }}> 90 | <Show when=move || { if_error() }> 91 | <p class="text-white bg-red-500 rounded w-full h-12 px-5 py-3 92 | transition-all duration-750 ease-in-out"> 93 | { error_message() } 94 | </p> 95 | </Show> 96 | <p class="text-white pt-5">"Add New Employee"</p> 97 | <input type="text" placeholder="Name" 98 | class=INPUT_STYLE 99 | value=person_name 100 | on:input=move |event| { 101 | set_person_name(event_target_value(&event)); 102 | } 103 | /> 104 | <input type="text" placeholder="Title" 105 | class=INPUT_STYLE 106 | value=person_title 107 | on:input=move |event| { 108 | set_person_title(event_target_value(&event)); 109 | } 110 | /> 111 | <input type="text" placeholder="Level" 112 | class=INPUT_STYLE 113 | value=person_level 114 | on:input=move |event| { 115 | set_person_level(event_target_value(&event)); 116 | } 117 | /> 118 | <input type="text" placeholder="Compensation" 119 | class=INPUT_STYLE 120 | value=compensation 121 | on:input=move |event| { 122 | set_compensation(event_target_value(&event)); 123 | } 124 | /> 125 | <div class="flex flex-row w-full items-right justify-right"> 126 | <button on:click=on_close class=CANCEL_BUTTON_STYLE> 127 | "Cancel" 128 | </button> 129 | <button on:click=on_click class=ADD_BUTTON_STYLE> 130 | "Add" 131 | </button> 132 | </div> 133 | </div> 134 | </div> 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /src/app/components/dashboard_chart.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::DashboardWidget; 2 | use crate::app::models::Person; 3 | use charts_rs::{BarChart, Color, Series, THEME_DARK}; 4 | use leptos::*; 5 | use num_format::{Buffer, Locale}; 6 | 7 | #[component] 8 | pub fn DashboardChart(persons_data: Vec<Person>) -> impl IntoView { 9 | // for counting the total number of team members 10 | // we are using persons_data here only, so we can take ownership of it 11 | let team_count: String = persons_data.len().to_string(); 12 | 13 | // for calculating and adding the total cost for all the team members 14 | let mut total_cost: i32 = 0; 15 | 16 | // for identifying who is the latest to join 17 | let mut latest_member: String = String::new(); 18 | let mut counter = 0; 19 | 20 | // 2 vectors for displaying the titles and the other for counting 21 | // the quantity/number for each title 22 | let mut data_vec = Vec::new(); 23 | let mut count_vec: Vec<f32> = Vec::new(); 24 | 25 | // loop through the returned data 26 | for person in persons_data { 27 | if counter == 0 { 28 | latest_member = person.name; 29 | } 30 | 31 | // adding this persons' compensation to the total team cost 32 | total_cost += person.compensation; 33 | 34 | // if the vector for displaying the title doesn't containe this person's 35 | // title yet 36 | if !data_vec.contains(&person.title) { 37 | // we add it to the vector 38 | data_vec.push(person.title); 39 | 40 | // we also add 1 to the count vector 41 | count_vec.push(1.0); 42 | } else { 43 | // if this title has previously been added to the titles vector 44 | // we get the index of the title in the titles vector 45 | let index = data_vec 46 | .iter() 47 | .position(|title| title == &person.title) 48 | .unwrap(); 49 | 50 | // we also get the number in the vector using that index 51 | let num_at_index = count_vec[index]; 52 | 53 | // then we increment it by 1 54 | count_vec[index] = num_at_index + 1.0; 55 | } 56 | 57 | counter = counter + 1; 58 | } 59 | 60 | let mut bar_series = Series::new(String::new(), count_vec); 61 | bar_series.label_show = true; 62 | 63 | let mut bar_chart = BarChart::new_with_theme(vec![bar_series], data_vec, THEME_DARK); 64 | bar_chart.font_family = String::from("Noto Sans SC"); 65 | bar_chart.background_color = Color::transparent(); 66 | bar_chart.width = 832.0; 67 | bar_chart.height = 500.0; 68 | 69 | // to not show the y-axis with the decimal point numbers for count 70 | bar_chart.y_axis_hidden = true; 71 | 72 | // to convert the total cost to a string using the num-format crate's Buffer 73 | let mut buf = Buffer::default(); 74 | buf.write_formatted(&total_cost, &Locale::en); 75 | let total_cost_str = format!("${}", buf.as_str()); 76 | 77 | view! { 78 | 79 | <div class="w-full flex flex-col max-w-[64rem] mx-auto pt-8 mb-10"> 80 | <div class="w-full h-20 grid grid-cols-3 gap-4 mx-auto px-2 max-w-[53rem]"> 81 | <DashboardWidget title="Team Members" value=&team_count /> 82 | <DashboardWidget title="Monthly Team Cost" value=&total_cost_str /> 83 | <DashboardWidget title="Just Joined" value=&latest_member /> 84 | </div> 85 | 86 | <div class="max-w-[54rem] mx-auto w-full flex flex-col mt-14 pb-12"> 87 | <div class="w-full max-w-[41rem] h-20 bg-black-200 rounded py-10 88 | px-4 pb-10" inner_html=&bar_chart.svg().unwrap()></div> 89 | </div> 90 | </div> 91 | } 92 | .into_view() 93 | } 94 | -------------------------------------------------------------------------------- /src/app/components/dashboard_header.rs: -------------------------------------------------------------------------------- 1 | use chrono::{Datelike, Local, Month}; 2 | use leptos::*; 3 | 4 | pub fn DashboardHeader() -> impl IntoView { 5 | // get today's date 6 | let current_now = Local::now(); 7 | 8 | // get the current month's number 9 | let month_number = u8::try_from(current_now.month()).unwrap(); 10 | 11 | // then we get the current month in shortform (e.g Jan/Feb) 12 | let current_month = Month::try_from(month_number).ok().unwrap(); 13 | 14 | // then we display the month and year in a nice format 15 | let display_date = format!("{:?}, {:?}", current_month, current_now.year()); 16 | 17 | view! { 18 | 19 | <div class="flex flex-col mt-28 h-48 w-full max-w-[53rem] mx-auto 20 | items-center align-center justify-center px-2"> 21 | <div class="w-full flex flex-row bg-[#34508c] rounded h-full px-10 22 | py-10"> 23 | <div class="w-1/2 h-full flex flex-col"> 24 | <div class="text-white">{display_date}</div> 25 | <div class="text-white text-6xl pt-2">"Team Report"</div> 26 | </div> 27 | <div class="w-1/2"> 28 | <img src="assets/image_1.png" class="w-[442px] -mt-28" /> 29 | </div> 30 | </div> 31 | </div> 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/app/components/dashboard_widget.rs: -------------------------------------------------------------------------------- 1 | use leptos::*; 2 | 3 | #[component] 4 | pub fn DashboardWidget<T>(title: T, value: T) -> impl IntoView 5 | where 6 | T: Into<String>, 7 | { 8 | view! { 9 | <div class="flex flex-col h-36 w-full max-w-[21rem] bg-[#283653] rounded 10 | px-10 py-4 justify-center"> 11 | 12 | <div class="text-white text-4xl">{value.into()}</div> 13 | <div class="text-stone-400">{title.into()}</div> 14 | </div> 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/app/components/edit_person_modal.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::{Toast, ToastMessage, ToastMessageType}; 2 | use crate::app::models::{EditPersonRequest, Person}; 3 | use crate::app::server_functions::persons::edit_person; 4 | use leptos::*; 5 | use std::rc::Rc; 6 | use validator::Validate; 7 | 8 | // style for each field, including subtle animations for animating the 9 | // placeholder 10 | 11 | // when focused upon 12 | const INPUT_STYLE: &str = "w-full h-12 bg-[#333333] pr-4 pl-6 py-4 text-white 13 | mt-6 outline-none focus:outline-none focus:pl-7 transition-all duration-1000 14 | ease-in-out"; 15 | 16 | const CANCEL_BUTTON_STYLE: &str = "mt-10 bg-[#555555] px-8 py-2 rounded 17 | text-white mr-3 transition-all duration-1000 ease-in-out hover:bg-[#666666]"; 18 | 19 | const UPDATE_BUTTON_STYLE: &str = "mt-10 bg-[#7734e7] px-8 py-2 rounded 20 | text-white transition-all duration-1000 ease-in-out hover:bg-[#8448e9]"; 21 | 22 | const NO_ERROR_STYLE: &str = "flex flex-col bg-[#222222] border-t-8 23 | border-[#7734e7] px-6 pt-5 h-[29rem] w-full max-w-[36rem] z-50 -mt-2 fixed 24 | top-20 z-50"; 25 | 26 | const ERROR_STYLE: &str = "flex flex-col bg-[#222222] border-t-8 27 | border-[#7734e7] px-6 pt-5 h-[32rem] w-full max-w-[36rem] z-50 -mt-2 fixed 28 | top-20 z-50"; 29 | 30 | #[component] 31 | pub fn EditPersonModal( 32 | person: Rc<Person>, 33 | set_if_show_modal: WriteSignal<bool>, 34 | set_if_show_toast: WriteSignal<bool>, 35 | set_toast_message: WriteSignal<ToastMessage>, 36 | person_resource: Resource<(), Result<Vec<Person>, ServerFnError>>, 37 | ) -> impl IntoView { 38 | let (person_name, _set_person_name) = create_signal(person.name.clone()); 39 | let (person_title, set_person_title) = create_signal(person.title.clone()); 40 | let (person_level, set_person_level) = create_signal(person.level.clone()); 41 | let (compensation, set_compensation) = create_signal(format!("{}", person.compensation)); 42 | 43 | // for error messages 44 | let (error_message, set_error_message) = create_signal(String::new()); 45 | let (if_error, set_if_error) = create_signal(false); 46 | 47 | // to close the modal 48 | let on_close = move |_| { 49 | set_if_show_modal(false); 50 | }; 51 | 52 | // to perform the updating of the person 53 | let on_click = move |_| { 54 | let uuid = person.uuid.clone(); 55 | 56 | // we first validate if the compensation is a valid number 57 | let validated_compensation = compensation().parse::<i32>(); 58 | 59 | // if no issues with validating the compensation, 60 | if let Ok(ok_compensation) = validated_compensation { 61 | let edit_person_request = 62 | EditPersonRequest::new(uuid, person_title(), person_level(), ok_compensation); 63 | 64 | let is_valid = edit_person_request.validate(); 65 | 66 | match is_valid { 67 | Ok(_) => { 68 | let _ = spawn_local(async move { 69 | // we call the server function here 70 | let edit_result = edit_person(edit_person_request).await; 71 | 72 | // we get the result back and do something with it 73 | match edit_result { 74 | Ok(_edited_person) => { 75 | person_resource.refetch(); 76 | 77 | set_if_show_modal(false); 78 | 79 | set_toast_message(ToastMessage::create( 80 | ToastMessageType::MemberUpdated, 81 | )); 82 | 83 | // setting this to true to make the toast appear 84 | set_if_show_toast(true); 85 | } 86 | Err(_e) => { 87 | set_if_error(true); 88 | set_error_message(String::from( 89 | "Error updating member. Please try again later", 90 | )) 91 | } 92 | }; 93 | }); 94 | } 95 | Err(_e) => { 96 | set_if_error(true); 97 | set_error_message(String::from("All fields are required")) 98 | } 99 | } 100 | } else { 101 | set_if_error(true); 102 | set_error_message(String::from("Compensation should be numeric")) 103 | } 104 | }; 105 | 106 | view! { 107 | 108 | <div class="flex flex-col w-full h-full z-50 mx-auto items-center 109 | align-center"> 110 | 111 | <div class={ move || { 112 | if if_error() { ERROR_STYLE } 113 | else { NO_ERROR_STYLE } 114 | }}> 115 | 116 | <Show when=move || { if_error() }> 117 | <p class="text-white bg-red-500 rounded w-full h-12 px-5 118 | py-3 transition-all duration-750 ease-in-out"> 119 | { error_message() } 120 | </p> 121 | </Show> 122 | <p class="text-white pt-5 text-4xl mb-10">{person_name}</p> 123 | 124 | <input type="text" placeholder="Title" class=INPUT_STYLE 125 | value=person_title 126 | on:input=move |event| { 127 | set_person_title(event_target_value(&event)); 128 | } 129 | /> 130 | <input type="text" placeholder="Level" class=INPUT_STYLE 131 | value=person_level 132 | on:input=move |event| { 133 | set_person_level(event_target_value(&event)); 134 | } 135 | /> 136 | <input type="text" placeholder="Compensation" class=INPUT_STYLE 137 | value=compensation 138 | on:input=move |event| { 139 | set_compensation(event_target_value(&event)); 140 | } 141 | /> 142 | 143 | <div class="flex flex-row w-full items-right justify-right mt-3"> 144 | 145 | <button on:click=on_close class=CANCEL_BUTTON_STYLE> 146 | "Cancel" 147 | </button> 148 | <button on:click=on_click class=UPDATE_BUTTON_STYLE> 149 | "Update" 150 | </button> 151 | </div> 152 | </div> 153 | </div> 154 | } 155 | } 156 | -------------------------------------------------------------------------------- /src/app/components/header.rs: -------------------------------------------------------------------------------- 1 | use leptos::*; 2 | use leptos_router::*; 3 | 4 | const INPUT_STYLE: &str = "border-b-0 border-[#7734e7] h-8 text-white ml-4 mr-4 5 | hover:border-b-2"; 6 | const INPUT_STYLE_SELECTED: &str = "border-b-2 border-[#9734e7] h-8 text-white ml-4 7 | mr-4 hover:border-b-2"; 8 | 9 | #[component] 10 | pub fn Header() -> impl IntoView { 11 | let (current_path, set_current_path) = create_signal(String::new()); 12 | 13 | create_effect(move |_| { 14 | // here we get the current url and save it 15 | let router_context = use_context::<RouterContext>(); 16 | match router_context { 17 | Some(route_context) => { 18 | let path = route_context.pathname().get(); 19 | set_current_path(path); 20 | } 21 | None => { 22 | set_current_path(String::from("/")); 23 | } 24 | } 25 | }); 26 | 27 | view! { 28 | 29 | <div class="flex mx-auto align-center items-center w-full h-12 pt-8 px-20 top-0 fixed"> 30 | <nav class="flex flex-row w-full max-w-[52rem] h-12"> 31 | <div class={move || get_style_from_url(current_path().as_str(), "/")}> 32 | <A href="/">"Dashboard"</A> 33 | </div> 34 | <div class={move || get_style_from_url(current_path().as_str(), "/team")}> 35 | <A href="/team">"Team"</A> 36 | </div> 37 | </nav> 38 | </div> 39 | } 40 | } 41 | 42 | fn get_style_from_url<'a, 'b>(url: &'a str, match_url: &'a str) -> &'b str { 43 | if url == match_url { 44 | INPUT_STYLE_SELECTED 45 | } else { 46 | INPUT_STYLE 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/app/components/person_row.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::{EditPersonModal, ShowPersonModal, ToastMessage}; 2 | use crate::app::models::Person; 3 | use leptos::*; 4 | use std::rc::Rc; 5 | 6 | const ROW_STYLE: &str = "bg-[#283653] rounded px-10 py-5 mb-4 flex flex-row 7 | text-left items-left transition-all duration-1000 ease-in-out"; 8 | 9 | const SHOW_ICON_STYLE: &str = "bg-transparent border-2 border-white px-2.5 mt-2 10 | rounded-full text-white transition-all duration-500 ease-in-out text-xs 11 | mr-3 w-7 h-7 hover:w-8 hover:h-8 hover:mb-1"; 12 | 13 | #[component] 14 | pub fn PersonRow( 15 | person: Rc<Person>, 16 | person_resource: Resource<(), Result<Vec<Person>, ServerFnError>>, 17 | set_if_show_toast: WriteSignal<bool>, 18 | set_toast_message: WriteSignal<ToastMessage>, 19 | ) -> impl IntoView { 20 | let (if_show_info_modal, set_if_show_info_modal) = create_signal(false); 21 | let (if_show_edit_modal, set_if_show_edit_modal) = create_signal(false); 22 | 23 | let on_show_info = move |_| { 24 | set_if_show_info_modal(true); 25 | }; 26 | 27 | let on_show_edit = move |_| { 28 | set_if_show_edit_modal(true); 29 | }; 30 | 31 | let edit_person = person.clone(); 32 | let team_person = person.clone(); 33 | 34 | view! { 35 | 36 | <Show when=move || { if_show_info_modal() }> 37 | <ShowPersonModal 38 | person=team_person.clone() 39 | set_if_show_modal=set_if_show_info_modal 40 | set_if_show_deleted=set_if_show_toast 41 | person_resource 42 | set_toast_message 43 | /> 44 | </Show> 45 | 46 | <Show when=move || { if_show_edit_modal() }> 47 | <EditPersonModal 48 | person=edit_person.clone() 49 | set_if_show_modal=set_if_show_edit_modal 50 | set_if_show_toast=set_if_show_toast 51 | person_resource 52 | set_toast_message 53 | /> 54 | </Show> 55 | <div class=ROW_STYLE> 56 | <div class="flex flex-col w-full max-w-[45rem]"> 57 | <p class="font-bold">{&person.name}</p> 58 | <p class="text-sm text-stone-400">{&person.title}</p> 59 | </div> 60 | 61 | <div class="flex flex-row"> 62 | <button class=SHOW_ICON_STYLE on:click=on_show_info>"i"</button> 63 | <button class="" on:click=on_show_edit> 64 | <img src="assets/edit.png" class="w-[35px] hover:w-[38px] 65 | transition-all duration-500" /> 66 | </button> 67 | </div> 68 | </div> 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /src/app/components/show_person_modal.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::{Toast, ToastMessage, ToastMessageType}; 2 | use crate::app::models::{DeletePersonRequest, Person}; 3 | use crate::app::server_functions::persons::delete_person; 4 | use leptos::*; 5 | use std::rc::Rc; 6 | 7 | // style for each field, including subtle animations for animating 8 | // the placeholder 9 | const INFO_STYLE: &str = "w-full h-12 pr-4 py-4 mt-6 flex flex-col outline-none 10 | focus:outline-none focus:pl-7 transition-all duration-1000 ease-in-out"; 11 | 12 | const INFO_TITLE_STYLE: &str = "text-stone-400 text-xs"; 13 | const INFO_VALUE_STYLE: &str = "text-white"; 14 | 15 | const CLOSE_BUTTON_STYLE: &str = "mt-10 bg-[#555555] px-8 py-2 rounded text-white 16 | mr-3 transition-all duration-1000 ease-in-out hover:bg-[#666666]"; 17 | 18 | const DELETE_BUTTON_STYLE: &str = "mt-10 bg-red-800 px-8 py-2 rounded text-white 19 | transition-all duration-1000 ease-in-out hover:bg-red-600"; 20 | 21 | const MODAL_STYLE: &str = "flex flex-col bg-[#222222] border-t-8 border-[#7734e7] 22 | px-6 pt-5 h-[28rem] w-full max-w-[36rem] z-50 -mt-2 fixed top-20 z-50"; 23 | 24 | #[component] 25 | pub fn ShowPersonModal( 26 | person: Rc<Person>, 27 | set_if_show_modal: WriteSignal<bool>, 28 | set_if_show_deleted: WriteSignal<bool>, 29 | person_resource: Resource<(), Result<Vec<Person>, ServerFnError>>, 30 | set_toast_message: WriteSignal<ToastMessage>, 31 | ) -> impl IntoView { 32 | let this_person = person.clone(); 33 | 34 | // to close the modal 35 | let on_close = move |_| { 36 | set_if_show_modal(false); 37 | }; 38 | 39 | // to perform the deletion 40 | let on_click_delete = move |_| { 41 | let to_delete_uuid = format!("{}", &this_person.uuid); 42 | 43 | let delete_person_request = DeletePersonRequest::new(to_delete_uuid); 44 | 45 | let _ = spawn_local(async move { 46 | // we call the server function delete_person with the passed in params 47 | let delete_result = delete_person(delete_person_request).await; 48 | 49 | match delete_result { 50 | Ok(_deleted_person) => { 51 | person_resource.refetch(); 52 | 53 | set_toast_message(ToastMessage::create(ToastMessageType::MemberDeleted)); 54 | 55 | set_if_show_deleted(true); 56 | 57 | set_if_show_modal(false); 58 | } 59 | Err(e) => println!("Error deleting = {:?}", e), 60 | }; 61 | }); 62 | }; 63 | 64 | view! { 65 | 66 | <div class="flex flex-col w-full h-full z-49 bg-[#222222]/[.06]"> 67 | 68 | <div class="flex flex-col w-full h-full z-50 mx-auto items-center 69 | align-center"> 70 | 71 | <div class=MODAL_STYLE> 72 | 73 | <p class="text-white pt-5 text-4xl mb-2 mt-2"> 74 | {&person.name} 75 | </p> 76 | 77 | <div class=INFO_STYLE> 78 | <div class=INFO_TITLE_STYLE>"Title"</div> 79 | <div class=INFO_VALUE_STYLE>{&person.title}</div> 80 | </div> 81 | 82 | <div class=INFO_STYLE> 83 | <div class=INFO_TITLE_STYLE>"Level"</div> 84 | <div class=INFO_VALUE_STYLE>{&person.level}</div> 85 | </div> 86 | 87 | <div class=INFO_STYLE> 88 | <div class=INFO_TITLE_STYLE>"Compensation"</div> 89 | <div class=INFO_VALUE_STYLE> 90 | {format!("${:?}", &person.compensation)} 91 | </div> 92 | </div> 93 | 94 | <div class="flex flex-row w-full items-right justify-right 95 | mt-3"> 96 | <button on:click=on_close class=CLOSE_BUTTON_STYLE> 97 | "Close" 98 | </button> 99 | <button on:click=on_click_delete class=DELETE_BUTTON_STYLE> 100 | "Delete" 101 | </button> 102 | </div> 103 | 104 | </div> 105 | </div> 106 | </div> 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /src/app/components/toast.rs: -------------------------------------------------------------------------------- 1 | use leptos::*; 2 | use std::time::Duration; 3 | 4 | const TOAST_PARENT_STYLE: &str = "flex flex-row top-0 h-16 w-full max-w-[61rem] 5 | mx-auto items-center justify-center align-center fixed -mt-36 6 | transition-all duration-1000 ease-in-out"; 7 | 8 | const TOAST_PARENT_APPEAR_STYLE: &str = "flex flex-row top-0 h-16 w-full max-w-[61rem] 9 | mx-auto items-center justify-center align-center fixed mt-20 10 | transition-all duration-1000 ease-in-out"; 11 | 12 | const TOAST_STYLE: &str = "flex w-96 h-16 bg-[#333333] rounded px-10 py-4 13 | text-white -mt-36 transition-all duration-1000 ease-in-out items-center"; 14 | 15 | pub enum ToastMessageType { 16 | NewMemberAdded, 17 | MemberDeleted, 18 | MemberUpdated, 19 | } 20 | 21 | pub type ToastMessage = String; 22 | 23 | pub trait Toast { 24 | fn create(toast_message_type: ToastMessageType) -> ToastMessage; 25 | } 26 | 27 | impl Toast for ToastMessage { 28 | fn create(toast_message_type: ToastMessageType) -> ToastMessage { 29 | match toast_message_type { 30 | ToastMessageType::NewMemberAdded => String::from("New member added"), 31 | ToastMessageType::MemberDeleted => String::from("Member deleted"), 32 | ToastMessageType::MemberUpdated => String::from("Member updated"), 33 | } 34 | } 35 | } 36 | 37 | #[component] 38 | pub fn Toast( 39 | toast_message: ReadSignal<ToastMessage>, 40 | if_appear: ReadSignal<bool>, 41 | set_if_appear: WriteSignal<bool>, 42 | ) -> impl IntoView { 43 | let hide = move || { 44 | set_if_appear(false); 45 | }; 46 | 47 | create_effect(move |_| { 48 | if if_appear() { 49 | set_timeout(hide, Duration::from_secs(4)); 50 | } 51 | }); 52 | 53 | view! { 54 | <div class={move || { 55 | if if_appear() { TOAST_PARENT_APPEAR_STYLE } 56 | else { TOAST_PARENT_STYLE } 57 | }}> 58 | <div class=TOAST_STYLE> 59 | {toast_message} 60 | </div> 61 | </div> 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/app/db.rs: -------------------------------------------------------------------------------- 1 | pub mod database; 2 | -------------------------------------------------------------------------------- /src/app/db/database.rs: -------------------------------------------------------------------------------- 1 | cfg_if::cfg_if! { 2 | 3 | if #[cfg(feature = "ssr")] { 4 | 5 | use crate::app::models::Person; 6 | use crate::app::errors::{ ErrorMessage, PersonError }; 7 | use surrealdb::engine::remote::ws::{Client, Ws}; 8 | use surrealdb::opt::auth::Root; 9 | use surrealdb::{Error, Surreal}; 10 | use once_cell::sync::Lazy; 11 | 12 | static DB: Lazy<Surreal<Client>> = Lazy::new(Surreal::init); 13 | 14 | pub async fn open_db_connection() { 15 | 16 | let _ = DB.connect::<Ws>("127.0.0.1:8000").await; 17 | let _ = DB.signin(Root { 18 | username: "Root", 19 | password: "Root", 20 | }) 21 | .await; 22 | let _ = DB.use_ns("surreal").use_db("person").await; 23 | } 24 | 25 | pub async fn get_all_persons() -> Option<Vec<Person>> { 26 | 27 | open_db_connection().await; 28 | let get_all_persons = DB.query("SELECT * FROM person ORDER BY joined_date DESC;").await; 29 | let _ = DB.invalidate().await; 30 | 31 | match get_all_persons { 32 | 33 | Ok(mut res) => { 34 | let found = res.take(0); 35 | match found { 36 | Ok(found_persons) => Some(found_persons), 37 | Err(_) => None, 38 | } 39 | }, 40 | Err(_) => None, 41 | } 42 | } 43 | 44 | pub async fn add_person(new_person: Person) -> Option<Person> { 45 | 46 | open_db_connection().await; 47 | let results = DB.create(("person", new_person.uuid.clone())) 48 | .content(new_person) 49 | .await; 50 | let _ = DB.invalidate().await; 51 | 52 | match results { 53 | Ok(created_person) => created_person, 54 | Err(e) => { 55 | println!("error in adding person: {:?}",e); 56 | None 57 | } 58 | } 59 | } 60 | 61 | pub async fn delete_person(person_uuid: String) 62 | -> Result<Option<Person>, PersonError> { 63 | 64 | open_db_connection().await; 65 | let delete_results = DB.delete(("person",person_uuid)).await; 66 | let _ = DB.invalidate().await; 67 | 68 | match delete_results { 69 | Ok(deleted_person) => Ok(deleted_person), 70 | Err(_) => Err(PersonError::PersonDeleteFailure) 71 | } 72 | } 73 | 74 | pub async fn update_person(uuid: String, title: String, level: String, 75 | compensation: i32) -> Result<Option<Person>,PersonError> { 76 | 77 | open_db_connection().await; 78 | 79 | // first we try to find the perosn in the database 80 | let find_person: Result<Option<Person>,Error> = 81 | DB.select(("person",&uuid)).await; 82 | match find_person { 83 | 84 | Ok(found) => { 85 | 86 | // if we found the person, we update him/her 87 | match found { 88 | Some(found_person) => { 89 | 90 | let updated_user: Result<Option<Person>,Error> = 91 | DB.update(("person",&uuid)) 92 | .merge(Person::new( 93 | uuid, 94 | found_person.name, 95 | title, 96 | level, 97 | compensation, 98 | found_person.joined_date 99 | )) 100 | .await; 101 | let _ = DB.invalidate().await; 102 | match updated_user { 103 | Ok(returned_user) => Ok(returned_user), 104 | Err(_) => Err(PersonError::PersonUpdateFailure) 105 | } 106 | }, 107 | None => { 108 | let _ = DB.invalidate().await; 109 | Err(PersonError::PersonUpdateFailure) 110 | } 111 | } 112 | }, 113 | Err(_) => { 114 | let _ = DB.invalidate().await; 115 | Err(PersonError::PersonNotFound) 116 | } 117 | } 118 | } 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /src/app/errors.rs: -------------------------------------------------------------------------------- 1 | pub mod person_errors; 2 | pub use person_errors::ErrorMessage; 3 | pub use person_errors::PersonError; 4 | pub use person_errors::ResponseErrorTrait; 5 | -------------------------------------------------------------------------------- /src/app/errors/person_errors.rs: -------------------------------------------------------------------------------- 1 | // for person error 2 | 3 | use thiserror::Error; 4 | 5 | #[derive(Error, Debug)] 6 | pub enum PersonError { 7 | #[error("member not found")] 8 | PersonNotFound, 9 | #[error("failed to update member")] 10 | PersonUpdateFailure, 11 | #[error("failed to create member")] 12 | PersonCreationFailure, 13 | #[error("failed to delete member")] 14 | PersonDeleteFailure, 15 | } 16 | 17 | pub type ErrorMessage = String; 18 | 19 | pub trait ResponseErrorTrait { 20 | fn create(person_error: PersonError) -> ErrorMessage; 21 | } 22 | 23 | impl ResponseErrorTrait for ErrorMessage { 24 | fn create(person_error: PersonError) -> ErrorMessage { 25 | match person_error { 26 | PersonError::PersonNotFound => ErrorMessage::from("member not found"), 27 | PersonError::PersonUpdateFailure => ErrorMessage::from("failed to update member"), 28 | PersonError::PersonCreationFailure => ErrorMessage::from("failed to create member"), 29 | PersonError::PersonDeleteFailure => ErrorMessage::from("failed to delete member"), 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/app/models.rs: -------------------------------------------------------------------------------- 1 | pub mod person; 2 | pub use person::AddPersonRequest; 3 | pub use person::DeletePersonRequest; 4 | pub use person::EditPersonRequest; 5 | pub use person::Person; 6 | -------------------------------------------------------------------------------- /src/app/models/person.rs: -------------------------------------------------------------------------------- 1 | use serde::{Deserialize, Serialize}; 2 | use validator::Validate; 3 | 4 | #[derive(Debug, Validate, Deserialize, Serialize, PartialEq, Eq, Clone)] 5 | pub struct Person { 6 | pub uuid: String, 7 | #[validate(length(min = 1, message = "name is required"))] 8 | pub name: String, 9 | #[validate(length(min = 1, message = "title is required"))] 10 | pub title: String, 11 | #[validate(length(min = 1, message = "level is required"))] 12 | pub level: String, 13 | #[validate(range(min = 2000, max = 99999))] 14 | pub compensation: i32, 15 | pub joined_date: String, 16 | } 17 | 18 | impl Person { 19 | pub fn new( 20 | uuid: String, 21 | name: String, 22 | title: String, 23 | level: String, 24 | compensation: i32, 25 | joined_date: String, 26 | ) -> Person { 27 | Person { 28 | uuid, 29 | name, 30 | title, 31 | level, 32 | compensation, 33 | joined_date, 34 | } 35 | } 36 | } 37 | 38 | #[derive(Debug, Validate, Deserialize, Serialize, PartialEq, Eq, Clone)] 39 | pub struct AddPersonRequest { 40 | #[validate(length(min = 1, message = "name is required"))] 41 | pub name: String, 42 | #[validate(length(min = 1, message = "title is required"))] 43 | pub title: String, 44 | #[validate(length(min = 1, message = "level is required"))] 45 | pub level: String, 46 | #[validate(range(min = 2000, max = 99999))] 47 | pub compensation: i32, 48 | } 49 | 50 | impl AddPersonRequest { 51 | pub fn new(name: String, title: String, level: String, compensation: i32) -> AddPersonRequest { 52 | AddPersonRequest { 53 | name, 54 | title, 55 | level, 56 | compensation, 57 | } 58 | } 59 | } 60 | 61 | #[derive(Debug, Validate, Deserialize, Serialize, PartialEq, Eq, Clone)] 62 | pub struct EditPersonRequest { 63 | #[validate(length(min = 1, message = "id is required"))] 64 | pub uuid: String, 65 | #[validate(length(min = 1, message = "title is required"))] 66 | pub title: String, 67 | #[validate(length(min = 1, message = "level is required"))] 68 | pub level: String, 69 | #[validate(range(min = 2000, max = 99999))] 70 | pub compensation: i32, 71 | } 72 | 73 | impl EditPersonRequest { 74 | pub fn new(uuid: String, title: String, level: String, compensation: i32) -> EditPersonRequest { 75 | EditPersonRequest { 76 | uuid, 77 | title, 78 | level, 79 | compensation, 80 | } 81 | } 82 | } 83 | 84 | #[derive(Debug, Validate, Deserialize, Serialize, PartialEq, Eq, Clone)] 85 | pub struct DeletePersonRequest { 86 | #[validate(length(min = 1, message = "id is required"))] 87 | pub uuid: String, 88 | } 89 | 90 | impl DeletePersonRequest { 91 | pub fn new(uuid: String) -> DeletePersonRequest { 92 | DeletePersonRequest { uuid } 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/app/pages.rs: -------------------------------------------------------------------------------- 1 | pub mod home_page; 2 | pub use home_page::HomePage; 3 | 4 | pub mod team_page; 5 | pub use team_page::TeamPage; 6 | -------------------------------------------------------------------------------- /src/app/pages/home_page.rs: -------------------------------------------------------------------------------- 1 | use crate::app::components::{DashboardChart, DashboardHeader, Header}; 2 | use crate::app::server_functions::get_persons; 3 | use leptos::*; 4 | 5 | #[component] 6 | pub fn HomePage() -> impl IntoView { 7 | let get_persons_info = create_resource(|| (), |_| async move { get_persons().await }); 8 | 9 | view! { 10 | <div class="w-full max-w-[64rem] mx-auto items-center justify-center align-center"> 11 | <Header /> 12 | <DashboardHeader /> 13 | <Suspense fallback=move || { 14 | view! { <p>"Loading data..."</p> } 15 | }> 16 | { 17 | move || { 18 | get_persons_info.get().map(|data| { 19 | match data { 20 | Ok(persons_data) => { 21 | view! { 22 | <DashboardChart persons_data /> 23 | }.into_view() 24 | }, 25 | Err(_) => view! { 26 | <div></div> 27 | }.into_view() 28 | } 29 | }) 30 | } 31 | } 32 | </Suspense> 33 | </div> 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/app/pages/team_page.rs: -------------------------------------------------------------------------------- 1 | use crate::app::{ 2 | components::{AddPersonModal, Header, PersonRow, Toast, ToastMessage}, 3 | server_functions::get_persons, 4 | }; 5 | use leptos::*; 6 | use std::rc::Rc; 7 | 8 | #[component] 9 | pub fn TeamPage() -> impl IntoView { 10 | const ADD_BUTTON_STYLE: &str = "bg-[#7734e7] px-8 py-2 rounded text-white 11 | transition-all duration-1000 ease-in-out hover:bg-[#8448e9]"; 12 | 13 | let (if_show_modal, set_if_show_modal) = create_signal(false); 14 | 15 | // for showing/animating the toast message 16 | let (if_show_toast, set_if_show_toast) = create_signal(false); 17 | let (toast_message, set_toast_message) = create_signal(ToastMessage::new()); 18 | 19 | let get_persons_info = create_resource(|| (), |_| async move { get_persons().await }); 20 | 21 | let on_click = move |_| { 22 | set_if_show_modal(!if_show_modal()); 23 | }; 24 | 25 | view! { 26 | <div class="w-full max-w-[64rem] mx-auto items-center justify-center align-center"> 27 | <Header /> 28 | <Toast 29 | toast_message 30 | if_appear=if_show_toast 31 | set_if_appear=set_if_show_toast 32 | /> 33 | <div class="mt-20"> 34 | <div class="text-white flex flex-col w-full mx-auto items-center justify-center z-25"> 35 | <Show when=move || { if_show_modal() }> 36 | <AddPersonModal 37 | set_if_show_modal 38 | set_if_show_added=set_if_show_toast 39 | set_toast_message 40 | /> 41 | </Show> 42 | <div class="flex flex-row w-full max-w-[52rem]"> 43 | <div class="pr-4 mt-4 text-xl">"Members"</div> 44 | <hr class="w-full max-w-[48rem] pl-4 pr-4 pt-4 mt-8 mr-4" /> 45 | <button on:click=on_click class=ADD_BUTTON_STYLE> 46 | "Add" 47 | </button> 48 | </div> 49 | <Suspense fallback=move || { 50 | view! { <p>"Loading..."</p> } 51 | }> 52 | <div class="flex flex-col w-full max-w-[52rem] mt-6"> 53 | { 54 | move || { 55 | get_persons_info.get().map(|data| { 56 | match data { 57 | Ok (persons_data) => { 58 | persons_data.iter().map(|each_person| view! { 59 | <PersonRow 60 | person=Rc::new(each_person.clone()) 61 | person_resource=get_persons_info 62 | set_if_show_toast 63 | set_toast_message 64 | /> 65 | }).collect_view() 66 | }, 67 | Err(_) => { 68 | view! { <div></div> }.into_view() 69 | } 70 | } 71 | }) 72 | } 73 | } 74 | </div> 75 | </Suspense> 76 | </div> 77 | </div> 78 | </div> 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/app/server_functions.rs: -------------------------------------------------------------------------------- 1 | pub mod persons; 2 | pub use persons::get_persons; 3 | -------------------------------------------------------------------------------- /src/app/server_functions/persons.rs: -------------------------------------------------------------------------------- 1 | use crate::app::{ 2 | errors::{ErrorMessage, ResponseErrorTrait}, 3 | models::{person::Person, AddPersonRequest, DeletePersonRequest, EditPersonRequest}, 4 | }; 5 | use leptos::*; 6 | use serde::*; 7 | 8 | #[server(GetPersons, "/api")] 9 | pub async fn get_persons() -> Result<Vec<Person>, ServerFnError> { 10 | let persons = retrieve_all_persons().await; 11 | Ok(persons) 12 | } 13 | 14 | #[server(AddPerson, "/api")] 15 | pub async fn add_person(add_person_request: AddPersonRequest) -> Result<Person, ServerFnError> { 16 | let new_person = add_new_person( 17 | add_person_request.name, 18 | add_person_request.title, 19 | add_person_request.level, 20 | add_person_request.compensation, 21 | ) 22 | .await; 23 | 24 | match new_person { 25 | Some(created_person) => Ok(created_person), 26 | None => Err(ServerFnError::Args(String::from( 27 | "Error in creating person!", 28 | ))), 29 | } 30 | } 31 | 32 | #[server(DeletePerson, "/api")] 33 | pub async fn delete_person( 34 | delete_person_request: DeletePersonRequest, 35 | ) -> Result<Person, ServerFnError> { 36 | let deleted_results = delete_team_person(delete_person_request.uuid).await; 37 | match deleted_results { 38 | Ok(deleted) => { 39 | if let Some(deleted_person) = deleted { 40 | Ok(deleted_person) 41 | } else { 42 | Err(ServerFnError::Response(ErrorMessage::create( 43 | PersonError::PersonDeleteFailure, 44 | ))) 45 | } 46 | } 47 | Err(person_error) => Err(ServerFnError::Response(ErrorMessage::create(person_error))), 48 | } 49 | } 50 | 51 | #[server(EditPerson, "/api")] 52 | pub async fn edit_person(edit_person_request: EditPersonRequest) -> Result<Person, ServerFnError> { 53 | let updated = edit_team_person( 54 | edit_person_request.uuid, 55 | edit_person_request.title, 56 | edit_person_request.level, 57 | edit_person_request.compensation, 58 | ) 59 | .await; 60 | 61 | match updated { 62 | Ok(updated_result) => { 63 | // if successfully returned a Some in an Option of a Person 64 | if let Some(updated_person) = updated_result { 65 | Ok(updated_person) 66 | } else { 67 | Err(ServerFnError::Args(ErrorMessage::create( 68 | PersonError::PersonUpdateFailure, 69 | ))) 70 | } 71 | } 72 | Err(person_error) => Err(ServerFnError::Args(ErrorMessage::create(person_error))), 73 | } 74 | } 75 | 76 | cfg_if::cfg_if! { 77 | 78 | if #[cfg(feature = "ssr")] { 79 | 80 | use crate::app::db::database; 81 | use crate::app::errors::{ PersonError }; 82 | use chrono::{DateTime, Local}; 83 | use uuid::Uuid; 84 | 85 | pub async fn retrieve_all_persons() -> Vec<Person> { 86 | 87 | let get_all_persons_result = database::get_all_persons().await; 88 | match get_all_persons_result { 89 | Some(found_persons) => found_persons, 90 | None => Vec::new() 91 | } 92 | } 93 | 94 | pub async fn add_new_person<T>(name: T, title: T, level: T, compensation:i32) 95 | -> Option<Person> where T: Into<String> { 96 | 97 | let mut buffer = Uuid::encode_buffer(); 98 | let uuid = Uuid::new_v4().simple().encode_lower(&mut buffer); 99 | 100 | // getting the current timestamp 101 | let current_now = Local::now(); 102 | let current_formatted = current_now.to_string(); 103 | 104 | let new_person = Person::new( 105 | String::from(uuid), 106 | name.into(), 107 | title.into(), 108 | level.into(), 109 | compensation, 110 | current_formatted 111 | ); 112 | 113 | database::add_person(new_person).await 114 | } 115 | 116 | pub async fn delete_team_person<T>(uuid: T) -> 117 | Result<Option<Person>,PersonError> 118 | where T: Into<String> { 119 | 120 | database::delete_person(uuid.into()).await 121 | } 122 | 123 | pub async fn edit_team_person<T>(uuid: T, title: T, level: T, 124 | compensation:i32) -> Result<Option<Person>,PersonError> 125 | where T:Into<String> { 126 | 127 | database::update_person(uuid.into(),title.into(),level.into(), 128 | compensation).await 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod app; 2 | 3 | #[cfg(feature = "hydrate")] 4 | #[wasm_bindgen::prelude::wasm_bindgen] 5 | pub fn hydrate() { 6 | use app::*; 7 | use leptos::*; 8 | 9 | console_error_panic_hook::set_once(); 10 | 11 | mount_to_body(App); 12 | } 13 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | #[cfg(feature = "ssr")] 2 | #[actix_web::main] 3 | async fn main() -> std::io::Result<()> { 4 | use actix_files::Files; 5 | use actix_web::*; 6 | use leptos::*; 7 | use leptos_actix::{generate_route_list, LeptosRoutes}; 8 | use dashboard_app::app::*; 9 | 10 | let conf = get_configuration(None).await.unwrap(); 11 | let addr = conf.leptos_options.site_addr; 12 | // Generate the list of routes in your Leptos App 13 | let routes = generate_route_list(App); 14 | println!("listening on http://{}", &addr); 15 | 16 | HttpServer::new(move || { 17 | let leptos_options = &conf.leptos_options; 18 | let site_root = &leptos_options.site_root; 19 | 20 | App::new() 21 | // serve JS/WASM/CSS from `pkg` 22 | .service(Files::new("/pkg", format!("{site_root}/pkg"))) 23 | // serve other assets from the `assets` directory 24 | .service(Files::new("/assets", site_root)) 25 | // serve the favicon from /favicon.ico 26 | .service(favicon) 27 | .leptos_routes(leptos_options.to_owned(), routes.to_owned(), App) 28 | .app_data(web::Data::new(leptos_options.to_owned())) 29 | //.wrap(middleware::Compress::default()) 30 | }) 31 | .bind(&addr)? 32 | .run() 33 | .await 34 | } 35 | 36 | #[cfg(feature = "ssr")] 37 | #[actix_web::get("favicon.ico")] 38 | async fn favicon( 39 | leptos_options: actix_web::web::Data<leptos::LeptosOptions>, 40 | ) -> actix_web::Result<actix_files::NamedFile> { 41 | let leptos_options = leptos_options.into_inner(); 42 | let site_root = &leptos_options.site_root; 43 | Ok(actix_files::NamedFile::open(format!( 44 | "{site_root}/favicon.ico" 45 | ))?) 46 | } 47 | 48 | #[cfg(not(any(feature = "ssr", feature = "csr")))] 49 | pub fn main() { 50 | // no client-side main function 51 | // unless we want this to work with e.g., Trunk for pure client-side testing 52 | // see lib.rs for hydration function instead 53 | // see optional feature `csr` instead 54 | } 55 | 56 | #[cfg(all(not(feature = "ssr"), feature = "csr"))] 57 | pub fn main() { 58 | // a client-side main function is required for using `trunk serve` 59 | // prefer using `cargo leptos serve` instead 60 | // to run: `trunk serve --open --features csr` 61 | use dashboard_app::app::*; 62 | 63 | console_error_panic_hook::set_once(); 64 | 65 | leptos::mount_to_body(App); 66 | } 67 | -------------------------------------------------------------------------------- /style/input.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /style/main.scss: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: sans-serif; 3 | text-align: center; 4 | } -------------------------------------------------------------------------------- /style/output/output.css: -------------------------------------------------------------------------------- 1 | /* 2 | ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com 3 | */ 4 | 5 | /* 6 | 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 7 | 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) 8 | */ 9 | 10 | *, 11 | ::before, 12 | ::after { 13 | box-sizing: border-box; 14 | /* 1 */ 15 | border-width: 0; 16 | /* 2 */ 17 | border-style: solid; 18 | /* 2 */ 19 | border-color: #e5e7eb; 20 | /* 2 */ 21 | } 22 | 23 | ::before, 24 | ::after { 25 | --tw-content: ''; 26 | } 27 | 28 | /* 29 | 1. Use a consistent sensible line-height in all browsers. 30 | 2. Prevent adjustments of font size after orientation changes in iOS. 31 | 3. Use a more readable tab size. 32 | 4. Use the user's configured `sans` font-family by default. 33 | 5. Use the user's configured `sans` font-feature-settings by default. 34 | 6. Use the user's configured `sans` font-variation-settings by default. 35 | 7. Disable tap highlights on iOS 36 | */ 37 | 38 | html, 39 | :host { 40 | line-height: 1.5; 41 | /* 1 */ 42 | -webkit-text-size-adjust: 100%; 43 | /* 2 */ 44 | -moz-tab-size: 4; 45 | /* 3 */ 46 | -o-tab-size: 4; 47 | tab-size: 4; 48 | /* 3 */ 49 | font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 50 | /* 4 */ 51 | font-feature-settings: normal; 52 | /* 5 */ 53 | font-variation-settings: normal; 54 | /* 6 */ 55 | -webkit-tap-highlight-color: transparent; 56 | /* 7 */ 57 | } 58 | 59 | /* 60 | 1. Remove the margin in all browsers. 61 | 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. 62 | */ 63 | 64 | body { 65 | margin: 0; 66 | /* 1 */ 67 | line-height: inherit; 68 | /* 2 */ 69 | } 70 | 71 | /* 72 | 1. Add the correct height in Firefox. 73 | 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 74 | 3. Ensure horizontal rules are visible by default. 75 | */ 76 | 77 | hr { 78 | height: 0; 79 | /* 1 */ 80 | color: inherit; 81 | /* 2 */ 82 | border-top-width: 1px; 83 | /* 3 */ 84 | } 85 | 86 | /* 87 | Add the correct text decoration in Chrome, Edge, and Safari. 88 | */ 89 | 90 | abbr:where([title]) { 91 | -webkit-text-decoration: underline dotted; 92 | text-decoration: underline dotted; 93 | } 94 | 95 | /* 96 | Remove the default font size and weight for headings. 97 | */ 98 | 99 | h1, 100 | h2, 101 | h3, 102 | h4, 103 | h5, 104 | h6 { 105 | font-size: inherit; 106 | font-weight: inherit; 107 | } 108 | 109 | /* 110 | Reset links to optimize for opt-in styling instead of opt-out. 111 | */ 112 | 113 | a { 114 | color: inherit; 115 | text-decoration: inherit; 116 | } 117 | 118 | /* 119 | Add the correct font weight in Edge and Safari. 120 | */ 121 | 122 | b, 123 | strong { 124 | font-weight: bolder; 125 | } 126 | 127 | /* 128 | 1. Use the user's configured `mono` font-family by default. 129 | 2. Use the user's configured `mono` font-feature-settings by default. 130 | 3. Use the user's configured `mono` font-variation-settings by default. 131 | 4. Correct the odd `em` font sizing in all browsers. 132 | */ 133 | 134 | code, 135 | kbd, 136 | samp, 137 | pre { 138 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 139 | /* 1 */ 140 | font-feature-settings: normal; 141 | /* 2 */ 142 | font-variation-settings: normal; 143 | /* 3 */ 144 | font-size: 1em; 145 | /* 4 */ 146 | } 147 | 148 | /* 149 | Add the correct font size in all browsers. 150 | */ 151 | 152 | small { 153 | font-size: 80%; 154 | } 155 | 156 | /* 157 | Prevent `sub` and `sup` elements from affecting the line height in all browsers. 158 | */ 159 | 160 | sub, 161 | sup { 162 | font-size: 75%; 163 | line-height: 0; 164 | position: relative; 165 | vertical-align: baseline; 166 | } 167 | 168 | sub { 169 | bottom: -0.25em; 170 | } 171 | 172 | sup { 173 | top: -0.5em; 174 | } 175 | 176 | /* 177 | 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 178 | 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 179 | 3. Remove gaps between table borders by default. 180 | */ 181 | 182 | table { 183 | text-indent: 0; 184 | /* 1 */ 185 | border-color: inherit; 186 | /* 2 */ 187 | border-collapse: collapse; 188 | /* 3 */ 189 | } 190 | 191 | /* 192 | 1. Change the font styles in all browsers. 193 | 2. Remove the margin in Firefox and Safari. 194 | 3. Remove default padding in all browsers. 195 | */ 196 | 197 | button, 198 | input, 199 | optgroup, 200 | select, 201 | textarea { 202 | font-family: inherit; 203 | /* 1 */ 204 | font-feature-settings: inherit; 205 | /* 1 */ 206 | font-variation-settings: inherit; 207 | /* 1 */ 208 | font-size: 100%; 209 | /* 1 */ 210 | font-weight: inherit; 211 | /* 1 */ 212 | line-height: inherit; 213 | /* 1 */ 214 | letter-spacing: inherit; 215 | /* 1 */ 216 | color: inherit; 217 | /* 1 */ 218 | margin: 0; 219 | /* 2 */ 220 | padding: 0; 221 | /* 3 */ 222 | } 223 | 224 | /* 225 | Remove the inheritance of text transform in Edge and Firefox. 226 | */ 227 | 228 | button, 229 | select { 230 | text-transform: none; 231 | } 232 | 233 | /* 234 | 1. Correct the inability to style clickable types in iOS and Safari. 235 | 2. Remove default button styles. 236 | */ 237 | 238 | button, 239 | input:where([type='button']), 240 | input:where([type='reset']), 241 | input:where([type='submit']) { 242 | -webkit-appearance: button; 243 | /* 1 */ 244 | background-color: transparent; 245 | /* 2 */ 246 | background-image: none; 247 | /* 2 */ 248 | } 249 | 250 | /* 251 | Use the modern Firefox focus style for all focusable elements. 252 | */ 253 | 254 | :-moz-focusring { 255 | outline: auto; 256 | } 257 | 258 | /* 259 | Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) 260 | */ 261 | 262 | :-moz-ui-invalid { 263 | box-shadow: none; 264 | } 265 | 266 | /* 267 | Add the correct vertical alignment in Chrome and Firefox. 268 | */ 269 | 270 | progress { 271 | vertical-align: baseline; 272 | } 273 | 274 | /* 275 | Correct the cursor style of increment and decrement buttons in Safari. 276 | */ 277 | 278 | ::-webkit-inner-spin-button, 279 | ::-webkit-outer-spin-button { 280 | height: auto; 281 | } 282 | 283 | /* 284 | 1. Correct the odd appearance in Chrome and Safari. 285 | 2. Correct the outline style in Safari. 286 | */ 287 | 288 | [type='search'] { 289 | -webkit-appearance: textfield; 290 | /* 1 */ 291 | outline-offset: -2px; 292 | /* 2 */ 293 | } 294 | 295 | /* 296 | Remove the inner padding in Chrome and Safari on macOS. 297 | */ 298 | 299 | ::-webkit-search-decoration { 300 | -webkit-appearance: none; 301 | } 302 | 303 | /* 304 | 1. Correct the inability to style clickable types in iOS and Safari. 305 | 2. Change font properties to `inherit` in Safari. 306 | */ 307 | 308 | ::-webkit-file-upload-button { 309 | -webkit-appearance: button; 310 | /* 1 */ 311 | font: inherit; 312 | /* 2 */ 313 | } 314 | 315 | /* 316 | Add the correct display in Chrome and Safari. 317 | */ 318 | 319 | summary { 320 | display: list-item; 321 | } 322 | 323 | /* 324 | Removes the default spacing and border for appropriate elements. 325 | */ 326 | 327 | blockquote, 328 | dl, 329 | dd, 330 | h1, 331 | h2, 332 | h3, 333 | h4, 334 | h5, 335 | h6, 336 | hr, 337 | figure, 338 | p, 339 | pre { 340 | margin: 0; 341 | } 342 | 343 | fieldset { 344 | margin: 0; 345 | padding: 0; 346 | } 347 | 348 | legend { 349 | padding: 0; 350 | } 351 | 352 | ol, 353 | ul, 354 | menu { 355 | list-style: none; 356 | margin: 0; 357 | padding: 0; 358 | } 359 | 360 | /* 361 | Reset default styling for dialogs. 362 | */ 363 | 364 | dialog { 365 | padding: 0; 366 | } 367 | 368 | /* 369 | Prevent resizing textareas horizontally by default. 370 | */ 371 | 372 | textarea { 373 | resize: vertical; 374 | } 375 | 376 | /* 377 | 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 378 | 2. Set the default placeholder color to the user's configured gray 400 color. 379 | */ 380 | 381 | input::-moz-placeholder, textarea::-moz-placeholder { 382 | opacity: 1; 383 | /* 1 */ 384 | color: #9ca3af; 385 | /* 2 */ 386 | } 387 | 388 | input::placeholder, 389 | textarea::placeholder { 390 | opacity: 1; 391 | /* 1 */ 392 | color: #9ca3af; 393 | /* 2 */ 394 | } 395 | 396 | /* 397 | Set the default cursor for buttons. 398 | */ 399 | 400 | button, 401 | [role="button"] { 402 | cursor: pointer; 403 | } 404 | 405 | /* 406 | Make sure disabled buttons don't get the pointer cursor. 407 | */ 408 | 409 | :disabled { 410 | cursor: default; 411 | } 412 | 413 | /* 414 | 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) 415 | 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) 416 | This can trigger a poorly considered lint error in some tools but is included by design. 417 | */ 418 | 419 | img, 420 | svg, 421 | video, 422 | canvas, 423 | audio, 424 | iframe, 425 | embed, 426 | object { 427 | display: block; 428 | /* 1 */ 429 | vertical-align: middle; 430 | /* 2 */ 431 | } 432 | 433 | /* 434 | Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) 435 | */ 436 | 437 | img, 438 | video { 439 | max-width: 100%; 440 | height: auto; 441 | } 442 | 443 | /* Make elements with the HTML hidden attribute stay hidden by default */ 444 | 445 | [hidden] { 446 | display: none; 447 | } 448 | 449 | *, ::before, ::after { 450 | --tw-border-spacing-x: 0; 451 | --tw-border-spacing-y: 0; 452 | --tw-translate-x: 0; 453 | --tw-translate-y: 0; 454 | --tw-rotate: 0; 455 | --tw-skew-x: 0; 456 | --tw-skew-y: 0; 457 | --tw-scale-x: 1; 458 | --tw-scale-y: 1; 459 | --tw-pan-x: ; 460 | --tw-pan-y: ; 461 | --tw-pinch-zoom: ; 462 | --tw-scroll-snap-strictness: proximity; 463 | --tw-gradient-from-position: ; 464 | --tw-gradient-via-position: ; 465 | --tw-gradient-to-position: ; 466 | --tw-ordinal: ; 467 | --tw-slashed-zero: ; 468 | --tw-numeric-figure: ; 469 | --tw-numeric-spacing: ; 470 | --tw-numeric-fraction: ; 471 | --tw-ring-inset: ; 472 | --tw-ring-offset-width: 0px; 473 | --tw-ring-offset-color: #fff; 474 | --tw-ring-color: rgb(59 130 246 / 0.5); 475 | --tw-ring-offset-shadow: 0 0 #0000; 476 | --tw-ring-shadow: 0 0 #0000; 477 | --tw-shadow: 0 0 #0000; 478 | --tw-shadow-colored: 0 0 #0000; 479 | --tw-blur: ; 480 | --tw-brightness: ; 481 | --tw-contrast: ; 482 | --tw-grayscale: ; 483 | --tw-hue-rotate: ; 484 | --tw-invert: ; 485 | --tw-saturate: ; 486 | --tw-sepia: ; 487 | --tw-drop-shadow: ; 488 | --tw-backdrop-blur: ; 489 | --tw-backdrop-brightness: ; 490 | --tw-backdrop-contrast: ; 491 | --tw-backdrop-grayscale: ; 492 | --tw-backdrop-hue-rotate: ; 493 | --tw-backdrop-invert: ; 494 | --tw-backdrop-opacity: ; 495 | --tw-backdrop-saturate: ; 496 | --tw-backdrop-sepia: ; 497 | --tw-contain-size: ; 498 | --tw-contain-layout: ; 499 | --tw-contain-paint: ; 500 | --tw-contain-style: ; 501 | } 502 | 503 | ::backdrop { 504 | --tw-border-spacing-x: 0; 505 | --tw-border-spacing-y: 0; 506 | --tw-translate-x: 0; 507 | --tw-translate-y: 0; 508 | --tw-rotate: 0; 509 | --tw-skew-x: 0; 510 | --tw-skew-y: 0; 511 | --tw-scale-x: 1; 512 | --tw-scale-y: 1; 513 | --tw-pan-x: ; 514 | --tw-pan-y: ; 515 | --tw-pinch-zoom: ; 516 | --tw-scroll-snap-strictness: proximity; 517 | --tw-gradient-from-position: ; 518 | --tw-gradient-via-position: ; 519 | --tw-gradient-to-position: ; 520 | --tw-ordinal: ; 521 | --tw-slashed-zero: ; 522 | --tw-numeric-figure: ; 523 | --tw-numeric-spacing: ; 524 | --tw-numeric-fraction: ; 525 | --tw-ring-inset: ; 526 | --tw-ring-offset-width: 0px; 527 | --tw-ring-offset-color: #fff; 528 | --tw-ring-color: rgb(59 130 246 / 0.5); 529 | --tw-ring-offset-shadow: 0 0 #0000; 530 | --tw-ring-shadow: 0 0 #0000; 531 | --tw-shadow: 0 0 #0000; 532 | --tw-shadow-colored: 0 0 #0000; 533 | --tw-blur: ; 534 | --tw-brightness: ; 535 | --tw-contrast: ; 536 | --tw-grayscale: ; 537 | --tw-hue-rotate: ; 538 | --tw-invert: ; 539 | --tw-saturate: ; 540 | --tw-sepia: ; 541 | --tw-drop-shadow: ; 542 | --tw-backdrop-blur: ; 543 | --tw-backdrop-brightness: ; 544 | --tw-backdrop-contrast: ; 545 | --tw-backdrop-grayscale: ; 546 | --tw-backdrop-hue-rotate: ; 547 | --tw-backdrop-invert: ; 548 | --tw-backdrop-opacity: ; 549 | --tw-backdrop-saturate: ; 550 | --tw-backdrop-sepia: ; 551 | --tw-contain-size: ; 552 | --tw-contain-layout: ; 553 | --tw-contain-paint: ; 554 | --tw-contain-style: ; 555 | } 556 | 557 | .static { 558 | position: static; 559 | } 560 | 561 | .fixed { 562 | position: fixed; 563 | } 564 | 565 | .top-0 { 566 | top: 0px; 567 | } 568 | 569 | .top-20 { 570 | top: 5rem; 571 | } 572 | 573 | .z-50 { 574 | z-index: 50; 575 | } 576 | 577 | .mx-auto { 578 | margin-left: auto; 579 | margin-right: auto; 580 | } 581 | 582 | .-mt-2 { 583 | margin-top: -0.5rem; 584 | } 585 | 586 | .-mt-28 { 587 | margin-top: -7rem; 588 | } 589 | 590 | .-mt-36 { 591 | margin-top: -9rem; 592 | } 593 | 594 | .mb-10 { 595 | margin-bottom: 2.5rem; 596 | } 597 | 598 | .mb-2 { 599 | margin-bottom: 0.5rem; 600 | } 601 | 602 | .mb-4 { 603 | margin-bottom: 1rem; 604 | } 605 | 606 | .ml-4 { 607 | margin-left: 1rem; 608 | } 609 | 610 | .mr-3 { 611 | margin-right: 0.75rem; 612 | } 613 | 614 | .mr-4 { 615 | margin-right: 1rem; 616 | } 617 | 618 | .mt-10 { 619 | margin-top: 2.5rem; 620 | } 621 | 622 | .mt-14 { 623 | margin-top: 3.5rem; 624 | } 625 | 626 | .mt-2 { 627 | margin-top: 0.5rem; 628 | } 629 | 630 | .mt-20 { 631 | margin-top: 5rem; 632 | } 633 | 634 | .mt-28 { 635 | margin-top: 7rem; 636 | } 637 | 638 | .mt-3 { 639 | margin-top: 0.75rem; 640 | } 641 | 642 | .mt-4 { 643 | margin-top: 1rem; 644 | } 645 | 646 | .mt-6 { 647 | margin-top: 1.5rem; 648 | } 649 | 650 | .mt-8 { 651 | margin-top: 2rem; 652 | } 653 | 654 | .inline { 655 | display: inline; 656 | } 657 | 658 | .flex { 659 | display: flex; 660 | } 661 | 662 | .grid { 663 | display: grid; 664 | } 665 | 666 | .h-12 { 667 | height: 3rem; 668 | } 669 | 670 | .h-16 { 671 | height: 4rem; 672 | } 673 | 674 | .h-20 { 675 | height: 5rem; 676 | } 677 | 678 | .h-36 { 679 | height: 9rem; 680 | } 681 | 682 | .h-48 { 683 | height: 12rem; 684 | } 685 | 686 | .h-7 { 687 | height: 1.75rem; 688 | } 689 | 690 | .h-8 { 691 | height: 2rem; 692 | } 693 | 694 | .h-\[28rem\] { 695 | height: 28rem; 696 | } 697 | 698 | .h-\[29rem\] { 699 | height: 29rem; 700 | } 701 | 702 | .h-\[32rem\] { 703 | height: 32rem; 704 | } 705 | 706 | .h-full { 707 | height: 100%; 708 | } 709 | 710 | .w-1\/2 { 711 | width: 50%; 712 | } 713 | 714 | .w-7 { 715 | width: 1.75rem; 716 | } 717 | 718 | .w-96 { 719 | width: 24rem; 720 | } 721 | 722 | .w-\[35px\] { 723 | width: 35px; 724 | } 725 | 726 | .w-\[442px\] { 727 | width: 442px; 728 | } 729 | 730 | .w-full { 731 | width: 100%; 732 | } 733 | 734 | .max-w-\[21rem\] { 735 | max-width: 21rem; 736 | } 737 | 738 | .max-w-\[36rem\] { 739 | max-width: 36rem; 740 | } 741 | 742 | .max-w-\[41rem\] { 743 | max-width: 41rem; 744 | } 745 | 746 | .max-w-\[45rem\] { 747 | max-width: 45rem; 748 | } 749 | 750 | .max-w-\[48rem\] { 751 | max-width: 48rem; 752 | } 753 | 754 | .max-w-\[52rem\] { 755 | max-width: 52rem; 756 | } 757 | 758 | .max-w-\[53rem\] { 759 | max-width: 53rem; 760 | } 761 | 762 | .max-w-\[54rem\] { 763 | max-width: 54rem; 764 | } 765 | 766 | .max-w-\[61rem\] { 767 | max-width: 61rem; 768 | } 769 | 770 | .max-w-\[64rem\] { 771 | max-width: 64rem; 772 | } 773 | 774 | .grid-cols-3 { 775 | grid-template-columns: repeat(3, minmax(0, 1fr)); 776 | } 777 | 778 | .flex-row { 779 | flex-direction: row; 780 | } 781 | 782 | .flex-col { 783 | flex-direction: column; 784 | } 785 | 786 | .items-center { 787 | align-items: center; 788 | } 789 | 790 | .justify-center { 791 | justify-content: center; 792 | } 793 | 794 | .gap-4 { 795 | gap: 1rem; 796 | } 797 | 798 | .rounded { 799 | border-radius: 0.25rem; 800 | } 801 | 802 | .rounded-full { 803 | border-radius: 9999px; 804 | } 805 | 806 | .border-2 { 807 | border-width: 2px; 808 | } 809 | 810 | .border-b-0 { 811 | border-bottom-width: 0px; 812 | } 813 | 814 | .border-b-2 { 815 | border-bottom-width: 2px; 816 | } 817 | 818 | .border-t-8 { 819 | border-top-width: 8px; 820 | } 821 | 822 | .border-\[\#7734e7\] { 823 | --tw-border-opacity: 1; 824 | border-color: rgb(119 52 231 / var(--tw-border-opacity)); 825 | } 826 | 827 | .border-\[\#9734e7\] { 828 | --tw-border-opacity: 1; 829 | border-color: rgb(151 52 231 / var(--tw-border-opacity)); 830 | } 831 | 832 | .border-white { 833 | --tw-border-opacity: 1; 834 | border-color: rgb(255 255 255 / var(--tw-border-opacity)); 835 | } 836 | 837 | .bg-\[\#222222\] { 838 | --tw-bg-opacity: 1; 839 | background-color: rgb(34 34 34 / var(--tw-bg-opacity)); 840 | } 841 | 842 | .bg-\[\#222222\]\/\[\.06\] { 843 | background-color: rgb(34 34 34 / .06); 844 | } 845 | 846 | .bg-\[\#283653\] { 847 | --tw-bg-opacity: 1; 848 | background-color: rgb(40 54 83 / var(--tw-bg-opacity)); 849 | } 850 | 851 | .bg-\[\#333333\] { 852 | --tw-bg-opacity: 1; 853 | background-color: rgb(51 51 51 / var(--tw-bg-opacity)); 854 | } 855 | 856 | .bg-\[\#34508c\] { 857 | --tw-bg-opacity: 1; 858 | background-color: rgb(52 80 140 / var(--tw-bg-opacity)); 859 | } 860 | 861 | .bg-\[\#555555\] { 862 | --tw-bg-opacity: 1; 863 | background-color: rgb(85 85 85 / var(--tw-bg-opacity)); 864 | } 865 | 866 | .bg-\[\#7734e7\] { 867 | --tw-bg-opacity: 1; 868 | background-color: rgb(119 52 231 / var(--tw-bg-opacity)); 869 | } 870 | 871 | .bg-gray-900 { 872 | --tw-bg-opacity: 1; 873 | background-color: rgb(17 24 39 / var(--tw-bg-opacity)); 874 | } 875 | 876 | .bg-red-500 { 877 | --tw-bg-opacity: 1; 878 | background-color: rgb(239 68 68 / var(--tw-bg-opacity)); 879 | } 880 | 881 | .bg-red-800 { 882 | --tw-bg-opacity: 1; 883 | background-color: rgb(153 27 27 / var(--tw-bg-opacity)); 884 | } 885 | 886 | .bg-transparent { 887 | background-color: transparent; 888 | } 889 | 890 | .px-10 { 891 | padding-left: 2.5rem; 892 | padding-right: 2.5rem; 893 | } 894 | 895 | .px-2 { 896 | padding-left: 0.5rem; 897 | padding-right: 0.5rem; 898 | } 899 | 900 | .px-2\.5 { 901 | padding-left: 0.625rem; 902 | padding-right: 0.625rem; 903 | } 904 | 905 | .px-20 { 906 | padding-left: 5rem; 907 | padding-right: 5rem; 908 | } 909 | 910 | .px-4 { 911 | padding-left: 1rem; 912 | padding-right: 1rem; 913 | } 914 | 915 | .px-5 { 916 | padding-left: 1.25rem; 917 | padding-right: 1.25rem; 918 | } 919 | 920 | .px-6 { 921 | padding-left: 1.5rem; 922 | padding-right: 1.5rem; 923 | } 924 | 925 | .px-8 { 926 | padding-left: 2rem; 927 | padding-right: 2rem; 928 | } 929 | 930 | .py-10 { 931 | padding-top: 2.5rem; 932 | padding-bottom: 2.5rem; 933 | } 934 | 935 | .py-2 { 936 | padding-top: 0.5rem; 937 | padding-bottom: 0.5rem; 938 | } 939 | 940 | .py-3 { 941 | padding-top: 0.75rem; 942 | padding-bottom: 0.75rem; 943 | } 944 | 945 | .py-4 { 946 | padding-top: 1rem; 947 | padding-bottom: 1rem; 948 | } 949 | 950 | .py-5 { 951 | padding-top: 1.25rem; 952 | padding-bottom: 1.25rem; 953 | } 954 | 955 | .pb-10 { 956 | padding-bottom: 2.5rem; 957 | } 958 | 959 | .pb-12 { 960 | padding-bottom: 3rem; 961 | } 962 | 963 | .pl-4 { 964 | padding-left: 1rem; 965 | } 966 | 967 | .pl-6 { 968 | padding-left: 1.5rem; 969 | } 970 | 971 | .pr-4 { 972 | padding-right: 1rem; 973 | } 974 | 975 | .pt-2 { 976 | padding-top: 0.5rem; 977 | } 978 | 979 | .pt-4 { 980 | padding-top: 1rem; 981 | } 982 | 983 | .pt-5 { 984 | padding-top: 1.25rem; 985 | } 986 | 987 | .pt-8 { 988 | padding-top: 2rem; 989 | } 990 | 991 | .text-left { 992 | text-align: left; 993 | } 994 | 995 | .text-4xl { 996 | font-size: 2.25rem; 997 | line-height: 2.5rem; 998 | } 999 | 1000 | .text-6xl { 1001 | font-size: 3.75rem; 1002 | line-height: 1; 1003 | } 1004 | 1005 | .text-sm { 1006 | font-size: 0.875rem; 1007 | line-height: 1.25rem; 1008 | } 1009 | 1010 | .text-xl { 1011 | font-size: 1.25rem; 1012 | line-height: 1.75rem; 1013 | } 1014 | 1015 | .text-xs { 1016 | font-size: 0.75rem; 1017 | line-height: 1rem; 1018 | } 1019 | 1020 | .font-bold { 1021 | font-weight: 700; 1022 | } 1023 | 1024 | .text-stone-400 { 1025 | --tw-text-opacity: 1; 1026 | color: rgb(168 162 158 / var(--tw-text-opacity)); 1027 | } 1028 | 1029 | .text-white { 1030 | --tw-text-opacity: 1; 1031 | color: rgb(255 255 255 / var(--tw-text-opacity)); 1032 | } 1033 | 1034 | .outline-none { 1035 | outline: 2px solid transparent; 1036 | outline-offset: 2px; 1037 | } 1038 | 1039 | .transition-all { 1040 | transition-property: all; 1041 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 1042 | transition-duration: 150ms; 1043 | } 1044 | 1045 | .duration-1000 { 1046 | transition-duration: 1000ms; 1047 | } 1048 | 1049 | .duration-500 { 1050 | transition-duration: 500ms; 1051 | } 1052 | 1053 | .ease-in-out { 1054 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 1055 | } 1056 | 1057 | .hover\:mb-1:hover { 1058 | margin-bottom: 0.25rem; 1059 | } 1060 | 1061 | .hover\:h-8:hover { 1062 | height: 2rem; 1063 | } 1064 | 1065 | .hover\:w-8:hover { 1066 | width: 2rem; 1067 | } 1068 | 1069 | .hover\:w-\[38px\]:hover { 1070 | width: 38px; 1071 | } 1072 | 1073 | .hover\:border-b-2:hover { 1074 | border-bottom-width: 2px; 1075 | } 1076 | 1077 | .hover\:bg-\[\#666666\]:hover { 1078 | --tw-bg-opacity: 1; 1079 | background-color: rgb(102 102 102 / var(--tw-bg-opacity)); 1080 | } 1081 | 1082 | .hover\:bg-\[\#8448e9\]:hover { 1083 | --tw-bg-opacity: 1; 1084 | background-color: rgb(132 72 233 / var(--tw-bg-opacity)); 1085 | } 1086 | 1087 | .hover\:bg-red-600:hover { 1088 | --tw-bg-opacity: 1; 1089 | background-color: rgb(220 38 38 / var(--tw-bg-opacity)); 1090 | } 1091 | 1092 | .focus\:pl-7:focus { 1093 | padding-left: 1.75rem; 1094 | } 1095 | 1096 | .focus\:outline-none:focus { 1097 | outline: 2px solid transparent; 1098 | outline-offset: 2px; 1099 | } -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: ["./index.html","./src/*.rs","./src/**/*.rs"], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | --------------------------------------------------------------------------------