Skip to content

Commit 1ae0b96

Browse files
authored
Support Profile Detection for the Auto Profiles (#42) (#50)
* [WIP] Reflect current profile when using auto profile (#42) * Show detected profile in the popup * simplify test cases
1 parent ea212a1 commit 1ae0b96

25 files changed

+2964
-1609
lines changed

components.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
/* eslint-disable */
22
// @ts-nocheck
3+
// biome-ignore lint: disable
4+
// oxlint-disable
5+
// ------
36
// Generated by unplugin-vue-components
47
// Read more: https://github.com/vuejs/core/pull/3399
8+
59
export {}
610

711
/* prettier-ignore */
812
declare module 'vue' {
913
export interface GlobalComponents {
14+
AAlert: typeof import('@arco-design/web-vue')['Alert']
1015
AButton: typeof import('@arco-design/web-vue')['Button']
1116
AButtonGroup: typeof import('@arco-design/web-vue')['ButtonGroup']
1217
ACheckbox: typeof import('@arco-design/web-vue')['Checkbox']
@@ -39,10 +44,12 @@ declare module 'vue' {
3944
ASelect: typeof import('@arco-design/web-vue')['Select']
4045
ASpace: typeof import('@arco-design/web-vue')['Space']
4146
ATable: typeof import('@arco-design/web-vue')['Table']
47+
ATag: typeof import('@arco-design/web-vue')['Tag']
4248
ATextarea: typeof import('@arco-design/web-vue')['Textarea']
4349
ATooltip: typeof import('@arco-design/web-vue')['Tooltip']
4450
ATypographyParagraph: typeof import('@arco-design/web-vue')['TypographyParagraph']
4551
ATypographyText: typeof import('@arco-design/web-vue')['TypographyText']
52+
AutoModeActionBar: typeof import('./src/components/AutoModeActionBar.vue')['default']
4653
AutoSwitchInput: typeof import('./src/components/configs/AutoSwitchInput.vue')['default']
4754
AutoSwitchPacPreview: typeof import('./src/components/configs/AutoSwitchPacPreview.vue')['default']
4855
PreferencePage: typeof import('./src/components/PreferencePage.vue')['default']

manifest.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,11 @@
1818
},
1919

2020
"host_permissions": ["<all_urls>"],
21-
"permissions": ["storage", "proxy", "webRequest", "webRequestAuthProvider"]
21+
"permissions": [
22+
"storage",
23+
"proxy",
24+
"webRequest",
25+
"webRequestAuthProvider",
26+
"activeTab"
27+
]
2228
}

0 commit comments

Comments
 (0)