mario-core 2.4.8 → 2.5.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/index.css +64 -38
- package/dist/index.js +110 -104
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +112 -106
- package/dist/index.modern.js.map +1 -1
- package/package.json +93 -93
- package/dist/containers/Gallery/hooks/galleryDetail.d.ts +0 -13
- package/dist/containers/Gallery/hooks/galleryList.d.ts +0 -31
- package/dist/redux/parent/action.d.ts +0 -1
- package/dist/redux/parent/reducer.d.ts +0 -2
- package/dist/redux/subjectCategories/action.d.ts +0 -1
- package/dist/redux/subjectCategories/reducer.d.ts +0 -2
package/dist/index.modern.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
2
2
|
import React, { useState, useCallback, useEffect, Suspense, useMemo, memo, Fragment, forwardRef, useImperativeHandle, useRef } from 'react';
|
|
3
|
-
import { Input,
|
|
4
|
-
import {
|
|
3
|
+
import { Input, Row, Col, Form, FormGroup, Label, Dropdown, DropdownToggle, DropdownMenu, NavLink, DropdownItem, Button, Alert, Pagination, PaginationItem, PaginationLink, Table, Modal, ModalHeader, ModalBody, ModalFooter, CustomInput, Nav, NavItem, TabContent, TabPane, Card, CardImg, CardBody, CardTitle, CardHeader, CardText } from 'reactstrap';
|
|
4
|
+
import { useHistory, Link, useLocation, Switch, Route, Prompt, useParams } from 'react-router-dom';
|
|
5
5
|
import { Formik } from 'formik';
|
|
6
6
|
import { object, string, boolean, number, array } from 'yup';
|
|
7
7
|
import { useDispatch, useSelector } from 'react-redux';
|
|
@@ -43,7 +43,7 @@ function _catch(body, recover) {
|
|
|
43
43
|
return result;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","
|
|
46
|
+
var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","block-form":"_2e7fZ","hide-in-tablet":"_2uvkV","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
|
|
47
47
|
|
|
48
48
|
var style = {
|
|
49
49
|
fontSize: "0.85rem"
|
|
@@ -57,14 +57,6 @@ var ErrorHandler = function ErrorHandler(_ref) {
|
|
|
57
57
|
}, text);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
var CloseBlock = function CloseBlock(_ref) {
|
|
61
|
-
var to = _ref.to;
|
|
62
|
-
return React.createElement(Link, {
|
|
63
|
-
to: to,
|
|
64
|
-
className: "" + styles["btn-close"]
|
|
65
|
-
}, "\xD7");
|
|
66
|
-
};
|
|
67
|
-
|
|
68
60
|
var containerStyle = {
|
|
69
61
|
height: "40px",
|
|
70
62
|
backgroundColor: "#f7f9fc",
|
|
@@ -90,7 +82,7 @@ var PasswordInput = function PasswordInput(_ref) {
|
|
|
90
82
|
className: "d-flex align-items-center w-100",
|
|
91
83
|
style: containerStyle
|
|
92
84
|
}, React.createElement(Input, {
|
|
93
|
-
className: "border
|
|
85
|
+
className: "border password-input",
|
|
94
86
|
style: inputStyle,
|
|
95
87
|
type: isShowPassword ? "text" : "password",
|
|
96
88
|
name: "password",
|
|
@@ -215,7 +207,7 @@ var CHAT_CHANNEL = "chat-channel";
|
|
|
215
207
|
var NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
|
|
216
208
|
var NEW_NOTIFICATION = "NEW_NOTIFICATION";
|
|
217
209
|
var DEFAULT_IMAGE_URL = "https://tleliteracy.com/wp-content/uploads/2017/02/default-avatar.png";
|
|
218
|
-
var EMOTIONS = ["
|
|
210
|
+
var EMOTIONS = ["Unwell", "Mad", "Stressed", "Easygoing", "Proud", "Inspired"];
|
|
219
211
|
var TAB_COLORS = {
|
|
220
212
|
reflect: "#c08497",
|
|
221
213
|
goal: "#00979b"
|
|
@@ -290,10 +282,10 @@ var apiUpload = axios.create({
|
|
|
290
282
|
}, function (error) {
|
|
291
283
|
if (error.response.status === 401) {
|
|
292
284
|
localStorage.clear();
|
|
293
|
-
window.location.href = "/";
|
|
285
|
+
window.location.href = "/login";
|
|
294
286
|
}
|
|
295
287
|
|
|
296
|
-
return Promise.reject(error
|
|
288
|
+
return Promise.reject(error);
|
|
297
289
|
});
|
|
298
290
|
});
|
|
299
291
|
|
|
@@ -330,8 +322,8 @@ var defaultInfo = {
|
|
|
330
322
|
captcha: "",
|
|
331
323
|
rememberMe: false
|
|
332
324
|
};
|
|
333
|
-
var HOMEPAGE_TEACHER = "/
|
|
334
|
-
var HOMEPAGE_STUDENT = "/
|
|
325
|
+
var HOMEPAGE_TEACHER = "/my-one-to-one/up-coming";
|
|
326
|
+
var HOMEPAGE_STUDENT = "/my-one-to-one/up-coming";
|
|
335
327
|
var HOMEPAGE_ADMIN = "/admin/dashboard";
|
|
336
328
|
var HOMEPAGE_PARENT = "/parent";
|
|
337
329
|
var HOMEPAGE_DISTRICT = "/admin/schools";
|
|
@@ -499,30 +491,39 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
499
491
|
setFieldValue = formikProps.setFieldValue;
|
|
500
492
|
var emailError = touched.email && errors.email;
|
|
501
493
|
var passwordError = touched.password && errors.password;
|
|
502
|
-
return React.createElement(
|
|
494
|
+
return React.createElement(Row, {
|
|
495
|
+
className: "" + styles["box-login"]
|
|
496
|
+
}, React.createElement(Col, {
|
|
497
|
+
lg: 4,
|
|
498
|
+
md: 4,
|
|
499
|
+
className: "" + styles["img-box"]
|
|
500
|
+
}, React.createElement("img", {
|
|
501
|
+
src: "/images/img-login.png",
|
|
502
|
+
className: "" + styles["img-login"]
|
|
503
|
+
})), React.createElement(Col, {
|
|
504
|
+
className: "p-0"
|
|
505
|
+
}, React.createElement(Form, {
|
|
503
506
|
className: "" + styles["block-login"],
|
|
504
507
|
onSubmit: handleSubmit
|
|
505
|
-
}, React.createElement(
|
|
506
|
-
|
|
507
|
-
}
|
|
508
|
+
}, React.createElement("div", {
|
|
509
|
+
className: "" + styles["block-form"]
|
|
510
|
+
}, React.createElement("p", {
|
|
508
511
|
className: "" + styles["title-login"]
|
|
509
|
-
}, "
|
|
512
|
+
}, "Sign in"), React.createElement("p", {
|
|
513
|
+
className: "recover-account"
|
|
514
|
+
}, "Lorem ipsum dolor sit amet, consectetur adipiscing elit."), React.createElement(FormGroup, {
|
|
510
515
|
className: "" + styles["form-user-name"]
|
|
511
|
-
}, React.createElement(
|
|
512
|
-
"for": "userName"
|
|
513
|
-
}, "user name"), React.createElement(Input, {
|
|
516
|
+
}, React.createElement(Input, {
|
|
514
517
|
type: "text",
|
|
515
518
|
name: "email",
|
|
516
|
-
placeholder: "
|
|
519
|
+
placeholder: "Email",
|
|
517
520
|
value: values.email,
|
|
518
521
|
onChange: handleChange,
|
|
519
522
|
onBlur: handleBlur("email"),
|
|
520
523
|
required: true
|
|
521
524
|
}), emailError && React.createElement(ErrorHandler, {
|
|
522
525
|
text: errors.email
|
|
523
|
-
})), React.createElement(FormGroup, null, React.createElement(
|
|
524
|
-
"for": "password"
|
|
525
|
-
}, "Password"), React.createElement(PasswordInput, {
|
|
526
|
+
})), React.createElement(FormGroup, null, React.createElement(PasswordInput, {
|
|
526
527
|
isShowPassword: isShowPassword,
|
|
527
528
|
togglePasswordVisible: togglePasswordVisible,
|
|
528
529
|
onChange: function onChange(e) {
|
|
@@ -533,19 +534,17 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
533
534
|
})), React.createElement(FormGroup, null, React.createElement(GoogleReCaptcha, {
|
|
534
535
|
action: "login",
|
|
535
536
|
onVerify: handleVerify
|
|
536
|
-
})), React.createElement(Col,
|
|
537
|
+
})), React.createElement(Col, {
|
|
538
|
+
className: "p-0 mt-5"
|
|
539
|
+
}, React.createElement("button", {
|
|
537
540
|
className: "" + styles["btn-login"],
|
|
538
541
|
type: "submit"
|
|
539
|
-
}, "
|
|
540
|
-
className: "d-flex justify-content-
|
|
542
|
+
}, "LOGIN")), React.createElement("div", {
|
|
543
|
+
className: "d-flex justify-content-end"
|
|
541
544
|
}, React.createElement(Link, {
|
|
542
545
|
to: "/forgot-password",
|
|
543
|
-
className: "" + styles["
|
|
544
|
-
}, "Forgot password
|
|
545
|
-
className: "" + styles["term-and-conditions"]
|
|
546
|
-
}, "Check out our ", React.createElement("a", {
|
|
547
|
-
href: ""
|
|
548
|
-
}, "Terms and Conditions")));
|
|
546
|
+
className: "" + styles["link-to-login"]
|
|
547
|
+
}, "Forgot password ?"))))));
|
|
549
548
|
});
|
|
550
549
|
};
|
|
551
550
|
|
|
@@ -735,16 +734,25 @@ var BlockForgetPassword = function BlockForgetPassword() {
|
|
|
735
734
|
values = formikProps.values,
|
|
736
735
|
touched = formikProps.touched,
|
|
737
736
|
errors = formikProps.errors;
|
|
738
|
-
return React.createElement(
|
|
739
|
-
className:
|
|
737
|
+
return React.createElement(Row, {
|
|
738
|
+
className: "" + styles["box-login"]
|
|
739
|
+
}, React.createElement(Col, {
|
|
740
|
+
lg: 4,
|
|
741
|
+
md: 4,
|
|
742
|
+
className: "" + styles["img-box"]
|
|
743
|
+
}, React.createElement("img", {
|
|
744
|
+
src: "/images/img-login.png",
|
|
745
|
+
className: "" + styles["img-login"]
|
|
746
|
+
})), React.createElement(Col, {
|
|
747
|
+
className: "p-0"
|
|
740
748
|
}, React.createElement("div", {
|
|
741
|
-
className: "
|
|
742
|
-
}, React.createElement(
|
|
743
|
-
|
|
744
|
-
}
|
|
745
|
-
className: styles["title-login"] + " "
|
|
749
|
+
className: "" + styles["block-login"]
|
|
750
|
+
}, React.createElement("div", {
|
|
751
|
+
className: "" + styles["block-form"]
|
|
752
|
+
}, React.createElement("p", {
|
|
753
|
+
className: styles["title-login"] + " "
|
|
746
754
|
}, "Forgot password"), React.createElement("p", {
|
|
747
|
-
className: "" +
|
|
755
|
+
className: styles["recover-account"] + " mb-5"
|
|
748
756
|
}, "Enter email to recover your account"), React.createElement("div", {
|
|
749
757
|
className: "w-100"
|
|
750
758
|
}, React.createElement(Label, {
|
|
@@ -761,28 +769,22 @@ var BlockForgetPassword = function BlockForgetPassword() {
|
|
|
761
769
|
})), React.createElement(GoogleReCaptcha, {
|
|
762
770
|
action: "forgetPass",
|
|
763
771
|
onVerify: handleVerify
|
|
764
|
-
}), React.createElement(Col,
|
|
765
|
-
className:
|
|
772
|
+
}), React.createElement(Col, {
|
|
773
|
+
className: "p-0"
|
|
774
|
+
}, React.createElement("button", {
|
|
775
|
+
className: styles["btn-login"] + " mt-5",
|
|
766
776
|
onClick: function onClick() {
|
|
767
777
|
return handleSubmit();
|
|
768
778
|
}
|
|
769
779
|
}, "Continue")), React.createElement("p", {
|
|
770
|
-
className:
|
|
780
|
+
className: "d-flex justify-content-end"
|
|
771
781
|
}, React.createElement(Link, {
|
|
772
782
|
to: "/login",
|
|
773
|
-
className:
|
|
774
|
-
}, "Return to login")));
|
|
783
|
+
className: "" + styles["link-to-login"]
|
|
784
|
+
}, "Return to login"))))));
|
|
775
785
|
});
|
|
776
786
|
};
|
|
777
787
|
|
|
778
|
-
var CloseButton = function CloseButton(_ref) {
|
|
779
|
-
var toggle = _ref.toggle;
|
|
780
|
-
return React.createElement("a", {
|
|
781
|
-
onClick: toggle,
|
|
782
|
-
className: "" + styles["btn-close"]
|
|
783
|
-
}, "\xD7");
|
|
784
|
-
};
|
|
785
|
-
|
|
786
788
|
var initialValues$1 = {
|
|
787
789
|
token: "",
|
|
788
790
|
password: "",
|
|
@@ -808,12 +810,6 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
808
810
|
isShowReTypePassword = _useForgotPassword.isShowReTypePassword,
|
|
809
811
|
setIsShowReTypePassword = _useForgotPassword.setIsShowReTypePassword;
|
|
810
812
|
|
|
811
|
-
var history = useHistory();
|
|
812
|
-
|
|
813
|
-
var close = function close() {
|
|
814
|
-
history.push("/login");
|
|
815
|
-
};
|
|
816
|
-
|
|
817
813
|
useEffect(function () {
|
|
818
814
|
checkResetTokenRequest(token);
|
|
819
815
|
}, []);
|
|
@@ -832,15 +828,22 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
832
828
|
useEffect(function () {
|
|
833
829
|
setFieldValue("token", token);
|
|
834
830
|
}, []);
|
|
835
|
-
return React.createElement(
|
|
836
|
-
className:
|
|
831
|
+
return React.createElement(Row, {
|
|
832
|
+
className: "" + styles["box-login"]
|
|
833
|
+
}, React.createElement(Col, {
|
|
834
|
+
lg: 4,
|
|
835
|
+
md: 4,
|
|
836
|
+
className: "" + styles["img-box"]
|
|
837
|
+
}, React.createElement("img", {
|
|
838
|
+
src: "/images/img-login.png",
|
|
839
|
+
className: "" + styles["img-login"]
|
|
840
|
+
})), React.createElement(Col, {
|
|
841
|
+
className: "p-0"
|
|
837
842
|
}, React.createElement("div", {
|
|
838
|
-
className: "
|
|
839
|
-
}, React.createElement(
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}
|
|
843
|
-
})), React.createElement("p", {
|
|
843
|
+
className: "" + styles["block-login"]
|
|
844
|
+
}, React.createElement("div", {
|
|
845
|
+
className: "" + styles["block-form"]
|
|
846
|
+
}, React.createElement("p", {
|
|
844
847
|
className: "" + styles["title-login"]
|
|
845
848
|
}, "Reset Password"), React.createElement("div", {
|
|
846
849
|
className: "w-100"
|
|
@@ -869,20 +872,22 @@ var BlockResetPassword = function BlockResetPassword() {
|
|
|
869
872
|
}), touched.reEnterPassword && errors.reEnterPassword && React.createElement(ErrorHandler, {
|
|
870
873
|
text: errors.reEnterPassword
|
|
871
874
|
})) : React.createElement(React.Fragment, null, React.createElement("p", {
|
|
872
|
-
className: "
|
|
875
|
+
className: styles["recover-account"] + " mb-5"
|
|
873
876
|
}, "Invalid reset password link"), React.createElement("p", {
|
|
874
877
|
className: "w-100"
|
|
875
|
-
}, "It may have been accessed before or expired or you have just tried to reset another account's password"))), validLink && React.createElement(Col,
|
|
878
|
+
}, "It may have been accessed before or expired or you have just tried to reset another account's password"))), validLink && React.createElement(Col, {
|
|
879
|
+
className: "p-0"
|
|
880
|
+
}, React.createElement("button", {
|
|
876
881
|
className: styles["btn-login"] + " mt-4",
|
|
877
882
|
onClick: function onClick() {
|
|
878
883
|
return handleSubmit();
|
|
879
884
|
}
|
|
880
885
|
}, "Confirm")), React.createElement("p", {
|
|
881
|
-
className: "
|
|
886
|
+
className: "d-flex justify-content-end"
|
|
882
887
|
}, React.createElement(Link, {
|
|
883
888
|
to: "/login",
|
|
884
|
-
className: "" + styles["
|
|
885
|
-
}, "Return to login")));
|
|
889
|
+
className: "" + styles["link-to-login"]
|
|
890
|
+
}, "Return to login"))))));
|
|
886
891
|
});
|
|
887
892
|
};
|
|
888
893
|
|
|
@@ -965,8 +970,8 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
|
965
970
|
return it.next.bind(it);
|
|
966
971
|
}
|
|
967
972
|
|
|
968
|
-
var HOMEPAGE_TEACHER$1 = "/
|
|
969
|
-
var HOMEPAGE_STUDENT$1 = "/
|
|
973
|
+
var HOMEPAGE_TEACHER$1 = "/my-one-to-one/up-coming";
|
|
974
|
+
var HOMEPAGE_STUDENT$1 = "/my-one-to-one/up-coming";
|
|
970
975
|
var HOMEPAGE_ADMIN$1 = "/admin/dashboard";
|
|
971
976
|
var HOMEPAGE_PARENT$1 = "/parent";
|
|
972
977
|
var HOMEPAGE_DISTRICT$1 = "/admin/schools";
|
|
@@ -1056,12 +1061,6 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
|
|
|
1056
1061
|
var _useLoginTwoFactor = useLoginTwoFactor(),
|
|
1057
1062
|
userLoginTwoFactor = _useLoginTwoFactor.userLoginTwoFactor;
|
|
1058
1063
|
|
|
1059
|
-
var history = useHistory();
|
|
1060
|
-
|
|
1061
|
-
var close = function close() {
|
|
1062
|
-
history.push("/login");
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
1064
|
return React.createElement(Formik, {
|
|
1066
1065
|
initialValues: _extends({}, initialValues$2, {
|
|
1067
1066
|
id: id
|
|
@@ -1078,21 +1077,26 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
|
|
|
1078
1077
|
handleSubmit = formikProps.handleSubmit,
|
|
1079
1078
|
touched = formikProps.touched,
|
|
1080
1079
|
errors = formikProps.errors;
|
|
1081
|
-
return React.createElement(
|
|
1082
|
-
className:
|
|
1080
|
+
return React.createElement(Row, {
|
|
1081
|
+
className: "" + styles["box-login"]
|
|
1082
|
+
}, React.createElement(Col, {
|
|
1083
|
+
lg: 4,
|
|
1084
|
+
md: 4,
|
|
1085
|
+
className: "" + styles["img-box"]
|
|
1086
|
+
}, React.createElement("img", {
|
|
1087
|
+
src: "/images/img-login.png",
|
|
1088
|
+
className: "" + styles["img-login"]
|
|
1089
|
+
})), React.createElement(Col, {
|
|
1090
|
+
className: "p-0"
|
|
1083
1091
|
}, React.createElement("div", {
|
|
1084
|
-
className: "
|
|
1085
|
-
}, React.createElement(
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1089
|
-
})), React.createElement("p", {
|
|
1092
|
+
className: "" + styles["block-login"]
|
|
1093
|
+
}, React.createElement("div", {
|
|
1094
|
+
className: "" + styles["block-form"]
|
|
1095
|
+
}, React.createElement("p", {
|
|
1090
1096
|
className: "" + styles["title-login"]
|
|
1091
1097
|
}, "Additional Verification"), React.createElement("p", {
|
|
1092
|
-
className: "
|
|
1093
|
-
},
|
|
1094
|
-
className: "w-100"
|
|
1095
|
-
}, React.createElement(FormGroup, null, React.createElement(Label, null, "Additional Verification"), React.createElement(Input, {
|
|
1098
|
+
className: "recover-account"
|
|
1099
|
+
}, "Check your email to get Additional Verification. This code will be expired in 5 minutes"), React.createElement("div", null, React.createElement(FormGroup, null, React.createElement(Label, null, "Additional Verification"), React.createElement(Input, {
|
|
1096
1100
|
name: "twoFactorCode",
|
|
1097
1101
|
value: values.twoFactorCode,
|
|
1098
1102
|
onChange: handleChange
|
|
@@ -1108,17 +1112,19 @@ var BlockTwoFactorLogin = function BlockTwoFactorLogin() {
|
|
|
1108
1112
|
}), React.createElement(Label, {
|
|
1109
1113
|
"for": "rememberMe",
|
|
1110
1114
|
className: "" + styles["remember"]
|
|
1111
|
-
}, "Remember my browser & IP"))), React.createElement(Col,
|
|
1112
|
-
className:
|
|
1115
|
+
}, "Remember my browser & IP"))), React.createElement(Col, {
|
|
1116
|
+
className: "p-0 mt-5"
|
|
1117
|
+
}, React.createElement("button", {
|
|
1118
|
+
className: styles["btn-login"] + " ",
|
|
1113
1119
|
onClick: function onClick() {
|
|
1114
1120
|
return handleSubmit();
|
|
1115
1121
|
}
|
|
1116
1122
|
}, "Confirm")), React.createElement("p", {
|
|
1117
|
-
className: "
|
|
1123
|
+
className: "d-flex justify-content-end"
|
|
1118
1124
|
}, React.createElement(Link, {
|
|
1119
1125
|
to: "/login",
|
|
1120
|
-
className: "" + styles["
|
|
1121
|
-
}, "Return to login")));
|
|
1126
|
+
className: "" + styles["link-to-login"]
|
|
1127
|
+
}, "Return to login"))))));
|
|
1122
1128
|
});
|
|
1123
1129
|
};
|
|
1124
1130
|
|
|
@@ -1146,10 +1152,10 @@ var Login = function Login(props) {
|
|
|
1146
1152
|
}, React.createElement(Row, {
|
|
1147
1153
|
className: "h-100"
|
|
1148
1154
|
}, React.createElement(Col, {
|
|
1149
|
-
lg:
|
|
1155
|
+
lg: 12,
|
|
1150
1156
|
md: 12,
|
|
1151
1157
|
xs: 12,
|
|
1152
|
-
className: "
|
|
1158
|
+
className: "d-flex justify-content-center h-100 align-items-center"
|
|
1153
1159
|
}, React.createElement(GoogleReCaptchaProvider, {
|
|
1154
1160
|
useRecaptchaNet: true,
|
|
1155
1161
|
reCaptchaKey: GOOGLE_RECAPTCHA_KEY,
|
|
@@ -1917,7 +1923,7 @@ var useFilters = function useFilters() {
|
|
|
1917
1923
|
var changeFilters = function changeFilters(updatedFilters) {
|
|
1918
1924
|
var newFilters = _extends({}, filters, updatedFilters);
|
|
1919
1925
|
|
|
1920
|
-
if (!!newFilters.searchString) {
|
|
1926
|
+
if (!!newFilters.searchString && !!updatedFilters.searchString && updatedFilters.searchString != filters.searchString) {
|
|
1921
1927
|
newFilters.currentPage = 1;
|
|
1922
1928
|
}
|
|
1923
1929
|
|