@lvce-editor/constants 1.20.0 → 1.21.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
@@ -348,16 +348,26 @@ declare const Label$1 = "label";
348
348
  declare const Dt = "dt";
349
349
  declare const ENOENT = "ENOENT";
350
350
  declare const EXDEV = "EXDEV";
351
- declare const TargetValue = "event.target.value";
351
+ declare const AltKey = "event.altKey";
352
+ declare const Button$3 = "event.button";
352
353
  declare const ClientX = "event.clientX";
353
354
  declare const ClientY = "event.clientY";
354
- declare const Button$3 = "event.button";
355
+ declare const CtrlKey = "event.ctrlKey";
356
+ declare const ShiftKey = "event.shiftKey";
355
357
  declare const DeltaMode = "event.deltaMode";
356
358
  declare const DeltaY = "event.deltaY";
357
- declare const TargetName = "event.target.name";
358
- declare const AltKey = "event.altKey";
359
- declare const CtrlKey = "event.ctrlKey";
359
+ declare const EventTargetClassName = "event.target.className";
360
+ declare const IsTrusted = "event.isTrusted";
360
361
  declare const Key = "event.key";
362
+ declare const TargetName = "event.target.name";
363
+ declare const TargetValue = "event.target.value";
364
+ declare const DefaultPrevented = "event.defaultPrevented";
365
+ declare const DataTransferFiles2 = "event.dataTransfer.files2";
366
+ declare const DataTransferFiles = "event.dataTransfer.files";
367
+ declare const None$1 = 0;
368
+ declare const CreateFile = 1;
369
+ declare const CreateFolder = 2;
370
+ declare const Rename$1 = 3;
361
371
  declare const getKeyCodeString: (keyCode: number) => string;
362
372
  declare const getWhenExpressionText: (whenExpression: number) => string;
363
373
  declare const getWidgetName: (widgetId: number) => string;
@@ -613,7 +623,7 @@ declare const ProblemsFilter = 25;
613
623
  declare const KeyBindingsTable = 26;
614
624
  declare const E2eTests = 27;
615
625
  declare const Separator = 1;
616
- declare const None$1 = 0;
626
+ declare const None$2 = 0;
617
627
  declare const SubMenu = 4;
618
628
  declare const Checked = 2;
619
629
  declare const Unchecked = 3;
@@ -794,7 +804,7 @@ declare const Completion = 3;
794
804
  declare const CompletionDetail = 4;
795
805
  declare const Find = 5;
796
806
  declare const Hover = 6;
797
- declare const Rename$1 = 7;
807
+ declare const Rename$2 = 7;
798
808
  declare const SourceAction = 8;
799
809
  declare const EditorHover = "EditorHover";
800
810
  declare const EditorCodeGenerator = "EditorCodeGenerator";
@@ -830,7 +840,10 @@ declare namespace ErrorCodes {
830
840
  export { ENOENT, EXDEV };
831
841
  }
832
842
  declare namespace EventExpression {
833
- export { AltKey, Button$3 as Button, ClientX, ClientY, CtrlKey, DeltaMode, DeltaY, Key, TargetName, TargetValue };
843
+ export { AltKey, Button$3 as Button, ClientX, ClientY, CtrlKey, DataTransferFiles, DataTransferFiles2, DefaultPrevented, DeltaMode, DeltaY, EventTargetClassName, IsTrusted, Key, ShiftKey, TargetName, TargetValue };
844
+ }
845
+ declare namespace ExplorerEditingType {
846
+ export { CreateFile, CreateFolder, None$1 as None, Rename$1 as Rename };
834
847
  }
