You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2025/08/26 07:55:39 UTC

(echarts-theme-builder) branch v6 created (now f10afb9)

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a change to branch v6
in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git


      at f10afb9  feat: preview

This branch includes the following new commits:

     new c918d32  chore: init with vite
     new f10afb9  feat: preview

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


(echarts-theme-builder) 01/02: chore: init with vite

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch v6
in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git

commit c918d321de87cb8b3bb7f79b826cd177ef19f8f3
Author: Ovilia <zw...@gmail.com>
AuthorDate: Tue Aug 26 14:59:09 2025 +0800

    chore: init with vite
---
 index.html                    |   13 +
 package-lock.json             | 1525 +++++++++++++++++++++++++++++++----------
 package.json                  |   23 +-
 public/vite.svg               |    1 +
 src/App.vue                   |   30 +
 src/assets/vue.svg            |    1 +
 src/components/HelloWorld.vue |   41 ++
 src/main.ts                   |    5 +
 src/style.css                 |   79 +++
 src/vite-env.d.ts             |    1 +
 tsconfig.app.json             |   15 +
 tsconfig.json                 |    7 +
 tsconfig.node.json            |   25 +
 vite.config.ts                |    7 +
 14 files changed, 1402 insertions(+), 371 deletions(-)

diff --git a/index.html b/index.html
new file mode 100644
index 0000000..dde16aa
--- /dev/null
+++ b/index.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>Vite + Vue + TS</title>
+  </head>
+  <body>
+    <div id="app"></div>
+    <script type="module" src="/src/main.ts"></script>
+  </body>
+</html>
diff --git a/package-lock.json b/package-lock.json
index f68be4b..f36d78a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,58 +7,101 @@
     "": {
       "name": "echarts-theme-builder",
       "version": "0.0.0",
-      "devDependencies": {
-        "copy-dir": "^1.3.0",
-        "fs-extra": "^9.0.1",
-        "opn": "^5.4.0",
-        "sass": "^1.83.4",
-        "uglify-js": "^3.10.1"
+      "dependencies": {
+        "vue": "^3.5.18"
       },
+      "devDependencies": {
+        "@vitejs/plugin-vue": "^6.0.1",
+        "@vue/tsconfig": "^0.7.0",
+        "typescript": "~5.8.3",
+        "vite": "^7.1.2",
+        "vue-tsc": "^3.0.5"
+      }
+    },
+    "node_modules/@babel/helper-string-parser": {
+      "version": "7.27.1",
+      "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+      "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+      "license": "MIT",
       "engines": {
-        "node": ">=0.10.0"
+        "node": ">=6.9.0"
       }
     },
-    "node_modules/@parcel/watcher": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz",
-      "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==",
-      "dev": true,
-      "hasInstallScript": true,
+    "node_modules/@babel/helper-validator-identifier": {
+      "version": "7.27.1",
+      "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
+      "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@babel/parser": {
+      "version": "7.28.3",
+      "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.3.tgz",
+      "integrity": "sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==",
       "license": "MIT",
-      "optional": true,
       "dependencies": {
-        "detect-libc": "^1.0.3",
-        "is-glob": "^4.0.3",
-        "micromatch": "^4.0.5",
-        "node-addon-api": "^7.0.0"
+        "@babel/types": "^7.28.2"
       },
-      "engines": {
-        "node": ">= 10.0.0"
+      "bin": {
+        "parser": "bin/babel-parser.js"
       },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
+      "engines": {
+        "node": ">=6.0.0"
+      }
+    },
+    "node_modules/@babel/types": {
+      "version": "7.28.2",
+      "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz",
+      "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/helper-string-parser": "^7.27.1",
+        "@babel/helper-validator-identifier": "^7.27.1"
       },
-      "optionalDependencies": {
-        "@parcel/watcher-android-arm64": "2.5.1",
-        "@parcel/watcher-darwin-arm64": "2.5.1",
-        "@parcel/watcher-darwin-x64": "2.5.1",
-        "@parcel/watcher-freebsd-x64": "2.5.1",
-        "@parcel/watcher-linux-arm-glibc": "2.5.1",
-        "@parcel/watcher-linux-arm-musl": "2.5.1",
-        "@parcel/watcher-linux-arm64-glibc": "2.5.1",
-        "@parcel/watcher-linux-arm64-musl": "2.5.1",
-        "@parcel/watcher-linux-x64-glibc": "2.5.1",
-        "@parcel/watcher-linux-x64-musl": "2.5.1",
-        "@parcel/watcher-win32-arm64": "2.5.1",
-        "@parcel/watcher-win32-ia32": "2.5.1",
-        "@parcel/watcher-win32-x64": "2.5.1"
-      }
-    },
-    "node_modules/@parcel/watcher-android-arm64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz",
-      "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==",
+      "engines": {
+        "node": ">=6.9.0"
+      }
+    },
+    "node_modules/@esbuild/aix-ppc64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz",
+      "integrity": "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==",
+      "cpu": [
+        "ppc64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "aix"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/android-arm": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.9.tgz",
+      "integrity": "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==",
+      "cpu": [
+        "arm"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "android"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/android-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz",
+      "integrity": "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==",
       "cpu": [
         "arm64"
       ],
@@ -69,17 +112,445 @@
         "android"
       ],
       "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/android-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.9.tgz",
+      "integrity": "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "android"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/darwin-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz",
+      "integrity": "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">=18"
       }
     },
-    "node_modules/@parcel/watcher-darwin-arm64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz",
-      "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==",
+    "node_modules/@esbuild/darwin-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz",
+      "integrity": "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/freebsd-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz",
+      "integrity": "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "freebsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/freebsd-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz",
+      "integrity": "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "freebsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-arm": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz",
+      "integrity": "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==",
+      "cpu": [
+        "arm"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz",
+      "integrity": "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-ia32": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz",
+      "integrity": "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==",
+      "cpu": [
+        "ia32"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-loong64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz",
+      "integrity": "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==",
+      "cpu": [
+        "loong64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-mips64el": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz",
+      "integrity": "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==",
+      "cpu": [
+        "mips64el"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-ppc64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz",
+      "integrity": "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==",
+      "cpu": [
+        "ppc64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-riscv64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz",
+      "integrity": "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==",
+      "cpu": [
+        "riscv64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-s390x": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz",
+      "integrity": "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==",
+      "cpu": [
+        "s390x"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/linux-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz",
+      "integrity": "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/netbsd-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz",
+      "integrity": "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "netbsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/netbsd-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz",
+      "integrity": "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "netbsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/openbsd-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz",
+      "integrity": "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "openbsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/openbsd-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz",
+      "integrity": "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "openbsd"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/openharmony-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz",
+      "integrity": "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "openharmony"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/sunos-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz",
+      "integrity": "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "sunos"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/win32-arm64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz",
+      "integrity": "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/win32-ia32": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz",
+      "integrity": "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==",
+      "cpu": [
+        "ia32"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@esbuild/win32-x64": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz",
+      "integrity": "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==",
+      "cpu": [
+        "x64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "win32"
+      ],
+      "engines": {
+        "node": ">=18"
+      }
+    },
+    "node_modules/@jridgewell/sourcemap-codec": {
+      "version": "1.5.5",
+      "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+      "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+      "license": "MIT"
+    },
+    "node_modules/@rolldown/pluginutils": {
+      "version": "1.0.0-beta.29",
+      "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.29.tgz",
+      "integrity": "sha512-NIJgOsMjbxAXvoGq/X0gD7VPMQ8j9g0BiDaNjVNVjvl+iKXxL3Jre0v31RmBYeLEmkbj2s02v8vFTbUXi5XS2Q==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/@rollup/rollup-android-arm-eabi": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.48.1.tgz",
+      "integrity": "sha512-rGmb8qoG/zdmKoYELCBwu7vt+9HxZ7Koos3pD0+sH5fR3u3Wb/jGcpnqxcnWsPEKDUyzeLSqksN8LJtgXjqBYw==",
+      "cpu": [
+        "arm"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "android"
+      ]
+    },
+    "node_modules/@rollup/rollup-android-arm64": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.48.1.tgz",
+      "integrity": "sha512-4e9WtTxrk3gu1DFE+imNJr4WsL13nWbD/Y6wQcyku5qadlKHY3OQ3LJ/INrrjngv2BJIHnIzbqMk1GTAC2P8yQ==",
+      "cpu": [
+        "arm64"
+      ],
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "android"
+      ]
+    },
+    "node_modules/@rollup/rollup-darwin-arm64": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.48.1.tgz",
+      "integrity": "sha512-+XjmyChHfc4TSs6WUQGmVf7Hkg8ferMAE2aNYYWjiLzAS/T62uOsdfnqv+GHRjq7rKRnYh4mwWb4Hz7h/alp8A==",
       "cpu": [
         "arm64"
       ],
@@ -88,19 +559,12 @@
       "optional": true,
       "os": [
         "darwin"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/@parcel/watcher-darwin-x64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz",
-      "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==",
+    "node_modules/@rollup/rollup-darwin-x64": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.48.1.tgz",
+      "integrity": "sha512-upGEY7Ftw8M6BAJyGwnwMw91rSqXTcOKZnnveKrVWsMTF8/k5mleKSuh7D4v4IV1pLxKAk3Tbs0Lo9qYmii5mQ==",
       "cpu": [
         "x64"
       ],
@@ -109,19 +573,26 @@
       "optional": true,
       "os": [
         "darwin"
+      ]
+    },
+    "node_modules/@rollup/rollup-freebsd-arm64": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.48.1.tgz",
+      "integrity": "sha512-P9ViWakdoynYFUOZhqq97vBrhuvRLAbN/p2tAVJvhLb8SvN7rbBnJQcBu8e/rQts42pXGLVhfsAP0k9KXWa3nQ==",
+      "cpu": [
+        "arm64"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "freebsd"
+      ]
     },
-    "node_modules/@parcel/watcher-freebsd-x64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz",
-      "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==",
+    "node_modules/@rollup/rollup-freebsd-x64": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.48.1.tgz",
+      "integrity": "sha512-VLKIwIpnBya5/saccM8JshpbxfyJt0Dsli0PjXozHwbSVaHTvWXJH1bbCwPXxnMzU4zVEfgD1HpW3VQHomi2AQ==",
       "cpu": [
         "x64"
       ],
@@ -130,19 +601,12 @@
       "optional": true,
       "os": [
         "freebsd"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/@parcel/watcher-linux-arm-glibc": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz",
-      "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==",
+    "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.48.1.tgz",
+      "integrity": "sha512-3zEuZsXfKaw8n/yF7t8N6NNdhyFw3s8xJTqjbTDXlipwrEHo4GtIKcMJr5Ed29leLpB9AugtAQpAHW0jvtKKaQ==",
       "cpu": [
         "arm"
       ],
@@ -151,19 +615,12 @@
       "optional": true,
       "os": [
         "linux"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/@parcel/watcher-linux-arm-musl": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz",
-      "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==",
+    "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.48.1.tgz",
+      "integrity": "sha512-leo9tOIlKrcBmmEypzunV/2w946JeLbTdDlwEZ7OnnsUyelZ72NMnT4B2vsikSgwQifjnJUbdXzuW4ToN1wV+Q==",
       "cpu": [
         "arm"
       ],
@@ -172,19 +629,26 @@
       "optional": true,
       "os": [
         "linux"
+      ]
+    },
+    "node_modules/@rollup/rollup-linux-arm64-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.48.1.tgz",
+      "integrity": "sha512-Vy/WS4z4jEyvnJm+CnPfExIv5sSKqZrUr98h03hpAMbE2aI0aD2wvK6GiSe8Gx2wGp3eD81cYDpLLBqNb2ydwQ==",
+      "cpu": [
+        "arm64"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
     },
-    "node_modules/@parcel/watcher-linux-arm64-glibc": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz",
-      "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==",
+    "node_modules/@rollup/rollup-linux-arm64-musl": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.48.1.tgz",
+      "integrity": "sha512-x5Kzn7XTwIssU9UYqWDB9VpLpfHYuXw5c6bJr4Mzv9kIv242vmJHbI5PJJEnmBYitUIfoMCODDhR7KoZLot2VQ==",
       "cpu": [
         "arm64"
       ],
@@ -193,61 +657,82 @@
       "optional": true,
       "os": [
         "linux"
+      ]
+    },
+    "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.48.1.tgz",
+      "integrity": "sha512-yzCaBbwkkWt/EcgJOKDUdUpMHjhiZT/eDktOPWvSRpqrVE04p0Nd6EGV4/g7MARXXeOqstflqsKuXVM3H9wOIQ==",
+      "cpu": [
+        "loong64"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
     },
-    "node_modules/@parcel/watcher-linux-arm64-musl": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz",
-      "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==",
+    "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.48.1.tgz",
+      "integrity": "sha512-UK0WzWUjMAJccHIeOpPhPcKBqax7QFg47hwZTp6kiMhQHeOYJeaMwzeRZe1q5IiTKsaLnHu9s6toSYVUlZ2QtQ==",
       "cpu": [
-        "arm64"
+        "ppc64"
       ],
       "dev": true,
       "license": "MIT",
       "optional": true,
       "os": [
         "linux"
+      ]
+    },
+    "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.48.1.tgz",
+      "integrity": "sha512-3NADEIlt+aCdCbWVZ7D3tBjBX1lHpXxcvrLt/kdXTiBrOds8APTdtk2yRL2GgmnSVeX4YS1JIf0imFujg78vpw==",
+      "cpu": [
+        "riscv64"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
     },
-    "node_modules/@parcel/watcher-linux-x64-glibc": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz",
-      "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==",
+    "node_modules/@rollup/rollup-linux-riscv64-musl": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.48.1.tgz",
+      "integrity": "sha512-euuwm/QTXAMOcyiFCcrx0/S2jGvFlKJ2Iro8rsmYL53dlblp3LkUQVFzEidHhvIPPvcIsxDhl2wkBE+I6YVGzA==",
       "cpu": [
-        "x64"
+        "riscv64"
       ],
       "dev": true,
       "license": "MIT",
       "optional": true,
       "os": [
         "linux"
+      ]
+    },
+    "node_modules/@rollup/rollup-linux-s390x-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.48.1.tgz",
+      "integrity": "sha512-w8mULUjmPdWLJgmTYJx/W6Qhln1a+yqvgwmGXcQl2vFBkWsKGUBRbtLRuKJUln8Uaimf07zgJNxOhHOvjSQmBQ==",
+      "cpu": [
+        "s390x"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
     },
-    "node_modules/@parcel/watcher-linux-x64-musl": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz",
-      "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==",
+    "node_modules/@rollup/rollup-linux-x64-gnu": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.48.1.tgz",
+      "integrity": "sha512-90taWXCWxTbClWuMZD0DKYohY1EovA+W5iytpE89oUPmT5O1HFdf8cuuVIylE6vCbrGdIGv85lVRzTcpTRZ+kA==",
       "cpu": [
         "x64"
       ],
@@ -256,19 +741,26 @@
       "optional": true,
       "os": [
         "linux"
+      ]
+    },
+    "node_modules/@rollup/rollup-linux-x64-musl": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.48.1.tgz",
+      "integrity": "sha512-2Gu29SkFh1FfTRuN1GR1afMuND2GKzlORQUP3mNMJbqdndOg7gNsa81JnORctazHRokiDzQ5+MLE5XYmZW5VWg==",
+      "cpu": [
+        "x64"
       ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      "dev": true,
+      "license": "MIT",
+      "optional": true,
+      "os": [
+        "linux"
+      ]
     },
-    "node_modules/@parcel/watcher-win32-arm64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz",
-      "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==",
+    "node_modules/@rollup/rollup-win32-arm64-msvc": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.48.1.tgz",
+      "integrity": "sha512-6kQFR1WuAO50bxkIlAVeIYsz3RUx+xymwhTo9j94dJ+kmHe9ly7muH23sdfWduD0BA8pD9/yhonUvAjxGh34jQ==",
       "cpu": [
         "arm64"
       ],
@@ -277,19 +769,12 @@
       "optional": true,
       "os": [
         "win32"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/@parcel/watcher-win32-ia32": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz",
-      "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==",
+    "node_modules/@rollup/rollup-win32-ia32-msvc": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.48.1.tgz",
+      "integrity": "sha512-RUyZZ/mga88lMI3RlXFs4WQ7n3VyU07sPXmMG7/C1NOi8qisUg57Y7LRarqoGoAiopmGmChUhSwfpvQ3H5iGSQ==",
       "cpu": [
         "ia32"
       ],
@@ -298,19 +783,12 @@
       "optional": true,
       "os": [
         "win32"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/@parcel/watcher-win32-x64": {
-      "version": "2.5.1",
-      "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz",
-      "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==",
+    "node_modules/@rollup/rollup-win32-x64-msvc": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.48.1.tgz",
+      "integrity": "sha512-8a/caCUN4vkTChxkaIJcMtwIVcBhi4X2PQRoT+yCK3qRYaZ7cURrmJFL5Ux9H9RaMIXj9RuihckdmkBX3zZsgg==",
       "cpu": [
         "x64"
       ],
@@ -319,300 +797,625 @@
       "optional": true,
       "os": [
         "win32"
-      ],
-      "engines": {
-        "node": ">= 10.0.0"
-      },
-      "funding": {
-        "type": "opencollective",
-        "url": "https://opencollective.com/parcel"
-      }
+      ]
     },
-    "node_modules/at-least-node": {
-      "version": "1.0.0",
-      "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
-      "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+    "node_modules/@types/estree": {
+      "version": "1.0.8",
+      "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+      "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
       "dev": true,
-      "engines": {
-        "node": ">= 4.0.0"
-      }
+      "license": "MIT"
     },
-    "node_modules/braces": {
-      "version": "3.0.3",
-      "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
-      "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+    "node_modules/@vitejs/plugin-vue": {
+      "version": "6.0.1",
+      "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.1.tgz",
+      "integrity": "sha512-+MaE752hU0wfPFJEUAIxqw18+20euHHdxVtMvbFcOEpjEyfqXH/5DCoTHiVJ0J29EhTJdoTkjEv5YBKU9dnoTw==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
       "dependencies": {
-        "fill-range": "^7.1.1"
+        "@rolldown/pluginutils": "1.0.0-beta.29"
       },
       "engines": {
-        "node": ">=8"
+        "node": "^20.19.0 || >=22.12.0"
+      },
+      "peerDependencies": {
+        "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
+        "vue": "^3.2.25"
       }
     },
-    "node_modules/chokidar": {
-      "version": "4.0.3",
-      "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
-      "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+    "node_modules/@volar/language-core": {
+      "version": "2.4.23",
+      "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.23.tgz",
+      "integrity": "sha512-hEEd5ET/oSmBC6pi1j6NaNYRWoAiDhINbT8rmwtINugR39loROSlufGdYMF9TaKGfz+ViGs1Idi3mAhnuPcoGQ==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "readdirp": "^4.0.1"
-      },
-      "engines": {
-        "node": ">= 14.16.0"
-      },
-      "funding": {
-        "url": "https://paulmillr.com/funding/"
+        "@volar/source-map": "2.4.23"
       }
     },
