@verii/components-organizations-registrar 1.0.0-pre.1756100765 → 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.
Files changed (131) hide show
  1. package/dist/chunks/{ConsentProvider.DIG3atk-.js → ConsentProvider.6M2ucqXH.js} +3 -3
  2. package/dist/chunks/ConsentProvider.6M2ucqXH.js.map +1 -0
  3. package/dist/chunks/{ConsentProvider.DTG51XMy.js → ConsentProvider.Bbc0preP.js} +2 -2
  4. package/dist/chunks/ConsentProvider.Bbc0preP.js.map +1 -0
  5. package/dist/chunks/{CreateOrganization.utils.C5C_r3Zp.js → CreateOrganizationUtils.C5C_r3Zp.js} +1 -1
  6. package/dist/chunks/CreateOrganizationUtils.C5C_r3Zp.js.map +1 -0
  7. package/dist/chunks/{CreateOrganization.utils.8cSBFSYF.js → CreateOrganizationUtils.Xq78HHkP.js} +7 -7
  8. package/dist/chunks/CreateOrganizationUtils.Xq78HHkP.js.map +1 -0
  9. package/dist/chunks/{CustomAppBar.DuFQqld7.js → CustomAppBar.BOlNFosS.js} +5 -7
  10. package/dist/chunks/CustomAppBar.BOlNFosS.js.map +1 -0
  11. package/dist/chunks/{CustomAppBar.BfQvuTHz.js → CustomAppBar.DaXLAwPh.js} +4 -6
  12. package/dist/chunks/CustomAppBar.DaXLAwPh.js.map +1 -0
  13. package/dist/chunks/{LinkedInRegistrationInput.C-qzrR-S.js → LinkedInRegistrationInput.CmYmSJoq.js} +8 -5
  14. package/dist/chunks/LinkedInRegistrationInput.CmYmSJoq.js.map +1 -0
  15. package/dist/chunks/{LinkedInRegistrationInput.DKRMHYRh.js → LinkedInRegistrationInput.gnYgP1Hf.js} +11 -8
  16. package/dist/chunks/LinkedInRegistrationInput.gnYgP1Hf.js.map +1 -0
  17. package/dist/chunks/{Loading.UJl_3_cf.js → Loading.Bcm3xNJU.js} +2 -3
  18. package/dist/chunks/Loading.Bcm3xNJU.js.map +1 -0
  19. package/dist/chunks/{Loading.DYBk0Ktb.js → Loading.cGHE59CV.js} +2 -3
  20. package/dist/chunks/Loading.cGHE59CV.js.map +1 -0
  21. package/dist/chunks/{MainLayout.CWFkijrE.js → MainLayout.BzfaZs8j.js} +2 -2
  22. package/dist/chunks/{MainLayout.CWFkijrE.js.map → MainLayout.BzfaZs8j.js.map} +1 -1
  23. package/dist/chunks/{MainLayout.6Hq5XQ-L.js → MainLayout.V-ymVxxR.js} +3 -3
  24. package/dist/chunks/{MainLayout.6Hq5XQ-L.js.map → MainLayout.V-ymVxxR.js.map} +1 -1
  25. package/dist/chunks/{OrganizationAvatar.BEwRZ9tC.js → OrganizationAvatar.BXW4diDT.js} +2 -2
  26. package/dist/chunks/{OrganizationAvatar.BEwRZ9tC.js.map → OrganizationAvatar.BXW4diDT.js.map} +1 -1
  27. package/dist/chunks/{OrganizationAvatar.lWcXtbM6.js → OrganizationAvatar.Dgg5VSPI.js} +2 -2
  28. package/dist/chunks/{OrganizationAvatar.lWcXtbM6.js.map → OrganizationAvatar.Dgg5VSPI.js.map} +1 -1
  29. package/dist/chunks/{ServicesEdit.BUAbbXgV.js → ServicesEdit.BnnqC203.js} +3 -3
  30. package/dist/chunks/ServicesEdit.BnnqC203.js.map +1 -0
  31. package/dist/chunks/{ServicesEdit.CrtEcP_7.js → ServicesEdit.DDgjS5kU.js} +2 -2
  32. package/dist/chunks/ServicesEdit.DDgjS5kU.js.map +1 -0
  33. package/dist/chunks/{SetInvitationService.BUZqAilX.js → SetInvitationService.PxAGwk-I.js} +11 -11
  34. package/dist/chunks/SetInvitationService.PxAGwk-I.js.map +1 -0
  35. package/dist/chunks/{SetInvitationService.B0ezxTzf.js → SetInvitationService.ZT5lP003.js} +5 -5
  36. package/dist/chunks/SetInvitationService.ZT5lP003.js.map +1 -0
  37. package/dist/chunks/TermsAndConditionsPdf.Ba8-5Hcm.js.map +1 -1
  38. package/dist/chunks/TermsAndConditionsPdf.ewC7N9Vy.js.map +1 -1
  39. package/dist/chunks/{CreateOrganization.C2Kf44eJ.js → ValidateTextInput.D5kgjulG.js} +328 -14
  40. package/dist/chunks/ValidateTextInput.D5kgjulG.js.map +1 -0
  41. package/dist/chunks/{CreateOrganization.A11-a_8R.js → ValidateTextInput.DEBaVB1L.js} +356 -42
  42. package/dist/chunks/ValidateTextInput.DEBaVB1L.js.map +1 -0
  43. package/dist/chunks/{index.DZOVpocw.js → index.CYCWawJT.js} +6 -6
  44. package/dist/chunks/index.CYCWawJT.js.map +1 -0
  45. package/dist/chunks/{index.DmM8ShwP.js → index.Cmn4FlUL.js} +5 -5
  46. package/dist/chunks/index.Cmn4FlUL.js.map +1 -0
  47. package/dist/chunks/{index.DlFajFTS.js → index.DIizFYFZ.js} +3 -3
  48. package/dist/chunks/index.DIizFYFZ.js.map +1 -0
  49. package/dist/chunks/{index.ZAmuSdK1.js → index.DIur8MCO.js} +4 -4
  50. package/dist/chunks/index.DIur8MCO.js.map +1 -0
  51. package/dist/chunks/{index.Ch4ynES2.js → index.DMWKdmxs.js} +4 -5
  52. package/dist/chunks/index.DMWKdmxs.js.map +1 -0
  53. package/dist/chunks/{index.Dir1xwV4.js → index.DND10PiY.js} +5 -6
  54. package/dist/chunks/index.DND10PiY.js.map +1 -0
  55. package/dist/chunks/{index.Cpod3Il3.js → index.YjnxLFjk.js} +3 -3
  56. package/dist/chunks/index.YjnxLFjk.js.map +1 -0
  57. package/dist/chunks/index.iexmV4Mr.js.map +1 -1
  58. package/dist/chunks/remoteDataProvider.BCiFSYnk.js.map +1 -1
  59. package/dist/chunks/remoteDataProvider.gtTXA1-g.js.map +1 -1
  60. package/dist/chunks/useIsIssuingInspection.C76mY_wb.js.map +1 -1
  61. package/dist/chunks/useIsIssuingInspection.DavhBs5B.js.map +1 -1
  62. package/dist/components/AppBar.cjs +1 -1
  63. package/dist/components/AppBar.js +1 -1
  64. package/dist/components/common.cjs +3 -3
  65. package/dist/components/common.js +3 -3
  66. package/dist/components/invitations.cjs +1 -1
  67. package/dist/components/invitations.js +1 -1
  68. package/dist/components/organizations.cjs +12 -301
  69. package/dist/components/organizations.cjs.map +1 -1
  70. package/dist/components/organizations.js +10 -299
  71. package/dist/components/organizations.js.map +1 -1
  72. package/dist/components/services.cjs +1 -1
  73. package/dist/components/services.js +1 -1
  74. package/dist/components.cjs +2 -2
  75. package/dist/components.js +2 -2
  76. package/dist/index.cjs +3 -3
  77. package/dist/index.cjs.map +1 -1
  78. package/dist/index.js +3 -3
  79. package/dist/index.js.map +1 -1
  80. package/dist/layouts.cjs +1 -1
  81. package/dist/layouts.js +1 -1
  82. package/dist/pages/individuals.cjs +4 -4
  83. package/dist/pages/individuals.cjs.map +1 -1
  84. package/dist/pages/individuals.js +5 -5
  85. package/dist/pages/individuals.js.map +1 -1
  86. package/dist/pages/invitations.cjs +11 -12
  87. package/dist/pages/invitations.cjs.map +1 -1
  88. package/dist/pages/invitations.js +9 -10
  89. package/dist/pages/invitations.js.map +1 -1
  90. package/dist/pages/organizations.cjs +74 -75
  91. package/dist/pages/organizations.cjs.map +1 -1
  92. package/dist/pages/organizations.js +10 -11
  93. package/dist/pages/organizations.js.map +1 -1
  94. package/dist/pages/services.cjs +6 -6
  95. package/dist/pages/services.cjs.map +1 -1
  96. package/dist/pages/services.js +5 -5
  97. package/dist/pages/services.js.map +1 -1
  98. package/dist/pages.cjs +1 -1
  99. package/dist/pages.cjs.map +1 -1
  100. package/dist/pages.js +1 -1
  101. package/dist/pages.js.map +1 -1
  102. package/package.json +12 -9
  103. package/setup-tests.js +31 -0
  104. package/dist/chunks/ConsentProvider.DIG3atk-.js.map +0 -1
  105. package/dist/chunks/ConsentProvider.DTG51XMy.js.map +0 -1
  106. package/dist/chunks/CreateOrganization.A11-a_8R.js.map +0 -1
  107. package/dist/chunks/CreateOrganization.C2Kf44eJ.js.map +0 -1
  108. package/dist/chunks/CreateOrganization.utils.8cSBFSYF.js.map +0 -1
  109. package/dist/chunks/CreateOrganization.utils.C5C_r3Zp.js.map +0 -1
  110. package/dist/chunks/CustomAppBar.BfQvuTHz.js.map +0 -1
  111. package/dist/chunks/CustomAppBar.DuFQqld7.js.map +0 -1
  112. package/dist/chunks/LinkedInRegistrationInput.C-qzrR-S.js.map +0 -1
  113. package/dist/chunks/LinkedInRegistrationInput.DKRMHYRh.js.map +0 -1
  114. package/dist/chunks/Loading.DYBk0Ktb.js.map +0 -1
  115. package/dist/chunks/Loading.UJl_3_cf.js.map +0 -1
  116. package/dist/chunks/OrganisationSubmitButton.D32qynh9.js +0 -40
  117. package/dist/chunks/OrganisationSubmitButton.D32qynh9.js.map +0 -1
  118. package/dist/chunks/OrganisationSubmitButton.D3w1nG1X.js +0 -41
  119. package/dist/chunks/OrganisationSubmitButton.D3w1nG1X.js.map +0 -1
  120. package/dist/chunks/ServicesEdit.BUAbbXgV.js.map +0 -1
  121. package/dist/chunks/ServicesEdit.CrtEcP_7.js.map +0 -1
  122. package/dist/chunks/SetInvitationService.B0ezxTzf.js.map +0 -1
  123. package/dist/chunks/SetInvitationService.BUZqAilX.js.map +0 -1
  124. package/dist/chunks/index.Ch4ynES2.js.map +0 -1
  125. package/dist/chunks/index.Cpod3Il3.js.map +0 -1
  126. package/dist/chunks/index.DZOVpocw.js.map +0 -1
  127. package/dist/chunks/index.Dir1xwV4.js.map +0 -1
  128. package/dist/chunks/index.DlFajFTS.js.map +0 -1
  129. package/dist/chunks/index.DmM8ShwP.js.map +0 -1
  130. package/dist/chunks/index.ZAmuSdK1.js.map +0 -1
  131. 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 string = require("lodash/string");
8
- const Loading = require("../chunks/Loading.DYBk0Ktb.js");
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.DZOVpocw.js");
13
- const index$1 = require("../chunks/index.Dir1xwV4.js");
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 CreateOrganization_utils = require("../chunks/CreateOrganization.utils.C5C_r3Zp.js");
21
- const index$2 = require("../chunks/index.DlFajFTS.js");
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.DKRMHYRh.js");
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.BEwRZ9tC.js");
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 `${string.kebabCase(type[0])}-1`;
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}#${string.kebabCase(serviceData.type)}-1`,
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: [...CreateOrganization_utils.validateWebsiteStrict, reactAdmin.required()]
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: [...CreateOrganization_utils.validateWebsite, reactAdmin.required()]
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: [...CreateOrganization_utils.validateWebsiteStrict, reactAdmin.required()],
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: [...CreateOrganization_utils.validateWebsite, reactAdmin.required()]
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 },