ethyca-fides 2.72.3rc0__py2.py3-none-any.whl → 2.72.4b1__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.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/METADATA +2 -2
- {ethyca_fides-2.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/RECORD +262 -252
- fides/_version.py +3 -3
- fides/api/alembic/migrations/versions/a55e12c2c2df_add_tagging_instructions_to_data_.py +29 -0
- fides/api/api/v1/endpoints/generic_overrides.py +70 -1
- fides/api/models/privacy_preference.py +1 -0
- fides/api/models/sql_models.py +3 -0
- fides/api/schemas/taxonomy_extensions.py +8 -0
- fides/api/service/connectors/query_configs/saas_query_config.py +141 -78
- fides/api/service/connectors/saas_connector.py +1 -1
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1437-4604a69888906ec0.js → 1437-c3c8f421fc8d9bf7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/155-17c9584d4944ce7e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1817-bfe4139324aa0279.js → 1817-877489cf6bb7185c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2040-8eead9d29546a50f.js → 2040-b9e38ecc741148fc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2397-92f628c53688925b.js → 2397-39c59d3fdf13042e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2962-342ad1b4ab402ded.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3446-f40c352c43ac950c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3696-e4abb6a922b954a2.js → 3696-84990aa1baa21fad.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3700-1f9f6e5ebfa3ab0a.js → 3700-bde60c51fb2606a8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4496-8204168bae78092d.js → 4496-6ff88def38644170.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5185-bf5655b5d697b714.js → 5185-e662084251450372.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5258-63325c03319e87dc.js → 5258-004011f620451d36.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5279-a05b93a8db6a3e79.js → 5279-28226a4eaaba9e56.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5643-7800464c8df7a78e.js → 5643-fb6082b8ecb6c0d9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5783-7deeb7de5d2db4c4.js → 5783-0171fca3154d4812.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6277-970bb31d9b0c0007.js → 6277-2d53a51b7727d7b1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6315-08729296f49e6898.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6419-11d67f7fd4e2f247.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6468-f73d542ab5bcf746.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6853-6d64d627df6f8194.js → 6853-56c933239103eef6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6954-8b106311a3be35f4.js → 6954-d909264a2674ea4e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/7059-362b53ad2cbe480e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7245-305e4a8a8be70fad.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{7476-08717f00da5f89ab.js → 7476-2e1176b163688789.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7488-bad160a2bfd89871.js → 7488-502aeb16e3a27d42.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8011-c23d609ed3f0efa5.js → 8011-866a514d483aaaac.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8212-67ac884660ddb63a.js → 8212-334e971822270277.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8373-43b6df89a2085d6b.js → 8373-9debd1f8d36cd013.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-aaba9b46ed37f1e2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9330-6eb11127296c54c2.js → 9330-38845205515126c3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9682-65d253d54f84f6f2.js → 9682-0aab88e56ba618a3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9899-63998972698a49fb.js → 9899-ea04d345468691b3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-bd9d95c187ddcda5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-242e2cad101aa2c1.js → _app-32ece8369a437df8.js} +9 -9
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-02f6ef0e6a161961.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-0058fe05f2d23d1a.js → add-systems-cfd6175cd093217c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-b6b2d50d894cefa5.js → privacy-experience-0311c558666456cc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-a7fe3925771bb6c3.js → privacy-notices-ca99b84429667b5f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-3b04a6d7447ae824.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-3c935e93208d2bdd.js → projects-04bb0d25beccc031.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-79d06a04698c47c0.js → data-catalog-04a493b26a5dfdaf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-b45b49ab68d15585.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-ee1cf6e7f60d46db.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer/[monitorId]-1cebd59598196388.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer-a725550fc25e45e2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-f67b897b206d1156.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-17887a476280c480.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-eaae94fb326cc676.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-5c20080cdb053b1d.js → new-b651d5f466e4019d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-96355a68e8c28fe8.js → dataset-35be9dda6a1114ce.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-448729ee9d1d78c3.js → [id]-3fcfe1430c11e0c7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-42c720ec5c941573.js → new-c967e9f37709c645.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-a4abc6ee516b13d4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-ca794e85c16cba67.js → index-37c1abb674e1aea6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-484063d65850e03e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-514131e87ac65082.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-b0533759c1fe400c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{[id]-058125922d1eaeec.js → [id]-3306676f61000f3b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{new-7a5f76708c79f714.js → new-798fb0ca1205e684.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{digests-31bed1f86b89d1d8.js → digests-20c129ac4a57f2e5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{providers-40b9f1f70d27b660.js → providers-4ebdfd1e0e4bfbe6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{templates-4918f86f7300ac9b.js → templates-0e0ff3689c02c12e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-d9c3128f1c85ef06.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-27ff988967e9153d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-24a8c2ab57625556.js → storage-a948294b5b2ff677.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-cd94476ab282dd7f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-e410d13a2b35cff4.js → datamap-9459019a37ffe8d8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-aec1bf8a409ec75f.js → [purpose_id]-260f460fea1bc187.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-4c20c08ca7ea8cff.js → consent-2c71096d348013aa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{[id]-a270325109398f48.js → [id]-9b395e59fa62cbe5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{new-2e0c8e249f286427.js → new-a0bb7928ac4a894e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-8e4a76376927afd5.js → custom-fields-72e6a6394b1c58c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-20789aa0c84d544e.js → locations-06780a5a03c51fb0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-f84a13eb9688cb5f.js → organization-5e8af0aeb40cbadd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-5be9ce7a745ce908.js → test-datasets-4bfe49a2d99a905f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-ddb0121f14bc3b84.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-2589729c47976357.js → taxonomy-4d945ab1aab9be54.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-6217433a26599521.js → [id]-9a920390f7f61e88.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-b6c4bf35c003965d.js → user-management-827f9bcad90d8856.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/012b10627a654d5c.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{f38242c11f7fea64.css → 05d05fc31d09638b.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/0fd6e0884cfcc5f3.css +1 -0
- fides/ui-build/static/admin/_next/static/css/14ba79c49597d37a.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{34a7eb08b86ddb57.css → 3d6582469f7d56e0.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/4861ca3e088f2d05.css +1 -0
- fides/ui-build/static/admin/_next/static/css/4d3cb2ffee0cfa2c.css +1 -0
- fides/ui-build/static/admin/_next/static/css/a1800714b486e230.css +1 -0
- fides/ui-build/static/admin/_next/static/css/af32fcac7a177a0e.css +1 -0
- fides/ui-build/static/admin/_next/static/css/cb417f0587918f85.css +1 -0
- fides/ui-build/static/admin/_next/static/css/dd15c278b964de80.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{5f393dea1c0d031c.css → f89607996ad54f4b.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/f9a2a44d3d34c904.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/data-explorer/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/data-explorer.html +1 -0
- 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/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +2 -2
- fides/ui-build/static/admin/lib/fides.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/new-privacy-requests.html +1 -0
- fides/ui-build/static/admin/notifications/digests/[id].html +1 -1
- fides/ui-build/static/admin/notifications/digests/new.html +1 -1
- fides/ui-build/static/admin/notifications/digests.html +1 -1
- fides/ui-build/static/admin/notifications/providers/[key].html +1 -1
- fides/ui-build/static/admin/notifications/providers/new.html +1 -1
- fides/ui-build/static/admin/notifications/providers.html +1 -1
- fides/ui-build/static/admin/notifications/templates/[id].html +1 -1
- fides/ui-build/static/admin/notifications/templates/add-template.html +1 -1
- fides/ui-build/static/admin/notifications/templates.html +1 -1
- fides/ui-build/static/admin/notifications.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/[id].html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/new.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/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/ui-build/static/admin/_next/static/T_JfnWNP6OokO0497AzzJ/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/155-bf4e3ffb18f29226.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1896-49010da5c2705fc5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2150-930ffaf2c4718edc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/255-1bc0cbef7a59cdc6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2962-e92d525bf570a9a3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3550-83cb70e80cbe41ba.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6315-d0b886d849c2e5e3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6419-9b3a86af57c86791.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7245-53a20677c49b41c8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-28fe0723e3b6584f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9070-6d3aaaf5aa5913ba.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-4709f43bf62af9a9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-055d058d16c02957.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-e9ec351281c54822.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-e50e9c8e11412b2a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/data-explorer-dd93cffd6744837d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-878aa4ab0746df5b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-a2e9c0bfa67c633d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-70ca690b253a118e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-18f255a8bbeecaa4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-a8fc95a46de38b35.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-2f1dc17eba11fb4e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-bbec0140433a199b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-39b5586d9c8b64aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-787621468b5a7619.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-da634187d8201ab3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-86f5557384124f79.js +0 -1
- fides/ui-build/static/admin/_next/static/css/23cf870196941c9a.css +0 -1
- fides/ui-build/static/admin/_next/static/css/304c6f148886a8d4.css +0 -1
- fides/ui-build/static/admin/_next/static/css/de09ed8a0adf1ca2.css +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/data-explorer.html +0 -1
- {ethyca_fides-2.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.72.3rc0.dist-info → ethyca_fides-2.72.4b1.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{T_JfnWNP6OokO0497AzzJ → KrreFSHeuO3A1ZudBtGj2}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1099-d1b22e891705eaf8.js → 1099-1959c2e271a9588d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1115-584dac093cef6cc3.js → 1115-d8f2a0953960d648.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{2921-9b596ba7f5267afc.js → 2921-bcd6a8741e98e7ce.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3377-80612c111e047cb6.js → 3377-6e7bdffc46ffe15d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3772-b945c6839e43c753.js → 3772-3c849a72d0129ae4.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3923-c1e41661ebf57178.js → 3923-6e82c845722d09ce.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{401-c2f1e4ea077f1f26.js → 401-63df8127ab5e8b1a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{4817-066598cef25d7e88.js → 4817-cb54f4a8ed82122f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{549-3e3b8d01bc984f96.js → 549-cb23e43b4fe4750e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7630-775c578fa8109b0f.js → 7630-bb44ecce0b2146ed.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{7773-24899908bf8ff659.js → 7773-1303b235272f3dbf.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{796-6fe49d134f660156.js → 796-d30fca0fe341916b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9826-1f42934a2863992e.js → 9826-fd27a5fd2ed44c3d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{404-962d132471cd41ba.js → 404-5cffe00870fefd79.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-e2a5c951347195e3.js → multiple-4458172cd75babb0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-7c829e58485fc821.js → add-vendors-1a821b298d86a22d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-5c58b69dd473cc06.js → configure-6f35d961da39f539.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-58460ac9c1dface5.js → [id]-4caea1cb619aad01.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-25ce8366e689363b.js → [id]-b062d2a4a8102ce1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-faa457089616711a.js → new-524a3e86b2568398.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-45a2901a35edc8f7.js → properties-15dac492b739cf83.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-a7a4e419e4086033.js → consent-7496b13734f49085.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-3b59925f6c9a13a9.js → [resourceUrn]-313fc265356df659.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-ffb6e0fe6712342e.js → [projectUrn]-96ec3aa63de556ec.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-8d7d9152e215c3b6.js → [resourceUrn]-855eca0ddf47f4dc.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-96be972a983616e3.js → resources-e436f291ccce41c7.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-260f5deb68966b70.js → [resourceUrn]-67c9fb9b18cb17a0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-d735dab3d9f3adc5.js → detection-c9d69ae424e73377.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-c7f055275a2c503f.js → [resourceUrn]-e5102013ec48b60c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-b1cfd55c7e127865.js → discovery-4094104544531055.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-e04a4e16ccf32aef.js → [...subfieldNames]-d2af9a78b22a3b33.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-a40c4febe16a0a6d.js → [collectionName]-4b711c3a257f4754.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-f500a77eefb057e7.js → [datasetId]-cf0b5a30b3b37e20.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{[key]-d08f3a7cd2d011ec.js → [key]-749898f45b528480.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{new-cb2c7fbc26886052.js → new-2798b151240303c5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{[id]-a6ae72abe59ff830.js → [id]-40d9f4a82335cb5c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{add-template-a3e4b5b575b31be1.js → add-template-c38096d698ebfaa9.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{notifications-9644c0f088a01fea.js → notifications-9586f35322edb190.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{AntForm-5163f3213377bd35.js → AntForm-616164210b90485e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikAntFormItem-0b1547cd9b114c6b.js → FormikAntFormItem-f462c200e6795276.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikControlled-da562cba4cffd6bb.js → FormikControlled-891177e7bbd6a4a4.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikField-3a587676869d2ef6.js → FormikField-cb6cd181c8ffbb9a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{forms-defc3b917306a6d8.js → forms-540bf3af41cd40fb.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-11a70bcfa672ce8f.js → table-migration-e58cac7ad960a847.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-1926359bdf5d6c30.js → configure-f9af184bf0a04729.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-47118b9976ad7212.js → [id]-7545993189dc1bb1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-2e6b0d8b409ba1fd.js → add-property-8cc4b3170f7851f9.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{properties-32486c25255c9cb1.js → properties-83b4002f896071b3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-e3dcef1ec8cf8b9e.js → domain-records-b90fb07aa18a396b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-2e88cc7a6074a28b.js → domains-eea6685e7aa5953c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-7469d2f85396c693.js → email-templates-4a1985c24bf2dc90.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{privacy-requests-b72df6f3d460125f.js → privacy-requests-b3156b0882717119.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-aa02bc818e089c49.js → regulations-825f705fc04c9262.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-2fc7c0d3988427b3.js → [id]-7f98c2d62b08265d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-e399005c3bb4db1b.js → new-6b3564b9ae9ee7dd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{webpack-8eac1ea5c825c8b4.js → webpack-3a17ce9d4ecac24a.js} +0 -0
fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-787621468b5a7619.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9650],{6554:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests/[id]",function(){return i(50107)}])},77213:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var n=i(24246),s=i(20595),l=i(88038),a=i.n(l),r=i(86677);i(27378);var o=i(25980),c=i(90867),d=i(42478),u=i(77830),m=()=>{let e=(0,r.useRouter)();return(0,n.jsx)(s.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,n.jsxs)(s.xuv,{children:[(0,n.jsxs)(s.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(s.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(s.wpx,{onClick:()=>{e.push(u.AD)},children:"Configure"})]}),(0,n.jsxs)(s.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=e=>{let{children:t,title:i,padded:l=!0,mainProps:u}=e,p=(0,o.hz)(),h=(0,r.useRouter)(),x="/privacy-requests"===h.pathname||"/datastore-connection"===h.pathname,g=!(p.flags.messagingConfiguration&&x),{data:v}=(0,d.JE)(void 0,{skip:g}),{data:j}=(0,c.PW)(void 0,{skip:g}),y=p.flags.messagingConfiguration&&(!v||!j)&&x;return(0,n.jsxs)(s.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,n.jsxs)(a(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(s.kCb,{as:"main",direction:"column",py:l?6:0,px:l?10:0,h:l?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...u,children:[y?(0,n.jsx)(m,{}):null,t]})]})}},50107:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eH}});var n,s,l,a,r=i(24246),o=i(20595),c=i(86677),d=i(77213),u=i(77830),m=i(58754),p=i(99716),h=i(27378),x=i(39449),g=i(19904);(n=l||(l={})).IN_PROCESSING="in_processing",n.PENDING="pending",n.COMPLETE="complete",n.ERROR="error",n.PAUSED="paused",n.AWAITING_PROCESSING="awaiting_processing",n.RETRYING="retrying",n.SKIPPED="skipped",n.POLLING="polling";let v={in_processing:"In processing",pending:"Pending",complete:"Complete",error:"Error",paused:"Paused",awaiting_processing:"Awaiting input",retrying:"Retrying",skipped:"Skipped",polling:"Awaiting polling"},j={error:"error",skipped:"warning",awaiting_processing:"minos",in_processing:void 0,pending:void 0,complete:void 0,paused:void 0,retrying:void 0,polling:"warning"};(s=a||(a={})).REQUEST_UPDATE="Request update",s.INTERNAL_COMMENT="Internal comment",s.MANUAL_TASK="Manual task";let y={"Request update":"sandstone","Internal comment":"marble","Manual task":"nectar"};var f=i(90005),_=i.n(f),b=i(16394),T=i(38450),w=i.n(T);let E=e=>{let{attachments:t}=e;if(!t.length)return null;if(1===t.length){let e=t[0];return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.AntTypography.Text,{ellipsis:{tooltip:!0},className:"!max-w-[200px]",children:e.file_name})]})})}let i=(0,r.jsx)("ul",{className:"list-disc pl-4",children:t.map(e=>(0,r.jsx)("li",{children:e.file_name},e.id))});return(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.esZ,{title:i,children:(0,r.jsxs)(o.AntTypography.Text,{ellipsis:!0,className:"!max-w-[200px]",children:[t.length," attachments"]})})]})})};var A=e=>{let{item:t}=e,{author:i,title:n,date:s,type:l,onClick:c,isError:d,isAwaitingInput:u,isPolling:m,description:p,attachments:h,showViewLog:x}=t,g=(0,b.p6)(s),v=!!c,j=h&&h.length>0,f=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:w().header,children:[(0,r.jsxs)("span",{className:w().author,"data-testid":"activity-timeline-author",children:[i,":"]}),n&&(0,r.jsxs)(o.AntTypography.Text,{className:_()(w().title,{[w()["title--error"]]:d,[w()["title--awaiting-input"]]:u,[w()["title--polling"]]:m}),ellipsis:{tooltip:!0},"data-testid":"activity-timeline-title",children:[n,d&&" failed"]}),(0,r.jsx)("div",{className:"hidden xl:block",children:(0,r.jsx)(o.AntTypography.Text,{className:w().timestamp,"data-testid":"activity-timeline-timestamp",children:g})}),(0,r.jsx)("div",{className:"xl:hidden",children:(0,r.jsx)(o.esZ,{title:g,children:(0,r.jsx)(o.PJP.qpU,{"data-testid":"activity-timeline-timestamp-icon"})})}),(0,r.jsx)(o.j8w,{className:w().type,color:y[l],"data-testid":"activity-timeline-type",children:l}),x&&(0,r.jsx)("span",{className:w().viewLogs,"data-testid":"activity-timeline-view-logs",children:"View Log"})]}),(p||j)&&(0,r.jsxs)("div",{className:"mt-2 flex justify-between pl-2.5 align-top",children:[(0,r.jsx)(o.AntTypography.Paragraph,{className:"!mb-0 whitespace-pre-wrap","data-testid":"activity-timeline-description",children:p||""}),j&&(0,r.jsx)(E,{attachments:h})]})]}),T={className:_()(w().itemButton,{[w()["itemButton--error"]]:d,[w()["itemButton--awaiting-input"]]:u,[w()["itemButton--polling"]]:m,[w()["itemButton--clickable"]]:v,[w()["itemButton--comment"]]:l===a.INTERNAL_COMMENT,[w()["itemButton--manual-task"]]:l===a.MANUAL_TASK}),"data-testid":"activity-timeline-item"};return v?(0,r.jsx)("button",{type:"button",onClick:c,...T,children:f}):(0,r.jsx)("div",{...T,children:f})},R=i(25980),C=i(54427),k=i(78780);let{useGetCommentsQuery:q,useCreateCommentMutation:S,useGetCommentDetailsQuery:N,useLazyGetCommentDetailsQuery:P}=k.u.injectEndpoints({endpoints:e=>({getComments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:n}=e;return{url:"plus/privacy-request/".concat(t,"/comment"),method:"GET",params:{page:i,size:n}}},providesTags:["Privacy Request Comments"]}),createComment:e.mutation({query:e=>{let{privacy_request_id:t,comment_text:i,comment_type:n}=e,s=new FormData;return s.append("comment_text",i),s.append("comment_type",n),{url:"plus/privacy-request/".concat(t,"/comment"),method:"POST",body:s,formData:!0}},invalidatesTags:["Privacy Request Comments","Request"]}),getCommentDetails:e.query({query:e=>{let{privacy_request_id:t,comment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/comment/").concat(i),method:"GET"}}})})}),{reducer:I}=(0,C.oM)({name:"privacyRequestComments",initialState:{},reducers:{}}),O=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:n,error:s}=q({privacy_request_id:e,size:100},{skip:!t});return(0,h.useEffect)(()=>{s&&o.Pg3.error("Failed to fetch the request comments")},[s]),{commentItems:(null==i?void 0:i.items)?i.items.map(e=>({author:e.user_first_name&&e.user_last_name?"".concat(e.user_first_name," ").concat(e.user_last_name):e.username||"Unknown",date:new Date(e.created_at),type:a.INTERNAL_COMMENT,showViewLog:!1,description:e.comment_text,isError:!1,isSkipped:!1,isAwaitingInput:!1,isPolling:!1,id:"comment-".concat(e.id)})):[],isLoading:n}},D=(e,t)=>{if(0===e.length)return!1;let i=Array.from(e).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime());if(!i[0].collection_name)return i[0].status===t;let n={};return i.forEach(e=>{e.collection_name&&!n[e.collection_name]&&(n[e.collection_name]=e)}),Object.values(n).some(e=>e.status===t)},M=e=>D(e,l.ERROR),U=e=>D(e,l.SKIPPED),L=e=>D(e,l.AWAITING_PROCESSING),z=e=>D(e,l.POLLING),W=e=>{let t=!e;return{eventItems:e?Object.entries(e).map(e=>{let[t,i]=e,n=M(i),s=U(i),l=L(i),r=z(i);return{author:"Fides",title:t,date:new Date(i[0].updated_at),type:a.REQUEST_UPDATE,showViewLog:n||s||l||r,onClick:()=>{},isError:n,isSkipped:s,isAwaitingInput:l,isPolling:r,id:"request-".concat(t)}}):[],isLoading:t}};var B=i(91317),F=i(45116);let G=e=>{let{plus:t}=(0,R.hz)(),{data:i,isLoading:n,error:s}=(0,F.Ym)({page:1,size:100,privacyRequestId:e,status:void 0,includeFullSubmissionDetails:!0},{skip:!t});return(0,h.useEffect)(()=>{s&&o.Pg3.error("Failed to fetch manual tasks")},[s]),{manualTaskItems:i?i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).map(e=>{var t,i;let n=e.submission_user?(0,b.gJ)(e.submission_user):"Unknown User";(0,B.PN)(null===(t=e.submission_user)||void 0===t?void 0:t.id)&&(n=(null===(i=e.submission_user)||void 0===i?void 0:i.id)||"Unknown User");let s=e.status===x.OS.SKIPPED,l="Task ".concat(s?"skipped":"completed"," - ").concat(e.name),r=e.comments&&e.comments.length>0?e.comments[e.comments.length-1].comment_text:void 0,o=e.attachments||[];return{author:n,title:l,date:new Date(e.updated_at),type:a.MANUAL_TASK,showViewLog:!1,description:r,isError:!1,isSkipped:s,isAwaitingInput:!1,isPolling:!1,id:"manual-task-".concat(e.manual_field_id),attachments:o}}):[],taskCommentIds:(0,h.useMemo)(()=>{let e=new Set;return(null==i?void 0:i.items)&&i.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).forEach(t=>{var i;null===(i=t.comments)||void 0===i||i.forEach(t=>{e.add(t.id)})}),e},[i]),isLoading:n}};var Z=i(88340),J=e=>{let{errorMessage:t,status:i=l.ERROR}=e;return(0,r.jsxs)(o.xuv,{height:"100%",id:"outer",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[(0,r.jsx)(o.xvT,{size:"sm",color:"gray.700",fontWeight:"medium",marginRight:"8px",lineHeight:"20px",children:"Status"}),(0,r.jsx)(o.j8w,{color:j[i],children:v[i]}),(0,r.jsx)(o.xuv,{padding:"0px",marginBottom:"3px",children:(0,r.jsx)(Z.Z,{copyText:t})})]}),(0,r.jsx)(o.izJ,{marginTop:"4px",marginBottom:"6px"}),(0,r.jsx)(o.xuv,{id:"errorWrapper",overflow:"auto",height:"100%",children:(0,r.jsx)(o.xvT,{children:t})})]})},K=i(3124),H=i.n(K);let Y=e=>{switch(e){case x.Us.ACCESS:return"Data Retrieval";case x.Us.ERASURE:return"Data Deletion";case x.Us.CONSENT:return"Consent";case x.Us.UPDATE:return"Data Update";default:return e}},V=e=>{if(e.status!==l.COMPLETE||!e.collection_name)return"-";let t=(e.message||"").match(/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i);return t?parseInt(t[1],10).toLocaleString():"-"},Q=(e,t)=>{let i=e.filter(e=>e.action_type===t&&e.status===l.COMPLETE&&e.collection_name).sort((e,t)=>new Date(t.updated_at).getTime()-new Date(e.updated_at).getTime()),n={};i.forEach(e=>{let t=e.collection_name||"unknown";n[t]||(n[t]=e)});let s=0,a=!1,r=/(?:retrieved|masked|processed)\s+(\d+)\s+records?$/i;return Object.values(n).forEach(e=>{if(e.message){let t=e.message.match(r);if(t){a=!0;let e=parseInt(t[1],10);s+=e}}}),a?s:null},$=(e,t,i)=>{if("finished"===e.status&&!e.collection_name&&i){let e=Q(t,i);return null!==e?e.toLocaleString():"-"}return V(e)};var X=e=>{var t,i,n;let{eventLogs:s,allEventLogs:a,onDetailPanel:c,privacyRequest:d}=e,u=(null==s?void 0:s.some(e=>e.collection_name))||(null==s?void 0:s.some(e=>"finished"===e.status&&!e.collection_name))||!1,m=null==s?void 0:s.every(e=>"finished"===e.status&&!e.collection_name),p=null==d?void 0:null===(n=d.policy)||void 0===n?void 0:null===(i=n.rules)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.action_type,h=e=>e?Y(e):p?Y(p):"-",x=null==s?void 0:s.map(e=>(0,r.jsxs)(o.Tr,{backgroundColor:e.status===l.ERROR||e.status===l.SKIPPED&&e.message||e.status===l.AWAITING_PROCESSING||e.status===l.POLLING?H().FIDESUI_NEUTRAL_50:"unset",onClick:()=>{(e.status===l.ERROR||e.status===l.SKIPPED&&e.message||e.status===l.AWAITING_PROCESSING||e.status===l.POLLING)&&c(e.message,e.status)},style:{cursor:e.message?"pointer":"unset"},_hover:{backgroundColor:H().FIDESUI_NEUTRAL_50},children:[(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:(0,b.p6)(e.updated_at)})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:h(e.action_type)})}),(0,r.jsx)(o.Td,{children:v[e.status]?(0,r.jsx)(o.j8w,{color:j[e.status],children:v[e.status]}):(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:e.status})}),u&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:$(e,a||s,p)})}),u&&!m&&(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"finished"===e.status?"Request completed":e.collection_name})})]},e.updated_at));return(0,r.jsx)(o.xuv,{width:"100%",paddingTop:"0px",height:"100%",children:(0,r.jsx)(o.xJi,{id:"tableContainer",height:"100%",style:{overflowY:"auto"},children:(0,r.jsxs)(o.iA_,{size:"sm",id:"table",position:"relative",children:[(0,r.jsx)(o.hrZ,{id:"tableHeader",position:"sticky",top:"0px",backgroundColor:"white",zIndex:10,children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Time"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Action Type"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Status"})}),u&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Records"})}),u&&!m&&(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Collection"})})]})}),(0,r.jsx)(o.p3B,{id:"tableBody",children:x})]})})})},ee=e=>{let{isOpen:t,onClose:i,currentLogs:n,allEventLogs:s,isViewingError:a,errorMessage:c,currentStatus:d=l.ERROR,onCloseErrorPanel:u,onOpenErrorPanel:m,privacyRequest:p}=e;return(0,r.jsxs)(o.dys,{isOpen:t,placement:"right",onClose:i,size:"full",autoFocus:!1,"data-testid":"log-drawer",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{style:{width:"50%"},"data-testid":"log-drawer",children:[(0,r.jsx)(o.OXI,{style:{paddingBottom:"0px"},children:(0,r.jsxs)(o.kCb,{justifyContent:"space-between",alignItems:"center",height:"40px",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[a&&(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.Rpv,{}),"aria-label":"Close error logs",size:"small",onClick:u}),(0,r.jsx)(o.xvT,{color:"gray.900",fontSize:"md",lineHeight:"6",fontWeight:"medium",ml:1,children:a?"Event detail":"Event log"})]}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.LGN,{width:"17px"}),"aria-label":"Stop viewing error message",size:"small",onClick:i,"data-testid":"log-drawer-close"})]})}),(0,r.jsxs)(o.Ng0,{id:"drawerBody",overflow:"hidden",children:[n&&!a?(0,r.jsx)(X,{eventLogs:n,allEventLogs:s,onDetailPanel:m,privacyRequest:p}):null,a?(0,r.jsx)(J,{errorMessage:c,status:d}):null]})]})]})},et=e=>{let{subjectRequest:t}=e,{isOpen:i,onOpen:n,onClose:s}=(0,o.qY0)(),[c,d]=(0,h.useState)([]),[u,m]=(0,h.useState)(""),[p,x]=(0,h.useState)(!1),[g,v]=(0,h.useState)(""),[j,y]=(0,h.useState)(l.ERROR),{results:f,id:_}=t,{commentItems:b,isLoading:T}=O(_),{eventItems:E,isLoading:R}=W(f),{manualTaskItems:C,taskCommentIds:k,isLoading:q}=G(_);(0,h.useEffect)(()=>{u&&f&&f[u]&&d(f[u])},[f,u]);let S=()=>{x(!1)},N=(0,h.useCallback)((e,t)=>{m(e),d(t),n()},[n]),P=(0,h.useMemo)(()=>f?Object.values(f).flat():[],[f]),I=(0,h.useMemo)(()=>b.filter(e=>{let t=e.id.replace("comment-","");return!k.has(t)}),[b,k]),D=(0,h.useMemo)(()=>{let e=E.map(e=>{if("Request update"===e.type&&e.title&&f){let t=e.title;if(f[t])return{...e,onClick:()=>N(t,f[t])}}return e});return[{author:"Fides",title:"Access request received",date:new Date(t.created_at),type:a.REQUEST_UPDATE,showViewLog:!1,isError:!1,isSkipped:!1,isAwaitingInput:!1,isPolling:!1,id:"initial-request"},...e,...I,...C].sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime())},[E,I,C,f,N,t.created_at]);return(0,r.jsxs)(o.xuv,{width:"100%",children:[(0,r.jsx)(o.krs,{className:"!border-none",bordered:!1,split:!1,"data-testid":"activity-timeline-list",children:(0,r.jsx)("ul",{className:"!list-none",children:T||R||q?(0,r.jsx)("div",{className:w().itemButton,"data-testid":"timeline-skeleton",children:(0,r.jsx)(o.N_L,{paragraph:{rows:2},active:!0})}):D.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(A,{item:e})},e.id))})}),(0,r.jsx)(ee,{isOpen:i,onClose:()=>{p&&S(),m(""),s()},currentLogs:c,allEventLogs:P,isViewingError:p,errorMessage:g,currentStatus:j,onOpenErrorPanel:(e,t)=>{v(e),t&&y(t),x(!0)},onCloseErrorPanel:S,privacyRequest:t})]})},ei=i(66187);let en=e=>{let{privacyRequestId:t,onCancel:i}=e,[n,s]=(0,h.useState)(""),l=(0,h.useRef)(null),[a,{isLoading:c}]=S();(0,h.useEffect)(()=>{l.current&&l.current.focus()},[]);let d=async()=>{if(n.trim())try{await a({privacy_request_id:t,comment_text:n,comment_type:ei.i.NOTE}).unwrap(),s(""),i()}catch(e){console.error("Failed to add comment:",e),o.Pg3.error({content:"Failed to add comment",duration:5})}},u=[{key:"internal",label:"Internal comment",children:(0,r.jsx)(o.AntInput.TextArea,{ref:l,value:n,onChange:e=>s(e.target.value),rows:3,className:"mb-3 h-[150px] w-full !resize-none","data-testid":"comment-input"})}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.A5g,{items:u}),(0,r.jsxs)(o.jqI,{justify:"flex-end",className:"gap-2",children:[(0,r.jsx)(o.wpx,{onClick:i,"data-testid":"cancel-comment-button",children:"Cancel"}),(0,r.jsx)(o.wpx,{onClick:d,loading:c,disabled:!n.trim(),type:"primary",htmlType:"button","data-testid":"submit-comment-button",children:"Save"})]})]})};var es=e=>{let{subjectRequest:t}=e,[i,n]=(0,h.useState)(!1);return(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(et,{subjectRequest:t}),i?(0,r.jsx)(en,{privacyRequestId:t.id,onCancel:()=>n(!1)}):(0,r.jsx)(g.ZP,{scopes:[x.Sh.COMMENT_CREATE],children:(0,r.jsx)(o.jqI,{justify:"flex-start",className:"mt-2",children:(0,r.jsxs)(o.wpx,{type:"default",onClick:()=>n(!0),className:"flex items-center","data-testid":"add-comment-button",children:["Add comment ",(0,r.jsx)("span",{className:"ml-1",children:"+"})]})})})]})},el=i(14207),ea=i(46238),er=i(72281),eo=i(17245),ec=i(90867),ed=i(16134);let eu=e=>Array.from(new Set(e.filter(e=>Object.values(x.Us).includes(e.action_type)).map(e=>e.action_type)));var em=e=>{let{rules:t}=e,i=eu(t).map(e=>(0,b.kC)(e)).map(e=>e);return(0,r.jsx)(o.AntTypography.Text,{children:i.join(" - ")})},ep=i(34090),eh=i(55484),ex=e=>{let{connectorName:t,data:i,isSubmitting:n=!1,onSaveClick:s}=e,{isOpen:l,onOpen:a,onClose:c}=(0,o.qY0)(),d=(0,h.useRef)(null),u=async(e,t)=>{s({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:a,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:a,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(ep.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:l,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual access"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please complete the following PII fields that have been collected for the selected subject."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(ep.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map((e,t)=>{let[i]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(ep.gN,{id:i,name:i,children:e=>{let{field:n}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:i,w:"50%",children:i}),(0,r.jsx)(o.IIB,{...n,autoComplete:"off",color:"gray.700",placeholder:"Please enter ".concat(i),ref:0===t?d:void 0,size:"sm"})]})}})},i)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:n,htmlType:"submit",children:"Save"})]})})]})]})})]})},eg=e=>{let{connectorName:t,data:i,isSubmitting:n=!1,onSaveClick:s}=e,{isOpen:l,onOpen:a,onClose:c}=(0,o.qY0)(),d=(0,h.useRef)(null),u=async(e,t)=>{s({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:a,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:a,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(ep.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:eh.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:l,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual erasure"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please delete the following PII fields associated with the selected subject if they are available. Once deleted, check the box to confirm the deletion."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(ep.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map(e=>{let[t]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(ep.gN,{id:t,name:t,children:e=>{let{field:i}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:t,w:"50%",children:t}),(0,r.jsx)(o.XZJ,{...i,isChecked:!!i.value,onChange:i.onChange,name:t,id:t})]})}})},t)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:n,htmlType:"submit",children:"Save"})]})})]})]})})]})};let ev=(e,t,i)=>e.includes(x.Us.ACCESS)?{ProcessingDetailComponent:ex,uploadMutation:t,getUploadedWebhookDataEndpoint:ec.$I.endpoints.getUploadedManualAccessWebhookData}:e.includes(x.Us.ERASURE)?{ProcessingDetailComponent:eg,uploadMutation:i,getUploadedWebhookDataEndpoint:ec.$I.endpoints.getUploadedManualErasureWebhookData}:null;var ej=e=>{let{subjectRequest:t,onComplete:i}=e,n=(0,ed.T)(),{errorAlert:s,successAlert:l}=(0,eo.VY)(),{handleError:a}=(0,eo.HK)(),[c,d]=(0,h.useState)([]),[u,m]=(0,h.useState)(!1),[p,g]=(0,h.useState)(!1),{data:v,isFetching:j,isLoading:y,isSuccess:f}=(0,el.W6)(),[_]=(0,ec.w3)(),b=eu(t.policy.rules),[T]=(0,ec.nL)(),[w]=(0,ec.UR)(),{ProcessingDetailComponent:E,uploadMutation:A,getUploadedWebhookDataEndpoint:R}=ev(b,T,w),C=async()=>{try{m(!0),await _(t.id).unwrap(),l("Manual request has been received. Request now processing."),i()}catch(e){a(e)}finally{m(!1)}},k=async e=>{try{g(!0),await A(e).unwrap();let t={connection_key:e.connection_key,fields:{}};Object.entries(e.body).forEach(e=>{let[i,n]=e;t.fields[i]=n||""});let i=c.map(e=>e.connection_key===t.connection_key?{...e,checked:!0,fields:{...t.fields}}:e);d(i),l("Manual input successfully saved!")}catch(e){a(e)}finally{g(!1)}};return((0,h.useEffect)(()=>(f&&v.length>0&&0===c.length&&(()=>{if(c.length>0)return;let e=[],i=null==v?void 0:v.map(e=>e.connection_config.key);null==i||i.every(i=>e.push(n(R.initiate({connection_key:i,privacy_request_id:t.id})))),Promise.allSettled(e).then(e=>{let t=[];e.forEach((e,i)=>{if("fulfilled"===e.status&&e.value.isSuccess&&e.value.data){let i={checked:e.value.data.checked,fields:{},connection_key:e.value.originalArgs.connection_key,privacy_request_id:e.value.originalArgs.privacy_request_id};Object.entries(e.value.data.fields).forEach(e=>{let[t,n]=e;i.fields[t]=n||""}),t.push(i)}else s("An error occurred while loading manual input data for ".concat(v[i].connection_config.name))}),d(t)})})(),()=>{}),[v,c.length,n,s,f,t.id,R]),b.includes(x.Us.ACCESS)||b.includes(x.Us.ERASURE))?(0,r.jsxs)(o.gCW,{align:"stretch",spacing:8,children:[(0,r.jsx)(o.xuv,{children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",children:"The following table details the integrations that require manual input from you."})}),(0,r.jsxs)(o.xuv,{children:[(j||y)&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),f&&v?(0,r.jsx)(o.xJi,{children:(0,r.jsxs)(o.iA_,{size:"sm",variant:"unstyled",children:[(0,r.jsx)(o.hrZ,{children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{fontSize:"sm",fontWeight:"semibold",pl:"0",textTransform:"none",children:"Integration Identifier"}),(0,r.jsx)(o.Th,{})]})}),(0,r.jsxs)(o.p3B,{children:[v.length>0&&v.map(e=>(0,r.jsxs)(o.Tr,{display:"block",children:[(0,r.jsx)(o.Td,{pl:"0",children:e.connection_config.key}),(0,r.jsx)(o.Td,{children:c.length>0?(0,r.jsx)(E,{connectorName:e.connection_config.name,data:c.find(t=>t.connection_key===e.connection_config.key),isSubmitting:p,onSaveClick:k}):null})]},e.id)),0===v.length&&(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Td,{colSpan:3,pl:"0",children:(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.xvT,{children:"You don‘t have any Manual Process connections set up yet."})})})})]}),c.length>0&&c.every(e=>e.checked)?(0,r.jsx)(o.$RU,{children:(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Th,{pl:"0px",children:(0,r.jsx)(o.wpx,{type:"primary",loading:u,onClick:C,className:"mt-2",children:"Complete DSR"})})})}):null]})}):null]})]}):null},ey=e=>{let{subjectRequest:t,onComplete:i}=e,n=(0,c.useRouter)(),{data:s}=(0,el.AZ)({}),l=(0,h.useMemo)(()=>{var e;return(null==s?void 0:null===(e=s.items)||void 0===e?void 0:e.filter(e=>e.connection_type===x.Rj.MANUAL_TASK))||[]},[s]),{data:a}=(0,el.W6)(),d=(a||[]).length>0,{data:m}=(0,F.Ym)({page:1,size:100,privacyRequestId:t.id}),p=(null==m?void 0:m.items)||[],g=p.length,v=p.filter(e=>e.status===x.OS.NEW).length,j=l.length>0,y=p.length>0,f=j||y;return f||d?(0,r.jsxs)(o.Kqy,{spacing:6,children:[f&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{marginBottom:12},children:"Manual tasks"}),(0,r.jsxs)(o.Kqy,{spacing:2,children:[(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:g})," task",1!==g?"s":""," ","linked to this privacy request"]}),(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:v})," pending task",1!==v?"s":""]}),g>0&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(o.wpx,{type:"primary",onClick:()=>{n.push({pathname:u.Jw,query:{privacy_request_id:t.id,tab:er.G.MANUAL_TASK}})},children:"View all tasks for this request →"})})]})]}),d&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsxs)(o.kCb,{alignItems:"center",style:{marginBottom:12},children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{margin:0,marginRight:8},children:"Manual steps (legacy)"}),(0,r.jsx)(ea.b,{label:"This is the legacy manual steps feature. The new manual tasks feature provides more advanced capabilities and better user experience."})]}),(0,r.jsx)(ej,{subjectRequest:t,onComplete:i||(()=>{})})]})]}):(0,r.jsx)(o.xuv,{p:4,children:(0,r.jsx)(o.AntTypography.Text,{type:"secondary",children:"No manual tasks or legacy manual steps configured for this request."})})},ef=i(59969);let e_={approved:{color:"success",label:"Approved"},complete:{color:"success",label:"Completed"},awaiting_email_send:{color:"marble",label:"Awaiting Email Send"},denied:{color:"warning",label:"Denied"},canceled:{color:"marble",label:"Canceled"},error:{color:"error",label:"Error"},in_processing:{color:"caution",label:"In Progress"},paused:{color:"marble",label:"Paused"},pending:{color:"info",label:"New"},identity_unverified:{color:"marble",label:"Unverified"},requires_input:{color:"minos",label:"Requires Input"},requires_manual_finalization:{color:"minos",label:"Requires Finalization"}};var eb=e=>{let{status:t}=e;return(0,r.jsx)(o.j8w,{color:e_[t].color,className:"justify-center","data-testid":"request-status-badge",children:e_[t].label})},eT=i(18225),ew=i(812),eE=i(7842);let{useGetAttachmentsQuery:eA,useUploadAttachmentMutation:eR,useGetAttachmentDetailsQuery:eC,useLazyGetAttachmentDetailsQuery:ek}=k.u.injectEndpoints({endpoints:e=>({getAttachments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:n}=e;return{url:"plus/privacy-request/".concat(t,"/attachment"),method:"GET",params:{page:i,size:n}}},providesTags:["Privacy Request Attachments"]}),uploadAttachment:e.mutation({query:e=>{let{privacy_request_id:t,attachment_type:i,attachment_file:n}=e,s=new FormData;return s.append("attachment_type",i),s.append("attachment_file",n),{url:"plus/privacy-request/".concat(t,"/attachment"),method:"POST",body:s,params:{}}},invalidatesTags:["Privacy Request Attachments"]}),getAttachmentDetails:e.query({query:e=>{let{privacy_request_id:t,attachment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/attachment/").concat(i),method:"GET"}}})})}),{reducer:eq}=(0,C.oM)({name:"privacyRequestAttachments",initialState:{},reducers:{}}),eS=e=>{var t;let{file:i}=e,[n,s]=(0,h.useState)(!1),[l]=ek(),a=async()=>{var e,t,n;if((null===(e=i.customData)||void 0===e?void 0:e.attachment_id)&&(null===(t=i.customData)||void 0===t?void 0:t.privacy_request_id)){s(!0);try{let e=await l({privacy_request_id:i.customData.privacy_request_id,attachment_id:i.customData.attachment_id}),t=null===(n=e.data)||void 0===n?void 0:n.retrieved_attachment_url,s=null==t?void 0:t.startsWith("http");t&&s?window.open(t,"_blank"):t&&!s?o.Pg3.info("Download is not available when using local storage methods."):o.Pg3.error("No download URL available for ".concat(i.name))}catch(e){o.Pg3.error("Failed to fetch attachment download URL")}finally{s(!1)}}},c=(null===(t=i.customData)||void 0===t?void 0:t.attachment_type)===x.sf.INCLUDE_WITH_ACCESS_PACKAGE;return(0,r.jsxs)(o.jqI,{align:"center",gap:8,children:[(0,r.jsx)(o.PJP.PgN,{className:"shrink-0"}),(0,r.jsx)(o.lKn,{ellipsis:{tooltip:i.name},className:"grow",children:i.name}),c&&(0,r.jsx)(o.esZ,{title:"This attachment will be included in the access package.",children:(0,r.jsx)(o.PJP.wvC,{className:"shrink-0",title:"User icon"})}),(0,r.jsx)(o.wpx,{type:"text","aria-label":"Download attachment",icon:(0,r.jsx)(o.PJP.UWx,{}),onClick:a,loading:n,className:"shrink-0"})]})},eN=(e,t)=>(0,r.jsx)(eS,{file:t});var eP=e=>{let{subjectRequest:t}=e,[i,n]=(0,h.useState)(!1),s=(0,g.Tg)([x.Sh.ATTACHMENT_READ]),l=(0,g.Tg)([x.Sh.ATTACHMENT_CREATE]),[a]=eR(),{data:c,isLoading:d,error:u}=(0,ec.PW)(),{data:m,isLoading:p}=eA({privacy_request_id:t.id}),{refetch:v}=eA({privacy_request_id:t.id}),j=(null==m?void 0:m.items.map(e=>({uid:e.id,name:e.file_name,status:"done",customData:{attachment_id:e.id,privacy_request_id:t.id,attachment_type:e.attachment_type}})))||[],y=(0,h.useCallback)(()=>(0,r.jsx)(o.PJP.PgN,{}),[]);if(!s)return null;let f=l&&(null==c?void 0:c.key),_=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv",".jpg",".jpeg",".png",".zip"];return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.lQT,{level:3,children:"Attachments"})}),d||p?(0,r.jsx)(eT.Z,{size:"md",alignment:"start"}):(0,r.jsx)(o.pMK,{name:"attachment_file",fileList:j,iconRender:y,showUploadList:{showRemoveIcon:!1,showDownloadIcon:!1},itemRender:eN,accept:_.join(","),customRequest:async e=>{let{file:i,onSuccess:s,onError:l}=e,r=i.name;try{n(!0),await a({privacy_request_id:t.id,attachment_file:i,attachment_type:eE.s.INTERNAL_USE_ONLY}).unwrap(),o.Pg3.success("".concat(r," file uploaded successfully")),v(),null==s||s(i)}catch(e){o.Pg3.error("".concat(r," file upload failed.")),null==l||l(e)}finally{n(!1)}},disabled:!f,children:l&&(0,r.jsx)(o.esZ,{title:u&&"Add attachment not available: ".concat((0,ew.e$)(u)),placement:"top",children:(0,r.jsxs)(o.jqI,{align:"center",gap:12,className:"mb-4",children:[(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.mm_,{}),iconPosition:"end",disabled:!f||i,loading:i,children:i?"Uploading":"Add"}),(0,r.jsx)(ea.b,{label:"Uploaded attachments are for internal use and won't be send as part of the request package.\n Accepted filetypes: ".concat(_.join(", ")),placement:"top"})]})})})]})})},eI=i(15709),eO=i.n(eI),eD=e=>{let{label:t,children:i}=e;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"shrink-0 grow-0 basis-1/2 pr-2 ".concat(eO().label),children:(0,r.jsxs)(o.AntTypography.Text,{children:[t,":"]})}),(0,r.jsx)("div",{className:"min-w-0 shrink grow ".concat(eO().value),"data-testid":"request-detail-value-".concat(t),children:i})]})},eM=e=>{let{subjectRequest:t}=e,{custom_privacy_request_fields:i}=t;return(0,r.jsx)("div",{className:"flex flex-col gap-2",children:i&&Object.keys(i).length>0&&Object.entries(i).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,r.jsx)(eD,{label:i.label,children:(0,r.jsx)(o.AntTypography.Text,{children:Array.isArray(i.value)?i.value.join(", "):i.value})},t)})})},eU=e=>{var t,i;let{subjectRequest:n}=e,{plus:s}=(0,R.hz)(),{id:l,status:a,policy:c,identity:d,identity_verified_at:u}=n;return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.AntTypography.Title,{level:2,children:"Request details"})}),(0,r.jsxs)(o.jqI,{vertical:!0,gap:12,className:"mb-6",children:[(0,r.jsx)(eD,{label:"Status",children:(0,r.jsx)(eb,{status:a})}),(0,r.jsx)(eD,{label:"Time remaining",children:(0,r.jsx)(ef.Z,{daysLeft:n.days_left,includeText:!0,status:n.status})}),(0,r.jsx)(eD,{label:"Request type",children:(0,r.jsx)(em,{rules:c.rules})}),(0,r.jsx)(eD,{label:"Source",children:s&&(0,r.jsx)(o.AntTypography.Text,{children:n.source||"-"})}),n.submitted_by&&(0,r.jsx)(eD,{label:"Created by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(t=n.submitter)||void 0===t?void 0:t.username)||"-"})}),(0,r.jsx)(eD,{label:"Reviewed by",children:(0,r.jsx)(o.AntTypography.Text,{children:(null===(i=n.reviewer)||void 0===i?void 0:i.username)||"-"})}),Object.entries(d).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i="",label:n}]=e,s="".concat(i).concat(u?"":" (Unverified)");return(0,r.jsx)(eD,{label:"Subject ".concat(n.toLocaleLowerCase()),children:(0,r.jsx)(o.esZ,{title:s,trigger:"click",children:(0,r.jsx)(o.AntTypography.Text,{ellipsis:!0,children:s})})},t)}),(0,r.jsx)(eM,{subjectRequest:n})]}),(0,r.jsxs)(o.PPS,{layout:"vertical",children:[(0,r.jsx)(o.PPS.Item,{label:"Request ID:",className:"mb-4",children:(0,r.jsx)(o.jqI,{gap:1,children:(0,r.jsxs)(o.vyj.Compact,{style:{width:"100%"},children:[(0,r.jsx)(o.AntInput,{readOnly:!0,value:l,"data-testid":"request-detail-value-id"}),(0,r.jsx)(o.wpx,{"aria-label":"Copy request ID",icon:(0,r.jsx)(Z.Z,{copyText:l})})]})})}),(0,r.jsx)(o.PPS.Item,{label:"Policy key:",className:"mb-4",children:(0,r.jsx)(o.AntInput,{readOnly:!0,value:n.policy.key,"data-testid":"request-detail-value-policy"})})]}),(0,r.jsx)(eP,{subjectRequest:n})]})};let eL=[x.q2.COMPLETE,x.q2.CANCELED,x.q2.DENIED,x.q2.ERROR];var ez=e=>{var t;let{data:i}=e,n=(0,h.useMemo)(()=>({id:i.id,verbose:!0}),[i.id]),{data:s}=(0,p.QA)(n,{pollingInterval:eL.includes(i.status)?0:2e3,skip:!i.id}),l=null!==(t=null==s?void 0:s.items[0])&&void 0!==t?t:i,a=l.status===x.q2.REQUIRES_INPUT,[c,d]=(0,h.useState)("activity"),u=(0,h.useMemo)(()=>[{key:"activity",label:"Activity",children:(0,r.jsx)(es,{subjectRequest:l})},{key:"manual-tasks",label:"Manual tasks",children:(0,r.jsx)(ey,{subjectRequest:l,onComplete:()=>d("activity")}),disabled:!a}],[a,l]);return(0,r.jsxs)("div",{className:"flex gap-8",children:[(0,r.jsx)("div",{className:"w-0 grow",children:(0,r.jsx)(o.A5g,{items:u,activeKey:c,onChange:d})}),(0,r.jsx)("div",{className:"w-1/3 2xl:w-[432px]","data-testid":"privacy-request-details",children:(0,r.jsx)(eU,{subjectRequest:l})})]})},eW=i(57526),eB=i(66548),eF=i(45489),eG=e=>{let{privacyRequest:t,action:i}=e,{handleApproveRequest:n,handleDenyRequest:s}=(0,eF.Z)({subjectRequest:t}),l=t.status===x.q2.PENDING,a=(0,o.qY0)(),r=async e=>{let{reason:t}=e,l=o.Pg3.loading({content:"approve"===i?"Approving request...":"Denying request..."});"deny"===i&&await s(t),"approve"===i&&await n(),l()};return{showAction:l,closeModal:a.onClose,performAction:r,openConfirmationModal:a.onOpen,isModalOpen:a.isOpen}},eZ=e=>{var t,i,n;let{privacyRequest:s}=e,l=null===(i=(0,R.hz)())||void 0===i?void 0:null===(t=i.flags)||void 0===t?void 0:t.downloadAccessRequestResults,a=s.status===x.q2.COMPLETE,r=eu(s.policy.rules).includes(x.Us.ACCESS),o=(0,g.Tg)([x.Sh.PRIVACY_REQUEST_ACCESS_RESULTS_READ]),{data:c,isLoading:d,isError:u,error:m}=(0,ec.br)({privacy_request_id:s.id},{skip:!a}),p=null!==(n=null==c?void 0:c.access_result_urls[0])&&void 0!==n?n:"",h=!!p&&"your local fides_uploads folder"!==p,v=null;return u?v=(0,ew.e$)(m,"Unable to resolve download URL"):h||(v="Requests stored locally cannot be downloaded"),{showDownloadResults:l&&o&&r&&a,downloadResults:()=>{let e=document.createElement("a");e.href=p,e.target="_blank",e.rel="noopener noreferrer",e.click(),e.remove()},infoTooltip:v,isLoading:d,isDisabled:!h}},eJ=e=>{let{privacyRequest:t}=e,{errorAlert:i,successAlert:n}=(0,eo.VY)(),s=t.status===x.q2.ERROR,[l]=(0,ec.Fq)();return{reprocessPrivacyRequest:async()=>{if(!t)return;let e=o.Pg3.loading("Reprocessing privacy request...",0),s=await l(t);"error"in s?i((0,ew.e$)(s.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):n("Privacy request is now being reprocessed."),e()},showReprocess:s}},eK=e=>{let{privacyRequest:t}=e,{showDownloadResults:i,downloadResults:n,infoTooltip:s,isDisabled:l}=eZ({privacyRequest:t}),{isModalOpen:a,closeModal:c,performAction:d,openConfirmationModal:u,showAction:m}=eG({privacyRequest:t,action:"approve"}),{isModalOpen:p,closeModal:g,performAction:v,openConfirmationModal:j,showAction:y}=eG({privacyRequest:t,action:"deny"}),{reprocessPrivacyRequest:f,showReprocess:_}=eJ({privacyRequest:t}),{handleFinalizeRequest:b,finalizeRequestResult:T}=(0,eF.Z)({subjectRequest:t}),w=(0,h.useMemo)(()=>{let e=[];return e.push({key:"approve",label:(0,r.jsx)("span",{"data-testid":"privacy-request-approve-btn",children:"Approve"}),onClick:u,disabled:!m}),e.push({key:"deny",label:(0,r.jsx)("span",{"data-testid":"privacy-request-deny-btn",children:"Deny"}),onClick:j,disabled:!y}),e.push({key:"reprocess",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-reprocess",children:"Reprocess"}),onClick:f,disabled:!_}),t.status===x.q2.REQUIRES_MANUAL_FINALIZATION&&e.push({key:"finalize",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-finalize",children:"Finalize"}),onClick:b,disabled:T.isLoading}),i&&e.push({key:"download",label:(0,r.jsx)(o.esZ,{title:l?s:null,placement:"bottom",children:(0,r.jsx)("span",{"data-testid":"download-results-btn",children:"Download request results"})}),onClick:n,disabled:l}),e},[i,n,s,l,m,y,u,j,_,f,t.status,b,T.isLoading]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.S0p,{menu:{items:w},trigger:["click"],overlayStyle:{minWidth:"160px"},children:(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.pO,{}),"data-testid":"privacy-request-actions-dropdown-btn",iconPosition:"end",type:"primary",disabled:!w.length,size:"large",children:"Actions"})}),(0,r.jsx)(eW.Z,{isOpen:a,isLoading:!1,onClose:c,onApproveRequest:()=>d({reason:""}),subjectRequest:t}),(0,r.jsx)(eB.Z,{isOpen:p,onClose:g,onDenyRequest:e=>v({reason:e})})]})},eH=()=>{let e=(0,c.useRouter)().query.id,{data:t,isLoading:i}=(0,p.QA)({id:e,verbose:!0},{skip:!e}),n=(null==t?void 0:t.items[0])||null;return(0,r.jsxs)(d.Z,{title:"Privacy Request - ".concat(e),children:[(0,r.jsx)(m.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests",href:u.Jw},{title:"Request details"}],rightContent:!!n&&(0,r.jsx)(eK,{privacyRequest:n})}),i&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),!i&&!n&&(0,r.jsx)(o.xvT,{children:"404 no privacy request found"}),!i&&n&&(0,r.jsx)(ez,{data:n})]})}},15709:function(e){e.exports={value:"RequestDetailsRow_value__WMXn3",label:"RequestDetailsRow_label__dn3CQ"}},38450:function(e){e.exports={container:"ActivityTimelineEntry_container__tCva0","container--open":"ActivityTimelineEntry_container--open__1d9mA",itemButton:"ActivityTimelineEntry_itemButton__MlmWS","itemButton--error":"ActivityTimelineEntry_itemButton--error__UizD2","itemButton--comment":"ActivityTimelineEntry_itemButton--comment__g98SH","itemButton--awaiting-input":"ActivityTimelineEntry_itemButton--awaiting-input__6lB5t","itemButton--polling":"ActivityTimelineEntry_itemButton--polling__jzolP",header:"ActivityTimelineEntry_header__GYibj",title:"ActivityTimelineEntry_title__rm_g0","title--error":"ActivityTimelineEntry_title--error__fOi0s","title--awaiting-input":"ActivityTimelineEntry_title--awaiting-input__3sPAo","title--polling":"ActivityTimelineEntry_title--polling__g_Hgn",timestamp:"ActivityTimelineEntry_timestamp__uMEMT",viewLogs:"ActivityTimelineEntry_viewLogs___T4jN",logs:"ActivityTimelineEntry_logs__T7R0J","logs--open":"ActivityTimelineEntry_logs--open__o_9Io"}}},function(e){e.O(0,[431,7245,8373,2888,9774,179],function(){return e(e.s=6554)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
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(77169)}])},35287:function(e,t,s){"use strict";var i=s(24246),l=s(20595),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(20595);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(20595);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(20595),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,f]=(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 _="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=>{f(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:_,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:_,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})]})})}},9270:function(e,t,s){"use strict";s.d(t,{S:function(){return a}});var i=s(27378),l=s(36866);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,l.h)(e),{pageIndex:s,pageSize:a,updatePageIndex:r,updatePageSize:n,pageSizeOptions:d,showSizeChanger:o}=t,c=(0,i.useMemo)(()=>({current:s,pageSize:a,showSizeChanger:o,pageSizeOptions:d.map(String),onChange:r,onShowSizeChange:(e,t)=>{n(t)}}),[s,a,o,d,r,n]);return{...t,paginationProps:c}}},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(39449);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"}},77169: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(20595),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),f=s(28407),_=s(16394),b=s(39449),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.AntInput.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.AntInput.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.AntInput.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,_.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,_.gJ)(e),value:e.id})))||[];return(null==t?void 0:t.id)&&!s.some(e=>e.value===t.id)&&s.push({text:(0,_.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)(f.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),D=s(92222),F=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,D.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,_.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(9270),ed=s(812),eo=()=>{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,ed.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 ec=e=>{let{...t}=e,[s,i]=(0,F.v1)("search",F.Oi.withDefault("").withOptions({throttleMs:100})),l=(0,M.v9)(W.dp),r=(0,n.pmc)(),d=(0,h.useRouter)(),o=(0,M.I0)(),u=(0,en.S)(),{pageIndex:p,pageSize:m,resetPagination:x}=u,{isOpen:v,onOpen:y,onClose:j}=(0,n.qY0)(),{data:g,isLoading:f,isFetching:_}=(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}=eo(),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,D.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})})]}),f?(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:_}),(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 eu=s(87361),ep=s(46628),em=s(32885),ex=s(34090),eh=s(55484),ev=s(40324);let ey=(e,t)=>null==t?void 0:t.find(t=>t.policy_key===e),ej=e=>{var t,s;if(!e)return eh.Ry().shape({policy_key:eh.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]:eh.Ry().shape({value:s.required&&!s.hidden?eh.Z_().required().label(s.label):eh.Z_().nullable()})}}).reduce((e,t)=>({...e,...t}),{}):{};return eh.Ry().shape({policy_key:eh.Z_().required().label("Request type"),identity:eh.Ry().shape({email:(null===(t=e.identity_inputs)||void 0===t?void 0:t.email)==="required"?eh.Z_().email().required().label("Email address"):eh.Z_().nullable(),phone_number:(null===(s=e.identity_inputs)||void 0===s?void 0:s.phone)==="required"?eh.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").required().label("Phone number"):eh.Z_().matches(/^\+?[1-9]\d{1,14}$/,"Phone number must be formatted correctly (e.g. 15555555555)").nullable()}),custom_privacy_request_fields:eh.Ry().shape(i)})};var eg=s(97181);let ef={is_verified:!1,policy_key:"",identity:{}},e_=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},eb=e=>{var t;let{label:s,required:i,name:l}=e,[r,d,o]=(0,ex.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)})},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"field_type"in s&&"location"===s.field_type?(0,a.jsx)(eb,{name:t,label:s.label,required:!!s.required},t):(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)(ex.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:()=>eh.Ry().shape({identity:eh.Ry().shape({email:eh.Z_().email().required().label("Email Address")})}),children:e=>{let{dirty:t,isValid:i}=e;return(0,a.jsx)(ex.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(e_,{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)(ex.J9,{initialValues:ef,onSubmit:t,validationSchema:()=>(0,eh.Vo)(e=>ej(ey(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=ey(l.policy_key,null==i?void 0:i.actions);return(0,a.jsx)(ex.l0,{children:(0,a.jsxs)(n.Kqy,{spacing:6,mb:2,children:[(0,a.jsx)(eg.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=ey(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)(e_,{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,ep.Vo)((0,ed.e$)(d.error,"An error occurred while creating this privacy request. Please try again"))):l((0,ep.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)(eu.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,em.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)(ec,{})}),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,7245,8373,2888,9774,179],function(){return e(e.s=1565)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3785],{90988:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems",function(){return s(69955)}])},30952:function(e,t,s){"use strict";s.d(t,{f:function(){return d}});var l=s(24246),a=s(66726),n=s.n(a),r=s(27378),i=s(26917);let d=e=>{let{value:t,onChange:s,placeholder:a,...d}=e,[o,c]=(0,r.useState)(t);(0,r.useEffect)(()=>{c(t||"")},[t]);let u=n()(s,500),m=(0,r.useCallback)(e=>{c(e),u(e)},[]);return(0,l.jsx)(i.Z,{value:o,onChange:m,onClear:()=>{c(""),s("")},placeholder:a,...d})}},35287:function(e,t,s){"use strict";var l=s(24246),a=s(20595),n=s(88038),r=s.n(n);s(27378),t.Z=e=>{let{children:t,title:s,mainProps:n}=e;return(0,l.jsxs)(a.kCb,{"data-testid":s,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,l.jsxs)(r(),{children:[(0,l.jsxs)("title",{children:["Fides Admin UI - ",s]}),(0,l.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,l.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,l.jsx)(a.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...n,children:t})]})}},58754:function(e,t,s){"use strict";var l=s(24246),a=s(20595),n=s(70788);t.Z=e=>{let{heading:t,breadcrumbItems:s,isSticky:r=!0,children:i,rightContent:d,style:o,...c}=e;return(0,l.jsxs)("div",{...c,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,l.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof t?(0,l.jsx)(a.lQT,{className:s||i?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,l.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!s&&(0,l.jsx)(n.m,{className:i?"pb-4":void 0,items:s,"data-testid":"page-breadcrumb"}),i]})}},19904:function(e,t,s){"use strict";s.d(t,{Tg:function(){return r}});var l=s(24246),a=s(16134),n=s(31793);let r=e=>(0,a.C)(n.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:s}=e;return r(t)?(0,l.jsx)(l.Fragment,{children:s}):null}},97181:function(e,t,s){"use strict";s.d(t,{d:function(){return o}});var l=s(24246),a=s(20595),n=s(34090),r=s(27378),i=s(46238),d=s(40324);let o=e=>{let{name:t,label:s,labelProps:o,tooltip:c,isRequired:u,layout:m="inline",helperText:p,...g}=e,[y,h,{setValue:x}]=(0,n.U$)(t),j=!!(h.touched&&h.error),[v,f]=(0,r.useState)("");y.value||"tags"!==g.mode&&"multiple"!==g.mode||(y.value=[]),"tags"===g.mode&&"string"==typeof y.value&&(y.value=[y.value]);let k="tags"===g.mode?(e,t)=>e?e.value!==v||y.value.includes(v)?g.optionRender?g.optionRender(e,t):e.label:'Create "'.concat(v,'"'):void 0:g.optionRender||void 0,b=e=>{f(e),g.onSearch&&g.onSearch(e)},_=(e,t)=>{x(e),g.onChange&&g.onChange(e,t)};return"inline"===m?(0,l.jsx)(a.NIc,{isInvalid:j,isRequired:u,children:(0,l.jsxs)(a.rjZ,{templateColumns:s?"1fr 3fr":"1fr",children:[s?(0,l.jsx)(d.__,{htmlFor:g.id||t,...o,children:s}):null,(0,l.jsxs)(a.jqI,{align:"center",children:[(0,l.jsxs)(a.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,l.jsx)(a.WPr,{...y,id:g.id||t,"data-testid":"controlled-select-".concat(y.name),...g,optionRender:k,onSearch:"tags"===g.mode?b:void 0,onChange:_,value:y.value||void 0,status:j?"error":void 0}),p&&(0,l.jsx)(a.Q6r,{children:p}),(0,l.jsx)(d.Bc,{isInvalid:j,message:h.error,fieldName:y.name})]}),(0,l.jsx)(i.b,{label:c,className:j?"mt-2 self-start":void 0})]})]})}):(0,l.jsx)(a.NIc,{isInvalid:j,isRequired:u,children:(0,l.jsxs)(a.gCW,{alignItems:"start",children:[(0,l.jsxs)(a.jqI,{align:"center",children:[s?(0,l.jsx)(d.__,{htmlFor:g.id||t,fontSize:"xs",my:0,mr:1,...o,children:s}):null,(0,l.jsx)(i.b,{label:c})]}),(0,l.jsx)(a.WPr,{...y,id:g.id||t,"data-testid":"controlled-select-".concat(y.name),...g,optionRender:k,onSearch:"tags"===g.mode?b:void 0,onChange:_,value:y.value||void 0,status:j?"error":void 0}),p&&(0,l.jsx)(a.Q6r,{style:{marginTop:0},children:p}),(0,l.jsx)(d.Bc,{isInvalid:j,message:h.error,fieldName:y.name})]})})}},70788:function(e,t,s){"use strict";s.d(t,{m:function(){return o}});var l=s(24246),a=s(20595),n=s(79894),r=s.n(n),i=s(27378);let{Text:d}=a.AntTypography,o=e=>{let{items:t,...s}=e,n=(0,i.useMemo)(()=>null==t?void 0:t.map((e,s)=>{let n=s===t.length-1,i={...e},o=i.onClick&&!i.href;return("string"==typeof i.title&&(i.title=(0,l.jsx)(d,{style:{color:"inherit",maxWidth:n?void 0:400},ellipsis:!n,id:n?"breadcrumb-current-page":void 0,children:i.title})),o)?i.title=(0,l.jsx)(a.wpx,{type:"text",size:"small",icon:i.icon,onClick:i.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:i.title}):(i.icon&&(i.title=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"anticon align-text-bottom",children:i.icon}),i.title]})),i.href&&i.title&&(i.title=(0,l.jsx)(r(),{href:i.href,className:"ant-breadcrumb-link",children:i.title}),delete i.href)),i}),[t]);return(0,l.jsx)(a.zrq,{items:n,...s})}},33335:function(e,t,s){"use strict";s.d(t,{E:function(){return l}});let l=e=>e.toLowerCase().replace(/[ .]/g,"_").replace(/[^a-zA-Z0-9_<>-]/g,"")},22583:function(e,t,s){"use strict";s.d(t,{j:function(){return a}});var l=s(39449);let a={[l.Ej.TAXONOMY_WHITE]:"default",[l.Ej.TAXONOMY_RED]:"error",[l.Ej.TAXONOMY_ORANGE]:"warning",[l.Ej.TAXONOMY_YELLOW]:"caution",[l.Ej.TAXONOMY_GREEN]:"success",[l.Ej.TAXONOMY_BLUE]:"info",[l.Ej.TAXONOMY_PURPLE]:"alert",[l.Ej.SANDSTONE]:"sandstone",[l.Ej.MINOS]:"minos"}},92818:function(e,t,s){"use strict";s.d(t,{r:function(){return d}});var l=s(24246),a=s(27378),n=s(97181),r=s(22583),i=s(39449);let d={[i.Ej.TAXONOMY_WHITE]:"White",[i.Ej.TAXONOMY_RED]:"Red",[i.Ej.TAXONOMY_ORANGE]:"Orange",[i.Ej.TAXONOMY_YELLOW]:"Yellow",[i.Ej.TAXONOMY_GREEN]:"Green",[i.Ej.TAXONOMY_BLUE]:"Blue",[i.Ej.TAXONOMY_PURPLE]:"Purple",[i.Ej.SANDSTONE]:"Sandstone",[i.Ej.MINOS]:"Minos"},o=e=>{let{color:t,...s}=e;return(0,l.jsx)("span",{"aria-hidden":!0,className:"mr-2 inline-block size-4 rounded-lg align-middle",style:{backgroundColor:"var(--fidesui-bg-".concat(r.j[t],")"),border:t===i.Ej.TAXONOMY_WHITE?"1px solid var(--fidesui-neutral-200)":"none",...s.style}})},c=e=>{let t=null==e?void 0:e.value,s=null==e?void 0:e.label;return(0,l.jsxs)("span",{className:"flex items-center",children:[(0,l.jsx)(o,{color:t}),(0,l.jsx)("span",{children:s})]})};t.Z=e=>{let t=Object.values(i.Ej).map(e=>({value:e,label:d[e]})),[s,r]=(0,a.useState)(void 0);return(0,l.jsx)(n.d,{...e,options:t,optionRender:c,layout:"stacked",value:s,onChange:e=>{r(e)},prefix:(0,l.jsx)(o,{color:null!=s?s:i.Ej.TAXONOMY_WHITE,style:{marginBottom:"2px"}})})}},69955:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return Q}});var l=s(24246),a=s(20595),n=s(86677),r=s(27378),i=s(25980),d=s(35287),o=s(77830),c=s(58754),u=s(30952),m=s(812),p=s(65450),g=s(34090),y=s(83766),h=s.n(y),x=s(55484),j=s(97181),v=s(40324),f=s(28079),k=s(1315),b=s(92818);let _="all-suggested";var E=e=>{let{options:t,loading:s,name:n,suggestedDataUses:i,...d}=e,[o,c,{setValue:u}]=(0,g.U$)(n),m=!!(c.touched&&c.error),p=(0,r.useMemo)(()=>{let e=[],s=[];return null==t||t.forEach(t=>{i.includes(t.value)?e.push(t):s.push(t)}),{suggested:e,all:s}},[t,i]),y=p.suggested.length?[{label:"Select all suggested",value:_},{label:(0,l.jsxs)(a.vyj,{children:[(0,l.jsx)(a.QMR,{size:14}),(0,l.jsx)("span",{children:"Suggested data uses"})]}),value:"suggested",options:p.suggested},{label:(0,l.jsxs)(a.vyj,{children:[(0,l.jsx)(a.PJP.BBB,{}),(0,l.jsx)("span",{children:"All data uses"})]}),value:"all",options:p.all}]:p.all;return(0,l.jsxs)(a.jqI,{vertical:!0,gap:"small",children:[(0,l.jsx)(a.jqI,{align:"center",children:(0,l.jsx)(v.__,{htmlFor:d.id||n,fontSize:"xs",my:0,mr:1,children:"Data uses"})}),(0,l.jsx)(a.WPr,{options:y,mode:"multiple",placeholder:"Select data uses",allowClear:!0,loading:s,value:o.value,onChange:e=>{e.includes(_)?u(h()([...i,...e.filter(e=>e!==_)])):u(e)},status:m?"error":void 0,virtual:!1,...d}),(0,l.jsx)(v.Bc,{isInvalid:m,message:c.error,fieldName:o.name})]})},S=s(39449);let C=x.Ry().shape({name:x.Z_().required("Name is required").label("Name"),label_color:x.Z_().required("Color is required").label("Color"),systems:x.IX().of(x.Z_()).label("Systems"),data_uses:x.IX().of(x.Z_()).label("Data uses")});var N=e=>{let{selectedSystemKeys:t=[],onSubmit:s,onCancel:n,isSubmitting:i=!1}=e,{data:d=[],isLoading:o}=(0,f.fd)(),{data:c,isLoading:u}=(0,k.K3)(),m=(0,r.useMemo)(()=>d.map(e=>({label:e.name||e.fides_key,value:e.fides_key})),[d]),p=(0,r.useMemo)(()=>{var e;let s=null!==(e=null==c?void 0:c.filter(e=>t.includes(e.fides_key)))&&void 0!==e?e:[];return h()(null==s?void 0:s.flatMap(e=>e.privacy_declarations.map(e=>e.data_use)))},[c,t]),y=(0,r.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={name:"",description:"",label_color:S.Ej.TAXONOMY_WHITE,systems:t,data_uses:[],active:!0};return(0,l.jsx)(g.J9,{initialValues:x,validationSchema:C,onSubmit:s,enableReinitialize:!0,children:e=>{let{isValid:t,dirty:s}=e;return(0,l.jsx)(g.l0,{children:(0,l.jsxs)(a.jqI,{vertical:!0,gap:"middle",children:[(0,l.jsx)(a.AntTypography.Title,{level:2,children:"Create system group"}),(0,l.jsx)(v.j0,{name:"name",label:"Name",isRequired:!0,variant:"stacked",placeholder:"Enter system group name"}),(0,l.jsx)(v.Ks,{name:"description",label:"Description",variant:"stacked",placeholder:"Enter system group description",resize:!1}),(0,l.jsx)(j.d,{name:"systems",label:"Systems",mode:"multiple",placeholder:"Select systems",options:y,layout:"stacked",allowClear:!0,loading:u}),(0,l.jsx)(b.Z,{name:"label_color",label:"Color"}),(0,l.jsx)(E,{name:"data_uses",options:m,loading:o,suggestedDataUses:p}),(0,l.jsxs)(a.jqI,{gap:"small",justify:"space-between",className:"pt-4",children:[(0,l.jsx)(a.wpx,{onClick:n,disabled:i,children:"Cancel"}),(0,l.jsx)(a.wpx,{type:"primary",htmlType:"submit",loading:i,disabled:!t||!s||i,"data-testid":"save-btn",children:"Create group"})]})]})})}})},w=s(31793),O=s(31883),T=e=>{let{selectedRowKeys:t,createModalIsOpen:s,setCreateModalIsOpen:n,handleCreateSystemGroup:d,handleBulkAddToGroup:o,groupMenuItems:c}=e,[u,g]=a.Pg3.useMessage(),[y,h]=(0,r.useState)(!1),[x]=(0,p.WP)(),{plus:j}=(0,i.hz)(),{data:v}=(0,w.wv)({page:1,size:100,include_external:!1}),[f]=(0,p.C9)(),k=(0,r.useCallback)(async e=>{let s=await x({data_steward:e,system_keys:t});(0,O.D4)(s)?u.error((0,m.e$)(s.error,"A problem occurred assigning stewards")):u.success("".concat(t.length," systems assigned to ").concat(e," successfully"))},[x,t,u]),b=async()=>{let e=await f(t);(0,O.D4)(e)?u.error((0,m.e$)(e.error,"A problem occurred deleting systems")):u.success("".concat(t.length," systems deleted successfully"))},_=(0,r.useMemo)(()=>{let e=[];return c.length&&j&&e.push(t.length?{key:"add-to-system-group",label:"Add to system group",children:[{key:"new-group",label:"Create new group +",onClick:()=>n(!0)},{type:"divider"},...c.map(e=>({key:e.key,label:e.label,onClick:()=>o(e.key)}))]}:{key:"new-group",label:"Create system group +",onClick:()=>n(!0)}),(null==v?void 0:v.items.length)&&e.push({key:"assign-data-steward",label:"Assign data steward",disabled:!t.length,children:v.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},[c,j,null==v?void 0:v.items,t.length,n,o,k]);return(0,l.jsxs)(l.Fragment,{children:[g,(0,l.jsx)(a.$zI,{open:y,onCancel:()=>h(!1),onOk:b,okText:"Delete",okType:"danger",centered:!0,children:(0,l.jsxs)(a.AntTypography.Paragraph,{children:["Delete ",t.length," systems? This action cannot be undone."]})}),(0,l.jsx)(a.$zI,{open:s,destroyOnHidden:!0,onCancel:()=>n(!1),centered:!0,width:768,footer:null,children:(0,l.jsx)(N,{selectedSystemKeys:t.map(e=>e.toString()),onSubmit:d,onCancel:()=>n(!1)})}),(0,l.jsx)(a.S0p,{trigger:["click"],menu:{items:_},children:(0,l.jsx)(a.wpx,{icon:(0,l.jsx)(a.PJP._ME,{}),children:"Actions"})})]})},A=s(19904),I=s(26070),M=s(3110),P=s(99640),D=s(8125),R=s(16394),z=s(33335),X=s(69353),Y=s(88832),q=s(34929),W=e=>{let{privacyDeclarations:t,...s}=e,{getDataUseDisplayName:a}=(0,q.Z)(),n=t.map(e=>e.data_use).map(e=>({label:a(e),key:e}));return(0,l.jsx)(I.Q,{values:n,...s})},Z=s(56141),B=s.n(Z),L=s(22583);let F="update-system-groups-msg";var G=e=>{let{selectedGroups:t,allGroups:s,system:n,columnState:i,...d}=e,[o,c]=(0,r.useState)(!1),[u,p]=(0,r.useState)(t.map(e=>e.fides_key)),[g,y]=a.Pg3.useMessage(),[h]=(0,k.qQ)(),x=async()=>{if(c(!1),B()(u,t.map(e=>e.fides_key)))return;g.open({key:F,type:"loading",content:"Updating groups for ".concat(n.name,"...")});let e=await h({...n,system_groups:u});(0,O.D4)(e)?g.open({key:F,type:"error",content:(0,m.e$)(e.error,"Failed to update system groups")}):g.open({key:F,type:"success",content:"Groups updated for ".concat(n.name)}),setTimeout(()=>{g.destroy(F)},3e3)};return(0,l.jsxs)(a.jqI,{gap:"small",...d,children:[y,!o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.j8w,{onClick:()=>c(!0),addable:!0,"data-testid":"group-add-btn","aria-label":"Add group"}),(0,l.jsx)(I.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:i})]}),o&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.WPr,{options:s.map(e=>({label:e.name,value:e.fides_key})),mode:"tags",defaultValue:t.map(e=>e.fides_key),defaultOpen:!0,onChange:e=>{p(e)},onOpenChange:e=>{e||x()},onBlur:()=>c(!1),"aria-label":"Select groups"}),(0,l.jsx)(a.wpx,{"aria-label":"Update groups",icon:(0,l.jsx)(a.PJP.MCw,{}),onClick:x})]})]})},U=()=>{let{data:e}=(0,X.QD)(),t=(0,r.useMemo)(()=>e?e.reduce((e,t)=>({...e,[t.fides_key]:t}),{}):{},[e]),{data:s}=(0,w.wv)({page:1,size:100,include_external:!1}),[d]=(0,p.DW)(),[o]=(0,X.Xz)(),[c]=(0,X.Nr)(),[u,g]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!1),[j,v]=(0,r.useState)(!1),[f,k]=(0,r.useState)(!1),[b,_]=(0,r.useState)(null),E=(0,D.o)({pagination:{defaultPageSize:25,pageSizeOptions:[25,50,100]},search:{defaultSearchQuery:""},sorting:{defaultSortKey:Y.E.NAME,defaultSortOrder:"ascend",validColumns:[Y.E.NAME]}}),{columnFilters:C,pageIndex:N,pageSize:T,searchQuery:q,updateSearch:Z,sortKey:B,sortOrder:L}=E,{data:F,isLoading:U,isFetching:$}=(0,p.xF)({page:N,size:T,search:q,sort_by:B,sort_asc:"ascend"===L,show_deleted:!0,...C}),Q=(0,r.useMemo)(()=>{var e,t;return{enableSelection:!0,dataSource:null!==(e=null==F?void 0:F.items)&&void 0!==e?e:[],totalRows:null!==(t=null==F?void 0:F.total)&&void 0!==t?t:0,isLoading:U,isFetching:$,getRowKey:e=>e.fides_key,customTableProps:{locale:{emptyText:(0,l.jsx)("div",{children:"No systems found"})}}}},[F,U,$]),{tableProps:J,selectionProps:H}=(0,D.V)(E,Q),{selectedRowKeys:K}=null!=H?H:{},[V,ee]=a.Pg3.useMessage(),{plus:et}=(0,i.hz)(),es=(0,n.useRouter)(),el=(0,A.Tg)([S.Sh.SYSTEM_DELETE]),ea=async e=>{let t=await d(e.fides_key);(0,O.D4)(t)?V.error((0,m.e$)(t.error,"Failed to delete system")):V.success("Successfully deleted system"),k(!1)},en=async e=>{let t={...e,fides_key:(0,z.E)(e.name),active:!0},s=await c(t);if((0,O.D4)(s))V.error((0,m.e$)(s.error));else{var l,a;let e="System group '".concat(s.data.name,"' created");(null===(l=s.data.systems)||void 0===l?void 0:l.length)===1?e+=" with system '".concat(s.data.systems[0],"'"):(null===(a=s.data.systems)||void 0===a?void 0:a.length)&&(e+=" with ".concat(s.data.systems.length," systems")),V.success(e)}v(!1)},er=(0,r.useCallback)(async e=>{var s;if(!K)return;let l=t[e],a=await o({...l,systems:h()([...null!==(s=l.systems)&&void 0!==s?s:[],...K.map(e=>e.toString())])});(0,O.D4)(a)?V.error((0,m.e$)(a.error)):V.success("".concat(null==K?void 0:K.length," systems added to group '").concat(e,"'"))},[t,o,K,V]),ei=(0,r.useMemo)(()=>{var t;return null!==(t=null==e?void 0:e.map(e=>({key:e.fides_key,label:e.name,onClick:()=>er(e.fides_key)})))&&void 0!==t?t:[]},[e,er]);return{tableProps:J,selectionProps:H,columns:(0,r.useMemo)(()=>{var n;return[{title:"Name",dataIndex:"name",key:Y.E.NAME,render:(e,t)=>(0,l.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",sorter:!0,sortOrder:B===Y.E.NAME?L:null},{dataIndex:"system_groups",key:Y.E.SYSTEM_GROUPS,render:(s,a)=>{var n;return(0,l.jsx)(G,{selectedGroups:null!==(n=null==s?void 0:s.map(e=>null==t?void 0:t[e]).filter(e=>!!e))&&void 0!==n?n:[],allGroups:e,system:{...a,system_groups:null!=s?s:[]},columnState:{isWrapped:!0,isExpanded:u},className:"w-[432px]"})},title:"Groups",hidden:!et,menu:{items:M.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?g(!0):"collapse-all"===e.key&&g(!1)}},filters:(0,R.nZ)(null==e?void 0:e.map(e=>e.fides_key),e=>{var s,l;return null!==(l=null===(s=t[e])||void 0===s?void 0:s.name)&&void 0!==l?l:e}),filteredValue:(null==C?void 0:C.system_groups)||null},{title:"Data uses",menu:{items:M.DI,onClick:e=>{e.domEvent.stopPropagation(),"expand-all"===e.key?x(!0):"collapse-all"===e.key&&x(!1)}},dataIndex:"privacy_declarations",key:Y.E.DATA_USES,render:e=>(0,l.jsx)(W,{privacyDeclarations:e,columnState:{isWrapped:!0,isExpanded:y}})},{title:"Data stewards",dataIndex:"data_stewards",key:Y.E.DATA_STEWARDS,render:e=>(0,l.jsx)(I.v,{values:null!=e?e:[],valueSuffix:"users"}),filters:(0,R.nZ)(null==s?void 0:null===(n=s.items)||void 0===n?void 0:n.map(e=>e.username)),filteredValue:(null==C?void 0:C.data_stewards)||null},{title:"Description",dataIndex:"description",key:Y.E.DESCRIPTION,render:e=>(0,l.jsx)("div",{className:"max-w-96",children:(0,l.jsx)(a.AntTypography.Text,{ellipsis:{tooltip:e},children:e})}),ellipsis:!0},{title:"Actions",key:Y.E.ACTIONS,render:(e,t)=>(0,l.jsxs)(a.jqI,{gap:"small",children:[(0,l.jsx)(a.wpx,{size:"small",onClick:()=>es.push("/systems/configure/".concat(t.fides_key)),icon:(0,l.jsx)(a.PJP.I8b,{}),"data-testid":"edit-btn",children:"Edit"}),el&&(0,l.jsx)(a.wpx,{size:"small",onClick:()=>{_(t),k(!0)},icon:(0,l.jsx)(a.PJP.ZNm,{}),"data-testid":"delete-btn",children:"Delete"})]}),fixed:"right"}]},[B,L,et,e,null==C?void 0:C.system_groups,null==C?void 0:C.data_stewards,null==s?void 0:s.items,u,t,y,el,es]),searchQuery:q,updateSearch:Z,columnFilters:C,pageIndex:N,pageSize:T,createModalIsOpen:j,setCreateModalIsOpen:v,deleteModalIsOpen:f,setDeleteModalIsOpen:k,setSelectedSystemForDelete:_,handleCreateSystemGroup:en,handleDelete:ea,handleBulkAddToGroup:er,messageContext:ee,groupMenuItems:ei,selectedSystemForDelete:b}},$=()=>{var e,t;let{tableProps:s,selectionProps:n,columns:r,searchQuery:i,updateSearch:d,createModalIsOpen:o,setCreateModalIsOpen:c,deleteModalIsOpen:m,setDeleteModalIsOpen:p,handleDelete:g,handleCreateSystemGroup:y,handleBulkAddToGroup:h,messageContext:x,groupMenuItems:j,selectedSystemForDelete:v}=U();return(0,l.jsxs)(l.Fragment,{children:[x,(0,l.jsxs)(a.jqI,{justify:"space-between",className:"mb-4",children:[(0,l.jsx)(u.f,{value:i,onChange:d,"data-testid":"system-search"}),(0,l.jsxs)(a.jqI,{gap:"small",children:[(0,l.jsx)(T,{selectedRowKeys:null!==(e=null==n?void 0:n.selectedRowKeys)&&void 0!==e?e:[],createModalIsOpen:o,setCreateModalIsOpen:c,handleCreateSystemGroup:y,handleBulkAddToGroup:h,groupMenuItems:j}),(0,l.jsx)(a.$zI,{open:m,onCancel:()=>p(!1),onOk:()=>!!v&&g(v),okText:"Delete",okType:"danger",cancelText:"Cancel",centered:!0,children:(0,l.jsxs)(a.AntTypography.Paragraph,{children:["Are you sure you want to delete"," ",null!==(t=null==v?void 0:v.name)&&void 0!==t?t:null==v?void 0:v.fides_key,"? This action cannot be undone."]})})]})]}),(0,l.jsx)(a.V5H,{...s,columns:r,rowSelection:n})]})},Q=()=>{let e=(0,n.useRouter)(),{dictionaryService:t}=(0,i.hz)();return(0,l.jsx)(d.Z,{title:"System inventory",children:(0,l.jsxs)(a.xuv,{"data-testid":"system-management",children:[(0,l.jsxs)(c.Z,{heading:"System inventory",breadcrumbItems:[{title:"All systems"}],children:[t&&(0,l.jsx)(a.S0p,{trigger:["click"],menu:{items:[{label:"Create new system",key:"add-system",onClick:()=>e.push(o.N5)},{label:"Add multiple systems",key:"add-multiple-systems",onClick:()=>e.push(o.bJ)}]},children:(0,l.jsx)(a.wpx,{type:"primary","data-testid":"add-system-btn",icon:(0,l.jsx)(a.PJP._ME,{}),className:"absolute right-8 top-8",children:"Add system"})}),!t&&(0,l.jsx)(a.wpx,{type:"primary","data-testid":"add-system-btn",onClick:()=>e.push(o.N5),children:"Add new system"})]}),(0,l.jsx)($,{})]})})}},31883:function(e,t,s){"use strict";s.d(t,{Bw:function(){return l.Bw},D4:function(){return l.D4}});var l=s(19043)}},function(e){e.O(0,[431,8765,9278,5163,1896,7245,9965,2888,9774,179],function(){return e(e.s=90988)}),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.TaxonomySelect_option__vY6v2 strong{font-weight:400}.TaxonomySelect_option__vY6v2 em{visibility:hidden}.TaxonomySelect_option__vY6v2:hover strong{font-weight:600}.TaxonomySelect_option__vY6v2:hover em{visibility:visible}.ToastLink_toastLink__OLSeq{text-decoration:underline;font-size:var(--fidesui-font-size-md);padding-left:0;padding-right:0;color:var(--fidesui-minos)}.ToastLink_toastLink__OLSeq:focus-visible,.ToastLink_toastLink__OLSeq:hover{color:var(--fidesui-neutral-500)}.Cells_cellBleed__dik43{margin:calc(-1*var(--ant-table-cell-padding-block-sm)) calc(-1*var(--ant-table-cell-padding-inline-sm));width:calc(100% + var(--ant-table-cell-padding-inline-sm)*2)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ToastLink_toastLink__OLSeq{text-decoration:underline;font-size:var(--fidesui-font-size-md);padding-left:0;padding-right:0;color:var(--fidesui-minos)}.ToastLink_toastLink__OLSeq:focus-visible,.ToastLink_toastLink__OLSeq:hover{color:var(--fidesui-neutral-500)}.TaxonomySelect_option__vY6v2 strong{font-weight:400}.TaxonomySelect_option__vY6v2 em{visibility:hidden}.TaxonomySelect_option__vY6v2:hover strong{font-weight:600}.TaxonomySelect_option__vY6v2:hover em{visibility:visible}
|
|
@@ -1 +0,0 @@
|
|
|
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}.right-8{right:2rem}.top-0{top:0}.top-2{top:.5rem}.top-3{top:.75rem}.top-8{top:2rem}.z-\[1\]{z-index:1}.z-\[2\]{z-index:2}.m-0{margin:0}.m-1{margin:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.\!mb-0{margin-bottom:0!important}.\!mt-0{margin-top:0!important}.-mt-4{margin-top:-1rem}.-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-1{margin-top:.25rem}.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-\[calc\(100\%-48px\)\]{height:calc(100% - 48px)}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.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-\[432px\]{width:432px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0}.min-w-\[220px\]{min-width:220px}.min-w-\[300px\]{min-width:300px}.min-w-\[350px\]{min-width:350px}.\!max-w-\[200px\]{max-width:200px!important}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.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-\[360px\]{max-width:360px}.max-w-\[70\%\]{max-width:70%}.max-w-full{max-width:100%}.max-w-screen-md{max-width:768px}.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-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.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-\[var\(--ant-border-radius\)\]{border-radius:var(--ant-border-radius)}.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-\[var\(--ant-color-bg-base\)\]{background-color:var(--ant-color-bg-base)}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.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-\[var\(--ant-padding\)\]{padding:var(--ant-padding)}.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-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.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}.pr-\[var\(--ant-padding-xl\)\]{padding-right:var(--ant-padding-xl)}.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}.ordinal{--tw-ordinal:ordinal}.ordinal,.tabular-nums{font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing:tabular-nums}.text-\[var\(--ant-font-size-sm\)\]{color:var(--ant-font-size-sm)}.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)}.shadow,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.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)}.ant-select-dropdown .ant-select-item-group{font-weight:600;font-size:var(--ant-select-option-font-size);color:var(--ant-color-text);border-radius:0}.ant-select-dropdown .ant-select-item-group:not(:first-child){border-top:1px solid var(--ant-color-border)}.ant-progress-steps-item{border-radius:calc(var(--ant-progress-line-border-radius)/40)}.ant-tree .ant-tree-node-content-wrapper{white-space:nowrap}.ant-list .ant-list-item .ant-list-item-action li{padding-left:0}.ant-list-item-action-split{display:none}.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}.CustomTypography_primaryColorLink__t9FZ3{color:var(--fides-color-primary)!important}.CustomTypography_primaryColorLink__t9FZ3 strong{color:inherit!important;text-decoration:inherit!important}.CustomTypography_primaryColorLink__t9FZ3:hover{color:var(--fidesui-neutral-800)!important;text-decoration:underline!important}.CustomTypography_unStyled__SED1R{color:inherit!important;text-decoration:inherit!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 +0,0 @@
|
|
|
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/de09ed8a0adf1ca2.css" as="style"/><link rel="stylesheet" href="/_next/static/css/de09ed8a0adf1ca2.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d2d4e9a6923e6730.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d2d4e9a6923e6730.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-8eac1ea5c825c8b4.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-242e2cad101aa2c1.js" defer=""></script><script src="/_next/static/chunks/431-e01ee730c8ad9ece.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/7245-53a20677c49b41c8.js" defer=""></script><script src="/_next/static/chunks/pages/data-discovery/action-center/%5BmonitorId%5D/data-explorer-dd93cffd6744837d.js" defer=""></script><script src="/_next/static/T_JfnWNP6OokO0497AzzJ/_buildManifest.js" defer=""></script><script src="/_next/static/T_JfnWNP6OokO0497AzzJ/_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":"/data-discovery/action-center/[monitorId]/data-explorer","query":{},"buildId":"T_JfnWNP6OokO0497AzzJ","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/fides/ui-build/static/admin/_next/static/chunks/{401-c2f1e4ea077f1f26.js → 401-63df8127ab5e8b1a.js}
RENAMED
|
File without changes
|
|
File without changes
|
/fides/ui-build/static/admin/_next/static/chunks/{549-3e3b8d01bc984f96.js → 549-cb23e43b4fe4750e.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/fides/ui-build/static/admin/_next/static/chunks/{796-6fe49d134f660156.js → 796-d30fca0fe341916b.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|