@pagopa/selfcare-common-frontend 1.8.0 → 1.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/CHANGELOG.md +21 -0
- package/README.md +13 -0
- package/build.info +2 -2
- package/components/Footer/Footer.js +15 -10
- package/components/Footer/Footer.js.map +1 -1
- package/components/Header/Header.js +10 -3
- package/components/Header/Header.js.map +1 -1
- package/components/Header/subHeader/SubHeader.js +12 -5
- package/components/Header/subHeader/SubHeader.js.map +1 -1
- package/components/Loading/LoadingOverlay.js +2 -11
- package/components/Loading/LoadingOverlay.js.map +1 -1
- package/components/LoadingOverlayComponent.d.ts +7 -0
- package/components/LoadingOverlayComponent.js +20 -0
- package/components/LoadingOverlayComponent.js.map +1 -0
- package/components/Toast.js +1 -1
- package/components/Toast.js.map +1 -1
- package/components/icons/PagoPaIcon.js +1 -1
- package/components/icons/PagoPaIcon.js.map +1 -1
- package/components/icons/PagoPaIconColored.d.ts +5 -0
- package/components/icons/PagoPaIconColored.js +7 -0
- package/components/icons/PagoPaIconColored.js.map +1 -0
- package/hooks/useLogin.js +1 -1
- package/hooks/useLogin.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +40 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,29 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v1.10.1](https://github.com/pagopa/selfcare-common-frontend/compare/v1.10.0...v1.10.1)
|
|
8
|
+
|
|
9
|
+
- white-theme [`#61`](https://github.com/pagopa/selfcare-common-frontend/pull/61)
|
|
10
|
+
- using new test-jwt [`#60`](https://github.com/pagopa/selfcare-common-frontend/pull/60)
|
|
11
|
+
- using a token without expire for DEV [`5ca0085`](https://github.com/pagopa/selfcare-common-frontend/commit/5ca0085c00c97c2bf1a8bc0e066abf639d7cee88)
|
|
12
|
+
|
|
13
|
+
#### [v1.10.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.9.0...v1.10.0)
|
|
14
|
+
|
|
15
|
+
> 4 April 2022
|
|
16
|
+
|
|
17
|
+
- SELC-222 - changed color in Footer Header and subHeader (no new mui-italia) [`#59`](https://github.com/pagopa/selfcare-common-frontend/pull/59)
|
|
18
|
+
- SELC-222 - changed color in Footer Header and subHeader (no new mui-italia) (#59) [`#222`](https://pagopa.atlassian.net/browse/222)
|
|
19
|
+
|
|
20
|
+
#### [v1.9.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.8.0...v1.9.0)
|
|
21
|
+
|
|
22
|
+
> 24 March 2022
|
|
23
|
+
|
|
24
|
+
- Added LoadingOverlayComponent [`#58`](https://github.com/pagopa/selfcare-common-frontend/pull/58)
|
|
25
|
+
|
|
7
26
|
#### [v1.8.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.7.0...v1.8.0)
|
|
8
27
|
|
|
28
|
+
> 23 March 2022
|
|
29
|
+
|
|
9
30
|
- dependencies updated [`#57`](https://github.com/pagopa/selfcare-common-frontend/pull/57)
|
|
10
31
|
|
|
11
32
|
#### [v1.7.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.6.2...v1.7.0)
|
package/README.md
CHANGED
|
@@ -160,6 +160,19 @@ NavigationPath's fields:
|
|
|
160
160
|
| description | string | Y | The text displayed |
|
|
161
161
|
| onClick | () => void | N | If defined, it will represent the function executed when clicking on the element. Moreover it will be displayed in bold |
|
|
162
162
|
|
|
163
|
+
## LoadingOverlayComponent
|
|
164
|
+
A component which render an overlay loading
|
|
165
|
+
|
|
166
|
+
| Prop | Type | Mandatory | Description |
|
|
167
|
+
|------|------|-----------|-------------|
|
|
168
|
+
| open | boolean | Y | if show the loading overlay or not |
|
|
169
|
+
|
|
170
|
+
NavigationPath's fields:
|
|
171
|
+
| field | Type | Mandatory | Description |
|
|
172
|
+
|------|------|-----------|-------------|
|
|
173
|
+
| description | string | Y | The text displayed |
|
|
174
|
+
| onClick | () => void | N | If defined, it will represent the function executed when clicking on the element. Moreover it will be displayed in bold |
|
|
175
|
+
|
|
163
176
|
# Utilities
|
|
164
177
|
## api-utils
|
|
165
178
|
### onRedirectToLogin: (store: EnhancedStore) => void
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
remotes/origin/SELC-222
|
|
1
|
+
20220412.1 - selfcare-common-frontend.deploy(27356)
|
|
2
|
+
remotes/origin/SELC-222 d7ea6b08eda05c7680fc664b6aef487646797216
|
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
6
|
const react_i18next_1 = require("react-i18next");
|
|
7
7
|
const assistanceService_1 = require("../../services/assistanceService");
|
|
8
|
-
const
|
|
8
|
+
const PagoPaIconColored_1 = tslib_1.__importDefault(require("../icons/PagoPaIconColored"));
|
|
9
9
|
/** SelfCare Footer component */
|
|
10
10
|
const Footer = ({ assistanceEmail, onExit = (exitAction) => exitAction() }) => {
|
|
11
11
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
@@ -13,43 +13,48 @@ const Footer = ({ assistanceEmail, onExit = (exitAction) => exitAction() }) => {
|
|
|
13
13
|
pt: '32px',
|
|
14
14
|
height: '156px',
|
|
15
15
|
mt: 'auto',
|
|
16
|
-
bgcolor: '
|
|
16
|
+
bgcolor: 'white',
|
|
17
17
|
alignItems: 'center',
|
|
18
18
|
boxSizing: 'unset',
|
|
19
19
|
position: 'relative',
|
|
20
|
-
|
|
20
|
+
borderTop: '1px solid #F2F2F2',
|
|
21
|
+
}, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, justifyContent: 'center', alignItems: 'center', children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: { width: '90%', display: 'flex' }, children: [(0, jsx_runtime_1.jsx)(PagoPaIconColored_1.default, { viewBox: "0 0 140 33", sx: { width: '119px' } }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { textAlign: 'right', flexGrow: 1 }, pl: 8, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "div", sx: {
|
|
21
22
|
fontWeight: 'normal',
|
|
22
|
-
fontSize: '15px',
|
|
23
|
+
fontSize: '15px !important',
|
|
23
24
|
lineHeight: '22,82px',
|
|
24
25
|
textAlign: 'left',
|
|
25
|
-
color: '
|
|
26
|
+
color: '#17324D',
|
|
26
27
|
paddingLeft: '0px',
|
|
27
28
|
}, children: (0, jsx_runtime_1.jsxs)(react_i18next_1.Trans, { i18nKey: "common.footer.legalInfoText", children: ["PagoPA S.p.A. - societ\u00E0 per azioni con socio unico - capitale sociale di euro 1,000,000 interamente versato - sede legale in Roma, Piazza Colonna 370, CAP 00187 -", (0, jsx_runtime_1.jsx)("br", {}), "n. di iscrizione a Registro Imprese di Roma, CF e P.IVA 15376371009`"] }) }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, alignItems: 'center', justifyContent: 'center', sx: { position: 'absolute', bottom: '48px' }, children: (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { width: '90%', display: 'flex' }, children: (0, jsx_runtime_1.jsxs)(material_1.Typography, { sx: {
|
|
28
29
|
fontWeight: 'normal',
|
|
29
|
-
fontSize: '15px',
|
|
30
|
+
fontSize: '15px !important',
|
|
30
31
|
lineHeight: '15px',
|
|
31
32
|
textAlign: 'left',
|
|
32
33
|
padding: '0px',
|
|
33
34
|
}, component: "div", children: [(0, jsx_runtime_1.jsx)(material_1.Link, { onClick: () => onExit(() => window.location.assign('https://www.pagopa.it/it/privacy-policy/')), underline: "none", sx: {
|
|
34
35
|
marginRight: '10px',
|
|
35
|
-
color: '#
|
|
36
|
+
color: '#17324D !important',
|
|
36
37
|
textDecoration: 'none !important',
|
|
37
38
|
cursor: 'pointer',
|
|
39
|
+
fontWeight: '600',
|
|
38
40
|
}, children: t('common.footer.privacyPolicyLink') }), (0, jsx_runtime_1.jsx)(material_1.Link, { onClick: () => onExit(() => window.location.assign('https://www.pagopa.it/it/termini-e-condizioni-di-utilizzo-del-sito/')), underline: "none", sx: {
|
|
39
41
|
margin: '10px',
|
|
40
|
-
color: '#
|
|
42
|
+
color: '#17324D !important',
|
|
41
43
|
textDecoration: 'none !important',
|
|
42
44
|
cursor: 'pointer',
|
|
45
|
+
fontWeight: '600',
|
|
43
46
|
}, children: t('common.footer.termsAndConditionLink') }), (0, jsx_runtime_1.jsx)(material_1.Link, { onClick: () => onExit(() => window.location.assign('https://www.pagopa.it/static/781646994f1f8ddad2d95af3aaedac3d/Sicurezza-delle-informazioni_PagoPA-S.p.A..pdft')), underline: "none", sx: {
|
|
44
47
|
marginRight: '10px',
|
|
45
|
-
color: '#
|
|
48
|
+
color: '#17324D !important',
|
|
46
49
|
textDecoration: 'none !important',
|
|
47
50
|
cursor: 'pointer',
|
|
51
|
+
fontWeight: '600',
|
|
48
52
|
}, children: t('common.footer.informationSecurityLink') }), assistanceEmail && ((0, jsx_runtime_1.jsx)(material_1.Link, { onClick: () => onExit(() => window.location.assign((0, assistanceService_1.buildAssistanceURI)(assistanceEmail))), underline: "none", sx: {
|
|
49
53
|
margin: '10px',
|
|
50
|
-
color: '#
|
|
54
|
+
color: '#17324D!important',
|
|
51
55
|
textDecoration: 'none !important',
|
|
52
56
|
cursor: 'pointer',
|
|
57
|
+
fontWeight: '600',
|
|
53
58
|
}, children: t('common.footer.assistanceLink') }))] }) }) })] }));
|
|
54
59
|
};
|
|
55
60
|
exports.default = Footer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/lib/components/Footer/Footer.tsx"],"names":[],"mappings":";;;;AAAA,4CAA4D;AAC5D,iDAAsD;AACtD,wEAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/lib/components/Footer/Footer.tsx"],"names":[],"mappings":";;;;AAAA,4C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MAAM,CAAC,QAAQ,CAAC,MAAM,CACpB,+GAA+G,CAChH,CACF,EAEH,SAAS,EAAC,MAAM,EAChB,EAAE,EAAE;oCACF,WAAW,EAAE,MAAM;oCACnB,KAAK,EAAE,oBAAoB;oCAC3B,cAAc,EAAE,iBAAiB;oCACjC,MAAM,EAAE,SAAS;oCACjB,UAAU,EAAE,KAAK;iCAClB,YAEA,CAAC,CAAC,uCAAuC,CAAC,GACtC,EACN,eAAe,IAAI,CAClB,uBAAC,eAAI,IACH,OAAO,EAAE,GAAG,EAAE,CACZ,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAA,sCAAkB,EAAC,eAAe,CAAC,CAAC,CAAC,EAE3E,SAAS,EAAC,MAAM,EAChB,EAAE,EAAE;oCACF,MAAM,EAAE,MAAM;oCACd,KAAK,EAAE,mBAAmB;oCAC1B,cAAc,EAAE,iBAAiB;oCACjC,MAAM,EAAE,SAAS;oCACjB,UAAU,EAAE,KAAK;iCAClB,YAEA,CAAC,CAAC,8BAA8B,CAAC,GAC7B,CACR,IACU,GACT,GACD,IACH,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
|
@@ -7,7 +7,7 @@ const system_1 = require("@mui/system");
|
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const react_i18next_1 = require("react-i18next");
|
|
9
9
|
const env_1 = require("../../config/env");
|
|
10
|
-
|
|
10
|
+
// import PagoPaMiniIcon from '../icons/PagoPaMiniIcon';
|
|
11
11
|
const SubHeader_1 = tslib_1.__importDefault(require("./subHeader/SubHeader"));
|
|
12
12
|
/** SelfCare Header component */
|
|
13
13
|
const Header = ({ withSecondHeader, onExitAction = () => window.location.assign(env_1.CONFIG.URL_FE.LOGOUT), subHeaderChild, }) => {
|
|
@@ -15,9 +15,16 @@ const Header = ({ withSecondHeader, onExitAction = () => window.location.assign(
|
|
|
15
15
|
return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(material_1.AppBar, { position: "relative", sx: {
|
|
16
16
|
alignItems: 'center',
|
|
17
17
|
height: '48px',
|
|
18
|
-
backgroundColor: '
|
|
18
|
+
backgroundColor: 'white',
|
|
19
19
|
boxShadow: 'none',
|
|
20
|
-
}, children: (0, jsx_runtime_1.jsxs)(material_1.Toolbar, { sx: { width: { xs: '100%', lg: '90%', minHeight: '48px !important' } }, children: [(0, jsx_runtime_1.jsx)(
|
|
20
|
+
}, children: (0, jsx_runtime_1.jsxs)(material_1.Toolbar, { sx: { width: { xs: '100%', lg: '90%', minHeight: '48px !important' } }, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { fontSize: '14px !important', fontWeight: '700' }, children: "PagoPA S.p.A" }), onExitAction !== null ? ((0, jsx_runtime_1.jsx)(system_1.Box, { sx: { flexGrow: 1, textAlign: 'right' }, children: (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "outlined", sx: {
|
|
21
|
+
width: '88px',
|
|
22
|
+
color: '#0073E6',
|
|
23
|
+
height: '32px',
|
|
24
|
+
border: 'none',
|
|
25
|
+
boxShadow: 'none',
|
|
26
|
+
'&:hover': { backgroundColor: 'transparent', border: 'none' },
|
|
27
|
+
}, onClick: onExitAction, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { sx: { fontSize: '14px', fontWeight: '700', color: '#0073E6' }, children: t('common.header.exitButton') }) }) })) : ('')] }) }), withSecondHeader === true ? (0, jsx_runtime_1.jsx)(SubHeader_1.default, { children: subHeaderChild }) : ''] }));
|
|
21
28
|
};
|
|
22
29
|
exports.default = Header;
|
|
23
30
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/lib/components/Header/Header.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/lib/components/Header/Header.tsx"],"names":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AO,EAAE,YAAY,YAErB,uBAAC,qBAAU,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,YACtE,CAAC,CAAC,0BAA0B,CAAC,GACnB,GACN,GACL,CACP,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACO,GACH,EACR,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,uBAAC,mBAAS,cAAE,cAAc,GAAa,CAAC,CAAC,CAAC,EAAE,IAChE,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
|
@@ -3,18 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
4
|
const material_1 = require("@mui/material");
|
|
5
5
|
function SubHeader({ children }) {
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)(material_1.AppBar, { position: "relative", sx: {
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)(material_1.AppBar, { position: "relative", sx: {
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
height: '107px',
|
|
9
|
+
backgroundColor: 'white',
|
|
10
|
+
boxShadow: 'none',
|
|
11
|
+
borderTop: '1px solid #F2F2F2',
|
|
12
|
+
borderBottom: '1px solid #F2F2F2',
|
|
13
|
+
}, children: (0, jsx_runtime_1.jsx)(material_1.Toolbar, { sx: { width: { xs: '100%', lg: '90%' }, minHeight: '107px !important' }, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, children: [(0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, item: true, direction: "column", xs: 6, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "div", sx: {
|
|
7
14
|
fontWeight: 'bold',
|
|
8
|
-
fontSize: '24px',
|
|
15
|
+
fontSize: '24px !important',
|
|
9
16
|
lineHeight: '36px',
|
|
10
17
|
textAlign: 'left',
|
|
11
|
-
color: '
|
|
18
|
+
color: '#17324D',
|
|
12
19
|
}, children: "Self Care" }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "div", sx: {
|
|
13
20
|
fontWeight: 'normal',
|
|
14
|
-
fontSize: '14px',
|
|
21
|
+
fontSize: '14px !important',
|
|
15
22
|
lineHeight: '24px',
|
|
16
23
|
textAlign: 'left',
|
|
17
|
-
color: '
|
|
24
|
+
color: '#17324D',
|
|
18
25
|
}, children: "Gestisci i tuoi prodotti e servizi PagoPA" }) })] }), children] }) }) }));
|
|
19
26
|
}
|
|
20
27
|
exports.default = SubHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubHeader.js","sourceRoot":"","sources":["../../../../src/lib/components/Header/subHeader/SubHeader.tsx"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"SubHeader.js","sourceRoot":"","sources":["../../../../src/lib/components/Header/subHeader/SubHeader.tsx"],"names":[],"mappings":";;;AACA,4CAAkE;AAMlE,SAAwB,SAAS,CAAC,EAAE,QAAQ,EAAS;IACnD,OAAO,CACL,uBAAC,iBAAM,IACL,QAAQ,EAAC,UAAU,EACnB,EAAE,EAAE;YACF,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,OAAO;YACf,eAAe,EAAE,OAAO;YACxB,SAAS,EAAE,MAAM;YACjB,SAAS,EAAE,mBAAmB;YAC9B,YAAY,EAAE,mBAAmB;SAClC,YAED,uBAAC,kBAAO,IAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,YAC9E,wBAAC,eAAI,IAAC,SAAS,mBACb,wBAAC,eAAI,IAAC,SAAS,QAAC,IAAI,QAAC,SAAS,EAAC,QAAQ,EAAC,EAAE,EAAE,CAAC,aAC3C,uBAAC,eAAI,IAAC,IAAI,kBACR,uBAAC,qBAAU,IACT,SAAS,EAAC,KAAK,EACf,EAAE,EAAE;wCACF,UAAU,EAAE,MAAM;wCAClB,QAAQ,EAAE,iBAAiB;wCAC3B,UAAU,EAAE,MAAM;wCAClB,SAAS,EAAE,MAAM;wCACjB,KAAK,EAAE,SAAS;qCACjB,0BAGU,GACR,EACP,uBAAC,eAAI,IAAC,IAAI,kBACR,uBAAC,qBAAU,IACT,SAAS,EAAC,KAAK,EACf,EAAE,EAAE;wCACF,UAAU,EAAE,QAAQ;wCACpB,QAAQ,EAAE,iBAAiB;wCAC3B,UAAU,EAAE,MAAM;wCAClB,SAAS,EAAE,MAAM;wCACjB,KAAK,EAAE,SAAS;qCACjB,0DAGU,GACR,IACF,EACN,QAAQ,IACJ,GACC,GACH,CACV,CAAC;AACJ,CAAC;AAlDD,4BAkDC"}
|
|
@@ -2,26 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const material_1 = require("@mui/material");
|
|
6
|
-
const system_1 = require("@mui/system");
|
|
7
|
-
const react_md_spinner_1 = tslib_1.__importDefault(require("react-md-spinner"));
|
|
8
5
|
const react_redux_1 = require("react-redux");
|
|
9
6
|
const appStateSlice_1 = require("../../redux/slices/appStateSlice");
|
|
7
|
+
const LoadingOverlayComponent_1 = tslib_1.__importDefault(require("../LoadingOverlayComponent"));
|
|
10
8
|
/** This feature is based on react-redux library and require to register the reducer build in appStateSlice into the application's redux store.
|
|
11
9
|
It allows to draw a loader when an async task to wait is running.
|
|
12
10
|
|
|
13
11
|
To use this feature you have to put LoadingOverlay in your App as a child of a redux Provider component.
|
|
14
12
|
In order to register the start of an async task you have to use the custom hook useLoading passing the id of the task to await, which will return a setter function used to start and end the loading behavior. */
|
|
15
13
|
function LoadingOverlay() {
|
|
16
|
-
const theme = (0, material_1.useTheme)();
|
|
17
14
|
const loading = (0, react_redux_1.useSelector)(appStateSlice_1.appStateSelectors.selectLoading);
|
|
18
|
-
return (
|
|
19
|
-
position: 'absolute',
|
|
20
|
-
top: '50%',
|
|
21
|
-
left: '50%',
|
|
22
|
-
width: '100px',
|
|
23
|
-
outline: 0,
|
|
24
|
-
}, children: (0, jsx_runtime_1.jsx)(react_md_spinner_1.default, { singleColor: theme.palette.primary.main, role: "loadingSpinner" }) }) }));
|
|
15
|
+
return (0, jsx_runtime_1.jsx)(LoadingOverlayComponent_1.default, { open: loading });
|
|
25
16
|
}
|
|
26
17
|
exports.default = LoadingOverlay;
|
|
27
18
|
//# sourceMappingURL=LoadingOverlay.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingOverlay.js","sourceRoot":"","sources":["../../../src/lib/components/Loading/LoadingOverlay.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"LoadingOverlay.js","sourceRoot":"","sources":["../../../src/lib/components/Loading/LoadingOverlay.tsx"],"names":[],"mappings":";;;;AAAA,6CAA0C;AAC1C,oEAAqE;AACrE,iGAAiE;AAEjE;;;;kNAIkN;AAClN,SAAwB,cAAc;IACpC,MAAM,OAAO,GAAG,IAAA,yBAAW,EAAC,iCAAiB,CAAC,aAAa,CAAC,CAAC;IAE7D,OAAO,uBAAC,iCAAuB,IAAC,IAAI,EAAE,OAAO,GAAI,CAAC;AACpD,CAAC;AAJD,iCAIC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const system_1 = require("@mui/system");
|
|
7
|
+
const react_md_spinner_1 = tslib_1.__importDefault(require("react-md-spinner"));
|
|
8
|
+
/** A component which render an overlay loading */
|
|
9
|
+
function LoadingOverlayComponent({ open }) {
|
|
10
|
+
const theme = (0, material_1.useTheme)();
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(material_1.Modal, { open: open, sx: { outline: 0 }, children: (0, jsx_runtime_1.jsx)(system_1.Box, { sx: {
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
top: '50%',
|
|
14
|
+
left: '50%',
|
|
15
|
+
width: '100px',
|
|
16
|
+
outline: 0,
|
|
17
|
+
}, children: (0, jsx_runtime_1.jsx)(react_md_spinner_1.default, { singleColor: theme.palette.primary.main, role: "loadingSpinner" }) }) }));
|
|
18
|
+
}
|
|
19
|
+
exports.default = LoadingOverlayComponent;
|
|
20
|
+
//# sourceMappingURL=LoadingOverlayComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingOverlayComponent.js","sourceRoot":"","sources":["../../src/lib/components/LoadingOverlayComponent.tsx"],"names":[],"mappings":";;;;AAAA,4CAAgD;AAChD,wCAAkC;AAClC,gFAAyC;AAMzC,kDAAkD;AAClD,SAAwB,uBAAuB,CAAC,EAAE,IAAI,EAAS;IAC7D,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAC;IAEzB,OAAO,CACL,uBAAC,gBAAK,IAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,YACnC,uBAAC,YAAG,IACF,EAAE,EAAE;gBACF,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,CAAC;aACX,YAED,uBAAC,0BAAS,IAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAC,gBAAgB,GAAG,GACxE,GACA,CACT,CAAC;AACJ,CAAC;AAlBD,0CAkBC"}
|
package/components/Toast.js
CHANGED
|
@@ -23,7 +23,7 @@ function Toast({ open, title, message, onCloseToast, logo = ConfirmIcon_1.defaul
|
|
|
23
23
|
borderRadius: '5px',
|
|
24
24
|
boxShadow: '0px 0px 45px rgba(0, 0, 0, 0.1) ',
|
|
25
25
|
border: 'none',
|
|
26
|
-
}, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 2, children: (0, jsx_runtime_1.jsx)(material_1.SvgIcon, { component: logo, viewBox: "0 0 80 24", sx: { width: '80px', height: '37px', marginLeft: '13px' } }) }), (0, jsx_runtime_1.jsxs)(material_1.Grid, { item: true, xs: 8, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { pt: 1, pb: 1, sx: { fontSize: '15px', fontWeight: '600' }, children: title }), (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "div", children: message })] }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 2, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { onClick: onCloseToast, children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }) })] }) })) }));
|
|
26
|
+
}, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 2, children: (0, jsx_runtime_1.jsx)(material_1.SvgIcon, { component: logo, viewBox: "0 0 80 24", sx: { width: '80px', height: '37px', marginLeft: '13px' } }) }), (0, jsx_runtime_1.jsxs)(material_1.Grid, { item: true, xs: 8, children: [(0, jsx_runtime_1.jsx)(material_1.Typography, { pt: 1, pb: 1, sx: { fontSize: '15px !important', fontWeight: '600' }, children: title }), (0, jsx_runtime_1.jsx)(material_1.Typography, { component: "div", children: message })] }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 2, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { onClick: onCloseToast, children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }) })] }) })) }));
|
|
27
27
|
}
|
|
28
28
|
exports.default = Toast;
|
|
29
29
|
//# sourceMappingURL=Toast.js.map
|
package/components/Toast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../src/lib/components/Toast.tsx"],"names":[],"mappings":";;;;AAAA,iCAAuD;AACvD,4CAA6E;AAC7E,wCAAqC;AACrC,8EAAkD;AAClD,8EAA8C;AAyB9C,MAAM,WAAW,GAAG,IAAA,eAAM,EAAC,gBAAK,CAAC,CAAC;IAChC,gBAAgB,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;CACtC,CAAC,CAAC;AAEH,uBAAuB;AACvB,SAAwB,KAAK,CAAC,EAC5B,IAAI,EACJ,KAAK,EACL,OAAO,EACP,YAAY,EACZ,IAAI,GAAG,qBAAW,EAClB,eAAe,GAAG,SAAS,EAC3B,KAAK,GAAG,OAAO,EACf,OAAO,GAAG,KAAK,EACf,MAAM,GAAG,MAAM,EACf,KAAK,GAAG,MAAM,GACR;IACN,MAAM,aAAa,GAAkB,CAAC,OAAO;QAC3C,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE;QACnD,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAErB,OAAO,CACL,uBAAC,gBAAQ,cACN,IAAI,IAAI,CACP,uBAAC,WAAW,IACV,SAAS,EAAC,WAAW,EACrB,OAAO,EAAC,UAAU,EAClB,EAAE,EAAE;gBACF,GAAG,aAAa;gBAChB,KAAK,EAAE,EAAE,KAAK,EAAE;gBAChB,eAAe,EAAE,OAAO;gBACxB,UAAU,EAAE,aAAa,eAAe,aAAa;gBACrD,YAAY,EAAE,KAAK;gBACnB,SAAS,EAAE,kCAAkC;gBAC7C,MAAM,EAAE,MAAM;aACf,YAED,wBAAC,eAAI,IAAC,SAAS,mBACb,uBAAC,eAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC,YACd,uBAAC,kBAAO,I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,OAAO;gBACxB,UAAU,EAAE,aAAa,eAAe,aAAa;gBACrD,YAAY,EAAE,KAAK;gBACnB,SAAS,EAAE,kCAAkC;gBAC7C,MAAM,EAAE,MAAM;aACf,YAED,wBAAC,eAAI,IAAC,SAAS,mBACb,uBAAC,eAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC,YACd,uBAAC,kBAAO,IACN,SAAS,EAAE,IAAI,EACf,OAAO,EAAC,WAAW,EACnB,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GACzD,GACG,EACP,wBAAC,eAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC,aACd,uBAAC,qBAAU,IAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE,YAC7E,KAAK,GACK,EACb,uBAAC,qBAAU,IAAC,SAAS,EAAC,KAAK,YAAE,OAAO,GAAc,IAC7C,EACP,uBAAC,eAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC,YACd,uBAAC,qBAAU,IAAC,OAAO,EAAE,YAAY,YAC/B,uBAAC,eAAS,KAAG,GACF,GACR,IACF,GACK,CACf,GACQ,CACZ,CAAC;AACJ,CAAC;AAxDD,wBAwDC"}
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const SvgIcon_1 = tslib_1.__importDefault(require("@mui/material/SvgIcon"));
|
|
6
|
-
exports.default = (props) => ((0, jsx_runtime_1.jsxs)(SvgIcon_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)("path", { opacity: "0.
|
|
6
|
+
exports.default = (props) => ((0, jsx_runtime_1.jsxs)(SvgIcon_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)("path", { opacity: "0.3", d: "M113.499 2.27148V24.5325H109.924L109.924 21.6299C107.978 23.433 105.391 24.5325 102.551 24.5325C98.7189 24.5325 95.3465 22.5305 93.3906 19.4991C94.521 17.7478 95.1782 15.6529 95.1782 13.402C95.1782 11.1511 94.521 9.0562 93.3911 7.3049C95.3465 4.27347 98.7189 2.27148 102.551 2.27148C105.391 2.27148 107.978 3.37096 109.924 5.17409L109.924 2.27148H113.499ZM102.551 5.90594C98.4792 5.90594 95.1782 9.26204 95.1782 13.402C95.1782 17.542 98.4792 20.8981 102.551 20.8981C106.623 20.8981 109.924 17.542 109.924 13.402C109.924 9.26204 106.623 5.90594 102.551 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.3", d: "M3.57472 2.27148L3.57469 5.17409C5.5202 3.37096 8.10761 2.27148 10.9476 2.27148C14.7798 2.27148 18.1522 4.27347 20.1081 7.3049C18.9776 9.0562 18.3205 11.1511 18.3205 13.402C18.3205 15.6529 18.9776 17.7478 20.1076 19.4991C18.1522 22.5305 14.7798 24.5325 10.9476 24.5325C8.10761 24.5325 5.5202 23.433 3.57469 21.6299L3.57472 30.8928H0V2.27148H3.57472ZM10.9476 5.90594C6.87567 5.90594 3.57472 9.26204 3.57472 13.402C3.57472 17.542 6.87567 20.8981 10.9476 20.8981C15.0195 20.8981 18.3205 17.542 18.3205 13.402C18.3205 9.26204 15.0195 5.90594 10.9476 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.6", d: "M40.2153 2.27148V5.18457C38.0189 7.22435 36.6406 10.1628 36.6406 13.4292C36.6406 16.6956 38.0189 19.634 40.2153 21.6738V24.5325H36.6406L36.6407 21.6299C34.6952 23.433 32.1078 24.5325 29.2678 24.5325C23.2217 24.5325 18.3203 19.5492 18.3203 13.402C18.3203 7.25479 23.2217 2.27148 29.2678 2.27148C32.1078 2.27148 34.6952 3.37096 36.6407 5.17409L36.6406 2.27148H40.2153ZM29.2678 5.90594C25.1959 5.90594 21.895 9.26204 21.895 13.402C21.895 17.542 25.1959 20.8981 29.2678 20.8981C33.3397 20.8981 36.6406 17.542 36.6406 13.402C36.6406 9.26204 33.3397 5.90594 29.2678 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.6", d: "M76.858 2.27148L76.8584 5.17368C78.8039 3.37079 81.3911 2.27148 84.2309 2.27148C90.2772 2.27148 95.1786 7.25479 95.1786 13.402C95.1786 19.5492 90.2772 24.5325 84.2309 24.5325C81.3911 24.5325 78.8039 23.4332 76.8584 21.6303L76.858 30.8928H73.2832V21.6299C75.4797 19.5943 76.858 16.6618 76.858 13.402C76.858 10.1422 75.4797 7.20973 73.2832 5.17408V2.27148H76.858ZM84.2309 5.90594C80.159 5.90594 76.858 9.26204 76.858 13.402C76.858 17.542 80.159 20.8981 84.2309 20.8981C88.3029 20.8981 91.6039 17.542 91.6039 13.402C91.6039 9.26204 88.3029 5.90594 84.2309 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { d: "M58.5361 0V5.17365L58.6866 5.0372C60.6141 3.3155 63.1416 2.27153 65.909 2.27153C71.9553 2.27153 76.8567 7.25484 76.8567 13.4021C76.8567 19.5493 71.9553 24.5326 65.909 24.5326C63.069 24.5326 60.4816 23.4331 58.5361 21.63L58.5361 24.5823C58.5361 27.4171 57.4208 30.0816 55.4636 32.1086L55.3189 32.2558L52.8163 29.6553C54.1461 28.3271 54.9109 26.6032 54.9589 24.7664L54.9613 24.5823L54.9613 21.6738C53.0158 23.4806 50.4284 24.5823 47.5883 24.5823C41.5421 24.5823 36.6406 19.5889 36.6406 13.4292C36.6406 7.26955 41.5421 2.27614 47.5883 2.27614C50.4284 2.27614 53.0158 3.37785 54.9613 5.18463L54.9613 0H58.5361ZM47.5883 5.91797C43.5164 5.91797 40.2154 9.28088 40.2154 13.4292C40.2154 17.5776 43.5164 20.9405 47.5883 20.9405C51.6603 20.9405 54.9613 17.5776 54.9613 13.4292C54.9613 9.28088 51.6603 5.91797 47.5883 5.91797ZM65.909 5.90599C61.8371 5.90599 58.5361 9.26209 58.5361 13.4021C58.5361 17.542 61.8371 20.8981 65.909 20.8981C69.981 20.8981 73.282 17.542 73.282 13.4021C73.282 9.26209 69.981 5.90599 65.909 5.90599Z", fill: "#00B2C2" })] }));
|
|
7
7
|
//# sourceMappingURL=PagoPaIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PagoPaIcon.js","sourceRoot":"","sources":["../../../src/lib/components/icons/PagoPaIcon.tsx"],"names":[],"mappings":";;;;AAAA,4EAAgE;AAGhE,kBAAe,CAAC,KAA4C,EAAE,EAAE,CAAC,CAC/D,wBAAC,iBAAO,OAAK,KAAK,aAChB,iCACE,OAAO,EAAC,KAAK,EACb,
|
|
1
|
+
{"version":3,"file":"PagoPaIcon.js","sourceRoot":"","sources":["../../../src/lib/components/icons/PagoPaIcon.tsx"],"names":[],"mappings":";;;;AAAA,4EAAgE;AAGhE,kBAAe,CAAC,KAA4C,EAAE,EAAE,CAAC,CAC/D,wBAAC,iBAAO,OAAK,KAAK,aAChB,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,kjBAAkjB,EACpjB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,4iBAA4iB,EAC9iB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,0jBAA0jB,EAC5jB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,mjBAAmjB,EACrjB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,w/BAAw/B,EAC1/B,IAAI,EAAC,SAAS,GACd,IACM,CACX,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SvgIconTypeMap } from '@mui/material/SvgIcon';
|
|
3
|
+
import { DefaultComponentProps } from '@mui/material/OverridableComponent';
|
|
4
|
+
declare const _default: (props: DefaultComponentProps<SvgIconTypeMap>) => JSX.Element;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const SvgIcon_1 = tslib_1.__importDefault(require("@mui/material/SvgIcon"));
|
|
6
|
+
exports.default = (props) => ((0, jsx_runtime_1.jsxs)(SvgIcon_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)("path", { opacity: "0.3", d: "M113.499 2.27148V24.5325H109.924L109.924 21.6299C107.978 23.433 105.391 24.5325 102.551 24.5325C98.7189 24.5325 95.3465 22.5305 93.3906 19.4991C94.521 17.7478 95.1782 15.6529 95.1782 13.402C95.1782 11.1511 94.521 9.0562 93.3911 7.3049C95.3465 4.27347 98.7189 2.27148 102.551 2.27148C105.391 2.27148 107.978 3.37096 109.924 5.17409L109.924 2.27148H113.499ZM102.551 5.90594C98.4792 5.90594 95.1782 9.26204 95.1782 13.402C95.1782 17.542 98.4792 20.8981 102.551 20.8981C106.623 20.8981 109.924 17.542 109.924 13.402C109.924 9.26204 106.623 5.90594 102.551 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.3", d: "M3.57472 2.27148L3.57469 5.17409C5.5202 3.37096 8.10761 2.27148 10.9476 2.27148C14.7798 2.27148 18.1522 4.27347 20.1081 7.3049C18.9776 9.0562 18.3205 11.1511 18.3205 13.402C18.3205 15.6529 18.9776 17.7478 20.1076 19.4991C18.1522 22.5305 14.7798 24.5325 10.9476 24.5325C8.10761 24.5325 5.5202 23.433 3.57469 21.6299L3.57472 30.8928H0V2.27148H3.57472ZM10.9476 5.90594C6.87567 5.90594 3.57472 9.26204 3.57472 13.402C3.57472 17.542 6.87567 20.8981 10.9476 20.8981C15.0195 20.8981 18.3205 17.542 18.3205 13.402C18.3205 9.26204 15.0195 5.90594 10.9476 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.6", d: "M40.2153 2.27148V5.18457C38.0189 7.22435 36.6406 10.1628 36.6406 13.4292C36.6406 16.6956 38.0189 19.634 40.2153 21.6738V24.5325H36.6406L36.6407 21.6299C34.6952 23.433 32.1078 24.5325 29.2678 24.5325C23.2217 24.5325 18.3203 19.5492 18.3203 13.402C18.3203 7.25479 23.2217 2.27148 29.2678 2.27148C32.1078 2.27148 34.6952 3.37096 36.6407 5.17409L36.6406 2.27148H40.2153ZM29.2678 5.90594C25.1959 5.90594 21.895 9.26204 21.895 13.402C21.895 17.542 25.1959 20.8981 29.2678 20.8981C33.3397 20.8981 36.6406 17.542 36.6406 13.402C36.6406 9.26204 33.3397 5.90594 29.2678 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { opacity: "0.6", d: "M76.858 2.27148L76.8584 5.17368C78.8039 3.37079 81.3911 2.27148 84.2309 2.27148C90.2772 2.27148 95.1786 7.25479 95.1786 13.402C95.1786 19.5492 90.2772 24.5325 84.2309 24.5325C81.3911 24.5325 78.8039 23.4332 76.8584 21.6303L76.858 30.8928H73.2832V21.6299C75.4797 19.5943 76.858 16.6618 76.858 13.402C76.858 10.1422 75.4797 7.20973 73.2832 5.17408V2.27148H76.858ZM84.2309 5.90594C80.159 5.90594 76.858 9.26204 76.858 13.402C76.858 17.542 80.159 20.8981 84.2309 20.8981C88.3029 20.8981 91.6039 17.542 91.6039 13.402C91.6039 9.26204 88.3029 5.90594 84.2309 5.90594Z", fill: "#00B2C2" }), (0, jsx_runtime_1.jsx)("path", { d: "M58.5361 0V5.17365L58.6866 5.0372C60.6141 3.3155 63.1416 2.27153 65.909 2.27153C71.9553 2.27153 76.8567 7.25484 76.8567 13.4021C76.8567 19.5493 71.9553 24.5326 65.909 24.5326C63.069 24.5326 60.4816 23.4331 58.5361 21.63L58.5361 24.5823C58.5361 27.4171 57.4208 30.0816 55.4636 32.1086L55.3189 32.2558L52.8163 29.6553C54.1461 28.3271 54.9109 26.6032 54.9589 24.7664L54.9613 24.5823L54.9613 21.6738C53.0158 23.4806 50.4284 24.5823 47.5883 24.5823C41.5421 24.5823 36.6406 19.5889 36.6406 13.4292C36.6406 7.26955 41.5421 2.27614 47.5883 2.27614C50.4284 2.27614 53.0158 3.37785 54.9613 5.18463L54.9613 0H58.5361ZM47.5883 5.91797C43.5164 5.91797 40.2154 9.28088 40.2154 13.4292C40.2154 17.5776 43.5164 20.9405 47.5883 20.9405C51.6603 20.9405 54.9613 17.5776 54.9613 13.4292C54.9613 9.28088 51.6603 5.91797 47.5883 5.91797ZM65.909 5.90599C61.8371 5.90599 58.5361 9.26209 58.5361 13.4021C58.5361 17.542 61.8371 20.8981 65.909 20.8981C69.981 20.8981 73.282 17.542 73.282 13.4021C73.282 9.26209 69.981 5.90599 65.909 5.90599Z", fill: "#00B2C2" })] }));
|
|
7
|
+
//# sourceMappingURL=PagoPaIconColored.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PagoPaIconColored.js","sourceRoot":"","sources":["../../../src/lib/components/icons/PagoPaIconColored.tsx"],"names":[],"mappings":";;;;AAAA,4EAAgE;AAGhE,kBAAe,CAAC,KAA4C,EAAE,EAAE,CAAC,CAC/D,wBAAC,iBAAO,OAAK,KAAK,aAChB,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,kjBAAkjB,EACpjB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,4iBAA4iB,EAC9iB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,0jBAA0jB,EAC5jB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,OAAO,EAAC,KAAK,EACb,CAAC,EAAC,mjBAAmjB,EACrjB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,w/BAAw/B,EAC1/B,IAAI,EAAC,SAAS,GACd,IACM,CACX,CAAC"}
|
package/hooks/useLogin.js
CHANGED
|
@@ -7,7 +7,7 @@ const react_redux_1 = require("react-redux");
|
|
|
7
7
|
const env_1 = require("../config/env");
|
|
8
8
|
const userSlice_1 = require("../redux/slices/userSlice");
|
|
9
9
|
const storage_1 = require("../utils/storage");
|
|
10
|
-
const testToken = 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imp3dF9kZjplNjoxOTplYToxZTpjZTplNjo3Yjo3MDo0MjoyYzphMjpjZDo4Yjo1MjowYiJ9.
|
|
10
|
+
const testToken = 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imp3dF9kZjplNjoxOTplYToxZTpjZTplNjo3Yjo3MDo0MjoyYzphMjpjZDo4Yjo1MjowYiJ9.eyJlbWFpbCI6ImZ1cmlvdml0YWxlQG1hcnRpbm8uaXQiLCJmYW1pbHlfbmFtZSI6IlNhcnRvcmkiLCJmaXNjYWxfbnVtYmVyIjoiU1JUTkxNMDlUMDZHNjM1UyIsIm5hbWUiOiJBbnNlbG1vIiwiZnJvbV9hYSI6ZmFsc2UsInVpZCI6IjliMTdjZTcwLWY3OWYtNDJkOS04YjBlLTRlN2ViNGQ4ODA3NCIsImxldmVsIjoiTDIiLCJpYXQiOjE2NDkzMjQ5NjYsImF1ZCI6Imh0dHBzOi8vYXBpLmRldi5zZWxmY2FyZS5wYWdvcGEuaXQiLCJpc3MiOiJTUElEIiwianRpIjoiMDFHMDFQVkdNR1hDR1IyMTdZWTZFTUNYNk4ifQ.Deq53Tt1Lohp54H6e83-ZaUVMuRahGRDVW7awKl9czZ5UC8Nb6-PPP4hLz7Ut3lq_DjVy7sUpMVjHhGBi2g-Xya95apRlwOwl5Evu-MJzoLTjSKMRK7Nz5qEhJoA3tgOU3094VNuz_-AyIyOptD--wXZH15furowqGdvzH2lFWN2SK7mqwnuCw8zHsPiDtmUD2LxWIGP7TUo5wYHggwD332Gzi85fWJAFlwY0K0mtUE6JiAcZmtTNSnlksqPlrRa1AfwGrgs8Wi9kxS7eL1YhcBIi3b6Y3qPg5sLvM77L8RCdPRmGt1nViGDFSmcBldhtk82XW2IjJwyiJb5kgrMcQ';
|
|
11
11
|
const mockedUser = {
|
|
12
12
|
uid: '0',
|
|
13
13
|
taxCode: 'AAAAAA00A00A000A',
|
package/hooks/useLogin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLogin.js","sourceRoot":"","sources":["../../src/lib/hooks/useLogin.ts"],"names":[],"mappings":";;;;AAAA,qEAAqC;AACrC,6CAA0C;AAC1C,uCAAuC;AAEvC,yDAAwD;AACxD,8CAAmE;AAEnE,MAAM,SAAS,GACb,
|
|
1
|
+
{"version":3,"file":"useLogin.js","sourceRoot":"","sources":["../../src/lib/hooks/useLogin.ts"],"names":[],"mappings":";;;;AAAA,qEAAqC;AACrC,6CAA0C;AAC1C,uCAAuC;AAEvC,yDAAwD;AACxD,8CAAmE;AAEnE,MAAM,SAAS,GACb,o1BAAo1B,CAAC;AAEv1B,MAAM,UAAU,GAAG;IACjB,GAAG,EAAE,GAAG;IACR,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,eAAe;IACxB,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEK,MAAM,QAAQ,GAAG,GAAG,EAAE;IAC3B,MAAM,QAAQ,GAAG,IAAA,yBAAW,GAAE,CAAC;IAC/B,MAAM,OAAO,GAAG,CAAC,IAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,uBAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAE1E,MAAM,kBAAkB,GAAG,KAAK,IAAI,EAAE;QACpC,IAAI,YAAM,CAAC,KAAK,CAAC,SAAS,EAAE;YAC1B,OAAO,CAAC,UAAU,CAAC,CAAC;YACpB,yBAAe,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YACjC,wBAAc,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YACjC,OAAO;SACR;QAED,MAAM,kBAAkB,GAAG,wBAAc,CAAC,IAAI,EAAE,CAAC;QAEjD,oEAAoE;QACpE,IAAI,IAAA,iBAAO,EAAC,kBAAkB,CAAC,EAAE;YAC/B,oEAAoE;YACpE,wBAAc,CAAC,MAAM,EAAE,CAAC;YACxB,uBAAuB;YACvB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5C,2BAA2B;YAC3B,OAAO;SACR;QAED,2DAA2D;QAC3D,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9B,CAAC,CAAC;IAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAChC,CAAC,CAAC;AA7BW,QAAA,QAAQ,YA6BnB"}
|
package/index.d.ts
CHANGED
|
@@ -6,8 +6,26 @@ export { default as FilterModal } from './components/FilterModal';
|
|
|
6
6
|
export { default as SessionModal } from './components/SessionModal';
|
|
7
7
|
export { default as TitleBox } from './components/TitleBox';
|
|
8
8
|
export { default as Toast } from './components/Toast';
|
|
9
|
+
export { default as ToastWrapper } from './components/ToastWrapper';
|
|
9
10
|
export { default as EndingPage } from './components/EndingPage';
|
|
11
|
+
export { default as LoadingOverlayComponent } from './components/LoadingOverlayComponent';
|
|
12
|
+
export { default as NavigationBar } from './components/NavigationBar';
|
|
13
|
+
export { default as CheckIllustrationIcon } from './components/icons/CheckIllustrationIcon';
|
|
14
|
+
export { default as ConfirmIcon } from './components/icons/ConfirmIcon';
|
|
15
|
+
export { default as ErrorIcon } from './components/icons/ErrorIcon';
|
|
16
|
+
export { default as FaultIcon } from './components/icons/FaultIcon';
|
|
17
|
+
export { default as PagoPaIcon } from './components/icons/PagoPaIcon';
|
|
18
|
+
export { default as PagoPaMiniIcon } from './components/icons/PagoPaMiniIcon';
|
|
10
19
|
export { default as ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary';
|
|
20
|
+
export { default as useErrorDispatcher } from './hooks/useErrorDispatcher';
|
|
11
21
|
export { default as LoadingOverlay } from './components/Loading/LoadingOverlay';
|
|
22
|
+
export { default as useLoading } from './hooks/useLoading';
|
|
12
23
|
export { default as UserNotifyHandle } from './components/UserNotifyHandle';
|
|
24
|
+
export { default as useUserNotify } from './hooks/useUserNotify';
|
|
13
25
|
export { default as UnloadEventHandler } from './components/UnloadEventHandler';
|
|
26
|
+
export { useUnloadEventInterceptor, useUnloadEventInterceptorAndActivate, useUnloadEventOnExit, useUnloadEventLogout, } from './hooks/useUnloadEventInterceptor';
|
|
27
|
+
export { default as withLogin } from './decorators/withLogin';
|
|
28
|
+
export { useLogin } from './hooks/useLogin';
|
|
29
|
+
export { default as withRetrievedValue } from './decorators/withRetrievedValue';
|
|
30
|
+
export { default as useReduxCachedValue } from './hooks/useReduxCachedValue';
|
|
31
|
+
export { default as useFakePagination } from './hooks/useFakePagination';
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.UnloadEventHandler = exports.UserNotifyHandle = exports.LoadingOverlay = exports.ErrorBoundary = exports.EndingPage = exports.Toast = exports.TitleBox = exports.SessionModal = exports.FilterModal = exports.CustomPagination = exports.CustomAvatar = exports.Footer = exports.Header = void 0;
|
|
6
|
+
exports.useFakePagination = exports.useReduxCachedValue = exports.withRetrievedValue = exports.useLogin = exports.withLogin = exports.useUnloadEventLogout = exports.useUnloadEventOnExit = exports.useUnloadEventInterceptorAndActivate = exports.useUnloadEventInterceptor = exports.UnloadEventHandler = exports.useUserNotify = exports.UserNotifyHandle = exports.useLoading = exports.LoadingOverlay = exports.useErrorDispatcher = exports.ErrorBoundary = exports.PagoPaMiniIcon = exports.PagoPaIcon = exports.FaultIcon = exports.ErrorIcon = exports.ConfirmIcon = exports.CheckIllustrationIcon = exports.NavigationBar = exports.LoadingOverlayComponent = exports.EndingPage = exports.ToastWrapper = exports.Toast = exports.TitleBox = exports.SessionModal = exports.FilterModal = exports.CustomPagination = exports.CustomAvatar = exports.Footer = exports.Header = void 0;
|
|
7
7
|
var Header_1 = require("./components/Header/Header");
|
|
8
8
|
Object.defineProperty(exports, "Header", { enumerable: true, get: function () { return __importDefault(Header_1).default; } });
|
|
9
9
|
var Footer_1 = require("./components/Footer/Footer");
|
|
@@ -20,14 +20,53 @@ var TitleBox_1 = require("./components/TitleBox");
|
|
|
20
20
|
Object.defineProperty(exports, "TitleBox", { enumerable: true, get: function () { return __importDefault(TitleBox_1).default; } });
|
|
21
21
|
var Toast_1 = require("./components/Toast");
|
|
22
22
|
Object.defineProperty(exports, "Toast", { enumerable: true, get: function () { return __importDefault(Toast_1).default; } });
|
|
23
|
+
var ToastWrapper_1 = require("./components/ToastWrapper");
|
|
24
|
+
Object.defineProperty(exports, "ToastWrapper", { enumerable: true, get: function () { return __importDefault(ToastWrapper_1).default; } });
|
|
23
25
|
var EndingPage_1 = require("./components/EndingPage");
|
|
24
26
|
Object.defineProperty(exports, "EndingPage", { enumerable: true, get: function () { return __importDefault(EndingPage_1).default; } });
|
|
27
|
+
var LoadingOverlayComponent_1 = require("./components/LoadingOverlayComponent");
|
|
28
|
+
Object.defineProperty(exports, "LoadingOverlayComponent", { enumerable: true, get: function () { return __importDefault(LoadingOverlayComponent_1).default; } });
|
|
29
|
+
var NavigationBar_1 = require("./components/NavigationBar");
|
|
30
|
+
Object.defineProperty(exports, "NavigationBar", { enumerable: true, get: function () { return __importDefault(NavigationBar_1).default; } });
|
|
31
|
+
var CheckIllustrationIcon_1 = require("./components/icons/CheckIllustrationIcon");
|
|
32
|
+
Object.defineProperty(exports, "CheckIllustrationIcon", { enumerable: true, get: function () { return __importDefault(CheckIllustrationIcon_1).default; } });
|
|
33
|
+
var ConfirmIcon_1 = require("./components/icons/ConfirmIcon");
|
|
34
|
+
Object.defineProperty(exports, "ConfirmIcon", { enumerable: true, get: function () { return __importDefault(ConfirmIcon_1).default; } });
|
|
35
|
+
var ErrorIcon_1 = require("./components/icons/ErrorIcon");
|
|
36
|
+
Object.defineProperty(exports, "ErrorIcon", { enumerable: true, get: function () { return __importDefault(ErrorIcon_1).default; } });
|
|
37
|
+
var FaultIcon_1 = require("./components/icons/FaultIcon");
|
|
38
|
+
Object.defineProperty(exports, "FaultIcon", { enumerable: true, get: function () { return __importDefault(FaultIcon_1).default; } });
|
|
39
|
+
var PagoPaIcon_1 = require("./components/icons/PagoPaIcon");
|
|
40
|
+
Object.defineProperty(exports, "PagoPaIcon", { enumerable: true, get: function () { return __importDefault(PagoPaIcon_1).default; } });
|
|
41
|
+
var PagoPaMiniIcon_1 = require("./components/icons/PagoPaMiniIcon");
|
|
42
|
+
Object.defineProperty(exports, "PagoPaMiniIcon", { enumerable: true, get: function () { return __importDefault(PagoPaMiniIcon_1).default; } });
|
|
25
43
|
var ErrorBoundary_1 = require("./components/ErrorBoundary/ErrorBoundary");
|
|
26
44
|
Object.defineProperty(exports, "ErrorBoundary", { enumerable: true, get: function () { return __importDefault(ErrorBoundary_1).default; } });
|
|
45
|
+
var useErrorDispatcher_1 = require("./hooks/useErrorDispatcher");
|
|
46
|
+
Object.defineProperty(exports, "useErrorDispatcher", { enumerable: true, get: function () { return __importDefault(useErrorDispatcher_1).default; } });
|
|
27
47
|
var LoadingOverlay_1 = require("./components/Loading/LoadingOverlay");
|
|
28
48
|
Object.defineProperty(exports, "LoadingOverlay", { enumerable: true, get: function () { return __importDefault(LoadingOverlay_1).default; } });
|
|
49
|
+
var useLoading_1 = require("./hooks/useLoading");
|
|
50
|
+
Object.defineProperty(exports, "useLoading", { enumerable: true, get: function () { return __importDefault(useLoading_1).default; } });
|
|
29
51
|
var UserNotifyHandle_1 = require("./components/UserNotifyHandle");
|
|
30
52
|
Object.defineProperty(exports, "UserNotifyHandle", { enumerable: true, get: function () { return __importDefault(UserNotifyHandle_1).default; } });
|
|
53
|
+
var useUserNotify_1 = require("./hooks/useUserNotify");
|
|
54
|
+
Object.defineProperty(exports, "useUserNotify", { enumerable: true, get: function () { return __importDefault(useUserNotify_1).default; } });
|
|
31
55
|
var UnloadEventHandler_1 = require("./components/UnloadEventHandler");
|
|
32
56
|
Object.defineProperty(exports, "UnloadEventHandler", { enumerable: true, get: function () { return __importDefault(UnloadEventHandler_1).default; } });
|
|
57
|
+
var useUnloadEventInterceptor_1 = require("./hooks/useUnloadEventInterceptor");
|
|
58
|
+
Object.defineProperty(exports, "useUnloadEventInterceptor", { enumerable: true, get: function () { return useUnloadEventInterceptor_1.useUnloadEventInterceptor; } });
|
|
59
|
+
Object.defineProperty(exports, "useUnloadEventInterceptorAndActivate", { enumerable: true, get: function () { return useUnloadEventInterceptor_1.useUnloadEventInterceptorAndActivate; } });
|
|
60
|
+
Object.defineProperty(exports, "useUnloadEventOnExit", { enumerable: true, get: function () { return useUnloadEventInterceptor_1.useUnloadEventOnExit; } });
|
|
61
|
+
Object.defineProperty(exports, "useUnloadEventLogout", { enumerable: true, get: function () { return useUnloadEventInterceptor_1.useUnloadEventLogout; } });
|
|
62
|
+
var withLogin_1 = require("./decorators/withLogin");
|
|
63
|
+
Object.defineProperty(exports, "withLogin", { enumerable: true, get: function () { return __importDefault(withLogin_1).default; } });
|
|
64
|
+
var useLogin_1 = require("./hooks/useLogin");
|
|
65
|
+
Object.defineProperty(exports, "useLogin", { enumerable: true, get: function () { return useLogin_1.useLogin; } });
|
|
66
|
+
var withRetrievedValue_1 = require("./decorators/withRetrievedValue");
|
|
67
|
+
Object.defineProperty(exports, "withRetrievedValue", { enumerable: true, get: function () { return __importDefault(withRetrievedValue_1).default; } });
|
|
68
|
+
var useReduxCachedValue_1 = require("./hooks/useReduxCachedValue");
|
|
69
|
+
Object.defineProperty(exports, "useReduxCachedValue", { enumerable: true, get: function () { return __importDefault(useReduxCachedValue_1).default; } });
|
|
70
|
+
var useFakePagination_1 = require("./hooks/useFakePagination");
|
|
71
|
+
Object.defineProperty(exports, "useFakePagination", { enumerable: true, get: function () { return __importDefault(useFakePagination_1).default; } });
|
|
33
72
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":";;;;;;AAAA,qDAA+D;AAAtD,iHAAA,OAAO,OAAU;AAC1B,qDAA+D;AAAtD,iHAAA,OAAO,OAAU;AAC1B,0DAAoE;AAA3D,6HAAA,OAAO,OAAgB;AAChC,kEAA4E;AAAnE,qIAAA,OAAO,OAAoB;AACpC,wDAAkE;AAAzD,2HAAA,OAAO,OAAe;AAC/B,0DAAoE;AAA3D,6HAAA,OAAO,OAAgB;AAChC,kDAA4D;AAAnD,qHAAA,OAAO,OAAY;AAC5B,4CAAsD;AAA7C,+GAAA,OAAO,OAAS;AACzB,sDAAgE;AAAvD,yHAAA,OAAO,OAAc;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":";;;;;;AAAA,qDAA+D;AAAtD,iHAAA,OAAO,OAAU;AAC1B,qDAA+D;AAAtD,iHAAA,OAAO,OAAU;AAC1B,0DAAoE;AAA3D,6HAAA,OAAO,OAAgB;AAChC,kEAA4E;AAAnE,qIAAA,OAAO,OAAoB;AACpC,wDAAkE;AAAzD,2HAAA,OAAO,OAAe;AAC/B,0DAAoE;AAA3D,6HAAA,OAAO,OAAgB;AAChC,kDAA4D;AAAnD,qHAAA,OAAO,OAAY;AAC5B,4CAAsD;AAA7C,+GAAA,OAAO,OAAS;AACzB,0DAAoE;AAA3D,6HAAA,OAAO,OAAgB;AAChC,sDAAgE;AAAvD,yHAAA,OAAO,OAAc;AAC9B,gFAA0F;AAAjF,mJAAA,OAAO,OAA2B;AAC3C,4DAAsE;AAA7D,+HAAA,OAAO,OAAiB;AAEjC,kFAA4F;AAAnF,+IAAA,OAAO,OAAyB;AACzC,8DAAwE;AAA/D,2HAAA,OAAO,OAAe;AAC/B,0DAAoE;AAA3D,uHAAA,OAAO,OAAa;AAC7B,0DAAoE;AAA3D,uHAAA,OAAO,OAAa;AAC7B,4DAAsE;AAA7D,yHAAA,OAAO,OAAc;AAC9B,oEAA8E;AAArE,iIAAA,OAAO,OAAkB;AAElC,0EAAoF;AAA3E,+HAAA,OAAO,OAAiB;AACjC,iEAA2E;AAAlE,yIAAA,OAAO,OAAsB;AAEtC,sEAAgF;AAAvE,iIAAA,OAAO,OAAkB;AAClC,iDAA2D;AAAlD,yHAAA,OAAO,OAAc;AAE9B,kEAA4E;AAAnE,qIAAA,OAAO,OAAoB;AACpC,uDAAiE;AAAxD,+HAAA,OAAO,OAAiB;AAEjC,sEAAgF;AAAvE,yIAAA,OAAO,OAAsB;AACtC,+EAK2C;AAJzC,sIAAA,yBAAyB,OAAA;AACzB,iJAAA,oCAAoC,OAAA;AACpC,iIAAA,oBAAoB,OAAA;AACpB,iIAAA,oBAAoB,OAAA;AAGtB,oDAA8D;AAArD,uHAAA,OAAO,OAAa;AAC7B,6CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AAEjB,sEAAgF;AAAvE,yIAAA,OAAO,OAAsB;AACtC,mEAA6E;AAApE,2IAAA,OAAO,OAAuB;AAEvC,+DAAyE;AAAhE,uIAAA,OAAO,OAAqB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/selfcare-common-frontend",
|
|
3
3
|
"description": "Shared React components for the pagopa selfcare project",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|