ethyca-fides 2.70.1b0__py2.py3-none-any.whl → 2.70.1b1__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of ethyca-fides might be problematic. Click here for more details.
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/METADATA +3 -3
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/RECORD +191 -192
- fides/_version.py +3 -3
- fides/api/api/v1/endpoints/system.py +1 -5
- fides/api/db/crud.py +2 -30
- fides/api/models/policy.py +0 -24
- fides/api/models/privacy_notice.py +1 -1
- fides/api/models/privacy_request/privacy_request.py +0 -62
- fides/api/models/privacy_request/webhook.py +1 -3
- fides/service/system/system_service.py +2 -17
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/155-88303b05c6e115a5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3700-865408b36fbee782.js → 3700-de7c9f02ca184f7a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7725-fdc4298dfbea6f80.js → 7725-dd6736855807936a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-91cae6157e6f09b5.js → _app-302177edeb0dc4f5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-ae4909cad9b67822.js → reporting-09be5455ba85db39.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-758d51b4d37dbd09.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/{[monitorId]-b74dfaf4f4126e57.js → [monitorId]-0e4d9ff89c63793c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-9f6c82e14ff2cad2.js → [id]-8b13bb5f7bee61c6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{integrations-ebc9c90fe99ee68d.js → integrations-6f109ef64304ef59.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{privacy-requests-14a2efa72f0d4d12.js → privacy-requests-2c82cf73d20416f2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-e99fbd1b2d1bfd12.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-9ffcf98b8ad56bf7.js +1 -0
- fides/ui-build/static/admin/_next/static/css/018c12b58ee7f861.css +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers/[key].html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers/new.html +1 -1
- fides/ui-build/static/admin/settings/messaging-providers.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/privacy-requests.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/api/db/safe_crud.py +0 -377
- fides/ui-build/static/admin/_next/static/6oPWh0EXUTEVS_OTLA_S1/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/155-047c3806cc41295e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-3d03cd31cd99fa07.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-916238dcc0596957.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-616f5a7cbb99e46d.js +0 -1
- fides/ui-build/static/admin/_next/static/css/1866822702989bb3.css +0 -1
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.70.1b0.dist-info → ethyca_fides-2.70.1b1.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{6oPWh0EXUTEVS_OTLA_S1 → DjKAJy5iQVbNLYvoAn3Oe}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1115-90baef2a89f361ad.js → 1115-7888473b3dc28cda.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1817-dbde9966025d7970.js → 1817-ee9e29a6b8c4af50.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{2040-fdecc41a18e40bdc.js → 2040-ab6212a3074f34f9.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3696-90c8b336bbc46782.js → 3696-c25dc8d1b0e1aee1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3872-04d3afbfa41a7782.js → 3872-3514b712afd683c0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{4608-63fbb1f4f258a66e.js → 4608-96f480766541124b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{502-d3ecae97b67befbd.js → 502-a40d39e615f7b664.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5185-51eaa78e3ed6bfb7.js → 5185-33f50cf9ae17b42e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5574-c31ea831371610d5.js → 5574-b8c4cba5a6938c00.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5783-8f5713517ebc35f3.js → 5783-8de76df87af55e98.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6084-dc473a58c3e2889b.js → 6084-2cd165179c428a6f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6416-39d12ffc78833cb1.js → 6416-18d438ff85d807f8.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6882-10296485ec326e6b.js → 6882-447f15e87b8c48a5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6954-4b24e1731c1cc3b3.js → 6954-599f2de2c902e9b2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7158-04745cc8d684b2e7.js → 7158-835ba42fd881d8dd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7476-c709d0610ebf7e2e.js → 7476-0b6e114658b15eaa.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7630-d0d3a0fe3f95e971.js → 7630-e7ea13be69c118a1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{796-876998c86754da97.js → 796-e07ac2c543f569e3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{8002-ed832921ad190832.js → 8002-25fd174aec9b077b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9226-4a7027057f55ca2a.js → 9226-2f960b7ca530642a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9826-ccedc28e978ca9e1.js → 9826-c02be5882205bbbc.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-16ecb33f09224fbb.js → manual-939253f8daf349b2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-2ca59996860a33c5.js → multiple-83ed7da0bb90b0a5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-caff552fce501f82.js → add-systems-f90aa48500c1cbde.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-7a258b7ecd6da4b8.js → add-vendors-46b88bda3d7b15c5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-259ad2e10fe6f413.js → configure-c0db068d1863222f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-7e78616b7b048978.js → privacy-experience-92a337ee96845af2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-9c23fbe813c997d0.js → [id]-1fd2cda8707314f6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-0e5e38bbcfe59fd2.js → new-2987e397445713c5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-3ff2fd2570f02f1c.js → privacy-notices-59a8aff5935482ec.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-d2bf72508c3cad55.js → consent-e5a33654a2dfaf35.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-06a08970907ed3f0.js → [resourceUrn]-293c1f2d9aefb447.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-4a1af12d2d7cd660.js → [projectUrn]-6a4b0d49dcbf17a8.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-99573a1ee3ef8f4c.js → projects-be7b385073f22414.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-4c84d952bb1db690.js → [resourceUrn]-18501152fa1e4f40.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-6e429b7511028d60.js → resources-af80fdca3bbdc82f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-56fd0f3e465e52b6.js → data-catalog-351caadeef03876a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-040813022f0890c9.js → action-center-1554afcb8b9da2ab.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-844a8de0d1b506e2.js → [resourceUrn]-0497f3ffdb632516.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-11b07cf2d91b17ef.js → detection-a780390da99f3e43.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-65dc7f5a2ce3eae7.js → [resourceUrn]-1901c26cdde820da.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-4d378516817cf00b.js → discovery-0cea22af5929c81f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-4a05303416dcb657.js → datamap-619f27c745188adb.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-d4031e438c363fff.js → [...subfieldNames]-ef71f387fbbab425.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-9463af37079762d0.js → [collectionName]-d790553662caf5c3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-60a4a9eb4aab4c11.js → [datasetId]-cb63db8594fe8dc1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-910e28bce6a98f3d.js → new-78e052c8f95110c4.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-108630926347724e.js → dataset-d6d7ee8bd8858a8a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-5119e6602507157f.js → [id]-cc149157d290a94d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-cda4e7b5b888e17c.js → new-4c9fb068a5561658.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-223c2d1ded51bfb1.js → datastore-connection-a832084ce294f8af.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{index-b74d1e8608ae5b5d.js → index-269b8f81546dad66.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-e8d2140787045acd.js → [id]-d8c5c03fb2f31d65.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-e3f93462a08251bf.js → add-template-0e0c06e3c8aabe02.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-b5f7d6afdecd013d.js → messaging-3f15804cf9625f01.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-329333a88f3826eb.js → table-migration-e551fccfcaae76e7.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-989c77898de2da75.js → [id]-8566e3b7b2a632fa.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-648d775d0fce49dc.js → storage-1b38b656807ed0cd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-8f577df28ebca869.js → configure-b00532a0ad4f6927.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-57a75c7e9659271a.js → [id]-322a01e2bceab3fb.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-8964c2300206bc89.js → add-property-777ed2d73812043d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-1ae1257f5b388924.js → consent-55e36839d219a503.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-c2f1376aca192114.js → custom-fields-26ce8fc493993765.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-586505df9d853f1f.js → domain-records-7ddf9d992fe714a6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-a3275554ffe8e640.js → domains-7c78ae51f0dd7102.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-604790638c656fbd.js → email-templates-05ffbda19ab894b9.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-be2a885150adc133.js → locations-77fb85bdd0be42b5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/messaging-providers/{[key]-8df31428446a6a96.js → [key]-b0d93bf478bf63ee.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/messaging-providers/{new-af1471bf4571d5d3.js → new-084f9756b9987285.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{messaging-providers-8d92be437793c96f.js → messaging-providers-6c51ffd46bb598e7.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-3c86162afe9759df.js → organization-44456bfe54ac4ad5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{privacy-requests-8cbdfd08e0fa88fb.js → privacy-requests-fbe7e8030d837aed.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-4fe3b90747d885e5.js → regulations-2866ac99faa5a542.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-2deb6becece69d46.js → test-datasets-a86bafe1b4e1205f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-589952aa1a31c33d.js → [id]-1895c6a13b543436.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-629c88e90699369b.js → new-6304dad2c5fab694.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-98f737e735eaa0f0.js → [id]-ff4711db191099cd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-562624e5461083ec.js → user-management-82fcf1151e2fe2ba.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2369],{1565:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests",function(){return s(19509)}])},35287:function(e,t,s){"use strict";var i=s(24246),l=s(96306),a=s(88038),r=s.n(a);s(27378),t.Z=e=>{let{children:t,title:s,mainProps:a}=e;return(0,i.jsxs)(l.kCb,{"data-testid":s,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,i.jsxs)(r(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",s]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsx)(l.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...a,children:t})]})}},87361:function(e,t,s){"use strict";var i=s(24246),l=s(96306);t.Z=e=>{let{title:t,text:s,onClose:a}=e;return(0,i.jsxs)(l.Ugi,{backgroundColor:"gray.50",border:"1px solid",borderRadius:"md",justifyContent:"space-between",py:4,pr:6,pl:3,"data-testid":"empty-state",gap:2,position:"relative",children:[a&&(0,i.jsx)(l.Two,{boxSize:5,position:"absolute",right:3,top:3,zIndex:1,cursor:"pointer",p:1,onClick:a}),(0,i.jsx)(l.iid,{alignSelf:"start",color:"minos",mt:.5,flexGrow:0}),(0,i.jsxs)(l.kCb,{direction:"column",gap:2,flexGrow:1,children:[(0,i.jsx)(l.X6q,{fontSize:"md",children:t}),(0,i.jsx)(l.xvT,{fontSize:"sm",color:"gray.600",lineHeight:"5",children:s})]})]})}},96718:function(e,t,s){"use strict";s.d(t,{z:function(){return a}});var i=s(24246),l=s(96306);let a=e=>{let{...t}=e;return(0,i.jsx)(l.WPr,{defaultActiveFirstOption:!1,maxTagCount:"responsive",allowClear:!0,styles:t.mode?void 0:{popup:{root:{width:"auto",minWidth:"200px"}}},className:"w-auto","data-testid":"filter-select",...t})}},97181:function(e,t,s){"use strict";s.d(t,{d:function(){return o}});var i=s(24246),l=s(96306),a=s(34090),r=s(27378),n=s(46238),d=s(40324);let o=e=>{let{name:t,label:s,labelProps:o,tooltip:c,isRequired:u,layout:p="inline",helperText:m,...x}=e,[h,y,{setValue:v}]=(0,a.U$)(t),j=!!(y.touched&&y.error),[g,_]=(0,r.useState)("");h.value||"tags"!==x.mode&&"multiple"!==x.mode||(h.value=[]),"tags"===x.mode&&"string"==typeof h.value&&(h.value=[h.value]);let f="tags"===x.mode?(e,t)=>e?e.value!==g||h.value.includes(g)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(g,'"'):void 0:x.optionRender||void 0,b=e=>{_(e),x.onSearch&&x.onSearch(e)},q=(e,t)=>{v(e),x.onChange&&x.onChange(e,t)};return"inline"===p?(0,i.jsx)(l.NIc,{isInvalid:j,isRequired:u,children:(0,i.jsxs)(l.rjZ,{templateColumns:s?"1fr 3fr":"1fr",children:[s?(0,i.jsx)(d.__,{htmlFor:x.id||t,...o,children:s}):null,(0,i.jsxs)(l.jqI,{align:"center",children:[(0,i.jsxs)(l.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(l.WPr,{...h,id:x.id||t,"data-testid":"controlled-select-".concat(h.name),...x,optionRender:f,onSearch:"tags"===x.mode?b:void 0,onChange:q,value:h.value||void 0,status:j?"error":void 0}),m&&(0,i.jsx)(l.Q6r,{children:m}),(0,i.jsx)(d.Bc,{isInvalid:j,message:y.error,fieldName:h.name})]}),(0,i.jsx)(n.b,{label:c,className:j?"mt-2 self-start":void 0})]})]})}):(0,i.jsx)(l.NIc,{isInvalid:j,isRequired:u,children:(0,i.jsxs)(l.gCW,{alignItems:"start",children:[(0,i.jsxs)(l.jqI,{align:"center",children:[s?(0,i.jsx)(d.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...o,children:s}):null,(0,i.jsx)(n.b,{label:c})]}),(0,i.jsx)(l.WPr,{...h,id:x.id||t,"data-testid":"controlled-select-".concat(h.name),...x,optionRender:f,onSearch:"tags"===x.mode?b:void 0,onChange:q,value:h.value||void 0,status:j?"error":void 0}),m&&(0,i.jsx)(l.Q6r,{style:{marginTop:0},children:m}),(0,i.jsx)(d.Bc,{isInvalid:j,message:y.error,fieldName:h.name})]})})}},71784:function(e,t,s){"use strict";s.d(t,{DE:function(){return n},I3:function(){return l},kN:function(){return r},rE:function(){return a}});var i=s(21910);let l=[...new Map([[i.q2.APPROVED,"Approved"],[i.q2.AWAITING_EMAIL_SEND,"Awaiting email send"],[i.q2.CANCELED,"Canceled"],[i.q2.COMPLETE,"Completed"],[i.q2.DENIED,"Denied"],[i.q2.ERROR,"Error"],[i.q2.IN_PROCESSING,"In progress"],[i.q2.PENDING,"New"],[i.q2.PAUSED,"Paused"],[i.q2.IDENTITY_UNVERIFIED,"Unverified"],[i.q2.REQUIRES_INPUT,"Requires input"],[i.q2.REQUIRES_MANUAL_FINALIZATION,"Requires finalization"]])].map(e=>{let[t,s]=e;return{label:s,value:t}}),a=new Map([[i.Us.ACCESS,"Access"],[i.Us.ERASURE,"Erasure"],[i.Us.CONSENT,"Consent"],[i.Us.UPDATE,"Update"]]),r=[...a].map(e=>{let[t,s]=e;return{label:s,value:t}}),n={local:"local",s3:"s3",gcs:"gcs"}},19509:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return eU}});var i,l,a=s(24246),r=s(35287),n=s(96306),d=s(65218),o=s.n(d),c=s(27378),u=s(25980),p=s(19904),m=s(56141),x=s.n(m),h=s(86677),y=s(16134),v=s(91317),j=s(18225),g=s(77830),_=s(28407),f=s(16394),b=s(21910),q=s(32735),C=s(59969),S=s(71784),k=s(45116);let E=e=>{let{label:t,children:s}=e;return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"shrink-0 grow-0 basis-1/3 pr-2",children:(0,a.jsxs)(n.AntTypography.Text,{className:"text-gray-700",children:[t,":"]})}),(0,a.jsx)("div",{className:"min-w-0 shrink grow text-gray-600",children:s})]})},R=e=>{let{task:t}=e,s=t.request_type===b.k6.ACCESS?b.Us.ACCESS:b.Us.ERASURE,i=S.rE.get(s)||t.request_type;return(0,a.jsxs)("div",{className:"flex flex-col space-y-3","data-testid":"task-details-container",children:[(0,a.jsx)(E,{label:"Name",children:(0,a.jsx)(n.AntTypography.Text,{children:t.name})}),(0,a.jsx)(E,{label:"Description",children:(0,a.jsx)(n.AntTypography.Text,{children:t.description||"-"})}),(0,a.jsx)(E,{label:"Request Type",children:(0,a.jsx)(n.AntTypography.Text,{children:i})}),(0,a.jsx)(E,{label:"Assigned To",children:t.assigned_users&&t.assigned_users.length>0?(0,a.jsx)("div",{className:"flex flex-wrap gap-1","data-testid":"assigned-users-tags",children:t.assigned_users.map(e=>(0,a.jsx)(n.j8w,{"data-testid":"assigned-user-tag-".concat(e.id),children:"".concat(e.first_name||""," ").concat(e.last_name||"").trim()||e.email_address||"Unknown User"},e.id))}):(0,a.jsx)(n.AntTypography.Text,{children:"No one assigned"})}),t.privacy_request.subject_identities&&Object.keys(t.privacy_request.subject_identities).length>0?(0,a.jsx)(E,{label:"Subject identities",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:Object.entries(t.privacy_request.subject_identities).map(e=>{let[t,s]=e;return(0,a.jsxs)(n.j8w,{children:[t,": ",String(s)]},t)})})}):null,t.privacy_request.custom_fields&&Object.keys(t.privacy_request.custom_fields).length>0?(0,a.jsx)(E,{label:"Custom fields",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:Object.entries(t.privacy_request.custom_fields).filter(e=>{let[,t]=e;return t}).map(e=>{let[t,s]=e;return(0,a.jsxs)(n.j8w,{children:[t,": ",String(s)]},t)})})}):null]})},w=e=>{let{isOpen:t,onClose:s,task:i}=e,[l,{isLoading:r}]=(0,k.HP)(),[d,o]=(0,c.useState)(""),[u,p]=(0,c.useState)(!1),[m,x]=(0,c.useState)(""),[h,y]=(0,c.useState)([]),v=async()=>{try{await l({privacy_request_id:i.privacy_request.id,manual_field_id:i.manual_field_id,field_value:i.input_type===b.PF.TEXT?d:i.input_type===b.PF.CHECKBOX?u.toString():void 0,comment_text:m||void 0,attachments:h.length>0?h.map(e=>e.originFileObj).filter(Boolean):void 0}).unwrap(),o(""),p(!1),x(""),y([]),s()}catch(e){n.Pg3.error("Failed to complete task. Please try again.")}};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"700px",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{maxWidth:"700px","data-testid":"complete-task-modal",children:[(0,a.jsx)(n.xBx,{children:(0,a.jsx)(n.AntTypography.Title,{level:4,children:"Complete Task"})}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-6",children:[(0,a.jsx)("div",{children:(0,a.jsx)(R,{task:i})}),(0,a.jsx)(n.htM,{}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(()=>{switch(i.input_type){case b.PF.TEXT:return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Subject data"}),(0,a.jsx)(n.uFc.TextArea,{value:d,onChange:e=>o(e.target.value),placeholder:"Enter your response...",rows:4,"data-testid":"complete-modal-text-input"})]});case b.PF.CHECKBOX:return(0,a.jsx)("div",{className:"space-y-2",children:(0,a.jsx)(n.E_O,{checked:u,onChange:e=>p(e.target.checked),"data-testid":"complete-modal-checkbox",children:"The task has been completed"})});default:return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Upload Files"}),(0,a.jsx)("div",{children:(0,a.jsx)(n.pMK,{fileList:h,onChange:e=>{let{fileList:t}=e;return y(t)},beforeUpload:()=>!1,"data-testid":"complete-modal-file-upload",multiple:!0,children:(0,a.jsx)(n.wpx,{"data-testid":"complete-modal-upload-button",children:"Click to Upload"})})})]})}})(),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Internal comment"}),(0,a.jsx)(n.uFc.TextArea,{value:m,onChange:e=>x(e.target.value),placeholder:"Add any additional comments...",rows:3,"data-testid":"complete-modal-comment-input"})]})]})})]})}),(0,a.jsx)(n.mzw,{children:(0,a.jsxs)(n.vyj,{children:[(0,a.jsx)(n.wpx,{onClick:()=>{o(""),p(!1),x(""),y([]),s()},disabled:r,"data-testid":"complete-modal-cancel-button",children:"Cancel"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:v,loading:r,disabled:!(()=>{switch(i.input_type){case b.PF.TEXT:return d.trim().length>0;case b.PF.CHECKBOX:return u;default:return h.length>0}})(),"data-testid":"complete-modal-save-button",children:"Save"})]})})]})]})},T=e=>{let{isOpen:t,onClose:s,task:i}=e,[l,{isLoading:r}]=(0,k.DA)(),[d,o]=(0,c.useState)(""),u=async()=>{try{await l({privacy_request_id:i.privacy_request.id,manual_field_id:i.manual_field_id,skip_reason:d}).unwrap(),o(""),s()}catch(e){n.Pg3.error("Failed to skip task. Please try again.")}};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"700px",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{maxWidth:"700px","data-testid":"skip-task-modal",children:[(0,a.jsx)(n.xBx,{children:(0,a.jsx)(n.AntTypography.Title,{level:4,children:"Skip Task"})}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-6",children:[(0,a.jsx)("div",{children:(0,a.jsx)(R,{task:i})}),(0,a.jsx)(n.htM,{}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"flex flex-col space-y-4",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Reason for skipping (Required)"}),(0,a.jsx)(n.uFc.TextArea,{value:d,onChange:e=>o(e.target.value),placeholder:"Please provide a reason for skipping this task...",rows:4,"data-testid":"skip-modal-comment-input"})]})})})]})}),(0,a.jsx)(n.mzw,{children:(0,a.jsxs)(n.vyj,{children:[(0,a.jsx)(n.wpx,{onClick:()=>{o(""),s()},disabled:r,"data-testid":"skip-modal-cancel-button",children:"Cancel"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:u,loading:r,disabled:!d.trim(),danger:!0,"data-testid":"skip-modal-skip-button",children:"Skip Task"})]})})]})]})},I=e=>{let{task:t}=e,s=(0,h.useRouter)(),{isOpen:i,onOpen:l,onClose:r}=(0,n.qY0)(),{isOpen:d,onOpen:o,onClose:c}=(0,n.qY0)(),u=(0,p.Tg)([b.Sh.PRIVACY_REQUEST_READ]);if(t.status!==b.OS.NEW)return null;let m=[{key:"skip",label:"Skip task",onClick:o}];return u&&m.push({key:"go-to-request",label:"Go to request",onClick:()=>{s.push({pathname:g.ld,query:{id:t.privacy_request.id}})}}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.vyj,{size:"small",children:[(0,a.jsx)(n.wpx,{type:"default",onClick:l,size:"small",children:"Complete"}),(0,a.jsx)(n.S0p,{menu:{items:m},trigger:["click"],placement:"bottomRight",overlayStyle:{minWidth:120},children:(0,a.jsx)(n.wpx,{size:"small",icon:(0,a.jsx)(n.PJP.r43,{}),"aria-label":"More actions"})})]}),(0,a.jsx)(w,{isOpen:i,onClose:r,task:t}),(0,a.jsx)(T,{isOpen:d,onClose:c,task:t})]})},A={[b.OS.NEW]:{color:"info",label:"New"},[b.OS.COMPLETED]:{color:"success",label:"Completed"},[b.OS.SKIPPED]:{color:"marble",label:"Skipped"}},N=[{text:"New",value:b.OS.NEW},{text:"Completed",value:b.OS.COMPLETED},{text:"Skipped",value:b.OS.SKIPPED}],P=[{text:"Access",value:b.k6.ACCESS},{text:"Erasure",value:b.k6.ERASURE}],O=e=>{let{systemFilters:t,userFilters:s,onUserClick:i,currentFilters:l,hasAccessToAllTasks:r}=e,d=[{title:"Task name",dataIndex:"name",key:"name",minWidth:100,render:e=>(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:e},children:e})},{title:"Status",dataIndex:"status",key:"status",width:110,render:e=>(0,a.jsx)(n.j8w,{color:A[e].color,"data-testid":"manual-task-status-tag",children:A[e].label}),filters:N,filterMultiple:!1},{title:"System",dataIndex:["system","name"],key:"system_name",minWidth:100,render:e=>(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:e},children:e}),filters:t,filterMultiple:!1},{title:"Type",dataIndex:"request_type",key:"request_type",width:80,render:e=>{let t=e===b.k6.ACCESS?b.Us.ACCESS:b.Us.ERASURE,s=S.rE.get(t)||e;return(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:s},children:s})},filters:P,filterMultiple:!1},{title:"Assigned to",dataIndex:"assigned_users",key:"assigned_users",minWidth:100,render:e=>{if(!e||0===e.length)return(0,a.jsx)(n.AntTypography.Text,{children:"-"});let t=e.map(e=>({label:(0,f.gJ)(e),value:e.id})),s=e.map(e=>e.id);return(0,a.jsx)(n.d3V,{value:s,options:t,readonly:!0,onTagClick:e=>i(String(e))})},filters:s,filterMultiple:!1,defaultFilteredValue:l.assignedUsers?[l.assignedUsers]:void 0},{title:"Days left",dataIndex:["privacy_request","days_left"],key:"days_left",width:90,render:e=>(0,a.jsx)(C.Z,{daysLeft:e||0,includeText:!1,status:b.q2.PENDING})},{title:"Subject identity",dataIndex:["privacy_request","subject_identities"],key:"subject_identities",minWidth:120,render:e=>{if(!e)return(0,a.jsx)(n.AntTypography.Text,{children:"-"});let t=e.email||e.phone_number||"";return(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:t},children:t})}},{title:"Actions",key:"actions",width:145,render:(e,t)=>(0,a.jsx)(I,{task:t})}];return r?d:d.filter(e=>"assigned_users"!==e.key)},U=()=>{let e=(0,h.useRouter)(),t=(0,y.C)(v.dy),[s,i]=(0,c.useState)(1),[l,r]=(0,c.useState)(25),d=(0,p.Tg)([b.Sh.MANUAL_FIELD_READ_ALL]),o=e.query.privacy_request_id||void 0,u=(0,c.useMemo)(()=>{let e={};return(null==t?void 0:t.id)&&!o&&(e.assignedUsers=t.id),o&&"string"==typeof o&&(e.privacyRequestId=o),e},[null==t?void 0:t.id,o]),[m,C]=(0,c.useState)(u),{data:S,isLoading:E,isFetching:R}=(0,k.Ym)({page:s,size:l,status:m.status,systemName:m.systemName,requestType:m.requestType,assignedUserId:m.assignedUsers,privacyRequestId:m.privacyRequestId}),{data:w}=(0,k.Ym)({page:1,size:1}),{items:T,total:I}=(0,c.useMemo)(()=>S||{items:[],total:0,pages:0,filter_options:{assigned_users:[],systems:[]}},[S]),A=(0,c.useMemo)(()=>(null==w?void 0:w.filter_options)||{assigned_users:[],systems:[]},[w]),N=O({systemFilters:(0,c.useMemo)(()=>{var e;return(null==A?void 0:null===(e=A.systems)||void 0===e?void 0:e.map(e=>({text:e.name,value:e.name})))||[]},[null==A?void 0:A.systems]),userFilters:(0,c.useMemo)(()=>{var e;let s=(null==A?void 0:null===(e=A.assigned_users)||void 0===e?void 0:e.map(e=>({text:(0,f.gJ)(e),value:e.id})))||[];return(null==t?void 0:t.id)&&!s.some(e=>e.value===t.id)&&s.push({text:(0,f.gJ)(t,{fallbackToId:!0}),value:t.id}),s},[null==A?void 0:A.assigned_users,t]),onUserClick:t=>{e.push({pathname:g.fw,query:{id:t}})},currentFilters:m,hasAccessToAllTasks:d}),P=(0,c.useMemo)(()=>x()(m,u),[m,u]);return E?(0,a.jsx)(j.Z,{}):(0,a.jsxs)("div",{className:"mt-2 space-y-4",children:[(0,a.jsx)(n.kCb,{gap:3,align:"center",className:"mb-4",children:(0,a.jsx)(_.H,{globalFilter:m.privacyRequestId||"",setGlobalFilter:e=>{let t={...m};e&&e.trim()?t.privacyRequestId=e.trim():delete t.privacyRequestId,C(t),i(1)},placeholder:"Search by privacy request ID",testid:"privacy-request-id-filter"})}),(0,a.jsx)(n.V5H,{columns:N,dataSource:T,rowKey:e=>"".concat(e.privacy_request.id,"-").concat(e.manual_field_id),pagination:{current:s,pageSize:l,pageSizeOptions:q.VZ,total:I||0,showTotal:(e,t)=>"".concat(t[0],"-").concat(t[1]," of ").concat(e," items"),onChange:(e,t)=>{i(e),t!==l&&(r(t),i(1))}},onChange:(e,t)=>{let s={privacyRequestId:m.privacyRequestId};t.status&&([s.status]=t.status),t.system_name&&([s.systemName]=t.system_name),t.request_type&&([s.requestType]=t.request_type),t.assigned_users&&([s.assignedUsers]=t.assigned_users),C(s),i(1)},locale:{emptyText:P?(0,a.jsx)("div",{"data-testid":"empty-state-current-user",className:"my-4",children:(0,a.jsxs)(n.AntTypography.Paragraph,{children:["You have no tasks assigned."," ",d&&(0,a.jsx)("span",{children:'You can modify the "Assigned to" column filter to view tasks assigned to other users.'})]})}):(0,a.jsx)("div",{"data-testid":"empty-state",className:"my-4",children:"No results found."})},loading:E||R,scroll:{scrollToFirstRowOnChange:!0},tableLayout:"fixed",className:"[&_th]:!break-normal"})]})};var F=s(59003),z=s(92222),D=s(40431),M=s(16125),Z=s(14048),L=s(47935),W=s(90867);let Y={approved:{colorScheme:"success",label:"Approved"},complete:{label:"Completed",colorScheme:"success"},awaiting_email_send:{label:"Awaiting Email Send",colorScheme:"marble"},denied:{label:"Denied",colorScheme:"warning"},canceled:{label:"Canceled",colorScheme:"marble"},error:{label:"Error",colorScheme:"error"},in_processing:{label:"In Progress",colorScheme:"caution"},paused:{label:"Paused",colorScheme:"marble"},pending:{label:"New",colorScheme:"info"},identity_unverified:{label:"Unverified",colorScheme:"marble"},requires_input:{colorScheme:"minos",label:"Requires Input"},requires_manual_finalization:{colorScheme:"minos",label:"Requires Finalization"}},B=e=>{let{value:t}=e;return(0,a.jsx)(L.A4,{color:Y[t].colorScheme,value:Y[t].label,"data-testid":"request-status-badge"})},V=e=>{let t,{daysLeft:s,timeframe:i=45,status:l,includeText:r=!1}=e;if(null==s||l===b.q2.COMPLETE||l===b.q2.CANCELED||l===b.q2.DENIED||l===b.q2.IDENTITY_UNVERIFIED)return null;let n=100*s/i;return n<25?t="error":n>=75?t="success":n>=25&&(t="warning"),(0,a.jsx)(L.A4,{value:r?"".concat(s," days left"):s.toString(),color:t})},K=e=>Array.from(new Set(e.filter(e=>Object.values(b.Us).includes(e.action_type)).map(e=>e.action_type))),G=e=>{let{value:t}=e,s=K(t).map(e=>S.rE.get(e));return(0,a.jsx)(L.WP,{value:s,cellState:{isExpanded:!0}})};var X=s(58452),Q=s(7426),J=s(57526),H=s(66548),$=s(45489),ee=s(42478);let et=e=>{var t;let{subjectRequest:s,...i}=e,l=(0,n.qY0)(),r=(0,n.qY0)(),d=(0,n.qY0)(),o=(0,n.qY0)(),{handleApproveRequest:c,handleDenyRequest:u,handleDeleteRequest:m,handleFinalizeRequest:x,isLoading:h}=(0,$.Z)({subjectRequest:s}),{data:y}=(0,Q.tB)({api_set:!1}),{data:v}=(0,ee.JE)(),j=null==y?void 0:null===(t=y.notifications)||void 0===t?void 0:t.send_request_completion_notification;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.Ugi,{...i,children:["pending"!==s.status?null:(0,a.jsx)(n.wpx,{title:"Approve","aria-label":"Approve",icon:(0,a.jsx)(n.PJP.MCw,{}),onClick:l.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-approve-btn",size:"small"}),"pending"!==s.status?null:(0,a.jsx)(n.wpx,{title:"Deny","aria-label":"Deny",icon:(0,a.jsx)(n.PJP.x8P,{}),onClick:r.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-deny-btn",size:"small"}),s.status!==b.q2.REQUIRES_MANUAL_FINALIZATION?null:(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_REVIEW],children:(0,a.jsx)(n.wpx,{title:"Finalize","aria-label":"Finalize",icon:(0,a.jsx)(n.PJP.Ok8,{}),onClick:o.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-finalize-btn",size:"small"})}),(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_DELETE],children:(0,a.jsx)(n.wpx,{title:"Delete","aria-label":"Delete",icon:(0,a.jsx)(n.PJP.ZNm,{size:14}),onClick:d.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-delete-btn",size:"small"})})]}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(J.Z,{isOpen:l.isOpen,isLoading:h,onClose:l.onClose,onApproveRequest:c,subjectRequest:s})}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(H.Z,{isOpen:r.isOpen,onClose:r.onClose,onDenyRequest:u})}),(0,a.jsx)(X.Z,{isOpen:d.isOpen,onClose:d.onClose,onConfirm:m,message:(0,a.jsx)(n.xvT,{children:"You are about to permanently delete the privacy request. Are you sure you would like to continue?"})}),(0,a.jsx)(X.Z,{isOpen:o.isOpen,onClose:o.onClose,onConfirm:()=>{x(),o.onClose()},title:"Finalize privacy request",message:(0,a.jsxs)(n.xvT,{children:['You are about to finalize this privacy request. The status will be updated to "Complete"',j&&(null==v?void 0:v.service_type)?" and the requesting user will be notified":"",". Would you like to continue?"]})})]})};(i=l||(l={})).STATUS="status",i.DAYS_LEFT="due_date",i.SOURCE="source",i.REQUEST_TYPE="request_type",i.SUBJECT_IDENTITY="subject_identity",i.TIME_RECEIVED="created_at",i.CREATED_BY="created_by",i.REVIEWER="reviewer",i.ID="id",i.ACTIONS="actions";let es=(0,z.Cl)(),ei=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return[es.accessor(e=>e.status,{id:"status",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(B,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Status",...e})}),es.accessor(e=>e.days_left,{id:"due_date",cell:e=>{let{row:t,getValue:s}=e;return(0,a.jsx)(V,{daysLeft:s(),timeframe:t.original.policy.execution_timeframe,status:t.original.status})},header:e=>(0,a.jsx)(L.Rr,{value:"Days left",...e})}),...e?[es.accessor(e=>e.source,{id:"source",cell:e=>e.getValue()?(0,a.jsx)(L.A4,{value:e.getValue()}):(0,a.jsx)(L.G3,{value:void 0}),header:e=>(0,a.jsx)(L.Rr,{value:"Source",...e}),enableSorting:!1})]:[],es.accessor(e=>e.policy.rules,{id:"request_type",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(G,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Request type",...e}),enableSorting:!1}),es.accessor(e=>{var t,s;return(null===(t=e.identity)||void 0===t?void 0:t.email.value)||(null===(s=e.identity)||void 0===s?void 0:s.phone_number.value)||""},{id:"subject_identity",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Subject identity",...e}),enableSorting:!1}),es.accessor(e=>e.created_at,{id:"created_at",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:(0,f.p6)(t())})},header:e=>(0,a.jsx)(L.Rr,{value:"Time received",...e})}),es.accessor(e=>{var t;return(null===(t=e.reviewer)||void 0===t?void 0:t.username)||""},{id:"reviewer",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Reviewed by",...e}),enableSorting:!1}),es.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Request ID",...e}),enableSorting:!1}),es.display({id:"actions",cell:e=>{let{row:t}=e;return(0,a.jsx)(et,{subjectRequest:t.original})},header:e=>(0,a.jsx)(L.Rr,{value:"Actions",...e}),meta:{disableRowClick:!0}})]},el=e=>{let t=(0,M.v9)(W.dp),s=(0,M.I0)();return{handleStatusChange:t=>{s((0,W.CI)(t)),e()},handleActionTypeChange:t=>{s((0,W.aM)(t)),e()},handleFromChange:t=>{s((0,W.su)(null==t?void 0:t.target.value)),e()},handleToChange:t=>{s((0,W.Ue)(null==t?void 0:t.target.value)),e()},handleClearAllFilters:()=>{s((0,W.Mk)()),e()},...t}};var ea=s(96718);let er=e=>{let{onClose:t,onFilterChange:s,...i}=e,{handleStatusChange:l,handleActionTypeChange:r,handleFromChange:d,handleToChange:o,handleClearAllFilters:c,from:u,to:p,status:m,action_type:x}=el(s);return(0,a.jsxs)(n.u_l,{onClose:t,size:"xl",...i,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{children:[(0,a.jsx)(n.xBx,{borderBottomWidth:1,borderBottomColor:"gray.200",children:"All Filters"}),(0,a.jsx)(n.olH,{}),(0,a.jsx)(n.fef,{py:4,sx:{"& label":{mb:0}},children:(0,a.jsxs)(n.Kqy,{gap:4,children:[(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",id:"request-date-range-label",children:"Date range"}),(0,a.jsxs)(n.Ugi,{gap:3,children:[(0,a.jsxs)(n.BZy,{size:"sm",flex:1,children:[(0,a.jsx)(n.UiE,{as:"label",htmlFor:"from-date",borderRadius:"md",children:"From"}),(0,a.jsx)(n.IIB,{type:"date",name:"From",value:u,max:p||void 0,onChange:d,borderRadius:"md",id:"from-date","aria-describedby":"request-date-range-label"})]}),(0,a.jsxs)(n.BZy,{size:"sm",flex:1,children:[(0,a.jsx)(n.UiE,{as:"label",htmlFor:"to-date",borderRadius:"md",children:"To"}),(0,a.jsx)(n.IIB,{type:"date",borderRadius:"md",name:"To",value:p,min:u||void 0,onChange:o,id:"to-date","aria-describedby":"request-date-range-label"})]})]})]}),(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",htmlFor:"request-status",children:"Status"}),(0,a.jsx)(ea.z,{id:"request-status",mode:"multiple",options:S.I3,value:m,onChange:l,"data-testid":"request-status-filter"})]}),(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",htmlFor:"request-action-type",children:"Request Type"}),(0,a.jsx)(ea.z,{id:"request-action-type",mode:"multiple",options:S.kN,value:x,onChange:r,"data-testid":"request-action-type-filter"})]})]})}),(0,a.jsxs)(n.mzw,{justifyContent:"space-between",children:[(0,a.jsx)(n.wpx,{type:"text",onClick:c,children:"Clear all"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:t,children:"Done"})]})]})]})};var en=s(36866);let ed=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,en.h)(e),{pageIndex:s,pageSize:i,updatePageIndex:l,updatePageSize:a,pageSizeOptions:r,showSizeChanger:n}=t,d=(0,c.useMemo)(()=>({current:s,pageSize:i,showSizeChanger:n,pageSizeOptions:r.map(String),onChange:l,onShowSizeChange:(e,t)=>{a(t)}}),[s,i,n,r,l,a]);return{...t,paginationProps:d}};var eo=s(812),ec=()=>{let e=(0,n.pmc)(),[t,{isFetching:s}]=(0,W.ZU)();return{downloadReport:async s=>{let i=await t(s);if(i.isError)e({status:"error",description:(0,eo.e$)(i.error,"A problem occurred while generating your privacy request report. Please try again.")});else{let t=document.createElement("a"),s=new Blob([i.data],{type:"text/csv"}),l=window.URL.createObjectURL(s);t.href=l,t.download="privacy-request-report.csv",t.click(),t.remove(),window.URL.revokeObjectURL(l),e({status:"success",description:"Successfully downloaded Privacy Request report."})}},isDownloadingReport:s}};let eu=e=>{let{...t}=e,{plus:s}=(0,u.hz)(),[i,l]=(0,D.v1)("search",D.Oi.withDefault("").withOptions({throttleMs:100})),r=(0,M.v9)(W.dp),d=(0,n.pmc)(),o=(0,h.useRouter)(),p=(0,M.I0)(),m=ed(),{pageIndex:x,pageSize:y,resetPagination:v}=m,{isOpen:j,onOpen:g,onClose:_}=(0,n.qY0)(),{data:f,isLoading:b,isFetching:q}=(0,W.QA)({...r,page:x,size:y,fuzzy_search_str:i}),{items:C,total:S}=(0,c.useMemo)(()=>f||{items:[],total:0,pages:0},[f]),{downloadReport:k}=ec(),E=(0,c.useCallback)(e=>{l(null!=e?e:""),v()},[v,l]),R=async()=>{let e;try{await k(r)}catch(t){e=t instanceof Error?t.message:"Unknown error occurred"}e&&d({description:"".concat(e),duration:5e3,status:"error"})},w=e=>{o.push("/privacy-requests/".concat(e))},T=(0,F.b7)({getCoreRowModel:(0,z.sC)(),data:C,columns:(0,c.useMemo)(()=>ei(s),[s]),getRowId:e=>"".concat(e.status,"-").concat(e.id),manualPagination:!0,columnResizeMode:"onChange"});return(0,a.jsxs)(n.xuv,{...t,children:[(0,a.jsxs)(L.Q$,{children:[(0,a.jsx)(L.HO,{globalFilter:i,setGlobalFilter:E,placeholder:"Search by request ID or identity value"}),(0,a.jsxs)(n.Ugi,{alignItems:"center",spacing:2,children:[(0,a.jsx)(n.wpx,{"data-testid":"filter-btn",onClick:g,children:"Filter"}),(0,a.jsx)(n.wpx,{"aria-label":"Export report","data-testid":"export-btn",icon:(0,a.jsx)(Z.nM,{ml:"1.5px"}),onClick:R})]}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(er,{isOpen:j,onClose:_,onFilterChange:v})})]}),b?(0,a.jsx)(n.xuv,{p:2,borderWidth:1,children:(0,a.jsx)(L.I4,{rowHeight:26,numRows:10})}):(0,a.jsxs)(n.jqI,{vertical:!0,gap:"middle",children:[(0,a.jsx)(L.ZK,{tableInstance:T,onRowClick:e=>w(e.id),onSort:e=>{if(!e){p((0,W.PS)());return}let{id:t,desc:s}=e;p((0,W.WR)(t)),p((0,W.iX)(s?"desc":"asc")),v()},loading:q}),(0,a.jsx)(n.B7X,{...m.paginationProps,showTotal:(e,t)=>"".concat(t[0],"-").concat(t[1]," of ").concat(e," items"),total:null!=S?S:0,align:"end"})]})]})};var ep=s(87361),em=s(46628),ex=s(32885),eh=s(34090),ey=s(55484),ev=s(40324);let ej=(e,t)=>null==t?void 0:t.find(t=>t.policy_key===e),eg=e=>{var t,s;if(!e)return ey.Ry().shape({policy_key:ey.Z_().required().label("Request type")});let i=e.custom_privacy_request_fields?Object.entries(e.custom_privacy_request_fields).map(e=>{let[t,s]=e;return{[t]:ey.Ry().shape({value:s.required&&!s.hidden?ey.Z_().required().label(s.label):ey.Z_().nullable()})}}).reduce((e,t)=>({...e,...t}),{}):{};return ey.Ry().shape({policy_key:ey.Z_().required().label("Request type"),identity:ey.Ry().shape({email:(null===(t=e.identity_inputs)||void 0===t?void 0:t.email)==="required"?ey.Z_().email().required().label("Email address"):ey.Z_().nullable(),phone_number:(null===(s=e.identity_inputs)||void 0===s?void 0:s.phone)==="required"?ey.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").required().label("Phone number"):ey.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").nullable()}),custom_privacy_request_fields:ey.Ry().shape(i)})};var e_=s(97181);let ef={is_verified:!1,policy_key:"",identity:{}},eb=e=>{let{identityInputs:t}=e;return t?(0,a.jsxs)(a.Fragment,{children:[t.email?(0,a.jsx)(ev.j0,{name:"identity.email",label:"User email address",isRequired:"required"===t.email,variant:"stacked"}):null,t.phone?(0,a.jsx)(ev.j0,{name:"identity.phone_number",label:"User phone number",isRequired:"required"===t.phone,variant:"stacked"}):null]}):null},eq=e=>{let{customFieldInputs:t}=e;if(!t)return null;let s=Object.entries(t);return(0,a.jsx)(a.Fragment,{children:s.map(e=>{let[t,s]=e;return(0,a.jsx)(ev.j0,{name:"custom_privacy_request_fields.".concat(t,".value"),label:s.label,isRequired:!!s.required,variant:"stacked"},t)})})},eC=e=>{let{onSubmit:t,onCancel:s,privacyCenterUrl:i}=e,{onCopy:l}=(0,n.VPI)(""),r=(0,n.pmc)();return(0,a.jsx)(eh.J9,{initialValues:{identity:{email:""}},onSubmit:e=>{l("".concat(i,"?email=").concat(encodeURIComponent(e.identity.email))),t(e),r({status:"success",description:"DSR Link Copied!"})},validationSchema:()=>ey.Ry().shape({identity:ey.Ry().shape({email:ey.Z_().email().required().label("Email Address")})}),children:e=>{let{dirty:t,isValid:i}=e;return(0,a.jsx)(eh.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(eb,{identityInputs:{email:"required"}}),(0,a.jsxs)("div",{className:"flex gap-4 self-end",children:[(0,a.jsx)(n.wpx,{onClick:s,children:"Cancel"}),(0,a.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!t||!i,"data-testid":"submit-btn",icon:(0,a.jsx)(n.xPt,{}),children:"Copy"})]})]})})}})};var eS=e=>{let{onSubmit:t,onCancel:s}=e,{data:i}=(0,W.xv)();return(0,a.jsx)(eh.J9,{initialValues:ef,onSubmit:t,validationSchema:()=>(0,ey.Vo)(e=>eg(ej(e.policy_key,null==i?void 0:i.actions))),children:e=>{var t;let{values:l,dirty:r,isValid:d,isSubmitting:o,setFieldValue:c}=e,u=ej(l.policy_key,null==i?void 0:i.actions);return(0,a.jsx)(eh.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(e_.d,{name:"policy_key",label:"Request type",options:null!==(t=null==i?void 0:i.actions.map(e=>({label:e.title,value:e.policy_key})))&&void 0!==t?t:[],onChange:e=>{let t=ej(e,null==i?void 0:i.actions);if(!(null==t?void 0:t.custom_privacy_request_fields)){c("custom_privacy_request_fields",void 0);return}c("custom_privacy_request_fields",Object.entries(t.custom_privacy_request_fields).map(e=>{let[t,s]=e;return{[t]:{label:s.label,value:s.default_value}}}).reduce((e,t)=>({...e,...t}),{}))},layout:"stacked",isRequired:!0}),(0,a.jsx)(eb,{identityInputs:null==u?void 0:u.identity_inputs}),(0,a.jsx)(eq,{customFieldInputs:null==u?void 0:u.custom_privacy_request_fields}),(0,a.jsx)(ev.Xl,{name:"is_verified",label:"I confirm that I have verified this user information"}),(0,a.jsxs)("div",{className:"flex gap-4 self-end",children:[(0,a.jsx)(n.wpx,{onClick:s,children:"Cancel"}),(0,a.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!l.is_verified||!r||!d,loading:o,"data-testid":"submit-btn",children:"Create"})]})]})})}})},ek=s(31883);let eE=e=>{let{isOpen:t,onClose:s}=e,[i]=(0,W.M6)(),l=(0,n.pmc)(),r=async e=>{let{is_verified:t,...a}=e,r=a.custom_privacy_request_fields?Object.entries(a.custom_privacy_request_fields).map(e=>{let[t,s]=e;return s.value?{[t]:s}:{}}).reduce((e,t)=>({...e,...t}),{}):void 0,n={...a,custom_privacy_request_fields:r},d=await i([n]);(0,ek.D4)(d)?l((0,em.Vo)((0,eo.e$)(d.error,"An error occurred while creating this privacy request. Please try again"))):l((0,em.t5)("Privacy request created")),s()};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"2xl",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{"data-testid":"submit-request-modal",maxHeight:"80%",overflowY:"auto",children:[(0,a.jsx)(n.xBx,{children:"Create privacy request"}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)(n.Kqy,{spacing:4,children:[(0,a.jsx)(ep.Z,{title:"Warning: You are bypassing identity verification",text:"You are bypassing Fides' built-in identity verification step. Please ensure that you are only entering information on behalf of a verified and approved user's privacy request."}),(0,a.jsx)(eS,{onSubmit:r,onCancel:()=>s()})]})})]})]})},eR=e=>{let{isOpen:t,onClose:s,privacyCenterUrl:i}=e;return(0,a.jsxs)(n.u_l,{size:"md",isOpen:t,onClose:s,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{children:[(0,a.jsx)(n.xBx,{children:"Create a Privacy Request Link"}),(0,a.jsxs)(n.fef,{children:[(0,a.jsx)(n.Kqy,{spacing:4}),(0,a.jsx)(eC,{privacyCenterUrl:i,onSubmit:s,onCancel:s})]})]})]})};var ew=()=>{var e;let[t,s]=(0,c.useState)("closed"),i=()=>s("closed"),{data:l}=(0,ex.Vh)(),r=(null!==(e=null==l?void 0:l.privacy_center_url)&&void 0!==e?e:"").trim(),d=r.length>0;return(0,a.jsxs)(a.Fragment,{children:[d?(0,a.jsx)(eR,{isOpen:"create-link"===t,onClose:i,privacyCenterUrl:r}):null,(0,a.jsx)(eE,{isOpen:"submit-request"===t,onClose:i}),(0,a.jsx)(n.S0p.Button,{type:"primary",onClick:()=>s("submit-request"),"data-testid":"submit-request-btn",menu:{items:[{label:"Create request link",key:"create-request-link",icon:(0,a.jsx)(n.xPt,{}),onClick:()=>s("create-link"),disabled:!d}]},icon:(0,a.jsx)(n.v4q,{}),children:"Create request"})]})},eT=s(58754),eI=s(17245);let eA=()=>{let{errorAlert:e}=(0,eI.VY)(),[t,s]=(0,c.useState)(!1),[i,l]=(0,c.useState)({count:0,total:0}),[r,d]=(0,c.useState)(!0),o=b.q2.ERROR,{data:u}=(0,W.tE)(),{data:p}=(0,W.QA)({status:[o]},{pollingInterval:15e3,skip:r});return(0,c.useEffect)(()=>{d(!(u&&u.notify_after_failures>0))},[u]),(0,c.useEffect)(()=>{let e=(null==p?void 0:p.total)||0;e>=((null==u?void 0:u.notify_after_failures)||0)&&e>i.total?(l({count:e-i.total,total:e}),s(!0)):s(!1)},[null==p?void 0:p.total,null==u?void 0:u.notify_after_failures,i.total]),{processing:()=>{t&&e((0,a.jsxs)(n.xuv,{children:["DSR automation has failed for"," ",(0,a.jsx)(n.xvT,{as:"span",fontWeight:"semibold",children:i.count})," ","privacy request(s). Please review the event log for further details."]}),void 0,{containerStyle:{maxWidth:"max-content"},duration:null,id:"dsrErrorAlert"})}}};var eN=s(72281);let eP=o()(()=>s.e(9676).then(s.bind(s,59676)),{loadableGenerated:{webpack:()=>[59676]},loading:()=>(0,a.jsx)("div",{children:"Loading..."})});var eO=()=>{let{processing:e}=eA(),{plus:t}=(0,u.hz)(),{activeTab:s,handleTabChange:i,availableTabs:l}=(0,eN.d)();(0,c.useEffect)(()=>{e()},[e]);let r=(0,c.useMemo)(()=>{let e=[];return l.request&&e.push({key:eN.G.REQUEST,label:"Request",children:(0,a.jsx)(eu,{})}),l.manualTask&&e.push({key:eN.G.MANUAL_TASK,label:"Manual tasks",children:(0,a.jsx)(U,{})}),e},[l.manualTask,l.request]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eT.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests"}],rightContent:(0,a.jsxs)(n.vyj,{children:[t&&(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_CREATE],children:(0,a.jsx)(ew,{})}),(0,a.jsx)(eP,{})]}),"data-testid":"privacy-requests"}),(0,a.jsx)(n.A5g,{activeKey:s,onChange:i,items:r})]})},eU=()=>(0,a.jsx)(r.Z,{title:"Privacy Requests",children:(0,a.jsx)(eO,{})})},31883:function(e,t,s){"use strict";s.d(t,{Bw:function(){return i.Bw},D4:function(){return i.D4}});var i=s(19043)}},function(e){e.O(0,[431,8765,3550,4558,2888,9774,179],function(){return e(e.s=1565)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2369],{1565:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests",function(){return s(19509)}])},35287:function(e,t,s){"use strict";var i=s(24246),l=s(96306),a=s(88038),r=s.n(a);s(27378),t.Z=e=>{let{children:t,title:s,mainProps:a}=e;return(0,i.jsxs)(l.kCb,{"data-testid":s,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,i.jsxs)(r(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",s]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsx)(l.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...a,children:t})]})}},87361:function(e,t,s){"use strict";var i=s(24246),l=s(96306);t.Z=e=>{let{title:t,text:s,onClose:a}=e;return(0,i.jsxs)(l.Ugi,{backgroundColor:"gray.50",border:"1px solid",borderRadius:"md",justifyContent:"space-between",py:4,pr:6,pl:3,"data-testid":"empty-state",gap:2,position:"relative",children:[a&&(0,i.jsx)(l.Two,{boxSize:5,position:"absolute",right:3,top:3,zIndex:1,cursor:"pointer",p:1,onClick:a}),(0,i.jsx)(l.iid,{alignSelf:"start",color:"minos",mt:.5,flexGrow:0}),(0,i.jsxs)(l.kCb,{direction:"column",gap:2,flexGrow:1,children:[(0,i.jsx)(l.X6q,{fontSize:"md",children:t}),(0,i.jsx)(l.xvT,{fontSize:"sm",color:"gray.600",lineHeight:"5",children:s})]})]})}},96718:function(e,t,s){"use strict";s.d(t,{z:function(){return a}});var i=s(24246),l=s(96306);let a=e=>{let{...t}=e;return(0,i.jsx)(l.WPr,{defaultActiveFirstOption:!1,maxTagCount:"responsive",allowClear:!0,styles:t.mode?void 0:{popup:{root:{width:"auto",minWidth:"200px"}}},className:"w-auto","data-testid":"filter-select",...t})}},97181:function(e,t,s){"use strict";s.d(t,{d:function(){return o}});var i=s(24246),l=s(96306),a=s(34090),r=s(27378),n=s(46238),d=s(40324);let o=e=>{let{name:t,label:s,labelProps:o,tooltip:c,isRequired:u,layout:p="inline",helperText:m,...x}=e,[h,v,{setValue:y}]=(0,a.U$)(t),j=!!(v.touched&&v.error),[g,_]=(0,r.useState)("");h.value||"tags"!==x.mode&&"multiple"!==x.mode||(h.value=[]),"tags"===x.mode&&"string"==typeof h.value&&(h.value=[h.value]);let f="tags"===x.mode?(e,t)=>e?e.value!==g||h.value.includes(g)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(g,'"'):void 0:x.optionRender||void 0,b=e=>{_(e),x.onSearch&&x.onSearch(e)},q=(e,t)=>{y(e),x.onChange&&x.onChange(e,t)};return"inline"===p?(0,i.jsx)(l.NIc,{isInvalid:j,isRequired:u,children:(0,i.jsxs)(l.rjZ,{templateColumns:s?"1fr 3fr":"1fr",children:[s?(0,i.jsx)(d.__,{htmlFor:x.id||t,...o,children:s}):null,(0,i.jsxs)(l.jqI,{align:"center",children:[(0,i.jsxs)(l.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(l.WPr,{...h,id:x.id||t,"data-testid":"controlled-select-".concat(h.name),...x,optionRender:f,onSearch:"tags"===x.mode?b:void 0,onChange:q,value:h.value||void 0,status:j?"error":void 0}),m&&(0,i.jsx)(l.Q6r,{children:m}),(0,i.jsx)(d.Bc,{isInvalid:j,message:v.error,fieldName:h.name})]}),(0,i.jsx)(n.b,{label:c,className:j?"mt-2 self-start":void 0})]})]})}):(0,i.jsx)(l.NIc,{isInvalid:j,isRequired:u,children:(0,i.jsxs)(l.gCW,{alignItems:"start",children:[(0,i.jsxs)(l.jqI,{align:"center",children:[s?(0,i.jsx)(d.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...o,children:s}):null,(0,i.jsx)(n.b,{label:c})]}),(0,i.jsx)(l.WPr,{...h,id:x.id||t,"data-testid":"controlled-select-".concat(h.name),...x,optionRender:f,onSearch:"tags"===x.mode?b:void 0,onChange:q,value:h.value||void 0,status:j?"error":void 0}),m&&(0,i.jsx)(l.Q6r,{style:{marginTop:0},children:m}),(0,i.jsx)(d.Bc,{isInvalid:j,message:v.error,fieldName:h.name})]})})}},71784:function(e,t,s){"use strict";s.d(t,{DE:function(){return n},I3:function(){return l},kN:function(){return r},rE:function(){return a}});var i=s(21910);let l=[...new Map([[i.q2.APPROVED,"Approved"],[i.q2.AWAITING_EMAIL_SEND,"Awaiting email send"],[i.q2.CANCELED,"Canceled"],[i.q2.COMPLETE,"Completed"],[i.q2.DENIED,"Denied"],[i.q2.ERROR,"Error"],[i.q2.IN_PROCESSING,"In progress"],[i.q2.PENDING,"New"],[i.q2.PAUSED,"Paused"],[i.q2.IDENTITY_UNVERIFIED,"Unverified"],[i.q2.REQUIRES_INPUT,"Requires input"],[i.q2.REQUIRES_MANUAL_FINALIZATION,"Requires finalization"]])].map(e=>{let[t,s]=e;return{label:s,value:t}}),a=new Map([[i.Us.ACCESS,"Access"],[i.Us.ERASURE,"Erasure"],[i.Us.CONSENT,"Consent"],[i.Us.UPDATE,"Update"]]),r=[...a].map(e=>{let[t,s]=e;return{label:s,value:t}}),n={local:"local",s3:"s3",gcs:"gcs"}},19509:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return ez}});var i,l,a=s(24246),r=s(35287),n=s(96306),d=s(65218),o=s.n(d),c=s(27378),u=s(25980),p=s(19904),m=s(56141),x=s.n(m),h=s(86677),v=s(16134),y=s(91317),j=s(18225),g=s(77830),_=s(28407),f=s(16394),b=s(21910),q=s(32735),C=s(59969),S=s(71784),k=s(45116);let E=e=>{let{label:t,children:s}=e;return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"shrink-0 grow-0 basis-1/3 pr-2",children:(0,a.jsxs)(n.AntTypography.Text,{className:"text-gray-700",children:[t,":"]})}),(0,a.jsx)("div",{className:"min-w-0 shrink grow text-gray-600",children:s})]})},R=e=>{let{task:t}=e,s=t.request_type===b.k6.ACCESS?b.Us.ACCESS:b.Us.ERASURE,i=S.rE.get(s)||t.request_type;return(0,a.jsxs)("div",{className:"flex flex-col space-y-3","data-testid":"task-details-container",children:[(0,a.jsx)(E,{label:"Name",children:(0,a.jsx)(n.AntTypography.Text,{children:t.name})}),(0,a.jsx)(E,{label:"Description",children:(0,a.jsx)(n.AntTypography.Text,{children:t.description||"-"})}),(0,a.jsx)(E,{label:"Request Type",children:(0,a.jsx)(n.AntTypography.Text,{children:i})}),(0,a.jsx)(E,{label:"Assigned To",children:t.assigned_users&&t.assigned_users.length>0?(0,a.jsx)("div",{className:"flex flex-wrap gap-1","data-testid":"assigned-users-tags",children:t.assigned_users.map(e=>(0,a.jsx)(n.j8w,{"data-testid":"assigned-user-tag-".concat(e.id),children:"".concat(e.first_name||""," ").concat(e.last_name||"").trim()||e.email_address||"Unknown User"},e.id))}):(0,a.jsx)(n.AntTypography.Text,{children:"No one assigned"})}),t.privacy_request.subject_identities&&Object.keys(t.privacy_request.subject_identities).length>0?(0,a.jsx)(E,{label:"Subject identities",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:Object.entries(t.privacy_request.subject_identities).map(e=>{let[t,s]=e;return(0,a.jsxs)(n.j8w,{children:[t,": ",String(s)]},t)})})}):null,t.privacy_request.custom_fields&&Object.keys(t.privacy_request.custom_fields).length>0?(0,a.jsx)(E,{label:"Custom fields",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:Object.entries(t.privacy_request.custom_fields).filter(e=>{let[,t]=e;return t}).map(e=>{let[t,s]=e;return(0,a.jsxs)(n.j8w,{children:[t,": ",String(s)]},t)})})}):null]})},w=e=>{let{isOpen:t,onClose:s,task:i}=e,[l,{isLoading:r}]=(0,k.HP)(),[d,o]=(0,c.useState)(""),[u,p]=(0,c.useState)(!1),[m,x]=(0,c.useState)(""),[h,v]=(0,c.useState)([]),y=async()=>{try{await l({privacy_request_id:i.privacy_request.id,manual_field_id:i.manual_field_id,field_value:i.input_type===b.PF.TEXT?d:i.input_type===b.PF.CHECKBOX?u.toString():void 0,comment_text:m||void 0,attachments:h.length>0?h.map(e=>e.originFileObj).filter(Boolean):void 0}).unwrap(),o(""),p(!1),x(""),v([]),s()}catch(e){n.Pg3.error("Failed to complete task. Please try again.")}};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"700px",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{maxWidth:"700px","data-testid":"complete-task-modal",children:[(0,a.jsx)(n.xBx,{children:(0,a.jsx)(n.AntTypography.Title,{level:4,children:"Complete Task"})}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-6",children:[(0,a.jsx)("div",{children:(0,a.jsx)(R,{task:i})}),(0,a.jsx)(n.htM,{}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(()=>{switch(i.input_type){case b.PF.TEXT:return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Subject data"}),(0,a.jsx)(n.uFc.TextArea,{value:d,onChange:e=>o(e.target.value),placeholder:"Enter your response...",rows:4,"data-testid":"complete-modal-text-input"})]});case b.PF.CHECKBOX:return(0,a.jsx)("div",{className:"space-y-2",children:(0,a.jsx)(n.E_O,{checked:u,onChange:e=>p(e.target.checked),"data-testid":"complete-modal-checkbox",children:"The task has been completed"})});default:return(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Upload Files"}),(0,a.jsx)("div",{children:(0,a.jsx)(n.pMK,{fileList:h,onChange:e=>{let{fileList:t}=e;return v(t)},beforeUpload:()=>!1,"data-testid":"complete-modal-file-upload",multiple:!0,children:(0,a.jsx)(n.wpx,{"data-testid":"complete-modal-upload-button",children:"Click to Upload"})})})]})}})(),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Internal comment"}),(0,a.jsx)(n.uFc.TextArea,{value:m,onChange:e=>x(e.target.value),placeholder:"Add any additional comments...",rows:3,"data-testid":"complete-modal-comment-input"})]})]})})]})}),(0,a.jsx)(n.mzw,{children:(0,a.jsxs)(n.vyj,{children:[(0,a.jsx)(n.wpx,{onClick:()=>{o(""),p(!1),x(""),v([]),s()},disabled:r,"data-testid":"complete-modal-cancel-button",children:"Cancel"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:y,loading:r,disabled:!(()=>{switch(i.input_type){case b.PF.TEXT:return d.trim().length>0;case b.PF.CHECKBOX:return u;default:return h.length>0}})(),"data-testid":"complete-modal-save-button",children:"Save"})]})})]})]})},T=e=>{let{isOpen:t,onClose:s,task:i}=e,[l,{isLoading:r}]=(0,k.DA)(),[d,o]=(0,c.useState)(""),u=async()=>{try{await l({privacy_request_id:i.privacy_request.id,manual_field_id:i.manual_field_id,skip_reason:d}).unwrap(),o(""),s()}catch(e){n.Pg3.error("Failed to skip task. Please try again.")}};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"700px",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{maxWidth:"700px","data-testid":"skip-task-modal",children:[(0,a.jsx)(n.xBx,{children:(0,a.jsx)(n.AntTypography.Title,{level:4,children:"Skip Task"})}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)("div",{className:"flex flex-col space-y-6",children:[(0,a.jsx)("div",{children:(0,a.jsx)(R,{task:i})}),(0,a.jsx)(n.htM,{}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"flex flex-col space-y-4",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:"Reason for skipping (Required)"}),(0,a.jsx)(n.uFc.TextArea,{value:d,onChange:e=>o(e.target.value),placeholder:"Please provide a reason for skipping this task...",rows:4,"data-testid":"skip-modal-comment-input"})]})})})]})}),(0,a.jsx)(n.mzw,{children:(0,a.jsxs)(n.vyj,{children:[(0,a.jsx)(n.wpx,{onClick:()=>{o(""),s()},disabled:r,"data-testid":"skip-modal-cancel-button",children:"Cancel"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:u,loading:r,disabled:!d.trim(),danger:!0,"data-testid":"skip-modal-skip-button",children:"Skip Task"})]})})]})]})},I=e=>{let{task:t}=e,s=(0,h.useRouter)(),{isOpen:i,onOpen:l,onClose:r}=(0,n.qY0)(),{isOpen:d,onOpen:o,onClose:c}=(0,n.qY0)(),u=(0,p.Tg)([b.Sh.PRIVACY_REQUEST_READ]);if(t.status!==b.OS.NEW)return null;let m=[{key:"skip",label:"Skip task",onClick:o}];return u&&m.push({key:"go-to-request",label:"Go to request",onClick:()=>{s.push({pathname:g.ld,query:{id:t.privacy_request.id}})}}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.vyj,{size:"small",children:[(0,a.jsx)(n.wpx,{type:"default",onClick:l,size:"small",children:"Complete"}),(0,a.jsx)(n.S0p,{menu:{items:m},trigger:["click"],placement:"bottomRight",overlayStyle:{minWidth:120},children:(0,a.jsx)(n.wpx,{size:"small",icon:(0,a.jsx)(n.PJP.r43,{}),"aria-label":"More actions"})})]}),(0,a.jsx)(w,{isOpen:i,onClose:r,task:t}),(0,a.jsx)(T,{isOpen:d,onClose:c,task:t})]})},A={[b.OS.NEW]:{color:"info",label:"New"},[b.OS.COMPLETED]:{color:"success",label:"Completed"},[b.OS.SKIPPED]:{color:"marble",label:"Skipped"}},N=[{text:"New",value:b.OS.NEW},{text:"Completed",value:b.OS.COMPLETED},{text:"Skipped",value:b.OS.SKIPPED}],P=[{text:"Access",value:b.k6.ACCESS},{text:"Erasure",value:b.k6.ERASURE}],O=e=>{let{systemFilters:t,userFilters:s,onUserClick:i,currentFilters:l,hasAccessToAllTasks:r}=e,d=[{title:"Task name",dataIndex:"name",key:"name",minWidth:100,render:e=>(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:e},children:e})},{title:"Status",dataIndex:"status",key:"status",width:110,render:e=>(0,a.jsx)(n.j8w,{color:A[e].color,"data-testid":"manual-task-status-tag",children:A[e].label}),filters:N,filterMultiple:!1},{title:"System",dataIndex:["system","name"],key:"system_name",minWidth:100,render:e=>(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:e},children:e}),filters:t,filterMultiple:!1},{title:"Type",dataIndex:"request_type",key:"request_type",width:80,render:e=>{let t=e===b.k6.ACCESS?b.Us.ACCESS:b.Us.ERASURE,s=S.rE.get(t)||e;return(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:s},children:s})},filters:P,filterMultiple:!1},{title:"Assigned to",dataIndex:"assigned_users",key:"assigned_users",minWidth:100,render:e=>{if(!e||0===e.length)return(0,a.jsx)(n.AntTypography.Text,{children:"-"});let t=e.map(e=>({label:(0,f.gJ)(e),value:e.id})),s=e.map(e=>e.id);return(0,a.jsx)(n.d3V,{value:s,options:t,readonly:!0,onTagClick:e=>i(String(e))})},filters:s,filterMultiple:!1,defaultFilteredValue:l.assignedUsers?[l.assignedUsers]:void 0},{title:"Days left",dataIndex:["privacy_request","days_left"],key:"days_left",width:90,render:e=>(0,a.jsx)(C.Z,{daysLeft:e||0,includeText:!1,status:b.q2.PENDING})},{title:"Subject identity",dataIndex:["privacy_request","subject_identities"],key:"subject_identities",minWidth:120,render:e=>{if(!e)return(0,a.jsx)(n.AntTypography.Text,{children:"-"});let t=e.email||e.phone_number||"";return(0,a.jsx)(n.AntTypography.Text,{ellipsis:{tooltip:t},children:t})}},{title:"Actions",key:"actions",width:145,render:(e,t)=>(0,a.jsx)(I,{task:t})}];return r?d:d.filter(e=>"assigned_users"!==e.key)},U=()=>{let e=(0,h.useRouter)(),t=(0,v.C)(y.dy),[s,i]=(0,c.useState)(1),[l,r]=(0,c.useState)(25),d=(0,p.Tg)([b.Sh.MANUAL_FIELD_READ_ALL]),o=e.query.privacy_request_id||void 0,u=(0,c.useMemo)(()=>{let e={};return(null==t?void 0:t.id)&&!o&&(e.assignedUsers=t.id),o&&"string"==typeof o&&(e.privacyRequestId=o),e},[null==t?void 0:t.id,o]),[m,C]=(0,c.useState)(u),{data:S,isLoading:E,isFetching:R}=(0,k.Ym)({page:s,size:l,status:m.status,systemName:m.systemName,requestType:m.requestType,assignedUserId:m.assignedUsers,privacyRequestId:m.privacyRequestId}),{data:w}=(0,k.Ym)({page:1,size:1}),{items:T,total:I}=(0,c.useMemo)(()=>S||{items:[],total:0,pages:0,filter_options:{assigned_users:[],systems:[]}},[S]),A=(0,c.useMemo)(()=>(null==w?void 0:w.filter_options)||{assigned_users:[],systems:[]},[w]),N=O({systemFilters:(0,c.useMemo)(()=>{var e;return(null==A?void 0:null===(e=A.systems)||void 0===e?void 0:e.map(e=>({text:e.name,value:e.name})))||[]},[null==A?void 0:A.systems]),userFilters:(0,c.useMemo)(()=>{var e;let s=(null==A?void 0:null===(e=A.assigned_users)||void 0===e?void 0:e.map(e=>({text:(0,f.gJ)(e),value:e.id})))||[];return(null==t?void 0:t.id)&&!s.some(e=>e.value===t.id)&&s.push({text:(0,f.gJ)(t,{fallbackToId:!0}),value:t.id}),s},[null==A?void 0:A.assigned_users,t]),onUserClick:t=>{e.push({pathname:g.fw,query:{id:t}})},currentFilters:m,hasAccessToAllTasks:d}),P=(0,c.useMemo)(()=>x()(m,u),[m,u]);return E?(0,a.jsx)(j.Z,{}):(0,a.jsxs)("div",{className:"mt-2 space-y-4",children:[(0,a.jsx)(n.kCb,{gap:3,align:"center",className:"mb-4",children:(0,a.jsx)(_.H,{globalFilter:m.privacyRequestId||"",setGlobalFilter:e=>{let t={...m};e&&e.trim()?t.privacyRequestId=e.trim():delete t.privacyRequestId,C(t),i(1)},placeholder:"Search by privacy request ID",testid:"privacy-request-id-filter"})}),(0,a.jsx)(n.V5H,{columns:N,dataSource:T,rowKey:e=>"".concat(e.privacy_request.id,"-").concat(e.manual_field_id),pagination:{current:s,pageSize:l,pageSizeOptions:q.VZ,total:I||0,showTotal:(e,t)=>"".concat(t[0],"-").concat(t[1]," of ").concat(e," items"),onChange:(e,t)=>{i(e),t!==l&&(r(t),i(1))}},onChange:(e,t)=>{let s={privacyRequestId:m.privacyRequestId};t.status&&([s.status]=t.status),t.system_name&&([s.systemName]=t.system_name),t.request_type&&([s.requestType]=t.request_type),t.assigned_users&&([s.assignedUsers]=t.assigned_users),C(s),i(1)},locale:{emptyText:P?(0,a.jsx)("div",{"data-testid":"empty-state-current-user",className:"my-4",children:(0,a.jsxs)(n.AntTypography.Paragraph,{children:["You have no tasks assigned."," ",d&&(0,a.jsx)("span",{children:'You can modify the "Assigned to" column filter to view tasks assigned to other users.'})]})}):(0,a.jsx)("div",{"data-testid":"empty-state",className:"my-4",children:"No results found."})},loading:E||R,scroll:{scrollToFirstRowOnChange:!0},tableLayout:"fixed",className:"[&_th]:!break-normal"})]})};var z=s(59003),F=s(92222),D=s(40431),M=s(16125),Z=s(14048),L=s(47935),W=s(90867);let Y={approved:{colorScheme:"success",label:"Approved"},complete:{label:"Completed",colorScheme:"success"},awaiting_email_send:{label:"Awaiting Email Send",colorScheme:"marble"},denied:{label:"Denied",colorScheme:"warning"},canceled:{label:"Canceled",colorScheme:"marble"},error:{label:"Error",colorScheme:"error"},in_processing:{label:"In Progress",colorScheme:"caution"},paused:{label:"Paused",colorScheme:"marble"},pending:{label:"New",colorScheme:"info"},identity_unverified:{label:"Unverified",colorScheme:"marble"},requires_input:{colorScheme:"minos",label:"Requires Input"},requires_manual_finalization:{colorScheme:"minos",label:"Requires Finalization"}},B=e=>{let{value:t}=e;return(0,a.jsx)(L.A4,{color:Y[t].colorScheme,value:Y[t].label,"data-testid":"request-status-badge"})},V=e=>{let t,{daysLeft:s,timeframe:i=45,status:l,includeText:r=!1}=e;if(null==s||l===b.q2.COMPLETE||l===b.q2.CANCELED||l===b.q2.DENIED||l===b.q2.IDENTITY_UNVERIFIED)return null;let n=100*s/i;return n<25?t="error":n>=75?t="success":n>=25&&(t="warning"),(0,a.jsx)(L.A4,{value:r?"".concat(s," days left"):s.toString(),color:t})},K=e=>Array.from(new Set(e.filter(e=>Object.values(b.Us).includes(e.action_type)).map(e=>e.action_type))),G=e=>{let{value:t}=e,s=K(t).map(e=>S.rE.get(e));return(0,a.jsx)(L.WP,{value:s,cellState:{isExpanded:!0}})};var Q=s(58452),X=s(7426),J=s(57526),H=s(66548),$=s(45489),ee=s(42478);let et=e=>{var t;let{subjectRequest:s,...i}=e,l=(0,n.qY0)(),r=(0,n.qY0)(),d=(0,n.qY0)(),o=(0,n.qY0)(),{handleApproveRequest:c,handleDenyRequest:u,handleDeleteRequest:m,handleFinalizeRequest:x,isLoading:h}=(0,$.Z)({subjectRequest:s}),{data:v}=(0,X.tB)({api_set:!1}),{data:y}=(0,ee.JE)(),j=null==v?void 0:null===(t=v.notifications)||void 0===t?void 0:t.send_request_completion_notification;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.Ugi,{...i,children:["pending"!==s.status?null:(0,a.jsx)(n.wpx,{title:"Approve","aria-label":"Approve",icon:(0,a.jsx)(n.PJP.MCw,{}),onClick:l.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-approve-btn",size:"small"}),"pending"!==s.status?null:(0,a.jsx)(n.wpx,{title:"Deny","aria-label":"Deny",icon:(0,a.jsx)(n.PJP.x8P,{}),onClick:r.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-deny-btn",size:"small"}),s.status!==b.q2.REQUIRES_MANUAL_FINALIZATION?null:(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_REVIEW],children:(0,a.jsx)(n.wpx,{title:"Finalize","aria-label":"Finalize",icon:(0,a.jsx)(n.PJP.Ok8,{}),onClick:o.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-finalize-btn",size:"small"})}),(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_DELETE],children:(0,a.jsx)(n.wpx,{title:"Delete","aria-label":"Delete",icon:(0,a.jsx)(n.PJP.ZNm,{size:14}),onClick:d.onOpen,loading:h,disabled:h,"data-testid":"privacy-request-delete-btn",size:"small"})})]}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(J.Z,{isOpen:l.isOpen,isLoading:h,onClose:l.onClose,onApproveRequest:c,subjectRequest:s})}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(H.Z,{isOpen:r.isOpen,onClose:r.onClose,onDenyRequest:u})}),(0,a.jsx)(Q.Z,{isOpen:d.isOpen,onClose:d.onClose,onConfirm:m,message:(0,a.jsx)(n.xvT,{children:"You are about to permanently delete the privacy request. Are you sure you would like to continue?"})}),(0,a.jsx)(Q.Z,{isOpen:o.isOpen,onClose:o.onClose,onConfirm:()=>{x(),o.onClose()},title:"Finalize privacy request",message:(0,a.jsxs)(n.xvT,{children:['You are about to finalize this privacy request. The status will be updated to "Complete"',j&&(null==y?void 0:y.service_type)?" and the requesting user will be notified":"",". Would you like to continue?"]})})]})};(i=l||(l={})).STATUS="status",i.DAYS_LEFT="due_date",i.SOURCE="source",i.REQUEST_TYPE="request_type",i.SUBJECT_IDENTITY="subject_identity",i.TIME_RECEIVED="created_at",i.CREATED_BY="created_by",i.REVIEWER="reviewer",i.ID="id",i.LOCATION="location",i.ACTIONS="actions";let es=(0,F.Cl)(),ei=()=>[es.accessor(e=>e.status,{id:"status",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(B,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Status",...e}),size:120}),es.accessor(e=>e.days_left,{id:"due_date",cell:e=>{let{row:t,getValue:s}=e;return(0,a.jsx)(V,{daysLeft:s(),timeframe:t.original.policy.execution_timeframe,status:t.original.status})},header:e=>(0,a.jsx)(L.Rr,{value:"Days left",...e}),size:80}),es.accessor(e=>e.source,{id:"source",cell:e=>e.getValue()?(0,a.jsx)(L.A4,{value:e.getValue()}):(0,a.jsx)(L.G3,{value:void 0}),header:e=>(0,a.jsx)(L.Rr,{value:"Source",...e}),enableSorting:!1}),es.accessor(e=>e.policy.rules,{id:"request_type",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(G,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Request type",...e}),enableSorting:!1,size:100}),es.accessor(e=>{var t,s;return(null===(t=e.identity)||void 0===t?void 0:t.email.value)||(null===(s=e.identity)||void 0===s?void 0:s.phone_number.value)||""},{id:"subject_identity",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Subject identity",...e}),enableSorting:!1}),es.accessor(e=>e.created_at,{id:"created_at",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:(0,f.p6)(t())})},header:e=>(0,a.jsx)(L.Rr,{value:"Time received",...e}),size:120}),es.accessor(e=>{var t;return(null===(t=e.reviewer)||void 0===t?void 0:t.username)||""},{id:"reviewer",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Reviewed by",...e}),enableSorting:!1}),es.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:t}=e;return(0,a.jsx)(L.G3,{value:t()})},header:e=>(0,a.jsx)(L.Rr,{value:"Request ID",...e}),enableSorting:!1}),es.accessor(e=>e.location,{id:"location",cell:e=>{let{getValue:t}=e,s=t(),i=s?(0,n.QCN)(s):void 0,l=i?(0,n.c1K)({isoEntry:i,showFlag:!0}):s;return(0,a.jsx)(L.G3,{value:l})},header:e=>(0,a.jsx)(L.Rr,{value:"Location",...e}),enableSorting:!1}),es.display({id:"actions",cell:e=>{let{row:t}=e;return(0,a.jsx)(et,{subjectRequest:t.original})},header:e=>(0,a.jsx)(L.Rr,{value:"Actions",...e}),meta:{disableRowClick:!0}})],el=e=>{let t=(0,M.v9)(W.dp),s=(0,M.I0)();return{handleStatusChange:t=>{s((0,W.CI)(t)),e()},handleActionTypeChange:t=>{s((0,W.aM)(t)),e()},handleFromChange:t=>{s((0,W.su)(null==t?void 0:t.target.value)),e()},handleToChange:t=>{s((0,W.Ue)(null==t?void 0:t.target.value)),e()},handleClearAllFilters:()=>{s((0,W.Mk)()),e()},...t}};var ea=s(96718);let er=e=>{let{onClose:t,onFilterChange:s,...i}=e,{handleStatusChange:l,handleActionTypeChange:r,handleFromChange:d,handleToChange:o,handleClearAllFilters:c,from:u,to:p,status:m,action_type:x}=el(s);return(0,a.jsxs)(n.u_l,{onClose:t,size:"xl",...i,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{children:[(0,a.jsx)(n.xBx,{borderBottomWidth:1,borderBottomColor:"gray.200",children:"All Filters"}),(0,a.jsx)(n.olH,{}),(0,a.jsx)(n.fef,{py:4,sx:{"& label":{mb:0}},children:(0,a.jsxs)(n.Kqy,{gap:4,children:[(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",id:"request-date-range-label",children:"Date range"}),(0,a.jsxs)(n.Ugi,{gap:3,children:[(0,a.jsxs)(n.BZy,{size:"sm",flex:1,children:[(0,a.jsx)(n.UiE,{as:"label",htmlFor:"from-date",borderRadius:"md",children:"From"}),(0,a.jsx)(n.IIB,{type:"date",name:"From",value:u,max:p||void 0,onChange:d,borderRadius:"md",id:"from-date","aria-describedby":"request-date-range-label"})]}),(0,a.jsxs)(n.BZy,{size:"sm",flex:1,children:[(0,a.jsx)(n.UiE,{as:"label",htmlFor:"to-date",borderRadius:"md",children:"To"}),(0,a.jsx)(n.IIB,{type:"date",borderRadius:"md",name:"To",value:p,min:u||void 0,onChange:o,id:"to-date","aria-describedby":"request-date-range-label"})]})]})]}),(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",htmlFor:"request-status",children:"Status"}),(0,a.jsx)(ea.z,{id:"request-status",mode:"multiple",options:S.I3,value:m,onChange:l,"data-testid":"request-status-filter"})]}),(0,a.jsxs)(n.Kqy,{children:[(0,a.jsx)(n.lXp,{size:"md",htmlFor:"request-action-type",children:"Request Type"}),(0,a.jsx)(ea.z,{id:"request-action-type",mode:"multiple",options:S.kN,value:x,onChange:r,"data-testid":"request-action-type-filter"})]})]})}),(0,a.jsxs)(n.mzw,{justifyContent:"space-between",children:[(0,a.jsx)(n.wpx,{type:"text",onClick:c,children:"Clear all"}),(0,a.jsx)(n.wpx,{type:"primary",onClick:t,children:"Done"})]})]})]})};var en=s(36866);let ed=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,en.h)(e),{pageIndex:s,pageSize:i,updatePageIndex:l,updatePageSize:a,pageSizeOptions:r,showSizeChanger:n}=t,d=(0,c.useMemo)(()=>({current:s,pageSize:i,showSizeChanger:n,pageSizeOptions:r.map(String),onChange:l,onShowSizeChange:(e,t)=>{a(t)}}),[s,i,n,r,l,a]);return{...t,paginationProps:d}};var eo=s(812),ec=()=>{let e=(0,n.pmc)(),[t,{isFetching:s}]=(0,W.ZU)();return{downloadReport:async s=>{let i=await t(s);if(i.isError)e({status:"error",description:(0,eo.e$)(i.error,"A problem occurred while generating your privacy request report. Please try again.")});else{let t=document.createElement("a"),s=new Blob([i.data],{type:"text/csv"}),l=window.URL.createObjectURL(s);t.href=l,t.download="privacy-request-report.csv",t.click(),t.remove(),window.URL.revokeObjectURL(l),e({status:"success",description:"Successfully downloaded Privacy Request report."})}},isDownloadingReport:s}};let eu=e=>{let{...t}=e,[s,i]=(0,D.v1)("search",D.Oi.withDefault("").withOptions({throttleMs:100})),l=(0,M.v9)(W.dp),r=(0,n.pmc)(),d=(0,h.useRouter)(),o=(0,M.I0)(),u=ed(),{pageIndex:p,pageSize:m,resetPagination:x}=u,{isOpen:v,onOpen:y,onClose:j}=(0,n.qY0)(),{data:g,isLoading:_,isFetching:f}=(0,W.QA)({...l,page:p,size:m,fuzzy_search_str:s}),{items:b,total:q}=(0,c.useMemo)(()=>g||{items:[],total:0,pages:0},[g]),{downloadReport:C}=ec(),S=(0,c.useCallback)(e=>{i(null!=e?e:""),x()},[x,i]),k=async()=>{let e;try{await C(l)}catch(t){e=t instanceof Error?t.message:"Unknown error occurred"}e&&r({description:"".concat(e),duration:5e3,status:"error"})},E=e=>{d.push("/privacy-requests/".concat(e))},R=(0,z.b7)({getCoreRowModel:(0,F.sC)(),data:b,columns:(0,c.useMemo)(()=>ei(),[]),getRowId:e=>"".concat(e.status,"-").concat(e.id),manualPagination:!0,columnResizeMode:"onChange"});return(0,a.jsxs)(n.xuv,{...t,children:[(0,a.jsxs)(L.Q$,{children:[(0,a.jsx)(L.HO,{globalFilter:s,setGlobalFilter:S,placeholder:"Search by request ID or identity value"}),(0,a.jsxs)(n.Ugi,{alignItems:"center",spacing:2,children:[(0,a.jsx)(n.wpx,{"data-testid":"filter-btn",onClick:y,children:"Filter"}),(0,a.jsx)(n.wpx,{"aria-label":"Export report","data-testid":"export-btn",icon:(0,a.jsx)(Z.nM,{ml:"1.5px"}),onClick:k})]}),(0,a.jsx)(n.h_i,{children:(0,a.jsx)(er,{isOpen:v,onClose:j,onFilterChange:x})})]}),_?(0,a.jsx)(n.xuv,{p:2,borderWidth:1,children:(0,a.jsx)(L.I4,{rowHeight:26,numRows:10})}):(0,a.jsxs)(n.jqI,{vertical:!0,gap:"middle",children:[(0,a.jsx)(L.ZK,{tableInstance:R,onRowClick:e=>E(e.id),onSort:e=>{if(!e){o((0,W.PS)());return}let{id:t,desc:s}=e;o((0,W.WR)(t)),o((0,W.iX)(s?"desc":"asc")),x()},loading:f}),(0,a.jsx)(n.B7X,{...u.paginationProps,showTotal:(e,t)=>"".concat(t[0],"-").concat(t[1]," of ").concat(e," items"),total:null!=q?q:0,align:"end"})]})]})};var ep=s(87361),em=s(46628),ex=s(32885),eh=s(34090),ev=s(55484),ey=s(40324);let ej=(e,t)=>null==t?void 0:t.find(t=>t.policy_key===e),eg=e=>{var t,s;if(!e)return ev.Ry().shape({policy_key:ev.Z_().required().label("Request type")});let i=e.custom_privacy_request_fields?Object.entries(e.custom_privacy_request_fields).filter(e=>{let[,t]=e;return"field_type"in t&&"location"!==t.field_type}).map(e=>{let[t,s]=e;return{[t]:ev.Ry().shape({value:s.required&&!s.hidden?ev.Z_().required().label(s.label):ev.Z_().nullable()})}}).reduce((e,t)=>({...e,...t}),{}):{};return ev.Ry().shape({policy_key:ev.Z_().required().label("Request type"),identity:ev.Ry().shape({email:(null===(t=e.identity_inputs)||void 0===t?void 0:t.email)==="required"?ev.Z_().email().required().label("Email address"):ev.Z_().nullable(),phone_number:(null===(s=e.identity_inputs)||void 0===s?void 0:s.phone)==="required"?ev.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").required().label("Phone number"):ev.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").nullable()}),custom_privacy_request_fields:ev.Ry().shape(i)})};var e_=s(97181);let ef={is_verified:!1,policy_key:"",identity:{}},eb=e=>{let{identityInputs:t}=e;return t?(0,a.jsxs)(a.Fragment,{children:[t.email?(0,a.jsx)(ey.j0,{name:"identity.email",label:"User email address",isRequired:"required"===t.email,variant:"stacked"}):null,t.phone?(0,a.jsx)(ey.j0,{name:"identity.phone_number",label:"User phone number",isRequired:"required"===t.phone,variant:"stacked"}):null]}):null},eq=e=>{var t;let{label:s,required:i,name:l}=e,[r,d,o]=(0,eh.U$)(e),c=!!(d.touched&&d.error),{setValue:u}=o,{value:p}={...r,value:null!==(t=r.value)&&void 0!==t?t:""};return(0,a.jsx)(n.PPS.Item,{label:s,name:l,required:null!=i?i:void 0,layout:"vertical",validateStatus:c?"error":void 0,children:(0,a.jsx)(n.AOh,{value:p,onChange:e=>{e&&u(e)}},l)})},eC=e=>{let{customFieldInputs:t}=e;if(!t)return null;let s=Object.entries(t);return(0,a.jsx)(a.Fragment,{children:s.map(e=>{let[t,s]=e;return"field_type"in s&&"location"===s.field_type?(0,a.jsx)(eq,{name:t,label:s.label,required:!!s.required},t):(0,a.jsx)(ey.j0,{name:"custom_privacy_request_fields.".concat(t,".value"),label:s.label,isRequired:!!s.required,variant:"stacked"},t)})})},eS=e=>{let{onSubmit:t,onCancel:s,privacyCenterUrl:i}=e,{onCopy:l}=(0,n.VPI)(""),r=(0,n.pmc)();return(0,a.jsx)(eh.J9,{initialValues:{identity:{email:""}},onSubmit:e=>{l("".concat(i,"?email=").concat(encodeURIComponent(e.identity.email))),t(e),r({status:"success",description:"DSR Link Copied!"})},validationSchema:()=>ev.Ry().shape({identity:ev.Ry().shape({email:ev.Z_().email().required().label("Email Address")})}),children:e=>{let{dirty:t,isValid:i}=e;return(0,a.jsx)(eh.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(eb,{identityInputs:{email:"required"}}),(0,a.jsxs)("div",{className:"flex gap-4 self-end",children:[(0,a.jsx)(n.wpx,{onClick:s,children:"Cancel"}),(0,a.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!t||!i,"data-testid":"submit-btn",icon:(0,a.jsx)(n.xPt,{}),children:"Copy"})]})]})})}})};var ek=e=>{let{onSubmit:t,onCancel:s}=e,{data:i}=(0,W.xv)();return(0,a.jsx)(eh.J9,{initialValues:ef,onSubmit:t,validationSchema:()=>(0,ev.Vo)(e=>eg(ej(e.policy_key,null==i?void 0:i.actions))),children:e=>{var t;let{values:l,dirty:r,isValid:d,isSubmitting:o,setFieldValue:c}=e,u=ej(l.policy_key,null==i?void 0:i.actions);return(0,a.jsx)(eh.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(e_.d,{name:"policy_key",label:"Request type",options:null!==(t=null==i?void 0:i.actions.map(e=>({label:e.title,value:e.policy_key})))&&void 0!==t?t:[],onChange:e=>{let t=ej(e,null==i?void 0:i.actions);if(!(null==t?void 0:t.custom_privacy_request_fields)){c("custom_privacy_request_fields",void 0);return}c("custom_privacy_request_fields",Object.entries(t.custom_privacy_request_fields).map(e=>{let[t,s]=e;return{[t]:{label:s.label,value:s.default_value}}}).reduce((e,t)=>({...e,...t}),{}))},layout:"stacked",isRequired:!0}),(0,a.jsx)(eb,{identityInputs:null==u?void 0:u.identity_inputs}),(0,a.jsx)(eC,{customFieldInputs:null==u?void 0:u.custom_privacy_request_fields}),(0,a.jsx)(ey.Xl,{name:"is_verified",label:"I confirm that I have verified this user information"}),(0,a.jsxs)("div",{className:"flex gap-4 self-end",children:[(0,a.jsx)(n.wpx,{onClick:s,children:"Cancel"}),(0,a.jsx)(n.wpx,{htmlType:"submit",type:"primary",disabled:!l.is_verified||!r||!d,loading:o,"data-testid":"submit-btn",children:"Create"})]})]})})}})},eE=s(31883);let eR=e=>{let{isOpen:t,onClose:s}=e,[i]=(0,W.M6)(),l=(0,n.pmc)(),r=async e=>{let{is_verified:t,...a}=e,r=a.custom_privacy_request_fields?Object.entries(a.custom_privacy_request_fields).map(e=>{let[t,s]=e;return s.value?{[t]:s}:{}}).reduce((e,t)=>({...e,...t}),{}):void 0,n={...a,custom_privacy_request_fields:r},d=await i([n]);(0,eE.D4)(d)?l((0,em.Vo)((0,eo.e$)(d.error,"An error occurred while creating this privacy request. Please try again"))):l((0,em.t5)("Privacy request created")),s()};return(0,a.jsxs)(n.u_l,{isOpen:t,onClose:s,size:"2xl",isCentered:!0,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{"data-testid":"submit-request-modal",maxHeight:"80%",overflowY:"auto",children:[(0,a.jsx)(n.xBx,{children:"Create privacy request"}),(0,a.jsx)(n.fef,{children:(0,a.jsxs)(n.Kqy,{spacing:4,children:[(0,a.jsx)(ep.Z,{title:"Warning: You are bypassing identity verification",text:"You are bypassing Fides' built-in identity verification step. Please ensure that you are only entering information on behalf of a verified and approved user's privacy request."}),(0,a.jsx)(ek,{onSubmit:r,onCancel:()=>s()})]})})]})]})},ew=e=>{let{isOpen:t,onClose:s,privacyCenterUrl:i}=e;return(0,a.jsxs)(n.u_l,{size:"md",isOpen:t,onClose:s,children:[(0,a.jsx)(n.ZAr,{}),(0,a.jsxs)(n.hzk,{children:[(0,a.jsx)(n.xBx,{children:"Create a Privacy Request Link"}),(0,a.jsxs)(n.fef,{children:[(0,a.jsx)(n.Kqy,{spacing:4}),(0,a.jsx)(eS,{privacyCenterUrl:i,onSubmit:s,onCancel:s})]})]})]})};var eT=()=>{var e;let[t,s]=(0,c.useState)("closed"),i=()=>s("closed"),{data:l}=(0,ex.Vh)(),r=(null!==(e=null==l?void 0:l.privacy_center_url)&&void 0!==e?e:"").trim(),d=r.length>0;return(0,a.jsxs)(a.Fragment,{children:[d?(0,a.jsx)(ew,{isOpen:"create-link"===t,onClose:i,privacyCenterUrl:r}):null,(0,a.jsx)(eR,{isOpen:"submit-request"===t,onClose:i}),(0,a.jsx)(n.S0p.Button,{type:"primary",onClick:()=>s("submit-request"),"data-testid":"submit-request-btn",menu:{items:[{label:"Create request link",key:"create-request-link",icon:(0,a.jsx)(n.xPt,{}),onClick:()=>s("create-link"),disabled:!d}]},icon:(0,a.jsx)(n.v4q,{}),children:"Create request"})]})},eI=s(58754),eA=s(17245);let eN=()=>{let{errorAlert:e}=(0,eA.VY)(),[t,s]=(0,c.useState)(!1),[i,l]=(0,c.useState)({count:0,total:0}),[r,d]=(0,c.useState)(!0),o=b.q2.ERROR,{data:u}=(0,W.tE)(),{data:p}=(0,W.QA)({status:[o]},{pollingInterval:15e3,skip:r});return(0,c.useEffect)(()=>{d(!(u&&u.notify_after_failures>0))},[u]),(0,c.useEffect)(()=>{let e=(null==p?void 0:p.total)||0;e>=((null==u?void 0:u.notify_after_failures)||0)&&e>i.total?(l({count:e-i.total,total:e}),s(!0)):s(!1)},[null==p?void 0:p.total,null==u?void 0:u.notify_after_failures,i.total]),{processing:()=>{t&&e((0,a.jsxs)(n.xuv,{children:["DSR automation has failed for"," ",(0,a.jsx)(n.xvT,{as:"span",fontWeight:"semibold",children:i.count})," ","privacy request(s). Please review the event log for further details."]}),void 0,{containerStyle:{maxWidth:"max-content"},duration:null,id:"dsrErrorAlert"})}}};var eP=s(72281);let eO=o()(()=>s.e(9676).then(s.bind(s,59676)),{loadableGenerated:{webpack:()=>[59676]},loading:()=>(0,a.jsx)("div",{children:"Loading..."})});var eU=()=>{let{processing:e}=eN(),{plus:t}=(0,u.hz)(),{activeTab:s,handleTabChange:i,availableTabs:l}=(0,eP.d)();(0,c.useEffect)(()=>{e()},[e]);let r=(0,c.useMemo)(()=>{let e=[];return l.request&&e.push({key:eP.G.REQUEST,label:"Request",children:(0,a.jsx)(eu,{})}),l.manualTask&&e.push({key:eP.G.MANUAL_TASK,label:"Manual tasks",children:(0,a.jsx)(U,{})}),e},[l.manualTask,l.request]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eI.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests"}],rightContent:(0,a.jsxs)(n.vyj,{children:[t&&(0,a.jsx)(p.ZP,{scopes:[b.Sh.PRIVACY_REQUEST_CREATE],children:(0,a.jsx)(eT,{})}),(0,a.jsx)(eO,{})]}),"data-testid":"privacy-requests"}),(0,a.jsx)(n.A5g,{activeKey:s,onChange:i,items:r})]})},ez=()=>(0,a.jsx)(r.Z,{title:"Privacy Requests",children:(0,a.jsx)(eU,{})})},31883:function(e,t,s){"use strict";s.d(t,{Bw:function(){return i.Bw},D4:function(){return i.D4}});var i=s(19043)}},function(e){e.O(0,[431,8765,3550,4558,2888,9774,179],function(){return e(e.s=1565)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3785],{90988:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems",function(){return l(52295)}])},30952:function(e,t,l){"use strict";l.d(t,{f:function(){return o}});var s=l(24246),a=l(66726),n=l.n(a),i=l(27378),r=l(26917);let o=e=>{let{value:t,onChange:l,placeholder:a,...o}=e,[d,u]=(0,i.useState)(t);(0,i.useEffect)(()=>{u(t||"")},[t]);let c=n()(l,500),p=(0,i.useCallback)(e=>{u(e),c(e)},[]);return(0,s.jsx)(r.Z,{value:d,onChange:p,onClear:()=>{u(""),l("")},placeholder:a,...o})}},35287:function(e,t,l){"use strict";var s=l(24246),a=l(96306),n=l(88038),i=l.n(n);l(27378),t.Z=e=>{let{children:t,title:l,mainProps:n}=e;return(0,s.jsxs)(a.kCb,{"data-testid":l,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,s.jsxs)(i(),{children:[(0,s.jsxs)("title",{children:["Fides Admin UI - ",l]}),(0,s.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsx)(a.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...n,children:t})]})}},34929:function(e,t,l){"use strict";var s=l(24246),a=l(64925),n=l.n(a),i=l(27378),r=l(16134),o=l(30002),d=l(28079),u=l(57072);let c=()=>{let{isLoading:e}=(0,d.fd)(),t=(0,r.C)(d.U3),{isLoading:l}=(0,u.MO)(),s=(0,r.C)(u.qb),{isLoading:a}=(0,o.te)();return{dataUses:t,dataSubjects:(0,r.C)(o.ZL),dataCategories:s,isLoading:e||l||a}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:l,isLoading:a}=c(),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},o=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=t(e);if(!s)return{};let a=t(r(e,l)),n=!!s.parent_key;return{name:s.name||void 0,primaryName:n&&(null==a?void 0:a.name)!==s.name&&(null==a?void 0:a.name)||void 0}},d=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:a,primaryName:n}=o(e,t,l);return a?n?(0,s.jsxs)(i.Fragment,{children:[(0,s.jsxs)("strong",{children:[n,":"]})," ",a]},e):(0,s.jsx)("strong",{children:a},e):e},u=t=>n()(e,{fides_key:t}),p=e=>n()(t,{fides_key:e}),g=e=>n()(l,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:u,getDataUseDisplayName:e=>d(e,u,1),getDataUseDisplayNameProps:e=>o(e,u,1),getDataCategories:()=>t,getDataCategoryByKey:p,getDataCategoryDisplayName:e=>d(e,p,2),getDataCategoryDisplayNameProps:e=>o(e,p,2),getDataSubjects:()=>l,getDataSubjectByKey:g,getDataSubjectDisplayName:e=>{let t=g(e);return t?t.name:e},getPrimaryKey:r,isLoading:a}}},99640:function(e,t,l){"use strict";l.d(t,{Z:function(){return d}});var s=l(24246),a=l(96306),n=l(79894),i=l.n(n);let{Link:r,Text:o}=a.AntTypography,d=e=>{let{href:t,children:l,...a}=e;return t?(0,s.jsx)(i(),{href:t,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(r,{strong:!0,ellipsis:!0,onClick:e=>e.stopPropagation(),...a,children:l})}):(0,s.jsx)(o,{strong:!0,ellipsis:!0,...a,children:l})}},2525:function(e,t,l){"use strict";l.d(t,{Q:function(){return r}});var s=l(24246),a=l(96306),n=l(27378),i=l(3110);let r=e=>{let{values:t,columnState:l,tagProps:r,onTagClose:o,...d}=e,{isExpanded:u,isWrapped:c,version:p}=l||{},[g,m]=(0,n.useState)(!u),[y,h]=(0,n.useState)(!!c),[v,f]=(0,n.useState)(u?t:null==t?void 0:t.slice(0,2));(0,n.useEffect)(()=>{m(!u)},[u,p]),(0,n.useEffect)(()=>{h(!!c)},[c]),(0,n.useEffect)(()=>{(null==t?void 0:t.length)?f(g?t.slice(0,2):t):f(t)},[g,t]);let x=(0,n.useCallback)(()=>{f(null==t?void 0:t.slice(0,2)),m(!0)},[t]),j=(0,n.useCallback)(()=>{m(!1)},[]),k=(0,n.useCallback)(()=>{g?j():x()},[g,j,x]);return(0,n.useMemo)(()=>(null==v?void 0:v.length)?(0,s.jsxs)(a.jqI,{align:g?"center":"start",wrap:y?"wrap":"nowrap",vertical:!g,gap:"small","data-testid":"tag-expandable-cell",style:{overflowX:"auto",...d.style},...d,children:[v.map(e=>(0,s.jsx)(a.j8w,{color:"white","data-testid":e.key,onClose:o?()=>o(e.key):void 0,...r,...e.tagProps,children:(0,s.jsx)(a.lKn,{ellipsis:!!g&&{tooltip:!0},style:{color:"inherit",maxWidth:g?i.TD:void 0},children:e.label})},e.key)),t&&t.length>2&&(0,s.jsx)(a.wpx,{type:"link",size:"small",onClick:e=>{e.stopPropagation(),k()},className:"h-auto p-0",style:{fontSize:"var(--ant-font-size)"},children:g?"+".concat(t.length-2," more"):i.T5})]}):(0,s.jsx)("span",{"data-testid":"tag-expandable-cell-empty"}),[v,g,y,d,t,r,o,k])}},3110:function(e,t,l){"use strict";l.d(t,{DI:function(){return r},T5:function(){return n},TD:function(){return i}});var s=l(24246),a=l(96306);let n="show less",i=150,r=[{key:"expand-all",label:"Expand all",icon:(0,s.jsx)(a.PJP.jbG,{})},{key:"collapse-all",label:"Collapse all",icon:(0,s.jsx)(a.PJP.MVB,{})}]},26070:function(e,t,l){"use strict";l.d(t,{v:function(){return o},Q:function(){return d.Q}});var s=l(24246),a=l(96306),n=l(27378),i=l(3110);let{Text:r}=a.AntTypography,o=e=>{let{values:t,valueSuffix:l,columnState:o}=e,{isExpanded:d,version:u}=o||{},[c,p]=(0,n.useState)(!d);(0,n.useEffect)(()=>{p(!d)},[d,u]);let g=(0,n.useCallback)(()=>{p(!0)},[]),m=(0,n.useCallback)(()=>{p(!1)},[]),y=(0,n.useCallback)(()=>{c?m():g()},[c,m,g]);return(0,n.useMemo)(()=>(null==t?void 0:t.length)?1===t.length?(0,s.jsx)(r,{ellipsis:!0,"data-testid":"list-expandable-cell-single",children:t[0]}):(0,s.jsxs)(a.jqI,{align:c?"center":"flex-start",vertical:!c,gap:c?"small":"none","data-testid":"list-expandable-cell",children:[c?(0,s.jsxs)(r,{ellipsis:!0,children:[t.length," ",l]}):(0,s.jsx)(a.krs,{dataSource:t,renderItem:e=>(0,s.jsx)("li",{children:e})}),(0,s.jsx)(a.wpx,{type:"link",size:"small",onClick:e=>{e.stopPropagation(),y()},className:"h-auto p-0",style:{fontSize:"var(--ant-font-size)"},children:c?"view":i.T5})]}):null,[c,t,l,y])};var d=l(2525)},8125:function(e,t,l){"use strict";l.d(t,{V:function(){return n},o:function(){return d}});var s=l(27378),a=l(32735);let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enableSelection:l=!1,getRowKey:n,bulkActions:i,isLoading:r=!1,isFetching:o=!1,dataSource:d=[],totalRows:u=0,currentPage:c,pageSize:p,customTableProps:g={}}=t,m=(0,s.useCallback)(e=>{if(e&&"object"==typeof e){if(e.id)return String(e.id);if(e.key)return String(e.key)}return String(e)},[]),y=n||m,[h,v]=(0,s.useState)([]),[f,x]=(0,s.useState)([]),j=(0,s.useCallback)(()=>{v([]),x([])},[]),k=(0,s.useMemo)(()=>({selectedRowKeys:h,selectedRows:f,resetSelections:j}),[h,f,j]),b=(0,s.useMemo)(()=>{if(l)return{selectedRowKeys:h,onChange:(e,t)=>{v(e),x(t)}}},[l,h]),S=(0,s.useCallback)((t,l,s)=>{var a,n;let i=null!==(a=t.current)&&void 0!==a?a:e.pageIndex,r=null!==(n=t.pageSize)&&void 0!==n?n:e.pageSize,o=i!==e.pageIndex||r!==e.pageSize;o?(t.current&&t.current!==e.pageIndex&&e.updatePageIndex(t.current),t.pageSize&&t.pageSize!==e.pageSize&&e.updatePageSize(t.pageSize)):e.updateFilters(l||{});let d=s&&!Array.isArray(s)?s.field:void 0,u=s&&!Array.isArray(s)&&null!==s.order?s.order:void 0;o||e.updateSorting(d,u)},[e]),C=(0,s.useMemo)(()=>{var t,l,s,n,i;return{current:null!=c?c:e.pageIndex,pageSize:null!=p?p:e.pageSize,total:u,showSizeChanger:null===(n=null===(t=e.paginationConfig)||void 0===t?void 0:t.showSizeChanger)||void 0===n||n,pageSizeOptions:null!==(i=null===(s=e.paginationConfig)||void 0===s?void 0:null===(l=s.pageSizeOptions)||void 0===l?void 0:l.map(String))&&void 0!==i?i:a.VZ}},[c,e.pageIndex,p,e.pageSize,u,e.paginationConfig]),_=(0,s.useMemo)(()=>({dataSource:d,loading:r||o,pagination:C,onChange:S,rowKey:y,scroll:{x:"max-content",scrollToFirstRowOnChange:!0},size:"small",bordered:!0,...g}),[d,r,o,C,S,y,g]),w=h.map(String),E=f.length>0,O=(0,s.useCallback)(e=>{let t=null==i?void 0:i.actions.find(t=>t.key===e);return t?{disabled:!E||!!t.disabled&&t.disabled(f),loading:t.loading||!1,onClick:()=>t.onClick(f)}:{disabled:!0,loading:!1}},[i,E,f]);return(0,s.useMemo)(()=>({tableProps:_,selectionProps:b,selectionState:k,selectedRows:f,selectedKeys:w,hasSelectedRows:E,resetSelections:j,getBulkActionProps:O,isLoadingOrFetching:r||o,hasData:d.length>0}),[_,b,k,f,w,E,j,O,r,o,d.length])};var i=l(40431),r=l(17245);let o=()=>({filters:(0,i.WJ)(e=>e).withDefault({})}),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pagination:t={},sorting:l={},search:a={},onStateChange:n}=e,{pageIndex:d,pageSize:u,resetPagination:c,updatePageIndex:p,updatePageSize:g,pageSizeOptions:m,showSizeChanger:y}=(0,r.h0)(t),{sortKey:h,sortOrder:v,updateSorting:f,resetSorting:x}=(0,r.rK)(l),{searchQuery:j,updateSearch:k,resetSearch:b}=(0,r.Rx)(a),S=(0,s.useMemo)(()=>o(),[]),[C,_]=(0,i.XI)(S,{history:"push"}),w=(0,s.useMemo)(()=>{var e;return{pageIndex:d,pageSize:u,sortKey:h,sortOrder:v,columnFilters:null!==(e=C.filters)&&void 0!==e?e:{},searchQuery:j}},[C,d,u,h,v,j]),E=(0,s.useCallback)((e,t)=>{f(e,t),c()},[f,c]),O=(0,s.useCallback)(e=>{let t=Object.fromEntries(Object.entries(e).filter(e=>{let[,t]=e;return null!=t}));_({filters:Object.keys(t).length>0?t:null}),c()},[_,c]),D=(0,s.useCallback)(e=>{k(e),c()},[k,c]),I=(0,s.useCallback)(()=>{_({filters:null}),c(),x(),b()},[_,c,x,b]);return(0,s.useEffect)(()=>{n&&n(w)},[w,n]),{state:w,pageIndex:w.pageIndex,pageSize:w.pageSize,updatePageIndex:p,updatePageSize:g,sortKey:w.sortKey,sortOrder:w.sortOrder,updateSorting:E,columnFilters:w.columnFilters,updateFilters:O,searchQuery:w.searchQuery,updateSearch:D,resetState:I,paginationConfig:{pageSizeOptions:m,showSizeChanger:y}}}},33335:function(e,t,l){"use strict";l.d(t,{E:function(){return s}});let s=e=>e.toLowerCase().replace(/[ .]/g,"_").replace(/[^a-zA-Z0-9_<>-]/g,"")},92818:function(e,t,l){"use strict";l.d(t,{r:function(){return o}});var s=l(24246),a=l(27378),n=l(97181),i=l(22583),r=l(21910);let o={[r.Ej.TAXONOMY_WHITE]:"White",[r.Ej.TAXONOMY_RED]:"Red",[r.Ej.TAXONOMY_ORANGE]:"Orange",[r.Ej.TAXONOMY_YELLOW]:"Yellow",[r.Ej.TAXONOMY_GREEN]:"Green",[r.Ej.TAXONOMY_BLUE]:"Blue",[r.Ej.TAXONOMY_PURPLE]:"Purple",[r.Ej.SANDSTONE]:"Sandstone",[r.Ej.MINOS]:"Minos"},d=e=>{let{color:t,...l}=e;return(0,s.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(i.j[t],")"),border:t===r.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...l.style}})},u=e=>{let t=null==e?void 0:e.value,l=null==e?void 0:e.label;return(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)(d,{color:t}),(0,s.jsx)("span",{children:l})]})};t.Z=e=>{let t=Object.values(r.Ej).map(e=>({value:e,label:o[e]})),[l,i]=(0,a.useState)(void 0);return(0,s.jsx)(n.d,{...e,options:t,optionRender:u,layout:"stacked",value:l,onChange:e=>{i(e)},prefix:(0,s.jsx)(d,{color:null!=l?l:r.Ej.TAXONOMY_WHITE,style:{marginBottom:"2px"}})})}},57072:function(e,t,l){"use strict";l.d(t,{Bd:function(){return s.Bd},L5:function(){return s.L5},MO:function(){return s.MO},qb:function(){return s.qb}});var s=l(5785)},52295:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return Q}});var s=l(24246),a=l(96306),n=l(27378),i=l(35287),r=l(58754),o=l(30952),d=l(25980),u=l(812),c=l(65450),p=l(34090),g=l(83766),m=l.n(g),y=l(55484),h=l(97181),v=l(40324),f=l(28079),x=l(1315),j=l(92818);let k="all-suggested";var b=e=>{let{options:t,loading:l,name:i,suggestedDataUses:r,...o}=e,[d,u,{setValue:c}]=(0,p.U$)(i),g=!!(u.touched&&u.error),y=(0,n.useMemo)(()=>{let e=[],l=[];return null==t||t.forEach(t=>{r.includes(t.value)?e.push(t):l.push(t)}),{suggested:e,all:l}},[t,r]),h=y.suggested.length?[{label:"Select all suggested",value:k},{label:(0,s.jsxs)(a.jqI,{gap:"small",align:"center",children:[(0,s.jsx)(a.QMR,{}),(0,s.jsx)("strong",{children:"Suggested data uses"})]}),value:"suggested",options:y.suggested},{label:(0,s.jsxs)(a.jqI,{gap:"small",align:"center",children:[(0,s.jsx)(a.PJP.BBB,{}),(0,s.jsx)("strong",{children:"All data uses"})]}),value:"all",options:y.all}]:y.all;return(0,s.jsxs)(a.jqI,{vertical:!0,gap:"small",children:[(0,s.jsx)(a.jqI,{align:"center",children:(0,s.jsx)(v.__,{htmlFor:o.id||i,fontSize:"xs",my:0,mr:1,children:"Data uses"})}),(0,s.jsx)(a.WPr,{options:h,mode:"multiple",placeholder:"Select data uses",allowClear:!0,loading:l,value:d.value,onChange:e=>{e.includes(k)?c(m()([...r,...e.filter(e=>e!==k)])):c(e)},status:g?"error":void 0,virtual:!1,...o}),(0,s.jsx)(v.Bc,{isInvalid:g,message:u.error,fieldName:d.name})]})},S=l(21910);let C=y.Ry().shape({name:y.Z_().required("Name is required").label("Name"),label_color:y.Z_().required("Color is required").label("Color"),systems:y.IX().of(y.Z_()).label("Systems"),data_uses:y.IX().of(y.Z_()).label("Data uses")});var _=e=>{let{selectedSystemKeys:t=[],onSubmit:l,onCancel:i,isSubmitting:r=!1}=e,{data:o=[],isLoading:d}=(0,f.fd)(),{data:u,isLoading:c}=(0,x.K3)(),g=(0,n.useMemo)(()=>o.map(e=>({label:e.name||e.fides_key,value:e.fides_key})),[o]),y=(0,n.useMemo)(()=>{var e;let l=null!==(e=null==u?void 0:u.filter(e=>t.includes(e.fides_key)))&&void 0!==e?e:[];return m()(null==l?void 0:l.flatMap(e=>e.privacy_declarations.map(e=>e.data_use)))},[u,t]),k=(0,n.useMemo)(()=>{var e;return null!==(e=null==u?void 0:u.map(e=>({label:e.name||e.fides_key,value:e.fides_key})))&&void 0!==e?e:[]},[u]),_={name:"",description:"",label_color:S.Ej.TAXONOMY_WHITE,systems:t,data_uses:[],active:!0};return(0,s.jsx)(p.J9,{initialValues:_,validationSchema:C,onSubmit:l,enableReinitialize:!0,children:e=>{let{isValid:t,dirty:l}=e;return(0,s.jsx)(p.l0,{children:(0,s.jsxs)(a.jqI,{vertical:!0,gap:"middle",children:[(0,s.jsx)(a.AntTypography.Title,{level:2,children:"Create system group"}),(0,s.jsx)(v.j0,{name:"name",label:"Name",isRequired:!0,variant:"stacked",placeholder:"Enter system group name"}),(0,s.jsx)(v.Ks,{name:"description",label:"Description",variant:"stacked",placeholder:"Enter system group description",resize:!1}),(0,s.jsx)(h.d,{name:"systems",label:"Systems",mode:"multiple",placeholder:"Select systems",options:k,layout:"stacked",allowClear:!0,loading:c}),(0,s.jsx)(j.Z,{name:"label_color",label:"Color"}),(0,s.jsx)(b,{name:"data_uses",options:g,loading:d,suggestedDataUses:y}),(0,s.jsxs)(a.jqI,{gap:"small",justify:"space-between",className:"pt-4",children:[(0,s.jsx)(a.wpx,{onClick:i,disabled:r,children:"Cancel"}),(0,s.jsx)(a.wpx,{type:"primary",htmlType:"submit",loading:r,disabled:!t||!l||r,"data-testid":"save-btn",children:"Create group"})]})]})})}})},w=l(31793),E=l(31883),O=e=>{let{selectedRowKeys:t,createModalIsOpen:l,setCreateModalIsOpen:i,handleCreateSystemGroup:r,handleBulkAddToGroup:o,groupMenuItems:p}=e,[g,m]=a.Pg3.useMessage(),[y,h]=(0,n.useState)(!1),[v]=(0,c.WP)(),{plus:f}=(0,d.hz)(),{data:x}=(0,w.wv)({page:1,size:100,username:""}),[j]=(0,c.C9)(),k=(0,n.useCallback)(async e=>{let l=await v({data_steward:e,system_keys:t});(0,E.D4)(l)?g.error((0,u.e$)(l.error,"A problem occurred assigning stewards")):g.success("".concat(t.length," systems assigned to ").concat(e," successfully"))},[v,t,g]),b=async()=>{let e=await j(t);(0,E.D4)(e)?g.error((0,u.e$)(e.error,"A problem occurred deleting systems")):g.success("".concat(t.length," systems deleted successfully"))},S=(0,n.useMemo)(()=>{let e=[];return p.length&&f&&e.push(t.length?{key:"add-to-system-group",label:"Add to system group",children:[{key:"new-group",label:"Create new group +",onClick:()=>i(!0)},{type:"divider"},...p.map(e=>({key:e.key,label:e.label,onClick:()=>o(e.key)}))]}:{key:"new-group",label:"Create system group +",onClick:()=>i(!0)}),(null==x?void 0:x.items.length)&&e.push({key:"assign-data-steward",label:"Assign data steward",disabled:!t.length,children:x.items.map(e=>({key:e.username,label:e.username,onClick:()=>k(e.username)}))},{type:"divider"}),e.push({key:"delete",label:"Delete",disabled:!t.length,onClick:()=>{h(!0)}}),e},[p,f,null==x?void 0:x.items,t.length,i,o,k]);return(0,s.jsxs)(s.Fragment,{children:[m,(0,s.jsx)(a.$zI,{open:y,onCancel:()=>h(!1),onOk:b,okText:"Delete",okType:"danger",centered:!0,children:(0,s.jsxs)(a.AntTypography.Paragraph,{children:["Delete ",t.length," systems? This action cannot be undone."]})}),(0,s.jsx)(a.$zI,{open:l,destroyOnHidden:!0,onCancel:()=>i(!1),centered:!0,width:768,footer:null,children:(0,s.jsx)(_,{selectedSystemKeys:t.map(e=>e.toString()),onSubmit:r,onCancel:()=>i(!1)})}),(0,s.jsx)(a.S0p,{trigger:["click"],menu:{items:S},children:(0,s.jsx)(a.wpx,{icon:(0,s.jsx)(a.PJP._ME,{}),children:"Actions"})})]})},D=l(86677),I=l(19904),M=l(26070),T=l(3110),P=l(99640),z=l(8125),N=l(16394),A=l(33335),q=l(69353),Z=l(34929),R=e=>{let{privacyDeclarations:t,...l}=e,{getDataUseDisplayName:a}=(0,Z.Z)(),n=t.map(e=>e.data_use).map(e=>({label:a(e),key:e}));return(0,s.jsx)(M.Q,{values:n,...l})},X=l(56141),F=l.n(X),L=l(22583);let W="update-system-groups-msg";var B=e=>{let{selectedGroups:t,allGroups:l,system:i,columnState:r,...o}=e,[d,c]=(0,n.useState)(!1),[p,g]=(0,n.useState)(t.map(e=>e.fides_key)),[m,y]=a.Pg3.useMessage(),[h]=(0,x.qQ)(),v=async()=>{if(c(!1),F()(p,t.map(e=>e.fides_key)))return;m.open({key:W,type:"loading",content:"Updating groups for ".concat(i.name,"...")});let e=await h({...i,system_groups:p});(0,E.D4)(e)?m.open({key:W,type:"error",content:(0,u.e$)(e.error,"Failed to update system groups")}):m.open({key:W,type:"success",content:"Groups updated for ".concat(i.name)}),setTimeout(()=>{m.destroy(W)},3e3)};return(0,s.jsxs)(a.jqI,{gap:"small",...o,children:[y,!d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.j8w,{onClick:()=>c(!0),addable:!0,"data-testid":"group-add-btn","aria-label":"Add group"}),(0,s.jsx)(M.Q,{values:t.map(e=>e&&{label:e.name,key:e.fides_key,tagProps:{color:e.label_color?"".concat(L.j[e.label_color]):void 0,bordered:!1}}),columnState:r})]}),d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.WPr,{options:l.map(e=>({label:e.name,value:e.fides_key})),mode:"tags",defaultValue:t.map(e=>e.fides_key),defaultOpen:!0,onChange:e=>{g(e)}}),(0,s.jsx)(a.wpx,{icon:(0,s.jsx)(a.PJP.MCw,{}),onClick:v})]})]})},Y=()=>{let{data:e}=(0,q.QD)(),t=(0,n.useMemo)(()=>e?e.reduce((e,t)=>({...e,[t.fides_key]:t}),{}):{},[e]),{data:l}=(0,w.wv)({page:1,size:100,username:""}),[i]=(0,c.DW)(),[r]=(0,q.Xz)(),[o]=(0,q.Nr)(),[p,g]=(0,n.useState)(!1),[y,h]=(0,n.useState)(!1),[v,f]=(0,n.useState)(!1),[x,j]=(0,n.useState)(!1),[k,b]=(0,n.useState)(null),C=(0,z.o)({pagination:{defaultPageSize:25,pageSizeOptions:[25,50,100]},search:{defaultSearchQuery:""}}),{columnFilters:_,pageIndex:O,pageSize:Z,searchQuery:X,updateSearch:F}=C,{data:L,isLoading:W,isFetching:Y}=(0,c.xF)({page:O,size:Z,search:X,..._}),K=(0,n.useMemo)(()=>{var e,t;return{enableSelection:!0,dataSource:null!==(e=null==L?void 0:L.items)&&void 0!==e?e:[],totalRows:null!==(t=null==L?void 0:L.total)&&void 0!==t?t:0,isLoading:W,isFetching:Y,getRowKey:e=>e.fides_key,customTableProps:{locale:{emptyText:(0,s.jsx)("div",{children:"No systems found"})}}}},[L,W,Y]),{tableProps:Q,selectionProps:G}=(0,z.V)(C,K),{selectedRowKeys:J}=null!=G?G:{},[U,$]=a.Pg3.useMessage(),{plus:V}=(0,d.hz)(),H=(0,D.useRouter)(),ee=(0,I.Tg)([S.Sh.SYSTEM_DELETE]),et=async e=>{let t=await i(e.fides_key);(0,E.D4)(t)?U.error((0,u.e$)(t.error,"Failed to delete system")):U.success("Successfully deleted system"),j(!1)},el=async e=>{let t={...e,fides_key:(0,A.E)(e.name),active:!0},l=await o(t);if((0,E.D4)(l))U.error((0,u.e$)(l.error));else{var s,a;let e="System group '".concat(l.data.name,"' created");(null===(s=l.data.systems)||void 0===s?void 0:s.length)===1?e+=" with system '".concat(l.data.systems[0],"'"):(null===(a=l.data.systems)||void 0===a?void 0:a.length)&&(e+=" with ".concat(l.data.systems.length," systems")),U.success(e)}f(!1)},es=(0,n.useCallback)(async e=>{var l;if(!J)return;let s=t[e],a=await r({...s,systems:m()([...null!==(l=s.systems)&&void 0!==l?l:[],...J.map(e=>e.toString())])});(0,E.D4)(a)?U.error((0,u.e$)(a.error)):U.success("".concat(null==J?void 0:J.length," systems added to group '").concat(e,"'"))},[t,r,J,U]),ea=(0,n.useMemo)(()=>{var t;return null!==(t=null==e?void 0:e.map(e=>({key:e.fides_key,label:e.name,onClick:()=>es(e.fides_key)})))&&void 0!==t?t:[]},[e,es]);return{tableProps:Q,selectionProps:G,columns:(0,n.useMemo)(()=>{var n;return[{title:"Name",dataIndex:"name",key:"name",render:(e,t)=>(0,s.jsx)(P.Z,{href:"/systems/configure/".concat(t.fides_key),"data-testid":"system-link-".concat(t.fides_key),children:e||t.fides_key}),ellipsis:!0,fixed:"left"},{dataIndex:"system_groups",key:"system_groups",render:(l,a)=>{var n;return(0,s.jsx)(B,{selectedGroups:null!==(n=null==l?void 0:l.map(e=>null==t?void 0:t[e]).filter(e=>!!e))&&void 0!==n?n:[],allGroups:e,system:{...a,system_groups:null!=l?l:[]},columnState:{isWrapped:!0,isExpanded:p},className:"w-96"})},title:"Groups",hidden:!V,menu:{items:T.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?g(!0):"collapse-all"===e.key&&g(!1)}},filters:(0,N.nZ)(null==e?void 0:e.map(e=>e.fides_key),e=>{var l,s;return null!==(s=null===(l=t[e])||void 0===l?void 0:l.name)&&void 0!==s?s:e}),filteredValue:(null==_?void 0:_.system_groups)||null},{title:"Data uses",menu:{items:T.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?h(!0):"collapse-all"===e.key&&h(!1)}},dataIndex:"privacy_declarations",key:"privacy_declarations",render:e=>(0,s.jsx)(R,{privacyDeclarations:e,columnState:{isWrapped:!0,isExpanded:y}})},{title:"Data stewards",dataIndex:"data_stewards",key:"data_stewards",render:e=>(0,s.jsx)(M.v,{values:null!=e?e:[],valueSuffix:"users"}),filters:(0,N.nZ)(null==l?void 0:null===(n=l.items)||void 0===n?void 0:n.map(e=>e.username)),filteredValue:(null==_?void 0:_.data_steward)||null},{title:"Description",dataIndex:"description",key:"description",render:e=>(0,s.jsx)("div",{className:"max-w-96",children:(0,s.jsx)(a.AntTypography.Text,{ellipsis:{tooltip:e},children:e})}),ellipsis:!0},{title:"Actions",key:"actions",render:(e,t)=>(0,s.jsx)(a.kCb,{justify:"end",children:(0,s.jsx)(a.S0p,{trigger:["click"],menu:{items:[{key:"edit",label:"Edit",icon:(0,s.jsx)(a.PJP.I8b,{}),onClick:()=>H.push("/systems/configure/".concat(t.fides_key))},...ee?[{key:"delete",label:"Delete",icon:(0,s.jsx)(a.PJP.ZNm,{}),onClick:()=>{b(t),j(!0)}}]:[]]},children:(0,s.jsx)(a.wpx,{size:"small",icon:(0,s.jsx)(a.PJP.r43,{}),"aria-label":"More actions",type:"text","data-testid":"system-actions-menu"})})}),fixed:"right"}]},[V,e,null==_?void 0:_.system_groups,null==_?void 0:_.data_steward,null==l?void 0:l.items,p,t,y,ee,H]),searchQuery:X,updateSearch:F,columnFilters:_,pageIndex:O,pageSize:Z,createModalIsOpen:v,setCreateModalIsOpen:f,deleteModalIsOpen:x,setDeleteModalIsOpen:j,setSelectedSystemForDelete:b,handleCreateSystemGroup:el,handleDelete:et,handleBulkAddToGroup:es,messageContext:$,groupMenuItems:ea,selectedSystemForDelete:k}},K=()=>{var e,t;let{tableProps:l,selectionProps:n,columns:i,searchQuery:r,updateSearch:d,createModalIsOpen:u,setCreateModalIsOpen:c,deleteModalIsOpen:p,setDeleteModalIsOpen:g,handleDelete:m,handleCreateSystemGroup:y,handleBulkAddToGroup:h,messageContext:v,groupMenuItems:f,selectedSystemForDelete:x}=Y();return(0,s.jsxs)(s.Fragment,{children:[v,(0,s.jsxs)(a.jqI,{justify:"space-between",className:"mb-4",children:[(0,s.jsx)(o.f,{value:r,onChange:d,"data-testid":"system-search"}),(0,s.jsxs)(a.jqI,{gap:"small",children:[(0,s.jsx)(O,{selectedRowKeys:null!==(e=null==n?void 0:n.selectedRowKeys)&&void 0!==e?e:[],createModalIsOpen:u,setCreateModalIsOpen:c,handleCreateSystemGroup:y,handleBulkAddToGroup:h,groupMenuItems:f}),(0,s.jsx)(a.$zI,{open:p,onCancel:()=>g(!1),onOk:()=>!!x&&m(x),okText:"Delete",okType:"danger",cancelText:"Cancel",centered:!0,children:(0,s.jsxs)(a.AntTypography.Paragraph,{children:["Are you sure you want to delete"," ",null!==(t=null==x?void 0:x.name)&&void 0!==t?t:null==x?void 0:x.fides_key,"? This action cannot be undone."]})})]})]}),(0,s.jsx)(a.V5H,{...l,columns:i,rowSelection:n})]})},Q=()=>(0,s.jsx)(i.Z,{title:"System inventory",children:(0,s.jsxs)(a.xuv,{"data-testid":"system-management",children:[(0,s.jsx)(r.Z,{heading:"System inventory",breadcrumbItems:[{title:"All systems"}]}),(0,s.jsx)(K,{})]})})},31883:function(e,t,l){"use strict";l.d(t,{Bw:function(){return s.Bw},D4:function(){return s.D4}});var s=l(19043)}},function(e){e.O(0,[431,8765,9278,5163,1896,4718,2888,9774,179],function(){return e(e.s=90988)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4202],{58095:function(e,t,n){var r=n(8817);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},21796:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},8817:function(e,t,n){var r=n(95372),i=n(1129),a=n(58263);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,i,n)}},1129:function(e){e.exports=function(e){return e!=e}},75733:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}},92198:function(e,t,n){var r=n(52485),i=n(58095),a=n(21796),l=n(65581),s=n(47111),o=n(43735);e.exports=function(e,t,n){var u=-1,d=i,c=e.length,f=!0,h=[],m=h;if(n)f=!1,d=a;else if(c>=200){var p=t?null:s(e);if(p)return o(p);f=!1,d=l,m=new r}else m=t?[]:h;e:for(;++u<c;){var g=e[u],x=t?t(g):g;if(g=n||0!==g?g:0,f&&x==x){for(var y=m.length;y--;)if(m[y]===x)continue e;t&&m.push(x),h.push(g)}else d(m,x,n)||(m!==h&&m.push(x),h.push(g))}return h}},70830:function(e,t,n){var r=n(76747),i=n(31159),a=n(64373),l=n(37948);e.exports=function(e,t){return t=r(t,e),null==(e=a(e,t))||delete e[l(i(t))]}},47111:function(e,t,n){var r=n(46151),i=n(50344),a=n(43735),l=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=l},64373:function(e,t,n){var r=n(79867),i=n(75733);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},58263:function(e){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},50344:function(e){e.exports=function(){}},83766:function(e,t,n){var r=n(92198);e.exports=function(e){return e&&e.length?r(e):[]}},43551:function(e,t,n){var r=n(70830);e.exports=function(e,t){return null==e||r(e,t)}},71180:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/taxonomy",function(){return n(33031)}])},79806:function(e,t,n){"use strict";n.d(t,{Gn:function(){return s},zR:function(){return l}});var r=n(24246),i=n(96306),a=n(56358);let l=e=>{let{title:t}=e;return(0,r.jsx)(i.OXI,{py:0,display:"flex",alignItems:"flex-start",children:(0,r.jsx)(i.xvT,{mr:"2",color:"gray.700",fontSize:"lg",lineHeight:1.8,children:t})})},s=e=>{let{onDelete:t,onEditYaml:n,formId:l,isSaving:s}=e;return(0,r.jsxs)(i.zeN,{justifyContent:"space-between",children:[t?(0,r.jsx)(i.wpx,{"aria-label":"delete",icon:(0,r.jsx)(a.q,{fontSize:"small"}),onClick:t,"data-testid":"delete-btn"}):null,(0,r.jsxs)("div",{className:"flex gap-2",children:[n&&(0,r.jsx)(i.wpx,{onClick:n,"data-testid":"edit-yaml-btn",children:"Edit YAML"}),(0,r.jsx)(i.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:l,loading:s,children:"Save"})]})]})};t.ZP=e=>{let{header:t,description:n,isOpen:a,onClose:l,children:s,footer:o}=e;return(0,r.jsxs)(i.dys,{placement:"right",isOpen:a,onClose:l,size:"md",children:[(0,r.jsx)(i.P1B,{}),(0,r.jsxs)(i.scA,{"data-testid":"edit-drawer-content",py:2,children:[(0,r.jsxs)(i.xuv,{display:"flex",justifyContent:"space-between",alignItems:"top",mr:2,py:2,gap:2,children:[(0,r.jsx)(i.xuv,{flex:1,minH:8,children:t}),(0,r.jsx)(i.xuv,{display:"flex",justifyContent:"flex-end",mr:2,children:(0,r.jsx)(i.wpx,{"aria-label":"Close editor",onClick:l,"data-testid":"close-drawer-btn",icon:(0,r.jsx)(i.Two,{fontSize:"smaller"})})})]}),(0,r.jsxs)(i.Ng0,{pt:1,children:[n?(0,r.jsx)(i.xvT,{fontSize:"sm",mb:4,color:"gray.600",children:n}):null,s]}),o]})]})}},18225:function(e,t,n){"use strict";var r=n(24246),i=n(96306);t.Z=e=>{let{alignment:t="center",...n}=e;return(0,r.jsx)(i.kCb,{boxSize:"full",align:"center",justify:t,children:(0,r.jsx)(i.$jN,{color:"primary",...n})})}},56358:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(24246);let i=(0,n(96306).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,r.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},77213:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(24246),i=n(96306),a=n(88038),l=n.n(a),s=n(86677);n(27378);var o=n(25980),u=n(90867),d=n(42478),c=n(77830),f=()=>{let e=(0,s.useRouter)();return(0,r.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,r.jsxs)(i.xuv,{children:[(0,r.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,r.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,r.jsx)(i.wpx,{onClick:()=>{e.push(c.AD)},children:"Configure"})]}),(0,r.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},h=e=>{let{children:t,title:n,padded:a=!0,mainProps:c}=e,h=(0,o.hz)(),m=(0,s.useRouter)(),p="/privacy-requests"===m.pathname||"/datastore-connection"===m.pathname,g=!(h.flags.messagingConfiguration&&p),{data:x}=(0,d.JE)(void 0,{skip:g}),{data:y}=(0,u.PW)(void 0,{skip:g}),_=h.flags.messagingConfiguration&&(!x||!y)&&p;return(0,r.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,r.jsxs)(l(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsxs)(i.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[_?(0,r.jsx)(f,{}):null,t]})]})}},94799:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(76649);let i=e=>(0,r.Ln)({id:"string"},e),a=e=>(null!=e?e:[]).filter(i)},30320:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(27378),i=n(25980),a=n(17245),l=n(32885),s=n(94799);let o=e=>{let{resourceFidesKey:t,resourceType:n}=e,{errorAlert:o}=(0,a.VY)(),{plus:u}=(0,i.hz)(),d=(0,r.useMemo)(()=>null!=t?t:"",[]),c=(0,l.YU)(!0,{skip:!u}),f=(0,l.VN)(n,{skip:!u}),{data:h,isLoading:m,error:p,isError:g}=(0,l.PV)(null!=t?t:"",{skip:""!==d&&!(u&&d)}),[x]=(0,l._D)(),y=c.isLoading||f.isLoading||m,_=(0,r.useMemo)(()=>new Map((0,s.k)(c.data).map(e=>{var t;return[e.id,{...e,options:(null!==(t=e.allowed_values)&&void 0!==t?t:[]).map(e=>({value:e,label:e}))}]})),[c.data]),v=(0,r.useMemo)(()=>{var e;return null===(e=f.data)||void 0===e?void 0:e.filter(e=>e.active)},[f.data]),T=(0,r.useMemo)(()=>new Map((0,s.k)(v).map(e=>[e.id,e])),[v]),E=(0,r.useMemo)(()=>g&&(null==p?void 0:p.status)===404?new Map:new Map((0,s.k)(h).map(e=>[e.custom_field_definition_id,e])),[h,g,p]),A=(0,r.useMemo)(()=>{let e=[...T.keys()];return e.sort(),e},[T]),C=(0,r.useMemo)(()=>{let e={};return v&&E&&v.forEach(t=>{let n=E.get(t.id||"");n&&(t.allow_list_id&&"string[]"===t.field_type?e[n.custom_field_definition_id]=n.value:e[n.custom_field_definition_id]=n.value.toString())}),e},[v,E]),j=(0,r.useCallback)(async e=>{if(!u)return;let r="fides_key"in e&&""!==e.fides_key?e.fides_key:t;if(!r)return;let{customFieldValues:i}=e;if(!i||0===Object.keys(i).length)return;let a=[],l=[];A.forEach(e=>{let t=E.get(e),n=i[e];void 0===n||""===n||Array.isArray(n)&&0===n.length?(null==t?void 0:t.id)&&l.push(t.id):a.push({custom_field_definition_id:e,resource_id:r,id:null==t?void 0:t.id,value:n})});try{await x({resource_type:n,resource_id:r,upsert:a,delete:l})}catch(e){o("One or more custom fields have failed to save, please try again."),console.error(e)}},[u,E,o,t,A,x,n]);return{customFieldValues:C,definitionIdToCustomField:E,idToAllowListWithOptions:_,idToCustomFieldDefinition:T,isEnabled:u,isLoading:y,sortedCustomFieldDefinitionIds:A,upsertCustomFields:j}}},95346:function(e,t,n){"use strict";n.d(t,{uc:function(){return x},Hn:function(){return o},Uv:function(){return l},C7:function(){return u},mZ:function(){return g.m}});var r,i,a,l,s=n(21910);(r=a||(a={}))[r.CREATE_CUSTOM_FIELDS=0]="CREATE_CUSTOM_FIELDS",r[r.CREATE_CUSTOM_LISTS=1]="CREATE_CUSTOM_LISTS",r[r.CHOOSE_FROM_LIBRARY=2]="CHOOSE_FROM_LIBRARY",s.AL.STRING,s.AL.STRING,s.AL.STRING_,(i=l||(l={})).SINGLE_SELECT="singleSelect",i.MULTIPLE_SELECT="multipleSelect",i.LOCATION_SELECT="locationSelect",i.OPEN_TEXT="openText";let o=[{label:"Single select",value:"singleSelect"},{label:"Multiple select",value:"multipleSelect"},{label:"Location select",value:"locationSelect"},{label:"Open Text",value:"openText"}],u=[{label:"taxonomy:".concat(s.P6.DATA_CATEGORY),value:s.P6.DATA_CATEGORY},{label:"taxonomy:".concat(s.P6.DATA_SUBJECT),value:s.P6.DATA_SUBJECT},{label:"taxonomy:".concat(s.P6.DATA_USE),value:s.P6.DATA_USE},{label:"".concat(s.P6.SYSTEM,":information"),value:s.P6.SYSTEM},{label:"system:data use",value:s.P6.PRIVACY_DECLARATION}];var d=n(24246),c=n(96306),f=n(34090),h=n(30234),m=n(97181),p=n(40324),g=n(30320);let x=e=>{let{resourceFidesKey:t,resourceType:n}=e,{idToAllowListWithOptions:r,idToCustomFieldDefinition:i,isEnabled:a,isLoading:l,sortedCustomFieldDefinitionIds:o}=(0,g.m)({resourceFidesKey:t,resourceType:n});return a&&0!==o.length?(0,d.jsx)(h.Z,{heading:"Custom fields",children:(0,d.jsx)(c.kCb,{flexDir:"column","data-testid":"custom-fields-list",children:(0,d.jsx)(c.kCb,{flexDir:"column",gap:"24px",children:l?(0,d.jsx)(c.M5Y,{children:(0,d.jsx)(c.$jN,{})}):o.length>0&&(0,d.jsx)(c.kCb,{flexDirection:"column",gap:"12px",paddingBottom:"24px",children:o.map(e=>{let t=i.get(e);if(!t)return null;let n="customFieldValues.".concat(t.id);if(!t.allow_list_id&&t.field_type===s.AL.STRING)return(0,d.jsx)(f.gN,{name:n,children:e=>{let{field:n}=e;return(0,d.jsx)(p.j0,{...n,label:t.name,tooltip:t.description,variant:"stacked"})}},e);let a=r.get(t.allow_list_id);if(!a)return null;let{options:l}=a;return(0,d.jsx)(m.d,{name:n,allowClear:!0,mode:t.field_type!==s.AL.STRING?"multiple":void 0,label:t.name,options:l,tooltip:t.description,layout:"stacked",className:"w-full"},e)})})})})}):null};n(94799)},42478:function(e,t,n){"use strict";n.d(t,{FU:function(){return u},JE:function(){return i},Ki:function(){return c},SU:function(){return f},W:function(){return h},h9:function(){return a},jc:function(){return r},qt:function(){return o},sn:function(){return d}});let{useGetEmailInviteStatusQuery:r,useGetActiveMessagingProviderQuery:i,useCreateMessagingConfigurationMutation:a,useCreateMessagingConfigurationSecretsMutation:l,useGetMessagingConfigurationDetailsQuery:s,useGetMessagingConfigurationsQuery:o,useGetMessagingConfigurationByKeyQuery:u,useUpdateMessagingConfigurationByKeyMutation:d,useUpdateMessagingConfigurationSecretsByKeyMutation:c,useCreateTestConnectionMessageMutation:f,useDeleteMessagingConfigurationByKeyMutation:h}=n(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,t,n,r)=>{let i=await r({url:"messaging/default/active"});return i.error&&404===i.error.status?{data:null}:i},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},30234:function(e,t,n){"use strict";var r=n(24246),i=n(96306);t.Z=e=>{let{heading:t,HeadingButton:n,children:a}=e;return(0,r.jsx)(i.Kqy,{spacing:4,children:(0,r.jsxs)(i.xuv,{maxWidth:"720px",border:"1px",borderColor:"gray.200",borderRadius:6,overflow:"visible",mt:6,children:[(0,r.jsxs)(i.xuv,{backgroundColor:"gray.50",px:6,py:4,display:"flex",flexDirection:"row",alignItems:"center",borderBottom:"1px",borderColor:"gray.200",borderTopRadius:6,children:[(0,r.jsx)(i.X6q,{as:"h3",size:"xs",children:t}),n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.LZC,{}),(0,r.jsx)(n,{})]}):null]}),(0,r.jsx)(i.Kqy,{spacing:4,px:6,py:6,children:a})]})})}},92818:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(24246),i=n(27378),a=n(97181),l=n(22583),s=n(21910);let o={[s.Ej.TAXONOMY_WHITE]:"White",[s.Ej.TAXONOMY_RED]:"Red",[s.Ej.TAXONOMY_ORANGE]:"Orange",[s.Ej.TAXONOMY_YELLOW]:"Yellow",[s.Ej.TAXONOMY_GREEN]:"Green",[s.Ej.TAXONOMY_BLUE]:"Blue",[s.Ej.TAXONOMY_PURPLE]:"Purple",[s.Ej.SANDSTONE]:"Sandstone",[s.Ej.MINOS]:"Minos"},u=e=>{let{color:t,...n}=e;return(0,r.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(l.j[t],")"),border:t===s.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...n.style}})},d=e=>{let t=null==e?void 0:e.value,n=null==e?void 0:e.label;return(0,r.jsxs)("span",{className:"flex items-center",children:[(0,r.jsx)(u,{color:t}),(0,r.jsx)("span",{children:n})]})};t.Z=e=>{let t=Object.values(s.Ej).map(e=>({value:e,label:o[e]})),[n,l]=(0,i.useState)(void 0);return(0,r.jsx)(a.d,{...e,options:t,optionRender:d,layout:"stacked",value:n,onChange:e=>{l(e)},prefix:(0,r.jsx)(u,{color:null!=n?n:s.Ej.TAXONOMY_WHITE,style:{marginBottom:"2px"}})})}},59001:function(e,t,n){"use strict";n.d(t,{Ch:function(){return o},Lo:function(){return l},_g:function(){return u},ac:function(){return a},aq:function(){return d}});var r,i,a,l,s=n(21910);let o="root";(r=a||(a={})).DATA_CATEGORY="data_category",r.DATA_USE="data_use",r.DATA_SUBJECT="data_subject",r.SYSTEM_GROUP="system_group",(i=l||(l={})).DATA_CATEGORIES="Data categories",i.DATA_USES="Data uses",i.DATA_SUBJECTS="Data subjects",i.SYSTEM_GROUPS="System groups";let u=e=>{switch(e){case"data_category":return"Data categories";case"data_use":return"Data uses";case"data_subject":return"Data subjects";case"system_group":return"System groups";default:return e}},d=e=>{switch(e){case"data_category":return{UPDATE:s.Sh.DATA_CATEGORY_UPDATE,CREATE:s.Sh.DATA_CATEGORY_CREATE,DELETE:s.Sh.DATA_CATEGORY_DELETE,READ:s.Sh.DATA_CATEGORY_READ};case"data_use":return{UPDATE:s.Sh.DATA_USE_UPDATE,CREATE:s.Sh.DATA_USE_CREATE,DELETE:s.Sh.DATA_USE_DELETE,READ:s.Sh.DATA_USE_READ};case"data_subject":return{UPDATE:s.Sh.DATA_SUBJECT_UPDATE,CREATE:s.Sh.DATA_SUBJECT_CREATE,DELETE:s.Sh.DATA_SUBJECT_DELETE,READ:s.Sh.DATA_SUBJECT_READ};case"system_group":return{UPDATE:s.Sh.SYSTEM_GROUP_UPDATE,CREATE:s.Sh.SYSTEM_GROUP_CREATE,DELETE:s.Sh.SYSTEM_GROUP_DELETE,READ:s.Sh.SYSTEM_GROUP_READ};default:return{UPDATE:s.Sh.TAXONOMY_UPDATE,CREATE:s.Sh.TAXONOMY_CREATE,DELETE:s.Sh.TAXONOMY_DELETE,READ:s.Sh.TAXONOMY_READ}}}},90673:function(e,t,n){"use strict";n.d(t,{Cd:function(){return a},Xl:function(){return l}});var r=n(21910),i=n(59001);let a=(e,t)=>{let n;if(null==t&&e.every(e=>void 0===e.parent_key))n=e;else{let r=null!=t?t:null;n=e.filter(e=>e.parent_key===r)}return n.map(t=>{var n,r;let i=t.fides_key;return{value:t.fides_key,label:""===t.name||null==t.name?t.fides_key:t.name,description:t.description,children:a(e,i),is_default:null!==(n=t.is_default)&&void 0!==n&&n,active:null!==(r=t.active)&&void 0!==r&&r}})},l=e=>{switch(e){case i.ac.DATA_CATEGORY:return r.P6.DATA_CATEGORY;case i.ac.DATA_SUBJECT:return r.P6.DATA_SUBJECT;case i.ac.DATA_USE:return r.P6.DATA_USE;default:return}}},33031:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ew}});var r,i,a=n(24246),l=n(96306),s=n(69238),o=n.n(s),u=n(63662),d=n(27378),c=n(25980),f=n(812),h=n(77213),m=n(58754),p=n(19904),g=n(46628),x=n(95346),y=n(79806),_=n(56358),v=n(59001),T=n(90673),E=n(30002),A=n(28079),C=n(69353),j=n(5785);let{useGetCustomTaxonomiesQuery:S,useLazyGetTaxonomyQuery:b,useCreateTaxonomyMutation:O,useUpdateTaxonomyMutation:D,useDeleteTaxonomyMutation:P}=n(78780).u.injectEndpoints({endpoints:e=>({getCustomTaxonomies:e.query({query:()=>({url:"taxonomies"})}),getTaxonomy:e.query({query:e=>({url:"taxonomies/".concat(e)}),providesTags:(e,t,n)=>[{type:"Taxonomy",id:n}],transformResponse:e=>{let t=[],n=[...e],r=n.filter(e=>null===e.parent_key);r.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...r);let i=n.filter(e=>null!==e.parent_key);for(;i.length>0;){let e=i.filter(e=>t.some(t=>t.fides_key===e.parent_key));if(0===e.length){t.push(...i.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)));break}e.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...e),i=i.filter(t=>!e.includes(t))}return t}}),createTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"POST",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),updateTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"PUT",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),deleteTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,key:n}=e;return{url:"taxonomies/".concat(t,"/").concat(n),method:"DELETE"}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}})})});var k=e=>{let{taxonomyType:t}=e,[n,r]=(0,j.Vj)(),[i,a]=(0,E.nC)(),[l,s]=(0,A.dk)(),[o,u]=(0,C.cw)(),[c]=(0,j.Ti)(),[f]=(0,A.Ql)(),[h]=(0,E.wG)(),[m]=(0,C.Nr)(),[p]=(0,j.jU)(),[g]=(0,A.LG)(),[x]=(0,E.h8)(),[y]=(0,C.Xz)(),[_]=(0,j.K9)(),[T]=(0,A.gu)(),[S]=(0,E.Kv)(),[k]=(0,C.Uv)(),[I,N]=b(),[R]=O(),[M]=D(),[w]=P(),L=(0,d.useCallback)(()=>t?I(t):Promise.resolve(void 0),[t,I]),U=(0,d.useCallback)(e=>t?R({taxonomyType:t,...e}):Promise.resolve(void 0),[t,R]),V=(0,d.useCallback)(e=>t?M({taxonomyType:t,...e}):Promise.resolve(void 0),[t,M]),F=(0,d.useCallback)(e=>t?w({taxonomyType:t,key:e}):Promise.resolve(void 0),[t,w]);return t===v.ac.DATA_CATEGORY?{getAllTrigger:n,taxonomyItems:r.data||[],updateTrigger:p,deleteTrigger:_,createTrigger:c,isLoading:r.isLoading,isError:r.isError}:t===v.ac.DATA_USE?{getAllTrigger:l,taxonomyItems:s.data||[],updateTrigger:g,deleteTrigger:T,createTrigger:f,isLoading:s.isLoading,isError:s.isError}:t===v.ac.DATA_SUBJECT?{getAllTrigger:i,taxonomyItems:a.data||[],updateTrigger:x,deleteTrigger:S,createTrigger:h,isLoading:a.isLoading,isError:a.isError}:t===v.ac.SYSTEM_GROUP?{getAllTrigger:o,taxonomyItems:u.data||[],updateTrigger:y,deleteTrigger:k,createTrigger:m,isLoading:u.isLoading,isError:u.isError}:{getAllTrigger:L,taxonomyItems:(null==N?void 0:N.data)||[],updateTrigger:V,deleteTrigger:F,createTrigger:U,isLoading:(null==N?void 0:N.isLoading)||!1,isError:(null==N?void 0:N.isError)||!1}},I=n(31883),N=n(90104),R=n.n(N),M=n(18225),w=n(21910),L=e=>{let{customFields:t,formId:n,form:r}=e,{idToAllowListWithOptions:i,idToCustomFieldDefinition:s,isEnabled:o,isLoading:u,sortedCustomFieldDefinitionIds:d}=t;return o&&0!==d.length?(0,a.jsxs)(l.PPS,{form:r,name:n,initialValues:t.customFieldValues,layout:"vertical","data-testid":"custom-fields-form",children:[(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(l.AntTypography.Title,{level:3,children:"Custom fields"})}),u?(0,a.jsx)(M.Z,{}):(0,a.jsx)("div",{children:!R()(d)&&(0,a.jsx)("div",{children:d.map(e=>{let t=s.get(e);if(!t)return null;let{id:n,name:r,description:o,allow_list_id:u,field_type:d}=t;if(!u&&d===w.AL.STRING)return(0,a.jsx)(l.PPS.Item,{name:n,label:r,tooltip:o,children:(0,a.jsx)(l.uFc,{})},e);let c=i.get(t.allow_list_id);if(!c)return null;let{options:f}=c;return(0,a.jsx)(l.PPS.Item,{name:n,label:r,tooltip:o,children:(0,a.jsx)(l.WPr,{mode:"string"!==d?"multiple":void 0,allowClear:!0,options:f})},e)})})})]}):null},U=n(43551),V=n.n(U),F=()=>{let e=l.PPS.useFormInstance(),t=l.PPS.useWatch(["rights","values"],e);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.PPS.Item,{label:"Automated Decisions or Profiling",name:"automated_decisions_or_profiling",layout:"horizontal",valuePropName:"checked",children:(0,a.jsx)(l.E_O,{"data-testid":"edit-taxonomy-form_automated-decisions"})}),(0,a.jsx)(l.PPS.Item,{name:["rights","values"],label:"Rights",children:(0,a.jsx)(l.WPr,{mode:"multiple",options:(0,f.MM)(w.ts),"data-testid":"edit-taxonomy-form_rights"})}),t&&!R()(t)&&(0,a.jsx)(l.PPS.Item,{name:["rights","strategy"],label:"Strategy",required:!0,rules:[{required:!0,message:"Please select a strategy"}],children:(0,a.jsx)(l.WPr,{options:(0,f.MM)(w.jX),"data-testid":"edit-taxonomy-form_strategy"})})]})},H=n(83766),Y=n.n(H),B=n(1315),z=n(22583),q=n(92818);let G=e=>{let{color:t,...n}=e;return(0,a.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(z.j[t],")"),border:t===w.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...n.style}})};var W=e=>{let t=Object.values(w.Ej).map(e=>({value:e,label:(0,a.jsxs)("span",{className:"flex items-center",children:[(0,a.jsx)(G,{color:e}),(0,a.jsx)("span",{children:q.r[e]})]})}));return(0,a.jsx)(l.WPr,{...e,options:t,placeholder:"Select color"})};let X="all-suggested";var Z=e=>{let{initialValues:t,onSubmit:n,form:r,formId:i,isDisabled:s}=e,{data:o=[],isLoading:u}=(0,A.fd)(),{data:c,isLoading:f}=(0,B.K3)(),h=(0,d.useMemo)(()=>o.map(e=>({label:e.name||e.fides_key,value:e.fides_key})),[o]),m=l.PPS.useWatch("systems",r),p=(0,d.useMemo)(()=>{var e;let t=m||[];if(!c||0===t.length)return[];let n=null!==(e=null==c?void 0:c.filter(e=>t.includes(e.fides_key)))&&void 0!==e?e:[];return Y()(null==n?void 0:n.flatMap(e=>e.privacy_declarations.map(e=>e.data_use)))},[c,m]),g=(0,d.useMemo)(()=>{var e;return null!==(e=null==c?void 0:c.map(e=>({label:e.name||e.fides_key,value:e.fides_key})))&&void 0!==e?e:[]},[c]),x=(0,d.useMemo)(()=>{let e=[],t=[];return(h.forEach(n=>{p.includes(n.value)?e.push(n):t.push(n)}),0===e.length)?t:[{label:"Select all suggested",value:X},{label:(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(l.QMR,{}),(0,a.jsx)("strong",{children:"Suggested data uses"})]}),options:e},{label:(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(l.PJP.BBB,{}),(0,a.jsx)("strong",{children:"All data uses"})]}),options:t}]},[h,p]);return(0,a.jsxs)(l.PPS,{name:i,initialValues:t,onFinish:e=>{var r,i;let a={...t,...e};(!(null==a?void 0:null===(r=a.rights)||void 0===r?void 0:r.values)||R()(null==a?void 0:null===(i=a.rights)||void 0===i?void 0:i.values))&&V()(a,"rights"),n(a)},layout:"vertical",form:r,children:[(0,a.jsx)(l.PPS.Item,{label:"Name",name:"name",children:(0,a.jsx)(l.uFc,{"data-testid":"edit-taxonomy-form_name",disabled:s})}),(0,a.jsx)(l.PPS.Item,{label:"Description",name:"description",children:(0,a.jsx)(l.uFc.TextArea,{rows:4,"data-testid":"edit-taxonomy-form_description",disabled:s})}),(0,a.jsx)(l.PPS.Item,{label:"Systems",name:"systems",children:(0,a.jsx)(l.WPr,{mode:"multiple",placeholder:"Select systems",options:g,allowClear:!0,loading:f,disabled:s,"data-testid":"edit-taxonomy-form_systems"})}),(0,a.jsx)(l.PPS.Item,{label:"Color",name:"label_color",children:(0,a.jsx)(W,{disabled:s,"data-testid":"edit-taxonomy-form_color"})}),(0,a.jsx)(l.PPS.Item,{label:"Data uses",name:"data_uses",children:(0,a.jsx)(l.WPr,{mode:"multiple",placeholder:"Select data uses",options:x,allowClear:!0,loading:u,disabled:s,onChange:e=>{if(e.includes(X)){let t=Y()([...p,...e.filter(e=>e!==X)]);r.setFieldsValue({data_uses:t})}else r.setFieldsValue({data_uses:e})},"data-testid":"edit-taxonomy-form_data_uses"})})]})},K=e=>{let{initialValues:t,onSubmit:n,form:r,formId:i,taxonomyType:s,isDisabled:o}=e,u=s===v.ac.DATA_SUBJECT;return s===v.ac.SYSTEM_GROUP?(0,a.jsx)(Z,{initialValues:t,onSubmit:n,form:r,formId:i,isDisabled:o}):(0,a.jsxs)(l.PPS,{name:i,initialValues:t,onFinish:e=>{var r,i;let a={...t,...e};(!(null==a?void 0:null===(r=a.rights)||void 0===r?void 0:r.values)||R()(null==a?void 0:null===(i=a.rights)||void 0===i?void 0:i.values))&&V()(a,"rights"),n(a)},layout:"vertical",form:r,children:[(0,a.jsx)(l.PPS.Item,{label:"Name",name:"name",children:(0,a.jsx)(l.uFc,{"data-testid":"edit-taxonomy-form_name",disabled:o})}),(0,a.jsx)(l.PPS.Item,{label:"Description",name:"description",children:(0,a.jsx)(l.uFc.TextArea,{rows:4,"data-testid":"edit-taxonomy-form_description",disabled:o})}),u&&(0,a.jsx)(F,{})]})},J=e=>{let{taxonomyItem:t,taxonomyType:n,onClose:r}=e,i="edit-taxonomy-form",[s]=l.PPS.useForm(),[o]=l.PPS.useForm(),u=(0,l.pmc)(),{isOpen:d,onOpen:c,onClose:h}=(0,l.qY0)(),{updateTrigger:m}=k({taxonomyType:n}),E=(0,x.mZ)({resourceFidesKey:null==t?void 0:t.fides_key,resourceType:(0,T.Xl)(n)}),A=(0,p.Tg)([(0,v.aq)(n).UPDATE]),C=(0,p.Tg)([(0,v.aq)(n).DELETE]),j=async e=>{let n=await m(e);if((0,I.D4)(n)){u((0,g.Vo)((0,f.e$)(n.error)));return}if(E.isEnabled){let e=o.getFieldsValue();await E.upsertCustomFields({fides_key:null==t?void 0:t.fides_key,customFieldValues:e})}u((0,g.t5)("Taxonomy successfully updated")),r()},S=async()=>{await m({...t,active:!1}),h(),r()},b=async()=>{await m({...t,active:!0}),h(),r()};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(y.ZP,{isOpen:!!t,onClose:r,header:(0,a.jsx)(y.zR,{title:(null==t?void 0:t.name)||""}),footer:(0,a.jsxs)(l.zeN,{justifyContent:"space-between",children:[(null==t?void 0:t.active)&&C&&(0,a.jsx)(l.esZ,{title:"Delete label",children:(0,a.jsx)(l.wpx,{"aria-label":"delete",icon:(0,a.jsx)(_.q,{fontSize:"small"}),onClick:c,"data-testid":"delete-btn"})}),!(null==t?void 0:t.active)&&A&&(0,a.jsx)(l.esZ,{title:"Enable label",children:(0,a.jsx)(l.wpx,{"aria-label":"enable",onClick:b,"data-testid":"enable-btn",icon:(0,a.jsx)(l.tEF,{fontSize:"small"})})}),(0,a.jsx)("div",{className:"flex gap-2",children:A&&(0,a.jsx)(l.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:i,children:"Save"})})]}),children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("div",{className:"mb-2",children:(0,a.jsx)(l.AntTypography.Title,{level:3,children:"Details"})}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("span",{className:"w-1/3 shrink-0 text-sm text-gray-500",children:"Fides key:"}),(0,a.jsx)(l.esZ,{title:null==t?void 0:t.fides_key,trigger:"click",children:(0,a.jsx)("span",{className:"flex-1 truncate","data-testid":"edit-drawer-fides-key",children:null==t?void 0:t.fides_key})})]})]}),!!t&&(0,a.jsx)(K,{initialValues:t,onSubmit:j,form:s,formId:i,taxonomyType:n,isDisabled:!A}),E.isEnabled&&!E.isLoading&&(0,a.jsx)(L,{form:o,formId:"custom-fields-form",customFields:E})]}),(0,a.jsx)(l.cVQ,{isOpen:d,onClose:h,onConfirm:S,title:"Delete ".concat(n),message:(0,a.jsx)(l.Kqy,{children:(0,a.jsxs)(l.xvT,{children:["You are about to permanently delete the ",n," ",(0,a.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:null==t?void 0:t.name})," ","from your taxonomy. Are you sure you would like to continue?"]})})})]})};n(51901);var $=n(86298),Q=n(3124),ee=n.n(Q);(r=i||(i={})).DEFAULT="DEFAULT",r.ACTIVE_HOVER="ACTIVE_HOVER",r.PARENT_OF_HOVER="PARENT_OF_HOVER",r.CHILD_OF_HOVER="CHILD_OF_HOVER",r.SIBLING_OF_HOVER="SIBLING_OF_HOVER",r.INACTIVE="INACTIVE";let et=(0,d.createContext)({activeNodeKey:null,setActiveNodeKey:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},getNodeHoverStatus:()=>"DEFAULT"}),en=e=>{let{children:t}=e,[n,r]=(0,d.useState)(null),i=(0,d.useCallback)(e=>{e!==n&&r(e)},[n]),l=(0,d.useCallback)(()=>{r(null)},[]),s=(0,d.useCallback)(e=>n?e===n?"ACTIVE_HOVER":n.startsWith("".concat(e,"."))||e===v.Ch?"PARENT_OF_HOVER":e.startsWith("".concat(n,"."))||n===v.Ch?"CHILD_OF_HOVER":n.split(".").slice(0,-1).join(".")===e.split(".").slice(0,-1).join(".")?"SIBLING_OF_HOVER":"INACTIVE":"DEFAULT",[n]),o=(0,d.useMemo)(()=>({activeNodeKey:n,setActiveNodeKey:r,onMouseEnter:i,onMouseLeave:l,getNodeHoverStatus:s}),[n,r,i,l,s]);return(0,a.jsx)(et.Provider,{value:o,children:t})};function er(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function ei(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=el)):void 0===t&&(t=ea);for(var n,r,i,a,l,s=new eu(e),o=[s];n=o.pop();)if((i=t(n.data))&&(l=(i=Array.from(i)).length))for(n.children=i,a=l-1;a>=0;--a)o.push(r=i[a]=new eu(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(eo)}function ea(e){return e.children}function el(e){return Array.isArray(e)?e[1]:null}function es(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function eo(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function eu(e){this.data=e,this.depth=this.height=0,this.parent=null}function ed(e,t){return e.parent===t.parent?1:2}function ec(e){var t=e.children;return t?t[0]:e.t}function ef(e){var t=e.children;return t?t[t.length-1]:e.t}function eh(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function em(e){return null==e?null:function(e){if("function"!=typeof e)throw Error();return e}(e)}eu.prototype=ei.prototype={constructor:eu,count:function(){return this.eachAfter(er)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,a=this,l=[a],s=[],o=-1;a=l.pop();)if(s.push(a),n=a.children)for(r=0,i=n.length;r<i;++r)l.push(n[r]);for(;a=s.pop();)e.call(t,a,++o,this);return this},eachBefore:function(e,t){for(var n,r,i=this,a=[i],l=-1;i=a.pop();)if(e.call(t,i,++l,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return ei(this).eachBefore(es)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)a.push(t[n]);while(a.length)}},eh.prototype=Object.create(eu.prototype);var ep={depth:-1},eg={},ex={};function ey(e){return e.id}function e_(e){return e.parentId}function ev(e){let t=e.length;if(t<2)return"";for(;--t>1&&!eT(e,t););return e.slice(0,t)}function eT(e,t){if("/"===e[t]){let n=0;for(;t>0&&"\\"===e[--t];)++n;if((1&n)==0)return!0}return!1}let eE=function(){var e=ed,t=1,n=1,r=null;function i(i){var o=function(e){for(var t,n,r,i,a,l=new eh(e,0),s=[l];t=s.pop();)if(r=t._.children)for(t.children=Array(a=r.length),i=a-1;i>=0;--i)s.push(n=t.children[i]=new eh(r[i],i)),n.parent=t;return(l.parent=new eh(null,0)).children=[l],l}(i);if(o.eachAfter(a),o.parent.m=-o.z,o.eachBefore(l),r)i.eachBefore(s);else{var u=i,d=i,c=i;i.eachBefore(function(e){e.x<u.x&&(u=e),e.x>d.x&&(d=e),e.depth>c.depth&&(c=e)});var f=u===d?1:e(u,d)/2,h=f-u.x,m=t/(d.x+f+h),p=n/(c.depth||1);i.eachBefore(function(e){e.x=(e.x+h)*m,e.y=e.depth*p})}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,i=e.children,a=i.length;--a>=0;)t=i[a],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,a,l,s=t,o=t,u=n,d=s.parent.children[0],c=s.m,f=o.m,h=u.m,m=d.m;u=ef(u),s=ec(s),u&&s;)d=ec(d),(o=ef(o)).a=t,(l=u.z+h-s.z-c+e(u._,s._))>0&&(function(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}((i=u,a=r,i.a.parent===t.parent?i.a:a),t,l),c+=l,f+=l),h+=u.m,c+=s.m,m+=d.m,f+=o.m;u&&!ef(o)&&(o.t=u,o.m+=h-f),s&&!ec(d)&&(d.t=s,d.m+=c-m,r=t)}return r}(t,i,t.parent.A||r[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}();var eA=e=>{let{nodes:t,edges:n,options:r}=e;return(0,d.useMemo)(()=>{if(0===t.length)return{nodes:t,edges:n};let e=(function(){var e,t=ey,n=e_;function r(r){var i,a,l,s,o,u,d,c,f=Array.from(r),h=t,m=n,p=new Map;if(null!=e){let t=f.map((t,n)=>{var i;let a;return i=e(t,n,r),a=(i=`${i}`).length,eT(i,a-1)&&!eT(i,a-2)&&(i=i.slice(0,-1)),"/"===i[0]?i:`/${i}`}),n=t.map(ev),i=new Set(t).add("");for(let e of n)i.has(e)||(i.add(e),t.push(e),n.push(ev(e)),f.push(ex));h=(e,n)=>t[n],m=(e,t)=>n[t]}for(l=0,i=f.length;l<i;++l)a=f[l],u=f[l]=new eu(a),null!=(d=h(a,l,r))&&(d+="")&&(c=u.id=d,p.set(c,p.has(c)?eg:u)),null!=(d=m(a,l,r))&&(d+="")&&(u.parent=d);for(l=0;l<i;++l)if(d=(u=f[l]).parent){if(!(o=p.get(d)))throw Error("missing: "+d);if(o===eg)throw Error("ambiguous: "+d);o.children?o.children.push(u):o.children=[u],u.parent=o}else{if(s)throw Error("multiple roots");s=u}if(!s)throw Error("no root");if(null!=e){for(;s.data===ex&&1===s.children.length;)s=s.children[0],--i;for(let e=f.length-1;e>=0&&(u=f[e]).data===ex;--e)u.data=null}if(s.parent=ep,s.eachBefore(function(e){e.depth=e.parent.depth+1,--i}).eachBefore(eo),s.parent=null,i>0)throw Error("cycle");return s}return r.id=function(e){return arguments.length?(t=em(e),r):t},r.parentId=function(e){return arguments.length?(n=em(e),r):n},r.path=function(t){return arguments.length?(e=em(t),r):e},r})().id(e=>e.id).parentId(e=>{var t;return null===(t=n.find(t=>t.target===e.id))||void 0===t?void 0:t.source})(t),i="LR"===r.direction?[35,320]:[320,35];return{nodes:eE.nodeSize(i).separation((e,t)=>e.parent===t.parent?1:1.5)(e).descendants().map(e=>{let t;return t="LR"===r.direction?{x:e.y,y:e.x}:{x:e.x,y:e.y},{...e.data,position:t}}),edges:n}},[t,n,r])},eC=e=>{let{positionAbsoluteX:t,positionAbsoluteY:n,nodeWidth:r}=e,{setCenter:i,getZoom:a}=(0,$._K)();return{centerScreenOnNode:(0,d.useCallback)(()=>i(t+r/2,n,{duration:500,zoom:a()}),[a,t,n,r,i])}},ej=n(1945),eS=n.n(ej),eb=n(8335),eO=e=>{let{type:t,inactive:n=!1}=e;return(0,a.jsx)($.HH,{type:t,position:"source"===t?eb.Ly.Right:eb.Ly.Left,style:{width:8,height:8,backgroundColor:n?ee().FIDESUI_NEUTRAL_400:ee().FIDESUI_MINOS},className:"transition-colors duration-300 ease-in"})},eD=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:r}=e,{onCancel:i,onSubmit:s,parentKey:o}=t,u=(0,d.useRef)(null),[c,f]=(0,d.useState)(""),{centerScreenOnNode:h}=eC({positionAbsoluteX:n,positionAbsoluteY:r,nodeWidth:200});return(0,d.useEffect)(()=>{f("");let e=()=>{var e;return null===(e=u.current)||void 0===e?void 0:e.focus({cursor:"start",preventScroll:!0})};(async()=>{await h(),e()})()},[o,h,n,r]),(0,a.jsxs)("div",{style:{width:200},"data-testid":"taxonomy-text-input-node",children:[(0,a.jsx)(l.uFc,{placeholder:"Type label name...",ref:u,onBlur:i,onSubmit:()=>s(c),value:c,onChange:e=>f(e.target.value),onKeyUp:e=>{"Escape"===e.key&&i()},onPressEnter:()=>s(c),className:eS().input}),(0,a.jsx)(eO,{type:"target"})]})},eP=e=>{let{getNodeHoverStatus:t}=(0,d.useContext)(et),{target:n}=e,r=t(n),l=(0,d.useCallback)(()=>{switch(r){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return ee().FIDESUI_MINOS;case i.INACTIVE:return ee().NEUTRAL_400;default:return ee().FIDESUI_SANDSTONE}},[r]),s=(0,d.useCallback)(()=>{switch(r){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return 2;default:return 1}},[r]);return(0,a.jsx)($.Jd,{...e,style:{stroke:l(),strokeWidth:s(),transition:"stroke 0.3s ease 0s"}})},ek=n(34770),eI=n.n(ek),eN=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:r}=e,{onMouseEnter:s,onMouseLeave:o,getNodeHoverStatus:u}=(0,d.useContext)(et),{taxonomyType:c,taxonomyItem:f,onAddButtonClick:h,onTaxonomyItemClick:m,label:p,hasChildren:g,isLastCreatedItem:x,resetLastCreatedItemKey:y,userCanAddLabels:_}=t,{centerScreenOnNode:T}=eC({positionAbsoluteX:n,positionAbsoluteY:r,nodeWidth:200});(0,d.useEffect)(()=>{let e=async()=>{await T(),s(null==f?void 0:f.fides_key)};x&&(e(),y())},[x,s,null==f?void 0:f.fides_key,y,T]);let E=u(null==f?void 0:f.fides_key),A=(0,d.useCallback)(()=>{switch(E){case i.ACTIVE_HOVER:return eI()["button--hover"];case i.PARENT_OF_HOVER:return eI()["button--parent-hover"];case i.INACTIVE:return eI()["button--inactive"];case i.DEFAULT:case i.CHILD_OF_HOVER:case i.SIBLING_OF_HOVER:default:return""}},[E]),C=(null==f?void 0:f.fides_key)===v.Ch,j=c===v.ac.DATA_SUBJECT;return(0,a.jsxs)("div",{className:eI().container,onMouseEnter:()=>s(null==f?void 0:f.fides_key),onMouseLeave:()=>o(null==f?void 0:f.fides_key),"data-testid":"taxonomy-node-".concat(null==f?void 0:f.fides_key),children:[(0,a.jsx)(l.wpx,{className:"".concat(eI().button," ").concat(A()),onClick:()=>null==m?void 0:m(f),disabled:!m,type:"text",children:(0,a.jsxs)(l.AntTypography.Text,{ellipsis:!0,style:{color:"inherit"},children:[(null==f?void 0:f.active)===!1?"(disabled) ":"",p]})}),!C&&(0,a.jsx)(eO,{type:"target",inactive:E===i.INACTIVE}),g&&(0,a.jsx)(eO,{type:"source",inactive:E===i.INACTIVE}),_&&(!j||C)&&(0,a.jsx)("div",{className:eI()["add-button-container"],children:(0,a.jsx)(l.wpx,{type:"default",className:"".concat(eI()["add-button"]," ").concat(E===i.ACTIVE_HOVER?eI()["add-button--visible"]:""),icon:(0,a.jsx)(l.PJP.mm_,{size:20}),onClick:()=>null==h?void 0:h(f),size:"middle","data-testid":"taxonomy-add-child-label-button","aria-label":"Add child label to ".concat(p)})})]})};let eR=e=>{let{taxonomyType:t,taxonomyItems:n,draftNewItem:r,lastCreatedItemKey:i,resetLastCreatedItemKey:l,onTaxonomyItemClick:s,onAddButtonClick:o,onCancelDraftItem:u,onSubmitDraftItem:c,userCanAddLabels:f}=e,{fitView:h}=(0,$._K)();(0,d.useEffect)(()=>{setTimeout(()=>h(),150)},[h,t]);let m=[(0,d.useMemo)(()=>({id:v.Ch,position:{x:0,y:0},data:{label:(0,v._g)(t),taxonomyItem:{fides_key:v.Ch},taxonomyType:t,onTaxonomyItemClick:null,onAddButtonClick:o,hasChildren:0!==n.length,userCanAddLabels:f},type:"taxonomyTreeNode"}),[t,n.length,o,f])],p=[];if(n.forEach(e=>{let n=e.name||e.fides_key.split(".").pop()||"",r={id:e.fides_key,position:{x:0,y:0},data:{label:n,taxonomyType:t,taxonomyItem:e,onTaxonomyItemClick:s,onAddButtonClick:o,hasChildren:!1,isLastCreatedItem:i===e.fides_key,resetLastCreatedItemKey:l,userCanAddLabels:f},type:"taxonomyTreeNode"};m.push(r);let a=e.parent_key?m.find(t=>t.id===e.parent_key):null,u=a?a.id:v.Ch,d=e.fides_key,c={id:"".concat(u,"-").concat(d),source:u,target:d,type:"taxonomyTreeEdge"};p.push(c),a&&(a.data.hasChildren=!0)}),r){let e=r.parent_key||v.Ch;m.push({id:"draft-node",position:{x:0,y:0},type:"textInputNode",data:{parentKey:e,onCancel:u,onSubmit:c},hidden:!r}),p.push({id:"draft-line",source:e,target:"draft-node",animated:!0});let t=m.find(t=>t.id===e);t&&(t.data.hasChildren=!0)}let{nodes:g,edges:x}=eA({nodes:m,edges:p,options:{direction:"LR"}}),y=(0,d.useMemo)(()=>({taxonomyTreeNode:eN,textInputNode:eD}),[]),_=(0,d.useMemo)(()=>({taxonomyTreeEdge:eP}),[]);return(0,a.jsx)("div",{className:"size-full",style:{backgroundColor:ee().FIDESUI_BG_CORINTH},"data-testid":"taxonomy-interactive-tree",children:(0,a.jsx)(en,{children:(0,a.jsxs)($.x$,{nodes:g,edges:x,nodeTypes:y,edgeTypes:_,maxZoom:2,minZoom:.3,nodesConnectable:!1,edgesFocusable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,a.jsx)($.Aq,{color:ee().FIDESUI_NEUTRAL_100,variant:$.T7.Dots,size:3}),(0,a.jsx)($.a9,{nodeStrokeWidth:3,pannable:!0}),(0,a.jsx)($.ZX,{showInteractive:!1})]})})})};var eM=e=>(0,a.jsx)($.tV,{children:(0,a.jsx)(eR,{...e})}),ew=()=>{let[e,t]=(0,d.useState)(v.ac.DATA_CATEGORY),n=(0,c.hz)().plus,{data:r}=S(void 0,{skip:!n}),{createTrigger:i,getAllTrigger:s,taxonomyItems:x=[]}=k({taxonomyType:e}),y=(0,u.useSearchParams)(),_=(null==y?void 0:y.get("showDisabledItems"))==="true";(0,d.useEffect)(()=>{s()},[s,e]);let[T,E]=(0,d.useState)(null),[A,C]=(0,d.useState)(null),[j,b]=(0,d.useState)(null);(0,d.useEffect)(()=>{C(null),b(null),E(null)},[e]),(0,d.useEffect)(()=>{e!==v.ac.SYSTEM_GROUP||n||t(v.ac.DATA_CATEGORY)},[e,n]);let O=(0,l.pmc)(),D=(0,d.useCallback)(async e=>{if(!A)return;let t=(null==A?void 0:A.parent_key)===v.Ch,n={...A,name:e,parent_key:t?null:A.parent_key},r=await i(n);if((0,f.D4)(r)){O((0,g.Vo)((0,f.e$)(r.error)));return}b(r.data.fides_key),O((0,g.t5)("New label successfully created")),C(null)},[i,A,O]),P=o()(x,"active"),I=(0,p.Tg)([(0,v.aq)(e).CREATE]);return(0,a.jsxs)(h.Z,{title:"Taxonomy",children:[(0,a.jsxs)(l.jqI,{vertical:!0,className:"h-full",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(m.Z,{heading:"Taxonomy"}),(0,a.jsx)("div",{className:"hidden",children:(0,a.jsx)("div",{className:"mb-5 flex justify-between",children:(0,a.jsxs)(l.vyj.Compact,{children:[(0,a.jsx)(l.uFc,{className:"min-w-[350px]",placeholder:"Search",allowClear:!0}),(0,a.jsx)(l.wpx,{type:"default",children:"Clear"})]})})})]}),(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("div",{className:"absolute left-2 top-2 z-[1]",children:(0,a.jsx)(l.AHg,{selectedKeys:[e],onSelect:e=>{let{key:n}=e;return t(n)},items:(()=>{let e={[v.Lo.DATA_CATEGORIES]:v.ac.DATA_CATEGORY,[v.Lo.DATA_USES]:v.ac.DATA_USE,[v.Lo.DATA_SUBJECTS]:v.ac.DATA_SUBJECT,[v.Lo.SYSTEM_GROUPS]:v.ac.SYSTEM_GROUP},t=(0,f.MM)(v.Lo).filter(e=>n||e.value!==v.Lo.SYSTEM_GROUPS).map(t=>({label:t.label,key:e[t.value]}));return(null==r?void 0:r.length)&&r.forEach(e=>{t.push({label:e.name,key:e.fides_key})}),t})(),"data-testid":"taxonomy-type-selector"})}),!!x.length&&(0,a.jsx)(eM,{userCanAddLabels:I,taxonomyItems:_?x:P,draftNewItem:A,lastCreatedItemKey:j,resetLastCreatedItemKey:()=>b(null),onTaxonomyItemClick:e=>{E(e)},onAddButtonClick:e=>{var t;C({parent_key:null!==(t=null==e?void 0:e.fides_key)&&void 0!==t?t:null,is_default:!1,description:""})},taxonomyType:e,onCancelDraftItem:()=>C(null),onSubmitDraftItem:D})]})]}),T&&(0,a.jsx)(J,{taxonomyItem:T,taxonomyType:e,onClose:()=>E(null)})]})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=n(19043)},1945:function(e){e.exports={input:"TaxonomyTextInputNode_input__P9czz"}},34770:function(e){e.exports={container:"TaxonomyTreeNode_container__T4KpF",button:"TaxonomyTreeNode_button__mcbOd","button--hover":"TaxonomyTreeNode_button--hover__oycXY","button--parent-hover":"TaxonomyTreeNode_button--parent-hover__pwAPl","button--inactive":"TaxonomyTreeNode_button--inactive__Fjdpe","add-button-container":"TaxonomyTreeNode_add-button-container__eEoRN","add-button":"TaxonomyTreeNode_add-button__oM2vI","add-button--visible":"TaxonomyTreeNode_add-button--visible__Ojqqf"}}},function(e){e.O(0,[1096,431,8765,9278,5163,3662,6148,4718,2888,9774,179],function(){return e(e.s=71180)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-ext-400-normal.06b6faa3.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-cyrillic-400-normal.5122dff0.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-ext-400-normal.2271c2a1.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-greek-400-normal.d1deb2fe.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-vietnamese-400-normal.ebde713a.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-ext-400-normal.261aa6d4.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/_next/static/media/inter-latin-400-normal.493934f7.woff2) format("woff2"),url(/_next/static/media/inter-all-400-normal.2ae8ed37.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-ext-500-normal.563e11f7.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-cyrillic-500-normal.017c512f.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-ext-500-normal.9ef8ce0d.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-greek-500-normal.599dd974.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-vietnamese-500-normal.7b524ed3.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-ext-500-normal.47503116.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/_next/static/media/inter-latin-500-normal.b7be75b9.woff2) format("woff2"),url(/_next/static/media/inter-all-500-normal.56c3d87b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-ext-600-normal.4eb7a897.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-cyrillic-600-normal.9f2082d5.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-ext-600-normal.04ef07b9.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-greek-600-normal.eff3b663.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-ext-600-normal.0a04c3cd.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/_next/static/media/inter-latin-600-normal.a3e93aa0.woff2) format("woff2"),url(/_next/static/media/inter-all-600-normal.d9666969.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-ext-700-normal.7c668daa.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-cyrillic-700-normal.8b03fbd1.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-ext-700-normal.5fb4f9ba.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-greek-700-normal.54b722f0.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-ext-700-normal.07491ea2.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/_next/static/media/inter-latin-700-normal.7ddf3c11.woff2) format("woff2"),url(/_next/static/media/inter-all-700-normal.f3163a49.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-2{left:.5rem}.left-3{left:.75rem}.right-2{right:.5rem}.right-3{right:.75rem}.top-2{top:.5rem}.top-3{top:.75rem}.z-\[1\]{z-index:1}.z-\[2\]{z-index:2}.m-1{margin:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.\!mb-0{margin-bottom:0!important}.\!mt-0{margin-top:0!important}.-mt-px{margin-top:-1px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-px{margin-bottom:1px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[10px\]{margin-right:10px}.mt-0{margin-top:0}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[-25px\]{margin-top:-25px}.mt-\[7\.25px\]{margin-top:7.25px}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-2{width:.5rem;height:.5rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-full{width:100%;height:100%}.h-4{height:1rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-\[150px\]{height:150px}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.\!w-80{width:20rem!important}.\!w-auto{width:auto!important}.w-0{width:0}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/5{width:20%}.w-2\/3{width:66.666667%}.w-32{width:8rem}.w-4\/5{width:80%}.w-48{width:12rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-80{width:20rem}.w-96{width:24rem}.w-\[350px\]{width:350px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[300px\]{min-width:300px}.min-w-\[350px\]{min-width:350px}.\!max-w-\[200px\]{max-width:200px!important}.max-w-4{max-width:1rem}.max-w-40{max-width:10rem}.max-w-96{max-width:24rem}.max-w-\[250px\]{max-width:250px}.max-w-\[300px\]{max-width:300px}.max-w-\[70\%\]{max-width:70%}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-1\/2{flex-basis:50%}.basis-1\/3{flex-basis:33.333333%}.rotate-180{--tw-rotate:180deg}.rotate-180,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate:90deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.\!resize-none{resize:none!important}.resize{resize:both}.\!list-none{list-style-type:none!important}.list-disc{list-style-type:disc}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-t{border-top-width:1px}.\!border-none{border-style:none!important}.border-none{border-style:none}.border-\[\#DEE5EE\]{--tw-border-opacity:1;border-color:rgb(222 229 238/var(--tw-border-opacity,1))}.\!bg-transparent{background-color:transparent!important}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pr-2{padding-right:.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-\[5px\]{padding-top:5px}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-text-bottom{vertical-align:text-bottom}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\:\!bg-gray-700:hover{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))!important}.hover\:bg-transparent:hover{background-color:transparent}.focus\:\!bg-gray-700:focus{--tw-bg-opacity:1!important;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))!important}.active\:bg-transparent:active{background-color:transparent}.group:hover .group-hover\:visible{visibility:visible}@media (min-width:1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width:1536px){.\32xl\:w-\[432px\]{width:432px}}.\[\&_th\]\:\!break-normal th{overflow-wrap:normal!important;word-break:normal!important}:export{FIDESUI_FULL_BLACK:#000;FIDESUI_FULL_WHITE:#fff;FIDESUI_BG_WHITE:#fff;FIDESUI_NEUTRAL_50:#fafafa;FIDESUI_NEUTRAL_75:#f5f5f5;FIDESUI_NEUTRAL_100:#e6e6e8;FIDESUI_NEUTRAL_200:#d1d2d4;FIDESUI_NEUTRAL_300:#bcbec1;FIDESUI_NEUTRAL_400:#a8aaad;FIDESUI_NEUTRAL_500:#93969a;FIDESUI_NEUTRAL_600:#7e8185;FIDESUI_NEUTRAL_700:#696c71;FIDESUI_NEUTRAL_800:#53575c;FIDESUI_NEUTRAL_900:#2b2e35;FIDESUI_BG_DEFAULT:#f5f5f5;FIDESUI_CORINTH:#fafafa;FIDESUI_BG_CORINTH:#fafafa;FIDESUI_LIMESTONE:#f1efee;FIDESUI_MINOS:#2b2e35;FIDESUI_BG_MINOS:#4f525b;FIDESUI_TERRACOTTA:#b9704b;FIDESUI_BG_TERRACOTTA:#f1b193;FIDESUI_OLIVE:#999b83;FIDESUI_BG_OLIVE:#d4d5c8;FIDESUI_MARBLE:#cdd2d3;FIDESUI_BG_MARBLE:#e1e5e6;FIDESUI_SANDSTONE:#cecac2;FIDESUI_BG_SANDSTONE:#e3e0d9;FIDESUI_NECTAR:#f0ebc1;FIDESUI_BG_NECTAR:#f5f2d7;FIDESUI_ERROR:#d9534f;FIDESUI_BG_ERROR:#f7c2c2;FIDESUI_WARNING:#e59d47;FIDESUI_BG_WARNING:#fbddb5;FIDESUI_BG_CAUTION:#f6e3a4;FIDESUI_SUCCESS:#5a9a68;FIDESUI_BG_SUCCESS:#c3e6b2;FIDESUI_INFO:#4a90e2;FIDESUI_BG_INFO:#a5d6f3;FIDESUI_ALERT:#7b4ea9;FIDESUI_BG_ALERT:#d9b0d7;FIDESUI_ERROR_TEXT:#d32f2f;FIDESUI_SUCCESS_TEXT:#388e3c;FIDESUI_LINK:#2272ce}h1,h2,h3,h4,h5,h6{font-weight:700}:root{--fidesui-full-black:#000;--fidesui-full-white:#fff;--fidesui-bg-white:#fff;--fidesui-neutral-50:#fafafa;--fidesui-neutral-75:#f5f5f5;--fidesui-neutral-100:#e6e6e8;--fidesui-neutral-200:#d1d2d4;--fidesui-neutral-300:#bcbec1;--fidesui-neutral-400:#a8aaad;--fidesui-neutral-500:#93969a;--fidesui-neutral-600:#7e8185;--fidesui-neutral-700:#696c71;--fidesui-neutral-800:#53575c;--fidesui-neutral-900:#2b2e35;--fidesui-bg-default:#f5f5f5;--fidesui-corinth:#fafafa;--fidesui-bg-corinth:#fafafa;--fidesui-limestone:#f1efee;--fidesui-minos:#2b2e35;--fidesui-bg-minos:#4f525b;--fidesui-terracotta:#b9704b;--fidesui-bg-terracotta:#f1b193;--fidesui-olive:#999b83;--fidesui-bg-olive:#d4d5c8;--fidesui-marble:#cdd2d3;--fidesui-bg-marble:#e1e5e6;--fidesui-sandstone:#cecac2;--fidesui-bg-sandstone:#e3e0d9;--fidesui-nectar:#f0ebc1;--fidesui-bg-nectar:#f5f2d7;--fidesui-error:#d9534f;--fidesui-bg-error:#f7c2c2;--fidesui-warning:#e59d47;--fidesui-bg-warning:#fbddb5;--fidesui-bg-caution:#f6e3a4;--fidesui-success:#5a9a68;--fidesui-bg-success:#c3e6b2;--fidesui-info:#4a90e2;--fidesui-bg-info:#a5d6f3;--fidesui-alert:#7b4ea9;--fidesui-bg-alert:#d9b0d7;--fidesui-error-text:#d32f2f;--fidesui-success-text:#388e3c;--fidesui-link:#2272ce}:focus-visible{outline-color:var(--fidesui-minos)}.ant-input-compact-item.ant-input-css-var{--ant-color-border:var(--fidesui-neutral-200);--ant-input-hover-border-color:var(--fidesui-neutral-200)}.ant-btn-compact-item.ant-btn-variant-outlined{--ant-button-default-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-border-color:var(--fidesui-neutral-200);--ant-button-default-hover-bg:var(--fidesui-neutral-200);--ant-button-default-bg:var(--fidesui-neutral-50)}.ant-btn-icon{line-height:1}.ant-form-item-label{font-weight:600}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a{color:var(--fidesui-neutral-200)}.ant-menu-dark .ant-menu-sub>.ant-menu-item>.ant-menu-title-content a:focus-visible{text-decoration:underline}.ant-menu-dark .ant-menu-sub>.ant-menu-item:focus-within:not(.ant-menu-item-selected){background-color:var(--fidesui-neutral-800)}.ant-menu-dark .ant-menu-sub>.ant-menu-item:hover{--ant-menu-dark-item-hover-bg:var(--fidesui-neutral-800)}.ant-menu-dark .ant-menu-sub>.ant-menu-item.ant-menu-item-selected>.ant-menu-title-content a{color:var(--fidesui-minos)}.ant-menu .ant-menu-submenu-arrow{--ant-border-radius:0px}.ant-menu .ant-menu-submenu-arrow:after,.ant-menu .ant-menu-submenu-arrow:before{width:calc(var(--ant-font-size)/7*5*.65)}.ant-menu.ant-menu-horizontal .ant-menu-item:first-child{padding-left:0}.ant-menu.ant-menu-horizontal .ant-menu-item:first-child:after{inset-inline-start:0}.ant-input:-moz-read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-input:read-only{--ant-color-text:var(--fidesui-neutral-700);--ant-color-bg-container:var(--fidesui-neutral-50);--ant-input-hover-bg:var(--fidesui-neutral-50);--ant-input-active-bg:var(--fidesui-neutral-50);--ant-input-active-border-color:var(--ant-color-border);--ant-input-hover-border-color:var(--ant-color-border);--ant-input-active-shadow:none;--ant-input-hove-shadow:none}.ant-steps-item-title{font-weight:500}.ant-table-wrapper .ant-table{--ant-table-header-icon-color:var(--fidesui-neutral-300)}.ant-table-cell *{--ant-font-size:var(--ant-table-cell-font-size-sm)}.ant-list :focus-visible{outline:auto}.ant-list .ant-list-item .ant-list-item-meta .ant-list-item-meta-title>a:focus-visible,.ant-list .ant-list-item .ant-list-item-meta .ant-list-item-meta-title>a:hover,.ant-list .ant-list-item-meta-title a:focus-visible,.ant-list .ant-list-item-meta-title a:hover{color:var(--fidesui-neutral-600)}.CustomTypography_paragraph__c2AID.ant-typography{margin-bottom:0}.CustomTypography_paragraph__c2AID.ant-typography:not(:last-child){margin-bottom:1em}.CustomTypography_sm__pWu1p{font-size:var(--ant-font-size-sm)!important}.CustomTypography_default__ZT1tF{font-size:var(--ant-font-size)!important}.CustomTypography_lg__dP6f4{font-size:var(--ant-font-size-lg)!important}.CustomTypography_h1__HnHaB{font-size:var(--ant-font-size-heading-1)!important}.CustomTypography_h2__D50up{font-size:var(--ant-font-size-heading-2)!important}.CustomTypography_h3__gBiAY{font-size:var(--ant-font-size-heading-3)!important}.CustomTypography_h4__r1NNB{font-size:var(--ant-font-size-heading-4)!important}.CustomTypography_h5__TUNTk{font-size:var(--ant-font-size-heading-5)!important}.CustomTableHeaderCell_customTableHeaderCell__YXEen{display:flex;align-items:center}.CustomTableHeaderCell_customTableHeaderCell__children__WxTeU{flex:1}.CustomTableHeaderCell_customTableHeaderCell__button__xSmE5.ant-table-filter-trigger{margin-inline-start:calc(var(--ant-table-cell-padding-inline-sm)/2);width:20px}.CustomTag_tag__4q0OL{display:inline-flex;align-items:center;gap:calc(var(--ant-margin-xs)*.75);line-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm) - 2px);min-height:calc(var(--ant-line-height-sm)*var(--ant-font-size-sm));--ant-padding-xxs:0}.CustomTag_tag__4q0OL svg:not([data-icon]){width:10px;height:10px}.CustomTag_tag__4q0OL .ant-tag-close-icon svg{width:12px;height:12px}.CustomTag_buttonTag__IYAPu{border-radius:var(--ant-border-radius-sm)}.CustomTag_buttonTag__IYAPu:focus .ant-tag,.CustomTag_buttonTag__IYAPu:hover .ant-tag{background:#fafafa!important}.CustomTag_buttonTag__IYAPu:focus-visible{outline:none}.CustomTag_buttonTag__IYAPu:focus-visible .ant-tag{border:1px solid #2b2e35}.CustomTag_closeButton__Un_6X{border-radius:var(--ant-border-radius-xs)}.CustomTag_closeButton__Un_6X:focus-visible{outline:1px solid #2b2e35;outline-offset:2px}.CustomTooltip_tooltipChild__uzOBp{--custom-tooltip-outline-width:1px}.CustomTooltip_tooltipChild__uzOBp:focus-visible{outline:var(--custom-tooltip-outline-width) dashed #2b2e35;outline-offset:1px;transition:outline-offset 0s,outline 0s}.FloatingMenu_menu__msgMt{--ant-menu-item-height:36px!important;--ant-menu-item-margin-inline:8px!important;--ant-menu-item-width:calc(100% - 16px)!important;padding-top:4px;padding-bottom:4px;border-radius:6px;box-shadow:0 4px 6px -2px rgba(0,0,0,.05),0 10px 15px -3px rgba(0,0,0,.1)!important}.SelectInline_selectInlineRoot__sebHb{--ant-padding-sm:0;--ant-padding-xxs:0;--ant-select-multiple-selector-bg-disabled:transparent!important;--ant-select-option-selected-font-weight:400!important}.SelectInline_selectInlineRoot__sebHb .ant-select-selector{cursor:auto!important}.NavMenu_menu__ecOrj{--ant-menu-item-margin-block:0!important;--ant-menu-item-margin-inline:0!important;--ant-menu-item-width:100%!important;--ant-margin:8px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><link rel="preload" href="/_next/static/css/304c6f148886a8d4.css" as="style"/><link rel="stylesheet" href="/_next/static/css/304c6f148886a8d4.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/431-78bf05f35d7eec4f.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/9278-08cc704317fe535e.js" defer=""></script><script src="/_next/static/chunks/5163-e682273cd76a7d07.js" defer=""></script><script src="/_next/static/chunks/699-8ca44b0de9fa20f0.js" defer=""></script><script src="/_next/static/chunks/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/409-c1256ecda1b15db6.js" defer=""></script><script src="/_next/static/chunks/7045-f15044a4d4525946.js" defer=""></script><script src="/_next/static/chunks/401-ffe4e8436e1eceb9.js" defer=""></script><script src="/_next/static/chunks/9951-651d521d9a02b6df.js" defer=""></script><script src="/_next/static/chunks/6416-18d438ff85d807f8.js" defer=""></script><script src="/_next/static/chunks/3585-451504ea5ed7a1ea.js" defer=""></script><script src="/_next/static/chunks/3700-de7c9f02ca184f7a.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-939253f8daf349b2.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/401-ffe4e8436e1eceb9.js" defer=""></script><script src="/_next/static/chunks/3923-a551756b413367ea.js" defer=""></script><script src="/_next/static/chunks/796-e07ac2c543f569e3.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-83ed7da0bb90b0a5.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/431-78bf05f35d7eec4f.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-f90aa48500c1cbde.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/401-ffe4e8436e1eceb9.js" defer=""></script><script src="/_next/static/chunks/3923-a551756b413367ea.js" defer=""></script><script src="/_next/static/chunks/796-e07ac2c543f569e3.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure/add-vendors-46b88bda3d7b15c5.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/configure/add-vendors","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/401-ffe4e8436e1eceb9.js" defer=""></script><script src="/_next/static/chunks/3923-a551756b413367ea.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure-c0db068d1863222f.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/configure","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/3662-f6a1ddca5ee42076.js" defer=""></script><script src="/_next/static/chunks/6419-d0c00d661b01f8fa.js" defer=""></script><script src="/_next/static/chunks/6084-2cd165179c428a6f.js" defer=""></script><script src="/_next/static/chunks/1817-ee9e29a6b8c4af50.js" defer=""></script><script src="/_next/static/chunks/pages/consent/privacy-experience/%5Bid%5D-fd41ffaff543e05a.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/privacy-experience/[id]","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/018c12b58ee7f861.css" as="style"/><link rel="stylesheet" href="/_next/static/css/018c12b58ee7f861.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2766492c5dbceb0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-302177edeb0dc4f5.js" defer=""></script><script src="/_next/static/chunks/8765-f622a35b40a7ec63.js" defer=""></script><script src="/_next/static/chunks/3662-f6a1ddca5ee42076.js" defer=""></script><script src="/_next/static/chunks/6419-d0c00d661b01f8fa.js" defer=""></script><script src="/_next/static/chunks/6084-2cd165179c428a6f.js" defer=""></script><script src="/_next/static/chunks/1817-ee9e29a6b8c4af50.js" defer=""></script><script src="/_next/static/chunks/pages/consent/privacy-experience/new-e74cb5ea87f15b40.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_buildManifest.js" defer=""></script><script src="/_next/static/DjKAJy5iQVbNLYvoAn3Oe/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/privacy-experience/new","query":{},"buildId":"DjKAJy5iQVbNLYvoAn3Oe","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|