@verii/components-organizations-registrar 1.0.0-pre.1756096826 → 1.0.0-pre.1756224043
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/chunks/{ConsentProvider.DIG3atk-.js → ConsentProvider.6M2ucqXH.js} +3 -3
- package/dist/chunks/ConsentProvider.6M2ucqXH.js.map +1 -0
- package/dist/chunks/{ConsentProvider.DTG51XMy.js → ConsentProvider.Bbc0preP.js} +2 -2
- package/dist/chunks/ConsentProvider.Bbc0preP.js.map +1 -0
- package/dist/chunks/{CreateOrganization.utils.C5C_r3Zp.js → CreateOrganizationUtils.C5C_r3Zp.js} +1 -1
- package/dist/chunks/CreateOrganizationUtils.C5C_r3Zp.js.map +1 -0
- package/dist/chunks/{CreateOrganization.utils.8cSBFSYF.js → CreateOrganizationUtils.Xq78HHkP.js} +7 -7
- package/dist/chunks/CreateOrganizationUtils.Xq78HHkP.js.map +1 -0
- package/dist/chunks/{CustomAppBar.DuFQqld7.js → CustomAppBar.BOlNFosS.js} +5 -7
- package/dist/chunks/CustomAppBar.BOlNFosS.js.map +1 -0
- package/dist/chunks/{CustomAppBar.BfQvuTHz.js → CustomAppBar.DaXLAwPh.js} +4 -6
- package/dist/chunks/CustomAppBar.DaXLAwPh.js.map +1 -0
- package/dist/chunks/{LinkedInRegistrationInput.C-qzrR-S.js → LinkedInRegistrationInput.CmYmSJoq.js} +8 -5
- package/dist/chunks/LinkedInRegistrationInput.CmYmSJoq.js.map +1 -0
- package/dist/chunks/{LinkedInRegistrationInput.DKRMHYRh.js → LinkedInRegistrationInput.gnYgP1Hf.js} +11 -8
- package/dist/chunks/LinkedInRegistrationInput.gnYgP1Hf.js.map +1 -0
- package/dist/chunks/{Loading.UJl_3_cf.js → Loading.Bcm3xNJU.js} +2 -3
- package/dist/chunks/Loading.Bcm3xNJU.js.map +1 -0
- package/dist/chunks/{Loading.DYBk0Ktb.js → Loading.cGHE59CV.js} +2 -3
- package/dist/chunks/Loading.cGHE59CV.js.map +1 -0
- package/dist/chunks/{MainLayout.CWFkijrE.js → MainLayout.BzfaZs8j.js} +2 -2
- package/dist/chunks/{MainLayout.CWFkijrE.js.map → MainLayout.BzfaZs8j.js.map} +1 -1
- package/dist/chunks/{MainLayout.6Hq5XQ-L.js → MainLayout.V-ymVxxR.js} +3 -3
- package/dist/chunks/{MainLayout.6Hq5XQ-L.js.map → MainLayout.V-ymVxxR.js.map} +1 -1
- package/dist/chunks/{OrganizationAvatar.BEwRZ9tC.js → OrganizationAvatar.BXW4diDT.js} +2 -2
- package/dist/chunks/{OrganizationAvatar.BEwRZ9tC.js.map → OrganizationAvatar.BXW4diDT.js.map} +1 -1
- package/dist/chunks/{OrganizationAvatar.lWcXtbM6.js → OrganizationAvatar.Dgg5VSPI.js} +2 -2
- package/dist/chunks/{OrganizationAvatar.lWcXtbM6.js.map → OrganizationAvatar.Dgg5VSPI.js.map} +1 -1
- package/dist/chunks/{ServicesEdit.BUAbbXgV.js → ServicesEdit.BnnqC203.js} +3 -3
- package/dist/chunks/ServicesEdit.BnnqC203.js.map +1 -0
- package/dist/chunks/{ServicesEdit.CrtEcP_7.js → ServicesEdit.DDgjS5kU.js} +2 -2
- package/dist/chunks/ServicesEdit.DDgjS5kU.js.map +1 -0
- package/dist/chunks/{SetInvitationService.BUZqAilX.js → SetInvitationService.PxAGwk-I.js} +11 -11
- package/dist/chunks/SetInvitationService.PxAGwk-I.js.map +1 -0
- package/dist/chunks/{SetInvitationService.B0ezxTzf.js → SetInvitationService.ZT5lP003.js} +5 -5
- package/dist/chunks/SetInvitationService.ZT5lP003.js.map +1 -0
- package/dist/chunks/TermsAndConditionsPdf.Ba8-5Hcm.js.map +1 -1
- package/dist/chunks/TermsAndConditionsPdf.ewC7N9Vy.js.map +1 -1
- package/dist/chunks/{CreateOrganization.C2Kf44eJ.js → ValidateTextInput.D5kgjulG.js} +328 -14
- package/dist/chunks/ValidateTextInput.D5kgjulG.js.map +1 -0
- package/dist/chunks/{CreateOrganization.A11-a_8R.js → ValidateTextInput.DEBaVB1L.js} +356 -42
- package/dist/chunks/ValidateTextInput.DEBaVB1L.js.map +1 -0
- package/dist/chunks/{index.DZOVpocw.js → index.CYCWawJT.js} +6 -6
- package/dist/chunks/index.CYCWawJT.js.map +1 -0
- package/dist/chunks/{index.DmM8ShwP.js → index.Cmn4FlUL.js} +5 -5
- package/dist/chunks/index.Cmn4FlUL.js.map +1 -0
- package/dist/chunks/{index.DlFajFTS.js → index.DIizFYFZ.js} +3 -3
- package/dist/chunks/index.DIizFYFZ.js.map +1 -0
- package/dist/chunks/{index.ZAmuSdK1.js → index.DIur8MCO.js} +4 -4
- package/dist/chunks/index.DIur8MCO.js.map +1 -0
- package/dist/chunks/{index.Ch4ynES2.js → index.DMWKdmxs.js} +4 -5
- package/dist/chunks/index.DMWKdmxs.js.map +1 -0
- package/dist/chunks/{index.Dir1xwV4.js → index.DND10PiY.js} +5 -6
- package/dist/chunks/index.DND10PiY.js.map +1 -0
- package/dist/chunks/{index.Cpod3Il3.js → index.YjnxLFjk.js} +3 -3
- package/dist/chunks/index.YjnxLFjk.js.map +1 -0
- package/dist/chunks/index.iexmV4Mr.js.map +1 -1
- package/dist/chunks/remoteDataProvider.BCiFSYnk.js.map +1 -1
- package/dist/chunks/remoteDataProvider.gtTXA1-g.js.map +1 -1
- package/dist/chunks/useIsIssuingInspection.C76mY_wb.js.map +1 -1
- package/dist/chunks/useIsIssuingInspection.DavhBs5B.js.map +1 -1
- package/dist/components/AppBar.cjs +1 -1
- package/dist/components/AppBar.js +1 -1
- package/dist/components/common.cjs +3 -3
- package/dist/components/common.js +3 -3
- package/dist/components/invitations.cjs +1 -1
- package/dist/components/invitations.js +1 -1
- package/dist/components/organizations.cjs +12 -301
- package/dist/components/organizations.cjs.map +1 -1
- package/dist/components/organizations.js +10 -299
- package/dist/components/organizations.js.map +1 -1
- package/dist/components/services.cjs +1 -1
- package/dist/components/services.js +1 -1
- package/dist/components.cjs +2 -2
- package/dist/components.js +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/layouts.cjs +1 -1
- package/dist/layouts.js +1 -1
- package/dist/pages/individuals.cjs +4 -4
- package/dist/pages/individuals.cjs.map +1 -1
- package/dist/pages/individuals.js +5 -5
- package/dist/pages/individuals.js.map +1 -1
- package/dist/pages/invitations.cjs +11 -12
- package/dist/pages/invitations.cjs.map +1 -1
- package/dist/pages/invitations.js +9 -10
- package/dist/pages/invitations.js.map +1 -1
- package/dist/pages/organizations.cjs +74 -75
- package/dist/pages/organizations.cjs.map +1 -1
- package/dist/pages/organizations.js +10 -11
- package/dist/pages/organizations.js.map +1 -1
- package/dist/pages/services.cjs +6 -6
- package/dist/pages/services.cjs.map +1 -1
- package/dist/pages/services.js +5 -5
- package/dist/pages/services.js.map +1 -1
- package/dist/pages.cjs +1 -1
- package/dist/pages.cjs.map +1 -1
- package/dist/pages.js +1 -1
- package/dist/pages.js.map +1 -1
- package/package.json +12 -9
- package/setup-tests.js +31 -0
- package/dist/chunks/ConsentProvider.DIG3atk-.js.map +0 -1
- package/dist/chunks/ConsentProvider.DTG51XMy.js.map +0 -1
- package/dist/chunks/CreateOrganization.A11-a_8R.js.map +0 -1
- package/dist/chunks/CreateOrganization.C2Kf44eJ.js.map +0 -1
- package/dist/chunks/CreateOrganization.utils.8cSBFSYF.js.map +0 -1
- package/dist/chunks/CreateOrganization.utils.C5C_r3Zp.js.map +0 -1
- package/dist/chunks/CustomAppBar.BfQvuTHz.js.map +0 -1
- package/dist/chunks/CustomAppBar.DuFQqld7.js.map +0 -1
- package/dist/chunks/LinkedInRegistrationInput.C-qzrR-S.js.map +0 -1
- package/dist/chunks/LinkedInRegistrationInput.DKRMHYRh.js.map +0 -1
- package/dist/chunks/Loading.DYBk0Ktb.js.map +0 -1
- package/dist/chunks/Loading.UJl_3_cf.js.map +0 -1
- package/dist/chunks/OrganisationSubmitButton.D32qynh9.js +0 -40
- package/dist/chunks/OrganisationSubmitButton.D32qynh9.js.map +0 -1
- package/dist/chunks/OrganisationSubmitButton.D3w1nG1X.js +0 -41
- package/dist/chunks/OrganisationSubmitButton.D3w1nG1X.js.map +0 -1
- package/dist/chunks/ServicesEdit.BUAbbXgV.js.map +0 -1
- package/dist/chunks/ServicesEdit.CrtEcP_7.js.map +0 -1
- package/dist/chunks/SetInvitationService.B0ezxTzf.js.map +0 -1
- package/dist/chunks/SetInvitationService.BUZqAilX.js.map +0 -1
- package/dist/chunks/index.Ch4ynES2.js.map +0 -1
- package/dist/chunks/index.Cpod3Il3.js.map +0 -1
- package/dist/chunks/index.DZOVpocw.js.map +0 -1
- package/dist/chunks/index.Dir1xwV4.js.map +0 -1
- package/dist/chunks/index.DlFajFTS.js.map +0 -1
- package/dist/chunks/index.DmM8ShwP.js.map +0 -1
- package/dist/chunks/index.ZAmuSdK1.js.map +0 -1
- package/jest.config.cjs +0 -29
|
@@ -4,32 +4,31 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const reactAdmin = require("react-admin");
|
|
6
6
|
const PropTypes = require("prop-types");
|
|
7
|
-
const
|
|
8
|
-
const Loading = require("../chunks/Loading.
|
|
7
|
+
const lodashEs = require("lodash-es");
|
|
8
|
+
const Loading = require("../chunks/Loading.cGHE59CV.js");
|
|
9
9
|
const Popup = require("../chunks/Popup.H_MqnNtr.js");
|
|
10
10
|
const serviceTypes = require("../chunks/serviceTypes.D7c4G5GY.js");
|
|
11
11
|
const remoteDataProvider = require("../chunks/remoteDataProvider.BCiFSYnk.js");
|
|
12
|
-
const index = require("../chunks/index.
|
|
13
|
-
const index$1 = require("../chunks/index.
|
|
12
|
+
const index = require("../chunks/index.CYCWawJT.js");
|
|
13
|
+
const index$1 = require("../chunks/index.DND10PiY.js");
|
|
14
14
|
const useIsIssuingInspection = require("../chunks/useIsIssuingInspection.DavhBs5B.js");
|
|
15
15
|
const reactRouter = require("react-router");
|
|
16
16
|
const material = require("@mui/material");
|
|
17
|
-
const Grid = require("@mui/material/Grid2");
|
|
18
17
|
const InfoIcon = require("@mui/icons-material/Info");
|
|
19
18
|
const selectedOrganizationState = require("../chunks/selectedOrganizationState.BR4G8K3M.js");
|
|
20
|
-
const
|
|
21
|
-
const index$2 = require("../chunks/index.
|
|
19
|
+
const CreateOrganizationUtils = require("../chunks/CreateOrganizationUtils.C5C_r3Zp.js");
|
|
20
|
+
const index$2 = require("../chunks/index.DIizFYFZ.js");
|
|
22
21
|
const PlusButtonBlock = require("../chunks/PlusButtonBlock.DxCg5qLP.js");
|
|
23
22
|
const index$3 = require("../chunks/index.iexmV4Mr.js");
|
|
24
23
|
const countryCodes = require("../chunks/countryCodes.B2bnzZrX.js");
|
|
25
24
|
const AuthContext = require("../chunks/AuthContext.DCNVg-VT.js");
|
|
26
|
-
const LinkedInRegistrationInput = require("../chunks/LinkedInRegistrationInput.
|
|
25
|
+
const LinkedInRegistrationInput = require("../chunks/LinkedInRegistrationInput.gnYgP1Hf.js");
|
|
27
26
|
const reactHookForm = require("react-hook-form");
|
|
28
27
|
const raCore = require("ra-core");
|
|
29
28
|
const ConfigContext = require("../chunks/ConfigContext.CqbiiiBD.js");
|
|
30
29
|
const constants = require("../constants.cjs");
|
|
31
30
|
const EditIcon = require("@mui/icons-material/Edit");
|
|
32
|
-
const OrganizationAvatar = require("../chunks/OrganizationAvatar.
|
|
31
|
+
const OrganizationAvatar = require("../chunks/OrganizationAvatar.BXW4diDT.js");
|
|
33
32
|
const DataItem = require("../chunks/DataItem.fy6hQQ6O.js");
|
|
34
33
|
const OrganizationAddService = ({
|
|
35
34
|
isModalOpened,
|
|
@@ -51,7 +50,7 @@ const OrganizationAddService = ({
|
|
|
51
50
|
const serviceId = React.useMemo(() => {
|
|
52
51
|
if (selectedServiceType) {
|
|
53
52
|
const type = selectedServiceType.id.match(/.+v1/);
|
|
54
|
-
return `${
|
|
53
|
+
return `${lodashEs.kebabCase(type[0])}-1`;
|
|
55
54
|
}
|
|
56
55
|
return "";
|
|
57
56
|
}, [selectedServiceType]);
|
|
@@ -377,7 +376,7 @@ const OrganizationCreate = ({
|
|
|
377
376
|
...organization,
|
|
378
377
|
serviceEndpoints: serviceData ? [
|
|
379
378
|
{
|
|
380
|
-
id: `${did}#${
|
|
379
|
+
id: `${did}#${lodashEs.kebabCase(serviceData.type)}-1`,
|
|
381
380
|
serviceEndpoint: serviceData.serviceEndpoint,
|
|
382
381
|
type: serviceData.type,
|
|
383
382
|
credentialTypes: serviceTypes.credentialTypesByServiceTypes[serviceData.type]
|
|
@@ -392,9 +391,9 @@ const OrganizationCreate = ({
|
|
|
392
391
|
MockOrganization && /* @__PURE__ */ jsxRuntime.jsx(MockOrganization, { setInitialRecord }),
|
|
393
392
|
/* @__PURE__ */ jsxRuntime.jsx(OrganizationCreateTitle, {}),
|
|
394
393
|
/* @__PURE__ */ jsxRuntime.jsx(reactAdmin.Form, { record: initialRecord, onSubmit: goToCreateServiceStep, noValidate: true, mode: "onTouched", children: /* @__PURE__ */ jsxRuntime.jsx(reactAdmin.FormDataConsumer, { children: ({ formData }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
395
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { container: true, spacing: 4, rowSpacing: 1, children: [
|
|
396
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { container: true, flex: 1, flexDirection: "column", children: [
|
|
397
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
394
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { container: true, spacing: 4, rowSpacing: 1, children: [
|
|
395
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { container: true, flex: 1, flexDirection: "column", children: [
|
|
396
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
398
397
|
reactAdmin.TextInput,
|
|
399
398
|
{
|
|
400
399
|
fullWidth: true,
|
|
@@ -403,19 +402,19 @@ const OrganizationCreate = ({
|
|
|
403
402
|
validate: validateName
|
|
404
403
|
}
|
|
405
404
|
) }) }),
|
|
406
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
405
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
407
406
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
408
407
|
reactAdmin.TextInput,
|
|
409
408
|
{
|
|
410
409
|
fullWidth: true,
|
|
411
410
|
label: "Website",
|
|
412
411
|
source: "profile.website",
|
|
413
|
-
validate: [...
|
|
412
|
+
validate: [...CreateOrganizationUtils.validateWebsiteStrict, reactAdmin.required()]
|
|
414
413
|
}
|
|
415
414
|
),
|
|
416
415
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.WEBSITE_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
417
416
|
] }) }),
|
|
418
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
417
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
419
418
|
reactAdmin.TextInput,
|
|
420
419
|
{
|
|
421
420
|
fullWidth: true,
|
|
@@ -424,7 +423,7 @@ const OrganizationCreate = ({
|
|
|
424
423
|
validate: [reactAdmin.required(), reactAdmin.maxLength(1024)]
|
|
425
424
|
}
|
|
426
425
|
) }),
|
|
427
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
426
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
428
427
|
reactAdmin.AutocompleteInput,
|
|
429
428
|
{
|
|
430
429
|
label: "Country",
|
|
@@ -434,24 +433,24 @@ const OrganizationCreate = ({
|
|
|
434
433
|
}
|
|
435
434
|
) })
|
|
436
435
|
] }) }),
|
|
437
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, pb: 1, children: /* @__PURE__ */ jsxRuntime.jsx(index$2.CustomImageInput, { label: false, editMode: true, addTo: "profile" }) }),
|
|
438
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
436
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, pb: 1, children: /* @__PURE__ */ jsxRuntime.jsx(index$2.CustomImageInput, { label: false, editMode: true, addTo: "profile" }) }),
|
|
437
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
439
438
|
reactAdmin.TextInput,
|
|
440
439
|
{
|
|
441
440
|
fullWidth: true,
|
|
442
441
|
label: "LinkedIn Page",
|
|
443
442
|
source: "profile.linkedInProfile",
|
|
444
|
-
validate: [...
|
|
443
|
+
validate: [...CreateOrganizationUtils.validateWebsite, reactAdmin.required()]
|
|
445
444
|
}
|
|
446
445
|
) }),
|
|
447
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
446
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
448
447
|
LinkedInRegistrationInput.LinkedInRegistrationInput,
|
|
449
448
|
{
|
|
450
449
|
formData: formData.profile,
|
|
451
450
|
source: "profile.registrationNumbers"
|
|
452
451
|
}
|
|
453
452
|
) }),
|
|
454
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
453
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
455
454
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
456
455
|
reactAdmin.TextInput,
|
|
457
456
|
{
|
|
@@ -463,7 +462,7 @@ const OrganizationCreate = ({
|
|
|
463
462
|
),
|
|
464
463
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.SUPPORT_EMAIL_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
465
464
|
] }) }),
|
|
466
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
465
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
467
466
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
468
467
|
reactAdmin.TextInput,
|
|
469
468
|
{
|
|
@@ -482,7 +481,7 @@ const OrganizationCreate = ({
|
|
|
482
481
|
orientation: "horizontal"
|
|
483
482
|
}
|
|
484
483
|
),
|
|
485
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
484
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
486
485
|
reactAdmin.TextInput,
|
|
487
486
|
{
|
|
488
487
|
fullWidth: true,
|
|
@@ -493,16 +492,16 @@ const OrganizationCreate = ({
|
|
|
493
492
|
validate: reactAdmin.required()
|
|
494
493
|
}
|
|
495
494
|
) }),
|
|
496
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: "Key individuals" }) }),
|
|
497
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
495
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: "Key individuals" }) }),
|
|
496
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
498
497
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "body1", my: 2, sx: sx$2.sectionTitle, children: "Administrator’s Details" }),
|
|
499
498
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.ADMINISTRATOR_DETAILS_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
500
499
|
] }) }),
|
|
501
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
500
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
502
501
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "body1", my: 2, sx: sx$2.sectionTitle, children: "Signatory Authority’s Details" }),
|
|
503
502
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.SIGNATORY_DETAILS_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
504
503
|
] }) }),
|
|
505
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { size: { xs: 6 }, children: [
|
|
504
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { size: { xs: 6 }, children: [
|
|
506
505
|
/* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
507
506
|
reactAdmin.TextInput,
|
|
508
507
|
{
|
|
@@ -524,7 +523,7 @@ const OrganizationCreate = ({
|
|
|
524
523
|
}
|
|
525
524
|
) })
|
|
526
525
|
] }),
|
|
527
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { size: { xs: 6 }, children: [
|
|
526
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { size: { xs: 6 }, children: [
|
|
528
527
|
/* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
529
528
|
reactAdmin.TextInput,
|
|
530
529
|
{
|
|
@@ -544,7 +543,7 @@ const OrganizationCreate = ({
|
|
|
544
543
|
}
|
|
545
544
|
) })
|
|
546
545
|
] }),
|
|
547
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
546
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
548
547
|
reactAdmin.TextInput,
|
|
549
548
|
{
|
|
550
549
|
fullWidth: true,
|
|
@@ -553,7 +552,7 @@ const OrganizationCreate = ({
|
|
|
553
552
|
validate: [reactAdmin.maxLength(1024), reactAdmin.required()]
|
|
554
553
|
}
|
|
555
554
|
) }) }),
|
|
556
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
555
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
557
556
|
reactAdmin.TextInput,
|
|
558
557
|
{
|
|
559
558
|
fullWidth: true,
|
|
@@ -562,7 +561,7 @@ const OrganizationCreate = ({
|
|
|
562
561
|
validate: [reactAdmin.maxLength(1024), reactAdmin.required()]
|
|
563
562
|
}
|
|
564
563
|
) }) }),
|
|
565
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
564
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
566
565
|
reactAdmin.TextInput,
|
|
567
566
|
{
|
|
568
567
|
fullWidth: true,
|
|
@@ -572,7 +571,7 @@ const OrganizationCreate = ({
|
|
|
572
571
|
defaultValue: userData ? userData.email : ""
|
|
573
572
|
}
|
|
574
573
|
) }) }),
|
|
575
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
574
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
576
575
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
577
576
|
reactAdmin.TextInput,
|
|
578
577
|
{
|
|
@@ -584,8 +583,8 @@ const OrganizationCreate = ({
|
|
|
584
583
|
),
|
|
585
584
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.SIGNATORY_EMAIL_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
586
585
|
] }) }),
|
|
587
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", mb: 2, mt: 4, children: "Commercial Names" }) }),
|
|
588
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
586
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", mb: 2, mt: 4, children: "Commercial Names" }) }),
|
|
587
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
589
588
|
reactAdmin.ArrayInput,
|
|
590
589
|
{
|
|
591
590
|
source: "profile.commercialEntities",
|
|
@@ -754,9 +753,9 @@ const OrganizationEdit = () => {
|
|
|
754
753
|
sx: sx$1.formContainer,
|
|
755
754
|
transform: (data) => transform(data),
|
|
756
755
|
children: /* @__PURE__ */ jsxRuntime.jsx(reactAdmin.Form, { record: modifyRecord(record), mode: "onTouched", children: /* @__PURE__ */ jsxRuntime.jsx(reactAdmin.FormDataConsumer, { children: ({ formData }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
757
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { container: true, spacing: 5, rowSpacing: 1.25, children: [
|
|
758
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { container: true, flex: 1, flexDirection: "column", children: [
|
|
759
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { container: true, spacing: 5, rowSpacing: 1.25, children: [
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { container: true, flex: 1, flexDirection: "column", children: [
|
|
758
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
760
759
|
reactAdmin.TextInput,
|
|
761
760
|
{
|
|
762
761
|
fullWidth: true,
|
|
@@ -766,20 +765,20 @@ const OrganizationEdit = () => {
|
|
|
766
765
|
readOnly: true
|
|
767
766
|
}
|
|
768
767
|
) }),
|
|
769
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
768
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
770
769
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
771
770
|
reactAdmin.TextInput,
|
|
772
771
|
{
|
|
773
772
|
fullWidth: true,
|
|
774
773
|
label: "Website",
|
|
775
774
|
source: "profile.website",
|
|
776
|
-
validate: [...
|
|
775
|
+
validate: [...CreateOrganizationUtils.validateWebsiteStrict, reactAdmin.required()],
|
|
777
776
|
disabled: true
|
|
778
777
|
}
|
|
779
778
|
),
|
|
780
779
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.WEBSITE_HINT_SHORT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
781
780
|
] }) }),
|
|
782
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
781
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
783
782
|
reactAdmin.TextInput,
|
|
784
783
|
{
|
|
785
784
|
fullWidth: true,
|
|
@@ -788,7 +787,7 @@ const OrganizationEdit = () => {
|
|
|
788
787
|
validate: reactAdmin.required()
|
|
789
788
|
}
|
|
790
789
|
) }),
|
|
791
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
790
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
792
791
|
reactAdmin.AutocompleteInput,
|
|
793
792
|
{
|
|
794
793
|
fullWidth: true,
|
|
@@ -799,7 +798,7 @@ const OrganizationEdit = () => {
|
|
|
799
798
|
}
|
|
800
799
|
) })
|
|
801
800
|
] }) }),
|
|
802
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, p: 1, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
801
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, p: 1, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
803
802
|
index$2.CustomImageInput,
|
|
804
803
|
{
|
|
805
804
|
label: false,
|
|
@@ -809,23 +808,23 @@ const OrganizationEdit = () => {
|
|
|
809
808
|
addTo: "profile"
|
|
810
809
|
}
|
|
811
810
|
) }),
|
|
812
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
811
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", gap: 1.75, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
813
812
|
reactAdmin.TextInput,
|
|
814
813
|
{
|
|
815
814
|
fullWidth: true,
|
|
816
815
|
label: "LinkedIn Page",
|
|
817
816
|
source: "profile.linkedInProfile",
|
|
818
|
-
validate: [...
|
|
817
|
+
validate: [...CreateOrganizationUtils.validateWebsite, reactAdmin.required()]
|
|
819
818
|
}
|
|
820
819
|
) }) }),
|
|
821
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
820
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
822
821
|
LinkedInRegistrationInput.LinkedInRegistrationInput,
|
|
823
822
|
{
|
|
824
823
|
formData: { ...record, ...formData.profile },
|
|
825
824
|
source: "profile.registrationNumbers"
|
|
826
825
|
}
|
|
827
826
|
) }),
|
|
828
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
827
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
829
828
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
830
829
|
reactAdmin.TextInput,
|
|
831
830
|
{
|
|
@@ -837,7 +836,7 @@ const OrganizationEdit = () => {
|
|
|
837
836
|
),
|
|
838
837
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: index$3.SUPPORT_EMAIL_HINT, children: /* @__PURE__ */ jsxRuntime.jsx(InfoIcon, { color: "info", fontSize: "small", cursor: "pointer" }) }) })
|
|
839
838
|
] }) }),
|
|
840
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
839
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { flexDirection: "row", gap: 1.75, children: [
|
|
841
840
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
842
841
|
reactAdmin.TextInput,
|
|
843
842
|
{
|
|
@@ -856,8 +855,8 @@ const OrganizationEdit = () => {
|
|
|
856
855
|
orientation: "horizontal"
|
|
857
856
|
}
|
|
858
857
|
),
|
|
859
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(reactAdmin.TextInput, { fullWidth: true, disabled: true, label: "DID", source: "id" }) }),
|
|
860
|
-
formData.didDoc?.alsoKnownAs && /* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
858
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(reactAdmin.TextInput, { fullWidth: true, disabled: true, label: "DID", source: "id" }) }),
|
|
859
|
+
formData.didDoc?.alsoKnownAs && /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
861
860
|
reactAdmin.TextInput,
|
|
862
861
|
{
|
|
863
862
|
fullWidth: true,
|
|
@@ -869,7 +868,7 @@ const OrganizationEdit = () => {
|
|
|
869
868
|
format: (value) => Array.isArray(value) ? value.join("\n") : value
|
|
870
869
|
}
|
|
871
870
|
) }),
|
|
872
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
871
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
873
872
|
reactAdmin.TextInput,
|
|
874
873
|
{
|
|
875
874
|
fullWidth: true,
|
|
@@ -880,8 +879,8 @@ const OrganizationEdit = () => {
|
|
|
880
879
|
sx: sx$1.description
|
|
881
880
|
}
|
|
882
881
|
) }),
|
|
883
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", mb: 2, mt: 4, children: "Commercial Names" }) }),
|
|
884
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
882
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", mb: 2, mt: 4, children: "Commercial Names" }) }),
|
|
883
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
885
884
|
reactAdmin.ArrayInput,
|
|
886
885
|
{
|
|
887
886
|
source: "profile.commercialEntities",
|
|
@@ -932,7 +931,7 @@ const OrganizationEdit = () => {
|
|
|
932
931
|
label: "Update profile"
|
|
933
932
|
}
|
|
934
933
|
),
|
|
935
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "subtitle2", sx: { color: "primary.main" }, children: errorMessage }) }) })
|
|
934
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Stack, { flexDirection: "row", mt: 2, children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "subtitle2", sx: { color: "primary.main" }, children: errorMessage }) }) })
|
|
936
935
|
] }) }) })
|
|
937
936
|
}
|
|
938
937
|
)
|
|
@@ -1034,16 +1033,16 @@ const OrganizationShow = () => {
|
|
|
1034
1033
|
)
|
|
1035
1034
|
] }),
|
|
1036
1035
|
/* @__PURE__ */ jsxRuntime.jsxs(material.Paper, { elevation: 2, sx: { p: 6 }, children: [
|
|
1037
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { container: true, spacing: 4, children: [
|
|
1038
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { size: { xs: 4 }, children: [
|
|
1036
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { container: true, spacing: 4, children: [
|
|
1037
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { size: { xs: 4 }, children: [
|
|
1039
1038
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { display: "flex", alignItems: "flex-start", mb: 5, children: /* @__PURE__ */ jsxRuntime.jsx(OrganizationAvatar.OrganizationAvatar, { name: record.profile.name, logo: record.profile.logo, size: 66 }) }),
|
|
1040
1039
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { component: "div", mb: 1.5, variant: "h4", sx: [sx.value, sx.header], children: record.profile.name }),
|
|
1041
1040
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { component: "div", mb: 1.5, variant: "pm", children: getCountryNameByCode(record.profile.location.countryCode) })
|
|
1042
1041
|
] }),
|
|
1043
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { size: { xs: 8 }, children: [
|
|
1044
|
-
/* @__PURE__ */ jsxRuntime.jsxs(Grid, { sx: sx.dataRow, container: true, spacing: 4, children: [
|
|
1045
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(DataItem.DataItem, { title: "Legal Name", value: record.profile.name, sxValue: sx.value }) }),
|
|
1046
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1042
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { size: { xs: 8 }, children: [
|
|
1043
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { sx: sx.dataRow, container: true, spacing: 4, children: [
|
|
1044
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(DataItem.DataItem, { title: "Legal Name", value: record.profile.name, sxValue: sx.value }) }),
|
|
1045
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1047
1046
|
DataItem.DataItem,
|
|
1048
1047
|
{
|
|
1049
1048
|
title: "Website",
|
|
@@ -1052,7 +1051,7 @@ const OrganizationShow = () => {
|
|
|
1052
1051
|
hint: index$3.WEBSITE_HINT_SHORT
|
|
1053
1052
|
}
|
|
1054
1053
|
) }),
|
|
1055
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1054
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
1055
|
DataItem.DataItem,
|
|
1057
1056
|
{
|
|
1058
1057
|
title: "Address",
|
|
@@ -1060,7 +1059,7 @@ const OrganizationShow = () => {
|
|
|
1060
1059
|
sxValue: sx.value
|
|
1061
1060
|
}
|
|
1062
1061
|
) }),
|
|
1063
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1062
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1064
1063
|
DataItem.DataItem,
|
|
1065
1064
|
{
|
|
1066
1065
|
title: "Country",
|
|
@@ -1068,7 +1067,7 @@ const OrganizationShow = () => {
|
|
|
1068
1067
|
sxValue: sx.value
|
|
1069
1068
|
}
|
|
1070
1069
|
) }),
|
|
1071
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1070
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1072
1071
|
DataItem.DataItem,
|
|
1073
1072
|
{
|
|
1074
1073
|
title: "LinkedIn Page",
|
|
@@ -1076,7 +1075,7 @@ const OrganizationShow = () => {
|
|
|
1076
1075
|
sxValue: sx.value
|
|
1077
1076
|
}
|
|
1078
1077
|
) }),
|
|
1079
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1078
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1080
1079
|
DataItemRegistrationNumbers,
|
|
1081
1080
|
{
|
|
1082
1081
|
hint: index$3.LINKEDIN_ORGANIZATION_ID,
|
|
@@ -1086,7 +1085,7 @@ const OrganizationShow = () => {
|
|
|
1086
1085
|
fieldType: "LinkedIn"
|
|
1087
1086
|
}
|
|
1088
1087
|
) }),
|
|
1089
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1088
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1090
1089
|
DataItem.DataItem,
|
|
1091
1090
|
{
|
|
1092
1091
|
title: "Support Email",
|
|
@@ -1095,7 +1094,7 @@ const OrganizationShow = () => {
|
|
|
1095
1094
|
hint: index$3.SUPPORT_EMAIL_HINT
|
|
1096
1095
|
}
|
|
1097
1096
|
) }),
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1097
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1099
1098
|
DataItem.DataItem,
|
|
1100
1099
|
{
|
|
1101
1100
|
title: "Technical Contact Email",
|
|
@@ -1104,7 +1103,7 @@ const OrganizationShow = () => {
|
|
|
1104
1103
|
hint: index$3.TECHNICAL_EMAIL_HINT
|
|
1105
1104
|
}
|
|
1106
1105
|
) }),
|
|
1107
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1106
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1108
1107
|
DataItemRegistrationNumbers,
|
|
1109
1108
|
{
|
|
1110
1109
|
hint: index$3.DUNS_HINT,
|
|
@@ -1114,7 +1113,7 @@ const OrganizationShow = () => {
|
|
|
1114
1113
|
fieldType: constants.Authorities.DunnAndBradstreet
|
|
1115
1114
|
}
|
|
1116
1115
|
) }),
|
|
1117
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1116
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1118
1117
|
DataItemRegistrationNumbers,
|
|
1119
1118
|
{
|
|
1120
1119
|
hint: index$3.LEI_HINT,
|
|
@@ -1124,7 +1123,7 @@ const OrganizationShow = () => {
|
|
|
1124
1123
|
fieldType: constants.Authorities.GLEIF
|
|
1125
1124
|
}
|
|
1126
1125
|
) }),
|
|
1127
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1126
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1128
1127
|
DataItemRegistrationNumbers,
|
|
1129
1128
|
{
|
|
1130
1129
|
hint: index$3.NATIONAL_AUTHORITY_HINT,
|
|
@@ -1134,7 +1133,7 @@ const OrganizationShow = () => {
|
|
|
1134
1133
|
fieldType: constants.Authorities.NationalAuthority
|
|
1135
1134
|
}
|
|
1136
1135
|
) }),
|
|
1137
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1136
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 6 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1138
1137
|
DataItemRegistrationNumbers,
|
|
1139
1138
|
{
|
|
1140
1139
|
hint: "",
|
|
@@ -1145,8 +1144,8 @@ const OrganizationShow = () => {
|
|
|
1145
1144
|
}
|
|
1146
1145
|
) })
|
|
1147
1146
|
] }),
|
|
1148
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, sx: sx.dataRow, children: /* @__PURE__ */ jsxRuntime.jsx(DataItem.DataItem, { title: "DID", value: record.id, hint: index$3.DID_HINT, sxValue: sx.value }) }),
|
|
1149
|
-
record.didDoc?.alsoKnownAs && /* @__PURE__ */ jsxRuntime.jsx(Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1147
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, sx: sx.dataRow, children: /* @__PURE__ */ jsxRuntime.jsx(DataItem.DataItem, { title: "DID", value: record.id, hint: index$3.DID_HINT, sxValue: sx.value }) }),
|
|
1148
|
+
record.didDoc?.alsoKnownAs && /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1150
1149
|
DataItem.DataItem,
|
|
1151
1150
|
{
|
|
1152
1151
|
title: "Also known as",
|
|
@@ -1165,8 +1164,8 @@ const OrganizationShow = () => {
|
|
|
1165
1164
|
!!record.profile?.commercialEntities?.length && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1166
1165
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { component: "div", mt: 4, textTransform: "uppercase", variant: "pm", children: "Commercial Names" }),
|
|
1167
1166
|
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { sx: { mt: 2, mb: 5 } }),
|
|
1168
|
-
/* @__PURE__ */ jsxRuntime.jsx(Grid, { container: true, spacing: 4, children: record.profile.commercialEntities.map((commercial) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1169
|
-
Grid,
|
|
1167
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { container: true, spacing: 4, children: record.profile.commercialEntities.map((commercial) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1168
|
+
material.Grid,
|
|
1170
1169
|
{
|
|
1171
1170
|
item: true,
|
|
1172
1171
|
size: { xs: 4 },
|