@pagopa/selfcare-common-frontend 1.35.0 → 1.35.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.
Files changed (287) hide show
  1. package/CHANGELOG.md +875 -1
  2. package/README.md +34 -8
  3. package/examples/locale/en.d.ts +20 -0
  4. package/examples/locale/en.js +18 -0
  5. package/examples/locale/index.js +4 -0
  6. package/examples/locale/it.d.ts +20 -0
  7. package/examples/locale/it.js +19 -0
  8. package/{common-polyfill.d.ts → lib/common-polyfill.d.ts} +0 -1
  9. package/lib/common-polyfill.js +9 -0
  10. package/lib/components/BackComponent.d.ts +7 -0
  11. package/lib/components/BackComponent.js +8 -0
  12. package/lib/components/CustomAlert.d.ts +12 -0
  13. package/lib/components/CustomAlert.js +7 -0
  14. package/{components → lib/components}/CustomAvatar.d.ts +2 -3
  15. package/lib/components/CustomAvatar.js +13 -0
  16. package/{components → lib/components}/CustomPagination.d.ts +7 -3
  17. package/lib/components/CustomPagination.js +25 -0
  18. package/{components → lib/components}/EndingPage.d.ts +15 -3
  19. package/lib/components/EndingPage.js +4 -0
  20. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +11 -0
  21. package/lib/components/ErrorBoundary/ErrorBoundary.js +93 -0
  22. package/{components → lib/components}/ErrorBoundary/components/BlockingErrorPage.d.ts +2 -3
  23. package/lib/components/ErrorBoundary/components/BlockingErrorPage.js +11 -0
  24. package/{components → lib/components}/FilterModal.d.ts +3 -3
  25. package/lib/components/FilterModal.js +29 -0
  26. package/{components → lib/components}/Footer/Footer.d.ts +2 -3
  27. package/lib/components/Footer/Footer.js +179 -0
  28. package/{components → lib/components}/Footer/FooterConfig.js +5 -9
  29. package/{components → lib/components}/Header/Header.d.ts +11 -6
  30. package/lib/components/Header/Header.js +45 -0
  31. package/{components → lib/components}/Loading/LoadingOverlay.d.ts +1 -2
  32. package/lib/components/Loading/LoadingOverlay.js +13 -0
  33. package/lib/components/LoadingOverlayComponent.d.ts +7 -0
  34. package/lib/components/LoadingOverlayComponent.js +25 -0
  35. package/{components → lib/components}/NavigationBar.d.ts +5 -4
  36. package/lib/components/NavigationBar.js +17 -0
  37. package/{components → lib/components}/SessionModal.d.ts +3 -3
  38. package/lib/components/SessionModal.js +17 -0
  39. package/{components → lib/components}/TitleBox.d.ts +7 -7
  40. package/lib/components/TitleBox.js +9 -0
  41. package/{components → lib/components}/Toast.d.ts +3 -3
  42. package/lib/components/Toast.js +25 -0
  43. package/{components → lib/components}/ToastWrapper.d.ts +2 -2
  44. package/lib/components/ToastWrapper.js +12 -0
  45. package/{components → lib/components}/UnloadEventHandler.d.ts +1 -2
  46. package/lib/components/UnloadEventHandler.js +29 -0
  47. package/{components → lib/components}/UserNotifyHandle.d.ts +1 -2
  48. package/lib/components/UserNotifyHandle.js +62 -0
  49. package/{components → lib/components}/icons/CheckIllustrationIcon.d.ts +1 -2
  50. package/lib/components/icons/CheckIllustrationIcon.js +3 -0
  51. package/lib/components/icons/ConfirmIcon.js +4 -0
  52. package/{components → lib/components}/icons/ErrorIcon.d.ts +1 -2
  53. package/lib/components/icons/ErrorIcon.js +3 -0
  54. package/lib/components/icons/ErrorIconExclamation.js +4 -0
  55. package/lib/components/icons/FaultIcon.js +4 -0
  56. package/{components → lib/components}/icons/PagoPaIcon.d.ts +1 -2
  57. package/lib/components/icons/PagoPaIcon.js +3 -0
  58. package/{components → lib/components}/icons/PagoPaIconColored.d.ts +1 -2
  59. package/lib/components/icons/PagoPaIconColored.js +3 -0
  60. package/{components → lib/components}/icons/PagoPaMiniIcon.d.ts +1 -2
  61. package/lib/components/icons/PagoPaMiniIcon.js +3 -0
  62. package/lib/components/tests/FilterModal.test.d.ts +1 -0
  63. package/lib/components/tests/FilterModal.test.js +37 -0
  64. package/{config → lib/config}/env.d.ts +4 -1
  65. package/{config → lib/config}/env.js +13 -17
  66. package/lib/consentManagementConfigure.d.ts +1 -0
  67. package/{consentManagementConfigure.js → lib/consentManagementConfigure.js} +5 -8
  68. package/{decorators → lib/decorators}/__mocks__/withLogin.d.ts +1 -2
  69. package/lib/decorators/__mocks__/withLogin.js +18 -0
  70. package/{decorators → lib/decorators}/withLogin.d.ts +1 -2
  71. package/{decorators → lib/decorators}/withLogin.js +13 -18
  72. package/{decorators → lib/decorators}/withRetrievedValue.d.ts +1 -1
  73. package/{decorators → lib/decorators}/withRetrievedValue.js +9 -14
  74. package/lib/hooks/useErrorDispatcher.js +7 -0
  75. package/{hooks → lib/hooks}/useFakePagination.d.ts +3 -3
  76. package/{hooks → lib/hooks}/useFakePagination.js +9 -15
  77. package/lib/hooks/useFocus.d.ts +1 -0
  78. package/lib/hooks/useFocus.js +8 -0
  79. package/lib/hooks/useLiveAnnouncerWithRegion.d.ts +4 -0
  80. package/lib/hooks/useLiveAnnouncerWithRegion.js +19 -0
  81. package/lib/hooks/useLoading.js +10 -0
  82. package/lib/hooks/useLogin.js +40 -0
  83. package/lib/hooks/usePermissions.d.ts +7 -0
  84. package/lib/hooks/usePermissions.js +25 -0
  85. package/lib/hooks/useReduxCachedValue.d.ts +22 -0
  86. package/{hooks → lib/hooks}/useReduxCachedValue.js +10 -17
  87. package/{hooks → lib/hooks}/useUnloadEventInterceptor.d.ts +3 -3
  88. package/{hooks → lib/hooks}/useUnloadEventInterceptor.js +24 -32
  89. package/lib/hooks/useUserNotify.js +7 -0
  90. package/{index.d.ts → lib/index.d.ts} +11 -8
  91. package/lib/index.js +36 -0
  92. package/{locale/it.d.ts → lib/locale/de.d.ts} +4 -1
  93. package/{locale → lib/locale}/de.js +31 -31
  94. package/{locale → lib/locale}/en.d.ts +4 -1
  95. package/{locale → lib/locale}/en.js +30 -30
  96. package/{locale → lib/locale}/fr.d.ts +5 -2
  97. package/{locale → lib/locale}/fr.js +26 -26
  98. package/{locale/de.d.ts → lib/locale/it.d.ts} +8 -2
  99. package/{locale → lib/locale}/it.js +11 -8
  100. package/lib/locale/locale-utils.js +45 -0
  101. package/{locale → lib/locale}/sl.d.ts +5 -2
  102. package/{locale → lib/locale}/sl.js +31 -31
  103. package/{model → lib/model}/AppError.d.ts +1 -1
  104. package/lib/model/AppError.js +1 -0
  105. package/lib/model/JwtUser.d.ts +9 -0
  106. package/lib/model/JwtUser.js +1 -0
  107. package/{model → lib/model}/Page.d.ts +1 -1
  108. package/lib/model/Page.js +1 -0
  109. package/{model → lib/model}/PageRequest.d.ts +1 -1
  110. package/lib/model/PageRequest.js +1 -0
  111. package/{model → lib/model}/PageResource.d.ts +1 -1
  112. package/lib/model/PageResource.js +1 -0
  113. package/lib/model/User.d.ts +8 -0
  114. package/lib/model/User.js +1 -0
  115. package/{model → lib/model}/UserNotify.d.ts +1 -2
  116. package/lib/model/UserNotify.js +1 -0
  117. package/lib/redux/slices/appStateSlice.d.ts +58 -0
  118. package/{redux → lib/redux}/slices/appStateSlice.js +15 -9
  119. package/lib/redux/slices/permissionsSlice.d.ts +12 -0
  120. package/lib/redux/slices/permissionsSlice.js +23 -0
  121. package/lib/redux/slices/productsSlice.d.ts +204 -0
  122. package/lib/redux/slices/productsSlice.js +26 -0
  123. package/lib/redux/slices/userSlice.d.ts +36 -0
  124. package/lib/redux/slices/userSlice.js +17 -0
  125. package/{services → lib/services}/analyticsService.d.ts +2 -1
  126. package/{services → lib/services}/analyticsService.js +31 -28
  127. package/{services → lib/services}/assistanceService.d.ts +1 -1
  128. package/lib/services/assistanceService.js +14 -0
  129. package/lib/services/errorService.js +8 -0
  130. package/{utils → lib/utils}/api-utils.d.ts +3 -3
  131. package/{utils → lib/utils}/api-utils.js +28 -23
  132. package/lib/utils/constants.d.ts +67 -0
  133. package/lib/utils/constants.js +82 -0
  134. package/lib/utils/productId2ProductTitle.d.ts +1 -0
  135. package/lib/utils/productId2ProductTitle.js +13 -0
  136. package/lib/utils/routes-utils.js +2 -0
  137. package/{utils → lib/utils}/storage-utils.d.ts +3 -3
  138. package/{utils → lib/utils}/storage-utils.js +4 -12
  139. package/{utils → lib/utils}/storage.d.ts +6 -0
  140. package/lib/utils/storage.js +31 -0
  141. package/lib/utils/utils.d.ts +11 -0
  142. package/lib/utils/utils.js +148 -0
  143. package/{utils → lib/utils}/verifyChecksumMatchWithTaxCode.js +1 -6
  144. package/{utils → lib/utils}/verifyNameMatchWithTaxCode.d.ts +1 -1
  145. package/lib/utils/verifyNameMatchWithTaxCode.js +27 -0
  146. package/{utils → lib/utils}/verifySurnameMatchWithTaxCode.d.ts +1 -1
  147. package/lib/utils/verifySurnameMatchWithTaxCode.js +17 -0
  148. package/package.json +54 -79
  149. package/build.info +0 -2
  150. package/common-polyfill.js +0 -13
  151. package/common-polyfill.js.map +0 -1
  152. package/components/BackComponent.d.ts +0 -6
  153. package/components/BackComponent.js +0 -12
  154. package/components/BackComponent.js.map +0 -1
  155. package/components/CustomAvatar.js +0 -18
  156. package/components/CustomAvatar.js.map +0 -1
  157. package/components/CustomPagination.js +0 -31
  158. package/components/CustomPagination.js.map +0 -1
  159. package/components/EndingPage.js +0 -7
  160. package/components/EndingPage.js.map +0 -1
  161. package/components/ErrorBoundary/ErrorBoundary.d.ts +0 -11
  162. package/components/ErrorBoundary/ErrorBoundary.js +0 -98
  163. package/components/ErrorBoundary/ErrorBoundary.js.map +0 -1
  164. package/components/ErrorBoundary/components/BlockingErrorPage.js +0 -15
  165. package/components/ErrorBoundary/components/BlockingErrorPage.js.map +0 -1
  166. package/components/FilterModal.js +0 -37
  167. package/components/FilterModal.js.map +0 -1
  168. package/components/Footer/Footer.js +0 -213
  169. package/components/Footer/Footer.js.map +0 -1
  170. package/components/Footer/FooterConfig.js.map +0 -1
  171. package/components/Header/Header.js +0 -24
  172. package/components/Header/Header.js.map +0 -1
  173. package/components/Loading/LoadingOverlay.js +0 -18
  174. package/components/Loading/LoadingOverlay.js.map +0 -1
  175. package/components/LoadingOverlayComponent.d.ts +0 -7
  176. package/components/LoadingOverlayComponent.js +0 -20
  177. package/components/LoadingOverlayComponent.js.map +0 -1
  178. package/components/NavigationBar.js +0 -21
  179. package/components/NavigationBar.js.map +0 -1
  180. package/components/SessionModal.js +0 -21
  181. package/components/SessionModal.js.map +0 -1
  182. package/components/TitleBox.js +0 -13
  183. package/components/TitleBox.js.map +0 -1
  184. package/components/Toast.js +0 -29
  185. package/components/Toast.js.map +0 -1
  186. package/components/ToastWrapper.js +0 -16
  187. package/components/ToastWrapper.js.map +0 -1
  188. package/components/UnloadEventHandler.js +0 -35
  189. package/components/UnloadEventHandler.js.map +0 -1
  190. package/components/UserNotifyHandle.js +0 -67
  191. package/components/UserNotifyHandle.js.map +0 -1
  192. package/components/icons/CheckIllustrationIcon.js +0 -7
  193. package/components/icons/CheckIllustrationIcon.js.map +0 -1
  194. package/components/icons/ConfirmIcon.js +0 -7
  195. package/components/icons/ConfirmIcon.js.map +0 -1
  196. package/components/icons/ErrorIcon.js +0 -7
  197. package/components/icons/ErrorIcon.js.map +0 -1
  198. package/components/icons/ErrorIconExclamation.js +0 -7
  199. package/components/icons/ErrorIconExclamation.js.map +0 -1
  200. package/components/icons/FaultIcon.js +0 -7
  201. package/components/icons/FaultIcon.js.map +0 -1
  202. package/components/icons/PagoPaIcon.js +0 -7
  203. package/components/icons/PagoPaIcon.js.map +0 -1
  204. package/components/icons/PagoPaIconColored.js +0 -7
  205. package/components/icons/PagoPaIconColored.js.map +0 -1
  206. package/components/icons/PagoPaMiniIcon.js +0 -7
  207. package/components/icons/PagoPaMiniIcon.js.map +0 -1
  208. package/config/env.js.map +0 -1
  209. package/consentManagementConfigure.js.map +0 -1
  210. package/decorators/__mocks__/withLogin.js +0 -27
  211. package/decorators/__mocks__/withLogin.js.map +0 -1
  212. package/decorators/withLogin.js.map +0 -1
  213. package/decorators/withRetrievedValue.js.map +0 -1
  214. package/hooks/useErrorDispatcher.js +0 -11
  215. package/hooks/useErrorDispatcher.js.map +0 -1
  216. package/hooks/useFakePagination.js.map +0 -1
  217. package/hooks/useLoading.js +0 -14
  218. package/hooks/useLoading.js.map +0 -1
  219. package/hooks/useLogin.js +0 -44
  220. package/hooks/useLogin.js.map +0 -1
  221. package/hooks/useReduxCachedValue.d.ts +0 -14
  222. package/hooks/useReduxCachedValue.js.map +0 -1
  223. package/hooks/useUnloadEventInterceptor.js.map +0 -1
  224. package/hooks/useUserNotify.js +0 -11
  225. package/hooks/useUserNotify.js.map +0 -1
  226. package/index.js +0 -76
  227. package/index.js.map +0 -1
  228. package/locale/de.js.map +0 -1
  229. package/locale/en.js.map +0 -1
  230. package/locale/fr.js.map +0 -1
  231. package/locale/it.js.map +0 -1
  232. package/locale/locale-utils.js +0 -36
  233. package/locale/locale-utils.js.map +0 -1
  234. package/locale/sl.js.map +0 -1
  235. package/model/AppError.js +0 -3
  236. package/model/AppError.js.map +0 -1
  237. package/model/Page.js +0 -3
  238. package/model/Page.js.map +0 -1
  239. package/model/PageRequest.js +0 -3
  240. package/model/PageRequest.js.map +0 -1
  241. package/model/PageResource.js +0 -3
  242. package/model/PageResource.js.map +0 -1
  243. package/model/User.d.ts +0 -7
  244. package/model/User.js +0 -3
  245. package/model/User.js.map +0 -1
  246. package/model/UserNotify.js +0 -3
  247. package/model/UserNotify.js.map +0 -1
  248. package/redux/slices/appStateSlice.d.ts +0 -76
  249. package/redux/slices/appStateSlice.js.map +0 -1
  250. package/redux/slices/userSlice.d.ts +0 -18
  251. package/redux/slices/userSlice.js +0 -21
  252. package/redux/slices/userSlice.js.map +0 -1
  253. package/services/analyticsService.js.map +0 -1
  254. package/services/assistanceService.js +0 -20
  255. package/services/assistanceService.js.map +0 -1
  256. package/services/errorService.js +0 -13
  257. package/services/errorService.js.map +0 -1
  258. package/utils/api-utils.js.map +0 -1
  259. package/utils/constants.d.ts +0 -19
  260. package/utils/constants.js +0 -32
  261. package/utils/constants.js.map +0 -1
  262. package/utils/routes-utils.js +0 -7
  263. package/utils/routes-utils.js.map +0 -1
  264. package/utils/storage-utils.js.map +0 -1
  265. package/utils/storage.js +0 -9
  266. package/utils/storage.js.map +0 -1
  267. package/utils/utils.d.ts +0 -3
  268. package/utils/utils.js +0 -13
  269. package/utils/utils.js.map +0 -1
  270. package/utils/verifyChecksumMatchWithTaxCode.js.map +0 -1
  271. package/utils/verifyNameMatchWithTaxCode.js +0 -26
  272. package/utils/verifyNameMatchWithTaxCode.js.map +0 -1
  273. package/utils/verifySurnameMatchWithTaxCode.js +0 -23
  274. package/utils/verifySurnameMatchWithTaxCode.js.map +0 -1
  275. /package/{consentManagementConfigure.d.ts → examples/locale/index.d.ts} +0 -0
  276. /package/{components → lib/components}/Footer/FooterConfig.d.ts +0 -0
  277. /package/{components → lib/components}/icons/ConfirmIcon.d.ts +0 -0
  278. /package/{components → lib/components}/icons/ErrorIconExclamation.d.ts +0 -0
  279. /package/{components → lib/components}/icons/FaultIcon.d.ts +0 -0
  280. /package/{hooks → lib/hooks}/useErrorDispatcher.d.ts +0 -0
  281. /package/{hooks → lib/hooks}/useLoading.d.ts +0 -0
  282. /package/{hooks → lib/hooks}/useLogin.d.ts +0 -0
  283. /package/{hooks → lib/hooks}/useUserNotify.d.ts +0 -0
  284. /package/{locale → lib/locale}/locale-utils.d.ts +0 -0
  285. /package/{services → lib/services}/errorService.d.ts +0 -0
  286. /package/{utils → lib/utils}/routes-utils.d.ts +0 -0
  287. /package/{utils → lib/utils}/verifyChecksumMatchWithTaxCode.d.ts +0 -0
