easy-file-system 1.3.105 → 1.3.109
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/example.js +1666 -1667
- package/lib/button/name.js +4 -4
- package/lib/button/toggle.js +6 -20
- package/lib/div/item/entry/directoryName.js +4 -4
- package/lib/div/item/entry/fileName.js +4 -4
- package/lib/div/item/entry/marker.js +4 -4
- package/lib/div/item/entry.js +7 -7
- package/lib/example/explorer.js +4 -4
- package/lib/example/item/entry/drag/directoryName.js +6 -6
- package/lib/example/view.js +7 -7
- package/lib/explorer.js +10 -10
- package/lib/item/entry/drag/directoryName.js +8 -29
- package/lib/item/entry/drag/fileName.js +8 -22
- package/lib/item/entry/drag.js +4 -4
- package/lib/item/entry/marker/directoryName.js +4 -4
- package/lib/item/entry/marker/fileName.js +4 -4
- package/lib/item/entry/marker.js +6 -13
- package/lib/item/entry.js +7 -7
- package/lib/list/entries.js +29 -29
- package/lib/rubbishBin.js +9 -23
- package/lib/svg/directoryName.js +7 -7
- package/lib/svg/fileName.js +7 -7
- package/lib/svg/marker.js +7 -7
- package/lib/svg/rubbishBin/closed.js +7 -7
- package/lib/svg/rubbishBin/open.js +7 -7
- package/lib/svg/toggle/down.js +7 -7
- package/lib/svg/toggle/up.js +7 -7
- package/package.json +3 -3
- package/src/button/toggle.js +1 -14
- package/src/item/entry/drag/directoryName.js +3 -23
- package/src/item/entry/drag/fileName.js +2 -15
- package/src/item/entry/marker.js +1 -7
- package/src/rubbishBin.js +1 -14
package/lib/svg/directoryName.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/svg/fileName.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/svg/marker.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/svg/toggle/down.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/svg/toggle/up.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,11 +72,11 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _getPrototypeOf(
|
|
75
|
+
function _getPrototypeOf(o) {
|
|
76
76
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
77
77
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
78
78
|
};
|
|
79
|
-
return _getPrototypeOf(
|
|
79
|
+
return _getPrototypeOf(o);
|
|
80
80
|
}
|
|
81
81
|
function _inherits(subClass, superClass) {
|
|
82
82
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -105,12 +105,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
105
105
|
}
|
|
106
106
|
return _assertThisInitialized(self);
|
|
107
107
|
}
|
|
108
|
-
function _setPrototypeOf(
|
|
108
|
+
function _setPrototypeOf(o, p) {
|
|
109
109
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
110
110
|
o.__proto__ = p;
|
|
111
111
|
return o;
|
|
112
112
|
};
|
|
113
|
-
return _setPrototypeOf(
|
|
113
|
+
return _setPrototypeOf(o, p);
|
|
114
114
|
}
|
|
115
115
|
function _taggedTemplateLiteral(strings, raw) {
|
|
116
116
|
if (!raw) {
|
|
@@ -126,7 +126,7 @@ var _typeof = function(obj) {
|
|
|
126
126
|
"@swc/helpers - typeof";
|
|
127
127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
128
128
|
};
|
|
129
|
-
function _wrapNativeSuper(
|
|
129
|
+
function _wrapNativeSuper(Class) {
|
|
130
130
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
131
131
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
132
132
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -150,7 +150,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
150
150
|
});
|
|
151
151
|
return _setPrototypeOf(Wrapper, Class);
|
|
152
152
|
};
|
|
153
|
-
return _wrapNativeSuper(
|
|
153
|
+
return _wrapNativeSuper(Class);
|
|
154
154
|
}
|
|
155
155
|
function _isNativeReflectConstruct() {
|
|
156
156
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-file-system",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.109",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/easy-file-system",
|
|
7
7
|
"description": "A file system explorer and a rubbish bin.",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"easy": "^13.0.41",
|
|
14
|
-
"easy-drag-and-drop": "^1.2.
|
|
15
|
-
"easy-with-style": "^3.0.
|
|
14
|
+
"easy-drag-and-drop": "^1.2.59",
|
|
15
|
+
"easy-with-style": "^3.0.141",
|
|
16
16
|
"necessary": "^11.0.40"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/button/toggle.js
CHANGED
|
@@ -18,21 +18,8 @@ class ToggleButton extends Button {
|
|
|
18
18
|
this.hideDownToggleSVG();
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
getUpToggleSVG() {
|
|
22
|
-
const { UpToggleSVG } = this.constructor;
|
|
23
|
-
|
|
24
|
-
return UpToggleSVG;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
getDownToggleSVG() {
|
|
28
|
-
const { DownToggleSVG } = this.constructor;
|
|
29
|
-
|
|
30
|
-
return DownToggleSVG;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
21
|
childElements() {
|
|
34
|
-
const UpToggleSVG = this.
|
|
35
|
-
DownToggleSVG = this.getDownToggleSVG();
|
|
22
|
+
const { UpToggleSVG, DownToggleSVG } = this.constructor;
|
|
36
23
|
|
|
37
24
|
return ([
|
|
38
25
|
|
|
@@ -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
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
FileNameSVG = this.getFileNameSVG();
|
|
61
|
+
{ NameButton, FileNameSVG } = this.constructor,
|
|
62
|
+
explorer = this.getExplorer();
|
|
76
63
|
|
|
77
64
|
return (
|
|
78
65
|
|
package/src/item/entry/marker.js
CHANGED
|
@@ -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.
|
|
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.
|
|
310
|
-
ClosedRubbishBinSVG = this.getClosedRubbishBinSVG();
|
|
297
|
+
const { OpenRubbishBinSVG, ClosedRubbishBinSVG } = this.constructor;
|
|
311
298
|
|
|
312
299
|
return ([
|
|
313
300
|
|