@lvce-editor/constants 1.8.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
|
@@ -320,6 +320,7 @@ declare const AltKey = "event.altKey";
|
|
|
320
320
|
declare const CtrlKey = "event.ctrlKey";
|
|
321
321
|
declare const Key = "event.key";
|
|
322
322
|
declare const getKeyCodeString: (keyCode: number) => string;
|
|
323
|
+
declare const getWhenExpressionText: (whenExpression: number) => string;
|
|
323
324
|
declare const InsertText = "insertText";
|
|
324
325
|
declare const DeleteContentBackward = "deleteContentBackward";
|
|
325
326
|
declare const DeleteContentForward = "deleteContentForward";
|
|
@@ -566,6 +567,9 @@ declare const SetCss = "Viewlet.setCss";
|
|
|
566
567
|
declare const SetDom2 = "Viewlet.setDom2";
|
|
567
568
|
declare const SetFocusContext = "Viewlet.setFocusContext";
|
|
568
569
|
declare const SetProperty = "Viewlet.setProperty";
|
|
570
|
+
declare const SetDragData = "Viewlet.setDragData";
|
|
571
|
+
declare const SetSelectionByName = "Viewlet.setSelectionByName";
|
|
572
|
+
declare const SetValueByName = "Viewlet.setValueByName";
|
|
569
573
|
declare const Audio$1 = 0;
|
|
570
574
|
declare const Button$4 = 1;
|
|
571
575
|
declare const Col$1 = 2;
|
|
@@ -717,6 +721,9 @@ declare namespace EventExpression {
|
|
|
717
721
|
declare namespace GetKeyCodeString {
|
|
718
722
|
export { getKeyCodeString };
|
|
719
723
|
}
|
|
724
|
+
declare namespace GetWhenExpressionText {
|
|
725
|
+
export { getWhenExpressionText };
|
|
726
|
+
}
|
|
720
727
|
declare namespace InputEventType {
|
|
721
728
|
export { DeleteContentBackward, DeleteContentForward, DeleteWordBackward, DeleteWordForward, InsertCompositionText, InsertFromPaste, InsertLineBreak, InsertText };
|
|
722
729
|
}
|
|
@@ -739,7 +746,7 @@ declare namespace UidSymbol {
|
|
|
739
746
|
export { uidSymbol };
|
|
740
747
|
}
|
|
741
748
|
declare namespace ViewletCommand {
|
|
742
|
-
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
|
|
749
|
+
export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetDragData, SetFocusContext, SetProperty, SetSelectionByName, SetValueByName };
|
|
743
750
|
}
|
|
744
751
|
declare namespace VirtualDomElements {
|
|
745
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 };
|
|
@@ -759,6 +766,7 @@ export {
|
|
|
759
766
|
ErrorCodes,
|
|
760
767
|
EventExpression,
|
|
761
768
|
GetKeyCodeString,
|
|
769
|
+
GetWhenExpressionText,
|
|
762
770
|
InputEventType,
|
|
763
771
|
KeyCode,
|
|
764
772
|
KeyCodeString,
|
package/dist/parts/Main/Main.js
CHANGED
|
@@ -5,6 +5,7 @@ export * as ElementTags from "../ElementTags/ElementTags.js";
|
|
|
5
5
|
export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
|
|
6
6
|
export * as EventExpression from "../EventExpression/EventExpression.js";
|
|
7
7
|
export * as GetKeyCodeString from "../GetKeyCodeString/GetKeyCodeString.js";
|
|
8
|
+
export * as GetWhenExpressionText from "../GetWhenExpressionText/GetWhenExpressionText.js";
|
|
8
9
|
export * as InputEventType from "../InputEventType/InputEventType.js";
|
|
9
10
|
export * as KeyCode from "../KeyCode/KeyCode.js";
|
|
10
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';
|