@@ -1,29 +1,27 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
1
+ export default {
4
2
  common: {
5
3
  errorBoundary: {
6
4
  sessionModalTitle: 'Error',
7
- sessionModalMessage: 'Sorry, something went wrong.',
5
+ sessionModalMessage: 'Sorry, something went wrong. ',
8
6
  toastError: 'ERROR',
9
- toastMessage: 'Sorry, something went wrong.',
7
+ toastMessage: 'Sorry, something went wrong. ',
10
8
  },
11
9
  blockingErrorPage: {
12
- title: 'Sorry, something went wrong.',
13
- description: 'Due to a system error the procedure could not be completed.',
14
- buttonLabel: 'Contact Support',
10
+ title: 'Sorry, something went wrong. ',
11
+ description: 'Due to a system error, the procedure cannot be completed.',
12
+ buttonLabel: 'Contact support',
15
13
  },
16
14
  footer: {
17
- legalInfoText: `<0>PagoPA S.p.A.</0> - Joint-stock company with sole shareholder - Share capital of 1,000,000 euro fully paid - Registered office in Rome, Piazza Colonna 370, <2/> CAP 00187 - Registration number in the Rome Company Register, Fiscal Code and VAT number 15376371009`,
18
- privacyPolicyLink: 'Privacy Policy',
19
- termsAndConditionLink: 'Terms and conditions of use of the site',
20
- informationSecurityLink: 'Information Security',
21
- assistanceLink: 'Assistance ',
15
+ legalInfoText: '<0>PagoPA S.p.A.</0> - Joint-stock company with sole shareholder - Share capital of €1,000,000 fully paid up - Registered office in Rome, Piazza Colonna 370, <2/> Postcode 00187 - Registration number in the Companies Register of Rome, Tax Code and VAT number 15376371009',
16
+ privacyPolicyLink: 'Privacy Policy ',
17
+ termsAndConditionLink: 'Website Terms and Conditions of Use ',
18
+ informationSecurityLink: 'Information security ',
19
+ assistanceLink: 'Support ',
22
20
  preLoginLinks: {
23
21
  aboutUs: {
24
22
  links: {
25
23
  aboutUs: 'PagoPA S.p.A.',
26
- media: 'Average',
24
+ media: 'Media',
27
25
  workwithud: 'Work with us',
28
26
  },
29
27
  },
@@ -33,26 +31,29 @@ exports.default = {
33
31
  privacyPolicy: 'Privacy Policy',
34
32
  certifications: 'Certifications',
35
33
  informationsecurity: 'Information security',
36
- protectionofpersonaldata: 'Right to the protection of personal data',
34
+ protectionofpersonaldata: 'Right to protection of personal data',
37
35
  cookies: 'Cookie Preferences',
38
- termsandconditions: 'Terms and conditions',
36
+ termsandconditions: 'Terms and Conditions',
39
37
  transparentcompany: 'Transparent company',
40
38
  disclosurePolicy: 'Responsible Disclosure Policy',
41
- Model321: 'Model 321',
39
+ model231: 'Model 231',
42
40
  },
43
41
  },
44
42
  followUs: {
45
43
  title: 'Follow us on',
46
44
  },
45
+ accessibility: 'Accessibility',
47
46
  },
48
47
  postLoginLinks: {
49
- privacyPolicy: 'Privacy policy',
50
- protectionofpersonaldata: 'Right to the protection of personal data',
51
- termsandconditions: 'Terms and conditions',
48
+ privacyPolicy: 'Privacy Policy',
49
+ protectionofpersonaldata: 'Right to protection of personal data',
50
+ termsandconditions: 'Terms and Conditions',
51
+ accessibility: 'Accessibility',
52
52
  },
53
53
  },
54
54
  header: {
55
55
  exitButton: 'Exit',
56
+ chipLabel: 'PagoPA Operator',
56
57
  },
57
58
  filterModal: {
58
59
  title: 'Filter by ',
@@ -60,35 +61,35 @@ exports.default = {
60
61
  },
61
62
  sessionModal: {
62
63
  closeButton: 'Cancel',
63
- confirmButton: 'Retry',
64
+ confirmButton: 'Try again',
64
65
  },
65
66
  unloadEventHandler: {
66
- title: 'Do you really want to go out?',
67
+ title: 'Are you sure you want to logout?',
67
68
  message: 'If you exit, your changes will be lost.',
68
69
  confirmLabel: 'Exit',
69
70
  },
70
71
  roles: {
71
72
  admin: {
72
- shortLabel: 'Ref. Administrative',
73
+ shortLabel: 'Administrative ref.',
73
74
  longLabel: 'Administrator',
74
75
  description: 'Has all permissions and manages users',
75
76
  },
76
77
  limited: {
77
- shortLabel: 'Ref. Operating',
78
+ shortLabel: 'Operational ref.',
78
79
  longLabel: 'Operator',
79
- description: 'Manages technology integration and/or service operation',
80
+ description: 'Manages the technological integration and/or operation of services',
80
81
  },
81
82
  },
82
83
  pnpgRoles: {
83
84
  admin: {
84
- shortLabel: 'Ref. Administrative',
85
+ shortLabel: 'Administrative ref.',
85
86
  longLabel: 'Administrator',
86
87
  description: 'Has all permissions and manages users',
87
88
  },
88
89
  limited: {
89
- shortLabel: 'Ref. Technician',
90
- longLabel: 'Technical',
91
- description: 'Read notifications from the institution',
90
+ shortLabel: 'Technical ref.',
91
+ longLabel: 'Technician',
92
+ description: "Reads the entity's notifications",
92
93
  },
93
94
  },
94
95
  backComponent: {
@@ -96,4 +97,3 @@ exports.default = {
96
97
  },
97
98
  },
98
99
  };
99
- //# sourceMappingURL=en.js.map
@@ -32,25 +32,28 @@ declare const _default: {
32
32
  certifications: string;
33
33
  informationsecurity: string;
34
34
  protectionofpersonaldata: string;
35
- cookie: string;
35
+ cookies: string;
36
36
  termsandconditions: string;
37
37
  transparentcompany: string;
38
38
  disclosurePolicy: string;
39
- Model321: string;
39
+ model231: string;
40
40
  };
41
41
  };
