@byteluck-fe/model-driven-core-all 2.7.0-alpha.2 → 2.7.0-alpha.3
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/dist/esm/getHackerControl.js +15 -2
- package/dist/index.umd.js +1 -1
- package/package.json +5 -5
|
@@ -23,6 +23,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
+
function _defineProperty(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
26
39
|
function _getPrototypeOf(o) {
|
|
27
40
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -98,7 +111,7 @@ export function getHackerControl(comid, type, tipMessage) {
|
|
|
98
111
|
_classCallCheck(this, HackerControl);
|
|
99
112
|
var _this;
|
|
100
113
|
_this = _super.call(this, props);
|
|
101
|
-
_this
|
|
114
|
+
_defineProperty(_assertThisInitialized(_this), "props", {});
|
|
102
115
|
return _this;
|
|
103
116
|
}
|
|
104
117
|
_createClass(HackerControl, null, [
|
|
@@ -120,7 +133,7 @@ export function getHackerControl(comid, type, tipMessage) {
|
|
|
120
133
|
_classCallCheck(this, HackerControl);
|
|
121
134
|
var _this;
|
|
122
135
|
_this = _super.call(this, props);
|
|
123
|
-
_this
|
|
136
|
+
_defineProperty(_assertThisInitialized(_this), "props", {});
|
|
124
137
|
return _this;
|
|
125
138
|
}
|
|
126
139
|
_createClass(HackerControl, null, [
|