techsbcn-storybook 2.10.0 → 2.10.1
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.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,13 +5,13 @@ var material = require('@mui/material');
|
|
|
5
5
|
var iconsMaterial = require('@mui/icons-material');
|
|
6
6
|
var styles = require('@mui/material/styles');
|
|
7
7
|
var lodash = require('lodash');
|
|
8
|
-
var reactRouter = require('react-router');
|
|
9
8
|
var CloseIcon = require('@mui/icons-material/Close');
|
|
10
9
|
var notistack = require('notistack');
|
|
11
10
|
var dayjs = require('dayjs');
|
|
12
11
|
var localizedFormat = require('dayjs/plugin/localizedFormat');
|
|
13
12
|
var timezone = require('dayjs/plugin/timezone');
|
|
14
13
|
var utc = require('dayjs/plugin/utc');
|
|
14
|
+
var reactRouter = require('react-router');
|
|
15
15
|
var MenuIcon = require('@mui/icons-material/Menu');
|
|
16
16
|
var Select = require('react-select');
|
|
17
17
|
var reactSelectAsyncPaginate = require('react-select-async-paginate');
|
|
@@ -585,7 +585,8 @@ var TextFieldComponent = ({
|
|
|
585
585
|
}
|
|
586
586
|
));
|
|
587
587
|
};
|
|
588
|
-
|
|
588
|
+
|
|
589
|
+
// src/helpers/AuthHelper.tsx
|
|
589
590
|
var AUTH_COOKIE_NAME = "auth_token";
|
|
590
591
|
var NAME_IDENTIFIER_CLAIM = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier";
|
|
591
592
|
var ROLE_CLAIM = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role";
|
|
@@ -632,7 +633,7 @@ var clearSession = () => {
|
|
|
632
633
|
};
|
|
633
634
|
var logout = (logoutRedirect) => {
|
|
634
635
|
clearSession();
|
|
635
|
-
|
|
636
|
+
window.location.replace(logoutRedirect);
|
|
636
637
|
};
|
|
637
638
|
|
|
638
639
|
// src/helpers/CheckPermission.tsx
|