42
42
  followUs: {
43
43
  title: string;
44
44
  };
45
+ accessibility: string;
45
46
  };
46
47
  postLoginLinks: {
47
48
  privacyPolicy: string;
48
49
  protectionofpersonaldata: string;
49
50
  termsandconditions: string;
51
+ accessibility: string;
50
52
  };
51
53
  };
52
54
  header: {
53
55
  exitButton: string;
56
+ chipLabel: string;
54
57
  };
55
58
  filterModal: {
56
59
  title: string;
@@ -1,22 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
1
+ export default {
4
2
  common: {
5
3
  errorBoundary: {
6
4
  sessionModalTitle: 'Erreur',
7
- sessionModalMessage: "Désolé, quelque chose s'est mal passé.",
5
+ sessionModalMessage: 'Désolé, quelque chose s’est mal passé. ',
8
6
  toastError: 'ERREUR',
9
- toastMessage: "Désolé, quelque chose s'est mal passé.",
7
+ toastMessage: 'Désolé, quelque chose s’est mal passé. ',
10
8
  },
11
9
  blockingErrorPage: {
12
- title: "Désolé, quelque chose s'est mal passé.",
13
- description: "En raison d'une erreur du système, la procédure ne peut pas être complétée.",
14
- buttonLabel: "Contacter l'assistance",
10
+ title: 'Désolé, quelque chose s’est mal passé. ',
11
+ description: 'En raison d’une erreur du système, il n’est pas possible de terminer la procédure.',
12
+ buttonLabel: 'Contacter le support',
15
13
  },
16
14
  footer: {
17
- legalInfoText: `<0>PagoPA S.p.A.</0> - Société par actions avec un seul associé - Capital social de 1 000 000 euros entièrement libéré - Siège social à Rome, Piazza Colonna 370, <2/> CAP 00187 - Numéro d'inscription au registre des entreprises de Rome, CF et P.IVA 15376371009`,
18
- privacyPolicyLink: 'Politique de confidentialité ',
19
- termsAndConditionLink: "Conditions d'utilisation du site ",
15
+ legalInfoText: '<0>PagoPA S.p.A.</0> - Société anonyme à associé unique - Capital social de 1,000,000 euros entièrement libéré - Siège social à Rome, Piazza Colonna 370, <2/> CP 00187 - N ° d’immatriculation au Registre du Commerce et des Sociétés de Rome, N ° de TVA 15376371009',
16
+ privacyPolicyLink: 'politique de confidentialité ',
17
+ termsAndConditionLink: 'Conditions générales d’utilisation ',
20
18
  informationSecurityLink: 'Sécurité des informations ',
21
19
  assistanceLink: 'Assistance ',
22
20
  preLoginLinks: {
@@ -24,7 +22,7 @@ exports.default = {
24
22
  links: {
25
23
  aboutUs: 'PagoPA S.p.A.',
26
24
  media: 'Médias',
27
- workwithud: 'Travailler avec nous',
25
+ workwithud: 'Carrière',
28
26
  },
29
27
  },
30
28
  resources: {
@@ -34,25 +32,28 @@ exports.default = {
34
32
  certifications: 'Certifications',
35
33
  informationsecurity: 'Sécurité des informations',
36
34
  protectionofpersonaldata: 'Droit à la protection des données personnelles',
37
- cookie: 'Préférences relatives aux cookies',
35
+ cookies: 'Préférences en matière de cookies',
38
36
  termsandconditions: 'Conditions générales',
39
- transparentcompany: 'Entreprise transparente',
37
+ transparentcompany: 'Société transparente',
40
38
  disclosurePolicy: 'Politique de divulgation responsable',
41
- Model321: 'Modèle 321',
39
+ model231: 'Modèle 231',
42
40
  },
43
41
  },
44
42
  followUs: {
45
43
  title: 'Suivez-nous sur',
46
44
  },
45
+ accessibility: 'Accessibilité',
47
46
  },
48
47
  postLoginLinks: {
49
48
  privacyPolicy: 'Politique de confidentialité',
50
49
  protectionofpersonaldata: 'Droit à la protection des données personnelles',
51
50
  termsandconditions: 'Conditions générales',
51
+ accessibility: 'Accessibilité',
52
52
  },
53
53
  },
54
54
  header: {
55
55
  exitButton: 'Quitter',
56
+ chipLabel: 'Opérateur PagoPA',
56
57
  },
57
58
  filterModal: {
58
59
  title: 'Filtrer par ',
@@ -63,32 +64,32 @@ exports.default = {
63
64
  confirmButton: 'Réessayer',
64
65
  },
65
66
  unloadEventHandler: {
66
- title: 'Voulez-vous vraiment quitter?',
67
- message: 'Si vous quittez, toutes les modifications seront perdues.',
67
+ title: 'Voulez -vous vraiment quitter ?',
68
+ message: 'Si vous quittez, les modifications apportées seront perdues.',
68
69
  confirmLabel: 'Quitter',
69
70
  },
70
71
  roles: {
71
72
  admin: {
72
- shortLabel: 'Admin',
73
+ shortLabel: 'Ref. Administratif',
73
74
  longLabel: 'Administrateur',
74
- description: 'Possède tous les droits et gère les utilisateurs',
75
+ description: 'A toutes les autorisations et gère les utilisateurs',
75
76
  },
76
77
  limited: {
77
- shortLabel: 'Opérateur',
78
+ shortLabel: 'Ref. Opérationnel',
78
79
  longLabel: 'Opérateur',
79
- description: "Gère l'intégration technologique et/ou l'exploitation des services",
80
+ description: 'Gère l’intégration technologique et/ou le fonctionnement des services',
80
81
  },
81
82
  },
82
83
  pnpgRoles: {
83
84
  admin: {
84
- shortLabel: 'Admin',
85
+ shortLabel: 'Ref. Administratif',
85
86
  longLabel: 'Administrateur',
86
- description: 'Possède tous les droits et gère les utilisateurs',
87
+ description: 'A toutes les autorisations et gère les utilisateurs',
87
88
  },
88
89
  limited: {
89
- shortLabel: 'Technicien',
90
+ shortLabel: 'Ref. Technicien',
90
91
  longLabel: 'Technicien',
91
- description: "Lit les notifications de l'organisme",
92
+ description: 'Lire les notifications de l’organisme',
92
93
  },
93
94
  },
94
95
  backComponent: {
@@ -96,4 +97,3 @@ exports.default = {
96
97
  },
97
98
  },
98
99
  };
99
- //# sourceMappingURL=fr.js.map
@@ -32,25 +32,28 @@ declare const _default: {
32
32
  certifications: string;
33
33
  informationsecurity: string;
34
34
  protectionofpersonaldata: string;
35
- cookie: string;
35
+ cookies: string;
36
36
  termsandconditions: string;
37
37
  transparentcompany: string;
38
38
  disclosurePolicy: string;
39
- Model321: string;
39
+ model231: string;
40
40
  };
41
41
  };
42
42
  followUs: {
43
43
  title: string;
44
44
  };
45
+ accessibility: string;
45
46
  };
46
47
  postLoginLinks: {
47
48
  privacyPolicy: string;
48
49
  protectionofpersonaldata: string;
49
50
  termsandconditions: string;
51
+ accessibility: string;
50
52
  };
51
53
  };
