create-bubbles 0.1.13 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/dist/index.js +7 -8
  2. package/package.json +3 -3
  3. package/template-nextjs-vinext-eslint/.dockerignore +0 -3
  4. package/template-nextjs-vinext-eslint/.vscode/settings.json +0 -53
  5. package/template-nextjs-vinext-eslint/Dockerfile +0 -21
  6. package/template-nextjs-vinext-eslint/README.md +0 -100
  7. package/template-nextjs-vinext-eslint/commitlint.config.js +0 -1
  8. package/template-nextjs-vinext-eslint/docker-compose.yaml +0 -22
  9. package/template-nextjs-vinext-eslint/eslint.config.js +0 -20
  10. package/template-nextjs-vinext-eslint/lefthook.yml +0 -11
  11. package/template-nextjs-vinext-eslint/next.config.ts +0 -8
  12. package/template-nextjs-vinext-eslint/nginx.conf +0 -14
  13. package/template-nextjs-vinext-eslint/package.json +0 -50
  14. package/template-nextjs-vinext-eslint/pnpm-workspace.yaml +0 -7
  15. package/template-nextjs-vinext-eslint/public/file.svg +0 -1
  16. package/template-nextjs-vinext-eslint/public/globe.svg +0 -1
  17. package/template-nextjs-vinext-eslint/public/logo-white.svg +0 -128
  18. package/template-nextjs-vinext-eslint/public/next.svg +0 -1
  19. package/template-nextjs-vinext-eslint/public/vercel.svg +0 -1
  20. package/template-nextjs-vinext-eslint/public/window.svg +0 -1
  21. package/template-nextjs-vinext-eslint/src/app/_components/Header/header.module.css +0 -0
  22. package/template-nextjs-vinext-eslint/src/app/_components/Header/header.tsx +0 -7
  23. package/template-nextjs-vinext-eslint/src/app/_components/Main/index.tsx +0 -13
  24. package/template-nextjs-vinext-eslint/src/app/antd-provider.tsx +0 -30
  25. package/template-nextjs-vinext-eslint/src/app/icon.svg +0 -26
  26. package/template-nextjs-vinext-eslint/src/app/layout.tsx +0 -68
  27. package/template-nextjs-vinext-eslint/src/app/page.module.css +0 -141
  28. package/template-nextjs-vinext-eslint/src/app/page.tsx +0 -43
  29. package/template-nextjs-vinext-eslint/src/app/uno-css.tsx +0 -7
  30. package/template-nextjs-vinext-eslint/src/assets/icon/logo-white.svg +0 -128
  31. package/template-nextjs-vinext-eslint/src/assets/icon/logo.svg +0 -26
  32. package/template-nextjs-vinext-eslint/src/assets/image/QR.png +0 -0
  33. package/template-nextjs-vinext-eslint/src/assets/image/banner_1.png +0 -0
  34. package/template-nextjs-vinext-eslint/src/assets/image/banner_2.png +0 -0
  35. package/template-nextjs-vinext-eslint/src/assets/image/banner_3.png +0 -0
  36. package/template-nextjs-vinext-eslint/src/assets/image/banner_4.png +0 -0
  37. package/template-nextjs-vinext-eslint/src/assets/image/banner_top.png +0 -0
  38. package/template-nextjs-vinext-eslint/src/assets/image/icon_title_left.png +0 -0
  39. package/template-nextjs-vinext-eslint/src/assets/image/icon_title_right.png +0 -0
  40. package/template-nextjs-vinext-eslint/src/assets/image/img.png +0 -0
  41. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_COCT.png +0 -0
  42. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/207/347/247/221.png +0 -0
  43. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/205/264.png +0 -0
  44. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/206/266/345/273/272/345/267/245.png +0 -0
  45. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/344/270/255/351/223/201.png +0 -0
  46. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/344/272/224/345/206/266.png +0 -0
  47. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/344/272/244/351/200/232/345/273/272/350/256/276.png +0 -0
  48. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/345/273/272/344/270/232.png +0 -0
  49. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/345/273/272/347/255/221/347/247/221/345/255/246/351/231/242.png +0 -0
  50. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/347/224/265/345/273/272.png +0 -0
  51. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/344/270/255/345/233/275/351/223/201/345/273/272.png +0 -0
  52. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/345/256/234/351/200/232/344/270/226/347/272/252.png +0 -0
  53. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/346/225/260/347/273/264/347/251/272/351/227/264.png +0 -0
  54. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/346/226/260/346/230/212/350/276/260/345/273/272/350/256/276.png +0 -0
  55. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/346/236/227/345/220/214/346/243/252/345/233/275/351/231/205.png +0 -0
  56. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/346/270/235/351/232/206/351/233/206/345/233/242.png +0 -0
  57. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/347/273/264/345/241/224/347/247/221/346/212/200.png +0 -0
  58. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/350/205/276/350/256/257.png +0 -0
  59. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/350/265/233/350/277/252/344/277/241/346/201/257.png +0 -0
  60. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/344/272/244/351/200/232/345/244/247/345/255/246.png +0 -0
  61. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/344/272/244/351/200/232/350/201/214/344/270/232/345/255/246/351/231/242.png +0 -0
  62. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/345/244/247/345/255/246.png +0 -0
  63. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/345/267/245/345/225/206/350/201/214/344/270/232/345/255/246/351/231/242.png +0 -0
  64. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/345/267/245/347/250/213/350/201/214/344/270/232/346/212/200/346/234/257/345/255/246/351/231/242.png +0 -0
  65. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/207/215/345/272/206/345/273/272/345/267/245.png +0 -0
  66. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/230/277/351/207/214/344/272/221.png +0 -0
  67. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/231/206/345/206/233/345/206/233/345/214/273/345/244/247/345/255/246.png +0 -0
  68. package/template-nextjs-vinext-eslint/src/assets/image/parteners/logo_/351/276/231/346/271/226.png +0 -0
  69. package/template-nextjs-vinext-eslint/src/styles/globals.css +0 -47
  70. package/template-nextjs-vinext-eslint/src/types/vite-env.d.ts +0 -18
  71. package/template-nextjs-vinext-eslint/src/utils/env.ts +0 -14
  72. package/template-nextjs-vinext-eslint/src/utils/index.ts +0 -0
  73. package/template-nextjs-vinext-eslint/src/utils/request/core/index.ts +0 -182
  74. package/template-nextjs-vinext-eslint/src/utils/request/core/utils.ts +0 -30
  75. package/template-nextjs-vinext-eslint/src/utils/request/index.ts +0 -48
  76. package/template-nextjs-vinext-eslint/tsconfig.json +0 -34
  77. package/template-nextjs-vinext-eslint/uno.config.ts +0 -8
  78. package/template-nextjs-vinext-eslint/vite.config.ts +0 -8
  79. package/template-react-rsbuild-biome/.env +0 -5
  80. package/template-react-rsbuild-biome/.env.development +0 -1
  81. package/template-react-rsbuild-biome/.env.production +0 -1
  82. package/template-react-rsbuild-biome/.prettierignore +0 -34
  83. package/template-react-rsbuild-biome/.prettierrc +0 -16
  84. package/template-react-rsbuild-biome/.vscode/settings.json +0 -10
  85. package/template-react-rsbuild-biome/README.md +0 -29
  86. package/template-react-rsbuild-biome/biome.json +0 -116
  87. package/template-react-rsbuild-biome/commitlint.config.js +0 -1
  88. package/template-react-rsbuild-biome/index.html +0 -7
  89. package/template-react-rsbuild-biome/lefthook.yml +0 -14
  90. package/template-react-rsbuild-biome/package.json +0 -42
  91. package/template-react-rsbuild-biome/public/.gitkeep +0 -0
  92. package/template-react-rsbuild-biome/rsbuild.config.ts +0 -44
  93. package/template-react-rsbuild-biome/src/App.tsx +0 -9
  94. package/template-react-rsbuild-biome/src/assets/font/AlimamaShuHeiTi-Bold.ttf +0 -0
  95. package/template-react-rsbuild-biome/src/assets/icon/logo.svg +0 -7
  96. package/template-react-rsbuild-biome/src/components/Loading/PageLoading.tsx +0 -11
  97. package/template-react-rsbuild-biome/src/env.d.ts +0 -1
  98. package/template-react-rsbuild-biome/src/index.tsx +0 -18
  99. package/template-react-rsbuild-biome/src/layout/default/index.tsx +0 -10
  100. package/template-react-rsbuild-biome/src/pages/home/index.tsx +0 -5
  101. package/template-react-rsbuild-biome/src/router/index.tsx +0 -38
  102. package/template-react-rsbuild-biome/src/store/index.ts +0 -0
  103. package/template-react-rsbuild-biome/src/store/modules/user.ts +0 -11
  104. package/template-react-rsbuild-biome/src/styles/fonts.scss +0 -4
  105. package/template-react-rsbuild-biome/src/styles/index.scss +0 -19
  106. package/template-react-rsbuild-biome/src/styles/variables.scss +0 -4
  107. package/template-react-rsbuild-biome/src/types/auto-import.d.ts +0 -49
  108. package/template-react-rsbuild-biome/src/utils/env.ts +0 -10
  109. package/template-react-rsbuild-biome/src/utils/request/core/index.ts +0 -166
  110. package/template-react-rsbuild-biome/src/utils/request/core/utils.ts +0 -38
  111. package/template-react-rsbuild-biome/src/utils/request/index.ts +0 -43
  112. package/template-react-rsbuild-biome/tsconfig.json +0 -35
  113. package/template-react-rsbuild-biome/uno.config.ts +0 -8
  114. package/template-taro-vue-eslint/.editorconfig +0 -12
  115. package/template-taro-vue-eslint/.env +0 -3
  116. package/template-taro-vue-eslint/.env.development +0 -5
  117. package/template-taro-vue-eslint/.env.production +0 -5
  118. package/template-taro-vue-eslint/.vscode/settings.json +0 -57
  119. package/template-taro-vue-eslint/babel.config.js +0 -12
  120. package/template-taro-vue-eslint/commitlint.config.mjs +0 -1
  121. package/template-taro-vue-eslint/config/dev.ts +0 -27
  122. package/template-taro-vue-eslint/config/index.ts +0 -129
  123. package/template-taro-vue-eslint/config/output-root.ts +0 -11
  124. package/template-taro-vue-eslint/config/prod.ts +0 -39
  125. package/template-taro-vue-eslint/config/release.ts +0 -113
  126. package/template-taro-vue-eslint/eslint.config.mjs +0 -22
  127. package/template-taro-vue-eslint/lefthook.yaml +0 -13
  128. package/template-taro-vue-eslint/package.json +0 -115
  129. package/template-taro-vue-eslint/patches/@tarojs__plugin-mini-ci.patch +0 -13
  130. package/template-taro-vue-eslint/pnpm-workspace.yaml +0 -2
  131. package/template-taro-vue-eslint/project.config.json +0 -16
  132. package/template-taro-vue-eslint/src/api/common/upload.ts +0 -53
  133. package/template-taro-vue-eslint/src/app.config.ts +0 -19
  134. package/template-taro-vue-eslint/src/app.ts +0 -14
  135. package/template-taro-vue-eslint/src/assets/image/.gitkeep +0 -0
  136. package/template-taro-vue-eslint/src/index.html +0 -17
  137. package/template-taro-vue-eslint/src/pages/example/upload/index.config.ts +0 -3
  138. package/template-taro-vue-eslint/src/pages/example/upload/index.module.scss +0 -4
  139. package/template-taro-vue-eslint/src/pages/example/upload/index.vue +0 -71
  140. package/template-taro-vue-eslint/src/pages/index/index.config.ts +0 -3
  141. package/template-taro-vue-eslint/src/pages/index/index.module.scss +0 -4
  142. package/template-taro-vue-eslint/src/pages/index/index.vue +0 -71
  143. package/template-taro-vue-eslint/src/store/index.ts +0 -10
  144. package/template-taro-vue-eslint/src/store/modules/user.ts +0 -15
  145. package/template-taro-vue-eslint/src/store/taroStorage.ts +0 -7
  146. package/template-taro-vue-eslint/src/styles/index.css +0 -1
  147. package/template-taro-vue-eslint/src/styles/nut-theme.css +0 -4
  148. package/template-taro-vue-eslint/src/utils/env.ts +0 -13
  149. package/template-taro-vue-eslint/src/utils/index.ts +0 -40
  150. package/template-taro-vue-eslint/src/utils/request/core/index.ts +0 -193
  151. package/template-taro-vue-eslint/src/utils/request/core/utils.ts +0 -30
  152. package/template-taro-vue-eslint/src/utils/request/index.ts +0 -73
  153. package/template-taro-vue-eslint/tsconfig.json +0 -30
  154. package/template-taro-vue-eslint/types/components.d.ts +0 -12
  155. package/template-taro-vue-eslint/types/global.d.ts +0 -31
  156. package/template-taro-vue-eslint/types/vue.d.ts +0 -10
  157. package/template-taro-vue-eslint/unocss.config.ts +0 -38
  158. package/template-vp-monorepo-react-nestjs/.oxfmtrc.jsonc +0 -8
  159. package/template-vp-monorepo-react-nestjs/.oxlintrc.jsonc +0 -3
  160. package/template-vp-monorepo-react-nestjs/.specs//351/234/200/346/261/202.md +0 -5
  161. package/template-vp-monorepo-react-nestjs/.vite-hooks/commit-msg +0 -1
  162. package/template-vp-monorepo-react-nestjs/.vite-hooks/pre-commit +0 -1
  163. package/template-vp-monorepo-react-nestjs/README.md +0 -29
  164. package/template-vp-monorepo-react-nestjs/apps/service/.oxlintrc.jsonc +0 -3
  165. package/template-vp-monorepo-react-nestjs/apps/web/.env +0 -1
  166. package/template-vp-monorepo-react-nestjs/apps/web/.oxlintrc.jsonc +0 -4
  167. package/template-vp-monorepo-react-nestjs/apps/web/index.html +0 -13
  168. package/template-vp-monorepo-react-nestjs/apps/web/package.json +0 -39
  169. package/template-vp-monorepo-react-nestjs/apps/web/public/favicon.svg +0 -1
  170. package/template-vp-monorepo-react-nestjs/apps/web/public/icons.svg +0 -24
  171. package/template-vp-monorepo-react-nestjs/apps/web/src/App.tsx +0 -24
  172. package/template-vp-monorepo-react-nestjs/apps/web/src/assets/hero.png +0 -0
  173. package/template-vp-monorepo-react-nestjs/apps/web/src/assets/react.svg +0 -1
  174. package/template-vp-monorepo-react-nestjs/apps/web/src/assets/vite.svg +0 -1
  175. package/template-vp-monorepo-react-nestjs/apps/web/src/components/Loading/PageLoading.tsx +0 -11
  176. package/template-vp-monorepo-react-nestjs/apps/web/src/main.tsx +0 -5
  177. package/template-vp-monorepo-react-nestjs/apps/web/src/pages/home/index.tsx +0 -17
  178. package/template-vp-monorepo-react-nestjs/apps/web/src/router/index.tsx +0 -25
  179. package/template-vp-monorepo-react-nestjs/apps/web/src/router/modules/.gitkeep +0 -0
  180. package/template-vp-monorepo-react-nestjs/apps/web/src/styles/index.css +0 -7
  181. package/template-vp-monorepo-react-nestjs/apps/web/src/types/auto-imports.d.ts +0 -58
  182. package/template-vp-monorepo-react-nestjs/apps/web/tsconfig.json +0 -32
  183. package/template-vp-monorepo-react-nestjs/apps/web/vite.config.ts +0 -32
  184. package/template-vp-monorepo-react-nestjs/commitlint.config.js +0 -0
  185. package/template-vp-monorepo-react-nestjs/package.json +0 -20
  186. package/template-vp-monorepo-react-nestjs/packages/utils/README.md +0 -23
  187. package/template-vp-monorepo-react-nestjs/packages/utils/package.json +0 -39
  188. package/template-vp-monorepo-react-nestjs/packages/utils/src/index.ts +0 -3
  189. package/template-vp-monorepo-react-nestjs/packages/utils/tests/index.test.ts +0 -6
  190. package/template-vp-monorepo-react-nestjs/packages/utils/tsconfig.json +0 -20
  191. package/template-vp-monorepo-react-nestjs/packages/utils/tsdown.config.ts +0 -9
  192. package/template-vp-monorepo-react-nestjs/packages/utils/vite.config.ts +0 -7
  193. package/template-vp-monorepo-react-nestjs/pnpm-workspace.yaml +0 -23
  194. package/template-vp-monorepo-react-nestjs/tsconfig.json +0 -9
  195. package/template-vp-monorepo-react-nestjs/vite.config.ts +0 -8
  196. package/template-vp-react/.env +0 -1
  197. package/template-vp-react/.oxfmtrc.jsonc +0 -8
  198. package/template-vp-react/.oxlintrc.jsonc +0 -11
  199. package/template-vp-react/.vite-hooks/commit-msg +0 -1
  200. package/template-vp-react/.vite-hooks/pre-commit +0 -1
  201. package/template-vp-react/.vscode/extensions.json +0 -3
  202. package/template-vp-react/.vscode/settings.json +0 -11
  203. package/template-vp-react/commitlint.config.js +0 -0
  204. package/template-vp-react/index.html +0 -13
  205. package/template-vp-react/package.json +0 -41
  206. package/template-vp-react/public/favicon.svg +0 -1
  207. package/template-vp-react/public/icons.svg +0 -24
  208. package/template-vp-react/src/App.tsx +0 -24
  209. package/template-vp-react/src/assets/hero.png +0 -0
  210. package/template-vp-react/src/assets/react.svg +0 -1
  211. package/template-vp-react/src/assets/vite.svg +0 -1
  212. package/template-vp-react/src/components/Loading/PageLoading.tsx +0 -11
  213. package/template-vp-react/src/main.tsx +0 -5
  214. package/template-vp-react/src/pages/home/index.tsx +0 -17
  215. package/template-vp-react/src/router/index.tsx +0 -25
  216. package/template-vp-react/src/router/modules/.gitkeep +0 -0
  217. package/template-vp-react/src/styles/index.css +0 -7
  218. package/template-vp-react/src/types/auto-imports.d.ts +0 -58
  219. package/template-vp-react/tsconfig.json +0 -32
  220. package/template-vp-react/vite.config.ts +0 -35
  221. package/template-vp-react-shadcn/.env +0 -1
  222. package/template-vp-react-shadcn/.oxfmtrc.jsonc +0 -8
  223. package/template-vp-react-shadcn/.oxlintrc.jsonc +0 -3
  224. package/template-vp-react-shadcn/.vite-hooks/commit-msg +0 -1
  225. package/template-vp-react-shadcn/.vite-hooks/pre-commit +0 -1
  226. package/template-vp-react-shadcn/.vscode/extensions.json +0 -3
  227. package/template-vp-react-shadcn/.vscode/settings.json +0 -12
  228. package/template-vp-react-shadcn/agents.md +0 -44
  229. package/template-vp-react-shadcn/commitlint.config.js +0 -1
  230. package/template-vp-react-shadcn/components.json +0 -25
  231. package/template-vp-react-shadcn/index.html +0 -13
  232. package/template-vp-react-shadcn/package.json +0 -56
  233. package/template-vp-react-shadcn/public/favicon.svg +0 -1
  234. package/template-vp-react-shadcn/public/icons.svg +0 -24
  235. package/template-vp-react-shadcn/src/App.tsx +0 -24
  236. package/template-vp-react-shadcn/src/api/.gitkeep +0 -0
  237. package/template-vp-react-shadcn/src/assets/hero.png +0 -0
  238. package/template-vp-react-shadcn/src/assets/react.svg +0 -1
  239. package/template-vp-react-shadcn/src/assets/vite.svg +0 -1
  240. package/template-vp-react-shadcn/src/components/Loading/PageLoading.tsx +0 -11
  241. package/template-vp-react-shadcn/src/components/Player/VideoJS/index.tsx +0 -163
  242. package/template-vp-react-shadcn/src/components/Player/index.ts +0 -7
  243. package/template-vp-react-shadcn/src/components/ui/button.tsx +0 -67
  244. package/template-vp-react-shadcn/src/components/ui/sonner.tsx +0 -43
  245. package/template-vp-react-shadcn/src/components/ui/spinner.tsx +0 -17
  246. package/template-vp-react-shadcn/src/hooks/.gitkeep +0 -0
  247. package/template-vp-react-shadcn/src/lib/utils.ts +0 -6
  248. package/template-vp-react-shadcn/src/main.tsx +0 -5
  249. package/template-vp-react-shadcn/src/pages/home/index.tsx +0 -96
  250. package/template-vp-react-shadcn/src/router/index.tsx +0 -25
  251. package/template-vp-react-shadcn/src/router/modules/.gitkeep +0 -0
  252. package/template-vp-react-shadcn/src/store/.gitkeep +0 -0
  253. package/template-vp-react-shadcn/src/styles/index.css +0 -16
  254. package/template-vp-react-shadcn/src/styles/shadcn.css +0 -127
  255. package/template-vp-react-shadcn/src/types/auto-imports.d.ts +0 -58
  256. package/template-vp-react-shadcn/src/utils/env/index.tsx +0 -6
  257. package/template-vp-react-shadcn/src/utils/request/alova-core/index.ts +0 -276
  258. package/template-vp-react-shadcn/src/utils/request/alova-core/utils.ts +0 -24
  259. package/template-vp-react-shadcn/src/utils/request/index.ts +0 -48
  260. package/template-vp-react-shadcn/src/utils/request/readme.md +0 -176
  261. package/template-vp-react-shadcn/tsconfig.json +0 -32
  262. package/template-vp-react-shadcn/vite.config.ts +0 -35
  263. package/template-vue-rolldown-oxc/.env +0 -4
  264. package/template-vue-rolldown-oxc/.env.development +0 -1
  265. package/template-vue-rolldown-oxc/.env.production +0 -1
  266. package/template-vue-rolldown-oxc/.gitlab-ci.yml +0 -84
  267. package/template-vue-rolldown-oxc/.oxlintrc.json +0 -4
  268. package/template-vue-rolldown-oxc/.prettierignore +0 -34
  269. package/template-vue-rolldown-oxc/.prettierrc +0 -18
  270. package/template-vue-rolldown-oxc/.vscode/settings.json +0 -11
  271. package/template-vue-rolldown-oxc/README.md +0 -3
  272. package/template-vue-rolldown-oxc/commitlint.config.js +0 -1
  273. package/template-vue-rolldown-oxc/index.html +0 -13
  274. package/template-vue-rolldown-oxc/lefthook.yml +0 -11
  275. package/template-vue-rolldown-oxc/package.json +0 -55
  276. package/template-vue-rolldown-oxc/public/vite.svg +0 -1
  277. package/template-vue-rolldown-oxc/src/App.vue +0 -17
  278. package/template-vue-rolldown-oxc/src/assets/icon/vue.svg +0 -1
  279. package/template-vue-rolldown-oxc/src/components/Icon/svg-icon.vue +0 -29
  280. package/template-vue-rolldown-oxc/src/layout/default/index.vue +0 -3
  281. package/template-vue-rolldown-oxc/src/main.ts +0 -13
  282. package/template-vue-rolldown-oxc/src/router/guard/index.tsx +0 -7
  283. package/template-vue-rolldown-oxc/src/router/guard/permissionGuard.ts +0 -8
  284. package/template-vue-rolldown-oxc/src/router/index.tsx +0 -15
  285. package/template-vue-rolldown-oxc/src/router/modules/index.tsx +0 -31
  286. package/template-vue-rolldown-oxc/src/store/index.ts +0 -10
  287. package/template-vue-rolldown-oxc/src/store/modules/user.ts +0 -17
  288. package/template-vue-rolldown-oxc/src/styles/element-plus-variables.css +0 -4
  289. package/template-vue-rolldown-oxc/src/styles/font.scss +0 -0
  290. package/template-vue-rolldown-oxc/src/styles/index.scss +0 -31
  291. package/template-vue-rolldown-oxc/src/styles/variables.scss +0 -3
  292. package/template-vue-rolldown-oxc/src/utils/env.ts +0 -10
  293. package/template-vue-rolldown-oxc/src/utils/request/core/index.ts +0 -166
  294. package/template-vue-rolldown-oxc/src/utils/request/core/utils.ts +0 -38
  295. package/template-vue-rolldown-oxc/src/utils/request/index.ts +0 -39
  296. package/template-vue-rolldown-oxc/src/views/home/index.vue +0 -16
  297. package/template-vue-rolldown-oxc/src/views/model/index.vue +0 -7
  298. package/template-vue-rolldown-oxc/src/vite-env.d.ts +0 -13
  299. package/template-vue-rolldown-oxc/tsconfig.json +0 -36
  300. package/template-vue-rolldown-oxc/uno.config.ts +0 -10
  301. package/template-vue-rolldown-oxc/vite.config.ts +0 -51
  302. package/template-vue-vite-eslint/.env +0 -6
  303. package/template-vue-vite-eslint/.env.development +0 -2
  304. package/template-vue-vite-eslint/.env.production +0 -1
  305. package/template-vue-vite-eslint/README.md +0 -3
  306. package/template-vue-vite-eslint/commitlint.config.js +0 -1
  307. package/template-vue-vite-eslint/eslint.config.js +0 -69
  308. package/template-vue-vite-eslint/index.html +0 -13
  309. package/template-vue-vite-eslint/lefthook.yml +0 -11
  310. package/template-vue-vite-eslint/package.json +0 -56
  311. package/template-vue-vite-eslint/public/vite.svg +0 -1
  312. package/template-vue-vite-eslint/src/App.vue +0 -19
  313. package/template-vue-vite-eslint/src/api/index.ts +0 -12
  314. package/template-vue-vite-eslint/src/assets/icon/computer-data.svg +0 -3
  315. package/template-vue-vite-eslint/src/assets/icon/cpu.svg +0 -3
  316. package/template-vue-vite-eslint/src/assets/icon/data-search.svg +0 -3
  317. package/template-vue-vite-eslint/src/assets/icon/home.svg +0 -3
  318. package/template-vue-vite-eslint/src/assets/icon/knowledge-graph.svg +0 -3
  319. package/template-vue-vite-eslint/src/assets/icon/logo.svg +0 -1
  320. package/template-vue-vite-eslint/src/assets/icon/robot.svg +0 -3
  321. package/template-vue-vite-eslint/src/assets/image/.gitkeep +0 -0
  322. package/template-vue-vite-eslint/src/components/Icon/svg-icon.vue +0 -29
  323. package/template-vue-vite-eslint/src/hooks/chart/lib.ts +0 -57
  324. package/template-vue-vite-eslint/src/hooks/chart/useEcharts.ts +0 -65
  325. package/template-vue-vite-eslint/src/layout/default/header/index.vue +0 -12
  326. package/template-vue-vite-eslint/src/layout/default/index.vue +0 -55
  327. package/template-vue-vite-eslint/src/main.ts +0 -16
  328. package/template-vue-vite-eslint/src/router/guard/index.ts +0 -7
  329. package/template-vue-vite-eslint/src/router/guard/permissionGuard.ts +0 -13
  330. package/template-vue-vite-eslint/src/router/index.ts +0 -18
  331. package/template-vue-vite-eslint/src/router/interface.ts +0 -9
  332. package/template-vue-vite-eslint/src/router/modules/example.ts +0 -21
  333. package/template-vue-vite-eslint/src/router/modules/index.ts +0 -36
  334. package/template-vue-vite-eslint/src/store/index.ts +0 -11
  335. package/template-vue-vite-eslint/src/store/modules/user.ts +0 -20
  336. package/template-vue-vite-eslint/src/styles/font.scss +0 -0
  337. package/template-vue-vite-eslint/src/styles/index.scss +0 -29
  338. package/template-vue-vite-eslint/src/styles/variables.scss +0 -3
  339. package/template-vue-vite-eslint/src/types/auto-import.d.ts +0 -78
  340. package/template-vue-vite-eslint/src/types/components.d.ts +0 -18
  341. package/template-vue-vite-eslint/src/types/vite-env.d.ts +0 -15
  342. package/template-vue-vite-eslint/src/utils/env.ts +0 -11
  343. package/template-vue-vite-eslint/src/utils/request/core/index.ts +0 -186
  344. package/template-vue-vite-eslint/src/utils/request/core/utils.ts +0 -41
  345. package/template-vue-vite-eslint/src/utils/request/index.ts +0 -42
  346. package/template-vue-vite-eslint/src/views/example/echart/config.ts +0 -1794
  347. package/template-vue-vite-eslint/src/views/example/echart/index.vue +0 -22
  348. package/template-vue-vite-eslint/src/views/example/h-full.vue +0 -24
  349. package/template-vue-vite-eslint/src/views/example/tree-chart.vue +0 -94
  350. package/template-vue-vite-eslint/src/views/home/index.vue +0 -25
  351. package/template-vue-vite-eslint/src/views/login/index.vue +0 -9
  352. package/template-vue-vite-eslint/tsconfig.json +0 -36
  353. package/template-vue-vite-eslint/uno.config.ts +0 -21
  354. package/template-vue-vite-eslint/vite.config.ts +0 -60
