From 37ce2457bce9a1b661c6db7162023f53268833f5 Mon Sep 17 00:00:00 2001 From: viarotel Date: Thu, 4 Jul 2024 23:55:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Add=20batch=20installation?= =?UTF-8?q?=20application=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 4 +- .../BatchActions/AppInstall/index.vue | 34 +++++++++ .../Device/components/BatchActions/index.vue | 71 +++++++++++++++++++ .../Device/components/ControlBar/index.vue | 1 - src/components/Device/index.vue | 24 +++++++ src/locales/languages/en-US.json | 1 + src/locales/languages/zh-CN.json | 1 + src/locales/languages/zh-TW.json | 1 + 8 files changed, 135 insertions(+), 2 deletions(-) create mode 100644 src/components/Device/components/BatchActions/AppInstall/index.vue create mode 100644 src/components/Device/components/BatchActions/index.vue diff --git a/components.d.ts b/components.d.ts index 768124d..c6282ce 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,9 +8,10 @@ export {} declare module 'vue' { export interface GlobalComponents { About: typeof import('./src/components/About/index.vue')['default'] - AppInstall: typeof import('./src/components/Device/components/ControlBar/AppInstall/index.vue')['default'] + AppInstall: typeof import('./src/components/Device/components/BatchActions/AppInstall/index.vue')['default'] AppSearch: typeof import('./src/components/AppSearch/index.vue')['default'] AudioCodecSelect: typeof import('./src/components/Preference/components/AudioCodecSelect/index.vue')['default'] + BatchActions: typeof import('./src/components/Device/components/BatchActions/index.vue')['default'] Camera: typeof import('./src/components/Device/components/MoreDropdown/components/Camera/index.vue')['default'] ControlBar: typeof import('./src/components/Device/components/ControlBar/index.vue')['default'] Device: typeof import('./src/components/Device/index.vue')['default'] @@ -20,6 +21,7 @@ declare module 'vue' { ElCol: typeof import('element-plus/es')['ElCol'] ElCollapse: typeof import('element-plus/es')['ElCollapse'] ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem'] + ElCollapseTransition: typeof import('element-plus/es')['ElCollapseTransition'] ElDialog: typeof import('element-plus/es')['ElDialog'] ElDropdown: typeof import('element-plus/es')['ElDropdown'] ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] diff --git a/src/components/Device/components/BatchActions/AppInstall/index.vue b/src/components/Device/components/BatchActions/AppInstall/index.vue new file mode 100644 index 0000000..7aeef33 --- /dev/null +++ b/src/components/Device/components/BatchActions/AppInstall/index.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/components/Device/components/BatchActions/index.vue b/src/components/Device/components/BatchActions/index.vue new file mode 100644 index 0000000..8073157 --- /dev/null +++ b/src/components/Device/components/BatchActions/index.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/src/components/Device/components/ControlBar/index.vue b/src/components/Device/components/ControlBar/index.vue index 46b3c91..fd250ae 100644 --- a/src/components/Device/components/ControlBar/index.vue +++ b/src/components/Device/components/ControlBar/index.vue @@ -119,7 +119,6 @@ export default { command: 'input keyevent 26', tips: 'device.control.power.tips', }, - { label: 'device.control.rotation.name', svgIcon: 'rotation', diff --git a/src/components/Device/index.vue b/src/components/Device/index.vue index dabbcc9..308af98 100644 --- a/src/components/Device/index.vue +++ b/src/components/Device/index.vue @@ -30,6 +30,13 @@ + + +