@lvce-editor/quick-pick-worker 4.13.0 → 4.13.1
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.
- package/dist/quickPickWorkerMain.js +13 -0
- package/package.json +1 -1
|
@@ -3029,6 +3029,7 @@ const getPicks$3 = async () => {
|
|
|
3029
3029
|
|
|
3030
3030
|
const Hide = 'hide';
|
|
3031
3031
|
const KeepOpen = '';
|
|
3032
|
+
const OpenColorTheme = 'open-color-theme';
|
|
3032
3033
|
const OpenLanguageMode = 'open-language-mode';
|
|
3033
3034
|
|
|
3034
3035
|
const selectPick$a = async pick => {
|
|
@@ -3051,6 +3052,11 @@ const shouldHide = item => {
|
|
|
3051
3052
|
};
|
|
3052
3053
|
|
|
3053
3054
|
const selectPickBuiltin = async item => {
|
|
3055
|
+
if (item.id === 'QuickPick.showColorTheme') {
|
|
3056
|
+
return {
|
|
3057
|
+
command: OpenColorTheme
|
|
3058
|
+
};
|
|
3059
|
+
}
|
|
3054
3060
|
if (item.id === 'QuickPick.changeLanguageMode') {
|
|
3055
3061
|
return {
|
|
3056
3062
|
command: OpenLanguageMode
|
|
@@ -3709,6 +3715,13 @@ const selectIndex = async (state, index, button = /* left */0) => {
|
|
|
3709
3715
|
await invoke$1(selectPickResult.itemCommand, ...(selectPickResult.itemCommandArgs || []));
|
|
3710
3716
|
}
|
|
3711
3717
|
return state;
|
|
3718
|
+
case OpenColorTheme:
|
|
3719
|
+
return loadContent({
|
|
3720
|
+
...state,
|
|
3721
|
+
args: [],
|
|
3722
|
+
uri: ColorTheme,
|
|
3723
|
+
value: ''
|
|
3724
|
+
});
|
|
3712
3725
|
case OpenLanguageMode:
|
|
3713
3726
|
return loadContent({
|
|
3714
3727
|
...state,
|