easy-layout 6.0.23 → 6.0.24

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/div/column.js CHANGED
@@ -8,48 +8,37 @@ Object.defineProperty(exports, "default", {
8
8
  return _default;
9
9
  }
10
10
  });
11
- var _easyWithStyle = /*#__PURE__*/ _interopRequireDefault(require("easy-with-style"));
11
+ var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
12
  var _easy = require("easy");
13
- function _assertThisInitialized(self) {
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 _classCallCheck(instance, Constructor) {
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
  }
23
23
  }
24
- function isNativeReflectConstruct() {
25
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
26
- if (Reflect.construct.sham) return false;
27
- if (typeof Proxy === "function") return true;
28
- try {
29
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
30
- return true;
31
- } catch (e) {
32
- return false;
33
- }
34
- }
35
24
  function _construct(Parent, args, Class) {
36
- if (isNativeReflectConstruct()) {
25
+ if (_is_native_reflect_construct()) {
37
26
  _construct = Reflect.construct;
38
27
  } else {
39
- _construct = function _construct(Parent, args, Class) {
28
+ _construct = function construct(Parent, args, Class) {
40
29
  var a = [
41
30
  null
42
31
  ];
43
32
  a.push.apply(a, args);
44
33
  var Constructor = Function.bind.apply(Parent, a);
45
34
  var instance = new Constructor();
46
- if (Class) _setPrototypeOf(instance, Class.prototype);
35
+ if (Class) _set_prototype_of(instance, Class.prototype);
47
36
  return instance;
48
37
  };
49
38
  }
50
39
  return _construct.apply(null, arguments);
51
40
  }
52
- function _defineProperty(obj, key, value) {
41
+ function _define_property(obj, key, value) {
53
42
  if (key in obj) {
54
43
  Object.defineProperty(obj, key, {
55
44
  value: value,
@@ -62,11 +51,11 @@ function _defineProperty(obj, key, value) {
62
51
  }
63
52
  return obj;
64
53
  }
65
- function _getPrototypeOf(o) {
66
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
54
+ function _get_prototype_of(o) {
55
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
67
56
  return o.__proto__ || Object.getPrototypeOf(o);
68
57
  };
69
- return _getPrototypeOf(o);
58
+ return _get_prototype_of(o);
70
59
  }
71
60
  function _inherits(subClass, superClass) {
72
61
  if (typeof superClass !== "function" && superClass !== null) {
@@ -79,30 +68,30 @@ function _inherits(subClass, superClass) {
79
68
  configurable: true
80
69
  }
81
70
  });
82
- if (superClass) _setPrototypeOf(subClass, superClass);
71
+ if (superClass) _set_prototype_of(subClass, superClass);
83
72
  }
84
- function _interopRequireDefault(obj) {
73
+ function _interop_require_default(obj) {
85
74
  return obj && obj.__esModule ? obj : {
86
75
  default: obj
87
76
  };
88
77
  }
89
- function _isNativeFunction(fn) {
78
+ function _is_native_function(fn) {
90
79
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
91
80
  }
92
- function _possibleConstructorReturn(self, call) {
93
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
81
+ function _possible_constructor_return(self, call) {
82
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
94
83
  return call;
95
84
  }
96
- return _assertThisInitialized(self);
85
+ return _assert_this_initialized(self);
97
86
  }
98
- function _setPrototypeOf(o, p) {
99
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
87
+ function _set_prototype_of(o, p) {
88
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
100
89
  o.__proto__ = p;
101
90
  return o;
102
91
  };
103
- return _setPrototypeOf(o, p);
92
+ return _set_prototype_of(o, p);
104
93
  }
105
- function _taggedTemplateLiteral(strings, raw) {
94
+ function _tagged_template_literal(strings, raw) {
106
95
  if (!raw) {
107
96
  raw = strings.slice(0);
108
97
  }
@@ -112,14 +101,14 @@ function _taggedTemplateLiteral(strings, raw) {
112
101
  }
113
102
  }));
114
103
  }
115
- var _typeof = function(obj) {
104
+ function _type_of(obj) {
116
105
  "@swc/helpers - typeof";
117
106
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
118
- };
119
- function _wrapNativeSuper(Class) {
107
+ }
108
+ function _wrap_native_super(Class) {
120
109
  var _cache = typeof Map === "function" ? new Map() : undefined;
121
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
122
- if (Class === null || !_isNativeFunction(Class)) return Class;
110
+ _wrap_native_super = function wrapNativeSuper(Class) {
111
+ if (Class === null || !_is_native_function(Class)) return Class;
123
112
  if (typeof Class !== "function") {
124
113
  throw new TypeError("Super expression must either be null or a function");
125
114
  }
@@ -128,7 +117,7 @@ function _wrapNativeSuper(Class) {
128
117
  _cache.set(Class, Wrapper);
129
118
  }
130
119
  function Wrapper() {
131
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
120
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
132
121
  }
133
122
  Wrapper.prototype = Object.create(Class.prototype, {
134
123
  constructor: {
@@ -138,11 +127,11 @@ function _wrapNativeSuper(Class) {
138
127
  configurable: true
139
128
  }
140
129
  });
141
- return _setPrototypeOf(Wrapper, Class);
130
+ return _set_prototype_of(Wrapper, Class);
142
131
  };
143
- return _wrapNativeSuper(Class);
132
+ return _wrap_native_super(Class);
144
133
  }
145
- function _isNativeReflectConstruct() {
134
+ function _is_native_reflect_construct() {
146
135
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
147
136
  if (Reflect.construct.sham) return false;
148
137
  if (typeof Proxy === "function") return true;
@@ -153,21 +142,21 @@ function _isNativeReflectConstruct() {
153
142
  return false;
154
143
  }
155
144
  }
156
- function _createSuper(Derived) {
157
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
145
+ function _create_super(Derived) {
146
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
158
147
  return function _createSuperInternal() {
159
- var Super = _getPrototypeOf(Derived), result;
148
+ var Super = _get_prototype_of(Derived), result;
160
149
  if (hasNativeReflectConstruct) {
161
- var NewTarget = _getPrototypeOf(this).constructor;
150
+ var NewTarget = _get_prototype_of(this).constructor;
162
151
  result = Reflect.construct(Super, arguments, NewTarget);
163
152
  } else {
164
153
  result = Super.apply(this, arguments);
165
154
  }
166
- return _possibleConstructorReturn(this, result);
155
+ return _possible_constructor_return(this, result);
167
156
  };
168
157
  }
169
158
  function _templateObject() {
170
- var data = _taggedTemplateLiteral([
159
+ var data = _tagged_template_literal([
171
160
  "\n\n display: flex;\n flex-grow: 1;\n\n"
172
161
  ]);
173
162
  _templateObject = function _templateObject() {
@@ -177,17 +166,17 @@ function _templateObject() {
177
166
  }
178
167
  var ColumnDiv = /*#__PURE__*/ function(Element) {
179
168
  _inherits(ColumnDiv, Element);
180
- var _super = _createSuper(ColumnDiv);
169
+ var _super = _create_super(ColumnDiv);
181
170
  function ColumnDiv() {
182
- _classCallCheck(this, ColumnDiv);
171
+ _class_call_check(this, ColumnDiv);
183
172
  return _super.apply(this, arguments);
184
173
  }
185
174
  return ColumnDiv;
186
- }(_wrapNativeSuper(_easy.Element));
187
- _defineProperty(ColumnDiv, "tagName", "div");
188
- _defineProperty(ColumnDiv, "defaultProperties", {
175
+ }(_wrap_native_super(_easy.Element));
176
+ _define_property(ColumnDiv, "tagName", "div");
177
+ _define_property(ColumnDiv, "defaultProperties", {
189
178
  className: "column"
190
179
  });
191
- var _default = (0, _easyWithStyle.default)(ColumnDiv)(_templateObject());
180
+ var _default = (0, _easywithstyle.default)(ColumnDiv)(_templateObject());
192
181
 
193
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaXYvY29sdW1uLmpzIl0sInNvdXJjZXNDb250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Ozs7Ozs7Ozs7O0FBRXhCLElBQUEsQUFBTUEsMEJBUUgsQUFSSDtjQUFNQTsrQkFBQUE7YUFBQUE7Z0NBQUFBOzs7V0FBQUE7cUJBQWtCQyxhQUFPO0FBQzdCLGlCQURJRCxXQUNHRSxXQUFVO0FBRWpCLGlCQUhJRixXQUdHRyxxQkFBb0I7SUFDekJDLFdBQVc7QUFDYjtJQUdGLFdBQWVDLElBQUFBLHNCQUFTLEVBQUNMIn0=
@@ -8,48 +8,37 @@ Object.defineProperty(exports, "default", {
8
8
  return _default;
9
9
  }
10
10
  });
11
- var _easyWithStyle = /*#__PURE__*/ _interopRequireDefault(require("easy-with-style"));
11
+ var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
12
  var _easy = require("easy");
13
- function _assertThisInitialized(self) {
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 _classCallCheck(instance, Constructor) {
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
  }
23
23
  }
24
- function isNativeReflectConstruct() {
25
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
26
- if (Reflect.construct.sham) return false;
27
- if (typeof Proxy === "function") return true;
28
- try {
29
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
30
- return true;
31
- } catch (e) {
32
- return false;
33
- }
34
- }
35
24
  function _construct(Parent, args, Class) {
36
- if (isNativeReflectConstruct()) {
25
+ if (_is_native_reflect_construct()) {
37
26
  _construct = Reflect.construct;
38
27
  } else {
39
- _construct = function _construct(Parent, args, Class) {
28
+ _construct = function construct(Parent, args, Class) {
40
29
  var a = [
41
30
  null
42
31
  ];
43
32
  a.push.apply(a, args);
44
33
  var Constructor = Function.bind.apply(Parent, a);
45
34
  var instance = new Constructor();
46
- if (Class) _setPrototypeOf(instance, Class.prototype);
35
+ if (Class) _set_prototype_of(instance, Class.prototype);
47
36
  return instance;
48
37
  };
49
38
  }
50
39
  return _construct.apply(null, arguments);
51
40
  }
52
- function _defineProperty(obj, key, value) {
41
+ function _define_property(obj, key, value) {
53
42
  if (key in obj) {
54
43
  Object.defineProperty(obj, key, {
55
44
  value: value,
@@ -62,11 +51,11 @@ function _defineProperty(obj, key, value) {
62
51
  }
63
52
  return obj;
64
53
  }
65
- function _getPrototypeOf(o) {
66
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
54
+ function _get_prototype_of(o) {
55
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
67
56
  return o.__proto__ || Object.getPrototypeOf(o);
68
57
  };
69
- return _getPrototypeOf(o);
58
+ return _get_prototype_of(o);
70
59
  }
71
60
  function _inherits(subClass, superClass) {
72
61
  if (typeof superClass !== "function" && superClass !== null) {
@@ -79,30 +68,30 @@ function _inherits(subClass, superClass) {
79
68
  configurable: true
80
69
  }
81
70
  });
82
- if (superClass) _setPrototypeOf(subClass, superClass);
71
+ if (superClass) _set_prototype_of(subClass, superClass);
83
72
  }
84
- function _interopRequireDefault(obj) {
73
+ function _interop_require_default(obj) {
85
74
  return obj && obj.__esModule ? obj : {
86
75
  default: obj
87
76
  };
88
77
  }
89
- function _isNativeFunction(fn) {
78
+ function _is_native_function(fn) {
90
79
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
91
80
  }
92
- function _possibleConstructorReturn(self, call) {
93
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
81
+ function _possible_constructor_return(self, call) {
82
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
94
83
  return call;
95
84
  }
96
- return _assertThisInitialized(self);
85
+ return _assert_this_initialized(self);
97
86
  }
98
- function _setPrototypeOf(o, p) {
99
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
87
+ function _set_prototype_of(o, p) {
88
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
100
89
  o.__proto__ = p;
101
90
  return o;
102
91
  };
103
- return _setPrototypeOf(o, p);
92
+ return _set_prototype_of(o, p);
104
93
  }
105
- function _taggedTemplateLiteral(strings, raw) {
94
+ function _tagged_template_literal(strings, raw) {
106
95
  if (!raw) {
107
96
  raw = strings.slice(0);
108
97
  }
@@ -112,14 +101,14 @@ function _taggedTemplateLiteral(strings, raw) {
112
101
  }
113
102
  }));
114
103
  }
115
- var _typeof = function(obj) {
104
+ function _type_of(obj) {
116
105
  "@swc/helpers - typeof";
117
106
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
118
- };
119
- function _wrapNativeSuper(Class) {
107
+ }
108
+ function _wrap_native_super(Class) {
120
109
  var _cache = typeof Map === "function" ? new Map() : undefined;
121
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
122
- if (Class === null || !_isNativeFunction(Class)) return Class;
110
+ _wrap_native_super = function wrapNativeSuper(Class) {
111
+ if (Class === null || !_is_native_function(Class)) return Class;
123
112
  if (typeof Class !== "function") {
124
113
  throw new TypeError("Super expression must either be null or a function");
125
114
  }
@@ -128,7 +117,7 @@ function _wrapNativeSuper(Class) {
128
117
  _cache.set(Class, Wrapper);
129
118
  }
130
119
  function Wrapper() {
131
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
120
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
132
121
  }
133
122
  Wrapper.prototype = Object.create(Class.prototype, {
134
123
  constructor: {
@@ -138,11 +127,11 @@ function _wrapNativeSuper(Class) {
138
127
  configurable: true
139
128
  }
140
129
  });
141
- return _setPrototypeOf(Wrapper, Class);
130
+ return _set_prototype_of(Wrapper, Class);
142
131
  };
143
- return _wrapNativeSuper(Class);
132
+ return _wrap_native_super(Class);
144
133
  }
145
- function _isNativeReflectConstruct() {
134
+ function _is_native_reflect_construct() {
146
135
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
147
136
  if (Reflect.construct.sham) return false;
148
137
  if (typeof Proxy === "function") return true;
@@ -153,21 +142,21 @@ function _isNativeReflectConstruct() {
153
142
  return false;
154
143
  }
155
144
  }
156
- function _createSuper(Derived) {
157
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
145
+ function _create_super(Derived) {
146
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
158
147
  return function _createSuperInternal() {
159
- var Super = _getPrototypeOf(Derived), result;
148
+ var Super = _get_prototype_of(Derived), result;
160
149
  if (hasNativeReflectConstruct) {
161
- var NewTarget = _getPrototypeOf(this).constructor;
150
+ var NewTarget = _get_prototype_of(this).constructor;
162
151
  result = Reflect.construct(Super, arguments, NewTarget);
163
152
  } else {
164
153
  result = Super.apply(this, arguments);
165
154
  }
166
- return _possibleConstructorReturn(this, result);
155
+ return _possible_constructor_return(this, result);
167
156
  };
168
157
  }
169
158
  function _templateObject() {
170
- var data = _taggedTemplateLiteral([
159
+ var data = _tagged_template_literal([
171
160
  "\n\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n\n"
172
161
  ]);
173
162
  _templateObject = function _templateObject() {
@@ -177,17 +166,17 @@ function _templateObject() {
177
166
  }
178
167
  var ColumnsDiv = /*#__PURE__*/ function(Element) {
179
168
  _inherits(ColumnsDiv, Element);
180
- var _super = _createSuper(ColumnsDiv);
169
+ var _super = _create_super(ColumnsDiv);
181
170
  function ColumnsDiv() {
182
- _classCallCheck(this, ColumnsDiv);
171
+ _class_call_check(this, ColumnsDiv);
183
172
  return _super.apply(this, arguments);
184
173
  }
185
174
  return ColumnsDiv;
186
- }(_wrapNativeSuper(_easy.Element));
187
- _defineProperty(ColumnsDiv, "tagName", "div");
188
- _defineProperty(ColumnsDiv, "defaultProperties", {
175
+ }(_wrap_native_super(_easy.Element));
176
+ _define_property(ColumnsDiv, "tagName", "div");
177
+ _define_property(ColumnsDiv, "defaultProperties", {
189
178
  className: "columns"
190
179
  });
191
- var _default = (0, _easyWithStyle.default)(Colum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ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFeEIsSUFBQSxBQUFNQSwyQkFRSCxBQVJIO2NBQU1BOytCQUFBQTthQUFBQTtnQ0FBQUE7OztXQUFBQTtxQkFBbUJDLGFBQU87QUFDOUIsaUJBRElELFlBQ0dFLFdBQVU7QUFFakIsaUJBSElGLFlBR0dHLHFCQUFvQjtJQUN6QkMsV0FBVztBQUNiO0lBR0YsV0FBZUMsSUFBQUEsc0JBQVMsRUFBQ0wifQ==
package/lib/div/row.js CHANGED
@@ -8,48 +8,37 @@ Object.defineProperty(exports, "default", {
8
8
  return _default;
9
9
  }
10
10
  });
11
- var _easyWithStyle = /*#__PURE__*/ _interopRequireDefault(require("easy-with-style"));
11
+ var _easywithstyle = /*#__PURE__*/ _interop_require_default(require("easy-with-style"));
12
12
  var _easy = require("easy");
13
- function _assertThisInitialized(self) {
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 _classCallCheck(instance, Constructor) {
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
  }
23
23
  }
24
- function isNativeReflectConstruct() {
25
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
26
- if (Reflect.construct.sham) return false;
27
- if (typeof Proxy === "function") return true;
28
- try {
29
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
30
- return true;
31
- } catch (e) {
32
- return false;
33
- }
34
- }
35
24
  function _construct(Parent, args, Class) {
36
- if (isNativeReflectConstruct()) {
25
+ if (_is_native_reflect_construct()) {
37
26
  _construct = Reflect.construct;
38
27
  } else {
39
- _construct = function _construct(Parent, args, Class) {
28
+ _construct = function construct(Parent, args, Class) {
40
29
  var a = [
41
30
  null
42
31
  ];
43
32
  a.push.apply(a, args);
44
33
  var Constructor = Function.bind.apply(Parent, a);
45
34
  var instance = new Constructor();
46
- if (Class) _setPrototypeOf(instance, Class.prototype);
35
+ if (Class) _set_prototype_of(instance, Class.prototype);
47
36
  return instance;
48
37
  };
49
38
  }
50
39
  return _construct.apply(null, arguments);
51
40
  }
52
- function _defineProperty(obj, key, value) {
41
+ function _define_property(obj, key, value) {
53
42
  if (key in obj) {
54
43
  Object.defineProperty(obj, key, {
55
44
  value: value,
@@ -62,11 +51,11 @@ function _defineProperty(obj, key, value) {
62
51
  }
63
52
  return obj;
64
53
  }
65
- function _getPrototypeOf(o) {
66
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
54
+ function _get_prototype_of(o) {
55
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
67
56
  return o.__proto__ || Object.getPrototypeOf(o);
68
57
  };
69
- return _getPrototypeOf(o);
58
+ return _get_prototype_of(o);
70
59
  }
71
60
  function _inherits(subClass, superClass) {
72
61
  if (typeof superClass !== "function" && superClass !== null) {
@@ -79,30 +68,30 @@ function _inherits(subClass, superClass) {
79
68
  configurable: true
80
69
  }
81
70
  });
82
- if (superClass) _setPrototypeOf(subClass, superClass);
71
+ if (superClass) _set_prototype_of(subClass, superClass);
83
72
  }
84
- function _interopRequireDefault(obj) {
73
+ function _interop_require_default(obj) {
85
74
  return obj && obj.__esModule ? obj : {
86
75
  default: obj
87
76
  };
88
77
  }
89
- function _isNativeFunction(fn) {
78
+ function _is_native_function(fn) {
90
79
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
91
80
  }
92
- function _possibleConstructorReturn(self, call) {
93
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
81
+ function _possible_constructor_return(self, call) {
82
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
94
83
  return call;
95
84
  }
96
- return _assertThisInitialized(self);
85
+ return _assert_this_initialized(self);
97
86
  }
98
- function _setPrototypeOf(o, p) {
99
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
87
+ function _set_prototype_of(o, p) {
88
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
100
89
  o.__proto__ = p;
101
90
  return o;
102
91
  };
103
- return _setPrototypeOf(o, p);
92
+ return _set_prototype_of(o, p);
104
93
  }
105
- function _taggedTemplateLiteral(strings, raw) {
94
+ function _tagged_template_literal(strings, raw) {
106
95
  if (!raw) {
107
96
  raw = strings.slice(0);
108
97
  }
@@ -112,14 +101,14 @@ function _taggedTemplateLiteral(strings, raw) {
112
101
  }
113
102
  }));
114
103
  }
115
- var _typeof = function(obj) {
104
+ function _type_of(obj) {
116
105
  "@swc/helpers - typeof";
117
106
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
118
- };
119
- function _wrapNativeSuper(Class) {
107
+ }
108
+ function _wrap_native_super(Class) {
120
109
  var _cache = typeof Map === "function" ? new Map() : undefined;
121
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
122
- if (Class === null || !_isNativeFunction(Class)) return Class;
110
+ _wrap_native_super = function wrapNativeSuper(Class) {
111
+ if (Class === null || !_is_native_function(Class)) return Class;
123
112
  if (typeof Class !== "function") {
124
113
  throw new TypeError("Super expression must either be null or a function");
125
114
  }
@@ -128,7 +117,7 @@ function _wrapNativeSuper(Class) {
128
117
  _cache.set(Class, Wrapper);
129
118
  }
130
119
  function Wrapper() {
131
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
120
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
132
121
  }
133
122
  Wrapper.prototype = Object.create(Class.prototype, {
134
123
  constructor: {
@@ -138,11 +127,11 @@ function _wrapNativeSuper(Class) {
138
127
  configurable: true
139
128
  }
140
129
  });
141
- return _setPrototypeOf(Wrapper, Class);
130
+ return _set_prototype_of(Wrapper, Class);
142
131
  };
143
- return _wrapNativeSuper(Class);
132
+ return _wrap_native_super(Class);
144
133
  }
145
- function _isNativeReflectConstruct() {
134
+ function _is_native_reflect_construct() {
146
135
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
147
136
  if (Reflect.construct.sham) return false;
148
137
  if (typeof Proxy === "function") return true;
@@ -153,21 +142,21 @@ function _isNativeReflectConstruct() {
153
142
  return false;
154
143
  }
155
144
  }
156
- function _createSuper(Derived) {
157
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
145
+ function _create_super(Derived) {
146
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
158
147
  return function _createSuperInternal() {
159
- var Super = _getPrototypeOf(Derived), result;
148
+ var Super = _get_prototype_of(Derived), result;
160
149
  if (hasNativeReflectConstruct) {
161
- var NewTarget = _getPrototypeOf(this).constructor;
150
+ var NewTarget = _get_prototype_of(this).constructor;
162
151
  result = Reflect.construct(Super, arguments, NewTarget);
163
152
  } else {
164
153
  result = Super.apply(this, arguments);
165
154
  }
166
- return _possibleConstructorReturn(this, result);
155
+ return _possible_constructor_return(this, result);
167
156
  };
168
157
  }
169
158
  function _templateObject() {
170
- var data = _taggedTemplateLiteral([
159
+ var data = _tagged_template_literal([
171
160
  "\n\n display: flex;\n flex-grow: 1;\n\n"
172
161
  ]);
173
162
  _templateObject = function _templateObject() {
@@ -177,17 +166,17 @@ function _templateObject() {
177
166
  }
178
167
  var RowDiv = /*#__PURE__*/ function(Element) {
179
168
  _inherits(RowDiv, Element);
180
- var _super = _createSuper(RowDiv);
169
+ var _super = _create_super(RowDiv);
181
170
  function RowDiv() {
182
- _classCallCheck(this, RowDiv);
171
+ _class_call_check(this, RowDiv);
183
172
  return _super.apply(this, arguments);
184
173
  }
185
174
  return RowDiv;
186
- }(_wrapNativeSuper(_easy.Element));
187
- _defineProperty(RowDiv, "tagName", "div");
188
- _defineProperty(RowDiv, "defaultProperties", {
175
+ }(_wrap_native_super(_easy.Element));
176
+ _define_property(RowDiv, "tagName", "div");
177
+ _define_property(RowDiv, "defaultProperties", {
189
178
  className: "row"
190
179
  });
191
- var _default = (0, _easyWithStyle.default)(RowDiv)(_templateObject());
180
+ var _default = (0, _easywithstyle.default)(RowDiv)(_templateObject());
192
181
 
193
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kaXYvcm93LmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgd2l0aFN0eWxlIGZyb20gXCJlYXN5LXdpdGgtc3R5bGVcIjsgIC8vL1xuXG5pbXBvcnQgeyBFbGVtZW50IH0gZnJvbSBcImVhc3lcIjtcblxuY2xhc3MgUm93RGl2IGV4dGVuZHMgRWxlbWVudCB7XG4gIHN0YXRpYyB0YWdOYW1lID0gXCJkaXZcIjtcblxuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgY2xhc3NOYW1lOiBcInJvd1wiXG4gIH07XG59XG5cbmV4cG9ydCBkZWZhdWx0IHdpdGhTdHlsZShSb3dEaXYpYFxuXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZ3JvdzogMTtcblxuYDtcbiJdLCJuYW1lcyI6WyJSb3dEaXYiLCJFbGVtZW50IiwidGFnTmFtZSIsImRlZmF1bHRQcm9wZXJ0aWVzIiwiY2xhc3NOYW1lIiwid2l0aFN0eWxlIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFjQTs7O2VBQUE7OztrRUFac0I7b0JBRUU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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