@huyooo/ui 0.4.75 → 0.4.77
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.
|
@@ -13,6 +13,39 @@ export interface DesktopDownloadItem {
|
|
|
13
13
|
requirements: string;
|
|
14
14
|
badge?: string;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* 浏览器扩展项接口
|
|
18
|
+
*/
|
|
19
|
+
export interface ExtensionItem {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
requirements: string;
|
|
25
|
+
version: string;
|
|
26
|
+
updateDate: string;
|
|
27
|
+
platform?: string;
|
|
28
|
+
storeUrl?: string;
|
|
29
|
+
downloadUrl?: string;
|
|
30
|
+
isRecommended?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 移动端下载项接口
|
|
34
|
+
*/
|
|
35
|
+
export interface MobileDownloadItem {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
version: string;
|
|
40
|
+
updateDate: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
downloadUrl: string;
|
|
43
|
+
platform: string;
|
|
44
|
+
requirements: string;
|
|
45
|
+
badge?: string;
|
|
46
|
+
isExternal?: boolean;
|
|
47
|
+
backgroundColor?: string;
|
|
48
|
+
}
|
|
16
49
|
/**
|
|
17
50
|
* 统一的下载处理函数
|
|
18
51
|
*/
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
requirements: string;
|
|
7
|
-
version: string;
|
|
8
|
-
updateDate: string;
|
|
9
|
-
platform?: string;
|
|
10
|
-
storeUrl?: string;
|
|
11
|
-
downloadUrl?: string;
|
|
12
|
-
isRecommended?: boolean;
|
|
13
|
-
}
|
|
1
|
+
import { ExtensionItem } from '../../common/downloadOptions';
|
|
14
2
|
interface Props {
|
|
15
3
|
title: string;
|
|
16
4
|
description: string;
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
version: string;
|
|
6
|
-
updateDate: string;
|
|
7
|
-
icon: string;
|
|
8
|
-
downloadUrl: string;
|
|
9
|
-
platform: string;
|
|
10
|
-
requirements: string;
|
|
11
|
-
badge?: string;
|
|
12
|
-
isExternal?: boolean;
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
}
|
|
1
|
+
import { MobileDownloadItem } from '../../common/downloadOptions';
|
|
15
2
|
interface Props {
|
|
16
3
|
title: string;
|
|
17
4
|
description: string;
|
package/dist/download.d.ts
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
export { default as BrowserExtensions } from './components/Download/BrowserExtensions.vue';
|
|
2
2
|
export { default as DesktopDownloads } from './components/Download/DesktopDownloads.vue';
|
|
3
|
+
export { default as MobileDownloads } from './components/Download/MobileDownloads.vue';
|
|
3
4
|
export { default as DownloadCard } from './components/Download/DownloadCard.vue';
|
|
4
5
|
export { default as DownloadDropdown } from './components/Download/DownloadDropdown.vue';
|
|
5
6
|
export { default as DownloadGrid } from './components/Download/DownloadGrid.vue';
|
|
6
7
|
export { default as DownloadSectionHeader } from './components/Download/DownloadSectionHeader.vue';
|
|
7
8
|
export { default as ExtensionCard } from './components/Download/ExtensionCard.vue';
|
|
8
|
-
export {
|
|
9
|
+
export type { DesktopDownloadItem, ExtensionItem, MobileDownloadItem } from './common/downloadOptions';
|
|
10
|
+
export { default as AndroidWhiteIcon } from './assets/icons/official/android-white.svg';
|
|
11
|
+
export { default as AppleWhiteIcon } from './assets/icons/official/apple-white.svg';
|
|
12
|
+
export { default as AppleIcon } from './assets/icons/official/apple.svg';
|
|
13
|
+
export { default as WindowsIcon } from './assets/icons/official/windows.svg';
|
|
14
|
+
export { default as ChromeIcon } from './assets/icons/official/chrome.svg';
|
|
15
|
+
export { default as ChromiumIcon } from './assets/icons/official/chromium.svg';
|
|
16
|
+
export { default as EdgeIcon } from './assets/icons/official/edge.svg';
|
|
17
|
+
export { default as FirefoxIcon } from './assets/icons/official/firefox.svg';
|
|
18
|
+
export { default as SafariIcon } from './assets/icons/official/safari.svg';
|
|
19
|
+
export { default as ChromeStoreIcon } from './assets/icons/official/chrome-store.svg';
|
|
20
|
+
export { default as EdgeStoreIcon } from './assets/icons/official/edge-store.svg';
|
|
21
|
+
export { default as FirefoxStoreIcon } from './assets/icons/official/firefox-store.svg';
|
|
22
|
+
export { default as SafariStoreIcon } from './assets/icons/official/safari-store.svg';
|
|
23
|
+
export { default as DownloadIcon } from './assets/icons/official/download.svg';
|