easy-file-system 5.0.45 → 5.0.49

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.
Files changed (50) hide show
  1. package/lib/button/toggle.js +42 -164
  2. package/lib/constants.js +6 -6
  3. package/lib/customEventTypes.js +9 -9
  4. package/lib/div/item/entry/drag/directoryName.js +24 -122
  5. package/lib/div/item/entry/drag/fileName.js +15 -112
  6. package/lib/div/item/entry/drag.js +19 -120
  7. package/lib/div/item/entry/marker.js +10 -107
  8. package/lib/div/item/entry.js +25 -187
  9. package/lib/entryTypes.js +5 -5
  10. package/lib/example/preamble.js +2 -2
  11. package/lib/example/view/button.js +12 -23
  12. package/lib/example/view/explorer/first.js +20 -120
  13. package/lib/example/view/explorer/second.js +17 -117
  14. package/lib/example/view/rubbishBin.js +10 -88
  15. package/lib/example/view.js +88 -233
  16. package/lib/example.js +6 -6
  17. package/lib/explorer.js +393 -740
  18. package/lib/index.js +17 -17
  19. package/lib/item/entry/drag/directoryName.js +130 -289
  20. package/lib/item/entry/drag/fileName.js +61 -182
  21. package/lib/item/entry/drag.js +179 -375
  22. package/lib/item/entry/marker/directoryName.js +20 -117
  23. package/lib/item/entry/marker/fileName.js +21 -118
  24. package/lib/item/entry/marker.js +13 -110
  25. package/lib/item/entry.js +54 -249
  26. package/lib/list/entries.js +464 -808
  27. package/lib/mixins/dragEntryItem.js +19 -19
  28. package/lib/mixins/explorer.js +28 -28
  29. package/lib/mixins/nameSpan.js +12 -12
  30. package/lib/mixins/rubbishBin.js +8 -8
  31. package/lib/rubbishBin.js +180 -415
  32. package/lib/span/name.js +93 -262
  33. package/lib/styles.js +14 -14
  34. package/lib/svg/directoryName.js +31 -142
  35. package/lib/svg/fileName.js +32 -143
  36. package/lib/svg/marker.js +25 -136
  37. package/lib/svg/rubbishBin/closed.js +48 -163
  38. package/lib/svg/rubbishBin/open.js +52 -167
  39. package/lib/svg/toggle/down.js +29 -145
  40. package/lib/svg/toggle/up.js +30 -146
  41. package/lib/svg.js +12 -149
  42. package/lib/utilities/name.js +12 -12
  43. package/lib/utilities/path.js +5 -5
  44. package/lib/utilities/pathMap.js +7 -7
  45. package/package.json +8 -4
  46. package/.aiignore +0 -14
  47. package/.swcrc +0 -11
  48. package/bin/main.js +0 -15
  49. package/example.js +0 -41953
  50. package/index.html +0 -46
@@ -8,126 +8,26 @@ Object.defineProperty(exports, "default", {
8
8
  return FirstExplorer;
9
9
  }
10
10
  });
