@lvce-editor/constants 1.8.0 → 1.10.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";
@@ -328,6 +329,8 @@ declare const DeleteWordBackward = "deleteWordBackward";
328
329
  declare const InsertLineBreak = "insertLineBreak";
329
330
  declare const InsertCompositionText = "insertCompositionText";
330
331
  declare const InsertFromPaste = "insertFromPaste";
332
+ declare const User = 1;
333
+ declare const Script = 1;
331
334
  declare const Unknown = 0;
332
335
  declare const Backspace = 1;
333
336
  declare const Tab$1 = 2;
@@ -566,6 +569,9 @@ declare const SetCss = "Viewlet.setCss";
566
569
  declare const SetDom2 = "Viewlet.setDom2";
567
570
  declare const SetFocusContext = "Viewlet.setFocusContext";
568
571
  declare const SetProperty = "Viewlet.setProperty";
572
+ declare const SetDragData = "Viewlet.setDragData";
573
+ declare const SetSelectionByName = "Viewlet.setSelectionByName";
574
+ declare const SetValueByName = "Viewlet.setValueByName";
569
575
  declare const Audio$1 = 0;
570
576
  declare const Button$4 = 1;
571
577
  declare const Col$1 = 2;
@@ -717,9 +723,15 @@ declare namespace EventExpression {
717
723
  declare namespace GetKeyCodeString {
718
724
  export { getKeyCodeString };
719
725
  }
726
+ declare namespace GetWhenExpressionText {
727
+ export { getWhenExpressionText };
728
+ }
720
729
  declare namespace InputEventType {
721
730
  export { DeleteContentBackward, DeleteContentForward, DeleteWordBackward, DeleteWordForward, InsertCompositionText, InsertFromPaste, InsertLineBreak, InsertText };
722
731
  }
732
+ declare namespace InputSource {
733
+ export { Script, User };
734
+ }
723
735
  declare namespace KeyCode {
724
736
  export { ABNT_C1, ABNT_C2, Alt, AudioVolumeDown, AudioVolumeMute, AudioVolumeUp, Backquote, Backslash, Backspace, BracketLeft, BracketRight, BrowserBack, BrowserForward, BrowserHome, BrowserSearch, CapsLock, Clear, Comma, ContextMenu, Ctrl, Delete, Digit0, Digit1, Digit2, Digit3, Digit4, Digit5, Digit6, Digit7, Digit8, Digit9, DownArrow, End, Enter, Equal, Escape, F1, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F2, F20, F21, F22, F23, F24, F3, F4, F5, F6, F7, F8, F9, Home, Insert, IntlBackslash, KeyA, KeyB, KeyC, KeyD, KeyE, KeyF, KeyG, KeyH, KeyI, KeyInComposition, KeyJ, KeyK, KeyL, KeyM, KeyN, KeyO, KeyP, KeyQ, KeyR, KeyS, KeyT, KeyU, KeyV, KeyW, KeyX, KeyY, KeyZ, LaunchApp2, LaunchMail, LaunchMediaPlayer, LeftArrow, MaxValue, MediaPlayPause, MediaStop, MediaTrackNext, MediaTrackPrevious, Meta, Minus, NumLock, Numpad0, Numpad1, Numpad2, Numpad3, Numpad4, Numpad5, Numpad6, Numpad7, Numpad8, Numpad9, NumpadAdd, NumpadDecimal, NumpadDivide, NumpadMultiply, NumpadSeparator, NumpadSubtract, OEM_8, PageDown, PageUp, PauseBreak, Period, Plus, Quote, RightArrow, ScrollLock, SemiColon, Slash, Space, Star, Tab$1 as Tab, Unknown, UpArrow };
725
737
  }
@@ -739,7 +751,7 @@ declare namespace UidSymbol {
739
751
  export { uidSymbol };
740
752
  }
741
753
  declare namespace ViewletCommand {
742
- export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetFocusContext, SetProperty };
754
+ export { FocusElementByName, FocusSelector, SetCss, SetDom2, SetDragData, SetFocusContext, SetProperty, SetSelectionByName, SetValueByName };
743
755
  }
744
756
  declare namespace VirtualDomElements {
745
757
  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,7 +771,9 @@ export {
759
771
  ErrorCodes,
760
772
  EventExpression,
761
773
  GetKeyCodeString,
774
+ GetWhenExpressionText,
762
775
  InputEventType,
776
+ InputSource,
763
777
  KeyCode,
764
778
  KeyCodeString,
765
779
  KeyModifier,
@@ -0,0 +1,2 @@
1
+ export const User = 1;
2
+ export const Script = 1;
@@ -5,7 +5,9 @@ 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";
10
+ export * as InputSource from "../InputSource/InputSource.js";
9
11
  export * as KeyCode from "../KeyCode/KeyCode.js";
10
12
  export * as KeyCodeString from "../KeyCodeString/KeyCodeString.js";
11
13
  export * as KeyModifier from "../KeyModifier/KeyModifier.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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/constants",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "Constants",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",