@velocitycareerlabs/vc-renderer-sample 1.25.0-dev-build.158b56827
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/.eslintrc.js +128 -0
- package/LICENSE +248 -0
- package/README.md +46 -0
- package/package.json +62 -0
- package/public/index.html +40 -0
- package/public/vite.svg +1 -0
- package/src/App.css +5 -0
- package/src/App.tsx +396 -0
- package/src/assets/index.tsx +5 -0
- package/src/assets/logo192.png +0 -0
- package/src/assets/regular-share-blue.svg +3 -0
- package/src/assets/round-share-black.svg +4 -0
- package/src/assets/trash.svg +4 -0
- package/src/components/PDFReport/index.tsx +248 -0
- package/src/components/Sidebar/index.tsx +61 -0
- package/src/components/SummaryFooter/index.tsx +23 -0
- package/src/components/VcDetailsFooter/index.tsx +15 -0
- package/src/index.css +13 -0
- package/src/index.tsx +13 -0
- package/src/mocks/credentials.tsx +769 -0
- package/src/mocks/credentialsMapped.tsx +520 -0
- package/src/mocks/descriptors.tsx +799 -0
- package/src/mocks/index.tsx +7 -0
- package/src/mocks/issuers.tsx +69 -0
- package/src/mocks/status.tsx +8 -0
- package/src/react-app-env.d.ts +1 -0
- package/src/setupTests.ts +5 -0
- package/tsconfig.json +25 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
import { CREDENTIALS } from './credentials';
|
2
|
+
import { DESCRIPTORS } from './descriptors';
|
3
|
+
import { ISSUERS } from './issuers';
|
4
|
+
import { CREDENTIALS_MAPPED } from './credentialsMapped';
|
5
|
+
import { STATUS } from './status';
|
6
|
+
|
7
|
+
export { CREDENTIALS, DESCRIPTORS, ISSUERS, CREDENTIALS_MAPPED, STATUS };
|
@@ -0,0 +1,69 @@
|
|
1
|
+
interface Issuers {
|
2
|
+
[key: string]: any;
|
3
|
+
}
|
4
|
+
/* eslint-disable max-len */
|
5
|
+
export const ISSUERS: Issuers = {
|
6
|
+
'did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g': {
|
7
|
+
id: 'did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g',
|
8
|
+
permittedVelocityServiceCategory: ['Issuer', 'Inspector'],
|
9
|
+
name: 'Regular Issuer',
|
10
|
+
location: {
|
11
|
+
countryCode: 'BY',
|
12
|
+
regionCode: 'MN',
|
13
|
+
},
|
14
|
+
logo: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRAHXPluq6GtTRPDIHRv5kJPy86uFjp5sO7hg&s',
|
15
|
+
website: 'https://www.velocitycareerlabs.com/',
|
16
|
+
contactEmail: 'vcl.devnet@gmail.com',
|
17
|
+
technicalEmail: 'vcl.devnet@gmail.com',
|
18
|
+
description: 'Org for tesing simpe Issuing (not Notary, not Identity)',
|
19
|
+
founded: '2023-07-12',
|
20
|
+
type: 'company',
|
21
|
+
physicalAddress: {
|
22
|
+
line1: 'xxxx',
|
23
|
+
line2: 'xxxx',
|
24
|
+
line3: 'xxxx',
|
25
|
+
regionCode: 'XX-XX',
|
26
|
+
countryCode: 'XX',
|
27
|
+
postcode: 'xxxx',
|
28
|
+
},
|
29
|
+
linkedInProfile: 'https://xxxx.xxx',
|
30
|
+
verifiableCredentialJwt:
|
31
|
+
'https://devregistrar.velocitynetwork.foundation/api/v0.6/organizations/did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g/resolve-vc/9c5d85e4-1930-4821-bcfb-e0b02e9bf8d8',
|
32
|
+
supportsSecureMessages: false,
|
33
|
+
createdAt: '2023-07-12T13:52:57.099Z',
|
34
|
+
updatedAt: '2023-07-13T10:47:22.460Z',
|
35
|
+
},
|
36
|
+
'did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA': {
|
37
|
+
id: 'did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA',
|
38
|
+
permittedVelocityServiceCategory: [
|
39
|
+
'CredentialAgentOperator',
|
40
|
+
'NotaryIdDocumentIssuer',
|
41
|
+
'NotaryContactIssuer',
|
42
|
+
'Inspector',
|
43
|
+
'HolderAppProvider',
|
44
|
+
'IdentityIssuer',
|
45
|
+
],
|
46
|
+
name: 'Velocity Career Labs',
|
47
|
+
location: {
|
48
|
+
countryCode: 'IL',
|
49
|
+
regionCode: 'IL',
|
50
|
+
},
|
51
|
+
logo: 'https://cdn.prod.website-files.com/618e3970639af961ca1e7325/6197d16e7036b9b418c21cf5_icon32%D1%8532.png',
|
52
|
+
founded: '2018',
|
53
|
+
type: 'company',
|
54
|
+
physicalAddress: {
|
55
|
+
line1: 'xxxx',
|
56
|
+
line2: 'xxxx',
|
57
|
+
line3: 'xxxx',
|
58
|
+
regionCode: 'XX-XX',
|
59
|
+
countryCode: 'XX',
|
60
|
+
postcode: 'xxxx',
|
61
|
+
},
|
62
|
+
linkedInProfile: 'https://xxxx.xxx',
|
63
|
+
verifiableCredentialJwt:
|
64
|
+
'https://devregistrar.velocitynetwork.foundation/api/v0.6/organizations/did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA/resolve-vc/d7ef4a99-69dd-43cb-82a0-a05dfcfae2e3',
|
65
|
+
supportsSecureMessages: false,
|
66
|
+
createdAt: '2022-01-31T12:31:15.493Z',
|
67
|
+
updatedAt: '2023-02-13T13:43:59.317Z',
|
68
|
+
},
|
69
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export const STATUS = {
|
2
|
+
'6703a5192f771a68797aceb1': 'Verified' as any,
|
3
|
+
'6703a4af2f771a68797aceb0': 'Verified' as any,
|
4
|
+
'66fa996429ae2f0cca02ea36': 'Verified' as any,
|
5
|
+
'66f91232b94d2ad224f6dcc5': 'Revoked' as any,
|
6
|
+
'66f91232b94d2ad224f6dcc4': 'Expired' as any,
|
7
|
+
'66f91232b94d2ad224f6dcc3': 'Replaced' as any,
|
8
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
/// <reference types="react-scripts" />
|
package/tsconfig.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{"compilerOptions": {
|
2
|
+
"target": "es5",
|
3
|
+
"lib": [
|
4
|
+
"dom",
|
5
|
+
"dom.iterable",
|
6
|
+
"esnext"
|
7
|
+
],
|
8
|
+
"allowJs": true,
|
9
|
+
"skipLibCheck": true,
|
10
|
+
"esModuleInterop": true,
|
11
|
+
"allowSyntheticDefaultImports": true,
|
12
|
+
"strict": true,
|
13
|
+
"forceConsistentCasingInFileNames": true,
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
15
|
+
"module": "esnext",
|
16
|
+
"moduleResolution": "node",
|
17
|
+
"resolveJsonModule": true,
|
18
|
+
"isolatedModules": true,
|
19
|
+
"noEmit": true,
|
20
|
+
"jsx": "react-jsx",
|
21
|
+
"baseUrl": "src",
|
22
|
+
},
|
23
|
+
"include": [
|
24
|
+
"src" ]
|
25
|
+
}
|