11
- var _index = require("../../../index");
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
11
+ const _index = require("../../../index");
12
+ class FirstExplorer extends _index.Explorer {
13
+ didMount() {
14
+ const readOnly = true;
15
+ this.addFilePath("directory1/file1.txt", readOnly);
16
+ this.addFilePath("directory1/file2.txt", readOnly);
17
+ this.addDirectoryPath("directory1/directory3", readOnly);
18
+ }
19
+ willUnmount() {
20
+ ///
21
+ }
22
+ static defaultProperties = {
23
+ className: "first",
24
+ reference: "first-explorer",
25
+ references: [
26
+ "rubbish-bin",
27
+ "first-explorer"
28
+ ],
29
+ singleClick: true
57
30
  };
58
- return _get_prototype_of(o);
59
31
  }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _possible_constructor_return(self, call) {
74
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
75
- return call;
76
- }
77
- return _assert_this_initialized(self);
78
- }
79
- function _set_prototype_of(o, p) {
80
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
81
- o.__proto__ = p;
82
- return o;
83
- };
84
- return _set_prototype_of(o, p);
85
- }
86
- function _type_of(obj) {
87
- "@swc/helpers - typeof";
88
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
89
- }
90
- function _is_native_reflect_construct() {
91
- try {
92
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
93
- } catch (_) {}
94
- return (_is_native_reflect_construct = function() {
95
- return !!result;
96
- })();
97
- }
98
- var FirstExplorer = /*#__PURE__*/ function(Explorer) {
99
- _inherits(FirstExplorer, Explorer);
100
- function FirstExplorer() {
101
- _class_call_check(this, FirstExplorer);
102
- return _call_super(this, FirstExplorer, arguments);
103
- }
104
- _create_class(FirstExplorer, [
105
- {
106
- key: "didMount",
107
- value: function didMount() {
108
- var readOnly = true;
109
- this.addFilePath("directory1/file1.txt", readOnly);
110
- this.addFilePath("directory1/file2.txt", readOnly);
111
- this.addDirectoryPath("directory1/directory3", readOnly);
112
- }
113
- },
114
- {
115
- key: "willUnmount",
116
- value: function willUnmount() {
117
- ///
118
- }
119
- }
120
- ]);
121
- return FirstExplorer;
122
- }(_index.Explorer);
123
- _define_property(FirstExplorer, "defaultProperties", {
124
- className: "first",
125
- reference: "first-explorer",
126
- references: [
127
- "rubbish-bin",
128
- "first-explorer"
129
- ],
130
- singleClick: true
131
- });
132
32
 
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvZXhwbG9yZXIvZmlyc3QuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB7IEV4cGxvcmVyIH0gZnJvbSBcIi4uLy4uLy4uL2luZGV4XCI7ICAvLy9cblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgRmlyc3RFeHBsb3JlciBleHRlbmRzIEV4cGxvcmVyIHtcbiAgZGlkTW91bnQoKSB7XG4gICAgY29uc3QgcmVhZE9ubHkgPSB0cnVlO1xuXG4gICAgdGhpcy5hZGRGaWxlUGF0aChcImRpcmVjdG9yeTEvZmlsZTEudHh0XCIsIHJlYWRPbmx5KTtcbiAgICB0aGlzLmFkZEZpbGVQYXRoKFwiZGlyZWN0b3J5MS9maWxlMi50eHRcIiwgcmVhZE9ubHkpO1xuXG4gICAgdGhpcy5hZGREaXJlY3RvcnlQYXRoKFwiZGlyZWN0b3J5MS9kaXJlY3RvcnkzXCIsIHJlYWRPbmx5KTtcbiAgfVxuXG4gIHdpbGxVbm1vdW50KCkge1xuICAgIC8vL1xuICB9XG5cbiAgc3RhdGljIGRlZmF1bHRQcm9wZXJ0aWVzID0ge1xuICAgIGNsYXNzTmFtZTogXCJmaX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WyJGaXJzdEV4cGxvcmVyIiwiRXhwbG9yZXIiLCJkaWRNb3VudCIsInJlYWRPbmx5IiwiYWRkRmlsZVBhdGgiLCJhZGREaXJlY3RvcnlQYXRoIiwid2lsbFVubW91bnQiLCJkZWZhdWx0UHJvcGVydGllcyIsImNsYXNzTmFtZSIsInJlZmVyZW5jZSIsInJlZmVyZW5jZXMiLCJzaW5nbGVDbGljayJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBSUE7OztlQUFxQkE7Ozt1QkFGSTtBQUVWLE1BQU1BLHNCQUFzQkMsZUFBUTtJQUNqREMsV0FBVztRQUNULE1BQU1DLFdBQVc7UUFFakIsSUFBSSxDQUFDQyxXQUFXLENBQUMsd0JBQXdCRDtRQUN6QyxJQUFJLENBQUNDLFdBQVcsQ0FBQyx3QkFBd0JEO1FBRXpDLElBQUksQ0FBQ0UsZ0JBQWdCLENBQUMseUJBQXlCRjtJQUNqRDtJQUVBRyxjQUFjO0lBQ1osR0FBRztJQUNMO0lBRUEsT0FBT0Msb0JBQW9CO1FBQ3pCQyxXQUFXO1FBQ1hDLFdBQVc7UUFDWEMsWUFBWTtZQUNWO1lBQ0E7U0FDRDtRQUNEQyxhQUFhO0lBQ2YsRUFBRTtBQUNKIn0=
@@ -8,123 +8,23 @@ Object.defineProperty(exports, "default", {
8
8
  return SecondExplorer;
9
9
  }
10
10
  });