52
54
  header: {
53
55
  exitButton: string;
56
+ chipLabel: string;
54
57
  };
55
58
  filterModal: {
56
59
  title: string;
@@ -92,6 +95,9 @@ declare const _default: {
92
95
  backComponent: {
93
96
  label: string;
94
97
  };
98
+ customAlert: {
99
+ message: string;
100
+ };
95
101
  };
96
102
  };
97
103
  export default _default;
@@ -1,6 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
1
+ export default {
4
2
  common: {
5
3
  errorBoundary: {
6
4
  sessionModalTitle: 'Errore',
@@ -15,7 +13,7 @@ exports.default = {
15
13
  },
16
14
  footer: {
17
15
  legalInfoText: `<0>PagoPA S.p.A.</0> - Società per azioni con socio unico - Capitale sociale di euro 1,000,000 interamente versato - Sede legale in Roma, Piazza Colonna 370, <2/> CAP 00187 - N. di iscrizione a Registro Imprese di Roma, CF e P.IVA 15376371009`,
18
- privacyPolicyLink: 'Privacy Policy ',
16
+ privacyPolicyLink: 'Informativa Privacy',
19
17
  termsAndConditionLink: 'Termini e condizioni d’uso del sito ',
20
18
  informationSecurityLink: 'Sicurezza delle informazioni ',
21
19
  assistanceLink: 'Assistenza ',
@@ -30,7 +28,7 @@ exports.default = {
30
28
  resources: {
31
29
  title: 'Risorse',
32
30
  links: {
33
- privacyPolicy: 'Privacy Policy',
31
+ privacyPolicy: 'Informativa Privacy',
34
32
  certifications: 'Certificazioni',
35
33
  informationsecurity: 'Sicurezza delle informazioni',
36
34
  protectionofpersonaldata: 'Diritto alla protezione dei dati personali',
@@ -38,21 +36,24 @@ exports.default = {
38
36
  termsandconditions: 'Termini e Condizioni',
39
37
  transparentcompany: 'Società trasparente',
40
38
  disclosurePolicy: 'Responsible Disclosure Policy',
41
- Model321: 'Modello 321',
39
+ model231: 'Modello 231',
42
40
  },
43
41
  },
44
42
  followUs: {
45
43
  title: 'Seguici su',
46
44
  },
45
+ accessibility: 'Accessibilità',
47
46
  },
48
47
  postLoginLinks: {
49
- privacyPolicy: 'Privacy policy',
48
+ privacyPolicy: 'Informativa Privacy',
50
49
  protectionofpersonaldata: 'Diritto alla protezione dei dati personali',
51
50
  termsandconditions: 'Termini e Condizioni',
51
+ accessibility: 'Accessibilità',
52
52
  },
53
53
  },
54
54
  header: {
55
55
  exitButton: 'Esci',
56
+ chipLabel: 'Supporto',
56
57
  },
57
58
  filterModal: {
58
59
  title: 'Filtra per ',
@@ -94,6 +95,8 @@ exports.default = {
94
95
  backComponent: {
95
96
  label: 'Indietro',
96
97
  },
98
+ customAlert: {
99
+ message: 'Per migliorare la tua esperienza e offrirti una gestione più mirata, vedrai solo le informazioni e i prodotti di cui sei amministratore.',
100
+ },
97
101
  },
98
102
  };
99
- //# sourceMappingURL=it.js.map
@@ -0,0 +1,45 @@
1
+ import { initReactI18next } from 'react-i18next';
2
+ import LanguageDetector from 'i18next-browser-languagedetector';
3
+ import i18n from 'i18next';
4
+ import it from './it';
5
+ import en from './en';
6
+ import fr from './fr';
7
+ import de from './de';
8
+ import sl from './sl';
9
+ export const configureI18n = (resources, defaultLanguage = 'it') => {
10
+ const completeResources = {
11
+ ...resources,
12
+ it: { translation: { ...it, ...resources.it } },
13
+ en: { translation: { ...en, ...resources.en } },
14
+ fr: { translation: { ...fr, ...resources.fr } },
15
+ de: { translation: { ...de, ...resources.de } },
16
+ sl: { translation: { ...sl, ...resources.sl } },
17
+ };
18
+ i18n
19
+ .use(initReactI18next)
20
+ .use(LanguageDetector)
21
+ .init({
22
+ resources: completeResources,
23
+ fallbackLng: defaultLanguage,
24
+ interpolation: {
25
+ escapeValue: false,
26
+ },
27
+ detection: {
28
+ order: ['querystring', 'sessionStorage', 'navigator'],
29
+ caches: ['sessionStorage'],
30
+ lookupSessionStorage: 'lang',
31
+ },
32
+ })
33
+ .then(() => {
34
+ i18n.on('languageChanged', (lng) => {
35
+ if (lng.includes('-')) {
36
+ const normalizedLng = lng.split('-')[0];
37
+ void i18n.changeLanguage(normalizedLng);
38
+ }
39
+ });
40
+ })
41
+ .catch((err) => {
42
+ throw new Error(err);
43
+ });
44
+ };
45
+ export default i18n;
@@ -32,25 +32,28 @@ declare const _default: {
32
32
  certifications: string;
33
33
  informationsecurity: string;
34
34
  protectionofpersonaldata: string;
35
- cookie: string;
35
+ cookies: string;
36
36
  termsandconditions: string;
37
37
  transparentcompany: string;
38
38
  disclosurePolicy: string;
39
- Model321: string;
39
+ model231: string;
40
40
  };
41
41
  };
42
42
  followUs: {
43
43
  title: string;
44
44
  };
45
+ accessibility: string;
45
46
  };
46
47
  postLoginLinks: {
47
48
  privacyPolicy: string;
48
49
  protectionofpersonaldata: string;
49
50
  termsandconditions: string;
51
+ accessibility: string;
50
52
  };
51
53
  };
52
54
  header: {
53
55
  exitButton: string;
56
+ chipLabel: string;
54
57
  };
55
58
  filterModal: {
56
59
  title: string;
@@ -1,58 +1,59 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
1
+ export default {
4
2
  common: {
5
3
  errorBoundary: {
6
4
  sessionModalTitle: 'Napaka',
7
- sessionModalMessage: 'Oprostite, nekaj je šlo narobe.',
5
+ sessionModalMessage: 'Žal, nekaj je šlo narobe.',
8
6
  toastError: 'NAPAKA',
9
- toastMessage: 'Oprostite, nekaj je šlo narobe.',
7
+ toastMessage: 'Žal, nekaj je šlo narobe.',
10
8
  },
11
9
  blockingErrorPage: {
12
- title: 'Oprostite, nekaj je šlo narobe.',
13
- description: 'Zaradi napake v sistemu postopka ni mogoče dokončati.',
10
+ title: 'Žal, nekaj je šlo narobe.',
11
+ description: 'Zaradi sistemske napake postopka ni mogoče dokončati.',
14
12
  buttonLabel: 'Stopite v stik s podporo',
15
13
  },
16
14
  footer: {
17
- legalInfoText: `<0>PagoPA S.p.A.</0> - Družba z omejeno odgovornostjo s posameznim družbenikom - Osnovni kapital 1.000.000 evrov - Sedež družbe: Rim, Piazza Colonna 370, <2/> Poštna številka 00187 - Matična številka v register družb v Rimu: 15376371009`,
15
+ legalInfoText: '<0>PagoPA S.p.A.</0> - Delniška družba z enim družbenikom - Osnovni kapital v višini 1.000.000 EUR v celoti vplačan - Sedež v Rimu, Piazza Colonna 370, <2/> Poštna številka 00187 - Št. vpisa v poslovni register v Rimu, davčna številka in identifikacijska številka za DDV 15376371009',
18
16
  privacyPolicyLink: 'Politika zasebnosti ',
19
17
  termsAndConditionLink: 'Pogoji uporabe spletnega mesta ',
20
- informationSecurityLink: 'Varnost informacij ',
21
- assistanceLink: 'Podpora ',
18
+ informationSecurityLink: 'Varnost podatkov ',
19
+ assistanceLink: 'Podpora strankam ',
22
20
  preLoginLinks: {
23
21
  aboutUs: {
24
22
  links: {
25
23
  aboutUs: 'PagoPA S.p.A.',
26
24
  media: 'Mediji',
27
- workwithud: 'Zaposlitev',
25
+ workwithud: 'Sodeluj z nami',
28
26
  },
29
27
  },
30
28
  resources: {
31
- title: 'Vir',
29
+ title: 'Viri',
32
30
  links: {
33
31
  privacyPolicy: 'Politika zasebnosti',
34
32
  certifications: 'Certifikati',
35
- informationsecurity: 'Varnost informacij',
33
+ informationsecurity: 'Varnost podatkov',
36
34
  protectionofpersonaldata: 'Pravica do varstva osebnih podatkov',
37
- cookie: 'Nastavitve piškotkov',
38
- termsandconditions: 'Splošni pogoji',
39
- transparentcompany: 'Transparentno podjetje',
35
+ cookies: 'Nastavitve piškotkov',
36
+ termsandconditions: 'Pogoji in določila',
37
+ transparentcompany: 'Pregledna družba',
40
38
  disclosurePolicy: 'Politika odgovornega razkritja',
41
- Model321: 'Model 321',
39
+ model231: 'Model 231',
42
40
  },
43
41
  },
44
42
  followUs: {
45
43
  title: 'Spremljajte nas na',
46
44
  },
45
+ accessibility: 'Dostopnost',
47
46
  },
48
47
  postLoginLinks: {
49
- privacyPolicy: 'Politika zasebnosti',
48
+ privacyPolicy: 'Pravilnik o zasebnosti',
50
49
  protectionofpersonaldata: 'Pravica do varstva osebnih podatkov',
51
- termsandconditions: 'Splošni pogoji',
50
+ termsandconditions: 'Pogoji in določila',
51
+ accessibility: 'Dostopnost',
52
52
  },
53
53
  },
54
54
  header: {
55
55
  exitButton: 'Izhod',
56
+ chipLabel: 'Operater PagoPA',
56
57
  },
57
58
  filterModal: {
58
59
  title: 'Filtriraj po ',
@@ -63,32 +64,32 @@ exports.default = {
63
64
  confirmButton: 'Poskusi znova',
64
65
  },
65
66
  unloadEventHandler: {
66
- title: 'Res želite zapustiti stran?',
67
- message: 'Če zapustite, bodo vse spremembe izgubljene.',
68
- confirmLabel: 'Zapusti',
67
+ title: 'Ali ste prepričani, da želite oditi?',
68
+ message: 'Če zaprete, bodo spremembe, ki si jih naredil, izgubljene.',
69
+ confirmLabel: 'Izhod',
69
70
  },
70
71
  roles: {
71
72
  admin: {
72
- shortLabel: 'Admin',
73
- longLabel: 'Skrbnik',
73
+ shortLabel: 'Ref. Upravno',
74
+ longLabel: 'Upravitelj',
74
75
  description: 'Ima vsa dovoljenja in upravlja uporabnike',
75
76
  },
76
77
  limited: {
77
- shortLabel: 'Operater',
78
- longLabel: 'Operater',
78
+ shortLabel: 'Ref. Delujoče',
79
+ longLabel: 'Upravljavec',
79
80
  description: 'Upravlja tehnološko integracijo in/ali delovanje storitev',
80
81
  },
81
82
  },
82
83
  pnpgRoles: {
83
84
  admin: {
84
- shortLabel: 'Admin',
85
- longLabel: 'Skrbnik',
85
+ shortLabel: 'Ref. Upravno',
86
+ longLabel: 'Upravitelj',
86
87
  description: 'Ima vsa dovoljenja in upravlja uporabnike',
87
88
  },
88
89
  limited: {
89
- shortLabel: 'Tehnik',
90
+ shortLabel: 'Ref. Tehnično',
90
91
  longLabel: 'Tehnik',
91
- description: 'Bere obvestila organa',
92
+ description: 'Bere obvestila organizacije',
92
93
  },
93
94
  },
94
95
  backComponent: {
@@ -96,4 +97,3 @@ exports.default = {
96
97
  },
97
98
  },
98
99
  };
99
- //# sourceMappingURL=sl.js.map
@@ -1,5 +1,5 @@
1
1
  import { ErrorInfo } from 'react';
2
- export declare type AppError = {
2
+ export type AppError = {
3
3
  /** The identifier used to recognize the error: it cannot be possible to have the same error id at the same time */
4
4
  id: string;
5
5
  /** The Error thrown */
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export type JwtUser = {
2
+ uid: string;
3
+ fiscal_number?: string;
4
+ name?: string;
5
+ family_name?: string;
6
+ email?: string;
7
+ exp: string;
8
+ iss?: string;
9
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- export declare type Page = {
1
+ export type Page = {
2
2
  number: number;
3
3
  size: number;
4
4
  totalElements: number;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- export declare type PageRequest = {
1
+ export type PageRequest = {
2
2
  page: number;
3
3
  size: number;
4
4
  sort?: string;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { Page } from './Page';
2
- export declare type PageResource<T> = {
2
+ export type PageResource<T> = {
3
3
  content: Array<T>;
4
4
  page: Page;
5
5
  };
@@ -0,0 +1 @@
1
+ export {};