easy-layout 6.0.290 → 6.0.292
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/lib/constants.js +2 -2
- package/lib/cursor.js +20 -20
- package/lib/cursors.js +5 -5
- package/lib/div/column.js +13 -151
- package/lib/div/columns.js +14 -151
- package/lib/div/row.js +13 -151
- package/lib/div/rows.js +14 -151
- package/lib/div/sizeable.js +12 -151
- package/lib/div/splitter/horizontal.js +43 -163
- package/lib/div/splitter/vertical.js +43 -163
- package/lib/div/splitter.js +86 -275
- package/lib/example/div/bottomLeft.js +11 -25
- package/lib/example/div/column/middle.js +11 -104
- package/lib/example/div/row/blue.js +11 -104
- package/lib/example/div/row/yellow.js +11 -104
- package/lib/example/div/sizeable/bottom.js +11 -104
- package/lib/example/div/sizeable/left.js +13 -104
- package/lib/example/div/sizeable/right.js +12 -104
- package/lib/example/div/splitter/horizontal/main.js +11 -104
- package/lib/example/div/splitter/pseudo.js +12 -25
- package/lib/example/div/splitter/vertical/left.js +11 -104
- package/lib/example/div/splitter/vertical/right.js +11 -104
- package/lib/example/preamble.js +2 -2
- package/lib/example/section/text.js +13 -25
- package/lib/example/view.js +29 -42
- package/lib/example.js +6 -6
- package/lib/index.js +10 -10
- package/package.json +5 -1
- package/.swcrc +0 -11
- package/bin/main.js +0 -15
- package/example.js +0 -37321
- package/index.html +0 -46
|
@@ -8,115 +8,24 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function _assert_this_initialized(self) {
|
|
14
|
-
if (self === void 0) {
|
|
15
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
-
}
|
|
17
|
-
return self;
|
|
18
|
-
}
|
|
19
|
-
function _call_super(_this, derived, args) {
|
|
20
|
-
derived = _get_prototype_of(derived);
|
|
21
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
22
|
-
}
|
|
23
|
-
function _class_call_check(instance, Constructor) {
|
|
24
|
-
if (!(instance instanceof Constructor)) {
|
|
25
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function _define_property(obj, key, value) {
|
|
29
|
-
if (key in obj) {
|
|
30
|
-
Object.defineProperty(obj, key, {
|
|
31
|
-
value: value,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true
|
|
35
|
-
});
|
|
36
|
-
} else {
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return obj;
|
|
40
|
-
}
|
|
41
|
-
function _get_prototype_of(o) {
|
|
42
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
43
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
44
|
-
};
|
|
45
|
-
return _get_prototype_of(o);
|
|
46
|
-
}
|
|
47
|
-
function _inherits(subClass, superClass) {
|
|
48
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
49
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
50
|
-
}
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
59
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _index = require("../../../index");
|
|
60
13
|
function _interop_require_default(obj) {
|
|
61
14
|
return obj && obj.__esModule ? obj : {
|
|
62
15
|
default: obj
|
|
63
16
|
};
|
|
64
17
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return _assert_this_initialized(self);
|
|
70
|
-
}
|
|
71
|
-
function _set_prototype_of(o, p) {
|
|
72
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73
|
-
o.__proto__ = p;
|
|
74
|
-
return o;
|
|
18
|
+
class LeftSizeableDiv extends _index.SizeableDiv {
|
|
19
|
+
static defaultProperties = {
|
|
20
|
+
className: "left"
|
|
75
21
|
};
|
|
76
|
-
return _set_prototype_of(o, p);
|
|
77
|
-
}
|
|
78
|
-
function _tagged_template_literal(strings, raw) {
|
|
79
|
-
if (!raw) {
|
|
80
|
-
raw = strings.slice(0);
|
|
81
|
-
}
|
|
82
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
83
|
-
raw: {
|
|
84
|
-
value: Object.freeze(raw)
|
|
85
|
-
}
|
|
86
|
-
}));
|
|
87
22
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} catch (_) {}
|
|
96
|
-
return (_is_native_reflect_construct = function() {
|
|
97
|
-
return !!result;
|
|
98
|
-
})();
|
|
99
|
-
}
|
|
100
|
-
function _templateObject() {
|
|
101
|
-
var data = _tagged_template_literal([
|
|
102
|
-
"\n\n width: 24rem;\n min-width: 12rem;\n max-width: 36rem;\n\n"
|
|
103
|
-
]);
|
|
104
|
-
_templateObject = function _templateObject() {
|
|
105
|
-
return data;
|
|
106
|
-
};
|
|
107
|
-
return data;
|
|
108
|
-
}
|
|
109
|
-
var LeftSizeableDiv = /*#__PURE__*/ function(SizeableDiv) {
|
|
110
|
-
_inherits(LeftSizeableDiv, SizeableDiv);
|
|
111
|
-
function LeftSizeableDiv() {
|
|
112
|
-
_class_call_check(this, LeftSizeableDiv);
|
|
113
|
-
return _call_super(this, LeftSizeableDiv, arguments);
|
|
114
|
-
}
|
|
115
|
-
return LeftSizeableDiv;
|
|
116
|
-
}(_index.SizeableDiv);
|
|
117
|
-
_define_property(LeftSizeableDiv, "defaultProperties", {
|
|
118
|
-
className: "left"
|
|
119
|
-
});
|
|
120
|
-
var _default = (0, _easywithstyle.default)(LeftSizeableDiv)(_templateObject());
|
|
23
|
+
const _default = (0, _easywithstyle.default)(LeftSizeableDiv)`
|
|
24
|
+
|
|
25
|
+
width: 24rem;
|
|
26
|
+
min-width: 12rem;
|
|
27
|
+
max-width: 36rem;
|
|
28
|
+
|
|
29
|
+
`;
|
|
121
30
|
|
|
122
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zaXplYWJsZS9sZWZ0LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgd2l0aFN0eWxlIGZyb20gXCJlYXN5LXdpdGgtc3R5bGVcIjsgIC8vL1xuXG5pbXBvcnQgeyBTaXplYWJsZURpdiB9IGZyb20gXCIuLi8uLi8uLi9pbmRleFwiOyAvLy9cblxuY2xhc3MgTGVmdFNpemVhYmxlRGl2IGV4dGVuZHMgU2l6ZWFibGVEaXYge1xuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgY2xhc3NOYW1lOiBcImxlZnRcIlxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoTGVmdFNpemVhYmxlRGl2KWBcblxuICB3aWR0aDogMjRyZW07XG4gIG1pbi13aWR0aDogMTJyZW07XG4gIG1heC13aWR0aDogMzZyZW07XG5cbmA7XG4iXSwibmFtZXMiOlsiTGVmdFNpemVhYmxlRGl2IiwiU2l6ZWFibGVEaXYiLCJkZWZhdWx0UHJvcGVydGllcyIsImNsYXNzTmFtZSIsIndpdGhTdHlsZSJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBWUE7OztlQUFBOzs7c0VBVnNCO3VCQUVNOzs7Ozs7QUFFNUIsTUFBTUEsd0JBQXdCQyxrQkFBVztJQUN2QyxPQUFPQyxvQkFBb0I7UUFDekJDLFdBQVc7SUFDYixFQUFFO0FBQ0o7TUFFQSxXQUFlQyxJQUFBQSxzQkFBUyxFQUFDSixnQkFBZ0IsQ0FBQzs7Ozs7O0FBTTFDLENBQUMifQ==
|
|
@@ -8,115 +8,23 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function _assert_this_initialized(self) {
|
|
14
|
-
if (self === void 0) {
|
|
15
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
-
}
|
|
17
|
-
return self;
|
|
18
|
-
}
|
|
19
|
-
function _call_super(_this, derived, args) {
|
|
20
|
-
derived = _get_prototype_of(derived);
|
|
21
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
22
|
-
}
|
|
23
|
-
function _class_call_check(instance, Constructor) {
|
|
24
|
-
if (!(instance instanceof Constructor)) {
|
|
25
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function _define_property(obj, key, value) {
|
|
29
|
-
if (key in obj) {
|
|
30
|
-
Object.defineProperty(obj, key, {
|
|
31
|
-
value: value,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true
|
|
35
|
-
});
|
|
36
|
-
} else {
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return obj;
|
|
40
|
-
}
|
|
41
|
-
function _get_prototype_of(o) {
|
|
42
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
43
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
44
|
-
};
|
|
45
|
-
return _get_prototype_of(o);
|
|
46
|
-
}
|
|
47
|
-
function _inherits(subClass, superClass) {
|
|
48
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
49
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
50
|
-
}
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
59
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _index = require("../../../index");
|
|
60
13
|
function _interop_require_default(obj) {
|
|
61
14
|
return obj && obj.__esModule ? obj : {
|
|
62
15
|
default: obj
|
|
63
16
|
};
|
|
64
17
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return _assert_this_initialized(self);
|
|
70
|
-
}
|
|
71
|
-
function _set_prototype_of(o, p) {
|
|
72
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73
|
-
o.__proto__ = p;
|
|
74
|
-
return o;
|
|
18
|
+
class RightSizeableDiv extends _index.SizeableDiv {
|
|
19
|
+
static defaultProperties = {
|
|
20
|
+
className: "right"
|
|
75
21
|
};
|
|
76
|
-
return _set_prototype_of(o, p);
|
|
77
|
-
}
|
|
78
|
-
function _tagged_template_literal(strings, raw) {
|
|
79
|
-
if (!raw) {
|
|
80
|
-
raw = strings.slice(0);
|
|
81
|
-
}
|
|
82
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
83
|
-
raw: {
|
|
84
|
-
value: Object.freeze(raw)
|
|
85
|
-
}
|
|
86
|
-
}));
|
|
87
22
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
95
|
-
} catch (_) {}
|
|
96
|
-
return (_is_native_reflect_construct = function() {
|
|
97
|
-
return !!result;
|
|
98
|
-
})();
|
|
99
|
-
}
|
|
100
|
-
function _templateObject() {
|
|
101
|
-
var data = _tagged_template_literal([
|
|
102
|
-
"\n\n width: 24rem;\n max-width: 56rem;\n\n"
|
|
103
|
-
]);
|
|
104
|
-
_templateObject = function _templateObject() {
|
|
105
|
-
return data;
|
|
106
|
-
};
|
|
107
|
-
return data;
|
|
108
|
-
}
|
|
109
|
-
var RightSizeableDiv = /*#__PURE__*/ function(SizeableDiv) {
|
|
110
|
-
_inherits(RightSizeableDiv, SizeableDiv);
|
|
111
|
-
function RightSizeableDiv() {
|
|
112
|
-
_class_call_check(this, RightSizeableDiv);
|
|
113
|
-
return _call_super(this, RightSizeableDiv, arguments);
|
|
114
|
-
}
|
|
115
|
-
return RightSizeableDiv;
|
|
116
|
-
}(_index.SizeableDiv);
|
|
117
|
-
_define_property(RightSizeableDiv, "defaultProperties", {
|
|
118
|
-
className: "right"
|
|
119
|
-
});
|
|
120
|
-
var _default = (0, _easywithstyle.default)(RightSizeableDiv)(_templateObject());
|
|
23
|
+
const _default = (0, _easywithstyle.default)(RightSizeableDiv)`
|
|
24
|
+
|
|
25
|
+
width: 24rem;
|
|
26
|
+
max-width: 56rem;
|
|
27
|
+
|
|
28
|
+
`;
|
|
121
29
|
|
|
122
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zaXplYWJsZS9yaWdodC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IHdpdGhTdHlsZSBmcm9tIFwiZWFzeS13aXRoLXN0eWxlXCI7ICAvLy9cblxuaW1wb3J0IHsgU2l6ZWFibGVEaXYgfSBmcm9tIFwiLi4vLi4vLi4vaW5kZXhcIjsgLy8vXG5cbmNsYXNzIFJpZ2h0U2l6ZWFibGVEaXYgZXh0ZW5kcyBTaXplYWJsZURpdiB7XG4gIHN0YXRpYyBkZWZhdWx0UHJvcGVydGllcyA9IHtcbiAgICBjbGFzc05hbWU6IFwicmlnaHRcIlxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoUmlnaHRTaXplYWJsZURpdilgXG5cbiAgd2lkdGg6IDI0cmVtO1xuICBtYXgtd2lkdGg6IDU2cmVtO1xuXG5gO1xuIl0sIm5hbWVzIjpbIlJpZ2h0U2l6ZWFibGVEaXYiLCJTaXplYWJsZURpdiIsImRlZmF1bHRQcm9wZXJ0aWVzIiwiY2xhc3NOYW1lIiwid2l0aFN0eWxlIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFZQTs7O2VBQUE7OztzRUFWc0I7dUJBRU07Ozs7OztBQUU1QixNQUFNQSx5QkFBeUJDLGtCQUFXO0lBQ3hDLE9BQU9DLG9CQUFvQjtRQUN6QkMsV0FBVztJQUNiLEVBQUU7QUFDSjtNQUVBLFdBQWVDLElBQUFBLHNCQUFTLEVBQUNKLGlCQUFpQixDQUFDOzs7OztBQUszQyxDQUFDIn0=
|
|
@@ -8,115 +8,22 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function _assert_this_initialized(self) {
|
|
14
|
-
if (self === void 0) {
|
|
15
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
-
}
|
|
17
|
-
return self;
|
|
18
|
-
}
|
|
19
|
-
function _call_super(_this, derived, args) {
|
|
20
|
-
derived = _get_prototype_of(derived);
|
|
21
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
22
|
-
}
|
|
23
|
-
function _class_call_check(instance, Constructor) {
|
|
24
|
-
if (!(instance instanceof Constructor)) {
|
|
25
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function _define_property(obj, key, value) {
|
|
29
|
-
if (key in obj) {
|
|
30
|
-
Object.defineProperty(obj, key, {
|
|
31
|
-
value: value,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true
|
|
35
|
-
});
|
|
36
|
-
} else {
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return obj;
|
|
40
|
-
}
|
|
41
|
-
function _get_prototype_of(o) {
|
|
42
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
43
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
44
|
-
};
|
|
45
|
-
return _get_prototype_of(o);
|
|
46
|
-
}
|
|
47
|
-
function _inherits(subClass, superClass) {
|
|
48
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
49
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
50
|
-
}
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
59
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _index = require("../../../../index");
|
|
60
13
|
function _interop_require_default(obj) {
|
|
61
14
|
return obj && obj.__esModule ? obj : {
|
|
62
15
|
default: obj
|
|
63
16
|
};
|
|
64
17
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return _assert_this_initialized(self);
|
|
70
|
-
}
|
|
71
|
-
function _set_prototype_of(o, p) {
|
|
72
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73
|
-
o.__proto__ = p;
|
|
74
|
-
return o;
|
|
18
|
+
class MainHorizontalSplitterDiv extends _index.HorizontalSplitterDiv {
|
|
19
|
+
static defaultProperties = {
|
|
20
|
+
className: "main"
|
|
75
21
|
};
|
|
76
|
-
return _set_prototype_of(o, p);
|
|
77
|
-
}
|
|
78
|
-
function _tagged_template_literal(strings, raw) {
|
|
79
|
-
if (!raw) {
|
|
80
|
-
raw = strings.slice(0);
|
|
81
|
-
}
|
|
82
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
83
|
-
raw: {
|
|
84
|
-
value: Object.freeze(raw)
|
|
85
|
-
}
|
|
86
|
-
}));
|
|
87
|
-
}
|
|
88
|
-
function _type_of(obj) {
|
|
89
|
-
"@swc/helpers - typeof";
|
|
90
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
91
|
-
}
|
|
92
|
-
function _is_native_reflect_construct() {
|
|
93
|
-
try {
|
|
94
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
95
|
-
} catch (_) {}
|
|
96
|
-
return (_is_native_reflect_construct = function() {
|
|
97
|
-
return !!result;
|
|
98
|
-
})();
|
|
99
22
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
return data;
|
|
106
|
-
};
|
|
107
|
-
return data;
|
|
108
|
-
}
|
|
109
|
-
var MainHorizontalSplitterDiv = /*#__PURE__*/ function(HorizontalSplitterDiv) {
|
|
110
|
-
_inherits(MainHorizontalSplitterDiv, HorizontalSplitterDiv);
|
|
111
|
-
function MainHorizontalSplitterDiv() {
|
|
112
|
-
_class_call_check(this, MainHorizontalSplitterDiv);
|
|
113
|
-
return _call_super(this, MainHorizontalSplitterDiv, arguments);
|
|
114
|
-
}
|
|
115
|
-
return MainHorizontalSplitterDiv;
|
|
116
|
-
}(_index.HorizontalSplitterDiv);
|
|
117
|
-
_define_property(MainHorizontalSplitterDiv, "defaultProperties", {
|
|
118
|
-
className: "main"
|
|
119
|
-
});
|
|
120
|
-
var _default = (0, _easywithstyle.default)(MainHorizontalSplitterDiv)(_templateObject());
|
|
23
|
+
const _default = (0, _easywithstyle.default)(MainHorizontalSplitterDiv)`
|
|
24
|
+
|
|
25
|
+
background-color: black;
|
|
26
|
+
|
|
27
|
+
`;
|
|
121
28
|
|
|
122
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zcGxpdHRlci9ob3Jpem9udGFsL21haW4uanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmltcG9ydCB7IEhvcml6b250YWxTcGxpdHRlckRpdiB9IGZyb20gXCIuLi8uLi8uLi8uLi9pbmRleFwiOyAgLy8vXG5cbmNsYXNzIE1haW5Ib3Jpem9udGFsU3BsaXR0ZXJEaXYgZXh0ZW5kcyBIb3Jpem9udGFsU3BsaXR0ZXJEaXYge1xuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgY2xhc3NOYW1lOiBcIm1haW5cIlxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoTWFpbkhvcml6b250YWxTcGxpdHRlckRpdilgXG5cbiAgYmFja2dyb3VuZC1jb2xvcjogYmxhY2s7XG4gIFxuYDtcbiJdLCJuYW1lcyI6WyJNYWluSG9yaXpvbnRhbFNwbGl0dGVyRGl2IiwiSG9yaXpvbnRhbFNwbGl0dGVyRGl2IiwiZGVmYXVsdFByb3BlcnRpZXMiLCJjbGFzc05hbWUiLCJ3aXRoU3R5bGUiXSwibWFwcGluZ3MiOiJBQUFBOzs7OytCQVlBOzs7ZUFBQTs7O3NFQVZzQjt1QkFFZ0I7Ozs7OztBQUV0QyxNQUFNQSxrQ0FBa0NDLDRCQUFxQjtJQUMzRCxPQUFPQyxvQkFBb0I7UUFDekJDLFdBQVc7SUFDYixFQUFFO0FBQ0o7TUFFQSxXQUFlQyxJQUFBQSxzQkFBUyxFQUFDSiwwQkFBMEIsQ0FBQzs7OztBQUlwRCxDQUFDIn0=
|
|
@@ -8,37 +8,24 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
12
|
function _interop_require_default(obj) {
|
|
13
13
|
return obj && obj.__esModule ? obj : {
|
|
14
14
|
default: obj
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
raw = strings.slice(0);
|
|
20
|
-
}
|
|
21
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
22
|
-
raw: {
|
|
23
|
-
value: Object.freeze(raw)
|
|
24
|
-
}
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
function _templateObject() {
|
|
28
|
-
var data = _tagged_template_literal([
|
|
29
|
-
"\n\n height: 0.8rem;\n flex-shrink: 0;\n background-color: black;\n\n"
|
|
30
|
-
]);
|
|
31
|
-
_templateObject = function _templateObject() {
|
|
32
|
-
return data;
|
|
33
|
-
};
|
|
34
|
-
return data;
|
|
35
|
-
}
|
|
36
|
-
var PseudoHorizontalSplitterDiv = function(properties) {
|
|
37
|
-
var className = properties.className;
|
|
17
|
+
const PseudoHorizontalSplitterDiv = (properties)=>{
|
|
18
|
+
const { className } = properties;
|
|
38
19
|
return /*#__PURE__*/ React.createElement("div", {
|
|
39
|
-
className:
|
|
20
|
+
className: `${className} pseudo horizontal splitter`
|
|
40
21
|
});
|
|
41
22
|
};
|
|
42
|
-
|
|
23
|
+
const _default = (0, _easywithstyle.default)(PseudoHorizontalSplitterDiv)`
|
|
24
|
+
|
|
25
|
+
height: 0.8rem;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
background-color: black;
|
|
28
|
+
|
|
29
|
+
`;
|
|
43
30
|
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zcGxpdHRlci9wc2V1ZG8uanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmNvbnN0IFBzZXVkb0hvcml6b250YWxTcGxpdHRlckRpdiA9IChwcm9wZXJ0aWVzKSA9PiB7XG4gIGNvbnN0IHsgY2xhc3NOYW1lIH0gPSBwcm9wZXJ0aWVzO1xuXG4gIHJldHVybiAoXG5cbiAgICA8ZGl2IGNsYXNzTmFtZT17YCR7Y2xhc3NOYW1lfSBwc2V1ZG8gaG9yaXpvbnRhbCBzcGxpdHRlcmB9IC8+
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zcGxpdHRlci9wc2V1ZG8uanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmNvbnN0IFBzZXVkb0hvcml6b250YWxTcGxpdHRlckRpdiA9IChwcm9wZXJ0aWVzKSA9PiB7XG4gIGNvbnN0IHsgY2xhc3NOYW1lIH0gPSBwcm9wZXJ0aWVzO1xuXG4gIHJldHVybiAoXG5cbiAgICA8ZGl2IGNsYXNzTmFtZT17YCR7Y2xhc3NOYW1lfSBwc2V1ZG8gaG9yaXpvbnRhbCBzcGxpdHRlcmB9IC8+XG5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IHdpdGhTdHlsZShQc2V1ZG9Ib3Jpem9udGFsU3BsaXR0ZXJEaXYpYFxuXG4gIGhlaWdodDogMC44cmVtO1xuICBmbGV4LXNocmluazogMDtcbiAgYmFja2dyb3VuZC1jb2xvcjogYmxhY2s7XG5cbmA7XG4iXSwibmFtZXMiOlsiUHNldWRvSG9yaXpvbnRhbFNwbGl0dGVyRGl2IiwicHJvcGVydGllcyIsImNsYXNzTmFtZSIsImRpdiIsIndpdGhTdHlsZSJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBY0E7OztlQUFBOzs7c0VBWnNCOzs7Ozs7QUFFdEIsTUFBTUEsOEJBQThCLENBQUNDO0lBQ25DLE1BQU0sRUFBRUMsU0FBUyxFQUFFLEdBQUdEO0lBRXRCLHFCQUVFLG9CQUFDRTtRQUFJRCxXQUFXLEdBQUdBLFVBQVUsMkJBQTJCLENBQUM7O0FBRzdEO01BRUEsV0FBZUUsSUFBQUEsc0JBQVMsRUFBQ0osNEJBQTRCLENBQUM7Ozs7OztBQU10RCxDQUFDIn0=
|
|
@@ -8,115 +8,22 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return _default;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
function _assert_this_initialized(self) {
|
|
14
|
-
if (self === void 0) {
|
|
15
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
-
}
|
|
17
|
-
return self;
|
|
18
|
-
}
|
|
19
|
-
function _call_super(_this, derived, args) {
|
|
20
|
-
derived = _get_prototype_of(derived);
|
|
21
|
-
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
22
|
-
}
|
|
23
|
-
function _class_call_check(instance, Constructor) {
|
|
24
|
-
if (!(instance instanceof Constructor)) {
|
|
25
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function _define_property(obj, key, value) {
|
|
29
|
-
if (key in obj) {
|
|
30
|
-
Object.defineProperty(obj, key, {
|
|
31
|
-
value: value,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true
|
|
35
|
-
});
|
|
36
|
-
} else {
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return obj;
|
|
40
|
-
}
|
|
41
|
-
function _get_prototype_of(o) {
|
|
42
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
43
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
44
|
-
};
|
|
45
|
-
return _get_prototype_of(o);
|
|
46
|
-
}
|
|
47
|
-
function _inherits(subClass, superClass) {
|
|
48
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
49
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
50
|
-
}
|
|
51
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
52
|
-
constructor: {
|
|
53
|
-
value: subClass,
|
|
54
|
-
writable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (superClass) _set_prototype_of(subClass, superClass);
|
|
59
|
-
}
|
|
11
|
+
const _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
|
|
12
|
+
const _index = require("../../../../index");
|
|
60
13
|
function _interop_require_default(obj) {
|
|
61
14
|
return obj && obj.__esModule ? obj : {
|
|
62
15
|
default: obj
|
|
63
16
|
};
|
|
64
17
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return _assert_this_initialized(self);
|
|
70
|
-
}
|
|
71
|
-
function _set_prototype_of(o, p) {
|
|
72
|
-
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
73
|
-
o.__proto__ = p;
|
|
74
|
-
return o;
|
|
18
|
+
class LeftVerticalSplitterDiv extends _index.VerticalSplitterDiv {
|
|
19
|
+
static defaultProperties = {
|
|
20
|
+
className: "left"
|
|
75
21
|
};
|
|
76
|
-
return _set_prototype_of(o, p);
|
|
77
|
-
}
|
|
78
|
-
function _tagged_template_literal(strings, raw) {
|
|
79
|
-
if (!raw) {
|
|
80
|
-
raw = strings.slice(0);
|
|
81
|
-
}
|
|
82
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
83
|
-
raw: {
|
|
84
|
-
value: Object.freeze(raw)
|
|
85
|
-
}
|
|
86
|
-
}));
|
|
87
22
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
try {
|
|
94
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
95
|
-
} catch (_) {}
|
|
96
|
-
return (_is_native_reflect_construct = function() {
|
|
97
|
-
return !!result;
|
|
98
|
-
})();
|
|
99
|
-
}
|
|
100
|
-
function _templateObject() {
|
|
101
|
-
var data = _tagged_template_literal([
|
|
102
|
-
"\n\n background-color: black;\n\n"
|
|
103
|
-
]);
|
|
104
|
-
_templateObject = function _templateObject() {
|
|
105
|
-
return data;
|
|
106
|
-
};
|
|
107
|
-
return data;
|
|
108
|
-
}
|
|
109
|
-
var LeftVerticalSplitterDiv = /*#__PURE__*/ function(VerticalSplitterDiv) {
|
|
110
|
-
_inherits(LeftVerticalSplitterDiv, VerticalSplitterDiv);
|
|
111
|
-
function LeftVerticalSplitterDiv() {
|
|
112
|
-
_class_call_check(this, LeftVerticalSplitterDiv);
|
|
113
|
-
return _call_super(this, LeftVerticalSplitterDiv, arguments);
|
|
114
|
-
}
|
|
115
|
-
return LeftVerticalSplitterDiv;
|
|
116
|
-
}(_index.VerticalSplitterDiv);
|
|
117
|
-
_define_property(LeftVerticalSplitterDiv, "defaultProperties", {
|
|
118
|
-
className: "left"
|
|
119
|
-
});
|
|
120
|
-
var _default = (0, _easywithstyle.default)(LeftVerticalSplitterDiv)(_templateObject());
|
|
23
|
+
const _default = (0, _easywithstyle.default)(LeftVerticalSplitterDiv)`
|
|
24
|
+
|
|
25
|
+
background-color: black;
|
|
26
|
+
|
|
27
|
+
`;
|
|
121
28
|
|
|
122
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL2Rpdi9zcGxpdHRlci92ZXJ0aWNhbC9sZWZ0LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgd2l0aFN0eWxlIGZyb20gXCJlYXN5LXdpdGgtc3R5bGVcIjsgIC8vL1xuXG5pbXBvcnQgeyBWZXJ0aWNhbFNwbGl0dGVyRGl2IH0gZnJvbSBcIi4uLy4uLy4uLy4uL2luZGV4XCI7IC8vL1xuXG5jbGFzcyBMZWZ0VmVydGljYWxTcGxpdHRlckRpdiBleHRlbmRzIFZlcnRpY2FsU3BsaXR0ZXJEaXYge1xuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgY2xhc3NOYW1lOiBcImxlZnRcIlxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoTGVmdFZlcnRpY2FsU3BsaXR0ZXJEaXYpYFxuXG4gIGJhY2tncm91bmQtY29sb3I6IGJsYWNrO1xuXG5gO1xuIl0sIm5hbWVzIjpbIkxlZnRWZXJ0aWNhbFNwbGl0dGVyRGl2IiwiVmVydGljYWxTcGxpdHRlckRpdiIsImRlZmF1bHRQcm9wZXJ0aWVzIiwiY2xhc3NOYW1lIiwid2l0aFN0eWxlIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFZQTs7O2VBQUE7OztzRUFWc0I7dUJBRWM7Ozs7OztBQUVwQyxNQUFNQSxnQ0FBZ0NDLDBCQUFtQjtJQUN2RCxPQUFPQyxvQkFBb0I7UUFDekJDLFdBQVc7SUFDYixFQUFFO0FBQ0o7TUFFQSxXQUFlQyxJQUFBQSxzQkFBUyxFQUFDSix3QkFBd0IsQ0FBQzs7OztBQUlsRCxDQUFDIn0=
|