@pagopa/selfcare-common-frontend 1.6.2 → 1.9.0
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 +18 -0
- package/README.md +26 -0
- package/build.info +2 -2
- package/common-polyfill.d.ts +2 -0
- package/common-polyfill.js +2 -0
- package/common-polyfill.js.map +1 -1
- package/components/CustomAvatar.d.ts +1 -0
- package/components/CustomAvatar.js +2 -2
- package/components/CustomAvatar.js.map +1 -1
- package/components/CustomPagination.d.ts +1 -0
- package/components/CustomPagination.js +4 -4
- package/components/CustomPagination.js.map +1 -1
- package/components/EndingPage.js +2 -2
- package/components/EndingPage.js.map +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js +9 -9
- package/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/components/ErrorBoundary/components/BlockingErrorPage.js +4 -4
- package/components/ErrorBoundary/components/BlockingErrorPage.js.map +1 -1
- package/components/FilterModal.js +9 -6
- package/components/FilterModal.js.map +1 -1
- package/components/Footer/Footer.d.ts +1 -0
- package/components/Footer/Footer.js +9 -9
- package/components/Footer/Footer.js.map +1 -1
- package/components/Header/Header.js +4 -4
- package/components/Header/Header.js.map +1 -1
- package/components/Header/subHeader/SubHeader.js +3 -3
- package/components/Header/subHeader/SubHeader.js.map +1 -1
- package/components/Loading/LoadingOverlay.d.ts +1 -0
- 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/NavigationBar.d.ts +10 -0
- package/components/NavigationBar.js +18 -0
- package/components/NavigationBar.js.map +1 -0
- package/components/SessionModal.js +4 -4
- package/components/SessionModal.js.map +1 -1
- package/components/TitleBox.d.ts +1 -0
- package/components/TitleBox.js +1 -1
- package/components/TitleBox.js.map +1 -1
- package/components/Toast.js +4 -4
- package/components/Toast.js.map +1 -1
- package/components/ToastWrapper.js +2 -2
- package/components/ToastWrapper.js.map +1 -1
- package/components/UnloadEventHandler.d.ts +1 -0
- package/components/UnloadEventHandler.js +2 -2
- package/components/UnloadEventHandler.js.map +1 -1
- package/components/UserNotifyHandle.d.ts +1 -0
- package/components/UserNotifyHandle.js +2 -2
- package/components/UserNotifyHandle.js.map +1 -1
- package/components/icons/CheckIllustrationIcon.d.ts +1 -0
- package/components/icons/CheckIllustrationIcon.js +2 -2
- package/components/icons/CheckIllustrationIcon.js.map +1 -1
- package/components/icons/ConfirmIcon.js +1 -1
- package/components/icons/ConfirmIcon.js.map +1 -1
- package/components/icons/ErrorIcon.d.ts +1 -0
- package/components/icons/ErrorIcon.js +2 -2
- package/components/icons/ErrorIcon.js.map +1 -1
- package/components/icons/FaultIcon.js +1 -1
- package/components/icons/FaultIcon.js.map +1 -1
- package/components/icons/PagoPaIcon.d.ts +1 -0
- package/components/icons/PagoPaIcon.js +2 -2
- package/components/icons/PagoPaIcon.js.map +1 -1
- package/components/icons/PagoPaMiniIcon.d.ts +1 -0
- package/components/icons/PagoPaMiniIcon.js +2 -2
- package/components/icons/PagoPaMiniIcon.js.map +1 -1
- package/config/env.js +1 -1
- package/config/env.js.map +1 -1
- package/decorators/__mocks__/withLogin.d.ts +1 -0
- package/decorators/__mocks__/withLogin.js +1 -1
- package/decorators/__mocks__/withLogin.js.map +1 -1
- package/decorators/withLogin.js +2 -2
- package/decorators/withLogin.js.map +1 -1
- package/decorators/withRetrievedValue.js +2 -2
- package/decorators/withRetrievedValue.js.map +1 -1
- package/hooks/useLogin.js +1 -1
- package/hooks/useLogin.js.map +1 -1
- package/hooks/useReduxCachedValue.js +1 -1
- package/hooks/useReduxCachedValue.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +40 -1
- package/index.js.map +1 -1
- package/locale/locale-utils.js +2 -2
- package/locale/locale-utils.js.map +1 -1
- package/package.json +6 -12
- package/services/analyticsService.js +1 -1
- package/services/analyticsService.js.map +1 -1
- package/services/assistanceService.js +1 -1
- package/services/assistanceService.js.map +1 -1
- package/utils/constants.d.ts +1 -1
- package/utils/constants.js.map +1 -1
- package/model/Party.d.ts +0 -12
- package/model/Party.js +0 -3
- package/model/Party.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withRetrievedValue.js","sourceRoot":"","sources":["../../src/lib/decorators/withRetrievedValue.tsx"],"names":[],"mappings":";;;;AAAA,iCAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"withRetrievedValue.js","sourceRoot":"","sources":["../../src/lib/decorators/withRetrievedValue.tsx"],"names":[],"mappings":";;;;AAAA,iCAAuD;AACvD,6FAA6D;AAG7D,uFAAuF;AACvF,SAAwB,kBAAkB;AAKxC,mEAAmE;AACnE,cAAyB;AACzB,2HAA2H;AAC3H,mBAAqD;AACrD,8BAA8B;AAC9B,gBAA4C;AAC5C,qFAAqF;AACrF,OAAsC;AACtC,sDAAsD;AACtD,SAAqB;IAErB,MAAM,WAAW,GAAG,gBAAgB,CAAC,WAAW,IAAI,gBAAgB,CAAC,IAAI,IAAI,WAAW,CAAC;IAEzF,MAAM,oBAAoB,GAAG,CAAC,KAAY,EAAE,EAAE;QAC5C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,GAAe,CAAC;QAClD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;QAE/C,MAAM,QAAQ,GAAG,IAAA,4BAAkB,GAAE,CAAC;QAEtC,MAAM,UAAU,GAAG,GAAS,EAAE;YAC5B,gBAAgB,EAAE;iBACf,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;iBACxB,KAAK,CAAC,CAAC,MAAM,EAAE,EAAE,CAChB,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,QAAQ,CAAC,CAAC;gBACpB,EAAE,EAAE,kBAAkB,cAAc,EAAE;gBACtC,QAAQ,EAAE,KAAK;gBACf,eAAe,EAAE,yCAAyC,cAAc,EAAE;gBAC1E,QAAQ,EAAE,IAAI;gBACd,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,UAAU;aACpB,CAAC,CACH,CAAC;QACN,CAAC,CAAC;QAEF,IAAA,iBAAS,EAAC,GAAG,EAAE;YACb,IAAI,CAAC,KAAK,EAAE;gBACV,UAAU,EAAE,CAAC;aACd;QACH,CAAC,EAAE,EAAE,CAAC,CAAC;QAEP,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,CAC3B,uBAAC,gBAAgB,OACV,KAAe,KAChB,EAAE,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,EAC/B,MAAM,EAAE,UAAU,GAClB,CACH,CAAC,CAAC,CAAC,CACF,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,kDAAK,CACnB,CAAC;IACJ,CAAC,CAAC;IAEF,qDAAqD;IACrD,oBAAoB,CAAC,WAAW,GAAG,eAAe,cAAc,IAAI,WAAW,GAAG,CAAC;IAEnF,OAAO,oBAA8E,CAAC;AACxF,CAAC;AA5DD,qCA4DC"}
|
package/hooks/useLogin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useLogin = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const isEmpty_1 =
|
|
5
|
+
const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
7
|
const env_1 = require("../config/env");
|
|
8
8
|
const userSlice_1 = require("../redux/slices/userSlice");
|
package/hooks/useLogin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLogin.js","sourceRoot":"","sources":["../../src/lib/hooks/useLogin.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"useLogin.js","sourceRoot":"","sources":["../../src/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6BnB"}
|
|
@@ -4,7 +4,7 @@ exports.useReduxCachedValueParametricRetrieverTranscoded = exports.useReduxCache
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_redux_1 = require("react-redux");
|
|
6
6
|
const constants_1 = require("../utils/constants");
|
|
7
|
-
const useLoading_1 =
|
|
7
|
+
const useLoading_1 = tslib_1.__importDefault(require("./useLoading"));
|
|
8
8
|
/** @see {useReduxCachedValue} when there is not RETRIEVER_ARGS and RETRIEVED_VALUE === STORED_VALUE */
|
|
9
9
|
const useReduxCachedValue = (entity, retrieverService, reduxSelector, reduxSetterAction, selectedValuePredicate2Retrieve, alwaysRetrieve) => useReduxCachedValueParametricRetriever(entity, retrieverService, reduxSelector, reduxSetterAction, selectedValuePredicate2Retrieve, alwaysRetrieve);
|
|
10
10
|
/** @see {useReduxCachedValueParametricRetrieverTranscoded} when RETRIEVED_VALUE === STORED_VALUE */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReduxCachedValue.js","sourceRoot":"","sources":["../../src/lib/hooks/useReduxCachedValue.tsx"],"names":[],"mappings":";;;;AACA,6CAAuD;AACvD,kDAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"useReduxCachedValue.js","sourceRoot":"","sources":["../../src/lib/hooks/useReduxCachedValue.tsx"],"names":[],"mappings":";;;;AACA,6CAAuD;AACvD,kDAAyE;AACzE,sEAAsC;AAEtC,uGAAuG;AACvG,MAAM,mBAAmB,GAAG,CAC1B,MAAc,EACd,gBAAgD,EAChD,aAA0D,EAC1D,iBAAiE,EACjE,+BAAqE,EACrE,cAAwB,EACU,EAAE,CACpC,sCAAsC,CACpC,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,+BAA+B,EAC/B,cAAc,CACmB,CAAC;AAEtC,oGAAoG;AACpG,MAAM,sCAAsC,GAAG,CAC7C,MAAc,EACd,gBAAoF,EACpF,aAA0D,EAC1D,iBAGuB,EACvB,+BAA2F,EAC3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CAAC,EAClE;YACA,UAAU,CAAC,IAAI,CAAC,CAAC;YACjB,OAAO,gBAAgB,CAAC,oBAAoB,CAAC;iBAC1C,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACV,WAAW,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;gBACrC,OAAO,CAAC,CAAC;YACX,CAAC,CAAC;iBACD,OAAO,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;SACrC;aAAM;YACL,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAC7B,OAAO,CAAC,4BAA4B,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CACtE,CAAC;SACH;IACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,gDAAgD,oDAkD3D;AAEF,kBAAe,mBAAmB,CAAC"}
|
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/locale/locale-utils.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.configureI18n = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_i18next_1 = require("react-i18next");
|
|
6
|
-
const i18next_1 =
|
|
7
|
-
const it_1 =
|
|
6
|
+
const i18next_1 = tslib_1.__importDefault(require("i18next"));
|
|
7
|
+
const it_1 = tslib_1.__importDefault(require("./it"));
|
|
8
8
|
const configureI18n = (resources, defaultLanguage = 'it') => {
|
|
9
9
|
const completeResources = { ...resources, it: { translation: { ...it_1.default, ...resources.it } } };
|
|
10
10
|
i18next_1.default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-utils.js","sourceRoot":"","sources":["../../src/lib/locale/locale-utils.ts"],"names":[],"mappings":";;;;AAAA,iDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"locale-utils.js","sourceRoot":"","sources":["../../src/lib/locale/locale-utils.ts"],"names":[],"mappings":";;;;AAAA,iDAAiD;AACjD,8DAA2B;AAC3B,sDAAsB;AAEf,MAAM,aAAa,GAAG,CAC3B,SAAkC,EAClC,kBAA0B,IAAI,EAC9B,EAAE;IACF,MAAM,iBAAiB,GAAG,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,GAAG,YAAE,EAAE,GAAG,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC;IAC5F,iBAAI;SACD,GAAG,CAAC,gCAAgB,CAAC;SACrB,IAAI,CAAC;QACJ,SAAS,EAAE,iBAAiB;QAC5B,GAAG,EAAE,eAAe;QACpB,aAAa,EAAE;YACb,WAAW,EAAE,KAAK;SACnB;KACF,CAAC;SACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACb,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;AACP,CAAC,CAAC;AAjBW,QAAA,aAAa,iBAiBxB;AACF,kBAAe,iBAAI,CAAC"}
|
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.9.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|
|
@@ -13,15 +13,9 @@
|
|
|
13
13
|
"@emotion/styled": "^11.3.0",
|
|
14
14
|
"@mui/icons-material": "^5.0.3",
|
|
15
15
|
"@mui/material": "^5.0.3",
|
|
16
|
-
"@mui/x-data-grid": "^5.0.1",
|
|
17
|
-
"@mui/x-data-grid-generator": "^5.0.1",
|
|
18
16
|
"@pagopa/mui-italia": "pagopa/mui-italia",
|
|
19
17
|
"@pagopa/ts-commons": "^10.2.1",
|
|
20
18
|
"@reduxjs/toolkit": "^1.6.2",
|
|
21
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
22
|
-
"@testing-library/react": "^11.2.7",
|
|
23
|
-
"@testing-library/user-event": "^12.8.3",
|
|
24
|
-
"@types/jest": "^26.0.24",
|
|
25
19
|
"@types/lodash": "^4.14.172",
|
|
26
20
|
"@types/mixpanel-browser": "^2.38.0",
|
|
27
21
|
"@types/node": "^12.20.19",
|
|
@@ -29,25 +23,21 @@
|
|
|
29
23
|
"@types/react-dom": "^17.0.9",
|
|
30
24
|
"@types/react-router-dom": "^5.1.8",
|
|
31
25
|
"@types/redux-logger": "^3.0.9",
|
|
32
|
-
"axios": "^0.23.0",
|
|
33
26
|
"core-js": "^3.20.2",
|
|
34
27
|
"env-var": "^7.1.1",
|
|
35
|
-
"formik": "^2.2.9",
|
|
36
28
|
"fp-ts": "^2.11.5",
|
|
37
29
|
"i18next": "^21.6.14",
|
|
38
30
|
"io-ts": "^2.2.16",
|
|
39
31
|
"lodash": "^4.17.21",
|
|
40
32
|
"mixpanel-browser": "^2.43.0",
|
|
41
|
-
"node-fetch": "^3.0.0",
|
|
42
33
|
"react": "^17.0.2",
|
|
43
34
|
"react-app-polyfill": "^3.0.0",
|
|
44
35
|
"react-dom": "^17.0.2",
|
|
45
|
-
"react-dropzone": "^11.4.2",
|
|
46
36
|
"react-i18next": "^11.15.6",
|
|
47
37
|
"react-md-spinner": "^1.0.0",
|
|
48
38
|
"react-redux": "^7.2.6",
|
|
49
39
|
"react-router-dom": "^5.2.0",
|
|
50
|
-
"react-scripts": "
|
|
40
|
+
"react-scripts": "5.0.0",
|
|
51
41
|
"redux-logger": "^3.0.6",
|
|
52
42
|
"typescript": "^4.3.5",
|
|
53
43
|
"web-vitals": "^1.1.2"
|
|
@@ -89,6 +79,10 @@
|
|
|
89
79
|
]
|
|
90
80
|
},
|
|
91
81
|
"devDependencies": {
|
|
82
|
+
"@types/jest": "^26.0.24",
|
|
83
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
84
|
+
"@testing-library/react": "^11.2.7",
|
|
85
|
+
"@testing-library/user-event": "^12.8.3",
|
|
92
86
|
"@pagopa/openapi-codegen-ts": "^10.0.6",
|
|
93
87
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
94
88
|
"@typescript-eslint/parser": "^5.0.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.trackEvent = exports.trackAppError = exports.initAnalytics = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const mixpanel_browser_1 =
|
|
5
|
+
const mixpanel_browser_1 = tslib_1.__importDefault(require("mixpanel-browser"));
|
|
6
6
|
const env_1 = require("../config/env");
|
|
7
7
|
// eslint-disable-next-line functional/no-let
|
|
8
8
|
let init = false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsService.js","sourceRoot":"","sources":["../../src/lib/services/analyticsService.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"analyticsService.js","sourceRoot":"","sources":["../../src/lib/services/analyticsService.ts"],"names":[],"mappings":";;;;AAAA,gFAAwC;AACxC,uCAAuC;AAGvC,6CAA6C;AAC7C,IAAI,IAAI,GAAG,KAAK,CAAC;AAEjB,uFAAuF;AAChF,MAAM,aAAa,GAAG,GAAS,EAAE;IACtC,IAAI,YAAM,CAAC,QAAQ,CAAC,MAAM,EAAE;QAC1B,IAAI,GAAG,IAAI,CAAC;QACZ,IAA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;SAAM;QACL,IAAI,QAAQ,EAAE;YACZ,QAAQ,EAAE,CAAC;SACZ;KACF;AACH,CAAC,CAAC;AAhBW,QAAA,UAAU,cAgBrB;AAEF,MAAM,6BAA6B,GAAG,CACpC,UAAkB,EAClB,UAAgB,EAChB,QAAqB,EACf,EAAE;IACR,6CAA6C;IAC7C,IAAI,MAAM,GAAG,KAAK,CAAC;IACnB,MAAM,eAAe,GAAG,QAAQ;QAC9B,CAAC,CAAC,GAAG,EAAE;YACH,IAAI;gBACF,MAAM,GAAG,IAAI,CAAC;gBACd,QAAQ,EAAE,CAAC;aACZ;YAAC,OAAO,MAAM,EAAE;gBACf,OAAO,CAAC,KAAK,CACX,iDAAiD,UAAU,WAAW,EACtE,MAAM,CACP,CAAC;aACH;QACH,CAAC;QACH,CAAC,CAAC,SAAS,CAAC;IACd,IAAI;QACF,0BAAQ,CAAC,KAAK,CACZ,UAAU,EACV;YACE,GAAG,YAAM,CAAC,QAAQ,CAAC,qBAAqB;YACxC,GAAG,UAAU;YACb,GAAG,YAAM,CAAC,QAAQ,CAAC,+BAA+B;SACnD,EACD,eAAe,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,EACxD,eAAe,CAChB,CAAC;KACH;IAAC,OAAO,MAAM,EAAE;QACf,OAAO,CAAC,KAAK,CAAC,sDAAsD,EAAE,MAAM,CAAC,CAAC;QAC9E,sCAAsC;QACtC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QAEpC,IAAI,eAAe,IAAI,CAAC,MAAM,EAAE;YAC9B,eAAe,EAAE,CAAC;SACnB;KACF;AACH,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildAssistanceURI = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const isEmpty_1 =
|
|
5
|
+
const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
|
|
6
6
|
const env_1 = require("../config/env");
|
|
7
7
|
const storage_1 = require("../utils/storage");
|
|
8
8
|
const analyticsService_1 = require("./analyticsService");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistanceService.js","sourceRoot":"","sources":["../../src/lib/services/assistanceService.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"assistanceService.js","sourceRoot":"","sources":["../../src/lib/services/assistanceService.ts"],"names":[],"mappings":";;;;AAAA,qEAAqC;AACrC,uCAAuC;AACvC,8CAAkD;AAClD,yDAAgD;AAEzC,MAAM,kBAAkB,GAAG,CAAC,eAAwB,EAAE,EAAE;IAC7D,MAAM,kBAAkB,GAAG,wBAAc,CAAC,IAAI,EAAE,CAAC;IAEjD,IAAI,IAAA,iBAAO,EAAC,kBAAkB,CAAC,EAAE;QAC/B,IAAA,6BAAU,EAAC,sBAAsB,CAAC,CAAC;QACnC,OAAO,UAAU,eAAe,EAAE,CAAC;KACpC;SAAM;QACL,OAAO,YAAM,CAAC,MAAM,CAAC,UAAU,CAAC;KACjC;AACH,CAAC,CAAC;AATW,QAAA,kBAAkB,sBAS7B"}
|
package/utils/constants.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UserRole } from '../model/Party';
|
|
2
1
|
export declare const LOADING_TASK_LOGIN_CHECK = "LOGIN_CHECK";
|
|
3
2
|
export declare const LOADING_TASK_RETRIEVE_CACHED_VALUES = "RETRIEVE_CACHED_VALUES";
|
|
3
|
+
export declare type UserRole = 'ADMIN' | 'LIMITED';
|
|
4
4
|
/** The short and long labels used for the roles of selfcare's projects */
|
|
5
5
|
export declare const roleLabels: {
|
|
6
6
|
[key in UserRole]: {
|
package/utils/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/lib/utils/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/lib/utils/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG,aAAa,CAAC;AACzC,QAAA,mCAAmC,GAAG,wBAAwB,CAAC;AAI5E,0EAA0E;AAC7D,QAAA,UAAU,GAEnB;IACF,KAAK,EAAE;QACL,UAAU,EAAE,qBAAqB;QACjC,SAAS,EAAE,0BAA0B;QACrC,WAAW,EAAE,yCAAyC;KACvD;IACD,OAAO,EAAE;QACP,UAAU,EAAE,gBAAgB;QAC5B,SAAS,EAAE,qBAAqB;QAChC,WAAW,EAAE,oBAAoB;KAClC;CACF,CAAC"}
|
package/model/Party.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare type UserRole = 'ADMIN' | 'LIMITED';
|
|
2
|
-
export declare type UserStatus = 'PENDING' | 'ACTIVE' | 'SUSPENDED';
|
|
3
|
-
export declare type Party = {
|
|
4
|
-
institutionId: string;
|
|
5
|
-
description: string;
|
|
6
|
-
digitalAddress: string;
|
|
7
|
-
status: UserStatus;
|
|
8
|
-
userRole: UserRole;
|
|
9
|
-
category?: string;
|
|
10
|
-
urlLogo?: string;
|
|
11
|
-
fiscalCode: string;
|
|
12
|
-
};
|
package/model/Party.js
DELETED
package/model/Party.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Party.js","sourceRoot":"","sources":["../../src/lib/model/Party.tsx"],"names":[],"mappings":""}
|