@iankibetsh/shframework 0.5.5 → 0.5.7
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 +15 -15
- package/dist/library.js +2 -4
- package/dist/library.mjs +2 -4
- package/package.json +1 -1
|
@@ -31,21 +31,6 @@
|
|
|
31
31
|
opacity: 0.5;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.sh-selected-item{
|
|
35
|
-
line-height: unset!important;
|
|
36
|
-
}
|
|
37
|
-
.sh-suggestion-input{
|
|
38
|
-
padding: 0.375rem 0.75rem;
|
|
39
|
-
}
|
|
40
|
-
.sh-suggest{
|
|
41
|
-
margin-bottom: 1rem;
|
|
42
|
-
}
|
|
43
|
-
.sh-suggest-control::after{
|
|
44
|
-
margin-top: auto;
|
|
45
|
-
margin-bottom: auto;
|
|
46
|
-
margin-right: 0.255em;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
34
|
:root {
|
|
50
35
|
--ck-z-default: 10555 !important;
|
|
51
36
|
--ck-z-modal: calc(var(--ck-z-default) + 999) !important;
|
|
@@ -66,3 +51,18 @@
|
|
|
66
51
|
width: 100% !important;
|
|
67
52
|
}
|
|
68
53
|
}
|
|
54
|
+
|
|
55
|
+
.sh-selected-item{
|
|
56
|
+
line-height: unset!important;
|
|
57
|
+
}
|
|
58
|
+
.sh-suggestion-input{
|
|
59
|
+
padding: 0.375rem 0.75rem;
|
|
60
|
+
}
|
|
61
|
+
.sh-suggest{
|
|
62
|
+
margin-bottom: 1rem;
|
|
63
|
+
}
|
|
64
|
+
.sh-suggest-control::after{
|
|
65
|
+
margin-top: auto;
|
|
66
|
+
margin-bottom: auto;
|
|
67
|
+
margin-right: 0.255em;
|
|
68
|
+
}
|
package/dist/library.js
CHANGED
|
@@ -47,10 +47,12 @@ const checkSession = function (isCheking) {
|
|
|
47
47
|
const started = moment__default["default"](sessionStart);
|
|
48
48
|
if(!sessionStart){
|
|
49
49
|
ShStorage.removeItem('access_token');
|
|
50
|
+
ShStorage.removeItem('user');
|
|
50
51
|
return false
|
|
51
52
|
}
|
|
52
53
|
const pastMinutes = moment__default["default"]().diff(started, 'minutes');
|
|
53
54
|
if(pastMinutes >= timeout) {
|
|
55
|
+
ShStorage.removeItem('user');
|
|
54
56
|
ShStorage.removeItem('access_token');
|
|
55
57
|
return false
|
|
56
58
|
}
|
|
@@ -2160,10 +2162,6 @@ var script$6 = {
|
|
|
2160
2162
|
} else {
|
|
2161
2163
|
console.log(reason);
|
|
2162
2164
|
}
|
|
2163
|
-
const self = this;
|
|
2164
|
-
setTimeout(() => {
|
|
2165
|
-
self.hideError();
|
|
2166
|
-
}, 4000);
|
|
2167
2165
|
});
|
|
2168
2166
|
return false
|
|
2169
2167
|
},
|
package/dist/library.mjs
CHANGED
|
@@ -35,10 +35,12 @@ const checkSession = function (isCheking) {
|
|
|
35
35
|
const started = moment(sessionStart);
|
|
36
36
|
if(!sessionStart){
|
|
37
37
|
ShStorage.removeItem('access_token');
|
|
38
|
+
ShStorage.removeItem('user');
|
|
38
39
|
return false
|
|
39
40
|
}
|
|
40
41
|
const pastMinutes = moment().diff(started, 'minutes');
|
|
41
42
|
if(pastMinutes >= timeout) {
|
|
43
|
+
ShStorage.removeItem('user');
|
|
42
44
|
ShStorage.removeItem('access_token');
|
|
43
45
|
return false
|
|
44
46
|
}
|
|
@@ -2148,10 +2150,6 @@ var script$6 = {
|
|
|
2148
2150
|
} else {
|
|
2149
2151
|
console.log(reason);
|
|
2150
2152
|
}
|
|
2151
|
-
const self = this;
|
|
2152
|
-
setTimeout(() => {
|
|
2153
|
-
self.hideError();
|
|
2154
|
-
}, 4000);
|
|
2155
2153
|
});
|
|
2156
2154
|
return false
|
|
2157
2155
|
},
|