@lvce-editor/constants 1.6.0 → 1.8.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
|
@@ -309,6 +309,16 @@ declare const Label$1 = "label";
|
|
|
309
309
|
declare const Dt = "dt";
|
|
310
310
|
declare const ENOENT = "ENOENT";
|
|
311
311
|
declare const EXDEV = "EXDEV";
|
|
312
|
+
declare const TargetValue = "event.target.value";
|
|
313
|
+
declare const ClientX = "event.clientX";
|
|
314
|
+
declare const ClientY = "event.clientY";
|
|
315
|
+
declare const Button$3 = "event.button";
|
|
316
|
+
declare const DeltaMode = "event.deltaMode";
|
|
317
|
+
declare const DeltaY = "event.deltaY";
|
|
318
|
+
declare const TargetName = "event.target.name";
|
|
319
|
+
declare const AltKey = "event.altKey";
|
|
320
|
+
declare const CtrlKey = "event.ctrlKey";
|
|
321
|
+
declare const Key = "event.key";
|
|
312
322
|
declare const getKeyCodeString: (keyCode: number) => string;
|
|
313
323
|
declare const InsertText = "insertText";
|
|
314
324
|
declare const DeleteContentBackward = "deleteContentBackward";
|
|
@@ -557,7 +567,7 @@ declare const SetDom2 = "Viewlet.setDom2";
|
|
|
557
567
|
declare const SetFocusContext = "Viewlet.setFocusContext";
|
|
558
568
|
declare const SetProperty = "Viewlet.setProperty";
|
|
559
569
|
declare const Audio$1 = 0;
|
|
560
|
-
declare const Button$
|
|
570
|
+
declare const Button$4 = 1;
|
|
561
571
|
declare const Col$1 = 2;
|
|
562
572
|
declare const ColGroup$1 = 3;
|
|
563
573
|
declare const Div$1 = 4;
|
|
@@ -666,6 +676,7 @@ declare const FocusFindWidgetNextMatchButton = 49;
|
|
|
666
676
|
declare const FocusFindWidgetPreviousMatchButton = 50;
|
|
667
677
|
declare const FocusEditorHover = 51;
|
|
668
678
|
declare const FocusEditorCodeGenerator = 52;
|
|
679
|
+
declare const FocusKeyBindingsWhenExpression = 53;
|
|
669
680
|
declare const CodeGenerator = 1;
|
|
670
681
|
declare const ColorPicker$1 = 2;
|
|
671
682
|
declare const Completion = 3;
|
|
@@ -700,6 +711,9 @@ declare namespace ElementTags {
|
|
|
700
711
|
declare namespace ErrorCodes {
|
|
701
712
|
export { ENOENT, EXDEV };
|
|
702
713
|
}
|
|
714
|
+
declare namespace EventExpression {
|
|
715
|
+
export { AltKey, Button$3 as Button, ClientX, ClientY, CtrlKey, DeltaMode, DeltaY, Key, TargetName, TargetValue };
|
|
716
|
+
}
|
|
703
717
|
declare namespace GetKeyCodeString {
|
|
704
718
|
export { getKeyCodeString };
|
|
705
719
|
}
|
|
@@ -728,10 +742,10 @@ declare namespace ViewletCommand {
|
|
|
728
742
|
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
|
|
729
743
|
}
|
|
730
744
|
declare namespace VirtualDomElements {
|
|
731
|
-
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$
|
|
745
|
+
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$4 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 };
|
|
732
746
|
}
|
|
733
747
|
declare namespace WhenExpression {
|
|
734
|
-
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 };
|
|
748
|
+
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, FocusKeyBindingsWhenExpression, FocusLocationList, FocusMenu, FocusOutput, FocusProblems, FocusQuickPickInput, FocusSearchInput, FocusSearchMatchCase, FocusSearchPreserveCase, FocusSearchRegex, FocusSearchReplaceAll, FocusSearchReplaceInput, FocusSearchResults, FocusSearchWholeWord, FocusSimpleBrowser, FocusSimpleBrowserInput, FocusSourceActions, FocusSourceControlInput, FocusTerminal, FocusTitleBarMenuBar, FocusViewletList };
|
|
735
749
|
}
|
|
736
750
|
declare namespace WidgetId {
|
|
737
751
|
export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename, SourceAction };
|
|
@@ -743,6 +757,7 @@ export {
|
|
|
743
757
|
ElementTagMap,
|
|
744
758
|
ElementTags,
|
|
745
759
|
ErrorCodes,
|
|
760
|
+
EventExpression,
|
|
746
761
|
GetKeyCodeString,
|
|
747
762
|
InputEventType,
|
|
748
763
|
KeyCode,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const TargetValue = 'event.target.value';
|
|
2
|
+
export const ClientX = 'event.clientX';
|
|
3
|
+
export const ClientY = 'event.clientY';
|
|
4
|
+
export const Button = 'event.button';
|
|
5
|
+
export const DeltaMode = 'event.deltaMode';
|
|
6
|
+
export const DeltaY = 'event.deltaY';
|
|
7
|
+
export const TargetName = 'event.target.name';
|
|
8
|
+
export const AltKey = 'event.altKey';
|
|
9
|
+
export const CtrlKey = 'event.ctrlKey';
|
|
10
|
+
export const Key = 'event.key';
|
package/dist/parts/Main/Main.js
CHANGED
|
@@ -3,6 +3,7 @@ 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
5
|
export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
|
|
6
|
+
export * as EventExpression from "../EventExpression/EventExpression.js";
|
|
6
7
|
export * as GetKeyCodeString from "../GetKeyCodeString/GetKeyCodeString.js";
|
|
7
8
|
export * as InputEventType from "../InputEventType/InputEventType.js";
|
|
8
9
|
export * as KeyCode from "../KeyCode/KeyCode.js";
|