@sphereon/ui-components.core 0.1.3-unstable.145 → 0.1.3-unstable.146
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 +1 -0
- package/dist/localization/translations/nl.json +1 -1
- package/dist/styles/ssi/colors.js +7 -6
- package/dist/types/credential/index.d.ts +8 -7
- package/dist/types/credential/index.js +7 -6
- package/dist/utils/TranslationUtils.js +2 -0
- package/package.json +2 -2
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"credential_status_valid": "Valid",
|
|
7
7
|
"credential_status_expired": "Expired",
|
|
8
8
|
"credential_status_revoked": "Revoked",
|
|
9
|
+
"credential_status_draft": "Draft",
|
|
9
10
|
"workflow_status_approved": "Approved",
|
|
10
11
|
"workflow_status_archived": "Archived",
|
|
11
12
|
"workflow_status_declined": "Declined",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"credential_status_valid": "Geldig",
|
|
7
7
|
"credential_status_expired": "Verlopen",
|
|
8
8
|
"credential_status_revoked": "Ingetrokken",
|
|
9
|
+
"credential_status_draft": "Ontwerp",
|
|
9
10
|
"workflow_status_approved": "Goedgekeurd",
|
|
10
11
|
"workflow_status_archived": "Gearchiveerd",
|
|
11
12
|
"workflow_status_declined": "Afgewezen",
|
|
@@ -19,7 +20,6 @@
|
|
|
19
20
|
"action_delete_label": "Verwijder",
|
|
20
21
|
"table_pagination_input_caption_go_to": "Ga naar",
|
|
21
22
|
"table_pagination_input_caption_page": "pagina",
|
|
22
|
-
"action_delete_label": "Verwijder",
|
|
23
23
|
"drag_and_drop_upload_image_caption": "Klik of sleep om een afbeelding te uploaden",
|
|
24
24
|
"drag_and_drop_upload_evidence_caption": "Klik of sleep om een bewijsdocument te uploaden",
|
|
25
25
|
"credential_attach_image_description": "Deze afbeelding wordt aan de credential toegevoegd.",
|
|
@@ -22,12 +22,13 @@ exports.statusColors = {
|
|
|
22
22
|
verified: '#00C249',
|
|
23
23
|
unverified: '#FF9900',
|
|
24
24
|
error: '#D74500',
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
"new": '#7276F7',
|
|
26
|
+
approved: '#00C249',
|
|
27
|
+
pending: '#0B81FF',
|
|
28
|
+
archived: '#B3B3B3',
|
|
29
|
+
declined: '#D74500',
|
|
30
|
+
done: '#00C249',
|
|
31
|
+
draft: '#0B81FF'
|
|
31
32
|
};
|
|
32
33
|
exports.fontColors = {
|
|
33
34
|
dark: '#303030',
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
export declare enum CredentialStatus {
|
|
2
2
|
VALID = "valid",
|
|
3
3
|
EXPIRED = "expired",
|
|
4
|
-
REVOKED = "revoked"
|
|
4
|
+
REVOKED = "revoked",
|
|
5
|
+
DRAFT = "draft"
|
|
5
6
|
}
|
|
6
7
|
export declare enum IssuerStatus {
|
|
7
8
|
VERIFIED = "verified",
|
|
8
9
|
UNVERIFIED = "unverified"
|
|
9
10
|
}
|
|
10
11
|
export declare enum WorkflowStatus {
|
|
11
|
-
NEW = "
|
|
12
|
-
APPROVED = "
|
|
13
|
-
DECLINED = "
|
|
14
|
-
PENDING = "
|
|
15
|
-
DONE = "
|
|
16
|
-
ARCHIVED = "
|
|
12
|
+
NEW = "new",
|
|
13
|
+
APPROVED = "approved",
|
|
14
|
+
DECLINED = "declined",
|
|
15
|
+
PENDING = "pending",
|
|
16
|
+
DONE = "done",
|
|
17
|
+
ARCHIVED = "archived"
|
|
17
18
|
}
|
|
18
19
|
export type LabelStatus = CredentialStatus | IssuerStatus | WorkflowStatus;
|
|
@@ -6,6 +6,7 @@ var CredentialStatus;
|
|
|
6
6
|
CredentialStatus["VALID"] = "valid";
|
|
7
7
|
CredentialStatus["EXPIRED"] = "expired";
|
|
8
8
|
CredentialStatus["REVOKED"] = "revoked";
|
|
9
|
+
CredentialStatus["DRAFT"] = "draft";
|
|
9
10
|
})(CredentialStatus = exports.CredentialStatus || (exports.CredentialStatus = {}));
|
|
10
11
|
var IssuerStatus;
|
|
11
12
|
(function (IssuerStatus) {
|
|
@@ -14,10 +15,10 @@ var IssuerStatus;
|
|
|
14
15
|
})(IssuerStatus = exports.IssuerStatus || (exports.IssuerStatus = {}));
|
|
15
16
|
var WorkflowStatus;
|
|
16
17
|
(function (WorkflowStatus) {
|
|
17
|
-
WorkflowStatus["NEW"] = "
|
|
18
|
-
WorkflowStatus["APPROVED"] = "
|
|
19
|
-
WorkflowStatus["DECLINED"] = "
|
|
20
|
-
WorkflowStatus["PENDING"] = "
|
|
21
|
-
WorkflowStatus["DONE"] = "
|
|
22
|
-
WorkflowStatus["ARCHIVED"] = "
|
|
18
|
+
WorkflowStatus["NEW"] = "new";
|
|
19
|
+
WorkflowStatus["APPROVED"] = "approved";
|
|
20
|
+
WorkflowStatus["DECLINED"] = "declined";
|
|
21
|
+
WorkflowStatus["PENDING"] = "pending";
|
|
22
|
+
WorkflowStatus["DONE"] = "done";
|
|
23
|
+
WorkflowStatus["ARCHIVED"] = "archived";
|
|
23
24
|
})(WorkflowStatus = exports.WorkflowStatus || (exports.WorkflowStatus = {}));
|
|
@@ -18,6 +18,8 @@ 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.CredentialStatus.DRAFT:
|
|
22
|
+
return Localization_1["default"].translate('credential_status_draft');
|
|
21
23
|
case types_1.WorkflowStatus.APPROVED:
|
|
22
24
|
return Localization_1["default"].translate('workflow_status_approved');
|
|
23
25
|
case types_1.WorkflowStatus.ARCHIVED:
|
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.146+0e18162",
|
|
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": "0e1816213efe60a370f36e37b32c80caf4112d30"
|
|
47
47
|
}
|