@lvce-editor/constants 1.7.0 → 1.9.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,7 +309,18 @@ 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;
|
|
323
|
+
declare const getWhenExpressionText: (whenExpression: number) => string;
|
|
313
324
|
declare const InsertText = "insertText";
|
|
314
325
|
declare const DeleteContentBackward = "deleteContentBackward";
|
|
315
326
|
declare const DeleteContentForward = "deleteContentForward";
|
|
@@ -556,8 +567,11 @@ declare const SetCss = "Viewlet.setCss";
|
|
|
556
567
|
declare const SetDom2 = "Viewlet.setDom2";
|
|
557
568
|
declare const SetFocusContext = "Viewlet.setFocusContext";
|
|
558
569
|
declare const SetProperty = "Viewlet.setProperty";
|
|
570
|
+
declare const SetDragData = "Viewlet.setDragData";
|
|
571
|
+
declare const SetSelectionByName = "Viewlet.setSelectionByName";
|
|
572
|
+
declare const SetValueByName = "Viewlet.setValueByName";
|
|
559
573
|
declare const Audio$1 = 0;
|
|
560
|
-
declare const Button$
|
|
574
|
+
declare const Button$4 = 1;
|
|
561
575
|
declare const Col$1 = 2;
|
|
562
576
|
declare const ColGroup$1 = 3;
|
|
563
577
|
declare const Div$1 = 4;
|
|
@@ -701,9 +715,15 @@ declare namespace ElementTags {
|
|
|
701
715
|
declare namespace ErrorCodes {
|
|
702
716
|
export { ENOENT, EXDEV };
|
|
703
717
|
}
|
|
718
|
+
declare namespace EventExpression {
|
|
719
|
+
export { AltKey, Button$3 as Button, ClientX, ClientY, CtrlKey, DeltaMode, DeltaY, Key, TargetName, TargetValue };
|
|
720
|
+
}
|
|
704
721
|
declare namespace GetKeyCodeString {
|
|
705
722
|
export { getKeyCodeString };
|
|
706
723
|
}
|
|
724
|
+
declare namespace GetWhenExpressionText {
|
|
725
|
+
export { getWhenExpressionText };
|
|
726
|
+
}
|
|
707
727
|
declare namespace InputEventType {
|
|
708
728
|
export { DeleteContentBackward, DeleteContentForward, DeleteWordBackward, DeleteWordForward, InsertCompositionText, InsertFromPaste, InsertLineBreak, InsertText };
|
|
709
729
|
}
|
|
@@ -726,10 +746,10 @@ declare namespace UidSymbol {
|
|
|
726
746
|
export { uidSymbol };
|
|
727
747
|
}
|
|
728
748
|
declare namespace ViewletCommand {
|
|
729
|
-
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
|
|
749
|
+
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetDragData, SetFocusContext, SetProperty, SetSelectionByName, SetValueByName };
|
|
730
750
|
}
|
|
731
751
|
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$
|
|
752
|
+
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
753
|
}
|
|
734
754
|
declare namespace WhenExpression {
|
|
735
755
|
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,7 +764,9 @@ export {
|
|
|
744
764
|
ElementTagMap,
|
|
745
765
|
ElementTags,
|
|
746
766
|
ErrorCodes,
|
|
767
|
+
EventExpression,
|
|
747
768
|
GetKeyCodeString,
|
|
769
|
+
GetWhenExpressionText,
|
|
748
770
|
InputEventType,
|
|
749
771
|
KeyCode,
|
|
750
772
|
KeyCodeString,
|
|
@@ -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,7 +3,9 @@ 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";
|
|
8
|
+
export * as GetWhenExpressionText from "../GetWhenExpressionText/GetWhenExpressionText.js";
|
|
7
9
|
export * as InputEventType from "../InputEventType/InputEventType.js";
|
|
8
10
|
export * as KeyCode from "../KeyCode/KeyCode.js";
|
|
9
11
|
export * as KeyCodeString from "../KeyCodeString/KeyCodeString.js";
|
|
@@ -4,3 +4,6 @@ export const SetCss = 'Viewlet.setCss';
|
|
|
4
4
|
export const SetDom2 = 'Viewlet.setDom2';
|
|
5
5
|
export const SetFocusContext = 'Viewlet.setFocusContext';
|
|
6
6
|
export const SetProperty = 'Viewlet.setProperty';
|
|
7
|
+
export const SetDragData = 'Viewlet.setDragData';
|
|
8
|
+
export const SetSelectionByName = 'Viewlet.setSelectionByName';
|
|
9
|
+
export const SetValueByName = 'Viewlet.setValueByName';
|