@lvce-editor/virtual-dom-worker 2.0.0 → 2.2.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 +244 -37
- package/dist/index.js +478 -73
- package/package.json +1 -1
- package/src/parts/ClassNames/ClassNames.ts +55 -0
- package/src/parts/KeyCode/KeyCode.ts +149 -0
- package/src/parts/KeyModifier/KeyModifier.ts +4 -0
- package/src/parts/Main/Main.ts +5 -2
- package/src/parts/MouseEventType/MouseEventType.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,239 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
declare const Actions = "Actions";
|
|
4
|
+
declare const Badge = "Badge";
|
|
5
|
+
declare const CallStackArrow = "CallStackArrow";
|
|
6
|
+
declare const CallStackDescription = "CallStackDescription";
|
|
7
|
+
declare const CallStackLabel = "CallStackLabel";
|
|
8
|
+
declare const Chevron = "Chevron";
|
|
9
|
+
declare const CloseMaskIcon = "MaskIcon MaskIconClose";
|
|
10
|
+
declare const DebugButton = "DebugButton";
|
|
11
|
+
declare const DebugButtons = "DebugButtons";
|
|
12
|
+
declare const DebugPausedMessage = "DebugPausedMessage";
|
|
13
|
+
declare const DebugPropertyChevron = "DebugPropertyChevron";
|
|
14
|
+
declare const DebugPropertyKey = "DebugPropertyKey";
|
|
15
|
+
declare const DebugRow = "DebugRow";
|
|
16
|
+
declare const DebugRowCallStack = "DebugRowCallStack";
|
|
17
|
+
declare const DebugRowCheckBox = "DebugRowCheckBox";
|
|
18
|
+
declare const DebugRowInputField = "DebugRowInputField";
|
|
19
|
+
declare const DebugSectionAction = "DebugSectionAction";
|
|
20
|
+
declare const DebugSectionActions = "DebugSectionActions";
|
|
21
|
+
declare const DebugSectionHeader = "DebugSectionHeader";
|
|
22
|
+
declare const DebugValue = "DebugValue";
|
|
23
|
+
declare const DebugValueBoolean = "DebugValueBoolean";
|
|
24
|
+
declare const DebugValueFunction = "DebugValueFunction";
|
|
25
|
+
declare const DebugValueGetter = "DebugValueGetter";
|
|
26
|
+
declare const DebugValueNumber = "DebugValueNumber";
|
|
27
|
+
declare const DebugValueObject = "DebugValueObject";
|
|
28
|
+
declare const DebugValueScopeName = "DebugValueScopeName";
|
|
29
|
+
declare const DebugValueString = "DebugValueString";
|
|
30
|
+
declare const DebugValueSymbol = "DebugValueSymbol";
|
|
31
|
+
declare const DebugValueUndefined = "DebugValueUndefined";
|
|
32
|
+
declare const DeleteWatchExpression = "DeleteWatchExpression";
|
|
33
|
+
declare const Empty = "";
|
|
34
|
+
declare const FileIcon = "FileIcon";
|
|
35
|
+
declare const FocusOutline = "FocusOutline";
|
|
36
|
+
declare const Grow = "Grow";
|
|
37
|
+
declare const Highlight = "Highlight";
|
|
38
|
+
declare const HighlightDeleted = "HighlightDeleted";
|
|
39
|
+
declare const HighlightInserted = "HighlightInserted";
|
|
40
|
+
declare const IconButton = "IconButton";
|
|
41
|
+
declare const InputBox = "InputBox";
|
|
42
|
+
declare const InputLabel = "InputLabel";
|
|
43
|
+
declare const Label = "Label";
|
|
44
|
+
declare const List = "List";
|
|
45
|
+
declare const MaskIcon = "MaskIcon";
|
|
46
|
+
declare const MaskIconBook = "MaskIconBook";
|
|
47
|
+
declare const MaskIconCaseSensitive = "MaskIconCaseSensitive";
|
|
48
|
+
declare const MaskIconChevronDown = "MaskIconChevronDown";
|
|
49
|
+
declare const MaskIconChevronRight = "MaskIconChevronRight";
|
|
50
|
+
declare const MaskIconEllipsis = "MaskIconEllipsis";
|
|
51
|
+
declare const MaskIconExclude = "MaskIconExclude";
|
|
52
|
+
declare const MaskIconPreserveCase = "MaskIconPreserveCase";
|
|
53
|
+
declare const MaskIconRegex = "MaskIconRegex";
|
|
54
|
+
declare const MaskIconReplaceAll = "MaskIconReplaceAll";
|
|
55
|
+
declare const MaskIconWholeWord = "MaskIconWholeWord";
|
|
56
|
+
declare const MultilineInputBox = "MultilineInputBox";
|
|
57
|
+
declare const ScrollBar = "ScrollBar";
|
|
58
|
+
declare const ScrollBarThumb = "ScrollBarThumb";
|
|
59
|
+
declare const ScrollBarVertical = "ScrollBarVertical";
|
|
60
|
+
declare const Search = "Search";
|
|
61
|
+
declare const SearchField = "SearchField";
|
|
62
|
+
declare const SearchFieldButton = "SearchFieldButton";
|
|
63
|
+
declare const SearchFieldButtonChecked = "SearchFieldButtonChecked";
|
|
64
|
+
declare const SearchFieldButtonDisabled = "SearchFieldButtonDisabled";
|
|
65
|
+
declare const SearchFieldButtons = "SearchFieldButtons";
|
|
66
|
+
declare const SearchFieldContainer = "SearchFieldContainer";
|
|
67
|
+
declare const SearchFieldError = "SearchFieldError";
|
|
68
|
+
declare const SearchHeader = "SearchHeader";
|
|
69
|
+
declare const SearchHeaderDetails = "SearchHeaderDetails";
|
|
70
|
+
declare const SearchHeaderDetailsExpanded = "SearchHeaderDetailsExpanded";
|
|
71
|
+
declare const SearchHeaderDetailsExpandedTop = "SearchHeaderDetailsExpandedTop";
|
|
72
|
+
declare const SearchHeaderDetailsHeading = "SearchHeaderDetailsHeading";
|
|
73
|
+
declare const SearchHeaderTop = "SearchHeaderTop";
|
|
74
|
+
declare const SearchHeaderTopRight = "SearchHeaderTopRight";
|
|
75
|
+
declare const SearchInputError = "SearchInputError";
|
|
76
|
+
declare const SearchRemove = "SearchRemove";
|
|
77
|
+
declare const SearchToggleButton = "SearchToggleButton";
|
|
78
|
+
declare const SearchToggleButtonExpanded = "SearchToggleButtonExpanded";
|
|
79
|
+
declare const SourceControlBadge = "SourceControlBadge";
|
|
80
|
+
declare const ToggleDetails = "ToggleDetails";
|
|
81
|
+
declare const Tree = "Tree";
|
|
82
|
+
declare const TreeItem = "TreeItem";
|
|
83
|
+
declare const TreeItemActive = "TreeItemActive";
|
|
84
|
+
declare const TreeItems = "TreeItems";
|
|
85
|
+
declare const Viewlet = "Viewlet";
|
|
86
|
+
declare const ViewletSearchMessage = "ViewletSearchMessage";
|
|
87
|
+
declare const ViewletSearchMessageIndented = "ViewletSearchMessageIndented";
|
|
3
88
|
export interface DomEventListener {
|
|
4
89
|
readonly name: string;
|
|
5
90
|
readonly params: readonly string[];
|
|
6
91
|
readonly preventDefault?: boolean;
|
|
7
92
|
readonly passive?: boolean;
|
|
8
93
|
}
|
|
94
|
+
declare const Unknown = 0;
|
|
95
|
+
declare const Backspace = 1;
|
|
96
|
+
declare const Tab = 2;
|
|
97
|
+
declare const Enter = 3;
|
|
98
|
+
declare const Ctrl = 4;
|
|
99
|
+
declare const Alt = 5;
|
|
100
|
+
declare const PauseBreak = 6;
|
|
101
|
+
declare const CapsLock = 7;
|
|
102
|
+
declare const Escape = 8;
|
|
103
|
+
declare const Space = 9;
|
|
104
|
+
declare const PageUp = 10;
|
|
105
|
+
declare const PageDown = 11;
|
|
106
|
+
declare const End = 255;
|
|
107
|
+
declare const Home = 12;
|
|
108
|
+
declare const LeftArrow = 13;
|
|
109
|
+
declare const UpArrow = 14;
|
|
110
|
+
declare const RightArrow = 15;
|
|
111
|
+
declare const DownArrow = 16;
|
|
112
|
+
declare const Insert = 17;
|
|
113
|
+
declare const Delete = 18;
|
|
114
|
+
declare const Digit0 = 19;
|
|
115
|
+
declare const Digit1 = 20;
|
|
116
|
+
declare const Digit2 = 21;
|
|
117
|
+
declare const Digit3 = 22;
|
|
118
|
+
declare const Digit4 = 23;
|
|
119
|
+
declare const Digit5 = 24;
|
|
120
|
+
declare const Digit6 = 25;
|
|
121
|
+
declare const Digit7 = 26;
|
|
122
|
+
declare const Digit8 = 27;
|
|
123
|
+
declare const Digit9 = 28;
|
|
124
|
+
declare const KeyA = 29;
|
|
125
|
+
declare const KeyB = 30;
|
|
126
|
+
declare const KeyC = 31;
|
|
127
|
+
declare const KeyD = 32;
|
|
128
|
+
declare const KeyE = 33;
|
|
129
|
+
declare const KeyF = 34;
|
|
130
|
+
declare const KeyG = 35;
|
|
131
|
+
declare const KeyH = 36;
|
|
132
|
+
declare const KeyI = 37;
|
|
133
|
+
declare const KeyJ = 38;
|
|
134
|
+
declare const KeyK = 39;
|
|
135
|
+
declare const KeyL = 40;
|
|
136
|
+
declare const KeyM = 41;
|
|
137
|
+
declare const KeyN = 42;
|
|
138
|
+
declare const KeyO = 43;
|
|
139
|
+
declare const KeyP = 44;
|
|
140
|
+
declare const KeyQ = 45;
|
|
141
|
+
declare const KeyR = 46;
|
|
142
|
+
declare const KeyS = 47;
|
|
143
|
+
declare const KeyT = 48;
|
|
144
|
+
declare const KeyU = 49;
|
|
145
|
+
declare const KeyV = 50;
|
|
146
|
+
declare const KeyW = 51;
|
|
147
|
+
declare const KeyX = 52;
|
|
148
|
+
declare const KeyY = 53;
|
|
149
|
+
declare const KeyZ = 54;
|
|
150
|
+
declare const Meta = 55;
|
|
151
|
+
declare const ContextMenu = 56;
|
|
152
|
+
declare const F1 = 57;
|
|
153
|
+
declare const F2 = 58;
|
|
154
|
+
declare const F3 = 59;
|
|
155
|
+
declare const F4 = 60;
|
|
156
|
+
declare const F5 = 61;
|
|
157
|
+
declare const F6 = 62;
|
|
158
|
+
declare const F7 = 63;
|
|
159
|
+
declare const F8 = 64;
|
|
160
|
+
declare const F9 = 65;
|
|
161
|
+
declare const F10 = 66;
|
|
162
|
+
declare const F11 = 67;
|
|
163
|
+
declare const F12 = 68;
|
|
164
|
+
declare const F13 = 69;
|
|
165
|
+
declare const F14 = 70;
|
|
166
|
+
declare const F15 = 71;
|
|
167
|
+
declare const F16 = 72;
|
|
168
|
+
declare const F17 = 72;
|
|
169
|
+
declare const F18 = 74;
|
|
170
|
+
declare const F19 = 75;
|
|
171
|
+
declare const F20 = 76;
|
|
172
|
+
declare const F21 = 77;
|
|
173
|
+
declare const F22 = 78;
|
|
174
|
+
declare const F23 = 79;
|
|
175
|
+
declare const F24 = 80;
|
|
176
|
+
declare const NumLock = 81;
|
|
177
|
+
declare const ScrollLock = 82;
|
|
178
|
+
declare const SemiColon = 83;
|
|
179
|
+
declare const Equal = 84;
|
|
180
|
+
declare const Comma = 85;
|
|
181
|
+
declare const Minus = 86;
|
|
182
|
+
declare const Period = 87;
|
|
183
|
+
declare const Slash = 88;
|
|
184
|
+
declare const Backquote = 89;
|
|
185
|
+
declare const BracketLeft = 90;
|
|
186
|
+
declare const Backslash = 91;
|
|
187
|
+
declare const BracketRight = 92;
|
|
188
|
+
declare const Quote = 93;
|
|
189
|
+
declare const OEM_8 = 94;
|
|
190
|
+
declare const IntlBackslash = 95;
|
|
191
|
+
declare const Numpad0 = 96;
|
|
192
|
+
declare const Numpad1 = 97;
|
|
193
|
+
declare const Numpad2 = 98;
|
|
194
|
+
declare const Numpad3 = 99;
|
|
195
|
+
declare const Numpad4 = 100;
|
|
196
|
+
declare const Numpad5 = 101;
|
|
197
|
+
declare const Numpad6 = 102;
|
|
198
|
+
declare const Numpad7 = 103;
|
|
199
|
+
declare const Numpad8 = 104;
|
|
200
|
+
declare const Numpad9 = 105;
|
|
201
|
+
declare const NumpadMultiply = 106;
|
|
202
|
+
declare const NumpadAdd = 107;
|
|
203
|
+
declare const NumpadSeparator = 108;
|
|
204
|
+
declare const NumpadSubtract = 109;
|
|
205
|
+
declare const NumpadDecimal = 110;
|
|
206
|
+
declare const NumpadDivide = 111;
|
|
207
|
+
declare const KeyInComposition = 112;
|
|
208
|
+
declare const ABNT_C1 = 113;
|
|
209
|
+
declare const ABNT_C2 = 114;
|
|
210
|
+
declare const AudioVolumeMute = 115;
|
|
211
|
+
declare const AudioVolumeUp = 116;
|
|
212
|
+
declare const AudioVolumeDown = 117;
|
|
213
|
+
declare const BrowserSearch = 118;
|
|
214
|
+
declare const BrowserHome = 119;
|
|
215
|
+
declare const BrowserBack = 120;
|
|
216
|
+
declare const BrowserForward = 121;
|
|
217
|
+
declare const MediaTrackNext = 122;
|
|
218
|
+
declare const MediaTrackPrevious = 123;
|
|
219
|
+
declare const MediaStop = 124;
|
|
220
|
+
declare const MediaPlayPause = 125;
|
|
221
|
+
declare const LaunchMediaPlayer = 126;
|
|
222
|
+
declare const LaunchMail = 127;
|
|
223
|
+
declare const LaunchApp2 = 128;
|
|
224
|
+
declare const Clear = 129;
|
|
225
|
+
declare const MaxValue = 130;
|
|
226
|
+
declare const Star = 131;
|
|
227
|
+
declare const Plus = 132;
|
|
228
|
+
declare const CtrlCmd: number;
|
|
229
|
+
declare const Shift: number;
|
|
230
|
+
declare const Alt$1: number;
|
|
231
|
+
declare const WinCtrl: number;
|
|
9
232
|
export declare const mergeClassNames: (...classNames: readonly string[]) => string;
|
|
233
|
+
declare const Keyboard = -1;
|
|
234
|
+
declare const LeftClick = 0;
|
|
235
|
+
export declare const px: (value: number) => string;
|
|
236
|
+
export declare const position: (x: number, y: number) => string;
|
|
10
237
|
export interface VirtualDomNode {
|
|
11
238
|
readonly type: number;
|
|
12
239
|
readonly [key: string]: any;
|
|
@@ -87,7 +314,7 @@ declare const Footer = 29;
|
|
|
87
314
|
declare const Header = 30;
|
|
88
315
|
declare const Nav = 40;
|
|
89
316
|
declare const Section = 41;
|
|
90
|
-
declare const Search = 42;
|
|
317
|
+
declare const Search$1 = 42;
|
|
91
318
|
declare const Dd = 43;
|
|
92
319
|
declare const Dl = 44;
|
|
93
320
|
declare const Figcaption = 45;
|
|
@@ -110,49 +337,29 @@ declare const TextArea = 62;
|
|
|
110
337
|
declare const Select = 63;
|
|
111
338
|
declare const Option = 64;
|
|
112
339
|
declare const Code = 65;
|
|
113
|
-
declare const Label = 66;
|
|
114
|
-
declare const CallStackArrow = "CallStackArrow";
|
|
115
|
-
declare const CallStackDescription = "CallStackDescription";
|
|
116
|
-
declare const CallStackLabel = "CallStackLabel";
|
|
117
|
-
declare const Chevron = "Chevron";
|
|
118
|
-
declare const DebugButton = "DebugButton";
|
|
119
|
-
declare const DebugButtons = "DebugButtons";
|
|
120
|
-
declare const DebugPausedMessage = "DebugPausedMessage";
|
|
121
|
-
declare const DebugPropertyChevron = "DebugPropertyChevron";
|
|
122
|
-
declare const DebugPropertyKey = "DebugPropertyKey";
|
|
123
|
-
declare const DebugRow = "DebugRow";
|
|
124
|
-
declare const DebugRowCallStack = "DebugRowCallStack";
|
|
125
|
-
declare const DebugRowCheckBox = "DebugRowCheckBox";
|
|
126
|
-
declare const DebugRowInputField = "DebugRowInputField";
|
|
127
|
-
declare const DebugSectionAction = "DebugSectionAction";
|
|
128
|
-
declare const DebugSectionActions = "DebugSectionActions";
|
|
129
|
-
declare const DebugSectionHeader = "DebugSectionHeader";
|
|
130
|
-
declare const DebugValue = "DebugValue";
|
|
131
|
-
declare const DebugValueBoolean = "DebugValueBoolean";
|
|
132
|
-
declare const DebugValueFunction = "DebugValueFunction";
|
|
133
|
-
declare const DebugValueGetter = "DebugValueGetter";
|
|
134
|
-
declare const DebugValueNumber = "DebugValueNumber";
|
|
135
|
-
declare const DebugValueObject = "DebugValueObject";
|
|
136
|
-
declare const DebugValueScopeName = "DebugValueScopeName";
|
|
137
|
-
declare const DebugValueString = "DebugValueString";
|
|
138
|
-
declare const DebugValueSymbol = "DebugValueSymbol";
|
|
139
|
-
declare const DebugValueUndefined = "DebugValueUndefined";
|
|
140
|
-
declare const DeleteWatchExpression = "DeleteWatchExpression";
|
|
141
|
-
declare const IconButton = "IconButton";
|
|
142
|
-
declare const InputBox = "InputBox";
|
|
143
|
-
declare const InputLabel = "InputLabel";
|
|
144
|
-
export declare const px: (value: number) => string;
|
|
145
|
-
export declare const position: (x: number, y: number) => string;
|
|
340
|
+
declare const Label$1 = 66;
|
|
146
341
|
|
|
342
|
+
declare namespace VirtualDomElements {
|
|
343
|
+
export { A, Abbr, Article, Aside, Audio, Br, Button, Cite, Code, Col, ColGroup, Data, Dd, Del, Div, Dl, Figcaption, Figure, Footer, H1, H2, H3, H4, H5, H6, Header, Hr, I, Img, Input, Ins, Kbd, Label$1 as Label, Li, Nav, Ol, Option, P, Pre, Root, Search$1 as Search, Section, Select, Span, TBody, THead, Table, Td, Text, TextArea, Tfoot, Th, Time, Tr, Ul, Video };
|
|
344
|
+
}
|
|
147
345
|
declare namespace ClassNames {
|
|
148
|
-
export { CallStackArrow, CallStackDescription, CallStackLabel, Chevron, DebugButton, DebugButtons, DebugPausedMessage, DebugPropertyChevron, DebugPropertyKey, DebugRow, DebugRowCallStack, DebugRowCheckBox, DebugRowInputField, DebugSectionAction, DebugSectionActions, DebugSectionHeader, DebugValue, DebugValueBoolean, DebugValueFunction, DebugValueGetter, DebugValueNumber, DebugValueObject, DebugValueScopeName, DebugValueString, DebugValueSymbol, DebugValueUndefined, DeleteWatchExpression, IconButton, InputBox, InputLabel };
|
|
346
|
+
export { Actions, Badge, CallStackArrow, CallStackDescription, CallStackLabel, Chevron, CloseMaskIcon, DebugButton, DebugButtons, DebugPausedMessage, DebugPropertyChevron, DebugPropertyKey, DebugRow, DebugRowCallStack, DebugRowCheckBox, DebugRowInputField, DebugSectionAction, DebugSectionActions, DebugSectionHeader, DebugValue, DebugValueBoolean, DebugValueFunction, DebugValueGetter, DebugValueNumber, DebugValueObject, DebugValueScopeName, DebugValueString, DebugValueSymbol, DebugValueUndefined, DeleteWatchExpression, Empty, FileIcon, FocusOutline, Grow, Highlight, HighlightDeleted, HighlightInserted, IconButton, InputBox, InputLabel, Label, List, MaskIcon, MaskIconBook, MaskIconCaseSensitive, MaskIconChevronDown, MaskIconChevronRight, MaskIconEllipsis, MaskIconExclude, MaskIconPreserveCase, MaskIconRegex, MaskIconReplaceAll, MaskIconWholeWord, MultilineInputBox, ScrollBar, ScrollBarThumb, ScrollBarVertical, Search, SearchField, SearchFieldButton, SearchFieldButtonChecked, SearchFieldButtonDisabled, SearchFieldButtons, SearchFieldContainer, SearchFieldError, SearchHeader, SearchHeaderDetails, SearchHeaderDetailsExpanded, SearchHeaderDetailsExpandedTop, SearchHeaderDetailsHeading, SearchHeaderTop, SearchHeaderTopRight, SearchInputError, SearchRemove, SearchToggleButton, SearchToggleButtonExpanded, SourceControlBadge, ToggleDetails, Tree, TreeItem, TreeItemActive, TreeItems, Viewlet, ViewletSearchMessage, ViewletSearchMessageIndented };
|
|
149
347
|
}
|
|
150
|
-
declare namespace
|
|
151
|
-
export {
|
|
348
|
+
declare namespace KeyCode {
|
|
349
|
+
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, Unknown, UpArrow };
|
|
350
|
+
}
|
|
351
|
+
declare namespace KeyModifier {
|
|
352
|
+
export { Alt$1 as Alt, CtrlCmd, Shift, WinCtrl };
|
|
353
|
+
}
|
|
354
|
+
declare namespace MouseEventType {
|
|
355
|
+
export { Keyboard, LeftClick };
|
|
152
356
|
}
|
|
153
357
|
|
|
154
358
|
export {
|
|
155
359
|
ClassNames,
|
|
360
|
+
KeyCode,
|
|
361
|
+
KeyModifier,
|
|
362
|
+
MouseEventType,
|
|
156
363
|
VirtualDomElements,
|
|
157
364
|
};
|
|
158
365
|
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,484 @@
|
|
|
1
|
+
const Actions = 'Actions';
|
|
2
|
+
const Badge = 'Badge';
|
|
3
|
+
const CallStackArrow = 'CallStackArrow';
|
|
4
|
+
const CallStackDescription = 'CallStackDescription';
|
|
5
|
+
const CallStackLabel = 'CallStackLabel';
|
|
6
|
+
const Chevron = 'Chevron';
|
|
7
|
+
const CloseMaskIcon = 'MaskIcon MaskIconClose';
|
|
8
|
+
const DebugButton = 'DebugButton';
|
|
9
|
+
const DebugButtons = 'DebugButtons';
|
|
10
|
+
const DebugPausedMessage = 'DebugPausedMessage';
|
|
11
|
+
const DebugPropertyChevron = 'DebugPropertyChevron';
|
|
12
|
+
const DebugPropertyKey = 'DebugPropertyKey';
|
|
13
|
+
const DebugRow = 'DebugRow';
|
|
14
|
+
const DebugRowCallStack = 'DebugRowCallStack';
|
|
15
|
+
const DebugRowCheckBox = 'DebugRowCheckBox';
|
|
16
|
+
const DebugRowInputField = 'DebugRowInputField';
|
|
17
|
+
const DebugSectionAction = 'DebugSectionAction';
|
|
18
|
+
const DebugSectionActions = 'DebugSectionActions';
|
|
19
|
+
const DebugSectionHeader = 'DebugSectionHeader';
|
|
20
|
+
const DebugValue = 'DebugValue';
|
|
21
|
+
const DebugValueBoolean = 'DebugValueBoolean';
|
|
22
|
+
const DebugValueFunction = 'DebugValueFunction';
|
|
23
|
+
const DebugValueGetter = 'DebugValueGetter';
|
|
24
|
+
const DebugValueNumber = 'DebugValueNumber';
|
|
25
|
+
const DebugValueObject = 'DebugValueObject';
|
|
26
|
+
const DebugValueScopeName = 'DebugValueScopeName';
|
|
27
|
+
const DebugValueString = 'DebugValueString';
|
|
28
|
+
const DebugValueSymbol = 'DebugValueSymbol';
|
|
29
|
+
const DebugValueUndefined = 'DebugValueUndefined';
|
|
30
|
+
const DeleteWatchExpression = 'DeleteWatchExpression';
|
|
31
|
+
const Empty = '';
|
|
32
|
+
const FileIcon = 'FileIcon';
|
|
33
|
+
const FocusOutline = 'FocusOutline';
|
|
34
|
+
const Grow = 'Grow';
|
|
35
|
+
const Highlight = 'Highlight';
|
|
36
|
+
const HighlightDeleted = 'HighlightDeleted';
|
|
37
|
+
const HighlightInserted = 'HighlightInserted';
|
|
38
|
+
const IconButton = 'IconButton';
|
|
39
|
+
const InputBox = 'InputBox';
|
|
40
|
+
const InputLabel = 'InputLabel';
|
|
41
|
+
const Label$1 = 'Label';
|
|
42
|
+
const List = 'List';
|
|
43
|
+
const MaskIcon = 'MaskIcon';
|
|
44
|
+
const MaskIconBook = 'MaskIconBook';
|
|
45
|
+
const MaskIconCaseSensitive = 'MaskIconCaseSensitive';
|
|
46
|
+
const MaskIconChevronDown = 'MaskIconChevronDown';
|
|
47
|
+
const MaskIconChevronRight = 'MaskIconChevronRight';
|
|
48
|
+
const MaskIconEllipsis = 'MaskIconEllipsis';
|
|
49
|
+
const MaskIconExclude = 'MaskIconExclude';
|
|
50
|
+
const MaskIconPreserveCase = 'MaskIconPreserveCase';
|
|
51
|
+
const MaskIconRegex = 'MaskIconRegex';
|
|
52
|
+
const MaskIconReplaceAll = 'MaskIconReplaceAll';
|
|
53
|
+
const MaskIconWholeWord = 'MaskIconWholeWord';
|
|
54
|
+
const MultilineInputBox = 'MultilineInputBox';
|
|
55
|
+
const ScrollBar = 'ScrollBar';
|
|
56
|
+
const ScrollBarThumb = 'ScrollBarThumb';
|
|
57
|
+
const ScrollBarVertical = 'ScrollBarVertical';
|
|
58
|
+
const Search$1 = 'Search';
|
|
59
|
+
const SearchField = 'SearchField';
|
|
60
|
+
const SearchFieldButton = 'SearchFieldButton';
|
|
61
|
+
const SearchFieldButtonChecked = 'SearchFieldButtonChecked';
|
|
62
|
+
const SearchFieldButtonDisabled = 'SearchFieldButtonDisabled';
|
|
63
|
+
const SearchFieldButtons = 'SearchFieldButtons';
|
|
64
|
+
const SearchFieldContainer = 'SearchFieldContainer';
|
|
65
|
+
const SearchFieldError = 'SearchFieldError';
|
|
66
|
+
const SearchHeader = 'SearchHeader';
|
|
67
|
+
const SearchHeaderDetails = 'SearchHeaderDetails';
|
|
68
|
+
const SearchHeaderDetailsExpanded = 'SearchHeaderDetailsExpanded';
|
|
69
|
+
const SearchHeaderDetailsExpandedTop = 'SearchHeaderDetailsExpandedTop';
|
|
70
|
+
const SearchHeaderDetailsHeading = 'SearchHeaderDetailsHeading';
|
|
71
|
+
const SearchHeaderTop = 'SearchHeaderTop';
|
|
72
|
+
const SearchHeaderTopRight = 'SearchHeaderTopRight';
|
|
73
|
+
const SearchInputError = 'SearchInputError';
|
|
74
|
+
const SearchRemove = 'SearchRemove';
|
|
75
|
+
const SearchToggleButton = 'SearchToggleButton';
|
|
76
|
+
const SearchToggleButtonExpanded = 'SearchToggleButtonExpanded';
|
|
77
|
+
const SourceControlBadge = 'SourceControlBadge';
|
|
78
|
+
const ToggleDetails = 'ToggleDetails';
|
|
79
|
+
const Tree = 'Tree';
|
|
80
|
+
const TreeItem = 'TreeItem';
|
|
81
|
+
const TreeItemActive = 'TreeItemActive';
|
|
82
|
+
const TreeItems = 'TreeItems';
|
|
83
|
+
const Viewlet = 'Viewlet';
|
|
84
|
+
const ViewletSearchMessage = 'ViewletSearchMessage';
|
|
85
|
+
const ViewletSearchMessageIndented = 'ViewletSearchMessageIndented';
|
|
86
|
+
|
|
87
|
+
const ClassNames = {
|
|
88
|
+
__proto__: null,
|
|
89
|
+
Actions,
|
|
90
|
+
Badge,
|
|
91
|
+
CallStackArrow,
|
|
92
|
+
CallStackDescription,
|
|
93
|
+
CallStackLabel,
|
|
94
|
+
Chevron,
|
|
95
|
+
CloseMaskIcon,
|
|
96
|
+
DebugButton,
|
|
97
|
+
DebugButtons,
|
|
98
|
+
DebugPausedMessage,
|
|
99
|
+
DebugPropertyChevron,
|
|
100
|
+
DebugPropertyKey,
|
|
101
|
+
DebugRow,
|
|
102
|
+
DebugRowCallStack,
|
|
103
|
+
DebugRowCheckBox,
|
|
104
|
+
DebugRowInputField,
|
|
105
|
+
DebugSectionAction,
|
|
106
|
+
DebugSectionActions,
|
|
107
|
+
DebugSectionHeader,
|
|
108
|
+
DebugValue,
|
|
109
|
+
DebugValueBoolean,
|
|
110
|
+
DebugValueFunction,
|
|
111
|
+
DebugValueGetter,
|
|
112
|
+
DebugValueNumber,
|
|
113
|
+
DebugValueObject,
|
|
114
|
+
DebugValueScopeName,
|
|
115
|
+
DebugValueString,
|
|
116
|
+
DebugValueSymbol,
|
|
117
|
+
DebugValueUndefined,
|
|
118
|
+
DeleteWatchExpression,
|
|
119
|
+
Empty,
|
|
120
|
+
FileIcon,
|
|
121
|
+
FocusOutline,
|
|
122
|
+
Grow,
|
|
123
|
+
Highlight,
|
|
124
|
+
HighlightDeleted,
|
|
125
|
+
HighlightInserted,
|
|
126
|
+
IconButton,
|
|
127
|
+
InputBox,
|
|
128
|
+
InputLabel,
|
|
129
|
+
Label: Label$1,
|
|
130
|
+
List,
|
|
131
|
+
MaskIcon,
|
|
132
|
+
MaskIconBook,
|
|
133
|
+
MaskIconCaseSensitive,
|
|
134
|
+
MaskIconChevronDown,
|
|
135
|
+
MaskIconChevronRight,
|
|
136
|
+
MaskIconEllipsis,
|
|
137
|
+
MaskIconExclude,
|
|
138
|
+
MaskIconPreserveCase,
|
|
139
|
+
MaskIconRegex,
|
|
140
|
+
MaskIconReplaceAll,
|
|
141
|
+
MaskIconWholeWord,
|
|
142
|
+
MultilineInputBox,
|
|
143
|
+
ScrollBar,
|
|
144
|
+
ScrollBarThumb,
|
|
145
|
+
ScrollBarVertical,
|
|
146
|
+
Search: Search$1,
|
|
147
|
+
SearchField,
|
|
148
|
+
SearchFieldButton,
|
|
149
|
+
SearchFieldButtonChecked,
|
|
150
|
+
SearchFieldButtonDisabled,
|
|
151
|
+
SearchFieldButtons,
|
|
152
|
+
SearchFieldContainer,
|
|
153
|
+
SearchFieldError,
|
|
154
|
+
SearchHeader,
|
|
155
|
+
SearchHeaderDetails,
|
|
156
|
+
SearchHeaderDetailsExpanded,
|
|
157
|
+
SearchHeaderDetailsExpandedTop,
|
|
158
|
+
SearchHeaderDetailsHeading,
|
|
159
|
+
SearchHeaderTop,
|
|
160
|
+
SearchHeaderTopRight,
|
|
161
|
+
SearchInputError,
|
|
162
|
+
SearchRemove,
|
|
163
|
+
SearchToggleButton,
|
|
164
|
+
SearchToggleButtonExpanded,
|
|
165
|
+
SourceControlBadge,
|
|
166
|
+
ToggleDetails,
|
|
167
|
+
Tree,
|
|
168
|
+
TreeItem,
|
|
169
|
+
TreeItemActive,
|
|
170
|
+
TreeItems,
|
|
171
|
+
Viewlet,
|
|
172
|
+
ViewletSearchMessage,
|
|
173
|
+
ViewletSearchMessageIndented
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
const Unknown = 0;
|
|
177
|
+
const Backspace = 1;
|
|
178
|
+
const Tab = 2;
|
|
179
|
+
const Enter = 3;
|
|
180
|
+
const Ctrl = 4;
|
|
181
|
+
const Alt$1 = 5;
|
|
182
|
+
const PauseBreak = 6;
|
|
183
|
+
const CapsLock = 7;
|
|
184
|
+
const Escape = 8;
|
|
185
|
+
const Space = 9;
|
|
186
|
+
const PageUp = 10;
|
|
187
|
+
const PageDown = 11;
|
|
188
|
+
const End = 255;
|
|
189
|
+
const Home = 12;
|
|
190
|
+
const LeftArrow = 13;
|
|
191
|
+
const UpArrow = 14;
|
|
192
|
+
const RightArrow = 15;
|
|
193
|
+
const DownArrow = 16;
|
|
194
|
+
const Insert = 17;
|
|
195
|
+
const Delete = 18;
|
|
196
|
+
const Digit0 = 19;
|
|
197
|
+
const Digit1 = 20;
|
|
198
|
+
const Digit2 = 21;
|
|
199
|
+
const Digit3 = 22;
|
|
200
|
+
const Digit4 = 23;
|
|
201
|
+
const Digit5 = 24;
|
|
202
|
+
const Digit6 = 25;
|
|
203
|
+
const Digit7 = 26;
|
|
204
|
+
const Digit8 = 27;
|
|
205
|
+
const Digit9 = 28;
|
|
206
|
+
const KeyA = 29;
|
|
207
|
+
const KeyB = 30;
|
|
208
|
+
const KeyC = 31;
|
|
209
|
+
const KeyD = 32;
|
|
210
|
+
const KeyE = 33;
|
|
211
|
+
const KeyF = 34;
|
|
212
|
+
const KeyG = 35;
|
|
213
|
+
const KeyH = 36;
|
|
214
|
+
const KeyI = 37;
|
|
215
|
+
const KeyJ = 38;
|
|
216
|
+
const KeyK = 39;
|
|
217
|
+
const KeyL = 40;
|
|
218
|
+
const KeyM = 41;
|
|
219
|
+
const KeyN = 42;
|
|
220
|
+
const KeyO = 43;
|
|
221
|
+
const KeyP = 44;
|
|
222
|
+
const KeyQ = 45;
|
|
223
|
+
const KeyR = 46;
|
|
224
|
+
const KeyS = 47;
|
|
225
|
+
const KeyT = 48;
|
|
226
|
+
const KeyU = 49;
|
|
227
|
+
const KeyV = 50;
|
|
228
|
+
const KeyW = 51;
|
|
229
|
+
const KeyX = 52;
|
|
230
|
+
const KeyY = 53;
|
|
231
|
+
const KeyZ = 54;
|
|
232
|
+
const Meta = 55;
|
|
233
|
+
const ContextMenu = 56;
|
|
234
|
+
const F1 = 57;
|
|
235
|
+
const F2 = 58;
|
|
236
|
+
const F3 = 59;
|
|
237
|
+
const F4 = 60;
|
|
238
|
+
const F5 = 61;
|
|
239
|
+
const F6 = 62;
|
|
240
|
+
const F7 = 63;
|
|
241
|
+
const F8 = 64;
|
|
242
|
+
const F9 = 65;
|
|
243
|
+
const F10 = 66;
|
|
244
|
+
const F11 = 67;
|
|
245
|
+
const F12 = 68;
|
|
246
|
+
const F13 = 69;
|
|
247
|
+
const F14 = 70;
|
|
248
|
+
const F15 = 71;
|
|
249
|
+
const F16 = 72;
|
|
250
|
+
const F17 = 72;
|
|
251
|
+
const F18 = 74;
|
|
252
|
+
const F19 = 75;
|
|
253
|
+
const F20 = 76;
|
|
254
|
+
const F21 = 77;
|
|
255
|
+
const F22 = 78;
|
|
256
|
+
const F23 = 79;
|
|
257
|
+
const F24 = 80;
|
|
258
|
+
const NumLock = 81;
|
|
259
|
+
const ScrollLock = 82;
|
|
260
|
+
const SemiColon = 83;
|
|
261
|
+
const Equal = 84;
|
|
262
|
+
const Comma = 85;
|
|
263
|
+
const Minus = 86;
|
|
264
|
+
const Period = 87;
|
|
265
|
+
const Slash = 88;
|
|
266
|
+
const Backquote = 89;
|
|
267
|
+
const BracketLeft = 90;
|
|
268
|
+
const Backslash = 91;
|
|
269
|
+
const BracketRight = 92;
|
|
270
|
+
const Quote = 93;
|
|
271
|
+
const OEM_8 = 94;
|
|
272
|
+
const IntlBackslash = 95;
|
|
273
|
+
const Numpad0 = 96;
|
|
274
|
+
const Numpad1 = 97;
|
|
275
|
+
const Numpad2 = 98;
|
|
276
|
+
const Numpad3 = 99;
|
|
277
|
+
const Numpad4 = 100;
|
|
278
|
+
const Numpad5 = 101;
|
|
279
|
+
const Numpad6 = 102;
|
|
280
|
+
const Numpad7 = 103;
|
|
281
|
+
const Numpad8 = 104;
|
|
282
|
+
const Numpad9 = 105;
|
|
283
|
+
const NumpadMultiply = 106;
|
|
284
|
+
const NumpadAdd = 107;
|
|
285
|
+
const NumpadSeparator = 108;
|
|
286
|
+
const NumpadSubtract = 109;
|
|
287
|
+
const NumpadDecimal = 110;
|
|
288
|
+
const NumpadDivide = 111;
|
|
289
|
+
const KeyInComposition = 112;
|
|
290
|
+
const ABNT_C1 = 113;
|
|
291
|
+
const ABNT_C2 = 114;
|
|
292
|
+
const AudioVolumeMute = 115;
|
|
293
|
+
const AudioVolumeUp = 116;
|
|
294
|
+
const AudioVolumeDown = 117;
|
|
295
|
+
const BrowserSearch = 118;
|
|
296
|
+
const BrowserHome = 119;
|
|
297
|
+
const BrowserBack = 120;
|
|
298
|
+
const BrowserForward = 121;
|
|
299
|
+
const MediaTrackNext = 122;
|
|
300
|
+
const MediaTrackPrevious = 123;
|
|
301
|
+
const MediaStop = 124;
|
|
302
|
+
const MediaPlayPause = 125;
|
|
303
|
+
const LaunchMediaPlayer = 126;
|
|
304
|
+
const LaunchMail = 127;
|
|
305
|
+
const LaunchApp2 = 128;
|
|
306
|
+
const Clear = 129;
|
|
307
|
+
const MaxValue = 130;
|
|
308
|
+
const Star = 131;
|
|
309
|
+
const Plus = 132;
|
|
310
|
+
|
|
311
|
+
const KeyCode = {
|
|
312
|
+
__proto__: null,
|
|
313
|
+
ABNT_C1,
|
|
314
|
+
ABNT_C2,
|
|
315
|
+
Alt: Alt$1,
|
|
316
|
+
AudioVolumeDown,
|
|
317
|
+
AudioVolumeMute,
|
|
318
|
+
AudioVolumeUp,
|
|
319
|
+
Backquote,
|
|
320
|
+
Backslash,
|
|
321
|
+
Backspace,
|
|
322
|
+
BracketLeft,
|
|
323
|
+
BracketRight,
|
|
324
|
+
BrowserBack,
|
|
325
|
+
BrowserForward,
|
|
326
|
+
BrowserHome,
|
|
327
|
+
BrowserSearch,
|
|
328
|
+
CapsLock,
|
|
329
|
+
Clear,
|
|
330
|
+
Comma,
|
|
331
|
+
ContextMenu,
|
|
332
|
+
Ctrl,
|
|
333
|
+
Delete,
|
|
334
|
+
Digit0,
|
|
335
|
+
Digit1,
|
|
336
|
+
Digit2,
|
|
337
|
+
Digit3,
|
|
338
|
+
Digit4,
|
|
339
|
+
Digit5,
|
|
340
|
+
Digit6,
|
|
341
|
+
Digit7,
|
|
342
|
+
Digit8,
|
|
343
|
+
Digit9,
|
|
344
|
+
DownArrow,
|
|
345
|
+
End,
|
|
346
|
+
Enter,
|
|
347
|
+
Equal,
|
|
348
|
+
Escape,
|
|
349
|
+
F1,
|
|
350
|
+
F10,
|
|
351
|
+
F11,
|
|
352
|
+
F12,
|
|
353
|
+
F13,
|
|
354
|
+
F14,
|
|
355
|
+
F15,
|
|
356
|
+
F16,
|
|
357
|
+
F17,
|
|
358
|
+
F18,
|
|
359
|
+
F19,
|
|
360
|
+
F2,
|
|
361
|
+
F20,
|
|
362
|
+
F21,
|
|
363
|
+
F22,
|
|
364
|
+
F23,
|
|
365
|
+
F24,
|
|
366
|
+
F3,
|
|
367
|
+
F4,
|
|
368
|
+
F5,
|
|
369
|
+
F6,
|
|
370
|
+
F7,
|
|
371
|
+
F8,
|
|
372
|
+
F9,
|
|
373
|
+
Home,
|
|
374
|
+
Insert,
|
|
375
|
+
IntlBackslash,
|
|
376
|
+
KeyA,
|
|
377
|
+
KeyB,
|
|
378
|
+
KeyC,
|
|
379
|
+
KeyD,
|
|
380
|
+
KeyE,
|
|
381
|
+
KeyF,
|
|
382
|
+
KeyG,
|
|
383
|
+
KeyH,
|
|
384
|
+
KeyI,
|
|
385
|
+
KeyInComposition,
|
|
386
|
+
KeyJ,
|
|
387
|
+
KeyK,
|
|
388
|
+
KeyL,
|
|
389
|
+
KeyM,
|
|
390
|
+
KeyN,
|
|
391
|
+
KeyO,
|
|
392
|
+
KeyP,
|
|
393
|
+
KeyQ,
|
|
394
|
+
KeyR,
|
|
395
|
+
KeyS,
|
|
396
|
+
KeyT,
|
|
397
|
+
KeyU,
|
|
398
|
+
KeyV,
|
|
399
|
+
KeyW,
|
|
400
|
+
KeyX,
|
|
401
|
+
KeyY,
|
|
402
|
+
KeyZ,
|
|
403
|
+
LaunchApp2,
|
|
404
|
+
LaunchMail,
|
|
405
|
+
LaunchMediaPlayer,
|
|
406
|
+
LeftArrow,
|
|
407
|
+
MaxValue,
|
|
408
|
+
MediaPlayPause,
|
|
409
|
+
MediaStop,
|
|
410
|
+
MediaTrackNext,
|
|
411
|
+
MediaTrackPrevious,
|
|
412
|
+
Meta,
|
|
413
|
+
Minus,
|
|
414
|
+
NumLock,
|
|
415
|
+
Numpad0,
|
|
416
|
+
Numpad1,
|
|
417
|
+
Numpad2,
|
|
418
|
+
Numpad3,
|
|
419
|
+
Numpad4,
|
|
420
|
+
Numpad5,
|
|
421
|
+
Numpad6,
|
|
422
|
+
Numpad7,
|
|
423
|
+
Numpad8,
|
|
424
|
+
Numpad9,
|
|
425
|
+
NumpadAdd,
|
|
426
|
+
NumpadDecimal,
|
|
427
|
+
NumpadDivide,
|
|
428
|
+
NumpadMultiply,
|
|
429
|
+
NumpadSeparator,
|
|
430
|
+
NumpadSubtract,
|
|
431
|
+
OEM_8,
|
|
432
|
+
PageDown,
|
|
433
|
+
PageUp,
|
|
434
|
+
PauseBreak,
|
|
435
|
+
Period,
|
|
436
|
+
Plus,
|
|
437
|
+
Quote,
|
|
438
|
+
RightArrow,
|
|
439
|
+
ScrollLock,
|
|
440
|
+
SemiColon,
|
|
441
|
+
Slash,
|
|
442
|
+
Space,
|
|
443
|
+
Star,
|
|
444
|
+
Tab,
|
|
445
|
+
Unknown,
|
|
446
|
+
UpArrow
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
const CtrlCmd = 1 << 11 >>> 0;
|
|
450
|
+
const Shift = 1 << 10 >>> 0;
|
|
451
|
+
const Alt = 1 << 9 >>> 0;
|
|
452
|
+
const WinCtrl = 1 << 8 >>> 0;
|
|
453
|
+
|
|
454
|
+
const KeyModifier = {
|
|
455
|
+
__proto__: null,
|
|
456
|
+
Alt,
|
|
457
|
+
CtrlCmd,
|
|
458
|
+
Shift,
|
|
459
|
+
WinCtrl
|
|
460
|
+
};
|
|
461
|
+
|
|
1
462
|
const mergeClassNames = (...classNames) => {
|
|
2
463
|
return classNames.filter(Boolean).join(' ');
|
|
3
464
|
};
|
|
4
465
|
|
|
466
|
+
const Keyboard = -1;
|
|
467
|
+
const LeftClick = 0;
|
|
468
|
+
|
|
469
|
+
const MouseEventType = {
|
|
470
|
+
__proto__: null,
|
|
471
|
+
Keyboard,
|
|
472
|
+
LeftClick
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
const px = value => {
|
|
476
|
+
return `${value}px`;
|
|
477
|
+
};
|
|
478
|
+
const position = (x, y) => {
|
|
479
|
+
return `${x}px ${y}px`;
|
|
480
|
+
};
|
|
481
|
+
|
|
5
482
|
const Audio = 0;
|
|
6
483
|
const Button = 1;
|
|
7
484
|
const Col = 2;
|
|
@@ -343,76 +820,4 @@ const diff = (oldNodes, newNodes) => {
|
|
|
343
820
|
return patches;
|
|
344
821
|
};
|
|
345
822
|
|
|
346
|
-
|
|
347
|
-
const CallStackDescription = 'CallStackDescription';
|
|
348
|
-
const CallStackLabel = 'CallStackLabel';
|
|
349
|
-
const Chevron = 'Chevron';
|
|
350
|
-
const DebugButton = 'DebugButton';
|
|
351
|
-
const DebugButtons = 'DebugButtons';
|
|
352
|
-
const DebugPausedMessage = 'DebugPausedMessage';
|
|
353
|
-
const DebugPropertyChevron = 'DebugPropertyChevron';
|
|
354
|
-
const DebugPropertyKey = 'DebugPropertyKey';
|
|
355
|
-
const DebugRow = 'DebugRow';
|
|
356
|
-
const DebugRowCallStack = 'DebugRowCallStack';
|
|
357
|
-
const DebugRowCheckBox = 'DebugRowCheckBox';
|
|
358
|
-
const DebugRowInputField = 'DebugRowInputField';
|
|
359
|
-
const DebugSectionAction = 'DebugSectionAction';
|
|
360
|
-
const DebugSectionActions = 'DebugSectionActions';
|
|
361
|
-
const DebugSectionHeader = 'DebugSectionHeader';
|
|
362
|
-
const DebugValue = 'DebugValue';
|
|
363
|
-
const DebugValueBoolean = 'DebugValueBoolean';
|
|
364
|
-
const DebugValueFunction = 'DebugValueFunction';
|
|
365
|
-
const DebugValueGetter = 'DebugValueGetter';
|
|
366
|
-
const DebugValueNumber = 'DebugValueNumber';
|
|
367
|
-
const DebugValueObject = 'DebugValueObject';
|
|
368
|
-
const DebugValueScopeName = 'DebugValueScopeName';
|
|
369
|
-
const DebugValueString = 'DebugValueString';
|
|
370
|
-
const DebugValueSymbol = 'DebugValueSymbol';
|
|
371
|
-
const DebugValueUndefined = 'DebugValueUndefined';
|
|
372
|
-
const DeleteWatchExpression = 'DeleteWatchExpression';
|
|
373
|
-
const IconButton = 'IconButton';
|
|
374
|
-
const InputBox = 'InputBox';
|
|
375
|
-
const InputLabel = 'InputLabel';
|
|
376
|
-
|
|
377
|
-
const ClassNames = {
|
|
378
|
-
__proto__: null,
|
|
379
|
-
CallStackArrow,
|
|
380
|
-
CallStackDescription,
|
|
381
|
-
CallStackLabel,
|
|
382
|
-
Chevron,
|
|
383
|
-
DebugButton,
|
|
384
|
-
DebugButtons,
|
|
385
|
-
DebugPausedMessage,
|
|
386
|
-
DebugPropertyChevron,
|
|
387
|
-
DebugPropertyKey,
|
|
388
|
-
DebugRow,
|
|
389
|
-
DebugRowCallStack,
|
|
390
|
-
DebugRowCheckBox,
|
|
391
|
-
DebugRowInputField,
|
|
392
|
-
DebugSectionAction,
|
|
393
|
-
DebugSectionActions,
|
|
394
|
-
DebugSectionHeader,
|
|
395
|
-
DebugValue,
|
|
396
|
-
DebugValueBoolean,
|
|
397
|
-
DebugValueFunction,
|
|
398
|
-
DebugValueGetter,
|
|
399
|
-
DebugValueNumber,
|
|
400
|
-
DebugValueObject,
|
|
401
|
-
DebugValueScopeName,
|
|
402
|
-
DebugValueString,
|
|
403
|
-
DebugValueSymbol,
|
|
404
|
-
DebugValueUndefined,
|
|
405
|
-
DeleteWatchExpression,
|
|
406
|
-
IconButton,
|
|
407
|
-
InputBox,
|
|
408
|
-
InputLabel
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
const px = value => {
|
|
412
|
-
return `${value}px`;
|
|
413
|
-
};
|
|
414
|
-
const position = (x, y) => {
|
|
415
|
-
return `${x}px ${y}px`;
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
export { ClassNames, VirtualDomElements, diff, mergeClassNames, position, px, text };
|
|
823
|
+
export { ClassNames, KeyCode, KeyModifier, MouseEventType, VirtualDomElements, diff, mergeClassNames, position, px, text };
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export const Actions = 'Actions'
|
|
2
|
+
export const Badge = 'Badge'
|
|
1
3
|
export const CallStackArrow = 'CallStackArrow'
|
|
2
4
|
export const CallStackDescription = 'CallStackDescription'
|
|
3
5
|
export const CallStackLabel = 'CallStackLabel'
|
|
4
6
|
export const Chevron = 'Chevron'
|
|
7
|
+
export const CloseMaskIcon = 'MaskIcon MaskIconClose'
|
|
5
8
|
export const DebugButton = 'DebugButton'
|
|
6
9
|
export const DebugButtons = 'DebugButtons'
|
|
7
10
|
export const DebugPausedMessage = 'DebugPausedMessage'
|
|
@@ -25,6 +28,58 @@ export const DebugValueString = 'DebugValueString'
|
|
|
25
28
|
export const DebugValueSymbol = 'DebugValueSymbol'
|
|
26
29
|
export const DebugValueUndefined = 'DebugValueUndefined'
|
|
27
30
|
export const DeleteWatchExpression = 'DeleteWatchExpression'
|
|
31
|
+
export const Empty = ''
|
|
32
|
+
export const FileIcon = 'FileIcon'
|
|
33
|
+
export const FocusOutline = 'FocusOutline'
|
|
34
|
+
export const Grow = 'Grow'
|
|
35
|
+
export const Highlight = 'Highlight'
|
|
36
|
+
export const HighlightDeleted = 'HighlightDeleted'
|
|
37
|
+
export const HighlightInserted = 'HighlightInserted'
|
|
28
38
|
export const IconButton = 'IconButton'
|
|
29
39
|
export const InputBox = 'InputBox'
|
|
30
40
|
export const InputLabel = 'InputLabel'
|
|
41
|
+
export const Label = 'Label'
|
|
42
|
+
export const List = 'List'
|
|
43
|
+
export const MaskIcon = 'MaskIcon'
|
|
44
|
+
export const MaskIconBook = 'MaskIconBook'
|
|
45
|
+
export const MaskIconCaseSensitive = 'MaskIconCaseSensitive'
|
|
46
|
+
export const MaskIconChevronDown = 'MaskIconChevronDown'
|
|
47
|
+
export const MaskIconChevronRight = 'MaskIconChevronRight'
|
|
48
|
+
export const MaskIconEllipsis = 'MaskIconEllipsis'
|
|
49
|
+
export const MaskIconExclude = 'MaskIconExclude'
|
|
50
|
+
export const MaskIconPreserveCase = 'MaskIconPreserveCase'
|
|
51
|
+
export const MaskIconRegex = 'MaskIconRegex'
|
|
52
|
+
export const MaskIconReplaceAll = 'MaskIconReplaceAll'
|
|
53
|
+
export const MaskIconWholeWord = 'MaskIconWholeWord'
|
|
54
|
+
export const MultilineInputBox = 'MultilineInputBox'
|
|
55
|
+
export const ScrollBar = 'ScrollBar'
|
|
56
|
+
export const ScrollBarThumb = 'ScrollBarThumb'
|
|
57
|
+
export const ScrollBarVertical = 'ScrollBarVertical'
|
|
58
|
+
export const Search = 'Search'
|
|
59
|
+
export const SearchField = 'SearchField'
|
|
60
|
+
export const SearchFieldButton = 'SearchFieldButton'
|
|
61
|
+
export const SearchFieldButtonChecked = 'SearchFieldButtonChecked'
|
|
62
|
+
export const SearchFieldButtonDisabled = 'SearchFieldButtonDisabled'
|
|
63
|
+
export const SearchFieldButtons = 'SearchFieldButtons'
|
|
64
|
+
export const SearchFieldContainer = 'SearchFieldContainer'
|
|
65
|
+
export const SearchFieldError = 'SearchFieldError'
|
|
66
|
+
export const SearchHeader = 'SearchHeader'
|
|
67
|
+
export const SearchHeaderDetails = 'SearchHeaderDetails'
|
|
68
|
+
export const SearchHeaderDetailsExpanded = 'SearchHeaderDetailsExpanded'
|
|
69
|
+
export const SearchHeaderDetailsExpandedTop = 'SearchHeaderDetailsExpandedTop'
|
|
70
|
+
export const SearchHeaderDetailsHeading = 'SearchHeaderDetailsHeading'
|
|
71
|
+
export const SearchHeaderTop = 'SearchHeaderTop'
|
|
72
|
+
export const SearchHeaderTopRight = 'SearchHeaderTopRight'
|
|
73
|
+
export const SearchInputError = 'SearchInputError'
|
|
74
|
+
export const SearchRemove = 'SearchRemove'
|
|
75
|
+
export const SearchToggleButton = 'SearchToggleButton'
|
|
76
|
+
export const SearchToggleButtonExpanded = 'SearchToggleButtonExpanded'
|
|
77
|
+
export const SourceControlBadge = 'SourceControlBadge'
|
|
78
|
+
export const ToggleDetails = 'ToggleDetails'
|
|
79
|
+
export const Tree = 'Tree'
|
|
80
|
+
export const TreeItem = 'TreeItem'
|
|
81
|
+
export const TreeItemActive = 'TreeItemActive'
|
|
82
|
+
export const TreeItems = 'TreeItems'
|
|
83
|
+
export const Viewlet = 'Viewlet'
|
|
84
|
+
export const ViewletSearchMessage = 'ViewletSearchMessage'
|
|
85
|
+
export const ViewletSearchMessageIndented = 'ViewletSearchMessageIndented'
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
export const Unknown = 0
|
|
2
|
+
export const Backspace = 1
|
|
3
|
+
export const Tab = 2
|
|
4
|
+
export const Enter = 3
|
|
5
|
+
export const Ctrl = 4
|
|
6
|
+
export const Alt = 5
|
|
7
|
+
export const PauseBreak = 6
|
|
8
|
+
export const CapsLock = 7
|
|
9
|
+
export const Escape = 8
|
|
10
|
+
export const Space = 9
|
|
11
|
+
export const PageUp = 10
|
|
12
|
+
export const PageDown = 11
|
|
13
|
+
export const End = 255
|
|
14
|
+
export const Home = 12
|
|
15
|
+
export const LeftArrow = 13
|
|
16
|
+
export const UpArrow = 14
|
|
17
|
+
export const RightArrow = 15
|
|
18
|
+
export const DownArrow = 16
|
|
19
|
+
export const Insert = 17
|
|
20
|
+
export const Delete = 18
|
|
21
|
+
|
|
22
|
+
export const Digit0 = 19
|
|
23
|
+
export const Digit1 = 20
|
|
24
|
+
export const Digit2 = 21
|
|
25
|
+
export const Digit3 = 22
|
|
26
|
+
export const Digit4 = 23
|
|
27
|
+
export const Digit5 = 24
|
|
28
|
+
export const Digit6 = 25
|
|
29
|
+
export const Digit7 = 26
|
|
30
|
+
export const Digit8 = 27
|
|
31
|
+
export const Digit9 = 28
|
|
32
|
+
|
|
33
|
+
export const KeyA = 29
|
|
34
|
+
export const KeyB = 30
|
|
35
|
+
export const KeyC = 31
|
|
36
|
+
export const KeyD = 32
|
|
37
|
+
export const KeyE = 33
|
|
38
|
+
export const KeyF = 34
|
|
39
|
+
export const KeyG = 35
|
|
40
|
+
export const KeyH = 36
|
|
41
|
+
export const KeyI = 37
|
|
42
|
+
export const KeyJ = 38
|
|
43
|
+
export const KeyK = 39
|
|
44
|
+
export const KeyL = 40
|
|
45
|
+
export const KeyM = 41
|
|
46
|
+
export const KeyN = 42
|
|
47
|
+
export const KeyO = 43
|
|
48
|
+
export const KeyP = 44
|
|
49
|
+
export const KeyQ = 45
|
|
50
|
+
export const KeyR = 46
|
|
51
|
+
export const KeyS = 47
|
|
52
|
+
export const KeyT = 48
|
|
53
|
+
export const KeyU = 49
|
|
54
|
+
export const KeyV = 50
|
|
55
|
+
export const KeyW = 51
|
|
56
|
+
export const KeyX = 52
|
|
57
|
+
export const KeyY = 53
|
|
58
|
+
export const KeyZ = 54
|
|
59
|
+
|
|
60
|
+
export const Meta = 55
|
|
61
|
+
export const ContextMenu = 56
|
|
62
|
+
|
|
63
|
+
export const F1 = 57
|
|
64
|
+
export const F2 = 58
|
|
65
|
+
export const F3 = 59
|
|
66
|
+
export const F4 = 60
|
|
67
|
+
export const F5 = 61
|
|
68
|
+
export const F6 = 62
|
|
69
|
+
export const F7 = 63
|
|
70
|
+
export const F8 = 64
|
|
71
|
+
export const F9 = 65
|
|
72
|
+
export const F10 = 66
|
|
73
|
+
export const F11 = 67
|
|
74
|
+
export const F12 = 68
|
|
75
|
+
export const F13 = 69
|
|
76
|
+
export const F14 = 70
|
|
77
|
+
export const F15 = 71
|
|
78
|
+
export const F16 = 72
|
|
79
|
+
export const F17 = 72
|
|
80
|
+
export const F18 = 74
|
|
81
|
+
export const F19 = 75
|
|
82
|
+
export const F20 = 76
|
|
83
|
+
export const F21 = 77
|
|
84
|
+
export const F22 = 78
|
|
85
|
+
export const F23 = 79
|
|
86
|
+
export const F24 = 80
|
|
87
|
+
|
|
88
|
+
export const NumLock = 81
|
|
89
|
+
export const ScrollLock = 82
|
|
90
|
+
|
|
91
|
+
export const SemiColon = 83
|
|
92
|
+
export const Equal = 84
|
|
93
|
+
export const Comma = 85
|
|
94
|
+
export const Minus = 86
|
|
95
|
+
export const Period = 87
|
|
96
|
+
export const Slash = 88
|
|
97
|
+
export const Backquote = 89
|
|
98
|
+
export const BracketLeft = 90
|
|
99
|
+
export const Backslash = 91
|
|
100
|
+
export const BracketRight = 92
|
|
101
|
+
export const Quote = 93
|
|
102
|
+
export const OEM_8 = 94
|
|
103
|
+
export const IntlBackslash = 95
|
|
104
|
+
|
|
105
|
+
export const Numpad0 = 96
|
|
106
|
+
export const Numpad1 = 97
|
|
107
|
+
export const Numpad2 = 98
|
|
108
|
+
export const Numpad3 = 99
|
|
109
|
+
export const Numpad4 = 100
|
|
110
|
+
export const Numpad5 = 101
|
|
111
|
+
export const Numpad6 = 102
|
|
112
|
+
export const Numpad7 = 103
|
|
113
|
+
export const Numpad8 = 104
|
|
114
|
+
export const Numpad9 = 105
|
|
115
|
+
|
|
116
|
+
export const NumpadMultiply = 106
|
|
117
|
+
export const NumpadAdd = 107
|
|
118
|
+
export const NumpadSeparator = 108
|
|
119
|
+
export const NumpadSubtract = 109
|
|
120
|
+
export const NumpadDecimal = 110
|
|
121
|
+
export const NumpadDivide = 111
|
|
122
|
+
|
|
123
|
+
export const KeyInComposition = 112
|
|
124
|
+
|
|
125
|
+
export const ABNT_C1 = 113
|
|
126
|
+
export const ABNT_C2 = 114
|
|
127
|
+
|
|
128
|
+
export const AudioVolumeMute = 115
|
|
129
|
+
export const AudioVolumeUp = 116
|
|
130
|
+
export const AudioVolumeDown = 117
|
|
131
|
+
|
|
132
|
+
export const BrowserSearch = 118
|
|
133
|
+
export const BrowserHome = 119
|
|
134
|
+
export const BrowserBack = 120
|
|
135
|
+
export const BrowserForward = 121
|
|
136
|
+
|
|
137
|
+
export const MediaTrackNext = 122
|
|
138
|
+
export const MediaTrackPrevious = 123
|
|
139
|
+
export const MediaStop = 124
|
|
140
|
+
export const MediaPlayPause = 125
|
|
141
|
+
export const LaunchMediaPlayer = 126
|
|
142
|
+
export const LaunchMail = 127
|
|
143
|
+
export const LaunchApp2 = 128
|
|
144
|
+
|
|
145
|
+
export const Clear = 129
|
|
146
|
+
export const MaxValue = 130
|
|
147
|
+
|
|
148
|
+
export const Star = 131
|
|
149
|
+
export const Plus = 132
|
package/src/parts/Main/Main.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * as ClassNames from '../ClassNames/ClassNames.ts'
|
|
1
2
|
export type * from '../DomEventListener/DomEventListener.ts'
|
|
3
|
+
export * as KeyCode from '../KeyCode/KeyCode.ts'
|
|
4
|
+
export * as KeyModifier from '../KeyModifier/KeyModifier.ts'
|
|
2
5
|
export * from '../MergeClassNames/MergeClassNames.ts'
|
|
6
|
+
export * as MouseEventType from '../MouseEventType/MouseEventType.ts'
|
|
7
|
+
export * from '../Px/Px.ts'
|
|
3
8
|
export * from '../Text/Text.ts'
|
|
4
9
|
export { diff } from '../VirtualDomDiff/VirtualDomDiff.ts'
|
|
5
10
|
export * as VirtualDomElements from '../VirtualDomElements/VirtualDomElements.ts'
|
|
6
|
-
export * as ClassNames from '../ClassNames/ClassNames.ts'
|
|
7
|
-
export * from '../Px/Px.ts'
|