-    "node_modules/copy-dir": {
-      "version": "1.3.0",
-      "resolved": "https://registry.npmjs.org/copy-dir/-/copy-dir-1.3.0.tgz",
-      "integrity": "sha512-Q4+qBFnN4bwGwvtXXzbp4P/4iNk0MaiGAzvQ8OiMtlLjkIKjmNN689uVzShSM0908q7GoFHXIPx4zi75ocoaHw==",
-      "dev": true
+    "node_modules/@volar/source-map": {
+      "version": "2.4.23",
+      "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.23.tgz",
+      "integrity": "sha512-Z1Uc8IB57Lm6k7q6KIDu/p+JWtf3xsXJqAX/5r18hYOTpJyBn0KXUR8oTJ4WFYOcDzWC9n3IflGgHowx6U6z9Q==",
+      "dev": true,
+      "license": "MIT"
     },
-    "node_modules/detect-libc": {
-      "version": "1.0.3",
-      "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
-      "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
+    "node_modules/@volar/typescript": {
+      "version": "2.4.23",
+      "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.23.tgz",
+      "integrity": "sha512-lAB5zJghWxVPqfcStmAP1ZqQacMpe90UrP5RJ3arDyrhy4aCUQqmxPPLB2PWDKugvylmO41ljK7vZ+t6INMTag==",
       "dev": true,
-      "license": "Apache-2.0",
-      "optional": true,
-      "bin": {
-        "detect-libc": "bin/detect-libc.js"
-      },
-      "engines": {
-        "node": ">=0.10"
+      "license": "MIT",
+      "dependencies": {
+        "@volar/language-core": "2.4.23",
+        "path-browserify": "^1.0.1",
+        "vscode-uri": "^3.0.8"
+      }
+    },
+    "node_modules/@vue/compiler-core": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.20.tgz",
+      "integrity": "sha512-8TWXUyiqFd3GmP4JTX9hbiTFRwYHgVL/vr3cqhr4YQ258+9FADwvj7golk2sWNGHR67QgmCZ8gz80nQcMokhwg==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/parser": "^7.28.3",
+        "@vue/shared": "3.5.20",
+        "entities": "^4.5.0",
+        "estree-walker": "^2.0.2",
+        "source-map-js": "^1.2.1"
+      }
+    },
+    "node_modules/@vue/compiler-dom": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.20.tgz",
+      "integrity": "sha512-whB44M59XKjqUEYOMPYU0ijUV0G+4fdrHVKDe32abNdX/kJe1NUEMqsi4cwzXa9kyM9w5S8WqFsrfo1ogtBZGQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@vue/compiler-core": "3.5.20",
+        "@vue/shared": "3.5.20"
+      }
+    },
+    "node_modules/@vue/compiler-sfc": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.20.tgz",
+      "integrity": "sha512-SFcxapQc0/feWiSBfkGsa1v4DOrnMAQSYuvDMpEaxbpH5dKbnEM5KobSNSgU+1MbHCl+9ftm7oQWxvwDB6iBfw==",
+      "license": "MIT",
+      "dependencies": {
+        "@babel/parser": "^7.28.3",
+        "@vue/compiler-core": "3.5.20",
+        "@vue/compiler-dom": "3.5.20",
+        "@vue/compiler-ssr": "3.5.20",
+        "@vue/shared": "3.5.20",
+        "estree-walker": "^2.0.2",
+        "magic-string": "^0.30.17",
+        "postcss": "^8.5.6",
+        "source-map-js": "^1.2.1"
+      }
+    },
+    "node_modules/@vue/compiler-ssr": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.20.tgz",
+      "integrity": "sha512-RSl5XAMc5YFUXpDQi+UQDdVjH9FnEpLDHIALg5J0ITHxkEzJ8uQLlo7CIbjPYqmZtt6w0TsIPbo1izYXwDG7JA==",
+      "license": "MIT",
+      "dependencies": {
+        "@vue/compiler-dom": "3.5.20",
+        "@vue/shared": "3.5.20"
       }
     },
-    "node_modules/fill-range": {
-      "version": "7.1.1",
-      "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
-      "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+    "node_modules/@vue/compiler-vue2": {
+      "version": "2.7.16",
+      "resolved": "https://registry.npmjs.org/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz",
+      "integrity": "sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
       "dependencies": {
-        "to-regex-range": "^5.0.1"
-      },
-      "engines": {
-        "node": ">=8"
+        "de-indent": "^1.0.2",
+        "he": "^1.2.0"
       }
     },
