@tap-payments/auth-jsconnect 2.6.36-test → 2.6.37-test
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.
|
@@ -15,7 +15,7 @@ export var MAX_FILE_SIZE = 5000000;
|
|
|
15
15
|
export var MAX_FILE_SIZE_FOUR_MB = 4000000;
|
|
16
16
|
export var VALID_FILE_FORMATS = ['image/jpeg', 'image/png', 'image/jpg', 'application/pdf'];
|
|
17
17
|
export var VALID_FILE_FORMATS_FOR_IMAGE = ['image/jpeg', 'image/png', 'image/jpg'];
|
|
18
|
-
export var REGEX_FULL_NAME = /^
|
|
18
|
+
export var REGEX_FULL_NAME = /^[a-z]{3,} ([a-z] ?)*[a-z]{3,}$/gi;
|
|
19
19
|
export var REGEX_WEBSITE = /^[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9]+)*\.[a-zA-Z]{2,63}(:[0-9]{1,5})?(\/.*)?$/;
|
|
20
20
|
export var REGEX_BENEFICIARY_NAME = /^([\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z()\s])*$/g;
|
|
21
21
|
export var REGEX_ALPHANUMERIC = /^[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/? ]*$/g;
|
|
@@ -854,7 +854,7 @@ export var businessSlice = createSlice({
|
|
|
854
854
|
var _g = action.payload, data = _g.data, boardId = _g.boardId, brandData = _g.brandData, leadData = _g.leadData, token = _g.token, isRequireOTP = _g.isRequireOTP, isicActivityList = _g.isicActivityList, currencyData = _g.currencyData;
|
|
855
855
|
var responseBody = state.data.verify.responseBody;
|
|
856
856
|
state.data.verify.responseBody = __assign(__assign(__assign(__assign(__assign({}, data), leadData), responseBody), { board_id: boardId, lead_id: data === null || data === void 0 ? void 0 : data.id }), (brandData && { brand: brandData }));
|
|
857
|
-
var identification =
|
|
857
|
+
var _h = leadData || {}, identification = _h.identification, date_of_birth = _h.date_of_birth;
|
|
858
858
|
if (identification === null || identification === void 0 ? void 0 : identification.id)
|
|
859
859
|
state.data.nidData.nid = identification.id;
|
|
860
860
|
if (date_of_birth)
|
|
@@ -866,13 +866,13 @@ export var businessSlice = createSlice({
|
|
|
866
866
|
state.data.otpData.isNID = false;
|
|
867
867
|
if (isRequireOTP)
|
|
868
868
|
return;
|
|
869
|
-
var
|
|
869
|
+
var _j = state.data.verify.responseBody || {}, entity = _j.entity, entity_activities = _j.entity_activities, business_name = _j.business_name;
|
|
870
870
|
if (business_name === null || business_name === void 0 ? void 0 : business_name.en)
|
|
871
871
|
state.data.businessTypeData.entityLegalName = business_name === null || business_name === void 0 ? void 0 : business_name.en;
|
|
872
872
|
var issuingDate = ((_a = brandData === null || brandData === void 0 ? void 0 : brandData.operations) === null || _a === void 0 ? void 0 : _a.start_date) || ((_b = entity === null || entity === void 0 ? void 0 : entity.license) === null || _b === void 0 ? void 0 : _b.issuing_date);
|
|
873
873
|
if (issuingDate)
|
|
874
874
|
state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
|
|
875
|
-
var
|
|
875
|
+
var _k = brandData || {}, terms = _k.terms, activities = _k.activities;
|
|
876
876
|
var entityActivities = (entity_activities === null || entity_activities === void 0 ? void 0 : entity_activities.filter(function (activity) {
|
|
877
877
|
return !(activities === null || activities === void 0 ? void 0 : activities.some(function (value) { return value.id === activity.id; }));
|
|
878
878
|
})) || [];
|
|
@@ -924,13 +924,20 @@ export var businessSlice = createSlice({
|
|
|
924
924
|
if ((_a = currencyData === null || currencyData === void 0 ? void 0 : currencyData.code) === null || _a === void 0 ? void 0 : _a.english)
|
|
925
925
|
state.data.currency = currencyData.code.english;
|
|
926
926
|
state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, leadData), state.data.verify.responseBody), (brand && { brand: brand })), { flows: (leadData === null || leadData === void 0 ? void 0 : leadData.flows) || [] });
|
|
927
|
-
var _h = leadData || {},
|
|
927
|
+
var _h = leadData || {}, identification = _h.identification, date_of_birth = _h.date_of_birth;
|
|
928
|
+
if (identification === null || identification === void 0 ? void 0 : identification.id)
|
|
929
|
+
state.data.nidData.nid = identification.id;
|
|
930
|
+
if (date_of_birth)
|
|
931
|
+
state.data.nidData.dob = dateFormat(date_of_birth);
|
|
932
|
+
if (identification === null || identification === void 0 ? void 0 : identification.type)
|
|
933
|
+
state.data.nidData.type = identification.type;
|
|
934
|
+
var _j = leadData || {}, entity = _j.entity, entity_activities = _j.entity_activities, business_name = _j.business_name;
|
|
928
935
|
if (business_name === null || business_name === void 0 ? void 0 : business_name.en)
|
|
929
936
|
state.data.businessTypeData.entityLegalName = business_name === null || business_name === void 0 ? void 0 : business_name.en;
|
|
930
937
|
var issuingDate = ((_b = brand === null || brand === void 0 ? void 0 : brand.operations) === null || _b === void 0 ? void 0 : _b.start_date) || ((_c = entity === null || entity === void 0 ? void 0 : entity.license) === null || _c === void 0 ? void 0 : _c.issuing_date);
|
|
931
938
|
if (issuingDate)
|
|
932
939
|
state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
|
|
933
|
-
var
|
|
940
|
+
var _k = brand || {}, terms = _k.terms, activities = _k.activities;
|
|
934
941
|
var entityActivities = (entity_activities === null || entity_activities === void 0 ? void 0 : entity_activities.filter(function (activity) {
|
|
935
942
|
return !(activities === null || activities === void 0 ? void 0 : activities.some(function (value) { return value.id === activity.id; }));
|
|
936
943
|
})) || [];
|
package/package.json
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
.rmdp-wrapper {
|
|
2
|
-
box-shadow: none !important;
|
|
3
|
-
width: 100% !important;
|
|
4
|
-
z-index: 0 !important;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.rmdp-day-picker > div {
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
.rmdp-day {
|
|
11
|
-
color: #3a4154 !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.rmdp-calendar {
|
|
15
|
-
width: 100%;
|
|
16
|
-
padding-bottom: 15px !important;
|
|
17
|
-
padding-top: 12px !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.rmdp-day.rmdp-selected span:not(.highlight) {
|
|
21
|
-
/* background: radial-gradient(circle closest-side, #3a4154 0%, #3a4154 98%, rgba(0, 0, 0, 0) 100%) !important; */
|
|
22
|
-
color: #ffffff !important;
|
|
23
|
-
background-color: black !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.rmdp-week-day {
|
|
27
|
-
color: #abaeb6 !important;
|
|
28
|
-
font-weight: 400 !important;
|
|
29
|
-
font-size: 0.75em !important;
|
|
30
|
-
text-transform: uppercase;
|
|
31
|
-
}
|
|
32
|
-
.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover {
|
|
33
|
-
background-color: #fafafa !important;
|
|
34
|
-
/* border-radius: 50%; */
|
|
35
|
-
color: #3a4154 !important;
|
|
36
|
-
/* background: radial-gradient(circle closest-side, #fafafa 0, #fafafa 98%, transparent 100%) !important; */
|
|
37
|
-
}
|
|
38
|
-
.rmdp-day.rmdp-selected span:not(.highlight):hover {
|
|
39
|
-
color: #ffffff !important;
|
|
40
|
-
background-color: black !important;
|
|
41
|
-
}
|
|
42
|
-
.rmdp-arrow-container:hover {
|
|
43
|
-
background-color: unset !important;
|
|
44
|
-
box-shadow: unset !important;
|
|
45
|
-
}
|
|
46
|
-
.rmdp-arrow {
|
|
47
|
-
border: solid #000 !important;
|
|
48
|
-
border-width: 0 1px 1px 0 !important;
|
|
49
|
-
}
|
|
50
|
-
.rmdp-day.rmdp-today span {
|
|
51
|
-
background-color: unset !important;
|
|
52
|
-
color: #000 !important;
|
|
53
|
-
}
|
|
54
|
-
.rmdp-header {
|
|
55
|
-
margin-bottom: 12px;
|
|
56
|
-
}
|
|
57
|
-
.rmdp-day-picker .rmdp-day {
|
|
58
|
-
height: 36px !important;
|
|
59
|
-
width: 36px !important;
|
|
60
|
-
}
|
|
61
|
-
.rmdp-day-picker .rmdp-day span {
|
|
62
|
-
height: 36px !important;
|
|
63
|
-
width: 36px !important;
|
|
64
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
.date_picker_input {
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.react-calendar {
|
|
6
|
-
width: 100%;
|
|
7
|
-
border: none;
|
|
8
|
-
padding: 15px 0px 15px 0px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.react-calendar__navigation {
|
|
12
|
-
display: flex;
|
|
13
|
-
position: relative;
|
|
14
|
-
}
|
|
15
|
-
.react-calendar__navigation__label__labelText {
|
|
16
|
-
font-family: 'Lato', 'Roboto';
|
|
17
|
-
}
|
|
18
|
-
.react-calendar__navigation button:enabled:hover,
|
|
19
|
-
.react-calendar__navigation button:enabled:focus {
|
|
20
|
-
background-color: #ffffff;
|
|
21
|
-
}
|
|
22
|
-
.react-calendar__navigation__prev-button {
|
|
23
|
-
top: 20px;
|
|
24
|
-
left: 86px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.react-calendar__navigation__next-button {
|
|
28
|
-
top: 0px;
|
|
29
|
-
left: 86px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.react-calendar__navigation__prev2-button {
|
|
33
|
-
top: 20px;
|
|
34
|
-
right: 13px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.react-calendar__navigation__next2-button {
|
|
38
|
-
top: 0px;
|
|
39
|
-
right: 13px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.react-calendar__navigation__arrow {
|
|
43
|
-
background-color: transparent !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
abbr[title] {
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
font-weight: 400;
|
|
49
|
-
color: #abaeb6;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.react-calendar__tile {
|
|
53
|
-
transition: all 0.5s ease;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.react-calendar__tile:enabled:hover,
|
|
57
|
-
.react-calendar__tile:enabled:focus {
|
|
58
|
-
background-color: transparent;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.react-calendar__tile:enabled:hover {
|
|
62
|
-
background: radial-gradient(circle closest-side, #fafafa 0%, #fafafa 98%, rgba(0, 0, 0, 0) 100%);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.react-calendar__month-view__days__day--weekend,
|
|
66
|
-
.react-calendar__tile {
|
|
67
|
-
color: #3a4154;
|
|
68
|
-
}
|
|
69
|
-
.react-calendar__tile--hasActive {
|
|
70
|
-
background: radial-gradient(circle closest-side, #fafafa 0%, #fafafa 98%, rgba(0, 0, 0, 0) 100%);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.react-calendar__tile--active,
|
|
74
|
-
.react-calendar__tile--active:enabled:hover,
|
|
75
|
-
.react-calendar__tile--active:enabled:focus {
|
|
76
|
-
background-color: transparent;
|
|
77
|
-
background: radial-gradient(circle closest-side, #3a4154 0%, #3a4154 98%, rgba(0, 0, 0, 0) 100%);
|
|
78
|
-
color: #ffffff;
|
|
79
|
-
}
|
|
80
|
-
.react-calendar__tile--now {
|
|
81
|
-
background-color: transparent;
|
|
82
|
-
}
|
|
83
|
-
.react-calendar__navigation button:disabled {
|
|
84
|
-
background-color: #ffffff;
|
|
85
|
-
color: #3a4154;
|
|
86
|
-
}
|
package/build/index.css
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
|
|
2
|
-
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
|
|
3
|
-
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
4
|
-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
|
|
5
|
-
@import url('https://fonts.googleapis.com/css?family=Tajawal&display=swap');
|
|
6
|
-
|
|
7
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
|
8
|
-
v2.0 | 20110126
|
|
9
|
-
License: none (public domain)
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
html,
|
|
13
|
-
body,
|
|
14
|
-
div,
|
|
15
|
-
span,
|
|
16
|
-
applet,
|
|
17
|
-
object,
|
|
18
|
-
iframe,
|
|
19
|
-
h1,
|
|
20
|
-
h2,
|
|
21
|
-
h3,
|
|
22
|
-
h4,
|
|
23
|
-
h5,
|
|
24
|
-
h6,
|
|
25
|
-
p,
|
|
26
|
-
blockquote,
|
|
27
|
-
pre,
|
|
28
|
-
a,
|
|
29
|
-
abbr,
|
|
30
|
-
acronym,
|
|
31
|
-
address,
|
|
32
|
-
big,
|
|
33
|
-
cite,
|
|
34
|
-
code,
|
|
35
|
-
del,
|
|
36
|
-
dfn,
|
|
37
|
-
em,
|
|
38
|
-
img,
|
|
39
|
-
ins,
|
|
40
|
-
kbd,
|
|
41
|
-
q,
|
|
42
|
-
s,
|
|
43
|
-
samp,
|
|
44
|
-
small,
|
|
45
|
-
strike,
|
|
46
|
-
strong,
|
|
47
|
-
sub,
|
|
48
|
-
sup,
|
|
49
|
-
tt,
|
|
50
|
-
var,
|
|
51
|
-
b,
|
|
52
|
-
u,
|
|
53
|
-
i,
|
|
54
|
-
center,
|
|
55
|
-
dl,
|
|
56
|
-
dt,
|
|
57
|
-
dd,
|
|
58
|
-
ol,
|
|
59
|
-
ul,
|
|
60
|
-
li,
|
|
61
|
-
fieldset,
|
|
62
|
-
form,
|
|
63
|
-
label,
|
|
64
|
-
legend,
|
|
65
|
-
table,
|
|
66
|
-
caption,
|
|
67
|
-
tbody,
|
|
68
|
-
tfoot,
|
|
69
|
-
thead,
|
|
70
|
-
tr,
|
|
71
|
-
th,
|
|
72
|
-
td,
|
|
73
|
-
article,
|
|
74
|
-
aside,
|
|
75
|
-
canvas,
|
|
76
|
-
details,
|
|
77
|
-
embed,
|
|
78
|
-
figure,
|
|
79
|
-
figcaption,
|
|
80
|
-
footer,
|
|
81
|
-
header,
|
|
82
|
-
hgroup,
|
|
83
|
-
menu,
|
|
84
|
-
nav,
|
|
85
|
-
output,
|
|
86
|
-
ruby,
|
|
87
|
-
section,
|
|
88
|
-
summary,
|
|
89
|
-
time,
|
|
90
|
-
mark,
|
|
91
|
-
audio,
|
|
92
|
-
video {
|
|
93
|
-
margin: 0;
|
|
94
|
-
padding: 0;
|
|
95
|
-
border: 0;
|
|
96
|
-
font-size: 100%;
|
|
97
|
-
font: inherit;
|
|
98
|
-
vertical-align: baseline;
|
|
99
|
-
}
|
|
100
|
-
/* HTML5 display-role reset for older browsers */
|
|
101
|
-
article,
|
|
102
|
-
aside,
|
|
103
|
-
details,
|
|
104
|
-
figcaption,
|
|
105
|
-
figure,
|
|
106
|
-
footer,
|
|
107
|
-
header,
|
|
108
|
-
hgroup,
|
|
109
|
-
menu,
|
|
110
|
-
nav,
|
|
111
|
-
section {
|
|
112
|
-
display: block;
|
|
113
|
-
}
|
|
114
|
-
body {
|
|
115
|
-
line-height: 1;
|
|
116
|
-
overflow-y: hidden;
|
|
117
|
-
}
|
|
118
|
-
ol,
|
|
119
|
-
ul {
|
|
120
|
-
list-style: none;
|
|
121
|
-
}
|
|
122
|
-
blockquote,
|
|
123
|
-
q {
|
|
124
|
-
quotes: none;
|
|
125
|
-
}
|
|
126
|
-
blockquote:before,
|
|
127
|
-
blockquote:after,
|
|
128
|
-
q:before,
|
|
129
|
-
q:after {
|
|
130
|
-
content: '';
|
|
131
|
-
content: none;
|
|
132
|
-
}
|
|
133
|
-
table {
|
|
134
|
-
border-collapse: collapse;
|
|
135
|
-
border-spacing: 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
* {
|
|
139
|
-
box-sizing: border-box;
|
|
140
|
-
}
|