@lvce-editor/virtual-dom-worker 2.2.0 → 2.3.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
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
declare const Alert = "alert";
|
|
4
|
+
declare const Button = "button";
|
|
5
|
+
declare const CheckBox = "checkbox";
|
|
6
|
+
declare const ComboBox = "combobox";
|
|
7
|
+
declare const ListBox = "listbox";
|
|
8
|
+
declare const None = "none";
|
|
9
|
+
declare const Option = "option";
|
|
10
|
+
declare const ScrollBar = "scrollbar";
|
|
11
|
+
declare const Status = "status";
|
|
12
|
+
declare const ToolBar = "toolbar";
|
|
13
|
+
declare const Tree = "tree";
|
|
14
|
+
declare const TreeItem = "treeitem";
|
|
3
15
|
declare const Actions = "Actions";
|
|
4
16
|
declare const Badge = "Badge";
|
|
5
17
|
declare const CallStackArrow = "CallStackArrow";
|
|
@@ -7,6 +19,19 @@ declare const CallStackDescription = "CallStackDescription";
|
|
|
7
19
|
declare const CallStackLabel = "CallStackLabel";
|
|
8
20
|
declare const Chevron = "Chevron";
|
|
9
21
|
declare const CloseMaskIcon = "MaskIcon MaskIconClose";
|
|
22
|
+
declare const CodeGeneratorInput = "CodeGeneratorInput";
|
|
23
|
+
declare const CodeGeneratorMessage = "CodeGeneratorMessage";
|
|
24
|
+
declare const CodeGeneratorWidget = "CodeGeneratorWidget";
|
|
25
|
+
declare const ColoredMaskIcon = "ColoredMaskIcon";
|
|
26
|
+
declare const ColorPicker = "ColorPicker";
|
|
27
|
+
declare const ColorPickerBackgroundColor = "ColorPickerBackgroundColor";
|
|
28
|
+
declare const ColorPickerDark = "ColorPickerDark";
|
|
29
|
+
declare const ColorPickerLight = "ColorPickerLight";
|
|
30
|
+
declare const ColorPickerRectangle = "ColorPickerRectangle";
|
|
31
|
+
declare const ColorPickerSlider = "ColorPickerSlider";
|
|
32
|
+
declare const ColorPickerSliderThumb = "ColorPickerSliderThumb";
|
|
33
|
+
declare const CompletionDetailCloseButton = "CompletionDetailCloseButton";
|
|
34
|
+
declare const CompletionDetailContent = "CompletionDetailContent";
|
|
10
35
|
declare const DebugButton = "DebugButton";
|
|
11
36
|
declare const DebugButtons = "DebugButtons";
|
|
12
37
|
declare const DebugPausedMessage = "DebugPausedMessage";
|
|
@@ -30,14 +55,40 @@ declare const DebugValueString = "DebugValueString";
|
|
|
30
55
|
declare const DebugValueSymbol = "DebugValueSymbol";
|
|
31
56
|
declare const DebugValueUndefined = "DebugValueUndefined";
|
|
32
57
|
declare const DeleteWatchExpression = "DeleteWatchExpression";
|
|
58
|
+
declare const Diagnostic = "Diagnostic";
|
|
59
|
+
declare const DiagnosticError = "DiagnosticError";
|
|
60
|
+
declare const DiagnosticWarning = "DiagnosticWarning";
|
|
61
|
+
declare const EditorCompletionItem = "EditorCompletionItem";
|
|
62
|
+
declare const EditorCompletionItemDeprecated = "EditorCompletionItemDeprecated";
|
|
63
|
+
declare const EditorCompletionItemFocused = "EditorCompletionItemFocused";
|
|
64
|
+
declare const EditorCompletionItemHighlight = "EditorCompletionItemHighlight";
|
|
65
|
+
declare const EditorCursor = "EditorCursor";
|
|
66
|
+
declare const EditorRow = "EditorRow";
|
|
67
|
+
declare const EditorSelection = "EditorSelection";
|
|
68
|
+
declare const EditorSourceActions = "EditorSourceActions";
|
|
69
|
+
declare const EditorSourceActionsList = "EditorSourceActionsList";
|
|
33
70
|
declare const Empty = "";
|
|
34
71
|
declare const FileIcon = "FileIcon";
|
|
72
|
+
declare const FindWidget = "FindWidget";
|
|
73
|
+
declare const FindWidgetFind = "FindWidgetFind";
|
|
74
|
+
declare const FindWidgetMatchCount = "FindWidgetMatchCount";
|
|
75
|
+
declare const FindWidgetMatchCountEmpty = "FindWidgetMatchCountEmpty";
|
|
76
|
+
declare const FindWidgetReplace = "FindWidgetReplace";
|
|
77
|
+
declare const FindWidgetRight = "FindWidgetRight";
|
|
35
78
|
declare const FocusOutline = "FocusOutline";
|
|
36
79
|
declare const Grow = "Grow";
|
|
37
80
|
declare const Highlight = "Highlight";
|
|
38
81
|
declare const HighlightDeleted = "HighlightDeleted";
|
|
39
82
|
declare const HighlightInserted = "HighlightInserted";
|
|
83
|
+
declare const HoverDisplayString = "HoverDisplayString";
|
|
84
|
+
declare const HoverDocumentation = "HoverDocumentation";
|
|
85
|
+
declare const HoverEditorRow = "HoverEditorRow";
|
|
86
|
+
declare const HoverProblem = "HoverProblem";
|
|
87
|
+
declare const HoverProblemDetail = "HoverProblemDetail";
|
|
88
|
+
declare const HoverProblemMessage = "HoverProblemMessage";
|
|
40
89
|
declare const IconButton = "IconButton";
|
|
90
|
+
declare const IconButtonDisabled = "IconButtonDisabled";
|
|
91
|
+
declare const IconClose = "IconClose";
|
|
41
92
|
declare const InputBox = "InputBox";
|
|
42
93
|
declare const InputLabel = "InputLabel";
|
|
43
94
|
declare const Label = "Label";
|
|
@@ -52,9 +103,10 @@ declare const MaskIconExclude = "MaskIconExclude";
|
|
|
52
103
|
declare const MaskIconPreserveCase = "MaskIconPreserveCase";
|
|
53
104
|
declare const MaskIconRegex = "MaskIconRegex";
|
|
54
105
|
declare const MaskIconReplaceAll = "MaskIconReplaceAll";
|
|
106
|
+
declare const MaskIconSymbolFile = "MaskIconSymbolFile";
|
|
55
107
|
declare const MaskIconWholeWord = "MaskIconWholeWord";
|
|
56
108
|
declare const MultilineInputBox = "MultilineInputBox";
|
|
57
|
-
declare const ScrollBar = "ScrollBar";
|
|
109
|
+
declare const ScrollBar$1 = "ScrollBar";
|
|
58
110
|
declare const ScrollBarThumb = "ScrollBarThumb";
|
|
59
111
|
declare const ScrollBarVertical = "ScrollBarVertical";
|
|
60
112
|
declare const Search = "Search";
|
|
@@ -76,13 +128,19 @@ declare const SearchInputError = "SearchInputError";
|
|
|
76
128
|
declare const SearchRemove = "SearchRemove";
|
|
77
129
|
declare const SearchToggleButton = "SearchToggleButton";
|
|
78
130
|
declare const SearchToggleButtonExpanded = "SearchToggleButtonExpanded";
|
|
131
|
+
declare const SourceActionHeading = "SourceActionHeading";
|
|
132
|
+
declare const SourceActionIcon = "SourceActionIcon";
|
|
133
|
+
declare const SourceActionItem = "SourceActionItem";
|
|
134
|
+
declare const SourceActionItemFocused = "SourceActionItemFocused";
|
|
79
135
|
declare const SourceControlBadge = "SourceControlBadge";
|
|
80
136
|
declare const ToggleDetails = "ToggleDetails";
|
|
81
|
-
declare const Tree = "Tree";
|
|
82
|
-
declare const TreeItem = "TreeItem";
|
|
137
|
+
declare const Tree$1 = "Tree";
|
|
138
|
+
declare const TreeItem$1 = "TreeItem";
|
|
83
139
|
declare const TreeItemActive = "TreeItemActive";
|
|
84
140
|
declare const TreeItems = "TreeItems";
|
|
85
141
|
declare const Viewlet = "Viewlet";
|
|
142
|
+
declare const ViewletFind = "ViewletFind";
|
|
143
|
+
declare const ViewletFindWidget = "ViewletFindWidget";
|
|
86
144
|
declare const ViewletSearchMessage = "ViewletSearchMessage";
|
|
87
145
|
declare const ViewletSearchMessageIndented = "ViewletSearchMessageIndented";
|
|
88
146
|
export interface DomEventListener {
|
|
@@ -232,6 +290,14 @@ declare const WinCtrl: number;
|
|
|
232
290
|
export declare const mergeClassNames: (...classNames: readonly string[]) => string;
|
|
233
291
|
declare const Keyboard = -1;
|
|
234
292
|
declare const LeftClick = 0;
|
|
293
|
+
declare const InsertText = "insertText";
|
|
294
|
+
declare const DeleteContentBackward = "deleteContentBackward";
|
|
295
|
+
declare const DeleteContentForward = "deleteContentForward";
|
|
296
|
+
declare const DeleteWordForward = "deleteWordForward";
|
|
297
|
+
declare const DeleteWordBackward = "deleteWordBackward";
|
|
298
|
+
declare const InsertLineBreak = "insertLineBreak";
|
|
299
|
+
declare const InsertCompositionText = "insertCompositionText";
|
|
300
|
+
declare const InsertFromPaste = "insertFromPaste";
|
|
235
301
|
export declare const px: (value: number) => string;
|
|
236
302
|
export declare const position: (x: number, y: number) => string;
|
|
237
303
|
export interface VirtualDomNode {
|
|
@@ -283,7 +349,7 @@ export interface TextPatch {
|
|
|
283
349
|
export type Patch = TextPatch | AttributePatch | ReplacePatch | RemoveAttributePatch | RemovePatch | AddPatch | NavigateChildPatch | NavigateParentPatch | RemoveChildPatch | NavigateSiblingPatch;
|
|
284
350
|
export declare const diff: (oldNodes: readonly VirtualDomNode[], newNodes: readonly VirtualDomNode[]) => readonly Patch[];
|
|
285
351
|
declare const Audio = 0;
|
|
286
|
-
declare const Button = 1;
|
|
352
|
+
declare const Button$1 = 1;
|
|
287
353
|
declare const Col = 2;
|
|
288
354
|
declare const ColGroup = 3;
|
|
289
355
|
declare const Div = 4;
|
|
@@ -335,15 +401,18 @@ declare const Ul = 60;
|
|
|
335
401
|
declare const Video = 61;
|
|
336
402
|
declare const TextArea = 62;
|
|
337
403
|
declare const Select = 63;
|
|
338
|
-
declare const Option = 64;
|
|
404
|
+
declare const Option$1 = 64;
|
|
339
405
|
declare const Code = 65;
|
|
340
406
|
declare const Label$1 = 66;
|
|
341
407
|
|
|
342
408
|
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 };
|
|
409
|
+
export { A, Abbr, Article, Aside, Audio, Br, Button$1 as 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$1 as Option, P, Pre, Root, Search$1 as Search, Section, Select, Span, TBody, THead, Table, Td, Text, TextArea, Tfoot, Th, Time, Tr, Ul, Video };
|
|
410
|
+
}
|
|
411
|
+
declare namespace AriaRoles {
|
|
412
|
+
export { Alert, Button, CheckBox, ComboBox, ListBox, None, Option, ScrollBar, Status, ToolBar, Tree, TreeItem };
|
|
344
413
|
}
|
|
345
414
|
declare namespace ClassNames {
|
|
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 };
|
|
415
|
+
export { Actions, Badge, CallStackArrow, CallStackDescription, CallStackLabel, Chevron, CloseMaskIcon, CodeGeneratorInput, CodeGeneratorMessage, CodeGeneratorWidget, ColorPicker, ColorPickerBackgroundColor, ColorPickerDark, ColorPickerLight, ColorPickerRectangle, ColorPickerSlider, ColorPickerSliderThumb, ColoredMaskIcon, CompletionDetailCloseButton, CompletionDetailContent, DebugButton, DebugButtons, DebugPausedMessage, DebugPropertyChevron, DebugPropertyKey, DebugRow, DebugRowCallStack, DebugRowCheckBox, DebugRowInputField, DebugSectionAction, DebugSectionActions, DebugSectionHeader, DebugValue, DebugValueBoolean, DebugValueFunction, DebugValueGetter, DebugValueNumber, DebugValueObject, DebugValueScopeName, DebugValueString, DebugValueSymbol, DebugValueUndefined, DeleteWatchExpression, Diagnostic, DiagnosticError, DiagnosticWarning, EditorCompletionItem, EditorCompletionItemDeprecated, EditorCompletionItemFocused, EditorCompletionItemHighlight, EditorCursor, EditorRow, EditorSelection, EditorSourceActions, EditorSourceActionsList, Empty, FileIcon, FindWidget, FindWidgetFind, FindWidgetMatchCount, FindWidgetMatchCountEmpty, FindWidgetReplace, FindWidgetRight, FocusOutline, Grow, Highlight, HighlightDeleted, HighlightInserted, HoverDisplayString, HoverDocumentation, HoverEditorRow, HoverProblem, HoverProblemDetail, HoverProblemMessage, IconButton, IconButtonDisabled, IconClose, InputBox, InputLabel, Label, List, MaskIcon, MaskIconBook, MaskIconCaseSensitive, MaskIconChevronDown, MaskIconChevronRight, MaskIconEllipsis, MaskIconExclude, MaskIconPreserveCase, MaskIconRegex, MaskIconReplaceAll, MaskIconSymbolFile, MaskIconWholeWord, MultilineInputBox, ScrollBar$1 as ScrollBar, ScrollBarThumb, ScrollBarVertical, Search, SearchField, SearchFieldButton, SearchFieldButtonChecked, SearchFieldButtonDisabled, SearchFieldButtons, SearchFieldContainer, SearchFieldError, SearchHeader, SearchHeaderDetails, SearchHeaderDetailsExpanded, SearchHeaderDetailsExpandedTop, SearchHeaderDetailsHeading, SearchHeaderTop, SearchHeaderTopRight, SearchInputError, SearchRemove, SearchToggleButton, SearchToggleButtonExpanded, SourceActionHeading, SourceActionIcon, SourceActionItem, SourceActionItemFocused, SourceControlBadge, ToggleDetails, Tree$1 as Tree, TreeItem$1 as TreeItem, TreeItemActive, TreeItems, Viewlet, ViewletFind, ViewletFindWidget, ViewletSearchMessage, ViewletSearchMessageIndented };
|
|
347
416
|
}
|
|
348
417
|
declare namespace KeyCode {
|
|
349
418
|
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 };
|
|
@@ -354,9 +423,14 @@ declare namespace KeyModifier {
|
|
|
354
423
|
declare namespace MouseEventType {
|
|
355
424
|
export { Keyboard, LeftClick };
|
|
356
425
|
}
|
|
426
|
+
declare namespace InputEventType {
|
|
427
|
+
export { DeleteContentBackward, DeleteContentForward, DeleteWordBackward, DeleteWordForward, InsertCompositionText, InsertFromPaste, InsertLineBreak, InsertText };
|
|
428
|
+
}
|
|
357
429
|
|
|
358
430
|
export {
|
|
431
|
+
AriaRoles,
|
|
359
432
|
ClassNames,
|
|
433
|
+
InputEventType,
|
|
360
434
|
KeyCode,
|
|
361
435
|
KeyModifier,
|
|
362
436
|
MouseEventType,
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
const Alert = 'alert';
|
|
2
|
+
const Button$1 = 'button';
|
|
3
|
+
const CheckBox = 'checkbox';
|
|
4
|
+
const ComboBox = 'combobox';
|
|
5
|
+
const ListBox = 'listbox';
|
|
6
|
+
const None = 'none';
|
|
7
|
+
const Option$1 = 'option';
|
|
8
|
+
const ScrollBar$1 = 'scrollbar';
|
|
9
|
+
const Status = 'status';
|
|
10
|
+
const ToolBar = 'toolbar';
|
|
11
|
+
const Tree$1 = 'tree';
|
|
12
|
+
const TreeItem$1 = 'treeitem';
|
|
13
|
+
|
|
14
|
+
const AriaRoles = {
|
|
15
|
+
__proto__: null,
|
|
16
|
+
Alert,
|
|
17
|
+
Button: Button$1,
|
|
18
|
+
CheckBox,
|
|
19
|
+
ComboBox,
|
|
20
|
+
ListBox,
|
|
21
|
+
None,
|
|
22
|
+
Option: Option$1,
|
|
23
|
+
ScrollBar: ScrollBar$1,
|
|
24
|
+
Status,
|
|
25
|
+
ToolBar,
|
|
26
|
+
Tree: Tree$1,
|
|
27
|
+
TreeItem: TreeItem$1
|
|
28
|
+
};
|
|
29
|
+
|
|
1
30
|
const Actions = 'Actions';
|
|
2
31
|
const Badge = 'Badge';
|
|
3
32
|
const CallStackArrow = 'CallStackArrow';
|
|
@@ -5,6 +34,19 @@ const CallStackDescription = 'CallStackDescription';
|
|
|
5
34
|
const CallStackLabel = 'CallStackLabel';
|
|
6
35
|
const Chevron = 'Chevron';
|
|
7
36
|
const CloseMaskIcon = 'MaskIcon MaskIconClose';
|
|
37
|
+
const CodeGeneratorInput = 'CodeGeneratorInput';
|
|
38
|
+
const CodeGeneratorMessage = 'CodeGeneratorMessage';
|
|
39
|
+
const CodeGeneratorWidget = 'CodeGeneratorWidget';
|
|
40
|
+
const ColoredMaskIcon = 'ColoredMaskIcon';
|
|
41
|
+
const ColorPicker = 'ColorPicker';
|
|
42
|
+
const ColorPickerBackgroundColor = 'ColorPickerBackgroundColor';
|
|
43
|
+
const ColorPickerDark = 'ColorPickerDark';
|
|
44
|
+
const ColorPickerLight = 'ColorPickerLight';
|
|
45
|
+
const ColorPickerRectangle = 'ColorPickerRectangle';
|
|
46
|
+
const ColorPickerSlider = 'ColorPickerSlider';
|
|
47
|
+
const ColorPickerSliderThumb = 'ColorPickerSliderThumb';
|
|
48
|
+
const CompletionDetailCloseButton = 'CompletionDetailCloseButton';
|
|
49
|
+
const CompletionDetailContent = 'CompletionDetailContent';
|
|
8
50
|
const DebugButton = 'DebugButton';
|
|
9
51
|
const DebugButtons = 'DebugButtons';
|
|
10
52
|
const DebugPausedMessage = 'DebugPausedMessage';
|
|
@@ -28,14 +70,40 @@ const DebugValueString = 'DebugValueString';
|
|
|
28
70
|
const DebugValueSymbol = 'DebugValueSymbol';
|
|
29
71
|
const DebugValueUndefined = 'DebugValueUndefined';
|
|
30
72
|
const DeleteWatchExpression = 'DeleteWatchExpression';
|
|
73
|
+
const Diagnostic = 'Diagnostic';
|
|
74
|
+
const DiagnosticError = 'DiagnosticError';
|
|
75
|
+
const DiagnosticWarning = 'DiagnosticWarning';
|
|
76
|
+
const EditorCompletionItem = 'EditorCompletionItem';
|
|
77
|
+
const EditorCompletionItemDeprecated = 'EditorCompletionItemDeprecated';
|
|
78
|
+
const EditorCompletionItemFocused = 'EditorCompletionItemFocused';
|
|
79
|
+
const EditorCompletionItemHighlight = 'EditorCompletionItemHighlight';
|
|
80
|
+
const EditorCursor = 'EditorCursor';
|
|
81
|
+
const EditorRow = 'EditorRow';
|
|
82
|
+
const EditorSelection = 'EditorSelection';
|
|
83
|
+
const EditorSourceActions = 'EditorSourceActions';
|
|
84
|
+
const EditorSourceActionsList = 'EditorSourceActionsList';
|
|
31
85
|
const Empty = '';
|
|
32
86
|
const FileIcon = 'FileIcon';
|
|
87
|
+
const FindWidget = 'FindWidget';
|
|
88
|
+
const FindWidgetFind = 'FindWidgetFind';
|
|
89
|
+
const FindWidgetMatchCount = 'FindWidgetMatchCount';
|
|
90
|
+
const FindWidgetMatchCountEmpty = 'FindWidgetMatchCountEmpty';
|
|
91
|
+
const FindWidgetReplace = 'FindWidgetReplace';
|
|
92
|
+
const FindWidgetRight = 'FindWidgetRight';
|
|
33
93
|
const FocusOutline = 'FocusOutline';
|
|
34
94
|
const Grow = 'Grow';
|
|
35
95
|
const Highlight = 'Highlight';
|
|
36
96
|
const HighlightDeleted = 'HighlightDeleted';
|
|
37
97
|
const HighlightInserted = 'HighlightInserted';
|
|
98
|
+
const HoverDisplayString = 'HoverDisplayString';
|
|
99
|
+
const HoverDocumentation = 'HoverDocumentation';
|
|
100
|
+
const HoverEditorRow = 'HoverEditorRow';
|
|
101
|
+
const HoverProblem = 'HoverProblem';
|
|
102
|
+
const HoverProblemDetail = 'HoverProblemDetail';
|
|
103
|
+
const HoverProblemMessage = 'HoverProblemMessage';
|
|
38
104
|
const IconButton = 'IconButton';
|
|
105
|
+
const IconButtonDisabled = 'IconButtonDisabled';
|
|
106
|
+
const IconClose = 'IconClose';
|
|
39
107
|
const InputBox = 'InputBox';
|
|
40
108
|
const InputLabel = 'InputLabel';
|
|
41
109
|
const Label$1 = 'Label';
|
|
@@ -50,6 +118,7 @@ const MaskIconExclude = 'MaskIconExclude';
|
|
|
50
118
|
const MaskIconPreserveCase = 'MaskIconPreserveCase';
|
|
51
119
|
const MaskIconRegex = 'MaskIconRegex';
|
|
52
120
|
const MaskIconReplaceAll = 'MaskIconReplaceAll';
|
|
121
|
+
const MaskIconSymbolFile = 'MaskIconSymbolFile';
|
|
53
122
|
const MaskIconWholeWord = 'MaskIconWholeWord';
|
|
54
123
|
const MultilineInputBox = 'MultilineInputBox';
|
|
55
124
|
const ScrollBar = 'ScrollBar';
|
|
@@ -74,6 +143,10 @@ const SearchInputError = 'SearchInputError';
|
|
|
74
143
|
const SearchRemove = 'SearchRemove';
|
|
75
144
|
const SearchToggleButton = 'SearchToggleButton';
|
|
76
145
|
const SearchToggleButtonExpanded = 'SearchToggleButtonExpanded';
|
|
146
|
+
const SourceActionHeading = 'SourceActionHeading';
|
|
147
|
+
const SourceActionIcon = 'SourceActionIcon';
|
|
148
|
+
const SourceActionItem = 'SourceActionItem';
|
|
149
|
+
const SourceActionItemFocused = 'SourceActionItemFocused';
|
|
77
150
|
const SourceControlBadge = 'SourceControlBadge';
|
|
78
151
|
const ToggleDetails = 'ToggleDetails';
|
|
79
152
|
const Tree = 'Tree';
|
|
@@ -81,6 +154,8 @@ const TreeItem = 'TreeItem';
|
|
|
81
154
|
const TreeItemActive = 'TreeItemActive';
|
|
82
155
|
const TreeItems = 'TreeItems';
|
|
83
156
|
const Viewlet = 'Viewlet';
|
|
157
|
+
const ViewletFind = 'ViewletFind';
|
|
158
|
+
const ViewletFindWidget = 'ViewletFindWidget';
|
|
84
159
|
const ViewletSearchMessage = 'ViewletSearchMessage';
|
|
85
160
|
const ViewletSearchMessageIndented = 'ViewletSearchMessageIndented';
|
|
86
161
|
|
|
@@ -93,6 +168,19 @@ const ClassNames = {
|
|
|
93
168
|
CallStackLabel,
|
|
94
169
|
Chevron,
|
|
95
170
|
CloseMaskIcon,
|
|
171
|
+
CodeGeneratorInput,
|
|
172
|
+
CodeGeneratorMessage,
|
|
173
|
+
CodeGeneratorWidget,
|
|
174
|
+
ColorPicker,
|
|
175
|
+
ColorPickerBackgroundColor,
|
|
176
|
+
ColorPickerDark,
|
|
177
|
+
ColorPickerLight,
|
|
178
|
+
ColorPickerRectangle,
|
|
179
|
+
ColorPickerSlider,
|
|
180
|
+
ColorPickerSliderThumb,
|
|
181
|
+
ColoredMaskIcon,
|
|
182
|
+
CompletionDetailCloseButton,
|
|
183
|
+
CompletionDetailContent,
|
|
96
184
|
DebugButton,
|
|
97
185
|
DebugButtons,
|
|
98
186
|
DebugPausedMessage,
|
|
@@ -116,14 +204,40 @@ const ClassNames = {
|
|
|
116
204
|
DebugValueSymbol,
|
|
117
205
|
DebugValueUndefined,
|
|
118
206
|
DeleteWatchExpression,
|
|
207
|
+
Diagnostic,
|
|
208
|
+
DiagnosticError,
|
|
209
|
+
DiagnosticWarning,
|
|
210
|
+
EditorCompletionItem,
|
|
211
|
+
EditorCompletionItemDeprecated,
|
|
212
|
+
EditorCompletionItemFocused,
|
|
213
|
+
EditorCompletionItemHighlight,
|
|
214
|
+
EditorCursor,
|
|
215
|
+
EditorRow,
|
|
216
|
+
EditorSelection,
|
|
217
|
+
EditorSourceActions,
|
|
218
|
+
EditorSourceActionsList,
|
|
119
219
|
Empty,
|
|
120
220
|
FileIcon,
|
|
221
|
+
FindWidget,
|
|
222
|
+
FindWidgetFind,
|
|
223
|
+
FindWidgetMatchCount,
|
|
224
|
+
FindWidgetMatchCountEmpty,
|
|
225
|
+
FindWidgetReplace,
|
|
226
|
+
FindWidgetRight,
|
|
121
227
|
FocusOutline,
|
|
122
228
|
Grow,
|
|
123
229
|
Highlight,
|
|
124
230
|
HighlightDeleted,
|
|
125
231
|
HighlightInserted,
|
|
232
|
+
HoverDisplayString,
|
|
233
|
+
HoverDocumentation,
|
|
234
|
+
HoverEditorRow,
|
|
235
|
+
HoverProblem,
|
|
236
|
+
HoverProblemDetail,
|
|
237
|
+
HoverProblemMessage,
|
|
126
238
|
IconButton,
|
|
239
|
+
IconButtonDisabled,
|
|
240
|
+
IconClose,
|
|
127
241
|
InputBox,
|
|
128
242
|
InputLabel,
|
|
129
243
|
Label: Label$1,
|
|
@@ -138,6 +252,7 @@ const ClassNames = {
|
|
|
138
252
|
MaskIconPreserveCase,
|
|
139
253
|
MaskIconRegex,
|
|
140
254
|
MaskIconReplaceAll,
|
|
255
|
+
MaskIconSymbolFile,
|
|
141
256
|
MaskIconWholeWord,
|
|
142
257
|
MultilineInputBox,
|
|
143
258
|
ScrollBar,
|
|
@@ -162,6 +277,10 @@ const ClassNames = {
|
|
|
162
277
|
SearchRemove,
|
|
163
278
|
SearchToggleButton,
|
|
164
279
|
SearchToggleButtonExpanded,
|
|
280
|
+
SourceActionHeading,
|
|
281
|
+
SourceActionIcon,
|
|
282
|
+
SourceActionItem,
|
|
283
|
+
SourceActionItemFocused,
|
|
165
284
|
SourceControlBadge,
|
|
166
285
|
ToggleDetails,
|
|
167
286
|
Tree,
|
|
@@ -169,6 +288,8 @@ const ClassNames = {
|
|
|
169
288
|
TreeItemActive,
|
|
170
289
|
TreeItems,
|
|
171
290
|
Viewlet,
|
|
291
|
+
ViewletFind,
|
|
292
|
+
ViewletFindWidget,
|
|
172
293
|
ViewletSearchMessage,
|
|
173
294
|
ViewletSearchMessageIndented
|
|
174
295
|
};
|
|
@@ -472,6 +593,27 @@ const MouseEventType = {
|
|
|
472
593
|
LeftClick
|
|
473
594
|
};
|
|
474
595
|
|
|
596
|
+
const InsertText = 'insertText';
|
|
597
|
+
const DeleteContentBackward = 'deleteContentBackward';
|
|
598
|
+
const DeleteContentForward = 'deleteContentForward';
|
|
599
|
+
const DeleteWordForward = 'deleteWordForward';
|
|
600
|
+
const DeleteWordBackward = 'deleteWordBackward';
|
|
601
|
+
const InsertLineBreak = 'insertLineBreak';
|
|
602
|
+
const InsertCompositionText = 'insertCompositionText';
|
|
603
|
+
const InsertFromPaste = 'insertFromPaste';
|
|
604
|
+
|
|
605
|
+
const InputEventType = {
|
|
606
|
+
__proto__: null,
|
|
607
|
+
DeleteContentBackward,
|
|
608
|
+
DeleteContentForward,
|
|
609
|
+
DeleteWordBackward,
|
|
610
|
+
DeleteWordForward,
|
|
611
|
+
InsertCompositionText,
|
|
612
|
+
InsertFromPaste,
|
|
613
|
+
InsertLineBreak,
|
|
614
|
+
InsertText
|
|
615
|
+
};
|
|
616
|
+
|
|
475
617
|
const px = value => {
|
|
476
618
|
return `${value}px`;
|
|
477
619
|
};
|
|
@@ -820,4 +962,4 @@ const diff = (oldNodes, newNodes) => {
|
|
|
820
962
|
return patches;
|
|
821
963
|
};
|
|
822
964
|
|
|
823
|
-
export { ClassNames, KeyCode, KeyModifier, MouseEventType, VirtualDomElements, diff, mergeClassNames, position, px, text };
|
|
965
|
+
export { AriaRoles, ClassNames, InputEventType, KeyCode, KeyModifier, MouseEventType, VirtualDomElements, diff, mergeClassNames, position, px, text };
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const Alert = 'alert'
|
|
2
|
+
export const Button = 'button'
|
|
3
|
+
export const CheckBox = 'checkbox'
|
|
4
|
+
export const ComboBox = 'combobox'
|
|
5
|
+
export const ListBox = 'listbox'
|
|
6
|
+
export const None = 'none'
|
|
7
|
+
export const Option = 'option'
|
|
8
|
+
export const ScrollBar = 'scrollbar'
|
|
9
|
+
export const Status = 'status'
|
|
10
|
+
export const ToolBar = 'toolbar'
|
|
11
|
+
export const Tree = 'tree'
|
|
12
|
+
export const TreeItem = 'treeitem'
|
|
@@ -5,6 +5,19 @@ export const CallStackDescription = 'CallStackDescription'
|
|
|
5
5
|
export const CallStackLabel = 'CallStackLabel'
|
|
6
6
|
export const Chevron = 'Chevron'
|
|
7
7
|
export const CloseMaskIcon = 'MaskIcon MaskIconClose'
|
|
8
|
+
export const CodeGeneratorInput = 'CodeGeneratorInput'
|
|
9
|
+
export const CodeGeneratorMessage = 'CodeGeneratorMessage'
|
|
10
|
+
export const CodeGeneratorWidget = 'CodeGeneratorWidget'
|
|
11
|
+
export const ColoredMaskIcon = 'ColoredMaskIcon'
|
|
12
|
+
export const ColorPicker = 'ColorPicker'
|
|
13
|
+
export const ColorPickerBackgroundColor = 'ColorPickerBackgroundColor'
|
|
14
|
+
export const ColorPickerDark = 'ColorPickerDark'
|
|
15
|
+
export const ColorPickerLight = 'ColorPickerLight'
|
|
16
|
+
export const ColorPickerRectangle = 'ColorPickerRectangle'
|
|
17
|
+
export const ColorPickerSlider = 'ColorPickerSlider'
|
|
18
|
+
export const ColorPickerSliderThumb = 'ColorPickerSliderThumb'
|
|
19
|
+
export const CompletionDetailCloseButton = 'CompletionDetailCloseButton'
|
|
20
|
+
export const CompletionDetailContent = 'CompletionDetailContent'
|
|
8
21
|
export const DebugButton = 'DebugButton'
|
|
9
22
|
export const DebugButtons = 'DebugButtons'
|
|
10
23
|
export const DebugPausedMessage = 'DebugPausedMessage'
|
|
@@ -28,14 +41,40 @@ export const DebugValueString = 'DebugValueString'
|
|
|
28
41
|
export const DebugValueSymbol = 'DebugValueSymbol'
|
|
29
42
|
export const DebugValueUndefined = 'DebugValueUndefined'
|
|
30
43
|
export const DeleteWatchExpression = 'DeleteWatchExpression'
|
|
44
|
+
export const Diagnostic = 'Diagnostic'
|
|
45
|
+
export const DiagnosticError = 'DiagnosticError'
|
|
46
|
+
export const DiagnosticWarning = 'DiagnosticWarning'
|
|
47
|
+
export const EditorCompletionItem = 'EditorCompletionItem'
|
|
48
|
+
export const EditorCompletionItemDeprecated = 'EditorCompletionItemDeprecated'
|
|
49
|
+
export const EditorCompletionItemFocused = 'EditorCompletionItemFocused'
|
|
50
|
+
export const EditorCompletionItemHighlight = 'EditorCompletionItemHighlight'
|
|
51
|
+
export const EditorCursor = 'EditorCursor'
|
|
52
|
+
export const EditorRow = 'EditorRow'
|
|
53
|
+
export const EditorSelection = 'EditorSelection'
|
|
54
|
+
export const EditorSourceActions = 'EditorSourceActions'
|
|
55
|
+
export const EditorSourceActionsList = 'EditorSourceActionsList'
|
|
31
56
|
export const Empty = ''
|
|
32
57
|
export const FileIcon = 'FileIcon'
|
|
58
|
+
export const FindWidget = 'FindWidget'
|
|
59
|
+
export const FindWidgetFind = 'FindWidgetFind'
|
|
60
|
+
export const FindWidgetMatchCount = 'FindWidgetMatchCount'
|
|
61
|
+
export const FindWidgetMatchCountEmpty = 'FindWidgetMatchCountEmpty'
|
|
62
|
+
export const FindWidgetReplace = 'FindWidgetReplace'
|
|
63
|
+
export const FindWidgetRight = 'FindWidgetRight'
|
|
33
64
|
export const FocusOutline = 'FocusOutline'
|
|
34
65
|
export const Grow = 'Grow'
|
|
35
66
|
export const Highlight = 'Highlight'
|
|
36
67
|
export const HighlightDeleted = 'HighlightDeleted'
|
|
37
68
|
export const HighlightInserted = 'HighlightInserted'
|
|
69
|
+
export const HoverDisplayString = 'HoverDisplayString'
|
|
70
|
+
export const HoverDocumentation = 'HoverDocumentation'
|
|
71
|
+
export const HoverEditorRow = 'HoverEditorRow'
|
|
72
|
+
export const HoverProblem = 'HoverProblem'
|
|
73
|
+
export const HoverProblemDetail = 'HoverProblemDetail'
|
|
74
|
+
export const HoverProblemMessage = 'HoverProblemMessage'
|
|
38
75
|
export const IconButton = 'IconButton'
|
|
76
|
+
export const IconButtonDisabled = 'IconButtonDisabled'
|
|
77
|
+
export const IconClose = 'IconClose'
|
|
39
78
|
export const InputBox = 'InputBox'
|
|
40
79
|
export const InputLabel = 'InputLabel'
|
|
41
80
|
export const Label = 'Label'
|
|
@@ -50,6 +89,7 @@ export const MaskIconExclude = 'MaskIconExclude'
|
|
|
50
89
|
export const MaskIconPreserveCase = 'MaskIconPreserveCase'
|
|
51
90
|
export const MaskIconRegex = 'MaskIconRegex'
|
|
52
91
|
export const MaskIconReplaceAll = 'MaskIconReplaceAll'
|
|
92
|
+
export const MaskIconSymbolFile = 'MaskIconSymbolFile'
|
|
53
93
|
export const MaskIconWholeWord = 'MaskIconWholeWord'
|
|
54
94
|
export const MultilineInputBox = 'MultilineInputBox'
|
|
55
95
|
export const ScrollBar = 'ScrollBar'
|
|
@@ -74,6 +114,10 @@ export const SearchInputError = 'SearchInputError'
|
|
|
74
114
|
export const SearchRemove = 'SearchRemove'
|
|
75
115
|
export const SearchToggleButton = 'SearchToggleButton'
|
|
76
116
|
export const SearchToggleButtonExpanded = 'SearchToggleButtonExpanded'
|
|
117
|
+
export const SourceActionHeading = 'SourceActionHeading'
|
|
118
|
+
export const SourceActionIcon = 'SourceActionIcon'
|
|
119
|
+
export const SourceActionItem = 'SourceActionItem'
|
|
120
|
+
export const SourceActionItemFocused = 'SourceActionItemFocused'
|
|
77
121
|
export const SourceControlBadge = 'SourceControlBadge'
|
|
78
122
|
export const ToggleDetails = 'ToggleDetails'
|
|
79
123
|
export const Tree = 'Tree'
|
|
@@ -81,5 +125,7 @@ export const TreeItem = 'TreeItem'
|
|
|
81
125
|
export const TreeItemActive = 'TreeItemActive'
|
|
82
126
|
export const TreeItems = 'TreeItems'
|
|
83
127
|
export const Viewlet = 'Viewlet'
|
|
128
|
+
export const ViewletFind = 'ViewletFind'
|
|
129
|
+
export const ViewletFindWidget = 'ViewletFindWidget'
|
|
84
130
|
export const ViewletSearchMessage = 'ViewletSearchMessage'
|
|
85
131
|
export const ViewletSearchMessageIndented = 'ViewletSearchMessageIndented'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const InsertText = 'insertText'
|
|
2
|
+
|
|
3
|
+
export const DeleteContentBackward = 'deleteContentBackward'
|
|
4
|
+
|
|
5
|
+
export const DeleteContentForward = 'deleteContentForward'
|
|
6
|
+
|
|
7
|
+
export const DeleteWordForward = 'deleteWordForward'
|
|
8
|
+
|
|
9
|
+
export const DeleteWordBackward = 'deleteWordBackward'
|
|
10
|
+
|
|
11
|
+
export const InsertLineBreak = 'insertLineBreak'
|
|
12
|
+
|
|
13
|
+
export const InsertCompositionText = 'insertCompositionText'
|
|
14
|
+
|
|
15
|
+
export const InsertFromPaste = 'insertFromPaste'
|
package/src/parts/Main/Main.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
export * as AriaRoles from '../AriaRoles/AriaRoles.ts'
|
|
1
2
|
export * as ClassNames from '../ClassNames/ClassNames.ts'
|
|
2
3
|
export type * from '../DomEventListener/DomEventListener.ts'
|
|
3
4
|
export * as KeyCode from '../KeyCode/KeyCode.ts'
|
|
4
5
|
export * as KeyModifier from '../KeyModifier/KeyModifier.ts'
|
|
5
6
|
export * from '../MergeClassNames/MergeClassNames.ts'
|
|
6
7
|
export * as MouseEventType from '../MouseEventType/MouseEventType.ts'
|
|
8
|
+
export * as InputEventType from '../InputEventType/InputEventType.ts'
|
|
7
9
|
export * from '../Px/Px.ts'
|
|
8
10
|
export * from '../Text/Text.ts'
|
|
9
11
|
export { diff } from '../VirtualDomDiff/VirtualDomDiff.ts'
|