From 648995e401ab1c1c3c73de0f0d98ba0123f00c01 Mon Sep 17 00:00:00 2001
From: nongyehong <2439646234@qq.com>
Date: Sat, 9 Mar 2024 04:04:05 +0800
Subject: [PATCH] =?UTF-8?q?:bug:=20fix(custom):=20=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/release.yml | 81 ++++++--------------------
CHANGELOG.md | 101 ++++++++++++++++++++-------------
package.json | 2 +-
src-tauri/src/common/window.rs | 2 +-
src-tauri/src/main.rs | 2 +-
src-tauri/tauri.conf.json | 7 ++-
src/typings/auto-imports.d.ts | 70 +++++++++++++++++++++++
src/typings/components.d.ts | 57 +++++++++++++++++++
8 files changed, 216 insertions(+), 106 deletions(-)
create mode 100644 src/typings/auto-imports.d.ts
create mode 100644 src/typings/components.d.ts
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5048b59..5851c0e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,86 +1,41 @@
-# 可选,将显示在 GitHub 存储库的“操作”选项卡中的工作流名称
name: Release CI
-# 指定此工作流的触发器
on:
push:
- # 匹配特定标签 (refs/tags)
tags:
- - 'v*' # 推送事件匹配 v*, 例如 v1.0,v20.15.10 等来触发工作流
+ - 'v*'
+ workflow_dispatch:
-# 需要运行的作业组合
-jobs:
- # 任务:创建 release 版本
- create-release:
- runs-on: ubuntu-latest
- outputs:
- RELEASE_UPLOAD_ID: ${{ steps.create_release.outputs.id }}
-
- steps:
- - uses: actions/checkout@v2
- # 查询版本号(tag)
- - name: Query version number
- id: get_version
- shell: bash
- run: |
- echo "using version tag ${GITHUB_REF:10}"
- echo ::set-output name=version::"${GITHUB_REF:10}"
-
- # 根据查询到的版本号创建 release
- - name: Create Release
- id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: '${{ steps.get_version.outputs.VERSION }}'
- release_name: 'app ${{ steps.get_version.outputs.VERSION }}'
- body: 'See the assets to download this version and install.'
+concurrency:
+ group: release-${{ github.ref }}
+ cancel-in-progress: true
- # 编译 Tauri
- build-tauri:
- needs: create-release
+jobs:
+ publish:
strategy:
fail-fast: false
matrix:
- platform: [macos-latest, ubuntu-latest, windows-latest]
+ platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
+ - uses: pnpm/action-setup@v2
+ with:
+ version: 8
+ run_install: true
- # 安装 Node.js
- - name: Setup node
- uses: actions/setup-node@v1
+ - name: Use Node.js
+ uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- # 安装 Rust
- - name: Install Rust stable
+ - name: install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- # 使用 Rust 缓存,加快安装速度
- - uses: Swatinem/rust-cache@v1
-
- - name: install dependencies (ubuntu only)
- if: matrix.platform == 'ubuntu-latest'
- run: |
- sudo apt-get update
- sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
-
-# # 可选,如果需要将 Rust 编译为 wasm,则安装 wasm-pack
-# - uses: jetli/wasm-pack-action@v0.3.0
-# with:
-# # Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
-# version: v0.9.1
-
-# # 可选,如果需要使用 rsw 构建 wasm,则安装 rsw
-# - name: Install rsw
-# run: cargo install rsw
-
- name: Build Vite + Tauri
run: pnpm build
@@ -89,8 +44,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- tagName: v__VERSION__ # 这个操作会自动将\_\_VERSION\_\_替换为app version
+ tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: 'v__VERSION__'
releaseBody: 'See the assets to download and install this version.'
releaseDraft: true
- prerelease: false
+ prerelease: false
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea2b413..74d7268 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,49 +1,72 @@
+## 1.2.9 (2024-03-08)
+
+* :bug: fix(custom): 修复因为版本号书写问题导致打包失败 ([cd3a078](https://github.com/nongyehong/HuLa-IM-Tauri/commit/cd3a078))
+* :construction_worker: ci(custom): 修改ci配置文件 ([d09acb2](https://github.com/nongyehong/HuLa-IM-Tauri/commit/d09acb2))
+* :construction_worker: ci(custom): 修改git地址 ([9943683](https://github.com/nongyehong/HuLa-IM-Tauri/commit/9943683))
+* :construction_worker: ci(custom): 修改tauri.conf.json配置 ([a3002c8](https://github.com/nongyehong/HuLa-IM-Tauri/commit/a3002c8))
+* :package: build(custom): 提交autoimport组件的文件 ([36bf9d6](https://github.com/nongyehong/HuLa-IM-Tauri/commit/36bf9d6))
+* :sunflower: update(custom): 更新mac配置 ([8f8babd](https://github.com/nongyehong/HuLa-IM-Tauri/commit/8f8babd))
+
+
+
+## 1.2.9-alpha (2024-03-08)
+
+* :bug: fix(custom): 修复跨标签页没有判断类型的问题 ([e4acbd5](https://github.com/nongyehong/HuLa-IM-Tauri/commit/e4acbd5))
+* :sparkles: feat(custom): 新增聊天页面页脚显示功能 ([ebd7a41](https://github.com/nongyehong/HuLa-IM-Tauri/commit/ebd7a41))
+* :sunflower: update(custom): 更新登录界面样式 ([2394aa2](https://github.com/nongyehong/HuLa-IM-Tauri/commit/2394aa2))
+* :sunflower: update(custom): 更新好友和群聊详情页面 ([16007a2](https://github.com/nongyehong/HuLa-IM-Tauri/commit/16007a2))
+* :sunflower: update(custom): 更新气泡动画 ([e8dc441](https://github.com/nongyehong/HuLa-IM-Tauri/commit/e8dc441))
+* :sunflower: update(custom): 更新项目主要依赖版本 ([2a609ff](https://github.com/nongyehong/HuLa-IM-Tauri/commit/2a609ff))
+* :sunflower: update(custom): 更新悬浮按钮样式,修复已知的部分问题 ([1f01b7b](https://github.com/nongyehong/HuLa-IM-Tauri/commit/1f01b7b))
+
+
+
## 1.2.8-alpha (2024-03-06)
-* :bug: fix(custom): 回退vite版本5.0.12导致启动不了端口服务的问题 ([ba99bb2](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/ba99bb2))
-* :bug: fix(custom): 修复新建窗口的问题,修复窗口背景的问题 ([f1010e4](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/f1010e4))
-* :bug: fix(custom): 修复已知的问题 ([600e224](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/600e224))
-* :bug: fix(custom): 修复因为配置的问题导致的代码格式化 ([ed4d825](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/ed4d825))
-* :lipstick: style(custom): 使用.editorconfig和.gitattributes来约束行分隔符和编辑器设置 ([72808d8](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/72808d8))
-* :sparkles: feat(custom): 新增登录页面样式 ([8f0d27e](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/8f0d27e))
-* :sparkles: feat(custom): 新增动态页面 ([196d2d1](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/196d2d1))
-* :sparkles: feat(custom): 新增好友和群聊详情页 ([b11593d](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/b11593d))
-* :sparkles: feat(custom): 新增好友聊天页面设置侧边栏 ([6a1688b](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/6a1688b))
-* :sparkles: feat(custom): 新增护眼主题,隐藏窗口默认顶部菜单栏,优化rust打包配置 ([295bde5](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/295bde5))
-* :sparkles: feat(custom): 新增聊天页面的总体样式 ([5e21671](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/5e21671))
-* :sparkles: feat(custom): 新增输入框功能 ([009c3b0](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/009c3b0))
-* :sparkles: feat(custom): 新增拖拽排序、消息移除功能 ([393a689](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/393a689))
-* :sparkles: feat(custom): 新增消息气泡功能(第一版) ([2f2bd45](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/2f2bd45))
-* :sparkles: feat(custom): 新增右键菜单功能,修复隐藏顶部菜单栏后无法拖拽的问题 ([1b6e719](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/1b6e719))
-* :sparkles: feat(custom): 新增元素平滑上升的vue指令 ([e973799](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/e973799))
-* :sparkles: feat(custom): 新增主题切换功能,修复一些已知的问题 ([b6f668f](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/b6f668f))
-* :sparkles: feat(custom): 新增unocss及其插件 ([2af6767](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/2af6767))
-* :sunflower: update(custom): 更新侧边栏功能显示 ([acc0194](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/acc0194))
-* :sunflower: update(custom): 更新登录页面的样式,新增二维码登录页面 ([3fbc6b0](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/3fbc6b0))
-* :sunflower: update(custom): 更新登录页面和多窗口的样式 ([be6bc2d](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/be6bc2d))
-* :sunflower: update(custom): 更新登录页面样式,更新主页的列表样式 ([ad69ada](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/ad69ada))
-* :sunflower: update(custom): 更新聊天框页面的图标样式 ([60bc859](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/60bc859))
-* :sunflower: update(custom): 更新图标,新增系统托盘功能 ([3f1ea39](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/3f1ea39))
-* :sunflower: update(custom): 更新图标风格和主题颜色 ([db566cd](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/db566cd))
-* :sunflower: update(custom): 更新依赖版本 ([5c26e4e](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/5c26e4e))
-* :sunflower: update(custom): 更新用户列表样式 ([80ff121](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/80ff121))
-* :sunflower: update(custom): 更新右键菜单到信息和用户列表中 ([487767c](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/487767c))
-* :sunflower: update(custom): 更新右键菜单位置抉择 ([070d1e6](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/070d1e6))
-* :sunflower: update(custom): 更新右键菜单样式,新增聊天输入框右键菜单 ([4224cbd](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/4224cbd))
-* :sunflower: update(custom): 更新主页的收缩功能 ([6f58e78](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/6f58e78))
-* :sunflower: update(custom): 更新主页的样式 ([bf94200](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/bf94200))
-* :sunflower: update(custom): 更新主页的样式 ([6a39060](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/6a39060))
-* :sunflower: update(custom): 更新主页消息列表样式 ([910a6c4](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/910a6c4))
-* :sunflower: update(custom): 升级vue、vue-tsc、TS、vite版本 ([27e7bd0](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/27e7bd0))
+* :bug: fix(custom): 回退vite版本5.0.12导致启动不了端口服务的问题 ([ba99bb2](https://github.com/nongyehong/HuLa-IM-Tauri/commit/ba99bb2))
+* :bug: fix(custom): 修复新建窗口的问题,修复窗口背景的问题 ([f1010e4](https://github.com/nongyehong/HuLa-IM-Tauri/commit/f1010e4))
+* :bug: fix(custom): 修复已知的问题 ([600e224](https://github.com/nongyehong/HuLa-IM-Tauri/commit/600e224))
+* :bug: fix(custom): 修复因为配置的问题导致的代码格式化 ([ed4d825](https://github.com/nongyehong/HuLa-IM-Tauri/commit/ed4d825))
+* :lipstick: style(custom): 使用.editorconfig和.gitattributes来约束行分隔符和编辑器设置 ([72808d8](https://github.com/nongyehong/HuLa-IM-Tauri/commit/72808d8))
+* :sparkles: feat(custom): 新增登录页面样式 ([8f0d27e](https://github.com/nongyehong/HuLa-IM-Tauri/commit/8f0d27e))
+* :sparkles: feat(custom): 新增动态页面 ([196d2d1](https://github.com/nongyehong/HuLa-IM-Tauri/commit/196d2d1))
+* :sparkles: feat(custom): 新增好友和群聊详情页 ([b11593d](https://github.com/nongyehong/HuLa-IM-Tauri/commit/b11593d))
+* :sparkles: feat(custom): 新增好友聊天页面设置侧边栏 ([6a1688b](https://github.com/nongyehong/HuLa-IM-Tauri/commit/6a1688b))
+* :sparkles: feat(custom): 新增护眼主题,隐藏窗口默认顶部菜单栏,优化rust打包配置 ([295bde5](https://github.com/nongyehong/HuLa-IM-Tauri/commit/295bde5))
+* :sparkles: feat(custom): 新增聊天页面的总体样式 ([5e21671](https://github.com/nongyehong/HuLa-IM-Tauri/commit/5e21671))
+* :sparkles: feat(custom): 新增输入框功能 ([009c3b0](https://github.com/nongyehong/HuLa-IM-Tauri/commit/009c3b0))
+* :sparkles: feat(custom): 新增拖拽排序、消息移除功能 ([393a689](https://github.com/nongyehong/HuLa-IM-Tauri/commit/393a689))
+* :sparkles: feat(custom): 新增消息气泡功能(第一版) ([2f2bd45](https://github.com/nongyehong/HuLa-IM-Tauri/commit/2f2bd45))
+* :sparkles: feat(custom): 新增右键菜单功能,修复隐藏顶部菜单栏后无法拖拽的问题 ([1b6e719](https://github.com/nongyehong/HuLa-IM-Tauri/commit/1b6e719))
+* :sparkles: feat(custom): 新增元素平滑上升的vue指令 ([e973799](https://github.com/nongyehong/HuLa-IM-Tauri/commit/e973799))
+* :sparkles: feat(custom): 新增主题切换功能,修复一些已知的问题 ([b6f668f](https://github.com/nongyehong/HuLa-IM-Tauri/commit/b6f668f))
+* :sparkles: feat(custom): 新增unocss及其插件 ([2af6767](https://github.com/nongyehong/HuLa-IM-Tauri/commit/2af6767))
+* :sunflower: update(custom): 更新侧边栏功能显示 ([acc0194](https://github.com/nongyehong/HuLa-IM-Tauri/commit/acc0194))
+* :sunflower: update(custom): 更新登录页面的样式,新增二维码登录页面 ([3fbc6b0](https://github.com/nongyehong/HuLa-IM-Tauri/commit/3fbc6b0))
+* :sunflower: update(custom): 更新登录页面和多窗口的样式 ([be6bc2d](https://github.com/nongyehong/HuLa-IM-Tauri/commit/be6bc2d))
+* :sunflower: update(custom): 更新登录页面样式,更新主页的列表样式 ([ad69ada](https://github.com/nongyehong/HuLa-IM-Tauri/commit/ad69ada))
+* :sunflower: update(custom): 更新聊天框页面的图标样式 ([60bc859](https://github.com/nongyehong/HuLa-IM-Tauri/commit/60bc859))
+* :sunflower: update(custom): 更新图标,新增系统托盘功能 ([3f1ea39](https://github.com/nongyehong/HuLa-IM-Tauri/commit/3f1ea39))
+* :sunflower: update(custom): 更新图标风格和主题颜色 ([db566cd](https://github.com/nongyehong/HuLa-IM-Tauri/commit/db566cd))
+* :sunflower: update(custom): 更新依赖版本 ([5c26e4e](https://github.com/nongyehong/HuLa-IM-Tauri/commit/5c26e4e))
+* :sunflower: update(custom): 更新用户列表样式 ([80ff121](https://github.com/nongyehong/HuLa-IM-Tauri/commit/80ff121))
+* :sunflower: update(custom): 更新右键菜单到信息和用户列表中 ([487767c](https://github.com/nongyehong/HuLa-IM-Tauri/commit/487767c))
+* :sunflower: update(custom): 更新右键菜单位置抉择 ([070d1e6](https://github.com/nongyehong/HuLa-IM-Tauri/commit/070d1e6))
+* :sunflower: update(custom): 更新右键菜单样式,新增聊天输入框右键菜单 ([4224cbd](https://github.com/nongyehong/HuLa-IM-Tauri/commit/4224cbd))
+* :sunflower: update(custom): 更新主页的收缩功能 ([6f58e78](https://github.com/nongyehong/HuLa-IM-Tauri/commit/6f58e78))
+* :sunflower: update(custom): 更新主页的样式 ([bf94200](https://github.com/nongyehong/HuLa-IM-Tauri/commit/bf94200))
+* :sunflower: update(custom): 更新主页的样式 ([6a39060](https://github.com/nongyehong/HuLa-IM-Tauri/commit/6a39060))
+* :sunflower: update(custom): 更新主页消息列表样式 ([910a6c4](https://github.com/nongyehong/HuLa-IM-Tauri/commit/910a6c4))
+* :sunflower: update(custom): 升级vue、vue-tsc、TS、vite版本 ([27e7bd0](https://github.com/nongyehong/HuLa-IM-Tauri/commit/27e7bd0))
## 1.0.0-alpha (2023-12-16)
-* :new: version(custom): 发布v1.0.0-alpha版本 ([d2ac653](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/d2ac653))
-* :sunflower: update(custom): 更新cz-customizable配置 ([43145e0](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/43145e0))
-* init 初始化仓库 ([85a59e8](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/85a59e8))
-* init 初始化项目配置 ([0b48de8](https://gitee.com/nongyehong/HuLa-IM-Tauri/commits/0b48de8))
+* :new: version(custom): 发布v1.0.0-alpha版本 ([d2ac653](https://github.com/nongyehong/HuLa-IM-Tauri/commit/d2ac653))
+* :sunflower: update(custom): 更新cz-customizable配置 ([43145e0](https://github.com/nongyehong/HuLa-IM-Tauri/commit/43145e0))
+* init 初始化仓库 ([85a59e8](https://github.com/nongyehong/HuLa-IM-Tauri/commit/85a59e8))
+* init 初始化项目配置 ([0b48de8](https://github.com/nongyehong/HuLa-IM-Tauri/commit/0b48de8))
diff --git a/package.json b/package.json
index d45554b..4b9f312 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "hula-im-tauri",
"private": true,
- "version": "v1.2.9-alpha",
+ "version": "v1.2.9",
"packageManager": "pnpm@8.15.4",
"engines": {
"node": ">=18.12.0",
diff --git a/src-tauri/src/common/window.rs b/src-tauri/src/common/window.rs
index 7fc79e5..40062de 100644
--- a/src-tauri/src/common/window.rs
+++ b/src-tauri/src/common/window.rs
@@ -9,7 +9,7 @@ pub fn set_window_attribute(app: &tauri::App) {
// 设置窗口的磨砂背景
#[cfg(target_os = "macos")]
- window_vibrancy::apply_vibrancy(&win, NSVisualEffectMaterial::FullScreenUI)
+ window_vibrancy::apply_acrylic(&window, Some((255, 255, 255, 1)))
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
#[cfg(target_os = "windows")]
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index ae5b293..df59b34 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -14,7 +14,7 @@ fn reset_set_window(app: tauri::AppHandle, label: String) {
set_shadow(&window, true).expect("Unsupported platform!");
#[cfg(target_os = "macos")]
- window_vibrancy::apply_vibrancy(&win, NSVisualEffectMaterial::FullScreenUI)
+ window_vibrancy::apply_acrylic(&window, Some((255, 255, 255, 1)))
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
#[cfg(target_os = "windows")]
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 715f433..9e85767 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -7,7 +7,7 @@
},
"package": {
"productName": "HuLa-IM-Tauri",
- "version": "1.2.9-alpha"
+ "version": "1.2.9"
},
"tauri": {
"allowlist": {
@@ -31,6 +31,11 @@
"active": true,
"targets": "all",
"identifier": "com.tauri.build",
+ "windows": {
+ "wix": {
+ "language": "zh-CN"
+ }
+ },
"icon": [
"icons/32x32.png",
"icons/128x128.png",
diff --git a/src/typings/auto-imports.d.ts b/src/typings/auto-imports.d.ts
new file mode 100644
index 0000000..7007359
--- /dev/null
+++ b/src/typings/auto-imports.d.ts
@@ -0,0 +1,70 @@
+/* eslint-disable */
+/* prettier-ignore */
+// @ts-nocheck
+// noinspection JSUnusedGlobalSymbols
+// Generated by unplugin-auto-import
+export {}
+declare global {
+ const EffectScope: typeof import('vue')['EffectScope']
+ const computed: typeof import('vue')['computed']
+ const createApp: typeof import('vue')['createApp']
+ const customRef: typeof import('vue')['customRef']
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
+ const defineComponent: typeof import('vue')['defineComponent']
+ const effectScope: typeof import('vue')['effectScope']
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
+ const h: typeof import('vue')['h']
+ const inject: typeof import('vue')['inject']
+ const isProxy: typeof import('vue')['isProxy']
+ const isReactive: typeof import('vue')['isReactive']
+ const isReadonly: typeof import('vue')['isReadonly']
+ const isRef: typeof import('vue')['isRef']
+ const markRaw: typeof import('vue')['markRaw']
+ const nextTick: typeof import('vue')['nextTick']
+ const onActivated: typeof import('vue')['onActivated']
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
+ const onDeactivated: typeof import('vue')['onDeactivated']
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
+ const onMounted: typeof import('vue')['onMounted']
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
+ const onUnmounted: typeof import('vue')['onUnmounted']
+ const onUpdated: typeof import('vue')['onUpdated']
+ const provide: typeof import('vue')['provide']
+ const reactive: typeof import('vue')['reactive']
+ const readonly: typeof import('vue')['readonly']
+ const ref: typeof import('vue')['ref']
+ const resolveComponent: typeof import('vue')['resolveComponent']
+ const shallowReactive: typeof import('vue')['shallowReactive']
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
+ const shallowRef: typeof import('vue')['shallowRef']
+ const toRaw: typeof import('vue')['toRaw']
+ const toRef: typeof import('vue')['toRef']
+ const toRefs: typeof import('vue')['toRefs']
+ const toValue: typeof import('vue')['toValue']
+ const triggerRef: typeof import('vue')['triggerRef']
+ const unref: typeof import('vue')['unref']
+ const useAttrs: typeof import('vue')['useAttrs']
+ const useCssModule: typeof import('vue')['useCssModule']
+ const useCssVars: typeof import('vue')['useCssVars']
+ const useDialog: typeof import('naive-ui')['useDialog']
+ const useLoadingBar: typeof import('naive-ui')['useLoadingBar']
+ const useMessage: typeof import('naive-ui')['useMessage']
+ const useNotification: typeof import('naive-ui')['useNotification']
+ const useSlots: typeof import('vue')['useSlots']
+ const watch: typeof import('vue')['watch']
+ const watchEffect: typeof import('vue')['watchEffect']
+ const watchPostEffect: typeof import('vue')['watchPostEffect']
+ const watchSyncEffect: typeof import('vue')['watchSyncEffect']
+}
+// for type re-export
+declare global {
+ // @ts-ignore
+ export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
+ import('vue')
+}
diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts
new file mode 100644
index 0000000..a1596d1
--- /dev/null
+++ b/src/typings/components.d.ts
@@ -0,0 +1,57 @@
+/* eslint-disable */
+/* prettier-ignore */
+// @ts-nocheck
+// Generated by unplugin-vue-components
+// Read more: https://github.com/vuejs/core/pull/3399
+export {}
+
+declare module 'vue' {
+ export interface GlobalComponents {
+ ActionBar: typeof import('./../components/windows/ActionBar.vue')['default']
+ ChatBox: typeof import('./../components/rightBox/chatBox/index.vue')['default']
+ ChatFooter: typeof import('./../components/rightBox/chatBox/chatFooter.vue')['default']
+ ChatHeader: typeof import('./../components/rightBox/chatBox/chatHeader.vue')['default']
+ ChatMain: typeof import('./../components/rightBox/chatBox/chatMain.vue')['default']
+ ContextMenu: typeof import('./../components/common/ContextMenu.vue')['default']
+ Details: typeof import('./../components/rightBox/Details.vue')['default']
+ Image: typeof import('./../components/rightBox/renderMessage/image.vue')['default']
+ MsgInput: typeof import('./../components/rightBox/MsgInput/index.vue')['default']
+ NaiveProvider: typeof import('./../components/common/NaiveProvider.vue')['default']
+ NAvatar: typeof import('naive-ui')['NAvatar']
+ NAvatarGroup: typeof import('naive-ui')['NAvatarGroup']
+ NBadge: typeof import('naive-ui')['NBadge']
+ NButton: typeof import('naive-ui')['NButton']
+ NButtonGroup: typeof import('naive-ui')['NButtonGroup']
+ NCheckbox: typeof import('naive-ui')['NCheckbox']
+ NCollapse: typeof import('naive-ui')['NCollapse']
+ NCollapseItem: typeof import('naive-ui')['NCollapseItem']
+ NConfigProvider: typeof import('naive-ui')['NConfigProvider']
+ NDialogProvider: typeof import('naive-ui')['NDialogProvider']
+ NDropdown: typeof import('naive-ui')['NDropdown']
+ NFlex: typeof import('naive-ui')['NFlex']
+ NFloatButton: typeof import('naive-ui')['NFloatButton']
+ NIcon: typeof import('naive-ui')['NIcon']
+ NIconWrapper: typeof import('naive-ui')['NIconWrapper']
+ NImage: typeof import('naive-ui')['NImage']
+ NImageGroup: typeof import('naive-ui')['NImageGroup']
+ NInput: typeof import('naive-ui')['NInput']
+ NLoadingBarProvider: typeof import('naive-ui')['NLoadingBarProvider']
+ NMessageProvider: typeof import('naive-ui')['NMessageProvider']
+ NModal: typeof import('naive-ui')['NModal']
+ NNotificationProvider: typeof import('naive-ui')['NNotificationProvider']
+ NPopover: typeof import('naive-ui')['NPopover']
+ NQrCode: typeof import('naive-ui')['NQrCode']
+ NScrollbar: typeof import('naive-ui')['NScrollbar']
+ NSkeleton: typeof import('naive-ui')['NSkeleton']
+ NSpace: typeof import('naive-ui')['NSpace']
+ NSwitch: typeof import('naive-ui')['NSwitch']
+ NTabPane: typeof import('naive-ui')['NTabPane']
+ NTabs: typeof import('naive-ui')['NTabs']
+ NTooltip: typeof import('naive-ui')['NTooltip']
+ NVirtualList: typeof import('naive-ui')['NVirtualList']
+ RenderMessage: typeof import('./../components/rightBox/renderMessage/index.vue')['default']
+ RouterLink: typeof import('vue-router')['RouterLink']
+ RouterView: typeof import('vue-router')['RouterView']
+ Text: typeof import('./../components/rightBox/renderMessage/text.vue')['default']
+ }
+}