@lvce-editor/constants 2.1.0 → 2.3.0

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/index.d.ts CHANGED
@@ -304,6 +304,58 @@ declare const Replace = "replace";
304
304
  declare const ReplaceAll = "replaceAll";
305
305
  declare const ToggleBlockComment = "toggleBlockComment";
306
306
  declare const Unknown$1 = "unknown";
307
+ declare const Undo = "undo";
308
+ declare const Redo = "redo";
309
+ declare const Cut = "cut";
310
+ declare const Copy = "copy";
311
+ declare const Paste = "paste";
312
+ declare const PasteAndMatchStyle = "pasteAndMatchStyle";
313
+ declare const Delete$1 = "delete";
314
+ declare const SelectAll = "selectAll";
315
+ declare const Reload = "reload";
316
+ declare const ForceReload = "forceReload";
317
+ declare const ToggleDevTools = "toggleDevTools";
318
+ declare const ResetZoom = "resetZoom";
319
+ declare const ZoomIn = "zoomIn";
320
+ declare const ZoomOut = "zoomOut";
321
+ declare const ToggleSpellChecker = "toggleSpellChecker";
322
+ declare const Togglefullscreen = "togglefullscreen";
323
+ declare const Window = "window";
324
+ declare const Minimize = "minimize";
325
+ declare const Close = "close";
326
+ declare const Help = "help";
327
+ declare const About = "about";
328
+ declare const Services = "services";
329
+ declare const Hide = "hide";
330
+ declare const HideOthers = "hideOthers";
331
+ declare const Unhide = "unhide";
332
+ declare const Quit = "quit";
333
+ declare const ShowSubstitutions = "showSubstitutions";
334
+ declare const ToggleSmartQuotes = "toggleSmartQuotes";
335
+ declare const ToggleSmartDashes = "toggleSmartDashes";
336
+ declare const ToggleTextReplacement = "toggleTextReplacement";
337
+ declare const StartSpeaking = "startSpeaking";
338
+ declare const StopSpeaking = "stopSpeaking";
339
+ declare const Zoom = "zoom";
340
+ declare const Front = "front";
341
+ declare const AppMenu = "appMenu";
342
+ declare const FileMenu = "fileMenu";
343
+ declare const EditMenu = "editMenu";
344
+ declare const ViewMenu = "viewMenu";
345
+ declare const ShareMenu = "shareMenu";
346
+ declare const RecentDocuments = "recentDocuments";
347
+ declare const ToggleTabBar = "toggleTabBar";
348
+ declare const SelectNextTab = "selectNextTab";
349
+ declare const SelectPreviousTab = "selectPreviousTab";
350
+ declare const MergeAllWindows = "mergeAllWindows";
351
+ declare const ClearRecentDocuments = "clearRecentDocuments";
352
+ declare const MoveTabToNewWindow = "moveTabToNewWindow";
353
+ declare const WindowMenu = "windowMenu";
354
+ declare const Normal$1 = "normal";
355
+ declare const Separator$1 = "separator";
356
+ declare const SubMenu = "submenu";
357
+ declare const Checkbox = "checkbox";
358
+ declare const Radio = "radio";
307
359
  declare const getElementTag: (type: number) => string;
308
360
  declare const Audio = "audio";
309
361
  declare const Button$3 = "button";
@@ -388,7 +440,7 @@ declare const CreateFolder = 2;
388
440
  declare const Rename$1 = 3;
389
441
  declare const CreateFolder$1 = 1;
390
442
  declare const CreateFile$1 = 2;
391
- declare const Copy = 3;
443
+ declare const Copy$1 = 3;
392
444
  declare const Rename$2 = 4;
393
445
  declare const Remove = 5;
394
446
  declare const getKeyCode: (key: string) => number;
@@ -435,7 +487,7 @@ declare const UpArrow = 14;
435
487
  declare const RightArrow = 15;
