@iankibetsh/shframework 1.1.4 → 1.1.5
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 +6 -3
- package/dist/library.mjs +6 -3
- package/package.json +1 -1
|
@@ -63,6 +63,21 @@
|
|
|
63
63
|
color: white;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
.sh-selected-item{
|
|
67
|
+
line-height: unset!important;
|
|
68
|
+
}
|
|
69
|
+
.sh-suggestion-input{
|
|
70
|
+
padding: 0.375rem 0.75rem;
|
|
71
|
+
}
|
|
72
|
+
.sh-suggest{
|
|
73
|
+
margin-bottom: 1rem;
|
|
74
|
+
}
|
|
75
|
+
.sh-suggest-control::after{
|
|
76
|
+
margin-top: auto;
|
|
77
|
+
margin-bottom: auto;
|
|
78
|
+
margin-right: 0.255em;
|
|
79
|
+
}
|
|
80
|
+
|
|
66
81
|
:root {
|
|
67
82
|
--ck-z-default: 10555 !important;
|
|
68
83
|
--ck-z-modal: calc(var(--ck-z-default) + 999) !important;
|
|
@@ -84,21 +99,6 @@
|
|
|
84
99
|
}
|
|
85
100
|
}
|
|
86
101
|
|
|
87
|
-
.sh-selected-item{
|
|
88
|
-
line-height: unset!important;
|
|
89
|
-
}
|
|
90
|
-
.sh-suggestion-input{
|
|
91
|
-
padding: 0.375rem 0.75rem;
|
|
92
|
-
}
|
|
93
|
-
.sh-suggest{
|
|
94
|
-
margin-bottom: 1rem;
|
|
95
|
-
}
|
|
96
|
-
.sh-suggest-control::after{
|
|
97
|
-
margin-top: auto;
|
|
98
|
-
margin-bottom: auto;
|
|
99
|
-
margin-right: 0.255em;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
102
|
.sh-forgot-link, .sh-register-link{
|
|
103
103
|
cursor: pointer;
|
|
104
104
|
}
|
package/dist/library.js
CHANGED
|
@@ -284,8 +284,12 @@ async function shSwalLogout () {
|
|
|
284
284
|
}).then((result) => {
|
|
285
285
|
if (result.isConfirmed) {
|
|
286
286
|
logoutUser();
|
|
287
|
-
} else
|
|
288
|
-
|
|
287
|
+
} else {
|
|
288
|
+
window.ShConfirmation = null;
|
|
289
|
+
clearInterval(window.shInterval);
|
|
290
|
+
const timeNow = moment__default["default"]().toISOString();
|
|
291
|
+
ShStorage.setItem('last_activity', timeNow);
|
|
292
|
+
startSession();
|
|
289
293
|
}
|
|
290
294
|
})
|
|
291
295
|
}
|
|
@@ -307,7 +311,6 @@ const updateSession = () =>{
|
|
|
307
311
|
}
|
|
308
312
|
const timeNow = moment__default["default"]().toISOString();
|
|
309
313
|
ShStorage.setItem('last_activity', timeNow);
|
|
310
|
-
window.ShConfirmation = null;
|
|
311
314
|
};
|
|
312
315
|
|
|
313
316
|
let apiUrl = undefined.VITE_APP_API_URL;
|
package/dist/library.mjs
CHANGED
|
@@ -272,8 +272,12 @@ async function shSwalLogout () {
|
|
|
272
272
|
}).then((result) => {
|
|
273
273
|
if (result.isConfirmed) {
|
|
274
274
|
logoutUser();
|
|
275
|
-
} else
|
|
276
|
-
|
|
275
|
+
} else {
|
|
276
|
+
window.ShConfirmation = null;
|
|
277
|
+
clearInterval(window.shInterval);
|
|
278
|
+
const timeNow = moment().toISOString();
|
|
279
|
+
ShStorage.setItem('last_activity', timeNow);
|
|
280
|
+
startSession();
|
|
277
281
|
}
|
|
278
282
|
})
|
|
279
283
|
}
|
|
@@ -295,7 +299,6 @@ const updateSession = () =>{
|
|
|
295
299
|
}
|
|
296
300
|
const timeNow = moment().toISOString();
|
|
297
301
|
ShStorage.setItem('last_activity', timeNow);
|
|
298
|
-
window.ShConfirmation = null;
|
|
299
302
|
};
|
|
300
303
|
|
|
301
304
|
let apiUrl = import.meta.env.VITE_APP_API_URL;
|