-    "node_modules/fs-extra": {
-      "version": "9.0.1",
-      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz",
-      "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==",
+    "node_modules/@vue/language-core": {
+      "version": "3.0.6",
+      "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-3.0.6.tgz",
+      "integrity": "sha512-e2RRzYWm+qGm8apUHW1wA5RQxzNhkqbbKdbKhiDUcmMrNAZGyM8aTiL3UrTqkaFI5s7wJRGGrp4u3jgusuBp2A==",
       "dev": true,
+      "license": "MIT",
       "dependencies": {
-        "at-least-node": "^1.0.0",
-        "graceful-fs": "^4.2.0",
-        "jsonfile": "^6.0.1",
-        "universalify": "^1.0.0"
+        "@volar/language-core": "2.4.23",
+        "@vue/compiler-dom": "^3.5.0",
+        "@vue/compiler-vue2": "^2.7.16",
+        "@vue/shared": "^3.5.0",
+        "alien-signals": "^2.0.5",
+        "muggle-string": "^0.4.1",
+        "path-browserify": "^1.0.1",
+        "picomatch": "^4.0.2"
       },
-      "engines": {
-        "node": ">=10"
+      "peerDependencies": {
+        "typescript": "*"
+      },
+      "peerDependenciesMeta": {
+        "typescript": {
+          "optional": true
+        }
       }
     },
-    "node_modules/graceful-fs": {
-      "version": "4.2.4",
-      "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
-      "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
-      "dev": true
+    "node_modules/@vue/reactivity": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.20.tgz",
+      "integrity": "sha512-hS8l8x4cl1fmZpSQX/NXlqWKARqEsNmfkwOIYqtR2F616NGfsLUm0G6FQBK6uDKUCVyi1YOL8Xmt/RkZcd/jYQ==",
+      "license": "MIT",
+      "dependencies": {
+        "@vue/shared": "3.5.20"
+      }
     },
-    "node_modules/immutable": {
-      "version": "5.0.3",
-      "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz",
-      "integrity": "sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==",
-      "dev": true,
-      "license": "MIT"
+    "node_modules/@vue/runtime-core": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.20.tgz",
+      "integrity": "sha512-vyQRiH5uSZlOa+4I/t4Qw/SsD/gbth0SW2J7oMeVlMFMAmsG1rwDD6ok0VMmjXY3eI0iHNSSOBilEDW98PLRKw==",
+      "license": "MIT",
+      "dependencies": {
+        "@vue/reactivity": "3.5.20",
+        "@vue/shared": "3.5.20"
+      }
     },
-    "node_modules/is-extglob": {
-      "version": "2.1.1",
-      "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
-      "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
-      "dev": true,
+    "node_modules/@vue/runtime-dom": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.20.tgz",
+      "integrity": "sha512-KBHzPld/Djw3im0CQ7tGCpgRedryIn4CcAl047EhFTCCPT2xFf4e8j6WeKLgEEoqPSl9TYqShc3Q6tpWpz/Xgw==",
       "license": "MIT",
-      "optional": true,
-      "engines": {
-        "node": ">=0.10.0"
+      "dependencies": {
+        "@vue/reactivity": "3.5.20",
+        "@vue/runtime-core": "3.5.20",
+        "@vue/shared": "3.5.20",
+        "csstype": "^3.1.3"
       }
     },
-    "node_modules/is-glob": {
-      "version": "4.0.3",
-      "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
-      "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
-      "dev": true,
+    "node_modules/@vue/server-renderer": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.20.tgz",
+      "integrity": "sha512-HthAS0lZJDH21HFJBVNTtx+ULcIbJQRpjSVomVjfyPkFSpCwvsPTA+jIzOaUm3Hrqx36ozBHePztQFg6pj5aKg==",
       "license": "MIT",
-      "optional": true,
       "dependencies": {
-        "is-extglob": "^2.1.1"
+        "@vue/compiler-ssr": "3.5.20",
+        "@vue/shared": "3.5.20"
       },
-      "engines": {
-        "node": ">=0.10.0"
+      "peerDependencies": {
+        "vue": "3.5.20"
       }
     },
-    "node_modules/is-number": {
-      "version": "7.0.0",
-      "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
-      "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+    "node_modules/@vue/shared": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.20.tgz",
+      "integrity": "sha512-SoRGP596KU/ig6TfgkCMbXkr4YJ91n/QSdMuqeP5r3hVIYA3CPHUBCc7Skak0EAKV+5lL4KyIh61VA/pK1CIAA==",
+      "license": "MIT"
+    },
+    "node_modules/@vue/tsconfig": {
+      "version": "0.7.0",
+      "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.7.0.tgz",
+      "integrity": "sha512-ku2uNz5MaZ9IerPPUyOHzyjhXoX2kVJaVf7hL315DC17vS6IiZRmmCPfggNbU16QTvM80+uYYy3eYJB59WCtvg==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
-      "engines": {
-        "node": ">=0.12.0"
+      "peerDependencies": {
+        "typescript": "5.x",
+        "vue": "^3.4.0"
+      },
+      "peerDependenciesMeta": {
+        "typescript": {
+          "optional": true
+        },
+        "vue": {
+          "optional": true
+        }
       }
     },
-    "node_modules/is-wsl": {
-      "version": "1.1.0",
-      "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz",
-      "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=",
+    "node_modules/alien-signals": {
+      "version": "2.0.7",
+      "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-2.0.7.tgz",
+      "integrity": "sha512-wE7y3jmYeb0+h6mr5BOovuqhFv22O/MV9j5p0ndJsa7z1zJNPGQ4ph5pQk/kTTCWRC3xsA4SmtwmkzQO+7NCNg==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/csstype": {
+      "version": "3.1.3",
+      "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+      "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+      "license": "MIT"
+    },
+    "node_modules/de-indent": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
+      "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==",
       "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/entities": {
+      "version": "4.5.0",
+      "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+      "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+      "license": "BSD-2-Clause",
       "engines": {
-        "node": ">=4"
+        "node": ">=0.12"
+      },
+      "funding": {
+        "url": "https://github.com/fb55/entities?sponsor=1"
       }
     },
-    "node_modules/jsonfile": {
-      "version": "6.0.1",
-      "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz",
-      "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==",
+    "node_modules/esbuild": {
+      "version": "0.25.9",
+      "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.9.tgz",
+      "integrity": "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==",
       "dev": true,
-      "dependencies": {
-        "universalify": "^1.0.0"
+      "hasInstallScript": true,
+      "license": "MIT",
+      "bin": {
+        "esbuild": "bin/esbuild"
+      },
+      "engines": {
+        "node": ">=18"
       },
       "optionalDependencies": {
-        "graceful-fs": "^4.1.6"
+        "@esbuild/aix-ppc64": "0.25.9",
+        "@esbuild/android-arm": "0.25.9",
+        "@esbuild/android-arm64": "0.25.9",
+        "@esbuild/android-x64": "0.25.9",
+        "@esbuild/darwin-arm64": "0.25.9",
+        "@esbuild/darwin-x64": "0.25.9",
+        "@esbuild/freebsd-arm64": "0.25.9",
+        "@esbuild/freebsd-x64": "0.25.9",
+        "@esbuild/linux-arm": "0.25.9",
+        "@esbuild/linux-arm64": "0.25.9",
+        "@esbuild/linux-ia32": "0.25.9",
+        "@esbuild/linux-loong64": "0.25.9",
+        "@esbuild/linux-mips64el": "0.25.9",
+        "@esbuild/linux-ppc64": "0.25.9",
+        "@esbuild/linux-riscv64": "0.25.9",
+        "@esbuild/linux-s390x": "0.25.9",
+        "@esbuild/linux-x64": "0.25.9",
+        "@esbuild/netbsd-arm64": "0.25.9",
+        "@esbuild/netbsd-x64": "0.25.9",
+        "@esbuild/openbsd-arm64": "0.25.9",
+        "@esbuild/openbsd-x64": "0.25.9",
+        "@esbuild/openharmony-arm64": "0.25.9",
+        "@esbuild/sunos-x64": "0.25.9",
+        "@esbuild/win32-arm64": "0.25.9",
+        "@esbuild/win32-ia32": "0.25.9",
+        "@esbuild/win32-x64": "0.25.9"
       }
     },
-    "node_modules/micromatch": {
-      "version": "4.0.8",
-      "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
-      "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+    "node_modules/estree-walker": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+      "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+      "license": "MIT"
+    },
+    "node_modules/fdir": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+      "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
-      "dependencies": {
-        "braces": "^3.0.3",
-        "picomatch": "^2.3.1"
-      },
       "engines": {
-        "node": ">=8.6"
+        "node": ">=12.0.0"
+      },
+      "peerDependencies": {
+        "picomatch": "^3 || ^4"
+      },
+      "peerDependenciesMeta": {
+        "picomatch": {
+          "optional": true
+        }
       }
     },
-    "node_modules/node-addon-api": {
-      "version": "7.1.1",
-      "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
-      "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
+    "node_modules/fsevents": {
+      "version": "2.3.3",
+      "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+      "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
       "dev": true,
+      "hasInstallScript": true,
       "license": "MIT",
-      "optional": true
+      "optional": true,
+      "os": [
+        "darwin"
+      ],
+      "engines": {
+        "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+      }
     },
-    "node_modules/opn": {
-      "version": "5.5.0",
-      "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz",
-      "integrity": "sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==",
+    "node_modules/he": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+      "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
       "dev": true,
+      "license": "MIT",
+      "bin": {
+        "he": "bin/he"
+      }
+    },
+    "node_modules/magic-string": {
+      "version": "0.30.18",
+      "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.18.tgz",
+      "integrity": "sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==",
+      "license": "MIT",
       "dependencies": {
-        "is-wsl": "^1.1.0"
+        "@jridgewell/sourcemap-codec": "^1.5.5"
+      }
+    },
+    "node_modules/muggle-string": {
+      "version": "0.4.1",
+      "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz",
+      "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/nanoid": {
+      "version": "3.3.11",
+      "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+      "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+      "funding": [
+        {
+          "type": "github",
+          "url": "https://github.com/sponsors/ai"
+        }
+      ],
+      "license": "MIT",
+      "bin": {
+        "nanoid": "bin/nanoid.cjs"
       },
       "engines": {
-        "node": ">=4"
+        "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
       }
     },
+    "node_modules/path-browserify": {
+      "version": "1.0.1",
+      "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",
+      "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/picocolors": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+      "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+      "license": "ISC"
+    },
     "node_modules/picomatch": {
-      "version": "2.3.1",
-      "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
-      "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+      "version": "4.0.3",
+      "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+      "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
       "engines": {
-        "node": ">=8.6"
+        "node": ">=12"
       },
       "funding": {
         "url": "https://github.com/sponsors/jonschlinkert"
       }
     },
-    "node_modules/readdirp": {
-      "version": "4.1.1",
-      "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.1.tgz",
-      "integrity": "sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==",
-      "dev": true,
+    "node_modules/postcss": {
+      "version": "8.5.6",
+      "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
+      "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
+      "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",
-      "engines": {
-        "node": ">= 14.18.0"
+      "dependencies": {
+        "nanoid": "^3.3.11",
+        "picocolors": "^1.1.1",
+        "source-map-js": "^1.2.1"
       },
-      "funding": {
-        "type": "individual",
-        "url": "https://paulmillr.com/funding/"
+      "engines": {
+        "node": "^10 || ^12 || >=14"
       }
     },
-    "node_modules/sass": {
-      "version": "1.83.4",
-      "resolved": "https://registry.npmjs.org/sass/-/sass-1.83.4.tgz",
-      "integrity": "sha512-B1bozCeNQiOgDcLd33e2Cs2U60wZwjUUXzh900ZyQF5qUasvMdDZYbQ566LJu7cqR+sAHlAfO6RMkaID5s6qpA==",
+    "node_modules/rollup": {
+      "version": "4.48.1",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.48.1.tgz",
+      "integrity": "sha512-jVG20NvbhTYDkGAty2/Yh7HK6/q3DGSRH4o8ALKGArmMuaauM9kLfoMZ+WliPwA5+JHr2lTn3g557FxBV87ifg==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "chokidar": "^4.0.0",
-        "immutable": "^5.0.2",
-        "source-map-js": ">=0.6.2 <2.0.0"
+        "@types/estree": "1.0.8"
       },
       "bin": {
-        "sass": "sass.js"
+        "rollup": "dist/bin/rollup"
       },
       "engines": {
-        "node": ">=14.0.0"
+        "node": ">=18.0.0",
+        "npm": ">=8.0.0"
       },
       "optionalDependencies": {
-        "@parcel/watcher": "^2.4.1"
+        "@rollup/rollup-android-arm-eabi": "4.48.1",
+        "@rollup/rollup-android-arm64": "4.48.1",
+        "@rollup/rollup-darwin-arm64": "4.48.1",
+        "@rollup/rollup-darwin-x64": "4.48.1",
+        "@rollup/rollup-freebsd-arm64": "4.48.1",
+        "@rollup/rollup-freebsd-x64": "4.48.1",
+        "@rollup/rollup-linux-arm-gnueabihf": "4.48.1",
+        "@rollup/rollup-linux-arm-musleabihf": "4.48.1",
+        "@rollup/rollup-linux-arm64-gnu": "4.48.1",
+        "@rollup/rollup-linux-arm64-musl": "4.48.1",
+        "@rollup/rollup-linux-loongarch64-gnu": "4.48.1",
+        "@rollup/rollup-linux-ppc64-gnu": "4.48.1",
+        "@rollup/rollup-linux-riscv64-gnu": "4.48.1",
+        "@rollup/rollup-linux-riscv64-musl": "4.48.1",
+        "@rollup/rollup-linux-s390x-gnu": "4.48.1",
+        "@rollup/rollup-linux-x64-gnu": "4.48.1",
+        "@rollup/rollup-linux-x64-musl": "4.48.1",
+        "@rollup/rollup-win32-arm64-msvc": "4.48.1",
+        "@rollup/rollup-win32-ia32-msvc": "4.48.1",
+        "@rollup/rollup-win32-x64-msvc": "4.48.1",
+        "fsevents": "~2.3.2"
       }
     },
     "node_modules/source-map-js": {
       "version": "1.2.1",
       "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
       "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
-      "dev": true,
       "license": "BSD-3-Clause",
       "engines": {
         "node": ">=0.10.0"
       }
     },
-    "node_modules/to-regex-range": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
-      "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+    "node_modules/tinyglobby": {
+      "version": "0.2.14",
+      "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
+      "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
       "dev": true,
       "license": "MIT",
-      "optional": true,
       "dependencies": {
-        "is-number": "^7.0.0"
+        "fdir": "^6.4.4",
+        "picomatch": "^4.0.2"
       },
       "engines": {
-        "node": ">=8.0"
+        "node": ">=12.0.0"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/SuperchupuDev"
       }
     },
-    "node_modules/uglify-js": {
-      "version": "3.10.1",
-      "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.1.tgz",
-      "integrity": "sha512-RjxApKkrPJB6kjJxQS3iZlf///REXWYxYJxO/MpmlQzVkDWVI3PSnCBWezMecmTU/TRkNxrl8bmsfFQCp+LO+Q==",
-      "dev": true,
+    "node_modules/typescript": {
+      "version": "5.8.3",
+      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+      "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
+      "devOptional": true,
+      "license": "Apache-2.0",
       "bin": {
-        "uglifyjs": "bin/uglifyjs"
+        "tsc": "bin/tsc",
+        "tsserver": "bin/tsserver"
       },
       "engines": {
-        "node": ">=0.8.0"
+        "node": ">=14.17"
       }
     },
-    "node_modules/universalify": {
-      "version": "1.0.0",
-      "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",
-      "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==",
+    "node_modules/vite": {
+      "version": "7.1.3",
+      "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.3.tgz",
+      "integrity": "sha512-OOUi5zjkDxYrKhTV3V7iKsoS37VUM7v40+HuwEmcrsf11Cdx9y3DIr2Px6liIcZFwt3XSRpQvFpL3WVy7ApkGw==",
       "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "esbuild": "^0.25.0",
+        "fdir": "^6.5.0",
+        "picomatch": "^4.0.3",
+        "postcss": "^8.5.6",
+        "rollup": "^4.43.0",
+        "tinyglobby": "^0.2.14"
+      },
+      "bin": {
+        "vite": "bin/vite.js"
+      },
       "engines": {
-        "node": ">= 10.0.0"
+        "node": "^20.19.0 || >=22.12.0"
+      },
+      "funding": {
+        "url": "https://github.com/vitejs/vite?sponsor=1"
+      },
+      "optionalDependencies": {
+        "fsevents": "~2.3.3"
+      },
+      "peerDependencies": {
+        "@types/node": "^20.19.0 || >=22.12.0",
+        "jiti": ">=1.21.0",
+        "less": "^4.0.0",
+        "lightningcss": "^1.21.0",
+        "sass": "^1.70.0",
+        "sass-embedded": "^1.70.0",
+        "stylus": ">=0.54.8",
+        "sugarss": "^5.0.0",
+        "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/vscode-uri": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz",
+      "integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==",
+      "dev": true,
+      "license": "MIT"
+    },
+    "node_modules/vue": {
+      "version": "3.5.20",
+      "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.20.tgz",
+      "integrity": "sha512-2sBz0x/wis5TkF1XZ2vH25zWq3G1bFEPOfkBcx2ikowmphoQsPH6X0V3mmPCXA2K1N/XGTnifVyDQP4GfDDeQw==",
+      "license": "MIT",
+      "dependencies": {
+        "@vue/compiler-dom": "3.5.20",
+        "@vue/compiler-sfc": "3.5.20",
+        "@vue/runtime-dom": "3.5.20",
+        "@vue/server-renderer": "3.5.20",
+        "@vue/shared": "3.5.20"
+      },
+      "peerDependencies": {
+        "typescript": "*"
+      },
+      "peerDependenciesMeta": {
+        "typescript": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/vue-tsc": {
+      "version": "3.0.6",
+      "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-3.0.6.tgz",
+      "integrity": "sha512-Tbs8Whd43R2e2nxez4WXPvvdjGbW24rOSgRhLOHXzWiT4pcP4G7KeWh0YCn18rF4bVwv7tggLLZ6MJnO6jXPBg==",
+      "dev": true,
+      "license": "MIT",
+      "dependencies": {
+        "@volar/typescript": "2.4.23",
+        "@vue/language-core": "3.0.6"
+      },
+      "bin": {
+        "vue-tsc": "bin/vue-tsc.js"
+      },
+      "peerDependencies": {
+        "typescript": ">=5.0.0"
       }
     }
   }
diff --git a/package.json b/package.json
index f4131ad..4527489 100644
--- a/package.json
+++ b/package.json
@@ -1,18 +1,21 @@
 {
   "name": "echarts-theme-builder",
+  "private": true,
   "version": "0.0.0",
+  "type": "module",
   "scripts": {
-    "build": "node build.js",
-    "release": "node build.js --release"
+    "dev": "vite",
+    "build": "vue-tsc -b && vite build",
+    "preview": "vite preview"
   },
-  "devDependencies": {
-    "copy-dir": "^1.3.0",
-    "fs-extra": "^9.0.1",
-    "opn": "^5.4.0",
-    "sass": "^1.83.4",
-    "uglify-js": "^3.10.1"
+  "dependencies": {
+    "vue": "^3.5.18"
   },
-  "engines": {
-    "node": ">=0.10.0"
+  "devDependencies": {
+    "@vitejs/plugin-vue": "^6.0.1",
+    "@vue/tsconfig": "^0.7.0",
+    "typescript": "~5.8.3",
+    "vite": "^7.1.2",
+    "vue-tsc": "^3.0.5"
   }
 }
diff --git a/public/vite.svg b/public/vite.svg
new file mode 100644
index 0000000..e7b8dfb
--- /dev/null
+++ b/public/vite.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb [...]
\ No newline at end of file
diff --git a/src/App.vue b/src/App.vue
new file mode 100644
index 0000000..58b0f21
--- /dev/null
+++ b/src/App.vue
@@ -0,0 +1,30 @@
+<script setup lang="ts">
+import HelloWorld from './components/HelloWorld.vue'
+</script>
+
+<template>
+  <div>
+    <a href="https://vite.dev" target="_blank">
+      <img src="/vite.svg" class="logo" alt="Vite logo" />
+    </a>
+    <a href="https://vuejs.org/" target="_blank">
+      <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
+    </a>
+  </div>
+  <HelloWorld msg="Vite + Vue" />
+</template>
+
+<style scoped>
+.logo {
+  height: 6em;
+  padding: 1.5em;
+  will-change: filter;
+  transition: filter 300ms;
+}
+.logo:hover {
+  filter: drop-shadow(0 0 2em #646cffaa);
+}
+.logo.vue:hover {
+  filter: drop-shadow(0 0 2em #42b883aa);
+}
+</style>
diff --git a/src/assets/vue.svg b/src/assets/vue.svg
new file mode 100644
index 0000000..770e9d3
--- /dev/null
+++ b/src/assets/vue.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
\ No newline at end of file
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
new file mode 100644
index 0000000..b58e52b
--- /dev/null
+++ b/src/components/HelloWorld.vue
@@ -0,0 +1,41 @@
+<script setup lang="ts">
+import { ref } from 'vue'
+
+defineProps<{ msg: string }>()
+
+const count = ref(0)
+</script>
+
+<template>
+  <h1>{{ msg }}</h1>
+
+  <div class="card">
+    <button type="button" @click="count++">count is {{ count }}</button>
+    <p>
+      Edit
+      <code>components/HelloWorld.vue</code> to test HMR
+    </p>
+  </div>
+
+  <p>
+    Check out
+    <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
+      >create-vue</a
+    >, the official Vue + Vite starter
+  </p>
+  <p>
+    Learn more about IDE Support for Vue in the
+    <a
+      href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
+      target="_blank"
+      >Vue Docs Scaling up Guide</a
+    >.
+  </p>
+  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
+</template>
+
+<style scoped>
+.read-the-docs {
+  color: #888;
+}
+</style>
diff --git a/src/main.ts b/src/main.ts
new file mode 100644
index 0000000..2425c0f
--- /dev/null
+++ b/src/main.ts
@@ -0,0 +1,5 @@
+import { createApp } from 'vue'
+import './style.css'
+import App from './App.vue'
+
+createApp(App).mount('#app')
diff --git a/src/style.css b/src/style.css
new file mode 100644
index 0000000..f691315
--- /dev/null
+++ b/src/style.css
@@ -0,0 +1,79 @@
+:root {
+  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
+  line-height: 1.5;
+  font-weight: 400;
+
+  color-scheme: light dark;
+  color: rgba(255, 255, 255, 0.87);
+  background-color: #242424;
+
+  font-synthesis: none;
+  text-rendering: optimizeLegibility;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+a {
+  font-weight: 500;
+  color: #646cff;
+  text-decoration: inherit;
+}
+a:hover {
+  color: #535bf2;
+}
+
+body {
+  margin: 0;
+  display: flex;
+  place-items: center;
+  min-width: 320px;
+  min-height: 100vh;
+}
+
+h1 {
+  font-size: 3.2em;
+  line-height: 1.1;
+}
+
+button {
+  border-radius: 8px;
+  border: 1px solid transparent;
+  padding: 0.6em 1.2em;
+  font-size: 1em;
+  font-weight: 500;
+  font-family: inherit;
+  background-color: #1a1a1a;
+  cursor: pointer;
+  transition: border-color 0.25s;
+}
+button:hover {
+  border-color: #646cff;
+}
+button:focus,
+button:focus-visible {
+  outline: 4px auto -webkit-focus-ring-color;
+}
+
+.card {
+  padding: 2em;
+}
+
+#app {
+  max-width: 1280px;
+  margin: 0 auto;
+  padding: 2rem;
+  text-align: center;
+}
+
+@media (prefers-color-scheme: light) {
+  :root {
+    color: #213547;
+    background-color: #ffffff;
+  }
+  a:hover {
+    color: #747bff;
+  }
+  button {
+    background-color: #f9f9f9;
+  }
+}
diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts
new file mode 100644
index 0000000..11f02fe
--- /dev/null
+++ b/src/vite-env.d.ts
@@ -0,0 +1 @@
+/// <reference types="vite/client" />
diff --git a/tsconfig.app.json b/tsconfig.app.json
new file mode 100644
index 0000000..3dbbc45
--- /dev/null
+++ b/tsconfig.app.json
@@ -0,0 +1,15 @@
+{
+  "extends": "@vue/tsconfig/tsconfig.dom.json",
+  "compilerOptions": {
+    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
+
+    /* Linting */
+    "strict": true,
+    "noUnusedLocals": true,
+    "noUnusedParameters": true,
+    "erasableSyntaxOnly": true,
+    "noFallthroughCasesInSwitch": true,
+    "noUncheckedSideEffectImports": true
+  },
+  "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..1ffef60
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,7 @@
+{
+  "files": [],
+  "references": [
+    { "path": "./tsconfig.app.json" },
+    { "path": "./tsconfig.node.json" }
+  ]
+}
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 0000000..f85a399
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,25 @@
+{
+  "compilerOptions": {
+    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
+    "target": "ES2023",
+    "lib": ["ES2023"],
+    "module": "ESNext",
+    "skipLibCheck": true,
+
+    /* Bundler mode */
+    "moduleResolution": "bundler",
+    "allowImportingTsExtensions": true,
+    "verbatimModuleSyntax": true,
+    "moduleDetection": "force",
+    "noEmit": true,
+
+    /* Linting */
+    "strict": true,
+    "noUnusedLocals": true,
+    "noUnusedParameters": true,
+    "erasableSyntaxOnly": true,
+    "noFallthroughCasesInSwitch": true,
+    "noUncheckedSideEffectImports": true
+  },
+  "include": ["vite.config.ts"]
+}
diff --git a/vite.config.ts b/vite.config.ts
new file mode 100644
index 0000000..bbcf80c
--- /dev/null
+++ b/vite.config.ts
@@ -0,0 +1,7 @@
+import { defineConfig } from 'vite'
+import vue from '@vitejs/plugin-vue'
+
+// https://vite.dev/config/
+export default defineConfig({
+  plugins: [vue()],
+})


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


(echarts-theme-builder) 02/02: feat: preview

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch v6
in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git

commit f10afb91f6fc16371a19b3678d8ee7145a90db86
Author: Ovilia <zw...@gmail.com>
AuthorDate: Tue Aug 26 15:55:21 2025 +0800

    feat: preview
---
 src/App.vue                          |  78 +++--
 src/components/ChartPreviewPanel.vue | 144 +++++++++
 src/components/HelloWorld.vue        |  41 ---
 src/composables/useLocalization.ts   |  69 ++++
 src/i18n.ts                          |  50 +++
 src/locales/en.json                  |  43 +++
 src/locales/zh.json                  |  43 +++
 src/main.ts                          |   6 +-
 src/stores/theme.ts                  | 233 ++++++++++++++
 src/style.css                        |  78 +----
 src/types/theme.ts                   | 104 ++++++
 src/utils/chartConfigs.ts            | 609 +++++++++++++++++++++++++++++++++++
 src/utils/chartOptions.ts            | 328 +++++++++++++++++++
 13 files changed, 1690 insertions(+), 136 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 58b0f21..d5cc463 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,30 +1,72 @@
 <script setup lang="ts">
-import HelloWorld from './components/HelloWorld.vue'
+// Simple fixed sidebar layout without responsive design
+import ChartPreviewPanel from './components/ChartPreviewPanel.vue'
 </script>
 
 <template>
-  <div>
-    <a href="https://vite.dev" target="_blank">
-      <img src="/vite.svg" class="logo" alt="Vite logo" />
-    </a>
-    <a href="https://vuejs.org/" target="_blank">
-      <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
-    </a>
+  <div id="theme-builder">
+    <div class="container-fluid" id="content">
+      <van-row class="row-container" :gutter="0">
+        <!-- Left panel: Theme configuration - Fixed width -->
+        <van-col span="6" class="theme-config">
+          <!-- Theme configuration panel will be implemented here -->
+          <div class="placeholder">
+            Theme Configuration Panel
+          </div>
+        </van-col>
+
+        <!-- Right panel: Chart preview - Remaining width -->
+        <van-col span="18" class="chart-container">
+          <ChartPreviewPanel />
+        </van-col>
+      </van-row>
+    </div>
   </div>
-  <HelloWorld msg="Vite + Vue" />
 </template>
 
 <style scoped>
-.logo {
-  height: 6em;
-  padding: 1.5em;
-  will-change: filter;
-  transition: filter 300ms;
+#theme-builder {
+  width: 100%;
+  height: 100vh;
 }
-.logo:hover {
-  filter: drop-shadow(0 0 2em #646cffaa);
+
+.container-fluid {
+  height: 100%;
+  padding: 0;
+  width: 100%;
 }
-.logo.vue:hover {
-  filter: drop-shadow(0 0 2em #42b883aa);
+
+.row-container {
+  height: 100%;
+  display: flex !important;
+  flex-direction: row !important;
+}
+
+.theme-config {
+  height: 100vh;
+  overflow-y: auto;
+  background-color: #f8f9fa;
+  border-right: 1px solid #dee2e6;
+  padding: 20px;
+  box-sizing: border-box;
+  flex: 0 0 25%; /* Fixed 25% width */
+}
+
+.chart-container {
+  height: 100vh;
+  overflow: hidden;
+  background-color: #ffffff;
+  padding: 20px;
+  box-sizing: border-box;
+  flex: 1; /* Take remaining space */
+}
+
+.placeholder {
+  padding: 20px;
+  text-align: center;
+  color: #6c757d;
+  border: 2px dashed #dee2e6;
+  border-radius: 4px;
+  font-size: 16px;
 }
 </style>
diff --git a/src/components/ChartPreviewPanel.vue b/src/components/ChartPreviewPanel.vue
new file mode 100644
index 0000000..2c2da56
--- /dev/null
+++ b/src/components/ChartPreviewPanel.vue
@@ -0,0 +1,144 @@
+<template>
+  <div class="chart-preview">
+    <div class="preview-header">
+      <h3>Chart Preview</h3>
+    </div>
+
+    <div class="charts-grid">
+      <div
+        v-for="(config, index) in displayedCharts"
+        :key="config.type + index"
+        class="chart-item"
+      >
+        <div
+          :ref="el => setChartRef(el, index)"
+          class="chart-container"
+        ></div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script setup lang="ts">
+import { ref, onMounted, onUnmounted, nextTick } from 'vue'
+import * as echarts from 'echarts'
+import { getChartConfigs } from '../utils/chartConfigs'
+import type { ECharts } from 'echarts'
+
+const chartInstances = ref<ECharts[]>([])
+const chartRefs = ref<(HTMLElement | null)[]>([])
+
+// Always display all charts
+const displayedCharts = ref(getChartConfigs(4))
+
+// Set chart ref
+function setChartRef(el: any, index: number) {
+  if (el) {
+    chartRefs.value[index] = el as HTMLElement
+  }
+}
+
+// Initialize all charts
+function initializeCharts() {
+  // Dispose existing charts
+  chartInstances.value.forEach(chart => chart.dispose())
+  chartInstances.value = []
+
+  // Create new chart instances
+  displayedCharts.value.forEach((config, index) => {
+    const container = chartRefs.value[index]
+    if (container) {
+      const chart = echarts.init(container)
+      chart.setOption(config.option)
+      chartInstances.value.push(chart)
+    }
+  })
+}
+
+// Resize charts when window resizes
+function handleResize() {
+  chartInstances.value.forEach(chart => chart.resize())
+}
+
+onMounted(() => {
+  nextTick(() => {
+    initializeCharts()
+  })
+  window.addEventListener('resize', handleResize)
+})
+
+onUnmounted(() => {
+  chartInstances.value.forEach(chart => chart.dispose())
+  window.removeEventListener('resize', handleResize)
+})
+</script>
+
+<style scoped>
+.chart-preview {
+  height: 100%;
+  display: flex;
+  flex-direction: column;
+}
+
+.preview-header {
+  display: flex;
+  justify-content: flex-start;
+  align-items: center;
+  margin-bottom: 20px;
+  padding-bottom: 15px;
+  border-bottom: 1px solid #e9ecef;
+}
+
+.preview-header h3 {
+  margin: 0;
+  color: #333;
+  font-size: 24px;
+}
+
+.charts-grid {
+  flex: 1;
+  display: grid;
+  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
+  gap: 20px;
+  overflow-y: auto;
+  padding-right: 8px;
+}
+
+.chart-item {
+  background: #fff;
+  border: 1px solid #e9ecef;
+  border-radius: 8px;
+  padding: 16px;
+  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
+  transition: box-shadow 0.2s ease;
+}
+
+.chart-item:hover {
+  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+}
+
+.chart-container {
+  width: 100%;
+  height: 320px;
+  border-radius: 4px;
+}
+
+/* Responsive adjustments */
+@media (max-width: 1400px) {
+  .charts-grid {
+    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
+  }
+}
+
+@media (max-width: 1200px) {
+  .charts-grid {
+    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
+  }
+}
+
+@media (max-width: 768px) {
+  .charts-grid {
+    grid-template-columns: 1fr;
+  }
+}
+</style>
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
deleted file mode 100644
index b58e52b..0000000
--- a/src/components/HelloWorld.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-import { ref } from 'vue'
-
-defineProps<{ msg: string }>()
-
-const count = ref(0)
-</script>
-
-<template>
-  <h1>{{ msg }}</h1>
-
-  <div class="card">
-    <button type="button" @click="count++">count is {{ count }}</button>
-    <p>
-      Edit
-      <code>components/HelloWorld.vue</code> to test HMR
-    </p>
-  </div>
-
-  <p>
-    Check out
-    <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
-      >create-vue</a
-    >, the official Vue + Vite starter
-  </p>
-  <p>
-    Learn more about IDE Support for Vue in the
-    <a
-      href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
-      target="_blank"
-      >Vue Docs Scaling up Guide</a
-    >.
-  </p>
-  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
-</template>
-
-<style scoped>
-.read-the-docs {
-  color: #888;
-}
-</style>
diff --git a/src/composables/useLocalization.ts b/src/composables/useLocalization.ts
new file mode 100644
index 0000000..106834b
--- /dev/null
+++ b/src/composables/useLocalization.ts
@@ -0,0 +1,69 @@
+import { useI18n } from 'vue-i18n'
+import { setLocale, getCurrentLocale, getAvailableLocales } from '../i18n'
+
+/**
+ * Localization composable
+ * Provides common i18n functionality
+ */
+export function useLocalization() {
+  const { t, locale } = useI18n()
+
+  /**
+   * Switch language
+   * @param newLocale New language code
+   */
+  const switchLanguage = (newLocale: string) => {
+    setLocale(newLocale)
+  }
+
+  /**
+   * Get current language
+   */
+  const currentLanguage = getCurrentLocale()
+
+  /**
+   * Get available languages list
+   */
+  const availableLanguages = getAvailableLocales()
+
+  /**
+   * Check if current language matches specified language
+   * @param lang Language code
+   */
+  const isLanguage = (lang: string) => {
+    return getCurrentLocale() === lang
+  }
+
+  /**
+   * Get formatted date text
+   * @param date Date object
+   */
+  const formatDate = (date: Date) => {
+    const isZh = isLanguage('zh')
+    return date.toLocaleDateString(isZh ? 'zh-CN' : 'en-US', {
+      year: 'numeric',
+      month: 'long',
+      day: 'numeric'
+    })
+  }
+
+  /**
+   * Get formatted number text
+   * @param num Number
+   */
+  const formatNumber = (num: number) => {
+    const isZh = isLanguage('zh')
+    return num.toLocaleString(isZh ? 'zh-CN' : 'en-US')
+  }
+
+  return {
+    t,
+    locale,
+    switchLanguage,
+    currentLanguage,
+    availableLanguages,
+    isLanguage,
+    formatDate,
+    formatNumber
+  }
+}
diff --git a/src/i18n.ts b/src/i18n.ts
new file mode 100644
index 0000000..ed8b5d4
--- /dev/null
+++ b/src/i18n.ts
@@ -0,0 +1,50 @@
+import { createI18n } from 'vue-i18n'
+import en from './locales/en.json'
+import zh from './locales/zh.json'
+
+// 从 localStorage 获取保存的语言设置,默认为中文
+const getStoredLanguage = (): string => {
+  const stored = localStorage.getItem('echarts-theme-builder-locale')
+  if (stored && ['en', 'zh'].includes(stored)) {
+    return stored
+  }
+  // 根据浏览器语言自动选择
+  const browserLang = navigator.language.toLowerCase()
+  if (browserLang.startsWith('zh')) {
+    return 'zh'
+  }
+  return 'en'
+}
+
+const i18n = createI18n({
+  legacy: false, // 使用 Composition API 模式
+  locale: getStoredLanguage(),
+  fallbackLocale: 'en',
+  messages: {
+    en,
+    zh
+  }
+})
+
+// 保存语言设置到 localStorage
+export const setLocale = (locale: string) => {
+  if (['en', 'zh'].includes(locale)) {
+    i18n.global.locale.value = locale as 'en' | 'zh'
+    localStorage.setItem('echarts-theme-builder-locale', locale)
+  }
+}
+
+// 获取当前语言
+export const getCurrentLocale = () => {
+  return i18n.global.locale.value
+}
+
+// 获取可用语言列表
+export const getAvailableLocales = () => {
+  return [
+    { code: 'en', name: 'English' },
+    { code: 'zh', name: '中文' }
+  ]
+}
+
+export default i18n
diff --git a/src/locales/en.json b/src/locales/en.json
new file mode 100644
index 0000000..c70a602
--- /dev/null
+++ b/src/locales/en.json
@@ -0,0 +1,43 @@
+{
+  "common": {
+    "title": "ECharts Theme Builder",
+    "welcome": "Welcome to ECharts Theme Builder",
+    "language": "Language",
+    "theme": "Theme",
+    "preview": "Preview",
+    "download": "Download",
+    "reset": "Reset"
+  },
+  "themeBuilder": {
+    "title": "Theme Editor",
+    "reset": "Reset",
+    "export": "Export",
+    "preDefinedThemes": "Predefined Themes",
+    "basicSettings": "Basic Settings",
+    "themeName": "Theme Name",
+    "themeNamePlaceholder": "Enter theme name",
+    "backgroundColor": "Background Color",
+    "titleColor": "Title Color",
+    "subtitleColor": "Subtitle Color",
+    "textColor": "Text Color",
+    "colorPalette": "Color Palette",
+    "legend": "Legend",
+    "legendTextColor": "Legend Text Color",
+    "line": "Line",
+    "lineWidth": "Line Width",
+    "symbolSize": "Symbol Size",
+    "symbol": "Symbol Type",
+    "lineSmooth": "Smooth Line",
+    "toolbox": "Toolbox",
+    "toolboxColor": "Toolbox Color",
+    "toolboxEmphasisColor": "Toolbox Emphasis Color"
+  },
+  "chartPreview": {
+    "title": "Chart Preview",
+    "themeCode": "Theme Code",
+    "copy": "Copy",
+    "close": "Close",
+    "showCode": "Show Code",
+    "hideCode": "Hide Code"
+  }
+}
diff --git a/src/locales/zh.json b/src/locales/zh.json
new file mode 100644
index 0000000..c70a602
--- /dev/null
+++ b/src/locales/zh.json
@@ -0,0 +1,43 @@
+{
+  "common": {
+    "title": "ECharts Theme Builder",
+    "welcome": "Welcome to ECharts Theme Builder",
+    "language": "Language",
+    "theme": "Theme",
+    "preview": "Preview",
+    "download": "Download",
+    "reset": "Reset"
+  },
+  "themeBuilder": {
+    "title": "Theme Editor",
+    "reset": "Reset",
+    "export": "Export",
+    "preDefinedThemes": "Predefined Themes",
+    "basicSettings": "Basic Settings",
+    "themeName": "Theme Name",
+    "themeNamePlaceholder": "Enter theme name",
+    "backgroundColor": "Background Color",
+    "titleColor": "Title Color",
+    "subtitleColor": "Subtitle Color",
+    "textColor": "Text Color",
+    "colorPalette": "Color Palette",
+    "legend": "Legend",
+    "legendTextColor": "Legend Text Color",
+    "line": "Line",
+    "lineWidth": "Line Width",
+    "symbolSize": "Symbol Size",
+    "symbol": "Symbol Type",
+    "lineSmooth": "Smooth Line",
+    "toolbox": "Toolbox",
+    "toolboxColor": "Toolbox Color",
+    "toolboxEmphasisColor": "Toolbox Emphasis Color"
+  },
+  "chartPreview": {
+    "title": "Chart Preview",
+    "themeCode": "Theme Code",
+    "copy": "Copy",
+    "close": "Close",
+    "showCode": "Show Code",
+    "hideCode": "Hide Code"
+  }
+}
diff --git a/src/main.ts b/src/main.ts
index 2425c0f..a10b54a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,5 +1,9 @@
 import { createApp } from 'vue'
+import { Col, Row } from 'vant'
 import './style.css'
 import App from './App.vue'
 
-createApp(App).mount('#app')
+const app = createApp(App)
+app.use(Col)
+app.use(Row)
+app.mount('#app')
diff --git a/src/stores/theme.ts b/src/stores/theme.ts
new file mode 100644
index 0000000..f5a1412
--- /dev/null
+++ b/src/stores/theme.ts
@@ -0,0 +1,233 @@
+import { ref, reactive } from 'vue'
+import type { ThemeData, PreDefinedTheme } from '../types/theme'
+
+// 预定义主题
+export const PRE_DEFINED_THEMES: PreDefinedTheme[] = [
+  {
+    name: 'vintage',
+    background: '#fef8ef',
+    theme: [
+      '#d87c7c', '#919e8b', '#d7ab82', '#6e7074', '#61a0a8',
+      '#efa18d', '#787464', '#cc7e63', '#724e58', '#4b565b'
+    ]
+  },
+  {
+    name: 'dark',
+    background: '#333',
+    theme: [
+      '#dd6b66', '#759aa0', '#e69d87', '#8dc1a9', '#ea7e53',
+      '#eedd78', '#73a373', '#73b9bc', '#7289ab', '#91ca8c',
+      '#f49f42'
+    ]
+  },
+  {
+    name: 'westeros',
+    background: 'transparent',
+    theme: [
+      '#516b91', '#59c4e6', '#edafda', '#93b7e3', '#a5e7f0',
+      '#cbb0e3'
+    ]
+  },
+  {
+    name: 'essos',
+    background: 'rgba(242,234,191,0.15)',
+    theme: [
+      '#893448', '#d95850', '#eb8146', '#ffb248', '#f2d643',
+      '#ebdba4'
+    ]
+  },
+  {
+    name: 'wonderland',
+    background: 'transparent',
+    theme: [
+      '#4ea397', '#22c3aa', '#7bd9a5', '#d0648a', '#f58db2',
+      '#f2b3c9'
+    ]
+  },
+  {
+    name: 'walden',
+    background: 'rgba(252,252,252,0)',
+    theme: [
+      '#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad',
+      '#96dee8'
+    ]
+  },
+  {
+    name: 'chalk',
+    background: '#293441',
+    theme: [
+      '#fc97af', '#87f7cf', '#f7f494', '#72ccff', '#f7c5a0',
+      '#d4a4eb', '#d2f5a6', '#76f2f2'
+    ]
+  },
+  {
+    name: 'infographic',
+    background: 'transparent',
+    theme: [
+      '#C1232B', '#27727B', '#FCCE10', '#E87C25', '#B5C334',
+      '#FE8463', '#9BCA63', '#FAD860', '#F3A43B', '#60C0DD',
+      '#D7504B', '#C6E579', '#F4E001', '#F0805A', '#26C0C0'
+    ]
+  },
+  {
+    name: 'macarons',
+    background: 'transparent',
+    theme: [
+      '#2ec7c9', '#b6a2de', '#5ab1ef', '#ffb980', '#d87a80',
+      '#8d98b3', '#e5cf0d', '#97b552', '#95706d', '#dc69aa',
+      '#07a2a4', '#9a7fd1', '#588dd5', '#f5994e', '#c05050',
+      '#59678c', '#c9ab00', '#7eb00a', '#6f5553', '#c14089'
+    ]
+  },
+  {
+    name: 'roma',
+    background: 'transparent',
+    theme: [
+      '#E01F54', '#001852', '#f5e8c8', '#b8d2c7', '#c6b38e',
+      '#a4d8c2', '#f3d999', '#d3758f', '#dcc392', '#2e4783',
+      '#82b6e9', '#ff6347', '#a092f1', '#0a915d', '#eaf889',
+      '#6699FF', '#ff6666', '#3cb371', '#d5b158', '#38b6b6'
+    ]
+  },
+  {
+    name: 'shine',
+    background: 'transparent',
+    theme: [
+      '#c12e34', '#e6b600', '#0098d9', '#2b821d', '#005eaa',
+      '#339ca8', '#cda819', '#32a487'
+    ]
+  },
+  {
+    name: 'purple-passion',
+    background: 'rgba(91,92,110,1)',
+    theme: [
+      '#8a7ca8', '#e098c7', '#8fd3e8', '#71669e', '#cc70af',
+      '#7cb4cc'
+    ]
+  }
+]
+
+// 默认主题配置
+const createDefaultAxes = () => {
+  const types = ['all', 'category', 'value', 'log', 'time']
+  const names = ['通用', '类目', '数值', '对数', '时间']
+  return types.map((type, i) => ({
+    type,
+    name: names[i] + '坐标轴',
+    axisLineShow: type !== 'value' && type !== 'log',
+    axisLineColor: '#6E7079',
+    axisTickShow: type !== 'value' && type !== 'log',
+    axisTickColor: '#6E7079',
+    axisLabelShow: true,
+    axisLabelColor: '#6E7079',
+    splitLineShow: type !== 'category' && type !== 'time',
+    splitLineColor: ['#E0E6F1'],
+    splitAreaShow: false,
+    splitAreaColor: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)']
+  }))
+}
+
+export const createDefaultTheme = (): ThemeData => {
+  const axes = createDefaultAxes()
+  return {
+    seriesCnt: 3,
+    backgroundColor: 'rgba(0, 0, 0, 0)',
+    titleColor: '#464646',
+    subtitleColor: '#6E7079',
+    textColorShow: false,
+    textColor: '#333',
+    markTextColor: '#eee',
+    color: [
+      '#5470c6',
+      '#91cc75',
+      '#fac858',
+      '#ee6666',
+      '#73c0de',
+      '#3ba272',
+      '#fc8452',
+      '#9a60b4',
+      '#ea7ccc'
+    ],
+    borderColor: '#ccc',
+    borderWidth: 0,
+    visualMapColor: ['#bf444c', '#d88273', '#f6efa6'],
+    legendTextColor: '#333',
+    kColor: '#eb5454',
+    kColor0: '#47b262',
+    kBorderColor: '#eb5454',
+    kBorderColor0: '#47b262',
+    kBorderWidth: 1,
+    lineWidth: 2,
+    symbolSize: 4,
+    symbol: 'emptyCircle',
+    symbolBorderWidth: 1,
+    lineSmooth: false,
+    graphLineWidth: 1,
+    graphLineColor: '#aaa',
+    mapLabelColor: '#000',
+    mapLabelColorE: 'rgb(100,0,0)',
+    mapBorderColor: '#444',
+    mapBorderColorE: '#444',
+    mapBorderWidth: 0.5,
+    mapBorderWidthE: 1,
+    mapAreaColor: '#eee',
+    mapAreaColorE: 'rgba(255,215,0,0.8)',
+    axes,
+    axisSeperateSetting: true,
+    axis: [axes[0]],
+    toolboxColor: '#999',
+    toolboxEmphasisColor: '#666',
+    tooltipAxisColor: '#ccc',
+    tooltipAxisWidth: 1,
+    timelineLineColor: '#DAE1F5',
+    timelineLineWidth: 2,
+    timelineItemColor: '#A4B1D7',
+    timelineItemColorE: '#FFF',
+    timelineCheckColor: '#316bf3',
+    timelineCheckBorderColor: '#fff',
+    timelineItemBorderWidth: 1,
+    timelineControlColor: '#A4B1D7',
+    timelineControlBorderColor: '#A4B1D7',
+    timelineControlBorderWidth: 1,
+    timelineLabelColor: '#A4B1D7'
+  }
+}
+
+// 全局状态管理
+export const useThemeStore = () => {
+  const theme = reactive<ThemeData>(createDefaultTheme())
+  const themeName = ref('customized')
+  const isPauseChartUpdating = ref(false)
+  const chartDisplay = reactive({
+    background: '#fff',
+    title: '#000'
+  })
+
+  const resetTheme = () => {
+    Object.assign(theme, createDefaultTheme())
+    themeName.value = 'customized'
+  }
+
+  const loadPreDefinedTheme = (preTheme: PreDefinedTheme) => {
+    theme.backgroundColor = preTheme.background
+    theme.color = [...preTheme.theme]
+    themeName.value = preTheme.name
+  }
+
+  const exportTheme = () => {
+    const exportData = { ...theme }
+    // 删除重复的 axis 选项,因为它已经包含在 theme.axes 中
+    const { axis, ...cleanedData } = exportData
+    return cleanedData
+  }
+
+  return {
+    theme,
+    themeName,
+    isPauseChartUpdating,
+    chartDisplay,
+    resetTheme,
+    loadPreDefinedTheme,
+    exportTheme
+  }
+}
diff --git a/src/style.css b/src/style.css
index f691315..1b18993 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1,79 +1,5 @@
-:root {
-  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
-  line-height: 1.5;
-  font-weight: 400;
-
-  color-scheme: light dark;
-  color: rgba(255, 255, 255, 0.87);
-  background-color: #242424;
-
-  font-synthesis: none;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
-
-a {
-  font-weight: 500;
-  color: #646cff;
-  text-decoration: inherit;
-}
-a:hover {
-  color: #535bf2;
-}
-
 body {
+  width: 100%;
+  height: 100%;
   margin: 0;
-  display: flex;
-  place-items: center;
-  min-width: 320px;
-  min-height: 100vh;
-}
-
-h1 {
-  font-size: 3.2em;
-  line-height: 1.1;
-}
-
-button {
-  border-radius: 8px;
-  border: 1px solid transparent;
-  padding: 0.6em 1.2em;
-  font-size: 1em;
-  font-weight: 500;
-  font-family: inherit;
-  background-color: #1a1a1a;
-  cursor: pointer;
-  transition: border-color 0.25s;
-}
-button:hover {
-  border-color: #646cff;
-}
-button:focus,
-button:focus-visible {
-  outline: 4px auto -webkit-focus-ring-color;
-}
-
-.card {
-  padding: 2em;
-}
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-  text-align: center;
-}
-
-@media (prefers-color-scheme: light) {
-  :root {
-    color: #213547;
-    background-color: #ffffff;
-  }
-  a:hover {
-    color: #747bff;
-  }
-  button {
-    background-color: #f9f9f9;
-  }
 }
diff --git a/src/types/theme.ts b/src/types/theme.ts
new file mode 100644
index 0000000..fe65437
--- /dev/null
+++ b/src/types/theme.ts
@@ -0,0 +1,104 @@
+// ECharts 主题类型定义
+export interface ThemeAxis {
+  type: string
+  name: string
+  axisLineShow: boolean
+  axisLineColor: string
+  axisTickShow: boolean
+  axisTickColor: string
+  axisLabelShow: boolean
+  axisLabelColor: string
+  splitLineShow: boolean
+  splitLineColor: string[]
+  splitAreaShow: boolean
+  splitAreaColor: string[]
+}
+
+export interface ThemeData {
+  // 基础配置
+  seriesCnt: number
+  backgroundColor: string
+  titleColor: string
+  subtitleColor: string
+  textColorShow: boolean
+  textColor: string
+  markTextColor: string
+
+  // 主色板
+  color: string[]
+
+  // 边框
+  borderColor: string
+  borderWidth: number
+
+  // 视觉映射
+  visualMapColor: string[]
+
+  // 图例
+  legendTextColor: string
+
+  // K线图
+  kColor: string
+  kColor0: string
+  kBorderColor: string
+  kBorderColor0: string
+  kBorderWidth: number
+
+  // 线条
+  lineWidth: number
+  symbolSize: number
+  symbol: string
+  symbolBorderWidth: number
+  lineSmooth: boolean
+
+  // 关系图
+  graphLineWidth: number
+  graphLineColor: string
+
+  // 地图
+  mapLabelColor: string
+  mapLabelColorE: string
+  mapBorderColor: string
+  mapBorderColorE: string
+  mapBorderWidth: number
+  mapBorderWidthE: number
+  mapAreaColor: string
+  mapAreaColorE: string
+
+  // 坐标轴
+  axes: ThemeAxis[]
+  axisSeperateSetting: boolean
+  axis: ThemeAxis[] | null
+
+  // 工具箱
+  toolboxColor: string
+  toolboxEmphasisColor: string
+
+  // 提示框
+  tooltipAxisColor: string
+  tooltipAxisWidth: number
+
+  // 时间轴
+  timelineLineColor: string
+  timelineLineWidth: number
+  timelineItemColor: string
+  timelineItemColorE: string
+  timelineCheckColor: string
+  timelineCheckBorderColor: string
+  timelineItemBorderWidth: number
+  timelineControlColor: string
+  timelineControlBorderColor: string
+  timelineControlBorderWidth: number
+  timelineLabelColor: string
+}
+
+export interface PreDefinedTheme {
+  name: string
+  background: string
+  theme: string[]
+}
+
+export interface ChartDisplay {
+  background: string
+  title: string
+}
diff --git a/src/utils/chartConfigs.ts b/src/utils/chartConfigs.ts
new file mode 100644
index 0000000..7ce05c3
--- /dev/null
+++ b/src/utils/chartConfigs.ts
@@ -0,0 +1,609 @@
+import type { EChartsOption } from 'echarts'
+
+// Chart configuration interface
+interface ChartConfig {
+  title: string
+  subtitle?: string
+  type: string
+  option: EChartsOption
+}
+
+// Generate random data helper functions
+function getRandomValue(max: number = 1000, min: number = 100): number {
+  return Math.floor(Math.random() * (max - min) + min)
+}
+
+function getRandomArray(length: number, max: number = 1000, min: number = 100): number[] {
+  return Array.from({ length }, () => getRandomValue(max, min))
+}
+
+// Chart configurations
+export function getChartConfigs(seriesCnt: number = 4): ChartConfig[] {
+  const axisCat = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
+  const legendData = Array.from({ length: seriesCnt }, (_, i) => `Series ${i + 1}`)
+
+  const commonGrid = {
+    left: 60,
+    right: 20,
+    top: 60,
+    bottom: 50
+  }
+
+  const commonTooltip = {
+    trigger: 'axis' as const
+  }
+
+  const commonToolbox = {
+    feature: {
+      restore: { show: true },
+      saveAsImage: { show: true },
+      dataView: { show: true },
+      dataZoom: { show: true }
+    }
+  }
+
+  const configs: ChartConfig[] = [
+    // Line Chart
+    {
+      title: 'Line Chart',
+      subtitle: 'Basic line chart example',
+      type: 'line',
+      option: {
+        title: {
+          text: 'Line Chart',
+          subtext: 'Basic line chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        grid: commonGrid,
+        tooltip: commonTooltip,
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'category',
+          data: axisCat
+        },
+        yAxis: {
+          type: 'value'
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'line' as const,
+          data: getRandomArray(axisCat.length, 800, 200),
+          markPoint: {
+            data: [{ name: 'Max', type: 'max' }]
+          }
+        }))
+      }
+    },
+
+    // Stacked Area Chart
+    {
+      title: 'Stacked Area Chart',
+      subtitle: 'Stacked area chart example',
+      type: 'area',
+      option: {
+        title: {
+          text: 'Stacked Area Chart',
+          subtext: 'Stacked area chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        grid: commonGrid,
+        tooltip: commonTooltip,
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'category',
+          data: axisCat,
+          boundaryGap: false
+        },
+        yAxis: {
+          type: 'value'
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'line' as const,
+          data: getRandomArray(axisCat.length, 800, 200),
+          areaStyle: {},
+          stack: 'total'
+        }))
+      }
+    },
+
+    // Bar Chart
+    {
+      title: 'Bar Chart',
+      subtitle: 'Basic bar chart example',
+      type: 'bar',
+      option: {
+        title: {
+          text: 'Bar Chart',
+          subtext: 'Basic bar chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        grid: commonGrid,
+        tooltip: commonTooltip,
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'category',
+          data: axisCat
+        },
+        yAxis: {
+          type: 'value'
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'bar' as const,
+          data: getRandomArray(axisCat.length, 800, 200),
+          markPoint: {
+            data: [{ name: 'Max', type: 'max' }]
+          }
+        }))
+      }
+    },
+
+    // Stacked Bar Chart
+    {
+      title: 'Stacked Bar Chart',
+      subtitle: 'Stacked bar chart example',
+      type: 'stackedBar',
+      option: {
+        title: {
+          text: 'Stacked Bar Chart',
+          subtext: 'Stacked bar chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        grid: commonGrid,
+        tooltip: commonTooltip,
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'category',
+          data: axisCat
+        },
+        yAxis: {
+          type: 'value'
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'bar' as const,
+          data: getRandomArray(axisCat.length, 800, 200),
+          stack: 'total'
+        }))
+      }
+    },
+
+    // Scatter Chart
+    {
+      title: 'Scatter Chart',
+      subtitle: 'Basic scatter chart example',
+      type: 'scatter',
+      option: {
+        title: {
+          text: 'Scatter Chart',
+          subtext: 'Basic scatter chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        grid: commonGrid,
+        tooltip: {
+          trigger: 'item' as const
+        },
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'value'
+        },
+        yAxis: {
+          type: 'value'
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'scatter' as const,
+          data: Array.from({ length: 32 }, () => [
+            getRandomValue(600, 100),
+            getRandomValue(600, 100)
+          ])
+        }))
+      }
+    },
+
+    // Pie Chart
+    {
+      title: 'Pie Chart',
+      subtitle: 'Basic pie chart example',
+      type: 'pie',
+      option: {
+        title: {
+          text: 'Pie Chart',
+          subtext: 'Basic pie chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        tooltip: {
+          trigger: 'item',
+          formatter: '{a} <br/>{b}: {c} ({d}%)'
+        },
+        toolbox: commonToolbox,
+        series: [{
+          name: 'Data',
+          type: 'pie' as const,
+          radius: '50%',
+          data: legendData.map(name => ({
+            name,
+            value: getRandomValue(800, 200)
+          })),
+          emphasis: {
+            itemStyle: {
+              shadowBlur: 10,
+              shadowOffsetX: 0,
+              shadowColor: 'rgba(0, 0, 0, 0.5)'
+            }
+          }
+        }]
+      }
+    },
+
+    // Radar Chart
+    {
+      title: 'Radar Chart',
+      subtitle: 'Basic radar chart example',
+      type: 'radar',
+      option: {
+        title: {
+          text: 'Radar Chart',
+          subtext: 'Basic radar chart example'
+        },
+        legend: {
+          data: legendData,
+          right: 0
+        },
+        tooltip: commonTooltip,
+        toolbox: commonToolbox,
+        radar: {
+          indicator: axisCat.map(name => ({ name, max: 1000 })),
+          center: ['50%', '60%']
+        },
+        series: legendData.map(name => ({
+          name,
+          type: 'radar' as const,
+          data: [{
+            value: getRandomArray(axisCat.length, 800, 200),
+            name
+          }]
+        }))
+      }
+    },
+
+    // Candlestick Chart (K-Line)
+    {
+      title: 'Candlestick Chart',
+      subtitle: 'K-line chart with data zoom',
+      type: 'candlestick',
+      option: {
+        title: {
+          text: 'Candlestick Chart',
+          subtext: 'K-line chart with data zoom'
+        },
+        grid: {
+          left: 60,
+          right: 20,
+          top: 40,
+          bottom: 70
+        },
+        tooltip: {
+          trigger: 'axis' as const
+        },
+        toolbox: {
+          show: true,
+          feature: {
+            dataZoom: { show: true },
+            dataView: { show: true },
+            restore: { show: true }
+          }
+        },
+        dataZoom: {
+          show: true,
+          realtime: true,
+          start: 50,
+          end: 100
+        },
+        xAxis: {
+          type: 'category',
+          data: Array.from({ length: 20 }, (_, i) => `Day ${i + 1}`)
+        },
+        yAxis: {
+          type: 'value',
+          scale: true
+        },
+        series: [{
+          name: 'Stock Price',
+          type: 'candlestick' as const,
+          data: Array.from({ length: 20 }, () => {
+            const open = getRandomValue(2400, 2200)
+            const close = getRandomValue(2400, 2200)
+            const low = Math.min(open, close) - getRandomValue(50, 0)
+            const high = Math.max(open, close) + getRandomValue(50, 0)
+            return [open, close, low, high]
+          })
+        }]
+      }
+    },
+
+    // Heatmap
+    {
+      title: 'Heatmap',
+      subtitle: 'Basic heatmap example',
+      type: 'heatmap',
+      option: {
+        title: {
+          text: 'Heatmap',
+          subtext: 'Basic heatmap example'
+        },
+        grid: {
+          left: 90,
+          right: 20,
+          top: 40,
+          bottom: 40
+        },
+        tooltip: {
+          trigger: 'item' as const
+        },
+        toolbox: commonToolbox,
+        xAxis: {
+          type: 'category',
+          data: ['12a', '1a', '2a', '3a', '4a', '5a', '6a', '7a', '8a', '9a', '10a', '11a']
+        },
+        yAxis: {
+          type: 'category',
+          data: ['Sat', 'Fri', 'Thu', 'Wed', 'Tue', 'Mon', 'Sun']
+        },
+        visualMap: {
+          min: 1,
+          max: 10,
+          calculable: true
+        },
+        series: [{
+          name: 'Heat',
+          type: 'heatmap' as const,
+          data: Array.from({ length: 84 }, (_, i) => {
+            const x = i % 12
+            const y = Math.floor(i / 12)
+            return [x, y, getRandomValue(10, 1)]
+          }),
+          label: {
+            show: true
+          }
+        }]
+      }
+    },
+
+    // Treemap
+    {
+      title: 'Treemap',
+      subtitle: 'Basic treemap example',
+      type: 'treemap',
+      option: {
+        title: {
+          text: 'Treemap',
+          subtext: 'Basic treemap example'
+        },
+        tooltip: {
+          trigger: 'item' as const,
+          formatter: '{b}: {c}'
+        },
+        toolbox: commonToolbox,
+        series: [{
+          type: 'treemap' as const,
+          data: [
+            {
+              name: 'Category A',
+              value: getRandomValue(1000, 500),
+              children: [
+                { name: 'A1', value: getRandomValue(300, 100) },
+                { name: 'A2', value: getRandomValue(300, 100) },
+                { name: 'A3', value: getRandomValue(300, 100) }
+              ]
+            },
+            {
+              name: 'Category B',
+              value: getRandomValue(1000, 500),
+              children: [
+                { name: 'B1', value: getRandomValue(300, 100) },
+                { name: 'B2', value: getRandomValue(300, 100) }
+              ]
+            },
+            {
+              name: 'Category C',
+              value: getRandomValue(1000, 500),
+              children: [
+                { name: 'C1', value: getRandomValue(300, 100) },
+                { name: 'C2', value: getRandomValue(300, 100) },
+                { name: 'C3', value: getRandomValue(300, 100) },
+                { name: 'C4', value: getRandomValue(300, 100) }
+              ]
+            }
+          ]
+        }]
+      }
+    },
+
+    // Graph/Network Chart
+    {
+      title: 'Graph Chart',
+      subtitle: 'Network graph example',
+      type: 'graph',
+      option: {
+        title: {
+          text: 'Graph Chart',
+          subtext: 'Network graph example'
+        },
+        tooltip: {
+          trigger: 'item' as const
+        },
+        toolbox: commonToolbox,
+        legend: {
+          data: ['Category 0', 'Category 1', 'Category 2', 'Category 3']
+        },
+        series: [{
+          type: 'graph' as const,
+          layout: 'force',
+          roam: true,
+          label: {
+            show: true,
+            fontSize: 12
+          },
+          force: {
+            repulsion: 400,
+            edgeLength: 150
+          },
+          categories: [
+            { name: 'Category 0' },
+            { name: 'Category 1' },
+            { name: 'Category 2' },
+            { name: 'Category 3' }
+          ],
+          data: [
+            { id: '0', name: 'Node 1', symbolSize: 30, value: 30, category: 0 },
+            { id: '1', name: 'Node 2', symbolSize: 25, value: 25, category: 1 },
+            { id: '2', name: 'Node 3', symbolSize: 35, value: 35, category: 0 },
+            { id: '3', name: 'Node 4', symbolSize: 20, value: 20, category: 2 },
+            { id: '4', name: 'Node 5', symbolSize: 40, value: 40, category: 1 },
+            { id: '5', name: 'Node 6', symbolSize: 28, value: 28, category: 3 },
+            { id: '6', name: 'Node 7', symbolSize: 32, value: 32, category: 2 },
+            { id: '7', name: 'Node 8', symbolSize: 22, value: 22, category: 0 },
+            { id: '8', name: 'Node 9', symbolSize: 38, value: 38, category: 3 },
+            { id: '9', name: 'Node 10', symbolSize: 26, value: 26, category: 1 }
+          ],
+          links: [
+            { source: '0', target: '1' },
+            { source: '0', target: '2' },
+            { source: '1', target: '3' },
+            { source: '2', target: '4' },
+            { source: '3', target: '5' },
+            { source: '4', target: '6' },
+            { source: '5', target: '7' },
+            { source: '6', target: '8' },
+            { source: '7', target: '9' },
+            { source: '8', target: '0' },
+            { source: '9', target: '2' },
+            { source: '1', target: '4' },
+            { source: '3', target: '7' },
+            { source: '5', target: '9' }
+          ],
+          lineStyle: {
+            curveness: 0.3
+          }
+        }]
+      }
+    },
+
+    // Timeline Chart
+    {
+      title: 'Timeline Chart',
+      subtitle: 'Timeline with multiple series',
+      type: 'timeline',
+      option: {
+        baseOption: {
+          timeline: {
+            axisType: 'category',
+            autoPlay: false,
+            data: ['2020', '2021', '2022', '2023'],
+            label: {
+              formatter: (value: string | number) => value.toString()
+            }
+          },
+          title: {
+            text: 'Timeline Chart',
+            subtext: 'Timeline with multiple series'
+          },
+          tooltip: {
+            trigger: 'axis' as const
+          },
+          legend: {
+            data: ['Primary', 'Secondary', 'Tertiary'],
+            right: 0
+          },
+          grid: {
+            top: 80,
+            bottom: 100,
+            left: 60,
+            right: 20
+          },
+          xAxis: {
+            type: 'category',
+            data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
+            splitLine: { show: false }
+          },
+          yAxis: {
+            type: 'value',
+            name: 'Value'
+          },
+          series: [
+            { name: 'Primary', type: 'bar' as const },
+            { name: 'Secondary', type: 'bar' as const },
+            { name: 'Tertiary', type: 'bar' as const }
+          ]
+        },
+        options: [
+          {
+            title: { text: 'Timeline Chart - 2020' },
+            series: [
+              { data: getRandomArray(6, 800, 400) },
+              { data: getRandomArray(6, 600, 300) },
+              { data: getRandomArray(6, 400, 200) }
+            ]
+          },
+          {
+            title: { text: 'Timeline Chart - 2021' },
+            series: [
+              { data: getRandomArray(6, 900, 500) },
+              { data: getRandomArray(6, 700, 400) },
+              { data: getRandomArray(6, 500, 300) }
+            ]
+          },
+          {
+            title: { text: 'Timeline Chart - 2022' },
+            series: [
+              { data: getRandomArray(6, 1000, 600) },
+              { data: getRandomArray(6, 800, 500) },
+              { data: getRandomArray(6, 600, 400) }
+            ]
+          },
+          {
+            title: { text: 'Timeline Chart - 2023' },
+            series: [
+              { data: getRandomArray(6, 1100, 700) },
+              { data: getRandomArray(6, 900, 600) },
+              { data: getRandomArray(6, 700, 500) }
+            ]
+          }
+        ]
+      }
+    }
+  ]
+
+  return configs
+}
+
+// Get specific chart by type
+export function getChartByType(type: string, seriesCnt: number = 4): ChartConfig | undefined {
+  const configs = getChartConfigs(seriesCnt)
+  return configs.find(config => config.type === type)
+}
+
+// Get all available chart types
+export function getAvailableChartTypes(): string[] {
+  return ['line', 'area', 'bar', 'stackedBar', 'scatter', 'pie', 'radar', 'candlestick', 'heatmap', 'treemap', 'graph', 'timeline']
+}
diff --git a/src/utils/chartOptions.ts b/src/utils/chartOptions.ts
new file mode 100644
index 0000000..427d9bd
--- /dev/null
+++ b/src/utils/chartOptions.ts
@@ -0,0 +1,328 @@
+import type { ThemeData } from '../types/theme'
+
+export interface ChartOption {
+  title?: any
+  legend?: any
+  tooltip?: any
+  xAxis?: any
+  yAxis?: any
+  series?: any[]
+  toolbox?: any
+  grid?: any
+  [key: string]: any
+}
+
+export const generateChartOptions = (theme: ThemeData) => {
+  const groupCnt = theme.seriesCnt
+  const axisCat = ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
+  const dataLength = axisCat.length
+
+  const getLegend = () => {
+    const data = []
+    for (let i = 0; i < groupCnt; i++) {
+      data.push('第' + (i + 1) + '组')
+    }
+    return data
+  }
+
+  const getSeriesRandomValue = (typeName: string) => {
+    const data = []
+    const dlen = typeName === 'scatter' ? 32 : dataLength
+
+    for (let i = 0; i < groupCnt; i++) {
+      const group = []
+      for (let j = 0; j < dlen; j++) {
+        let v: any
+        if (typeName === 'scatter') {
+          v = [
+            Math.floor((Math.random() * 600 + 400) * (groupCnt - i) / groupCnt),
+            Math.floor((Math.random() * 600 + 400) * (groupCnt - i) / groupCnt)
+          ]
+        } else {
+          v = Math.floor((Math.random() * 600 + 400) * (groupCnt - i) / groupCnt)
+        }
+        group.push(v)
+      }
+
+      data.push({
+        type: typeName,
+        data: typeName === 'radar' ? [group] : group,
+        name: '第' + (i + 1) + '组',
+        markPoint: ['line', 'bar', 'scatter'].includes(typeName) ? {
+          data: [{
+            name: '最高',
+            type: 'max'
+          }]
+        } : undefined
+      })
+    }
+    return data
+  }
+
+  const getSeriesRandomStack = (typeName: string) => {
+    const data = getSeriesRandomValue(typeName)
+    data.forEach((item: any) => {
+      item.areaStyle = { normal: {} }
+      item.stack = 'total'
+    })
+    return data
+  }
+
+  const getSeriesRandomGroup = (typeName: string) => {
+    const data = []
+    for (let i = 0; i < groupCnt; i++) {
+      data.push({
+        name: getLegend()[i],
+        value: Math.floor((Math.random() * 800 + 200) * (groupCnt - i) / groupCnt)
+      })
+    }
+    return {
+      type: typeName,
+      data: data
+    }
+  }
+
+  const getIndicator = () => {
+    return axisCat.map(name => ({
+      name,
+      max: 1000
+    }))
+  }
+
+  // 基础配置
+  const baseOptions = {
+    title: {
+      text: '示例图表',
+      textStyle: {
+        color: theme.titleColor
+      }
+    },
+    legend: {
+      data: getLegend(),
+      right: 20,
+      textStyle: {
+        color: theme.legendTextColor
+      }
+    },
+    tooltip: {
+      trigger: 'axis',
+      axisPointer: {
+        lineStyle: {
+          color: theme.tooltipAxisColor,
+          width: theme.tooltipAxisWidth
+        }
+      }
+    },
+    toolbox: {
+      feature: {
+        restore: { show: true },
+        saveAsImage: { show: true }
+      },
+      iconStyle: {
+        normal: {
+          borderColor: theme.toolboxColor
+        },
+        emphasis: {
+          borderColor: theme.toolboxEmphasisColor
+        }
+      }
+    },
+    grid: {
+      left: '3%',
+      right: '4%',
+      bottom: '3%',
+      containLabel: true
+    }
+  }
+
+  // 图表配置集合
+  const chartOptions: { [key: string]: ChartOption } = {
+    // 柱状图
+    bar: {
+      ...baseOptions,
+      xAxis: {
+        type: 'category',
+        data: axisCat,
+        axisLine: {
+          show: theme.axes[1].axisLineShow,
+          lineStyle: { color: theme.axes[1].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[1].axisTickShow,
+          lineStyle: { color: theme.axes[1].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[1].axisLabelShow,
+          color: theme.axes[1].axisLabelColor
+        }
+      },
+      yAxis: {
+        type: 'value',
+        axisLine: {
+          show: theme.axes[2].axisLineShow,
+          lineStyle: { color: theme.axes[2].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[2].axisTickShow,
+          lineStyle: { color: theme.axes[2].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[2].axisLabelShow,
+          color: theme.axes[2].axisLabelColor
+        },
+        splitLine: {
+          show: theme.axes[2].splitLineShow,
+          lineStyle: { color: theme.axes[2].splitLineColor }
+        }
+      },
+      series: getSeriesRandomValue('bar')
+    },
+
+    // 折线图
+    line: {
+      ...baseOptions,
+      xAxis: {
+        type: 'category',
+        data: axisCat,
+        axisLine: {
+          show: theme.axes[1].axisLineShow,
+          lineStyle: { color: theme.axes[1].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[1].axisTickShow,
+          lineStyle: { color: theme.axes[1].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[1].axisLabelShow,
+          color: theme.axes[1].axisLabelColor
+        }
+      },
+      yAxis: {
+        type: 'value',
+        axisLine: {
+          show: theme.axes[2].axisLineShow,
+          lineStyle: { color: theme.axes[2].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[2].axisTickShow,
+          lineStyle: { color: theme.axes[2].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[2].axisLabelShow,
+          color: theme.axes[2].axisLabelColor
+        },
+        splitLine: {
+          show: theme.axes[2].splitLineShow,
+          lineStyle: { color: theme.axes[2].splitLineColor }
+        }
+      },
+      series: getSeriesRandomValue('line')
+    },
+
+    // 饼图
+    pie: {
+      ...baseOptions,
+      tooltip: {
+        trigger: 'item',
+        formatter: '{a} <br/>{b}: {c} ({d}%)'
+      },
+      series: [getSeriesRandomGroup('pie')]
+    },
+
+    // 散点图
+    scatter: {
+      ...baseOptions,
+      xAxis: {
+        type: 'value',
+        axisLine: {
+          show: theme.axes[2].axisLineShow,
+          lineStyle: { color: theme.axes[2].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[2].axisTickShow,
+          lineStyle: { color: theme.axes[2].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[2].axisLabelShow,
+          color: theme.axes[2].axisLabelColor
+        },
+        splitLine: {
+          show: theme.axes[2].splitLineShow,
+          lineStyle: { color: theme.axes[2].splitLineColor }
+        }
+      },
+      yAxis: {
+        type: 'value',
+        axisLine: {
+          show: theme.axes[2].axisLineShow,
+          lineStyle: { color: theme.axes[2].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[2].axisTickShow,
+          lineStyle: { color: theme.axes[2].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[2].axisLabelShow,
+          color: theme.axes[2].axisLabelColor
+        },
+        splitLine: {
+          show: theme.axes[2].splitLineShow,
+          lineStyle: { color: theme.axes[2].splitLineColor }
+        }
+      },
+      series: getSeriesRandomValue('scatter')
+    },
+
+    // 雷达图
+    radar: {
+      ...baseOptions,
+      radar: {
+        indicator: getIndicator()
+      },
+      series: getSeriesRandomValue('radar')
+    },
+
+    // 面积图
+    area: {
+      ...baseOptions,
+      xAxis: {
+        type: 'category',
+        data: axisCat,
+        axisLine: {
+          show: theme.axes[1].axisLineShow,
+          lineStyle: { color: theme.axes[1].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[1].axisTickShow,
+          lineStyle: { color: theme.axes[1].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[1].axisLabelShow,
+          color: theme.axes[1].axisLabelColor
+        }
+      },
+      yAxis: {
+        type: 'value',
+        axisLine: {
+          show: theme.axes[2].axisLineShow,
+          lineStyle: { color: theme.axes[2].axisLineColor }
+        },
+        axisTick: {
+          show: theme.axes[2].axisTickShow,
+          lineStyle: { color: theme.axes[2].axisTickColor }
+        },
+        axisLabel: {
+          show: theme.axes[2].axisLabelShow,
+          color: theme.axes[2].axisLabelColor
+        },
+        splitLine: {
+          show: theme.axes[2].splitLineShow,
+          lineStyle: { color: theme.axes[2].splitLineColor }
+        }
+      },
+      series: getSeriesRandomStack('line')
+    }
+  }
+
+  return chartOptions
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org