436
488
  declare const DownArrow = 16;
437
489
  declare const Insert = 17;
438
- declare const Delete$1 = 18;
490
+ declare const Delete$2 = 18;
439
491
  declare const Digit0 = 19;
440
492
  declare const Digit1 = 20;
441
493
  declare const Digit2 = 21;
@@ -565,7 +617,7 @@ declare const UpArrow$1 = "UpArrow";
565
617
  declare const RightArrow$1 = "RightArrow";
566
618
  declare const DownArrow$1 = "DownArrow";
567
619
  declare const Insert$1 = "Insert";
568
- declare const Delete$2 = "Delete";
620
+ declare const Delete$3 = "Delete";
569
621
  declare const Digit0$1 = "0";
570
622
  declare const Digit1$1 = "1";
571
623
  declare const Digit2$1 = "2";
@@ -625,7 +677,7 @@ declare const Editor = 3;
625
677
  declare const Explorer = 4;
626
678
  declare const File$1 = 5;
627
679
  declare const Go = 6;
628
- declare const Help = 7;
680
+ declare const Help$1 = 7;
629
681
  declare const ManageExtension = 8;
630
682
  declare const OpenRecent = 9;
631
683
  declare const Run = 10;
@@ -650,9 +702,9 @@ declare const ExtensionDetailIconContextMenu = 4091;
650
702
  declare const TitleBarContextMenu = 90;
651
703
  declare const InputContextMenu = 91;
652
704
  declare const SearchMatchContextMenu = 93;
653
- declare const Separator$1 = 1;
705
+ declare const Separator$2 = 1;
654
706
  declare const None$2 = 0;
655
- declare const SubMenu = 4;
707
+ declare const SubMenu$1 = 4;
656
708
  declare const Checked = 2;
657
709
  declare const Unchecked = 3;
658
710
  declare const Disabled = 5;
@@ -685,7 +737,7 @@ declare const Commands = 1;
685
737
  declare const Custom = 2;
686
738
  declare const File$2 = 3;
687
739
  declare const GoToLine = 4;
688
- declare const Help$1 = 5;
740
+ declare const Help$2 = 5;
689
741
  declare const Recent = 6;
690
742
  declare const Symbol$1 = 7;
691
743
  declare const View$1 = 8;
@@ -698,7 +750,7 @@ declare const WorkspaceSymbol$1 = "#";
698
750
  declare const GoToLine$1 = ":";
699
751
  declare const View$2 = "view ";
700
752
  declare const None$3 = "";
701
- declare const Help$2 = "?";
753
+ declare const Help$3 = "?";
702
754
  declare const GoToColumn = "::";
703
755
  declare const ClipBoardProcess = 3401;
704
756
  declare const ClipBoardWorker = 3400;
@@ -730,6 +782,7 @@ declare const SearchProcessElectron = 2;
730
782
  declare const SharedProcess = 1492;
731
783
  declare const SourceActionWorker = 303;
732
784
  declare const SourceControlWorker = 66;
785
+ declare const StatusBarWorker = 7201;
733
786
  declare const SyntaxHighlightingWorker = 3309;
734
787
  declare const TestWithPlaywrightCli = 6000;
735
788
  declare const TestWithPlaywrightWorker = 6001;
