easy-file-system 2.1.20 → 2.1.21
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 +4789 -4977
- package/lib/button/toggle.js +36 -36
- package/lib/div/item/entry/drag/directoryName.js +32 -32
- package/lib/div/item/entry/drag/fileName.js +31 -31
- package/lib/div/item/entry/drag.js +31 -31
- package/lib/div/item/entry/marker.js +29 -29
- package/lib/div/item/entry.js +45 -56
- package/lib/example/view/button.js +6 -6
- package/lib/example/view/explorer/first.js +33 -33
- package/lib/example/view/explorer/second.js +33 -33
- package/lib/example/view/rubbishBin.js +25 -25
- package/lib/example/view.js +53 -64
- package/lib/example.js +5 -5
- package/lib/explorer.js +65 -76
- package/lib/index.js +19 -19
- package/lib/item/entry/drag/directoryName.js +46 -46
- package/lib/item/entry/drag/fileName.js +33 -33
- package/lib/item/entry/drag.js +46 -46
- package/lib/item/entry/marker/directoryName.js +30 -30
- package/lib/item/entry/marker/fileName.js +30 -30
- package/lib/item/entry/marker.js +32 -32
- package/lib/item/entry.js +45 -56
- package/lib/list/entries.js +58 -69
- package/lib/rubbishBin.js +59 -70
- package/lib/span/name.js +46 -57
- package/lib/svg/directoryName.js +44 -55
- package/lib/svg/fileName.js +44 -55
- package/lib/svg/marker.js +44 -55
- package/lib/svg/rubbishBin/closed.js +44 -55
- package/lib/svg/rubbishBin/open.js +44 -55
- package/lib/svg/toggle/down.js +44 -55
- package/lib/svg/toggle/up.js +44 -55
- package/package.json +3 -3
|
@@ -8,15 +8,15 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return DragEntryItemDiv;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var _entry = /*#__PURE__*/
|
|
11
|
+
var _entry = /*#__PURE__*/ _interop_require_default(require("../../../div/item/entry"));
|
|
12
12
|
var _constants = require("../../../constants");
|
|
13
|
-
function
|
|
13
|
+
function _assert_this_initialized(self) {
|
|
14
14
|
if (self === void 0) {
|
|
15
15
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
16
|
}
|
|
17
17
|
return self;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function _class_call_check(instance, Constructor) {
|
|
20
20
|
if (!(instance instanceof Constructor)) {
|
|
21
21
|
throw new TypeError("Cannot call a class as a function");
|
|
22
22
|
}
|
|
@@ -30,12 +30,12 @@ function _defineProperties(target, props) {
|
|
|
30
30
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
34
34
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
35
35
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
36
36
|
return Constructor;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function _define_property(obj, key, value) {
|
|
39
39
|
if (key in obj) {
|
|
40
40
|
Object.defineProperty(obj, key, {
|
|
41
41
|
value: value,
|
|
@@ -48,11 +48,11 @@ function _defineProperty(obj, key, value) {
|
|
|
48
48
|
}
|
|
49
49
|
return obj;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
51
|
+
function _get_prototype_of(o) {
|
|
52
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
53
53
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
54
54
|
};
|
|
55
|
-
return
|
|
55
|
+
return _get_prototype_of(o);
|
|
56
56
|
}
|
|
57
57
|
function _inherits(subClass, superClass) {
|
|
58
58
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -65,31 +65,31 @@ function _inherits(subClass, superClass) {
|
|
|
65
65
|
configurable: true
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
if (superClass)
|
|
68
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function _interop_require_default(obj) {
|
|
71
71
|
return obj && obj.__esModule ? obj : {
|
|
72
72
|
default: obj
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
if (call && (
|
|
75
|
+
function _possible_constructor_return(self, call) {
|
|
76
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
77
77
|
return call;
|
|
78
78
|
}
|
|
79
|
-
return
|
|
79
|
+
return _assert_this_initialized(self);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
81
|
+
function _set_prototype_of(o, p) {
|
|
82
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
83
83
|
o.__proto__ = p;
|
|
84
84
|
return o;
|
|
85
85
|
};
|
|
86
|
-
return
|
|
86
|
+
return _set_prototype_of(o, p);
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
function _type_of(obj) {
|
|
89
89
|
"@swc/helpers - typeof";
|
|
90
90
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
91
|
-
}
|
|
92
|
-
function
|
|
91
|
+
}
|
|
92
|
+
function _is_native_reflect_construct() {
|
|
93
93
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
94
94
|
if (Reflect.construct.sham) return false;
|
|
95
95
|
if (typeof Proxy === "function") return true;
|
|
@@ -100,33 +100,33 @@ function _isNativeReflectConstruct() {
|
|
|
100
100
|
return false;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
var hasNativeReflectConstruct =
|
|
103
|
+
function _create_super(Derived) {
|
|
104
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
105
105
|
return function _createSuperInternal() {
|
|
106
|
-
var Super =
|
|
106
|
+
var Super = _get_prototype_of(Derived), result;
|
|
107
107
|
if (hasNativeReflectConstruct) {
|
|
108
|
-
var NewTarget =
|
|
108
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
109
109
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
110
110
|
} else {
|
|
111
111
|
result = Super.apply(this, arguments);
|
|
112
112
|
}
|
|
113
|
-
return
|
|
113
|
+
return _possible_constructor_return(this, result);
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
var DragEntryItemDiv = /*#__PURE__*/ function(EntryItemDiv) {
|
|
117
117
|
_inherits(DragEntryItemDiv, EntryItemDiv);
|
|
118
|
-
var _super =
|
|
118
|
+
var _super = _create_super(DragEntryItemDiv);
|
|
119
119
|
function DragEntryItemDiv() {
|
|
120
|
-
|
|
120
|
+
_class_call_check(this, DragEntryItemDiv);
|
|
121
121
|
var _this;
|
|
122
122
|
_this = _super.apply(this, arguments);
|
|
123
|
-
|
|
123
|
+
_define_property(_assert_this_initialized(_this), "mouseDownHandler", function(event, element) {
|
|
124
124
|
var explorer = _this.getExplorer(), dragEntryItem = _this.getDragEntryItem();
|
|
125
125
|
explorer.selectDragEntryItem(dragEntryItem);
|
|
126
126
|
});
|
|
127
127
|
return _this;
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
_create_class(DragEntryItemDiv, [
|
|
130
130
|
{
|
|
131
131
|
key: "didMount",
|
|
132
132
|
value: function didMount() {
|
|
@@ -144,12 +144,12 @@ var DragEntryItemDiv = /*#__PURE__*/ function(EntryItemDiv) {
|
|
|
144
144
|
]);
|
|
145
145
|
return DragEntryItemDiv;
|
|
146
146
|
}(_entry.default);
|
|
147
|
-
|
|
147
|
+
_define_property(DragEntryItemDiv, "ignoredProperties", [
|
|
148
148
|
"name",
|
|
149
149
|
"NameSpan"
|
|
150
150
|
]);
|
|
151
|
-
|
|
151
|
+
_define_property(DragEntryItemDiv, "defaultProperties", {
|
|
152
152
|
className: "drag"
|
|
153
153
|
});
|
|
154
154
|
|
|
155
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kaXYvaXRlbS9l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CQUFnQixNQUFLQyxnQkFBZ0I7WUFFM0NILFNBQVNJLG1CQUFtQixDQUFDRjtRQUMvQjs7O2tCQU5tQk47O1lBUW5CUyxLQUFBQTttQkFBQUEsU0FBQUEsV0FBVztnQkFDVCxJQUFJLENBQUNDLFdBQVcsQ0FBQyxJQUFJLENBQUNULGdCQUFnQjtnQkFFdEMsSUFBSSxDQUFDVSxhQUFhLENBQUMsSUFBSSxDQUFDQyxrQkFBa0I7WUFDNUM7OztZQUVBQyxLQUFBQTttQkFBQUEsU0FBQUEsY0FBYztnQkFDWixJQUFJLENBQUNDLFlBQVksQ0FBQyxJQUFJLENBQUNiLGdCQUFnQjtnQkFFdkMsSUFBSSxDQUFDYyxjQUFjLENBQUMsSUFBSSxDQUFDSCxrQkFBa0I7WUFDN0M7OztXQWxCbUJaO0VBQXlCZ0IsY0FBWTtBQW9CeEQsaUJBcEJtQmhCLGtCQW9CWmlCLHFCQUFvQjtJQUN6QjtJQUNBO0NBQ0Q7QUFFRCxpQkF6Qm1CakIsa0JBeUJaa0IscUJBQW9CO0lBQ3pCQyxXQUFXO0FBQ2IifQ==
|
|
@@ -8,14 +8,14 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return MarkerEntryItemDiv;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var _entry = /*#__PURE__*/
|
|
12
|
-
function
|
|
11
|
+
var _entry = /*#__PURE__*/ _interop_require_default(require("../../../div/item/entry"));
|
|
12
|
+
function _assert_this_initialized(self) {
|
|
13
13
|
if (self === void 0) {
|
|
14
14
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15
15
|
}
|
|
16
16
|
return self;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function _class_call_check(instance, Constructor) {
|
|
19
19
|
if (!(instance instanceof Constructor)) {
|
|
20
20
|
throw new TypeError("Cannot call a class as a function");
|
|
21
21
|
}
|
|
@@ -29,12 +29,12 @@ function _defineProperties(target, props) {
|
|
|
29
29
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
33
33
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
34
34
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
35
35
|
return Constructor;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function _define_property(obj, key, value) {
|
|
38
38
|
if (key in obj) {
|
|
39
39
|
Object.defineProperty(obj, key, {
|
|
40
40
|
value: value,
|
|
@@ -47,11 +47,11 @@ function _defineProperty(obj, key, value) {
|
|
|
47
47
|
}
|
|
48
48
|
return obj;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
50
|
+
function _get_prototype_of(o) {
|
|
51
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
52
52
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
53
53
|
};
|
|
54
|
-
return
|
|
54
|
+
return _get_prototype_of(o);
|
|
55
55
|
}
|
|
56
56
|
function _inherits(subClass, superClass) {
|
|
57
57
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -64,31 +64,31 @@ function _inherits(subClass, superClass) {
|
|
|
64
64
|
configurable: true
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
-
if (superClass)
|
|
67
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function _interop_require_default(obj) {
|
|
70
70
|
return obj && obj.__esModule ? obj : {
|
|
71
71
|
default: obj
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
if (call && (
|
|
74
|
+
function _possible_constructor_return(self, call) {
|
|
75
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
76
76
|
return call;
|
|
77
77
|
}
|
|
78
|
-
return
|
|
78
|
+
return _assert_this_initialized(self);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
80
|
+
function _set_prototype_of(o, p) {
|
|
81
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
82
82
|
o.__proto__ = p;
|
|
83
83
|
return o;
|
|
84
84
|
};
|
|
85
|
-
return
|
|
85
|
+
return _set_prototype_of(o, p);
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
function _type_of(obj) {
|
|
88
88
|
"@swc/helpers - typeof";
|
|
89
89
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
90
|
-
}
|
|
91
|
-
function
|
|
90
|
+
}
|
|
91
|
+
function _is_native_reflect_construct() {
|
|
92
92
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
93
93
|
if (Reflect.construct.sham) return false;
|
|
94
94
|
if (typeof Proxy === "function") return true;
|
|
@@ -99,27 +99,27 @@ function _isNativeReflectConstruct() {
|
|
|
99
99
|
return false;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
var hasNativeReflectConstruct =
|
|
102
|
+
function _create_super(Derived) {
|
|
103
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
104
104
|
return function _createSuperInternal() {
|
|
105
|
-
var Super =
|
|
105
|
+
var Super = _get_prototype_of(Derived), result;
|
|
106
106
|
if (hasNativeReflectConstruct) {
|
|
107
|
-
var NewTarget =
|
|
107
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
108
108
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
109
109
|
} else {
|
|
110
110
|
result = Super.apply(this, arguments);
|
|
111
111
|
}
|
|
112
|
-
return
|
|
112
|
+
return _possible_constructor_return(this, result);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
var MarkerEntryItemDiv = /*#__PURE__*/ function(EntryItemDiv) {
|
|
116
116
|
_inherits(MarkerEntryItemDiv, EntryItemDiv);
|
|
117
|
-
var _super =
|
|
117
|
+
var _super = _create_super(MarkerEntryItemDiv);
|
|
118
118
|
function MarkerEntryItemDiv() {
|
|
119
|
-
|
|
119
|
+
_class_call_check(this, MarkerEntryItemDiv);
|
|
120
120
|
return _super.apply(this, arguments);
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
_create_class(MarkerEntryItemDiv, [
|
|
123
123
|
{
|
|
124
124
|
key: "childElements",
|
|
125
125
|
value: function childElements() {
|
|
@@ -132,8 +132,8 @@ var MarkerEntryItemDiv = /*#__PURE__*/ function(EntryItemDiv) {
|
|
|
132
132
|
]);
|
|
133
133
|
return MarkerEntryItemDiv;
|
|
134
134
|
}(_entry.default);
|
|
135
|
-
|
|
135
|
+
_define_property(MarkerEntryItemDiv, "defaultProperties", {
|
|
136
136
|
className: "file-name"
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
139
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kaXYvaXRlbS9lbnRyeS9tYXJrZXIuanMiLCI8PGpzeC1jb25maWctcHJhZ21hLmpzPj4iXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCBFbnRyeUl0ZW1EaXYgZnJvbSBcIi4uLy4uLy4uL2Rpdi9pdGVtL2VudHJ5XCI7XG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIE1hcmtlckVudHJ5SXRlbURpdiBleHRlbmRzIEVudHJ5SXRlbURpdiB7XG4gIGNoaWxkRWxlbWVudHMoKSB7XG4gICAgY29uc3QgeyBNYXJrZXJTVkcgfSA9IHRoaXMucHJvcGVydGllcztcblxuICAgIHJldHVybiAoW1xuXG4gICAgICA8TWFya2VyU1ZHLz5cblxuICAgIF0pO1xuICB9XG5cbiAgc3RhdGljIGRlZmF1bHRQcm9wZXJ0aWVzID0ge1xuICAgIGNsYXNzTmFtZTogXCJmaWxlLW5hbWVcIlxuICB9O1xufVxuIiwiUmVhY3QuY3JlYXRlRWxlbWVudCJdLCJuYW1lcyI6WyJNYXJrZXJFbnRyeUl0ZW1EaXYiLCJjaGlsZEVsZW1lbnRzIiwiTWFya2VyU1ZHIiwicHJvcGVydGllcyIsIkVudHJ5SXRlbURpdiIsImRlZmF1bHRQcm9wZXJ0aWVzIiwiY2xhc3NOYW1lIl0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7OztlQUlxQkE7Ozs0REFGSTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFVixJQUFBLEFBQU1BLG1DQUFOO2NBQU1BOytCQUFBQTthQUFBQTtnQ0FBQUE7OztrQkFBQUE7O1lBQ25CQyxLQUFBQTttQkFBQUEsU0FBQUEsZ0JBQWdCO2dCQUNkLElBQU0sQUFBRUMsWUFBYyxJQUFJLENBQUNDLFVBQVUsQ0FBN0JEO2dCQUVSLE9BQVE7a0NBRU4sb0JBQUNBO2lCQUVGO1lBQ0g7OztXQVRtQkY7RUFBMkJJLGNBQVk7QUFXMUQsaUJBWG1CSixvQkFXWksscUJBQW9CO0lBQ3pCQyxXQUFXO0FBQ2IifQ==
|
package/lib/div/item/entry.js
CHANGED
|
@@ -8,43 +8,32 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
12
|
var _easy = require("easy");
|
|
13
13
|
var _styles = require("../../styles");
|
|
14
|
-
function
|
|
14
|
+
function _assert_this_initialized(self) {
|
|
15
15
|
if (self === void 0) {
|
|
16
16
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17
17
|
}
|
|
18
18
|
return self;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function _class_call_check(instance, Constructor) {
|
|
21
21
|
if (!(instance instanceof Constructor)) {
|
|
22
22
|
throw new TypeError("Cannot call a class as a function");
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function isNativeReflectConstruct() {
|
|
26
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
27
|
-
if (Reflect.construct.sham) return false;
|
|
28
|
-
if (typeof Proxy === "function") return true;
|
|
29
|
-
try {
|
|
30
|
-
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
|
|
31
|
-
return true;
|
|
32
|
-
} catch (e) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
25
|
function _construct(Parent, args, Class) {
|
|
37
|
-
if (
|
|
26
|
+
if (_is_native_reflect_construct()) {
|
|
38
27
|
_construct = Reflect.construct;
|
|
39
28
|
} else {
|
|
40
|
-
_construct = function
|
|
29
|
+
_construct = function construct(Parent, args, Class) {
|
|
41
30
|
var a = [
|
|
42
31
|
null
|
|
43
32
|
];
|
|
44
33
|
a.push.apply(a, args);
|
|
45
34
|
var Constructor = Function.bind.apply(Parent, a);
|
|
46
35
|
var instance = new Constructor();
|
|
47
|
-
if (Class)
|
|
36
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
48
37
|
return instance;
|
|
49
38
|
};
|
|
50
39
|
}
|
|
@@ -59,12 +48,12 @@ function _defineProperties(target, props) {
|
|
|
59
48
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
60
49
|
}
|
|
61
50
|
}
|
|
62
|
-
function
|
|
51
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
63
52
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
64
53
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
65
54
|
return Constructor;
|
|
66
55
|
}
|
|
67
|
-
function
|
|
56
|
+
function _define_property(obj, key, value) {
|
|
68
57
|
if (key in obj) {
|
|
69
58
|
Object.defineProperty(obj, key, {
|
|
70
59
|
value: value,
|
|
@@ -77,11 +66,11 @@ function _defineProperty(obj, key, value) {
|
|
|
77
66
|
}
|
|
78
67
|
return obj;
|
|
79
68
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
69
|
+
function _get_prototype_of(o) {
|
|
70
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
82
71
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
83
72
|
};
|
|
84
|
-
return
|
|
73
|
+
return _get_prototype_of(o);
|
|
85
74
|
}
|
|
86
75
|
function _inherits(subClass, superClass) {
|
|
87
76
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -94,30 +83,30 @@ function _inherits(subClass, superClass) {
|
|
|
94
83
|
configurable: true
|
|
95
84
|
}
|
|
96
85
|
});
|
|
97
|
-
if (superClass)
|
|
86
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
98
87
|
}
|
|
99
|
-
function
|
|
88
|
+
function _interop_require_default(obj) {
|
|
100
89
|
return obj && obj.__esModule ? obj : {
|
|
101
90
|
default: obj
|
|
102
91
|
};
|
|
103
92
|
}
|
|
104
|
-
function
|
|
93
|
+
function _is_native_function(fn) {
|
|
105
94
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
106
95
|
}
|
|
107
|
-
function
|
|
108
|
-
if (call && (
|
|
96
|
+
function _possible_constructor_return(self, call) {
|
|
97
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
109
98
|
return call;
|
|
110
99
|
}
|
|
111
|
-
return
|
|
100
|
+
return _assert_this_initialized(self);
|
|
112
101
|
}
|
|
113
|
-
function
|
|
114
|
-
|
|
102
|
+
function _set_prototype_of(o, p) {
|
|
103
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
115
104
|
o.__proto__ = p;
|
|
116
105
|
return o;
|
|
117
106
|
};
|
|
118
|
-
return
|
|
107
|
+
return _set_prototype_of(o, p);
|
|
119
108
|
}
|
|
120
|
-
function
|
|
109
|
+
function _tagged_template_literal(strings, raw) {
|
|
121
110
|
if (!raw) {
|
|
122
111
|
raw = strings.slice(0);
|
|
123
112
|
}
|
|
@@ -127,14 +116,14 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
|
127
116
|
}
|
|
128
117
|
}));
|
|
129
118
|
}
|
|
130
|
-
|
|
119
|
+
function _type_of(obj) {
|
|
131
120
|
"@swc/helpers - typeof";
|
|
132
121
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
133
|
-
}
|
|
134
|
-
function
|
|
122
|
+
}
|
|
123
|
+
function _wrap_native_super(Class) {
|
|
135
124
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
136
|
-
|
|
137
|
-
if (Class === null || !
|
|
125
|
+
_wrap_native_super = function wrapNativeSuper(Class) {
|
|
126
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
138
127
|
if (typeof Class !== "function") {
|
|
139
128
|
throw new TypeError("Super expression must either be null or a function");
|
|
140
129
|
}
|
|
@@ -143,7 +132,7 @@ function _wrapNativeSuper(Class) {
|
|
|
143
132
|
_cache.set(Class, Wrapper);
|
|
144
133
|
}
|
|
145
134
|
function Wrapper() {
|
|
146
|
-
return _construct(Class, arguments,
|
|
135
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
147
136
|
}
|
|
148
137
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
149
138
|
constructor: {
|
|
@@ -153,11 +142,11 @@ function _wrapNativeSuper(Class) {
|
|
|
153
142
|
configurable: true
|
|
154
143
|
}
|
|
155
144
|
});
|
|
156
|
-
return
|
|
145
|
+
return _set_prototype_of(Wrapper, Class);
|
|
157
146
|
};
|
|
158
|
-
return
|
|
147
|
+
return _wrap_native_super(Class);
|
|
159
148
|
}
|
|
160
|
-
function
|
|
149
|
+
function _is_native_reflect_construct() {
|
|
161
150
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
162
151
|
if (Reflect.construct.sham) return false;
|
|
163
152
|
if (typeof Proxy === "function") return true;
|
|
@@ -168,21 +157,21 @@ function _isNativeReflectConstruct() {
|
|
|
168
157
|
return false;
|
|
169
158
|
}
|
|
170
159
|
}
|
|
171
|
-
function
|
|
172
|
-
var hasNativeReflectConstruct =
|
|
160
|
+
function _create_super(Derived) {
|
|
161
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
173
162
|
return function _createSuperInternal() {
|
|
174
|
-
var Super =
|
|
163
|
+
var Super = _get_prototype_of(Derived), result;
|
|
175
164
|
if (hasNativeReflectConstruct) {
|
|
176
|
-
var NewTarget =
|
|
165
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
177
166
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
178
167
|
} else {
|
|
179
168
|
result = Super.apply(this, arguments);
|
|
180
169
|
}
|
|
181
|
-
return
|
|
170
|
+
return _possible_constructor_return(this, result);
|
|
182
171
|
};
|
|
183
172
|
}
|
|
184
173
|
function _templateObject() {
|
|
185
|
-
var data =
|
|
174
|
+
var data = _tagged_template_literal([
|
|
186
175
|
"\n\n padding-top: ",
|
|
187
176
|
";\n \n"
|
|
188
177
|
]);
|
|
@@ -193,12 +182,12 @@ function _templateObject() {
|
|
|
193
182
|
}
|
|
194
183
|
var EntryItemDiv = /*#__PURE__*/ function(Element) {
|
|
195
184
|
_inherits(EntryItemDiv, Element);
|
|
196
|
-
var _super =
|
|
185
|
+
var _super = _create_super(EntryItemDiv);
|
|
197
186
|
function EntryItemDiv() {
|
|
198
|
-
|
|
187
|
+
_class_call_check(this, EntryItemDiv);
|
|
199
188
|
return _super.apply(this, arguments);
|
|
200
189
|
}
|
|
201
|
-
|
|
190
|
+
_create_class(EntryItemDiv, [
|
|
202
191
|
{
|
|
203
192
|
key: "getExplorer",
|
|
204
193
|
value: function getExplorer() {
|
|
@@ -215,15 +204,15 @@ var EntryItemDiv = /*#__PURE__*/ function(Element) {
|
|
|
215
204
|
}
|
|
216
205
|
]);
|
|
217
206
|
return EntryItemDiv;
|
|
218
|
-
}(
|
|
219
|
-
|
|
220
|
-
|
|
207
|
+
}(_wrap_native_super(_easy.Element));
|
|
208
|
+
_define_property(EntryItemDiv, "tagName", "div");
|
|
209
|
+
_define_property(EntryItemDiv, "ignoredProperties", [
|
|
221
210
|
"name",
|
|
222
211
|
"explorer"
|
|
223
212
|
]);
|
|
224
|
-
|
|
213
|
+
_define_property(EntryItemDiv, "defaultProperties", {
|
|
225
214
|
className: "entry-item"
|
|
226
215
|
});
|
|
227
|
-
var _default = (0,
|
|
216
|
+
var _default = (0, _easywithstyle.default)(EntryItemDiv)(_templateObject(), _styles.entryItemDivPaddingTop);
|
|
228
217
|
|
|
229
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
218
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kaXYvaXRlbS9lbnRyeS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IHdpdGhTdHlsZSBmcm9tIFwiZWFzeS13aXRoLXN0eWxlXCI7ICAvLy9cblxuaW1wb3J0IHsgRWxlbWVudCB9IGZyb20gXCJlYXN5XCI7XG5cbmltcG9ydCB7IGVudHJ5SXRlbURpdlBhZGRpbmdUb3AgfSBmcm9tIFwiLi4vLi4vc3R5bGVzXCI7XG5cbmNsYXNzIEVudHJ5SXRlbURpdiBleHRlbmRzIEVsZW1lbnQge1xuICBnZXRFeHBsb3JlcigpIHtcbiAgICBjb25zdCB7IGV4cGxvcmVyIH0gPSB0aGlzLnByb3BlcnRpZXM7XG5cbiAgICByZXR1cm4gZXhwbG9y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ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUV2QyxJQUFBLEFBQU1BLDZCQTBCSCxBQTFCSDtjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7a0JBQUFBOztZQUNKQyxLQUFBQTttQkFBQUEsU0FBQUEsY0FBYztnQkFDWixJQUFNLEFBQUVDLFdBQWEsSUFBSSxDQUFDQyxVQUFVLENBQTVCRDtnQkFFUixPQUFPQTtZQUNUOzs7WUFFQUUsS0FBQUE7bUJBQUFBLFNBQUFBLG1CQUFtQjtnQkFDakIsSUFBTUMsZ0JBQWdCLElBQUksQ0FBQ0MsZ0JBQWdCLElBQ3JDQyxnQkFBZ0JGLGVBQWdCLEdBQUc7Z0JBRXpDLE9BQU9FLGVBQWUsR0FBRztZQUMzQjs7O1dBWklQO3FCQUFxQlEsYUFBTztBQWNoQyxpQkFkSVIsY0FjR1MsV0FBVTtBQUVqQixpQkFoQklULGNBZ0JHVSxxQkFBb0I7SUFDekI7SUFDQTtDQUNEO0FBRUQsaUJBckJJVixjQXFCR1cscUJBQW9CO0lBQ3pCQyxXQUFXO0FBQ2I7SUFHRixXQUFlQyxJQUFBQSxzQkFBUyxFQUFDYixpQ0FFUmMsOEJBQXNCIn0=
|
|
@@ -8,14 +8,14 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
12
|
var _easy = require("easy");
|
|
13
|
-
function
|
|
13
|
+
function _interop_require_default(obj) {
|
|
14
14
|
return obj && obj.__esModule ? obj : {
|
|
15
15
|
default: obj
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function _tagged_template_literal(strings, raw) {
|
|
19
19
|
if (!raw) {
|
|
20
20
|
raw = strings.slice(0);
|
|
21
21
|
}
|
|
@@ -26,7 +26,7 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
|
26
26
|
}));
|
|
27
27
|
}
|
|
28
28
|
function _templateObject() {
|
|
29
|
-
var data =
|
|
29
|
+
var data = _tagged_template_literal([
|
|
30
30
|
"\n\n border: 1px solid black;\n cursor: pointer;\n padding: 1rem;\n margin-left: 1rem;\n \n"
|
|
31
31
|
]);
|
|
32
32
|
_templateObject = function _templateObject() {
|
|
@@ -34,6 +34,6 @@ function _templateObject() {
|
|
|
34
34
|
};
|
|
35
35
|
return data;
|
|
36
36
|
}
|
|
37
|
-
var _default = (0,
|
|
37
|
+
var _default = (0, _easywithstyle.default)(_easy.Button)(_templateObject());
|
|
38
38
|
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvYnV0dG9uLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgd2l0aFN0eWxlIGZyb20gXCJlYXN5LXdpdGgtc3R5bGVcIjsgIC8vL1xuXG5pbXBvcnQgeyBCdXR0b24gfSBmcm9tIFwiZWFzeVwiO1xuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoQnV0dG9uKWBcblxuICBib3JkZXI6IDFweCBzb2xpZCBibGFjaztcbiAgY3Vyc29yOiBwb2ludGVyO1xuICBwYWRkaW5nOiAxcmVtO1xuICBtYXJnaW4tbGVmdDogMXJlbTtcbiAgXG5gO1xuIl0sIm5hbWVzIjpbIndpdGhTdHlsZSIsIkJ1dHRvbiJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBTUE7OztlQUFBOzs7b0VBSnNCO29CQUVDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRXZCLFdBQWVBLElBQUFBLHNCQUFTLEVBQUNDLFlBQU0ifQ==
|