ethyca-fides 2.59.1rc0__py2.py3-none-any.whl → 2.59.2b1__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.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/METADATA +2 -2
- {ethyca_fides-2.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/RECORD +202 -198
- fides/_version.py +3 -3
- fides/api/alembic/migrations/versions/c9c72b3d550b_data_migration_cookie_asset.py +218 -0
- fides/api/api/v1/endpoints/storage_endpoints.py +5 -4
- fides/api/db/system.py +1 -121
- fides/api/models/asset.py +1 -2
- fides/api/models/fides_user.py +1 -0
- fides/api/models/privacy_notice.py +14 -19
- fides/api/models/sql_models.py +0 -51
- fides/api/schemas/application_config.py +1 -0
- fides/api/schemas/connection_configuration/connection_secrets_datahub.py +3 -3
- fides/api/schemas/connection_configuration/connection_secrets_postgres.py +7 -7
- fides/api/schemas/messaging/messaging.py +9 -2
- fides/api/schemas/storage/storage.py +35 -1
- fides/api/schemas/storage/storage_secrets_docs_only.py +8 -2
- fides/api/schemas/system.py +1 -2
- fides/api/service/connectors/postgres_connector.py +1 -0
- fides/api/service/storage/gcs.py +38 -0
- fides/api/service/storage/storage_authenticator_service.py +28 -0
- fides/api/service/storage/storage_uploader_service.py +25 -1
- fides/api/tasks/storage.py +45 -1
- fides/api/util/storage_util.py +2 -0
- fides/service/messaging/aws_ses_service.py +25 -16
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/4ZsbAUsCLedx18AUPZCUU/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/146-106021bf1ae6e912.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1817-6abbe957a53026d7.js → 1817-11bb237f57d9ad27.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{1904-281183a117e26585.js → 1904-3c40738cb0fd2a7c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{2479-b4f7a1c7c711cb65.js → 2479-50f431c0e2c0de3c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3244-4b76482dcc5d576f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3702-3d814671c31eaca3.js → 3702-31d37a0217f82615.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3855-237afbbea7f54707.js → 3855-da54ef27afd56c46.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-c53d74aebd12cfd3.js → 3872-68b4ceba8f632bc0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/401-49cdd118a89cc343.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4060-bad5f07013c7bb49.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4121-476f657b03a78965.js → 4121-4914fb77e60d31f4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/4481-7a992683e9191bc9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5480-1623dbacdf4e6794.js → 5480-d177a83facd21738.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5487-9a2aecb0ec63d567.js → 5487-22de631f1d186527.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5973-1020589bef6dd253.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6277-c46c9eb59177b850.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6372-2aee10b79089521a.js → 6372-0ca1b9521b5489fd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-7d7eb22f19d3806c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6954-127745bfdc5bc0b3.js → 6954-981a8a444780bedb.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7751-3913b8c055f599e5.js → 7751-09c6424d673d8aa4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-77cfed02164241ca.js → 79-7ca48fb1a0b52f96.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9572-8f5947db1a6da260.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9767-162b0f8524990149.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9951-66aad0602aadfbe2.js → 9951-8ceba69296972ce9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-13a604eb8d39dffc.js → _app-fc9e922ec354be47.js} +46 -46
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-a8c51c7bdbb405e2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-78de4bde88e18b0f.js → [id]-7122d8a8c20e7cd2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-c02b14c50b19bd91.js → new-300fd2800c417d0b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-85ddbe3ae50c7527.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-75c2ed6ba3de48cd.js → [id]-5a9269aa00a16596.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-487ae57dc7e2ded2.js → new-78808c75ba86c0be.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-65091908d6296afc.js → privacy-notices-047c409bc5e12d1a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-01d1371e690ae190.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-d08a38d4f198691a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/{[systemId]-6b3d1fe762c747d8.js → [systemId]-cc5431e4fbd6d39e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/{[monitorId]-61eafb8444bffb76.js → [monitorId]-f073ddcfb916988e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-e7869f658e3017b9.js → activity-73025c2ac5a00347.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-5aff1d01c6c30ad6.js → new-f3a6dd67f012b005.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-f4d57b3432c57112.js → dataset-3b703775de1ca75e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-b2b1168d0361baa8.js → [id]-b905c75f68786c2f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-c804349a417a888b.js → new-abd92bec98bdbb66.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-0faa9b3c4555e585.js → datastore-connection-52c3f076edb49944.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-e72904e316ede1b0.js → index-1bccf315f995267a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-afcf73fd0337dde0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-2ce76b506ba8404a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-54ea39f203182c53.js → [id]-2fc14bda8d314449.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-3219ddeb37d46398.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-8e17802ab6b2d3fd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-9d71495b42f34038.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-a36cf070c98a6cbd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-7986cf3b36456353.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-f6d6e3d9d556387c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-e6c477f2ac098e0b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-255655d6c367faad.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-c01d24583e9485f0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-0b47ff26897c1d9a.js → test-datasets-d5f777510ab8dfd2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-820893393f1516ee.js → systems-e9a111ef0c32161e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-517419b35435604a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-d527d1d1635541df.js → [id]-32ec340d4b390d07.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-facb8c0128a44cb1.js → user-management-c8ca51efbeccf39b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-01277b766c8eb076.js +1 -0
- fides/ui-build/static/admin/_next/static/css/72caf4a266697967.css +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/ant-poc.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/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 -0
- 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/ui-build/static/admin/_next/static/chunks/1376-92890c17ce39ca0d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/146-d1820217dc36d46d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3244-3d94bf3393366412.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/401-50974f107c2712fc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4060-52fd85fb1e15a2b8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4481-288d74a33473cff7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5973-2db5181149073311.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-ca5dacd25c9ccb7c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9572-2b9b10e146130c85.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9767-bf415d0daea960cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-a6926f7ec7ad10cf.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-7eeeee3769e73f78.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-7a1976c0d1aca8b6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-75989f9732d90793.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-59d30d48fcae067c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-373fb3a596099fc9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-d889076067104e56.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-3355b4803b2916f3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-3ac47981f1e2b0aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-fe743440d7eb007b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-cdc866af93898716.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-a7dc8113067dff42.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-2f03e981234c40ad.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-5bcc7a6976e01a56.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-8fccd670220dbf60.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-03e375f6d6b2c71b.js +0 -1
- fides/ui-build/static/admin/_next/static/css/687135955af5b7e1.css +0 -1
- fides/ui-build/static/admin/_next/static/rE0VXR2bXlzSJjVNbhHjr/_buildManifest.js +0 -1
- {ethyca_fides-2.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.59.1rc0.dist-info → ethyca_fides-2.59.2b1.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{rE0VXR2bXlzSJjVNbhHjr → 4ZsbAUsCLedx18AUPZCUU}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{1100-45c0634b4f51d10c.js → 1100-22c375e757f23150.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{3086-d1ba90bc6ac9174b.js → 3086-ffd15c92ea81b3d6.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5102-626b9ff42e904276.js → 5102-3acf312a8f0d7720.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{5826-1f4f74bf3b5348e4.js → 5826-226c8843e715b6ad.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{6395-4224d6d26d1e8bb7.js → 6395-04041b53946664b1.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{8433-c4c765833ab9cc07.js → 8433-dd6d8dae02275d66.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{8934-ffa2b0509bc7a845.js → 8934-6881185f0c5c0f6d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9282-1a48b10b114d01f4.js → 9282-23b38e03f897722f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/{9327-4970d356f7000c0b.js → 9327-fb7ef941b5176077.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{404-29560aa2e6a60963.js → 404-a3c57a06ff67cf1f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-58e9256e86916ecd.js → manual-c4c0c42bbe0f5548.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-2392e3a101fae073.js → multiple-93907c53f342831f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{ant-poc-404f3c9018952800.js → ant-poc-8fcf312148606e7e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-7dfe37b9f0ff9a3c.js → add-vendors-5e83ee7792c0f75f.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-dba7848b760ba227.js → configure-ea7b2c628260c84c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-f67fda6a71d0a46b.js → properties-893753088b9729a3.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-75395dfc224cf44b.js → consent-7e5adfec9134a268.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-fa65c67ec8c4b5e6.js → [projectUrn]-4b2c10ff79e46e50.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-e76a07ee6ee8d55f.js → projects-05bbb01e37766b80.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-38476c697da53480.js → action-center-cf48ed7dc04c3af2.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-423172d31de8e9c6.js → datamap-6c63a6295668ed4e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-704553f5329fb9d4.js → [...subfieldNames]-7a99a6c5c2fc2abe.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-06c19dca941edb14.js → [collectionName]-39aab1de4df0660d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-eac517f43d5f53a8.js → [datasetId]-2cf04998a7521a7d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-66f5fbadd8455805.js → [id]-8950b4aff799099c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-d441abb1f045940f.js → add-template-4cad85d5b6d52734.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-eef56c95b08aa24c.js → messaging-57c7aa44af163623.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-b8c94b10ab90b061.js → configure-d8d23d06ce1d9dae.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-f4fb941df069b7bf.js → [id]-6cca2c8ebbff78aa.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-bccb6ffab25aa214.js → add-property-f09f98007725fa51.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{properties-9a7ac623370b7c00.js → properties-9034bab3d7200d9b.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-4412a7b468b6d4bf.js → about-92dada8329e89092.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-d9088f5cd9fb2822.js → domain-records-368a4183139ea5e0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-cf09ad896c7396a6.js → email-templates-e4498b6310074705.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-759564ca0ae62840.js → locations-18f56b6b76abb71d.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-2dce4501fca920b3.js → regulations-0350314337abff11.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-dd053a3bf2a9ca6c.js → [id]-022910a52efbad76.js} +0 -0
@@ -61,6 +61,20 @@ class StorageDetailsS3(FileBasedStorageDetails):
|
|
61
61
|
model_config = ConfigDict(use_enum_values=True)
|
62
62
|
|
63
63
|
|
64
|
+
class GCSAuthMethod(str, Enum):
|
65
|
+
ADC = "adc" # Application Default Credentials
|
66
|
+
SERVICE_ACCOUNT_KEYS = "service_account_keys"
|
67
|
+
|
68
|
+
|
69
|
+
class StorageDetailsGCS(FileBasedStorageDetails):
|
70
|
+
"""The details required to represent a Google Cloud Storage bucket."""
|
71
|
+
|
72
|
+
auth_method: GCSAuthMethod
|
73
|
+
bucket: str
|
74
|
+
max_retries: Optional[int] = 0
|
75
|
+
model_config = ConfigDict(use_enum_values=True)
|
76
|
+
|
77
|
+
|
64
78
|
class StorageDetailsLocal(FileBasedStorageDetails):
|
65
79
|
"""The details required to configurate local storage configuration"""
|
66
80
|
|
@@ -87,6 +101,23 @@ class StorageSecretsS3(BaseModel):
|
|
87
101
|
model_config = ConfigDict(extra="forbid")
|
88
102
|
|
89
103
|
|
104
|
+
class StorageSecretsGCS(BaseModel):
|
105
|
+
"""The secrets required to connect to a Google Cloud Storage bucket."""
|
106
|
+
|
107
|
+
type: str = "service_account"
|
108
|
+
project_id: str
|
109
|
+
private_key_id: str
|
110
|
+
private_key: str
|
111
|
+
client_email: str
|
112
|
+
client_id: str
|
113
|
+
auth_uri: str
|
114
|
+
token_uri: str
|
115
|
+
auth_provider_x509_cert_url: str
|
116
|
+
client_x509_cert_url: str
|
117
|
+
universe_domain: str
|
118
|
+
model_config = ConfigDict(extra="forbid")
|
119
|
+
|
120
|
+
|
90
121
|
class StorageType(Enum):
|
91
122
|
"""Enum for storage destination types"""
|
92
123
|
|
@@ -99,6 +130,7 @@ class StorageType(Enum):
|
|
99
130
|
|
100
131
|
FULLY_CONFIGURED_STORAGE_TYPES = (
|
101
132
|
StorageType.s3,
|
133
|
+
StorageType.gcs,
|
102
134
|
) # storage types that are considered "fully configured"
|
103
135
|
|
104
136
|
|
@@ -108,6 +140,7 @@ class StorageDestinationBase(BaseModel):
|
|
108
140
|
type: StorageType
|
109
141
|
details: Union[
|
110
142
|
StorageDetailsS3,
|
143
|
+
StorageDetailsGCS,
|
111
144
|
StorageDetailsLocal,
|
112
145
|
] = Field(validate_default=True)
|
113
146
|
format: Optional[ResponseFormat] = ResponseFormat.json.value # type: ignore
|
@@ -145,6 +178,7 @@ class StorageDestinationBase(BaseModel):
|
|
145
178
|
try:
|
146
179
|
schema = {
|
147
180
|
StorageType.s3.value: StorageDetailsS3,
|
181
|
+
StorageType.gcs.value: StorageDetailsGCS,
|
148
182
|
StorageType.local.value: StorageDetailsLocal,
|
149
183
|
}[storage_type]
|
150
184
|
except KeyError:
|
@@ -209,7 +243,7 @@ class BulkPutStorageConfigResponse(BulkResponse):
|
|
209
243
|
failed: List[BulkUpdateFailed] = []
|
210
244
|
|
211
245
|
|
212
|
-
SUPPORTED_STORAGE_SECRETS = StorageSecretsS3
|
246
|
+
SUPPORTED_STORAGE_SECRETS = Union[StorageSecretsS3, StorageSecretsGCS]
|
213
247
|
|
214
248
|
|
215
249
|
class StorageConfigStatus(Enum):
|
@@ -1,9 +1,15 @@
|
|
1
|
+
from typing import Union
|
2
|
+
|
1
3
|
from fides.api.schemas.base_class import NoValidationSchema
|
2
|
-
from fides.api.schemas.storage.storage import StorageSecretsS3
|
4
|
+
from fides.api.schemas.storage.storage import StorageSecretsGCS, StorageSecretsS3
|
3
5
|
|
4
6
|
|
5
7
|
class StorageSecretsS3Docs(StorageSecretsS3, NoValidationSchema):
|
6
8
|
"""The secrets required to connect to S3, for documentation"""
|
7
9
|
|
8
10
|
|
9
|
-
|
11
|
+
class StorageSecretsGCSDocs(StorageSecretsGCS, NoValidationSchema):
|
12
|
+
"""The secrets required to connect to Google Cloud Storage, for documentation"""
|
13
|
+
|
14
|
+
|
15
|
+
possible_storage_secrets = Union[StorageSecretsS3Docs, StorageSecretsGCSDocs]
|
fides/api/schemas/system.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
from datetime import datetime
|
2
2
|
from typing import Any, Dict, List, Optional, Sequence
|
3
3
|
|
4
|
-
from fideslang.models import
|
4
|
+
from fideslang.models import PrivacyDeclaration, System
|
5
5
|
from pydantic import ConfigDict, Field
|
6
6
|
from pydantic.main import BaseModel
|
7
7
|
|
@@ -17,7 +17,6 @@ class PrivacyDeclarationResponse(PrivacyDeclaration):
|
|
17
17
|
id: str = Field(
|
18
18
|
description="The database-assigned ID of the privacy declaration on the system. This is meant to be a read-only field, returned only in API responses"
|
19
19
|
)
|
20
|
-
cookies: Optional[List[Cookies]] = []
|
21
20
|
|
22
21
|
|
23
22
|
class BasicSystemResponse(System):
|
@@ -69,6 +69,7 @@ class PostgreSQLConnector(SQLConnector):
|
|
69
69
|
uri = self.build_ssh_uri(local_address=self.ssh_server.local_bind_address)
|
70
70
|
else:
|
71
71
|
uri = (self.configuration.secrets or {}).get("url") or self.build_uri()
|
72
|
+
|
72
73
|
return create_engine(
|
73
74
|
uri,
|
74
75
|
hide_parameters=self.hide_parameters,
|
@@ -0,0 +1,38 @@
|
|
1
|
+
from typing import Dict, Optional
|
2
|
+
|
3
|
+
from google.cloud.storage import Client # type: ignore
|
4
|
+
from google.oauth2 import service_account
|
5
|
+
from loguru import logger
|
6
|
+
|
7
|
+
from fides.api.common_exceptions import StorageUploadError
|
8
|
+
from fides.api.schemas.storage.storage import GCSAuthMethod
|
9
|
+
|
10
|
+
|
11
|
+
def get_gcs_client(
|
12
|
+
auth_method: str,
|
13
|
+
storage_secrets: Optional[Dict],
|
14
|
+
) -> Client:
|
15
|
+
"""
|
16
|
+
Abstraction to retrieve a GCS client using secrets.
|
17
|
+
"""
|
18
|
+
if auth_method == GCSAuthMethod.ADC.value:
|
19
|
+
storage_client = Client()
|
20
|
+
|
21
|
+
elif auth_method == GCSAuthMethod.SERVICE_ACCOUNT_KEYS.value:
|
22
|
+
if not storage_secrets:
|
23
|
+
err_msg = "Storage secrets not found for Google Cloud Storage."
|
24
|
+
logger.warning(err_msg)
|
25
|
+
raise StorageUploadError(err_msg)
|
26
|
+
|
27
|
+
credentials = service_account.Credentials.from_service_account_info(
|
28
|
+
dict(storage_secrets)
|
29
|
+
)
|
30
|
+
storage_client = Client(credentials=credentials)
|
31
|
+
|
32
|
+
else:
|
33
|
+
logger.error("Google Cloud Storage auth method not supported: {}", auth_method)
|
34
|
+
raise ValueError(
|
35
|
+
f"Google Cloud Storage auth method not supported: {auth_method}"
|
36
|
+
)
|
37
|
+
|
38
|
+
return storage_client
|
@@ -1,6 +1,10 @@
|
|
1
1
|
from typing import Any, Dict, Union
|
2
2
|
|
3
3
|
from botocore.exceptions import ClientError
|
4
|
+
from google.auth.exceptions import GoogleAuthError
|
5
|
+
from google.auth.transport.requests import Request
|
6
|
+
from google.oauth2 import service_account
|
7
|
+
from loguru import logger
|
4
8
|
|
5
9
|
from fides.api.schemas.storage.storage import (
|
6
10
|
SUPPORTED_STORAGE_SECRETS,
|
@@ -37,8 +41,32 @@ def _s3_authenticator(secrets: Dict[StorageSecrets, Any]) -> bool:
|
|
37
41
|
return False
|
38
42
|
|
39
43
|
|
44
|
+
def _gcs_authenticator(secrets: Dict) -> bool:
|
45
|
+
"""Autenticates secrets for Google Cloud Storage, returns true if secrets are valid"""
|
46
|
+
try:
|
47
|
+
credentials = service_account.Credentials.from_service_account_info(
|
48
|
+
dict(secrets),
|
49
|
+
scopes=["https://www.googleapis.com/auth/devstorage.read_only"],
|
50
|
+
)
|
51
|
+
# To validate the credentials, it is necessary to make a request to Google Cloud API
|
52
|
+
credentials.refresh(Request())
|
53
|
+
return True
|
54
|
+
|
55
|
+
except GoogleAuthError as auth_error:
|
56
|
+
logger.warning(
|
57
|
+
"Google authentication error trying to authenticate GCS secrets: {}",
|
58
|
+
auth_error,
|
59
|
+
)
|
60
|
+
return False
|
61
|
+
|
62
|
+
except Exception as e:
|
63
|
+
logger.warning("Unexpected error authenticating GCS secrets: {}", e)
|
64
|
+
return False
|
65
|
+
|
66
|
+
|
40
67
|
def _get_authenticator_from_config(storage_type: StorageType) -> Any:
|
41
68
|
"""Determines which uploader method to use based on storage type"""
|
42
69
|
return {
|
43
70
|
StorageType.s3.value: _s3_authenticator,
|
71
|
+
StorageType.gcs.value: _gcs_authenticator,
|
44
72
|
}[storage_type.value]
|
@@ -14,7 +14,7 @@ from fides.api.schemas.storage.storage import (
|
|
14
14
|
StorageDetails,
|
15
15
|
StorageType,
|
16
16
|
)
|
17
|
-
from fides.api.tasks.storage import upload_to_local, upload_to_s3
|
17
|
+
from fides.api.tasks.storage import upload_to_gcs, upload_to_local, upload_to_s3
|
18
18
|
|
19
19
|
|
20
20
|
def upload(
|
@@ -78,6 +78,7 @@ def _get_uploader_from_config_type(storage_type: StorageType) -> Any:
|
|
78
78
|
return {
|
79
79
|
StorageType.s3.value: _s3_uploader,
|
80
80
|
StorageType.local.value: _local_uploader,
|
81
|
+
StorageType.gcs.value: _gcs_uploader,
|
81
82
|
}[storage_type.value]
|
82
83
|
|
83
84
|
|
@@ -106,6 +107,29 @@ def _s3_uploader(
|
|
106
107
|
)
|
107
108
|
|
108
109
|
|
110
|
+
def _gcs_uploader(
|
111
|
+
_: Session,
|
112
|
+
config: StorageConfig,
|
113
|
+
data: Dict,
|
114
|
+
privacy_request: PrivacyRequest,
|
115
|
+
) -> str:
|
116
|
+
"""Constructs necessary info needed for Google Cloud Storage before calling upload"""
|
117
|
+
file_key: str = _construct_file_key(privacy_request.id, config)
|
118
|
+
|
119
|
+
bucket_name = config.details[StorageDetails.BUCKET.value]
|
120
|
+
auth_method = config.details[StorageDetails.AUTH_METHOD.value]
|
121
|
+
|
122
|
+
return upload_to_gcs(
|
123
|
+
config.secrets,
|
124
|
+
data,
|
125
|
+
bucket_name,
|
126
|
+
file_key,
|
127
|
+
config.format.value, # type: ignore
|
128
|
+
privacy_request,
|
129
|
+
auth_method,
|
130
|
+
)
|
131
|
+
|
132
|
+
|
109
133
|
def _local_uploader(
|
110
134
|
_: Session,
|
111
135
|
config: StorageConfig,
|
fides/api/tasks/storage.py
CHANGED
@@ -16,6 +16,7 @@ from fides.api.schemas.storage.storage import ResponseFormat, StorageSecrets
|
|
16
16
|
from fides.api.service.privacy_request.dsr_package.dsr_report_builder import (
|
17
17
|
DsrReportBuilder,
|
18
18
|
)
|
19
|
+
from fides.api.service.storage.gcs import get_gcs_client
|
19
20
|
from fides.api.service.storage.s3 import (
|
20
21
|
create_presigned_url_for_s3,
|
21
22
|
generic_upload_to_s3,
|
@@ -64,7 +65,7 @@ def encrypt_access_request_results(data: Union[str, bytes], request_id: str) ->
|
|
64
65
|
def write_to_in_memory_buffer(
|
65
66
|
resp_format: str, data: Dict[str, Any], privacy_request: PrivacyRequest
|
66
67
|
) -> BytesIO:
|
67
|
-
"""Write JSON/CSV data to in-memory file-like object to be passed to S3. Encrypt data if encryption key/nonce
|
68
|
+
"""Write JSON/CSV data to in-memory file-like object to be passed to S3 or GCS. Encrypt data if encryption key/nonce
|
68
69
|
has been cached for the given privacy request id
|
69
70
|
|
70
71
|
:param resp_format: str, should be one of ResponseFormat
|
@@ -157,6 +158,49 @@ def upload_to_s3( # pylint: disable=R0913
|
|
157
158
|
raise ValueError(f"The parameters you provided are incorrect: {e}")
|
158
159
|
|
159
160
|
|
161
|
+
def upload_to_gcs(
|
162
|
+
storage_secrets: Dict,
|
163
|
+
data: Dict,
|
164
|
+
bucket_name: str,
|
165
|
+
file_key: str,
|
166
|
+
resp_format: str,
|
167
|
+
privacy_request: PrivacyRequest,
|
168
|
+
auth_method: str,
|
169
|
+
) -> str:
|
170
|
+
"""Uploads access request data to a Google Cloud Storage bucket"""
|
171
|
+
logger.info("Starting Google Cloud Storage upload of {}", file_key)
|
172
|
+
|
173
|
+
try:
|
174
|
+
storage_client = get_gcs_client(auth_method, storage_secrets)
|
175
|
+
bucket = storage_client.bucket(bucket_name)
|
176
|
+
|
177
|
+
blob = bucket.blob(file_key)
|
178
|
+
in_memory_file = write_to_in_memory_buffer(resp_format, data, privacy_request)
|
179
|
+
content_type = {
|
180
|
+
ResponseFormat.json.value: "application/json",
|
181
|
+
ResponseFormat.csv.value: "application/zip",
|
182
|
+
ResponseFormat.html.value: "application/zip",
|
183
|
+
}
|
184
|
+
blob.upload_from_string(
|
185
|
+
in_memory_file.getvalue(), content_type=content_type[resp_format]
|
186
|
+
)
|
187
|
+
|
188
|
+
logger.info("File {} uploaded to {}", file_key, blob.public_url)
|
189
|
+
|
190
|
+
presigned_url = blob.generate_signed_url(
|
191
|
+
version="v4",
|
192
|
+
expiration=CONFIG.security.subject_request_download_link_ttl_seconds,
|
193
|
+
method="GET",
|
194
|
+
)
|
195
|
+
return presigned_url
|
196
|
+
except Exception as e:
|
197
|
+
logger.error(
|
198
|
+
"Encountered error while uploading and generating link for Google Cloud Storage object: {}",
|
199
|
+
e,
|
200
|
+
)
|
201
|
+
raise e
|
202
|
+
|
203
|
+
|
160
204
|
def upload_to_local(
|
161
205
|
data: Dict,
|
162
206
|
file_key: str,
|
fides/api/util/storage_util.py
CHANGED
@@ -6,6 +6,7 @@ from pydantic import ValidationError
|
|
6
6
|
|
7
7
|
from fides.api.schemas.storage.storage import (
|
8
8
|
SUPPORTED_STORAGE_SECRETS,
|
9
|
+
StorageSecretsGCS,
|
9
10
|
StorageSecretsS3,
|
10
11
|
StorageType,
|
11
12
|
)
|
@@ -31,6 +32,7 @@ def get_schema_for_secrets(
|
|
31
32
|
try:
|
32
33
|
schema = {
|
33
34
|
StorageType.s3: StorageSecretsS3,
|
35
|
+
StorageType.gcs: StorageSecretsGCS,
|
34
36
|
}[storage_type]
|
35
37
|
except KeyError:
|
36
38
|
raise ValueError(
|
@@ -97,27 +97,29 @@ class AWS_SES_Service:
|
|
97
97
|
|
98
98
|
def validate_email_and_domain_status(self) -> None:
|
99
99
|
"""
|
100
|
-
Validate that the email
|
100
|
+
Validate that either the email or domain (or both) are verified in SES.
|
101
101
|
"""
|
102
102
|
email = self.messaging_config_details.email_from
|
103
103
|
domain = self.messaging_config_details.domain
|
104
|
+
identities = list(filter(None, (email, domain)))
|
105
|
+
|
106
|
+
# Defensive code just in case, there should always be email_from or domain
|
107
|
+
if not identities:
|
108
|
+
raise AWS_SESException(
|
109
|
+
"No identity (email_from or domain) configured for SES validation."
|
110
|
+
)
|
104
111
|
|
105
112
|
ses_client = self.get_ses_client()
|
106
113
|
response = ses_client.get_identity_verification_attributes(
|
107
|
-
Identities=
|
108
|
-
)
|
109
|
-
email_status = (
|
110
|
-
response["VerificationAttributes"].get(email, {}).get("VerificationStatus")
|
111
|
-
)
|
112
|
-
domain_status = (
|
113
|
-
response["VerificationAttributes"].get(domain, {}).get("VerificationStatus")
|
114
|
+
Identities=identities
|
114
115
|
)
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
116
|
+
attributes = response.get("VerificationAttributes", {})
|
117
|
+
|
118
|
+
for identity in identities:
|
119
|
+
status = attributes.get(identity, {}).get("VerificationStatus")
|
120
|
+
if status != "Success":
|
121
|
+
logger.error(f"{identity} is not verified in SES.")
|
122
|
+
raise AWS_SESException(f"{identity} is not verified in SES.")
|
121
123
|
|
122
124
|
def send_email(
|
123
125
|
self,
|
@@ -127,13 +129,20 @@ class AWS_SES_Service:
|
|
127
129
|
) -> None:
|
128
130
|
"""
|
129
131
|
Send an email using AWS SES.
|
130
|
-
|
132
|
+
Either `email_from` or `domain` must be verified in SES.
|
131
133
|
"""
|
132
134
|
self.validate_email_and_domain_status()
|
133
135
|
ses_client = self.get_ses_client()
|
134
136
|
|
137
|
+
from_address = self.messaging_config_details.email_from
|
138
|
+
if not from_address:
|
139
|
+
# If there is no email_from, there is a domain, and the domain was verified against SES.
|
140
|
+
# When you verify a domain identity, you can send email from any subdomain or email address of the
|
141
|
+
# verified domain without having to verify each one individually.
|
142
|
+
from_address = f"noreply@{self.messaging_config_details.domain}"
|
143
|
+
|
135
144
|
ses_client.send_email(
|
136
|
-
Source=
|
145
|
+
Source=from_address,
|
137
146
|
Destination={"ToAddresses": [to.strip()]},
|
138
147
|
Message={
|
139
148
|
"Subject": {"Data": subject},
|
@@ -1 +1 @@
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/72caf4a266697967.css" as="style"/><link rel="stylesheet" href="/_next/static/css/72caf4a266697967.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-01277b766c8eb076.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-fc9e922ec354be47.js" defer=""></script><script src="/_next/static/chunks/pages/404-a3c57a06ff67cf1f.js" defer=""></script><script src="/_next/static/4ZsbAUsCLedx18AUPZCUU/_buildManifest.js" defer=""></script><script src="/_next/static/4ZsbAUsCLedx18AUPZCUU/_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":"/404","query":{},"buildId":"4ZsbAUsCLedx18AUPZCUU","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,t,e,a,c,n,i,d,o,r,u,g,p,f,b,j,k,h,m,y,l,v,I,_,U,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-1bccf315f995267a.js"],"/404":["static/chunks/pages/404-a3c57a06ff67cf1f.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-a8c51c7bdbb405e2.js"],"/add-systems/manual":[s,t,a,c,n,b,e,r,j,k,y,q,i,"static/chunks/pages/add-systems/manual-c4c0c42bbe0f5548.js"],"/add-systems/multiple":[s,t,e,r,l,x,"static/chunks/pages/add-systems/multiple-93907c53f342831f.js"],"/ant-poc":["static/chunks/pages/ant-poc-8fcf312148606e7e.js"],"/consent":["static/chunks/pages/consent-7e5adfec9134a268.js"],"/consent/configure":[s,t,e,r,l,"static/chunks/pages/consent/configure-ea7b2c628260c84c.js"],"/consent/configure/add-vendors":[s,t,e,r,l,x,"static/chunks/pages/consent/configure/add-vendors-5e83ee7792c0f75f.js"],"/consent/privacy-experience":[s,t,b,e,N,"static/chunks/pages/consent/privacy-experience-85ddbe3ae50c7527.js"],"/consent/privacy-experience/new":[a,c,g,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-300fd2800c417d0b.js"],"/consent/privacy-experience/[id]":[a,c,g,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-7122d8a8c20e7cd2.js"],"/consent/privacy-notices":[s,t,e,N,"static/chunks/pages/consent/privacy-notices-047c409bc5e12d1a.js"],"/consent/privacy-notices/new":[a,c,g,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-78808c75ba86c0be.js"],"/consent/privacy-notices/[id]":[a,c,g,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-5a9269aa00a16596.js"],"/consent/properties":[s,t,e,D,"static/chunks/pages/consent/properties-893753088b9729a3.js"],"/consent/reporting":[s,t,a,e,"static/chunks/pages/consent/reporting-01d1371e690ae190.js"],"/data-catalog":[s,t,a,c,n,e,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-d08a38d4f198691a.js"],"/data-catalog/[systemId]/projects":[s,t,a,c,n,e,p,v,i,"static/chunks/pages/data-catalog/[systemId]/projects-05bbb01e37766b80.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,t,e,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-4b2c10ff79e46e50.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,t,a,c,n,e,p,v,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,t,e,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,t,a,c,n,e,p,v,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,t,e,"static/chunks/pages/data-discovery/action-center-cf48ed7dc04c3af2.js"],"/data-discovery/action-center/[monitorId]":[s,t,a,c,n,e,o,k,"static/chunks/pages/data-discovery/action-center/[monitorId]-f073ddcfb916988e.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,t,a,c,n,e,o,r,k,y,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-cc5431e4fbd6d39e.js"],"/data-discovery/activity":[s,t,e,"static/chunks/pages/data-discovery/activity-73025c2ac5a00347.js"],"/data-discovery/detection":[s,t,e,o,m,M,"static/chunks/pages/data-discovery/detection-22f55dc12354b4c6.js"],"/data-discovery/detection/[resourceUrn]":[s,t,e,o,m,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-1bcaa606739ea1c5.js"],"/data-discovery/discovery":[s,t,a,c,n,e,o,p,m,S,i,"static/chunks/pages/data-discovery/discovery-853be75f08b9ab5c.js"],"/data-discovery/discovery/[resourceUrn]":[s,t,a,c,n,e,o,p,m,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-86111c25dc30ef2b.js"],"/datamap":[s,t,"static/chunks/255-7db55b0e3a0f9dea.js",e,j,T,"static/chunks/pages/datamap-6c63a6295668ed4e.js"],"/dataset":[s,t,u,e,f,"static/chunks/pages/dataset-3b703775de1ca75e.js"],"/dataset/new":[u,f,"static/chunks/pages/dataset/new-f3a6dd67f012b005.js"],"/dataset/[datasetId]":[s,t,"static/chunks/9729-fcf6ff4e3534e4a8.js",e,I,"static/chunks/pages/dataset/[datasetId]-2cf04998a7521a7d.js"],"/dataset/[datasetId]/[collectionName]":[s,t,a,c,n,_,e,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-39aab1de4df0660d.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,t,a,c,n,_,e,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-7a99a6c5c2fc2abe.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-52c3f076edb49944.js"],"/datastore-connection/new":[u,b,f,C,"static/chunks/pages/datastore-connection/new-abd92bec98bdbb66.js"],"/datastore-connection/[id]":[u,f,C,"static/chunks/pages/datastore-connection/[id]-b905c75f68786c2f.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,_,P,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[a,c,n,"static/chunks/6834-dcda0a8ed484775e.js",G,"static/chunks/pages/integrations-2ce76b506ba8404a.js"],"/integrations/[id]":[s,t,a,c,n,e,G,"static/css/92c81f666644c594.css","static/chunks/pages/integrations/[id]-afcf73fd0337dde0.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,t,a,c,n,e,"static/chunks/pages/messaging-57c7aa44af163623.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-4cad85d5b6d52734.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-8950b4aff799099c.js"],"/privacy-requests":[s,t,e,J,"static/chunks/pages/privacy-requests-9d71495b42f34038.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-d8d23d06ce1d9dae.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-3219ddeb37d46398.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-8e17802ab6b2d3fd.js"],"/privacy-requests/[id]":[a,c,n,J,"static/css/b89fc4b36b501cf6.css","static/chunks/pages/privacy-requests/[id]-2fc14bda8d314449.js"],"/properties":[s,t,e,D,"static/chunks/pages/properties-9034bab3d7200d9b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-f09f98007725fa51.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-6cca2c8ebbff78aa.js"],"/reporting/datamap":[s,t,a,c,n,P,e,j,T,"static/chunks/pages/reporting/datamap-a36cf070c98a6cbd.js"],"/settings/about":["static/chunks/pages/settings/about-92dada8329e89092.js"],"/settings/consent":["static/chunks/pages/settings/consent-f6d6e3d9d556387c.js"],"/settings/consent/[configuration_id]/[purpose_id]":[s,t,e,"static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-7986cf3b36456353.js"],"/settings/custom-fields":[s,t,e,"static/chunks/pages/settings/custom-fields-e6c477f2ac098e0b.js"],"/settings/domain-records":[s,t,e,"static/chunks/pages/settings/domain-records-368a4183139ea5e0.js"],"/settings/domains":["static/chunks/pages/settings/domains-255655d6c367faad.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-e4498b6310074705.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-18f56b6b76abb71d.js"],"/settings/organization":["static/chunks/pages/settings/organization-c01d24583e9485f0.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-0350314337abff11.js"],"/systems":[s,t,e,"static/chunks/pages/systems-e9a111ef0c32161e.js"],"/systems/configure/[id]":[s,t,a,c,n,b,e,o,r,j,k,y,q,i,"static/chunks/pages/systems/configure/[id]-022910a52efbad76.js"],"/systems/configure/[id]/test-datasets":[u,f,"static/chunks/pages/systems/configure/[id]/test-datasets-d5f777510ab8dfd2.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,g,"static/chunks/570-c99f07161bd339cd.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-517419b35435604a.js"],"/user-management":[U,"static/chunks/pages/user-management-c8ca51efbeccf39b.js"],"/user-management/new":[U,Q,"static/chunks/pages/user-management/new-082c3156175f9267.js"],"/user-management/profile/[id]":[U,Q,"static/chunks/pages/user-management/profile/[id]-32ec340d4b390d07.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/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]","/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/6060-cb1ab5be7067bf7b.js","static/chunks/4481-7a992683e9191bc9.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-23b38e03f897722f.js","static/chunks/6395-04041b53946664b1.js","static/chunks/401-49cdd118a89cc343.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-0ca1b9521b5489fd.js","static/chunks/9327-fb7ef941b5176077.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-8ceba69296972ce9.js","static/chunks/146-106021bf1ae6e912.js","static/chunks/6277-c46c9eb59177b850.js","static/chunks/3702-31d37a0217f82615.js","static/chunks/5102-3acf312a8f0d7720.js","static/chunks/8934-6881185f0c5c0f6d.js","static/chunks/7751-09c6424d673d8aa4.js","static/chunks/5487-22de631f1d186527.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-d177a83facd21738.js","static/css/972dc7eef106ee7c.css","static/chunks/3244-4b76482dcc5d576f.js","static/chunks/5826-226c8843e715b6ad.js","static/chunks/6853-7d7eb22f19d3806c.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-11bb237f57d9ad27.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-981a8a444780bedb.js","static/chunks/79-7ca48fb1a0b52f96.js","static/chunks/3872-68b4ceba8f632bc0.js","static/chunks/3855-da54ef27afd56c46.js","static/chunks/2479-50f431c0e2c0de3c.js","static/chunks/1904-3c40738cb0fd2a7c.js","static/chunks/9572-8f5947db1a6da260.js","static/chunks/9767-162b0f8524990149.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-1020589bef6dd253.js","static/chunks/1100-22c375e757f23150.js","static/chunks/8433-dd6d8dae02275d66.js","static/chunks/4060-bad5f07013c7bb49.js","static/chunks/3086-ffd15c92ea81b3d6.js","static/chunks/4121-4914fb77e60d31f4.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[146],{95372:function(a){a.exports=function(a,_,n,F){for(var i=a.length,e=n+(F?1:-1);F?e--:++e<i;)if(_(a[e],e,a))return e;return -1}},56632:function(a,_,n){var F=n(89278),i=n(80068),e=n(50098);a.exports=function(a){return function(_,n,r){var t=Object(_);if(!i(_)){var o=F(n,3);_=e(_),n=function(a){return o(t[a],a,t)}}var s=a(_,n,r);return s>-1?t[o?_[s]:s]:void 0}}},64925:function(a,_,n){var F=n(56632)(n(66259));a.exports=F},66259:function(a,_,n){var F=n(95372),i=n(89278),e=n(47991),r=Math.max;a.exports=function(a,_,n){var t=null==a?0:a.length;if(!t)return -1;var o=null==n?0:e(n);return o<0&&(o=r(t+o,0)),F(a,i(_,3),o)}},94919:function(a,_,n){var F=n(91936),i=1/0;a.exports=function(a){return a?(a=F(a))===i||a===-i?(a<0?-1:1)*17976931348623157e292:a==a?a:0:0===a?a:0}},47991:function(a,_,n){var F=n(94919);a.exports=function(a){var _=F(a),n=_%1;return _==_?n?_-n:_:0}},34929:function(a,_,n){"use strict";var F=n(24246),i=n(64925),e=n.n(i),r=n(27378),t=n(16134),o=n(30002),s=n(28079),u=n(57072);let l=()=>{let{isLoading:a}=(0,s.fd)(),_=(0,t.C)(s.U3),{isLoading:n}=(0,u.MO)(),F=(0,t.C)(u.qb),{isLoading:i}=(0,o.te)();return{dataUses:_,dataSubjects:(0,t.C)(o.ZL),dataCategories:F,isLoading:a||n||i}};_.Z=()=>{let{dataUses:a,dataCategories:_,dataSubjects:n,isLoading:i}=l(),t=function(a){let _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return a.split(".").slice(0,_).join(".")},o=function(a,_){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,F=_(a);if(!F)return{};let i=_(t(a,n)),e=!!F.parent_key;return{name:F.name||void 0,primaryName:e&&(null==i?void 0:i.name)!==F.name&&(null==i?void 0:i.name)||void 0}},s=function(a,_){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:e}=o(a,_,n);return i?e?(0,F.jsxs)(r.Fragment,{children:[(0,F.jsxs)("strong",{children:[e,":"]})," ",i]},a):(0,F.jsx)("strong",{children:i},a):a},u=_=>e()(a,{fides_key:_}),S=a=>e()(_,{fides_key:a}),d=a=>e()(n,{fides_key:a});return{getDataUses:()=>a,getDataUseByKey:u,getDataUseDisplayName:a=>s(a,u,1),getDataUseDisplayNameProps:a=>o(a,u,1),getDataCategories:()=>_,getDataCategoryByKey:S,getDataCategoryDisplayName:a=>s(a,S,2),getDataCategoryDisplayNameProps:a=>o(a,S,2),getDataSubjects:()=>n,getDataSubjectByKey:d,getDataSubjectDisplayName:a=>{let _=d(a);return _?_.name:a},getPrimaryKey:t,isLoading:i}}},8411:function(a,_,n){"use strict";n.d(_,{NA:function(){return e},Z8:function(){return i}});var F=n(16643);let i={[F._F.ER]:"Eritrea",[F._F.DJ]:"Djibouti",[F._F.MR]:"Mauritania",[F._F.NA]:"Namibia",[F._F.GH]:"Ghana",[F._F.SS]:"South Sudan",[F._F.SC]:"Seychelles",[F._F.IO]:"British Indian Ocean Territory",[F._F.GQ]:"Equatorial Guinea",[F._F.AO]:"Angola",[F._F.CG]:"Republic of the Congo",[F._F.BW]:"Botswana",[F._F.BI]:"Burundi",[F._F.DZ]:"Algeria",[F._F.TD]:"Chad",[F._F.NG]:"Nigeria",[F._F.TZ]:"Tanzania",[F._F.EH]:"Western Sahara",[F._F.SN]:"Senegal",[F._F.LR]:"Liberia",[F._F.ZA]:"South Africa",[F._F.CV]:"Cape Verde",[F._F.GM]:"Gambia",[F._F.SD]:"Sudan",[F._F.KM]:"Comoros",[F._F.SZ]:"Eswatini",[F._F.UG]:"Uganda",[F._F.MG]:"Madagascar",[F._F.RW]:"Rwanda",[F._F.CD]:"DR Congo",[F._F.CM]:"Cameroon",[F._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[F._F.TG]:"Togo",[F._F.MU]:"Mauritius",[F._F.NE]:"Niger",[F._F.BJ]:"Benin",[F._F.EG]:"Egypt",[F._F.LS]:"Lesotho",[F._F.ET]:"Ethiopia",[F._F.MA]:"Morocco",[F._F.YT]:"Mayotte",[F._F.BF]:"Burkina Faso",[F._F.RE]:"R\xe9union",[F._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[F._F.CF]:"Central African Republic",[F._F.MZ]:"Mozambique",[F._F.MW]:"Malawi",[F._F.ML]:"Mali",[F._F.ZM]:"Zambia",[F._F.LY]:"Libya",[F._F.GW]:"Guinea-Bissau",[F._F.SO]:"Somalia",[F._F.KE]:"Kenya",[F._F.GN]:"Guinea",[F._F.ZW]:"Zimbabwe",[F._F.TN]:"Tunisia",[F._F.SL]:"Sierra Leone",[F._F.GA]:"Gabon",[F._F.CI]:"Ivory Coast",[F._F.JO]:"Jordan",[F._F.PK]:"Pakistan",[F._F.KP]:"North Korea",[F._F.MO]:"Macau",[F._F.AM]:"Armenia",[F._F.SY]:"Syria",[F._F.TJ]:"Tajikistan",[F._F.SA]:"Saudi Arabia",[F._F.KR]:"South Korea",[F._F.NP]:"Nepal",[F._F.PH]:"Philippines",[F._F.IQ]:"Iraq",[F._F.LB]:"Lebanon",[F._F.MN]:"Mongolia",[F._F.PS]:"Palestine",[F._F.YE]:"Yemen",[F._F.JP]:"Japan",[F._F.KZ]:"Kazakhstan",[F._F.LK]:"Sri Lanka",[F._F.MM]:"Myanmar",[F._F.KG]:"Kyrgyzstan",[F._F.CN]:"China",[F._F.AF]:"Afghanistan",[F._F.OM]:"Oman",[F._F.IN]:"India",[F._F.LA]:"Laos",[F._F.UZ]:"Uzbekistan",[F._F.MV]:"Maldives",[F._F.ID]:"Indonesia",[F._F.VN]:"Vietnam",[F._F.MY]:"Malaysia",[F._F.TW]:"Taiwan",[F._F.KH]:"Cambodia",[F._F.AE]:"United Arab Emirates",[F._F.HK]:"Hong Kong",[F._F.GE]:"Georgia (Country)",[F._F.BD]:"Bangladesh",[F._F.KW]:"Kuwait",[F._F.TM]:"Turkmenistan",[F._F.QA]:"Qatar",[F._F.BH]:"Bahrain",[F._F.BN]:"Brunei",[F._F.TH]:"Thailand",[F._F.BT]:"Bhutan",[F._F.SG]:"Singapore",[F._F.IL]:"Israel",[F._F.AZ]:"Azerbaijan",[F._F.TL]:"Timor-Leste",[F._F.IR]:"Iran",[F._F.TR]:"Turkey",[F._F.MK]:"North Macedonia",[F._F.IE]:"Ireland",[F._F.DK]:"Denmark",[F._F.SK]:"Slovakia",[F._F.MD]:"Moldova",[F._F.AX]:"\xc5land Islands",[F._F.PL]:"Poland",[F._F.BA]:"Bosnia and Herzegovina",[F._F.SM]:"San Marino",[F._F.CZ]:"Czechia",[F._F.EE]:"Estonia",[F._F.XK]:"Kosovo",[F._F.FO]:"Faroe Islands",[F._F.SJ]:"Svalbard and Jan Mayen",[F._F.GG]:"Guernsey",[F._F.FR]:"France",[F._F.NL]:"Netherlands",[F._F.FI]:"Finland",[F._F.PT]:"Portugal",[F._F.DE]:"Germany",[F._F.MT]:"Malta",[F._F.JE]:"Jersey",[F._F.IS]:"Iceland",[F._F.ES]:"Spain",[F._F.GI]:"Gibraltar",[F._F.NO]:"Norway",[F._F.CY]:"Cyprus",[F._F.RS]:"Serbia",[F._F.LT]:"Lithuania",[F._F.MC]:"Monaco",[F._F.LU]:"Luxembourg",[F._F.UA]:"Ukraine",[F._F.IM]:"Isle of Man",[F._F.RO]:"Romania",[F._F.BE]:"Belgium",[F._F.SE]:"Sweden",[F._F.ME]:"Montenegro",[F._F.LV]:"Latvia",[F._F.VA]:"Vatican City",[F._F.AT]:"Austria",[F._F.AL]:"Albania",[F._F.LI]:"Liechtenstein",[F._F.GR]:"Greece",[F._F.IT]:"Italy",[F._F.AD]:"Andorra",[F._F.GB]:"United Kingdom",[F._F.RU]:"Russia",[F._F.SI]:"Slovenia",[F._F.BY]:"Belarus",[F._F.CH]:"Switzerland",[F._F.HU]:"Hungary",[F._F.BG]:"Bulgaria",[F._F.HR]:"Croatia",[F._F.TC]:"Turks and Caicos Islands",[F._F.CW]:"Cura\xe7ao",[F._F.GP]:"Guadeloupe",[F._F.UM]:"United States Minor Outlying Islands",[F._F.GT]:"Guatemala",[F._F.PM]:"Saint Pierre and Miquelon",[F._F.BQ]:"Caribbean Netherlands",[F._F.GL]:"Greenland",[F._F.SX]:"Sint Maarten",[F._F.PA]:"Panama",[F._F.AW]:"Aruba",[F._F.MQ]:"Martinique",[F._F.AG]:"Antigua and Barbuda",[F._F.BM]:"Bermuda",[F._F.CU]:"Cuba",[F._F.GD]:"Grenada",[F._F.NI]:"Nicaragua",[F._F.LC]:"Saint Lucia",[F._F.KN]:"Saint Kitts and Nevis",[F._F.DO]:"Dominican Republic",[F._F.VC]:"Saint Vincent and the Grenadines",[F._F.BZ]:"Belize",[F._F.HT]:"Haiti",[F._F.JM]:"Jamaica",[F._F.BS]:"Bahamas",[F._F.MX]:"Mexico",[F._F.MF]:"Saint Martin",[F._F.SV]:"El Salvador",[F._F.BL]:"Saint Barth\xe9lemy",[F._F.AI]:"Anguilla",[F._F.MS]:"Montserrat",[F._F.VG]:"British Virgin Islands",[F._F.BB]:"Barbados",[F._F.HN]:"Honduras",[F._F.KY]:"Cayman Islands",[F._F.DM]:"Dominica",[F._F.TT]:"Trinidad and Tobago",[F._F.CR]:"Costa Rica",[F._F.SR]:"Suriname",[F._F.CX]:"Christmas Island",[F._F.WS]:"Samoa",[F._F.PF]:"French Polynesia",[F._F.AS]:"American Samoa",[F._F.NC]:"New Caledonia",[F._F.TK]:"Tokelau",[F._F.PW]:"Palau",[F._F.KI]:"Kiribati",[F._F.VU]:"Vanuatu",[F._F.PN]:"Pitcairn Islands",[F._F.CK]:"Cook Islands",[F._F.FJ]:"Fiji",[F._F.PG]:"Papua New Guinea",[F._F.MP]:"Northern Mariana Islands",[F._F.NU]:"Niue",[F._F.TV]:"Tuvalu",[F._F.NF]:"Norfolk Island",[F._F.TO]:"Tonga",[F._F.FM]:"Micronesia",[F._F.SB]:"Solomon Islands",[F._F.NR]:"Nauru",[F._F.WF]:"Wallis and Futuna",[F._F.GU]:"Guam",[F._F.AU]:"Australia",[F._F.NZ]:"New Zealand",[F._F.MH]:"Marshall Islands",[F._F.CC]:"Cocos (Keeling) Islands",[F._F.VE]:"Venezuela",[F._F.PY]:"Paraguay",[F._F.BR]:"Brazil",[F._F.CO]:"Colombia",[F._F.PE]:"Peru",[F._F.CL]:"Chile",[F._F.UY]:"Uruguay",[F._F.AR]:"Argentina",[F._F.GY]:"Guyana",[F._F.BO]:"Bolivia",[F._F.GF]:"French Guiana",[F._F.EC]:"Ecuador",[F._F.FK]:"Falkland Islands",[F._F.US_AL]:"Alabama",[F._F.US_AK]:"Alaska",[F._F.US_AZ]:"Arizona",[F._F.US_AR]:"Arkansas",[F._F.US_CA]:"California",[F._F.US_CO]:"Colorado",[F._F.US_CT]:"Connecticut",[F._F.US_DE]:"Delaware",[F._F.US_DC]:"District of Columbia (DC)",[F._F.US_FL]:"Florida",[F._F.US_GA]:"Georgia",[F._F.US_HI]:"Hawaii",[F._F.US_ID]:"Idaho",[F._F.US_IL]:"Illinois",[F._F.US_IN]:"Indiana",[F._F.US_IA]:"Iowa",[F._F.US_KS]:"Kansas",[F._F.US_KY]:"Kentucky",[F._F.US_LA]:"Louisiana",[F._F.US_ME]:"Maine",[F._F.US_MD]:"Maryland",[F._F.US_MA]:"Massachusetts",[F._F.US_MI]:"Michigan",[F._F.US_MN]:"Minnesota",[F._F.US_MS]:"Mississippi",[F._F.US_MO]:"Missouri",[F._F.US_MT]:"Montana",[F._F.US_NE]:"Nebraska",[F._F.US_NV]:"Nevada",[F._F.US_NH]:"New Hampshire",[F._F.US_NJ]:"New Jersey",[F._F.US_NM]:"New Mexico",[F._F.US_NY]:"New York",[F._F.US_NC]:"North Carolina",[F._F.US_ND]:"North Dakota",[F._F.US_OH]:"Ohio",[F._F.US_OK]:"Oklahoma",[F._F.US_OR]:"Oregon",[F._F.US_PA]:"Pennsylvania",[F._F.US_PR]:"Puerto Rico",[F._F.US_RI]:"Rhode Island",[F._F.US_SC]:"South Carolina",[F._F.US_SD]:"South Dakota",[F._F.US_TN]:"Tennessee",[F._F.US_TX]:"Texas",[F._F.US_UT]:"Utah",[F._F.US_VA]:"Virginia",[F._F.US_VI]:"United States Virgin Islands",[F._F.US_VT]:"Vermont",[F._F.US_WA]:"Washington",[F._F.US_WV]:"West Virginia",[F._F.US_WI]:"Wisconsin",[F._F.US_WY]:"Wyoming",[F._F.CA_AB]:"Alberta",[F._F.CA_BC]:"British Columbia",[F._F.CA_MB]:"Manitoba",[F._F.CA_NB]:"New Brunswick",[F._F.CA_NL]:"Newfoundland and Labrador",[F._F.CA_NS]:"Nova Scotia",[F._F.CA_ON]:"Ontario",[F._F.CA_PE]:"Prince Edward Island",[F._F.CA_QC]:"Quebec",[F._F.CA_SK]:"Saskatchewan",[F._F.CA_NT]:"Northwest Territories",[F._F.CA_NU]:"Nunavut",[F._F.CA_YT]:"Yukon",[F._F.CA]:"Canada",[F._F.US]:"United States",[F._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[F._F.CARIBBEAN]:"Caribbean",[F._F.EEA]:"European Economic Area (EEA)",[F._F.NON_EEA]:"Non European Economic Area"},e=new Map(Object.entries(i));Object.entries(i).map(a=>({value:a[0],label:a[1]}))},78238:function(a,_,n){"use strict";n.d(_,{g:function(){return F}});let F=["essential","functional.service.improve","personalize","analytics","marketing.advertising.first_party.targeted","marketing.advertising.third_party.targeted"];_.Z=a=>F.includes(a)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),a=i(77181),o=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,a.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,a.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),x=i(13083),y=i.n(x),h=i(43218),w=i.n(h),C=i(52253),j=i(62656);let k={language:j.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},V=e=>({...k,...e.translations?e.translations[0]:{}}),A=(e,n)=>{var i,t,a,o;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(o=e.dismissable)&&void 0!==o&&o,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(a=e.translations)||void 0===a?void 0:a.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:j.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[V(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===j.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},O=e=>{let{language:n,is_default:i,...t}=k,a=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...a}};var T=i(74022),E=i(25980),L=i(32222);let Z=e=>{let{title:n,description:i}=e;return(0,t.jsx)(a.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(a.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:T.Z.colors.white,boxShadow:T.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(a.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(a.xvT,{color:"gray.500",align:"center",children:i})]})})};var N=e=>{let{allPrivacyNotices:n,initialValues:i,translation:l,isMobilePreview:s}=e,{values:d}=(0,o.u6)(),[c,p]=(0,r.useState)([]),u=[j.re.BANNER_AND_MODAL,j.re.MODAL,j.re.TCF_OVERLAY].includes(d.component),{systemsCount:v}=(0,E.hz)();(0,r.useEffect)(()=>{d.privacy_notice_ids?p(d.privacy_notice_ids.map(e=>n.find(n=>(null==n?void 0:n.id)===e)).map(e=>d.component===j.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e)):p([])},[d.privacy_notice_ids,n,d.component]);let m=(0,r.useMemo)(()=>A(i,c),[i,c]),_=d.component===j.re.TCF_OVERLAY?"/lib/fides-tcf.js":"/lib/fides.js";(0,r.useEffect)(()=>{var e,n;d.component===j.re.MODAL&&(m.experience.experience_config.component=j.re.MODAL);let i=null===(e=d.translations)||void 0===e?void 0:e.find(e=>e.language===(null==l?void 0:l.language));(null===(n=d.translations)||void 0===n?void 0:n.length)&&(i?(m.experience.available_locales=[...m.experience.available_locales||[],i.language],m.experience.experience_config.translations[0]=O(i),m.options.fidesLocale=i.language):d.translations&&(m.experience.experience_config.translations[0]=O(d.translations[0]),m.options.fidesLocale=d.translations[0].language)),m.experience.experience_config.show_layer1_notices=!!(null==c?void 0:c.length)&&!!d.show_layer1_notices,m.experience.experience_config.layer1_button_options=(d.component===j.re.BANNER_AND_MODAL||d.component===j.re.TCF_OVERLAY)&&d.layer1_button_options?d.layer1_button_options:j.Of.OPT_IN_OPT_OUT,m.options.preventDismissal=!d.dismissable,m.experience.vendor_count=v,m.experience.experience_config.component=d.component,window.Fides&&((null==c?void 0:c.length)||d.component===j.re.TCF_OVERLAY)&&u&&window.Fides.init(m)},[d,c,l,m,n,u,v]);let f=document.getElementById("fides-modal");return(f&&f.removeAttribute("tabindex"),d.component)?u?(null==c?void 0:c.length)||d.component===j.re.TCF_OVERLAY?(0,t.jsxs)(a.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(y(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),u?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(d.component===j.re.BANNER_AND_MODAL||d.component===j.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,s?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:_,onReady:()=>{if(!window.Fides.experience){var e;null===(e=window.Fides)||void 0===e||e.init(m)}}}),(0,t.jsx)("div",{id:C.Vk,className:y().dynamic([["4b2ec2183c5a567e",[C.Vk,d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])})]}):(0,t.jsx)(Z,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(Z,{title:"".concat(L.J.get(d.component)," preview not available"),description:"There is no preview available for ".concat(L.J.get(d.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(Z,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(16194),H=i(16277),R=i(71922),S=i(31883);let P=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},F=e=>{let{componentType:n}=e;return P(n)},B=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(F({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[x]=(0,D.$d)(),y=(0,a.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),k=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,V=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:V,size:A});let O=(0,d.C)(g.fJ),T=(0,d.C)(R.sX),E=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let a;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e);let o={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=o;a=await x({...n,id:i.id})}else a=await b(o);(0,S.D4)(a)?y((0,m.Vo)((0,c.e$)(a.error))):(y((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,P]=(0,r.useState)(void 0),[F,U]=(0,r.useState)(!1);return(0,t.jsx)(o.J9,{initialValues:E,enableReinitialize:!0,onSubmit:L,validationSchema:B,children:(0,t.jsx)(o.l0,{style:{height:"100vh"},children:(0,t.jsxs)(a.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(H.Z,{translation:Z,translationsEnabled:k,isOOB:F,onReturnToMainForm:()=>{P(void 0),U(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:T,translationsEnabled:k,onSelectTranslation:e=>{P({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&U(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(a.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:a.rSc.colors.gray[50]},children:[(0,t.jsxs)(a.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:a.rSc.colors.white,borderBottom:"1px solid ".concat(a.rSc.colors.gray[100])},children:[(0,t.jsx)(a.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(a.LZC,{}),(0,t.jsxs)(a.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(a.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(a.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(N,{allPrivacyNotices:T,initialValues:E,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),a=i(77181),o=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,a.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,a.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),x=i(13083),y=i.n(x),h=i(43218),w=i.n(h),C=i(52253),j=i(16643);let k={language:j.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},V=e=>({...k,...e.translations?e.translations[0]:{}}),A=(e,n)=>{var i,t,a,o;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(o=e.dismissable)&&void 0!==o&&o,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(a=e.translations)||void 0===a?void 0:a.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:j.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[V(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===j.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},O=e=>{let{language:n,is_default:i,...t}=k,a=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...a}};var T=i(74022),E=i(25980),L=i(32222);let Z=e=>{let{title:n,description:i}=e;return(0,t.jsx)(a.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(a.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:T.Z.colors.white,boxShadow:T.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(a.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(a.xvT,{color:"gray.500",align:"center",children:i})]})})};var N=e=>{let{allPrivacyNotices:n,initialValues:i,translation:l,isMobilePreview:s}=e,{values:d}=(0,o.u6)(),[c,p]=(0,r.useState)([]),u=[j.re.BANNER_AND_MODAL,j.re.MODAL,j.re.TCF_OVERLAY].includes(d.component),{systemsCount:v}=(0,E.hz)();(0,r.useEffect)(()=>{d.privacy_notice_ids?p(d.privacy_notice_ids.map(e=>n.find(n=>(null==n?void 0:n.id)===e)).map(e=>d.component===j.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e)):p([])},[d.privacy_notice_ids,n,d.component]);let m=(0,r.useMemo)(()=>A(i,c),[i,c]),_=d.component===j.re.TCF_OVERLAY?"/lib/fides-tcf.js":"/lib/fides.js";(0,r.useEffect)(()=>{var e,n;d.component===j.re.MODAL&&(m.experience.experience_config.component=j.re.MODAL);let i=null===(e=d.translations)||void 0===e?void 0:e.find(e=>e.language===(null==l?void 0:l.language));(null===(n=d.translations)||void 0===n?void 0:n.length)&&(i?(m.experience.available_locales=[...m.experience.available_locales||[],i.language],m.experience.experience_config.translations[0]=O(i),m.options.fidesLocale=i.language):d.translations&&(m.experience.experience_config.translations[0]=O(d.translations[0]),m.options.fidesLocale=d.translations[0].language)),m.experience.experience_config.show_layer1_notices=!!(null==c?void 0:c.length)&&!!d.show_layer1_notices,m.experience.experience_config.layer1_button_options=(d.component===j.re.BANNER_AND_MODAL||d.component===j.re.TCF_OVERLAY)&&d.layer1_button_options?d.layer1_button_options:j.Of.OPT_IN_OPT_OUT,m.options.preventDismissal=!d.dismissable,m.experience.vendor_count=v,m.experience.experience_config.component=d.component,window.Fides&&((null==c?void 0:c.length)||d.component===j.re.TCF_OVERLAY)&&u&&window.Fides.init(m)},[d,c,l,m,n,u,v]);let f=document.getElementById("fides-modal");return(f&&f.removeAttribute("tabindex"),d.component)?u?(null==c?void 0:c.length)||d.component===j.re.TCF_OVERLAY?(0,t.jsxs)(a.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(y(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),u?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(d.component===j.re.BANNER_AND_MODAL||d.component===j.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,s?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:_,onReady:()=>{if(!window.Fides.experience){var e;null===(e=window.Fides)||void 0===e||e.init(m)}}}),(0,t.jsx)("div",{id:C.Vk,className:y().dynamic([["4b2ec2183c5a567e",[C.Vk,d.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])})]}):(0,t.jsx)(Z,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(Z,{title:"".concat(L.J.get(d.component)," preview not available"),description:"There is no preview available for ".concat(L.J.get(d.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(Z,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(16194),H=i(16277),R=i(71922),S=i(31883);let P=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},F=e=>{let{componentType:n}=e;return P(n)},B=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(F({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[x]=(0,D.$d)(),y=(0,a.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),k=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,V=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:V,size:A});let O=(0,d.C)(g.fJ),T=(0,d.C)(R.sX),E=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let a;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),E.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let o={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=o;a=await x({...n,id:i.id})}else a=await b(o);(0,S.D4)(a)?y((0,m.Vo)((0,c.e$)(a.error))):(y((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,P]=(0,r.useState)(void 0),[F,U]=(0,r.useState)(!1);return(0,t.jsx)(o.J9,{initialValues:E,enableReinitialize:!0,onSubmit:L,validationSchema:B,children:(0,t.jsx)(o.l0,{style:{height:"100vh"},children:(0,t.jsxs)(a.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(H.Z,{translation:Z,translationsEnabled:k,isOOB:F,onReturnToMainForm:()=>{P(void 0),U(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:T,translationsEnabled:k,onSelectTranslation:e=>{P({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&U(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(a.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:a.rSc.colors.gray[50]},children:[(0,t.jsxs)(a.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:a.rSc.colors.white,borderBottom:"1px solid ".concat(a.rSc.colors.gray[100])},children:[(0,t.jsx)(a.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(a.LZC,{}),(0,t.jsxs)(a.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(a.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(a.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(N,{allPrivacyNotices:T,initialValues:E,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1904],{11904:function(e,s,a){a.d(s,{Z:function(){return Z}});var i,t,l=a(24246),r=a(59003),n=a(92222),o=a(77181),d=a(86677),c=a(27378),u=a(14481),g=a(45896),x=a(70675),j=a(72625),m=a(79947),h=a(50169),I=a(28278),C=a(74241),p=a(62656),f=a(91761),L=a(61099),v=a(87667),y=e=>{let{resourceType:s}=e,a=(0,n.Cl)();return s===p.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original,changeTypeOverride:I.E.CLASSIFICATION}),header:e=>(0,l.jsx)(u.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,l.jsx)(u.G3,{value:(0,C.Z)(e.getValue())}),header:e=>(0,l.jsx)(u.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"action",cell:e=>e.row.original.diff_status!==p.LL.MUTED?(0,l.jsx)(f.Z,{resource:e.row.original}):(0,l.jsx)(u.G3,{value:"--"}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.TABLE?{columns:[a.display({id:"select",cell:e=>{var s;let{row:a}=e;return(0,l.jsx)(j.k,{isChecked:a.getIsSelected(),onChange:a.getToggleSelectedHandler(),dataTestId:"select-".concat(null!==(s=a.original.name)&&void 0!==s?s:a.id)})},header:e=>{let{table:s}=e;return(0,l.jsx)(j.k,{isChecked:s.getIsAllPageRowsSelected(),isIndeterminate:s.getIsSomeRowsSelected(),onChange:s.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40}),a.accessor(e=>e.name,{id:"tables",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Table"}),header:"Type"}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:"Time"}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,l.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Field"}),header:"Type"}),a.display({id:"classifications",cell:e=>{let{row:s}=e;return(0,l.jsx)(L.Z,{resource:s.original})},meta:{overflow:"visible",disableRowClick:!0},header:"Data category",minSize:280}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:{columns:[]}};(i=t||(t={}))[i.ACTION_REQUIRED=0]="ACTION_REQUIRED",i[i.UNMONITORED=1]="UNMONITORED";var _=e=>{let{initialFilterTabIndex:s=0}=e,[a,i]=(0,c.useState)(s),t=(0,c.useMemo)(()=>[{label:"Action Required",filters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE],childFilters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE]},{label:"In progress",filters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED],childFilters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED]},{label:"Unmonitored",filters:[p.LL.MUTED],childFilters:[]}],[]);return{filterTabs:t,filterTabIndex:a,setFilterTabIndex:i,activeDiffFilters:t[a].filters,activeChildDiffFilters:t[a].childFilters}},T=a(47182),S=a(38347),R=a(79494),b=e=>{let{resourceUrn:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await t({staged_resource_urns:e})},c=async e=>{await a({staged_resource_urns:e})};return(0,l.jsx)(o.jqI,{"data-testid":"bulk-actions-menu",children:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm all",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>c([s]),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore all",icon:(0,l.jsx)(o.tpL,{}),onClick:()=>d([s]),disabled:n,loading:r,size:"middle"})]})})},w=e=>{let{selectedUrns:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await a({staged_resource_urns:e})},c=async e=>{await t({staged_resource_urns:e})};return s.length?(0,l.jsxs)(o.jqI,{className:"items-center","data-testid":"bulk-actions-menu",children:[(0,l.jsx)(o.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:4,children:"".concat(s.length," selected")}),(0,l.jsxs)(o.jqI,{className:"gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>d(s),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore",icon:(0,l.jsx)(o.tpL,{}),disabled:n,loading:r,onClick:()=>c(s),size:"middle"})]})]}):null},D=a(7940),A=a(80285),N=a(36168),F=a(57454);let k={items:[],total:0,page:1,size:50,pages:1},E=()=>(0,l.jsx)(o.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,l.jsxs)(o.gCW,{children:[(0,l.jsx)(o.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,l.jsx)(o.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var Z=e=>{var s,a;let{resourceUrn:i}=e,j=(0,d.useRouter)(),[m,h]=(0,c.useState)(""),{filterTabs:I,setFilterTabIndex:C,filterTabIndex:f,activeDiffFilters:L,activeChildDiffFilters:v}=_({initialFilterTabIndex:(null===(s=j.query)||void 0===s?void 0:s.filterTabIndex)?Number(null===(a=j.query)||void 0===a?void 0:a.filterTabIndex):void 0}),[R,Z]=(0,c.useState)({}),{PAGE_SIZES:O,pageSize:z,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P,onNextPageClick:G,isNextPageDisabled:V,startRange:$,endRange:q,pageIndex:H,setTotalPages:Q,resetPageIndexToDefault:W}=(0,u.oi)();(0,c.useEffect)(()=>{W()},[i,m,W,L,v]);let{isFetching:Y,isLoading:B,data:K}=(0,x.z8)({staged_resource_urn:i,page:H,size:z,child_diff_status:v,diff_status:L,search:m}),X=(0,D.G)(null==K?void 0:K.items[0]),{items:J,total:ee,pages:es}=(0,c.useMemo)(()=>null!=K?K:k,[K]);(0,c.useEffect)(()=>{Q(es)},[es,Q]);let{columns:ea}=y({resourceType:X}),ei=(0,c.useMemo)(()=>ea,[ea]),{navigateToDiscoveryResults:et}=(0,T.Z)(),el=(0,r.b7)({getCoreRowModel:(0,n.sC)(),getGroupedRowModel:(0,n.qe)(),getExpandedRowModel:(0,n.rV)(),columns:ei,manualPagination:!0,onRowSelectionChange:Z,state:{rowSelection:R},getRowId:A.Z,data:J,columnResizeMode:"onChange"}),er=Object.keys(R).filter(e=>R[e]);return B?(0,l.jsx)(u.I4,{rowHeight:36,numRows:36}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g.Z,{filterTabs:I,filterTabIndex:f,onChange:C}),(0,l.jsxs)(u.Q$,{children:[(0,l.jsxs)(o.kCb,{gap:6,align:"center",children:[(0,l.jsx)(o.xuv,{flexShrink:0,children:(0,l.jsx)(F.M,{value:m,onChange:h})}),(0,l.jsx)(S.Z,{})]}),X===p.D$.TABLE&&!!er.length&&(0,l.jsx)(w,{selectedUrns:er}),X===p.D$.FIELD&&f!==t.UNMONITORED&&(0,l.jsx)(b,{resourceUrn:i})]}),(0,l.jsx)(u.ZK,{tableInstance:el,onRowClick:e=>et({resourceUrn:e.urn,filterTabIndex:f}),getRowIsClickable:e=>X!==p.D$.FIELD||(0,N.Z)(e),emptyTableNotice:(0,l.jsx)(E,{})}),(0,l.jsx)(u.s8,{totalRows:ee||0,pageSizes:O,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P||Y,onNextPageClick:G,isNextPageDisabled:V||Y,startRange:$,endRange:q})]})}},91761:function(e,s,a){var i=a(24246),t=a(77181),l=a(812),r=a(14047),n=a(7940),o=a(98559),d=a(62656),c=a(79494),u=a(70675);s.Z=e=>{let{resource:s}=e,[a,{isLoading:g}]=(0,u.v8)(),[x,{isLoading:j}]=(0,u.cM)(),[m,{isLoading:h}]=(0,u.vi)(),I=j||h||g,{diff_status:C,child_diff_statuses:p,top_level_field_name:f}=s,{successAlert:L,errorAlert:v}=(0,r.V)(),y=C===d.LL.CLASSIFICATION_ADDITION||C===d.LL.CLASSIFICATION_UPDATE,_=p&&(p[d.LL.CLASSIFICATION_ADDITION]||p[d.LL.CLASSIFICATION_UPDATE]),T=(y||_)&&!f,S=y||_,R=(0,n.G)(s)!==d.D$.FIELD,b=T&&S&&R,w=async()=>{let e=await x({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to promote resource"):L('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},D=async()=>{let e=await m({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to mute resource"):L("Ignored changes will not be added to a Fides dataset.","".concat(s.name||"Changes"," ignored"))},A=async()=>{let e=await a({staged_resource_urn:s.urn,monitor_config_id:s.monitor_config_id,start_classification:!0,classify_monitored_resources:!0});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to reclassify resource"):L("Reclassification of ".concat((0,o.Z)(s)||"the resource"," has begun. The results may take some time to appear in the “Data discovery“ tab."),"Reclassification started")};return(0,i.jsxs)(t.Ugi,{gap:2,children:[T&&(0,i.jsx)(c.Z,{title:"Confirm",icon:(0,i.jsx)(t.nQG,{}),onClick:w,disabled:I,loading:j}),S&&(0,i.jsx)(c.Z,{title:"Ignore",icon:(0,i.jsx)(t.tpL,{}),onClick:D,disabled:I,loading:h}),R&&!b&&(0,i.jsx)(c.Z,{title:"Reclassify",icon:(0,i.jsx)(t.nyI,{}),onClick:A,disabled:I,loading:g}),b&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.LZC,{}),(0,i.jsxs)(t.v2r,{children:[(0,i.jsx)(t.j2t,{as:t.wpx,size:"small",type:"text",icon:(0,i.jsx)(t.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"actions-overflow-btn"}),(0,i.jsx)(t.qyq,{children:(0,i.jsx)(t.sNh,{onClick:A,icon:(0,i.jsx)(t.nyI,{}),"data-testid":"action-reclassify",children:"Reclassify"})})]})]})]})}}}]);
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1904],{11904:function(e,s,a){a.d(s,{Z:function(){return Z}});var i,t,l=a(24246),r=a(59003),n=a(92222),o=a(77181),d=a(86677),c=a(27378),u=a(14481),g=a(45896),x=a(70675),j=a(72625),m=a(79947),h=a(50169),I=a(28278),C=a(74241),p=a(16643),f=a(91761),L=a(61099),v=a(87667),y=e=>{let{resourceType:s}=e,a=(0,n.Cl)();return s===p.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original,changeTypeOverride:I.E.CLASSIFICATION}),header:e=>(0,l.jsx)(u.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,l.jsx)(u.G3,{value:(0,C.Z)(e.getValue())}),header:e=>(0,l.jsx)(u.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"action",cell:e=>e.row.original.diff_status!==p.LL.MUTED?(0,l.jsx)(f.Z,{resource:e.row.original}):(0,l.jsx)(u.G3,{value:"--"}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.TABLE?{columns:[a.display({id:"select",cell:e=>{var s;let{row:a}=e;return(0,l.jsx)(j.k,{isChecked:a.getIsSelected(),onChange:a.getToggleSelectedHandler(),dataTestId:"select-".concat(null!==(s=a.original.name)&&void 0!==s?s:a.id)})},header:e=>{let{table:s}=e;return(0,l.jsx)(j.k,{isChecked:s.getIsAllPageRowsSelected(),isIndeterminate:s.getIsSomeRowsSelected(),onChange:s.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40}),a.accessor(e=>e.name,{id:"tables",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Table"}),header:"Type"}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:"Time"}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===p.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,l.jsx)(v.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,l.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,l.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,l.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,l.jsx)(h.Z,{result:e.row.original}),header:e=>(0,l.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,l.jsx)(u.G3,{value:"Field"}),header:"Type"}),a.display({id:"classifications",cell:e=>{let{row:s}=e;return(0,l.jsx)(L.Z,{resource:s.original})},meta:{overflow:"visible",disableRowClick:!0},header:"Data category",minSize:280}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,l.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,l.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,l.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:{columns:[]}};(i=t||(t={}))[i.ACTION_REQUIRED=0]="ACTION_REQUIRED",i[i.UNMONITORED=1]="UNMONITORED";var _=e=>{let{initialFilterTabIndex:s=0}=e,[a,i]=(0,c.useState)(s),t=(0,c.useMemo)(()=>[{label:"Action Required",filters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE],childFilters:[p.LL.CLASSIFICATION_ADDITION,p.LL.CLASSIFICATION_UPDATE]},{label:"In progress",filters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED],childFilters:[p.LL.CLASSIFYING,p.LL.CLASSIFICATION_QUEUED]},{label:"Unmonitored",filters:[p.LL.MUTED],childFilters:[]}],[]);return{filterTabs:t,filterTabIndex:a,setFilterTabIndex:i,activeDiffFilters:t[a].filters,activeChildDiffFilters:t[a].childFilters}},T=a(47182),S=a(38347),R=a(79494),b=e=>{let{resourceUrn:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await t({staged_resource_urns:e})},c=async e=>{await a({staged_resource_urns:e})};return(0,l.jsx)(o.jqI,{"data-testid":"bulk-actions-menu",children:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm all",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>c([s]),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore all",icon:(0,l.jsx)(o.tpL,{}),onClick:()=>d([s]),disabled:n,loading:r,size:"middle"})]})})},w=e=>{let{selectedUrns:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[t,{isLoading:r}]=(0,x.zV)(),n=i||r,d=async e=>{await a({staged_resource_urns:e})},c=async e=>{await t({staged_resource_urns:e})};return s.length?(0,l.jsxs)(o.jqI,{className:"items-center","data-testid":"bulk-actions-menu",children:[(0,l.jsx)(o.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:4,children:"".concat(s.length," selected")}),(0,l.jsxs)(o.jqI,{className:"gap-2",children:[(0,l.jsx)(R.Z,{title:"Confirm",icon:(0,l.jsx)(o.nQG,{}),onClick:()=>d(s),disabled:n,loading:i,type:"primary",size:"middle"}),(0,l.jsx)(R.Z,{title:"Ignore",icon:(0,l.jsx)(o.tpL,{}),disabled:n,loading:r,onClick:()=>c(s),size:"middle"})]})]}):null},D=a(7940),A=a(80285),N=a(36168),F=a(57454);let k={items:[],total:0,page:1,size:50,pages:1},E=()=>(0,l.jsx)(o.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,l.jsxs)(o.gCW,{children:[(0,l.jsx)(o.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,l.jsx)(o.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var Z=e=>{var s,a;let{resourceUrn:i}=e,j=(0,d.useRouter)(),[m,h]=(0,c.useState)(""),{filterTabs:I,setFilterTabIndex:C,filterTabIndex:f,activeDiffFilters:L,activeChildDiffFilters:v}=_({initialFilterTabIndex:(null===(s=j.query)||void 0===s?void 0:s.filterTabIndex)?Number(null===(a=j.query)||void 0===a?void 0:a.filterTabIndex):void 0}),[R,Z]=(0,c.useState)({}),{PAGE_SIZES:O,pageSize:z,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P,onNextPageClick:G,isNextPageDisabled:V,startRange:$,endRange:q,pageIndex:H,setTotalPages:Q,resetPageIndexToDefault:W}=(0,u.oi)();(0,c.useEffect)(()=>{W()},[i,m,W,L,v]);let{isFetching:Y,isLoading:B,data:K}=(0,x.z8)({staged_resource_urn:i,page:H,size:z,child_diff_status:v,diff_status:L,search:m}),X=(0,D.G)(null==K?void 0:K.items[0]),{items:J,total:ee,pages:es}=(0,c.useMemo)(()=>null!=K?K:k,[K]);(0,c.useEffect)(()=>{Q(es)},[es,Q]);let{columns:ea}=y({resourceType:X}),ei=(0,c.useMemo)(()=>ea,[ea]),{navigateToDiscoveryResults:et}=(0,T.Z)(),el=(0,r.b7)({getCoreRowModel:(0,n.sC)(),getGroupedRowModel:(0,n.qe)(),getExpandedRowModel:(0,n.rV)(),columns:ei,manualPagination:!0,onRowSelectionChange:Z,state:{rowSelection:R},getRowId:A.Z,data:J,columnResizeMode:"onChange"}),er=Object.keys(R).filter(e=>R[e]);return B?(0,l.jsx)(u.I4,{rowHeight:36,numRows:36}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g.Z,{filterTabs:I,filterTabIndex:f,onChange:C}),(0,l.jsxs)(u.Q$,{children:[(0,l.jsxs)(o.kCb,{gap:6,align:"center",children:[(0,l.jsx)(o.xuv,{flexShrink:0,children:(0,l.jsx)(F.M,{value:m,onChange:h})}),(0,l.jsx)(S.Z,{})]}),X===p.D$.TABLE&&!!er.length&&(0,l.jsx)(w,{selectedUrns:er}),X===p.D$.FIELD&&f!==t.UNMONITORED&&(0,l.jsx)(b,{resourceUrn:i})]}),(0,l.jsx)(u.ZK,{tableInstance:el,onRowClick:e=>et({resourceUrn:e.urn,filterTabIndex:f}),getRowIsClickable:e=>X!==p.D$.FIELD||(0,N.Z)(e),emptyTableNotice:(0,l.jsx)(E,{})}),(0,l.jsx)(u.s8,{totalRows:ee||0,pageSizes:O,setPageSize:U,onPreviousPageClick:M,isPreviousPageDisabled:P||Y,onNextPageClick:G,isNextPageDisabled:V||Y,startRange:$,endRange:q})]})}},91761:function(e,s,a){var i=a(24246),t=a(77181),l=a(812),r=a(14047),n=a(7940),o=a(98559),d=a(16643),c=a(79494),u=a(70675);s.Z=e=>{let{resource:s}=e,[a,{isLoading:g}]=(0,u.v8)(),[x,{isLoading:j}]=(0,u.cM)(),[m,{isLoading:h}]=(0,u.vi)(),I=j||h||g,{diff_status:C,child_diff_statuses:p,top_level_field_name:f}=s,{successAlert:L,errorAlert:v}=(0,r.V)(),y=C===d.LL.CLASSIFICATION_ADDITION||C===d.LL.CLASSIFICATION_UPDATE,_=p&&(p[d.LL.CLASSIFICATION_ADDITION]||p[d.LL.CLASSIFICATION_UPDATE]),T=(y||_)&&!f,S=y||_,R=(0,n.G)(s)!==d.D$.FIELD,b=T&&S&&R,w=async()=>{let e=await x({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to promote resource"):L('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},D=async()=>{let e=await m({staged_resource_urn:s.urn});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to mute resource"):L("Ignored changes will not be added to a Fides dataset.","".concat(s.name||"Changes"," ignored"))},A=async()=>{let e=await a({staged_resource_urn:s.urn,monitor_config_id:s.monitor_config_id,start_classification:!0,classify_monitored_resources:!0});(0,l.D4)(e)?v((0,l.e$)(e.error),"Failed to reclassify resource"):L("Reclassification of ".concat((0,o.Z)(s)||"the resource"," has begun. The results may take some time to appear in the “Data discovery“ tab."),"Reclassification started")};return(0,i.jsxs)(t.Ugi,{gap:2,children:[T&&(0,i.jsx)(c.Z,{title:"Confirm",icon:(0,i.jsx)(t.nQG,{}),onClick:w,disabled:I,loading:j}),S&&(0,i.jsx)(c.Z,{title:"Ignore",icon:(0,i.jsx)(t.tpL,{}),onClick:D,disabled:I,loading:h}),R&&!b&&(0,i.jsx)(c.Z,{title:"Reclassify",icon:(0,i.jsx)(t.nyI,{}),onClick:A,disabled:I,loading:g}),b&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.LZC,{}),(0,i.jsxs)(t.v2r,{children:[(0,i.jsx)(t.j2t,{as:t.wpx,size:"small",type:"text",icon:(0,i.jsx)(t.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"actions-overflow-btn"}),(0,i.jsx)(t.qyq,{children:(0,i.jsx)(t.sNh,{onClick:A,icon:(0,i.jsx)(t.nyI,{}),"data-testid":"action-reclassify",children:"Reclassify"})})]})]})]})}}}]);
|