11
- var _index = require("../../../index");
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _defineProperties(target, props) {
28
- for(var i = 0; i < props.length; i++){
29
- var descriptor = props[i];
30
- descriptor.enumerable = descriptor.enumerable || false;
31
- descriptor.configurable = true;
32
- if ("value" in descriptor) descriptor.writable = true;
33
- Object.defineProperty(target, descriptor.key, descriptor);
34
- }
35
- }
36
- function _create_class(Constructor, protoProps, staticProps) {
37
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
38
- if (staticProps) _defineProperties(Constructor, staticProps);
39
- return Constructor;
40
- }
41
- function _define_property(obj, key, value) {
42
- if (key in obj) {
43
- Object.defineProperty(obj, key, {
44
- value: value,
45
- enumerable: true,
46
- configurable: true,
47
- writable: true
48
- });
49
- } else {
50
- obj[key] = value;
51
- }
52
- return obj;
53
- }
54
- function _get_prototype_of(o) {
55
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
56
- return o.__proto__ || Object.getPrototypeOf(o);
11
+ const _index = require("../../../index");
12
+ class SecondExplorer extends _index.Explorer {
13
+ didMount() {
14
+ this.addFilePath("directory2/file4.txt");
15
+ this.addFilePath("directory2/file5.txt");
16
+ }
17
+ willUnmount() {
18
+ ///
19
+ }
20
+ static defaultProperties = {
21
+ className: "first",
22
+ reference: "second-explorer",
23
+ references: [
24
+ "first-explorer"
25
+ ],
26
+ singleClick: false
57
27
  };
58
- return _get_prototype_of(o);
59
28
  }
60
- function _inherits(subClass, superClass) {
61
- if (typeof superClass !== "function" && superClass !== null) {
62
- throw new TypeError("Super expression must either be null or a function");
63
- }
64
- subClass.prototype = Object.create(superClass && superClass.prototype, {
65
- constructor: {
66
- value: subClass,
67
- writable: true,
68
- configurable: true
69
- }
70
- });
71
- if (superClass) _set_prototype_of(subClass, superClass);
72
- }
73
- function _possible_constructor_return(self, call) {
74
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
75
- return call;
76
- }
77
- return _assert_this_initialized(self);
78
- }
79
- function _set_prototype_of(o, p) {
80
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
81
- o.__proto__ = p;
82
- return o;
83
- };
84
- return _set_prototype_of(o, p);
85
- }
86
- function _type_of(obj) {
87
- "@swc/helpers - typeof";
88
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
89
- }
90
- function _is_native_reflect_construct() {
91
- try {
92
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
93
- } catch (_) {}
94
- return (_is_native_reflect_construct = function() {
95
- return !!result;
96
- })();
97
- }
98
- var SecondExplorer = /*#__PURE__*/ function(Explorer) {
99
- _inherits(SecondExplorer, Explorer);
100
- function SecondExplorer() {
101
- _class_call_check(this, SecondExplorer);
102
- return _call_super(this, SecondExplorer, arguments);
103
- }
104
- _create_class(SecondExplorer, [
105
- {
106
- key: "didMount",
107
- value: function didMount() {
108
- this.addFilePath("directory2/file4.txt");
109
- this.addFilePath("directory2/file5.txt");
110
- }
111
- },
112
- {
113
- key: "willUnmount",
114
- value: function willUnmount() {
115
- ///
116
- }
117
- }
118
- ]);
119
- return SecondExplorer;
120
- }(_index.Explorer);
121
- _define_property(SecondExplorer, "defaultProperties", {
122
- className: "first",
123
- reference: "second-explorer",
124
- references: [
125
- "first-explorer"
126
- ],
127
- singleClick: false
128
- });
129
29
 
