@pagopa/selfcare-common-frontend 1.10.7 → 1.10.8
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 +7 -0
- package/build.info +2 -2
- package/locale/it.d.ts +12 -0
- package/locale/it.js +12 -0
- package/locale/it.js.map +1 -1
- package/package.json +1 -1
- package/utils/constants.d.ts +3 -3
- package/utils/constants.js +6 -6
- package/utils/constants.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,15 @@ 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.8](https://github.com/pagopa/selfcare-common-frontend/compare/v1.10.7...v1.10.8)
|
|
8
|
+
|
|
9
|
+
- SELC-925 Change ADMIN and LIMITED labels + localization [`#70`](https://github.com/pagopa/selfcare-common-frontend/pull/70)
|
|
10
|
+
- SELC-925 Change ADMIN and LIMITED labels + localization (#70) [`#925`](https://pagopa.atlassian.net/browse/925)
|
|
11
|
+
|
|
7
12
|
#### [v1.10.7](https://github.com/pagopa/selfcare-common-frontend/compare/v1.10.6...v1.10.7)
|
|
8
13
|
|
|
14
|
+
> 26 April 2022
|
|
15
|
+
|
|
9
16
|
- modified z-index [`#69`](https://github.com/pagopa/selfcare-common-frontend/pull/69)
|
|
10
17
|
|
|
11
18
|
#### [v1.10.6](https://github.com/pagopa/selfcare-common-frontend/compare/v1.10.5...v1.10.6)
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
remotes/origin/SELC-222
|
|
1
|
+
20220428.1 - selfcare-common-frontend.deploy(29275)
|
|
2
|
+
remotes/origin/SELC-222 eeaa9907fe05af885f3c0b077b6cd2fbdfd5305d
|
package/locale/it.d.ts
CHANGED
|
@@ -34,6 +34,18 @@ declare const _default: {
|
|
|
34
34
|
message: string;
|
|
35
35
|
confirmLabel: string;
|
|
36
36
|
};
|
|
37
|
+
roles: {
|
|
38
|
+
admin: {
|
|
39
|
+
shortLabel: string;
|
|
40
|
+
longLabel: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
limited: {
|
|
44
|
+
shortLabel: string;
|
|
45
|
+
longLabel: string;
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
37
49
|
};
|
|
38
50
|
};
|
|
39
51
|
export default _default;
|
package/locale/it.js
CHANGED
|
@@ -39,6 +39,18 @@ exports.default = {
|
|
|
39
39
|
message: 'Se esci, le modifiche apportate andranno perse.',
|
|
40
40
|
confirmLabel: 'Esci',
|
|
41
41
|
},
|
|
42
|
+
roles: {
|
|
43
|
+
admin: {
|
|
44
|
+
shortLabel: 'Ref. Amministrativo',
|
|
45
|
+
longLabel: 'Amministratore',
|
|
46
|
+
description: 'Ha tutti i permessi e gestisce gli utenti',
|
|
47
|
+
},
|
|
48
|
+
limited: {
|
|
49
|
+
shortLabel: 'Ref. Operativo',
|
|
50
|
+
longLabel: 'Operatore',
|
|
51
|
+
description: "Gestisce l'integrazione tecnologica e/o l'operatività dei servizi",
|
|
52
|
+
},
|
|
53
|
+
},
|
|
42
54
|
},
|
|
43
55
|
};
|
|
44
56
|
//# sourceMappingURL=it.js.map
|
package/locale/it.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"it.js","sourceRoot":"","sources":["../../src/lib/locale/it.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,aAAa,EAAE;YACb,iBAAiB,EAAE,QAAQ;YAC3B,mBAAmB,EAAE,sCAAsC;YAC3D,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,sCAAsC;SACrD;QACD,iBAAiB,EAAE;YACjB,KAAK,EAAE,sCAAsC;YAC7C,WAAW,EAAE,2EAA2E;YACxF,WAAW,EAAE,uBAAuB;SACrC;QACD,MAAM,EAAE;Y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D,YAAY,EAAE,MAAM;SACrB;QACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,UAAU,EAAE,qBAAqB;gBACjC,SAAS,EAAE,gBAAgB;gBAC3B,WAAW,EAAE,2CAA2C;aACzD;YACD,OAAO,EAAE;gBACP,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,WAAW;gBACtB,WAAW,EAAE,mEAAmE;aACjF;SACF;KACF;CACF,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.10.
|
|
4
|
+
"version": "1.10.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|
package/utils/constants.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ 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]: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
shortLabelKey: string;
|
|
8
|
+
longLabelKey: string;
|
|
9
|
+
descriptionKey: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
package/utils/constants.js
CHANGED
|
@@ -6,14 +6,14 @@ exports.LOADING_TASK_RETRIEVE_CACHED_VALUES = 'RETRIEVE_CACHED_VALUES';
|
|
|
6
6
|
/** The short and long labels used for the roles of selfcare's projects */
|
|
7
7
|
exports.roleLabels = {
|
|
8
8
|
ADMIN: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
shortLabelKey: 'common.roles.admin.shortLabel',
|
|
10
|
+
longLabelKey: 'common.roles.admin.longLabel',
|
|
11
|
+
descriptionKey: 'common.roles.admin.description',
|
|
12
12
|
},
|
|
13
13
|
LIMITED: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
shortLabelKey: 'common.roles.limited.shortLabel',
|
|
15
|
+
longLabelKey: 'common.roles.limited.longLabel',
|
|
16
|
+
descriptionKey: 'common.roles.limited.description',
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
//# sourceMappingURL=constants.js.map
|
package/utils/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,aAAa,EAAE,+BAA+B;QAC9C,YAAY,EAAE,8BAA8B;QAC5C,cAAc,EAAE,gCAAgC;KACjD;IACD,OAAO,EAAE;QACP,aAAa,EAAE,iCAAiC;QAChD,YAAY,EAAE,gCAAgC;QAC9C,cAAc,EAAE,kCAAkC;KACnD;CACF,CAAC"}
|