@iankibetsh/shframework 5.2.3 → 5.2.4
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/dist/library.mjs.css +32 -32
- package/dist/library.js +5 -2
- package/dist/library.mjs +5 -2
- package/package.json +1 -1
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
.colored-toast.swal2-icon-success {
|
|
3
|
-
background-color: #a5dc86 !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.colored-toast.swal2-icon-error {
|
|
7
|
-
background-color: #f27474 !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.colored-toast.swal2-icon-warning {
|
|
11
|
-
background-color: #f8bb86 !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.colored-toast.swal2-icon-info {
|
|
15
|
-
background-color: #3fc3ee !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.colored-toast.swal2-icon-question {
|
|
19
|
-
background-color: #87adbd !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.colored-toast .swal2-title {
|
|
23
|
-
color: white;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.colored-toast .swal2-close {
|
|
27
|
-
color: white;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.colored-toast .swal2-html-container {
|
|
31
|
-
color: white;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
2
|
.sh-phone{
|
|
35
3
|
display: flex;
|
|
36
4
|
width: 100%;
|
|
@@ -63,6 +31,38 @@
|
|
|
63
31
|
opacity: 0.5;
|
|
64
32
|
}
|
|
65
33
|
|
|
34
|
+
.colored-toast.swal2-icon-success {
|
|
35
|
+
background-color: #a5dc86 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.colored-toast.swal2-icon-error {
|
|
39
|
+
background-color: #f27474 !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.colored-toast.swal2-icon-warning {
|
|
43
|
+
background-color: #f8bb86 !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.colored-toast.swal2-icon-info {
|
|
47
|
+
background-color: #3fc3ee !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.colored-toast.swal2-icon-question {
|
|
51
|
+
background-color: #87adbd !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.colored-toast .swal2-title {
|
|
55
|
+
color: white;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.colored-toast .swal2-close {
|
|
59
|
+
color: white;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.colored-toast .swal2-html-container {
|
|
63
|
+
color: white;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
66
|
.permissions-main {
|
|
67
67
|
background: #edeff2;
|
|
68
68
|
}
|
package/dist/library.js
CHANGED
|
@@ -453,12 +453,15 @@ function doGet (endPoint, data,extraConfig) {
|
|
|
453
453
|
}
|
|
454
454
|
function doPost (endPoint, data, extraConfig) {
|
|
455
455
|
updateSession();
|
|
456
|
-
|
|
456
|
+
let accessToken = shStorage.getItem('access_token');
|
|
457
|
+
if(accessToken === 'undefined' || accessToken === 'null'){
|
|
458
|
+
accessToken = null;
|
|
459
|
+
}
|
|
457
460
|
let config = {};
|
|
458
461
|
if(accessToken){
|
|
459
462
|
config = {
|
|
460
463
|
headers: {
|
|
461
|
-
Authorization: 'Bearer ' +
|
|
464
|
+
Authorization: 'Bearer ' + accessToken
|
|
462
465
|
}
|
|
463
466
|
};
|
|
464
467
|
}
|
package/dist/library.mjs
CHANGED
|
@@ -441,12 +441,15 @@ function doGet (endPoint, data,extraConfig) {
|
|
|
441
441
|
}
|
|
442
442
|
function doPost (endPoint, data, extraConfig) {
|
|
443
443
|
updateSession();
|
|
444
|
-
|
|
444
|
+
let accessToken = shStorage.getItem('access_token');
|
|
445
|
+
if(accessToken === 'undefined' || accessToken === 'null'){
|
|
446
|
+
accessToken = null;
|
|
447
|
+
}
|
|
445
448
|
let config = {};
|
|
446
449
|
if(accessToken){
|
|
447
450
|
config = {
|
|
448
451
|
headers: {
|
|
449
|
-
Authorization: 'Bearer ' +
|
|
452
|
+
Authorization: 'Bearer ' + accessToken
|
|
450
453
|
}
|
|
451
454
|
};
|
|
452
455
|
}
|