@lvce-editor/constants 1.7.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;
|
|
@@ -701,6 +711,9 @@ declare namespace ElementTags {
|
|
|
701
711
|
declare namespace ErrorCodes {
|
|
702
712
|
export { ENOENT, EXDEV };
|
|
703
713
|
}
|
|
714
|
+
declare namespace EventExpression {
|
|
715
|
+
export { AltKey, Button$3 as Button, ClientX, ClientY, CtrlKey, DeltaMode, DeltaY, Key, TargetName, TargetValue };
|
|
716
|
+
}
|
|
704
717
|
declare namespace GetKeyCodeString {
|
|
705
718
|
export { getKeyCodeString };
|
|
706
719
|
}
|
|
@@ -729,7 +742,7 @@ declare namespace ViewletCommand {
|
|
|
729
742
|
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
|
|
730
743
|
}
|
|
731
744
|
declare namespace VirtualDomElements {
|
|
732
|
-
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 };
|
|
733
746
|
}
|
|
734
747
|
declare namespace WhenExpression {
|
|
735
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 };
|
|
@@ -744,6 +757,7 @@ export {
|
|
|
744
757
|
ElementTagMap,
|
|
745
758
|
ElementTags,
|
|
746
759
|
ErrorCodes,
|
|
760
|
+
EventExpression,
|
|
747
761
|
GetKeyCodeString,
|
|
748
762
|
InputEventType,
|
|
749
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";
|