From 676283cce9cbde5531bcd0d13b9867ac5ad25364 Mon Sep 17 00:00:00 2001
From: 1tzEmerald
Date: Mon, 10 Aug 2026 20:14:47 +0100
Subject: [PATCH] Dashboard Update
---
dashboard/package-lock.json | 3096 +++++++++++++++++
dashboard/package.json | 62 +-
dashboard/src/api/client.ts | 7 +
dashboard/src/components/app-sidebar.tsx | 52 +-
.../config/config-visual-editor.tsx | 353 +-
.../config/discord-resource-picker.tsx | 126 +-
.../src/components/setup/setup-wizard.tsx | 147 +
.../src/lib/config-schemas/supportbot.ts | 91 +-
dashboard/src/lib/generic-config-schema.ts | 1 +
dashboard/src/lib/merge-config-schema.ts | 46 +-
dashboard/src/lib/permissions.ts | 18 +-
dashboard/src/lib/setup-types.ts | 6 +
dashboard/src/pages/AddonBuilder.tsx | 3 +-
dashboard/src/pages/Groups.tsx | 120 +-
dashboard/src/pages/Setup.tsx | 21 +
dashboard/src/pages/Tickets.tsx | 302 +-
dashboard/src/pages/Users.tsx | 42 +-
17 files changed, 4280 insertions(+), 213 deletions(-)
create mode 100644 dashboard/package-lock.json
diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json
new file mode 100644
index 0000000..f5c0a2c
--- /dev/null
+++ b/dashboard/package-lock.json
@@ -0,0 +1,3096 @@
+{
+ "name": "supportbot-dashboard",
+ "version": "1.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "supportbot-dashboard",
+ "version": "1.0.0",
+ "dependencies": {
+ "@hugeicons/core-free-icons": "^4.1.4",
+ "@hugeicons/react": "^1.1.6",
+ "@monaco-editor/react": "^4.6.0",
+ "@radix-ui/react-avatar": "^1.1.0",
+ "@radix-ui/react-checkbox": "^1.1.0",
+ "@radix-ui/react-dialog": "^1.1.0",
+ "@radix-ui/react-dropdown-menu": "^2.1.0",
+ "@radix-ui/react-label": "^2.1.0",
+ "@radix-ui/react-popover": "^1.1.0",
+ "@radix-ui/react-scroll-area": "^1.2.0",
+ "@radix-ui/react-select": "^2.1.0",
+ "@radix-ui/react-separator": "^1.1.0",
+ "@radix-ui/react-slot": "^1.1.0",
+ "@radix-ui/react-switch": "^1.1.0",
+ "@radix-ui/react-tabs": "^1.1.0",
+ "@radix-ui/react-tooltip": "^1.1.0",
+ "autoprefixer": "^10.4.20",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "cmdk": "^1.0.0",
+ "emoji-picker-element": "^1.26.0",
+ "lucide-react": "^0.475.0",
+ "postcss": "^8.4.49",
+ "react": "^19.0.0",
+ "react-colorful": "^5.6.1",
+ "react-dom": "^19.0.0",
+ "react-router-dom": "^7.1.5",
+ "sonner": "^1.7.4",
+ "tailwind-merge": "^2.6.0",
+ "tailwindcss": "^3.4.17",
+ "tailwindcss-animate": "^1.0.7"
+ },
+ "devDependencies": {
+ "@types/node": "^22.0.0",
+ "@types/react": "^19.0.0",
+ "@types/react-dom": "^19.0.0",
+ "@vitejs/plugin-react": "^4.3.0",
+ "typescript": "^5.7.0",
+ "vite": "^6.0.0"
+ }
+ },
+ "node_modules/@alloc/quick-lru": {
+ "version": "5.2.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-module-transforms": "^7.29.7",
+ "@babel/helpers": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.8",
+ "@babel/types": "^7.29.8",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.29.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.8",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/parser": "^7.29.8",
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.8",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.8.0",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.8.0",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.8.0",
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.1.9",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.8.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.12",
+ "license": "MIT"
+ },
+ "node_modules/@hugeicons/core-free-icons": {
+ "version": "4.2.3",
+ "license": "MIT"
+ },
+ "node_modules/@hugeicons/react": {
+ "version": "1.1.9",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=16.0.0"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@monaco-editor/loader": {
+ "version": "1.7.0",
+ "license": "MIT",
+ "dependencies": {
+ "state-local": "^1.0.6"
+ }
+ },
+ "node_modules/@monaco-editor/react": {
+ "version": "4.7.0",
+ "license": "MIT",
+ "dependencies": {
+ "@monaco-editor/loader": "^1.5.0"
+ },
+ "peerDependencies": {
+ "monaco-editor": ">= 0.25.0 < 1",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@radix-ui/number": {
+ "version": "1.1.3",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.1.7",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-arrow": {
+ "version": "1.1.15",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-avatar": {
+ "version": "1.2.6",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-is-hydrated": "0.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-checkbox": {
+ "version": "1.3.11",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-size": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-collection": {
+ "version": "1.1.15",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-slot": "1.3.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.5",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.2.2",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog": {
+ "version": "1.1.23",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-dismissable-layer": "1.1.19",
+ "@radix-ui/react-focus-guards": "1.1.6",
+ "@radix-ui/react-focus-scope": "1.1.16",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-portal": "1.1.17",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-slot": "1.3.3",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-direction": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.19",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-effect-event": "0.0.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dropdown-menu": {
+ "version": "2.1.24",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-menu": "2.1.24",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-controllable-state": "1.2.6"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.6",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.1.16",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-id": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-label": {
+ "version": "2.1.15",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-menu": {
+ "version": "2.1.24",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-collection": "1.1.15",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-direction": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.19",
+ "@radix-ui/react-focus-guards": "1.1.6",
+ "@radix-ui/react-focus-scope": "1.1.16",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.3.7",
+ "@radix-ui/react-portal": "1.1.17",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-roving-focus": "1.1.19",
+ "@radix-ui/react-slot": "1.3.3",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover": {
+ "version": "1.1.23",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-dismissable-layer": "1.1.19",
+ "@radix-ui/react-focus-guards": "1.1.6",
+ "@radix-ui/react-focus-scope": "1.1.16",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.3.7",
+ "@radix-ui/react-portal": "1.1.17",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-slot": "1.3.3",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popper": {
+ "version": "1.3.7",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.1.15",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-use-rect": "1.1.4",
+ "@radix-ui/react-use-size": "1.1.4",
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.1.17",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.1.10",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.10",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.3.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.1.19",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-collection": "1.1.15",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-direction": "1.1.4",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-is-hydrated": "0.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-scroll-area": {
+ "version": "1.2.18",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.3",
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-direction": "1.1.4",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-select": {
+ "version": "2.3.7",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.3",
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-collection": "1.1.15",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-direction": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.19",
+ "@radix-ui/react-focus-guards": "1.1.6",
+ "@radix-ui/react-focus-scope": "1.1.16",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.3.7",
+ "@radix-ui/react-portal": "1.1.17",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-slot": "1.3.3",
+ "@radix-ui/react-use-callback-ref": "1.1.4",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-use-previous": "1.1.4",
+ "@radix-ui/react-visually-hidden": "1.2.11",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-separator": {
+ "version": "1.1.15",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.3.3",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-switch": {
+ "version": "1.3.7",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-size": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tabs": {
+ "version": "1.1.21",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-direction": "1.1.4",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-roving-focus": "1.1.19",
+ "@radix-ui/react-use-controllable-state": "1.2.6"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.2.16",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.2.2",
+ "@radix-ui/react-dismissable-layer": "1.1.19",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.3.7",
+ "@radix-ui/react-portal": "1.1.17",
+ "@radix-ui/react-presence": "1.1.10",
+ "@radix-ui/react-primitive": "2.1.10",
+ "@radix-ui/react-slot": "1.3.3",
+ "@radix-ui/react-use-controllable-state": "1.2.6",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-visually-hidden": "1.2.11"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.2.6",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.7",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.5",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.3",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-previous": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-rect": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.4",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.2.11",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/rect": {
+ "version": "1.1.3",
+ "license": "MIT"
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.27",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.4",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.4",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.27.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.28.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.2"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "22.20.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",
+ "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "undici-types": "~6.21.0"
+ }
+ },
+ "node_modules/@types/react": {
+ "version": "19.2.18",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "19.2.4",
+ "devOptional": true,
+ "license": "MIT",
+ "peer": true,
+ "peerDependencies": {
+ "@types/react": "^19.2.0"
+ }
+ },
+ "node_modules/@types/trusted-types": {
+ "version": "2.0.7",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.7.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.28.0",
+ "@babel/plugin-transform-react-jsx-self": "^7.27.1",
+ "@babel/plugin-transform-react-jsx-source": "^7.27.1",
+ "@rolldown/pluginutils": "1.0.0-beta.27",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.17.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "license": "MIT"
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "license": "MIT"
+ },
+ "node_modules/aria-hidden": {
+ "version": "1.2.6",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.5.4",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.28.6",
+ "caniuse-lite": "^1.0.30001806",
+ "fraction.js": "^5.3.4",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.11.13",
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.28.8",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "baseline-browser-mapping": "^2.11.12",
+ "caniuse-lite": "^1.0.30001809",
+ "electron-to-chromium": "^1.5.402",
+ "node-releases": "^2.0.53",
+ "update-browserslist-db": "^1.3.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001809",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "license": "MIT",
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/node_modules/fsevents": {
+ "optional": true
+ },
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/class-variance-authority": {
+ "version": "0.7.1",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "clsx": "^2.1.1"
+ },
+ "funding": {
+ "url": "https://polar.sh/cva"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cmdk": {
+ "version": "1.1.1",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "^1.1.1",
+ "@radix-ui/react-dialog": "^1.1.6",
+ "@radix-ui/react-id": "^1.1.0",
+ "@radix-ui/react-primitive": "^2.0.2"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19 || ^19.0.0-rc",
+ "react-dom": "^18 || ^19 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cookie": {
+ "version": "1.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "license": "MIT"
+ },
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "license": "Apache-2.0"
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "license": "MIT"
+ },
+ "node_modules/dompurify": {
+ "version": "3.4.8",
+ "license": "(MPL-2.0 OR Apache-2.0)",
+ "optionalDependencies": {
+ "@types/trusted-types": "^2.0.7"
+ }
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.403",
+ "license": "ISC"
+ },
+ "node_modules/emoji-picker-element": {
+ "version": "1.29.1",
+ "license": "Apache-2.0"
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.25.12",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "node_modules/esbuild/node_modules/@esbuild/aix-ppc64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/android-arm": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/android-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/android-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/darwin-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/darwin-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/freebsd-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-arm": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-ia32": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-loong64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-mips64el": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-ppc64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-riscv64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-s390x": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/linux-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/netbsd-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/netbsd-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/openbsd-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/openbsd-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/openharmony-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/sunos-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/win32-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/esbuild/node_modules/@esbuild/win32-ia32": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fastq": {
+ "version": "1.20.1",
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fraction.js": {
+ "version": "5.3.4",
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.4",
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.2",
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/jiti": {
+ "version": "1.21.7",
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "jiti": "bin/jiti.js"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "license": "MIT"
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lucide-react": {
+ "version": "0.475.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.475.0.tgz",
+ "integrity": "sha512-NJzvVu1HwFVeZ+Gwq2q00KygM1aBhy/ZrhY9FsAgJtpB+E4R7uxRk9M2iKvHa6/vNxZydIB59htha4c2vvwvVg==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/marked": {
+ "version": "14.0.0",
+ "license": "MIT",
+ "bin": {
+ "marked": "bin/marked.js"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/monaco-editor": {
+ "version": "0.56.0",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "dompurify": "3.4.8",
+ "marked": "14.0.0"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.18",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.53",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-hash": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "license": "MIT"
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.2",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.26",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "nanoid": "^3.3.17",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-import": {
+ "version": "15.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "postcss-value-parser": "^4.0.0",
+ "read-cache": "^1.0.0",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.0"
+ }
+ },
+ "node_modules/postcss-js": {
+ "version": "4.1.0",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "camelcase-css": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12 || ^14 || >= 16"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.21"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/postcss-nested": {
+ "version": "6.2.0",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^6.1.1"
+ },
+ "engines": {
+ "node": ">=12.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.14"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.1.4",
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "license": "MIT"
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/react": {
+ "version": "19.2.8",
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-colorful": {
+ "version": "5.8.0",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.2.8",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "scheduler": "^0.27.0"
+ },
+ "peerDependencies": {
+ "react": "^19.2.8"
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.17.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-remove-scroll": {
+ "version": "2.7.2",
+ "license": "MIT",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-remove-scroll-bar": {
+ "version": "2.3.8",
+ "license": "MIT",
+ "dependencies": {
+ "react-style-singleton": "^2.2.2",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-router": {
+ "version": "7.18.2",
+ "license": "MIT",
+ "dependencies": {
+ "cookie": "^1.0.1",
+ "set-cookie-parser": "^2.6.0"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "react-dom": ">=18"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-router-dom": {
+ "version": "7.18.2",
+ "license": "MIT",
+ "dependencies": {
+ "react-router": "7.18.2"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "react-dom": ">=18"
+ }
+ },
+ "node_modules/react-style-singleton": {
+ "version": "2.2.3",
+ "license": "MIT",
+ "dependencies": {
+ "get-nonce": "^1.0.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/read-cache": {
+ "version": "1.0.0",
+ "license": "MIT",
+ "dependencies": {
+ "pify": "^2.3.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.12",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "is-core-module": "^2.16.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@napi-rs/lzma-linux-x64-gnu": "1.5.1",
+ "@rollup/rollup-android-arm-eabi": "4.62.4",
+ "@rollup/rollup-android-arm64": "4.62.4",
+ "@rollup/rollup-darwin-arm64": "4.62.4",
+ "@rollup/rollup-darwin-x64": "4.62.4",
+ "@rollup/rollup-freebsd-arm64": "4.62.4",
+ "@rollup/rollup-freebsd-x64": "4.62.4",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.4",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.4",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.4",
+ "@rollup/rollup-linux-arm64-musl": "4.62.4",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.4",
+ "@rollup/rollup-linux-loong64-musl": "4.62.4",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.4",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.4",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.4",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.4",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.4",
+ "@rollup/rollup-linux-x64-gnu": "4.62.4",
+ "@rollup/rollup-linux-x64-musl": "4.62.4",
+ "@rollup/rollup-openbsd-x64": "4.62.4",
+ "@rollup/rollup-openharmony-arm64": "4.62.4",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.4",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.4",
+ "@rollup/rollup-win32-x64-gnu": "4.62.4",
+ "@rollup/rollup-win32-x64-msvc": "4.62.4",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rollup/node_modules/@napi-rs/lzma-linux-x64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-android-arm-eabi": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-android-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-darwin-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-darwin-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-freebsd-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-freebsd-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-musl": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-loong64-musl": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-openbsd-x64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-openharmony-arm64": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/rollup/node_modules/fsevents": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.27.0",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/set-cookie-parser": {
+ "version": "2.7.2",
+ "license": "MIT"
+ },
+ "node_modules/sonner": {
+ "version": "1.7.4",
+ "resolved": "https://registry.npmjs.org/sonner/-/sonner-1.7.4.tgz",
+ "integrity": "sha512-DIS8z4PfJRbIyfVFDVnK9rO3eYDtse4Omcm6bt0oEr5/jtLgysmjuBl1frJ9E/EQZrFmKx2A8m/s5s9CRXIzhw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",
+ "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/state-local": {
+ "version": "1.0.7",
+ "license": "MIT"
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tailwind-merge": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.6.1.tgz",
+ "integrity": "sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "3.4.19",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "arg": "^5.0.2",
+ "chokidar": "^3.6.0",
+ "didyoumean": "^1.2.2",
+ "dlv": "^1.1.3",
+ "fast-glob": "^3.3.2",
+ "glob-parent": "^6.0.2",
+ "is-glob": "^4.0.3",
+ "jiti": "^1.21.7",
+ "lilconfig": "^3.1.3",
+ "micromatch": "^4.0.8",
+ "normalize-path": "^3.0.0",
+ "object-hash": "^3.0.0",
+ "picocolors": "^1.1.1",
+ "postcss": "^8.4.47",
+ "postcss-import": "^15.1.0",
+ "postcss-js": "^4.0.1",
+ "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
+ "postcss-nested": "^6.2.0",
+ "postcss-selector-parser": "^6.1.2",
+ "resolve": "^1.22.8",
+ "sucrase": "^3.35.0"
+ },
+ "bin": {
+ "tailwind": "lib/cli.js",
+ "tailwindcss": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tailwindcss-animate": {
+ "version": "1.0.7",
+ "license": "MIT",
+ "peerDependencies": {
+ "tailwindcss": ">=3.0.0 || insiders"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.5.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.5",
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "license": "Apache-2.0"
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "license": "0BSD"
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.3.1",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/use-callback-ref": {
+ "version": "1.3.3",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-sidecar": {
+ "version": "1.1.3",
+ "license": "MIT",
+ "dependencies": {
+ "detect-node-es": "^1.1.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "license": "MIT"
+ },
+ "node_modules/vite": {
+ "version": "6.4.3",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite/node_modules/fdir": {
+ "version": "6.5.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite/node_modules/fsevents": {
+ "dev": true,
+ "optional": true
+ },
+ "node_modules/vite/node_modules/picomatch": {
+ "version": "4.0.5",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "ISC"
+ }
+ }
+}
diff --git a/dashboard/package.json b/dashboard/package.json
index 3f7f50b..32e9490 100644
--- a/dashboard/package.json
+++ b/dashboard/package.json
@@ -11,42 +11,42 @@
"dependencies": {
"@hugeicons/core-free-icons": "^4.1.4",
"@hugeicons/react": "^1.1.6",
- "@monaco-editor/react": "^4.7.0",
- "@radix-ui/react-avatar": "^1.1.11",
- "@radix-ui/react-checkbox": "^1.3.3",
- "@radix-ui/react-dialog": "^1.1.15",
- "@radix-ui/react-dropdown-menu": "^2.1.16",
- "@radix-ui/react-label": "^2.1.8",
- "@radix-ui/react-popover": "^1.1.15",
- "@radix-ui/react-scroll-area": "^1.2.10",
- "@radix-ui/react-select": "^2.2.6",
- "@radix-ui/react-separator": "^1.1.8",
- "@radix-ui/react-slot": "^1.2.4",
- "@radix-ui/react-switch": "^1.2.6",
- "@radix-ui/react-tabs": "^1.1.13",
- "@radix-ui/react-tooltip": "^1.2.8",
- "autoprefixer": "^10.5.0",
+ "@monaco-editor/react": "^4.6.0",
+ "@radix-ui/react-avatar": "^1.1.0",
+ "@radix-ui/react-checkbox": "^1.1.0",
+ "@radix-ui/react-dialog": "^1.1.0",
+ "@radix-ui/react-dropdown-menu": "^2.1.0",
+ "@radix-ui/react-label": "^2.1.0",
+ "@radix-ui/react-popover": "^1.1.0",
+ "@radix-ui/react-scroll-area": "^1.2.0",
+ "@radix-ui/react-select": "^2.1.0",
+ "@radix-ui/react-separator": "^1.1.0",
+ "@radix-ui/react-slot": "^1.1.0",
+ "@radix-ui/react-switch": "^1.1.0",
+ "@radix-ui/react-tabs": "^1.1.0",
+ "@radix-ui/react-tooltip": "^1.1.0",
+ "autoprefixer": "^10.4.20",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
- "cmdk": "^1.1.1",
- "emoji-picker-element": "^1.29.1",
- "lucide-react": "^1.16.0",
- "postcss": "^8.5.14",
- "react": "^19.1.0",
- "react-colorful": "^5.7.0",
- "react-dom": "^19.1.0",
- "react-router-dom": "^7.6.2",
- "sonner": "^2.0.7",
- "tailwind-merge": "^3.6.0",
+ "cmdk": "^1.0.0",
+ "emoji-picker-element": "^1.26.0",
+ "lucide-react": "^0.475.0",
+ "postcss": "^8.4.49",
+ "react": "^19.0.0",
+ "react-colorful": "^5.6.1",
+ "react-dom": "^19.0.0",
+ "react-router-dom": "^7.1.5",
+ "sonner": "^1.7.4",
+ "tailwind-merge": "^2.6.0",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
- "@types/node": "^25.8.0",
- "@types/react": "^19.1.2",
- "@types/react-dom": "^19.1.2",
- "@vitejs/plugin-react": "^4.5.0",
- "typescript": "^5.8.3",
- "vite": "^6.3.5"
+ "@types/node": "^22.0.0",
+ "@types/react": "^19.0.0",
+ "@types/react-dom": "^19.0.0",
+ "@vitejs/plugin-react": "^4.3.0",
+ "typescript": "^5.7.0",
+ "vite": "^6.0.0"
}
}
diff --git a/dashboard/src/api/client.ts b/dashboard/src/api/client.ts
index d8fca6d..32a1890 100644
--- a/dashboard/src/api/client.ts
+++ b/dashboard/src/api/client.ts
@@ -184,6 +184,7 @@ export interface GuildEmojiResource {
export interface GuildResources {
guildId: string;
guildName: string;
+ guildIcon?: string | null;
roles: { id: string; name: string; color: string | null }[];
channels: { id: string; name: string; type: number }[];
categories: { id: string; name: string }[];
@@ -349,6 +350,12 @@ export const api = {
}>
>("/api/system/tickets/open"),
+ createTicket: (data: { department?: string; subject?: string; reason?: string; userId?: string }) =>
+ request>("/api/system/tickets/create", {
+ method: "POST",
+ body: JSON.stringify(data),
+ }),
+
getTicketMessages: (ticketId: string) =>
request<
ApiResponse<{
diff --git a/dashboard/src/components/app-sidebar.tsx b/dashboard/src/components/app-sidebar.tsx
index b041d84..6cd354a 100644
--- a/dashboard/src/components/app-sidebar.tsx
+++ b/dashboard/src/components/app-sidebar.tsx
@@ -1,3 +1,4 @@
+import { useEffect, useState } from "react";
import type { IconSvgElement } from "@hugeicons/react";
import {
AiBrain01Icon,
@@ -18,6 +19,7 @@ import {
import { NavLink, useSearchParams } from "react-router-dom";
import { useAuth } from "@/context/AuthContext";
import { useBranding } from "@/context/BrandingContext";
+import { api, type GuildResources } from "@/api/client";
import { useBotStats } from "@/context/BotStatsContext";
import { useAddonConfigs } from "@/hooks/use-addon-configs";
import {
@@ -145,9 +147,27 @@ export function AppSidebar() {
? [...visibleSections, addonSection]
: visibleSections;
- const serverLabel = stats
- ? `${stats.servers} server${stats.servers === 1 ? "" : "s"}`
- : "Your server";
+ const [guildResources, setGuildResources] = useState(null);
+
+ useEffect(() => {
+ let cancelled = false;
+ api
+ .getGuildResources()
+ .then((res) => {
+ if (!cancelled && res.data) {
+ setGuildResources(res.data);
+ }
+ })
+ .catch(() => {});
+ return () => {
+ cancelled = true;
+ };
+ }, []);
+
+ const serverName =
+ guildResources?.guildName ||
+ (stats ? `${stats.servers} Server${stats.servers === 1 ? "" : "s"}` : "Connected Guild");
+ const serverIcon = guildResources?.guildIcon;
return (
@@ -171,17 +191,31 @@ export function AppSidebar() {
variant="outline"
className="h-10 w-full justify-between border-border bg-secondary/40 px-3 font-normal hover:bg-secondary/60"
>
-
-
- {serverLabel}
+
+ {serverIcon ? (
+
+ ) : (
+
+ {serverName.charAt(0).toUpperCase()}
+
+ )}
+
+ {serverName}
+
-
+
- Connected via API
+
+ Connected Guild: {serverName}
+
{stats ? (
-
+
{stats.users.toLocaleString()} members tracked
) : null}
diff --git a/dashboard/src/components/config/config-visual-editor.tsx b/dashboard/src/components/config/config-visual-editor.tsx
index 270481e..8585be9 100644
--- a/dashboard/src/components/config/config-visual-editor.tsx
+++ b/dashboard/src/components/config/config-visual-editor.tsx
@@ -1,10 +1,12 @@
import { useCallback, useEffect, useMemo, useState } from "react";
import { useSearchParams } from "react-router-dom";
-import { AlertCircleIcon, FloppyDiskIcon } from "@hugeicons/core-free-icons";
+import { AlertCircleIcon, FloppyDiskIcon, Add01Icon, Delete02Icon } from "@hugeicons/core-free-icons";
import { api, maskConfigSecrets } from "@/api/client";
import { Icon } from "@/components/icon";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
import {
Card,
CardContent,
@@ -12,6 +14,14 @@ import {
CardHeader,
CardTitle,
} from "@/components/ui/card";
+import {
+ Dialog,
+ DialogContent,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogTitle,
+} from "@/components/ui/dialog";
import { Skeleton } from "@/components/ui/skeleton";
import { getSchema, type ConfigSchema } from "@/lib/config-schemas";
import { getByPath, setByPath } from "@/lib/config-utils";
@@ -24,6 +34,8 @@ import Editor from "@monaco-editor/react";
import { ConfigFieldInput } from "./config-field";
import { CommandsEditor } from "./commands-editor";
+import { hasPermission } from "@/lib/permissions";
+
type EditorMode = "visual" | "yaml";
interface ConfigVisualEditorProps {
@@ -79,8 +91,94 @@ function buildUpdates(
return updates;
}
+interface GroupedFields {
+ standalone: ConfigField[];
+ groups: { key: string; name: string; fields: ConfigField[] }[];
+}
+
+function getGroupedSectionFields(
+ fields: ConfigField[],
+ data: Record | null
+): GroupedFields {
+ const subGroupMap = new Map();
+ const standalone: ConfigField[] = [];
+
+ for (const field of fields) {
+ const parts = field.path.split(".");
+ if (parts.length >= 5 && parts[1] === "DepartmentSystem" && parts[2] === "Departments") {
+ const groupKey = parts[3];
+ const list = subGroupMap.get(groupKey) ?? [];
+ list.push(field);
+ subGroupMap.set(groupKey, list);
+ } else if (parts.length >= 3) {
+ const groupKey = parts[1];
+ const list = subGroupMap.get(groupKey) ?? [];
+ list.push(field);
+ subGroupMap.set(groupKey, list);
+ } else {
+ standalone.push(field);
+ }
+ }
+
+ if (subGroupMap.size === 0) {
+ return { standalone: fields, groups: [] };
+ }
+
+ const groups = [...subGroupMap.entries()].map(([groupKey, groupFields]) => {
+ const fieldOrder = [
+ "enabled",
+ "name",
+ "description",
+ "emoji",
+ "category",
+ "role",
+ "channelprefix",
+ "defaultpriority",
+ "questions",
+ ];
+
+ groupFields.sort((a, b) => {
+ const aKey = a.path.split(".").pop()?.toLowerCase() || "";
+ const bKey = b.path.split(".").pop()?.toLowerCase() || "";
+ const aIdx = fieldOrder.indexOf(aKey);
+ const bIdx = fieldOrder.indexOf(bKey);
+ if (aIdx !== -1 && bIdx !== -1) return aIdx - bIdx;
+ if (aIdx !== -1) return -1;
+ if (bIdx !== -1) return 1;
+ return aKey.localeCompare(bKey);
+ });
+
+ const nameField = groupFields.find(
+ (f) => f.path.toLowerCase().endsWith(".name") || f.path.toLowerCase().endsWith(".title")
+ );
+ let displayName = "";
+ if (nameField && data) {
+ const val = getByPath(data, nameField.path);
+ if (typeof val === "string" && val.trim()) {
+ displayName = val.trim();
+ }
+ }
+
+ if (!displayName) {
+ displayName = groupKey
+ .replace(/_/g, " ")
+ .replace(/([a-z])([A-Z])/g, "$1 $2")
+ .replace(/\b\w/g, (c) => c.toUpperCase());
+ }
+
+ return {
+ key: groupKey,
+ name: displayName,
+ fields: groupFields,
+ };
+ });
+
+ return { standalone, groups };
+}
+
export function ConfigVisualEditor({ configFile }: ConfigVisualEditorProps) {
- const { canEditConfig } = useAuth();
+ const { permissions: effectivePermissions, canEditConfig } = useAuth();
+ const canRawYaml = hasPermission(effectivePermissions, "configs.raw_yaml");
const readOnly = !canEditConfig(configFile);
const [data, setData] = useState | null>(null);
const [original, setOriginal] = useState | null>(
@@ -91,6 +189,12 @@ export function ConfigVisualEditor({ configFile }: ConfigVisualEditorProps) {
const [error, setError] = useState("");
const [message, setMessage] = useState("");
const [mode, setMode] = useState("visual");
+
+ useEffect(() => {
+ if (!canRawYaml && mode === "yaml") {
+ setMode("visual");
+ }
+ }, [canRawYaml, mode]);
const [rawYaml, setRawYaml] = useState("");
const [rawOriginal, setRawOriginal] = useState("");
const [searchParams] = useSearchParams();
@@ -98,6 +202,48 @@ export function ConfigVisualEditor({ configFile }: ConfigVisualEditorProps) {
() => searchParams.get("tab") || null
);
+ const [addDeptOpen, setAddDeptOpen] = useState(false);
+ const [newDeptKey, setNewDeptKey] = useState("");
+ const [newDeptName, setNewDeptName] = useState("");
+
+ const handleCreateDepartment = () => {
+ const key = newDeptKey.trim().toLowerCase().replace(/[^a-z0-9_-]/g, "");
+ if (!key || !data) return;
+ const name = newDeptName.trim() || key;
+ const prefix = `Ticket.DepartmentSystem.Departments.${key}`;
+ const next = { ...data };
+ setByPath(next, `${prefix}.Name`, name);
+ setByPath(next, `${prefix}.Description`, `Open a ${name} ticket`);
+ setByPath(next, `${prefix}.Emoji`, "🎫");
+ setByPath(next, `${prefix}.Category`, "CATEGORY_ID");
+ setByPath(next, `${prefix}.Role`, "ROLE_ID");
+ setByPath(next, `${prefix}.ChannelPrefix`, `${key}-`);
+ setByPath(next, `${prefix}.DefaultPriority`, "normal");
+ setByPath(next, `${prefix}.Questions`, ["What do you need assistance with?"]);
+ setData(next);
+ setAddDeptOpen(false);
+ setNewDeptKey("");
+ setNewDeptName("");
+ };
+
+ const handleDeleteDepartment = (deptKey: string) => {
+ if (!data) return;
+ const prefix = `Ticket.DepartmentSystem.Departments.${deptKey}`;
+ const next = JSON.parse(JSON.stringify(data));
+ Object.keys(next).forEach((k) => {
+ if (k.startsWith(prefix) || k === prefix) {
+ delete next[k];
+ }
+ });
+ if (next.Ticket && typeof next.Ticket === "object") {
+ const deptSys = (next.Ticket as any).DepartmentSystem;
+ if (deptSys && typeof deptSys === "object" && deptSys.Departments && typeof deptSys.Departments === "object") {
+ delete deptSys.Departments[deptKey];
+ }
+ }
+ setData(next);
+ };
+
const baseSchema = getSchema(configFile);
const effectiveSchema = useMemo(() => {
@@ -252,26 +398,28 @@ export function ConfigVisualEditor({ configFile }: ConfigVisualEditorProps) {
return (
-
-
-
-
+ {canRawYaml ? (
+
+
+
+
+ ) : null}
{dirty ? (
Unsaved changes
@@ -363,36 +511,151 @@ export function ConfigVisualEditor({ configFile }: ConfigVisualEditorProps) {
.filter((section) => section.title === activeSectionTitle)
.map((section) => (
-
- {section.title}
- {section.description ? (
- {section.description}
- ) : null}
-
-
- {section.fields.map((field) => (
-
+
+ {section.title}
+ {section.description ? (
+ {section.description}
+ ) : null}
+
+ {section.title === "Ticket Departments" && !readOnly && (
+
- ))}
+ Add Department
+
+ )}
+
+
+ {(() => {
+ const { standalone, groups } = getGroupedSectionFields(section.fields, data);
+
+ return (
+ <>
+ {standalone.length > 0 && (
+
+ {standalone.map((field) => (
+
+ patch(field.path, v)}
+ />
+
+ ))}
+
+ )}
+
+ {groups.map((group) => (
+
+
+
+
+ {group.name}
+
+
+ {section.title === "Ticket Departments" ? `Ticket.${group.key}` : group.key}
+
+
+ {section.title === "Ticket Departments" && group.key !== "DepartmentSystem" && !readOnly && (
+
+ )}
+
+
+ {group.fields.map((field) => (
+
+ patch(field.path, v)}
+ />
+
+ ))}
+
+
+ ))}
+ >
+ );
+ })()}
))}
) : null}
+
+ {/* Add Department Modal */}
+
);
}
diff --git a/dashboard/src/components/config/discord-resource-picker.tsx b/dashboard/src/components/config/discord-resource-picker.tsx
index fba7e30..fb30337 100644
--- a/dashboard/src/components/config/discord-resource-picker.tsx
+++ b/dashboard/src/components/config/discord-resource-picker.tsx
@@ -1,14 +1,16 @@
import { useEffect, useMemo, useState } from "react";
-import { api } from "@/api/client";
+import { Search01Icon, UnfoldMoreIcon } from "@hugeicons/core-free-icons";
+import { api, type GuildResources } from "@/api/client";
+import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
+ Popover,
+ PopoverContent,
+ PopoverTrigger,
+} from "@/components/ui/popover";
+import { Icon } from "@/components/icon";
+import { cn } from "@/lib/utils";
export type DiscordResourceKind = "channel" | "role" | "category";
@@ -22,8 +24,6 @@ interface DiscordResourcePickerProps {
readOnly?: boolean;
}
-import type { GuildResources } from "@/api/client";
-
export function DiscordResourcePicker({
id,
label,
@@ -36,6 +36,8 @@ export function DiscordResourcePicker({
const [resources, setResources] = useState(null);
const [loadError, setLoadError] = useState("");
const [loading, setLoading] = useState(true);
+ const [open, setOpen] = useState(false);
+ const [search, setSearch] = useState("");
useEffect(() => {
let cancelled = false;
@@ -74,6 +76,14 @@ export function DiscordResourcePicker({
const current = String(value ?? "");
const matched = options.find((o) => o.id === current);
+ const filteredOptions = useMemo(() => {
+ if (!search.trim()) return options;
+ const q = search.toLowerCase().trim();
+ return options.filter(
+ (opt) => opt.name.toLowerCase().includes(q) || opt.id.includes(q),
+ );
+ }, [options, search]);
+
return (
@@ -82,31 +92,77 @@ export function DiscordResourcePicker({
) : null}
{resources ? (
-
+
+
+
+
+
+
+
+ setSearch(e.target.value)}
+ className="h-8 pl-8 text-xs border-border bg-secondary/20 focus-visible:ring-1"
+ autoFocus
+ />
+
+
+ {filteredOptions.length === 0 ? (
+
+ No {kind}s found matching "{search}"
+
+ ) : (
+ filteredOptions.map((opt) => (
+
+ ))
+ )}
+
+
+
) : null}
{loadError ? (
diff --git a/dashboard/src/components/setup/setup-wizard.tsx b/dashboard/src/components/setup/setup-wizard.tsx
index 9218a35..4c5f8f0 100644
--- a/dashboard/src/components/setup/setup-wizard.tsx
+++ b/dashboard/src/components/setup/setup-wizard.tsx
@@ -5,6 +5,7 @@ import {
BotIcon,
CheckmarkCircle02Icon,
Copy01Icon,
+ Database01Icon,
Key01Icon,
Link01Icon,
SecurityLockIcon,
@@ -22,6 +23,7 @@ import { cn } from "@/lib/utils";
export const SETUP_STEP_IDS = [
"botToken",
+ "database",
"secretKey",
"oauth",
"redirectUri",
@@ -43,6 +45,12 @@ export const SETUP_STEPS: {
subtitle: "Connect your Discord bot",
icon: BotIcon,
},
+ {
+ id: "database",
+ title: "Database",
+ subtitle: "SQLite or MySQL engine",
+ icon: Database01Icon,
+ },
{
id: "secretKey",
title: "Session secret",
@@ -696,3 +704,142 @@ export function EmeraldApiKeyStep({
);
}
+
+export function DatabaseStep({
+ values,
+ setValues,
+ validation,
+ validating,
+ onValidate,
+}: {
+ values: SetupFormValues;
+ setValues: React.Dispatch>;
+ validation: Record;
+ validating: boolean;
+ onValidate: () => void;
+}) {
+ const result = validation.database;
+ const isMysql = values.dbDriver === "mysql";
+
+ return (
+
+
+ Choose your database storage engine. Select SQLite for instant zero-config local storage, or MySQL / MariaDB for external host databases.
+
+
+
+
setValues((v) => ({ ...v, dbDriver: "sqlite" }))}
+ className={cn(
+ "cursor-pointer rounded-xl border p-4 transition-all hover:border-primary",
+ values.dbDriver === "sqlite"
+ ? "border-primary bg-primary/5 ring-2 ring-primary/20"
+ : "border-border bg-card",
+ )}
+ >
+
+ SQLite
+
+ Zero Config
+
+
+
+ Single-file SQL database stored locally at ./Data/supportbot.db. Zero extra setup required.
+
+
+
+
setValues((v) => ({ ...v, dbDriver: "mysql" }))}
+ className={cn(
+ "cursor-pointer rounded-xl border p-4 transition-all hover:border-primary",
+ values.dbDriver === "mysql"
+ ? "border-primary bg-primary/5 ring-2 ring-primary/20"
+ : "border-border bg-card",
+ )}
+ >
+
+ MySQL / MariaDB
+
+ External Database
+
+
+
+ Connect to a remote or local MySQL database server.
+
+
+
+
+ {isMysql && (
+
+
MySQL Connection Settings
+
+
+ )}
+
+
+
+
+
+
+
+ );
+}
diff --git a/dashboard/src/lib/config-schemas/supportbot.ts b/dashboard/src/lib/config-schemas/supportbot.ts
index 11ce427..c871fef 100644
--- a/dashboard/src/lib/config-schemas/supportbot.ts
+++ b/dashboard/src/lib/config-schemas/supportbot.ts
@@ -56,6 +56,65 @@ export const supportbotSchema: ConfigSchema = [
},
],
},
+ {
+ title: "Database",
+ fields: [
+ {
+ path: "Database.Driver",
+ label: "Database Engine",
+ type: "select",
+ options: [
+ { value: "sqlite", label: "SQLite (Local File)" },
+ { value: "mysql", label: "MySQL / MariaDB" },
+ ],
+ description: "Select SQLite for zero-config file storage, or MySQL for external host servers.",
+ },
+ {
+ path: "Database.MySQL.Host",
+ label: "MySQL Host",
+ type: "text",
+ placeholder: "127.0.0.1 or localhost",
+ description: "Hostname or IP address of your MySQL database server.",
+ },
+ {
+ path: "Database.MySQL.Port",
+ label: "MySQL Port",
+ type: "number",
+ placeholder: "3306",
+ },
+ {
+ path: "Database.MySQL.Database",
+ label: "Database Name",
+ type: "text",
+ placeholder: "supportbot",
+ },
+ {
+ path: "Database.MySQL.User",
+ label: "Database User",
+ type: "text",
+ placeholder: "root",
+ },
+ {
+ path: "Database.MySQL.Password",
+ label: "Database Password",
+ type: "secret",
+ placeholder: "••••••••••••",
+ },
+ {
+ path: "Database.MySQL.ConnectionLimit",
+ label: "Connection Pool Limit",
+ type: "number",
+ placeholder: "10",
+ description: "Maximum simultaneous connections in the MySQL pool (default 10).",
+ },
+ {
+ path: "Database.SQLite.File",
+ label: "SQLite Database File Path",
+ type: "text",
+ placeholder: "./Data/supportbot.db",
+ },
+ ],
+ },
{
title: "Activity",
fields: [
@@ -382,6 +441,22 @@ export const supportbotSchema: ConfigSchema = [
label: "AI welcome message",
type: "textarea",
},
+ {
+ path: "Ticket.Questions.Enabled",
+ label: "Ticket questions",
+ type: "boolean",
+ },
+ {
+ path: "Ticket.Questions.List",
+ label: "Default questions",
+ type: "stringList",
+ },
+ ],
+ },
+ {
+ title: "Ticket Departments",
+ description: "Configure ticket department channels, emojis, staff roles, and custom department questions.",
+ fields: [
{
path: "Ticket.DepartmentSystem.Enabled",
label: "Departments enabled",
@@ -397,6 +472,12 @@ export const supportbotSchema: ConfigSchema = [
label: "Default department key",
type: "text",
},
+ ],
+ },
+ {
+ title: "Ticket Priorities",
+ description: "Configure ticket priority levels and emojis.",
+ fields: [
{
path: "Ticket.PrioritySystem.Enabled",
label: "Priority system",
@@ -412,16 +493,6 @@ export const supportbotSchema: ConfigSchema = [
label: "User picks priority on open",
type: "boolean",
},
- {
- path: "Ticket.Questions.Enabled",
- label: "Ticket questions",
- type: "boolean",
- },
- {
- path: "Ticket.Questions.List",
- label: "Default questions",
- type: "stringList",
- },
],
},
{
diff --git a/dashboard/src/lib/generic-config-schema.ts b/dashboard/src/lib/generic-config-schema.ts
index d03b751..ebfd20b 100644
--- a/dashboard/src/lib/generic-config-schema.ts
+++ b/dashboard/src/lib/generic-config-schema.ts
@@ -14,6 +14,7 @@ function inferFieldType(key: string, value: unknown): FieldType {
if (typeof value === "string") {
const k = key.toLowerCase();
+ if (/prefix/.test(k)) return "text";
if (/emoji/.test(k)) return "emoji";
if (/guild.?id|guild_id/.test(k)) return "discordId";
if (/category/.test(k)) return "discordCategory";
diff --git a/dashboard/src/lib/merge-config-schema.ts b/dashboard/src/lib/merge-config-schema.ts
index dccd7cf..534fa04 100644
--- a/dashboard/src/lib/merge-config-schema.ts
+++ b/dashboard/src/lib/merge-config-schema.ts
@@ -1,8 +1,12 @@
import type { ConfigField, ConfigSchema } from "@/lib/config-schemas";
import { collectConfigFields } from "@/lib/generic-config-schema";
-function labelFromTopKey(key: string): string {
- return key
+function sectionTitleFromPath(path: string): string {
+ if (path.startsWith("Ticket.DepartmentSystem.")) return "Ticket Departments";
+ if (path.startsWith("Ticket.PrioritySystem.")) return "Ticket Priorities";
+ if (path.startsWith("Ticket.")) return "Tickets";
+ const top = path.split(".")[0] ?? "Other";
+ return top
.replace(/_/g, " ")
.replace(/([a-z])([A-Z])/g, "$1 $2")
.replace(/\b\w/g, (c) => c.toUpperCase());
@@ -18,22 +22,34 @@ export function mergeSchemaWithData(
if (discovered.length === 0) return schema;
- const byTop = new Map();
+ const result: ConfigSchema = schema.map((sec) => ({
+ ...sec,
+ fields: [...sec.fields],
+ }));
+
+ const bySection = new Map();
for (const field of discovered) {
- const top = field.path.split(".")[0] ?? "Other";
- const list = byTop.get(top) ?? [];
+ const title = sectionTitleFromPath(field.path);
+ const list = bySection.get(title) ?? [];
list.push(field);
- byTop.set(top, list);
+ bySection.set(title, list);
}
- const extraSections = [...byTop.entries()]
- .sort(([a], [b]) => a.localeCompare(b))
- .map(([top, fields]) => ({
- title: labelFromTopKey(top),
- description:
- "These options exist in your config file but are not in the main editor sections.",
- fields: fields.sort((a, b) => a.path.localeCompare(b.path)),
- }));
+ for (const [title, fields] of bySection.entries()) {
+ const existing = result.find(
+ (s) => s.title.toLowerCase() === title.toLowerCase()
+ );
- return [...schema, ...extraSections];
+ if (existing) {
+ existing.fields.push(...fields);
+ } else {
+ result.push({
+ title,
+ description: "These options exist in your config file but are not in the main editor sections.",
+ fields: fields.sort((a, b) => a.path.localeCompare(b.path)),
+ });
+ }
+ }
+
+ return result;
}
diff --git a/dashboard/src/lib/permissions.ts b/dashboard/src/lib/permissions.ts
index c08fea3..0c1ae24 100644
--- a/dashboard/src/lib/permissions.ts
+++ b/dashboard/src/lib/permissions.ts
@@ -26,6 +26,7 @@ export interface DashboardPermissions {
tickets: boolean;
logs: boolean;
transcripts: boolean;
+ rawYaml?: boolean;
settings: { view: boolean; update: boolean };
configs: Record;
users: { view: boolean; manage: boolean };
@@ -97,6 +98,9 @@ export function hasPermission(
if (key === "tickets") return permissions.tickets ?? permissions.overview;
if (key === "logs") return permissions.logs;
if (key === "transcripts") return permissions.transcripts;
+ if (key === "rawYaml" || key === "configs.raw_yaml" || key === "configs.rawYaml") {
+ return Boolean(permissions.rawYaml ?? (permissions.configs as unknown as Record)?.rawYaml ?? false);
+ }
if (key === "settings.view") return permissions.settings.view;
if (key === "settings.update") return permissions.settings.update;
if (key === "users.view") return permissions.users.view;
@@ -147,15 +151,19 @@ function configMap(view: boolean, edit: boolean): Record) =>
onChange({ ...permissions, ...patch });
- const PERM_ITEMS: {
+ const MODULE_ITEMS: {
key: "overview" | "tickets" | "logs" | "transcripts";
title: string;
description: string;
@@ -69,17 +70,17 @@ function PermissionEditor({
},
{
key: "tickets",
- title: "Tickets",
+ title: "Support Tickets",
description: "View open support tickets, live web chat, send staff replies, and close tickets.",
},
{
key: "transcripts",
- title: "Transcripts",
+ title: "Ticket Transcripts",
description: "Access saved ticket HTML transcripts and configure public transcript options.",
},
{
key: "logs",
- title: "Console Logs",
+ title: "Console Terminal Logs",
description: "View real-time bot terminal output, system logs, and runtime error traces.",
},
];
@@ -94,12 +95,13 @@ function PermissionEditor({
return (
+ {/* Category 1: General & Modules */}
- General Capabilities
+ General & Modules Access
- {PERM_ITEMS.map(({ key, title, description }) => (
+ {MODULE_ITEMS.map(({ key, title, description }) => (
))}
+
+
+ {/* Category 2: Administration & System Settings */}
+
+
+ Administration & Settings
+
+
{/* Settings View */}
+ {/* Category 3: Configuration Files Access */}
Configuration Files Access
@@ -237,6 +248,26 @@ function PermissionEditor({
);
})}
+
+ {/* Raw YAML Code Editor */}
+
+
+
Raw YAML Code Editor
+
+ Access the raw YAML code editor tab to view or edit full raw configuration files.
+
+
+
+
+
+
@@ -244,7 +275,8 @@ function PermissionEditor({
}
export function Groups() {
- const { impersonateGroup, impersonatedGroup, stopImpersonation } = useAuth();
+ const { permissions: userPermissions, impersonateGroup, impersonatedGroup, stopImpersonation } = useAuth();
+ const canManage = hasPermission(userPermissions, "users.manage");
const [groups, setGroups] = useState([]);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);
@@ -366,10 +398,12 @@ export function Groups() {
Create custom permission groups, assign staff members, and optionally sync with Discord Role IDs.
-
+ {canManage && (
+
+ )}
{/* Alerts */}
@@ -505,27 +539,27 @@ export function Groups() {
{impersonatedGroup?.id === group.id ? "Active Preview" : "View as Group"}
- {!group.isSystem && (
- <>
-
-
- >
+ {canManage && group.id !== "owner" && (
+
+ )}
+ {canManage && !group.isSystem && (
+
)}
@@ -598,18 +632,14 @@ export function Groups() {
/>
-
-
-
setDiscordRoleId(e.target.value)}
- />
-
- If provided, Discord users with this Role ID will automatically inherit this group upon login.
-
-
+ setDiscordRoleId(String(val ?? ""))}
+ />
Group Permission Matrix
diff --git a/dashboard/src/pages/Setup.tsx b/dashboard/src/pages/Setup.tsx
index 9c49e36..9aac74c 100644
--- a/dashboard/src/pages/Setup.tsx
+++ b/dashboard/src/pages/Setup.tsx
@@ -5,6 +5,7 @@ import { Alert, AlertDescription } from "@/components/ui/alert";
import { Skeleton } from "@/components/ui/skeleton";
import {
BotTokenStep,
+ DatabaseStep,
OAuthStep,
OwnersStep,
RedirectStep,
@@ -38,6 +39,7 @@ function parseOwnerIds(raw: string) {
function validationKeyForStep(id: SetupStepId): string {
if (id === "oauth") return "oauth";
if (id === "owners") return "owners";
+ if (id === "database") return "database";
if (id === "emeraldApi") return "emeraldApi";
return id;
}
@@ -50,6 +52,12 @@ export default function Setup() {
const [stepIndex, setStepIndex] = useState(0);
const [values, setValues] = useState({
botToken: "",
+ dbDriver: "sqlite",
+ dbHost: "127.0.0.1",
+ dbPort: "3306",
+ dbUser: "",
+ dbPassword: "",
+ dbDatabase: "supportbot",
secretKey: "",
clientId: "",
clientSecret: "",
@@ -74,6 +82,12 @@ export default function Setup() {
const payload = useMemo(
() => ({
botToken: values.botToken,
+ dbDriver: values.dbDriver,
+ dbHost: values.dbHost,
+ dbPort: values.dbPort,
+ dbUser: values.dbUser,
+ dbPassword: values.dbPassword,
+ dbDatabase: values.dbDatabase,
secretKey: values.secretKey,
clientId: values.clientId,
clientSecret: values.clientSecret,
@@ -149,6 +163,13 @@ export default function Setup() {
onValidate={() => void validateCurrentStep()}
/>
);
+ case "database":
+ return (
+ void validateCurrentStep()}
+ />
+ );
case "secretKey":
return (
(true);
+
+ useEffect(() => {
+ try {
+ api.getConfigJson("supportbot")
+ .then((res) => {
+ if (res && res.data && typeof res.data === "object") {
+ const deptVal = getByPath(res.data, "Ticket.DepartmentSystem.Enabled");
+ if (typeof deptVal === "boolean") {
+ setDepartmentsEnabled(deptVal);
+ }
+ }
+ })
+ .catch(() => {});
+ } catch {
+ // Fallback silently if config fetch fails
+ }
+ }, []);
+
+ // Filter state
+ const [selectedDeptFilter, setSelectedDeptFilter] = useState("all");
+ const [selectedPriorityFilter, setSelectedPriorityFilter] = useState("all");
+ const [searchQuery, setSearchQuery] = useState("");
+
+ const availableDepartments = useMemo(() => {
+ const deptsSet = new Set();
+ if (Array.isArray(list)) {
+ list.forEach((ticket) => {
+ if (ticket && ticket.department && typeof ticket.department === "string") {
+ const d = ticket.department.trim().toLowerCase();
+ if (d) deptsSet.add(d);
+ }
+ });
+ }
+ return Array.from(deptsSet).sort();
+ }, [list]);
+
+ const filteredTickets = useMemo(() => {
+ if (!Array.isArray(list)) return [];
+ return list.filter((ticket) => {
+ if (!ticket) return false;
+ if (departmentsEnabled && selectedDeptFilter !== "all" && ticket.department?.toLowerCase() !== selectedDeptFilter.toLowerCase()) {
+ return false;
+ }
+ if (selectedPriorityFilter !== "all" && ticket.priority?.toLowerCase() !== selectedPriorityFilter.toLowerCase()) {
+ return false;
+ }
+ if (searchQuery.trim()) {
+ const q = searchQuery.toLowerCase().trim();
+ const subjectMatch = ticket.subject?.toLowerCase().includes(q);
+ const idMatch = ticket.ticket_id?.toLowerCase().includes(q);
+ const userMatch = ticket.user_id?.toLowerCase().includes(q);
+ const deptMatch = departmentsEnabled && ticket.department?.toLowerCase().includes(q);
+ if (!subjectMatch && !idMatch && !userMatch && !deptMatch) {
+ return false;
+ }
+ }
+ return true;
+ });
+ }, [list, departmentsEnabled, selectedDeptFilter, selectedPriorityFilter, searchQuery]);
+
// Live Chat state
const [activeTicket, setActiveTicket] = useState(null);
const [chatOpen, setChatOpen] = useState(false);
@@ -147,6 +221,37 @@ export default function Tickets() {
const [closeReason, setCloseReason] = useState("");
const [closingTicketId, setClosingTicketId] = useState(null);
+ // Create Direct Ticket State
+ const [createModalOpen, setCreateModalOpen] = useState(false);
+ const [createDept, setCreateDept] = useState("general");
+ const [createSubject, setCreateSubject] = useState("");
+ const [createUserId, setCreateUserId] = useState("");
+ const [creating, setCreating] = useState(false);
+
+ const handleCreateTicket = async () => {
+ if (!createSubject.trim()) {
+ toast.error("Please enter a subject or reason for the ticket.");
+ return;
+ }
+ setCreating(true);
+ try {
+ const res = await api.createTicket({
+ department: createDept,
+ subject: createSubject.trim(),
+ userId: createUserId.trim() || undefined,
+ });
+ toast.success(res.message || "Ticket opened successfully!");
+ setCreateModalOpen(false);
+ setCreateSubject("");
+ setCreateUserId("");
+ void loadList();
+ } catch (err) {
+ toast.error(err instanceof Error ? err.message : "Failed to open ticket.");
+ } finally {
+ setCreating(false);
+ }
+ };
+
const promptCloseTicket = (ticket: TicketItem) => {
setTicketToClose(ticket);
setCloseReason("Closed via Web Dashboard");
@@ -1111,10 +1216,87 @@ export default function Tickets() {
Manage open support tickets & reply live to Discord channels from the web dashboard.
-
+
+
+
+
+
+
+ {/* FILTER & SEARCH BAR */}
+
+
+
+ setSearchQuery(e.target.value)}
+ className="pl-9 text-xs h-9 bg-secondary/30 border-border"
+ />
+
+
+
+ {departmentsEnabled && (
+
+ Department:
+
+
+ )}
+
+
+ Priority:
+
+
+
+ {(selectedDeptFilter !== "all" || selectedPriorityFilter !== "all" || searchQuery.trim()) && (
+
+ )}
+
@@ -1131,13 +1313,27 @@ export default function Tickets() {
{error}
- ) : list.length === 0 ? (
-
- No open tickets at the moment!
+ ) : filteredTickets.length === 0 ? (
+
+
No open tickets found matching your filter criteria.
+ {(selectedDeptFilter !== "all" || selectedPriorityFilter !== "all" || searchQuery.trim()) && (
+
+ )}
) : (
- {list.map((ticket) => (
+ {filteredTickets.map((ticket) => (
#{ticket.ticket_id}
-
- {ticket.department}
-
+ {departmentsEnabled && ticket.department && (
+
+ {ticket.department}
+
+ )}
+
+ {/* Create Ticket Modal */}
+
);
}
diff --git a/dashboard/src/pages/Users.tsx b/dashboard/src/pages/Users.tsx
index ca8d55f..69facd3 100644
--- a/dashboard/src/pages/Users.tsx
+++ b/dashboard/src/pages/Users.tsx
@@ -93,7 +93,7 @@ function PermissionEditor({
const set = (patch: Partial
) =>
onChange({ ...permissions, ...patch });
- const PERM_ITEMS: {
+ const MODULE_ITEMS: {
key: "overview" | "tickets" | "logs" | "transcripts";
title: string;
description: string;
@@ -105,17 +105,17 @@ function PermissionEditor({
},
{
key: "tickets",
- title: "Tickets",
+ title: "Support Tickets",
description: "View open support tickets, live web chat, send staff replies, and close tickets.",
},
{
key: "transcripts",
- title: "Transcripts",
+ title: "Ticket Transcripts",
description: "Access saved ticket HTML transcripts and configure public transcript options.",
},
{
key: "logs",
- title: "Console Logs",
+ title: "Console Terminal Logs",
description: "View real-time bot terminal output, system logs, and runtime error traces.",
},
];
@@ -130,12 +130,13 @@ function PermissionEditor({
return (
+ {/* Category 1: General & Modules */}
- General Capabilities
+ General & Modules Access
- {PERM_ITEMS.map(({ key, title, description }) => (
+ {MODULE_ITEMS.map(({ key, title, description }) => (
))}
+
+
+ {/* Category 2: Administration & System Settings */}
+
+
+ Administration & Settings
+
+
{/* Settings View */}
+ {/* Category 3: Configuration Files Access */}
Configuration Files Access
@@ -273,6 +283,26 @@ function PermissionEditor({
);
})}
+
+ {/* Raw YAML Code Editor */}
+
+
+
Raw YAML Code Editor
+
+ Access the raw YAML code editor tab to view or edit full raw configuration files.
+
+
+
+
+
+