@lvce-editor/constants 1.2.0 → 1.4.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
|
@@ -307,6 +307,8 @@ declare const Option$1 = "option";
|
|
|
307
307
|
declare const Code = "code";
|
|
308
308
|
declare const Label$1 = "label";
|
|
309
309
|
declare const Dt = "dt";
|
|
310
|
+
declare const ENOENT = "ENOENT";
|
|
311
|
+
declare const EXDEV = "EXDEV";
|
|
310
312
|
declare const InsertText = "insertText";
|
|
311
313
|
declare const DeleteContentBackward = "deleteContentBackward";
|
|
312
314
|
declare const DeleteContentForward = "deleteContentForward";
|
|
@@ -482,6 +484,12 @@ declare const SourceControlWorker = 66;
|
|
|
482
484
|
declare const SyntaxHighlightingWorker = 3309;
|
|
483
485
|
declare const TestWorker = 9001;
|
|
484
486
|
declare const uidSymbol: unique symbol;
|
|
487
|
+
declare const FocusElementByName = "Viewlet.focusElementByName";
|
|
488
|
+
declare const FocusSelector = "Viewlet.focusSelector";
|
|
489
|
+
declare const SetCss = "Viewlet.setCss";
|
|
490
|
+
declare const SetDom2 = "Viewlet.setDom2";
|
|
491
|
+
declare const SetFocusContext = "Viewlet.setFocusContext";
|
|
492
|
+
declare const SetProperty = "Viewlet.setProperty";
|
|
485
493
|
declare const Audio$1 = 0;
|
|
486
494
|
declare const Button$3 = 1;
|
|
487
495
|
declare const Col$1 = 2;
|
|
@@ -539,12 +547,6 @@ declare const Option$2 = 64;
|
|
|
539
547
|
declare const Code$1 = 65;
|
|
540
548
|
declare const Label$2 = 66;
|
|
541
549
|
declare const Dt$1 = 67;
|
|
542
|
-
declare const FocusElementByName = "Viewlet.focusElementByName";
|
|
543
|
-
declare const FocusSelector = "Viewlet.focusSelector";
|
|
544
|
-
declare const SetCss = "Viewlet.setCss";
|
|
545
|
-
declare const SetDom2 = "Viewlet.setDom2";
|
|
546
|
-
declare const SetFocusContext = "Viewlet.setFocusContext";
|
|
547
|
-
declare const SetProperty = "Viewlet.setProperty";
|
|
548
550
|
declare const Empty$1 = 0;
|
|
549
551
|
declare const BrowserChromium = 1;
|
|
550
552
|
declare const BrowserElectron = 2;
|
|
@@ -598,9 +600,24 @@ declare const FocusFindWidgetNextMatchButton = 49;
|
|
|
598
600
|
declare const FocusFindWidgetPreviousMatchButton = 50;
|
|
599
601
|
declare const FocusEditorHover = 51;
|
|
600
602
|
declare const FocusEditorCodeGenerator = 52;
|
|
603
|
+
declare const CodeGenerator = 1;
|
|
604
|
+
declare const ColorPicker$1 = 2;
|
|
605
|
+
declare const Completion = 3;
|
|
606
|
+
declare const CompletionDetail = 4;
|
|
607
|
+
declare const Find = 5;
|
|
608
|
+
declare const Hover = 6;
|
|
609
|
+
declare const Rename = 7;
|
|
610
|
+
declare const SourceAction = 8;
|
|
611
|
+
declare const EditorHover = "EditorHover";
|
|
612
|
+
declare const EditorCodeGenerator = "EditorCodeGenerator";
|
|
613
|
+
declare const EditorCompletionDetails = "EditorCompletionDetails";
|
|
614
|
+
declare const EditorCompletion = "EditorCompletion";
|
|
615
|
+
declare const FindWidget$1 = "FindWidget";
|
|
616
|
+
declare const EditorRename = "EditorRename";
|
|
617
|
+
declare const EditorSourceActions$1 = "EditorSourceActions";
|
|
601
618
|
|
|
602
|
-
declare namespace
|
|
603
|
-
export {
|
|
619
|
+
declare namespace WidgetName {
|
|
620
|
+
export { EditorCodeGenerator, EditorCompletion, EditorCompletionDetails, EditorHover, EditorRename, EditorSourceActions$1 as EditorSourceActions, FindWidget$1 as FindWidget };
|
|
604
621
|
}
|
|
605
622
|
declare namespace AriaRoles {
|
|
606
623
|
export { Alert, Button, CheckBox, ComboBox, Document, Group, ListBox, Log, None, Option, Panel, ScrollBar, Status, Tab, TabList, ToolBar, Tree, TreeItem };
|
|
@@ -614,6 +631,9 @@ declare namespace ElementTagMap {
|
|
|
614
631
|
declare namespace ElementTags {
|
|
615
632
|
export { A, Abbr, Article, Aside$1 as Aside, Audio, Br, Button$2 as Button, Cite, Code, Col, ColGroup, Data, Dd, Del, Div, Dl, Dt, Figcaption, Figure, Footer, H1, H2, H3, H4, H5, H6, Header, Hr, I, Img, Input, Ins, Kbd, Label$1 as Label, Li, Nav, Ol, Option$1 as Option, P, Pre, Search$1 as Search, Section, Select, Span, TBody, THead, Table$1 as Table, Td, TextArea, Tfoot, Th, Time, Tr, Ul, Video };
|
|
616
633
|
}
|
|
634
|
+
declare namespace ErrorCodes {
|
|
635
|
+
export { ENOENT, EXDEV };
|
|
636
|
+
}
|
|
617
637
|
declare namespace InputEventType {
|
|
618
638
|
export { DeleteContentBackward, DeleteContentForward, DeleteWordBackward, DeleteWordForward, InsertCompositionText, InsertFromPaste, InsertLineBreak, InsertText };
|
|
619
639
|
}
|
|
@@ -632,11 +652,17 @@ declare namespace RpcId {
|
|
|
632
652
|
declare namespace UidSymbol {
|
|
633
653
|
export { uidSymbol };
|
|
634
654
|
}
|
|
655
|
+
declare namespace ViewletCommand {
|
|
656
|
+
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
|
|
657
|
+
}
|
|
635
658
|
declare namespace VirtualDomElements {
|
|
636
659
|
export { A$1 as A, Abbr$1 as Abbr, Article$1 as Article, Aside$2 as Aside, Audio$1 as Audio, Br$1 as Br, Button$3 as Button, Cite$1 as Cite, Code$1 as Code, Col$1 as Col, ColGroup$1 as ColGroup, Data$1 as Data, Dd$1 as Dd, Del$1 as Del, Div$1 as Div, Dl$1 as Dl, Dt$1 as Dt, Figcaption$1 as Figcaption, Figure$1 as Figure, Footer$1 as Footer, H1$1 as H1, H2$1 as H2, H3$1 as H3, H4$1 as H4, H5$1 as H5, H6$1 as H6, Header$1 as Header, Hr$1 as Hr, I$1 as I, Img$1 as Img, Input$1 as Input, Ins$1 as Ins, Kbd$1 as Kbd, Label$2 as Label, Li$1 as Li, Nav$1 as Nav, Ol$1 as Ol, Option$2 as Option, P$1 as P, Pre$1 as Pre, Root, Search$2 as Search, Section$1 as Section, Select$1 as Select, Span$1 as Span, TBody$1 as TBody, THead$1 as THead, Table$2 as Table, Td$1 as Td, Text, TextArea$1 as TextArea, Tfoot$1 as Tfoot, Th$1 as Th, Time$1 as Time, Tr$1 as Tr, Ul$1 as Ul, Video$1 as Video };
|
|
637
660
|
}
|
|
638
|
-
declare namespace
|
|
639
|
-
export {
|
|
661
|
+
declare namespace WhenExpression {
|
|
662
|
+
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, FocusKeyBindingsTable, FocusLocationList, FocusMenu, FocusOutput, FocusProblems, FocusQuickPickInput, FocusSearchInput, FocusSearchMatchCase, FocusSearchPreserveCase, FocusSearchRegex, FocusSearchReplaceAll, FocusSearchReplaceInput, FocusSearchResults, FocusSearchWholeWord, FocusSimpleBrowser, FocusSimpleBrowserInput, FocusSourceActions, FocusSourceControlInput, FocusTerminal, FocusTitleBarMenuBar, FocusViewletList };
|
|
663
|
+
}
|
|
664
|
+
declare namespace WidgetId {
|
|
665
|
+
export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename, SourceAction };
|
|
640
666
|
}
|
|
641
667
|
|
|
642
668
|
export {
|
|
@@ -644,6 +670,7 @@ export {
|
|
|
644
670
|
ClassNames,
|
|
645
671
|
ElementTagMap,
|
|
646
672
|
ElementTags,
|
|
673
|
+
ErrorCodes,
|
|
647
674
|
InputEventType,
|
|
648
675
|
KeyCode,
|
|
649
676
|
KeyModifier,
|
|
@@ -653,6 +680,8 @@ export {
|
|
|
653
680
|
ViewletCommand,
|
|
654
681
|
VirtualDomElements,
|
|
655
682
|
WhenExpression,
|
|
683
|
+
WidgetId,
|
|
684
|
+
WidgetName,
|
|
656
685
|
};
|
|
657
686
|
|
|
658
687
|
export {};
|
package/dist/parts/Main/Main.js
CHANGED
|
@@ -2,12 +2,15 @@ export * as AriaRoles from "../AriaRoles/AriaRoles.js";
|
|
|
2
2
|
export * as ClassNames from "../ClassNames/ClassNames.js";
|
|
3
3
|
export * as ElementTagMap from "../ElementTagMap/ElementTagMap.js";
|
|
4
4
|
export * as ElementTags from "../ElementTags/ElementTags.js";
|
|
5
|
+
export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
|
|
5
6
|
export * as InputEventType from "../InputEventType/InputEventType.js";
|
|
6
7
|
export * as KeyCode from "../KeyCode/KeyCode.js";
|
|
7
8
|
export * as KeyModifier from "../KeyModifier/KeyModifier.js";
|
|
8
9
|
export * as MouseEventType from "../MouseEventType/MouseEventType.js";
|
|
9
10
|
export * as RpcId from "../RpcId/RpcId.js";
|
|
10
11
|
export * as UidSymbol from "../UidSymbol/UidSymbol.js";
|
|
11
|
-
export * as VirtualDomElements from "../VirtualDomElements/VirtualDomElements.js";
|
|
12
12
|
export * as ViewletCommand from "../ViewletCommand/ViewletCommand.js";
|
|
13
|
+
export * as VirtualDomElements from "../VirtualDomElements/VirtualDomElements.js";
|
|
13
14
|
export * as WhenExpression from "../WhenExpression/WhenExpression.js";
|
|
15
|
+
export * as WidgetId from "../WidgetId/WidgetId.js";
|
|
16
|
+
export * as WidgetName from "../WidgetName/WidgetName.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const EditorHover = 'EditorHover';
|
|
2
|
+
export const EditorCodeGenerator = 'EditorCodeGenerator';
|
|
3
|
+
export const EditorCompletionDetails = 'EditorCompletionDetails';
|
|
4
|
+
export const EditorCompletion = 'EditorCompletion';
|
|
5
|
+
export const FindWidget = 'FindWidget';
|
|
6
|
+
export const EditorRename = 'EditorRename';
|
|
7
|
+
export const EditorSourceActions = 'EditorSourceActions';
|