130
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvZXhwbG9yZXIvc2Vjb25kLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgeyBFeHBsb3JlciB9IGZyb20gXCIuLi8uLi8uLi9pbmRleFwiOyAgLy8vXG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIFNlY29uZEV4cGxvcmVyIGV4dGVuZHMgRXhwbG9yZXIge1xuICBkaWRNb3VudCgpIHtcbiAgICB0aGlzLmFkZEZpbGVQYXRoKFwiZGlyZWN0b3J5Mi9maWxlNC50eH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NpbmdsZUNsaWNrIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFJQTs7O2VBQXFCQTs7O3VCQUZJO0FBRVYsTUFBTUEsdUJBQXVCQyxlQUFRO0lBQ2xEQyxXQUFXO1FBQ1QsSUFBSSxDQUFDQyxXQUFXLENBQUM7UUFDakIsSUFBSSxDQUFDQSxXQUFXLENBQUM7SUFDbkI7SUFFQUMsY0FBYztJQUNaLEdBQUc7SUFDTDtJQUVBLE9BQU9DLG9CQUFvQjtRQUN6QkMsV0FBVztRQUNYQyxXQUFXO1FBQ1hDLFlBQVk7WUFDVjtTQUNEO1FBQ0RDLGFBQWE7SUFDZixFQUFFO0FBQ0oifQ==
@@ -5,96 +5,18 @@ Object.defineProperty(exports, "__esModule", {
5
5
  Object.defineProperty(exports, "default", {
6
6
  enumerable: true,
7
7
  get: function() {
8
- return _class;
8
+ return _default;
9
9
  }
10
10
  });
11
- var _index = require("../../index");
12
- function _assert_this_initialized(self) {
13
- if (self === void 0) {
14
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- }
16
- return self;
17
- }
18
- function _call_super(_this, derived, args) {
19
- derived = _get_prototype_of(derived);
20
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
21
- }
22
- function _class_call_check(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
- function _define_property(obj, key, value) {
28
- if (key in obj) {
29
- Object.defineProperty(obj, key, {
30
- value: value,
31
- enumerable: true,
32
- configurable: true,
33
- writable: true
34
- });
35
- } else {
36
- obj[key] = value;
37
- }
38
- return obj;
39
- }
40
- function _get_prototype_of(o) {
41
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
42
- return o.__proto__ || Object.getPrototypeOf(o);
11
+ const _index = require("../../index");
12
+ class _default extends _index.RubbishBin {
13
+ static defaultProperties = {
14
+ reference: "rubbish-bin",
15
+ references: [
16
+ "first-explorer",
17
+ "second-explorer"
18
+ ]
43
19
  };
44
- return _get_prototype_of(o);
45
- }
46
- function _inherits(subClass, superClass) {
47
- if (typeof superClass !== "function" && superClass !== null) {
48
- throw new TypeError("Super expression must either be null or a function");
49
- }
50
- subClass.prototype = Object.create(superClass && superClass.prototype, {
51
- constructor: {
52
- value: subClass,
53
- writable: true,
54
- configurable: true
55
- }
56
- });
57
- if (superClass) _set_prototype_of(subClass, superClass);
58
20
  }
59
- function _possible_constructor_return(self, call) {
60
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
61
- return call;
62
- }
63
- return _assert_this_initialized(self);
64
- }
65
- function _set_prototype_of(o, p) {
66
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
67
- o.__proto__ = p;
68
- return o;
69
- };
70
- return _set_prototype_of(o, p);
71
- }
72
- function _type_of(obj) {
73
- "@swc/helpers - typeof";
74
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
75
- }
76
- function _is_native_reflect_construct() {
77
- try {
78
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
79
- } catch (_) {}
80
- return (_is_native_reflect_construct = function() {
81
- return !!result;
82
- })();
83
- }
84
- var _class = /*#__PURE__*/ function(RubbishBin) {
85
- _inherits(_class, RubbishBin);
86
- function _class() {
87
- _class_call_check(this, _class);
88
- return _call_super(this, _class, arguments);
89
- }
90
- return _class;
91
- }(_index.RubbishBin);
92
- _define_property(_class, "defaultProperties", {
93
- reference: "rubbish-bin",
94
- references: [
95
- "first-explorer",
96
- "second-explorer"
97
- ]
98
- });
99
21
 
100
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9leGFtcGxlL3ZpZXcvcnViYmlzaEJpbi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJ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