@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
package/.eslintrc.js
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
const eslintConfig = require('../../../.eslintrc');
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
...eslintConfig,
|
5
|
+
root: true,
|
6
|
+
extends: [
|
7
|
+
'plugin:react/recommended',
|
8
|
+
'plugin:react/jsx-runtime',
|
9
|
+
'airbnb',
|
10
|
+
'airbnb/hooks',
|
11
|
+
'airbnb-typescript',
|
12
|
+
].concat(eslintConfig.extends),
|
13
|
+
parser: '@typescript-eslint/parser',
|
14
|
+
parserOptions: {
|
15
|
+
project: './tsconfig.json',
|
16
|
+
tsconfigRootDir: __dirname,
|
17
|
+
...eslintConfig.parserOptions,
|
18
|
+
},
|
19
|
+
plugins: eslintConfig.plugins.concat([
|
20
|
+
'@typescript-eslint',
|
21
|
+
'unused-imports',
|
22
|
+
'import',
|
23
|
+
]),
|
24
|
+
settings: {
|
25
|
+
'import/parsers': {
|
26
|
+
'@typescript-eslint/parser': ['.ts', '.tsx', 'd.ts'],
|
27
|
+
},
|
28
|
+
'import/resolver': {
|
29
|
+
typescript: {
|
30
|
+
project: ['./tsconfig.json'],
|
31
|
+
},
|
32
|
+
node: {
|
33
|
+
extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts'],
|
34
|
+
paths: ['./'],
|
35
|
+
},
|
36
|
+
},
|
37
|
+
},
|
38
|
+
env: {
|
39
|
+
es6: true,
|
40
|
+
browser: true,
|
41
|
+
jest: true,
|
42
|
+
},
|
43
|
+
ignorePatterns: ['secrets.js', 'dist', '.eslintrc.js'],
|
44
|
+
rules: {
|
45
|
+
...eslintConfig.rules,
|
46
|
+
'import/extensions': [
|
47
|
+
'error',
|
48
|
+
'ignorePackages',
|
49
|
+
{
|
50
|
+
js: 'never',
|
51
|
+
jsx: 'never',
|
52
|
+
ts: 'never',
|
53
|
+
tsx: 'never',
|
54
|
+
},
|
55
|
+
],
|
56
|
+
'no-shadow': 'off',
|
57
|
+
'@typescript-eslint/no-shadow': ['error'],
|
58
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
59
|
+
'unused-imports/no-unused-imports-ts': 'error',
|
60
|
+
'unused-imports/no-unused-vars-ts': [
|
61
|
+
'warn',
|
62
|
+
{
|
63
|
+
vars: 'all',
|
64
|
+
varsIgnorePattern: '^_',
|
65
|
+
args: 'after-used',
|
66
|
+
argsIgnorePattern: '^_',
|
67
|
+
},
|
68
|
+
],
|
69
|
+
'autofix/no-debugger': 'error',
|
70
|
+
'no-console': ['error', { allow: ['warn', 'error', 'dir', 'info'] }],
|
71
|
+
'prefer-destructuring': [
|
72
|
+
'error',
|
73
|
+
{
|
74
|
+
array: false,
|
75
|
+
object: true,
|
76
|
+
},
|
77
|
+
{
|
78
|
+
enforceForRenamedProperties: false,
|
79
|
+
},
|
80
|
+
],
|
81
|
+
'prefer-arrow-functions/prefer-arrow-functions': [
|
82
|
+
'warn',
|
83
|
+
{
|
84
|
+
classPropertiesAllowed: false,
|
85
|
+
disallowPrototype: false,
|
86
|
+
returnStyle: 'unchanged',
|
87
|
+
singleReturnOnly: false,
|
88
|
+
},
|
89
|
+
],
|
90
|
+
'import/prefer-default-export': 0,
|
91
|
+
'react/jsx-props-no-spreading': 0,
|
92
|
+
'@typescript-eslint/no-use-before-define': [
|
93
|
+
'error',
|
94
|
+
{ variables: false, classes: true, functions: true },
|
95
|
+
],
|
96
|
+
'no-param-reassign': 0,
|
97
|
+
'no-underscore-dangle': ['error', { allowAfterThis: true, allow: ['_id'] }],
|
98
|
+
quotes: [2, 'single', { avoidEscape: true }],
|
99
|
+
'no-use-before-define': 0,
|
100
|
+
'global-require': 0,
|
101
|
+
'react/require-default-props': 'off',
|
102
|
+
'react/prop-types': 'off',
|
103
|
+
'object-curly-newline': 'off',
|
104
|
+
'react/function-component-definition': [
|
105
|
+
2,
|
106
|
+
{
|
107
|
+
namedComponents: 'arrow-function',
|
108
|
+
unnamedComponents: 'arrow-function',
|
109
|
+
},
|
110
|
+
],
|
111
|
+
'better-mutation/no-mutation': [
|
112
|
+
'error',
|
113
|
+
{
|
114
|
+
commonjs: true,
|
115
|
+
allowThis: true,
|
116
|
+
reducers: ['reduce', 'addHook', 'decorate'],
|
117
|
+
exceptions: [
|
118
|
+
{ object: 'draftState' },
|
119
|
+
{ property: 'current' },
|
120
|
+
],
|
121
|
+
},
|
122
|
+
],
|
123
|
+
'react/react-in-jsx-scope': 'off',
|
124
|
+
'import/no-extraneous-dependencies': 'off',
|
125
|
+
'no-alert': 'off',
|
126
|
+
complexity: ['error', 10],
|
127
|
+
},
|
128
|
+
};
|
package/LICENSE
ADDED
@@ -0,0 +1,248 @@
|
|
1
|
+
Velocity License Version 1.0
|
2
|
+
|
3
|
+
PLEASE READ CAREFULLY THESE LICENSE TERMS (THE “TERMS”) BEFORE OBTAINING A
|
4
|
+
COPY, INSTALLING, ACCESSING, OR USING THE SOFTWARE (AS DEFINED BELOW) PROVIDED
|
5
|
+
TO YOU (“USER”, “YOU”) BY VCL (AS DEFINED BELOW). BY INSTALLING, HAVING
|
6
|
+
INSTALLED, CONTROLLING, ACCESSING OR OTHERWISE USING THE SOFTWARE IN ANY
|
7
|
+
MANNER, YOU ARE ACCEPTING AND AGREEING TO BE BOUND BY THE LICENSE TERMS AND
|
8
|
+
CONDITIONS HEREOF AND REPRESENTING THAT YOU HAVE FULL RIGHT, POWER, AND
|
9
|
+
AUTHORITY TO ENTER INTO AND PERFORM THE TERMS HEREUNDER. THESE TERMS ARE MADE
|
10
|
+
BETWEEN YOU AND VELOCITY CAREER LABS, INC., A DELAWARE CORPORATION AND ITS
|
11
|
+
AFFILIATES (“VCL”, AND COLLECTIVELY THE “PARTIES”), WITH RESPECT TO THE
|
12
|
+
SOFTWARE, AND NOTWITHSTANDING ANYTHING TO THE CONTRARY IN ANY OTHER DOCUMENT,
|
13
|
+
AGREEMENT OR ARRANGEMENT BETWEEN YOU AND ANY THIRD PARTY OR ANYONE ON ITS
|
14
|
+
BEHALF. YOU ASSUME ALL RESPONSIBILITY FOR THE SELECTION OF THE SOFTWARE, FOR
|
15
|
+
YOUR RELIANCE ON THE RESULTS OF USE OF THE SOFTWARE AND FOR ANY USE OF THE
|
16
|
+
SOFTWARE NOT IN ACCORDANCE WITH THE TERMS HEREOF.
|
17
|
+
|
18
|
+
1. DEFINITIONS.
|
19
|
+
|
20
|
+
1.1 “Affiliate” means any entity which controls, is controlled by or is under
|
21
|
+
common control with either of the parties, whether by ownership or management.
|
22
|
+
Any entity shall be deemed to “control” another entity if it owns directly or
|
23
|
+
indirectly more than 50% of the outstanding voting securities or capital of
|
24
|
+
other entity or other comparable equity with respect to an entity other than a
|
25
|
+
company.
|
26
|
+
|
27
|
+
1.2 “Documentation” means the instructions, user guides, manuals and release
|
28
|
+
notes provided by VCL, at any time, in printed and/or electronic form, that
|
29
|
+
describe the operation, use or technical specifications of the Software.
|
30
|
+
|
31
|
+
1.3 “Software” means the software components comprised of proprietary software
|
32
|
+
and solution currently distributed under the name “Velocity Network”, offering
|
33
|
+
developers a blockchain-based “internet of careers” utility layer. Software may
|
34
|
+
include one or more of the following components:(i) Credential Holder App –
|
35
|
+
SDK\Reference Application, (ii) Credential Agent and\or (iii) Velocity
|
36
|
+
Blockchain Node.
|
37
|
+
|
38
|
+
2. RIGHTS TO USE; RESTRICTIONS ON USE
|
39
|
+
|
40
|
+
2.1 VCL hereby grants User, during the Term (as defined below), free of charge,
|
41
|
+
a limited, revocable, non-exclusive, non-transferable and non-assignable right,
|
42
|
+
to 1) access, use, and install (if applicable) the Software, and 2) develop
|
43
|
+
applications which are separate from the Software (separate in architecture and
|
44
|
+
require only use of the Software in object code for proper functioning) which
|
45
|
+
interface with the Software or otherwise include it (“User Applications”),
|
46
|
+
solely for (i) internal use in development and testing environments, including
|
47
|
+
reviewing the Software code for functionality and/or security evaluations
|
48
|
+
purposes, and (ii) demonstrating the functionality and structure of User
|
49
|
+
Applications, including when operated in connection with the Software, all
|
50
|
+
solely in connection with the Velocity Network and in accordance with the Terms
|
51
|
+
herein.
|
52
|
+
|
53
|
+
2.2 VCL may make available Documentation to User for User’s internal business
|
54
|
+
purposes and solely in connection with the use of the Software during the Term.
|
55
|
+
User may print or copy the Documentation as needed for its own internal
|
56
|
+
business purposes provided that all copyright notices are included therein. The
|
57
|
+
Documentation shall be considered as VCL's Confidential Information (as further
|
58
|
+
defined). Unless the Documentation is separately referred to herein, all
|
59
|
+
references in these Terms to the Software shall include the Documentation.
|
60
|
+
|
61
|
+
2.3 Additional Rights and Restrictions.
|
62
|
+
|
63
|
+
2.3.1 The Software is licensed, not sold. These Terms only gives the User
|
64
|
+
limited rights to use the Software as explicitly set forth in these Terms
|
65
|
+
during the Term and VCL reserves all other rights. The User may use the
|
66
|
+
Software and related Velocity Network services only as expressly permitted in
|
67
|
+
the Terms except if otherwise required under applicable law.
|
68
|
+
|
69
|
+
2.3.2 User agrees that it will not, and will not permit others to: (i) use a
|
70
|
+
derivative work of the Software not in connection with the Velocity Network, or
|
71
|
+
in any production capacity, on a temporary or permanent basis; (ii) reverse
|
72
|
+
engineer, decompile, disassemble or attempt to derive the underlying know-how
|
73
|
+
and algorithms of the Software and/or any part thereof; (iii) exceed the
|
74
|
+
license scope as specified in these Terms; (iv) sublicense, transfer, publish
|
75
|
+
or make available to the public or any third party, rent, lease or lend the
|
76
|
+
Software; (v) use the Software to operate a service bureau or subscription
|
77
|
+
service or for commercial software hosting services, or otherwise attempt to
|
78
|
+
use the Software to provide or make available materially the same functionality
|
79
|
+
of the Software to third parties; (vi) directly or indirectly, take any action
|
80
|
+
to contest VCL’s intellectual property rights in or in connection to the
|
81
|
+
Software or related services or infringe them in any way; or (vii) use the
|
82
|
+
Software or output for the purpose of competing with the Software and/or
|
83
|
+
Velocity Network.
|
84
|
+
|
85
|
+
2.4 Marks and Use of VCL’s Name. These Terms do not grant User any rights to
|
86
|
+
VCL’s trademarks or service marks. The User will not remove or modify any
|
87
|
+
Software markings or any notice of VCL’s proprietary rights.
|
88
|
+
|
89
|
+
3. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY
|
90
|
+
|
91
|
+
3.1 Disclaimer of Any Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER
|
92
|
+
APPLICABLE LAW, THE SOFTWARE IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND,
|
93
|
+
AND VCL EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED,
|
94
|
+
REGARDING OR RELATING TO THE SOFTWARE.
|
95
|
+
|
96
|
+
3.2 Limitation of Liability. UNDER NO CIRCUMSTANCES SHALL VCL BE LIABLE FOR
|
97
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS,
|
98
|
+
LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR
|
99
|
+
SERVICES, PRODUCTION, ANTICIPATED SAVINGS, OR FOR ANY SPECIAL, INCIDENTAL OR
|
100
|
+
CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH OR ARISING OUT OF THE USE
|
101
|
+
OR INABILITY TO USE THE SOFTWARE. USER ACKNOWLEDGES THAT THESE LIMITATIONS
|
102
|
+
SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED
|
103
|
+
REMEDY. IN THE EVENT THIS LIMITATION OF LIABILITY SHALL BE FOR ANY REASON HELD
|
104
|
+
UNENFORCEABLE OR INAPPLICABLE, VCL’S AGGREGATE LIABILITY SHALL NOT EXCEED THE
|
105
|
+
AMOUNT OF US$1,000. YOU HEEREBY WAIVE THE RIGHT TO LITIGATE IN COURT OR
|
106
|
+
ARBITRATE ANY CLAIM OR DISPUTE AS A CLASS ACTION, EITHER AS A MEMBER OF A CLASS
|
107
|
+
OR AS A REPRESENTATIVE, OR TO ACT AS A PRIVATE ATTORNEY GENERAL.
|
108
|
+
|
109
|
+
4. INTELLECTUAL PROPERTY; Confidential Information
|
110
|
+
|
111
|
+
4.1 Intellectual Property. No rights other than the limited license rights
|
112
|
+
expressly set forth herein shall pass to the User. User acknowledges and agrees
|
113
|
+
that as between User and VCL, the Software including any related services and
|
114
|
+
any revisions, corrections, modifications, enhancements and/or upgrades
|
115
|
+
thereto, are VCL’s property protected under copyright laws, patent law, and/or
|
116
|
+
other laws protecting intellectual property rights and international treaties.
|
117
|
+
User further acknowledges and agrees that all right, title, and interest in and
|
118
|
+
to the Software, including associated intellectual property rights (including,
|
119
|
+
without limitation, copyrights, trade secrets, trademarks, etc.), evidenced by
|
120
|
+
or embodied in and/or attached/connected/related to the Software (including,
|
121
|
+
without limitation, the code), Documentation and any related services, are and
|
122
|
+
shall remain with VCL. Nothing in these Terms constitutes a waiver of VCL’s
|
123
|
+
intellectual property rights under any law. In the event User provides VCL with
|
124
|
+
any suggestions, comments or other feedback relating to the Software, or if VCL
|
125
|
+
generates any knowledge in connection with its provision of the Software
|
126
|
+
including any related services (collectively “Feedback”), whether such Feedback
|
127
|
+
is provided or generated (as applicable) prior to, on or after the Term, such
|
128
|
+
Feedback shall become the sole and exclusive property of VCL and/or its
|
129
|
+
affiliates, and User hereby irrevocably assigns to VCL and/or its affiliates
|
130
|
+
all of its right, title and interest in and to such Feedback. Without
|
131
|
+
derogating from the aforementioned, VCL acknowledges and agrees that as between
|
132
|
+
VCL and User, User shall exclusively own intellectual property rights to any
|
133
|
+
User Applications, subject to its compliance with these Terms.
|
134
|
+
|
135
|
+
4.2 Confidential Information. Prior to or during the Term, VCL may, directly
|
136
|
+
or indirectly, disclose to you, or allow you access to, certain Confidential
|
137
|
+
Information (as defined below), whether in writing, oral form or in any other
|
138
|
+
manner. For the purposes of these Terms, "Confidential Information" means any
|
139
|
+
and all information, data and know-how of a private, non-public or confidential
|
140
|
+
nature, in whatever form, that relates to the technology and/or products of
|
141
|
+
VCL, its Affiliates, vendors, suppliers, provided or disclosed to you or which
|
142
|
+
becomes known to you, whether or not marked as such. “Confidential Information”
|
143
|
+
shall not include information or any matter that you can demonstrate by written
|
144
|
+
and dated evidence: (a) was already known to you from a source other than VCL
|
145
|
+
prior to disclosure; (b) was independently developed by you without use of, or
|
146
|
+
reference to, the Confidential Information; (c) has become a part of the public
|
147
|
+
knowledge, through no fault of, or breach of these Terms; (d) was lawfully
|
148
|
+
received by you from another person or entity having no confidentiality
|
149
|
+
obligation to VCL or its affiliates; or (e) is explicitly approved in writing
|
150
|
+
by VCL for release by the User. The User shall treat all Confidential
|
151
|
+
Information as strictly confidential, and except as expressly contemplated
|
152
|
+
hereunder it shall: (a) not, directly or indirectly use or otherwise exploit
|
153
|
+
Confidential Information for any other purpose other than for performing
|
154
|
+
hereunder; (b) protect and safeguard the Confidential Information against any
|
155
|
+
unauthorized use, disclosure, transfer or publication with at least the same
|
156
|
+
degree of care as it uses for its own confidential or proprietary information,
|
157
|
+
but in no event using less than a reasonable degree of care; (c) restrict
|
158
|
+
disclosure of the Confidential Information to those directors, officers,
|
159
|
+
employees, agents, consultants, contractors, or representatives of itself or of
|
160
|
+
its affiliates (“Representatives”) who clearly have a need-to-know such
|
161
|
+
Confidential Information; (d) advise such Representatives of their obligations
|
162
|
+
to comply with these Terms, and the User shall be liable for any failure of its
|
163
|
+
Representatives to comply with any of the Terms; and (e) notify VCL immediately
|
164
|
+
upon discovery of any unauthorized use or disclosure of the Confidential
|
165
|
+
Information and take reasonable steps to regain possession of the Confidential
|
166
|
+
Information and prevent further unauthorized actions or other breach of these
|
167
|
+
Terms.
|
168
|
+
|
169
|
+
5. THIRD PARTY COMPONENTS. The Software includes third party software, files
|
170
|
+
and components that are subject to open source and third party license terms (
|
171
|
+
“Third Party Components”). User’s right to use such Third Party Components as
|
172
|
+
part of, or in connection with, the Software is subject to any applicable
|
173
|
+
acknowledgements and license terms accompanying such Third Party Components,
|
174
|
+
contained therein or related thereto. If there is a conflict between the
|
175
|
+
licensing terms of such Third Party Components and these Terms, the licensing
|
176
|
+
terms of the Third Party Components shall prevail only in connection with the
|
177
|
+
related Third Party Components. These Terms do not apply to any Third Party
|
178
|
+
Components accompanying or contained in the Software and VCL disclaims all
|
179
|
+
liability related thereto. User acknowledge that VCL is not the author, owner
|
180
|
+
or licensor of any Third Party Components, and that VCL makes no warranties or
|
181
|
+
representations, express or implied, as to the quality, capabilities,
|
182
|
+
operations, performance or suitability of Third Party Components.
|
183
|
+
|
184
|
+
6. USAGE DATA. User acknowledges and agrees that VCL may from time to time use
|
185
|
+
and process data about User’s use of the Software for the purposes of creating
|
186
|
+
statistics and analytics data. VCL may use such data for its own internal
|
187
|
+
purposes, including to maintain and improve the Software and to monitor its
|
188
|
+
activities and performance. User acknowledges that certain features of the
|
189
|
+
Software are configured to collect and report telemetry data to VCL.
|
190
|
+
|
191
|
+
7. TERM AND TERMINATION. User will have the rights set forth herein for the
|
192
|
+
duration of the period commencing upon User accessing the Software and shall
|
193
|
+
continue for a period of six (6) months thereafter (the “Initial Term”). Upon
|
194
|
+
the lapse of the Initial Term, these Terms shall automatically renew for
|
195
|
+
subsequent periods of six (6) months (each, a “Renewal Term”, and collectively
|
196
|
+
with the Initial Term – the “Term”). During the Renewal Term, VCL may terminate
|
197
|
+
these Terms at any time by providing the User at least thirty (30) days prior
|
198
|
+
written notice. These Terms and all rights and licenses granted hereunder shall
|
199
|
+
automatically terminate if you breach the terms hereof and such breach is not
|
200
|
+
cured within fourteen (14) days of written notice of such breach. Sections 2.1-
|
201
|
+
2.3, 3, 4, 5, 7, 8 and 9 will survive any termination or expiration of these
|
202
|
+
Terms.
|
203
|
+
|
204
|
+
8. SUSPENTION, RETURN OR DESTRUCTION OF SOFTWARE AND DOCUMENTATION UPON
|
205
|
+
TERMINATION OF SUBSCRIPTION. Upon termination or expiration of these Terms:
|
206
|
+
User must within thirty (30) days thereafter cease using the Software and
|
207
|
+
promptly return to VCL or permanently destroy, the Software, Documentation,
|
208
|
+
Confidential Information of VCL and any copies thereof (in all forms, partial
|
209
|
+
and complete, in and on all types of media and computer memory, and whether or
|
210
|
+
not modified or merged into other materials) and certify in writing the same.
|
211
|
+
VCL reserves the rights to suspend unilaterally and without notice the use of
|
212
|
+
the Software, upon termination or expiration or upon any breach by User of
|
213
|
+
these Terms or otherwise any event of harmful use or misuse by or on behalf of
|
214
|
+
User of the Software.
|
215
|
+
|
216
|
+
9. GENERAL
|
217
|
+
|
218
|
+
9.1 Severability. In the event any provision or part of these Terms are held
|
219
|
+
to be invalid or unenforceable by any court of competent jurisdiction, it shall
|
220
|
+
be amended to the extent required to render it valid, legal and enforceable, or
|
221
|
+
deleted if no such amendment is feasible, and such amendment or deletion shall
|
222
|
+
not affect the enforceability of the other provisions hereof.
|
223
|
+
|
224
|
+
9.2 Waiver. No waiver of any breach of these Terms will be a waiver of any
|
225
|
+
other breach, and no waiver will be effective unless made in writing and signed
|
226
|
+
by an authorized representative of VCL. The failure of VCL to enforce any
|
227
|
+
rights granted hereunder or to take action against the User in the event of any
|
228
|
+
breach hereunder shall not be deemed a waiver by VCL as to subsequent
|
229
|
+
enforcement of rights or subsequent actions in the event of future breaches.
|
230
|
+
|
231
|
+
9.3 Governing Law. The validity, interpretation, and performance of these
|
232
|
+
Terms shall be controlled by and construed under the laws of the State of New
|
233
|
+
York as if performed wholly within New York and without giving effect to the
|
234
|
+
principles of conflicts of laws. The User hereby consents to the exclusive
|
235
|
+
jurisdiction of the courts located in New York, NY to settle any dispute or
|
236
|
+
claim that arises out of or in connection with these Terms or its subject
|
237
|
+
matter. The User specifically excludes application of the United Nations
|
238
|
+
Convention on Contracts for the International Sale of Goods to these Terms.
|
239
|
+
|
240
|
+
9.4 Entire Terms. These Terms supersede all previous agreements or
|
241
|
+
representations, written or oral, with respect to the subject matter hereof
|
242
|
+
between User and VCL. VCL has sole discretion to amend or publish revised
|
243
|
+
and/or new versions of these Terms from time to time and will either provide
|
244
|
+
generally available notice, or otherwise notify User directly of such changes
|
245
|
+
or modifications. Changes to these Terms shall become effective as of seven (7)
|
246
|
+
days after such notification. The continued use of any part of the Software by
|
247
|
+
User will constitute its binding acceptance of such applicable changes to these
|
248
|
+
Terms.
|
package/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Getting Started with Create React App
|
2
|
+
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
4
|
+
|
5
|
+
## Available Scripts
|
6
|
+
|
7
|
+
In the project directory, you can run:
|
8
|
+
|
9
|
+
### `npm start`
|
10
|
+
|
11
|
+
Runs the app in the development mode.\
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
13
|
+
|
14
|
+
The page will reload if you make edits.\
|
15
|
+
You will also see any lint errors in the console.
|
16
|
+
|
17
|
+
### `npm test`
|
18
|
+
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
21
|
+
|
22
|
+
### `npm run build`
|
23
|
+
|
24
|
+
Builds the app for production to the `build` folder.\
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
26
|
+
|
27
|
+
The build is minified and the filenames include the hashes.\
|
28
|
+
Your app is ready to be deployed!
|
29
|
+
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
31
|
+
|
32
|
+
### `npm run eject`
|
33
|
+
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
35
|
+
|
36
|
+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
37
|
+
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
39
|
+
|
40
|
+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
41
|
+
|
42
|
+
## Learn More
|
43
|
+
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
45
|
+
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
package/package.json
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"name": "@velocitycareerlabs/vc-renderer-sample",
|
3
|
+
"version": "1.25.0-dev-build.158b56827",
|
4
|
+
"description": "VC Renderer Sample",
|
5
|
+
"repository": "https://github.com/velocitycareerlabs/packages",
|
6
|
+
"publishConfig": {
|
7
|
+
"access": "public"
|
8
|
+
},
|
9
|
+
"license": "Apache-2.0",
|
10
|
+
"dependencies": {
|
11
|
+
"@emotion/react": "11.11.1",
|
12
|
+
"@emotion/styled": "^11.11.0",
|
13
|
+
"@mui/icons-material": "^6.0.0",
|
14
|
+
"@mui/material": "^6.0.0",
|
15
|
+
"@react-pdf/renderer": "^4.1.5",
|
16
|
+
"@testing-library/jest-dom": "^5.17.0",
|
17
|
+
"@testing-library/react": "^13.4.0",
|
18
|
+
"@testing-library/user-event": "^13.5.0",
|
19
|
+
"@types/jest": "^27.5.2",
|
20
|
+
"@types/node": "^16.18.119",
|
21
|
+
"@types/react": "18.3.4",
|
22
|
+
"@types/react-dom": "18.3.0",
|
23
|
+
"@velocitycareerlabs/vc-renderer": "1.25.0-dev-build.158b56827",
|
24
|
+
"react": "18.3.1",
|
25
|
+
"react-dom": "^18.3.1",
|
26
|
+
"react-scripts": "5.0.1",
|
27
|
+
"typescript": "^5.6.3",
|
28
|
+
"web-vitals": "^2.1.4"
|
29
|
+
},
|
30
|
+
"resolutions": {
|
31
|
+
"react": "18.3.1",
|
32
|
+
"react-dom": "18.3.1",
|
33
|
+
"typescript": "^5.6.3"
|
34
|
+
},
|
35
|
+
"scripts": {
|
36
|
+
"start": "react-scripts start",
|
37
|
+
"build": "react-scripts build",
|
38
|
+
"test": "react-scripts test",
|
39
|
+
"eject": "react-scripts eject",
|
40
|
+
"lint": "eslint . --ext .js,.ts,.tsx"
|
41
|
+
},
|
42
|
+
"eslintConfig": {
|
43
|
+
"extends": [
|
44
|
+
".eslintrc.js",
|
45
|
+
"react-app",
|
46
|
+
"react-app/jest"
|
47
|
+
]
|
48
|
+
},
|
49
|
+
"browserslist": {
|
50
|
+
"production": [
|
51
|
+
">0.2%",
|
52
|
+
"not dead",
|
53
|
+
"not op_mini all"
|
54
|
+
],
|
55
|
+
"development": [
|
56
|
+
"last 1 chrome version",
|
57
|
+
"last 1 firefox version",
|
58
|
+
"last 1 safari version"
|
59
|
+
]
|
60
|
+
},
|
61
|
+
"gitHead": "3343fd1b41c99a0e0d8085bb2bf3b2db4dd17c4f"
|
62
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
<meta name="theme-color" content="#000000" />
|
8
|
+
<meta
|
9
|
+
name="description"
|
10
|
+
content="Web site created using create-react-app"
|
11
|
+
/>
|
12
|
+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
13
|
+
<!--
|
14
|
+
manifest.json provides metadata used when your web app is installed on a
|
15
|
+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
16
|
+
-->
|
17
|
+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
18
|
+
<!--
|
19
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
20
|
+
It will be replaced with the URL of the `public` folder during the build.
|
21
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
22
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
23
|
+
work correctly both with client-side routing and a non-root public URL.
|
24
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
25
|
+
-->
|
26
|
+
<title>React App</title>
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
30
|
+
<div id="root"></div>
|
31
|
+
<!--
|
32
|
+
This HTML file is a template.
|
33
|
+
If you open it directly in the browser, you will see an empty page.
|
34
|
+
You can add webfonts, meta tags, or analytics to this file.
|
35
|
+
The build step will place the bundled scripts into the <body> tag.
|
36
|
+
To begin the development, run `npm start` or `yarn start`.
|
37
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
38
|
+
-->
|
39
|
+
</body>
|
40
|
+
</html>
|
package/public/vite.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|