@sphereon/ui-components.core 0.1.3-unstable.41 → 0.1.3-unstable.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/localization/translations/en.json +0 -6
- package/dist/localization/translations/nl.json +0 -6
- package/dist/styles/ssi/colors.js +1 -7
- package/dist/types/credential/index.d.ts +1 -9
- package/dist/types/credential/index.js +1 -10
- package/dist/utils/TranslationUtils.js +0 -12
- package/package.json +2 -2
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
"credential_status_valid": "Valid",
|
|
7
7
|
"credential_status_expired": "Expired",
|
|
8
8
|
"credential_status_revoked": "Revoked",
|
|
9
|
-
"workflow_status_approved": "Approved",
|
|
10
|
-
"workflow_status_archived": "Archived",
|
|
11
|
-
"workflow_status_declined": "Declined",
|
|
12
|
-
"workflow_status_done": "Done",
|
|
13
|
-
"workflow_status_new": "New",
|
|
14
|
-
"workflow_status_pending": "Pending",
|
|
15
9
|
"status_missing": "Unknown",
|
|
16
10
|
"action_filter_caption": "Filter",
|
|
17
11
|
"action_show_caption": "Show:",
|
|
@@ -6,12 +6,6 @@
|
|
|
6
6
|
"credential_status_valid": "Geldig",
|
|
7
7
|
"credential_status_expired": "Verlopen",
|
|
8
8
|
"credential_status_revoked": "Ingetrokken",
|
|
9
|
-
"workflow_status_approved": "Goedgekeurd",
|
|
10
|
-
"workflow_status_archived": "Gearchiveerd",
|
|
11
|
-
"workflow_status_declined": "Afgewezen",
|
|
12
|
-
"workflow_status_done": "Klaar",
|
|
13
|
-
"workflow_status_new": "Nieuw",
|
|
14
|
-
"workflow_status_pending": "In behandeling",
|
|
15
9
|
"status_missing": "Onbekent",
|
|
16
10
|
"action_filter_caption": "Filter",
|
|
17
11
|
"action_show_caption": "Toon:",
|
|
@@ -20,13 +20,7 @@ exports.statusColors = {
|
|
|
20
20
|
revoked: '#EE5309',
|
|
21
21
|
verified: '#00C249',
|
|
22
22
|
unverified: '#FF9900',
|
|
23
|
-
error: '#D74500'
|
|
24
|
-
New: '#7276F7',
|
|
25
|
-
Approved: '#00C249',
|
|
26
|
-
Pending: '#0B81FF',
|
|
27
|
-
Archived: '#B3B3B3',
|
|
28
|
-
Declined: '#D74500',
|
|
29
|
-
Done: '#000'
|
|
23
|
+
error: '#D74500'
|
|
30
24
|
};
|
|
31
25
|
exports.fontColors = {
|
|
32
26
|
dark: '#303030',
|
|
@@ -7,12 +7,4 @@ export declare enum IssuerStatus {
|
|
|
7
7
|
VERIFIED = "verified",
|
|
8
8
|
UNVERIFIED = "unverified"
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
NEW = "New",
|
|
12
|
-
APPROVED = "Approved",
|
|
13
|
-
DECLINED = "Declined",
|
|
14
|
-
PENDING = "Pending",
|
|
15
|
-
DONE = "Done",
|
|
16
|
-
ARCHIVED = "Archived"
|
|
17
|
-
}
|
|
18
|
-
export type LabelStatus = CredentialStatus | IssuerStatus | WorkflowStatus;
|
|
10
|
+
export type LabelStatus = CredentialStatus | IssuerStatus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
|
-
exports.
|
|
3
|
+
exports.IssuerStatus = exports.CredentialStatus = void 0;
|
|
4
4
|
var CredentialStatus;
|
|
5
5
|
(function (CredentialStatus) {
|
|
6
6
|
CredentialStatus["VALID"] = "valid";
|
|
@@ -12,12 +12,3 @@ var IssuerStatus;
|
|
|
12
12
|
IssuerStatus["VERIFIED"] = "verified";
|
|
13
13
|
IssuerStatus["UNVERIFIED"] = "unverified";
|
|
14
14
|
})(IssuerStatus = exports.IssuerStatus || (exports.IssuerStatus = {}));
|
|
15
|
-
var WorkflowStatus;
|
|
16
|
-
(function (WorkflowStatus) {
|
|
17
|
-
WorkflowStatus["NEW"] = "New";
|
|
18
|
-
WorkflowStatus["APPROVED"] = "Approved";
|
|
19
|
-
WorkflowStatus["DECLINED"] = "Declined";
|
|
20
|
-
WorkflowStatus["PENDING"] = "Pending";
|
|
21
|
-
WorkflowStatus["DONE"] = "Done";
|
|
22
|
-
WorkflowStatus["ARCHIVED"] = "Archived";
|
|
23
|
-
})(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
|
|
@@ -18,18 +18,6 @@ var getStatusTranslation = function (status) {
|
|
|
18
18
|
return Localization_1["default"].translate('credential_status_expired');
|
|
19
19
|
case types_1.CredentialStatus.REVOKED:
|
|
20
20
|
return Localization_1["default"].translate('credential_status_revoked');
|
|
21
|
-
case types_1.WorkflowStatus.APPROVED:
|
|
22
|
-
return Localization_1["default"].translate('workflow_status_approved');
|
|
23
|
-
case types_1.WorkflowStatus.ARCHIVED:
|
|
24
|
-
return Localization_1["default"].translate('workflow_status_archived');
|
|
25
|
-
case types_1.WorkflowStatus.DECLINED:
|
|
26
|
-
return Localization_1["default"].translate('workflow_status_declined');
|
|
27
|
-
case types_1.WorkflowStatus.DONE:
|
|
28
|
-
return Localization_1["default"].translate('workflow_status_done');
|
|
29
|
-
case types_1.WorkflowStatus.NEW:
|
|
30
|
-
return Localization_1["default"].translate('workflow_status_new');
|
|
31
|
-
case types_1.WorkflowStatus.PENDING:
|
|
32
|
-
return Localization_1["default"].translate('workflow_status_pending');
|
|
33
21
|
default:
|
|
34
22
|
return Localization_1["default"].translate('status_missing');
|
|
35
23
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ui-components.core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.3-unstable.
|
|
4
|
+
"version": "0.1.3-unstable.42+0b192df",
|
|
5
5
|
"description": "SSI UI components Core",
|
|
6
6
|
"repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
|
|
7
7
|
"author": "Sphereon <dev@sphereon.com>",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">= 16.8.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "0b192df82e83d188d3e2f9501733b277efcd64d7"
|
|
47
47
|
}
|