@@ -918,6 +971,12 @@ declare namespace DirentType {
918
971
  declare namespace EditOrigin {
919
972
  export { CompositionUpdate, ContentEditableInput, Delete, DeleteHorizontalRight, DeleteLeft, EditorCut, EditorPasteText, EditorSnippet, EditorType, EditorTypeWithAutoClosing, Format, IndentLess, IndentMore, InsertLineBreak, LineComment, Rename, Replace, ReplaceAll, ToggleBlockComment, Unknown$1 as Unknown };
920
973
  }
974
+ declare namespace ElectronMenuItemRole {
975
+ export { About, AppMenu, ClearRecentDocuments, Close, Copy, Cut, Delete$1 as Delete, EditMenu, FileMenu, ForceReload, Front, Help, Hide, HideOthers, MergeAllWindows, Minimize, MoveTabToNewWindow, Paste, PasteAndMatchStyle, Quit, RecentDocuments, Redo, Reload, ResetZoom, SelectAll, SelectNextTab, SelectPreviousTab, Services, ShareMenu, ShowSubstitutions, StartSpeaking, StopSpeaking, ToggleDevTools, ToggleSmartDashes, ToggleSmartQuotes, ToggleSpellChecker, ToggleTabBar, ToggleTextReplacement, Togglefullscreen, Undo, Unhide, ViewMenu, Window, WindowMenu, Zoom, ZoomIn, ZoomOut };
976
+ }
977
+ declare namespace ElectronMenuItemType {
978
+ export { Checkbox, Normal$1 as Normal, Radio, Separator$1 as Separator, SubMenu };
979
+ }
921
980
  declare namespace ElementTagMap {
922
981
  export { getElementTag };
923
982
  }
@@ -934,7 +993,7 @@ declare namespace ExplorerEditingType {
934
993
  export { CreateFile, CreateFolder, None$1 as None, Rename$1 as Rename };
935
994
  }
936
995
  declare namespace FileOperationType {
937
- export { Copy, CreateFile$1 as CreateFile, CreateFolder$1 as CreateFolder, Remove, Rename$2 as Rename };
996
+ export { Copy$1 as Copy, CreateFile$1 as CreateFile, CreateFolder$1 as CreateFolder, Remove, Rename$2 as Rename };
938
997
  }
939
998
  declare namespace GetKeyCode {
940
999
  export { getKeyCode };
@@ -958,19 +1017,19 @@ declare namespace InputSource {
958
1017
  export { Script, User };
959
1018
  }
960
1019
  declare namespace KeyCode {
961
- export { ABNT_C1, ABNT_C2, Alt, AudioVolumeDown, AudioVolumeMute, AudioVolumeUp, Backquote, Backslash, Backspace, BracketLeft, BracketRight, BrowserBack, BrowserForward, BrowserHome, BrowserSearch, CapsLock, Clear, Comma, ContextMenu, Ctrl, Delete$1 as Delete, Digit0, Digit1, Digit2, Digit3, Digit4, Digit5, Digit6, Digit7, Digit8, Digit9, DownArrow, End, Enter, Equal, Escape, F1, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F2, F20, F21, F22, F23, F24, F3, F4, F5, F6, F7, F8, F9, Home, Insert, IntlBackslash, KeyA, KeyB, KeyC, KeyD, KeyE, KeyF, KeyG, KeyH, KeyI, KeyInComposition, KeyJ, KeyK, KeyL, KeyM, KeyN, KeyO, KeyP, KeyQ, KeyR, KeyS, KeyT, KeyU, KeyV, KeyW, KeyX, KeyY, KeyZ, LaunchApp2, LaunchMail, LaunchMediaPlayer, LeftArrow, MaxValue, MediaPlayPause, MediaStop, MediaTrackNext, MediaTrackPrevious, Meta, Minus, NumLock, Numpad0, Numpad1, Numpad2, Numpad3, Numpad4, Numpad5, Numpad6, Numpad7, Numpad8, Numpad9, NumpadAdd, NumpadDecimal, NumpadDivide, NumpadMultiply, NumpadSeparator, NumpadSubtract, OEM_8, PageDown, PageUp, PauseBreak, Period, Plus, Quote, RightArrow, ScrollLock, SemiColon, Slash, Space, Star, Tab$2 as Tab, Unknown$2 as Unknown, UpArrow };
1020
+ export { ABNT_C1, ABNT_C2, Alt, AudioVolumeDown, AudioVolumeMute, AudioVolumeUp, Backquote, Backslash, Backspace, BracketLeft, BracketRight, BrowserBack, BrowserForward, BrowserHome, BrowserSearch, CapsLock, Clear, Comma, ContextMenu, Ctrl, Delete$2 as Delete, Digit0, Digit1, Digit2, Digit3, Digit4, Digit5, Digit6, Digit7, Digit8, Digit9, DownArrow, End, Enter, Equal, Escape, F1, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F2, F20, F21, F22, F23, F24, F3, F4, F5, F6, F7, F8, F9, Home, Insert, IntlBackslash, KeyA, KeyB, KeyC, KeyD, KeyE, KeyF, KeyG, KeyH, KeyI, KeyInComposition, KeyJ, KeyK, KeyL, KeyM, KeyN, KeyO, KeyP, KeyQ, KeyR, KeyS, KeyT, KeyU, KeyV, KeyW, KeyX, KeyY, KeyZ, LaunchApp2, LaunchMail, LaunchMediaPlayer, LeftArrow, MaxValue, MediaPlayPause, MediaStop, MediaTrackNext, MediaTrackPrevious, Meta, Minus, NumLock, Numpad0, Numpad1, Numpad2, Numpad3, Numpad4, Numpad5, Numpad6, Numpad7, Numpad8, Numpad9, NumpadAdd, NumpadDecimal, NumpadDivide, NumpadMultiply, NumpadSeparator, NumpadSubtract, OEM_8, PageDown, PageUp, PauseBreak, Period, Plus, Quote, RightArrow, ScrollLock, SemiColon, Slash, Space, Star, Tab$2 as Tab, Unknown$2 as Unknown, UpArrow };
962
1021
  }
963
1022
  declare namespace KeyCodeString {
964
- export { Backquote$1 as Backquote, Backslash$1 as Backslash, Backspace$1 as Backspace, Comma$1 as Comma, Delete$2 as Delete, Digit0$1 as Digit0, Digit1$1 as Digit1, Digit2$1 as Digit2, Digit3$1 as Digit3, Digit4$1 as Digit4, Digit5$1 as Digit5, Digit6$1 as Digit6, Digit7$1 as Digit7, Digit8$1 as Digit8, Digit9$1 as Digit9, DownArrow$1 as DownArrow, End$1 as End, Enter$1 as Enter, Equal$1 as Equal, Escape$1 as Escape, F1$1 as F1, F2$1 as F2, F3$1 as F3, F4$1 as F4, F5$1 as F5, F6$1 as F6, Home$1 as Home, Insert$1 as Insert, KeyA$1 as KeyA, KeyB$1 as KeyB, KeyC$1 as KeyC, KeyD$1 as KeyD, KeyE$1 as KeyE, KeyF$1 as KeyF, KeyG$1 as KeyG, KeyH$1 as KeyH, KeyI$1 as KeyI, KeyJ$1 as KeyJ, KeyK$1 as KeyK, KeyL$1 as KeyL, KeyM$1 as KeyM, KeyN$1 as KeyN, KeyO$1 as KeyO, KeyP$1 as KeyP, KeyQ$1 as KeyQ, KeyR$1 as KeyR, KeyS$1 as KeyS, KeyT$1 as KeyT, KeyU$1 as KeyU, KeyV$1 as KeyV, KeyW$1 as KeyW, KeyX$1 as KeyX, KeyY$1 as KeyY, KeyZ$1 as KeyZ, LeftArrow$1 as LeftArrow, Minus$1 as Minus, PageDown$1 as PageDown, PageUp$1 as PageUp, Plus$1 as Plus, RightArrow$1 as RightArrow, Space$1 as Space, Star$1 as Star, Tab$3 as Tab, Unknown$3 as Unknown, UpArrow$1 as UpArrow };
1023
+ export { Backquote$1 as Backquote, Backslash$1 as Backslash, Backspace$1 as Backspace, Comma$1 as Comma, Delete$3 as Delete, Digit0$1 as Digit0, Digit1$1 as Digit1, Digit2$1 as Digit2, Digit3$1 as Digit3, Digit4$1 as Digit4, Digit5$1 as Digit5, Digit6$1 as Digit6, Digit7$1 as Digit7, Digit8$1 as Digit8, Digit9$1 as Digit9, DownArrow$1 as DownArrow, End$1 as End, Enter$1 as Enter, Equal$1 as Equal, Escape$1 as Escape, F1$1 as F1, F2$1 as F2, F3$1 as F3, F4$1 as F4, F5$1 as F5, F6$1 as F6, Home$1 as Home, Insert$1 as Insert, KeyA$1 as KeyA, KeyB$1 as KeyB, KeyC$1 as KeyC, KeyD$1 as KeyD, KeyE$1 as KeyE, KeyF$1 as KeyF, KeyG$1 as KeyG, KeyH$1 as KeyH, KeyI$1 as KeyI, KeyJ$1 as KeyJ, KeyK$1 as KeyK, KeyL$1 as KeyL, KeyM$1 as KeyM, KeyN$1 as KeyN, KeyO$1 as KeyO, KeyP$1 as KeyP, KeyQ$1 as KeyQ, KeyR$1 as KeyR, KeyS$1 as KeyS, KeyT$1 as KeyT, KeyU$1 as KeyU, KeyV$1 as KeyV, KeyW$1 as KeyW, KeyX$1 as KeyX, KeyY$1 as KeyY, KeyZ$1 as KeyZ, LeftArrow$1 as LeftArrow, Minus$1 as Minus, PageDown$1 as PageDown, PageUp$1 as PageUp, Plus$1 as Plus, RightArrow$1 as RightArrow, Space$1 as Space, Star$1 as Star, Tab$3 as Tab, Unknown$3 as Unknown, UpArrow$1 as UpArrow };
965
1024
  }
966
1025
  declare namespace KeyModifier {
967
1026
  export { Alt$1 as Alt, CtrlCmd, Shift, WinCtrl };
968
1027
  }
969
1028
  declare namespace MenuEntryId {
970
- export { ActivityBar, ActivityBarAdditionalViews, E2eTests, Edit, Editor, EditorImage, Explorer, ExtensionDetailIconContextMenu, ExtensionDetailReadme, File$1 as File, Go, Help, InputContextMenu, KeyBindingsTable, Main, ManageExtension, OpenRecent, Problems$1 as Problems, ProblemsFilter, Run, Search$2 as Search, SearchMatchContextMenu, Selection, Settings, SimpleBrowser, SourceControl, Tab$4 as Tab, Terminal, TitleBar, TitleBarContextMenu, View };
1029
+ export { ActivityBar, ActivityBarAdditionalViews, E2eTests, Edit, Editor, EditorImage, Explorer, ExtensionDetailIconContextMenu, ExtensionDetailReadme, File$1 as File, Go, Help$1 as Help, InputContextMenu, KeyBindingsTable, Main, ManageExtension, OpenRecent, Problems$1 as Problems, ProblemsFilter, Run, Search$2 as Search, SearchMatchContextMenu, Selection, Settings, SimpleBrowser, SourceControl, Tab$4 as Tab, Terminal, TitleBar, TitleBarContextMenu, View };
971
1030
  }
972
1031
  declare namespace MenuItemFlags {
973
- export { Checked, Disabled, Ignore, None$2 as None, RestoreFocus, Separator$1 as Separator, SubMenu, Unchecked };
1032
+ export { Checked, Disabled, Ignore, None$2 as None, RestoreFocus, Separator$2 as Separator, SubMenu$1 as SubMenu, Unchecked };
974
1033
  }
975
1034
  declare namespace MouseEventType {
976
1035
  export { Keyboard, LeftClick };
@@ -985,13 +1044,13 @@ declare namespace PlatformType {
985
1044
  export { Electron, Remote, Test, Web };
986
1045
  }
987
1046
  declare namespace QuickPickEntryId {
988
- export { ColorTheme, Commands, Custom, EveryThing, File$2 as File, GoToLine, Help$1 as Help, Noop, Recent, Symbol$1 as Symbol, View$1 as View, WorkspaceSymbol };
1047
+ export { ColorTheme, Commands, Custom, EveryThing, File$2 as File, GoToLine, Help$2 as Help, Noop, Recent, Symbol$1 as Symbol, View$1 as View, WorkspaceSymbol };
989
1048
  }
990
1049
  declare namespace QuickPickPrefix {
991
- export { Command, GoToColumn, GoToLine$1 as GoToLine, Help$2 as Help, None$3 as None, Symbol$1 as Symbol, View$2 as View, WorkspaceSymbol$1 as WorkspaceSymbol };
1050
+ export { Command, GoToColumn, GoToLine$1 as GoToLine, Help$3 as Help, None$3 as None, Symbol$1 as Symbol, View$2 as View, WorkspaceSymbol$1 as WorkspaceSymbol };
992
1051
  }
993
1052
  declare namespace RpcId {
994
- export { ClipBoardProcess, ClipBoardWorker, ColorPickerWorker, CompletionWorker, DebugWorker, EditorWorker, EmbedsProcess, EmbedsWorker, ErrorWorker, ExtensionDetailWorker, ExtensionHostWorker, ExtensionManagementWorker, FileSystemProcess, FileSystemWorker, FindWidgetWorker, HoverWorker, IconThemeWorker, IframeWorker, MainProcess, MarkdownWorker, OutputWorker, ProblemsWorker, RenameWorker, RendererProcess, RendererWorker, SearchProcess, SearchProcessElectron, SharedProcess, SourceActionWorker, SourceControlWorker, SyntaxHighlightingWorker, TestWithPlaywrightCli, TestWithPlaywrightWorker, TestWorker, TextMeasurementWorker, TextSearchWorker };
1053
+ export { ClipBoardProcess, ClipBoardWorker, ColorPickerWorker, CompletionWorker, DebugWorker, EditorWorker, EmbedsProcess, EmbedsWorker, ErrorWorker, ExtensionDetailWorker, ExtensionHostWorker, ExtensionManagementWorker, FileSystemProcess, FileSystemWorker, FindWidgetWorker, HoverWorker, IconThemeWorker, IframeWorker, MainProcess, MarkdownWorker, OutputWorker, ProblemsWorker, RenameWorker, RendererProcess, RendererWorker, SearchProcess, SearchProcessElectron, SharedProcess, SourceActionWorker, SourceControlWorker, StatusBarWorker, SyntaxHighlightingWorker, TestWithPlaywrightCli, TestWithPlaywrightWorker, TestWorker, TextMeasurementWorker, TextSearchWorker };
995
1054
  }
996
1055
  declare namespace SideBarLocationType {
997
1056
  export { Left, Right };
@@ -1030,6 +1089,8 @@ export {
1030
1089
  ClassNames,
1031
1090
  DirentType,
1032
1091
  EditOrigin,
1092
+ ElectronMenuItemRole,
1093
+ ElectronMenuItemType,
1033
1094
  ElementTagMap,
1034
1095
  ElementTags,
1035
1096
  ErrorCodes,
@@ -0,0 +1,48 @@
1
+ // based on https://www.electronjs.org/docs/latest/api/menu-item#new-menuitemoptions
2
+ export const Undo = 'undo';
3
+ export const Redo = 'redo';
4
+ export const Cut = 'cut';
5
+ export const Copy = 'copy';
6
+ export const Paste = 'paste';
7
+ export const PasteAndMatchStyle = 'pasteAndMatchStyle';
8
+ export const Delete = 'delete';
9
+ export const SelectAll = 'selectAll';
10
+ export const Reload = 'reload';
11
+ export const ForceReload = 'forceReload';
12
+ export const ToggleDevTools = 'toggleDevTools';
13
+ export const ResetZoom = 'resetZoom';
14
+ export const ZoomIn = 'zoomIn';
15
+ export const ZoomOut = 'zoomOut';
16
+ export const ToggleSpellChecker = 'toggleSpellChecker';
17
+ export const Togglefullscreen = 'togglefullscreen';
18
+ export const Window = 'window';
19
+ export const Minimize = 'minimize';
20
+ export const Close = 'close';
21
+ export const Help = 'help';
22
+ export const About = 'about';
23
+ export const Services = 'services';
24
+ export const Hide = 'hide';
25
+ export const HideOthers = 'hideOthers';
26
+ export const Unhide = 'unhide';
27
+ export const Quit = 'quit';
28
+ export const ShowSubstitutions = 'showSubstitutions';
29
+ export const ToggleSmartQuotes = 'toggleSmartQuotes';
30
+ export const ToggleSmartDashes = 'toggleSmartDashes';
31
+ export const ToggleTextReplacement = 'toggleTextReplacement';
32
+ export const StartSpeaking = 'startSpeaking';
33
+ export const StopSpeaking = 'stopSpeaking';
34
+ export const Zoom = 'zoom';
35
+ export const Front = 'front';
36
+ export const AppMenu = 'appMenu';
37
+ export const FileMenu = 'fileMenu';
38
+ export const EditMenu = 'editMenu';
39
+ export const ViewMenu = 'viewMenu';
40
+ export const ShareMenu = 'shareMenu';
41
+ export const RecentDocuments = 'recentDocuments';
42
+ export const ToggleTabBar = 'toggleTabBar';
43
+ export const SelectNextTab = 'selectNextTab';
44
+ export const SelectPreviousTab = 'selectPreviousTab';
45
+ export const MergeAllWindows = 'mergeAllWindows';
46
+ export const ClearRecentDocuments = 'clearRecentDocuments';
47
+ export const MoveTabToNewWindow = 'moveTabToNewWindow';
48
+ export const WindowMenu = 'windowMenu';
@@ -0,0 +1,6 @@
1
+ // based on https://www.electronjs.org/docs/latest/api/menu-item#new-menuitemoptions
2
+ export const Normal = 'normal';
3
+ export const Separator = 'separator';
4
+ export const SubMenu = 'submenu';
5
+ export const Checkbox = 'checkbox';
6
+ export const Radio = 'radio';
@@ -3,6 +3,8 @@ export * as AriaRoles from "../AriaRoles/AriaRoles.js";
3
3
  export * as ClassNames from "../ClassNames/ClassNames.js";
4
4
  export * as DirentType from "../DirentType/DirentType.js";
5
5
  export * as EditOrigin from "../EditOrigin/EditOrigin.js";
6
+ export * as ElectronMenuItemRole from "../ElectronMenuItemRole/ElectronMenuItemRole.js";
7
+ export * as ElectronMenuItemType from "../ElectronMenuItemType/ElectronMenuItemType.js";
6
8
  export * as ElementTagMap from "../ElementTagMap/ElementTagMap.js";
7
9
  export * as ElementTags from "../ElementTags/ElementTags.js";
8
10
  export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
@@ -28,6 +28,7 @@ export const SearchProcessElectron = 2;
28
28
  export const SharedProcess = 1492;
29
29
  export const SourceActionWorker = 303;
30
30
  export const SourceControlWorker = 66;
31
+ export const StatusBarWorker = 7201;
31
32
  export const SyntaxHighlightingWorker = 3309;
32
33
  export const TestWithPlaywrightCli = 6000;
33
34
  export const TestWithPlaywrightWorker = 6001;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/constants",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "Constants",
5
5
  "repository": {
6
6
  "type": "git",