@@ -1,163 +0,0 @@
1
- import { createPlayer } from "@videojs/react";
2
- import { HlsVideo } from "@videojs/react/media/hls-video";
3
- import { Video, VideoSkin, videoFeatures } from "@videojs/react/video";
4
- import "@videojs/react/video/skin.css";
5
- import type { ReactNode, VideoHTMLAttributes } from "react";
6
-
7
- import { cn } from "@/lib/utils";
8
-
9
- export const VIDEO_JS_SOURCE_TYPES = {
10
- AUTO: "auto",
11
- HLS: "hls",
12
- MP4: "mp4",
13
- NATIVE: "native",
14
- } as const;
15
-
16
- export type VideoJSSourceType = (typeof VIDEO_JS_SOURCE_TYPES)[keyof typeof VIDEO_JS_SOURCE_TYPES];
17
-
18
- export type VideoJSSource = {
19
- src: string;
20
- type?: string;
21
- sourceType?: Exclude<VideoJSSourceType, "auto">;
22
- };
23
-
24
- type VideoJSPreload = "" | "none" | "metadata" | "auto";
25
-
26
- type NativeVideoProps = Omit<
27
- VideoHTMLAttributes<HTMLVideoElement>,
28
- "children" | "className" | "controls" | "poster" | "preload" | "src"
29
- >;
30
-
31
- export type VideoJSProps = NativeVideoProps & {
32
- src?: string;
33
- type?: string;
34
- sources?: VideoJSSource[];
35
- sourceType?: VideoJSSourceType;
36
- poster?: string;
37
- className?: string;
38
- videoClassName?: string;
39
- preload?: VideoJSPreload;
40
- hlsConfig?: Record<string, unknown>;
41
- hlsDebug?: boolean;
42
- preferPlayback?: "mse" | "native";
43
- children?: ReactNode;
44
- };
45
-
46
- const VideoJSPlayer = createPlayer({
47
- features: videoFeatures,
48
- displayName: "VideoJS",
49
- });
50
-
51
- const HLS_MIME_TYPES = new Set(["application/vnd.apple.mpegurl", "application/x-mpegurl"]);
52
-
53
- const MP4_MIME_TYPES = new Set(["video/mp4", "application/mp4"]);
54
-
55
- const getSourceList = ({ src, type, sources }: Pick<VideoJSProps, "src" | "type" | "sources">) => {
56
- if (sources?.length) {
57
- return sources;
58
- }
59
-
60
- return src ? [{ src, type }] : [];
61
- };
62
-
63
- const getUrlPath = (src: string) => src.split(/[?#]/)[0]?.toLowerCase() ?? "";
64
-
65
- const inferSourceType = (source: VideoJSSource, fallback: VideoJSSourceType) => {
66
- if (source.sourceType) {
67
- return source.sourceType;
68
- }
69
-
70
- if (fallback !== VIDEO_JS_SOURCE_TYPES.AUTO) {
71
- return fallback;
72
- }
73
-
74
- const mimeType = source.type?.toLowerCase();
75
- const path = getUrlPath(source.src);
76
-
77
- if (mimeType && HLS_MIME_TYPES.has(mimeType)) {
78
- return VIDEO_JS_SOURCE_TYPES.HLS;
79
- }
80
-
81
- if (path.endsWith(".m3u8")) {
82
- return VIDEO_JS_SOURCE_TYPES.HLS;
83
- }
84
-
85
- if (mimeType && MP4_MIME_TYPES.has(mimeType)) {
86
- return VIDEO_JS_SOURCE_TYPES.MP4;
87
- }
88
-
89
- if (path.endsWith(".mp4")) {
90
- return VIDEO_JS_SOURCE_TYPES.MP4;
91
- }
92
-
93
- return VIDEO_JS_SOURCE_TYPES.NATIVE;
94
- };
95
-
96
- const VideoJS = ({
97
- src,
98
- type,
99
- sources,
100
- sourceType = VIDEO_JS_SOURCE_TYPES.AUTO,
101
- poster,
102
- className,
103
- videoClassName,
104
- preload = "metadata",
105
- playsInline = true,
106
- hlsConfig,
107
- hlsDebug = false,
108
- preferPlayback = "mse",
109
- children,
110
- ...videoProps
111
- }: VideoJSProps) => {
112
- const sourceList = getSourceList({ src, type, sources });
113
- const primarySource = sourceList[0];
114
-
115
- if (!primarySource) {
116
- return null;
117
- }
118
-
119
- const resolvedSourceType = inferSourceType(primarySource, sourceType);
120
- const isHls = resolvedSourceType === VIDEO_JS_SOURCE_TYPES.HLS;
121
-
122
- return (
123
- <VideoJSPlayer.Provider>
124
- <VideoSkin
125
- poster={poster}
126
- className={cn(
127
- "aspect-video w-full overflow-hidden rounded-lg bg-black shadow-sm",
128
- className,
129
- )}
130
- >
131
- {isHls ? (
132
- <HlsVideo
133
- {...videoProps}
134
- src={primarySource.src}
135
- type={primarySource.type ?? "application/vnd.apple.mpegurl"}
136
- preload={preload}
137
- playsInline={playsInline}
138
- config={hlsConfig}
139
- debug={hlsDebug}
140
- preferPlayback={preferPlayback}
141
- className={cn("h-full w-full", videoClassName)}
142
- >
143
- {children}
144
- </HlsVideo>
145
- ) : (
146
- <Video
147
- {...videoProps}
148
- preload={preload}
149
- playsInline={playsInline}
150
- className={cn("h-full w-full", videoClassName)}
151
- >
152
- {sourceList.map((source) => (
153
- <source key={`${source.src}-${source.type}`} src={source.src} type={source.type} />
154
- ))}
155
- {children}
156
- </Video>
157
- )}
158
- </VideoSkin>
159
- </VideoJSPlayer.Provider>
160
- );
161
- };
162
-
163
- export default VideoJS;
@@ -1,7 +0,0 @@
1
- export {
2
- default as VideoJS,
3
- VIDEO_JS_SOURCE_TYPES,
4
- type VideoJSProps,
5
- type VideoJSSource,
6
- type VideoJSSourceType,
7
- } from "./VideoJS";
@@ -1,67 +0,0 @@
1
- import * as React from "react";
2
- import { cva, type VariantProps } from "class-variance-authority";
3
- import { Slot } from "radix-ui";
4
-
5
- import { cn } from "@/lib/utils";
6
-
7
- const buttonVariants = cva(
8
- "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9
- {
10
- variants: {
11
- variant: {
12
- default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
13
- outline:
14
- "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
15
- secondary:
16
- "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
17
- ghost:
18
- "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
19
- destructive:
20
- "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
21
- link: "text-primary underline-offset-4 hover:underline",
22
- },
23
- size: {
24
- default:
25
- "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
26
- xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
27
- sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
28
- lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
29
- icon: "size-8",
30
- "icon-xs":
31
- "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
32
- "icon-sm":
33
- "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
34
- "icon-lg": "size-9",
35
- },
36
- },
37
- defaultVariants: {
38
- variant: "default",
39
- size: "default",
40
- },
41
- },
42
- );
43
-
44
- function Button({
45
- className,
46
- variant = "default",
47
- size = "default",
48
- asChild = false,
49
- ...props
50
- }: React.ComponentProps<"button"> &
51
- VariantProps<typeof buttonVariants> & {
52
- asChild?: boolean;
53
- }) {
54
- const Comp = asChild ? Slot.Root : "button";
55
-
56
- return (
57
- <Comp
58
- data-slot="button"
59
- data-variant={variant}
60
- data-size={size}
61
- className={cn(buttonVariants({ variant, size, className }))}
62
- {...props}
63
- />
64
- );
65
- }
66
-
67
- export { Button, buttonVariants };
@@ -1,43 +0,0 @@
1
- import { useTheme } from "next-themes";
2
- import { Toaster as Sonner, type ToasterProps } from "sonner";
3
- import {
4
- CircleCheckIcon,
5
- InfoIcon,
6
- TriangleAlertIcon,
7
- OctagonXIcon,
8
- Loader2Icon,
9
- } from "lucide-react";
10
-
11
- const Toaster = ({ ...props }: ToasterProps) => {
12
- const { theme = "system" } = useTheme();
13
-
14
- return (
15
- <Sonner
16
- theme={theme as ToasterProps["theme"]}
17
- className="toaster group"
18
- icons={{
19
- success: <CircleCheckIcon className="size-4" />,
20
- info: <InfoIcon className="size-4" />,
21
- warning: <TriangleAlertIcon className="size-4" />,
22
- error: <OctagonXIcon className="size-4" />,
23
- loading: <Loader2Icon className="size-4 animate-spin" />,
24
- }}
25
- style={
26
- {
27
- "--normal-bg": "var(--popover)",
28
- "--normal-text": "var(--popover-foreground)",
29
- "--normal-border": "var(--border)",
30
- "--border-radius": "var(--radius)",
31
- } as React.CSSProperties
32
- }
33
- toastOptions={{
34
- classNames: {
35
- toast: "cn-toast",
36
- },
37
- }}
38
- {...props}
39
- />
40
- );
41
- };
42
-
43
- export { Toaster };
@@ -1,17 +0,0 @@
1
- import { Loader2Icon } from "lucide-react";
2
- import type { ComponentProps } from "react";
3
-
4
- import { cn } from "@/lib/utils";
5
-
6
- function Spinner({ className, ...props }: ComponentProps<"svg">) {
7
- return (
8
- <Loader2Icon
9
- role="status"
10
- aria-label="Loading"
11
- className={cn("size-4 animate-spin", className)}
12
- {...props}
13
- />
14
- );
15
- }
16
-
17
- export { Spinner };
File without changes
@@ -1,6 +0,0 @@
1
- import { clsx, type ClassValue } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
-
4
- export function cn(...inputs: ClassValue[]) {
5
- return twMerge(clsx(inputs));
6
- }
@@ -1,5 +0,0 @@
1
- import { createRoot } from "react-dom/client";
2
- import "./styles/index.css";
3
- import App from "./App.tsx";
4
-
5
- createRoot(document.getElementById("root")!).render(<App />);
@@ -1,96 +0,0 @@
1
- import { PlayCircle } from "lucide-react";
2
- import { useState } from "react";
3
-
4
- import { VideoJS, VIDEO_JS_SOURCE_TYPES, type VideoJSSourceType } from "@/components/Player";
5
- import { Button } from "@/components/ui/button";
6
- import { cn } from "@/lib/utils";
7
-
8
- const HOME_TEXT = {
9
- player: "VideoJS 播放器",
10
- title: "HLS / MP4 播放示例",
11
- play: "播放",
12
- } as const;
13
-
14
- type DemoSource = {
15
- id: Exclude<VideoJSSourceType, "auto" | "native">;
16
- name: string;
17
- src: string;
18
- type: string;
19
- poster: string;
20
- };
21
-
22
- const DEMO_SOURCES: DemoSource[] = [
23
- {
24
- id: VIDEO_JS_SOURCE_TYPES.HLS,
25
- name: "HLS",
26
- src: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
27
- type: "application/vnd.apple.mpegurl",
28
- poster: "https://image.mux.com/x36xhzz/thumbnail.jpg?time=0",
29
- },
30
- {
31
- id: VIDEO_JS_SOURCE_TYPES.MP4,
32
- name: "MP4",
33
- src: "https://media.w3.org/2010/05/sintel/trailer.mp4",
34
- type: "video/mp4",
35
- poster: "https://media.w3.org/2010/05/sintel/poster.png",
36
- },
37
- ];
38
-
39
- const Home = () => {
40
- const [activeSourceType, setActiveSourceType] = useState<DemoSource["id"]>(
41
- VIDEO_JS_SOURCE_TYPES.HLS,
42
- );
43
- const activeSource =
44
- DEMO_SOURCES.find((source) => source.id === activeSourceType) ?? DEMO_SOURCES[0];
45
-
46
- return (
47
- <main className="min-h-screen bg-zinc-950 px-4 py-6 text-white sm:px-6 lg:px-8">
48
- <section className="mx-auto flex w-full max-w-6xl flex-col gap-5">
49
- <div className="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between">
50
- <div className="space-y-2">
51
- <p className="text-sm font-medium text-emerald-300">{HOME_TEXT.player}</p>
52
- <h1 className="max-w-2xl text-3xl font-semibold tracking-normal text-white sm:text-4xl">
53
- {HOME_TEXT.title}
54
- </h1>
55
- </div>
56
-
57
- <div className="flex rounded-lg border border-white/10 bg-white/5 p-1">
58
- {DEMO_SOURCES.map((source) => {
59
- const isActive = source.id === activeSource.id;
60
-
61
- return (
62
- <Button
63
- key={source.id}
64
- type="button"
65
- variant="ghost"
66
- className={cn(
67
- "h-9 gap-2 rounded-md px-4 text-white hover:bg-white/10 hover:text-white",
68
- isActive && "bg-white text-zinc-950 hover:bg-white hover:text-zinc-950",
69
- )}
70
- onClick={() => setActiveSourceType(source.id)}
71
- >
72
- <PlayCircle className="size-4" />
73
- {source.name}
74
- </Button>
75
- );
76
- })}
77
- </div>
78
- </div>
79
-
80
- <VideoJS
81
- key={activeSource.src}
82
- src={activeSource.src}
83
- type={activeSource.type}
84
- sourceType={activeSource.id}
85
- poster={activeSource.poster}
86
- preload="metadata"
87
- className="border border-white/10 shadow-2xl shadow-black/40"
88
- />
89
- </section>
90
-
91
- <Button>{HOME_TEXT.play}</Button>
92
- </main>
93
- );
94
- };
95
-
96
- export default Home;
@@ -1,25 +0,0 @@
1
- import { createBrowserRouter, Navigate, type RouteObject } from "react-router";
2
-
3
- export const lazyLoad = (path: string, fileName = "index") => {
4
- const Module = lazy(() => import(`@/pages/${path}/${fileName}.tsx`));
5
- return <Module />;
6
- };
7
-
8
- const routes: RouteObject[] = [
9
- {
10
- path: "/",
11
- id: "index",
12
- element: <Navigate to={"/home"} />,
13
- },
14
- {
15
- path: "/home",
16
- id: "home",
17
- element: lazyLoad("home"),
18
- },
19
- ];
20
-
21
- export const router = createBrowserRouter(routes, {
22
- basename: "/",
23
- });
24
-
25
- export const navigator = router.navigate;
File without changes
@@ -1,16 +0,0 @@
1
- @import "tailwindcss";
2
- @import "tw-animate-css";
3
- @import "@fontsource-variable/geist";
4
- @import "./shadcn.css";
5
-
6
- html,
7
- body {
8
- margin: 0;
9
- padding: 0;
10
- }
11
-
12
- html,
13
- body,
14
- #root {
15
- height: 100%;
16
- }
@@ -1,127 +0,0 @@
1
- @import "shadcn/tailwind.css";
2
-
3
- @custom-variant dark (&:is(.dark *));
4
-
5
- @theme inline {
6
- --font-heading: var(--font-sans);
7
- --font-sans: "Geist Variable", sans-serif;
8
- --color-sidebar-ring: var(--sidebar-ring);
9
- --color-sidebar-border: var(--sidebar-border);
10
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
11
- --color-sidebar-accent: var(--sidebar-accent);
12
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
13
- --color-sidebar-primary: var(--sidebar-primary);
14
- --color-sidebar-foreground: var(--sidebar-foreground);
15
- --color-sidebar: var(--sidebar);
16
- --color-chart-5: var(--chart-5);
17
- --color-chart-4: var(--chart-4);
18
- --color-chart-3: var(--chart-3);
19
- --color-chart-2: var(--chart-2);
20
- --color-chart-1: var(--chart-1);
21
- --color-ring: var(--ring);
22
- --color-input: var(--input);
23
- --color-border: var(--border);
24
- --color-destructive: var(--destructive);
25
- --color-accent-foreground: var(--accent-foreground);
26
- --color-accent: var(--accent);
27
- --color-muted-foreground: var(--muted-foreground);
28
- --color-muted: var(--muted);
29
- --color-secondary-foreground: var(--secondary-foreground);
30
- --color-secondary: var(--secondary);
31
- --color-primary-foreground: var(--primary-foreground);
32
- --color-primary: var(--primary);
33
- --color-popover-foreground: var(--popover-foreground);
34
- --color-popover: var(--popover);
35
- --color-card-foreground: var(--card-foreground);
36
- --color-card: var(--card);
37
- --color-foreground: var(--foreground);
38
- --color-background: var(--background);
39
- --radius-sm: calc(var(--radius) * 0.6);
40
- --radius-md: calc(var(--radius) * 0.8);
41
- --radius-lg: var(--radius);
42
- --radius-xl: calc(var(--radius) * 1.4);
43
- --radius-2xl: calc(var(--radius) * 1.8);
44
- --radius-3xl: calc(var(--radius) * 2.2);
45
- --radius-4xl: calc(var(--radius) * 2.6);
46
- }
47
-
48
- :root {
49
- --background: oklch(1 0 0);
50
- --foreground: oklch(0.145 0 0);
51
- --card: oklch(1 0 0);
52
- --card-foreground: oklch(0.145 0 0);
53
- --popover: oklch(1 0 0);
54
- --popover-foreground: oklch(0.145 0 0);
55
- --primary: rgb(47 123 255);
56
- --primary-foreground: oklch(0.985 0 0);
57
- --secondary: oklch(0.97 0 0);
58
- --secondary-foreground: oklch(0.205 0 0);
59
- --muted: oklch(0.97 0 0);
60
- --muted-foreground: oklch(0.556 0 0);
61
- --accent: oklch(0.97 0 0);
62
- --accent-foreground: oklch(0.205 0 0);
63
- --destructive: oklch(0.577 0.245 27.325);
64
- --border: oklch(0.922 0 0);
65
- --input: oklch(0.922 0 0);
66
- --ring: rgb(47 123 255);
67
- --chart-1: oklch(0.87 0 0);
68
- --chart-2: oklch(0.556 0 0);
69
- --chart-3: oklch(0.439 0 0);
70
- --chart-4: oklch(0.371 0 0);
71
- --chart-5: oklch(0.269 0 0);
72
- --radius: 0.625rem;
73
- --sidebar: oklch(0.985 0 0);
74
- --sidebar-foreground: oklch(0.145 0 0);
75
- --sidebar-primary: rgb(47 123 255);
76
- --sidebar-primary-foreground: oklch(0.985 0 0);
77
- --sidebar-accent: oklch(0.97 0 0);
78
- --sidebar-accent-foreground: oklch(0.205 0 0);
79
- --sidebar-border: oklch(0.922 0 0);
80
- --sidebar-ring: rgb(47 123 255);
81
- }
82
-
83
- .dark {
84
- --background: oklch(0.145 0 0);
85
- --foreground: oklch(0.985 0 0);
86
- --card: oklch(0.205 0 0);
87
- --card-foreground: oklch(0.985 0 0);
88
- --popover: oklch(0.205 0 0);
89
- --popover-foreground: oklch(0.985 0 0);
90
- --primary: rgb(47 123 255);
91
- --primary-foreground: oklch(0.985 0 0);
92
- --secondary: oklch(0.269 0 0);
93
- --secondary-foreground: oklch(0.985 0 0);
94
- --muted: oklch(0.269 0 0);
95
- --muted-foreground: oklch(0.708 0 0);
96
- --accent: oklch(0.269 0 0);
97
- --accent-foreground: oklch(0.985 0 0);
98
- --destructive: oklch(0.704 0.191 22.216);
99
- --border: oklch(1 0 0 / 10%);
100
- --input: oklch(1 0 0 / 15%);
101
- --ring: rgb(47 123 255);
102
- --chart-1: oklch(0.87 0 0);
103
- --chart-2: oklch(0.556 0 0);
104
- --chart-3: oklch(0.439 0 0);
105
- --chart-4: oklch(0.371 0 0);
106
- --chart-5: oklch(0.269 0 0);
107
- --sidebar: oklch(0.205 0 0);
108
- --sidebar-foreground: oklch(0.985 0 0);
109
- --sidebar-primary: rgb(47 123 255);
110
- --sidebar-primary-foreground: oklch(0.985 0 0);
111
- --sidebar-accent: oklch(0.269 0 0);
112
- --sidebar-accent-foreground: oklch(0.985 0 0);
113
- --sidebar-border: oklch(1 0 0 / 10%);
114
- --sidebar-ring: rgb(47 123 255);
115
- }
116
-
117
- @layer base {
118
- * {
119
- @apply border-border outline-ring/50;
120
- }
121
- body {
122
- @apply bg-background text-foreground;
123
- }
124
- html {
125
- @apply font-sans;
126
- }
127
- }
@@ -1,58 +0,0 @@
1
- /* eslint-disable */
2
- /* prettier-ignore */
3
- // @ts-nocheck
4
- // noinspection JSUnusedGlobalSymbols
5
- // Generated by unplugin-auto-import
6
- // biome-ignore lint: disable
7
- export {}
8
- declare global {
9
- const Activity: typeof import('react').Activity
10
- const Fragment: typeof import('react').Fragment
11
- const Suspense: typeof import('react').Suspense
12
- const cache: typeof import('react').cache
13
- const cacheSignal: typeof import('react').cacheSignal
14
- const createContext: typeof import('react').createContext
15
- const createPortal: typeof import('react-dom').createPortal
16
- const createRef: typeof import('react').createRef
17
- const flushSync: typeof import('react-dom').flushSync
18
- const forwardRef: typeof import('react').forwardRef
19
- const lazy: typeof import('react').lazy
20
- const memo: typeof import('react').memo
21
- const preconnect: typeof import('react-dom').preconnect
22
- const prefetchDNS: typeof import('react-dom').prefetchDNS
23
- const preinit: typeof import('react-dom').preinit
24
- const preinitModule: typeof import('react-dom').preinitModule
25
- const preload: typeof import('react-dom').preload
26
- const preloadModule: typeof import('react-dom').preloadModule
27
- const startTransition: typeof import('react').startTransition
28
- const use: typeof import('react').use
29
- const useActionState: typeof import('react').useActionState
30
- const useCallback: typeof import('react').useCallback
31
- const useContext: typeof import('react').useContext
32
- const useDebugValue: typeof import('react').useDebugValue
33
- const useDeferredValue: typeof import('react').useDeferredValue
34
- const useEffect: typeof import('react').useEffect
35
- const useEffectEvent: typeof import('react').useEffectEvent
36
- const useFormStatus: typeof import('react-dom').useFormStatus
37
- const useHref: typeof import('react-router').useHref
38
- const useId: typeof import('react').useId
39
- const useImperativeHandle: typeof import('react').useImperativeHandle
40
- const useInRouterContext: typeof import('react-router').useInRouterContext
41
- const useInsertionEffect: typeof import('react').useInsertionEffect
42
- const useLayoutEffect: typeof import('react').useLayoutEffect
43
- const useLocation: typeof import('react-router').useLocation
44
- const useMemo: typeof import('react').useMemo
45
- const useNavigate: typeof import('react-router').useNavigate
46
- const useNavigationType: typeof import('react-router').useNavigationType
47
- const useOptimistic: typeof import('react').useOptimistic
48
- const useOutlet: typeof import('react-router').useOutlet
49
- const useOutletContext: typeof import('react-router').useOutletContext
50
- const useParams: typeof import('react-router').useParams
51
- const useReducer: typeof import('react').useReducer
52
- const useRef: typeof import('react').useRef
53
- const useResolvedPath: typeof import('react-router').useResolvedPath
54
- const useRoutes: typeof import('react-router').useRoutes
55
- const useState: typeof import('react').useState
56
- const useSyncExternalStore: typeof import('react').useSyncExternalStore
57
- const useTransition: typeof import('react').useTransition
58
- }
@@ -1,6 +0,0 @@
1
- export const envVariables = {
2
- /**
3
- * API 前缀
4
- */
5
- API_AFFIX: import.meta.env.VITE_API_AFFIX ?? "",
6
- };