File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1111 "build" : " vite build && vue-tsc -d --emitDeclarationOnly"
1212 },
1313 "devDependencies" : {
14- "@antfu/eslint-config" : " ^3 .12.1 " ,
15- "@vitejs/plugin-vue" : " ^5.2.1 " ,
16- "eslint" : " ^9.17 .0" ,
14+ "@antfu/eslint-config" : " ^4 .12.0 " ,
15+ "@vitejs/plugin-vue" : " ^5.2.3 " ,
16+ "eslint" : " ^9.24 .0" ,
1717 "fcitx5-js" : " file:cache/fcitx5-js.tgz" ,
18- "naive-ui" : " ^2.40.4 " ,
19- "typescript" : " 5.7.2 " ,
20- "vite" : " ^6.0 .6" ,
18+ "naive-ui" : " ^2.41.0 " ,
19+ "typescript" : " 5.8.3 " ,
20+ "vite" : " ^6.2 .6" ,
2121 "vooks" : " ^0.2.12" ,
2222 "vue" : " ^3.5.13" ,
23- "vue-i18n" : " 10 " ,
24- "vue-tsc" : " ^2.2.0 "
23+ "vue-i18n" : " 11 " ,
24+ "vue-tsc" : " ^2.2.8 "
2525 }
2626}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function labelWithMinus(option: MenuOption) {
4848 onClick : (e : MouseEvent ) => {
4949 const ims = props .inputMethods .filter (({ name }) => name !== option .key ).map (({ name }) => name )
5050 window .fcitx .setInputMethods (ims )
51- window .fcitx .updateStatusArea ()
51+ window .fcitx .updateInputMethods ()
5252 e .stopPropagation () // Don't fallback to selecting menu item.
5353 if (selectedInputMethod .value === option .key ) {
5454 selectedInputMethod .value = ims [0 ]
@@ -123,7 +123,7 @@ const imsToAdd = ref<string[]>([])
123123
124124function add() {
125125 window .fcitx .setInputMethods (props .inputMethods .map (({ name }) => name ).concat (imsToAdd .value ))
126- window .fcitx .updateStatusArea ()
126+ window .fcitx .updateInputMethods ()
127127 imsToAdd .value = []
128128}
129129
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ async function onUpload(files: UploadFileInfo[]) {
2929 message .error (e .message )
3030 continue
3131 }
32- window .fcitx .updateStatusArea ()
32+ window .fcitx .updateInputMethods ()
3333 installedPlugins .value = getInstalledPlugins ()
3434 message .success (` Installed ${name } ` )
3535 }
You can’t perform that action at this time.
0 commit comments