@velocitycareerlabs/velocity-registrar-app 1.26.0-dev-build.133709fbc → 1.26.0-dev-build.186a75d6f
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 +1 -1
- package/package.json +3 -3
- package/src/App.jsx +6 -6
- package/src/AuthProviderBridge.jsx +1 -4
- package/src/ConfigLoader.jsx +1 -1
- package/src/pages/invitations/CreateOrganisationFromInvitation.jsx +1 -1
- package/src/pages/organizations/OrganizationAddService.jsx +1 -1
- package/src/pages/organizations/OrganizationCreate.jsx +1 -1
- package/src/pages/organizations/components/MockOrganization.jsx +1 -1
- package/src/pages/services/ServiceCreateForm.jsx +1 -1
- package/src/pages/services/ServiceEditForm.jsx +1 -1
- package/src/pages/services/ServiceList.jsx +1 -1
- package/src/pages/services/components/SecureIntegrationPopup/index.jsx +3 -3
- package/src/pages/services/components/SecureIntegrationPopup/tests/SecureIntegrationPopup.test.jsx +4 -4
- package/src/pages/services/components/SecureMessageUrl/SaveButton/index.jsx +1 -1
- package/src/pages/services/components/SecureMessageUrl/TestButton/index.jsx +1 -1
- package/src/pages/services/components/SecureMessageUrl/TestSecureMessageWarning/index.jsx +1 -1
- package/src/pages/services/components/SecureMessageUrl/tests/SecureMessageURL.test.jsx +2 -2
- package/src/pages/services/components/SecureTransfer/SaveButton/index.jsx +1 -1
- package/src/pages/services/components/SecureTransfer/index.jsx +1 -1
- package/src/pages/services/components/SecureTransfer/tests/SecureTransfer.test.jsx +2 -2
- package/src/pages/services/hooks/useAdditionalServiceProperties.js +1 -1
package/.eslintrc.js
CHANGED
|
@@ -19,7 +19,7 @@ module.exports = {
|
|
|
19
19
|
'no-unused-vars': ['warn', { varsIgnorePattern: '^React$' }],
|
|
20
20
|
'import/no-unresolved': [
|
|
21
21
|
'error',
|
|
22
|
-
{ ignore: ['@
|
|
22
|
+
{ ignore: ['@verii/components-organizations-registrar.*'] },
|
|
23
23
|
],
|
|
24
24
|
},
|
|
25
25
|
overrides: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velocitycareerlabs/velocity-registrar-app",
|
|
3
|
-
"version": "1.26.0-dev-build.
|
|
3
|
+
"version": "1.26.0-dev-build.186a75d6f",
|
|
4
4
|
"description": "Velocity Registrar",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@mui/icons-material": "^6.0.0",
|
|
15
15
|
"@mui/material": "^6.0.0",
|
|
16
16
|
"@react-pdf/renderer": "^3.0.0",
|
|
17
|
-
"@
|
|
17
|
+
"@verii/components-organizations-registrar": "1.0.0-pre.1753171788",
|
|
18
18
|
"autosuggest-highlight": "^3.3.4",
|
|
19
19
|
"classnames": "~2.5.0",
|
|
20
20
|
"env-cmd": "^10.1.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"not ie <= 11",
|
|
64
64
|
"not op_mini all"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "479d4a39d8c17550d9727059820d278692a7d18e"
|
|
67
67
|
}
|
package/src/App.jsx
CHANGED
|
@@ -23,26 +23,26 @@ import OrganizationIcon from '@mui/icons-material/Business';
|
|
|
23
23
|
import {
|
|
24
24
|
OrganizationShow,
|
|
25
25
|
OrganizationEdit,
|
|
26
|
-
} from '@
|
|
26
|
+
} from '@verii/components-organizations-registrar/pages/organizations';
|
|
27
27
|
import {
|
|
28
28
|
IndividualsDashboard,
|
|
29
29
|
IndividualsShow,
|
|
30
30
|
IndividualsEdit,
|
|
31
|
-
} from '@
|
|
32
|
-
import { InvitationsList } from '@
|
|
31
|
+
} from '@verii/components-organizations-registrar/pages/individuals';
|
|
32
|
+
import { InvitationsList } from '@verii/components-organizations-registrar/pages/invitations';
|
|
33
33
|
import {
|
|
34
34
|
PrivacyPolicy,
|
|
35
35
|
TermsAndConditions,
|
|
36
36
|
SignatoryLanding,
|
|
37
|
-
} from '@
|
|
38
|
-
import { Dashboard } from '@
|
|
37
|
+
} from '@verii/components-organizations-registrar/pages';
|
|
38
|
+
import { Dashboard } from '@verii/components-organizations-registrar/components';
|
|
39
39
|
import {
|
|
40
40
|
defaultOAuthScopes,
|
|
41
41
|
registrarApiScopes,
|
|
42
42
|
PublicAppRoot,
|
|
43
43
|
PrivateAppRoot,
|
|
44
44
|
useConfig,
|
|
45
|
-
} from '@
|
|
45
|
+
} from '@verii/components-organizations-registrar';
|
|
46
46
|
|
|
47
47
|
import { AuthProviderBridge } from './AuthProviderBridge.jsx';
|
|
48
48
|
import { ServicesList } from './pages/services/ServiceList.jsx';
|
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
import React, { useMemo } from 'react';
|
|
18
|
-
import {
|
|
19
|
-
AuthContext,
|
|
20
|
-
registrarApiScopes,
|
|
21
|
-
} from '@velocitycareerlabs/components-organizations-registrar';
|
|
18
|
+
import { AuthContext, registrarApiScopes } from '@verii/components-organizations-registrar';
|
|
22
19
|
import { useAuth0 } from '@auth0/auth0-react';
|
|
23
20
|
|
|
24
21
|
/* eslint-disable react/prop-types */
|
package/src/ConfigLoader.jsx
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
import React from 'react';
|
|
18
|
-
import { ConfigContext } from '@
|
|
18
|
+
import { ConfigContext } from '@verii/components-organizations-registrar';
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line react/prop-types
|
|
21
21
|
export const ConfigLoader = ({ config, children }) => (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateOrganisationFromInvitation as CreateOrganization } from '@
|
|
1
|
+
import { CreateOrganisationFromInvitation as CreateOrganization } from '@verii/components-organizations-registrar/pages/invitations';
|
|
2
2
|
import { SecureIntegrationPopup } from '../services/components/SecureIntegrationPopup/index.jsx';
|
|
3
3
|
|
|
4
4
|
export const CreateOrganisationFromInvitation = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrganizationAddService as OrganizationAddServiceBase } from '@
|
|
1
|
+
import { OrganizationAddService as OrganizationAddServiceBase } from '@verii/components-organizations-registrar/pages/organizations';
|
|
2
2
|
import { SecureIntegrationPopup } from '../services/components/SecureIntegrationPopup/index.jsx';
|
|
3
3
|
|
|
4
4
|
export const OrganizationAddService = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrganizationCreate as OrganizationCreateBase } from '@
|
|
1
|
+
import { OrganizationCreate as OrganizationCreateBase } from '@verii/components-organizations-registrar/pages/organizations';
|
|
2
2
|
import { OrganizationAddService } from './OrganizationAddService.jsx';
|
|
3
3
|
import { MockOrganization } from './components/MockOrganization.jsx';
|
|
4
4
|
|
|
@@ -3,7 +3,7 @@ import { Button } from 'react-admin';
|
|
|
3
3
|
import { Box } from '@mui/material';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
|
|
6
|
-
import { useConfig, chainNames } from '@
|
|
6
|
+
import { useConfig, chainNames } from '@verii/components-organizations-registrar';
|
|
7
7
|
import { initialRecordMock } from '../utils/mockOrganization';
|
|
8
8
|
|
|
9
9
|
export const MockOrganization = ({ setInitialRecord }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceCreateForm as ServiceCreateFormBase } from '@
|
|
1
|
+
import { ServiceCreateForm as ServiceCreateFormBase } from '@verii/components-organizations-registrar/pages/services';
|
|
2
2
|
import { SecureIntegrationPopup } from './components/SecureIntegrationPopup/index.jsx';
|
|
3
3
|
|
|
4
4
|
export const ServiceCreateForm = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServicesEdit as ServicesEditmBase } from '@
|
|
1
|
+
import { ServicesEdit as ServicesEditmBase } from '@verii/components-organizations-registrar/components/services';
|
|
2
2
|
import { SecureIntegrationPopup } from './components/SecureIntegrationPopup/index.jsx';
|
|
3
3
|
|
|
4
4
|
export const ServicesEdit = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServicesList as ServicesListBase } from '@
|
|
1
|
+
import { ServicesList as ServicesListBase } from '@verii/components-organizations-registrar/pages/services';
|
|
2
2
|
import { ServiceCreateForm } from './ServiceCreateForm.jsx';
|
|
3
3
|
import { ServicesEdit } from './ServiceEditForm.jsx';
|
|
4
4
|
import { useAdditionalServiceProperties } from './hooks/useAdditionalServiceProperties';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { useSelectedOrganization } from '@
|
|
4
|
-
import { Popup } from '@
|
|
5
|
-
import { Loading } from '@
|
|
3
|
+
import { useSelectedOrganization } from '@verii/components-organizations-registrar';
|
|
4
|
+
import { Popup } from '@verii/components-organizations-registrar/components/common';
|
|
5
|
+
import { Loading } from '@verii/components-organizations-registrar/components';
|
|
6
6
|
|
|
7
7
|
import { SecureMessageURL } from '../SecureMessageUrl/index.jsx';
|
|
8
8
|
import { SecureTransfer } from '../SecureTransfer/index.jsx';
|
package/src/pages/services/components/SecureIntegrationPopup/tests/SecureIntegrationPopup.test.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { render, screen } from '@testing-library/react';
|
|
4
4
|
import { SecureIntegrationPopup } from '../index.jsx';
|
|
5
5
|
import * as useSecureSkipHook from '../../../hooks/useSecureSkip';
|
|
6
|
-
// import * as orgContext from '@
|
|
6
|
+
// import * as orgContext from '@verii/components-organizations-registrar';
|
|
7
7
|
|
|
8
8
|
jest.mock('../../SecureMessageUrl/index.jsx', () => ({
|
|
9
9
|
SecureMessageURL: () => <div>SecureMessageURL component</div>,
|
|
@@ -12,13 +12,13 @@ jest.mock('../../SecureTransfer/index.jsx', () => ({
|
|
|
12
12
|
SecureTransfer: () => <div>SecureTransfer component</div>,
|
|
13
13
|
}));
|
|
14
14
|
|
|
15
|
-
jest.mock('@
|
|
15
|
+
jest.mock('@verii/components-organizations-registrar', () => ({
|
|
16
16
|
useSelectedOrganization: jest.fn(() => ['did:test']),
|
|
17
17
|
}));
|
|
18
|
-
jest.mock('@
|
|
18
|
+
jest.mock('@verii/components-organizations-registrar/components', () => ({
|
|
19
19
|
Loading: () => <div>Loading...</div>,
|
|
20
20
|
}));
|
|
21
|
-
jest.mock('@
|
|
21
|
+
jest.mock('@verii/components-organizations-registrar/components/common', () => ({
|
|
22
22
|
// eslint-disable-next-line react/prop-types
|
|
23
23
|
Popup: ({ children }) => <div>{children}</div>,
|
|
24
24
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useFormContext } from 'react-hook-form';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { Save } from '@
|
|
4
|
+
import { Save } from '@verii/components-organizations-registrar/components/common';
|
|
5
5
|
|
|
6
6
|
const SaveButtonComponent = ({ saveInProgress, disabled }) => {
|
|
7
7
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useFormContext } from 'react-hook-form';
|
|
3
3
|
import { Button } from '@mui/material';
|
|
4
|
-
import { Loading } from '@
|
|
4
|
+
import { Loading } from '@verii/components-organizations-registrar/components';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
|
|
7
7
|
const TestButtonComponent = ({ onTest, testInProgress }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Box, Typography, Button, useTheme } from '@mui/material';
|
|
3
3
|
import InfoIcon from '@mui/icons-material/Info';
|
|
4
|
-
import { Popup } from '@
|
|
4
|
+
import { Popup } from '@verii/components-organizations-registrar/components/common';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
|
|
7
7
|
const TestSecureMessageWarningComponent = ({ isModalOpened, onClose, onContinue }) => {
|
|
@@ -18,11 +18,11 @@ jest.mock('@mui/material', () => {
|
|
|
18
18
|
),
|
|
19
19
|
};
|
|
20
20
|
});
|
|
21
|
-
jest.mock('@
|
|
21
|
+
jest.mock('@verii/components-organizations-registrar/components', () => ({
|
|
22
22
|
Loading: () => <div>Loading...</div>,
|
|
23
23
|
}));
|
|
24
24
|
|
|
25
|
-
jest.mock('@
|
|
25
|
+
jest.mock('@verii/components-organizations-registrar/components/common', () => ({
|
|
26
26
|
// eslint-disable-next-line react/prop-types
|
|
27
27
|
Popup: ({ children }) => <div>{children}</div>,
|
|
28
28
|
Save: () => <button>Save</button>,
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
3
3
|
import { useFormContext } from 'react-hook-form';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { Save } from '@
|
|
5
|
+
import { Save } from '@verii/components-organizations-registrar/components/common';
|
|
6
6
|
|
|
7
7
|
export const SaveButton = ({ saveInProgress }) => {
|
|
8
8
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { useCreate, Form, useNotify } from 'react-admin';
|
|
3
3
|
import { Box, Button, Stack, Typography } from '@mui/material';
|
|
4
|
-
import { CustomBooleanInput } from '@
|
|
4
|
+
import { CustomBooleanInput } from '@verii/components-organizations-registrar/components/common';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { dataResources } from '../../../../utils/remoteDataProvider';
|
|
7
7
|
import { SaveButton } from './SaveButton/index.jsx';
|
|
@@ -18,11 +18,11 @@ jest.mock('@mui/material', () => {
|
|
|
18
18
|
),
|
|
19
19
|
};
|
|
20
20
|
});
|
|
21
|
-
jest.mock('@
|
|
21
|
+
jest.mock('@verii/components-organizations-registrar/components', () => ({
|
|
22
22
|
Loading: () => <div>Loading...</div>,
|
|
23
23
|
}));
|
|
24
24
|
|
|
25
|
-
jest.mock('@
|
|
25
|
+
jest.mock('@verii/components-organizations-registrar/components/common', () => ({
|
|
26
26
|
Popup: ({ children }) => <div>{children}</div>,
|
|
27
27
|
Save: ({ disabled }) => (
|
|
28
28
|
<button disabled={disabled} type="submit">
|
|
@@ -3,7 +3,7 @@ import { useGetOne } from 'react-admin';
|
|
|
3
3
|
import {
|
|
4
4
|
useSelectedOrganization,
|
|
5
5
|
CREDENTIAL_TYPES_IDS,
|
|
6
|
-
} from '@
|
|
6
|
+
} from '@verii/components-organizations-registrar';
|
|
7
7
|
import { dataResources } from '../../../utils/remoteDataProvider';
|
|
8
8
|
|
|
9
9
|
export const useAdditionalServiceProperties = () => {
|