Skip to content

Commit 03eee99

Browse files
authored
Merge pull request #2 from ProgramCX/feature/mainwindow
主窗口基本布局
2 parents 02fc0e3 + 81aa5c1 commit 03eee99

File tree

160 files changed

+2173
-563
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+2173
-563
lines changed

components.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,24 @@ export {}
88
/* prettier-ignore */
99
declare module 'vue' {
1010
export interface GlobalComponents {
11+
ChatContent: typeof import('./src/components/mainwindow/ChatView/ChatContent.vue')['default']
12+
ChatInput: typeof import('./src/components/mainwindow/ChatView/ChatInput.vue')['default']
13+
ChatTitle: typeof import('./src/components/mainwindow/ChatView/ChatTitle.vue')['default']
14+
ElBadge: typeof import('element-plus/es')['ElBadge']
1115
ElIcon: typeof import('element-plus/es')['ElIcon']
1216
ElLink: typeof import('element-plus/es')['ElLink']
1317
ElText: typeof import('element-plus/es')['ElText']
1418
FluentCheckBox: typeof import('./src/components/fluent-ui/FluentCheckBox.vue')['default']
1519
FluentInput: typeof import('./src/components/fluent-ui/FluentInput.vue')['default']
20+
InputSearch: typeof import('./src/components/common/InputBox/InputSearch.vue')['default']
21+
MessageListItem: typeof import('./src/components/mainwindow/MessageList/MessageListItem.vue')['default']
22+
NavBar: typeof import('./src/components/mainwindow/NavBar.vue')['default']
23+
PopMenu: typeof import('./src/components/common/PopMenu/PopMenu.vue')['default']
24+
PopMenuItem: typeof import('./src/components/common/PopMenu/PopMenuItem.vue')['default']
1625
RouterLink: typeof import('vue-router')['RouterLink']
1726
RouterView: typeof import('vue-router')['RouterView']
27+
SideBar: typeof import('./src/components/mainwindow/SideBar.vue')['default']
28+
SvgIcon: typeof import('./src/components/common/SvgIcon.vue')['default']
29+
TitleBar: typeof import('./src/components/common/TitleBar.vue')['default']
1830
}
1931
}

electron-builder.json5

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
11
// @see - https://www.electron.build/configuration/configuration
22
{
3-
$schema: "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
4-
appId: "cn.programcx",
5-
asar: true,
6-
productName: "Flow Message",
7-
directories: {
8-
output: "release/${version}",
3+
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
4+
"appId": "cn.programcx",
5+
"asar": true,
6+
"productName": "Flow Message",
7+
"directories": {
8+
"output": "release/${version}"
99
},
10-
files: ["dist", "dist-electron"],
11-
mac: {
12-
target: ["dmg"],
13-
artifactName: "${productName}-Mac-${version}-Installer.${ext}",
10+
"files": [
11+
"dist",
12+
"dist-electron"
13+
],
14+
"mac": {
15+
"target": [
16+
"dmg"
17+
],
18+
"artifactName": "${productName}-Mac-${version}-Installer.${ext}",
1419
icon: "public/icon/icon.icns",
1520
},
16-
win: {
17-
target: [
21+
"win": {
22+
"target": [
1823
{
19-
target: "nsis",
20-
arch: ["x64"],
21-
},
24+
"target": "nsis",
25+
"arch": [
26+
"x64"
27+
]
28+
}
2229
],
23-
artifactName: "${productName}-Windows-${version}-Setup.${ext}",
30+
"artifactName": "${productName}-Windows-${version}-Setup.${ext}",
2431
icon: "public/icon/icon.ico",
2532
},
26-
nsis: {
27-
oneClick: false,
28-
perMachine: false,
29-
allowToChangeInstallationDirectory: true,
30-
deleteAppDataOnUninstall: false,
31-
},
32-
linux: {
33-
target: ["AppImage"],
34-
artifactName: "${productName}-Linux-${version}.${ext}",
35-
"icon": "public/icon/icon.png",
33+
"nsis": {
34+
"oneClick": false,
35+
"perMachine": false,
36+
"allowToChangeInstallationDirectory": true,
37+
"deleteAppDataOnUninstall": false
3638
},
37-
}
39+
"linux": {
40+
"target": [
41+
"AppImage"
42+
],
43+
"artifactName": "${productName}-Linux-${version}.${ext}"
44+
}
45+
}

0 commit comments

Comments
 (0)