ethyca-fides 2.62.1b2__py2.py3-none-any.whl → 2.62.1rc0__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.
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/METADATA +1 -2
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/RECORD +221 -223
- fides/_version.py +3 -3
- fides/api/api/v1/endpoints/privacy_request_endpoints.py +2 -2
- fides/api/main.py +1 -0
- fides/api/models/attachment.py +10 -117
- fides/api/models/detection_discovery.py +1 -66
- fides/api/models/privacy_request/privacy_request.py +1 -40
- fides/api/service/connectors/query_configs/saas_query_config.py +8 -3
- fides/api/service/connectors/saas_connector.py +4 -7
- fides/api/service/privacy_request/dsr_package/dsr_report_builder.py +2 -4
- fides/api/service/storage/s3.py +15 -40
- fides/api/tasks/storage.py +2 -2
- fides/api/util/storage_util.py +8 -14
- fides/config/config_proxy.py +1 -0
- fides/config/execution_settings.py +4 -0
- fides/service/error_handling/__init__.py +0 -0
- fides/service/error_handling/error_handler.py +202 -0
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/K1_4-1GhwfL7h4fYYQBvB/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1327-92a38135ee8d55ec.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1817-721fdeb29c07c6be.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1904-7e5354990377a849.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{2310-6a5fb2f76f7b6491.js → 2310-0d63c66c2685e83c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3119-e441b14cdab4320e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3426-e49cb4766324b2dd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3513-293b1e54699cf3e7.js → 3513-87b54d931698986f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/355-e4340980d72b4faa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3872-99da5bb6140ff810.js → 3872-6b828cb00fb2ce93.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/4060-9593a3f98e600487.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4121-5c3af879cdd8b3be.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4481-8398edf74aabb8ea.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4723-4c3c7a375e998c15.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5258-e000d07844eccf7e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5487-218e4847b8250fbb.js → 5487-62955c11bab63734.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5626-1b636798faad78e1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5683-44966a05fa5ad566.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5826-ce34f25ac2eeb807.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5973-56d90405c3616068.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6277-c35c8cc806f7571f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6853-0cee00c9da26a40e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6954-04030a21a0c8cf5a.js → 6954-d02d474ba30756b2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/79-e5884e6878fc1bbb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7980-e17dda2f50ec76b8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9494-d1fd4fb83c3d4836.js → 9494-0df032fe6ee531a5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9767-74320abc2e9a4550.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-94950df9c97cd079.js → _app-371b155655c83a1e.js} +69 -69
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-1292fd216f2839c7.js → manual-7d789458fb296270.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-2ffc37614e9d1fa9.js → multiple-90320455052466cd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-a69f8946466471aa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-c8033d6560635046.js → add-vendors-bcc515a765c0119d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-49b9f1b56262dfdc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-fd71fb440dbe60e4.js → privacy-experience-5ef03041a530b0e2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-12f3ba4609bc2ba5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-5960170d492acb03.js → properties-ffa15d7ff64a9f05.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-b959d61c2a3682b3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-18e3faf7963962e4.js → [resourceUrn]-7ddf45ffd49533b0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-a10a0f3e6592f350.js → [projectUrn]-ecf23116a845188a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-6971531bb09dff3a.js → projects-79f8e613827c55c1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-7320524a47104798.js → [resourceUrn]-ed213bc1b7041aa2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-51d99174c8006eb5.js → resources-1f033ca5a0702018.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-4dbc71d8be9765f3.js → data-catalog-e950d41b75f86c85.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-84ead584a88ab662.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-90f1975f559fff3e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-4b820a3173f35504.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-db3853a09933097a.js → activity-beedbc38ee2b0094.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-4c526db0c30c488a.js → [resourceUrn]-f38b3ef885a29ea6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-6f27dbb7c8edc69d.js → detection-29fd0d5a73f13a00.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-562d2b8ae90dd1f0.js → [resourceUrn]-9a80241f1028c470.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-fe7f51502eda57c9.js → discovery-c58333981b1522c9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-3aaa99709d83a1f6.js → datamap-2d6f95b2769a0936.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-c08363922838022a.js → [...subfieldNames]-3536ae978741b659.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-f12df2140e309dfb.js → [collectionName]-8b5afe14cf42a4ac.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-3f564c8d6cfb03d4.js → [datasetId]-b8dca4298b5bb085.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-1e26702b1a7e0e12.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-1f0c4e2e5d0b5bf6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-b078218865a8fd28.js → [id]-ebf54ea9874c59ae.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-c39e8e2269883796.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-9db81467fa254996.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-2e6ba5382358fcf8.js → index-868b60407eae35da.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-ebc41649161f7fb9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-b89b9f68ccc69c1b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-71166bf207804754.js → messaging-5f41afae411cd8a4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-928430cd40c35ef2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-07ef58b04404479d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-595ed9f6ca438020.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-b3384299166bcd1e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-4a5e8ec41574c6b5.js → properties-f00530710b699afd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-6a6016708efb5f4f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-ba15c12c89ee10f8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-0f2daeec241bd1a2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-0401208a3128fa4d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-92e8246170b492b5.js → domain-records-0daa256958675a23.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-4fbab6716326060d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-b235f961f9ca39a6.js → organization-9404a6b0b2951992.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-99cd1a12ae0373b0.js → test-datasets-48be14ad09ed4133.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-01006a55ac873135.js → [id]-b03403fed4dd8805.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-45990d85a4c5739b.js → systems-ae591953b24e2fc9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-913efe5371344de6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-dc11ba29dbd4708b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-c0b2113b44f46112.js +1 -0
- fides/ui-build/static/admin/_next/static/css/b89fc4b36b501cf6.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{1b227ba7eabbfe2f.css → c0c2eb63ad3e7390.css} +1 -1
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/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/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.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.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/api/alembic/migrations/versions/2263583b0e44_add_shared_monitor_config.py +0 -82
- fides/ui-build/static/admin/_next/static/chunks/1327-da0303f70d12fb20.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1817-d2543e460cec0dcb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1904-25e5d4f1b8146fb3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3119-b5e40d8d24af1e79.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3426-77fccf2c9a5e10cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3923-c6dcaeaa3267f254.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/401-a882199f6c94a4dc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4060-c657e58514e91e91.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4121-ec1d8faa3cf5783c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4481-9357e3930d35073b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5258-49e73e5998c01254.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5683-3d5c4194b1b1493e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5973-d776c0029db45971.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-db781b6c1dde3c84.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-348fe2ba132b400c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7553-0f3e9e7eaf1a8b62.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/79-d877d3bde220da44.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/796-7424eb6391142ccd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7980-041df432c4d3a68b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9767-f8ea7d0127f81294.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-92f4a28823a5e623.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-0234733a90ed5127.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-2ba21b95aa3bb15e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-5a63fc903408412e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-80bd51f8217edae4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-67ddc090cf949af4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-07ff657ee49e5742.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-dbc8c95c22b9f2aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-157b00d23b651d12.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-9d29dd6cf109891d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-b01f89d250ff52af.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-9fc15228581786e6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-43abc599f0768331.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-d69c9f1007e76046.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-fec150afcfeb3fb5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-2862630f0e9e484b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-35e58b5ed6b12b2b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-bb02092af39446da.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-6baa485385ce0678.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-707551df97d5eebd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e4df123bef1ff2b1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-2fd6b0ff9b6741fc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-3a829c53d5d723d2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-4194ce716b81480d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-ec739e169cd5eafe.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-603c2bdbd8dc00ca.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-592e497369673e1a.js +0 -1
- fides/ui-build/static/admin/_next/static/css/5ded47c57dae5baf.css +0 -1
- fides/ui-build/static/admin/_next/static/ulYEH5vwbFjKDz3nI321R/_buildManifest.js +0 -1
- fides/ui-build/static/admin/poc/table-migration.html +0 -1
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.62.1b2.dist-info → ethyca_fides-2.62.1rc0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{ulYEH5vwbFjKDz3nI321R → K1_4-1GhwfL7h4fYYQBvB}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1099-b652e6f9a0cd778b.js → 1099-98458e8e9ff67508.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1100-e19e94b0a6486255.js → 1100-4106d99f5e1ebd75.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{2921-771dc5d9e95dc6b4.js → 2921-ca04a0476e2e56c5.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3505-313087fc1744a0ca.js → 3505-e58b93f9c1cbdcad.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{69-ef4c11c574b4e6dd.js → 69-dc52e39d26a4ad14.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{8433-755359b501d32eaa.js → 8433-a77c2cd1c1a6887e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{8499-06ab15acbfec037c.js → 8499-34a34015c91fc38b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9327-b691be8352e31b58.js → 9327-a25347d72bfbe680.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{404-e868487119cd14fc.js → 404-c00773c4c6e930af.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-94391554a7607c5b.js → [id]-d4137bb7fdc1ac6e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-596dd2a35b455f21.js → [id]-a5a95ac63b1ce206.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-fa7f0d2639e12a5a.js → new-946ce1a2aa1500d4.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-dd2a0e3b536b8b42.js → consent-7797e367dd946a18.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-111b07344f1ee9e4.js → [id]-22812f08e81bd4f3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-c41f368fb6b35de4.js → add-template-ca22869201847ccc.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{ant-components-3dabaf6828acb2cb.js → ant-components-173bd3ad45ea61c6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{AntForm-784081c774042249.js → AntForm-4dfe984ad80927cd.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikAntFormItem-63905f2382f158cd.js → FormikAntFormItem-f790e1ea5cbc26c0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikControlled-43f6eab28eae7b56.js → FormikControlled-af9e682ec620e990.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikField-e4a07abc908fc9b5.js → FormikField-6ce407101daa6000.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{forms-71a3bfb94280fc49.js → forms-9ee8cf14a93eaa4a.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-42213855a0a8c209.js → configure-25a3add8e7982e43.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-d547a1da0b74f00f.js → [id]-081f13526443e0a6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-a7de6f8409a76358.js → add-property-17fb474e458b63e7.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-704fc28e61b17247.js → about-177919b4ccf8f660.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-f0e9ee8756a65540.js → domains-26810d1ffedcd156.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-a4771098466af1ed.js → email-templates-eb78b645d0c1d4ea.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-8cff97fe57f42ed3.js → regulations-0a3aa951ef4a44ba.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-b124cc24b930c9e1.js → new-69176abe09cf9b52.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{webpack-3a61b934ba2fb620.js → webpack-abd3efcb23c0bb03.js} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[210],{53748:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/consent",function(){return i(96236)}])},59301:function(e,t,i){"use strict";var n=i(24246);let{Link:r}=i(91942).AntTypography;t.Z=e=>(0,n.jsx)(r,{target:"_blank",rel:"noopener noreferrer",...e})},56358:function(e,t,i){"use strict";i.d(t,{q:function(){return r}});var n=i(24246);let r=(0,i(91942).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,n.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},77213:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var n=i(24246),r=i(91942),s=i(88038),l=i.n(s),o=i(86677);i(27378);var a=i(25980),d=i(90867),c=i(77830),u=()=>{let e=(0,o.useRouter)();return(0,n.jsx)(r.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)(r.xuv,{children:[(0,n.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(r.wpx,{onClick:()=>{e.push(c.fz)},children:"Configure"})]}),(0,n.jsxs)(r.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:s=!0,mainProps:c}=e,p=(0,a.hz)(),h=(0,o.useRouter)(),g="/privacy-requests"===h.pathname||"/datastore-connection"===h.pathname,x=!(p.flags.privacyRequestsConfiguration&&g),{data:f}=(0,d.JE)(void 0,{skip:x}),{data:b}=(0,d.PW)(void 0,{skip:x}),v=p.flags.privacyRequestsConfiguration&&(!f||!b)&&g;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,n.jsxs)(l(),{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)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[v?(0,n.jsx)(u,{}):null,t]})]})}},58754:function(e,t,i){"use strict";var n=i(24246),r=i(91942),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:o,rightContent:a,style:d,...c}=e;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...d}:{paddingBottom:"24px",...d},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,a&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:a})]}),!!i&&(0,n.jsx)(s.m,{className:o?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),o]})}},19904:function(e,t,i){"use strict";i.d(t,{Tg:function(){return l}});var n=i(24246),r=i(16134),s=i(31793);let l=e=>(0,r.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return l(t)?(0,n.jsx)(n.Fragment,{children:i}):null}},812:function(e,t,i){"use strict";i.d(t,{D4:function(){return s.D4},MM:function(){return p},Ot:function(){return d},c6:function(){return r},cj:function(){return g},e$:function(){return o},fn:function(){return a},iC:function(){return h},nU:function(){return u},tB:function(){return c}});var n,r,s=i(19043);let l="An unexpected error occurred. Please try again.",o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if((0,s.Bw)(e)){if((0,s.hE)(e.data))return e.data.detail;if((0,s.cz)(e.data)){var i;let t=null===(i=e.data.detail)||void 0===i?void 0:i[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,s.Dy)(e.data)||404===e.status&&(0,s.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function a(e){return"object"==typeof e&&null!=e&&"status"in e}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:l};if((0,s.oK)(e))return{status:e.originalStatus,message:e.data};if((0,s.Bw)(e)){let{status:i}=e;return{status:i,message:o(e,t.message)}}return t},p=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(n=r||(r={})).GVL="gvl",n.AC="gacp",n.COMPASS="compass";let h={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},g=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},71795:function(e,t,i){"use strict";i.d(t,{_:function(){return r}});var n=i(27378);function r(e,t){let[i,r]=(0,n.useState)(()=>{if(!e)return t;try{let i=window.localStorage.getItem(e);return i?JSON.parse(i):t}catch(e){return console.error(e),t}});return[i,t=>{try{let n=t instanceof Function?t(i):t;r(n),e&&window.localStorage.setItem(e,JSON.stringify(n))}catch(e){console.error(e)}}]}},8133:function(e,t,i){"use strict";var n=i(24246),r=i(91942);t.Z=e=>{let{title:t,children:i,isOpen:s,onClose:l,...o}=e;return(0,n.jsxs)(r.u_l,{isOpen:s,onClose:l,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...o,children:[(0,n.jsx)(r.ZAr,{}),(0,n.jsxs)(r.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",children:[(0,n.jsx)(r.xBx,{p:0,children:(0,n.jsx)(r.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,n.jsx)(r.X6q,{as:"h3",size:"sm",children:t})})}),(0,n.jsx)(r.fef,{pb:4,overflow:"auto",children:i})]})]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var n=i(24246),r=i(91942),s=i(79894),l=i.n(s),o=i(27378);let{Text:a}=r.AntTypography,d=e=>{let{items:t,...i}=e,s=(0,o.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,o={...e},d=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(a,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:o.title})),d)?o.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,n.jsx)(l(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(r.zrq,{items:s,...i})}},6675:function(e,t,i){"use strict";i.d(t,{ZS:function(){return o},a4:function(){return s}});var n=i(3228);let r=i(78780).u.injectEndpoints({endpoints:e=>({getPurposes:e.query({query:()=>"purposes"})})}),{useGetPurposesQuery:s}=r,l={purposes:{},special_purposes:{}},o=(0,n.P1)(r.endpoints.getPurposes.select(),e=>{let{data:t}=e;return t||l})},51263:function(e,t,i){"use strict";var n=i(24246),r=i(91942);t.Z=e=>{let{title:t,children:i,...s}=e;return(0,n.jsxs)(r.xuv,{backgroundColor:"var(--fidesui-bg-corinth)",borderRadius:"4px",padding:"3","data-testid":"setting-".concat(t),...s,children:[(0,n.jsx)(r.xvT,{as:"h3",fontSize:"md",fontWeight:"bold",lineHeight:5,color:"gray.700",mb:3,children:t}),i]})}},59512:function(e,t,i){"use strict";i.d(t,{Cu:function(){return o},Py:function(){return r},fj:function(){return l},uh:function(){return s}});var n=i(61317);let r=[1,3,4,5,6],s="https://ethyca.com/docs/tutorials/consent-management/consent-management-configuration/configure-tcf#vendor-overrides",l={[n.FF.PURPOSE_RESTRICTION]:"Purpose restriction",[n.FF.REQUIRE_CONSENT]:"Require consent",[n.FF.REQUIRE_LEGITIMATE_INTEREST]:"Require legitimate interest"},o={[n.PY.RESTRICT_ALL_VENDORS]:"Restrict all vendors",[n.PY.RESTRICT_SPECIFIC_VENDORS]:"Restrict specific vendors",[n.PY.ALLOW_SPECIFIC_VENDORS]:"Allow specific vendors"}},60325:function(e,t,i){"use strict";i.d(t,{DD:function(){return o},Go:function(){return a},TK:function(){return r},Uv:function(){return c},k1:function(){return s},y3:function(){return u}});var n=i(61317);let r=e=>{var t;return null!==(t=null==e?void 0:e.filter(e=>e.selected).map(e=>e.id))&&void 0!==t?t:[]},s=e=>{var t;return null!==(t=null==e?void 0:e.filter(e=>e.selected))&&void 0!==t?t:[]},l=[{language:n.eU.EN,is_default:!0,title:"Title",description:"Description",accept_button_label:"Accept",reject_button_label:"Reject",save_button_label:"Save",acknowledge_button_label:"OK",privacy_preferences_link_label:"Privacy Preferences"}],o={name:"",disabled:!1,dismissable:!0,allow_language_selection:!1,show_layer1_notices:!1,layer1_button_options:n.Of.OPT_IN_OPT_OUT,regions:[],translations:l,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0},a=(e,t)=>{let i=t.find(t=>t.id===e.language);return i?i.name:e.language},d=e=>{var t,i,n,r,s,l,o,a,d;let{language:c,is_default:u,accept_button_label:p,reject_button_label:h}=e;return{language:c,is_default:u,accept_button_label:p,reject_button_label:h,title:e.title,description:e.description,acknowledge_button_label:null!==(t=e.acknowledge_button_label)&&void 0!==t?t:void 0,banner_title:null!==(i=e.banner_title)&&void 0!==i?i:void 0,banner_description:null!==(n=e.banner_description)&&void 0!==n?n:void 0,purpose_header:null!==(r=e.purpose_header)&&void 0!==r?r:void 0,privacy_policy_link_label:null!==(s=e.privacy_policy_link_label)&&void 0!==s?s:void 0,privacy_policy_url:null!==(l=e.privacy_policy_url)&&void 0!==l?l:void 0,privacy_preferences_link_label:null!==(o=e.privacy_preferences_link_label)&&void 0!==o?o:void 0,save_button_label:null!==(a=e.save_button_label)&&void 0!==a?a:void 0,modal_link_label:null!==(d=e.modal_link_label)&&void 0!==d?d:void 0}},c=e=>{let{created_at:t,updated_at:i,privacy_notices:n,origin:r,id:s,...l}=e;return{...l,privacy_notice_ids:n?n.map(e=>e.id):[],translations:e.translations?e.translations.map(e=>d(e)):[]}},u=e=>e===n.re.PRIVACY_CENTER?{title:{included:!0,required:!0},description:{included:!0,required:!0},save_button_label:{included:!0,required:!0},accept_button_label:{included:!0,required:!0},reject_button_label:{included:!0,required:!0},privacy_policy_link_label:{included:!0},privacy_policy_url:{included:!0},modal_link_label:{included:!0}}:e===n.re.MODAL?{title:{included:!0,required:!0},description:{included:!0,required:!0},accept_button_label:{included:!0,required:!0},reject_button_label:{included:!0,required:!0},save_button_label:{included:!0,required:!0},acknowledge_button_label:{included:!0,required:!0},privacy_policy_link_label:{included:!0},privacy_policy_url:{included:!0},privacy_preferences_link_label:{included:!0},modal_link_label:{included:!0}}:e===n.re.BANNER_AND_MODAL?{title:{included:!0,required:!0},banner_title:{included:!0},description:{included:!0,required:!0},banner_description:{included:!0},accept_button_label:{included:!0,required:!0},reject_button_label:{included:!0,required:!0},save_button_label:{included:!0,required:!0},acknowledge_button_label:{included:!0,required:!0},privacy_policy_link_label:{included:!0},privacy_policy_url:{included:!0},privacy_preferences_link_label:{included:!0,required:!0},modal_link_label:{included:!0}}:e===n.re.TCF_OVERLAY?{title:{included:!0,required:!0},banner_title:{included:!0},description:{included:!0,required:!0},banner_description:{included:!0},purpose_header:{included:!0},accept_button_label:{included:!0,required:!0},reject_button_label:{included:!0,required:!0},save_button_label:{included:!0,required:!0},acknowledge_button_label:{included:!0,required:!0},privacy_policy_link_label:{included:!0},privacy_policy_url:{included:!0},privacy_preferences_link_label:{included:!0,required:!0},modal_link_label:{included:!0}}:{title:{included:!0,required:!0},description:{included:!0,required:!0},accept_button_label:{included:!0,required:!0},reject_button_label:{included:!0,required:!0},save_button_label:{included:!0,required:!0},acknowledge_button_label:{included:!0,required:!0},privacy_policy_link_label:{included:!0},privacy_policy_url:{included:!0},privacy_preferences_link_label:{included:!0,required:!0},modal_link_label:{included:!0}}},96236:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return Q}});var n=i(24246),r=i(91942),s=i(34090),l=i(27378),o=i(16134),a=i(25980),d=i(812),c=i(77213),u=i(58754),p=i(6675),h=i(46628),g=i(7426),x=i(40324);let f=e=>{let{children:t,purpose:i,endCol:s}=e;return(0,n.jsx)(r.kCb,{flex:"1",justifyContent:"center",alignItems:"center",borderLeft:"solid 1px",borderRight:s?"solid 1px":"unset",borderColor:"gray.200",height:"100%",minWidth:"36px",children:[1,3,4,5,6].includes(i)?null:(0,n.jsx)(r.xuv,{children:t})})};var b=()=>{let{values:e,setFieldValue:t}=(0,s.u6)(),{purposes:i}=(0,o.C)(p.ZS);return(0,n.jsx)(s.F2,{name:"purposeOverrides",render:()=>(0,n.jsxs)(r.kCb,{flexDirection:"column",minWidth:"944px",children:[(0,n.jsxs)(r.kCb,{width:"100%",border:"solid 1px",borderColor:"gray.200",backgroundColor:"gray.50",height:"36px",children:[(0,n.jsx)(r.kCb,{width:"600px",pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",children:"TCF purpose"}),(0,n.jsx)(r.kCb,{flex:"1",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",minWidth:"36px",children:(0,n.jsx)(r.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Allowed"})}),(0,n.jsx)(r.kCb,{flex:"1",alignItems:"center",borderRight:"solid 1px",borderColor:"gray.200",children:(0,n.jsx)(r.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Consent"})}),(0,n.jsx)(r.kCb,{flex:"1",alignItems:"center",children:(0,n.jsx)(r.xvT,{pl:"4",fontSize:"xs",fontWeight:"medium",lineHeight:"4",children:"Legitimate interest"})})]}),e.purposeOverrides.map((s,l)=>(0,n.jsxs)(r.kCb,{width:"100%",height:"36px",alignItems:"center",borderBottom:"solid 1px",borderColor:"gray.200",backgroundColor:"#fff",children:[(0,n.jsxs)(r.kCb,{width:"600px",borderLeft:"solid 1px",borderColor:"gray.200",p:0,alignItems:"center",height:"100%",pl:"4",fontSize:"xs",fontWeight:"normal",lineHeight:"4",children:["Purpose ",s.purpose,": ",i[s.purpose].name]}),(0,n.jsx)(r.kCb,{flex:"1",justifyContent:"center",alignItems:"center",borderLeft:"solid 1px",borderColor:"gray.200",height:"100%",children:(0,n.jsx)(r.xuv,{children:(0,n.jsx)(x.w8,{name:"purposeOverrides[".concat(l,"].is_included"),onChange:e=>{e||(t("purposeOverrides[".concat(l,"].is_consent"),!1),t("purposeOverrides[".concat(l,"].is_legitimate_interest"),!1))}})})}),(0,n.jsx)(f,{purpose:s.purpose,children:(0,n.jsx)(x.w8,{isDisabled:!e.purposeOverrides[l].is_included||e.purposeOverrides[l].is_legitimate_interest,name:"purposeOverrides[".concat(l,"].is_consent")})}),(0,n.jsx)(f,{purpose:s.purpose,endCol:!0,children:(0,n.jsx)(x.w8,{isDisabled:!e.purposeOverrides[l].is_included||e.purposeOverrides[l].is_consent,name:"purposeOverrides[".concat(l,"].is_legitimate_interest")})})]},s.purpose))]})})},v=i(59301),m=e=>{let{name:t,enabled:i}=e;return(0,n.jsxs)(r.Kqy,{spacing:2,fontSize:"sm",lineHeight:"5",fontWeight:"medium",color:"gray.700",children:[(0,n.jsxs)(r.xvT,{children:[t," status"," ",i?(0,n.jsx)(r.j8w,{color:"success",children:"Enabled"}):(0,n.jsx)(r.j8w,{color:"error",children:"Disabled"})]}),(0,n.jsxs)(r.xvT,{children:["To ",i?"disable":"enable"," ",t,", please contact your Fides administrator or"," ",(0,n.jsx)(v.Z,{href:"mailto:support@ethyca.com",children:"Ethyca support"}),"."]})]})},_=i(46238),j=e=>{var t,i;let{label:l,options:o,layout:a,defaultFirstSelected:d=!0,...c}=e,[u,p]=(0,s.U$)(c),h={...u,value:null!==(t=u.value)&&void 0!==t?t:""},g=!!(p.touched&&p.error),f=d?o[0]:void 0,b=null!==(i=o.find(e=>e.value===h.value))&&void 0!==i?i:f,v=e=>{h.onChange(c.name)(e.target.value)};return"stacked"===a?(0,n.jsxs)(r.NIc,{isInvalid:g,children:[(0,n.jsxs)(r.jqI,{className:"w-fit",children:[l?(0,n.jsx)(x.__,{children:l}):null,(0,n.jsx)(r.y02.Group,{onChange:v,value:null==b?void 0:b.value,"data-testid":"input-".concat(h.name),children:(0,n.jsx)(r.jqI,{className:"flex-col gap-3",children:o.map(e=>{let{value:t,label:i,tooltip:s}=e;return(0,n.jsx)(r.y02,{value:t,"data-testid":"option-".concat(t),children:(0,n.jsxs)(r.jqI,{className:"items-center gap-2",children:[(0,n.jsx)(r.xvT,{fontSize:"sm",fontWeight:"medium",children:i}),s?(0,n.jsx)(_.b,{label:s}):null]})},t)})})})]}),(0,n.jsx)(x.Bc,{isInvalid:g,message:p.error,fieldName:h.name})]}):(0,n.jsxs)(r.NIc,{isInvalid:g,children:[(0,n.jsxs)(r.rjZ,{templateColumns:"1fr 3fr",children:[(0,n.jsx)(x.__,{children:l}),(0,n.jsx)(r.y02.Group,{onChange:v,value:null==b?void 0:b.value,"data-testid":"input-".concat(h.name),children:(0,n.jsx)(r.jqI,{children:o.map(e=>(0,n.jsx)(r.y02,{value:e.value,"data-testid":"option-".concat(e.value),children:e.label},e.value))})})]}),(0,n.jsx)(x.Bc,{isInvalid:g,message:p.error,fieldName:h.name})]})},y=i(61317),C=i(51263);let w=e=>{let{title:t,children:i}=e;return(0,n.jsxs)(r.Kqy,{spacing:3,mb:3,"data-testid":"section-".concat(t),children:[(0,n.jsx)(r.xvT,{fontSize:"sm",fontWeight:"bold",lineHeight:5,color:"gray.700",children:t}),i]})};var T=()=>{let{tcf:e}=(0,a.hz)(),t=!!(0,o.C)(g.D2).enabled,{values:i,setFieldValue:l}=(0,s.u6)(),d=!!i.gpp.us_approach;return(0,n.jsx)(C.Z,{title:"Global Privacy Platform",children:(0,n.jsxs)(r.Kqy,{spacing:6,children:[(0,n.jsx)(m,{name:"GPP",enabled:t}),t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w,{title:"GPP U.S.",children:(0,n.jsx)(j,{name:"gpp.us_approach",layout:"stacked",defaultFirstSelected:!1,options:[{label:"Enable U.S. National",value:y.en.NATIONAL,tooltip:"When US National is selected, Fides will present the same privacy notices to all consumers located anywhere in the United States."},{label:"Enable U.S. State-by-State",value:y.en.STATE,tooltip:"When state-by-state is selected, Fides will only present consent to consumers and save their preferences if they are located in a state that is supported by the GPP. The consent options presented to consumers will vary depending on the regulations in each state."},{label:"Enable US National and State-by-State notices",value:y.en.ALL,tooltip:"When enabled, Fides can be configured to serve the National and U.S. state notices. This mode is intended to provide consent coverage to U.S. states with new privacy laws where GPP support lags behind the effective date of state laws."}]})}),d?(0,n.jsxs)(w,{title:"MSPA",children:[(0,n.jsx)(x.Xl,{name:"gpp.mspa_covered_transactions",label:"All transactions covered by MSPA",tooltip:"When selected, the Fides CMP will communicate to downstream vendors that all preferences are covered under the MSPA.",onChange:e=>{e||(l("gpp.mspa_service_provider_mode",!1),l("gpp.mspa_opt_out_option_mode",!1))}}),(0,n.jsx)(x.w8,{label:"Enable MSPA service provider mode",name:"gpp.mspa_service_provider_mode",variant:"switchFirst",tooltip:"Enable service provider mode if you do not engage in any sales or sharing of personal information.",isDisabled:!!i.gpp.mspa_opt_out_option_mode||!i.gpp.mspa_covered_transactions}),(0,n.jsx)(x.w8,{label:"Enable MSPA opt-out option mode",name:"gpp.mspa_opt_out_option_mode",variant:"switchFirst",tooltip:"Enable opt-out option mode if you engage or may engage in the sales or sharing of personal information, or process any information for the purpose of targeted advertising.",isDisabled:!!i.gpp.mspa_service_provider_mode||!i.gpp.mspa_covered_transactions})]}):null]}):null,e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.izJ,{color:"gray.200"}),(0,n.jsxs)(w,{title:"GPP Europe",children:[(0,n.jsx)(r.xvT,{fontSize:"sm",fontWeight:"medium",children:"Configure TCF string for Global Privacy Platform"}),(0,n.jsx)(x.w8,{label:"Enable TC string",name:"gpp.enable_tcfeu_string",variant:"switchFirst",tooltip:"When enabled, the GPP API will include a TCF EU consent string for users who are in regions where TCF applies."})]})]}):null]})})},S=i(64781),k=i(60325),N=()=>{var e,t;let{tcf:i}=(0,a.hz)(),{values:l,setFieldValue:o}=(0,s.u6)(),{data:d,isLoading:c}=(0,S.gT)(),u=[...(0,k.k1)(null!==(e=null==d?void 0:d.locations)&&void 0!==e?e:[]),...(0,k.k1)(null!==(t=null==d?void 0:d.location_groups)&&void 0!==t?t:[])].sort((e,t)=>e.name<t.name?-1:1);return i?(0,n.jsxs)(C.Z,{title:"Publisher settings",children:[(0,n.jsx)(r.AntTypography.Paragraph,{className:"mb-3",children:"Specify the country in which your organization operates for TCF compliance. This setting will determine the 'Publisher Country Code ' transmitted in the Transparency and Consent (TC) Data."}),(0,n.jsx)("label",{htmlFor:"publisher_country_code",className:"mb-1 block",children:(0,n.jsx)(r.AntTypography.Text,{className:"font-semibold",children:"Publisher country"})}),(0,n.jsx)(r.WPr,{"data-testid":"input-publisher_settings.publisher_country_code",id:"publisher_country_code",loading:c,allowClear:!0,options:null==u?void 0:u.map(e=>({value:e.id,label:e.name})),showSearch:!0,optionFilterProp:"label",placeholder:"Select a country",value:l.tcfPublisherSettings.publisher_country_code,onChange:e=>o("tcfPublisherSettings.publisher_country_code",e),className:"w-80"})]}):null},E=i(52955),I=i(71795),q=i(59512),P=i(55484),O=i(8133),L=i(31883);let F=P.Ry().shape({name:P.Z_().required().label("Name")}),R=e=>{let{isOpen:t,onClose:i,onSuccess:l}=e,o=(0,r.pmc)(),[a]=(0,E.LK)(),c=async e=>{let t=await a({name:e.name});(0,L.D4)(t)?o((0,h.Vo)((0,d.e$)(t.error))):(o((0,h.t5)("Successfully created TCF configuration")),null==l||l(t.data.id),i())};return(0,n.jsx)(O.Z,{title:"Create a new TCF configuration",isOpen:t,onClose:i,children:(0,n.jsx)(s.J9,{initialValues:{name:""},onSubmit:c,validationSchema:F,children:e=>{let{isValid:t,dirty:l}=e;return(0,n.jsx)(s.l0,{children:(0,n.jsxs)(r.vyj,{direction:"vertical",size:"small",className:"w-full",children:[(0,n.jsx)(r.xvT,{children:"TCF configurations allow you to define unique sets of publisher restrictions. These configurations can be added to privacy experiences."}),(0,n.jsx)(x.j0,{id:"name",name:"name",label:"Name",isRequired:!0,variant:"stacked"}),(0,n.jsxs)(r.vyj,{className:"w-full justify-end pt-6",children:[(0,n.jsx)(r.wpx,{onClick:i,children:"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary",htmlType:"submit",disabled:!t||!l,"data-testid":"save-config-button",children:"Save"})]})]})})}})})};var A=i(79894),z=i.n(A);let D=e=>{let{width:t,style:i,borderLeft:s=!1,borderRight:l=!1,...o}=e;return(0,n.jsx)(r.jqI,{align:"center",className:"h-full px-4",...o,style:{borderLeft:s?"solid 1px":"none",borderRight:l?"solid 1px":"none",borderColor:"var(--ant-color-border)",width:t,...i},role:"cell"})},W=e=>{let{width:t,style:i,borderLeft:s=!1,children:l,...o}=e;return(0,n.jsx)(r.jqI,{align:"center",role:"columnheader",className:"px-4",...o,style:{borderLeft:s?"solid 1px":"none",borderColor:"var(--ant-color-border)",fontWeight:500,whiteSpace:"nowrap",width:t,...i},children:l})},M=e=>{let{isHeader:t=!1,isLastRow:i=!1,style:s,...l}=e;return(0,n.jsx)(r.jqI,{role:t?"rowheader":"row",className:"h-9 w-full",...l,style:{backgroundColor:t?"var(--fidesui-bg-default)":void 0,borderBottom:i?"none":"solid 1px",borderColor:"var(--ant-color-border)",...s}})},Z=e=>{let{config:t,isLoading:i,style:s,...l}=e,{purposes:a}=(0,o.C)(p.ZS);return(0,n.jsxs)(r.jqI,{vertical:!0,...l,style:{maxWidth:"1200px",border:"solid 1px",borderColor:"var(--ant-color-border)",backgroundColor:"var(--ant-color-bg-base)",fontSize:"12px",...s},"aria-label":"Publisher restrictions table",role:"table","data-testid":"publisher-restrictions-table",children:[(0,n.jsxs)(M,{isHeader:!0,style:{width:"100%"},children:[(0,n.jsx)(W,{width:"600px",children:"TCF purpose"}),(0,n.jsxs)(W,{flex:1,gap:3,borderLeft:!0,children:["Restrictions",(0,n.jsx)(_.b,{label:"Restrictions control how vendors are permitted to process data for specific purposes. Fides supports three restriction types: Purpose Restriction to completely disallow data processing for a purpose, Require Consent to allow processing only with explicit user consent, and Require Legitimate Interest to allow processing based on legitimate business interest unless the user objects."})]}),(0,n.jsxs)(W,{width:"100px",gap:3,borderLeft:!0,children:["Flexible",(0,n.jsx)(_.b,{label:'Indicates whether the legal basis for this purpose can be overridden by publisher restrictions. If marked "No," the purpose has a fixed legal basis defined by the TCF and cannot be changed.'})]}),(0,n.jsx)(W,{width:"100px",borderLeft:!0,children:"Actions"})]}),Object.values(a).map((e,s)=>(0,n.jsxs)(M,{isLastRow:s===Object.values(a).length-1,children:[(0,n.jsxs)(D,{width:"600px",children:["Purpose ",e.id,": ",e.name]}),(0,n.jsx)(D,{flex:1,borderLeft:!0,"data-testid":"restriction-type-cell-".concat(e.id),children:i?(0,n.jsx)(r.OdW,{height:"16px",width:"100%"}):(()=>{var i;let s=(null==t?void 0:null===(i=t.restriction_types_per_purpose)||void 0===i?void 0:i[e.id])||[];return 0===s.length?"none":1===s.length?(0,n.jsx)(r.xvT,{size:"sm",whiteSpace:"nowrap",children:q.fj[s[0]]}):(0,n.jsxs)(r.xvT,{children:[s.length," restrictions"]})})()}),(0,n.jsx)(D,{width:"100px",borderLeft:!0,children:q.Py.includes(e.id)?(0,n.jsx)(r.j8w,{color:"error","data-testid":"flexibility-tag-".concat(e.id),children:"No"}):(0,n.jsx)(r.j8w,{color:"success","data-testid":"flexibility-tag-".concat(e.id),children:"Yes"})}),(0,n.jsx)(D,{width:"100px",borderLeft:!0,children:(0,n.jsx)(z(),{href:"/settings/consent/".concat(null==t?void 0:t.id,"/").concat(e.id),passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(r.wpx,{size:"small","data-testid":"edit-restriction-btn-".concat(e.id),children:"Edit"})})})]},e.id))]})};var V=i(56358),H=i(19904);let B=()=>(0,n.jsxs)(r.vyj,{direction:"vertical",size:"small",children:[(0,n.jsx)(r.OdW,{width:"100%",className:"h-4"}),(0,n.jsx)(r.OdW,{width:"100%",className:"h-4"}),(0,n.jsx)(r.OdW,{width:"100%",className:"h-4"})]}),G=e=>{let{searchResults:t,selectedConfigId:i,handleSelection:s,userCanDeleteConfigs:l,onDeleteOpen:o,setConfigToDelete:a}=e;return(0,n.jsx)(r.y02.Group,{onChange:e=>s(e.target.value),value:i,className:"flex flex-col gap-2",children:t.map(e=>(0,n.jsxs)(r.jqI,{className:l?"justify-between":"justify-start","data-testid":"tcf-config-item-".concat(e.id),children:[(0,n.jsx)(r.y02,{value:e.id,name:"tcf-config-id","data-testid":"tcf-config-item",children:(0,n.jsx)(r.xvT,{className:"text-sm",children:e.name})}),l&&(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:(0,n.jsx)(V.q,{fontSize:16}),onClick:t=>{t.stopPropagation(),a(e),o()},"data-testid":"delete-config-button"})]},e.id))})},U=e=>{let t,{searchTerm:i,setSearchTerm:s,searchResults:o,selectedConfigId:a,handleSelection:d,userCanCreateConfigs:c,userCanDeleteConfigs:u,modalOnOpen:p,onDeleteOpen:h,setConfigToDelete:g,isLoading:x,setDropdownOpen:f,configurations:b}=e,[v,m]=(0,l.useState)(a);return(0,l.useEffect)(()=>{m(a)},[a]),t=x?(0,n.jsx)(B,{}):0===o.length?(0,n.jsx)(r.xvT,{className:"text-center",children:"No configurations found."}):(0,n.jsx)(G,{searchResults:o,selectedConfigId:v,handleSelection:e=>{m(e)},userCanDeleteConfigs:u,onDeleteOpen:h,setConfigToDelete:g}),(0,n.jsxs)(r.V4A,{title:"TCF configurations",className:"min-w-[300px]",extra:(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:(0,n.jsx)(r.Two,{}),onClick:()=>f(!1),"data-testid":"close-config-dropdown"}),style:{boxShadow:"var(--ant-box-shadow)"},children:[b.length>10&&(0,n.jsx)(r.BZy,{size:"sm",children:(0,n.jsx)(r.uFc,{className:"mb-4",placeholder:"Search...",onChange:e=>s(e.target.value),value:i})}),t,(0,n.jsxs)(r.jqI,{gap:"small",className:"mt-4",children:[c&&(0,n.jsx)(r.wpx,{size:"small",onClick:()=>{p(),f(!1)},className:"flex-1","data-testid":"create-config-button",children:"+ Create"}),(0,n.jsx)(r.wpx,{size:"small",onClick:()=>d(v),className:"flex-1","data-testid":"apply-config-button",disabled:v===a,children:"Apply"})]})]})},$=e=>(0,n.jsx)(U,{...e}),K=e=>{var t;let{selectedConfigId:i,configurations:s,isLoading:o=!1,onConfigurationSelect:a,onConfigurationDelete:c}=e,u=(0,H.Tg)([y.Sh.PRIVACY_EXPERIENCE_CREATE]),p=(0,H.Tg)([y.Sh.PRIVACY_EXPERIENCE_CREATE]),h=(0,r.pmc)({id:"tcf-config-toast"}),[g]=(0,E.Cm)(),{isOpen:x,onOpen:f,onClose:b}=(0,r.qY0)(),{isOpen:v,onOpen:m,onClose:_}=(0,r.qY0)(),[j,C]=(0,l.useState)(""),[w,T]=(0,l.useState)(),[S,k]=(0,l.useState)(!1),N=(0,l.useMemo)(()=>j?s.filter(e=>e.name.toLowerCase().includes(j.toLowerCase())):s,[s,j]),I=(0,l.useMemo)(()=>s.find(e=>e.id===i),[s,i]),q=null!==(t=null==I?void 0:I.name)&&void 0!==t?t:"Select Configuration",P=e=>{a(e),k(!1)},O=async e=>{try{await g(e).unwrap(),null==c||c(e),T(void 0),_(),h({status:"success",description:'Configuration "'.concat(null==w?void 0:w.name,'" was successfully deleted.')})}catch(e){h({status:"error",description:(0,d.e$)(e,"A problem occurred while deleting the configuration.")})}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.S0p,{open:S,onOpenChange:k,trigger:["click"],overlayStyle:{zIndex:999},dropdownRender:()=>$({searchTerm:j,setSearchTerm:C,searchResults:N,selectedConfigId:i,handleSelection:P,userCanCreateConfigs:u,userCanDeleteConfigs:p,modalOnOpen:f,onDeleteOpen:m,setConfigToDelete:T,isLoading:o,setDropdownOpen:k,configurations:s}),children:(0,n.jsx)(r.wpx,{icon:(0,n.jsx)(r.v4q,{}),iconPosition:"end","data-testid":"tcf-config-dropdown-trigger",children:q})}),(0,n.jsx)(R,{isOpen:x,onClose:b,onSuccess:e=>{a(e)}}),(0,n.jsx)(r.cVQ,{isOpen:v,onClose:()=>{T(void 0),_()},onConfirm:()=>{w&&O(w.id)},title:"Delete configuration",message:"Are you sure you want to delete this configuration? This action cannot be undone."})]})};var Y=i(32885);let X=e=>{let{defaultChecked:t,onChange:i,...s}=e,o=(0,r.pmc)(),[a,c]=(0,l.useState)(t),[u,p]=(0,l.useState)(!1),{isLoading:x}=(0,Y.x8)(),[f,{isLoading:b}]=(0,g.L)(),[v]=(0,Y.M7)(),{data:m}=(0,Y.n3)(void 0,{skip:x}),j=async e=>{let t=await f({consent:{override_vendor_purposes:e}});e&&m&&await v(m.map(e=>({...e,is_included:!0,required_legal_basis:void 0}))),(t=>{if(o.closeAll(),null==i||i(e),(0,L.D4)(t)){let e=(0,d.e$)(t.error,"An unexpected error occurred while saving vendor override settings. Please try again.");null==i||i(!1),o((0,h.Vo)(e))}})(t)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.vyj,{direction:"vertical",size:"small",children:[(0,n.jsx)(r.xvT,{children:"Configure overrides for TCF related purposes."}),(0,n.jsxs)(r.vyj,{size:"small",children:[(0,n.jsx)(r.rAg,{size:"small",disabled:b,loading:b,...s,checked:a,defaultChecked:t,onClick:e=>{e?(c(e),j(e)):p(!0)},"data-testid":"tcf-override-toggle"}),(0,n.jsx)(r.xvT,{children:"Override vendor purposes"}),(0,n.jsx)(_.b,{label:"Toggle on if you want to globally change any flexible legal bases or remove TCF purposes from your CMP"})]})]}),(0,n.jsx)(r.cVQ,{isOpen:u,onClose:()=>p(!1),onConfirm:()=>{c(!1),j(!1),p(!1)},title:"Disable Vendor Overrides",message:"Are you sure you want to disable vendor overrides? Clicking 'Continue' will immediately remove any custom configurations you have set for TCF purposes for all experiences."})]})},J=e=>{var t;let{isTCFOverrideEnabled:i}=e,[s,o]=(0,l.useState)(i),[a,d]=(0,l.useState)(!1),[c,u]=(0,I._)("selectedTCFConfigId",null),{data:p,isLoading:h}=(0,E.LS)({page:1,size:50},{skip:!i}),{data:g,isFetching:x}=(0,E.NZ)(c||"",{skip:!c});return(0,l.useEffect)(()=>{var e,t;!h&&(null==p?void 0:null===(e=p.items)||void 0===e?void 0:e.length)&&!c&&u(p.items[0].id),h||!c||(null==p?void 0:null===(t=p.items)||void 0===t?void 0:t.length)||u(null)},[h,null==p?void 0:p.items,c,u]),(0,n.jsxs)(C.Z,{title:"Publisher restrictions",fontSize:"sm",children:[(0,n.jsxs)(r.vyj,{direction:"vertical",size:"small",style:{width:"100%"},children:[(0,n.jsx)(X,{defaultChecked:s,onChange:e=>o(e)}),s&&(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.OdW,{height:"20px"}),(0,n.jsx)(r.OdW,{height:"20px"}),(0,n.jsx)(r.OdW,{height:"32px",width:"200px"})]}),!h&&(null==p?void 0:null===(t=p.items)||void 0===t?void 0:t.length)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.xvT,{children:"The table below allows you to adjust which TCF purposes you allow as part of your user facing notices and business activities."}),(0,n.jsxs)(r.xvT,{children:["To configure this section, select a TCF purpose to edit the restriction type and vendors."," ",(0,n.jsx)(v.Z,{href:q.uh,children:"Learn more about publisher restrictions"})," ","in our docs."]}),(0,n.jsx)(K,{selectedConfigId:c||"",configurations:(null==p?void 0:p.items)||[],onConfigurationSelect:u})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.xvT,{children:['To define custom publisher restrictions select "create configuration" below.'," ",(0,n.jsx)(v.Z,{href:q.uh,children:"Learn more about publisher restrictions"})," ","in our docs."]}),(0,n.jsx)(r.wpx,{onClick:()=>d(!0),"data-testid":"create-config-button",children:"Create configuration +"})]})]})]}),(0,n.jsx)(R,{isOpen:a,onClose:()=>d(!1),onSuccess:e=>{u(e)}}),s&&c&&(0,n.jsx)(Z,{className:"mt-3",config:g,isLoading:x})]})};var Q=()=>{var e,t;let{isLoading:i}=(0,Y.x8)(),{tcf:x}=(0,a.hz)(),{data:f,isLoading:v}=(0,Y.n3)(void 0,{skip:i||!x}),[_,{isLoading:j}]=(0,Y.M7)(),{data:w,isLoading:S}=(0,g.tB)({api_set:!0}),{data:k,isLoading:E}=(0,g.tB)({api_set:!1}),[I]=(0,g.L)(),q=(0,o.C)(g.D2),P=(0,o.C)(g.Yh),O=(0,l.useMemo)(()=>w&&(null==w?void 0:w.consent)&&"override_vendor_purposes"in w.consent?w.consent.override_vendor_purposes:!!k&&null!=k&&!!k.consent&&"override_vendor_purposes"in k.consent&&k.consent.override_vendor_purposes,[w,k]),{isLoading:L}=(0,p.a4)(),F=(0,r.pmc)(),R=async e=>{var t;let i=e=>{if(F.closeAll(),(0,d.D4)(e)){let t=(0,d.e$)(e.error,"An unexpected error occurred while saving. Please try again.");F((0,h.Vo)(t))}else F((0,h.t5)("Settings saved successfully"))},n=[...e.purposeOverrides.map(e=>{let t;return e.is_consent&&(t=y.I$.CONSENT),e.is_legitimate_interest&&(t=y.I$.LEGITIMATE_INTERESTS),{purpose:e.purpose,is_included:e.is_included,required_legal_basis:t}})];if(O){let e=await _(n);if((0,d.D4)(e)){i(e);return}}let{enabled:r,...s}=e.gpp;i(await I({gpp:s,plus_consent_settings:{tcf_publisher_country_code:null!==(t=e.tcfPublisherSettings.publisher_country_code)&&void 0!==t?t:null}}))},A=(0,l.useMemo)(()=>({purposeOverrides:f?f.map(e=>({purpose:e.purpose,is_included:e.is_included,is_consent:e.required_legal_basis===y.I$.CONSENT,is_legitimate_interest:e.required_legal_basis===y.I$.LEGITIMATE_INTERESTS})):[],gpp:q,tcfPublisherSettings:{publisher_country_code:P.tcf_publisher_country_code}}),[f,q,P]),z=(0,l.useMemo)(()=>(null==f?void 0:f.some(e=>!e.is_included||e.required_legal_basis===y.I$.CONSENT||e.required_legal_basis===y.I$.LEGITIMATE_INTERESTS))||!1,[f]),D=null===(t=(0,a.hz)())||void 0===t?void 0:null===(e=t.flags)||void 0===e?void 0:e.publisherRestrictions;return(0,n.jsx)(c.Z,{title:"Consent Configuration",children:i||L||v||S||E?(0,n.jsx)(r.kCb,{justifyContent:"center",alignItems:"center",height:"100%",children:(0,n.jsx)(r.$jN,{})}):(0,n.jsxs)(r.xuv,{"data-testid":"consent-configuration",children:[(0,n.jsx)(u.Z,{heading:"Consent settings"}),(0,n.jsxs)(r.Kqy,{spacing:3,mb:3,children:[(0,n.jsx)(C.Z,{title:"Transparency & Consent Framework settings",children:(0,n.jsx)(m,{name:"TCF",enabled:x})}),x&&!z&&D&&(0,n.jsx)(J,{isTCFOverrideEnabled:O})]}),(0,n.jsx)(s.J9,{initialValues:A,enableReinitialize:!0,onSubmit:R,children:e=>{let{dirty:t,isValid:i,isSubmitting:l}=e;return(0,n.jsx)(s.l0,{children:(0,n.jsxs)(r.Kqy,{spacing:6,children:[x&&(z||!D)&&(0,n.jsxs)(C.Z,{title:"Vendor overrides",fontSize:"sm",children:[(0,n.jsx)(X,{defaultChecked:O,disabled:j}),O&&(0,n.jsxs)(r.Kqy,{mt:2,spacing:2,children:[(0,n.jsx)(r.xvT,{children:"The table below allows you to adjust which TCF purposes you allow as part of your user facing notices and business activites."}),(0,n.jsx)(r.xvT,{children:"To configure this section, select the purposes you allow and where available, the appropriate legal bases (either Consent or Legitimate Interest)."}),(0,n.jsx)(b,{})]})]}),(0,n.jsx)(N,{}),(0,n.jsx)(T,{}),(0,n.jsx)(r.wpx,{htmlType:"submit",type:"primary",disabled:!t||!i,loading:l,"data-testid":"save-btn",className:"self-start",children:"Save"})]})})}})]})})}},19043:function(e,t,i){"use strict";i.d(t,{Bw:function(){return l},D4:function(){return r},Dy:function(){return a},XD:function(){return d},cz:function(){return c},hE:function(){return o},oK:function(){return s}});var n=i(76649);let r=e=>"error"in e,s=e=>(0,n.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,l=e=>(0,n.Ln)({status:"number",data:{}},e),o=e=>(0,n.Ln)({detail:"string"},e),a=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,n.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},31883:function(e,t,i){"use strict";i.d(t,{Bw:function(){return n.Bw},D4:function(){return n.D4}});var n=i(19043)},76649:function(e,t,i){"use strict";i.d(t,{Ln:function(){return n}});let n=(e,t)=>s(e,t),r=Symbol("SOME"),s=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?r in e?e.some(e=>s(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>s(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,i])=>s(i,t[e]));class l{static narrow(e){return new l(t=>n(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,i=e instanceof l?e.NF:e instanceof Function?e:t=>n(e,t);return new l(e=>t(e)&&i(e))}}new l(e=>!0)}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=53748)}),_N_E=e.O()}]);
|
fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-3a829c53d5d723d2.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4065],{70378:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/custom-fields",function(){return l(76513)}])},56358:function(e,t,l){"use strict";l.d(t,{q:function(){return s}});var i=l(24246);let s=(0,l(91942).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,i.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},95492:function(e,t,l){"use strict";l.d(t,{l:function(){return s}});var i=l(24246);let s=(0,l(91942).IUT)({displayName:"TrashCanSolidIcon",viewBox:"0 0 12 15",path:(0,i.jsx)("path",{d:"M8.37857 1.18083C8.23393 0.892838 7.93661 0.710938 7.6125 0.710938H4.3875C4.06339 0.710938 3.76607 0.892838 3.62143 1.18083L3.42857 1.56094H0.857143C0.383036 1.56094 -1.19209e-07 1.94158 -1.19209e-07 2.41094C-1.19209e-07 2.8803 0.383036 3.26094 0.857143 3.26094H11.1429C11.6162 3.26094 12 2.8803 12 2.41094C12 1.94158 11.6162 1.56094 11.1429 1.56094H8.57143L8.37857 1.18083ZM11.167 4.11094H0.857143V12.6109C0.857143 13.5486 1.62589 14.3109 2.57143 14.3109H9.45268C10.3754 14.3109 11.167 13.5486 11.167 12.6109V4.11094ZM9.02411 6.23594V12.1859C9.02411 12.4197 8.80714 12.6109 8.59554 12.6109C8.33571 12.6109 8.16696 12.4197 8.16696 12.1859V6.23594C8.16696 6.00219 8.33571 5.81094 8.59554 5.81094C8.80714 5.81094 9.02411 6.00219 9.02411 6.23594ZM6.45268 6.23594V12.1859C6.45268 12.4197 6.23571 12.6109 6.02411 12.6109C5.76429 12.6109 5.57143 12.4197 5.57143 12.1859V6.23594C5.57143 6.00219 5.76429 5.81094 6.02411 5.81094C6.23571 5.81094 6.45268 6.00219 6.45268 6.23594ZM3.85714 6.23594V12.1859C3.85714 12.4197 3.66429 12.6109 3.42857 12.6109C3.19286 12.6109 3 12.4197 3 12.1859V6.23594C3 6.00219 3.19286 5.81094 3.42857 5.81094C3.66429 5.81094 3.85714 6.00219 3.85714 6.23594Z",fill:"currentColor"})})},77213:function(e,t,l){"use strict";l.d(t,{Z:function(){return x}});var i=l(24246),s=l(91942),a=l(88038),o=l.n(a),n=l(86677);l(27378);var r=l(25980),d=l(90867),c=l(77830),u=()=>{let e=(0,n.useRouter)();return(0,i.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,i.jsxs)(s.xuv,{children:[(0,i.jsxs)(s.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,i.jsx)(s.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,i.jsx)(s.wpx,{onClick:()=>{e.push(c.fz)},children:"Configure"})]}),(0,i.jsxs)(s.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},x=e=>{let{children:t,title:l,padded:a=!0,mainProps:c}=e,x=(0,r.hz)(),p=(0,n.useRouter)(),m="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,h=!(x.flags.privacyRequestsConfiguration&&m),{data:v}=(0,d.JE)(void 0,{skip:h}),{data:f}=(0,d.PW)(void 0,{skip:h}),g=x.flags.privacyRequestsConfiguration&&(!v||!f)&&m;return(0,i.jsxs)(s.kCb,{"data-testid":l,direction:"column",h:"100vh",children:[(0,i.jsxs)(o(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",l]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsxs)(s.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[g?(0,i.jsx)(u,{}):null,t]})]})}},19904:function(e,t,l){"use strict";l.d(t,{Tg:function(){return o}});var i=l(24246),s=l(16134),a=l(31793);let o=e=>(0,s.C)(a.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:l}=e;return o(t)?(0,i.jsx)(i.Fragment,{children:l}):null}},70416:function(e,t,l){"use strict";l.d(t,{d:function(){return s}});var i=l(24246);let s=(0,l(91942).IUT)({displayName:"AddIcon",viewBox:"0 0 10 10",path:(0,i.jsx)("path",{d:"M4.33331 4.33398V0.333984H5.66665V4.33398H9.66665V5.66732H5.66665V9.66732H4.33331V5.66732H0.333313V4.33398H4.33331Z",fill:"currentColor"})})},97181:function(e,t,l){"use strict";l.d(t,{d:function(){return d}});var i=l(24246),s=l(91942),a=l(34090),o=l(27378),n=l(46238),r=l(40324);let d=e=>{let{name:t,label:l,labelProps:d,tooltip:c,isRequired:u,layout:x="inline",helperText:p,...m}=e,[h,v,{setValue:f}]=(0,a.U$)(t),g=!!(v.touched&&v.error),[C,j]=(0,o.useState)("");h.value||"tags"!==m.mode&&"multiple"!==m.mode||(h.value=[]),"tags"===m.mode&&"string"==typeof h.value&&(h.value=[h.value]);let _="tags"===m.mode?(e,t)=>e?e.value!==C||h.value.includes(C)?m.optionRender?m.optionRender(e,t):e.label:'Create "'.concat(C,'"'):void 0:m.optionRender||void 0,b=e=>{j(e),m.onSearch&&m.onSearch(e)},y=(e,t)=>{f(e),m.onChange&&m.onChange(e,t)};return"inline"===x?(0,i.jsx)(s.NIc,{isInvalid:g,isRequired:u,children:(0,i.jsxs)(s.rjZ,{templateColumns:l?"1fr 3fr":"1fr",children:[l?(0,i.jsx)(r.__,{htmlFor:m.id||t,...d,children:l}):null,(0,i.jsxs)(s.jqI,{align:"center",children:[(0,i.jsxs)(s.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(s.WPr,{...h,id:m.id||t,"data-testid":"controlled-select-".concat(h.name),...m,optionRender:_,onSearch:"tags"===m.mode?b:void 0,onChange:y,value:h.value||void 0,status:g?"error":void 0}),p&&(0,i.jsx)(s.Q6r,{children:p}),(0,i.jsx)(r.Bc,{isInvalid:g,message:v.error,fieldName:h.name})]}),(0,i.jsx)(n.b,{label:c})]})]})}):(0,i.jsx)(s.NIc,{isInvalid:g,isRequired:u,children:(0,i.jsxs)(s.gCW,{alignItems:"start",children:[(0,i.jsxs)(s.jqI,{align:"center",children:[l?(0,i.jsx)(r.__,{htmlFor:m.id||t,fontSize:"xs",my:0,mr:1,...d,children:l}):null,(0,i.jsx)(n.b,{label:c})]}),(0,i.jsx)(s.WPr,{...h,id:m.id||t,"data-testid":"controlled-select-".concat(h.name),...m,optionRender:_,onSearch:"tags"===m.mode?b:void 0,onChange:y,value:h.value||void 0,status:g?"error":void 0}),p&&(0,i.jsx)(s.Q6r,{style:{marginTop:0},children:p}),(0,i.jsx)(r.Bc,{isInvalid:g,message:v.error,fieldName:h.name})]})})}},10342:function(e,t,l){"use strict";var i=l(24246),s=l(91942),a=l(46238);t.Z=e=>{let{title:t,tooltip:l,children:o,...n}=e;return(0,i.jsxs)(s.xuv,{borderRadius:"md",border:"1px solid",borderColor:"gray.200",...n,children:[(0,i.jsxs)(s.X6q,{as:"h3",fontSize:"sm",fontWeight:"semibold",color:"gray.700",py:4,px:6,backgroundColor:"gray.50",borderRadius:"md",textAlign:"left",children:[t,l?(0,i.jsx)(s.xvT,{as:"span",mx:1,children:(0,i.jsx)(a.b,{label:l})}):void 0]}),(0,i.jsx)(s.Kqy,{p:6,spacing:6,children:o})]})}},76513:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return Y}});var i=l(24246),s=l(77213),a=l(91942),o=l(27378),n=l(58754),r=l(92222),d=l(59003),c=l(16134),u=l(812),x=l(19904),p=l(14481),m=l(46628),h=l(72625),v=l(61317);let f=new Map([["string","Single Select"],["string[]","Multi Select"],["open-text","Open Text"]]),g=new Map([[v.P6.SYSTEM,"system:information"],[v.P6.DATA_USE,"taxonomy:data use"],[v.P6.DATA_CATEGORY,"taxonomy:data category"],[v.P6.DATA_SUBJECT,"taxonomy:data subject"],[v.P6.PRIVACY_DECLARATION,"system:data use"]]);var C=l(32885);let j=e=>{var t;let l=null!==(t=g.get(e.getValue()))&&void 0!==t?t:e.getValue();return(0,i.jsx)(h.G3,{...e,value:l})},_=e=>{let{row:t,getValue:l}=e,s=t.original.allow_list_id?l():"open-text",a=f.get(s)||s;return(0,i.jsx)(h.A4,{value:a})},b=e=>{let{row:t,getValue:l,isDisabled:s}=e,a=!!l(),[o]=(0,C.yM)(),n=async e=>o({...t.original,active:e});return(0,i.jsx)(h.S1,{enabled:a,onToggle:n,title:"Disable custom field",message:"Are you sure you want to disable this custom field?",isDisabled:s,"aria-label":a?"Disable custom field":"Enable custom field"})};var y=l(56358),w=l(58452);let T=e=>{let{customField:t,onEdit:l,onDelete:s,...o}=e,n=(0,a.qY0)();return(0,i.jsxs)(a.xuv,{...o,children:[(0,i.jsx)(a.wpx,{"aria-label":"Edit property","data-testid":"edit-property-button",size:"small",className:"mr-[10px]",icon:(0,i.jsx)(a.dY8,{}),onClick:e=>{e.stopPropagation(),l(t,e)}}),(0,i.jsx)(a.wpx,{"aria-label":"Delete property","data-testid":"delete-property-button",size:"small",className:"mr-[10px]",icon:(0,i.jsx)(y.q,{}),onClick:e=>{e.stopPropagation(),n.onOpen()}}),(0,i.jsx)(w.Z,{isOpen:n.isOpen,onClose:n.onClose,onConfirm:()=>{s(t),n.onClose()},title:"Delete custom field",message:(0,i.jsx)(a.xvT,{color:"gray.500",children:"Are you sure you want to delete this custom field? This will remove the custom field and all stored values and this action can't be undone."}),continueButtonText:"Confirm",isCentered:!0,icon:(0,i.jsx)(a.aNP,{})})]})};var E=l(95346),S=l(14047),I=l(34090),R=l(55484);let L={color:"gray.600",fontSize:"14px",fontWeight:"semibold",minWidth:"150px"};var N=e=>{let{customLabelProps:t,disabled:l=!1,isRequired:s=!1,label:o,type:n="text",placeholder:r,...d}=e,[c,u]=(0,I.U$)(d),{id:x,name:p,autoFocus:m}=d,h="custom-input-".concat(c.name);return(0,i.jsxs)(a.NIc,{display:"flex",isRequired:s,isInvalid:!!(u.error&&u.touched),children:[o&&(0,i.jsx)(a.lXp,{htmlFor:x||p,...t||L,children:o}),(0,i.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:["number"===n&&(0,i.jsxs)(a.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,i.jsx)(a.zuI,{...c,autoComplete:"off",autoFocus:m,"data-testid":h}),(0,i.jsxs)(a.FiK,{children:[(0,i.jsx)(a.WQu,{}),(0,i.jsx)(a.Y_d,{})]})]}),"text"===n&&(0,i.jsx)(a.IIB,{...c,autoComplete:"off",autoFocus:m,color:"gray.700",isDisabled:l,placeholder:r,size:"sm","data-testid":h}),"textarea"===n&&(0,i.jsx)(a.gxH,{...c,autoComplete:"off",autoFocus:m,color:"gray.700",placeholder:r,resize:"none",size:"sm",value:c.value||"","data-testid":h}),(0,i.jsx)(a.J1D,{children:u.error})]})]})},H=l(70416),P=l(10342),M=l(95492),V=l(97181);let A={...L,minWidth:"unset"},U=e=>{let{values:t,validationSchema:l,errors:s,dirty:n,isValid:r,isSubmitting:d,isLoading:c,onClose:u,handleDropdownChange:x,isEditing:p}=e,{validateForm:m}=(0,I.u6)();return(0,o.useEffect)(()=>{m()},[l,m]),(0,i.jsxs)(I.l0,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[(0,i.jsx)(a.xuv,{py:3,children:(0,i.jsxs)(P.Z,{title:"Field Information",children:[(0,i.jsx)(N,{isRequired:!0,label:"Name",name:"name",customLabelProps:A}),(0,i.jsx)(N,{label:"Description",name:"description",customLabelProps:A}),(0,i.jsx)(V.d,{label:"Location",name:"resource_type",options:E.C7,labelProps:A,disabled:p})]})}),(0,i.jsx)(a.xuv,{py:3,children:(0,i.jsxs)(P.Z,{title:"Configuration",children:[(0,i.jsx)(V.d,{label:"Field Type",name:"field_type",labelProps:A,options:E.Hn,onChange:x}),t.field_type!==E.Uv.OPEN_TEXT?(0,i.jsx)(a.kCb,{flexDirection:"column",gap:"12px",paddingTop:"6px",paddingBottom:"24px",children:(0,i.jsx)(I.F2,{name:"allow_list.allowed_values",render:e=>{let{allowed_values:l}=t.allow_list;return(0,i.jsxs)(a.kCb,{flexDirection:"column",gap:"6",pl:"6",children:[(0,i.jsx)(a.kCb,{flexDirection:"column",children:l.map((t,s)=>(0,i.jsxs)(a.kCb,{flexGrow:1,gap:"3",mt:s>0?3:void 0,children:[(0,i.jsx)(N,{customLabelProps:{color:"gray.600",fontSize:"sm",fontWeight:"500",lineHeight:"20px",minW:"126px",pr:"8px"},isRequired:!0,label:"List item ".concat(s+1),name:"allow_list.allowed_values[".concat(s,"]")}),(0,i.jsx)(a.wpx,{"aria-label":"Remove this list value","data-testid":"remove-list-value-btn-".concat(s),icon:(0,i.jsx)(M.l,{}),disabled:l.length<=1,onClick:()=>e.remove(s),type:"text"})]},s))}),(0,i.jsxs)(a.kCb,{alignItems:"center",children:[(0,i.jsx)(a.xvT,{color:"gray.600",fontSize:"xs",fontWeight:"500",lineHeight:"16px",pr:"8px",children:"Add a list value"}),(0,i.jsx)(a.wpx,{"aria-label":"Add a list value","data-testid":"add-list-value-btn",icon:(0,i.jsx)(H.d,{h:"7px",w:"7px"}),onClick:()=>{e.push("")},size:"small"}),0===l.length&&(null==s?void 0:s.allow_list)?(0,i.jsx)(a.xvT,{color:"red.500",pl:"18px",size:"sm",children:s.allow_list.allowed_values}):null]})]})}})}):null]})}),(0,i.jsxs)(a.kCb,{justifyContent:"space-between",width:"100%",children:[(0,i.jsx)(a.wpx,{onClick:u,disabled:c||d,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(a.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",loading:c,disabled:!n||!r||d,children:"Save"})]})]})},k={description:"",field_type:E.Uv.OPEN_TEXT,name:"",resource_type:v.P6.SYSTEM,allow_list:{name:"",description:"",allowed_values:[]}},z=R.IX(R.Z_().optional().label("allowed_values")),F=R.IX(R.Z_().required("List item is required")).min(1,"Must add at least one list value").label("allowed_values"),D=R.Ry().shape({name:R.Z_().required("Name is required").trim(),allow_list:R.Ry().shape({allowed_values:z})}),Z=R.Ry().shape({name:R.Z_().required("Name is required").trim(),allow_list:R.Ry().shape({allowed_values:F})}),q=(e,t)=>{var l,i,s;let a;if(!e)return;e.field_type!==v.AL.STRING||e.allow_list_id||(a=E.Uv.OPEN_TEXT),e.field_type===v.AL.STRING&&e.allow_list_id&&(a=E.Uv.SINGLE_SELECT),e.field_type===v.AL.STRING_&&e.allow_list_id&&(a=E.Uv.MULTIPLE_SELECT);let o=t?{name:null!==(l=t.name)&&void 0!==l?l:"",description:null!==(i=t.description)&&void 0!==i?i:"",allowed_values:null!==(s=t.allowed_values)&&void 0!==s?s:[]}:k.allow_list;return{...e,field_type:a||E.Uv.OPEN_TEXT,allow_list:o}},O=e=>{let{isOpen:t,onClose:l,isLoading:s,customField:n}=e,{errorAlert:r,successAlert:d}=(0,S.V)(),[c]=(0,C.Ld)(),[x]=(0,C.yM)(),[p]=(0,C.Nt)(),{data:m,isLoading:h}=(0,C.vA)(null==n?void 0:n.allow_list_id,{skip:!(null==n?void 0:n.allow_list_id)}),[f,g]=(0,o.useState)(D);if(h||!t)return null;let j=q(n,m),_=!!j,b=e=>{e===E.Uv.OPEN_TEXT?g(D):g(Z)},y=async e=>{if([E.Uv.SINGLE_SELECT,E.Uv.MULTIPLE_SELECT].includes(e.field_type)){var t,i;if(new Set(null===(t=e.allow_list)||void 0===t?void 0:t.allowed_values.map(e=>e.toLowerCase().trim()).map(e=>e)).size<e.allow_list.allowed_values.length){r("List item value must be unique");return}let{allow_list:l}=e;e.allow_list_id&&(l.id=e.allow_list_id),l.name||(l.name=Date.now().toString()+Math.random().toString());let s=await p(l);(0,u.D4)(s)||e.allow_list_id||(e.allow_list_id=null===(i=s.data)||void 0===i?void 0:i.id)}e.field_type===E.Uv.OPEN_TEXT&&(e.allow_list_id=void 0),[E.Uv.SINGLE_SELECT,E.Uv.OPEN_TEXT].includes(e.field_type)&&(e.field_type=v.AL.STRING),e.field_type===E.Uv.MULTIPLE_SELECT&&(e.field_type=v.AL.STRING_);let s={...e};delete s.allow_list;let a=n?await x(s):await c(s);(0,u.D4)(a)?r((0,u.e$)(a.error),"Custom field has failed to save due to the following:"):(l(),d("Custom field successfully saved"))};return(0,i.jsxs)(a.u_l,{id:"custom-field-modal-hello-world",isOpen:t,onClose:l,size:"lg",returnFocusOnClose:!1,isCentered:!0,children:[(0,i.jsx)(a.ZAr,{}),(0,i.jsxs)(a.hzk,{id:"modal-content","data-testid":"custom-field-modal",maxHeight:"80%",overflowY:"auto",children:[(0,i.jsx)(a.xBx,{id:"modal-header",fontWeight:"semibold",lineHeight:5,fontSize:"sm",py:"18px",px:6,height:"56px",backgroundColor:"gray.50",borderColor:"gray.200",borderWidth:"0px 0px 1px 1p",borderTopRightRadius:"8px",borderTopLeftRadius:"8px",boxSizing:"border-box",children:n?"Manage Custom Field":"Add a custom field"}),(0,i.jsx)(a.fef,{px:6,py:0,children:(0,i.jsx)(I.J9,{initialValues:j||k,validationSchema:f,onSubmit:y,enableReinitialize:!0,validateOnChange:!0,children:e=>(0,i.jsx)(U,{isEditing:_,validationSchema:f,isLoading:s,onClose:l,handleDropdownChange:b,...e})})})]})]})},W="Add a custom field",G=()=>(0,i.jsx)(a.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"no-results-notice",alignSelf:"center",margin:"auto",textAlign:"center",children:(0,i.jsxs)(a.gCW,{children:[(0,i.jsx)(a.xvT,{fontSize:"md",fontWeight:"600",children:"It looks like it’s your first time here!"}),(0,i.jsxs)(a.xvT,{fontSize:"sm",children:["You haven’t created any custom fields yet.",(0,i.jsx)("br",{}),"To create a custom field, click on the"," ",(0,i.jsxs)("strong",{children:['"',W,'"']})," button"]})]})}),B=(0,r.Cl)(),X=e=>{let{...t}=e,l=(0,a.pmc)(),{isLoading:s}=(0,C.GH)(),n=(0,c.C)(C.fN),[h]=(0,C.UF)(),{isOpen:f,onClose:g,onOpen:y}=(0,a.qY0)(),[w,E]=(0,o.useState)(),[S,I]=(0,o.useState)(),R=(0,x.Tg)([v.Sh.CUSTOM_FIELD_UPDATE]),L=(0,x.Tg)([v.Sh.CUSTOM_FIELD_DELETE]),N=e=>{R&&(E(e),y())},H=async e=>{if(L&&e.id){let t=await h({id:e.id});if((0,u.D4)(t)){l((0,m.Vo)((0,u.e$)(t.error)));return}l((0,m.t5)("Custom field deleted"))}},P=(0,o.useMemo)(()=>[B.accessor(e=>e.name,{id:"name",cell:e=>(0,i.jsx)(p.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,i.jsx)(p.Rr,{value:"Label",...e})}),B.accessor(e=>e.description,{id:"description",cell:e=>(0,i.jsx)(p.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,i.jsx)(p.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),B.accessor(e=>e.field_type,{id:"field_type",cell:_,header:e=>(0,i.jsx)(p.Rr,{value:"Field Type",...e})}),B.accessor(e=>e.resource_type,{id:"resource_type",cell:j,header:e=>(0,i.jsx)(p.Rr,{value:"Locations",...e})}),R&&B.accessor(e=>e.active,{id:"enable",cell:b,header:e=>(0,i.jsx)(p.Rr,{value:"Enable",...e}),meta:{disableRowClick:!0}}),(R||L)&&B.display({id:"actions",header:"Actions",cell:e=>{let{row:t}=e;return(0,i.jsx)(T,{customField:t.original,onEdit:N,onDelete:H})},meta:{disableRowClick:!0}})].filter(Boolean),[L,R]),M=(0,d.b7)({getCoreRowModel:(0,r.sC)(),getFilteredRowModel:(0,r.vL)(),getSortedRowModel:(0,r.tj)(),onGlobalFilterChange:I,globalFilterFn:"includesString",columns:P,data:n,state:{globalFilter:S},columnResizeMode:"onChange"});return(0,i.jsxs)(a.xuv,{...t,children:[(0,i.jsx)(a.xuv,{maxWidth:600,children:(0,i.jsx)(a.xvT,{mb:10,fontSize:"sm",children:n.length>0?"Custom fields enable you to capture metrics specific to your organization and have those metrics appear in the data map and in reports.":"Custom fields provide organizations with the capability to capture metrics that are unique to their specific needs, allowing them to create customized reports. These fields can be added to either systems or elements within a taxonomy, and once added, they become reportable fields that are visible on the data map."})}),(0,i.jsxs)(a.xuv,{"data-testid":"custom-fields-page",children:[(0,i.jsxs)(p.Q$,{children:[(0,i.jsx)(p.HO,{globalFilter:S,setGlobalFilter:I,placeholder:"Search for a custom field"}),(0,i.jsx)(a.Ugi,{alignItems:"center",spacing:4,children:(0,i.jsx)(()=>(0,i.jsx)(x.ZP,{scopes:[v.Sh.CUSTOM_FIELD_DEFINITION_CREATE],children:(0,i.jsx)(a.wpx,{type:"primary","data-testid":"add-custom-field-btn",onClick:y,children:W})}),{})})]}),s?(0,i.jsx)(a.xuv,{p:2,borderWidth:1,children:(0,i.jsx)(p.I4,{rowHeight:26,numRows:10})}):(0,i.jsx)(p.ZK,{tableInstance:M,onRowClick:R?N:void 0,emptyTableNotice:(0,i.jsx)(G,{}),enableSorting:!0}),f&&(0,i.jsx)(O,{customField:w,isOpen:f,onClose:()=>{E(void 0),g()},isLoading:!1})]})]})};var Y=()=>(0,i.jsx)(s.Z,{title:"Custom fields",children:(0,i.jsxs)(a.xuv,{"data-testid":"custom-fields-management",children:[(0,i.jsx)(n.Z,{heading:"Custom fields"}),(0,i.jsx)(X,{})]})})}},function(e){e.O(0,[8033,6060,7553,4481,7980,2888,9774,179],function(){return e(e.s=70378)}),_N_E=e.O()}]);
|
fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-4194ce716b81480d.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2462],{40135:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/locations",function(){return n(36956)}])},36956:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Z}});var i=n(24246),l=n(91942),s=n(16134),o=n(77213),a=n(58754),r=n(98784),d=n.n(r),c=n(86677),u=n(27378),h=n(812),g=n(58452),m=n(26917),x=n(46628),p=n(61317),j=n(31883),f=n(77830),v=n(26089),C=n(61524),y=n(46238),w=e=>{let{id:t,isChecked:n,onChange:s}=e;return(0,i.jsxs)(l.kCb,{alignItems:"center",gap:"8px",children:[(0,i.jsx)(l.rAg,{checked:n,size:"small",onChange:s,id:t,"data-testid":"regulated-toggle"}),(0,i.jsx)(l.lXp,{fontSize:"sm",m:0,htmlFor:t,children:"Regulated"}),(0,i.jsx)(y.b,{label:"Toggle on to see only locations in this region with privacy regulations supported by Fides"})]})},b=n(67991),k=n(12282),S=n(85759),_=e=>{let{groups:t,locations:n,isOpen:s,onClose:o,selected:a,onChange:r}=e,[d,c]=(0,u.useState)(a),[h,g]=(0,u.useState)(!1),{filteredLocations:m,locationsByGroup:x}=(0,u.useMemo)(()=>{let e=h?n.filter(e=>{var t;return null===(t=e.regulation)||void 0===t?void 0:t.length}):n;return{locationsByGroup:(0,S.VT)(e),filteredLocations:e}},[n,h]),{allSelected:p,handleToggleAll:j,handleToggleSelection:f}=(0,b.QZ)({items:m,selected:d,onChange:c}),v=d.filter(e=>!Object.keys(x).includes(e)).length,C=n[0].continent,y=Object.keys(x),_=!(1===y.length&&"Other"===y[0]);return(0,i.jsxs)(l.u_l,{size:"2xl",isOpen:s,onClose:o,isCentered:!0,children:[(0,i.jsx)(l.ZAr,{}),(0,i.jsxs)(l.hzk,{"data-testid":"subgroup-modal",children:[(0,i.jsx)(k.h4,{title:"Select locations"}),(0,i.jsxs)(l.fef,{p:6,maxHeight:"70vh",overflowY:"auto",children:[(0,i.jsx)(k.x$,{title:C,allSelected:p,onToggleAll:j,numSelected:v,children:(0,i.jsx)(w,{id:"".concat(C,"-modal-regulated"),isChecked:h,onChange:()=>g(!h)})}),_?(0,i.jsx)(l.UQy,{allowToggle:!0,allowMultiple:!0,children:Object.entries(x).map(e=>{let[n,s]=e,o=t.find(e=>n===e.id),a=o?o.name:n;return(0,i.jsxs)(l.Qdk,{"data-testid":"".concat(a,"-accordion"),children:[(0,i.jsx)("h2",{children:(0,i.jsxs)(l.KFZ,{children:[(0,i.jsx)(l.xuv,{as:"span",flex:"1",textAlign:"left",fontWeight:"semibold",fontSize:"sm",children:a}),(0,i.jsx)(l.XEm,{})]})}),(0,i.jsx)(l.Hk3,{pb:4,children:(0,i.jsx)(l.MIq,{columns:3,spacing:6,children:s.map(e=>(0,i.jsx)(l.XZJ,{size:"sm",colorScheme:"complimentary",isChecked:d.includes(e.id),onChange:()=>f(e.id),"data-testid":"".concat(e.name,"-checkbox"),children:e.name},e.id))})})]},n)})}):(0,i.jsx)(l.MIq,{columns:3,spacing:6,paddingInline:4,children:m.map(e=>(0,i.jsx)(l.XZJ,{size:"sm",colorScheme:"complimentary",isChecked:d.includes(e.id),onChange:()=>f(e.id),"data-testid":"".concat(e.name,"-checkbox"),children:e.name},e.id))})]}),(0,i.jsx)(k.$_,{onApply:()=>{let e=new Set(d);Object.entries(x).forEach(t=>{let[n,i]=t;i.every(e=>d.includes(e.id))?e.add(n):e.delete(n)}),r(Array.from(e)),o()},onClose:o})]})]})};let O=(e,t)=>{var n;return null===(n=e.name)||void 0===n?void 0:n.toLocaleLowerCase().includes(t.toLocaleLowerCase())};var E=e=>{let{title:t,groups:n,locations:s,selected:o,onChange:a,search:r}=e,d=(0,l.qY0)(),[c,h]=(0,u.useState)(!1),g=!!(null==r?void 0:r.length),m=n.length>0,x=s;n.length&&(x=n),g&&(x=[...s,...n].sort((e,t)=>e.name.localeCompare(t.name)));let p=c?x.filter(e=>(0,S.$q)(e,s)):x,j=r?p.filter(e=>O(e,r)):p,f=n.filter(e=>"checked"===(0,S.ji)({group:e,selected:o,locations:s})).map(e=>e.id),v=n.filter(e=>"indeterminate"===(0,S.ji)({group:e,selected:o,locations:s})).map(e=>e.id),y=m?[...f,...o]:o,b=o.length,k=e=>{a(s.map(t=>e.includes(t.id)?{...t,selected:!0}:{...t,selected:!1}))};return 0===j.length&&r?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C.ZP,{title:t,items:j,selected:y,indeterminate:m?v:[],onChange:e=>{let t=new Set(e),i=new Set(y);e.forEach(e=>{!i.has(e)&&n.find(t=>t.id===e)&&s.filter(t=>{var n;return null===(n=t.belongs_to)||void 0===n?void 0:n.includes(e)}).forEach(e=>{t.add(e.id)})}),i.forEach(e=>{!t.has(e)&&n.find(t=>t.id===e)&&s.filter(t=>{var n;return null===(n=t.belongs_to)||void 0===n?void 0:n.includes(e)}).forEach(e=>{t.delete(e.id)})}),k(Array.from(t))},onViewMore:()=>{d.onOpen()},numSelected:b,toggle:(0,i.jsx)(w,{id:"".concat(t,"-regulated"),isChecked:c,onChange:()=>h(!c)})}),(0,i.jsx)(_,{groups:n,locations:s,isOpen:d.isOpen,onClose:d.onClose,selected:o,onChange:k},"subgroup-modal-selected-".concat(y.length))]})},L=n(64781),A=e=>{var t,n;let{data:s}=e,o=(0,l.pmc)(),a=(0,l.qY0)(),[r,C]=(0,u.useState)(null!==(n=null===(t=s.locations)||void 0===t?void 0:t.filter(e=>e.id!==p._F.GLOBAL))&&void 0!==n?n:[]),[y,w]=(0,u.useState)(""),[b,{isLoading:k}]=(0,L.WA)(),_=(0,u.useMemo)(()=>(0,S.Il)((s.locations||[]).filter(e=>e.id!==p._F.GLOBAL),s.location_groups||[]),[s]),O=!d().isEqual(r,s.locations),A=(0,c.useRouter)(),Z=()=>{A.push(f.vY).then(()=>{o.closeAll()})},F=async()=>{let e=await b({locations:r.map(e=>({id:e.id,selected:e.selected})),regulations:[]});(0,j.D4)(e)?o((0,x.Vo)((0,h.e$)(e.error))):o((0,x.t5)((0,i.jsxs)(l.xvT,{display:"inline",children:["Fides has automatically associated the relevant regulations with your location choices."," ",(0,i.jsx)(v.Z,{onClick:Z,children:"View regulations here."})]})))},M=e=>{C(r.map(t=>{let n=e.find(e=>e.id===t.id);return null!=n?n:t}))};return(0,i.jsxs)(l.gCW,{alignItems:"start",spacing:4,children:[(0,i.jsx)(l.xuv,{maxWidth:"510px",width:"100%",children:(0,i.jsx)(m.Z,{onChange:w,placeholder:"Search",value:y,onClear:()=>w("")})}),(0,i.jsx)(l.MIq,{columns:{base:1,md:2,xl:3},spacing:6,width:"100%",children:Object.entries(_).map(e=>{let[t,n]=e;return(0,i.jsx)(E,{title:t,groups:n.locationGroups,locations:n.locations,selected:r.filter(e=>n.locations.find(t=>t.id===e.id)&&e.selected).map(e=>e.id),onChange:M,search:y},t)})}),(0,i.jsx)(g.Z,{isOpen:a.isOpen,onClose:a.onClose,onConfirm:()=>{F(),a.onClose()},title:"Regulation updates",message:"Modifications in your location settings may also affect your regulation settings to simplify management. You can override any Fides-initiated changes directly in the regulation settings.",isCentered:!0,icon:(0,i.jsx)(l.aNP,{color:"orange"})}),O?(0,i.jsx)(l.wpx,{type:"primary",onClick:a.onOpen,loading:k,"data-testid":"save-btn",children:"Save"}):null]})},Z=()=>{let{isLoading:e}=(0,L.QM)(),t=(0,s.C)(L.P8);return(0,i.jsx)(o.Z,{title:"Locations",children:(0,i.jsxs)(l.xuv,{"data-testid":"location-management",children:[(0,i.jsx)(a.Z,{heading:"Locations"}),(0,i.jsx)(l.xvT,{fontSize:"sm",maxWidth:"720px",pb:6,children:"Select the locations that you operate in and Fides will make sure that you are automatically presented with the relevant regulatory guidelines and global frameworks for your locations."}),(0,i.jsx)(l.xuv,{children:e?(0,i.jsx)(l.$jN,{}):(0,i.jsx)(A,{data:t})})]})})}}},function(e){e.O(0,[8033,3505,2888,9774,179],function(){return e(e.s=40135)}),_N_E=e.O()}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4202],{71180:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/taxonomy",function(){return n(31537)}])},79806:function(e,t,n){"use strict";n.d(t,{Gn:function(){return s},zR:function(){return l}});var a=n(24246),i=n(91942),r=n(56358);let l=e=>{let{title:t}=e;return(0,a.jsx)(i.OXI,{py:0,display:"flex",alignItems:"flex-start",children:(0,a.jsx)(i.xvT,{mr:"2",color:"gray.700",fontSize:"lg",lineHeight:1.8,children:t})})},s=e=>{let{onDelete:t,onEditYaml:n,formId:l,isSaving:s}=e;return(0,a.jsxs)(i.zeN,{justifyContent:"space-between",children:[t?(0,a.jsx)(i.wpx,{"aria-label":"delete",icon:(0,a.jsx)(r.q,{fontSize:"small"}),onClick:t,"data-testid":"delete-btn"}):null,(0,a.jsxs)("div",{className:"flex gap-2",children:[n&&(0,a.jsx)(i.wpx,{onClick:n,"data-testid":"edit-yaml-btn",children:"Edit YAML"}),(0,a.jsx)(i.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:l,loading:s,children:"Save"})]})]})};t.ZP=e=>{let{header:t,description:n,isOpen:r,onClose:l,children:s,footer:o}=e;return(0,a.jsxs)(i.dys,{placement:"right",isOpen:r,onClose:l,size:"md",children:[(0,a.jsx)(i.P1B,{}),(0,a.jsxs)(i.scA,{"data-testid":"edit-drawer-content",py:2,children:[(0,a.jsxs)(i.xuv,{display:"flex",justifyContent:"space-between",alignItems:"top",mr:2,py:2,gap:2,children:[(0,a.jsx)(i.xuv,{flex:1,minH:8,children:t}),(0,a.jsx)(i.xuv,{display:"flex",justifyContent:"flex-end",mr:2,children:(0,a.jsx)(i.wpx,{"aria-label":"Close editor",onClick:l,"data-testid":"close-drawer-btn",icon:(0,a.jsx)(i.Two,{fontSize:"smaller"})})})]}),(0,a.jsxs)(i.Ng0,{pt:1,children:[n?(0,a.jsx)(i.xvT,{fontSize:"sm",mb:4,color:"gray.600",children:n}):null,s]}),o]})]})}},18225:function(e,t,n){"use strict";var a=n(24246),i=n(91942);t.Z=e=>{let{alignment:t="center",...n}=e;return(0,a.jsx)(i.kCb,{boxSize:"full",align:"center",justify:t,children:(0,a.jsx)(i.$jN,{color:"primary",...n})})}},56358:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var a=n(24246);let i=(0,n(91942).IUT)({displayName:"TrashCanOutlineIcon",viewBox:"0 0 11 12",path:(0,a.jsx)("path",{d:"M4.5166 1.60859L4.1084 2.21875H7.22363L6.81543 1.60859C6.7832 1.56133 6.72949 1.53125 6.67148 1.53125H4.6584C4.60039 1.53125 4.54668 1.55918 4.51445 1.60859H4.5166ZM7.6748 1.03711L8.46328 2.21875H8.75977H9.79102H9.96289C10.2486 2.21875 10.4785 2.44863 10.4785 2.73438C10.4785 3.02012 10.2486 3.25 9.96289 3.25H9.79102V9.78125C9.79102 10.7309 9.02188 11.5 8.07227 11.5H3.25977C2.31016 11.5 1.54102 10.7309 1.54102 9.78125V3.25H1.36914C1.0834 3.25 0.853516 3.02012 0.853516 2.73438C0.853516 2.44863 1.0834 2.21875 1.36914 2.21875H1.54102H2.57227H2.86875L3.65723 1.03496C3.88066 0.701953 4.25664 0.5 4.6584 0.5H6.67148C7.07324 0.5 7.44922 0.701953 7.67266 1.03496L7.6748 1.03711ZM2.57227 3.25V9.78125C2.57227 10.1615 2.87949 10.4688 3.25977 10.4688H8.07227C8.45254 10.4688 8.75977 10.1615 8.75977 9.78125V3.25H2.57227ZM4.29102 4.625V9.09375C4.29102 9.28281 4.13633 9.4375 3.94727 9.4375C3.7582 9.4375 3.60352 9.28281 3.60352 9.09375V4.625C3.60352 4.43594 3.7582 4.28125 3.94727 4.28125C4.13633 4.28125 4.29102 4.43594 4.29102 4.625ZM6.00977 4.625V9.09375C6.00977 9.28281 5.85508 9.4375 5.66602 9.4375C5.47695 9.4375 5.32227 9.28281 5.32227 9.09375V4.625C5.32227 4.43594 5.47695 4.28125 5.66602 4.28125C5.85508 4.28125 6.00977 4.43594 6.00977 4.625ZM7.72852 4.625V9.09375C7.72852 9.28281 7.57383 9.4375 7.38477 9.4375C7.1957 9.4375 7.04102 9.28281 7.04102 9.09375V4.625C7.04102 4.43594 7.1957 4.28125 7.38477 4.28125C7.57383 4.28125 7.72852 4.43594 7.72852 4.625Z",fill:"currentColor"})})},77213:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var a=n(24246),i=n(91942),r=n(88038),l=n.n(r),s=n(86677);n(27378);var o=n(25980),d=n(90867),u=n(77830),c=()=>{let e=(0,s.useRouter)();return(0,a.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,a.jsxs)(i.xuv,{children:[(0,a.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,a.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,a.jsx)(i.wpx,{onClick:()=>{e.push(u.fz)},children:"Configure"})]}),(0,a.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},m=e=>{let{children:t,title:n,padded:r=!0,mainProps:u}=e,m=(0,o.hz)(),x=(0,s.useRouter)(),f="/privacy-requests"===x.pathname||"/datastore-connection"===x.pathname,h=!(m.flags.privacyRequestsConfiguration&&f),{data:y}=(0,d.JE)(void 0,{skip:h}),{data:p}=(0,d.PW)(void 0,{skip:h}),v=m.flags.privacyRequestsConfiguration&&(!y||!p)&&f;return(0,a.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,a.jsxs)(l(),{children:[(0,a.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,a.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,a.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,a.jsxs)(i.kCb,{as:"main",direction:"column",py:r?6:0,px:r?10:0,h:r?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...u,children:[v?(0,a.jsx)(c,{}):null,t]})]})}},19904:function(e,t,n){"use strict";n.d(t,{Tg:function(){return l}});var a=n(24246),i=n(16134),r=n(31793);let l=e=>(0,i.C)(r.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:n}=e;return l(t)?(0,a.jsx)(a.Fragment,{children:n}):null}},97181:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var a=n(24246),i=n(91942),r=n(34090),l=n(27378),s=n(46238),o=n(40324);let d=e=>{let{name:t,label:n,labelProps:d,tooltip:u,isRequired:c,layout:m="inline",helperText:x,...f}=e,[h,y,{setValue:p}]=(0,r.U$)(t),v=!!(y.touched&&y.error),[_,T]=(0,l.useState)("");h.value||"tags"!==f.mode&&"multiple"!==f.mode||(h.value=[]),"tags"===f.mode&&"string"==typeof h.value&&(h.value=[h.value]);let g="tags"===f.mode?(e,t)=>e?e.value!==_||h.value.includes(_)?f.optionRender?f.optionRender(e,t):e.label:'Create "'.concat(_,'"'):void 0:f.optionRender||void 0,j=e=>{T(e),f.onSearch&&f.onSearch(e)},E=(e,t)=>{p(e),f.onChange&&f.onChange(e,t)};return"inline"===m?(0,a.jsx)(i.NIc,{isInvalid:v,isRequired:c,children:(0,a.jsxs)(i.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,a.jsx)(o.__,{htmlFor:f.id||t,...d,children:n}):null,(0,a.jsxs)(i.jqI,{align:"center",children:[(0,a.jsxs)(i.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,a.jsx)(i.WPr,{...h,id:f.id||t,"data-testid":"controlled-select-".concat(h.name),...f,optionRender:g,onSearch:"tags"===f.mode?j:void 0,onChange:E,value:h.value||void 0,status:v?"error":void 0}),x&&(0,a.jsx)(i.Q6r,{children:x}),(0,a.jsx)(o.Bc,{isInvalid:v,message:y.error,fieldName:h.name})]}),(0,a.jsx)(s.b,{label:u})]})]})}):(0,a.jsx)(i.NIc,{isInvalid:v,isRequired:c,children:(0,a.jsxs)(i.gCW,{alignItems:"start",children:[(0,a.jsxs)(i.jqI,{align:"center",children:[n?(0,a.jsx)(o.__,{htmlFor:f.id||t,fontSize:"xs",my:0,mr:1,...d,children:n}):null,(0,a.jsx)(s.b,{label:u})]}),(0,a.jsx)(i.WPr,{...h,id:f.id||t,"data-testid":"controlled-select-".concat(h.name),...f,optionRender:g,onSearch:"tags"===f.mode?j:void 0,onChange:E,value:h.value||void 0,status:v?"error":void 0}),x&&(0,a.jsx)(i.Q6r,{style:{marginTop:0},children:x}),(0,a.jsx)(o.Bc,{isInvalid:v,message:y.error,fieldName:h.name})]})})}},812:function(e,t,n){"use strict";n.d(t,{D4:function(){return r.D4},MM:function(){return m},Ot:function(){return d},c6:function(){return i},cj:function(){return f},e$:function(){return s},fn:function(){return o},iC:function(){return x},nU:function(){return c},tB:function(){return u}});var a,i,r=n(19043);let l="An unexpected error occurred. Please try again.",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if((0,r.Bw)(e)){if((0,r.hE)(e.data))return e.data.detail;if((0,r.cz)(e.data)){var n;let t=null===(n=e.data.detail)||void 0===n?void 0:n[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,r.Dy)(e.data)||404===e.status&&(0,r.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function u(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:l};if((0,r.oK)(e))return{status:e.originalStatus,message:e.data};if((0,r.Bw)(e)){let{status:n}=e;return{status:n,message:s(e,t.message)}}return t},m=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(a=i||(i={})).GVL="gvl",a.AC="gacp",a.COMPASS="compass";let x={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},f=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},59001:function(e,t,n){"use strict";n.d(t,{Ch:function(){return l},Hy:function(){return s},Lo:function(){return i}});var a,i,r=n(61317);let l="root";(a=i||(i={})).DATA_CATEGORIES="Data categories",a.DATA_USES="Data uses",a.DATA_SUBJECTS="Data subjects";let s=e=>{switch(e){case"Data categories":return{UPDATE:r.Sh.DATA_CATEGORY_UPDATE,CREATE:r.Sh.DATA_CATEGORY_CREATE,DELETE:r.Sh.DATA_CATEGORY_DELETE,READ:r.Sh.DATA_CATEGORY_READ};case"Data uses":return{UPDATE:r.Sh.DATA_USE_UPDATE,CREATE:r.Sh.DATA_USE_CREATE,DELETE:r.Sh.DATA_USE_DELETE,READ:r.Sh.DATA_USE_READ};case"Data subjects":return{UPDATE:r.Sh.DATA_SUBJECT_UPDATE,CREATE:r.Sh.DATA_SUBJECT_CREATE,DELETE:r.Sh.DATA_SUBJECT_DELETE,READ:r.Sh.DATA_SUBJECT_READ};default:throw Error("Unknown taxonomy type: ".concat(e))}}},90673:function(e,t,n){"use strict";n.d(t,{Cd:function(){return r},Xl:function(){return l}});var a=n(61317),i=n(59001);let r=(e,t)=>{let n;if(null==t&&e.every(e=>void 0===e.parent_key))n=e;else{let a=null!=t?t:null;n=e.filter(e=>e.parent_key===a)}return n.map(t=>{var n,a;let i=t.fides_key;return{value:t.fides_key,label:""===t.name||null==t.name?t.fides_key:t.name,description:t.description,children:r(e,i),is_default:null!==(n=t.is_default)&&void 0!==n&&n,active:null!==(a=t.active)&&void 0!==a&&a}})},l=e=>{switch(e){case i.Lo.DATA_CATEGORIES:return a.P6.DATA_CATEGORY;case i.Lo.DATA_SUBJECTS:return a.P6.DATA_SUBJECT;case i.Lo.DATA_USES:return a.P6.DATA_USE;default:return}}},31537:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ea}});var a,i,r=n(24246),l=n(91942),s=n(69238),o=n.n(s),d=n(63662),u=n(27378),c=n(812),m=n(77213),x=n(58754),f=n(19904),h=n(46628),y=n(95346),p=n(56358),v=n(31883),_=n(79806),T=n(59001),g=n(90673),j=n(30002),E=n(28079),C=n(39864),A=e=>{let{taxonomyType:t}=e,[n,a]=(0,C.Vj)(),[i,r]=(0,j.nC)(),[l,s]=(0,E.dk)(),[o]=(0,C.Ti)(),[d]=(0,E.Ql)(),[u]=(0,j.wG)(),[c]=(0,C.jU)(),[m]=(0,E.LG)(),[x]=(0,j.h8)(),[f]=(0,C.K9)(),[h]=(0,E.gu)(),[y]=(0,j.Kv)();return t===T.Lo.DATA_SUBJECTS?{getAllTrigger:i,taxonomyItems:r.data||[],updateTrigger:x,deleteTrigger:y,createTrigger:u}:t===T.Lo.DATA_USES?{getAllTrigger:l,taxonomyItems:s.data||[],updateTrigger:m,deleteTrigger:h,createTrigger:d}:{getAllTrigger:n,taxonomyItems:a.data||[],updateTrigger:c,deleteTrigger:f,createTrigger:o}},b=n(90104),S=n.n(b),I=n(18225),D=n(61317),N=e=>{let{customFields:t,formId:n,form:a}=e,{idToAllowListWithOptions:i,idToCustomFieldDefinition:s,isEnabled:o,isLoading:d,sortedCustomFieldDefinitionIds:u}=t;return o&&0!==u.length?(0,r.jsxs)(l.PPS,{form:a,name:n,initialValues:t.customFieldValues,layout:"vertical","data-testid":"custom-fields-form",children:[(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)(l.AntTypography.Title,{level:3,children:"Custom fields"})}),d?(0,r.jsx)(I.Z,{}):(0,r.jsx)("div",{children:!S()(u)&&(0,r.jsx)("div",{children:u.map(e=>{let t=s.get(e);if(!t)return null;let{id:n,name:a,description:o,allow_list_id:d,field_type:u}=t;if(!d&&u===D.AL.STRING)return(0,r.jsx)(l.PPS.Item,{name:n,label:a,tooltip:o,children:(0,r.jsx)(l.uFc,{})},e);let c=i.get(t.allow_list_id);if(!c)return null;let{options:m}=c;return(0,r.jsx)(l.PPS.Item,{name:n,label:a,tooltip:o,children:(0,r.jsx)(l.WPr,{mode:"string"!==u?"multiple":void 0,allowClear:!0,options:m})},e)})})})]}):null},R=n(43551),k=n.n(R),P=()=>{let e=l.PPS.useFormInstance(),t=l.PPS.useWatch(["rights","values"],e);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.PPS.Item,{label:"Automated Decisions or Profiling",name:"automated_decisions_or_profiling",layout:"horizontal",valuePropName:"checked",children:(0,r.jsx)(l.E_O,{"data-testid":"edit-taxonomy-form_automated-decisions"})}),(0,r.jsx)(l.PPS.Item,{name:["rights","values"],label:"Rights",children:(0,r.jsx)(l.WPr,{mode:"multiple",options:(0,c.MM)(D.ts),"data-testid":"edit-taxonomy-form_rights"})}),t&&!S()(t)&&(0,r.jsx)(l.PPS.Item,{name:["rights","strategy"],label:"Strategy",required:!0,rules:[{required:!0,message:"Please select a strategy"}],children:(0,r.jsx)(l.WPr,{options:(0,c.MM)(D.jX),"data-testid":"edit-taxonomy-form_strategy"})})]})},w=e=>{let{initialValues:t,onSubmit:n,form:a,formId:i,taxonomyType:s,isDisabled:o}=e,d=s===T.Lo.DATA_SUBJECTS;return(0,r.jsxs)(l.PPS,{name:i,initialValues:t,onFinish:e=>{var a,i;let r={...t,...e};(!(null==r?void 0:null===(a=r.rights)||void 0===a?void 0:a.values)||S()(null==r?void 0:null===(i=r.rights)||void 0===i?void 0:i.values))&&k()(r,"rights"),n(r)},layout:"vertical",form:a,children:[(0,r.jsx)(l.PPS.Item,{label:"Name",name:"name",children:(0,r.jsx)(l.uFc,{"data-testid":"edit-taxonomy-form_name",disabled:o})}),(0,r.jsx)(l.PPS.Item,{label:"Description",name:"description",children:(0,r.jsx)(l.uFc.TextArea,{rows:4,"data-testid":"edit-taxonomy-form_description",disabled:o})}),d&&(0,r.jsx)(P,{})]})},O=e=>{let{taxonomyItem:t,taxonomyType:n,onClose:a}=e,i="edit-taxonomy-form",[s]=l.PPS.useForm(),[o]=l.PPS.useForm(),d=(0,l.pmc)(),{isOpen:u,onOpen:m,onClose:x}=(0,l.qY0)(),{updateTrigger:j}=A({taxonomyType:n}),E=(0,y.mZ)({resourceFidesKey:null==t?void 0:t.fides_key,resourceType:(0,g.Xl)(n)}),C=(0,f.Tg)([(0,T.Hy)(n).UPDATE]),b=(0,f.Tg)([(0,T.Hy)(n).DELETE]),S=async e=>{let n=await j(e);if((0,v.D4)(n)){d((0,h.Vo)((0,c.e$)(n.error)));return}if(E.isEnabled){let e=o.getFieldsValue();await E.upsertCustomFields({fides_key:null==t?void 0:t.fides_key,customFieldValues:e})}d((0,h.t5)("Taxonomy successfully updated")),a()},I=async()=>{await j({...t,active:!1}),x(),a()},D=async()=>{await j({...t,active:!0}),x(),a()};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(_.ZP,{isOpen:!!t,onClose:a,header:(0,r.jsx)(_.zR,{title:(null==t?void 0:t.name)||""}),footer:(0,r.jsxs)(l.zeN,{justifyContent:"space-between",children:[(null==t?void 0:t.active)&&b&&(0,r.jsx)(l.esZ,{title:"Delete label",children:(0,r.jsx)(l.wpx,{"aria-label":"delete",icon:(0,r.jsx)(p.q,{fontSize:"small"}),onClick:m,"data-testid":"delete-btn"})}),!(null==t?void 0:t.active)&&C&&(0,r.jsx)(l.esZ,{title:"Enable label",children:(0,r.jsx)(l.wpx,{"aria-label":"enable",onClick:D,"data-testid":"enable-btn",icon:(0,r.jsx)(l.tEF,{fontSize:"small"})})}),(0,r.jsx)("div",{className:"flex gap-2",children:C&&(0,r.jsx)(l.wpx,{htmlType:"submit",type:"primary","data-testid":"save-btn",form:i,children:"Save"})})]}),children:[(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)(l.AntTypography.Title,{level:3,children:"Details"})}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("span",{className:"w-1/3 shrink-0 text-sm text-gray-500",children:"Fides key:"}),(0,r.jsx)(l.esZ,{title:null==t?void 0:t.fides_key,trigger:"click",children:(0,r.jsx)("span",{className:"flex-1 truncate","data-testid":"edit-drawer-fides-key",children:null==t?void 0:t.fides_key})})]})]}),!!t&&(0,r.jsx)(w,{initialValues:t,onSubmit:S,form:s,formId:i,taxonomyType:n,isDisabled:!C}),E.isEnabled&&!E.isLoading&&(0,r.jsx)(N,{form:o,formId:"custom-fields-form",customFields:E})]}),(0,r.jsx)(l.cVQ,{isOpen:u,onClose:x,onConfirm:I,title:"Delete ".concat(n),message:(0,r.jsx)(l.Kqy,{children:(0,r.jsxs)(l.xvT,{children:["You are about to permanently delete the ",n," ",(0,r.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:null==t?void 0:t.name})," ","from your taxonomy. Are you sure you would like to continue?"]})})})]})};n(51901);var L=n(86298),V=n(3124),F=n.n(V);(a=i||(i={})).DEFAULT="DEFAULT",a.ACTIVE_HOVER="ACTIVE_HOVER",a.PARENT_OF_HOVER="PARENT_OF_HOVER",a.CHILD_OF_HOVER="CHILD_OF_HOVER",a.SIBLING_OF_HOVER="SIBLING_OF_HOVER",a.INACTIVE="INACTIVE";let H=(0,u.createContext)({activeNodeKey:null,setActiveNodeKey:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},getNodeHoverStatus:()=>"DEFAULT"}),U=e=>{let{children:t}=e,[n,a]=(0,u.useState)(null),i=(0,u.useCallback)(e=>{e!==n&&a(e)},[n]),l=(0,u.useCallback)(()=>{a(null)},[]),s=(0,u.useCallback)(e=>n?e===n?"ACTIVE_HOVER":n.startsWith("".concat(e,"."))||e===T.Ch?"PARENT_OF_HOVER":e.startsWith("".concat(n,"."))||n===T.Ch?"CHILD_OF_HOVER":n.split(".").slice(0,-1).join(".")===e.split(".").slice(0,-1).join(".")?"SIBLING_OF_HOVER":"INACTIVE":"DEFAULT",[n]),o=(0,u.useMemo)(()=>({activeNodeKey:n,setActiveNodeKey:a,onMouseEnter:i,onMouseLeave:l,getNodeHoverStatus:s}),[n,a,i,l,s]);return(0,r.jsx)(H.Provider,{value:o,children:t})};var B=n(62266),M=n(79658);let z=(0,B.Z)();var Z=e=>{let{nodes:t,edges:n,options:a}=e;return(0,u.useMemo)(()=>{if(0===t.length)return{nodes:t,edges:n};let e=(0,M.Z)().id(e=>e.id).parentId(e=>{var t;return null===(t=n.find(t=>t.target===e.id))||void 0===t?void 0:t.source})(t),i="LR"===a.direction?[35,320]:[320,35];return{nodes:z.nodeSize(i).separation((e,t)=>e.parent===t.parent?1:1.5)(e).descendants().map(e=>{let t;return t="LR"===a.direction?{x:e.y,y:e.x}:{x:e.x,y:e.y},{...e.data,position:t}}),edges:n}},[t,n,a])},G=e=>{let{positionAbsoluteX:t,positionAbsoluteY:n,nodeWidth:a}=e,{setCenter:i,getZoom:r}=(0,L._K)();return{centerScreenOnNode:(0,u.useCallback)(()=>i(t+a/2,n,{duration:500,zoom:r()}),[r,t,n,a,i])}},q=n(1945),W=n.n(q),K=n(8335),J=e=>{let{type:t,inactive:n=!1}=e;return(0,r.jsx)(L.HH,{type:t,position:"source"===t?K.Ly.Right:K.Ly.Left,style:{width:8,height:8,backgroundColor:n?F().FIDESUI_NEUTRAL_400:F().FIDESUI_MINOS},className:"transition-colors duration-300 ease-in"})},X=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:a}=e,{onCancel:i,onSubmit:s,parentKey:o}=t,d=(0,u.useRef)(null),[c,m]=(0,u.useState)(""),{centerScreenOnNode:x}=G({positionAbsoluteX:n,positionAbsoluteY:a,nodeWidth:200});return(0,u.useEffect)(()=>{m("");let e=()=>{var e;return null===(e=d.current)||void 0===e?void 0:e.focus({cursor:"start",preventScroll:!0})};(async()=>{await x(),e()})()},[o,x,n,a]),(0,r.jsxs)("div",{style:{width:200},"data-testid":"taxonomy-text-input-node",children:[(0,r.jsx)(l.uFc,{placeholder:"Type label name...",ref:d,onBlur:i,onSubmit:()=>s(c),value:c,onChange:e=>m(e.target.value),onKeyUp:e=>{"Escape"===e.key&&i()},onPressEnter:()=>s(c),className:W().input}),(0,r.jsx)(J,{type:"target"})]})},Y=e=>{let{getNodeHoverStatus:t}=(0,u.useContext)(H),{target:n}=e,a=t(n),l=(0,u.useCallback)(()=>{switch(a){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return F().FIDESUI_MINOS;case i.INACTIVE:return F().NEUTRAL_400;default:return F().FIDESUI_SANDSTONE}},[a]),s=(0,u.useCallback)(()=>{switch(a){case i.ACTIVE_HOVER:case i.PARENT_OF_HOVER:return 2;default:return 1}},[a]);return(0,r.jsx)(L.Jd,{...e,style:{stroke:l(),strokeWidth:s(),transition:"stroke 0.3s ease 0s"}})},$=n(34770),Q=n.n($),ee=e=>{let{data:t,positionAbsoluteX:n,positionAbsoluteY:a}=e,{onMouseEnter:s,onMouseLeave:o,getNodeHoverStatus:d}=(0,u.useContext)(H),{taxonomyType:c,taxonomyItem:m,onAddButtonClick:x,onTaxonomyItemClick:f,label:h,hasChildren:y,isLastCreatedItem:p,resetLastCreatedItemKey:v,userCanAddLabels:_}=t,{centerScreenOnNode:g}=G({positionAbsoluteX:n,positionAbsoluteY:a,nodeWidth:200});(0,u.useEffect)(()=>{let e=async()=>{await g(),s(null==m?void 0:m.fides_key)};p&&(e(),v())},[p,s,null==m?void 0:m.fides_key,v,g]);let j=d(null==m?void 0:m.fides_key),E=(0,u.useCallback)(()=>{switch(j){case i.ACTIVE_HOVER:return Q()["button--hover"];case i.PARENT_OF_HOVER:return Q()["button--parent-hover"];case i.INACTIVE:return Q()["button--inactive"];case i.DEFAULT:case i.CHILD_OF_HOVER:case i.SIBLING_OF_HOVER:default:return""}},[j]),C=(null==m?void 0:m.fides_key)===T.Ch,A=c===T.Lo.DATA_SUBJECTS;return(0,r.jsxs)("div",{className:Q().container,onMouseEnter:()=>s(null==m?void 0:m.fides_key),onMouseLeave:()=>o(null==m?void 0:m.fides_key),"data-testid":"taxonomy-node-".concat(null==m?void 0:m.fides_key),children:[(0,r.jsx)(l.wpx,{className:"".concat(Q().button," ").concat(E()),onClick:()=>null==f?void 0:f(m),disabled:!f,type:"text",children:(0,r.jsxs)(l.AntTypography.Text,{ellipsis:!0,style:{color:"inherit"},children:[(null==m?void 0:m.active)===!1?"(disabled) ":"",h]})}),!C&&(0,r.jsx)(J,{type:"target",inactive:j===i.INACTIVE}),y&&(0,r.jsx)(J,{type:"source",inactive:j===i.INACTIVE}),_&&(!A||C)&&(0,r.jsx)("div",{className:Q()["add-button-container"],children:(0,r.jsx)(l.wpx,{type:"default",className:"".concat(Q()["add-button"]," ").concat(j===i.ACTIVE_HOVER?Q()["add-button--visible"]:""),icon:(0,r.jsx)(l.PJP.mm_,{size:20}),onClick:()=>null==x?void 0:x(m),size:"middle","data-testid":"taxonomy-add-child-label-button","aria-label":"Add child label to ".concat(h)})})]})};let et=e=>{let{taxonomyType:t,taxonomyItems:n,draftNewItem:a,lastCreatedItemKey:i,resetLastCreatedItemKey:l,onTaxonomyItemClick:s,onAddButtonClick:o,onCancelDraftItem:d,onSubmitDraftItem:c,userCanAddLabels:m}=e,{fitView:x}=(0,L._K)();(0,u.useEffect)(()=>{setTimeout(()=>x(),150)},[x,t]);let f=[(0,u.useMemo)(()=>({id:T.Ch,position:{x:0,y:0},data:{label:t,taxonomyItem:{fides_key:T.Ch},taxonomyType:t,onTaxonomyItemClick:null,onAddButtonClick:o,hasChildren:0!==n.length,userCanAddLabels:m},type:"taxonomyTreeNode"}),[t,n.length,o,m])],h=[];if(n.forEach(e=>{let n=e.name||e.fides_key.split(".").pop()||"",a={id:e.fides_key,position:{x:0,y:0},data:{label:n,taxonomyType:t,taxonomyItem:e,onTaxonomyItemClick:s,onAddButtonClick:o,hasChildren:!1,isLastCreatedItem:i===e.fides_key,resetLastCreatedItemKey:l,userCanAddLabels:m},type:"taxonomyTreeNode"};f.push(a);let r=e.parent_key?f.find(t=>t.id===e.parent_key):null,d=r?r.id:T.Ch,u=e.fides_key,c={id:"".concat(d,"-").concat(u),source:d,target:u,type:"taxonomyTreeEdge"};h.push(c),r&&(r.data.hasChildren=!0)}),a){let e=a.parent_key||T.Ch;f.push({id:"draft-node",position:{x:0,y:0},type:"textInputNode",data:{parentKey:e,onCancel:d,onSubmit:c},hidden:!a}),h.push({id:"draft-line",source:e,target:"draft-node",animated:!0});let t=f.find(t=>t.id===e);t&&(t.data.hasChildren=!0)}let{nodes:y,edges:p}=Z({nodes:f,edges:h,options:{direction:"LR"}}),v=(0,u.useMemo)(()=>({taxonomyTreeNode:ee,textInputNode:X}),[]),_=(0,u.useMemo)(()=>({taxonomyTreeEdge:Y}),[]);return(0,r.jsx)("div",{className:"size-full",style:{backgroundColor:F().FIDESUI_BG_CORINTH},"data-testid":"taxonomy-interactive-tree",children:(0,r.jsx)(U,{children:(0,r.jsxs)(L.x$,{nodes:y,edges:p,nodeTypes:v,edgeTypes:_,maxZoom:2,minZoom:.3,nodesConnectable:!1,edgesFocusable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,r.jsx)(L.Aq,{color:F().FIDESUI_NEUTRAL_100,variant:L.T7.Dots,size:3}),(0,r.jsx)(L.a9,{nodeStrokeWidth:3,pannable:!0}),(0,r.jsx)(L.ZX,{showInteractive:!1})]})})})};var en=e=>(0,r.jsx)(L.tV,{children:(0,r.jsx)(et,{...e})}),ea=()=>{let[e,t]=(0,u.useState)(T.Lo.DATA_CATEGORIES),{createTrigger:n,getAllTrigger:a,taxonomyItems:i=[]}=A({taxonomyType:e}),s=(0,d.useSearchParams)(),y=(null==s?void 0:s.get("showDisabledItems"))==="true";(0,u.useEffect)(()=>{a()},[a,e]);let[p,v]=(0,u.useState)(null),[_,g]=(0,u.useState)(null),[j,E]=(0,u.useState)(null);(0,u.useEffect)(()=>{g(null),E(null),v(null)},[e]);let C=(0,l.pmc)(),b=(0,u.useCallback)(async e=>{if(!_)return;let t=(null==_?void 0:_.parent_key)===T.Ch,a={..._,name:e,parent_key:t?null:_.parent_key},i=await n(a);if((0,c.D4)(i)){C((0,h.Vo)((0,c.e$)(i.error)));return}E(i.data.fides_key),C((0,h.t5)("New label successfully created")),g(null)},[n,_,C]),S=o()(i,"active"),I=(0,f.Tg)([(0,T.Hy)(e).CREATE]);return(0,r.jsxs)(m.Z,{title:"Taxonomy",children:[(0,r.jsxs)(l.jqI,{vertical:!0,className:"h-full",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(x.Z,{heading:"Taxonomy"}),(0,r.jsx)("div",{className:"hidden",children:(0,r.jsx)("div",{className:"mb-5 flex justify-between",children:(0,r.jsxs)(l.vyj.Compact,{children:[(0,r.jsx)(l.uFc,{className:"min-w-[350px]",placeholder:"Search",allowClear:!0}),(0,r.jsx)(l.wpx,{type:"default",children:"Clear"})]})})})]}),(0,r.jsxs)("div",{className:"relative grow",children:[(0,r.jsx)("div",{className:"absolute left-2 top-2 z-[1]",children:(0,r.jsx)(l.AHg,{selectedKeys:[e],onSelect:e=>{let{key:n}=e;return t(n)},items:(0,c.MM)(T.Lo).map(e=>({label:e.label,key:e.value})),"data-testid":"taxonomy-type-selector"})}),!!i.length&&(0,r.jsx)(en,{userCanAddLabels:I,taxonomyItems:y?i:S,draftNewItem:_,lastCreatedItemKey:j,resetLastCreatedItemKey:()=>E(null),onTaxonomyItemClick:e=>{v(e)},onAddButtonClick:e=>{var t;g({parent_key:null!==(t=null==e?void 0:e.fides_key)&&void 0!==t?t:null,is_default:!1,description:""})},taxonomyType:e,onCancelDraftItem:()=>g(null),onSubmitDraftItem:b})]})]}),p&&(0,r.jsx)(O,{taxonomyItem:p,taxonomyType:e,onClose:()=>v(null)})]})}},19043:function(e,t,n){"use strict";n.d(t,{Bw:function(){return l},D4:function(){return i},Dy:function(){return o},XD:function(){return d},cz:function(){return u},hE:function(){return s},oK:function(){return r}});var a=n(76649);let i=e=>"error"in e,r=e=>(0,a.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,l=e=>(0,a.Ln)({status:"number",data:{}},e),s=e=>(0,a.Ln)({detail:"string"},e),o=e=>(0,a.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,a.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),u=e=>(0,a.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return a.Bw},D4:function(){return a.D4}});var a=n(19043)},1945:function(e){e.exports={input:"TaxonomyTextInputNode_input__P9czz"}},34770:function(e){e.exports={container:"TaxonomyTreeNode_container__T4KpF",button:"TaxonomyTreeNode_button__mcbOd","button--hover":"TaxonomyTreeNode_button--hover__oycXY","button--parent-hover":"TaxonomyTreeNode_button--parent-hover__pwAPl","button--inactive":"TaxonomyTreeNode_button--inactive__Fjdpe","add-button-container":"TaxonomyTreeNode_add-button-container__eEoRN","add-button":"TaxonomyTreeNode_add-button__oM2vI","add-button--visible":"TaxonomyTreeNode_add-button--visible__Ojqqf"}}},function(e){e.O(0,[1096,2858,2866,9278,4294,570,7980,2888,9774,179],function(){return e(e.s=71180)}),_N_E=e.O()}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8905],{16967:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user-management/profile/[id]",function(){return r(69404)}])},69404:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return E}});var i=r(24246),n=r(91942),t=r(86677),a=r(27378),u=r(16125),d=r(44121),l=r(91317),o=r(19904),c=r(61317),_=r(77830),f=r(58754),m=r(65497);let h=e=>{var s,r,i,n;let t=(0,u.v9)(l.dy),[a]=(0,m.Gl)(),d={username:null!==(s=e.username)&&void 0!==s?s:"",email_address:null!==(r=e.email_address)&&void 0!==r?r:"",first_name:null!==(i=e.first_name)&&void 0!==i?i:"",last_name:null!==(n=e.last_name)&&void 0!==n?n:"",password:"",password_login_enabled:!!e.password_login_enabled},_=async s=>a({...s,id:e.id}),f=!!t&&t.id===e.id,h=(0,o.Tg)([c.Sh.USER_UPDATE]);return{handleSubmit:_,isOwnProfile:f,canUpdateUser:!!f||h,initialValues:d}};var j=e=>{let{user:s}=e,{handleSubmit:r,canUpdateUser:n,initialValues:t}=h(s);return(0,i.jsxs)("div",{children:[(0,i.jsx)(f.Z,{heading:"Users",breadcrumbItems:[{title:"All users",href:_.e3},{title:t.username}]}),(0,i.jsx)(d.Z,{onSubmit:r,initialValues:t,canEditNames:n})]})},p=r(16134),y=r(77213),E=()=>{let e=(0,t.useRouter)(),s=(0,p.T)(),r="";r=e.query.id?Array.isArray(e.query.id)?e.query.id[0]:e.query.id:"";let{data:u,isLoading:d}=(0,m.Fk)(r),_=(0,p.C)(l.dy),f=!!_&&!!u&&_.id===u.id,h=(0,o.Tg)([c.Sh.USER_UPDATE])||f;return(0,a.useEffect)(()=>{u&&s((0,m.Vv)(u.id))},[s,u,h]),(0,a.useEffect)(()=>{u&&!h&&e.push("/")},[e,h,u]),(0,i.jsxs)(y.Z,{title:"Users - Edit a user",children:[d&&(0,i.jsx)(n.jqI,{justify:"center",align:"center",className:"h-full",children:(0,i.jsx)(n.$jN,{color:"primary.900"})}),!d&&!u&&(0,i.jsx)(n.jqI,{justify:"center",children:(0,i.jsx)(n.DUx,{message:"Could not find user with this profile ID.",type:"warning",showIcon:!0})}),!!u&&(0,i.jsx)(j,{user:u})]})}}},function(e){e.O(0,[3513,4121,2888,9774,179],function(){return e(e.s=16967)}),_N_E=e.O()}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[693],{7873:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user-management",function(){return n(923)}])},923:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return f}});var i=n(24246),l=n(27378),r=n(91942),t=n(16125),d=n(16134),a=n(65497),c=n(95492),h=n(86677),o=n(91317),u=n(77830),p=n(19904),x=n(91437),j=n(61317),m=n(61038),g=e=>{var s,n;let{user:l}=e,t=(0,h.useRouter)(),g=(0,r.qY0)(),v=(0,d.C)(o.dy),T=!!v&&v.id===l.id,b=(0,p.Tg)([j.Sh.USER_UPDATE])||T,_=()=>{b&&t.push("".concat(u.e3,"/profile/").concat(l.id))},{data:w}=(0,a.gU)(null!==(s=l.id)&&void 0!==s?s:"",{skip:!l.id}),{data:C}=(0,a.d6)(null!==(n=l.id)&&void 0!==n?n:"",{skip:!l.id}),N=[];return w&&w.roles&&w.roles.forEach(e=>{let s=x.K.find(s=>s.roleKey===e);s&&N.push(s.permissions_label)}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Tr,{_hover:{bg:"gray.50",cursor:b?"pointer":void 0},height:"36px","data-testid":"row-".concat(l.id),children:[(0,i.jsxs)(r.Td,{pl:0,py:1,onClick:_,children:[l.username," ",l.disabled&&(0,i.jsx)(r.j8w,{color:"success","data-testid":"invite-sent-badge",children:"Invite sent"})]}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:l.email_address}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:l.first_name}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:l.last_name}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:N.map(e=>(0,i.jsx)(r.j8w,{"data-testid":"user-permissions-badge",children:e},e))}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:(0,i.jsx)(r.j8w,{className:"text-center","data-testid":"user-systems-badge",children:C?C.length:0})}),(0,i.jsx)(r.Td,{pl:0,py:1,onClick:_,children:l.created_at?new Date(l.created_at).toUTCString():null}),(0,i.jsx)(p.ZP,{scopes:[j.Sh.USER_DELETE],children:(0,i.jsx)(r.Td,{pr:0,py:1,textAlign:"end",position:"relative",children:(0,i.jsx)(r.wpx,{"aria-label":"delete",icon:(0,i.jsx)(c.l,{}),onClick:g.onOpen,"data-testid":"delete-user-btn"})})})]},l.id),(0,i.jsx)(m.Z,{user:l,...g})]})};let v=()=>{var e,s;let n=(0,t.I0)(),i=(0,t.v9)(a.lq),{data:l,isLoading:r}=(0,a.wv)(i),d=null!==(e=null==l?void 0:l.items)&&void 0!==e?e:[],c=null!==(s=null==l?void 0:l.total)&&void 0!==s?s:0;return{...i,isLoading:r,users:d,total:c,handleNextPage:()=>{n((0,a.YA)(i.page+1))},handlePreviousPage:()=>{n((0,a.YA)(i.page-1))}}},T=()=>{let{users:e,total:s,page:n,size:t,handleNextPage:c,handlePreviousPage:h}=v(),o=(n-1)*t+1,u=Math.min(s,n*t),p=(0,d.T)();return(0,l.useEffect)(()=>{p((0,a.Vv)(void 0))},[p]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.iA_,{size:"sm","data-testid":"user-management-table",children:[(0,i.jsx)(r.hrZ,{children:(0,i.jsxs)(r.Tr,{children:[(0,i.jsx)(r.Th,{pl:0,children:"Username"}),(0,i.jsx)(r.Th,{pl:0,children:"Email"}),(0,i.jsx)(r.Th,{pl:0,children:"First Name"}),(0,i.jsx)(r.Th,{pl:0,children:"Last Name"}),(0,i.jsx)(r.Th,{pl:0,children:"Permissions"}),(0,i.jsx)(r.Th,{pl:0,children:"Assigned Systems"}),(0,i.jsx)(r.Th,{pl:0,children:"Created At"})]})}),(0,i.jsx)(r.p3B,{children:null==e?void 0:e.map(e=>(0,i.jsx)(g,{user:e},e.id))})]}),(0,i.jsxs)(r.kCb,{justifyContent:"space-between",mt:6,children:[(0,i.jsx)(r.xvT,{fontSize:"xs",color:"gray.600",children:s>0?(0,i.jsxs)(i.Fragment,{children:["Showing ",Number.isNaN(o)?0:o," to"," ",Number.isNaN(u)?0:u," of"," ",Number.isNaN(s)?0:s," results"]}):"0 results"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(r.wpx,{disabled:n<=1,onClick:h,className:"mr-2",children:"Previous"}),(0,i.jsx)(r.wpx,{disabled:n*t>=s,onClick:c,children:"Next"})]})]})]})};T.defaultProps={users:[]};var b=n(26917);let _=()=>{let e=(0,t.v9)(a.lq),s=(0,t.I0)();return{handleSearchChange:e=>{s((0,a.SY)(e))},...e}};var w=()=>{let{handleSearchChange:e,username:s}=_(),n=(0,h.useRouter)();return(0,i.jsxs)(r.Kqy,{direction:"row",spacing:4,mb:6,children:[(0,i.jsx)(b.Z,{value:s,onChange:e,placeholder:"Search by Username"}),(0,i.jsx)(p.ZP,{scopes:[j.Sh.USER_CREATE],children:(0,i.jsx)(r.wpx,{onClick:()=>n.push("".concat(u.e3,"/new")),type:"primary",className:"shrink-0","data-testid":"add-new-user-btn",children:"Add new user"})})]})},C=n(77213),N=n(58754),f=()=>(0,i.jsxs)(C.Z,{title:"User Management",children:[(0,i.jsx)(N.Z,{heading:"Users",breadcrumbItems:[{title:"All users"}]}),(0,i.jsx)(w,{}),(0,i.jsx)(T,{})]})}},function(e){e.O(0,[3513,2888,9774,179],function(){return e(e.s=7873)}),_N_E=e.O()}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
.ActivityTimelineEntry_container__tCva0{border:1px solid transparent;transition:border-color .2s ease-in-out}.ActivityTimelineEntry_container--open__1d9mA,.ActivityTimelineEntry_container__tCva0:hover{border-color:var(--fidesui-neutral-100);border-radius:6px}.ActivityTimelineEntry_itemButton__MlmWS{display:block;width:100%;border:1px solid transparent;border-radius:6px;transition:border-color .2s ease-in-out;margin-bottom:20px;padding:12px 20px;text-align:left;background:transparent}.ActivityTimelineEntry_itemButton--comment__g98SH,.ActivityTimelineEntry_itemButton--error__UizD2,.ActivityTimelineEntry_itemButton__MlmWS:hover{border-color:var(--fidesui-neutral-100)}.ActivityTimelineEntry_itemButton__MlmWS:focus-visible{border-color:var(--fidesui-neutral-700)}.ActivityTimelineEntry_itemButton--error__UizD2,.ActivityTimelineEntry_itemButton--error__UizD2:focus,.ActivityTimelineEntry_itemButton--error__UizD2:hover{border-left:8px solid var(--fidesui-error)}.ActivityTimelineEntry_header__GYibj{width:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ActivityTimelineEntry_title__rm_g0{font-weight:600}.ActivityTimelineEntry_title--error__fOi0s{color:var(--fidesui-error)}.ActivityTimelineEntry_timestamp__uMEMT{color:var(--fidesui-neutral-700)}.ActivityTimelineEntry_viewLogs___T4jN{color:var(--fidesui-link)}.ActivityTimelineEntry_logs__T7R0J{height:0;overflow:hidden;transition:height .2s ease-in-out;box-sizing:border-box;padding:0 20px}.ActivityTimelineEntry_logs--open__o_9Io{height:auto;margin-top:20px;margin-bottom:20px}.RequestDetailsRow_value__WMXn3{color:var(--fidesui-minos)}.RequestDetailsRow_label__dn3CQ{color:var(--fidesui-neutral-700)}
|
@@ -1 +0,0 @@
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,p,u,f,g,m,b,j,k,h,y,l,v,I,F,x,_,U,w,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O,Q,R,V,W,X){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[U,"static/chunks/pages/index-2e6ba5382358fcf8.js"],"/404":["static/chunks/pages/404-e868487119cd14fc.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[e,U,"static/chunks/pages/add-systems-0234733a90ed5127.js"],"/add-systems/manual":[s,t,c,n,i,j,e,a,o,p,k,v,w,q,"static/chunks/pages/add-systems/manual-1292fd216f2839c7.js"],"/add-systems/multiple":[s,t,e,a,o,h,N,"static/chunks/pages/add-systems/multiple-2ffc37614e9d1fa9.js"],"/consent":["static/chunks/pages/consent-dd2a0e3b536b8b42.js"],"/consent/configure":[s,t,e,a,o,h,"static/chunks/pages/consent/configure-2ba21b95aa3bb15e.js"],"/consent/configure/add-vendors":[s,t,e,a,o,h,N,"static/chunks/pages/consent/configure/add-vendors-c8033d6560635046.js"],"/consent/privacy-experience":[s,t,j,e,a,A,"static/chunks/pages/consent/privacy-experience-fd71fb440dbe60e4.js"],"/consent/privacy-experience/new":[c,n,g,S,d,y,B,"static/chunks/pages/consent/privacy-experience/new-7f38473ce267348a.js"],"/consent/privacy-experience/[id]":[c,n,g,S,d,y,B,"static/chunks/pages/consent/privacy-experience/[id]-94391554a7607c5b.js"],"/consent/privacy-notices":[s,t,e,a,A,"static/chunks/pages/consent/privacy-notices-5a63fc903408412e.js"],"/consent/privacy-notices/new":[c,n,g,C,d,y,z,"static/chunks/pages/consent/privacy-notices/new-fa7f0d2639e12a5a.js"],"/consent/privacy-notices/[id]":[c,n,g,C,d,y,z,"static/chunks/pages/consent/privacy-notices/[id]-596dd2a35b455f21.js"],"/consent/properties":[s,t,e,a,D,"static/chunks/pages/consent/properties-5960170d492acb03.js"],"/consent/reporting":[s,t,c,e,a,"static/chunks/pages/consent/reporting-80bd51f8217edae4.js"],"/data-catalog":[s,t,c,n,i,e,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-4dbc71d8be9765f3.js"],"/data-catalog/[systemId]/projects":[s,t,c,n,i,e,a,m,r,"static/chunks/pages/data-catalog/[systemId]/projects-6971531bb09dff3a.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,t,e,a,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a10a0f3e6592f350.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,t,c,n,i,e,a,u,m,L,r,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-18e3faf7963962e4.js"],"/data-catalog/[systemId]/resources":[s,t,e,a,E,"static/chunks/pages/data-catalog/[systemId]/resources-51d99174c8006eb5.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,t,c,n,i,e,a,u,m,L,r,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-7320524a47104798.js"],"/data-discovery/action-center":[s,t,e,a,"static/chunks/pages/data-discovery/action-center-dbc8c95c22b9f2aa.js"],"/data-discovery/action-center/[monitorId]":[s,t,c,n,i,e,a,M,I,"static/chunks/pages/data-discovery/action-center/[monitorId]-07ff657ee49e5742.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,t,c,n,i,e,a,o,v,M,"static/css/81642473e38c67a5.css","static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-67ddc090cf949af4.js"],"/data-discovery/activity":[s,t,e,a,"static/chunks/pages/data-discovery/activity-db3853a09933097a.js"],"/data-discovery/detection":[s,t,e,a,u,l,T,"static/chunks/pages/data-discovery/detection-6f27dbb7c8edc69d.js"],"/data-discovery/detection/[resourceUrn]":[s,t,e,a,u,l,T,"static/chunks/pages/data-discovery/detection/[resourceUrn]-4c526db0c30c488a.js"],"/data-discovery/discovery":[s,t,c,n,i,e,a,u,m,l,P,r,"static/chunks/pages/data-discovery/discovery-fe7f51502eda57c9.js"],"/data-discovery/discovery/[resourceUrn]":[s,t,c,n,i,e,a,u,m,l,P,r,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-562d2b8ae90dd1f0.js"],"/datamap":[s,t,"static/chunks/255-7db55b0e3a0f9dea.js",e,a,p,k,G,"static/chunks/pages/datamap-3aaa99709d83a1f6.js"],"/dataset":[s,t,f,e,a,b,"static/chunks/pages/dataset-9d29dd6cf109891d.js"],"/dataset/new":[f,b,"static/chunks/pages/dataset/new-157b00d23b651d12.js"],"/dataset/[datasetId]":[s,t,"static/chunks/9729-fcf6ff4e3534e4a8.js",e,a,F,"static/chunks/pages/dataset/[datasetId]-3f564c8d6cfb03d4.js"],"/dataset/[datasetId]/[collectionName]":[s,t,c,n,i,x,e,a,F,r,"static/chunks/pages/dataset/[datasetId]/[collectionName]-f12df2140e309dfb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,t,c,n,i,x,e,a,F,r,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-c08363922838022a.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-9fc15228581786e6.js"],"/datastore-connection/new":[f,j,b,H,"static/chunks/pages/datastore-connection/new-b01f89d250ff52af.js"],"/datastore-connection/[id]":[f,b,H,"static/chunks/pages/datastore-connection/[id]-b078218865a8fd28.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",c,n,i,f,x,J,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[c,n,i,"static/chunks/6834-dcda0a8ed484775e.js",K,"static/chunks/pages/integrations-d69c9f1007e76046.js"],"/integrations/[id]":[s,t,c,n,i,e,a,K,"static/css/92c81f666644c594.css","static/chunks/pages/integrations/[id]-43abc599f0768331.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,t,c,n,i,e,a,"static/chunks/pages/messaging-71166bf207804754.js"],"/messaging/add-template":[d,O,"static/chunks/pages/messaging/add-template-c41f368fb6b35de4.js"],"/messaging/[id]":[d,O,"static/chunks/pages/messaging/[id]-111b07344f1ee9e4.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-3dabaf6828acb2cb.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-784081c774042249.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-63905f2382f158cd.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-43f6eab28eae7b56.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-e4a07abc908fc9b5.js"],"/poc/form-experiments/FormikSpreadField":[Q,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[Q,"static/chunks/pages/poc/forms-71a3bfb94280fc49.js"],"/poc/table-migration":[o,h,"static/chunks/pages/poc/table-migration-fec150afcfeb3fb5.js"],"/privacy-requests":[s,t,e,a,R,"static/chunks/pages/privacy-requests-6baa485385ce0678.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-42213855a0a8c209.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-35e58b5ed6b12b2b.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-bb02092af39446da.js"],"/privacy-requests/[id]":[R,"static/css/5ded47c57dae5baf.css","static/chunks/pages/privacy-requests/[id]-2862630f0e9e484b.js"],"/properties":[s,t,e,a,D,"static/chunks/pages/properties-4a5e8ec41574c6b5.js"],"/properties/add-property":[d,V,"static/chunks/pages/properties/add-property-a7de6f8409a76358.js"],"/properties/[id]":[d,V,"static/chunks/pages/properties/[id]-d547a1da0b74f00f.js"],"/reporting/datamap":[s,t,c,n,i,J,e,a,p,k,G,"static/chunks/pages/reporting/datamap-707551df97d5eebd.js"],"/settings/about":["static/chunks/pages/settings/about-704fc28e61b17247.js"],"/settings/consent":["static/chunks/pages/settings/consent-2fd6b0ff9b6741fc.js"],"/settings/consent/[configuration_id]/[purpose_id]":[s,t,e,a,"static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e4df123bef1ff2b1.js"],"/settings/custom-fields":[s,t,e,a,p,"static/chunks/pages/settings/custom-fields-3a829c53d5d723d2.js"],"/settings/domain-records":[s,t,e,a,"static/chunks/pages/settings/domain-records-92e8246170b492b5.js"],"/settings/domains":["static/chunks/pages/settings/domains-f0e9ee8756a65540.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-a4771098466af1ed.js"],"/settings/locations":[s,W,I,"static/chunks/pages/settings/locations-4194ce716b81480d.js"],"/settings/organization":["static/chunks/pages/settings/organization-b235f961f9ca39a6.js"],"/settings/regulations":[s,W,I,"static/chunks/pages/settings/regulations-8cff97fe57f42ed3.js"],"/systems":[s,t,e,a,"static/chunks/pages/systems-45990d85a4c5739b.js"],"/systems/configure/[id]":[s,t,c,n,i,j,e,a,o,p,k,v,w,q,"static/chunks/pages/systems/configure/[id]-01006a55ac873135.js"],"/systems/configure/[id]/test-datasets":[f,b,"static/chunks/pages/systems/configure/[id]/test-datasets-99cd1a12ae0373b0.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",c,n,i,g,"static/chunks/570-c99f07161bd339cd.js",p,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-ec739e169cd5eafe.js"],"/user-management":[_,"static/chunks/pages/user-management-592e497369673e1a.js"],"/user-management/new":[_,X,"static/chunks/pages/user-management/new-b124cc24b930c9e1.js"],"/user-management/profile/[id]":[_,X,"static/chunks/pages/user-management/profile/[id]-603c2bdbd8dc00ca.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/7553-0f3e9e7eaf1a8b62.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-9357e3930d35073b.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/chunks/69-ef4c11c574b4e6dd.js","static/chunks/401-a882199f6c94a4dc.js","static/css/d2d4e9a6923e6730.css","static/chunks/7980-041df432c4d3a68b.js","static/chunks/2310-6a5fb2f76f7b6491.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/1099-b652e6f9a0cd778b.js","static/chunks/9327-b691be8352e31b58.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-06ab15acbfec037c.js","static/chunks/3923-c6dcaeaa3267f254.js","static/chunks/6277-db781b6c1dde3c84.js","static/chunks/9494-d1fd4fb83c3d4836.js","static/chunks/3426-77fccf2c9a5e10cd.js","static/css/eb46b504bb5d980d.css","static/chunks/5487-218e4847b8250fbb.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/3513-293b1e54699cf3e7.js","static/css/972dc7eef106ee7c.css","static/chunks/9965-92f4a28823a5e623.js","static/css/92fc10cc7ed1aba3.css","static/chunks/796-7424eb6391142ccd.js","static/chunks/6853-348fe2ba132b400c.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-d2543e460cec0dcb.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-04030a21a0c8cf5a.js","static/chunks/79-d877d3bde220da44.js","static/chunks/3872-99da5bb6140ff810.js","static/chunks/3119-b5e40d8d24af1e79.js","static/chunks/1327-da0303f70d12fb20.js","static/chunks/5683-3d5c4194b1b1493e.js","static/chunks/1904-25e5d4f1b8146fb3.js","static/chunks/5258-49e73e5998c01254.js","static/chunks/9767-f8ea7d0127f81294.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-d776c0029db45971.js","static/chunks/1100-e19e94b0a6486255.js","static/chunks/2921-771dc5d9e95dc6b4.js","static/chunks/8433-755359b501d32eaa.js","static/chunks/4060-c657e58514e91e91.js","static/chunks/3505-313087fc1744a0ca.js","static/chunks/4121-ec1d8faa3cf5783c.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
@@ -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/1b227ba7eabbfe2f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/1b227ba7eabbfe2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-3a61b934ba2fb620.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-94950df9c97cd079.js" defer=""></script><script src="/_next/static/chunks/401-a882199f6c94a4dc.js" defer=""></script><script src="/_next/static/chunks/3923-c6dcaeaa3267f254.js" defer=""></script><script src="/_next/static/chunks/pages/poc/table-migration-fec150afcfeb3fb5.js" defer=""></script><script src="/_next/static/ulYEH5vwbFjKDz3nI321R/_buildManifest.js" defer=""></script><script src="/_next/static/ulYEH5vwbFjKDz3nI321R/_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":"/poc/table-migration","query":{},"buildId":"ulYEH5vwbFjKDz3nI321R","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
|
/fides/ui-build/static/admin/_next/static/chunks/{69-ef4c11c574b4e6dd.js → 69-dc52e39d26a4ad14.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
|