easy-navigation 2.1.10 → 2.1.11
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 +1378 -1342
- package/lib/accordion.js +10 -10
- package/lib/button/accordion.js +4 -4
- package/lib/button/navigation/accordion.js +4 -4
- package/lib/div/accordion.js +9 -9
- package/lib/example/accordion.js +9 -9
- package/lib/example/article/buttons.js +4 -4
- package/lib/example/article/codes.js +4 -4
- package/lib/example/article/headings.js +4 -4
- package/lib/example/article/home.js +4 -4
- package/lib/example/article/inputs.js +4 -4
- package/lib/example/article/links.js +4 -4
- package/lib/example/article/sections.js +4 -4
- package/lib/example/article.js +7 -7
- package/lib/example/button/link.js +4 -4
- package/lib/example/item/accordion.js +4 -4
- package/lib/example/view.js +7 -7
- package/lib/item/accordion.js +13 -13
- package/lib/item/navigation/accordion.js +7 -7
- package/lib/list/navigation/accordion.js +7 -7
- package/lib/navigation/accordion.js +7 -7
- package/package.json +2 -2
package/lib/accordion.js
CHANGED
|
@@ -37,7 +37,7 @@ function isNativeReflectConstruct() {
|
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function _construct(
|
|
40
|
+
function _construct(Parent, args, Class) {
|
|
41
41
|
if (isNativeReflectConstruct()) {
|
|
42
42
|
_construct = Reflect.construct;
|
|
43
43
|
} else {
|
|
@@ -81,11 +81,11 @@ function _defineProperty(obj, key, value) {
|
|
|
81
81
|
}
|
|
82
82
|
return obj;
|
|
83
83
|
}
|
|
84
|
-
function _getPrototypeOf(
|
|
84
|
+
function _getPrototypeOf(o) {
|
|
85
85
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
86
86
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
87
87
|
};
|
|
88
|
-
return _getPrototypeOf(
|
|
88
|
+
return _getPrototypeOf(o);
|
|
89
89
|
}
|
|
90
90
|
function _inherits(subClass, superClass) {
|
|
91
91
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -120,12 +120,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
120
120
|
}
|
|
121
121
|
return _assertThisInitialized(self);
|
|
122
122
|
}
|
|
123
|
-
function _setPrototypeOf(
|
|
123
|
+
function _setPrototypeOf(o, p) {
|
|
124
124
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
125
125
|
o.__proto__ = p;
|
|
126
126
|
return o;
|
|
127
127
|
};
|
|
128
|
-
return _setPrototypeOf(
|
|
128
|
+
return _setPrototypeOf(o, p);
|
|
129
129
|
}
|
|
130
130
|
function _taggedTemplateLiteral(strings, raw) {
|
|
131
131
|
if (!raw) {
|
|
@@ -152,7 +152,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
152
152
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
153
153
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
154
154
|
}
|
|
155
|
-
function _wrapNativeSuper(
|
|
155
|
+
function _wrapNativeSuper(Class) {
|
|
156
156
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
157
157
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
158
158
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -176,7 +176,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
176
176
|
});
|
|
177
177
|
return _setPrototypeOf(Wrapper, Class);
|
|
178
178
|
};
|
|
179
|
-
return _wrapNativeSuper(
|
|
179
|
+
return _wrapNativeSuper(Class);
|
|
180
180
|
}
|
|
181
181
|
function _isNativeReflectConstruct() {
|
|
182
182
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -229,14 +229,14 @@ var Accordion = /*#__PURE__*/ function(Element) {
|
|
|
229
229
|
{
|
|
230
230
|
key: "update",
|
|
231
231
|
value: function update(uri, instantly) {
|
|
232
|
-
var items = this.getItems(),
|
|
232
|
+
var items = this.getItems(), article = items.reduce(function(article, item) {
|
|
233
233
|
var itemArticle = item.update(uri, instantly);
|
|
234
234
|
if (itemArticle !== null) {
|
|
235
235
|
article = itemArticle; ///
|
|
236
236
|
}
|
|
237
237
|
return article;
|
|
238
238
|
}, null);
|
|
239
|
-
return
|
|
239
|
+
return article;
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
{
|
|
@@ -290,4 +290,4 @@ _defineProperty(Accordion, "defaultProperties", {
|
|
|
290
290
|
var _default = (0, _easyWithStyle).default(Accordion)(_templateObject());
|
|
291
291
|
exports.default = _default;
|
|
292
292
|
|
|
293
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
293
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hY2NvcmRpb24uanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmltcG9ydCB7IEVsZW1lbnQgfSBmcm9tIFwiZWFzeVwiO1xuXG5pbXBvcnQgQWNjb3JkaW9uSXRlbSBmcm9tIFwiLi9pdGVtL2FjY29yZGlvblwiO1xuXG5pbXBvcnQgeyBndWFyYW50ZWVBcnJheSB9IGZyb20gXCIuL3V0aWxpdGllcy9hcnJheVwiO1xuXG5jbGFzcyBBY2NvcmRpb24gZXh0ZW5kcyBFbGVtZW50IHtcbiAgZ2V0SXRlbXMoKSB7XG4gICAgY29uc3QgY2hpbGRFbGVtZW50cyA9IHRoaXMuZ2V0Q2hpbGRFbGVtZW50cygpLFxuICAgICAgICAgIGl0ZW1zID0gY2hpbGRFbGVtZW50czsgIC8vL1xuXG4gICAgcmV0dXJuIGl0ZW1zO1xuICB9XG5cbiAgdXBkYXRlKHVyaSwgaW5zdGFudGx5KSB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UFBQSxHQUFBQSxjQUFTLEFBQVcsQ0FBQSxRQUFYLENBQUMzQyxTQUFTLENBQUMifQ==
|
package/lib/button/accordion.js
CHANGED
|
@@ -43,11 +43,11 @@ function _defineProperty(obj, key, value) {
|
|
|
43
43
|
}
|
|
44
44
|
return obj;
|
|
45
45
|
}
|
|
46
|
-
function _getPrototypeOf(
|
|
46
|
+
function _getPrototypeOf(o) {
|
|
47
47
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
48
48
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
49
49
|
};
|
|
50
|
-
return _getPrototypeOf(
|
|
50
|
+
return _getPrototypeOf(o);
|
|
51
51
|
}
|
|
52
52
|
function _inherits(subClass, superClass) {
|
|
53
53
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -73,12 +73,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
73
73
|
}
|
|
74
74
|
return _assertThisInitialized(self);
|
|
75
75
|
}
|
|
76
|
-
function _setPrototypeOf(
|
|
76
|
+
function _setPrototypeOf(o, p) {
|
|
77
77
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
78
78
|
o.__proto__ = p;
|
|
79
79
|
return o;
|
|
80
80
|
};
|
|
81
|
-
return _setPrototypeOf(
|
|
81
|
+
return _setPrototypeOf(o, p);
|
|
82
82
|
}
|
|
83
83
|
function _taggedTemplateLiteral(strings, raw) {
|
|
84
84
|
if (!raw) {
|
|
@@ -43,11 +43,11 @@ function _defineProperty(obj, key, value) {
|
|
|
43
43
|
}
|
|
44
44
|
return obj;
|
|
45
45
|
}
|
|
46
|
-
function _getPrototypeOf(
|
|
46
|
+
function _getPrototypeOf(o) {
|
|
47
47
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
48
48
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
49
49
|
};
|
|
50
|
-
return _getPrototypeOf(
|
|
50
|
+
return _getPrototypeOf(o);
|
|
51
51
|
}
|
|
52
52
|
function _inherits(subClass, superClass) {
|
|
53
53
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -73,12 +73,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
73
73
|
}
|
|
74
74
|
return _assertThisInitialized(self);
|
|
75
75
|
}
|
|
76
|
-
function _setPrototypeOf(
|
|
76
|
+
function _setPrototypeOf(o, p) {
|
|
77
77
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
78
78
|
o.__proto__ = p;
|
|
79
79
|
return o;
|
|
80
80
|
};
|
|
81
|
-
return _setPrototypeOf(
|
|
81
|
+
return _setPrototypeOf(o, p);
|
|
82
82
|
}
|
|
83
83
|
function _taggedTemplateLiteral(strings, raw) {
|
|
84
84
|
if (!raw) {
|
package/lib/div/accordion.js
CHANGED
|
@@ -28,7 +28,7 @@ function isNativeReflectConstruct() {
|
|
|
28
28
|
return false;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function _construct(
|
|
31
|
+
function _construct(Parent, args, Class) {
|
|
32
32
|
if (isNativeReflectConstruct()) {
|
|
33
33
|
_construct = Reflect.construct;
|
|
34
34
|
} else {
|
|
@@ -72,7 +72,7 @@ function _defineProperty(obj, key, value) {
|
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
|
-
function _get(
|
|
75
|
+
function _get(target, property, receiver) {
|
|
76
76
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
77
77
|
_get = Reflect.get;
|
|
78
78
|
} else {
|
|
@@ -86,13 +86,13 @@ function _get(target1, property1, receiver1) {
|
|
|
86
86
|
return desc.value;
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
return _get(
|
|
89
|
+
return _get(target, property, receiver || target);
|
|
90
90
|
}
|
|
91
|
-
function _getPrototypeOf(
|
|
91
|
+
function _getPrototypeOf(o) {
|
|
92
92
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
93
93
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
94
94
|
};
|
|
95
|
-
return _getPrototypeOf(
|
|
95
|
+
return _getPrototypeOf(o);
|
|
96
96
|
}
|
|
97
97
|
function _inherits(subClass, superClass) {
|
|
98
98
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -121,12 +121,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
121
121
|
}
|
|
122
122
|
return _assertThisInitialized(self);
|
|
123
123
|
}
|
|
124
|
-
function _setPrototypeOf(
|
|
124
|
+
function _setPrototypeOf(o, p) {
|
|
125
125
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
126
126
|
o.__proto__ = p;
|
|
127
127
|
return o;
|
|
128
128
|
};
|
|
129
|
-
return _setPrototypeOf(
|
|
129
|
+
return _setPrototypeOf(o, p);
|
|
130
130
|
}
|
|
131
131
|
function _superPropBase(object, property) {
|
|
132
132
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
@@ -149,7 +149,7 @@ var _typeof = function(obj) {
|
|
|
149
149
|
"@swc/helpers - typeof";
|
|
150
150
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
151
151
|
};
|
|
152
|
-
function _wrapNativeSuper(
|
|
152
|
+
function _wrapNativeSuper(Class) {
|
|
153
153
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
154
154
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
155
155
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -173,7 +173,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
173
173
|
});
|
|
174
174
|
return _setPrototypeOf(Wrapper, Class);
|
|
175
175
|
};
|
|
176
|
-
return _wrapNativeSuper(
|
|
176
|
+
return _wrapNativeSuper(Class);
|
|
177
177
|
}
|
|
178
178
|
function _isNativeReflectConstruct() {
|
|
179
179
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
package/lib/example/accordion.js
CHANGED
|
@@ -30,11 +30,11 @@ function _defineProperty(obj, key, value) {
|
|
|
30
30
|
}
|
|
31
31
|
return obj;
|
|
32
32
|
}
|
|
33
|
-
function _getPrototypeOf(
|
|
33
|
+
function _getPrototypeOf(o) {
|
|
34
34
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
35
35
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
36
36
|
};
|
|
37
|
-
return _getPrototypeOf(
|
|
37
|
+
return _getPrototypeOf(o);
|
|
38
38
|
}
|
|
39
39
|
function _inherits(subClass, superClass) {
|
|
40
40
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -60,12 +60,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
60
60
|
}
|
|
61
61
|
return _assertThisInitialized(self);
|
|
62
62
|
}
|
|
63
|
-
function _setPrototypeOf(
|
|
63
|
+
function _setPrototypeOf(o, p) {
|
|
64
64
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
65
65
|
o.__proto__ = p;
|
|
66
66
|
return o;
|
|
67
67
|
};
|
|
68
|
-
return _setPrototypeOf(
|
|
68
|
+
return _setPrototypeOf(o, p);
|
|
69
69
|
}
|
|
70
70
|
function _taggedTemplateLiteral(strings, raw) {
|
|
71
71
|
if (!raw) {
|
|
@@ -116,13 +116,13 @@ function _templateObject() {
|
|
|
116
116
|
}
|
|
117
117
|
var _class;
|
|
118
118
|
var _default = (0, _easyWithStyle).default((_class = /*#__PURE__*/ function(Accordion) {
|
|
119
|
-
_inherits(
|
|
120
|
-
var _super = _createSuper(
|
|
121
|
-
function
|
|
122
|
-
_classCallCheck(this,
|
|
119
|
+
_inherits(_class, Accordion);
|
|
120
|
+
var _super = _createSuper(_class);
|
|
121
|
+
function _class() {
|
|
122
|
+
_classCallCheck(this, _class);
|
|
123
123
|
return _super.apply(this, arguments);
|
|
124
124
|
}
|
|
125
|
-
return
|
|
125
|
+
return _class;
|
|
126
126
|
}(_index.Accordion), _defineProperty(_class, "AccordionItem", _accordion.default), _class))(_templateObject());
|
|
127
127
|
exports.default = _default;
|
|
128
128
|
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
|
@@ -45,11 +45,11 @@ function _defineProperty(obj, key, value) {
|
|
|
45
45
|
}
|
|
46
46
|
return obj;
|
|
47
47
|
}
|
|
48
|
-
function _getPrototypeOf(
|
|
48
|
+
function _getPrototypeOf(o) {
|
|
49
49
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
50
50
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
51
51
|
};
|
|
52
|
-
return _getPrototypeOf(
|
|
52
|
+
return _getPrototypeOf(o);
|
|
53
53
|
}
|
|
54
54
|
function _inherits(subClass, superClass) {
|
|
55
55
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -75,12 +75,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
75
75
|
}
|
|
76
76
|
return _assertThisInitialized(self);
|
|
77
77
|
}
|
|
78
|
-
function _setPrototypeOf(
|
|
78
|
+
function _setPrototypeOf(o, p) {
|
|
79
79
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
80
80
|
o.__proto__ = p;
|
|
81
81
|
return o;
|
|
82
82
|
};
|
|
83
|
-
return _setPrototypeOf(
|
|
83
|
+
return _setPrototypeOf(o, p);
|
|
84
84
|
}
|
|
85
85
|
var _typeof = function(obj) {
|
|
86
86
|
"@swc/helpers - typeof";
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
|
@@ -44,11 +44,11 @@ function _defineProperty(obj, key, value) {
|
|
|
44
44
|
}
|
|
45
45
|
return obj;
|
|
46
46
|
}
|
|
47
|
-
function _getPrototypeOf(
|
|
47
|
+
function _getPrototypeOf(o) {
|
|
48
48
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
49
49
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
50
50
|
};
|
|
51
|
-
return _getPrototypeOf(
|
|
51
|
+
return _getPrototypeOf(o);
|
|
52
52
|
}
|
|
53
53
|
function _inherits(subClass, superClass) {
|
|
54
54
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -74,12 +74,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
74
74
|
}
|
|
75
75
|
return _assertThisInitialized(self);
|
|
76
76
|
}
|
|
77
|
-
function _setPrototypeOf(
|
|
77
|
+
function _setPrototypeOf(o, p) {
|
|
78
78
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
79
79
|
o.__proto__ = p;
|
|
80
80
|
return o;
|
|
81
81
|
};
|
|
82
|
-
return _setPrototypeOf(
|
|
82
|
+
return _setPrototypeOf(o, p);
|
|
83
83
|
}
|
|
84
84
|
var _typeof = function(obj) {
|
|
85
85
|
"@swc/helpers - typeof";
|
package/lib/example/article.js
CHANGED
|
@@ -27,7 +27,7 @@ function isNativeReflectConstruct() {
|
|
|
27
27
|
return false;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function _construct(
|
|
30
|
+
function _construct(Parent, args, Class) {
|
|
31
31
|
if (isNativeReflectConstruct()) {
|
|
32
32
|
_construct = Reflect.construct;
|
|
33
33
|
} else {
|
|
@@ -57,11 +57,11 @@ function _defineProperty(obj, key, value) {
|
|
|
57
57
|
}
|
|
58
58
|
return obj;
|
|
59
59
|
}
|
|
60
|
-
function _getPrototypeOf(
|
|
60
|
+
function _getPrototypeOf(o) {
|
|
61
61
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
62
62
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
63
63
|
};
|
|
64
|
-
return _getPrototypeOf(
|
|
64
|
+
return _getPrototypeOf(o);
|
|
65
65
|
}
|
|
66
66
|
function _inherits(subClass, superClass) {
|
|
67
67
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -90,12 +90,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
90
90
|
}
|
|
91
91
|
return _assertThisInitialized(self);
|
|
92
92
|
}
|
|
93
|
-
function _setPrototypeOf(
|
|
93
|
+
function _setPrototypeOf(o, p) {
|
|
94
94
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
95
95
|
o.__proto__ = p;
|
|
96
96
|
return o;
|
|
97
97
|
};
|
|
98
|
-
return _setPrototypeOf(
|
|
98
|
+
return _setPrototypeOf(o, p);
|
|
99
99
|
}
|
|
100
100
|
function _taggedTemplateLiteral(strings, raw) {
|
|
101
101
|
if (!raw) {
|
|
@@ -111,7 +111,7 @@ var _typeof = function(obj) {
|
|
|
111
111
|
"@swc/helpers - typeof";
|
|
112
112
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
113
113
|
};
|
|
114
|
-
function _wrapNativeSuper(
|
|
114
|
+
function _wrapNativeSuper(Class) {
|
|
115
115
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
116
116
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
117
117
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -135,7 +135,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
135
135
|
});
|
|
136
136
|
return _setPrototypeOf(Wrapper, Class);
|
|
137
137
|
};
|
|
138
|
-
return _wrapNativeSuper(
|
|
138
|
+
return _wrapNativeSuper(Class);
|
|
139
139
|
}
|
|
140
140
|
function _isNativeReflectConstruct() {
|
|
141
141
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -29,11 +29,11 @@ function _defineProperty(obj, key, value) {
|
|
|
29
29
|
}
|
|
30
30
|
return obj;
|
|
31
31
|
}
|
|
32
|
-
function _getPrototypeOf(
|
|
32
|
+
function _getPrototypeOf(o) {
|
|
33
33
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
34
34
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
35
|
};
|
|
36
|
-
return _getPrototypeOf(
|
|
36
|
+
return _getPrototypeOf(o);
|
|
37
37
|
}
|
|
38
38
|
function _inherits(subClass, superClass) {
|
|
39
39
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -59,12 +59,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
59
59
|
}
|
|
60
60
|
return _assertThisInitialized(self);
|
|
61
61
|
}
|
|
62
|
-
function _setPrototypeOf(
|
|
62
|
+
function _setPrototypeOf(o, p) {
|
|
63
63
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
64
64
|
o.__proto__ = p;
|
|
65
65
|
return o;
|
|
66
66
|
};
|
|
67
|
-
return _setPrototypeOf(
|
|
67
|
+
return _setPrototypeOf(o, p);
|
|
68
68
|
}
|
|
69
69
|
function _taggedTemplateLiteral(strings, raw) {
|
|
70
70
|
if (!raw) {
|
|
@@ -29,11 +29,11 @@ function _defineProperty(obj, key, value) {
|
|
|
29
29
|
}
|
|
30
30
|
return obj;
|
|
31
31
|
}
|
|
32
|
-
function _getPrototypeOf(
|
|
32
|
+
function _getPrototypeOf(o) {
|
|
33
33
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
34
34
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
35
35
|
};
|
|
36
|
-
return _getPrototypeOf(
|
|
36
|
+
return _getPrototypeOf(o);
|
|
37
37
|
}
|
|
38
38
|
function _inherits(subClass, superClass) {
|
|
39
39
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -59,12 +59,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
59
59
|
}
|
|
60
60
|
return _assertThisInitialized(self);
|
|
61
61
|
}
|
|
62
|
-
function _setPrototypeOf(
|
|
62
|
+
function _setPrototypeOf(o, p) {
|
|
63
63
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
64
64
|
o.__proto__ = p;
|
|
65
65
|
return o;
|
|
66
66
|
};
|
|
67
|
-
return _setPrototypeOf(
|
|
67
|
+
return _setPrototypeOf(o, p);
|
|
68
68
|
}
|
|
69
69
|
var _typeof = function(obj) {
|
|
70
70
|
"@swc/helpers - typeof";
|
package/lib/example/view.js
CHANGED
|
@@ -31,7 +31,7 @@ function isNativeReflectConstruct() {
|
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
function _construct(
|
|
34
|
+
function _construct(Parent, args, Class) {
|
|
35
35
|
if (isNativeReflectConstruct()) {
|
|
36
36
|
_construct = Reflect.construct;
|
|
37
37
|
} else {
|
|
@@ -75,11 +75,11 @@ function _defineProperty(obj, key, value) {
|
|
|
75
75
|
}
|
|
76
76
|
return obj;
|
|
77
77
|
}
|
|
78
|
-
function _getPrototypeOf(
|
|
78
|
+
function _getPrototypeOf(o) {
|
|
79
79
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
80
80
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
81
81
|
};
|
|
82
|
-
return _getPrototypeOf(
|
|
82
|
+
return _getPrototypeOf(o);
|
|
83
83
|
}
|
|
84
84
|
function _inherits(subClass, superClass) {
|
|
85
85
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -108,12 +108,12 @@ function _possibleConstructorReturn(self, call) {
|
|
|
108
108
|
}
|
|
109
109
|
return _assertThisInitialized(self);
|
|
110
110
|
}
|
|
111
|
-
function _setPrototypeOf(
|
|
111
|
+
function _setPrototypeOf(o, p) {
|
|
112
112
|
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
113
113
|
o.__proto__ = p;
|
|
114
114
|
return o;
|
|
115
115
|
};
|
|
116
|
-
return _setPrototypeOf(
|
|
116
|
+
return _setPrototypeOf(o, p);
|
|
117
117
|
}
|
|
118
118
|
function _taggedTemplateLiteral(strings, raw) {
|
|
119
119
|
if (!raw) {
|
|
@@ -129,7 +129,7 @@ var _typeof = function(obj) {
|
|
|
129
129
|
"@swc/helpers - typeof";
|
|
130
130
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
131
131
|
};
|
|
132
|
-
function _wrapNativeSuper(
|
|
132
|
+
function _wrapNativeSuper(Class) {
|
|
133
133
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
134
134
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
135
135
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
@@ -153,7 +153,7 @@ function _wrapNativeSuper(Class2) {
|
|
|
153
153
|
});
|
|
154
154
|
return _setPrototypeOf(Wrapper, Class);
|
|
155
155
|
};
|
|
156
|
-
return _wrapNativeSuper(
|
|
156
|
+
return _wrapNativeSuper(Class);
|
|
157
157
|
}
|
|
158
158
|
function _isNativeReflectConstruct() {
|
|
159
159
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|