easy-file-system 1.3.104 → 1.3.108

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.
@@ -63,24 +63,6 @@ export default class DirectoryNameDragEntryItem extends DragEntryItem {
63
63
  return collapsed;
64
64
  }
65
65
 
66
- getNameButton() {
67
- const { NameButton } = this.constructor;
68
-
69
- return NameButton;
70
- }
71
-
72
- getToggleButton() {
73
- const { ToggleButton } = this.constructor;
74
-
75
- return ToggleButton;
76
- }
77
-
78
- getDirectoryNameSVG() {
79
- const { DirectoryNameSVG } = this.constructor;
80
-
81
- return DirectoryNameSVG;
82
- }
83
-
84
66
  retrievePathMaps(sourceEntryPath, targetEntryPath, pathMaps) {
85
67
  const name = this.getName(),
86
68
  pathMap = this.getPathMap(sourceEntryPath, targetEntryPath);
@@ -200,11 +182,9 @@ export default class DirectoryNameDragEntryItem extends DragEntryItem {
200
182
 
201
183
  childElements() {
202
184
  const { name } = this.properties,
203
- explorer = this.getExplorer(),
204
- NameButton = this.getNameButton(),
205
- EntriesList = explorer.getEntriesList(),
206
- ToggleButton = this.getToggleButton(),
207
- DirectoryNameSVG = this.getDirectoryNameSVG();
185
+ { NameButton, ToggleButton, DirectoryNameSVG } = this.constructor,
186
+ explorer = this.getExplorer(),
187
+ EntriesList = explorer.getEntriesList();
208
188
 
209
189
  return ([
210
190
 
@@ -39,18 +39,6 @@ export default class FileNameDragEntryItem extends DragEntryItem {
39
39
  return fileName;
40
40
  }
41
41
 
42
- getNameButton() {
43
- const { NameButton } = this.constructor;
44
-
45
- return NameButton;
46
- }
47
-
48
- getFileNameSVG() {
49
- const { FileNameSVG } = this.constructor;
50
-
51
- return FileNameSVG;
52
- }
53
-
54
42
  getPathMap(sourceEntryPath, targetEntryPath) {
55
43
  const pathMap = super.getPathMap(sourceEntryPath, targetEntryPath),
56
44
  entryDirectory = false;
@@ -70,9 +58,8 @@ export default class FileNameDragEntryItem extends DragEntryItem {
70
58
 
71
59
  childElements() {
72
60
  const { name } = this.properties,
73
- explorer = this.getExplorer(),
74
- NameButton = this.getNameButton(),
75
- FileNameSVG = this.getFileNameSVG();
61
+ { NameButton, FileNameSVG } = this.constructor,
62
+ explorer = this.getExplorer();
76
63
 
77
64
  return (
78
65
 
@@ -5,14 +5,8 @@ import MarkerSVG from "../../svg/marker";
5
5
  import MarkerEntryItemDiv from "../../div/item/entry/marker";
6
6
 
7
7
  export default class MarkerEntryItem extends EntryItem {
8
- getMarkerSVG() {
9
- const { MarkerSVG } = this.constructor;
10
-
11
- return MarkerSVG;
12
- }
13
-
14
8
  childElements() {
15
- const MarkerSVG = this.getMarkerSVG();
9
+ const { MarkerSVG } = this.constructor;
16
10
 
17
11
  return (
18
12
 
package/src/rubbishBin.js CHANGED
@@ -34,18 +34,6 @@ class RubbishBin extends Element {
34
34
  return ignoredReferences;
35
35
  }
36
36
 
37
- getOpenRubbishBinSVG() {
38
- const { OpenRubbishBinSVG } = this.constructor;
39
-
40
- return OpenRubbishBinSVG;
41
- }
42
-
43
- getClosedRubbishBinSVG() {
44
- const { ClosedRubbishBinSVG } = this.constructor;
45
-
46
- return ClosedRubbishBinSVG;
47
- }
48
-
49
37
  retrieveMarkerEntryItem() {
50
38
  const { markerEntryItem } = globalThis;
51
39
 
@@ -306,8 +294,7 @@ class RubbishBin extends Element {
306
294
  }
307
295
 
308
296
  childElements() {
309
- const OpenRubbishBinSVG = this.getOpenRubbishBinSVG(),
310
- ClosedRubbishBinSVG = this.getClosedRubbishBinSVG();
297
+ const { OpenRubbishBinSVG, ClosedRubbishBinSVG } = this.constructor;
311
298
 
312
299
  return ([
313
300