@lvce-editor/constants 1.23.0 → 1.25.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 +41 -6
- package/dist/parts/AriaRoles/AriaRoles.js +5 -0
- package/dist/parts/FileOperationType/FileOperationType.js +5 -0
- package/dist/parts/Main/Main.js +3 -0
- package/dist/parts/PatchType/PatchType.js +10 -0
- package/dist/parts/RpcId/RpcId.js +1 -0
- package/dist/parts/TextSearchResultType/TextSearchResultType.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,10 +8,15 @@ declare const Document = "document";
|
|
|
8
8
|
declare const Group = "group";
|
|
9
9
|
declare const ListBox = "listbox";
|
|
10
10
|
declare const Log = "log";
|
|
11
|
+
declare const Menu = "menu";
|
|
12
|
+
declare const MenuBar = "menubar";
|
|
13
|
+
declare const MenuItem = "menuitem";
|
|
14
|
+
declare const MenuItemCheckBox = "menuitemcheckbox";
|
|
11
15
|
declare const None = "none";
|
|
12
16
|
declare const Option = "option";
|
|
13
17
|
declare const Panel = "panel";
|
|
14
18
|
declare const ScrollBar = "scrollbar";
|
|
19
|
+
declare const Separator = "separator";
|
|
15
20
|
declare const Status = "status";
|
|
16
21
|
declare const Tab = "tab";
|
|
17
22
|
declare const TabList = "tablist";
|
|
@@ -368,6 +373,11 @@ declare const None$1 = 0;
|
|
|
368
373
|
declare const CreateFile = 1;
|
|
369
374
|
declare const CreateFolder = 2;
|
|
370
375
|
declare const Rename$1 = 3;
|
|
376
|
+
declare const CreateFolder$1 = 1;
|
|
377
|
+
declare const CreateFile$1 = 2;
|
|
378
|
+
declare const Copy = 3;
|
|
379
|
+
declare const Rename$2 = 4;
|
|
380
|
+
declare const Remove = 5;
|
|
371
381
|
declare const getKeyCode: (key: string) => number;
|
|
372
382
|
declare const getKeyCodeString: (keyCode: number) => string;
|
|
373
383
|
declare const getWhenExpressionText: (whenExpression: number) => string;
|
|
@@ -623,7 +633,7 @@ declare const Main = 24;
|
|
|
623
633
|
declare const ProblemsFilter = 25;
|
|
624
634
|
declare const KeyBindingsTable = 26;
|
|
625
635
|
declare const E2eTests = 27;
|
|
626
|
-
declare const Separator = 1;
|
|
636
|
+
declare const Separator$1 = 1;
|
|
627
637
|
declare const None$2 = 0;
|
|
628
638
|
declare const SubMenu = 4;
|
|
629
639
|
declare const Checked = 2;
|
|
@@ -633,6 +643,16 @@ declare const RestoreFocus = 6;
|
|
|
633
643
|
declare const Ignore = 7;
|
|
634
644
|
declare const Keyboard = -1;
|
|
635
645
|
declare const LeftClick = 0;
|
|
646
|
+
declare const SetText = 1;
|
|
647
|
+
declare const Replace$1 = 2;
|
|
648
|
+
declare const SetAttribute = 3;
|
|
649
|
+
declare const RemoveAttribute = 4;
|
|
650
|
+
declare const Remove$1 = 5;
|
|
651
|
+
declare const Add = 6;
|
|
652
|
+
declare const NavigateChild = 7;
|
|
653
|
+
declare const NavigateParent = 8;
|
|
654
|
+
declare const RemoveChild = 9;
|
|
655
|
+
declare const NavigateSibling = 10;
|
|
636
656
|
declare const Web = 1;
|
|
637
657
|
declare const Electron = 2;
|
|
638
658
|
declare const Remote = 3;
|
|
@@ -669,6 +689,9 @@ declare const RenameWorker = 9004;
|
|
|
669
689
|
declare const TestWithPlaywrightCli = 6000;
|
|
670
690
|
declare const TestWithPlaywrightWorker = 6001;
|
|
671
691
|
declare const IconThemeWorker = 7009;
|
|
692
|
+
declare const TextSearchWorker = 7010;
|
|
693
|
+
declare const File$2 = 1;
|
|
694
|
+
declare const Match = 2;
|
|
672
695
|
declare const uidSymbol: unique symbol;
|
|
673
696
|
declare const FocusElementByName = "Viewlet.focusElementByName";
|
|
674
697
|
declare const FocusSelector = "Viewlet.focusSelector";
|
|
@@ -805,7 +828,7 @@ declare const Completion = 3;
|
|
|
805
828
|
declare const CompletionDetail = 4;
|
|
806
829
|
declare const Find = 5;
|
|
807
830
|
declare const Hover = 6;
|
|
808
|
-
declare const Rename$
|
|
831
|
+
declare const Rename$3 = 7;
|
|
809
832
|
declare const SourceAction = 8;
|
|
810
833
|
declare const EditorHover = "EditorHover";
|
|
811
834
|
declare const EditorCodeGenerator = "EditorCodeGenerator";
|
|
@@ -820,7 +843,7 @@ declare namespace WidgetName {
|
|
|
820
843
|
export { ColorPicker$2 as ColorPicker, EditorCodeGenerator, EditorCompletion, EditorCompletionDetails, EditorHover, EditorRename, EditorSourceActions$1 as EditorSourceActions, FindWidget$1 as FindWidget };
|
|
821
844
|
}
|
|
822
845
|
declare namespace AriaRoles {
|
|
823
|
-
export { Alert, Button, CheckBox, ComboBox, Document, Group, ListBox, Log, None, Option, Panel, ScrollBar, Status, Tab, TabList, ToolBar, Tree, TreeItem };
|
|
846
|
+
export { Alert, Button, CheckBox, ComboBox, Document, Group, ListBox, Log, Menu, MenuBar, MenuItem, MenuItemCheckBox, None, Option, Panel, ScrollBar, Separator, Status, Tab, TabList, ToolBar, Tree, TreeItem };
|
|
824
847
|
}
|
|
825
848
|
declare namespace ClassNames {
|
|
826
849
|
export { Actions, AdditionalDetails, AdditionalDetailsEntry, AdditionalDetailsTitle, Aside, Badge, Button$1 as Button, ButtonPrimary, CallStackArrow, CallStackDescription, CallStackLabel, Categories, Category, Changelog, Chevron, CloseMaskIcon, CodeGeneratorInput, CodeGeneratorMessage, CodeGeneratorWidget, ColorPicker, ColorPickerBackgroundColor, ColorPickerDark, ColorPickerLight, ColorPickerRectangle, ColorPickerSlider, ColorPickerSliderThumb, ColoredMaskIcon, CompletionDetailCloseButton, CompletionDetailContent, DebugButton, DebugButtons, DebugPausedMessage, DebugPropertyChevron, DebugPropertyKey, DebugRow, DebugRowCallStack, DebugRowCheckBox, DebugRowInputField, DebugSectionAction, DebugSectionActions, DebugSectionHeader, DebugValue, DebugValueBoolean, DebugValueFunction, DebugValueGetter, DebugValueNumber, DebugValueObject, DebugValueScopeName, DebugValueString, DebugValueSymbol, DebugValueUndefined, DefaultMarkdown, DefinitionListItem, DefinitionListItemHeading, DefinitionListItemValue, DeleteWatchExpression, Diagnostic, DiagnosticError, DiagnosticWarning, EditorCompletionItem, EditorCompletionItemDeprecated, EditorCompletionItemFocused, EditorCompletionItemHighlight, EditorCursor, EditorRow, EditorSelection, EditorSourceActions, EditorSourceActionsList, Empty, ExtensionActions, ExtensionActive, ExtensionDetail, ExtensionDetailDescription, ExtensionDetailHeader, ExtensionDetailHeaderActions, ExtensionDetailHeaderDetails, ExtensionDetailIcon, ExtensionDetailName, ExtensionDetailNameBadge, ExtensionDetailPanel, ExtensionDetailTab, ExtensionDetailTabSelected, ExtensionDetailTabs, ExtensionHeader, ExtensionListItem, ExtensionListItemAuthorName, ExtensionListItemDescription, ExtensionListItemDetail, ExtensionListItemFooter, ExtensionListItemIcon, ExtensionListItemName, Extensions, Feature, FeatureContent, FeatureWebView, Features, FeaturesList, FileIcon, Filter, FilterBadge, FindWidget, FindWidgetFind, FindWidgetMatchCount, FindWidgetMatchCountEmpty, FindWidgetReplace, FindWidgetRight, FocusOutline, Grow, Highlight, HighlightDeleted, HighlightInserted, HoverDisplayString, HoverDocumentation, HoverEditorRow, HoverProblem, HoverProblemDetail, HoverProblemMessage, IconButton, IconButtonDisabled, IconClose, InputBox, InputLabel, InputValidationError, Label, LabelCut, LabelDetail, Large, List, ListItems, Markdown, MaskIcon, MaskIconBook, MaskIconCaseSensitive, MaskIconChevronDown, MaskIconChevronRight, MaskIconEllipsis, MaskIconExclude, MaskIconPreserveCase, MaskIconRegex, MaskIconReplaceAll, MaskIconSymbolFile, MaskIconWholeWord, Message, MessageAction, MoreInfo, MoreInfoEntry, MoreInfoEntryKey, MoreInfoEntryOdd, MoreInfoEntryValue, MultilineInputBox, Normal, Problem, ProblemAt, ProblemBadge, ProblemSelected, Problems, ProblemsErrorIcon, ProblemsIcon, ProblemsList, ProblemsTable, ProblemsTableBody, ProblemsTableHeader, ProblemsTableRow, ProblemsTableRowItem, ProblemsTableRowOdd, ProblemsWarningIcon, QuickPick, QuickPickHeader, QuickPickHighlight, QuickPickItem, QuickPickItemActive, QuickPickItemDescription, QuickPickItemLabel, QuickPickItems, QuickPickMaskIcon, QuickPickScrollbar, QuickPickScrollbarSlider, QuickPickStatus, Resource, Resources, Sash, SashVertical, ScrollBar$1 as ScrollBar, ScrollBarSmall, ScrollBarThumb, ScrollBarThumbActive, ScrollBarVertical, Scrollbar, ScrollbarThumb, ScrollbarTrack, Search, SearchField, SearchFieldButton, SearchFieldButtonChecked, SearchFieldButtonDisabled, SearchFieldButtons, SearchFieldContainer, SearchFieldDisabled, SearchFieldError, SearchHeader, SearchHeaderDetails, SearchHeaderDetailsExpanded, SearchHeaderDetailsExpandedTop, SearchHeaderDetailsHeading, SearchHeaderTop, SearchHeaderTopRight, SearchInputError, SearchRemove, SearchToggleButton, SearchToggleButtonExpanded, SettingsButton, SettingsIcon, Small, SourceActionHeading, SourceActionIcon, SourceActionItem, SourceActionItemFocused, SourceControlBadge, Table, TableCell, TableHeading, ToggleDetails, Tree$1 as Tree, TreeItem$1 as TreeItem, TreeItemActive, TreeItems, Viewlet, ViewletFind, ViewletFindWidget, ViewletSearchMessage, ViewletSearchMessageIndented, Welcome, WelcomeMessage };
|
|
@@ -846,6 +869,9 @@ declare namespace EventExpression {
|
|
|
846
869
|
declare namespace ExplorerEditingType {
|
|
847
870
|
export { CreateFile, CreateFolder, None$1 as None, Rename$1 as Rename };
|
|
848
871
|
}
|
|
872
|
+
declare namespace FileOperationType {
|
|
873
|
+
export { Copy, CreateFile$1 as CreateFile, CreateFolder$1 as CreateFolder, Remove, Rename$2 as Rename };
|
|
874
|
+
}
|
|
849
875
|
declare namespace GetKeyCode {
|
|
850
876
|
export { getKeyCode };
|
|
851
877
|
}
|
|
@@ -880,16 +906,22 @@ declare namespace MenuEntryId {
|
|
|
880
906
|
export { ActivityBar, ActivityBarAdditionalViews, E2eTests, Edit, Editor, EditorImage, Explorer, ExtensionDetailReadme, File$1 as File, Go, Help, KeyBindingsTable, Main, ManageExtension, OpenRecent, Problems$1 as Problems, ProblemsFilter, Run, Search$2 as Search, Selection, Settings, SimpleBrowser, SourceControl, Tab$3 as Tab, Terminal, TitleBar, View };
|
|
881
907
|
}
|
|
882
908
|
declare namespace MenuItemFlags {
|
|
883
|
-
export { Checked, Disabled, Ignore, None$2 as None, RestoreFocus, Separator, SubMenu, Unchecked };
|
|
909
|
+
export { Checked, Disabled, Ignore, None$2 as None, RestoreFocus, Separator$1 as Separator, SubMenu, Unchecked };
|
|
884
910
|
}
|
|
885
911
|
declare namespace MouseEventType {
|
|
886
912
|
export { Keyboard, LeftClick };
|
|
887
913
|
}
|
|
914
|
+
declare namespace PatchType {
|
|
915
|
+
export { Add, NavigateChild, NavigateParent, NavigateSibling, Remove$1 as Remove, RemoveAttribute, RemoveChild, Replace$1 as Replace, SetAttribute, SetText };
|
|
916
|
+
}
|
|
888
917
|
declare namespace PlatformType {
|
|
889
918
|
export { Electron, Remote, Test, Web };
|
|
890
919
|
}
|
|
891
920
|
declare namespace RpcId {
|
|
892
|
-
export { ClipBoardProcess, ClipBoardWorker, ColorPickerWorker, CompletionWorker, DebugWorker, EditorWorker, EmbedsProcess, EmbedsWorker, ErrorWorker, ExtensionDetailWorker, ExtensionHostWorker, FileSystemProcess, FileSystemWorker, FindWidgetWorker, HoverWorker, IconThemeWorker, MainProcess, MarkdownWorker, OutputWorker, ProblemsWorker, RenameWorker, RendererProcess, RendererWorker, SearchProcess, SearchProcessElectron, SharedProcess, SourceActionWorker, SourceControlWorker, SyntaxHighlightingWorker, TestWithPlaywrightCli, TestWithPlaywrightWorker, TestWorker };
|
|
921
|
+
export { ClipBoardProcess, ClipBoardWorker, ColorPickerWorker, CompletionWorker, DebugWorker, EditorWorker, EmbedsProcess, EmbedsWorker, ErrorWorker, ExtensionDetailWorker, ExtensionHostWorker, FileSystemProcess, FileSystemWorker, FindWidgetWorker, HoverWorker, IconThemeWorker, MainProcess, MarkdownWorker, OutputWorker, ProblemsWorker, RenameWorker, RendererProcess, RendererWorker, SearchProcess, SearchProcessElectron, SharedProcess, SourceActionWorker, SourceControlWorker, SyntaxHighlightingWorker, TestWithPlaywrightCli, TestWithPlaywrightWorker, TestWorker, TextSearchWorker };
|
|
922
|
+
}
|
|
923
|
+
declare namespace TextSearchResultType {
|
|
924
|
+
export { File$2 as File, Match };
|
|
893
925
|
}
|
|
894
926
|
declare namespace UidSymbol {
|
|
895
927
|
export { uidSymbol };
|
|
@@ -907,7 +939,7 @@ declare namespace WhenExpression {
|
|
|
907
939
|
export { BrowserChromium, BrowserElectron, BrowserFirefox, Empty$1 as Empty, FocusAbout, FocusActivityBar, FocusColorPicker, FocusConfirm, FocusDebugConsoleInput, FocusDebugInput, FocusDebugScope, FocusDialog, FocusEditor, FocusEditorCodeGenerator, FocusEditorCompletions, FocusEditorHover, FocusEditorImage, FocusEditorRename, FocusEditorText, FocusExplorer, FocusExplorerEditBox, FocusExtensions, FocusFindWidget, FocusFindWidgetCloseButton, FocusFindWidgetMatchCase, FocusFindWidgetNextMatchButton, FocusFindWidgetPreviousMatchButton, FocusFindWidgetRegex, FocusFindWidgetReplace, FocusFindWidgetReplaceAllButton, FocusFindWidgetReplaceButton, FocusFindWidgetToggleReplace, FocusIgnoreFiles, FocusKeyBindingsTable, FocusKeyBindingsWhenExpression, FocusLocationList, FocusMenu, FocusOutput, FocusProblems, FocusQuickPickInput, FocusSearch, FocusSearchExcludeInput, FocusSearchIncludeInput, FocusSearchInput, FocusSearchMatchCase, FocusSearchOpenEditors, FocusSearchPreserveCase, FocusSearchRegex, FocusSearchReplaceAll, FocusSearchReplaceInput, FocusSearchResults, FocusSearchWholeWord, FocusSimpleBrowser, FocusSimpleBrowserInput, FocusSourceActions, FocusSourceControlInput, FocusTerminal, FocusTitleBarMenuBar, FocusToggleDetails, FocusToggleReplace, FocusViewletList };
|
|
908
940
|
}
|
|
909
941
|
declare namespace WidgetId {
|
|
910
|
-
export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename$
|
|
942
|
+
export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename$3 as Rename, SourceAction };
|
|
911
943
|
}
|
|
912
944
|
|
|
913
945
|
export {
|
|
@@ -920,6 +952,7 @@ export {
|
|
|
920
952
|
ErrorCodes,
|
|
921
953
|
EventExpression,
|
|
922
954
|
ExplorerEditingType,
|
|
955
|
+
FileOperationType,
|
|
923
956
|
GetKeyCode,
|
|
924
957
|
GetKeyCodeString,
|
|
925
958
|
GetWhenExpressionText,
|
|
@@ -933,8 +966,10 @@ export {
|
|
|
933
966
|
MenuEntryId,
|
|
934
967
|
MenuItemFlags,
|
|
935
968
|
MouseEventType,
|
|
969
|
+
PatchType,
|
|
936
970
|
PlatformType,
|
|
937
971
|
RpcId,
|
|
972
|
+
TextSearchResultType,
|
|
938
973
|
UidSymbol,
|
|
939
974
|
ViewMode,
|
|
940
975
|
ViewletCommand,
|
|
@@ -6,10 +6,15 @@ export const Document = 'document';
|
|
|
6
6
|
export const Group = 'group';
|
|
7
7
|
export const ListBox = 'listbox';
|
|
8
8
|
export const Log = 'log';
|
|
9
|
+
export const Menu = 'menu';
|
|
10
|
+
export const MenuBar = 'menubar';
|
|
11
|
+
export const MenuItem = 'menuitem';
|
|
12
|
+
export const MenuItemCheckBox = 'menuitemcheckbox';
|
|
9
13
|
export const None = 'none';
|
|
10
14
|
export const Option = 'option';
|
|
11
15
|
export const Panel = 'panel';
|
|
12
16
|
export const ScrollBar = 'scrollbar';
|
|
17
|
+
export const Separator = 'separator';
|
|
13
18
|
export const Status = 'status';
|
|
14
19
|
export const Tab = 'tab';
|
|
15
20
|
export const TabList = 'tablist';
|
package/dist/parts/Main/Main.js
CHANGED
|
@@ -7,6 +7,7 @@ export * as ElementTags from "../ElementTags/ElementTags.js";
|
|
|
7
7
|
export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
|
|
8
8
|
export * as EventExpression from "../EventExpression/EventExpression.js";
|
|
9
9
|
export * as ExplorerEditingType from "../ExplorerEditingType/ExplorerEditingType.js";
|
|
10
|
+
export * as FileOperationType from "../FileOperationType/FileOperationType.js";
|
|
10
11
|
export * as GetKeyCode from "../GetKeyCode/GetKeyCode.js";
|
|
11
12
|
export * as GetKeyCodeString from "../GetKeyCodeString/GetKeyCodeString.js";
|
|
12
13
|
export * as GetWhenExpressionText from "../GetWhenExpressionText/GetWhenExpressionText.js";
|
|
@@ -20,8 +21,10 @@ export * as KeyModifier from "../KeyModifier/KeyModifier.js";
|
|
|
20
21
|
export * as MenuEntryId from "../MenuEntryId/MenuEntryId.js";
|
|
21
22
|
export * as MenuItemFlags from "../MenuItemFlags/MenuItemFlags.js";
|
|
22
23
|
export * as MouseEventType from "../MouseEventType/MouseEventType.js";
|
|
24
|
+
export * as PatchType from "../PatchType/PatchType.js";
|
|
23
25
|
export * as PlatformType from "../PlatformType/PlatformType.js";
|
|
24
26
|
export * as RpcId from "../RpcId/RpcId.js";
|
|
27
|
+
export * as TextSearchResultType from "../TextSearchResultType/TextSearchResultType.js";
|
|
25
28
|
export * as UidSymbol from "../UidSymbol/UidSymbol.js";
|
|
26
29
|
export * as ViewletCommand from "../ViewletCommand/ViewletCommand.js";
|
|
27
30
|
export * as ViewMode from "../ViewMode/ViewMode.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const SetText = 1;
|
|
2
|
+
export const Replace = 2;
|
|
3
|
+
export const SetAttribute = 3;
|
|
4
|
+
export const RemoveAttribute = 4;
|
|
5
|
+
export const Remove = 5;
|
|
6
|
+
export const Add = 6;
|
|
7
|
+
export const NavigateChild = 7;
|
|
8
|
+
export const NavigateParent = 8;
|
|
9
|
+
export const RemoveChild = 9;
|
|
10
|
+
export const NavigateSibling = 10;
|