juxtapose 4.0.51 → 4.0.53
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/examples.js +817 -873
- package/lib/example/mvcApplication/model.js +5 -5
- package/lib/example/mvcApplication/view/button/resetPassword.js +42 -53
- package/lib/example/mvcApplication/view/form/password.js +43 -54
- package/lib/example/mvcApplication/view/input/password.js +28 -28
- package/lib/example/mvcApplication/view/paragraph/message.js +39 -50
- package/lib/example/mvcApplication/view/paragraph/validationError.js +39 -50
- package/lib/example/mvcApplication/view.js +43 -54
- package/lib/example/mvcApplication.js +5 -5
- package/lib/example/simpleApplication.js +1 -1
- package/lib/examples.js +4 -4
- package/license.txt +1 -1
- package/package.json +3 -3
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "default", {
|
|
|
8
8
|
return Model;
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
12
|
if (!(instance instanceof Constructor)) {
|
|
13
13
|
throw new TypeError("Cannot call a class as a function");
|
|
14
14
|
}
|
|
@@ -22,17 +22,17 @@ function _defineProperties(target, props) {
|
|
|
22
22
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
26
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
27
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
28
|
return Constructor;
|
|
29
29
|
}
|
|
30
30
|
var Model = /*#__PURE__*/ function() {
|
|
31
31
|
function Model() {
|
|
32
|
-
|
|
32
|
+
_class_call_check(this, Model);
|
|
33
33
|
this.password = null;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
_create_class(Model, [
|
|
36
36
|
{
|
|
37
37
|
key: "setPassword",
|
|
38
38
|
value: function setPassword(password) {
|
|
@@ -49,4 +49,4 @@ var Model = /*#__PURE__*/ function() {
|
|
|
49
49
|
return Model;
|
|
50
50
|
}();
|
|
51
51
|
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9leGFtcGxlL212Y0FwcGxpY2F0aW9uL21vZGVsLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBNb2RlbCB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHRoaXMucGFzc3dvcmQgPSBudWxsO1xuICB9XG5cbiAgc2V0UGFzc3dvcmQocGFzc3dvcmQpIHtcbiAgICB0aGlzLnBhc3N3b3JkID0gcGFzc3dvcmQ7XG4gIH1cblxuICByZXNldFBhc3N3b3JkKCkge1xuICAgIHRoaXMucGFzc3dvcmQgPSBudWxsO1xuICB9XG59XG4iXSwibmFtZXMiOlsiTW9kZWwiLCJwYXNzd29yZCIsInNldFBhc3N3b3JkIiwicmVzZXRQYXNzd29yZCJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7ZUFFcUJBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQU4sSUFBQSxBQUFNQSxzQkFBTjthQUFNQTtnQ0FBQUE7UUFFakIsSUFBSSxDQUFDQyxRQUFRLEdBQUc7O2tCQUZDRDs7WUFLbkJFLEtBQUFBO21CQUFBQSxTQUFBQSxZQUFZRCxRQUFRO2dCQUNsQixJQUFJLENBQUNBLFFBQVEsR0FBR0E7WUFDbEI7OztZQUVBRSxLQUFBQTttQkFBQUEsU0FBQUE7Z0JBQ0UsSUFBSSxDQUFDRixRQUFRLEdBQUc7WUFDbEI7OztXQVhtQkQifQ==
|
|
@@ -9,41 +9,30 @@ Object.defineProperty(exports, "default", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _easy = require("easy");
|
|
12
|
-
var _controller = /*#__PURE__*/
|
|
13
|
-
function
|
|
12
|
+
var _controller = /*#__PURE__*/ _interop_require_default(require("../../controller"));
|
|
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
|
|
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 (
|
|
25
|
+
if (_is_native_reflect_construct()) {
|
|
37
26
|
_construct = Reflect.construct;
|
|
38
27
|
} else {
|
|
39
|
-
_construct = function
|
|
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)
|
|
35
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
47
36
|
return instance;
|
|
48
37
|
};
|
|
49
38
|
}
|
|
@@ -58,12 +47,12 @@ function _defineProperties(target, props) {
|
|
|
58
47
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
59
48
|
}
|
|
60
49
|
}
|
|
61
|
-
function
|
|
50
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
62
51
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
63
52
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
64
53
|
return Constructor;
|
|
65
54
|
}
|
|
66
|
-
function
|
|
55
|
+
function _define_property(obj, key, value) {
|
|
67
56
|
if (key in obj) {
|
|
68
57
|
Object.defineProperty(obj, key, {
|
|
69
58
|
value: value,
|
|
@@ -76,11 +65,11 @@ function _defineProperty(obj, key, value) {
|
|
|
76
65
|
}
|
|
77
66
|
return obj;
|
|
78
67
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
68
|
+
function _get_prototype_of(o) {
|
|
69
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
81
70
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
82
71
|
};
|
|
83
|
-
return
|
|
72
|
+
return _get_prototype_of(o);
|
|
84
73
|
}
|
|
85
74
|
function _inherits(subClass, superClass) {
|
|
86
75
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -93,37 +82,37 @@ function _inherits(subClass, superClass) {
|
|
|
93
82
|
configurable: true
|
|
94
83
|
}
|
|
95
84
|
});
|
|
96
|
-
if (superClass)
|
|
85
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
97
86
|
}
|
|
98
|
-
function
|
|
87
|
+
function _interop_require_default(obj) {
|
|
99
88
|
return obj && obj.__esModule ? obj : {
|
|
100
89
|
default: obj
|
|
101
90
|
};
|
|
102
91
|
}
|
|
103
|
-
function
|
|
92
|
+
function _is_native_function(fn) {
|
|
104
93
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
105
94
|
}
|
|
106
|
-
function
|
|
107
|
-
if (call && (
|
|
95
|
+
function _possible_constructor_return(self, call) {
|
|
96
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
108
97
|
return call;
|
|
109
98
|
}
|
|
110
|
-
return
|
|
99
|
+
return _assert_this_initialized(self);
|
|
111
100
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
101
|
+
function _set_prototype_of(o, p) {
|
|
102
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
114
103
|
o.__proto__ = p;
|
|
115
104
|
return o;
|
|
116
105
|
};
|
|
117
|
-
return
|
|
106
|
+
return _set_prototype_of(o, p);
|
|
118
107
|
}
|
|
119
|
-
|
|
108
|
+
function _type_of(obj) {
|
|
120
109
|
"@swc/helpers - typeof";
|
|
121
110
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
122
|
-
}
|
|
123
|
-
function
|
|
111
|
+
}
|
|
112
|
+
function _wrap_native_super(Class) {
|
|
124
113
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
125
|
-
|
|
126
|
-
if (Class === null || !
|
|
114
|
+
_wrap_native_super = function wrapNativeSuper(Class) {
|
|
115
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
127
116
|
if (typeof Class !== "function") {
|
|
128
117
|
throw new TypeError("Super expression must either be null or a function");
|
|
129
118
|
}
|
|
@@ -132,7 +121,7 @@ function _wrapNativeSuper(Class) {
|
|
|
132
121
|
_cache.set(Class, Wrapper);
|
|
133
122
|
}
|
|
134
123
|
function Wrapper() {
|
|
135
|
-
return _construct(Class, arguments,
|
|
124
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
136
125
|
}
|
|
137
126
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
138
127
|
constructor: {
|
|
@@ -142,11 +131,11 @@ function _wrapNativeSuper(Class) {
|
|
|
142
131
|
configurable: true
|
|
143
132
|
}
|
|
144
133
|
});
|
|
145
|
-
return
|
|
134
|
+
return _set_prototype_of(Wrapper, Class);
|
|
146
135
|
};
|
|
147
|
-
return
|
|
136
|
+
return _wrap_native_super(Class);
|
|
148
137
|
}
|
|
149
|
-
function
|
|
138
|
+
function _is_native_reflect_construct() {
|
|
150
139
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
151
140
|
if (Reflect.construct.sham) return false;
|
|
152
141
|
if (typeof Proxy === "function") return true;
|
|
@@ -157,32 +146,32 @@ function _isNativeReflectConstruct() {
|
|
|
157
146
|
return false;
|
|
158
147
|
}
|
|
159
148
|
}
|
|
160
|
-
function
|
|
161
|
-
var hasNativeReflectConstruct =
|
|
149
|
+
function _create_super(Derived) {
|
|
150
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
162
151
|
return function _createSuperInternal() {
|
|
163
|
-
var Super =
|
|
152
|
+
var Super = _get_prototype_of(Derived), result;
|
|
164
153
|
if (hasNativeReflectConstruct) {
|
|
165
|
-
var NewTarget =
|
|
154
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
166
155
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
167
156
|
} else {
|
|
168
157
|
result = Super.apply(this, arguments);
|
|
169
158
|
}
|
|
170
|
-
return
|
|
159
|
+
return _possible_constructor_return(this, result);
|
|
171
160
|
};
|
|
172
161
|
}
|
|
173
162
|
var ResetPasswordButton = /*#__PURE__*/ function(Element) {
|
|
174
163
|
_inherits(ResetPasswordButton, Element);
|
|
175
|
-
var _super =
|
|
164
|
+
var _super = _create_super(ResetPasswordButton);
|
|
176
165
|
function ResetPasswordButton() {
|
|
177
|
-
|
|
166
|
+
_class_call_check(this, ResetPasswordButton);
|
|
178
167
|
var _this;
|
|
179
168
|
_this = _super.apply(this, arguments);
|
|
180
|
-
|
|
169
|
+
_define_property(_assert_this_initialized(_this), "clickHandler", function(event, element) {
|
|
181
170
|
_controller.default.resetPassword();
|
|
182
171
|
});
|
|
183
172
|
return _this;
|
|
184
173
|
}
|
|
185
|
-
|
|
174
|
+
_create_class(ResetPasswordButton, [
|
|
186
175
|
{
|
|
187
176
|
key: "didMount",
|
|
188
177
|
value: function didMount() {
|
|
@@ -203,10 +192,10 @@ var ResetPasswordButton = /*#__PURE__*/ function(Element) {
|
|
|
203
192
|
}
|
|
204
193
|
]);
|
|
205
194
|
return ResetPasswordButton;
|
|
206
|
-
}(
|
|
207
|
-
|
|
208
|
-
|
|
195
|
+
}(_wrap_native_super(_easy.Element));
|
|
196
|
+
_define_property(ResetPasswordButton, "tagName", "button");
|
|
197
|
+
_define_property(ResetPasswordButton, "defaultProperties", {
|
|
209
198
|
className: "reset-password"
|
|
210
199
|
});
|
|
211
200
|
|
|
212
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
201
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL212Y0FwcGxpY2F0aW9uL3ZpZXcvYnV0dG9uL3Jlc2V0UGFzc3dvcmQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB7IEVsZW1lbnQgfSBmcm9tIFwiZWFzeVwiO1xuXG5pbXBvcnQgY29udHJvbGxlciBmcm9tIFwiLi4vLi4vY29udHJvbGxlclwiO1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBSZXNldFBhc3N3b3JkQnV0dG9uIGV4dGVuZHMgRWxlbWVudCB7XG4gIGNsaWNrSGFuZGxlciA9IChldmVudCwgZWxlbWVudCkgPT4ge1xuICAgIGNvbnRyb2xsZXIucmVzZXRQYXNzd29yZCgpO1xuICB9XG5cbiAgZGlkTW91bnQoKSB7XG4gICAgdGhpcy5vbkNsaWNrKHRoaXMuY2xpY2tIYW5kbGVyLCB0aGlzKTtcbiAgfVxuXG4gIHdpbGxNb3VudCgpIHtcbiAgICB0aGlzLm9mZkNsaWNrKHRoaXMuY2xpY2tIYW5kbGVyLCB0aGlzKTtcbiAgfVxuXG4gIGNoaWxkRWxlbWVudHMoKSB7XG4gICAgcmV0dXJuIFwiUmVzZXQgcGFzc3dvcmRcIjtcbiAgfVxuX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tnQkFDRSxJQUFJLENBQUNDLFFBQVEsQ0FBQyxJQUFJLENBQUNSLFlBQVksRUFBRSxJQUFJO1lBQ3ZDOzs7WUFFQVMsS0FBQUE7bUJBQUFBLFNBQUFBO2dCQUNFLE9BQU87WUFDVDs7O1dBZm1CVjtxQkFBNEJXLGFBQU87QUFpQnRELGlCQWpCbUJYLHFCQWlCWlksV0FBVTtBQUVqQixpQkFuQm1CWixxQkFtQlphLHFCQUFvQjtJQUN6QkMsV0FBVztBQUNiIn0=
|
|
@@ -9,44 +9,33 @@ Object.defineProperty(exports, "default", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _easy = require("easy");
|
|
12
|
-
var _controller = /*#__PURE__*/
|
|
13
|
-
var _password = /*#__PURE__*/
|
|
14
|
-
var _validationError = /*#__PURE__*/
|
|
12
|
+
var _controller = /*#__PURE__*/ _interop_require_default(require("../../controller"));
|
|
13
|
+
var _password = /*#__PURE__*/ _interop_require_default(require("../input/password"));
|
|
14
|
+
var _validationError = /*#__PURE__*/ _interop_require_default(require("../paragraph/validationError"));
|
|
15
15
|
var _constants = require("../../constants");
|
|
16
|
-
function
|
|
16
|
+
function _assert_this_initialized(self) {
|
|
17
17
|
if (self === void 0) {
|
|
18
18
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19
19
|
}
|
|
20
20
|
return self;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function _class_call_check(instance, Constructor) {
|
|
23
23
|
if (!(instance instanceof Constructor)) {
|
|
24
24
|
throw new TypeError("Cannot call a class as a function");
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
function isNativeReflectConstruct() {
|
|
28
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
29
|
-
if (Reflect.construct.sham) return false;
|
|
30
|
-
if (typeof Proxy === "function") return true;
|
|
31
|
-
try {
|
|
32
|
-
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
|
|
33
|
-
return true;
|
|
34
|
-
} catch (e) {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
27
|
function _construct(Parent, args, Class) {
|
|
39
|
-
if (
|
|
28
|
+
if (_is_native_reflect_construct()) {
|
|
40
29
|
_construct = Reflect.construct;
|
|
41
30
|
} else {
|
|
42
|
-
_construct = function
|
|
31
|
+
_construct = function construct(Parent, args, Class) {
|
|
43
32
|
var a = [
|
|
44
33
|
null
|
|
45
34
|
];
|
|
46
35
|
a.push.apply(a, args);
|
|
47
36
|
var Constructor = Function.bind.apply(Parent, a);
|
|
48
37
|
var instance = new Constructor();
|
|
49
|
-
if (Class)
|
|
38
|
+
if (Class) _set_prototype_of(instance, Class.prototype);
|
|
50
39
|
return instance;
|
|
51
40
|
};
|
|
52
41
|
}
|
|
@@ -61,12 +50,12 @@ function _defineProperties(target, props) {
|
|
|
61
50
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
62
51
|
}
|
|
63
52
|
}
|
|
64
|
-
function
|
|
53
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
65
54
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
66
55
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
67
56
|
return Constructor;
|
|
68
57
|
}
|
|
69
|
-
function
|
|
58
|
+
function _define_property(obj, key, value) {
|
|
70
59
|
if (key in obj) {
|
|
71
60
|
Object.defineProperty(obj, key, {
|
|
72
61
|
value: value,
|
|
@@ -79,11 +68,11 @@ function _defineProperty(obj, key, value) {
|
|
|
79
68
|
}
|
|
80
69
|
return obj;
|
|
81
70
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
71
|
+
function _get_prototype_of(o) {
|
|
72
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
84
73
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
85
74
|
};
|
|
86
|
-
return
|
|
75
|
+
return _get_prototype_of(o);
|
|
87
76
|
}
|
|
88
77
|
function _inherits(subClass, superClass) {
|
|
89
78
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -96,37 +85,37 @@ function _inherits(subClass, superClass) {
|
|
|
96
85
|
configurable: true
|
|
97
86
|
}
|
|
98
87
|
});
|
|
99
|
-
if (superClass)
|
|
88
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
100
89
|
}
|
|
101
|
-
function
|
|
90
|
+
function _interop_require_default(obj) {
|
|
102
91
|
return obj && obj.__esModule ? obj : {
|
|
103
92
|
default: obj
|
|
104
93
|
};
|
|
105
94
|
}
|
|
106
|
-
function
|
|
95
|
+
function _is_native_function(fn) {
|
|
107
96
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
108
97
|
}
|
|
109
|
-
function
|
|
110
|
-
if (call && (
|
|
98
|
+
function _possible_constructor_return(self, call) {
|
|
99
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
111
100
|
return call;
|
|
112
101
|
}
|
|
113
|
-
return
|
|
102
|
+
return _assert_this_initialized(self);
|
|
114
103
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
104
|
+
function _set_prototype_of(o, p) {
|
|
105
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
117
106
|
o.__proto__ = p;
|
|
118
107
|
return o;
|
|
119
108
|
};
|
|
120
|
-
return
|
|
109
|
+
return _set_prototype_of(o, p);
|
|
121
110
|
}
|
|
122
|
-
|
|
111
|
+
function _type_of(obj) {
|
|
123
112
|
"@swc/helpers - typeof";
|
|
124
113
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
125
|
-
}
|
|
126
|
-
function
|
|
114
|
+
}
|
|
115
|
+
function _wrap_native_super(Class) {
|
|
127
116
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
128
|
-
|
|
129
|
-
if (Class === null || !
|
|
117
|
+
_wrap_native_super = function wrapNativeSuper(Class) {
|
|
118
|
+
if (Class === null || !_is_native_function(Class)) return Class;
|
|
130
119
|
if (typeof Class !== "function") {
|
|
131
120
|
throw new TypeError("Super expression must either be null or a function");
|
|
132
121
|
}
|
|
@@ -135,7 +124,7 @@ function _wrapNativeSuper(Class) {
|
|
|
135
124
|
_cache.set(Class, Wrapper);
|
|
136
125
|
}
|
|
137
126
|
function Wrapper() {
|
|
138
|
-
return _construct(Class, arguments,
|
|
127
|
+
return _construct(Class, arguments, _get_prototype_of(this).constructor);
|
|
139
128
|
}
|
|
140
129
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
141
130
|
constructor: {
|
|
@@ -145,11 +134,11 @@ function _wrapNativeSuper(Class) {
|
|
|
145
134
|
configurable: true
|
|
146
135
|
}
|
|
147
136
|
});
|
|
148
|
-
return
|
|
137
|
+
return _set_prototype_of(Wrapper, Class);
|
|
149
138
|
};
|
|
150
|
-
return
|
|
139
|
+
return _wrap_native_super(Class);
|
|
151
140
|
}
|
|
152
|
-
function
|
|
141
|
+
function _is_native_reflect_construct() {
|
|
153
142
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
154
143
|
if (Reflect.construct.sham) return false;
|
|
155
144
|
if (typeof Proxy === "function") return true;
|
|
@@ -160,27 +149,27 @@ function _isNativeReflectConstruct() {
|
|
|
160
149
|
return false;
|
|
161
150
|
}
|
|
162
151
|
}
|
|
163
|
-
function
|
|
164
|
-
var hasNativeReflectConstruct =
|
|
152
|
+
function _create_super(Derived) {
|
|
153
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
165
154
|
return function _createSuperInternal() {
|
|
166
|
-
var Super =
|
|
155
|
+
var Super = _get_prototype_of(Derived), result;
|
|
167
156
|
if (hasNativeReflectConstruct) {
|
|
168
|
-
var NewTarget =
|
|
157
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
169
158
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
170
159
|
} else {
|
|
171
160
|
result = Super.apply(this, arguments);
|
|
172
161
|
}
|
|
173
|
-
return
|
|
162
|
+
return _possible_constructor_return(this, result);
|
|
174
163
|
};
|
|
175
164
|
}
|
|
176
165
|
var PasswordForm = /*#__PURE__*/ function(Element) {
|
|
177
166
|
_inherits(PasswordForm, Element);
|
|
178
|
-
var _super =
|
|
167
|
+
var _super = _create_super(PasswordForm);
|
|
179
168
|
function PasswordForm() {
|
|
180
|
-
|
|
169
|
+
_class_call_check(this, PasswordForm);
|
|
181
170
|
return _super.apply(this, arguments);
|
|
182
171
|
}
|
|
183
|
-
|
|
172
|
+
_create_class(PasswordForm, [
|
|
184
173
|
{
|
|
185
174
|
key: "validateAndSubmitForm",
|
|
186
175
|
value: function validateAndSubmitForm() {
|
|
@@ -232,9 +221,9 @@ var PasswordForm = /*#__PURE__*/ function(Element) {
|
|
|
232
221
|
}
|
|
233
222
|
]);
|
|
234
223
|
return PasswordForm;
|
|
235
|
-
}(
|
|
236
|
-
|
|
237
|
-
|
|
224
|
+
}(_wrap_native_super(_easy.Element));
|
|
225
|
+
_define_property(PasswordForm, "tagName", "form");
|
|
226
|
+
_define_property(PasswordForm, "defaultProperties", {
|
|
238
227
|
className: "password"
|
|
239
228
|
});
|
|
240
229
|
function isPasswordValid(password) {
|
|
@@ -242,4 +231,4 @@ function isPasswordValid(password) {
|
|
|
242
231
|
return passwordValid;
|
|
243
232
|
}
|
|
244
233
|
|
|
245
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
234
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL212Y0FwcGxpY2F0aW9uL3ZpZXcvZm9ybS9wYXNzd29yZC5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IHsgRWxlbWVudCwgQnV0dG9uIH0gZnJvbSBcImVhc3lcIjtcblxuaW1wb3J0IGNvbnRyb2xsZXIgZnJvbSBcIi4uLy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FBQUE7Z0JBQ0UsSUFBTUMsV0FBVyxJQUFJLENBQUNDLFdBQVc7Z0JBRWpDRSxtQkFBVSxDQUFDQyxXQUFXLENBQUNKO2dCQUV2QixJQUFJLENBQUNLLGFBQWE7WUFDcEI7OztZQUVBQyxLQUFBQTttQkFBQUEsU0FBQUE7O2dCQUNFLE9BQU87a0NBRUwsb0JBQUNDLGlCQUFhO2tDQUNkLG9CQUFDQyx3QkFBd0I7a0NBQ3pCLG9CQUFDQyxZQUFNO3dCQUFDQyxXQUFVO3dCQUNWQyxTQUFTLFNBQUNDLE9BQU9DOzRCQUVmRCxNQUFNRSxjQUFjOzRCQUVwQixNQUFLbkIscUJBQXFCO3dCQUU1Qjt1QkFDUDtpQkFJRjtZQUNIOzs7WUFFQW9CLEtBQUFBO21CQUFBQSxTQUFBQTtnQkFDRSxJQUFJLENBQUNDLGFBQWE7WUFDcEI7OztXQWhEbUJ0QjtxQkFBcUJ1QixhQUFPO0FBa0QvQyxpQkFsRG1CdkIsY0FrRFp3QixXQUFVO0FBRWpCLGlCQXBEbUJ4QixjQW9EWnlCLHFCQUFvQjtJQUN6QlQsV0FBVztBQUNiO0FBR0YsU0FBU1IsZ0JBQWdCRixRQUFRO0lBQy9CLElBQU1KLGdCQUFpQkksYUFBYW9CLHVCQUFZO0lBRWhELE9BQU94QjtBQUNUIn0=
|
|
@@ -10,13 +10,13 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
});
|
|
11
11
|
var _easy = require("easy");
|
|
12
12
|
var _constants = require("../../constants");
|
|
13
|
-
function
|
|
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
|
|
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
|
}
|
|
@@ -30,12 +30,12 @@ function _defineProperties(target, props) {
|
|
|
30
30
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
34
34
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
35
35
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
36
36
|
return Constructor;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function _define_property(obj, key, value) {
|
|
39
39
|
if (key in obj) {
|
|
40
40
|
Object.defineProperty(obj, key, {
|
|
41
41
|
value: value,
|
|
@@ -48,11 +48,11 @@ function _defineProperty(obj, key, value) {
|
|
|
48
48
|
}
|
|
49
49
|
return obj;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
51
|
+
function _get_prototype_of(o) {
|
|
52
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
53
53
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
54
54
|
};
|
|
55
|
-
return
|
|
55
|
+
return _get_prototype_of(o);
|
|
56
56
|
}
|
|
57
57
|
function _inherits(subClass, superClass) {
|
|
58
58
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -65,26 +65,26 @@ function _inherits(subClass, superClass) {
|
|
|
65
65
|
configurable: true
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
if (superClass)
|
|
68
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
if (call && (
|
|
70
|
+
function _possible_constructor_return(self, call) {
|
|
71
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
72
72
|
return call;
|
|
73
73
|
}
|
|
74
|
-
return
|
|
74
|
+
return _assert_this_initialized(self);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
76
|
+
function _set_prototype_of(o, p) {
|
|
77
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
78
78
|
o.__proto__ = p;
|
|
79
79
|
return o;
|
|
80
80
|
};
|
|
81
|
-
return
|
|
81
|
+
return _set_prototype_of(o, p);
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
function _type_of(obj) {
|
|
84
84
|
"@swc/helpers - typeof";
|
|
85
85
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
86
|
-
}
|
|
87
|
-
function
|
|
86
|
+
}
|
|
87
|
+
function _is_native_reflect_construct() {
|
|
88
88
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
89
89
|
if (Reflect.construct.sham) return false;
|
|
90
90
|
if (typeof Proxy === "function") return true;
|
|
@@ -95,27 +95,27 @@ function _isNativeReflectConstruct() {
|
|
|
95
95
|
return false;
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
var hasNativeReflectConstruct =
|
|
98
|
+
function _create_super(Derived) {
|
|
99
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
100
100
|
return function _createSuperInternal() {
|
|
101
|
-
var Super =
|
|
101
|
+
var Super = _get_prototype_of(Derived), result;
|
|
102
102
|
if (hasNativeReflectConstruct) {
|
|
103
|
-
var NewTarget =
|
|
103
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
104
104
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
105
105
|
} else {
|
|
106
106
|
result = Super.apply(this, arguments);
|
|
107
107
|
}
|
|
108
|
-
return
|
|
108
|
+
return _possible_constructor_return(this, result);
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
111
|
var PasswordInput = /*#__PURE__*/ function(InputElement) {
|
|
112
112
|
_inherits(PasswordInput, InputElement);
|
|
113
|
-
var _super =
|
|
113
|
+
var _super = _create_super(PasswordInput);
|
|
114
114
|
function PasswordInput() {
|
|
115
|
-
|
|
115
|
+
_class_call_check(this, PasswordInput);
|
|
116
116
|
return _super.apply(this, arguments);
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
_create_class(PasswordInput, [
|
|
119
119
|
{
|
|
120
120
|
key: "getPassword",
|
|
121
121
|
value: function getPassword() {
|
|
@@ -143,9 +143,9 @@ var PasswordInput = /*#__PURE__*/ function(InputElement) {
|
|
|
143
143
|
]);
|
|
144
144
|
return PasswordInput;
|
|
145
145
|
}(_easy.InputElement);
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
_define_property(PasswordInput, "tagName", "input");
|
|
147
|
+
_define_property(PasswordInput, "defaultProperties", {
|
|
148
148
|
type: "password"
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
151
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9leGFtcGxlL212Y0FwcGxpY2F0aW9uL3ZpZXcvaW5wdXQvcGFzc3dvcmQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB7IElucHV0RWxlbWVudCB9IGZyb20gXCJlYXN5XCI7XG5cbmltcG9ydCB7IEVNUFRZX1NUUklORyB9IGZyb20gXCIuLi8uLi9jb25zdGFudHNcIjtcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgUGFzc3dvcmRJbnB1dCBleHRlbmRzIElucHV0RWxlbWVudCB7XG4gIGdldFBhc3N3b3JkKCkge1xuICAgIGNvbnN0IHZhbHVlID0gdGhpcy5nZXRWYWx1ZSgpLFxuICAgICAgICAgIHBhc3N3b3JkID0gdmFsdWU7IC8vL1xuXG4gICAgcmV0dXJuIHBhc3N3b3JkO1xuICB9XG5cbiAgY2xlYXJQYXNzd29yZCgpIHtcbiAgICBjb25zdCBwYXNzd29yZCA9IEVNUFRZX1NUUklORyxcbiAgICAgICA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