835
848
  declare namespace GetKeyCodeString {
836
849
  export { getKeyCodeString };
@@ -863,7 +876,7 @@ declare namespace MenuEntryId {
863
876
  export { ActivityBar, ActivityBarAdditionalViews, E2eTests, Edit, Editor, EditorImage, Explorer, ExtensionDetailReadme, File$1 as File, Go, Help, KeyBindingsTable, Main, ManageExtension, OpenRecent, Problems$1 as Problems, ProblemsFilter, Run, Search$2 as Search, Selection, Settings, SimpleBrowser, SourceControl, Tab$3 as Tab, Terminal, TitleBar, View };
864
877
  }
865
878
  declare namespace MenuItemFlags {
866
- export { Checked, Disabled, Ignore, None$1 as None, RestoreFocus, Separator, SubMenu, Unchecked };
879
+ export { Checked, Disabled, Ignore, None$2 as None, RestoreFocus, Separator, SubMenu, Unchecked };
867
880
  }
868
881
  declare namespace MouseEventType {
869
882
  export { Keyboard, LeftClick };
@@ -890,7 +903,7 @@ declare namespace WhenExpression {
890
903
  export { BrowserChromium, BrowserElectron, BrowserFirefox, Empty$1 as Empty, FocusAbout, FocusActivityBar, FocusColorPicker, FocusConfirm, FocusDebugConsoleInput, FocusDebugInput, FocusDebugScope, FocusDialog, FocusEditor, FocusEditorCodeGenerator, FocusEditorCompletions, FocusEditorHover, FocusEditorImage, FocusEditorRename, FocusEditorText, FocusExplorer, FocusExplorerEditBox, FocusExtensions, FocusFindWidget, FocusFindWidgetCloseButton, FocusFindWidgetMatchCase, FocusFindWidgetNextMatchButton, FocusFindWidgetPreviousMatchButton, FocusFindWidgetRegex, FocusFindWidgetReplace, FocusFindWidgetReplaceAllButton, FocusFindWidgetReplaceButton, FocusFindWidgetToggleReplace, FocusIgnoreFiles, FocusKeyBindingsTable, FocusKeyBindingsWhenExpression, FocusLocationList, FocusMenu, FocusOutput, FocusProblems, FocusQuickPickInput, FocusSearch, FocusSearchExcludeInput, FocusSearchIncludeInput, FocusSearchInput, FocusSearchMatchCase, FocusSearchOpenEditors, FocusSearchPreserveCase, FocusSearchRegex, FocusSearchReplaceAll, FocusSearchReplaceInput, FocusSearchResults, FocusSearchWholeWord, FocusSimpleBrowser, FocusSimpleBrowserInput, FocusSourceActions, FocusSourceControlInput, FocusTerminal, FocusTitleBarMenuBar, FocusToggleDetails, FocusToggleReplace, FocusViewletList };
891
904
  }
892
905
  declare namespace WidgetId {
893
- export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename$1 as Rename, SourceAction };
906
+ export { CodeGenerator, ColorPicker$1 as ColorPicker, Completion, CompletionDetail, Find, Hover, Rename$2 as Rename, SourceAction };
894
907
  }
895
908
 
896
909
  export {
@@ -902,6 +915,7 @@ export {
902
915
  ElementTags,
903
916
  ErrorCodes,
904
917
  EventExpression,
918
+ ExplorerEditingType,
905
919
  GetKeyCodeString,
906
920
  GetWhenExpressionText,
907
921
  GetWidgetName,
@@ -1,10 +1,16 @@
1
- export const TargetValue = 'event.target.value';
1
+ export const AltKey = 'event.altKey';
2
+ export const Button = 'event.button';
2
3
  export const ClientX = 'event.clientX';
3
4
  export const ClientY = 'event.clientY';
4
- export const Button = 'event.button';
5
+ export const CtrlKey = 'event.ctrlKey';
6
+ export const ShiftKey = 'event.shiftKey';
5
7
  export const DeltaMode = 'event.deltaMode';
6
8
  export const DeltaY = 'event.deltaY';
7
- export const TargetName = 'event.target.name';
8
- export const AltKey = 'event.altKey';
9
- export const CtrlKey = 'event.ctrlKey';
9
+ export const EventTargetClassName = 'event.target.className';
10
+ export const IsTrusted = 'event.isTrusted';
10
11
  export const Key = 'event.key';
12
+ export const TargetName = 'event.target.name';
13
+ export const TargetValue = 'event.target.value';
14
+ export const DefaultPrevented = 'event.defaultPrevented';
15
+ export const DataTransferFiles2 = 'event.dataTransfer.files2';
16
+ export const DataTransferFiles = 'event.dataTransfer.files';
@@ -0,0 +1,4 @@
1
+ export const None = 0;
2
+ export const CreateFile = 1;
3
+ export const CreateFolder = 2;
4
+ export const Rename = 3;
@@ -6,6 +6,7 @@ export * as ElementTagMap from "../ElementTagMap/ElementTagMap.js";
6
6
  export * as ElementTags from "../ElementTags/ElementTags.js";
7
7
  export * as ErrorCodes from "../ErrorCodes/ErrorCodes.js";
8
8
  export * as EventExpression from "../EventExpression/EventExpression.js";
9
+ export * as ExplorerEditingType from "../ExplorerEditingType/ExplorerEditingType.js";
9
10
  export * as GetKeyCodeString from "../GetKeyCodeString/GetKeyCodeString.js";
10
11
  export * as GetWhenExpressionText from "../GetWhenExpressionText/GetWhenExpressionText.js";
11
12
  export * as GetWidgetName from "../GetWidgetName/GetWidgetName.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/constants",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Constants",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",